level_0
int64
0
10k
index
int64
0
0
repo_id
stringlengths
22
152
file_path
stringlengths
41
203
content
stringlengths
11
11.5M
9,186
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/column.test.tsx
import ProTable from '@ant-design/pro-table'; import { cleanup, fireEvent, render, waitFor } from '@testing-library/react'; import { ConfigProvider, Table } from 'antd'; import dayjs from 'dayjs'; import type { RequestOptionsType } from 'packages/utils/src/typing'; import { request } from './demo'; afterEach(() => { cleanup(); }); describe('Table ColumnSetting', () => { it('๐ŸŽ render', async () => { const callBack = vi.fn(); render( <ProTable size="small" columns={[ { title: 'Name', key: 'name', dataIndex: 'name', render: (text) => callBack(text), }, ]} request={request} rowKey="key" />, ); await waitFor(() => { expect(callBack).toBeCalled(); expect(callBack).toBeCalledWith('Edward King 0'); }); }); it('๐ŸŽ query should parse by valueType', async () => { const callBack = vi.fn(); render( <ProTable size="small" columns={[ { title: 'date', key: 'date', dataIndex: 'date', valueType: 'date', }, ]} form={{ initialValues: { date: dayjs(), }, }} request={async (params) => { callBack(params.date); return { data: [ { key: '1', date: dayjs(), }, ], success: true, }; }} rowKey="key" />, ); await waitFor(() => { expect(callBack).toBeCalled(); expect(callBack).toBeCalledWith('2016-11-22'); }); }); it('๐ŸŽ config provide render', async () => { const { container } = render( <ConfigProvider prefixCls="qixian"> <ProTable size="small" columns={[ { title: 'Name', key: 'name', dataIndex: 'name', }, ]} request={request} rowKey="key" /> </ConfigProvider>, ); expect(container).toMatchSnapshot(); }); it('๐ŸŽ render text', async () => { const callBack = vi.fn(); render( <ProTable size="small" columns={[ { title: 'Name', key: 'name', dataIndex: 'name', renderText: (text) => callBack(text), }, { title: 'Name2', key: 'name2', dataIndex: 'name2', valueType: false, }, ]} request={request} rowKey="key" />, ); await waitFor(() => { expect(callBack).toBeCalled(); expect(callBack).toBeCalledWith('Edward King 0'); }); }); it('๐ŸŽ change text by renderText', async () => { const { container } = render( <ProTable size="small" columns={[ { title: 'Name', key: 'name', dataIndex: 'name', renderText: (text) => `${text}2144`, }, ]} search={false} dataSource={[ { key: '1', name: 'Edward King', age: 10, status: 1, sex: 'man', }, ]} rowKey="key" />, ); expect(container.querySelector('td.ant-table-cell')).toMatchSnapshot(); }); it('๐ŸŽ columns request support params function', async () => { const paramsKeys: string[] = []; render( <ProTable size="small" columns={[ { title: 'Name', key: 'name', dataIndex: 'name', renderText: (text) => `${text}2144`, }, { title: 'Name', key: 'name', valueType: 'select', dataIndex: 'name', params: (rowData) => { return { key: rowData.key, }; }, request: async (params) => { paramsKeys.push(params.key); return []; }, }, ]} search={false} dataSource={[ { key: '1', name: 'Edward King', age: 10, status: 1, sex: 'man', }, { key: '2', name: 'Edward King', age: 10, status: 1, sex: 'man', }, ]} rowKey="key" />, ); expect(paramsKeys.length).toBe(2); expect(paramsKeys.join('-')).toBe('1-2'); }); it('๐ŸŽ extra columns', async () => { const { container } = render( <ProTable rowKey="key" columns={[ { title: 'Name', key: 'name', dataIndex: 'name', }, Table.EXPAND_COLUMN, Table.SELECTION_COLUMN, ]} dataSource={[ { key: '1', name: 'Name 1', }, { key: '2', name: 'Name 2', }, ]} expandable={{ expandedRowRender: (record) => <div>{record.name}</div>, }} rowSelection={{}} />, ); expect(container).toMatchSnapshot(); }); it('๐ŸŽ columns proFieldProps support custom', async () => { const selectOptionsRequest = (a: any) => { return new Promise<RequestOptionsType[]>((resolve) => { setTimeout(() => { const data = [ { label: '1', value: 1, }, { label: '2', value: 2, }, { label: '3', value: 3, }, { label: '4', value: 4, }, ]; const result = data.filter((x) => x.value === a); resolve(result); }, 1000); }); }; const { container } = render( <ProTable rowKey="key" columns={[ { title: 'Name', key: 'name', dataIndex: 'name', valueType: 'select', request: async (v) => { const { keyWords } = v; const result = await selectOptionsRequest(keyWords); return result; }, proFieldProps: { debounceTime: 1000, }, }, ]} />, ); expect(container).toMatchSnapshot(); fireEvent.change( container.querySelector('.ant-select-selection-search-input')!, { target: { value: '1', }, }, ); expect(container.querySelectorAll('.ant-select-item')).toHaveLength(0); setTimeout(() => { expect(container.querySelectorAll('.ant-select-item')).toHaveLength(1); }, 1000); }); });
9,187
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/columnSetting.test.tsx
import ProTable from '@ant-design/pro-table'; import { act, cleanup, createEvent, fireEvent, render, } from '@testing-library/react'; import { waitForWaitTime } from '../util'; import { columns } from './demo'; function fireDragEvent(ele: HTMLElement, eventName: string, data: object) { // @ts-ignore const event = createEvent[eventName](ele); Object.keys(data).forEach((key) => { // @ts-ignore event[key] = data[key]; }); fireEvent(ele, event); } afterEach(() => { cleanup(); }); describe('Table ColumnSetting', () => { beforeEach(() => { console.warn = vi.fn(); }); it('๐ŸŽ columnSetting', async () => { const html = render( <ProTable size="small" columns={columns} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); await waitForWaitTime(100); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-setting', ) ?.click(); }); await waitForWaitTime(100); const overlay = html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-pro-table-column-setting-overlay', ); expect(!!overlay).toBeTruthy(); act(() => { const item = html.baseElement.querySelector<HTMLDivElement>( 'span.ant-pro-table-column-setting-list-item', ); item ?.querySelector<HTMLDivElement>( '.ant-pro-table-column-setting-list-item-option .anticon-vertical-align-top', ) ?.click(); }); await waitForWaitTime(100); const titleList = html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-pro-table-column-setting-overlay .ant-pro-table-column-setting-list-title', ); expect(titleList.length).toBe(2); }); it('๐ŸŽ columnSetting columnsStateMap props', async () => { const html = render( <ProTable size="small" columnsStateMap={{ index: { fixed: 'left' }, Age: { show: false }, option: { fixed: 'right' }, }} columns={columns} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); await waitForWaitTime(100); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-setting', ) ?.click(); }); await waitForWaitTime(100); let overlay = html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-pro-table-column-setting-overlay .ant-pro-table-column-setting-list-title', ); expect(overlay.length).toBe(3); act(() => { html.rerender( <ProTable size="small" columnsStateMap={{ index: { fixed: 'left' }, }} columns={columns} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); }); await waitForWaitTime(100); overlay = html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-pro-table-column-setting-overlay .ant-pro-table-column-setting-list-title', ); expect(overlay.length).toBe(2); }); it('๐ŸŽ columnSetting columnsStateMap onChange', async () => { const callBack = vi.fn(); const html = render( <ProTable size="small" columnsStateMap={{ index: { fixed: 'left' }, Age: { show: false }, option: { fixed: 'right' }, }} onColumnsStateChange={callBack} columns={columns} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); await waitForWaitTime(200); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-setting', ) ?.click(); }); await waitForWaitTime(100); const reset = html.baseElement.querySelector<HTMLDivElement>( '.ant-pro-table-column-setting-title a', ); act(() => { reset?.click(); }); await waitForWaitTime(100); expect(callBack).toBeCalled(); }); it('๐ŸŽ columnSetting columnsState.value props', async () => { const html = render( <ProTable size="small" columnsState={{ persistenceType: 'localStorage', persistenceKey: 'columnsState', value: { index: { fixed: 'left' }, Age: { show: false }, option: { fixed: 'right' }, }, }} columns={columns} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); await waitForWaitTime(100); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-setting', ) ?.click(); }); await waitForWaitTime(100); let overlay = html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-pro-table-column-setting-overlay .ant-pro-table-column-setting-list-title', ); expect(overlay.length).toBe(3); act(() => { html.rerender( <ProTable size="small" columnsState={{ persistenceType: 'localStorage', persistenceKey: 'columnsState', value: { index: { fixed: 'left' }, }, }} columns={columns} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); }); await waitForWaitTime(100); overlay = html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-pro-table-column-setting-overlay .ant-pro-table-column-setting-list-title', ); expect(overlay.length).toBe(2); // ่งฆๅ‘้‡็ฝฎ act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-column-setting-action-rest-button', ) ?.click?.(); }); await waitForWaitTime(100); }); it('๐ŸŽ columnSetting columnsState.value props throw error', async () => { console.warn = vi.fn(); const localStorage = { ...window.localStorage }; // ไธบไบ†ๆต‹่ฏ•ๆŠฅ้”™็š„ๆƒ…ๅ†ต //@ts-expect-error window.localStorage = { getItem() { throw new Error('getItem error'); }, setItem() { throw new Error('setItem error'); }, removeItem() { throw new Error('removeItem error'); }, clear() { throw new Error('clear error'); }, }; const html = render( <ProTable size="small" columnsState={{ persistenceType: 'localStorage', persistenceKey: 'columnsState', value: { index: { fixed: 'left' }, Age: { show: false }, option: { fixed: 'right' }, }, }} columns={columns} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); await waitForWaitTime(100); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-setting', ) ?.click(); }); await waitForWaitTime(100); let overlay = html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-pro-table-column-setting-overlay .ant-pro-table-column-setting-list-title', ); expect(overlay.length).toBe(3); act(() => { html.rerender( <ProTable size="small" columnsState={{ persistenceType: 'localStorage', persistenceKey: 'columnsState', value: { index: { fixed: 'left' }, }, }} columns={columns} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); }); await waitForWaitTime(100); overlay = html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-pro-table-column-setting-overlay .ant-pro-table-column-setting-list-title', ); expect(overlay.length).toBe(2); // ่งฆๅ‘้‡็ฝฎ act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-column-setting-action-rest-button', ) ?.click(); }); await waitForWaitTime(100); window.localStorage = localStorage; expect(console.warn).toBeCalled(); }); it('๐ŸŽ columnSetting columnsState.onChange', async () => { const callBack = vi.fn(); const html = render( <ProTable size="small" columnsState={{ value: { index: { fixed: 'left' }, Age: { show: false }, option: { fixed: 'right' }, }, onChange: callBack, }} columns={columns} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-setting', ) ?.click(); }); await waitForWaitTime(100); const overlay = html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-pro-table-column-setting-overlay .ant-pro-table-column-setting-list-title', ); expect(overlay.length).toBe(3); await waitForWaitTime(200); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-setting', ) ?.click(); }); await waitForWaitTime(100); const reset = html.baseElement.querySelector<HTMLDivElement>( '.ant-pro-table-column-setting-title a', ); act(() => { reset?.click(); }); await waitForWaitTime(100); expect(callBack).toBeCalled(); }); it('๐ŸŽ columnSetting columnsState.persistenceKey', async () => { const callBack = vi.fn(); window.localStorage.setItem( 'test-keys', JSON.stringify({ index: { fixed: 'left' }, Age: { show: false }, option: { fixed: 'right' }, }), ); const html = render( <ProTable size="small" columnsState={{ persistenceKey: 'test-keys', persistenceType: 'localStorage', onChange: callBack, }} columns={columns} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); await waitForWaitTime(100); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-setting', ) ?.click(); }); await waitForWaitTime(100); let overlay = html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-pro-table-column-setting-overlay .ant-pro-table-column-setting-list-title', ); expect(overlay.length).toBe(3); act(() => { html.rerender( <ProTable size="small" columnsState={{ value: { index: { fixed: 'left' }, }, }} columns={columns} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); }); await waitForWaitTime(100); overlay = html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-pro-table-column-setting-overlay .ant-pro-table-column-setting-list-title', ); expect(overlay.length).toBe(2); }); it('๐ŸŽ columnSetting columnsState.persistenceKey is error dom', async () => { const callBack = vi.fn(); window.localStorage.setItem( 'test-keys', '{"index":{"fixed":"left"},.["Age":{"show":false},"option":{"fixed":"right"}}', ); const html = render( <ProTable size="small" columnsState={{ persistenceKey: 'test-keys', persistenceType: 'localStorage', onChange: callBack, }} columns={columns} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); await waitForWaitTime(100); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-setting', ) ?.click(); }); await waitForWaitTime(100); let overlay = html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-pro-table-column-setting-overlay .ant-pro-table-column-setting-list-title', ); expect(overlay.length).toBe(0); act(() => { html.rerender( <ProTable size="small" columnsState={{ value: { index: { fixed: 'left' }, }, }} columns={columns} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); }); await waitForWaitTime(100); overlay = html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-pro-table-column-setting-overlay .ant-pro-table-column-setting-list-title', ); expect(overlay.length).toBe(2); }); it('๐ŸŽ columnSetting select all', async () => { const callBack = vi.fn(); const html = render( <ProTable size="small" onColumnsStateChange={() => { callBack(); }} columns={[ { title: 'Name', key: 'name', dataIndex: 'name', copyable: true, children: [ { title: 'Name2', key: 'name2', dataIndex: 'name2', }, { title: 'Name3', key: 'name3', dataIndex: 'name3', }, ], }, ]} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, name2: `TradeCode ${1}`, name3: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); await waitForWaitTime(200); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-setting', ) ?.click(); }); await waitForWaitTime(200); act(() => { const input = html.baseElement ?.querySelector<HTMLDivElement>( '.ant-pro-table-column-setting-title .ant-checkbox-wrapper', ) ?.querySelector<HTMLInputElement>('.ant-checkbox-input'); input?.click(); }); await waitForWaitTime(200); expect( html.baseElement.querySelectorAll<HTMLDivElement>( 'span.ant-checkbox.ant-checkbox-checked', ).length, ).toBe(0); act(() => { const input = html.baseElement ?.querySelector<HTMLDivElement>( '.ant-pro-table-column-setting-title .ant-checkbox-wrapper', ) ?.querySelector<HTMLInputElement>('.ant-checkbox-input'); input?.click(); }); await waitForWaitTime(100); expect( html.baseElement.querySelectorAll<HTMLDivElement>( 'span.ant-checkbox.ant-checkbox-checked', ).length + html.baseElement.querySelectorAll<HTMLDivElement>( 'span.ant-tree-checkbox.ant-tree-checkbox-checked', ).length, ).toBe(2); expect(callBack).toBeCalled(); act(() => { const input = html.baseElement ?.querySelector<HTMLDivElement>( '.ant-tree-list-holder-inner .ant-tree-treenode', ) ?.querySelector<HTMLInputElement>('.ant-tree-checkbox'); input?.click(); }); act(() => { const input = html.baseElement ?.querySelector<HTMLDivElement>( '.ant-tree-list-holder-inner .ant-tree-treenode', ) ?.querySelector<HTMLInputElement>('.ant-tree-checkbox'); input?.click(); }); }); it('๐ŸŽ columnSetting click Reset and reset when columnsState.value and columnsState.defaultValue also exist', async () => { const onChange = vi.fn(); const html = render( <ProTable size="small" columnsState={{ value: { age: { show: true }, name: { show: true }, option: { show: true }, }, onChange, defaultValue: { age: { show: false }, name: { show: false }, option: { show: true }, }, }} columns={[ { title: 'Name', key: 'name', dataIndex: 'name', }, { title: 'age', key: 'age', dataIndex: 'age', }, { title: 'option', key: 'option', dataIndex: 'option', }, ]} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); await waitForWaitTime(200); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-setting', ) ?.click(); }); await waitForWaitTime(100); expect( html.baseElement.querySelectorAll<HTMLDivElement>( 'span.ant-tree-checkbox.ant-tree-checkbox-checked', ).length, ).toBe(3); act(() => { html.baseElement .querySelector<HTMLDivElement>( `.ant-pro-table-column-setting-action-rest-button`, ) ?.click(); }); expect(onChange).toBeCalledTimes(1); expect((onChange.mock as any).lastCall[0]).toMatchInlineSnapshot(` { "age": { "show": false, }, "name": { "show": false, }, "option": { "show": true, }, } `); }); it('๐ŸŽ columnsState use the column key or dataIndex as index name', async () => { const onChange = vi.fn(); const html = render( <ProTable size="small" columnsState={{ onChange, }} columns={[ { title: 'Name', key: 'name', dataIndex: 'name', copyable: true, }, { title: 'Name2', dataIndex: 'name2', }, { title: 'Name3', dataIndex: 'name3', }, { valueType: 'option', render() { return null; }, }, ]} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, name2: `TradeCode ${1}`, name3: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); act(() => { html.baseElement .querySelector<HTMLDivElement>(`span[aria-label="setting"]`) ?.click(); }); await waitForWaitTime(200); act(() => { html.baseElement .querySelector<HTMLDivElement>( `.ant-pro-table-column-setting-action-rest-button`, ) ?.click(); }); act(() => { const input = html.baseElement ?.querySelector<HTMLDivElement>( '.ant-pro-table-column-setting-title .ant-checkbox-wrapper', ) ?.querySelector<HTMLInputElement>('.ant-checkbox-input'); input?.click(); }); act(() => { html.baseElement .querySelector<HTMLDivElement>( `.ant-pro-table-column-setting-action-rest-button`, ) ?.click(); }); expect(onChange).toBeCalledTimes(2); expect((onChange.mock as any).lastCall[0]).toMatchInlineSnapshot(` { "3": { "disable": undefined, "fixed": undefined, "show": true, }, "name": { "disable": undefined, "fixed": undefined, "show": true, }, "name2": { "disable": undefined, "fixed": undefined, "show": true, }, "name3": { "disable": undefined, "fixed": undefined, "show": true, }, } `); }); it('๐ŸŽ columnSetting select one', async () => { const callBack = vi.fn(); const html = render( <ProTable size="small" onColumnsStateChange={() => { callBack(); }} columns={[ { title: 'Name', key: 'name', dataIndex: 'name', }, ]} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); await waitForWaitTime(200); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-setting', ) ?.click(); }); await waitForWaitTime(200); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-column-setting-list .ant-tree-checkbox', ) ?.click(); }); await waitForWaitTime(200); expect( html.baseElement.querySelectorAll<HTMLDivElement>( 'span.ant-checkbox.ant-checkbox-checked', ).length, ).toBe(0); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-column-setting-list .ant-tree-checkbox', ) ?.click(); }); await waitForWaitTime(200); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-column-setting-list .ant-tree-checkbox', ) ?.click(); }); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-column-setting-list .ant-tree-checkbox', ) ?.click(); }); await waitForWaitTime(100); expect( html.baseElement.querySelectorAll<HTMLDivElement>( 'span.ant-checkbox.ant-checkbox-checked', ).length + html.baseElement.querySelectorAll<HTMLDivElement>( 'span.ant-tree-checkbox.ant-tree-checkbox-checked', ).length, ).toBe(2); expect(callBack).toBeCalled(); }); it('๐ŸŽ columnSetting close checkable', async () => { const html = render( <ProTable size="small" options={{ setting: { draggable: false, checkable: false, }, }} columns={[ { title: 'Name', key: 'name', dataIndex: 'name', copyable: true, }, { title: 'Name2', key: 'name2', dataIndex: 'name2', copyable: true, }, ]} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); await waitForWaitTime(200); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-setting', ) ?.click(); }); await waitForWaitTime(200); expect( html.baseElement.querySelectorAll<HTMLDivElement>( 'span.ant-tree-checkbox.ant-tree-checkbox-checked', ).length, ).toBe(0); }); it('๐ŸŽ columnSetting open checkable', async () => { const html = render( <ProTable size="small" columns={[ { title: 'Name', key: 'name', dataIndex: 'name', copyable: true, }, { title: 'Name2', key: 'name2', dataIndex: 'name2', copyable: true, }, ]} request={async () => { return { data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }; }} rowKey="key" />, ); await waitForWaitTime(200); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-setting', ) ?.click(); }); await waitForWaitTime(300); expect( html.baseElement.querySelectorAll<HTMLDivElement>( 'span.ant-tree-checkbox.ant-tree-checkbox-checked', ).length, ).toBe(2); act(() => { fireDragEvent( html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-tree-treenode > .ant-tree-node-content-wrapper', )[1], 'dragStart', { clientX: 500, clientY: 500, }, ); }); await waitForWaitTime(200); act(() => { fireDragEvent( html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-tree-treenode > .ant-tree-node-content-wrapper', )[0], 'dragEnter', { clientX: 400, clientY: 600, }, ); }); await waitForWaitTime(200); act(() => { fireDragEvent( html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-tree-treenode > .ant-tree-node-content-wrapper', )[0], 'dragOver', { clientX: 400, clientY: 600, }, ); }); await waitForWaitTime(200); act(() => { fireEvent.drop( html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-tree-treenode > .ant-tree-node-content-wrapper', )[0], ); }); await waitForWaitTime(1000); act(() => { fireDragEvent( html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-tree-treenode > .ant-tree-node-content-wrapper', )[1], 'dragStart', { clientX: 500, clientY: 500, }, ); }); await waitForWaitTime(200); act(() => { fireDragEvent( html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-tree-treenode > .ant-tree-node-content-wrapper', )[0], 'dragEnd', { clientX: 400, clientY: 600, }, ); }); await waitForWaitTime(200); act(() => { fireEvent.drop( html.baseElement.querySelectorAll<HTMLDivElement>( '.ant-tree-treenode > .ant-tree-node-content-wrapper', )[1], ); }); await waitForWaitTime(1000); }); it('๐ŸŽ columnSetting support hideInSetting', async () => { const html = render( <ProTable size="small" columns={[ { title: 'Name', key: 'name', dataIndex: 'name', copyable: true, hideInSetting: true, }, { title: 'Name2', key: 'name2', dataIndex: 'name2', copyable: true, }, { title: 'Name3', key: 'name3', dataIndex: 'name3', hideInTable: true, }, ]} dataSource={[ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ]} rowKey="key" />, ); await waitForWaitTime(200); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-setting', ) ?.click(); }); await waitForWaitTime(1000); expect( html.baseElement.querySelectorAll<HTMLDivElement>('.ant-tree-treenode') .length, ).toBe(2); }); it('๐ŸŽ columnSetting support replacement for default setting icon', async () => { const html = render( <ProTable size="small" options={{ setting: { children: ( <button className="custom-setting-button">Click Me!</button> ), }, }} columns={[ { title: 'Name', key: 'name', dataIndex: 'name', copyable: true, hideInSetting: true, }, { title: 'Name2', key: 'name2', dataIndex: 'name2', copyable: true, }, { title: 'Name3', key: 'name3', dataIndex: 'name3', hideInTable: true, }, ]} dataSource={[ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ]} rowKey="key" />, ); await waitForWaitTime(200); act(() => { const element = html.baseElement.querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item .custom-setting-button', ); element?.click(); }); await waitForWaitTime(1000); expect( html.baseElement.querySelectorAll<HTMLDivElement>('.ant-tree-treenode') .length, ).toBe(2); }); it('๐ŸŽ DensityIcon support onChange', async () => { const onChange = vi.fn(); const html = render( <ProTable onSizeChange={(size) => onChange(size)} options={{ density: true }} columns={[ { title: 'Name', key: 'name', dataIndex: 'name', copyable: true, }, { title: 'Name2', key: 'name2', dataIndex: 'name2', copyable: true, }, ]} dataSource={[ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ]} rowKey="key" />, ); act(() => { const icon = html.baseElement.querySelector<HTMLSpanElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-column-height', ); icon?.click(); }); await act(async () => { const dom = await html.queryByText('็ดงๅ‡‘'); dom?.click(); }); expect(onChange).toBeCalledWith('small'); act(() => { const icon = html.baseElement.querySelector<HTMLSpanElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-column-height', ); icon?.click(); }); await act(async () => { const dom = await html.queryByText('ไธญ็ญ‰'); dom?.click(); }); expect(onChange).toBeCalledWith('middle'); }); it('๐ŸŽ columnSetting ellipsis support showTitle', async () => { const html = render( <ProTable columns={[ { title: 'Name', key: 'name', dataIndex: 'name', ellipsis: { showTitle: true, }, }, { title: 'Name1', key: 'name1', dataIndex: 'name', ellipsis: { showTitle: false, }, }, ]} dataSource={[ { key: 1, name: `ๆˆ‘ๆ˜ฏ่ถ…้•ฟ็š„ๅ็งฐ`, }, ]} rowKey="key" />, ); await waitForWaitTime(100); const ellipsisList = html.baseElement.querySelectorAll( '.ant-typography-ellipsis', ); expect(ellipsisList.length).toBe(1); }); });
9,188
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/demo.test.ts
import demoTest from '../demo'; demoTest('table');
9,190
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/dragSort.test.tsx
import { MenuOutlined } from '@ant-design/icons'; import { DragSortTable } from '@ant-design/pro-table'; import { act, cleanup, fireEvent, render } from '@testing-library/react'; import { waitForWaitTime } from '../util'; async function dragAndDrop(cell: Element) { fireEvent.mouseDown(cell); await waitForWaitTime(200); fireEvent.mouseMove(cell, { clientX: 100, clientY: 100, }); await waitForWaitTime(200); fireEvent.mouseMove(cell, { clientX: 100, clientY: 10, }); await waitForWaitTime(200); fireEvent.mouseUp(cell); fireEvent.mouseLeave(cell); await waitForWaitTime(200); } const height = 20; const width = 100; const offsetHeight = 'offsetHeight'; const offsetWidth = 'offsetWidth'; /* el.getBoundingClientRect mock */ const mockGetBoundingClientRect = (element: any, index: number) => vi.spyOn(element, 'getBoundingClientRect').mockImplementation(() => ({ bottom: 0, height, left: 0, right: 0, top: index * height, width, x: 0, y: index * height, })); afterEach(() => { cleanup(); }); describe('dragSort', () => { const originalOffsetHeight = Object.getOwnPropertyDescriptor( HTMLElement.prototype, offsetHeight, ) as any; const originalOffsetWidth = Object.getOwnPropertyDescriptor( HTMLElement.prototype, offsetWidth, ) as any; beforeAll(() => { Object.defineProperty(HTMLElement.prototype, offsetHeight, { configurable: true, value: height, }); Object.defineProperty(HTMLElement.prototype, offsetWidth, { configurable: true, value: width, }); }); afterAll(() => { Object.defineProperty( HTMLElement.prototype, offsetHeight, originalOffsetHeight, ); Object.defineProperty( HTMLElement.prototype, offsetWidth, originalOffsetWidth, ); }); it('๐Ÿ”ฅ [dragSort] render drag sort default handle by dragSortKey', async () => { const onDragSortEndFn = vi.fn(); type DataSourceItemStruct = { id: string; name: string; }; const dataSource: DataSourceItemStruct[] = [ { id: '1', name: 'kiner', }, { id: '2', name: 'WenHui Tang', }, ]; const { container } = render( <DragSortTable search={false} toolBarRender={false} size="small" dataSource={dataSource} columns={[ { title: 'ๆŽ’ๅบ', dataIndex: 'sort', }, { title: 'Id', dataIndex: 'id', }, { title: 'ๅง“ๅ', dataIndex: 'name', }, ]} onDragSortEnd={(data) => { //@ts-ignore onDragSortEndFn(data[0].name); console.log(data); }} rowKey="id" dragSortKey="sort" />, ); const draggables = container.querySelectorAll( '[aria-roledescription="sortable"]', ); Object.setPrototypeOf(window, Window.prototype); draggables.forEach((draggable, index) => { mockGetBoundingClientRect(draggable, index); }); container .querySelectorAll('.ant-pro-table-drag-icon') .forEach((dragHandle, index) => { mockGetBoundingClientRect(dragHandle, index); }); const dragHandle = container.querySelectorAll( '.ant-pro-table-drag-icon', )[1]; await act(() => { return dragAndDrop(dragHandle); }); // await waitFor(() => { // expect(onDragSortEndFn).toBeCalled(); // }); expect(container.querySelector('.dragSortDefaultHandle')).toMatchSnapshot(); }); it('๐Ÿ”ฅ [dragSort] render drag sort custom handle by dragSortHandlerRender', async () => { type DataSourceItemStruct = { id: number; name: string; }; const dataSource: DataSourceItemStruct[] = [ { id: 1, name: 'kiner', }, ]; const callback = vi.fn(); const dragHandleRender = (rowData: any, idx: any) => { callback(rowData.name, idx); return ( <> <MenuOutlined className="dragSortCustomHandle" style={{ cursor: 'grab', color: 'gold' }} /> {idx + 1} - {rowData.name} </> ); }; const { container } = render( <DragSortTable size="small" dataSource={dataSource} columns={[ { title: 'Id', dataIndex: 'id', }, { title: 'ๅง“ๅ', dataIndex: 'name', }, ]} rowKey="id" dragSortKey="id" dragSortHandlerRender={dragHandleRender} />, ); expect(container.querySelector('.dragSortCustomHandle')).toMatchSnapshot(); expect(callback).toBeCalled(); expect(callback).toBeCalledWith('kiner', 0); }); it('๐Ÿ”ฅ [dragSort] custom render function', async () => { type DataSourceItemStruct = { id: number; name: string; }; const dataSource: DataSourceItemStruct[] = [ { id: 1, name: 'kiner', }, { id: 2, name: 'WenHui Tang', }, { id: 3, name: 'Kiner Tang', }, ]; const dragHandleRender = (rowData: any, idx: any) => ( <> <MenuOutlined className="dragSortCustomHandle" style={{ cursor: 'grab', color: 'gold' }} /> {idx + 1} - {rowData.name} </> ); const callback = vi.fn(); const { container } = render( <DragSortTable size="small" dataSource={dataSource} columns={[ { title: 'ๆŽ’ๅบ', dataIndex: 'sort', render: (dom, rowData, index) => { callback(rowData.name, index); return ( <span className="customRender">{`่‡ชๅฎšไน‰ๆŽ’ๅบ[${rowData.name}-${index}]`}</span> ); }, }, { title: 'Id', dataIndex: 'id', }, { title: 'ๅง“ๅ', dataIndex: 'name', }, ]} rowKey="id" dragSortKey="sort" dragSortHandlerRender={dragHandleRender} />, ); expect(container.querySelector('.dragSortCustomHandle')).toMatchSnapshot(); expect(container.querySelector('.customRender')).toMatchSnapshot(); expect(callback).toBeCalled(); expect(callback).toBeCalledWith('kiner', 0); }); });
9,191
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/dynamic-columns-state.test.tsx
import { ProTable } from '@ant-design/pro-components'; import { act, cleanup, render } from '@testing-library/react'; import { waitForWaitTime } from '../util'; const valueEnum = { 0: 'close', 1: 'running', }; export type TableListItem = { key: number; name: string; containers: number; creator: string; status: string; createdAt: number; progress: number; money: number; memo: string; statusText: string; }; const tableListDataSource: TableListItem[] = []; const creators = ['ไป˜ๅฐๅฐ', 'ๆ›ฒไธฝไธฝ', 'ๆž—ไธœไธœ', '้™ˆๅธ…ๅธ…', 'ๅ…ผๆŸๆŸ']; for (let i = 0; i < 5; i += 1) { tableListDataSource.push({ key: i, name: 'AppName', containers: Math.floor(Math.random() * 20), creator: creators[Math.floor(Math.random() * creators.length)], status: valueEnum[((Math.floor(Math.random() * 10) % 2) + '') as '0'], createdAt: Date.now() - Math.floor(Math.random() * 2000), money: Math.floor(Math.random() * 2000) * i, progress: Math.ceil(Math.random() * 100) + 1, memo: i % 2 === 1 ? 'ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด' : '็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ', statusText: '่ฟ™ๆ˜ฏไธ€ๆฎตๅพˆ้šๆ„็š„ๆ–‡ๅญ—', }); } afterEach(() => { cleanup(); }); describe('Dynamic Persistence', () => { it('๐ŸŽ columnSetting columnsState.persistenceKey change', async () => { const html = render( <ProTable columns={[ { title: 'ๆŽ’ๅบ', dataIndex: 'index', valueType: 'indexBorder', width: 48, }, { title: 'ๅ…ณ้—ญๆ—ถๅญ—ๆฎต', dataIndex: 'statusText', }, ]} request={() => { return Promise.resolve({ data: tableListDataSource, success: true, }); }} rowKey="key" search={{ layout: 'vertical', defaultCollapsed: false, }} columnsState={{ persistenceKey: `table_dynamic_status_close`, persistenceType: 'sessionStorage', }} dateFormatter="string" toolbar={{ title: '้ซ˜็บง่กจๆ ผ', tooltip: 'ๅŠจๆ€ๅˆ—ๆŒไน…ๅŒ–', }} />, ); await waitForWaitTime(100); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item .anticon-setting', ) ?.click(); }); await waitForWaitTime(100); expect(window.sessionStorage.getItem('table_dynamic_status_close')).toMatch( '{"index":{"show":true},"statusText":{"show":true}}', ); act(() => { html.baseElement .querySelectorAll<HTMLDivElement>( '.ant-tree-treenode > .ant-tree-node-content-wrapper', )?.[1] ?.click(); }); await waitForWaitTime(100); expect(window.sessionStorage.getItem('table_dynamic_status_close')).toMatch( '{"index":{"show":true},"statusText":{"show":false}}', ); act(() => { html.rerender( <ProTable columns={[ { title: 'ๆŽ’ๅบ', dataIndex: 'index', valueType: 'indexBorder', width: 48, }, { title: '่ฟ่กŒๆ—ถๅญ—ๆฎต', dataIndex: 'statusText', }, ]} request={() => { return Promise.resolve({ data: tableListDataSource, success: true, }); }} rowKey="key" search={{ layout: 'vertical', defaultCollapsed: false, }} columnsState={{ persistenceKey: 'table_dynamic_status_running', persistenceType: 'sessionStorage', }} dateFormatter="string" toolbar={{ title: '้ซ˜็บง่กจๆ ผ', tooltip: 'ๅŠจๆ€ๅˆ—ๆŒไน…ๅŒ–', }} />, ); }); await waitForWaitTime(100); expect( window.sessionStorage.getItem('table_dynamic_status_running'), ).toMatch('{"index":{"show":true},"statusText":{"show":true}}'); }); });
9,192
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/editor-table-two.test.tsx
import type { ActionType, EditableFormInstance, ProColumns, TableRowEditable, } from '@ant-design/pro-components'; import { ProForm, ProFormText } from '@ant-design/pro-components'; import { EditableProTable } from '@ant-design/pro-table'; import { act, cleanup, fireEvent, render, waitFor, } from '@testing-library/react'; import { Button, Input, InputNumber } from 'antd'; import useMergedState from 'rc-util/es/hooks/useMergedState'; import React, { useRef } from 'react'; import { waitTime } from '../util'; type DataSourceType = { id: number | string; title?: string; labels?: { name: string; color: string; }[]; state?: string; time?: { created_at?: number; }; children?: DataSourceType[]; }; const defaultData: DataSourceType[] = [ { id: 624748504, title: '๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000, }, state: 'processing', }, { id: 624691229, title: '๐Ÿ› [BUG]ๆ— ๆณ•ๅˆ›ๅปบๅทฅ็จ‹npm create umi', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590481162000, }, state: 'closed', }, { id: 624674790, title: '๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰', labels: [{ name: 'question', color: 'success' }], state: 'open', time: { created_at: 1590479665000, }, children: [ { id: 6246747901, title: 'ๅตŒๅฅ—ๆ•ฐๆฎ็š„็ผ–่พ‘', labels: [{ name: 'question', color: 'success' }], state: 'closed', time: { created_at: 1590479665000, }, children: [ { id: 62467479012, title: 'ๅตŒๅฅ—ๆ•ฐๆฎ็š„็ผ–่พ‘', labels: [{ name: 'question', color: 'success' }], state: 'closed', time: { created_at: 1590479665000, }, }, ], }, ], }, ]; const columns: ProColumns<DataSourceType>[] = [ { dataIndex: 'index', valueType: 'indexBorder', width: 48, renderFormItem: () => <InputNumber />, }, { title: 'ๆ ‡้ข˜', dataIndex: 'title', copyable: true, fieldProps: { onChange: () => null, }, ellipsis: true, tip: 'ๆ ‡้ข˜่ฟ‡้•ฟไผš่‡ชๅŠจๆ”ถ็ผฉ', formItemProps: { rules: [ { required: true, message: 'ๆญค้กนไธบๅฟ…ๅกซ้กน', }, ], }, width: '30%', search: false, }, { title: '็Šถๆ€', dataIndex: 'state', initialValue: 'open', filters: true, valueType: 'select', width: 120, valueEnum: { all: { text: 'ๅ…จ้ƒจ', status: 'Default' }, open: { text: 'ๆœช่งฃๅ†ณ', status: 'Error', }, closed: { text: 'ๅทฒ่งฃๅ†ณ', status: 'Success', }, processing: { text: '่งฃๅ†ณไธญ', status: 'Processing', }, }, }, { title: 'ๅˆ›ๅปบๆ—ถ้—ด', dataIndex: ['time', 'created_at'], valueType: 'date', }, { title: 'ๆ“ไฝœ', valueType: 'option', render: (text, row, _, action) => [ <a key="editor" id="editor" onClick={() => { action?.startEditable?.(row.id); }} > ็ผ–่พ‘ </a>, ], }, ]; const EditorProTableDemo = ( props: { type?: 'multiple'; hideRules?: boolean; defaultKeys?: React.Key[]; editorRowKeys?: React.Key[]; onEditorChange?: (editorRowKeys: React.Key[]) => void; dataSource?: DataSourceType[]; onDataSourceChange?: (dataSource: readonly DataSourceType[]) => void; position?: 'top'; } & TableRowEditable<DataSourceType>, ) => { const actionRef = useRef<ActionType>(); const [editableKeys, setEditorRowKeys] = useMergedState<React.Key[]>( () => props.defaultKeys || [], { value: props.editorRowKeys, onChange: props.onEditorChange, }, ); const [tableDataSource, setDataSource] = useMergedState< readonly DataSourceType[] >([], { value: props.dataSource, onChange: props.onDataSourceChange, }); return ( <EditableProTable<DataSourceType> rowKey="id" toolBarRender={() => [ <Button key="addEditRecord" id="addEditRecord" onClick={() => { actionRef.current?.addEditRecord( { id: 10000, }, { position: props.position, }, ); }} > ๅขžๅŠ ไธ€่กŒ </Button>, ]} columns={columns.map((item) => { if (!props.hideRules) { // eslint-disable-next-line no-param-reassign delete item.formItemProps; } return item; })} actionRef={actionRef} request={async () => ({ data: defaultData, total: 3, success: true, })} pagination={{}} value={tableDataSource} onChange={setDataSource} editable={{ ...props, type: props.type, editableKeys, onSave: props.onSave, onChange: (keys) => setEditorRowKeys(keys), onDelete: props.onDelete, }} /> ); }; afterEach(() => { cleanup(); }); describe('EditorProTable 2', () => { it('๐Ÿ“ EditableProTable controlled will trigger onchange', async () => { const onChange = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" controlled recordCreatorProps={{ creatorButtonText: 'ๆต‹่ฏ•ๆทปๅŠ ๆ•ฐๆฎ', record: { id: 9999 }, }} editable={{ editableKeys: ['624748504'], }} columns={columns} value={[ { id: '624748504', title: '๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000, }, state: 'processing', }, ]} onChange={(data) => { onChange(data[0]); }} />, ); await wrapper.findAllByText('ๆต‹่ฏ•ๆทปๅŠ ๆ•ฐๆฎ'); act(() => { fireEvent.change( wrapper.container.querySelectorAll( '.ant-table-cell .ant-form-item .ant-form-item-control-input input', )[1], { target: { value: '๐Ÿ› [BUG]yarn installๅ‘ฝไปค', }, }, ); }); await waitFor( () => { expect(onChange).toBeCalled(); }, { timeout: 1000, }, ); await waitFor(() => { expect(onChange).toBeCalledWith({ id: '624748504', title: '๐Ÿ› [BUG]yarn installๅ‘ฝไปค', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000 }, state: 'processing', index: undefined, }); }); }); it('๐Ÿ“ EditableProTable render input controlled will trigger onchange', async () => { const onChange = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" controlled recordCreatorProps={{ creatorButtonText: 'ๆต‹่ฏ•ๆทปๅŠ ๆ•ฐๆฎ', record: { id: 9999 }, }} editable={{ editableKeys: ['624748504'], }} columns={[ { title: 'ๆ ‡้ข˜', dataIndex: 'title', copyable: true, fieldProps: { onChange: () => null, }, renderFormItem: () => <Input />, ellipsis: true, tip: 'ๆ ‡้ข˜่ฟ‡้•ฟไผš่‡ชๅŠจๆ”ถ็ผฉ', formItemProps: { rules: [ { required: true, message: 'ๆญค้กนไธบๅฟ…ๅกซ้กน', }, ], }, width: '30%', search: false, }, ]} value={[ { id: '624748504', title: '๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000, }, state: 'processing', }, ]} onChange={(data) => { onChange(data[0]); }} />, ); await wrapper.findAllByText('ๆต‹่ฏ•ๆทปๅŠ ๆ•ฐๆฎ'); await waitFor(() => { act(() => { fireEvent.change( wrapper.container.querySelectorAll( '.ant-table-cell .ant-form-item-control-input input', )[0], { target: { value: '๐Ÿ› [BUG]yarn installๅ‘ฝไปค', }, }, ); }); }); await waitFor( () => { expect(onChange).toBeCalled(); }, { timeout: 1000, }, ); await waitFor(() => { expect(onChange).toBeCalledWith({ id: '624748504', title: '๐Ÿ› [BUG]yarn installๅ‘ฝไปค', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000 }, state: 'processing', index: undefined, }); }); }); it('๐Ÿ“ EditableProTable render ProFromText controlled will trigger onchange ', async () => { const onChange = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" controlled recordCreatorProps={{ creatorButtonText: 'ๆต‹่ฏ•ๆทปๅŠ ๆ•ฐๆฎ', record: { id: 9999 }, }} editable={{ editableKeys: ['624748504'], }} columns={[ { title: 'ๆ ‡้ข˜', dataIndex: 'title', copyable: true, fieldProps: { onChange: () => null, }, renderFormItem: () => <ProFormText />, ellipsis: true, tip: 'ๆ ‡้ข˜่ฟ‡้•ฟไผš่‡ชๅŠจๆ”ถ็ผฉ', formItemProps: { rules: [ { required: true, message: 'ๆญค้กนไธบๅฟ…ๅกซ้กน', }, ], }, width: '30%', search: false, }, ]} value={[ { id: '624748504', title: '๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000, }, state: 'processing', }, ]} onChange={(data) => { onChange(data[0]); }} />, ); await wrapper.findAllByText('ๆต‹่ฏ•ๆทปๅŠ ๆ•ฐๆฎ'); act(() => { fireEvent.change( wrapper.container.querySelectorAll( '.ant-table-cell .ant-row .ant-form-item .ant-form-item-control-input input', )[0], { target: { value: 'yarn installๅ‘ฝไปค', }, }, ); }); await waitFor(() => { expect(onChange).toBeCalled(); }); await waitFor(() => { expect(onChange).toBeCalledWith({ id: '624748504', title: 'yarn installๅ‘ฝไปค', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000 }, state: 'processing', index: undefined, }); }); }); it('๐Ÿ“ EditableProTable support name', async () => { const onChange = vi.fn(); const wrapper = render( <ProForm initialValues={{ table: [ { id: '624748504', title: '๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000, }, state: 'processing', }, ], }} onValuesChange={(_, { table }) => onChange(JSON.stringify(table))} > <EditableProTable<DataSourceType> rowKey="id" controlled name="table" editable={{ editableKeys: ['624748504'], }} columns={columns} /> </ProForm>, ); await wrapper.findAllByText('ๆ ‡้ข˜'); act(() => { fireEvent.change( wrapper.container.querySelectorAll( '.ant-table-cell .ant-form-item-control-input input', )[1], { target: { value: '๐Ÿ› [BUG]yarn installๅ‘ฝไปค', }, }, ); }); await waitFor(() => { expect(onChange).toBeCalled(); }); await waitFor(() => { expect(onChange).toBeCalledWith( JSON.stringify([ { id: '624748504', title: '๐Ÿ› [BUG]yarn installๅ‘ฝไปค', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000 }, state: 'processing', index: undefined, }, ]), ); }); }); it('๐Ÿ“ EditableProTable support name and setRowData', async () => { const onChange = vi.fn(); let i = 0; const formRef = React.createRef<EditableFormInstance<any>>(); const wrapper = render( <ProForm initialValues={{ table: [ { id: '624748504', title: '๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000, }, state: 'processing', }, ], }} onValuesChange={(_, { table }) => onChange(JSON.stringify(table))} > <EditableProTable<DataSourceType> rowKey="id" controlled name="table" editableFormRef={formRef} editable={{ actionRender: (row, config) => { return [ <a key="set" onClick={() => { i++; formRef.current?.setRowData?.(config.index!, { title: 'ๅŠจๆ€่ฎพ็ฝฎ็š„title' + i, }); }} > ๅŠจๆ€่ฎพ็ฝฎๆญค้กน </a>, ]; }, }} recordCreatorProps={{ creatorButtonText: 'ๆทปๅŠ ๆ–ฐ็š„ไธ€่กŒ', record: () => { i++; return { id: '111' + i, }; }, }} columns={[ { title: 'ๆดปๅŠจๅ็งฐ', dataIndex: 'title', formItemProps: () => { return { rules: [{ required: true, message: 'ๆญค้กนไธบๅฟ…ๅกซ้กน' }], }; }, width: '30%', }, { title: 'ๆ“ไฝœ', valueType: 'option', width: 200, }, ]} /> </ProForm>, ); await wrapper.findAllByText('ๆทปๅŠ ๆ–ฐ็š„ไธ€่กŒ'); act(() => { fireEvent.click(wrapper.getByText('ๆทปๅŠ ๆ–ฐ็š„ไธ€่กŒ')); }); await waitFor(() => { return wrapper.findAllByText('ๅŠจๆ€่ฎพ็ฝฎๆญค้กน'); }); act(() => { fireEvent.click(wrapper.getByText('ๅŠจๆ€่ฎพ็ฝฎๆญค้กน')); }); await waitFor(() => { return wrapper.findByDisplayValue('ๅŠจๆ€่ฎพ็ฝฎ็š„title' + i); }); await waitFor(() => { expect(formRef.current?.getFieldValue?.('table').length).toEqual(2); }); }); it('๐Ÿ“ EditableProTable ensures that xxxProps are functions also executed', async () => { const errorSpy = vi.spyOn(console, 'error').mockImplementation(() => {}); const formItemPropsFn = vi.fn(); const fieldPropsFn = vi.fn(); const currentlyColumns: ProColumns<DataSourceType>[] = [ { dataIndex: 'index', valueType: 'indexBorder', width: 48, renderFormItem: () => <InputNumber />, }, { title: 'ๆ ‡้ข˜', dataIndex: 'title', formItemProps: formItemPropsFn, fieldProps: fieldPropsFn, }, ]; render( <ProForm initialValues={{ table: [ { id: '624748504', title: '๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™', }, ], }} > <EditableProTable<DataSourceType> rowKey="id" controlled name="table" editable={{ editableKeys: ['624748504'], }} columns={currentlyColumns} /> </ProForm>, ); await waitFor(() => { expect(formItemPropsFn).toBeCalled(); expect(fieldPropsFn).toBeCalled(); expect(errorSpy).not.toBeCalled(); }); errorSpy.mockRestore(); }); it('๐Ÿ“ sub-column values are correct in the form', async () => { const errorSpy = vi.spyOn(console, 'error').mockImplementation(() => {}); const currentlyColumns: ProColumns<DataSourceType>[] = [ { title: 'ๆ ‡้ข˜', dataIndex: 'title', }, ]; const editableKeys: any[] = []; let resultTitle = ''; const tableData = (function generateData(prefix = '', depth = 1): any { const curData = []; if (depth > 3) { return; } let start = 1; while (start++ <= 3) { const title = `title${prefix}${depth}${start}`; resultTitle += title; const children = generateData(`${prefix}${start}`, depth + 1); const id = `${prefix}${depth}${start}`; editableKeys.push(id); curData.push({ id, title, children, }); } return curData; })(); const wrapper = render( <ProForm initialValues={{ table: tableData, }} > <EditableProTable<DataSourceType> rowKey="id" controlled name="table" headerTitle="ๅฏ็ผ–่พ‘่กจๆ ผ" expandable={{ defaultExpandAllRows: true, }} editable={{ editableKeys, }} columns={currentlyColumns} /> </ProForm>, ); await wrapper.getAllByText('ๅฏ็ผ–่พ‘่กจๆ ผ'); let answerTitle = ''; wrapper.container.querySelectorAll('input').forEach((item) => { answerTitle += item.value; }); await waitFor(() => { expect(answerTitle).toMatch(resultTitle); expect(errorSpy).not.toBeCalled(); }); errorSpy.mockRestore(); }); it('๐Ÿ“ EditableProTable support recordCreatorProps.position', async () => { const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" recordCreatorProps={{ creatorButtonText: 'ๆต‹่ฏ•ๆทปๅŠ ๆ•ฐๆฎ', record: { id: 9999 }, position: 'top', }} columns={columns} value={defaultData} />, ); await wrapper.findAllByText('ๆต‹่ฏ•ๆทปๅŠ ๆ•ฐๆฎ'); expect(wrapper.asFragment).toMatchSnapshot(); }); it('๐Ÿ“ support onEditorChange', async () => { const fn = vi.fn(); const wrapper = render( <EditorProTableDemo onEditorChange={(keys) => { fn(keys); }} />, ); await wrapper.findAllByText('็ผ–่พ‘'); act(() => { wrapper.queryAllByText('็ผ–่พ‘')[0]?.click(); }); await waitFor(() => { expect(fn).toBeCalledWith([624748504]); }); wrapper.unmount(); }); it('๐Ÿ“ support onValuesChange', async () => { const fn = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" recordCreatorProps={false} columns={[ { title: 'ๆ ‡้ข˜', dataIndex: 'title', }, ]} value={[ { id: 624748504, title: 'installๅ‘ฝไปค', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000, }, state: 'processing', }, ]} editable={{ editableKeys: [624748504], onValuesChange: (record) => { fn(record.id); }, }} />, ); await wrapper.findByDisplayValue('installๅ‘ฝไปค'); act(() => { fireEvent.change( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('td .ant-input')[0], { target: { value: 'ๅ‘ฝไปค', }, }, ); }); await waitFor( () => { expect(fn).toBeCalledWith(624748504); }, { timeout: 1000, }, ); }); it('๐Ÿ“ EditableProTable columns support dependencies', async () => { const fn = vi.fn(); vi.useFakeTimers(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" recordCreatorProps={false} columns={[ { title: 'ๆ ‡้ข˜', dataIndex: 'title', }, { title: '็Šถๆ€', dataIndex: 'status', valueType: 'select', dependencies: ['title'], request: async (values) => { fn(values.title); return [ { label: 'ๅพ…ๅฎกๆ ธ', value: values.title, }, ]; }, }, ]} editable={{ editableKeys: [624748504], onValuesChange: (record) => { console.log(record); }, }} value={[ { id: 624748504, title: 'installๅ‘ฝไปค', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000, }, state: 'processing', }, ]} />, ); await wrapper.findByDisplayValue('installๅ‘ฝไปค'); act(() => { fireEvent.change( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('td .ant-input')[0], { target: { value: 'ๅ‘ฝไปค', }, }, ); }); await act(async () => { vi.runOnlyPendingTimers(); }); await waitFor( () => { expect(fn).toBeCalledWith('ๅ‘ฝไปค'); }, { timeout: 1000, }, ); vi.useRealTimers(); }); it('๐Ÿ“ support onValuesChange when is string key', async () => { const fn = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" recordCreatorProps={false} columns={columns} value={[ { id: '02', title: 'install', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000, }, state: 'processing', }, ]} editable={{ editableKeys: ['02'], onValuesChange: (record) => { fn(record.id); }, }} />, ); await wrapper.findByDisplayValue('install'); await act(async () => { const dom = await wrapper.findByDisplayValue('install'); fireEvent.change(dom, { target: { value: 'qixian', }, }); }); await waitFor( () => { expect(fn).toBeCalledWith('02'); }, { timeout: 1000, }, ); wrapper.unmount(); }); it('๐Ÿ“ support newRecordType = dataSource', async () => { const fn = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" recordCreatorProps={{ position: 'top', newRecordType: 'dataSource', record: () => ({ id: Date.now().toString(), }), creatorButtonText: 'ๆทปๅŠ ๆ–ฐ่กŒ', id: 'add_new', }} columns={columns} defaultValue={defaultData} onChange={(list) => fn(list.length)} />, ); await wrapper.findAllByText('ๆทปๅŠ ๆ–ฐ่กŒ'); act(() => { wrapper.queryAllByText('ๆทปๅŠ ๆ–ฐ่กŒ').at(1)?.click(); }); await waitFor( () => { expect(fn).toBeCalledWith(4); }, { timeout: 1000, }, ); }); it('๐Ÿ“ support onValueChange when newRecordType = cache', async () => { const fn = vi.fn(); const onValueChangeFn = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" recordCreatorProps={{ record: { id: '1223', title: 'ๆ–ฐๅขž็š„่กŒ123', }, creatorButtonText: 'ๆทปๅŠ ๆ–ฐ่กŒ', position: 'top', }} pagination={{ pageSize: 2, }} editable={{ onValuesChange: (record) => { onValueChangeFn(record.id); }, }} columns={[ { title: 'ๆ ‡้ข˜', dataIndex: 'title', }, ]} value={[ { id: '1', title: 'ๆ ‡้ข˜', }, ]} onChange={(list) => { fn(list.length); }} />, ); await wrapper.findAllByText('ๆทปๅŠ ๆ–ฐ่กŒ'); act(() => { wrapper.queryAllByText('ๆทปๅŠ ๆ–ฐ่กŒ')[0]?.click(); }); await waitFor( async () => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('td .ant-input')[0], ).not.toBe(undefined); }, { timeout: 2000, }, ); act(() => { fireEvent.change( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('td .ant-input')[0], { target: { value: 'qixian', }, }, ); }); await waitFor(() => { expect(onValueChangeFn).toBeCalledWith('1223'); }); wrapper.unmount(); }); it('๐Ÿ“ support onValueChange when has name', async () => { const onValueChangeFn = vi.fn(); const actionRef = React.createRef<ActionType | undefined>(); const wrapper = render( <ProForm initialValues={{ table: defaultData, }} > <EditableProTable<DataSourceType> rowKey="id" actionRef={actionRef as any} name="table" pagination={{ pageSize: 2, }} editable={{ onValuesChange: (record) => { onValueChangeFn(record.id); }, }} toolBarRender={(action) => [ <a key="edit" id="start" onClick={() => { action?.startEditable('624748504'); }} > ๅผ€ๅง‹็ผ–่พ‘ </a>, <a key="end" id="end" onClick={() => { action?.cancelEditable('624748504'); }} > ็ป“ๆŸ็ผ–่พ‘ </a>, ]} columns={columns} /> </ProForm>, ); await wrapper.findAllByText('ๅผ€ๅง‹็ผ–่พ‘'); act(() => { wrapper.queryByText('ๅผ€ๅง‹็ผ–่พ‘')?.click(); }); await waitFor( async () => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('td .ant-input')[0], ).not.toBe(undefined); }, { timeout: 2000, }, ); act(() => { fireEvent.change( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('td .ant-input')[0], { target: { value: 'qixian', }, }, ); }); await waitFor(() => { expect(onValueChangeFn).toBeCalledWith(624748504); }); act(() => { actionRef.current?.cancelEditable(0); }); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('td .ant-input').length, ).toBe(0); }); }); it('๐Ÿ“ support onValuesChange and recordCreatorProps', async () => { const fn = vi.fn(); const newLineId = Date.now(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" recordCreatorProps={{ position: 'top', record: { id: newLineId, }, creatorButtonText: 'ๆทปๅŠ ๆ–ฐ่กŒ', }} columns={[ { title: 'ๆ ‡้ข˜', dataIndex: 'title', formItemProps: { rules: [ { required: true, message: 'ๆญค้กนไธบๅฟ…ๅกซ้กน', }, ], }, width: '30%', }, ]} value={[]} editable={{ onValuesChange: (record) => { fn(record.id); }, }} />, ); await wrapper.findAllByText('ๆทปๅŠ ๆ–ฐ่กŒ'); act(() => { wrapper.queryAllByText('ๆทปๅŠ ๆ–ฐ่กŒ').at(0)?.click(); }); await waitFor( async () => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('td .ant-input')[0], ).not.toBe(undefined); }, { timeout: 2000, }, ); act(() => { fireEvent.change( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('td .ant-input')[0], { target: { value: 'qixian', }, }, ); }); await waitFor( () => { expect(fn).toBeCalledWith(newLineId); }, { timeout: 2000, }, ); wrapper.unmount(); }); it('๐Ÿ“ renderFormItem run defaultRender', async () => { const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" editable={{ editableKeys: [624748504], }} columns={[ { dataIndex: 'index', valueType: 'indexBorder', width: 48, title: 'ๅบๅท', renderFormItem: (item, config) => { return config.defaultRender(item); }, }, ]} value={defaultData} />, ); await wrapper.findAllByText('ๅบๅท'); expect(wrapper.asFragment()).toMatchSnapshot(); }); it('๐Ÿ“ columns support editable test', async () => { const wrapper = render( <EditableProTable rowKey="id" editable={{ editableKeys: [624748504], }} columns={[ { dataIndex: 'index', valueType: 'indexBorder', title: 'ๅบๅท', width: 48, editable: (text, record, index) => { return index === 1; }, }, { dataIndex: 'index', valueType: 'indexBorder', width: 48, editable: false, }, ]} value={defaultData} />, ); await wrapper.findAllByText('ๅบๅท'); expect(wrapper.asFragment()).toMatchSnapshot(); }); it('๐Ÿ“ columns initialValue alway work', async () => { const wrapper = render( <EditableProTable rowKey="id" editable={{ editableKeys: [624748504], }} columns={[ { // dataIndex ๅญ˜ๅœจๆœ‰ๆ•ฐๆฎ๏ผŒไธๆ˜พ็คบ initialValue dataIndex: 'title', valueType: 'text', width: 48, initialValue: '123', }, { // dataIndex ไธๅญ˜ๅœจๅฐฑๆฒกๆœ‰ๆ•ฐๆฎๆ˜พ็คบ initialValue dataIndex: 'xxx2', valueType: 'text', width: 48, formItemProps: { initialValue: '123', }, }, { // dataIndex ไธๅญ˜ๅœจๅฐฑๆฒกๆœ‰ๆ•ฐๆฎๆ˜พ็คบ initialValue dataIndex: 'xxx', valueType: 'text', width: 48, formItemProps: () => { return { initialValue: '1234' }; }, }, ]} value={[ { id: 624748504, title: '๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000, }, state: 'processing', }, ]} />, ); await wrapper.queryByDisplayValue('123'); expect(wrapper.asFragment()).toMatchSnapshot(); }); it('๐Ÿ“ support editorRowKeys', async () => { const wrapper = render(<EditorProTableDemo editorRowKeys={[624748504]} />); await waitFor(() => { // ็ฌฌไธ€่กŒๅบ”่ฏฅ็ผ–่พ‘ๆ€ expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('input').length > 0, ).toBeTruthy(); }); await waitFor(() => { // ็ฌฌไบŒ่กŒไธๅบ”่ฏฅๆ˜ฏ็ผ–่พ‘ๆ€ expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[1] .querySelectorAll('input').length > 0, ).toBeFalsy(); }); }); it('๐Ÿ“ support cancel click', async () => { const wrapper = render(<EditorProTableDemo />); await wrapper.findAllByText('็ผ–่พ‘'); act(() => { wrapper.queryAllByText('็ผ–่พ‘').at(0)?.click(); }); expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('input').length > 0, ).toBeTruthy(); await act(async () => { (await wrapper.findByText('ๅ–ๆถˆ')).click(); }); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('input').length > 0, ).toBeFalsy(); }); wrapper.unmount(); }); it('๐Ÿ“ support cancel click render false', async () => { const fn = vi.fn(); const wrapper = render( <EditorProTableDemo onEditorChange={(keys) => { fn(keys); }} onCancel={async () => false} />, ); await wrapper.findAllByText('็ผ–่พ‘'); act(() => { wrapper.queryAllByText('็ผ–่พ‘')[0]?.click(); }); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('input').length > 0, ).toBeTruthy(); }); act(() => { wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll<HTMLDivElement>(`td a`)[2] ?.click(); }); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('input').length > 0, ).toBeFalsy(); }); }); it('๐Ÿ“ type=single, only edit one rows', async () => { const fn = vi.fn(); const wrapper = render( <EditorProTableDemo defaultKeys={[624748504]} onEditorChange={(keys) => { fn(keys); }} />, ); await wrapper.findAllByText('็ผ–่พ‘'); act(() => { wrapper.queryAllByText('็ผ–่พ‘')[0]?.click(); }); await waitFor( () => { expect( wrapper.container.querySelectorAll( '.ant-table-tbody tr.ant-table-row', ).length, ).toBe(3); }, { timeout: 1000, }, ); await waitFor( () => { expect(fn).not.toBeCalled(); }, { timeout: 1000, }, ); wrapper.unmount(); }); it('๐Ÿ“ edit tree data table', async () => { const fn = vi.fn(); const wrapper = render( <EditorProTableDemo onSave={fn} dataSource={[defaultData[2]]} />, ); await wrapper.findAllByText('็ผ–่พ‘'); act(() => { wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll<HTMLSpanElement>( 'td button.ant-table-row-expand-icon', )[0] .click(); }); await wrapper.findAllByText('็ผ–่พ‘'); act(() => { wrapper.container.querySelectorAll<HTMLSpanElement>('#editor')[0].click(); }); await wrapper.findAllByText('็ผ–่พ‘'); await expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('input').length > 0, ).toBeTruthy(); act(() => { wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll<HTMLAnchorElement>('td a')[0] .click(); }); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('input').length > 0, ).toBeFalsy(); expect(fn).toBeCalled(); }); wrapper.unmount(); }); it('๐Ÿ“ type=multiple, edit multiple rows', async () => { const fn = vi.fn(); const wrapper = render( <EditorProTableDemo type="multiple" defaultKeys={[624748504]} onEditorChange={(keys) => { fn(keys); }} />, ); await wrapper.findAllByText('็ผ–่พ‘'); act(() => { wrapper.container .querySelectorAll<HTMLAnchorElement>('#editor')[0] .click(); }); await waitFor(() => { expect(fn).toBeCalledWith([624748504, 624691229]); }); wrapper.unmount(); }); it('๐Ÿ“ support onSave', async () => { const fn = vi.fn(); const wrapper = render( <EditorProTableDemo hideRules onSave={async (key) => { await waitTime(1000); fn(key); }} />, ); await wrapper.findAllByText('็ผ–่พ‘'); act(() => { wrapper.container .querySelectorAll<HTMLAnchorElement>('#editor')[1] .click(); }); await wrapper.findAllByText('็ผ–่พ‘'); await waitFor(() => { expect.any( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[1] .querySelectorAll('input').length > 0, ); }); act(() => { wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[1] .querySelectorAll<HTMLAnchorElement>(`td a`)[0] ?.click(); }); await waitFor(() => { expect(fn).not.toBeCalled(); }); await waitFor( () => { expect(fn).toBeCalledWith(624691229); }, { timeout: 2000, }, ); wrapper.unmount(); }); it('๐Ÿ“ support onDelete', async () => { const fn = vi.fn(); vi.useFakeTimers(); const wrapper = render( <EditorProTableDemo hideRules onDelete={async (key) => { await waitTime(1000); fn(key); }} />, ); await wrapper.findAllByText('็ผ–่พ‘'); act(() => { wrapper.container .querySelectorAll<HTMLAnchorElement>('#editor')[1] .click(); }); await act(async () => vi.runOnlyPendingTimers()); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[1] .querySelectorAll('input').length > 0, ).toBeTruthy(); }); await wrapper.findAllByText('ๅˆ ้™ค'); act(() => { wrapper.queryAllByText('ๅˆ ้™ค').at(0)?.click(); }); await act(async () => vi.runOnlyPendingTimers()); await waitFor(() => { expect(fn).not.toBeCalled(); }); act(() => { wrapper.queryAllByText('็กฎ ๅฎš').at(0)?.click(); }); await act(async () => vi.runOnlyPendingTimers()); await waitFor(() => { expect(fn).toBeCalledWith(624691229); }); wrapper.unmount(); vi.useRealTimers(); }); it('๐Ÿ“ support onSave when add newLine', async () => { const onSave = vi.fn(); const onDataSourceChange = vi.fn(); vi.useFakeTimers(); const wrapper = render( <EditorProTableDemo hideRules onSave={(key) => onSave(key)} onDataSourceChange={(data) => onDataSourceChange(data.length)} />, ); await wrapper.findAllByText('็ผ–่พ‘'); act(() => { wrapper.container .querySelectorAll<HTMLAnchorElement>('#editor')[1] .click(); }); await act(async () => vi.runOnlyPendingTimers()); await waitFor(() => { expect.any( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[1] .querySelectorAll('input').length > 0, ); }); act(() => { wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[1] .querySelectorAll<HTMLAnchorElement>(`td a`)[0] ?.click(); }); await wrapper.findAllByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ'); await act(async () => { (await wrapper.queryAllByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ')).at(0)?.click(); }); await act(async () => vi.runOnlyPendingTimers()); await waitFor(() => { expect(onSave).toBeCalledWith(624691229); }); await waitFor(() => { expect(onDataSourceChange).toBeCalledWith(3); }); vi.useRealTimers(); wrapper.unmount(); }); it('๐Ÿ“ support newLine and cancel', async () => { const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" recordCreatorProps={{ id: 'editor', record: () => ({ id: Date.now().toString(), }), }} columns={[ { dataIndex: 'index', valueType: 'indexBorder', width: 48, editable: false, }, { title: 'ๆ“ไฝœ', valueType: 'option', render: (text, row, _, action) => [ <a key="editor" onClick={() => { action?.startEditable?.(row.id); }} > ็ผ–่พ‘ </a>, ], }, ]} value={[ { id: '624748504', title: '๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000, }, state: 'processing', }, ]} />, ); await wrapper.queryAllByText('็ผ–่พ‘'); expect( wrapper.container .querySelector('.ant-table-tbody') ?.querySelectorAll('tr.ant-table-row').length, ).toBe(1); await act(async () => { ((await wrapper.findByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ')) as HTMLDivElement)?.click(); }); await waitFor(() => { expect.any( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('input').length > 0, ); }); await waitFor( () => { expect( wrapper.container .querySelector('.ant-table-tbody') ?.querySelectorAll('tr.ant-table-row').length, ).toBe(2); }, { timeout: 2000, }, ); act(() => { wrapper.queryByText('ๅ–ๆถˆ')?.click(); }); await waitFor( () => { expect( wrapper.container.querySelectorAll( '.ant-table-row.ant-table-row-level-0', ).length, ).toBe(1); }, { timeout: 1000, }, ); wrapper.unmount(); }); it('๐Ÿ“ support onSave support false', async () => { const onSaveFn = vi.fn(); const wrapper = render( <EditorProTableDemo hideRules onSave={async (key) => { onSaveFn(key); return false; }} />, ); await wrapper.findAllByText('็ผ–่พ‘'); act(() => { wrapper.container .querySelectorAll<HTMLAnchorElement>('#editor')[1] ?.click(); }); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[1] .querySelectorAll('input').length > 0, ).toBeTruthy(); }); act(() => { wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[1] .querySelectorAll<HTMLAnchorElement>(`td a`)[0] ?.click(); }); await waitFor(() => { expect.any( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[1] .querySelectorAll('input').length > 0, ); }); await waitFor(() => { expect(onSaveFn).toBeCalledWith(624691229); }); wrapper.unmount(); }); it('๐Ÿ“ support onCancel', async () => { const fn = vi.fn(); const wrapper = render(<EditorProTableDemo onCancel={(key) => fn(key)} />); await wrapper.findAllByText('็ผ–่พ‘'); act(() => { wrapper.container .querySelectorAll<HTMLAnchorElement>('#editor')[1] ?.click(); }); await waitFor(() => { expect.any( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('input').length > 0, ); }); act(() => { wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[1] .querySelectorAll<HTMLAnchorElement>(`td a`)[2] ?.click(); }); await waitFor(() => { expect(fn).toBeCalledWith(624691229); }); }); it('๐Ÿ“ support onCancel support false', async () => { const fn = vi.fn(); const wrapper = render( <EditorProTableDemo onCancel={async (key) => { fn(key); return false; }} />, ); await wrapper.findAllByText('็ผ–่พ‘'); act(() => { wrapper.container .querySelectorAll<HTMLAnchorElement>('#editor')[1] ?.click(); }); await waitFor(() => { expect.any( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('input').length > 0, ); }); act(() => { wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[1] .querySelectorAll<HTMLAnchorElement>(`td a`)[2] ?.click(); }); await waitFor(() => { expect.any( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('input').length, ); }); await waitFor(() => { expect(fn).toBeCalledWith(624691229); }); wrapper.unmount(); }); it('๐Ÿ“ onDelete auto close loading when error ', async () => { const wrapper = render( <EditorProTableDemo onDelete={async () => { await waitTime(500); throw new Error('some time error'); }} />, ); await wrapper.findAllByText('็ผ–่พ‘'); act(() => { wrapper.queryAllByText('็ผ–่พ‘')[0]?.click(); }); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('input').length > 0, ).toBeTruthy(); }); act(() => { wrapper.queryAllByText('ๅˆ ้™ค')[0]?.click(); }); await wrapper.findAllByText('็กฎ ๅฎš'); act(() => { wrapper.queryAllByText('็กฎ ๅฎš')[0]?.click(); }); await waitFor(() => { expect(!!wrapper.container.querySelector('.anticon-loading')).toBeFalsy(); }); wrapper.unmount(); }); it('๐Ÿ“ support onDelete dom render', async () => { const fn = vi.fn(); const wrapper = render( <EditorProTableDemo onDelete={async (key) => { fn(key); return false; }} />, ); await wrapper.findAllByText('็ผ–่พ‘'); act(() => { wrapper.queryAllByText('็ผ–่พ‘')[1]?.click(); }); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[1] .querySelectorAll('input').length > 0, ).toBeTruthy(); }); await wrapper.findAllByText('ๅˆ ้™ค'); act(() => { wrapper.queryAllByText('ๅˆ ้™ค')[0]?.click(); }); await wrapper.findAllByText('็กฎ ๅฎš'); act(() => { wrapper.queryAllByText('็กฎ ๅฎš')[0]?.click(); }); await waitFor(() => { expect(fn).toBeCalledWith(624691229); expect(wrapper.queryAllByText('ๅˆ ้™ค').length > 0).toBeFalsy(); }); }); it('๐Ÿ“ support onDelete return false', async () => { const fn = vi.fn(); const wrapper = render( <EditorProTableDemo onDelete={async (key) => { await waitTime(500); fn(key); }} />, ); await wrapper.findAllByText('็ผ–่พ‘'); act(() => { wrapper.queryAllByText('็ผ–่พ‘')[1]?.click(); }); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[1] .querySelectorAll('input').length > 0, ).toBeTruthy(); }); act(() => { wrapper.queryAllByText('ๅˆ ้™ค')[0]?.click(); }); await wrapper.findAllByText('็กฎ ๅฎš'); act(() => { wrapper.queryAllByText('็กฎ ๅฎš')[0]?.click(); }); await waitFor(() => { expect(fn).toBeCalledWith(624691229); }); }); it('๐Ÿ“ support form rules', async () => { const fn = vi.fn(); const wrapper = render( <EditorProTableDemo onSave={(key, row) => fn(row.title)} />, ); await wrapper.findAllByText('็ผ–่พ‘'); act(() => { wrapper.queryAllByText('็ผ–่พ‘')[0]?.click(); }); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('input').length > 0, ).toBeTruthy(); }); act(() => { fireEvent.change( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll(`input`)[0], { target: { value: '', }, }, ); }); await wrapper.findAllByText('ไฟๅญ˜'); act(() => { wrapper.queryAllByText('ไฟๅญ˜')[0]?.click(); }); await waitFor(() => { // ๆฒกๆœ‰้€š่ฟ‡้ชŒ่ฏ๏ผŒไธ่งฆๅ‘ onSave expect(fn).not.toBeCalled(); }); act(() => { fireEvent.change( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll(`td .ant-input`)[0], { target: { value: 'qixian', }, }, ); }); act(() => { wrapper.queryAllByText('ไฟๅญ˜')[0]?.click(); }); await waitFor(() => { expect(fn).toBeCalledWith('qixian'); }); wrapper.unmount(); }); it('๐Ÿ“ support add line for start', async () => { const fn = vi.fn(); const wrapper = render(<EditorProTableDemo position="top" onSave={fn} />); await wrapper.findAllByText('็ผ–่พ‘'); await act(async () => { (await wrapper.queryAllByText('ๅขžๅŠ ไธ€่กŒ')).at(0)?.click(); }); await waitFor( () => { const editorRow = wrapper.container.querySelectorAll( '.ant-table-tbody tr.ant-table-row', )[0]; expect(editorRow.querySelectorAll('input').length > 0).toBeTruthy(); }, { timeout: 1000, }, ); act(() => { wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll<HTMLButtonElement>(`td a`)[1] ?.click(); }); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('input').length > 0, ).toBeFalsy(); }); await act(async () => { (await wrapper.queryAllByText('ๅขžๅŠ ไธ€่กŒ')).at(0)?.click(); }); act(() => { fireEvent.change( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll(`td .ant-input`)[0], { target: { value: 'qixian', }, }, ); }); act(() => { wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll<HTMLAnchorElement>(`td a`)[0] ?.click(); }); await waitFor(() => { expect(fn).toBeCalled(); }); }); it('๐Ÿ“ support add line for bottom', async () => { const fn = vi.fn(); const wrapper = render(<EditorProTableDemo onSave={fn} />); await wrapper.findAllByText('ๅขžๅŠ ไธ€่กŒ'); await waitFor(() => { expect( wrapper.container.querySelectorAll('.ant-table-tbody tr.ant-table-row') .length, ).toBe(3); }); act(() => { wrapper.queryByText('ๅขžๅŠ ไธ€่กŒ')?.click(); }); await waitFor( () => { expect( wrapper.container.querySelectorAll( '.ant-table-tbody tr.ant-table-row', ).length, ).toBe(4); }, { timeout: 1000, }, ); act(() => { wrapper.queryByText('ๅขžๅŠ ไธ€่กŒ')?.click(); }); await waitFor( () => { expect( wrapper.container.querySelectorAll( '.ant-table-tbody tr.ant-table-row', ).length, ).toBe(4); }, { timeout: 1000, }, ); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[3] .querySelectorAll('input').length > 0, ).toBeTruthy(); }); act(() => { wrapper.queryByText('ๅ–ๆถˆ')?.click(); }); await waitFor(() => { expect( wrapper.container.querySelectorAll('.ant-table-tbody tr.ant-table-row') .length, ).toBe(3); }); await waitFor(() => { expect( !!wrapper.container.querySelectorAll( '.ant-table-tbody tr.ant-table-row', )[3], ).toBeFalsy(); }); act(() => { wrapper.queryByText('ๅขžๅŠ ไธ€่กŒ')?.click(); }); await waitFor(() => { expect( wrapper.container.querySelectorAll('.ant-table-tbody tr.ant-table-row') .length, ).toBe(4); }); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[3] .querySelectorAll('td .ant-input')[0], ).not.toBeUndefined(); }); act(() => { fireEvent.change( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[3] .querySelectorAll('td .ant-input')[0], { target: { value: 'qixian', }, }, ); }); await waitFor(() => { expect( wrapper.container.querySelectorAll( '.ant-table-tbody tr.ant-table-row', )[3], ).not.toBeUndefined(); }); act(() => { fireEvent.click( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[3] .querySelectorAll('td a')[0], {}, ); }); await waitFor(() => { expect(fn).toBeCalled(); }); }); it('๐Ÿ“ support add line when single line edit when keys', async () => { const wrapper = render(<EditorProTableDemo editorRowKeys={[624748504]} />); await wrapper.findAllByText('ๅขžๅŠ ไธ€่กŒ'); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('input').length, ).toBe(4); }); await act(async () => { (await wrapper.queryByText('ๅขžๅŠ ไธ€่กŒ'))?.click(); }); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll('input').length, ).toBe(4); }); await act(async () => { (await wrapper.queryByText('ๅขžๅŠ ไธ€่กŒ'))?.click(); }); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody')[0] .querySelectorAll('input').length, ).toBe(4); }); }); it('๐Ÿ“ support add line when single line edit', async () => { const wrapper = render(<EditorProTableDemo />); await wrapper.findAllByText('ๅขžๅŠ ไธ€่กŒ'); await waitFor( () => { expect( wrapper.container .querySelectorAll('.ant-table-tbody')[0] .querySelectorAll('input').length, ).toBe(0); }, { timeout: 1000, }, ); await act(async () => { (await wrapper.queryByText('ๅขžๅŠ ไธ€่กŒ'))?.click(); }); await act(async () => { (await wrapper.queryByText('ๅขžๅŠ ไธ€่กŒ'))?.click(); }); await waitFor( () => { expect( wrapper.container .querySelectorAll('.ant-table-tbody')[0] .querySelectorAll('input').length, ).toBe(4); }, { timeout: 1000, }, ); }); });
9,193
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/editor-table.test.tsx
import ProForm, { ProFormText } from '@ant-design/pro-form'; import type { ActionType, EditableFormInstance, ProColumns, } from '@ant-design/pro-table'; import { EditableProTable } from '@ant-design/pro-table'; import { act, cleanup, fireEvent, render, waitFor, } from '@testing-library/react'; import { InputNumber } from 'antd'; import crypto from 'crypto'; import React from 'react'; import { waitForWaitTime } from '../util'; type DataSourceType = { id: number | string; title?: string; labels?: { name: string; color: string; }[]; state?: string; time?: { created_at?: number; }; children?: DataSourceType[]; }; const defaultData: DataSourceType[] = [ { id: 624748504, title: '๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000, }, state: 'processing', }, { id: 624691229, title: '๐Ÿ› [BUG]ๆ— ๆณ•ๅˆ›ๅปบๅทฅ็จ‹npm create umi', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590481162000, }, state: 'closed', }, { id: 624674790, title: '๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰', labels: [{ name: 'question', color: 'success' }], state: 'open', time: { created_at: 1590479665000, }, children: [ { id: 6246747901, title: 'ๅตŒๅฅ—ๆ•ฐๆฎ็š„็ผ–่พ‘', labels: [{ name: 'question', color: 'success' }], state: 'closed', time: { created_at: 1590479665000, }, children: [ { id: 62467479012, title: 'ๅตŒๅฅ—ๆ•ฐๆฎ็š„็ผ–่พ‘', labels: [{ name: 'question', color: 'success' }], state: 'closed', time: { created_at: 1590479665000, }, }, ], }, ], }, ]; const columns: ProColumns<DataSourceType>[] = [ { dataIndex: 'index', valueType: 'indexBorder', width: 48, renderFormItem: () => <InputNumber />, }, { title: 'ๆ ‡้ข˜', dataIndex: 'title', copyable: true, fieldProps: { onChange: () => null, }, ellipsis: true, tip: 'ๆ ‡้ข˜่ฟ‡้•ฟไผš่‡ชๅŠจๆ”ถ็ผฉ', formItemProps: { rules: [ { required: true, message: 'ๆญค้กนไธบๅฟ…ๅกซ้กน', }, ], }, width: '30%', search: false, }, { title: '็Šถๆ€', dataIndex: 'state', initialValue: 'open', filters: true, valueType: 'select', width: 120, valueEnum: { all: { text: 'ๅ…จ้ƒจ', status: 'Default' }, open: { text: 'ๆœช่งฃๅ†ณ', status: 'Error', }, closed: { text: 'ๅทฒ่งฃๅ†ณ', status: 'Success', }, processing: { text: '่งฃๅ†ณไธญ', status: 'Processing', }, }, }, { title: 'ๅˆ›ๅปบๆ—ถ้—ด', dataIndex: ['time', 'created_at'], valueType: 'date', }, { title: 'ๆ“ไฝœ', valueType: 'option', render: (text, row, _, action) => [ <a key="editor" id="editor" onClick={() => { action?.startEditable?.(row.id); }} > ็ผ–่พ‘ </a>, ], }, ]; afterEach(() => { cleanup(); }); describe('EditorProTable', () => { afterEach(() => { cleanup(); }); it('๐Ÿ“ EditableProTable support recordCreatorProps=false', async () => { const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" recordCreatorProps={false} columns={columns} value={defaultData} />, ); await waitForWaitTime(1000); expect(wrapper.asFragment()).toMatchSnapshot(); }); it('๐Ÿ“ EditableProTable support pagination', async () => { const fn = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" pagination={{ pageSize: 2, current: 2, }} editable={{ onChange: (keys) => fn(keys[0]), }} recordCreatorProps={{ position: 'bottom', record: { id: 555, }, id: 'addEditRecord', }} columns={columns} value={defaultData} />, ); await waitForWaitTime(1000); await act(async () => { (await wrapper.queryByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ'))?.click(); }); await waitForWaitTime(1000); expect(fn).toBeCalledWith(555); wrapper.unmount(); }); it('๐Ÿ“ EditableProTable addEditRecord is null will throw Error', async () => { const spy = vi.spyOn(global.console, 'warn'); const actionRef = React.createRef<ActionType>(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" pagination={{ pageSize: 2, current: 2, }} actionRef={actionRef} columns={columns} value={defaultData} />, ); await waitForWaitTime(1000); try { actionRef.current?.addEditRecord(undefined); } catch (error) { expect((error as any).message).toEqual( '่ฏท่ฎพ็ฝฎ recordCreatorProps.record ๅนถ่ฟ”ๅ›žไธ€ไธชๅ”ฏไธ€็š„key', ); } await waitForWaitTime(1000); spy.mockRestore(); wrapper.unmount(); }); it('๐Ÿ“ EditableProTable saveEditable should save and quit editing', async () => { const actionRef = React.createRef<ActionType>(); let changedDataSource: DataSourceType[] = []; vi.useFakeTimers(); const onChange = vi.fn((value) => { changedDataSource = value; }); const wrapper = render( <ProForm initialValues={{ table: defaultData, }} > <div>render</div> <EditableProTable<DataSourceType> rowKey="id" name="table" onChange={onChange} actionRef={actionRef} columns={columns} /> </ProForm>, ); await wrapper.findByText('render'); await waitFor(() => { expect( wrapper.container .querySelector('.ant-table-tbody') ?.querySelectorAll('tr.ant-table-row').length, ).toBe(defaultData.length); }); const editAndChange = async (inputValue: string) => { act(() => { wrapper.container.querySelector<HTMLButtonElement>('#editor')?.click(); }); act(() => { fireEvent.change( wrapper.container.querySelectorAll( `.ant-form-item-control-input input`, )[1], { target: { value: inputValue, }, }, ); }); await act(() => vi.runOnlyPendingTimers()); await wrapper.findAllByDisplayValue(inputValue); }; await editAndChange(''); // should block saving when there is validation error await act(() => { return actionRef.current?.saveEditable(624748504); }); // should exist validation error await act(() => vi.runOnlyPendingTimers()); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody')[0] .querySelectorAll('.ant-form-item-has-error').length, ).toBeGreaterThan(0); }); await waitFor(() => { expect( wrapper.container .querySelectorAll('.ant-table-tbody')[0] .querySelectorAll('input').length, ).toBe(4); }); await waitFor(() => { expect(onChange).not.toBeCalled(); }); editAndChange('test value'); // save with recordKey await act(() => { return actionRef.current?.saveEditable(624748504); }); await act(() => vi.runOnlyPendingTimers()); await waitFor(() => { expect(onChange).toBeCalled(); }); await waitFor(() => { expect(changedDataSource).toHaveLength(defaultData.length); }); await waitFor(() => { expect(changedDataSource[0]?.title).toBe('test value'); }); await editAndChange('test value2'); // save with array index, if name is set await act(() => { return actionRef.current?.saveEditable(0); }); await act(() => vi.runOnlyPendingTimers()); await waitFor(() => { expect(onChange).toBeCalled(); }); await waitFor(() => { expect(changedDataSource).toHaveLength(defaultData.length); }); await waitFor(() => { expect(changedDataSource[0]?.title).toBe('test value2'); }); vi.useRealTimers(); wrapper.unmount(); }); it('๐Ÿ“ EditableProTable add support children column', async () => { const onchange = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" pagination={{ pageSize: 2, current: 2, }} editable={{}} onChange={(data) => onchange(data[0].children?.length)} recordCreatorProps={{ position: 'bottom', newRecordType: 'dataSource', parentKey: () => 624674790, record: { id: 555, }, id: 'addEditRecord', }} columns={columns} value={[ { id: 624674790, title: '๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰', labels: [{ name: 'question', color: 'success' }], state: 'open', time: { created_at: 1590479665000, }, children: [ { id: 6246747901, title: 'ๅตŒๅฅ—ๆ•ฐๆฎ็š„็ผ–่พ‘', labels: [{ name: 'question', color: 'success' }], state: 'closed', time: { created_at: 1590479665000, }, }, ], }, ]} />, ); await waitForWaitTime(1000); await act(async () => { (await wrapper.queryByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ'))?.click(); }); await waitForWaitTime(1000); expect(onchange).toBeCalledWith(2); wrapper.unmount(); }); it('๐Ÿ“ EditableProTable add support nested children column', async () => { const onchange = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" pagination={{ pageSize: 2, current: 2, }} editable={{}} expandable={{ childrenColumnName: 'children', }} onChange={(data) => { onchange(data[0].children![0]!.children!.length); }} recordCreatorProps={{ position: 'top', newRecordType: 'dataSource', parentKey: () => 6246747901, record: { id: 555, }, id: 'addEditRecord', }} columns={columns} value={[ { id: 624674790, title: '๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰', labels: [{ name: 'question', color: 'success' }], state: 'open', time: { created_at: 1590479665000, }, children: [ { id: 6246747901, title: 'ๅตŒๅฅ—ๆ•ฐๆฎ็š„็ผ–่พ‘', labels: [{ name: 'question', color: 'success' }], state: 'closed', time: { created_at: 1590479665000, }, }, ], }, ]} />, ); await waitForWaitTime(1000); await act(async () => { (await wrapper.queryAllByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ')).at(0)?.click(); }); await waitForWaitTime(1000); expect(onchange).toBeCalledWith(1); wrapper.unmount(); }); it("๐Ÿ“ EditableProTable can't find record by parentKey", async () => { const onchange = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" pagination={{ pageSize: 2, current: 2, }} editable={{}} onChange={(data) => onchange(data[0].children?.length)} expandable={{ childrenColumnName: 'children', }} recordCreatorProps={{ position: 'bottom', newRecordType: 'dataSource', parentKey: () => 624671234, record: { id: 555, }, id: 'addEditRecord', }} columns={columns} value={[ { id: 624674790, title: '็‚นๅ‡ปๆทปๅŠ ๆŒ‰้’ฎ๏ผŒไฝ†ๆ˜ฏๅ’Œๆˆ‘็š„parentKeyไธๅŒ๏ผŒไผšๆŠฅ้”™็š„๏ผ', labels: [{ name: 'question', color: 'success' }], state: 'open', time: { created_at: 1590479665000, }, children: [ { id: 6246747901, title: 'ๅตŒๅฅ—ๆ•ฐๆฎ็š„็ผ–่พ‘', labels: [{ name: 'question', color: 'success' }], state: 'closed', time: { created_at: 1590479665000, }, }, ], }, ]} />, ); await waitForWaitTime(1000); await act(async () => { (await wrapper.queryByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ'))?.click(); }); await waitForWaitTime(1000); expect(onchange).not.toBeCalled(); wrapper.unmount(); }); it('๐Ÿ“ EditableProTable add support parentKey when newRecordType = cache', async () => { const fn = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" recordCreatorProps={{ newRecordType: 'cache', record: () => ({ id: 555, }), parentKey: () => 624748504, id: 'add_new', }} columns={columns} defaultValue={defaultData} onChange={(list) => fn(list.length)} expandable={{ defaultExpandAllRows: true, }} />, ); await waitForWaitTime(1000); await act(async () => { (await wrapper.queryByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ'))?.click(); }); await waitForWaitTime(1200); expect(fn).not.toBeCalled(); act(() => { fireEvent.change( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[1] .querySelectorAll(`td .ant-input`)[0], { target: { value: 'zqran', }, }, ); }); await waitForWaitTime(1000); expect( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[1] .querySelectorAll('input'), ).toBeTruthy(); expect( wrapper.container .querySelector('.ant-table-tbody') ?.querySelectorAll('tr.ant-table-row').length, ).toBe(6); act(() => { wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[1] .querySelectorAll<HTMLAnchorElement>(`td a`)[0] ?.click?.(); }); await waitForWaitTime(1000); expect( wrapper.container.querySelectorAll('.ant-table-row.ant-table-row-level-1') .length, ).toBe(2); wrapper.unmount(); }); it('๐Ÿ“ EditableProTable support maxLength', async () => { const wrapper = render( <EditableProTable<DataSourceType> maxLength={2} rowKey="id" columns={columns} value={defaultData} />, ); await waitForWaitTime(100); expect( wrapper.container.querySelectorAll('button.ant-btn-dashed').length, ).toBe(0); act(() => { wrapper.rerender( <EditableProTable<DataSourceType> maxLength={20} rowKey="id" columns={columns} value={defaultData} />, ); }); await waitForWaitTime(100); expect( wrapper.container.querySelectorAll('button.ant-btn-dashed').length, ).toBe(1); }); it('๐Ÿ“ EditableProTable support editableFormRef', async () => { const editorRef = React.createRef<EditableFormInstance<DataSourceType>>(); const wrapper = render( <EditableProTable<DataSourceType> editableFormRef={editorRef} rowKey="id" columns={columns} value={defaultData} editable={{ editableKeys: defaultData.map((item) => item.id), }} />, ); await waitForWaitTime(100); const firstRowKey = defaultData[0]?.id || 0; expect(editorRef.current?.getRowData?.(firstRowKey)?.title).toBe( defaultData?.[0]?.title, ); expect(editorRef.current?.getRowData?.(0)?.title).toBe( defaultData?.[0]?.title, ); await waitForWaitTime(100); act(() => { editorRef.current?.setRowData?.(firstRowKey, { title: 'test-title' }); }); expect(editorRef.current?.getRowData?.(firstRowKey)?.title).toBe( 'test-title', ); expect(editorRef.current?.getRowsData?.()?.length).toBe(3); wrapper.unmount(); }); it('๐Ÿ“ EditableProTable editableFormRef need rowIndex', async () => { const editorRef = React.createRef<EditableFormInstance<DataSourceType>>(); const wrapper = render( <EditableProTable<DataSourceType> editableFormRef={editorRef} rowKey="id" columns={columns} value={defaultData} editable={{ editableKeys: defaultData.map((item) => item.id), }} />, ); await waitForWaitTime(100); try { //@ts-expect-error editorRef.current?.getRowData?.(); } catch (error) { // @ts-ignore expect(error.message).toBe('rowIndex is required'); } try { //@ts-expect-error editorRef.current?.setRowData?.(undefined, { title: 'test-title' }); } catch (error) { // @ts-ignore expect(error.message).toBe('rowIndex is required'); } wrapper.unmount(); }); it('๐Ÿ“ EditableProTable use name support editableFormRef', async () => { const editorRef = React.createRef<EditableFormInstance<DataSourceType>>(); const wrapper = render( <ProForm initialValues={{ table: defaultData, }} > <EditableProTable<DataSourceType> editableFormRef={editorRef} rowKey="id" name="table" columns={columns} /> <ProFormText name="test" /> </ProForm>, ); const firstRowKey = defaultData?.[0]?.id || 0; expect(editorRef.current?.getRowData?.(firstRowKey)?.title).toBe( defaultData?.[0]?.title, ); expect(editorRef.current?.getRowData?.(0)?.title).toBe( defaultData?.[0]?.title, ); act(() => { editorRef.current?.setRowData?.(firstRowKey, { title: 'test-title' }); }); expect(editorRef.current?.getRowData?.(firstRowKey)?.title).toBe( 'test-title', ); expect(editorRef.current?.getRowsData?.()?.length).toBe(3); wrapper.unmount(); }); it('๐Ÿ“ EditableProTable add newLine use rowKey', async () => { const fn = vi.fn(); const wrapper = render( <ProForm initialValues={{ table: defaultData, }} > <EditableProTable<DataSourceType> recordCreatorProps={{ id: 'new-button', record: () => ({ id: '1234' }), }} editable={{ onChange: (keys) => { fn(keys.join(',')); }, }} rowKey="id" name="table" columns={columns} /> </ProForm>, ); await act(async () => { (await wrapper.queryByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ'))?.click(); }); await waitForWaitTime(200); expect(fn).toBeCalledWith('1234'); }); it('๐Ÿ“ EditableProTable add newLine when position=top', async () => { const wrapper = render( <ProForm initialValues={{ table: defaultData, }} > <EditableProTable<DataSourceType> recordCreatorProps={{ id: 'new-button', record: () => ({ id: Math.random() * 100000000 }), position: 'top', }} rowKey="id" name="table" columns={columns} /> </ProForm>, ); await act(async () => { (await wrapper.queryAllByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ')).at(0)?.click(); }); await act(async () => { (await wrapper.queryAllByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ')).at(0)?.click(); }); await waitForWaitTime(200); const firstLineValue = wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll<HTMLInputElement>(`td .ant-input`)[0].value; expect(firstLineValue).toBe(''); wrapper.unmount(); }); it('๐Ÿ“ EditableProTable support actionRender', async () => { const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" recordCreatorProps={false} columns={columns} request={async () => ({ data: defaultData, total: 3, success: true, })} editable={{ editableKeys: [624748504], actionRender: () => [ <div key="test" id="test"> xx </div>, ], }} value={defaultData} />, ); await waitForWaitTime(1200); expect(wrapper.container.querySelector('div#test')?.textContent).toBe('xx'); }); it('๐Ÿ“ EditableProTable support recordCreatorProps', async () => { const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" recordCreatorProps={{ creatorButtonText: 'ๆต‹่ฏ•ๆทปๅŠ ๆ•ฐๆฎ', record: { id: 9999 }, }} columns={columns} value={defaultData} />, ); await waitForWaitTime(1200); expect(wrapper.asFragment()).toMatchSnapshot(); }); it('๐Ÿ“ EditableProTable support controlled', async () => { const onChange = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey={(row) => row.id} controlled recordCreatorProps={{ creatorButtonText: 'ๆต‹่ฏ•ๆทปๅŠ ๆ•ฐๆฎ', record: { id: 9999 }, }} editable={{ editableKeys: ['624748504'], }} columns={columns} value={[ { id: '624748504', title: '๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000, }, state: 'processing', }, ]} onChange={onChange} />, ); await waitForWaitTime(1200); expect( wrapper.container.querySelectorAll<HTMLInputElement>( '.ant-form-item-control-input input', )[1].value, ).toBe('๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™'); act(() => { wrapper.rerender( <EditableProTable<DataSourceType> rowKey={(row) => row.id} controlled recordCreatorProps={{ creatorButtonText: 'ๆต‹่ฏ•ๆทปๅŠ ๆ•ฐๆฎ', record: { id: 9999 }, }} editable={{ editableKeys: ['624748504'], }} columns={columns} value={[ { id: '624748504', title: '๐Ÿ› [BUG]ๆ— ๆณ•ๅˆ›ๅปบๅทฅ็จ‹npm create umi', labels: [{ name: 'bug', color: 'error' }], time: { created_at: 1590486176000, }, state: 'processing', }, ]} onChange={onChange} />, ); }); await waitForWaitTime(100); expect( wrapper.container.querySelectorAll<HTMLInputElement>( '.ant-form-item-control-input input', )[1].value, ).toBe('๐Ÿ› [BUG]ๆ— ๆณ•ๅˆ›ๅปบๅทฅ็จ‹npm create umi'); }); it('๐Ÿ“ EditableProTable support nested children column without config "childrenColumnName:children" and "position:top"', async () => { const fn = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" pagination={{ pageSize: 2, current: 2, }} editable={{ onChange: (keys) => fn(keys[0]), }} recordCreatorProps={{ parentKey: () => 6246747901, record: { id: 555, }, id: 'addEditRecord', }} columns={columns} value={[ { id: 624674790, title: '๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰', labels: [{ name: 'question', color: 'success' }], state: 'open', time: { created_at: 1590479665000, }, children: [ { id: 6246747901, title: 'ๅตŒๅฅ—ๆ•ฐๆฎ็š„็ผ–่พ‘', labels: [{ name: 'question', color: 'success' }], state: 'closed', time: { created_at: 1590479665000, }, }, ], }, ]} />, ); await waitForWaitTime(1000); await act(async () => { (await wrapper.queryAllByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ')).at(0)?.click(); }); await waitForWaitTime(1000); expect(fn).toBeCalledWith(555); wrapper.unmount(); }); it('๐Ÿ“ EditableProTable add new child line when position = top', async () => { const fn = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" pagination={{ pageSize: 2, current: 2, }} editable={{ onChange: (keys) => fn(keys[0]), }} recordCreatorProps={{ parentKey: () => 624674790, position: 'top', record: { id: 555, }, id: 'addEditRecord', }} columns={columns} expandable={{ defaultExpandAllRows: true, }} value={[ { id: 624674790, title: '๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰', labels: [{ name: 'question', color: 'success' }], state: 'open', time: { created_at: 1590479665000, }, children: [ { id: 6246747901, title: 'ๅตŒๅฅ—ๆ•ฐๆฎ็š„็ผ–่พ‘', labels: [{ name: 'question', color: 'success' }], state: 'closed', time: { created_at: 1590479665000, }, }, ], }, ]} />, ); await waitForWaitTime(1000); await act(async () => { (await wrapper.queryAllByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ')).at(0)?.click(); }); await waitForWaitTime(1000); expect(fn).toBeCalledWith(555); const { dataset } = wrapper.container.querySelectorAll( '.ant-table-tbody tr.ant-table-row', )[1] as HTMLElement; expect(dataset.rowKey).toBe('555'); wrapper.unmount(); }); it('๐Ÿ“ EditableProTable add new child line when position <> top', async () => { const fn = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" pagination={{ pageSize: 2, current: 2, }} editable={{ onChange: (keys) => fn(keys[0]), }} recordCreatorProps={{ parentKey: () => 624674790, record: { id: 555, }, id: 'addEditRecord', }} columns={columns} expandable={{ defaultExpandAllRows: true, }} value={[ { id: 624674790, title: '๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰', labels: [{ name: 'question', color: 'success' }], state: 'open', time: { created_at: 1590479665000, }, children: [ { id: 6246747901, title: 'ๅตŒๅฅ—ๆ•ฐๆฎ็š„็ผ–่พ‘', labels: [{ name: 'question', color: 'success' }], state: 'closed', time: { created_at: 1590479665000, }, }, ], }, ]} />, ); await waitForWaitTime(1000); await act(async () => { (await wrapper.queryAllByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ')).at(0)?.click(); }); await waitForWaitTime(1000); expect(fn).toBeCalledWith(555); const { dataset } = wrapper.container.querySelectorAll( '.ant-table-tbody tr.ant-table-row', )[2] as HTMLElement; expect(dataset.rowKey).toBe('555'); wrapper.unmount(); }); it('๐Ÿ“ EditableProTable onValuesChange will not trigger when init', async () => { const valuesChangeFn = vi.fn(); const wrapper = render( <ProForm<{ table: DataSourceType[]; }> initialValues={{ table: defaultData, }} validateTrigger="onBlur" > <EditableProTable<DataSourceType> rowKey="id" scroll={{ x: 960, }} headerTitle="ๅฏ็ผ–่พ‘่กจๆ ผ" maxLength={5} name="table" columns={columns} editable={{ type: 'multiple', onValuesChange: (values) => { valuesChangeFn(values.title); }, }} /> </ProForm>, ); await waitForWaitTime(300); expect(valuesChangeFn).toBeCalledTimes(0); await act(async () => { (await wrapper.queryAllByText('็ผ–่พ‘')).at(0)?.click(); }); await waitForWaitTime(1200); act(() => { fireEvent.change( wrapper.container .querySelectorAll('.ant-table-tbody tr.ant-table-row')[0] .querySelectorAll(`td .ant-input`)[0], { target: { value: 'test', }, }, ); }); expect(valuesChangeFn).toBeCalledTimes(1); expect(valuesChangeFn).toBeCalledWith('test'); }); it('๐Ÿ“ EditableProTable add new child line when position is top and tree level > 1 and parent has children', async () => { const fn = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" editable={{ onChange: (keys) => fn(keys[0]), }} defaultExpandAllRows={true} recordCreatorProps={{ parentKey: () => 6246747901, position: 'top', record: { id: 555, }, id: 'addEditRecord', }} columns={columns} value={[ { id: 624674790, title: '๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰', labels: [{ name: 'question', color: 'success' }], state: 'open', time: { created_at: 1590479665000, }, children: [ { id: 6246747901, title: 'ๅตŒๅฅ—ๆ•ฐๆฎ็š„็ผ–่พ‘', labels: [{ name: 'question', color: 'success' }], state: 'closed', time: { created_at: 1590479665000, }, children: [ { id: 62467479011, title: 'ๅตŒๅฅ—ๆ•ฐๆฎ็š„็ผ–่พ‘1', labels: [{ name: 'question', color: 'success' }], state: 'closed', time: { created_at: 1590479665000, }, }, ], }, ], }, ]} />, ); await waitForWaitTime(1000); await act(async () => { (await wrapper.queryAllByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ')).at(0)?.click(); }); await waitForWaitTime(1000); expect(fn).toBeCalledWith(555); const { dataset } = wrapper.container.querySelectorAll( '.ant-table-tbody tr.ant-table-row', )[2] as HTMLElement; expect(dataset.rowKey).toBe('555'); wrapper.unmount(); }); it('๐Ÿ“ EditableProTable add new child line when position is top and tree level > 1 and parent has no children', async () => { const fn = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" editable={{ onChange: (keys) => fn(keys[0]), }} defaultExpandAllRows={true} recordCreatorProps={{ parentKey: () => 6246747901, position: 'top', record: { id: 555, }, id: 'addEditRecord', }} columns={columns} value={[ { id: 624674790, title: '๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰', labels: [{ name: 'question', color: 'success' }], state: 'open', time: { created_at: 1590479665000, }, children: [ { id: 6246747901, title: 'ๅตŒๅฅ—ๆ•ฐๆฎ็š„็ผ–่พ‘', labels: [{ name: 'question', color: 'success' }], state: 'closed', time: { created_at: 1590479665000, }, }, ], }, ]} />, ); await waitForWaitTime(1000); await act(async () => { (await wrapper.queryAllByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ')).at(0)?.click(); }); await waitForWaitTime(1000); expect(fn).toBeCalledWith(555); const { dataset } = wrapper.container.querySelectorAll( '.ant-table-tbody tr.ant-table-row', )[2] as HTMLElement; expect(dataset.rowKey).toBe('555'); wrapper.unmount(); }); it('๐Ÿ“ EditableProTable add new child line when position <> top and tree level > 1 and parent has children', async () => { const fn = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" editable={{ onChange: (keys) => fn(keys[0]), }} defaultExpandAllRows={true} recordCreatorProps={{ parentKey: () => 6246747901, record: { id: 555, }, id: 'addEditRecord', }} columns={columns} value={[ { id: 624674790, title: '๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰', labels: [{ name: 'question', color: 'success' }], state: 'open', time: { created_at: 1590479665000, }, children: [ { id: 6246747901, title: 'ๅตŒๅฅ—ๆ•ฐๆฎ็š„็ผ–่พ‘', labels: [{ name: 'question', color: 'success' }], state: 'closed', time: { created_at: 1590479665000, }, children: [ { id: 62467479011, title: 'ๅตŒๅฅ—ๆ•ฐๆฎ็š„็ผ–่พ‘1', labels: [{ name: 'question', color: 'success' }], state: 'closed', time: { created_at: 1590479665000, }, }, ], }, ], }, ]} />, ); await waitForWaitTime(1000); await act(async () => { (await wrapper.queryAllByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ')).at(0)?.click(); }); await waitForWaitTime(1000); expect(fn).toBeCalledWith(555); const { dataset } = wrapper.container.querySelectorAll( '.ant-table-tbody tr.ant-table-row', )[3] as HTMLElement; expect(dataset.rowKey).toBe('555'); wrapper.unmount(); }); it('๐Ÿ“ EditableProTable add new child line when position <> top and tree level > 1 and parent has no children', async () => { const fn = vi.fn(); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" editable={{ onChange: (keys) => fn(keys[0]), }} defaultExpandAllRows={true} recordCreatorProps={{ parentKey: () => 6246747901, record: { id: 555, }, id: 'addEditRecord', }} columns={columns} value={[ { id: 624674790, title: '๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰', labels: [{ name: 'question', color: 'success' }], state: 'open', time: { created_at: 1590479665000, }, children: [ { id: 6246747901, title: 'ๅตŒๅฅ—ๆ•ฐๆฎ็š„็ผ–่พ‘', labels: [{ name: 'question', color: 'success' }], state: 'closed', time: { created_at: 1590479665000, }, }, ], }, ]} />, ); await waitForWaitTime(1000); await act(async () => { (await wrapper.queryAllByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ')).at(0)?.click(); }); await waitForWaitTime(1000); expect(fn).toBeCalledWith(555); const { dataset } = wrapper.container.querySelectorAll( '.ant-table-tbody tr.ant-table-row', )[2] as HTMLElement; expect(dataset.rowKey).toBe('555'); wrapper.unmount(); }); it('๐Ÿ“ EditableProTable add new nested child line with Random Condition', async () => { const nodeTpl: DataSourceType = { id: 'A', title: '๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰', labels: [{ name: 'question', color: 'success' }], state: 'open', time: { created_at: 1590479665000, }, }; const fn = vi.fn(); const testFn = async () => { const depth = crypto.randomInt(2, 10); const topOrBottom = crypto.randomInt(100) > 50 ? 'top' : 'bottom'; const hasChildren = crypto.randomInt(100) > 50; const node = Object.assign({}, nodeTpl); let parent = node; for (let i = 1; i < depth; i++) { const child = Object.assign({}, nodeTpl, { id: `${parent.id}-${i}` }); parent.children = [child]; parent = child; } if (hasChildren) { const child = Object.assign({}, nodeTpl, { id: `${parent.id}-placeholder`, }); parent.children = [child]; } const recordId = `${parent.id}-${depth}`; console.log( `ๅฝ“ๅ‰ๆต‹่ฏ•ๅ‚ๆ•ฐ, Treeๅฑ‚็บง: ${depth}, ๆ–นๅ‘: ${topOrBottom}, ็›ฎๆ ‡็ˆถ่Š‚็‚นๆ˜ฏๅฆๅทฒๆœ‰ๅญๅ…ƒ็ด : ${hasChildren}`, ); const wrapper = render( <EditableProTable<DataSourceType> rowKey="id" expandable={{ defaultExpandAllRows: true }} editable={{ onChange: (keys) => fn(keys[0]), }} recordCreatorProps={{ parentKey: () => parent.id, position: topOrBottom, record: { id: recordId, }, id: 'addEditRecord', }} columns={columns} value={[node]} />, ); await waitForWaitTime(1000); await act(async () => { (await wrapper.queryAllByText('ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ')).at(0)?.click(); }); await waitForWaitTime(1000); expect(fn).toBeCalledWith(recordId); const trDoms = wrapper.container.querySelectorAll( '.ant-table-tbody tr.ant-table-row', ); expect(trDoms.length).toBe((hasChildren ? depth + 1 : depth) + 1); const index = topOrBottom !== 'top' && hasChildren ? depth + 1 : depth; const { dataset } = trDoms[index] as HTMLElement; expect(dataset.rowKey).toBe(recordId); wrapper.unmount(); }; for (let i = 0; i < 5; i++) { await testFn(); } }); });
9,194
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/filter.test.tsx
import ProTable from '@ant-design/pro-table'; import { cleanup, fireEvent, render, screen } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import { getFetchData } from './demo'; afterEach(() => { cleanup(); }); describe('BasicTable Search', () => { it('๐ŸŽ filter test', async () => { const fn = vi.fn(); const { container } = render( <ProTable size="small" columns={[ { title: 'Name', key: 'name', dataIndex: 'money', }, { title: '็Šถๆ€', dataIndex: 'status', filters: true, onFilter: true, valueEnum: { 0: { text: 'ๅ…ณ้—ญ', status: 'Default' }, 1: { text: '่ฟ่กŒไธญ', status: 'Processing' }, 2: { text: 'ๅทฒไธŠ็บฟ', status: 'Success' }, 3: { text: 'ๅผ‚ๅธธ', status: 'Error' }, }, }, ]} onChange={fn} dataSource={[ { status: 0, money: '1', key: '2', }, { money: '2', status: 1, key: '1', }, ]} rowKey="key" />, ); await userEvent.click( container.querySelector('span.ant-table-filter-trigger')!, ); fireEvent.click(screen.getAllByText('ๅ…ณ้—ญ')[1], { target: { checked: true, }, }); await userEvent.click(await screen.findByText('็กฎ ๅฎš')); expect(fn).toHaveBeenCalledTimes(1); }); it('๐ŸŽ filter test', async () => { const fn = vi.fn(); const { container } = render( <ProTable size="small" columns={[ { title: 'Name', key: 'name', dataIndex: 'money', }, { title: '็Šถๆ€', dataIndex: ['name', 'status'], filters: true, onFilter: true, valueEnum: { 0: { text: 'ๅ…ณ้—ญ', status: 'Default' }, 1: { text: '่ฟ่กŒไธญ', status: 'Processing' }, 2: { text: 'ๅทฒไธŠ็บฟ', status: 'Success' }, 3: { text: 'ๅผ‚ๅธธ', status: 'Error' }, }, defaultFilteredValue: [0, '1'], }, ]} onChange={fn} dataSource={[ { status: 0, money: '1', key: '1', }, { money: '2', status: 1, key: '2', }, ]} rowKey="key" />, ); await userEvent.click( container.querySelector('span.ant-table-filter-trigger')!, ); fireEvent.click(screen.getByText('ๅ…ณ้—ญ'), { target: { checked: true, }, }); await userEvent.click(await screen.findByText('็กฎ ๅฎš')); expect(fn).toHaveBeenCalledTimes(1); }); it('๐ŸŽ filter test by namePath is array', async () => { const fn = vi.fn(); const { container } = render( <ProTable size="small" columns={[ { title: 'Name', key: 'name', dataIndex: ['name', 'money'], }, { title: '็Šถๆ€', dataIndex: 'status', filters: [{ text: 'ๅ…ณ้—ญ', value: 0 }], onFilter: true, valueEnum: { 0: { text: 'ๅ…ณ้—ญ', status: 'Default' }, 1: { text: '่ฟ่กŒไธญ', status: 'Processing' }, 2: { text: 'ๅทฒไธŠ็บฟ', status: 'Success' }, 3: { text: 'ๅผ‚ๅธธ', status: 'Error' }, }, defaultFilteredValue: [0], }, ]} request={async (_, sort, filter) => { if (filter.status) { fn(); } return { total: 2, success: true, data: [ { name: { status: 0, money: '1', }, key: '2', }, { name: { money: '2', status: 1, }, key: '1', }, ], }; }} rowKey="key" />, ); await userEvent.click( container.querySelector('span.ant-table-filter-trigger')!, ); await userEvent.click( container.querySelectorAll( '.ant-table-filter-dropdown .ant-dropdown-menu-item', )[0], ); await userEvent.click( container.querySelector( '.ant-table-filter-dropdown-btns .ant-btn.ant-btn-primary.ant-btn-sm', )!, ); expect(fn).toHaveBeenCalled(); await userEvent.click( container.querySelector('span.ant-table-filter-trigger')!, ); await userEvent.click( container.querySelectorAll( '.ant-table-filter-dropdown .ant-dropdown-menu-item', )[0], ); await userEvent.click( container.querySelector( '.ant-table-filter-dropdown-btns .ant-btn.ant-btn-primary.ant-btn-sm', )!, ); expect(fn).toHaveBeenCalled(); }); it('๐ŸŽ order multiple test', async () => { const fn = vi.fn(); const { container } = render( <ProTable<{ money: number }> size="small" columns={[ { title: 'Name', key: 'name', dataIndex: 'name', sorter: { compare: (a, b) => a.money - b.money, multiple: 3, }, defaultSortOrder: 'descend', }, { title: 'money', key: 'money', dataIndex: 'money', sorter: { compare: (a, b) => a.money - b.money, multiple: 3, }, defaultSortOrder: 'ascend', }, { title: '็Šถๆ€', dataIndex: 'status', hideInForm: true, filters: true, onFilter: true, valueEnum: { 0: { text: 'ๅ…ณ้—ญ', status: 'Default' }, 1: { text: '่ฟ่กŒไธญ', status: 'Processing' }, 2: { text: 'ๅทฒไธŠ็บฟ', status: 'Success' }, 3: { text: 'ๅผ‚ๅธธ', status: 'Error' }, }, }, ]} onChange={fn} dataSource={getFetchData(5)} rowKey="key" />, ); await userEvent.click( container.querySelectorAll('span.ant-table-column-sorter-down')[0], ); await userEvent.click( container.querySelectorAll('span.ant-table-column-sorter-up')[1], ); await userEvent.click( container.querySelectorAll('span.ant-table-column-sorter-down')[0], ); await userEvent.click( container.querySelectorAll('span.ant-table-column-sorter-down')[1], ); expect(fn).toBeCalledTimes(4); }); it('๐ŸŽ order test', async () => { const fn = vi.fn(); const { container } = render( <ProTable<{ money: number }> size="small" columns={[ { title: 'Name', key: 'name', dataIndex: 'name', sorter: (a, b) => a.money - b.money, defaultSortOrder: 'descend', }, { title: 'money', key: 'money', dataIndex: 'money', sorter: (a, b) => a.money - b.money, }, { title: '็Šถๆ€', dataIndex: 'status', hideInForm: true, filters: true, onFilter: true, valueEnum: { 0: { text: 'ๅ…ณ้—ญ', status: 'Default' }, 1: { text: '่ฟ่กŒไธญ', status: 'Processing' }, 2: { text: 'ๅทฒไธŠ็บฟ', status: 'Success' }, 3: { text: 'ๅผ‚ๅธธ', status: 'Error' }, }, }, ]} onChange={fn} dataSource={getFetchData(5)} rowKey="key" />, ); await userEvent.click( container.querySelectorAll('span.ant-table-column-sorter-down')[0], ); await userEvent.click( container.querySelectorAll('span.ant-table-column-sorter-up')[1], ); await userEvent.click( container.querySelectorAll('span.ant-table-column-sorter-down')[0], ); await userEvent.click( container.querySelectorAll('span.ant-table-column-sorter-down')[1], ); expect(fn).toHaveBeenCalledTimes(4); }); });
9,195
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/form.test.tsx
import ProTable from '@ant-design/pro-table'; import { act, cleanup, fireEvent, render, waitFor, } from '@testing-library/react'; import type { FormInstance } from 'antd'; import React from 'react'; afterEach(() => { cleanup(); }); describe('BasicTable Search', () => { it('๐ŸŽ table type=form', async () => { const fn = vi.fn(); const { container } = render( <ProTable type="form" size="small" columns={[ { title: 'Name', key: 'name', dataIndex: 'name', }, { title: '็Šถๆ€', dataIndex: 'status', hideInForm: true, filters: true, valueEnum: { 0: { text: 'ๅ…ณ้—ญ', status: 'Default' }, 1: { text: '่ฟ่กŒไธญ', status: 'Processing' }, 2: { text: 'ๅทฒไธŠ็บฟ', status: 'Success' }, 3: { text: 'ๅผ‚ๅธธ', status: 'Error' }, }, }, ]} onSubmit={fn} rowKey="key" />, ); fireEvent.click( container.querySelector('.ant-form button.ant-btn-primary')!, ); await waitFor(() => { expect(fn).toBeCalledTimes(1); }); fireEvent.change( container.querySelectorAll('.ant-form input.ant-input')[0], { target: { value: 'name', }, }, ); fireEvent.click( container.querySelector('.ant-form button.ant-btn-primary')!, ); await waitFor(() => { expect(fn).toBeCalledWith({ name: 'name', }); }); }); it('๐ŸŽ table support initialValue', async () => { const fn = vi.fn(); render( <ProTable size="small" columns={[ { title: 'Name', key: 'name', initialValue: 'name', dataIndex: 'name', }, { title: '็Šถๆ€', dataIndex: 'status', hideInForm: true, filters: true, valueEnum: { 0: { text: 'ๅ…ณ้—ญ', status: 'Default' }, 1: { text: '่ฟ่กŒไธญ', status: 'Processing' }, 2: { text: 'ๅทฒไธŠ็บฟ', status: 'Success' }, 3: { text: 'ๅผ‚ๅธธ', status: 'Error' }, }, }, ]} request={async (params) => { fn({ name: params.name, }); return { data: [], success: true }; }} rowKey="key" />, ); await waitFor(() => { expect(fn).toBeCalledWith({ name: 'name', }); }); }); it('๐ŸŽ table support initialValues', async () => { const fn = vi.fn(); render( <ProTable size="small" columns={[ { title: 'Name', key: 'name', dataIndex: 'name', }, { title: '็Šถๆ€', dataIndex: 'status', hideInForm: true, filters: true, valueEnum: { 0: { text: 'ๅ…ณ้—ญ', status: 'Default' }, 1: { text: '่ฟ่กŒไธญ', status: 'Processing' }, 2: { text: 'ๅทฒไธŠ็บฟ', status: 'Success' }, 3: { text: 'ๅผ‚ๅธธ', status: 'Error' }, }, }, ]} request={async (params) => { fn({ name: params.name, }); return { data: [], success: true }; }} rowKey="key" form={{ initialValues: { name: 'name', }, }} />, ); await waitFor(() => { expect(fn).toBeCalledWith({ name: 'name', }); }); }); it('๐ŸŽ table type=form and formRef', async () => { const fn = vi.fn(); const ref = React.createRef<FormInstance | undefined>(); const { container } = render( <ProTable // @ts-ignore formRef={ref} type="form" size="small" columns={[ { title: 'Name', key: 'name', dataIndex: 'name', }, { title: '็Šถๆ€', dataIndex: 'status', hideInForm: true, filters: true, valueEnum: { 0: { text: 'ๅ…ณ้—ญ', status: 'Default' }, 1: { text: '่ฟ่กŒไธญ', status: 'Processing' }, 2: { text: 'ๅทฒไธŠ็บฟ', status: 'Success' }, 3: { text: 'ๅผ‚ๅธธ', status: 'Error' }, }, }, ]} onSubmit={fn} rowKey="key" />, ); /** ไฟฎๆ”นๅ€ผ */ act(() => { ref.current?.setFieldsValue({ name: 'name', }); }); fireEvent.click( container.querySelector('.ant-form button.ant-btn-primary')!, ); await waitFor(() => { expect(fn).toBeCalledWith({ name: 'name', }); }); }); it('๐ŸŽ fieldProps and formItemProps support function', async () => { const ref = React.createRef<FormInstance | undefined>(); const { container } = render( <ProTable type="form" // @ts-ignore formRef={ref} size="small" columns={[ { title: 'Name', key: 'name', fieldProps: { id: 'name', }, dataIndex: 'name', }, { title: '็Šถๆ€', dataIndex: 'status', dependencies: ['name'], fieldProps: (form) => { if (form.getFieldValue?.('name') === 'closed') { return { disabled: true, id: 'status', }; } return { id: 'status', }; }, formItemProps: (form) => { if (form.getFieldValue?.('name') === 'closed') { return { noStyle: true, }; } return {}; }, filters: true, valueEnum: { 0: { text: 'ๅ…ณ้—ญ', status: 'Default' }, 1: { text: '่ฟ่กŒไธญ', status: 'Processing' }, 2: { text: 'ๅทฒไธŠ็บฟ', status: 'Success' }, 3: { text: 'ๅผ‚ๅธธ', status: 'Error' }, }, }, ]} rowKey="key" />, ); act(() => { ref.current?.setFieldsValue({ name: 'closed', }); }); expect( !!container.querySelectorAll('.ant-select-disabled').length, ).toBeTruthy(); }); it('๐ŸŽ make sure formItemProps have the highest priority', async () => { const ref = React.createRef<FormInstance | undefined>(); render( <ProTable type="form" // @ts-ignore formRef={ref} size="small" form={{ onValuesChange(changedValue) { expect(changedValue).toEqual({ changedName: 'Pro Components', }); }, }} columns={[ { title: 'Name', key: 'name', fieldProps: { id: 'name', }, formItemProps: { name: 'changedName', }, dataIndex: 'name', }, ]} rowKey="key" />, ); act(() => { ref.current?.setFieldsValue({ name: 'Pro Components', }); }); }); });
9,196
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/index.test.tsx
import type { ActionType } from '@ant-design/pro-table'; import ProTable, { TableDropdown } from '@ant-design/pro-table'; import { act, cleanup, fireEvent, render, screen, waitFor, } from '@testing-library/react'; import { Button, Input, Select } from 'antd'; import React, { useEffect, useRef } from 'react'; import { columns, request } from './demo'; afterEach(() => { cleanup(); }); describe('BasicTable', () => { const LINE_STR_COUNT = 20; // Mock offsetHeight // @ts-expect-error const originOffsetHeight = Object.getOwnPropertyDescriptor( HTMLElement.prototype, 'offsetHeight', ).get; Object.defineProperty(HTMLElement.prototype, 'offsetHeight', { get() { let html = this.innerHTML; html = html.replace(/<[^>]*>/g, ''); const lines = Math.ceil(html.length / LINE_STR_COUNT); return lines * 16; }, }); // Mock getComputedStyle const originGetComputedStyle = window.getComputedStyle; window.getComputedStyle = (ele) => { const style = originGetComputedStyle(ele); style.lineHeight = '16px'; return style; }; beforeAll(() => { process.env.NODE_ENV = 'TEST'; }); afterAll(() => { Object.defineProperty(HTMLElement.prototype, 'offsetHeight', { get: originOffsetHeight, }); window.getComputedStyle = originGetComputedStyle; }); it('๐ŸŽ base use', async () => { const pageSizeOnchange = vi.fn(); const html = render( <ProTable size="small" columns={columns} request={request} rowKey="key" params={{ keyword: 'test' }} pagination={{ defaultCurrent: 10, onChange: (e) => { pageSizeOnchange(e); }, }} toolBarRender={() => [ <Input.Search key="search" style={{ width: 200, }} />, <TableDropdown.Button key="copy" menus={[ { key: 'copy', name: 'ๅคๅˆถ' }, { key: 'clear', name: 'ๆธ…็ฉบ' }, ]} > ๆ›ดๅคšๆ“ไฝœ </TableDropdown.Button>, ]} />, ); await html.queryByText('ๆŸฅ ่ฏข'); await waitFor(() => { return html.queryAllByText('Edward King 9'); }); await waitFor( () => { expect(pageSizeOnchange).toBeCalledWith(10); }, { timeout: 1000, }, ); act(() => { html.rerender( <ProTable size="small" columns={columns} request={request} rowKey="key" params={{ keyword: 'test2' }} pagination={false} toolBarRender={() => [ <Input.Search key="search" style={{ width: 200, }} />, <TableDropdown.Button key="copy" menus={[ { key: 'copy', name: 'ๅคๅˆถ' }, { key: 'clear', name: 'ๆธ…็ฉบ' }, ]} > ๆ›ดๅคšๆ“ไฝœ </TableDropdown.Button>, ]} />, ); }); await html.queryByText('ๆ›ดๅคšๆ“ไฝœ'); await waitFor(() => { return html.queryAllByText('Edward King 9'); }); }); it('๐ŸŽ tableDropdown click trigger onSelect', async () => { const html = render( <div> <TableDropdown.Button key="copy" menus={[ { key: 'copy', name: 'ๅคๅˆถ' }, { key: 'clear', name: 'ๆธ…็ฉบ' }, ]} > ๆ›ดๅคšๆ“ไฝœ </TableDropdown.Button> <TableDropdown key="tableDropdown" // eslint-disable-next-line react/no-children-prop children="ๅ…ถไป–ๆ“ไฝœ" menus={[ { key: 'edit', name: '็ผ–่พ‘' }, { key: 'create', name: 'ๆ–ฐๅปบ' }, ]} /> </div>, ); await html.findByText('ๆ›ดๅคšๆ“ไฝœ'); await act(async () => { fireEvent.mouseOver(screen.getByText('ๆ›ดๅคšๆ“ไฝœ')); }); await waitFor(() => html.findByText('ๅคๅˆถ')); await act(async () => { (await html.findByText('ๅคๅˆถ')).click(); }); await act(async () => { fireEvent.mouseOver(screen.getByText('ๅ…ถไป–ๆ“ไฝœ')); }); await waitFor(() => html.findByText('็ผ–่พ‘')); await act(async () => { (await html.findByText('็ผ–่พ‘')).click(); }); }); it('๐ŸŽ table support visibilitychange', async () => { const requestFfn = vi.fn(); let fn: Function | null = null; const errorSpy = vi.spyOn(console, 'error').mockImplementation(() => {}); const addEventListenerSpy = vi .spyOn(document, 'addEventListener') .mockImplementation((eventName, eventFn) => { if (eventName === 'visibilitychange') { //@ts-expect-error fn = eventFn; } }); const html = render( <ProTable size="small" columns={columns} request={async () => { requestFfn(); return request; }} rowKey="key" revalidateOnFocus />, ); await html.findByText('ๆŸฅ ่ฏข'); await waitFor(() => { expect(requestFfn).toBeCalledTimes(1); }); act(() => { fn?.(); }); errorSpy.mockRestore(); addEventListenerSpy.mockRestore(); await waitFor(() => { expect(requestFfn).toBeCalledTimes(2); }); }); it('๐ŸŽ do not render Search', async () => { const html = render( <ProTable size="small" columns={columns} request={request} rowKey="key" rowSelection={{ selectedRowKeys: ['1'], }} search={false} params={{ keyword: 'test' }} pagination={{ defaultCurrent: 10, }} />, ); await waitFor(() => { expect( !!html.baseElement.querySelector('.ant-pro-table-search'), ).toBeFalsy(); }); }); it('๐ŸŽ onLoadingChange should work', async () => { const loadingChangerFn = vi.fn(); vi.useFakeTimers(); const html = render( <ProTable size="small" columns={[ { title: 'ๅบๅท', key: 'index', dataIndex: 'index', valueType: 'index', }, ]} request={async (params) => { return new Promise((resolve) => { setTimeout(() => { resolve(request(params)); }, 1000); }); }} rowKey="key" onLoadingChange={loadingChangerFn} rowSelection={{ selectedRowKeys: ['1'], }} search={false} params={{ keyword: 'test' }} />, ); await html.findByText('ๅบๅท'); await waitFor(() => { expect(loadingChangerFn).toBeCalledWith(true, false); }); act(() => { vi.runOnlyPendingTimers(); }); await waitFor(() => { return html.findByText('ๅบๅท'); }); await waitFor(() => { expect(loadingChangerFn).toBeCalledWith(false, true); }); vi.useRealTimers(); }); it('๐ŸŽ do not render default option', async () => { const html = render( <ProTable size="small" options={{ fullScreen: false, reload: false, setting: false, }} search={false} columns={[ { title: 'money title', dataIndex: 'money', valueType: 'money', }, ]} request={request} rowKey="key" />, ); await html.findByText('money title'); expect( html.baseElement.querySelectorAll( '.ant-pro-table-list-toolbar-setting-items .ant-pro-table-list-toolbar-setting-item', ).length, ).toBe(1); }); it('๐ŸŽ ProTable support searchText and resetText', async () => { const html = render( <ProTable size="small" options={{ fullScreen: false, reload: false, setting: false, }} form={{ searchText: 'test', resetText: 'test2', }} columns={[ { title: 'money title', dataIndex: 'money', valueType: 'money', }, ]} dataSource={[]} rowKey="key" />, ); await html.findByText('test'); await html.findByText('test2'); }); it('๐ŸŽ ProTable support card props is false', async () => { const html = render( <ProTable size="small" cardProps={false} toolBarRender={false} columns={[ { dataIndex: 'money', valueType: 'money', }, ]} search={false} dataSource={[]} rowKey="key" />, ); expect(!!html.baseElement.querySelector('.ant-pro-card')).toBe(false); act(() => { html.rerender( <ProTable size="small" toolBarRender={false} columns={[ { dataIndex: 'money', valueType: 'money', }, ]} search={false} dataSource={[]} rowKey="key" />, ); }); await waitFor(() => { expect(!!html.baseElement.querySelector('.ant-pro-card')).toBe(false); }); act(() => { html.rerender( <ProTable size="small" toolBarRender={() => { return [<a key="submit">submit</a>]; }} columns={[ { dataIndex: 'money', valueType: 'money', }, ]} dataSource={[]} rowKey="key" />, ); }); await html.findByText('submit'); await waitFor(() => { expect(!!html.baseElement.querySelector('.ant-pro-card')).toBe(true); }); }); it('๐ŸŽ do not render setting', async () => { const html = render( <ProTable size="small" options={{ fullScreen: true, reload: true, setting: false, }} columns={[ { dataIndex: 'money', valueType: 'money', }, ]} request={request} rowKey="key" />, ); await html.findByText('ๆŸฅ ่ฏข'); act(() => { expect(!!html.baseElement.querySelector('.anticon-setting')).toBeFalsy(); }); }); it('๐ŸŽ valueEnum support function', async () => { const html = render( <ProTable size="small" options={false} columns={[ { title: '็Šถๆ€', dataIndex: 'status', valueType: 'select', valueEnum: (row) => { if (row) { return { 0: { text: '1ๅ…ณ้—ญ', status: 'Default' }, 1: { text: '1่ฟ่กŒไธญ', status: 'Processing' }, 2: { text: '1ๅทฒไธŠ็บฟ', status: 'Success' }, 3: { text: '1ๅผ‚ๅธธ', status: 'Error' }, }; } return { 0: { text: 'ๅ…ณ้—ญ', status: 'Default' }, 1: { text: '่ฟ่กŒไธญ', status: 'Processing' }, 2: { text: 'ๅทฒไธŠ็บฟ', status: 'Success' }, 3: { text: 'ๅผ‚ๅธธ', status: 'Error' }, }; }, }, { dataIndex: 'status1', valueType: 'select', fieldProps: { open: true, }, valueEnum: (row) => { if (!row) { return { 0: { text: 'Close', status: 'Default' }, 1: { text: 'Processing', status: 'Processing' }, 2: { text: 'Success', status: 'Success' }, 3: { text: 'Error', status: 'Error' }, }; } return { 0: { text: 'ๅ…ณ้—ญ', status: 'Default' }, 1: { text: '่ฟ่กŒไธญ', status: 'Processing' }, 2: { text: 'ๅทฒไธŠ็บฟ', status: 'Success' }, 3: { text: 'ๅผ‚ๅธธ', status: 'Error' }, }; }, }, ]} request={request} rowKey="key" />, ); await waitFor(() => { return html.queryAllByText('Close'); }); await waitFor(() => { return html.queryAllByText('Processing'); }); await waitFor(() => { return html.queryAllByText('Success'); }); await waitFor(() => { return html.queryAllByText('Error'); }); await waitFor(() => { return html.queryAllByText('ๅผ‚ๅธธ'); }); await waitFor(() => { return html.queryAllByText('ๅ…ณ้—ญ'); }); await waitFor(() => { return html.queryAllByText('่ฟ่กŒไธญ'); }); await waitFor(() => { return html.queryAllByText('ๅทฒไธŠ็บฟ'); }); }); it('๐ŸŽ do not render pagination', async () => { const html = render( <ProTable size="small" options={{ fullScreen: true, reload: true, setting: false, }} columns={[ { dataIndex: 'money', valueType: 'money', }, ]} pagination={false} request={async () => ({ data: [ { key: 'first', }, ], success: true, })} rowKey="key" />, ); await waitFor(() => { expect(!!html.baseElement.querySelector('ul.ant-pagination')).toBeFalsy(); }); act(() => { html.rerender( <ProTable size="small" options={{ fullScreen: true, reload: true, setting: false, }} columns={[ { dataIndex: 'money', valueType: 'money', }, ]} request={async () => ({ data: [ { key: 'first', }, ], success: true, })} rowKey="key" />, ); }); await waitFor(() => { expect( !!html.baseElement.querySelector('ul.ant-pagination'), ).toBeTruthy(); }); }); it('๐ŸŽ page error test', async () => { const TargetComponent = () => { useEffect(() => { throw new Error('Errored!'); }, []); return <></>; }; const html = render( <ProTable size="small" columns={[ { dataIndex: 'money', valueType: 'money', }, ]} request={async () => ({ data: [], success: true, })} tableExtraRender={() => <TargetComponent />} search={false} rowKey="key" />, ); await html.findByText('Something went wrong.'); }); it('๐ŸŽ request test', async () => { const fn = vi.fn(); const html = render( <ProTable size="small" options={{ fullScreen: true, reload: true, setting: false, }} columns={[ { dataIndex: 'money', valueType: 'money', }, ]} request={async () => { fn(); return { data: [], }; }} rowKey="key" />, ); await html.findByText('ๆŸฅ ่ฏข'); await waitFor(() => { expect(fn).toBeCalled(); }); }); it('๐ŸŽ onLoadingChange test', async () => { const fn = vi.fn(); vi.useFakeTimers(); const html = render( <ProTable size="small" onLoadingChange={fn} options={{ fullScreen: true, reload: true, setting: false, }} columns={[ { dataIndex: 'money', valueType: 'money', }, ]} request={async () => { return new Promise((resolve) => { setTimeout(() => { resolve({ data: [], }); }, 2000); }); }} rowKey="key" />, ); await html.findByText('ๆŸฅ ่ฏข'); act(() => { vi.runOnlyPendingTimers(); }); await waitFor(() => { expect(fn).toBeCalled(); }); vi.useFakeTimers(); }); it('๐ŸŽ reload request test', async () => { const fn = vi.fn(); vi.useFakeTimers(); const Reload = () => { const actionRef = useRef<ActionType>(); return ( <ProTable actionRef={actionRef} toolBarRender={() => [ <Button onClick={() => { actionRef.current?.reloadAndRest?.(); }} key="reload" id="reload" > ๅˆทๆ–ฐ </Button>, <Button onClick={() => { actionRef.current?.reset?.(); }} key="reset" id="reset" > ๅˆทๆ–ฐ </Button>, ]} size="small" options={{ fullScreen: true, reload: true, setting: false, }} columns={[ { dataIndex: 'money', valueType: 'money', }, ]} request={async () => { fn(); return new Promise((resolve) => { setTimeout(() => { resolve({ data: [] }); }, 200); }); }} rowKey="key" /> ); }; const html = render(<Reload />); await html.findByText('ๆŸฅ ่ฏข'); await waitFor(() => { expect(fn).toBeCalledTimes(1); }); act(() => { fireEvent.click(html.baseElement.querySelector('#reload')!); }); act(() => { fireEvent.click(html.baseElement.querySelector('#reload')!); }); act(() => { vi.runOnlyPendingTimers(); }); await waitFor(() => { // ๅ› ไธบๆœ‰ loading ็š„ๆŽงๅˆถ๏ผŒๆ‰€ๆœ‰ๅชไผš่งฆๅ‘ไธคๆฌก expect(fn).toBeCalledTimes(2); }); act(() => { fireEvent.click(html.baseElement.querySelector('#reset')!); }); act(() => { vi.runOnlyPendingTimers(); }); await waitFor(() => { expect(fn).toBeCalledTimes(3); }); vi.useRealTimers(); html.unmount(); }); it('๐ŸŽ request error test', async () => { const fn = vi.fn(); render( <ProTable size="small" columns={[ { dataIndex: 'money', valueType: 'money', }, ]} request={async () => { throw new Error('load error'); }} onRequestError={fn} rowKey="key" />, ); await waitFor(() => { expect(fn).toBeCalled(); }); }); it('๐ŸŽ actionRef support clearSelected', async () => { const fn = vi.fn(); const onChangeFn = vi.fn(); const actionRef = React.createRef<ActionType>(); const html = render( <ProTable size="small" columns={[ { dataIndex: 'money', valueType: 'money', }, ]} actionRef={(ref) => { // @ts-expect-error actionRef.current = ref; }} request={async () => { throw new Error('load error'); }} rowSelection={{ onChange: onChangeFn, }} onRequestError={fn} rowKey="key" />, ); await html.findByText('ๆŸฅ ่ฏข'); act(() => { actionRef.current?.clearSelected?.(); }); await waitFor(() => { expect(fn).toBeCalled(); }); await waitFor(() => { expect(onChangeFn).toBeCalled(); }); }); it('๐ŸŽ options.reload support is true', async () => { const fn = vi.fn(); const html = render( <ProTable size="small" columns={[ { title: 'money', dataIndex: 'money', valueType: 'money', }, ]} options={{ reload: true, }} rowSelection={{ selectedRowKeys: ['first'], }} tableAlertRender={false} request={async () => { fn(); return { data: [ { key: 'first', }, ], }; }} rowKey="key" />, ); await html.findByText('ๆŸฅ ่ฏข'); await waitFor(() => { expect(fn).toBeCalledTimes(1); }); act(() => { fireEvent.click( html.baseElement.querySelector( '.ant-pro-table-list-toolbar-setting-item span.anticon-reload', )!, ); }); await waitFor(() => { expect(fn).toBeCalledTimes(2); }); }); it('๐ŸŽ receives two parameters when options.(reload | fullScreen) is passed the function', async () => { const reloadFn = vi.fn(); const fullScreenFn = vi.fn(); const actionRef = React.createRef<any>(); const html = render( <ProTable size="small" columns={[ { title: 'money', dataIndex: 'money', valueType: 'money', }, ]} options={{ reload: reloadFn, fullScreen: fullScreenFn, }} actionRef={actionRef} rowKey="key" />, ); await html.findByText('ๆŸฅ ่ฏข'); act(() => { fireEvent.click( html.baseElement.querySelector( '.ant-pro-table-list-toolbar-setting-item span.anticon-reload', )!, ); }); await waitFor(() => { expect(reloadFn).toHaveBeenCalledWith( expect.anything(), actionRef.current, ); }); act(() => { fireEvent.click( html.baseElement.querySelector( '.ant-pro-table-list-toolbar-setting-item span.anticon-fullscreen', )!, ); }); await waitFor(() => { expect(fullScreenFn).toHaveBeenCalledWith( expect.anything(), actionRef.current, ); }); }); it('๐ŸŽ request reload', async () => { const fn = vi.fn(); const html = render( <ProTable size="small" columns={[ { title: 'money', dataIndex: 'money', valueType: 'money', }, ]} rowSelection={{ selectedRowKeys: ['first'], }} tableAlertRender={false} request={async () => { fn(); return { data: [ { key: 'first', }, ], }; }} rowKey="key" />, ); await html.findByText('ๆŸฅ ่ฏข'); await waitFor(() => { expect(fn).toBeCalledTimes(1); }); act(() => { fireEvent.click( html.baseElement.querySelector( '.ant-pro-table-list-toolbar-setting-item span.anticon-reload', )!, ); }); await waitFor(() => { expect(fn).toBeCalledTimes(2); }); }); it('๐ŸŽ onSizeChange load', async () => { const fn = vi.fn(); const html = render( <ProTable columns={[ { title: 'money', dataIndex: 'money', valueType: 'money', }, ]} onSizeChange={(size) => fn(size)} request={async () => { return { data: [ { key: 'first', }, ], }; }} rowKey="key" />, ); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-pro-table-list-toolbar-setting-item span.anticon-column-height', ) ?.click(); }); await waitFor(() => { return html.queryAllByText('large'); }); act(() => { html.baseElement .querySelector<HTMLDivElement>( '.ant-dropdown-menu .ant-dropdown-menu-item', ) ?.click(); }); expect(fn).toBeCalledWith('large'); }); it('๐ŸŽ request load array', async () => { const fn = vi.fn(); const actionRef = React.createRef<ActionType>(); vi.useFakeTimers(); const html = render( <ProTable size="small" // @ts-ignore actionRef={actionRef} columns={[ { title: 'money', dataIndex: 'money', valueType: 'money', }, ]} postData={undefined} request={async () => { fn(); return new Promise((resolve) => { setTimeout(() => { resolve([]); }, 1000); }); }} rowKey="key" />, ); await html.findByText('ๆŸฅ ่ฏข'); act(() => { vi.runOnlyPendingTimers(); }); await waitFor(() => { expect(fn).toBeCalledTimes(1); }); act(() => { actionRef.current?.reload(true); }); // ่ฟ™้‡Œๅฏไปฅๆต‹่ฏ•๏ผŒloading ๆ˜ฏๅฆ่ขซๆ‹ฆไฝ act(() => { actionRef.current?.reload(true); }); act(() => { vi.runOnlyPendingTimers(); }); await waitFor(() => { expect(fn).toBeCalledTimes(2); }); vi.useRealTimers(); }); it('๐ŸŽ request should use postData', async () => { const postFn = vi.fn(); const html = render( <ProTable size="small" columns={[ { title: 'money', dataIndex: 'money', valueType: 'money', }, ]} postData={() => postFn()} request={async () => { return { data: [], }; }} rowKey="key" />, ); await html.findByText('ๆŸฅ ่ฏข'); await waitFor(() => { expect(postFn).toBeCalled(); }); }); it('๐ŸŽ fullscreen icon test', async () => { const fn = vi.fn(); const html = render( <ProTable size="small" columns={[ { title: 'money', dataIndex: 'money', valueType: 'money', }, ]} options={{ fullScreen: fn, }} request={async () => { return { data: [], }; }} rowKey="key" />, ); await html.findByText('ๆŸฅ ่ฏข'); act(() => { fireEvent.click( html.baseElement.querySelector( '.ant-pro-table-list-toolbar-setting-item span.anticon-fullscreen', )!, ); }); await waitFor(() => { expect(fn).toBeCalledTimes(1); }); }); it('๐ŸŽ fullscreen icon test when fullscreenEnabled', async () => { const fn = vi.fn(); // @ts-ignore document.fullscreenEnabled = false; const html = render( <ProTable size="small" columns={[ { title: 'money', dataIndex: 'money', valueType: 'money', }, ]} options={{ fullScreen: true, }} request={async () => { return { data: [], }; }} rowKey="key" />, ); act(() => { fireEvent.click( html.baseElement.querySelector( '.ant-pro-table-list-toolbar-setting-item span.anticon-fullscreen', )!, ); }); await html.findByText('ๆŸฅ ่ฏข'); await waitFor(() => { expect(fn).not.toBeCalled(); }); }); it('๐ŸŽ fullscreen icon mock function', async () => { const exitFullscreen = vi.fn(); document.exitFullscreen = async () => { // @ts-ignore document.fullscreenElement = null; exitFullscreen(); }; Object.defineProperty(document, 'fullscreenEnabled', { value: true, }); Object.defineProperty(HTMLElement.prototype, 'requestFullscreen', { value: () => { // @ts-ignore document.fullscreenElement = document.createElement('div'); // @ts-ignore document.onfullscreenchange?.(); }, }); const html = render( <ProTable size="small" columns={[ { title: 'money', dataIndex: 'money', valueType: 'money', children: [ { title: 'money', dataIndex: 'money', valueType: 'money', }, { title: 'name', dataIndex: 'name', valueType: 'text', }, ], }, ]} options={{ fullScreen: true, }} request={async () => { return { data: [], }; }} toolBarRender={() => [ <Select open={true} key="key" options={[ { label: '1', value: 1, }, ]} />, ]} rowKey="key" />, ); await html.findByText('ๆŸฅ ่ฏข'); act(() => { fireEvent.click( html.baseElement.querySelector( '.ant-pro-table-list-toolbar-setting-item span.anticon-fullscreen', )!, ); }); await waitFor(() => { expect(!!document.fullscreenElement).toBeTruthy(); }); act(() => { fireEvent.click( html.baseElement.querySelector( '.ant-pro-table-list-toolbar-setting-item span.anticon-fullscreen-exit', )!, ); }); await waitFor(() => { expect(!!document.fullscreenElement).toBeFalsy(); }); await waitFor(() => { expect(exitFullscreen).toBeCalled(); }); }); it('๐ŸŽ size icon test', async () => { const fn = vi.fn(); const html = render( <ProTable size="small" columns={[ { title: 'money', dataIndex: 'money', valueType: 'money', }, ]} request={async () => { return { data: [], }; }} onSizeChange={(size) => { fn(size); }} rowKey="key" />, ); await html.findByText('ๆŸฅ ่ฏข'); act(() => { fireEvent.click( html.baseElement.querySelector( '.ant-pro-table-list-toolbar-setting-item span.anticon-column-height', )!, ); }); act(() => { fireEvent.click( html.baseElement.querySelectorAll('li.ant-dropdown-menu-item')[1], ); }); await waitFor(() => { expect(fn).toBeCalledWith('middle'); }); }); it('๐ŸŽ loading test', async () => { const html = render( <ProTable columns={[ { title: 'money', dataIndex: 'money', valueType: 'money', }, ]} loading dataSource={[]} rowKey="key" />, ); await html.findByText('ๆŸฅ ่ฏข'); expect(!!html.baseElement.querySelector('.ant-spin')).toBeTruthy(); act(() => { html.rerender( <ProTable columns={[ { title: 'money', dataIndex: 'money', valueType: 'money', }, ]} loading={false} dataSource={[]} rowKey="key" />, ); }); await html.findByText('ๆŸฅ ่ฏข'); await waitFor(() => { // props ๆŒ‡ๅฎšไธบ false ๅŽ๏ผŒๆ— ่ฎบ request ๅฎŒๆˆไธŽๅฆ้ƒฝไธไผšๅ‡บ็Žฐ spin expect(!!html.baseElement.querySelector('.ant-spin')).toBeFalsy(); }); }); it('๐ŸŽ columns = undefined', async () => { const html = render( <ProTable columns={undefined} request={async () => { return { data: [] }; }} rowKey="key" />, ); await waitFor(() => { html.getByText('ๆš‚ๆ— ๆ•ฐๆฎ'); }); }); it('๐ŸŽ search = true', async () => { const fn = vi.fn(); const html = render( <ProTable columns={[{ dataIndex: 'name' }]} options={{ search: true, }} request={async (params) => { fn(params.keyword); return { data: [ { key: '1', name: 'string', }, ], }; }} rowKey="key" />, ); await html.findByText('ๆŸฅ ่ฏข'); act(() => { fireEvent.change( html.baseElement.querySelector( '.ant-pro-table-list-toolbar-search input', )!, { target: { value: 'name', }, }, ); }); await html.findByDisplayValue('name'); act(() => { fireEvent.keyDown( html.baseElement.querySelector( '.ant-pro-table-list-toolbar-search input', )!, { key: 'Enter', keyCode: 13 }, ); }); await waitFor(() => { expect(fn).toBeCalledWith('name'); }); }); it('๐ŸŽ search = true, name = test', async () => { const fn = vi.fn(); const html = render( <ProTable< Record<string, any>, { test: string; } > columns={[{ dataIndex: 'name' }]} options={{ search: { name: 'test', }, }} request={async (params) => { fn(params.test); return { data: [] }; }} rowKey="key" />, ); await html.findByText('ๆŸฅ ่ฏข'); act(() => { fireEvent.change( html.baseElement.querySelector( '.ant-pro-table-list-toolbar-search input', )!, { target: { value: 'name', }, }, ); }); await html.findByDisplayValue('name'); act(() => { fireEvent.keyDown( html.baseElement.querySelector( '.ant-pro-table-list-toolbar-search input', )!, { key: 'Enter', keyCode: 13 }, ); }); await waitFor(() => { expect(fn).toBeCalledWith('name'); }); }); it('๐ŸŽ search = true, name = test,onSearch return false', async () => { const fn = vi.fn(); const html = render( <ProTable< Record<string, any>, { test: string; } > columns={[{ dataIndex: 'name' }]} options={{ search: { name: 'test', onSearch: (keyword) => keyword !== 'name', }, }} request={async (params) => { fn(params.test); return { data: [] }; }} rowKey="key" />, ); await html.findByText('ๆŸฅ ่ฏข'); act(() => { fireEvent.change( html.baseElement.querySelector( '.ant-pro-table-list-toolbar-search input', )!, { target: { value: 'name', }, }, ); }); await html.findByDisplayValue('name'); act(() => { fireEvent.keyDown( html.baseElement.querySelector( '.ant-pro-table-list-toolbar-search input', )!, { key: 'Enter', keyCode: 13 }, ); }); await waitFor(() => { expect(fn).toBeCalledWith(''); }); act(() => { fireEvent.change( html.baseElement.querySelector( '.ant-pro-table-list-toolbar-search input', )!, { target: { value: 'name1', }, }, ); }); await html.findByDisplayValue('name1'); act(() => { fireEvent.keyDown( html.baseElement.querySelector( '.ant-pro-table-list-toolbar-search input', )!, { key: 'Enter', keyCode: 13 }, ); }); await waitFor(() => { expect(fn).toBeCalledWith('name1'); }); }); it('๐ŸŽ bordered = true', async () => { const html = render( <ProTable size="small" cardBordered columns={columns} request={request} rowKey="key" rowSelection={{ selectedRowKeys: ['1'], }} params={{ keyword: 'test' }} pagination={{ defaultCurrent: 10, }} />, ); expect( !!html.baseElement.querySelector( '.ant-pro-table-search-query-filter.ant-pro-card-bordered', ), ).toBeTruthy(); expect( !!html.baseElement.querySelector('.ant-pro-card.ant-pro-card-border'), ).toBeTruthy(); }); it('๐ŸŽ bordered = {search = true, table = false}', async () => { const html = render( <ProTable size="small" cardBordered={{ search: true, table: false, }} columns={columns} dataSource={[]} rowKey="key" rowSelection={{ selectedRowKeys: ['1'], }} params={{ keyword: 'test' }} pagination={{ defaultCurrent: 10, }} />, ); expect( !!html.baseElement.querySelector('.ant-pro-card.ant-card-bordered'), ).toBeFalsy(); expect( !!html.baseElement.querySelector( '.ant-pro-table-search-query-filter.ant-pro-card-bordered', ), ).toBeTruthy(); }); it('๐ŸŽ debounce time', async () => { const ref = React.createRef<ActionType>(); const fn = vi.fn(); vi.useFakeTimers(); const html = render( <ProTable actionRef={ref as any} size="small" cardBordered columns={[ { title: 'Name', key: 'name', dataIndex: 'name', }, ]} request={async () => { fn(); return Promise.resolve({ data: [], total: 200, success: true, }); }} rowKey="key" debounceTime={500} />, ); await waitFor(() => { expect(fn).toBeCalledTimes(0); }); act(() => { vi.runOnlyPendingTimers(); }); await waitFor(() => { return html.findByText('ๆš‚ๆ— ๆ•ฐๆฎ'); }); await waitFor(() => { expect(fn).toBeCalledTimes(1); }); act(() => { vi.runOnlyPendingTimers(); }); await waitFor(() => { return html.findByText('ๆš‚ๆ— ๆ•ฐๆฎ'); }); for (let i = 0; i < 10; i += 1) { ref.current?.reload(); } act(() => { vi.runOnlyPendingTimers(); }); await waitFor(() => { expect(fn).toBeCalledTimes(2); }); await html.findByText('ๆš‚ๆ— ๆ•ฐๆฎ'); vi.useRealTimers(); }); it('๐ŸŽ support showHiddenNum', async () => { const ref = React.createRef<ActionType>(); const fn = vi.fn(); const html = render( <ProTable actionRef={ref as any} size="small" cardBordered columns={columns} request={async () => { fn(); return Promise.resolve({ data: [], total: 200, success: true, }); }} search={{ showHiddenNum: true, }} rowKey="key" debounceTime={500} />, ); await html.findByText('ๅฑ•ๅผ€(9)'); expect( html.baseElement.querySelector('.ant-pro-query-filter-collapse-button') ?.textContent, ).toBe('ๅฑ•ๅผ€(9)'); }); });
9,197
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/listtoolbar.test.tsx
import { FullscreenOutlined, SettingOutlined } from '@ant-design/icons'; import ProTable, { ListToolBar } from '@ant-design/pro-table'; import { act, cleanup, fireEvent, render } from '@testing-library/react'; import { Button, Input } from 'antd'; import { waitForWaitTime } from '../util'; afterEach(() => { cleanup(); }); describe('Table valueEnum', () => { it('ListToolBar onAction', async () => { const onAction = vi.fn(); const wrapper = render( <ListToolBar actions={[ <Button key="import">ๆ‰น้‡ๅฏผๅ…ฅ</Button>, <Button key="add" type="primary" onClick={() => { onAction('add'); }} > ๆทปๅŠ  </Button>, ]} />, ); await waitForWaitTime(100); await act(async () => { (await wrapper.findByText('ๆทป ๅŠ '))?.click(); }); expect(onAction).toHaveBeenLastCalledWith('add'); }); it('ListToolBar support onSearch', async () => { const onSearch = vi.fn(); const wrapper = render( <ProTable<{ name: string; }> columns={[ { title: 'ๅบ”็”จๅ็งฐ', dataIndex: 'name', }, ]} request={() => { return Promise.resolve({ data: [], success: true, }); }} search={false} toolbar={{ title: '่ฟ™้‡Œๆ˜ฏๆ ‡้ข˜', search: { onSearch: (value: string) => { onSearch(value); }, }, }} rowKey="key" />, ); await waitForWaitTime(100); act(() => { fireEvent.change( wrapper.baseElement.querySelector( '.ant-pro-table-list-toolbar-search .ant-input', )!, { target: { value: '1111111', }, }, ); }); await waitForWaitTime(200); act(() => { wrapper.baseElement .querySelector<HTMLButtonElement>( '.ant-pro-table-list-toolbar-search .ant-input-search-button', ) ?.click(); }); await waitForWaitTime(100); expect(onSearch).toBeCalledWith('1111111'); }); it('ListToolBar action no array', async () => { const wrapper = render( <ListToolBar // @ts-expect-error actions={ <Button key="add" type="primary"> ๆทปๅŠ  </Button> } />, ); expect(wrapper.asFragment()).toMatchSnapshot(); }); it('ListToolBar action is empty array', async () => { const wrapper = render( <ListToolBar // @ts-expect-error actions={() => []} />, ); expect(wrapper.asFragment()).toMatchSnapshot(); }); it('ListToolBar action no jsx', async () => { const wrapper = render( <ListToolBar actions={[ <Button key="add" type="primary"> ๆทปๅŠ  </Button>, 'shuaxin', ]} />, ); expect(wrapper.asFragment()).toMatchSnapshot(); }); it('ListToolBar onSettingClick', async () => { const onClick = vi.fn(); const wrapper = render( <ListToolBar settings={[ { icon: <SettingOutlined />, tooltip: '่ฎพ็ฝฎ', onClick, key: 's-value', }, { icon: <FullscreenOutlined />, key: 'm-value', }, // ๆต‹่ฏ•็ฉบ็š„ๆƒ…ๅ†ต null, ]} />, ); await waitForWaitTime(1000); act(() => { wrapper.baseElement .querySelector<HTMLDivElement>('.anticon-setting') ?.click(); }); expect(onClick).toHaveBeenLastCalledWith('s-value'); expect(wrapper.baseElement.querySelectorAll('.ant-divider').length).toEqual( 0, ); }); it('ListToolBar search left', async () => { const onSearch = vi.fn(); const wrapper = render( <ListToolBar search={{ placeholder: '่‡ชๅฎšไน‰ placeholder', onSearch, }} />, ); await waitForWaitTime(1000); const inputEle = wrapper.baseElement.querySelector('input'); act(() => { fireEvent.focus(inputEle!); }); act(() => { fireEvent.change(inputEle!, { target: { value: 'input ๅ€ผ' } }); }); act(() => { wrapper.baseElement .querySelector<HTMLButtonElement>( '.ant-pro-table-list-toolbar-search .ant-input-search-button', ) ?.click(); }); expect(wrapper.getByDisplayValue('input ๅ€ผ')).toBeTruthy(); expect(onSearch).toHaveBeenCalled(); expect( (wrapper.getByDisplayValue('input ๅ€ผ') as HTMLInputElement).placeholder, ).toEqual('่‡ชๅฎšไน‰ placeholder'); }); it('ListToolBar search right and custom input search', async () => { const onSearch = vi.fn(); const wrapper = render( <ListToolBar title="I am title" search={ <Input.Search placeholder="่‡ชๅฎšไน‰ placeholder" onSearch={onSearch} /> } />, ); await waitForWaitTime(1000); const inputEle = wrapper.baseElement.querySelector('input'); act(() => { fireEvent.focus(inputEle!); }); act(() => { fireEvent.change(inputEle!, { target: { value: 'input ๅ€ผ' } }); }); act(() => { wrapper.baseElement .querySelector<HTMLButtonElement>( '.ant-pro-table-list-toolbar-search .ant-input-search-button', ) ?.click(); }); expect(wrapper.getByDisplayValue('input ๅ€ผ')).toBeTruthy(); expect(onSearch).toHaveBeenCalled(); expect( (wrapper.getByDisplayValue('input ๅ€ผ') as HTMLInputElement).placeholder, ).toEqual('่‡ชๅฎšไน‰ placeholder'); }); it('ListToolBar dropdown menu', async () => { const onChange = vi.fn(); const wrapper = render( <ListToolBar menu={{ type: 'dropdown', items: [ { label: 'ๅ…จ้ƒจไบ‹้กน', key: 'all', }, { label: 'ๅทฒๅŠžไบ‹้กน', key: 'done', }, ], onChange, }} />, ); await waitForWaitTime(1000); await act(async () => { wrapper.getByText('ๅ…จ้ƒจไบ‹้กน')?.click(); }); await act(async () => { wrapper.getByText('ๅทฒๅŠžไบ‹้กน')?.click(); }); expect(onChange).toHaveBeenCalledWith('done', undefined); }); it('ListToolBar tab menu', async () => { const onChange = vi.fn(); const wrapper = render( <ListToolBar menu={{ type: 'tab', items: [ { label: 'ๅ…จ้ƒจไบ‹้กน', key: 'all', }, { label: 'ๅทฒๅŠžไบ‹้กน', key: 'done', }, ], onChange, }} />, ); await waitForWaitTime(1000); act(() => { wrapper.queryByText('ๅทฒๅŠžไบ‹้กน')?.click(); }); expect(onChange).toHaveBeenCalledWith('done', undefined); }); it('ListToolBar inline menu', async () => { const onChange = vi.fn(); const wrapper = render( <ListToolBar menu={{ type: 'inline', items: [ { label: 'ๅ…จ้ƒจไบ‹้กน', key: 'all', }, { label: 'ๅทฒๅŠžไบ‹้กน', key: 'done', }, { label: '็ฆ็”จ', key: 'disable', disabled: true, }, ], onChange, }} />, ); await waitForWaitTime(1000); await act(async () => { wrapper.getByText('ๅทฒๅŠžไบ‹้กน')?.click(); }); expect(onChange).toHaveBeenCalledWith('done', undefined); }); it('ListToolBar render no menu with item empty', async () => { const wrapper = render( <ListToolBar menu={{ type: 'inline', items: [], }} />, ); await waitForWaitTime(1000); expect( wrapper.baseElement.querySelectorAll('.ant-pro-table-list-toolbar-menu') .length, ).toBe(0); }); });
9,199
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/pagination.test.tsx
import ProTable, { TableDropdown } from '@ant-design/pro-table'; import { act, cleanup, fireEvent, render } from '@testing-library/react'; import { waitForWaitTime } from '../util'; import { request } from './demo'; afterEach(() => { cleanup(); }); describe('BasicTable pagination', () => { it('๐ŸŽ pagination current test', async () => { const fn = vi.fn(); const onChangeFn = vi.fn(); const html = render( <ProTable size="small" columns={[ { dataIndex: 'money', valueType: 'money', }, ]} request={(params) => { fn(params.current); return request({ pageSize: 10, current: 1, }); }} pagination={{ onChange: onChangeFn(), }} onRequestError={fn} rowKey="key" />, ); await waitForWaitTime(1200); expect(fn).toBeCalledWith(1); await act(async () => { (await html.findByText('2'))?.click(); }); await waitForWaitTime(200); expect(fn).toBeCalledWith(1); }); it('๐ŸŽ pagination pageSize test ', async () => { const fn = vi.fn(); const currentFn = vi.fn(); const html = render( <ProTable size="small" columns={[ { dataIndex: 'money', valueType: 'money', }, ]} request={(params) => { fn(params.pageSize); currentFn(params.current); return request({ pageSize: 10, current: 1, }); }} pagination={{ pageSize: 50, }} onRequestError={fn} rowKey="key" />, ); await waitForWaitTime(1200); expect(fn).toBeCalledWith(50); expect(currentFn).toBeCalledWith(1); act(() => { html.rerender( <ProTable size="small" columns={[ { dataIndex: 'money', valueType: 'money', }, ]} request={(params) => { fn(params.pageSize); currentFn(params.current); return request({ pageSize: 10, current: 1, }); }} pagination={{ pageSize: 10, }} onRequestError={fn} rowKey="key" />, ); }); await waitForWaitTime(200); expect(fn).toBeCalledWith(10); }); it('๐ŸŽ pagination current', async () => { const fn = vi.fn(); const pageSizeFn = vi.fn(); const html = render( <ProTable size="small" columns={[ { dataIndex: 'money', valueType: 'money', }, ]} request={(params) => { fn(params.current); pageSizeFn(params.pageSize); return request(params); }} pagination={{ current: 2, }} onRequestError={fn} rowKey="key" />, ); await waitForWaitTime(1200); expect(fn).toBeCalledWith(2); expect(pageSizeFn).toBeCalledWith(20); act(() => { html.rerender( <ProTable size="small" columns={[ { dataIndex: 'money', valueType: 'money', }, ]} request={(params) => { fn(params.current); pageSizeFn(params.pageSize); return request(params); }} pagination={{ current: 3, }} onRequestError={fn} rowKey="key" />, ); }); await waitForWaitTime(1200); expect(fn).toBeCalledWith(3); }); it('๐ŸŽ pagination=false, do not have pageParams', async () => { const fn = vi.fn(); const html = render( <ProTable size="small" columns={[ { dataIndex: 'money', valueType: 'money', }, ]} request={(params) => { fn(params.pageSize); return request({ pageSize: 10, current: 1, }); }} pagination={false} onRequestError={() => null} rowKey="key" />, ); await waitForWaitTime(1200); expect(fn).toBeCalledWith(undefined); act(() => { html.rerender( <ProTable size="small" columns={[ { dataIndex: 'money', valueType: 'money', }, ]} request={(params) => { fn(params.pageSize); return request({ pageSize: 10, }); }} pagination={{ pageSize: 10, }} onRequestError={() => null} rowKey="key" />, ); }); await waitForWaitTime(200); expect(fn).toBeCalledWith(10); }); it('๐ŸŽ request call once when data.length more then pageSize', async () => { const fn = vi.fn(); const html = render( <ProTable<{ money: number; }> size="small" columns={[ { dataIndex: 'money', valueType: 'money', }, ]} pagination={{ pageSize: 1, }} rowKey="key" request={() => { fn(); return new Promise((resolve) => { resolve({ success: true, total: 2, data: [ { money: 1, }, { money: 2, }, ], }); }); }} />, ); await waitForWaitTime(1200); act(() => { html.queryByText('1')?.click(); }); await waitForWaitTime(200); expect(fn).toBeCalledTimes(1); }); it('๐ŸŽ pagination was correct in controlled mode && params was in deep comparison', async () => { const currentFn = vi.fn(); const html = render( <ProTable size="small" columns={[ { dataIndex: 'money', valueType: 'money', }, ]} params={{}} pagination={{ pageSize: 1, onChange: (page) => { currentFn(page); }, }} rowKey="key" request={() => { return request({ pageSize: 1, current: 1, }); }} />, ); await waitForWaitTime(1200); await act(async () => { html.queryByText('2')?.click(); }); await act(async () => { html.rerender( <ProTable size="small" columns={[ { dataIndex: 'money', valueType: 'money', }, ]} params={{ name: '111' }} pagination={{ pageSize: 1, onChange: (page) => { currentFn(page); }, }} rowKey="key" request={() => { return request({ pageSize: 1, current: 1, }); }} />, ); }); await waitForWaitTime(200); expect(currentFn).toBeCalledWith(2); }); }); afterEach(() => { cleanup(); }); describe('TableDropdown', () => { it('TableDropdown support onSelect', async () => { const fn = vi.fn(); const html = render( <TableDropdown onSelect={fn} key="actionGroup" menus={[ { key: 'copy', name: 'ๅคๅˆถ' }, { key: 'delete', name: 'ๅˆ ้™ค' }, ]} />, ); await act(async () => { const button = await html.findByRole('img'); fireEvent.mouseEnter(button); }); await waitForWaitTime(1000); await act(async () => { const button = await html.findByText('ๅคๅˆถ'); button.click(); }); expect(fn).toBeCalledWith('copy'); }); });
9,200
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/polling.test.tsx
import ProTable from '@ant-design/pro-table'; import { act, cleanup, render, waitFor } from '@testing-library/react'; import useFetchData from '../../packages/table/src/useFetchData'; import { columns } from './demo'; afterEach(() => { cleanup(); }); describe('polling', () => { it('โฑ๏ธ polling should clearTime', async () => { const fn = vi.fn(); vi.useFakeTimers(); const html = render( <ProTable size="small" cardBordered search={false} pagination={false} toolBarRender={false} columns={[ { title: 'Name', dataIndex: 'name', }, ]} polling={1500} request={async (params) => { fn(params); return Promise.resolve({ data: [ { key: '1', name: 'John Brown', }, ], success: true, }); }} rowKey="key" />, ); await waitFor(() => { return html.findAllByText('ๆš‚ๆ— ๆ•ฐๆฎ'); }); await waitFor(() => { expect(fn).toBeCalledTimes(1); }); act(() => { vi.runOnlyPendingTimers(); }); await waitFor(() => { expect(fn).toBeCalled(); }); act(() => { vi.runOnlyPendingTimers(); }); await waitFor(() => { expect(fn).toBeCalled(); }); act(() => { vi.runOnlyPendingTimers(); }); await waitFor(() => { expect(fn).toBeCalledTimes(2); }); expect(fn).toBeCalledTimes(2); vi.useRealTimers(); }); it('โฑ๏ธ polling should clearTime when useFetchData', async () => { const fn = vi.fn(); vi.useFakeTimers(); const App = (props: { getData: () => void }) => { useFetchData( async () => { props.getData?.(); return { data: [], }; }, [], { pageInfo: {}, polling: 1500, manual: false, postData: () => [], loading: false, }, ); return <div />; }; render( <App getData={() => { fn(); }} />, ); await waitFor(() => { expect(fn).toBeCalledTimes(1); }); act(() => { vi.runAllTimers(); }); await waitFor(() => { expect(fn).toBeCalledTimes(1); }); act(() => { vi.runAllTimers(); }); await waitFor(() => { expect(fn).toBeCalledTimes(2); }); expect(fn).toBeCalledTimes(2); vi.useRealTimers(); }); it('โฑ๏ธ polling min time is 2000', async () => { const fn = vi.fn(); vi.useFakeTimers(); const html = render( <ProTable size="small" cardBordered search={false} pagination={false} columns={columns} polling={1000} request={async () => { fn(); return Promise.resolve({ data: [], success: true, }); }} rowKey="key" />, ); await waitFor(() => { return html.findAllByText('ๆš‚ๆ— ๆ•ฐๆฎ'); }); await act(() => { vi.advanceTimersByTime(1000); }); await waitFor(() => { expect(fn).toBeCalledTimes(1); }); await act(() => { vi.advanceTimersByTime(2000); }); await waitFor(() => { expect(fn).toBeCalledTimes(2); }); vi.useRealTimers(); }); it('โฑ๏ธ polling time=3000', async () => { const fn = vi.fn(); vi.useFakeTimers(); const html = render( <ProTable polling={3000} size="small" cardBordered search={false} pagination={false} toolBarRender={false} columns={[ { title: 'Name', dataIndex: 'name', }, ]} request={async (params) => { fn(params); return Promise.resolve({ data: [ { key: '1', name: 'John Brown', }, ], success: true, }); }} rowKey="key" />, ); await waitFor(() => { return html.findAllByText('ๆš‚ๆ— ๆ•ฐๆฎ'); }); await act(() => { return vi.advanceTimersByTime(1000); }); await waitFor(() => { expect(fn).toBeCalledTimes(1); }); await act(() => { return vi.advanceTimersByTime(1000); }); await waitFor(() => { expect(fn).toBeCalledTimes(1); }); await act(() => { return vi.advanceTimersByTime(2000); }); await waitFor(() => { expect(fn).toBeCalledTimes(2); }); vi.useRealTimers(); }); it('โฑ๏ธ polling support function', async () => { const fn = vi.fn(); vi.useFakeTimers(); const html = render( <ProTable polling={() => { return 2000; }} size="small" cardBordered search={false} pagination={false} toolBarRender={false} columns={[ { title: 'Name', dataIndex: 'name', }, ]} request={async (params) => { fn(params); return Promise.resolve({ data: [ { key: '1', name: 'John Brown', }, ], success: true, }); }} rowKey="key" />, ); await waitFor(() => { return html.findAllByText('ๆš‚ๆ— ๆ•ฐๆฎ'); }); await act(() => { return vi.runOnlyPendingTimers(); }); await waitFor(() => { expect(fn).toBeCalledTimes(1); }); await act(() => { return vi.runOnlyPendingTimers(); }); await waitFor(() => { expect(fn).toBeCalledTimes(1); }); await waitFor(() => { expect(fn).toBeCalledTimes(2); }); vi.useRealTimers(); }); });
9,201
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/protableSpin.test.tsx
// import { LoadingOutlined, ReloadOutlined } from '@ant-design/icons'; import type { ProColumns, ProFormInstance } from '@ant-design/pro-components'; import { ProTable } from '@ant-design/pro-components'; import { act, cleanup, render } from '@testing-library/react'; import { Button } from 'antd'; import { useRef, useState } from 'react'; import { waitForWaitTime } from '../util'; export type TableListItem = { key: number; name: string; }; const columns: ProColumns<TableListItem>[] = [ { title: 'ๆ ‡้ข˜', dataIndex: 'name', key: 'name', }, { title: 'ๅˆ›ๅปบๆ—ถ้—ด', key: 'since', dataIndex: 'createdAt', valueType: 'dateTime', }, ]; // demo const ProTableSpinDemo = () => { const ref = useRef<ProFormInstance>(); const [collapsed, setCollapsed] = useState(false); const [loading, setLoading] = useState({ spinning: true, delay: 1000 }); const [polling, setPolling] = useState<any>(undefined); return ( <ProTable<TableListItem> columns={columns} loading={loading} polling={polling} request={() => Promise.resolve({ data: [ { key: 1, name: `TradeCode ${1}`, createdAt: new Date(), }, ], success: true, }) } rowKey="key" pagination={{ showSizeChanger: true, }} search={{ collapsed, onCollapse: setCollapsed, }} formRef={ref} toolBarRender={() => [ <Button key="set" onClick={() => { if (polling) { setPolling(undefined); return; } setPolling(1000); }} > setPolling </Button>, <Button key="submit" onClick={() => { if (ref.current) { ref.current.submit(); } }} > ๆไบค </Button>, ]} postData={(data: any) => { setTimeout(() => { setLoading({ ...loading, spinning: false, }); }, 3000); return data; }} options={false} dateFormatter="string" headerTitle="่กจๅ•่ต‹ๅ€ผ" /> ); }; export default ProTableSpinDemo; afterEach(() => { cleanup(); }); describe('ProTable test', () => { it('loading and polling props', async () => { const fn = vi.fn(); const html = render( <ProTable loading={{ spinning: true, delay: 1000 }} polling={2000} request={async () => { fn(); return Promise.resolve({ data: [], total: 20, success: true, }); }} />, ); await waitForWaitTime(1200); expect(fn).toBeCalledTimes(1); act(() => { html.rerender( <ProTable loading={{ spinning: false, delay: 1000 }} polling={undefined} request={async () => { fn(); return Promise.resolve({ data: [], total: 20, success: true, }); }} />, ); }); }); it('boolean loading and polling props', async () => { const html = render(<ProTable loading={true} polling={2000} />); await waitForWaitTime(1200); act(() => { html.rerender( <ProTable loading={false} polling={undefined} request={async () => { return Promise.resolve({ data: [], total: 20, success: true, }); }} />, ); }); }); });
9,202
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/search.test.tsx
import type { ProFormInstance } from '@ant-design/pro-components'; import { ProTable } from '@ant-design/pro-components'; import { act, cleanup, fireEvent, render, waitFor, } from '@testing-library/react'; import type { FormInstance } from 'antd'; import { Input } from 'antd'; import dayjs from 'dayjs'; import React, { createRef } from 'react'; import { waitTime } from '../util'; afterEach(() => { cleanup(); }); describe('BasicTable Search', () => { process.env.NODE_ENV = 'TEST'; const LINE_STR_COUNT = 20; Object.defineProperty(HTMLElement.prototype, 'offsetHeight', { get() { let html = this.innerHTML; html = html.replace(/<[^>]*>/g, ''); const lines = Math.ceil(html.length / LINE_STR_COUNT); return lines * 16; }, }); // Mock getComputedStyle const originGetComputedStyle = window.getComputedStyle; window.getComputedStyle = (ele) => { const style = originGetComputedStyle(ele); style.lineHeight = '16px'; return style; }; it('๐ŸŽ submit test', async () => { const fn = vi.fn(); const paramsFn = vi.fn(); const html = render( <ProTable size="small" columns={[ { title: '้‡‘้ข', dataIndex: 'money', valueType: 'money', order: 9, }, { title: 'Name', key: 'name', dataIndex: 'name', order: 1, }, ]} onSubmit={fn} request={async (params) => { paramsFn(params.current, params.pageSize); return { data: [{ key: 1, name: '1', money: 1 }], }; }} rowKey="key" />, ); const dom = await (await html.findAllByText('ๆŸฅ ่ฏข')).at(0); act(() => { dom?.click(); }); await waitFor(() => { expect(fn).toBeCalledTimes(1); expect(paramsFn).toBeCalledWith(1, 20); }); }); it('๐ŸŽ reset test', async () => { const fn = vi.fn(); const resetFn = vi.fn(); const html = render( <ProTable size="small" columns={[ { title: '้‡‘้ข', dataIndex: 'money', valueType: 'money', }, { title: 'Name', key: 'name', dataIndex: 'name', }, ]} onReset={resetFn} request={async () => { fn(); return { data: [{ key: 1, name: '1', money: 1 }], }; }} rowKey="key" />, ); await waitFor(() => { expect(fn).toBeCalledTimes(1); }); const dom = await (await html.findAllByText('้‡ ็ฝฎ')).at(0); act(() => { dom?.click(); }); await waitFor(() => { expect(fn).toBeCalledTimes(2); expect(resetFn).toBeCalledTimes(1); }); }); it('๐ŸŽ reset test when pagination is false', async () => { const fn = vi.fn(); const resetFn = vi.fn(); vi.useFakeTimers(); const html = render( <ProTable size="small" columns={[ { title: '้‡‘้ข', dataIndex: 'money', valueType: 'money', }, { title: 'Name', key: 'name', dataIndex: 'name', }, ]} onReset={resetFn} pagination={false} request={async () => { fn(); return { data: [{ key: 1, name: '1', money: 1 }], }; }} rowKey="key" />, ); await html.findAllByText('้‡ ็ฝฎ'); act(() => { vi.runOnlyPendingTimers(); }); const dom = await (await html.findAllByText('้‡ ็ฝฎ')).at(0); act(() => { dom?.click(); }); await waitFor(() => { expect(fn).toBeCalledTimes(2); expect(resetFn).toBeCalledTimes(1); }); vi.useRealTimers(); }); it('๐ŸŽ table will render loading dom', async () => { const fn = vi.fn(); const html = render( <ProTable size="small" columns={[ { title: '้‡‘้ข', dataIndex: 'money', valueType: 'money', }, { title: 'Name', key: 'name', children: [ { title: '้‡‘้ข', dataIndex: 'money', valueType: 'money', }, { title: 'ๅง“ๅ', dataIndex: 'name', valueType: 'money', }, ], }, ]} search={false} request={async () => { fn(); await waitTime(5000000); return { data: [{ key: 1, name: '1', money: 1 }], }; }} rowKey="key" />, ); await html.findAllByText('ๆš‚ๆ— ๆ•ฐๆฎ'); await waitFor(() => { expect(fn).toBeCalledTimes(1); }); await waitFor(() => { expect(!!html.baseElement.querySelector('.ant-spin')).toBeTruthy(); }); }); it('๐ŸŽ manualRequest no render loading dom', async () => { const fn = vi.fn(); const html = render( <ProTable size="small" columns={[ { title: '้‡‘้ข', dataIndex: 'money', valueType: 'money', }, { title: 'Name', key: 'name', children: [ { title: '้‡‘้ข', dataIndex: 'money', valueType: 'money', }, { title: 'ๅง“ๅ', dataIndex: 'name', valueType: 'money', }, ], }, ]} manualRequest request={async () => { fn(); return { data: [{ key: 1, name: '1', money: 1 }], }; }} rowKey="key" />, ); await html.findAllByText('ๅง“ๅ'); expect(fn).toBeCalledTimes(0); expect(!!html.baseElement.querySelector('.ant-spin')).toBeFalsy(); html.unmount(); }); it('๐ŸŽ manualRequest test', async () => { const requestFn = vi.fn(); vi.useFakeTimers(); const actionRef = React.createRef<any>(); const html = render( <ProTable size="small" columns={[ { title: '้‡‘้ข', dataIndex: 'money', valueType: 'money', }, ]} search={false} actionRef={actionRef} manualRequest request={async () => { requestFn(); return { data: [ { key: '1', money: '12000', }, ], }; }} rowKey="key" />, ); await waitFor(() => { expect(requestFn).toBeCalledTimes(0); }); act(() => { vi.runOnlyPendingTimers(); }); act(() => { actionRef.current?.reload(); }); await html.findAllByText('ยฅ12,000.00'); await waitFor(() => { expect(requestFn).toBeCalledTimes(1); }); vi.useRealTimers(); }); it('๐ŸŽ search span test', async () => { const html = render( <ProTable size="small" search={{ defaultCollapsed: false, searchText: 'Search', span: { xs: 12, sm: 12, md: 12, lg: 12, xl: 12, xxl: 12, }, }} columns={[ { title: '้‡‘้ข', dataIndex: 'money', valueType: 'money', }, { title: 'Name', key: 'name', dataIndex: 'name', }, ]} dataSource={[{ key: 1, name: '1', money: 1 }]} rowKey="key" />, ); await waitFor(() => { expect( !!html.baseElement.querySelector('.ant-col.ant-col-12'), ).toBeTruthy(); }); }); it('๐ŸŽ transform test', async () => { const fn = vi.fn(); let formValues = { origin: '', status: '', startTime: '', endTime: '' }; const html = render( <ProTable columns={[ { title: 'origin', dataIndex: 'origin', initialValue: 'origin', }, { title: 'state', dataIndex: 'state', initialValue: 'state', search: { transform: (value) => ({ status: value }), }, }, { title: 'createdAt', dataIndex: 'dateRange', initialValue: ['2020-09-11', '2020-09-22'], search: { transform: (value: any) => ({ startTime: value[0], endTime: value[1], }), }, }, ]} dataSource={[{ key: 1, name: '1', money: 1 }]} onSubmit={(values) => { fn(values); formValues = values as any; }} rowKey="key" />, ); const dom = await (await html.findAllByText('ๆŸฅ ่ฏข')).at(0); act(() => { dom?.click(); }); await waitFor(() => { expect(formValues.origin).toBe('origin'); expect(formValues.status).toBe('state'); expect(formValues.startTime).toBe('2020-09-11'); expect(formValues.endTime).toBe('2020-09-22'); expect(fn).toBeCalledTimes(1); }); html.unmount(); }); it('๐ŸŽ renderFormItem test and fieldProps onChange', async () => { const fn = vi.fn(); const onChangeFn = vi.fn(); const html = render( <ProTable size="small" form={{ onValuesChange: (_, values) => { fn(values.money); }, }} columns={[ { title: '้‡‘้ข', dataIndex: 'money', valueType: 'money', fieldProps: { onChange: (e: any) => { onChangeFn(e.target.value); }, }, renderFormItem: () => { return <Input id="renderFormItem" placeholder="renderFormItem" />; }, }, { title: 'Name', key: 'name', dataIndex: 'name', }, ]} dataSource={[{ key: 1, name: '1', money: 1 }]} rowKey="key" />, ); await html.findAllByPlaceholderText('renderFormItem'); expect(html.baseElement.querySelector('input#renderFormItem')).toBeTruthy(); act(() => { fireEvent.change( html.baseElement.querySelector('input#renderFormItem')!, { target: { value: '12' }, }, ); }); await waitFor(() => { expect(onChangeFn).toBeCalledWith('12'); expect(fn).toBeCalledWith('12'); }); html.unmount(); }); it('๐ŸŽ renderFormItem support return false', async () => { const formRef = createRef<FormInstance | null>(); const html = render( <ProTable size="small" formRef={formRef as any} columns={[ { title: '้‡‘้ข', dataIndex: 'money', valueType: 'money', formItemProps: { className: 'money-class', }, renderFormItem: () => false, }, { title: 'Name', key: 'name', dataIndex: 'name', }, ]} dataSource={[]} rowKey="key" />, ); await html.findAllByText('Name'); expect(html.baseElement.querySelectorAll('div.ant-form-item').length).toBe( 2, ); expect(html.baseElement.querySelectorAll('.money-class').length).toBe(0); act(() => { html.rerender( <ProTable size="small" formRef={formRef as any} columns={[ { title: '้‡‘้ข', dataIndex: 'money', valueType: 'money', formItemProps: { className: 'money-class', }, renderFormItem: () => <div />, }, { title: 'Name', key: 'name', dataIndex: 'name', }, ]} dataSource={[]} rowKey="key" />, ); }); await waitFor(() => { expect(html.baseElement.querySelectorAll('div.money-class').length).toBe( 1, ); expect( html.baseElement.querySelectorAll('div.ant-form-item').length, ).toBe(3); }); act(() => { html.rerender( <ProTable size="small" formRef={formRef as any} columns={[ { title: '้‡‘้ข', dataIndex: 'money', valueType: 'money', }, { title: 'Name', key: 'name', dataIndex: 'name', }, ]} dataSource={[]} rowKey="key" />, ); }); await waitFor(() => { expect( html.baseElement.querySelectorAll('div.ant-form-item').length, ).toBe(3); }); }); it('๐ŸŽ request load success false', async () => { const html = render( <ProTable size="small" columns={[ { title: '้‡‘้ข', dataIndex: 'money', valueType: 'money', renderFormItem: () => <Input id="renderFormItem" />, }, { title: 'Name', key: 'name', dataIndex: 'name', }, ]} dataSource={[]} rowKey="key" />, ); await html.findAllByText('้‡‘้ข'); await waitFor(() => { expect(html.baseElement.querySelector('.ant-empty')).toBeTruthy(); }); html.unmount(); }); it('๐ŸŽ request load null', async () => { const html = render( <ProTable size="small" columns={[ { title: '้‡‘้ข', dataIndex: 'money', valueType: 'money', renderFormItem: () => <Input id="renderFormItem" />, }, { title: 'Name', key: 'name', dataIndex: 'name', }, ]} // @ts-expect-error request={async () => { return null; }} rowKey="key" />, ); await waitFor(() => { expect(() => { // @ts-ignore html.dive().html(); }).toThrowError(); }); html.unmount(); }); it('๐ŸŽ request load more time', async () => { const TableDemo: React.FC<{ v: boolean }> = ({ v }) => { return v ? ( <ProTable size="small" search={false} columns={[ { title: '้‡‘้ข', dataIndex: 'money', valueType: 'money', renderFormItem: () => <Input id="renderFormItem" />, }, { title: 'Name', key: 'name', dataIndex: 'name', }, ]} dataSource={[{ key: 1, name: '1', money: 1 }]} rowKey="key" /> ) : ( <>qixian</> ); }; const html = render(<TableDemo v />); await html.findAllByText('้‡‘้ข'); act(() => { html.rerender(<TableDemo v={false} />); }); await html.findAllByText('qixian'); expect(html.baseElement.textContent).toBe('qixian'); html.unmount(); }); it('๐ŸŽ when dateFormatter is a Function', async () => { const fn2 = vi.fn(); const html = render( <ProTable columns={[ { title: 'ๅˆ›ๅปบๆ—ถ้—ด', key: 'since', dataIndex: 'createdAt', valueType: 'dateTime', initialValue: '2020-09-11 00:00:00', }, ]} request={(params) => { fn2(params.since); return Promise.resolve({ data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }); }} rowKey="key" pagination={{ showSizeChanger: true, }} options={false} dateFormatter={(value) => { return value.format('YYYY/MM/DD HH:mm:ss'); }} headerTitle="่กจๅ•่ต‹ๅ€ผ" />, ); await html.findAllByText('ๅˆ›ๅปบๆ—ถ้—ด'); const dom = await (await html.findAllByText('ๆŸฅ ่ฏข')).at(0); act(() => { dom?.click(); }); await waitFor(() => { expect(fn2).toBeCalledWith('2020-09-11 00:00:00'); }); }); it('๐ŸŽ ProTable support formRef', async () => { const onSubmitFn = vi.fn(); const formRef = React.createRef<ProFormInstance | undefined>(); const html = render( <ProTable formRef={formRef as any} columns={[ { title: 'ๅˆ›ๅปบๆ—ถ้—ด', key: 'since', dataIndex: 'createdAt', valueType: 'date', initialValue: dayjs('2020-09-11 00:00:00'), }, ]} request={() => { return Promise.resolve({ data: [ { key: 1, name: `TradeCode ${1}`, createdAt: 1602572994055, }, ], success: true, }); }} dateFormatter="string" onSubmit={(params) => { onSubmitFn(params.since); }} rowKey="key" pagination={{ showSizeChanger: true, }} options={false} headerTitle="่กจๅ•่ต‹ๅ€ผ" />, ); await html.findAllByText('ๅˆ›ๅปบๆ—ถ้—ด'); act(() => { formRef.current?.submit(); }); await waitFor(() => { expect(onSubmitFn).toBeCalledWith('2020-09-11'); }); expect(formRef.current?.getFieldFormatValue?.().since).toBe('2020-09-11'); }); });
9,203
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/searchGutter.test.tsx
import ProTable from '@ant-design/pro-table'; import { cleanup, render } from '@testing-library/react'; import { waitForWaitTime } from '../util'; afterEach(() => { cleanup(); }); describe('BasicTable SearchGutter', () => { const LINE_STR_COUNT = 20; // Mock offsetHeight // @ts-expect-error const originOffsetHeight = Object.getOwnPropertyDescriptor( HTMLElement.prototype, 'offsetHeight', ).get; Object.defineProperty(HTMLElement.prototype, 'offsetHeight', { get() { let html = this.innerHTML; html = html.replace(/<[^>]*>/g, ''); const lines = Math.ceil(html.length / LINE_STR_COUNT); return lines * 16; }, }); // Mock getComputedStyle const originGetComputedStyle = window.getComputedStyle; window.getComputedStyle = (ele) => { const style = originGetComputedStyle(ele); style.lineHeight = '16px'; return style; }; beforeAll(() => { process.env.NODE_ENV = 'TEST'; }); afterAll(() => { Object.defineProperty(HTMLElement.prototype, 'offsetHeight', { get: originOffsetHeight, }); window.getComputedStyle = originGetComputedStyle; }); it('๐ŸŽ ProTable support searchGutter', async () => { const html = render( <ProTable size="small" options={{ fullScreen: false, reload: false, setting: false, }} search={{ searchGutter: [16, 24], }} columns={[ { dataIndex: 'money', valueType: 'money', }, ]} dataSource={[]} rowKey="key" />, ); await waitForWaitTime(1200); const ele = html.baseElement.querySelector<HTMLDivElement>('.ant-form'); expect(ele).toMatchSnapshot(); }); it('๐ŸŽ ProTable searchGutter default is [24 0]', async () => { const html = render( <ProTable size="small" options={{ fullScreen: false, reload: false, setting: false, }} search={{ searchGutter: 12, }} columns={[ { dataIndex: 'money', valueType: 'money', }, ]} dataSource={[]} rowKey="key" />, ); await waitForWaitTime(1200); const ele = html.baseElement.querySelector<HTMLDivElement>('.ant-col'); expect(ele?.style.paddingLeft).toBe('6px'); }); });
9,204
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/selectKeys.test.tsx
import ProTable from '@ant-design/pro-table'; import { act, cleanup, render, waitFor } from '@testing-library/react'; import React, { useState } from 'react'; import { waitForWaitTime } from '../util'; import { getFetchData } from './demo'; afterEach(() => { cleanup(); }); describe('BasicTable Search', () => { const LINE_STR_COUNT = 20; // Mock offsetHeight // @ts-expect-error const originOffsetHeight = Object.getOwnPropertyDescriptor( HTMLElement.prototype, 'offsetHeight', ).get; Object.defineProperty(HTMLElement.prototype, 'offsetHeight', { get() { let html = this.innerHTML; html = html.replace(/<[^>]*>/g, ''); const lines = Math.ceil(html.length / LINE_STR_COUNT); return lines * 16; }, }); // Mock getComputedStyle const originGetComputedStyle = window.getComputedStyle; window.getComputedStyle = (ele) => { const style = originGetComputedStyle(ele); style.lineHeight = '16px'; return style; }; afterAll(() => { Object.defineProperty(HTMLElement.prototype, 'offsetHeight', { get: originOffsetHeight, }); window.getComputedStyle = originGetComputedStyle; }); it('๐ŸŽ filter test', async () => { const fn = vi.fn(); const html = render( <ProTable size="small" columns={[ { title: 'Name', key: 'name', dataIndex: 'name', }, { title: '็Šถๆ€', dataIndex: 'status', hideInForm: true, filters: true, valueEnum: { 0: { text: 'ๅ…ณ้—ญ', status: 'Default' }, 1: { text: '่ฟ่กŒไธญ', status: 'Processing' }, 2: { text: 'ๅทฒไธŠ็บฟ', status: 'Success' }, 3: { text: 'ๅผ‚ๅธธ', status: 'Error' }, }, }, ]} rowSelection={{ onChange: fn, }} dataSource={getFetchData(60)} rowKey="key" />, ); await waitForWaitTime(200); act(() => { html.baseElement .querySelectorAll<HTMLInputElement>( '.ant-table-cell label.ant-checkbox-wrapper input', )[1] ?.click(); }); await waitForWaitTime(200); expect(fn).toBeCalledTimes(1); }); it('โœ”๏ธ selected rows support row is function', async () => { const fn = vi.fn(); const DemoTable = () => { const columns = [ { title: 'ๅๅญ—', dataIndex: 'name', }, { title: 'ๅนด้พ„', dataIndex: 'age', }, { title: '็ผ–ๅท', dataIndex: 'id', }, ]; const dataSource = [ { name: 'ๅผ ไธ‰', age: 18, id: '001', }, { name: 'ๆŽๅ››', age: 19, id: '002', }, ]; const [selectedRowKeys, setSelectedRowKeys] = useState<React.Key[]>([ '001', '002', ]); return ( <ProTable columns={columns} dataSource={dataSource} rowKey={(record) => record.id} rowSelection={{ selectedRowKeys, onChange: (newSelectedRowKeys) => { setSelectedRowKeys(newSelectedRowKeys); }, }} tableAlertOptionRender={false} tableAlertRender={({ selectedRows }) => { const text = selectedRows.map((row) => row.name).join(','); fn(text); return <div>{text}</div>; }} /> ); }; render(<DemoTable />); await waitFor(() => { expect(fn).toBeCalledWith('ๅผ ไธ‰,ๆŽๅ››'); }); }); });
9,205
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/valueEnum.test.tsx
import ProProvider from '@ant-design/pro-provider'; import ProTable from '@ant-design/pro-table'; import { act, cleanup, render, waitFor } from '@testing-library/react'; import { Input } from 'antd'; import { useContext } from 'react'; import { waitForWaitTime } from '../util'; const Demo = () => { const values = useContext(ProProvider); return ( <ProProvider.Provider value={{ ...values, valueTypeMap: { link: { render: (text) => <a>{text}</a>, renderFormItem: (text, props) => ( <Input placeholder="่ฏท่พ“ๅ…ฅ้“พๆŽฅ" {...props?.fieldProps} /> ), }, }, }} > <ProTable<any, Record<string, any>, 'link' | 'tags'> columns={[ { title: '้“พๆŽฅ', dataIndex: 'name', valueType: 'link', }, ]} request={() => { return Promise.resolve({ total: 200, data: [ { key: 1, name: 'test', }, ], success: true, }); }} rowKey="key" /> </ProProvider.Provider> ); }; afterEach(() => { cleanup(); }); describe('Table valueEnum', () => { it('๐ŸŽ dynamic enum test', async () => { const html = render( <ProTable size="small" columns={[ { title: '็Šถๆ€', dataIndex: 'status', valueType: 'select', valueEnum: {}, fieldProps: { open: true, }, }, ]} request={async () => ({ data: [ { status: 2, key: '1', }, ], })} rowKey="key" />, ); await waitFor(() => { return html.findAllByText('2'); }); act(() => { html.rerender( <ProTable size="small" request={async () => ({ data: [ { status: 2, key: '1', }, ], })} rowKey="key" columns={[ { title: '็Šถๆ€', valueType: 'select', dataIndex: 'status', valueEnum: { 0: { text: 'ๅ…ณ้—ญ', status: 'Default' }, 1: { text: '่ฟ่กŒไธญ', status: 'Processing', disabled: true }, 2: { text: 'ๅทฒไธŠ็บฟ', status: 'Success' }, 3: { text: 'ๅผ‚ๅธธ', status: 'Error' }, }, fieldProps: { open: true, }, }, ]} />, ); }); await waitFor(() => { return html.findAllByText('ๅทฒไธŠ็บฟ'); }); act(() => { html.baseElement .querySelector<HTMLDivElement>('form.ant-form div.ant-select') ?.click(); }); act(() => { expect( html.baseElement.querySelector<HTMLDivElement>( 'div.ant-select-dropdown', )?.textContent, ).toBe('01ๅ…ณ้—ญ่ฟ่กŒไธญๅทฒไธŠ็บฟๅผ‚ๅธธ'); }); console.log(html.baseElement.querySelector('table')?.innerHTML); expect( html.baseElement.querySelector<HTMLDivElement>('td.ant-table-cell') ?.textContent, ).toBe('ๅทฒไธŠ็บฟ'); }); it('๐ŸŽ customization valueType', async () => { const html = render(<Demo />); await waitForWaitTime(1200); expect(html.asFragment()).toMatchSnapshot(); }); it('๐ŸŽ dynamic request', async () => { const request = vi.fn(); render( <ProTable size="small" columns={[ { title: '็Šถๆ€', dataIndex: 'status', valueType: 'select', valueEnum: {}, fieldProps: { open: true, }, request: async (_, config) => { request(config.record); return []; }, }, ]} rowKey="key" request={async () => { return { data: [ { status: 2, key: '1', }, ], }; }} />, ); await waitFor(() => { expect(request).toHaveBeenCalledTimes(1); }); }); });
9,206
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/table/valueType.test.tsx
import { ProProvider } from '@ant-design/pro-provider'; import ProTable from '@ant-design/pro-table'; import { act, cleanup, fireEvent, render } from '@testing-library/react'; import { Input } from 'antd'; import { waitForWaitTime } from '../util'; const cascaderOptions = [ { field: 'front end', value: 'fe', language: [ { field: 'Javascript', value: 'js', }, { field: 'Typescript', value: 'ts', }, ], }, { field: 'back end', value: 'be', language: [ { field: 'Java', value: 'java', }, { field: 'Go', value: 'go', }, ], }, ]; const defaultProps = { columns: [ { title: 'ๆ ‡็ญพ', dataIndex: 'name', key: 'name', valueType: 'link', fieldProps: { color: 'red', }, }, { title: 'ๆ ‘ๅฝขไธ‹ๆ‹‰ๆก†', key: 'treeSelect', dataIndex: 'treeSelect', width: 100, fieldProps: { options: cascaderOptions, fieldNames: { children: 'language', label: 'field', }, showSearch: true, filterTreeNode: true, multiple: true, treeNodeFilterProp: 'field', }, valueType: 'treeSelect', }, ], rowKey: 'key', request: () => { return Promise.resolve({ total: 200, data: [ { key: 0, name: 'TradeCode 0', }, ], success: true, }); }, }; afterEach(() => { cleanup(); }); describe('BasicTable valueType', () => { it('๐ŸŽ table support user valueType', async () => { const html = render( <ProProvider.Provider value={ { valueTypeMap: { link: { render: (text: any) => <a id="link">{text}</a>, renderFormItem: (_: any, props: any) => ( <Input placeholder="่ฏท่พ“ๅ…ฅ้“พๆŽฅ" id="name" {...props?.fieldProps} /> ), }, }, } as any } > <ProTable form={{ initialValues: { name: 'TradeCode' }, }} {...defaultProps} /> </ProProvider.Provider>, ); await waitForWaitTime(1200); expect((await html.findAllByText('TradeCode 0')).length).toBe(1); expect(!!html.asFragment().querySelector('input#name')).toBeTruthy(); expect( (html.asFragment().querySelector('input#name') as HTMLInputElement).value, ).toBe('TradeCode'); html.unmount(); }); it('๐ŸŽ table valueType render support fieldProps', async () => { const html = render( <ProProvider.Provider value={ { valueTypeMap: { link: { render: (text: any, { fieldProps }: any) => ( <a id="link"> {text} {fieldProps.color} </a> ), renderFormItem: (_: any, props: any) => ( <Input placeholder="่ฏท่พ“ๅ…ฅ้“พๆŽฅ" id="name" {...props?.fieldProps} /> ), }, }, } as any } > <ProTable form={{ initialValues: { name: 'TradeCode' }, }} {...defaultProps} /> </ProProvider.Provider>, ); await waitForWaitTime(1200); expect((await html.findAllByText('TradeCode 0red')).length).toBe(1); expect(!!html.asFragment().querySelector('input#name')).toBeTruthy(); expect( (html.asFragment().querySelector('input#name') as HTMLInputElement).value, ).toBe('TradeCode'); html.unmount(); }); it('๐ŸŽ table support filter when valueType is treeSelect', async () => { const html = render(<ProTable {...defaultProps} />); await waitForWaitTime(1200); act(() => { fireEvent.change(html.baseElement.querySelector('input#treeSelect')!, { target: { value: 'Ja', }, }); }); await waitForWaitTime(300); expect( html.baseElement.querySelectorAll('span[title="Javascript"]').length, ).toBe(1); expect(html.baseElement.querySelectorAll('span[title="Java"]').length).toBe( 1, ); expect( html.baseElement.querySelectorAll('span[title="Typescript"]').length, ).toBe(0); expect(html.baseElement.querySelectorAll('span[title="Go"]').length).toBe( 0, ); act(() => { fireEvent.change(html.baseElement.querySelector('input#treeSelect')!, { target: { value: 'Javasc', }, }); }); await waitForWaitTime(300); expect( html.baseElement.querySelectorAll('span[title="Javascript"]').length, ).toBe(1); expect(html.baseElement.querySelectorAll('span[title="Java"]').length).toBe( 0, ); expect( html.baseElement.querySelectorAll('span[title="Typescript"]').length, ).toBe(0); expect(html.baseElement.querySelectorAll('span[title="Go"]').length).toBe( 0, ); expect(html.asFragment()).toMatchSnapshot(); html.unmount(); }); });
9,207
0
petrpan-code/ant-design/pro-components/tests/table
petrpan-code/ant-design/pro-components/tests/table/__snapshots__/column.test.tsx.snap
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Table ColumnSetting > ๐ŸŽ change text by renderText 1`] = ` <td class="ant-table-cell" > Edward King2144 </td> `; exports[`Table ColumnSetting > ๐ŸŽ columns proFieldProps support custom 1`] = ` <div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="name" title="Name" > Name </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow ant-select-loading" style="width: 100%;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="name_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="name_list" autocomplete="off" class="ant-select-selection-search-input" id="name" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-placeholder" > ่ฏท้€‰ๆ‹ฉ </span> </div> <span aria-hidden="true" class="ant-select-arrow ant-select-arrow-loading" style="user-select: none;" unselectable="on" > <span aria-label="loading" class="anticon anticon-loading anticon-spin" role="img" > <svg aria-hidden="true" data-icon="loading" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-col-offset-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" /> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle ant-table-empty" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup /> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > Name </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-placeholder" > <td class="ant-table-cell" > <div class="ant-empty ant-empty-normal" > <div class="ant-empty-image" > <svg height="41" viewBox="0 0 64 41" width="64" xmlns="http://www.w3.org/2000/svg" > <g fill="none" fill-rule="evenodd" transform="translate(0 1)" > <ellipse cx="32" cy="33" fill="#f5f5f5" rx="32" ry="7" /> <g fill-rule="nonzero" stroke="#d9d9d9" > <path d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z" /> <path d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z" fill="#fafafa" /> </g> </g> </svg> </div> <div class="ant-empty-description" > ๆš‚ๆ— ๆ•ฐๆฎ </div> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> `; exports[`Table ColumnSetting > ๐ŸŽ config provide render 1`] = ` <div> <div class="qixian-pro-table" > <div class="qixian-pro-card qixian-pro-table-search qixian-pro-table-search-query-filter" > <form autocomplete="off" class="qixian-form qixian-form-horizontal qixian-pro-query-filter qixian-pro-form" > <input style="display: none;" type="text" /> <div class="qixian-row qixian-row-start qixian-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="qixian-col qixian-col-8 qixian-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="qixian-form-item" style="flex-wrap: nowrap;" > <div class="qixian-row qixian-form-item-row" > <div class="qixian-col qixian-form-item-label" style="flex: 0 0 80px;" > <label class="" for="name" title="Name" > Name </label> </div> <div class="qixian-col qixian-form-item-control" style="max-width: calc(100% - 80px);" > <div class="qixian-form-item-control-input" > <div class="qixian-form-item-control-input-content" > <span class="qixian-input-affix-wrapper" style="width: 100%;" > <input class="qixian-input" id="name" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="qixian-input-suffix" > <span class="qixian-input-clear-icon qixian-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="qixian-col qixian-col-8 qixian-col-offset-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="qixian-form-item qixian-pro-query-filter-actions" > <div class="qixian-row qixian-form-item-row" > <div class="qixian-col qixian-form-item-label" > <label class="qixian-form-item-no-colon" title=" " > </label> </div> <div class="qixian-col qixian-form-item-control" > <div class="qixian-form-item-control-input" > <div class="qixian-form-item-control-input-content" > <div class="qixian-space qixian-space-horizontal qixian-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="qixian-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="qixian-btn qixian-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="qixian-btn qixian-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="qixian-pro-card" > <div class="qixian-pro-card-body" style="padding-block-start: 0;" > <div class="qixian-pro-table-list-toolbar" > <div class="qixian-pro-table-list-toolbar-container" > <div class="qixian-pro-table-list-toolbar-left" /> <div class="qixian-pro-table-list-toolbar-right" style="align-items: center;" > <div class="qixian-pro-table-list-toolbar-setting-items" > <div class="qixian-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="qixian-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height qixian-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="qixian-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="qixian-table-wrapper" > <div class="qixian-spin-nested-loading" > <div class="qixian-spin-container" > <div class="qixian-table qixian-table-small qixian-table-empty" > <div class="qixian-table-container" > <div class="qixian-table-content" > <table style="table-layout: auto;" > <colgroup /> <thead class="qixian-table-thead" > <tr> <th class="qixian-table-cell" scope="col" > Name </th> </tr> </thead> <tbody class="qixian-table-tbody" > <tr class="qixian-table-placeholder" > <td class="qixian-table-cell" > <div class="qixian-empty qixian-empty-normal" > <div class="qixian-empty-image" > <svg height="41" viewBox="0 0 64 41" width="64" xmlns="http://www.w3.org/2000/svg" > <g fill="none" fill-rule="evenodd" transform="translate(0 1)" > <ellipse cx="32" cy="33" fill="#f5f5f5" rx="32" ry="7" /> <g fill-rule="nonzero" stroke="#d9d9d9" > <path d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z" /> <path d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z" fill="#fafafa" /> </g> </g> </svg> </div> <div class="qixian-empty-description" > ๆš‚ๆ— ๆ•ฐๆฎ </div> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> `; exports[`Table ColumnSetting > ๐ŸŽ extra columns 1`] = ` <div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="name" title="Name" > Name </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="name" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-col-offset-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" /> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col /> <col class="ant-table-expand-icon-col" /> <col class="ant-table-selection-col" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > Name </th> <td class="ant-table-cell ant-table-row-expand-icon-cell" /> <th class="ant-table-cell ant-table-selection-column" scope="col" > <div class="ant-table-selection" > <label class="ant-checkbox-wrapper" > <span class="ant-checkbox ant-wave-target" > <input aria-label="Select all" class="ant-checkbox-input" type="checkbox" /> <span class="ant-checkbox-inner" /> </span> </label> </div> </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > Name 1 </td> <td class="ant-table-cell ant-table-row-expand-icon-cell" > <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" type="button" /> </td> <td class="ant-table-cell ant-table-selection-column" > <label class="ant-checkbox-wrapper" > <span class="ant-checkbox ant-wave-target" > <input class="ant-checkbox-input" type="checkbox" /> <span class="ant-checkbox-inner" /> </span> </label> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell" > Name 2 </td> <td class="ant-table-cell ant-table-row-expand-icon-cell" > <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" type="button" /> </td> <td class="ant-table-cell ant-table-selection-column" > <label class="ant-checkbox-wrapper" > <span class="ant-checkbox ant-wave-target" > <input class="ant-checkbox-input" type="checkbox" /> <span class="ant-checkbox-inner" /> </span> </label> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-2 ๆก/ๆ€ปๅ…ฑ 2 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> `;
9,208
0
petrpan-code/ant-design/pro-components/tests/table
petrpan-code/ant-design/pro-components/tests/table/__snapshots__/demo.test.ts.snap
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/components/DragSortTable/demos/drag.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="sort" title="ๆŽ’ๅบ" > ๆŽ’ๅบ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="sort" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="name" title="ๅง“ๅ" > ๅง“ๅ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="name" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="age" title="ๅนด้พ„" > ๅนด้พ„ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="age" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="address" title="ๅœฐๅ€" > ๅœฐๅ€ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="address" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> <div class="ant-space-item" > <a class="ant-pro-query-filter-collapse-button" > ๅฑ•ๅผ€ <span aria-label="down" class="anticon anticon-down" role="img" style="margin-inline-start: 0.5em; transition: 0.3s all; transform: rotate(0turn);" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๆ‹–ๆ‹ฝๆŽ’ๅบ(้ป˜่ฎคๆŠŠๆ‰‹) </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col style="width: 60px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell drag-visible" scope="col" > ๆŽ’ๅบ </th> <th class="ant-table-cell drag-visible" scope="col" > ๅง“ๅ </th> <th class="ant-table-cell" scope="col" > ๅนด้พ„ </th> <th class="ant-table-cell" scope="col" > ๅœฐๅ€ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" id="0" style="transition: transform 0ms linear;" > <td class="ant-table-cell drag-visible" > <div style="display: flex; align-items: center;" > <div aria-describedby="DndDescribedBy-4" aria-disabled="false" aria-roledescription="sortable" role="button" tabindex="0" > <span aria-describedby="DndDescribedBy-4" aria-disabled="false" aria-label="holder" aria-roledescription="sortable" class="anticon anticon-holder ant-pro-table-drag-icon" role="button" tabindex="0" > <svg aria-hidden="true" data-icon="holder" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z" /> </svg> </span> </div> </div> </td> <td class="ant-table-cell drag-visible" > John Brown </td> <td class="ant-table-cell" > 32 </td> <td class="ant-table-cell" > New York No. 1 Lake Park </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" id="1" style="transition: transform 0ms linear;" > <td class="ant-table-cell drag-visible" > <div style="display: flex; align-items: center;" > <div aria-describedby="DndDescribedBy-4" aria-disabled="false" aria-roledescription="sortable" role="button" tabindex="0" > <span aria-describedby="DndDescribedBy-4" aria-disabled="false" aria-label="holder" aria-roledescription="sortable" class="anticon anticon-holder ant-pro-table-drag-icon" role="button" tabindex="0" > <svg aria-hidden="true" data-icon="holder" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z" /> </svg> </span> </div> </div> </td> <td class="ant-table-cell drag-visible" > Jim Green </td> <td class="ant-table-cell" > 42 </td> <td class="ant-table-cell" > London No. 1 Lake Park </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="3" id="2" style="transition: transform 0ms linear;" > <td class="ant-table-cell drag-visible" > <div style="display: flex; align-items: center;" > <div aria-describedby="DndDescribedBy-4" aria-disabled="false" aria-roledescription="sortable" role="button" tabindex="0" > <span aria-describedby="DndDescribedBy-4" aria-disabled="false" aria-label="holder" aria-roledescription="sortable" class="anticon anticon-holder ant-pro-table-drag-icon" role="button" tabindex="0" > <svg aria-hidden="true" data-icon="holder" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z" /> </svg> </span> </div> </div> </td> <td class="ant-table-cell drag-visible" > Joe Black </td> <td class="ant-table-cell" > 32 </td> <td class="ant-table-cell" > Sidney No. 1 Lake Park </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <div id="DndDescribedBy-4" style="display: none;" > To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel. </div> <div aria-atomic="true" aria-live="assertive" id="DndLiveRegion-4" role="status" style="position: fixed; width: 1px; height: 1px; margin: -1px; border: 0px; padding: 0px; overflow: hidden; clip-path: inset(100%); white-space: nowrap;" /> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/components/DragSortTable/demos/drag-sort-table.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="sort" title="ๆŽ’ๅบ" > ๆŽ’ๅบ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="sort" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="name" title="ๅง“ๅ" > ๅง“ๅ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="name" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="age" title="ๅนด้พ„" > ๅนด้พ„ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="age" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="address" title="ๅœฐๅ€" > ๅœฐๅ€ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="address" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> <div class="ant-space-item" > <a class="ant-pro-query-filter-collapse-button" > ๅฑ•ๅผ€ <span aria-label="down" class="anticon anticon-down" role="img" style="margin-inline-start: 0.5em; transition: 0.3s all; transform: rotate(0turn);" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๆ‹–ๆ‹ฝๆŽ’ๅบ(้ป˜่ฎคๆŠŠๆ‰‹) </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup /> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๆŽ’ๅบ </th> <th class="ant-table-cell drag-visible" scope="col" > ๅง“ๅ </th> <th class="ant-table-cell" scope="col" > ๅนด้พ„ </th> <th class="ant-table-cell" scope="col" > ๅœฐๅ€ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="key1" id="0" style="transition: transform 0ms linear;" > <td class="ant-table-cell" > <div style="display: flex; align-items: center;" > <div aria-describedby="DndDescribedBy-0" aria-disabled="false" aria-roledescription="sortable" role="button" tabindex="0" > <span aria-describedby="DndDescribedBy-0" aria-disabled="false" aria-label="holder" aria-roledescription="sortable" class="anticon anticon-holder ant-pro-table-drag-icon" role="button" tabindex="0" > <svg aria-hidden="true" data-icon="holder" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z" /> </svg> </span> </div> <span class="customRender" > ่‡ชๅฎšไน‰Render[John Brown-0] </span> </div> </td> <td class="ant-table-cell drag-visible" > John Brown </td> <td class="ant-table-cell" > 32 </td> <td class="ant-table-cell" > New York No. 1 Lake Park </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="key2" id="1" style="transition: transform 0ms linear;" > <td class="ant-table-cell" > <div style="display: flex; align-items: center;" > <div aria-describedby="DndDescribedBy-0" aria-disabled="false" aria-roledescription="sortable" role="button" tabindex="0" > <span aria-describedby="DndDescribedBy-0" aria-disabled="false" aria-label="holder" aria-roledescription="sortable" class="anticon anticon-holder ant-pro-table-drag-icon" role="button" tabindex="0" > <svg aria-hidden="true" data-icon="holder" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z" /> </svg> </span> </div> <span class="customRender" > ่‡ชๅฎšไน‰Render[Jim Green-1] </span> </div> </td> <td class="ant-table-cell drag-visible" > Jim Green </td> <td class="ant-table-cell" > 42 </td> <td class="ant-table-cell" > London No. 1 Lake Park </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="key3" id="2" style="transition: transform 0ms linear;" > <td class="ant-table-cell" > <div style="display: flex; align-items: center;" > <div aria-describedby="DndDescribedBy-0" aria-disabled="false" aria-roledescription="sortable" role="button" tabindex="0" > <span aria-describedby="DndDescribedBy-0" aria-disabled="false" aria-label="holder" aria-roledescription="sortable" class="anticon anticon-holder ant-pro-table-drag-icon" role="button" tabindex="0" > <svg aria-hidden="true" data-icon="holder" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z" /> </svg> </span> </div> <span class="customRender" > ่‡ชๅฎšไน‰Render[Joe Black-2] </span> </div> </td> <td class="ant-table-cell drag-visible" > Joe Black </td> <td class="ant-table-cell" > 32 </td> <td class="ant-table-cell" > Sidney No. 1 Lake Park </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <div id="DndDescribedBy-0" style="display: none;" > To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel. </div> <div aria-atomic="true" aria-live="assertive" id="DndLiveRegion-0" role="status" style="position: fixed; width: 1px; height: 1px; margin: -1px; border: 0px; padding: 0px; overflow: hidden; clip-path: inset(100%); white-space: nowrap;" /> </div> </div> </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๆ‹–ๆ‹ฝๆŽ’ๅบ(่‡ชๅฎšไน‰ๆŠŠๆ‰‹) </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup /> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๆŽ’ๅบ </th> <th class="ant-table-cell drag-visible" scope="col" > ๅง“ๅ </th> <th class="ant-table-cell" scope="col" > ๅนด้พ„ </th> <th class="ant-table-cell" scope="col" > ๅœฐๅ€ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" id="0" style="transition: transform 0ms linear;" > <td class="ant-table-cell" > <div style="display: flex; align-items: center;" > <div aria-describedby="DndDescribedBy-1" aria-disabled="false" aria-roledescription="sortable" role="button" tabindex="0" > <span aria-label="menu" class="anticon anticon-menu" role="img" style="cursor: grab; color: gold;" > <svg aria-hidden="true" data-icon="menu" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z" /> </svg> </span> ย 1 - John Brown </div> </div> </td> <td class="ant-table-cell drag-visible" > John Brown </td> <td class="ant-table-cell" > 32 </td> <td class="ant-table-cell" > New York No. 1 Lake Park </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" id="1" style="transition: transform 0ms linear;" > <td class="ant-table-cell" > <div style="display: flex; align-items: center;" > <div aria-describedby="DndDescribedBy-1" aria-disabled="false" aria-roledescription="sortable" role="button" tabindex="0" > <span aria-label="menu" class="anticon anticon-menu" role="img" style="cursor: grab; color: gold;" > <svg aria-hidden="true" data-icon="menu" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z" /> </svg> </span> ย 2 - Jim Green </div> </div> </td> <td class="ant-table-cell drag-visible" > Jim Green </td> <td class="ant-table-cell" > 42 </td> <td class="ant-table-cell" > London No. 1 Lake Park </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" id="2" style="transition: transform 0ms linear;" > <td class="ant-table-cell" > <div style="display: flex; align-items: center;" > <div aria-describedby="DndDescribedBy-1" aria-disabled="false" aria-roledescription="sortable" role="button" tabindex="0" > <span aria-label="menu" class="anticon anticon-menu" role="img" style="cursor: grab; color: gold;" > <svg aria-hidden="true" data-icon="menu" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z" /> </svg> </span> ย 3 - Joe Black </div> </div> </td> <td class="ant-table-cell drag-visible" > Joe Black </td> <td class="ant-table-cell" > 32 </td> <td class="ant-table-cell" > Sidney No. 1 Lake Park </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <div id="DndDescribedBy-1" style="display: none;" > To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel. </div> <div aria-atomic="true" aria-live="assertive" id="DndLiveRegion-1" role="status" style="position: fixed; width: 1px; height: 1px; margin: -1px; border: 0px; padding: 0px; overflow: hidden; clip-path: inset(100%); white-space: nowrap;" /> </div> </div> </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ไฝฟ็”จ request ่Žทๅ–ๆ•ฐๆฎๆบ </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup /> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๆŽ’ๅบ </th> <th class="ant-table-cell drag-visible" scope="col" > ๅง“ๅ </th> <th class="ant-table-cell" scope="col" > ๅนด้พ„ </th> <th class="ant-table-cell" scope="col" > ๅœฐๅ€ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" id="0" style="transition: transform 0ms linear;" > <td class="ant-table-cell" > <div style="display: flex; align-items: center;" > <div aria-describedby="DndDescribedBy-3" aria-disabled="false" aria-roledescription="sortable" role="button" tabindex="0" > <span aria-describedby="DndDescribedBy-3" aria-disabled="false" aria-label="holder" aria-roledescription="sortable" class="anticon anticon-holder ant-pro-table-drag-icon" role="button" tabindex="0" > <svg aria-hidden="true" data-icon="holder" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z" /> </svg> </span> </div> </div> </td> <td class="ant-table-cell drag-visible" > [remote data] John Brown </td> <td class="ant-table-cell" > 32 </td> <td class="ant-table-cell" > New York No. 1 Lake Park </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" id="1" style="transition: transform 0ms linear;" > <td class="ant-table-cell" > <div style="display: flex; align-items: center;" > <div aria-describedby="DndDescribedBy-3" aria-disabled="false" aria-roledescription="sortable" role="button" tabindex="0" > <span aria-describedby="DndDescribedBy-3" aria-disabled="false" aria-label="holder" aria-roledescription="sortable" class="anticon anticon-holder ant-pro-table-drag-icon" role="button" tabindex="0" > <svg aria-hidden="true" data-icon="holder" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z" /> </svg> </span> </div> </div> </td> <td class="ant-table-cell drag-visible" > [remote data] Jim Green </td> <td class="ant-table-cell" > 42 </td> <td class="ant-table-cell" > London No. 1 Lake Park </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" id="2" style="transition: transform 0ms linear;" > <td class="ant-table-cell" > <div style="display: flex; align-items: center;" > <div aria-describedby="DndDescribedBy-3" aria-disabled="false" aria-roledescription="sortable" role="button" tabindex="0" > <span aria-describedby="DndDescribedBy-3" aria-disabled="false" aria-label="holder" aria-roledescription="sortable" class="anticon anticon-holder ant-pro-table-drag-icon" role="button" tabindex="0" > <svg aria-hidden="true" data-icon="holder" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z" /> </svg> </span> </div> </div> </td> <td class="ant-table-cell drag-visible" > [remote data] Joe Black </td> <td class="ant-table-cell" > 32 </td> <td class="ant-table-cell" > Sidney No. 1 Lake Park </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <div id="DndDescribedBy-3" style="display: none;" > To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel. </div> <div aria-atomic="true" aria-live="assertive" id="DndLiveRegion-3" role="status" style="position: fixed; width: 1px; height: 1px; margin: -1px; border: 0px; padding: 0px; overflow: hidden; clip-path: inset(100%); white-space: nowrap;" /> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/components/EditableTable/demos/basic.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๅฏ็ผ–่พ‘่กจๆ ผ </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-radio-group ant-radio-group-outline ant-pro-field-radio-horizontal" > <label class="ant-radio-wrapper ant-radio-wrapper-in-form-item" > <span class="ant-radio ant-wave-target" > <input class="ant-radio-input" type="radio" value="top" /> <span class="ant-radio-inner" /> </span> <span> ๆทปๅŠ ๅˆฐ้กถ้ƒจ </span> </label> <label class="ant-radio-wrapper ant-radio-wrapper-checked ant-radio-wrapper-in-form-item" > <span class="ant-radio ant-wave-target ant-radio-checked" > <input checked="" class="ant-radio-input" type="radio" value="bottom" /> <span class="ant-radio-inner" /> </span> <span> ๆทปๅŠ ๅˆฐๅบ•้ƒจ </span> </label> <label class="ant-radio-wrapper ant-radio-wrapper-in-form-item" > <span class="ant-radio ant-wave-target" > <input class="ant-radio-input" type="radio" value="hidden" /> <span class="ant-radio-inner" /> </span> <span> ้š่— </span> </label> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle ant-table-layout-fixed ant-table-scroll-horizontal" > <div class="ant-table-container" > <div class="ant-table-content" style="overflow-x: auto; overflow-y: hidden;" > <table style="width: 960px; min-width: 100%; table-layout: fixed;" > <colgroup> <col style="width: 15%;" /> <col style="width: 15%;" /> <col /> <col /> <col /> <col style="width: 200px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > <div class="ant-pro-core-label-tip" > <div class="ant-pro-core-label-tip-title" > ๆดปๅŠจๅ็งฐ </div> <span class="ant-pro-core-label-tip-icon" > <span aria-label="info-circle" class="anticon anticon-info-circle" role="img" > <svg aria-hidden="true" data-icon="info-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > <div class="ant-pro-core-label-tip" > <div class="ant-pro-core-label-tip-title" > ๆดปๅŠจๅ็งฐไบŒ </div> <span class="ant-pro-core-label-tip-icon" > <span aria-label="info-circle" class="anticon anticon-info-circle" role="img" > <svg aria-hidden="true" data-icon="info-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ็Šถๆ€ </th> <th class="ant-table-cell" scope="col" > ๆ่ฟฐ </th> <th class="ant-table-cell" scope="col" > ๆดปๅŠจๆ—ถ้—ด </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr aria-hidden="true" class="ant-table-measure-row" style="height: 0px; font-size: 0px;" > <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624748504" > <td class="ant-table-cell" > ๆดปๅŠจๅ็งฐไธ€ </td> <td class="ant-table-cell" > ๆดปๅŠจๅ็งฐไธ€ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-error" /> <span class="ant-badge-status-text" > ๆœช่งฃๅ†ณ </span> </span> </td> <td class="ant-table-cell" > ่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ </td> <td class="ant-table-cell" > 2020-05-26 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624691229" > <td class="ant-table-cell" > ๆดปๅŠจๅ็งฐไบŒ </td> <td class="ant-table-cell" > ๆดปๅŠจๅ็งฐไบŒ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > ๅทฒ่งฃๅ†ณ </span> </span> </td> <td class="ant-table-cell" > ่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ </td> <td class="ant-table-cell" > 2020-05-26 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> <a> ๅˆ ้™ค </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <button class="ant-btn ant-btn-dashed" style="display: block; margin: 10px 0px; width: 100%;" type="button" > <span class="ant-btn-icon" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> </span> <span> ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ </span> </button> </div> </div> </div> <div class="ant-pro-card ant-pro-card-collapse" > <div class="ant-pro-card-header ant-pro-card-header-border ant-pro-card-header-collapsible" > <div class="ant-pro-card-title" > <span aria-label="right" class="anticon anticon-right ant-pro-card-collapsible-icon" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> ่กจๆ ผๆ•ฐๆฎ </div> </div> <div class="ant-pro-card-body" > <pre style="padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; color: rgba(0, 0, 0, 0.65); font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; background-color: rgba(150, 150, 150, 0.1); border-radius: 3px; width: 100%;" > <code> [ { "id": 624748504, "title": "ๆดปๅŠจๅ็งฐไธ€", "readonly": "ๆดปๅŠจๅ็งฐไธ€", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000, "update_at": 1590486176000 }, { "id": 624691229, "title": "ๆดปๅŠจๅ็งฐไบŒ", "readonly": "ๆดปๅŠจๅ็งฐไบŒ", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "closed", "created_at": 1590481162000, "update_at": 1590481162000 } ] </code> </pre> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/components/EditableTable/demos/children.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๅฏ็ผ–่พ‘่กจๆ ผ </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle ant-table-layout-fixed ant-table-scroll-horizontal" > <div class="ant-table-container" > <div class="ant-table-content" style="overflow-x: auto; overflow-y: hidden;" > <table style="width: 960px; min-width: 100%; table-layout: fixed;" > <colgroup> <col style="width: 30%;" /> <col /> <col /> <col /> <col style="width: 200px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๆดปๅŠจๅ็งฐ </th> <th class="ant-table-cell" scope="col" > ็Šถๆ€ </th> <th class="ant-table-cell" scope="col" > ๆ่ฟฐ </th> <th class="ant-table-cell" scope="col" > ๆดปๅŠจๆ—ถ้—ด </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr aria-hidden="true" class="ant-table-measure-row" style="height: 0px; font-size: 0px;" > <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624748504" > <td class="ant-table-cell ant-table-cell-with-append" > <span class="ant-table-row-indent indent-level-0" style="padding-left: 0px;" /> <button aria-expanded="true" aria-label="ๅ…ณ้—ญ่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-expanded" type="button" /> ๆดปๅŠจๅ็งฐไธ€ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-error" /> <span class="ant-badge-status-text" > ๆœช่งฃๅ†ณ </span> </span> </td> <td class="ant-table-cell" > ่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ </td> <td class="ant-table-cell" > 2020-05-26 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-1" data-row-key="6246912293" > <td class="ant-table-cell ant-table-cell-with-append" > <span class="ant-table-row-indent indent-level-1" style="padding-left: 15px;" /> <button aria-expanded="true" aria-label="ๅ…ณ้—ญ่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-spaced" type="button" /> ๆดปๅŠจๅ็งฐไบŒ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > ๅทฒ่งฃๅ†ณ </span> </span> </td> <td class="ant-table-cell" > ่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ </td> <td class="ant-table-cell" > 2020-05-26 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624691229" > <td class="ant-table-cell ant-table-cell-with-append" > <span class="ant-table-row-indent indent-level-0" style="padding-left: 0px;" /> <button aria-expanded="true" aria-label="ๅ…ณ้—ญ่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-spaced" type="button" /> ๆดปๅŠจๅ็งฐไบŒ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > ๅทฒ่งฃๅ†ณ </span> </span> </td> <td class="ant-table-cell" > ่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ </td> <td class="ant-table-cell" > 2020-05-26 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <button class="ant-btn ant-btn-dashed" style="display: block; margin: 10px 0px; width: 100%;" type="button" > <span class="ant-btn-icon" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> </span> <span> ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ </span> </button> </div> </div> </div> <div class="ant-pro-card ant-pro-card-collapse" > <div class="ant-pro-card-header ant-pro-card-header-border ant-pro-card-header-collapsible" > <div class="ant-pro-card-title" > <span aria-label="right" class="anticon anticon-right ant-pro-card-collapsible-icon" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> ่กจๆ ผๆ•ฐๆฎ </div> </div> <div class="ant-pro-card-body" > <pre style="padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; color: rgba(0, 0, 0, 0.65); font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; background-color: rgba(150, 150, 150, 0.1); border-radius: 3px; width: 100%;" > <code> [ { "id": 624748504, "title": "ๆดปๅŠจๅ็งฐไธ€", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000, "update_at": 1590486176000, "children": [ { "id": 6246912293, "title": "ๆดปๅŠจๅ็งฐไบŒ", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "closed", "created_at": 1590481162000, "update_at": 1590481162000 } ] }, { "id": 624691229, "title": "ๆดปๅŠจๅ็งฐไบŒ", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "closed", "created_at": 1590481162000, "update_at": 1590481162000 } ] </code> </pre> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/components/EditableTable/demos/custom.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small" > <div class="ant-space-item" > <button class="ant-btn ant-btn-primary" type="button" > <span class="ant-btn-icon" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> </span> <span> ๆ–ฐๅปบไธ€่กŒ </span> </button> </div> <div class="ant-space-item" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡็ฝฎ่กจๅ• </span> </button> </div> </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๅฏ็ผ–่พ‘่กจๆ ผ </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle ant-table-layout-fixed ant-table-scroll-horizontal" > <div class="ant-table-container" > <div class="ant-table-content" style="overflow-x: auto; overflow-y: hidden;" > <table style="width: 960px; min-width: 100%; table-layout: fixed;" > <colgroup> <col style="width: 30%;" /> <col /> <col style="width: 20%;" /> <col style="width: 250px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๆดปๅŠจๅ็งฐ </th> <th class="ant-table-cell" scope="col" > ็Šถๆ€ </th> <th class="ant-table-cell" scope="col" > ๆ ‡็ญพ </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr aria-hidden="true" class="ant-table-measure-row" style="height: 0px; font-size: 0px;" > <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624748504" > <td class="ant-table-cell" > ๆดปๅŠจๅ็งฐไธ€ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-error" /> <span class="ant-badge-status-text" > ๆœช่งฃๅ†ณ </span> </span> </td> <td class="ant-table-cell" > <span class="ant-tag" > ๅทๅฆนๅญ </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> <a> ๅคๅˆถๆญค้กนๅˆฐๆœซๅฐพ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624691229" > <td class="ant-table-cell" > ๆดปๅŠจๅ็งฐไบŒ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > ๅทฒ่งฃๅ†ณ </span> </span> </td> <td class="ant-table-cell" > <span class="ant-tag" > ่ฅฟๅŒ—ๆฑ‰ๅญ </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> <a> ๅคๅˆถๆญค้กนๅˆฐๆœซๅฐพ </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-pro-card ant-pro-card-collapse" > <div class="ant-pro-card-header ant-pro-card-header-border ant-pro-card-header-collapsible" > <div class="ant-pro-card-title" > <span aria-label="right" class="anticon anticon-right ant-pro-card-collapsible-icon" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> ่กจๆ ผๆ•ฐๆฎ </div> </div> <div class="ant-pro-card-body" > <pre style="padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; color: rgba(0, 0, 0, 0.65); font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; background-color: rgba(150, 150, 150, 0.1); border-radius: 3px; width: 100%;" > <code> [ { "id": 624748504, "title": "ๆดปๅŠจๅ็งฐไธ€", "labels": [ { "key": "woman", "label": "ๅทๅฆนๅญ" } ], "state": "open", "created_at": 1590486176000 }, { "id": 624691229, "title": "ๆดปๅŠจๅ็งฐไบŒ", "labels": [ { "key": "man", "label": "่ฅฟๅŒ—ๆฑ‰ๅญ" } ], "state": "closed", "created_at": 1590481162000 } ] </code> </pre> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/components/EditableTable/demos/form-item.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <form autocomplete="off" class="ant-form ant-form-vertical ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-form-item" style="max-width: 100%;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-pro-table" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๅฏ็ผ–่พ‘่กจๆ ผ </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button aria-checked="false" class="ant-switch" role="switch" style="margin-block-end: 0;" type="button" > <div class="ant-switch-handle" /> <span class="ant-switch-inner" > <span class="ant-switch-inner-checked" > ๆ•ฐๆฎๆ›ดๆ–ฐ้€š็Ÿฅ Form </span> <span class="ant-switch-inner-unchecked" > ไฟๅญ˜ๅŽ้€š็Ÿฅ Form </span> </span> </button> <div class="ant-segmented" style="margin-block-end: 0;" > <div class="ant-segmented-group" > <label class="ant-segmented-item" > <input class="ant-segmented-item-input" type="radio" /> <div class="ant-segmented-item-label" title="ๆทปๅŠ ๅˆฐ้กถ้ƒจ" > ๆทปๅŠ ๅˆฐ้กถ้ƒจ </div> </label> <label class="ant-segmented-item ant-segmented-item-selected" > <input checked="" class="ant-segmented-item-input" type="radio" /> <div class="ant-segmented-item-label" title="ๆทปๅŠ ๅˆฐๅบ•้ƒจ" > ๆทปๅŠ ๅˆฐๅบ•้ƒจ </div> </label> <label class="ant-segmented-item" > <input class="ant-segmented-item-input" type="radio" /> <div class="ant-segmented-item-label" title="้š่—" > ้š่— </div> </label> </div> </div> <button class="ant-btn ant-btn-default" type="button" > <span> ่Žทๅ– table ็š„ๆ•ฐๆฎ </span> </button> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle ant-table-layout-fixed ant-table-scroll-horizontal" id="table" > <div class="ant-table-container" > <div class="ant-table-content" style="overflow-x: auto; overflow-y: hidden;" > <table style="width: 960px; min-width: 100%; table-layout: fixed;" > <colgroup> <col style="width: 30%;" /> <col /> <col /> <col /> <col style="width: 200px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๆดปๅŠจๅ็งฐ </th> <th class="ant-table-cell" scope="col" > ็Šถๆ€ </th> <th class="ant-table-cell" scope="col" > ๆ่ฟฐ </th> <th class="ant-table-cell" scope="col" > ๆดปๅŠจๆ—ถ้—ด </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr aria-hidden="true" class="ant-table-measure-row" style="height: 0px; font-size: 0px;" > <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624748504" > <td class="ant-table-cell" > ๆดปๅŠจๅ็งฐไธ€ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-error" /> <span class="ant-badge-status-text" > ๆœช่งฃๅ†ณ </span> </span> </td> <td class="ant-table-cell" > ่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ </td> <td class="ant-table-cell" > 2020-05-26 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624691229" > <td class="ant-table-cell" > ๆดปๅŠจๅ็งฐไบŒ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > ๅทฒ่งฃๅ†ณ </span> </span> </td> <td class="ant-table-cell" > ่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ </td> <td class="ant-table-cell" > 2020-05-26 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> <a> ๅˆ ้™ค </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <button class="ant-btn ant-btn-dashed" style="display: block; margin: 10px 0px; width: 100%;" type="button" > <span class="ant-btn-icon" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> </span> <span> ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ </span> </button> </div> </div> </div> </div> </div> </div> <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-pro-card ant-pro-card-collapse" > <div class="ant-pro-card-header ant-pro-card-header-border ant-pro-card-header-collapsible" > <div class="ant-pro-card-title" > <span aria-label="right" class="anticon anticon-right ant-pro-card-collapsible-icon" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> ่กจๆ ผๆ•ฐๆฎ </div> </div> <div class="ant-pro-card-body" > <pre style="padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; color: rgba(0, 0, 0, 0.65); font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; background-color: rgba(150, 150, 150, 0.1); border-radius: 3px; width: 100%;" > <code> [ { "id": "624748504", "title": "ๆดปๅŠจๅ็งฐไธ€", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000, "update_at": 1590486176000 }, { "id": "624691229", "title": "ๆดปๅŠจๅ็งฐไบŒ", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "closed", "created_at": 1590481162000, "update_at": 1590481162000 } ] </code> </pre> </div> </div> </div> </div> </div> </div> </div> <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-primary" type="button" > <span> ๆ ไบค </span> </button> <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> </div> </form> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/components/EditableTable/demos/form-linkage.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" > <div style="max-width: 800px; margin: auto;" > <form autocomplete="off" class="ant-form ant-form-vertical ant-pro-form" > <input style="display: none;" type="text" /> <div style="display: flex; align-items: center; gap: 16px; padding-block-end: 16px;" > <div style="flex: 1;" > ๆ€ปๅˆ†๏ผš80 </div> <div style="flex: 1;" > ้ข˜ๆ•ฐ๏ผš40 </div> <div style="flex: 2;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" title="ๅŠๆ ผๅˆ†" > ๅŠๆ ผๅˆ† </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-input-number ant-input-number-in-form-item" style="width: 100%;" > <div class="ant-input-number-handler-wrap" > <span aria-disabled="false" aria-label="Increase Value" class="ant-input-number-handler ant-input-number-handler-up" role="button" unselectable="on" > <span aria-label="up" class="anticon anticon-up ant-input-number-handler-up-inner" role="img" > <svg aria-hidden="true" data-icon="up" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /> </svg> </span> </span> <span aria-disabled="false" aria-label="Decrease Value" class="ant-input-number-handler ant-input-number-handler-down" role="button" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-input-number-handler-down-inner" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> <div class="ant-input-number-input-wrap" > <input aria-valuemin="0" autocomplete="off" class="ant-input-number-input" placeholder="่ฏท่พ“ๅ…ฅ" role="spinbutton" step="1" value="" /> </div> </div> </div> </div> </div> </div> </div> </div> <div style="flex: 2;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" title="่€ƒ่ฏ•ๆ—ถ้—ด(ๅˆ†้’Ÿ)" > ่€ƒ่ฏ•ๆ—ถ้—ด(ๅˆ†้’Ÿ) </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-input-number ant-input-number-in-form-item" style="width: 100%;" > <div class="ant-input-number-handler-wrap" > <span aria-disabled="false" aria-label="Increase Value" class="ant-input-number-handler ant-input-number-handler-up" role="button" unselectable="on" > <span aria-label="up" class="anticon anticon-up ant-input-number-handler-up-inner" role="img" > <svg aria-hidden="true" data-icon="up" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /> </svg> </span> </span> <span aria-disabled="false" aria-label="Decrease Value" class="ant-input-number-handler ant-input-number-handler-down" role="button" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-input-number-handler-down-inner" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> <div class="ant-input-number-input-wrap" > <input aria-valuemin="0" autocomplete="off" class="ant-input-number-input" placeholder="่ฏท่พ“ๅ…ฅ" role="spinbutton" step="1" value="" /> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-form-item" style="max-width: 100%;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="table" title="้ข˜ๅบ“็ผ–่พ‘" > ้ข˜ๅบ“็ผ–่พ‘ </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-pro-table" > <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle ant-table-layout-fixed ant-table-scroll-horizontal" id="table" > <div class="ant-table-container" > <div class="ant-table-content" style="overflow-x: auto; overflow-y: hidden;" > <table style="width: auto; min-width: 100%; table-layout: fixed;" > <colgroup> <col /> <col /> <col /> <col /> <col style="width: 150px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell ant-table-cell-ellipsis" scope="col" > ๅ…ณ่”้ข˜ๅบ“ </th> <th class="ant-table-cell" scope="col" > ้ข˜ๅž‹ </th> <th class="ant-table-cell" scope="col" > ้ข˜ๆ•ฐ </th> <th class="ant-table-cell" scope="col" > ่ฎกๅˆ†ๆ–นๅผ </th> <th class="ant-table-cell" scope="col" > ๅˆ†ๅ€ผ </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr aria-hidden="true" class="ant-table-measure-row" style="height: 0px; font-size: 0px;" > <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624748504" > <td class="ant-table-cell ant-table-cell-ellipsis" title="้ข˜ๅบ“ๅ็งฐไธ€" > <span class="ant-typography ant-typography-ellipsis ant-typography-single-line ant-typography-ellipsis-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ้ข˜ๅบ“ๅ็งฐไธ€ </span> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅคš้€‰้ข˜ </span> </span> </td> <td class="ant-table-cell" > <span> 10 </span> </td> <td class="ant-table-cell" > ่ฟž็ปญๅž‹ </td> <td class="ant-table-cell" > <span> 20 </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็งป้™ค </a> <a> ็ผ–่พ‘ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624691229" > <td class="ant-table-cell ant-table-cell-ellipsis" title="้ข˜ๅบ“ๅ็งฐไบŒ" > <span class="ant-typography ant-typography-ellipsis ant-typography-single-line ant-typography-ellipsis-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ้ข˜ๅบ“ๅ็งฐไบŒ </span> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-warning" /> <span class="ant-badge-status-text" > ๅ•้€‰้ข˜ </span> </span> </td> <td class="ant-table-cell" > <span> 10 </span> </td> <td class="ant-table-cell" > ่ฟž็ปญๅž‹ </td> <td class="ant-table-cell" > <span> 20 </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็งป้™ค </a> <a> ็ผ–่พ‘ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624748503" > <td class="ant-table-cell ant-table-cell-ellipsis" title="้ข˜ๅบ“ๅ็งฐไธ‰" > <span class="ant-typography ant-typography-ellipsis ant-typography-single-line ant-typography-ellipsis-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ้ข˜ๅบ“ๅ็งฐไธ‰ </span> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > ๅˆคๆ–ญ้ข˜ </span> </span> </td> <td class="ant-table-cell" > <span> 10 </span> </td> <td class="ant-table-cell" > ่ฟž็ปญๅž‹ </td> <td class="ant-table-cell" > <span> 20 </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็งป้™ค </a> <a> ็ผ–่พ‘ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624691220" > <td class="ant-table-cell ant-table-cell-ellipsis" title="้ข˜ๅบ“ๅ็งฐๅ››" > <span class="ant-typography ant-typography-ellipsis ant-typography-single-line ant-typography-ellipsis-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ้ข˜ๅบ“ๅ็งฐๅ›› </span> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-error" /> <span class="ant-badge-status-text" > ๅกซ็ฉบ้ข˜ </span> </span> </td> <td class="ant-table-cell" > <span> 10 </span> </td> <td class="ant-table-cell" > ่ฟž็ปญๅž‹ </td> <td class="ant-table-cell" > <span> 20 </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็งป้™ค </a> <a> ็ผ–่พ‘ </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <button class="ant-btn ant-btn-dashed" style="display: block; margin: 10px 0px; width: 100%;" type="button" > <span class="ant-btn-icon" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> </span> <span> ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ </span> </button> </div> </div> </div> </div> </div> </div> <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-primary" type="button" > <span> ๆ ไบค </span> </button> <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> </div> </form> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/components/EditableTable/demos/real-time-editing.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๅฏ็ผ–่พ‘่กจๆ ผ </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-primary" type="button" > <span> ไฟๅญ˜ๆ•ฐๆฎ </span> </button> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle ant-table-layout-fixed ant-table-scroll-horizontal" > <div class="ant-table-container" > <div class="ant-table-content" style="overflow-x: auto; overflow-y: hidden;" > <table style="width: 960px; min-width: 100%; table-layout: fixed;" > <colgroup> <col style="width: 30%;" /> <col /> <col /> <col style="width: 250px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๆดปๅŠจๅ็งฐ </th> <th class="ant-table-cell" scope="col" > ็Šถๆ€ </th> <th class="ant-table-cell" scope="col" > ๆ่ฟฐ </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr aria-hidden="true" class="ant-table-measure-row" style="height: 0px; font-size: 0px;" > <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164000" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ0" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164000_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164000_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164000_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164001" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ1" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164001_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164001_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164001_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164002" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ2" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164002_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164002_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164002_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164003" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ3" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164003_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164003_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164003_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164004" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ4" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164004_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164004_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164004_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164005" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ5" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164005_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164005_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164005_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164006" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ6" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164006_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164006_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164006_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164007" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ7" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164007_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164007_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164007_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164008" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ8" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164008_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164008_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164008_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164009" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ9" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164009_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164009_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164009_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164010" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ10" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164010_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164010_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164010_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164011" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ11" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164011_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164011_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164011_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164012" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ12" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164012_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164012_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164012_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164013" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ13" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164013_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164013_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164013_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164014" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ14" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164014_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164014_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164014_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164015" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ15" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164015_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164015_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164015_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164016" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ16" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164016_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164016_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164016_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164017" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ17" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164017_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164017_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164017_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164018" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ18" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164018_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164018_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164018_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1479828164019" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <span> <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="ๆดปๅŠจๅ็งฐ19" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </span> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="min-width: 100px;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="1479828164019_state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="1479828164019_state_list" autocomplete="off" class="ant-select-selection-search-input" id="1479828164019_state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; gap: 12px; justify-content: flex-start;" > <a> ๅˆ ้™ค </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <button class="ant-btn ant-btn-dashed" style="display: block; margin: 10px 0px; width: 100%;" type="button" > <span class="ant-btn-icon" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> </span> <span> ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ </span> </button> </div> </div> </div> <div class="ant-pro-card ant-pro-card-collapse" > <div class="ant-pro-card-header ant-pro-card-header-border ant-pro-card-header-collapsible" > <div class="ant-pro-card-title" > <span aria-label="right" class="anticon anticon-right ant-pro-card-collapsible-icon" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> ่กจๆ ผๆ•ฐๆฎ </div> </div> <div class="ant-pro-card-body" > <pre style="padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; color: rgba(0, 0, 0, 0.65); font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; background-color: rgba(150, 150, 150, 0.1); border-radius: 3px; width: 100%;" > <code> [ { "id": "1479828164000", "title": "ๆดปๅŠจๅ็งฐ0", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164001", "title": "ๆดปๅŠจๅ็งฐ1", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164002", "title": "ๆดปๅŠจๅ็งฐ2", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164003", "title": "ๆดปๅŠจๅ็งฐ3", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164004", "title": "ๆดปๅŠจๅ็งฐ4", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164005", "title": "ๆดปๅŠจๅ็งฐ5", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164006", "title": "ๆดปๅŠจๅ็งฐ6", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164007", "title": "ๆดปๅŠจๅ็งฐ7", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164008", "title": "ๆดปๅŠจๅ็งฐ8", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164009", "title": "ๆดปๅŠจๅ็งฐ9", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164010", "title": "ๆดปๅŠจๅ็งฐ10", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164011", "title": "ๆดปๅŠจๅ็งฐ11", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164012", "title": "ๆดปๅŠจๅ็งฐ12", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164013", "title": "ๆดปๅŠจๅ็งฐ13", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164014", "title": "ๆดปๅŠจๅ็งฐ14", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164015", "title": "ๆดปๅŠจๅ็งฐ15", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164016", "title": "ๆดปๅŠจๅ็งฐ16", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164017", "title": "ๆดปๅŠจๅ็งฐ17", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164018", "title": "ๆดปๅŠจๅ็งฐ18", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 }, { "id": "1479828164019", "title": "ๆดปๅŠจๅ็งฐ19", "decs": "่ฟ™ไธชๆดปๅŠจ็œŸๅฅฝ็Žฉ", "state": "open", "created_at": 1590486176000 } ] </code> </pre> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/ListToolBar/basic.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > <div class="ant-pro-core-label-tip" > <div class="ant-pro-core-label-tip-title" > ่ฟ™้‡Œๆ˜ฏๆ ‡้ข˜ </div> <div class="ant-pro-core-label-tip-subtitle" > ่ฟ™้‡Œๆ˜ฏๅญๆ ‡้ข˜ </div> <span class="ant-pro-core-label-tip-icon" > <span aria-label="info-circle" class="anticon anticon-info-circle" role="img" > <svg aria-hidden="true" data-icon="info-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /> </svg> </span> </span> </div> </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-pro-form-light-filter ant-pro-form-light-filter-middle" > <div class="ant-pro-form-light-filter-container" > <div class="ant-pro-form-light-filter-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div> <span class="ant-pro-core-field-label ant-pro-core-field-label-middle" > ๅ“ๅบ”ๆ—ฅๆœŸ <span aria-label="down" class="anticon anticon-down ant-pro-core-field-label-icon ant-pro-core-field-label-arrow" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-table-list-toolbar-search" > <span class="ant-input-group-wrapper ant-input-search" style="width: 200px;" > <span class="ant-input-wrapper ant-input-group" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-group-addon" > <button class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button" type="button" > <span class="ant-btn-icon" > <span aria-label="search" class="anticon anticon-search" role="img" > <svg aria-hidden="true" data-icon="search" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /> </svg> </span> </span> </button> </span> </span> </span> </div> <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-primary" type="button" > <span> ๆทป ๅŠ  </span> </button> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="setting" class="anticon anticon-setting" role="img" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="fullscreen" class="anticon anticon-fullscreen" role="img" > <svg aria-hidden="true" data-icon="fullscreen" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z" /> </svg> </span> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col /> <col /> <col /> <col style="width: 120px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบ”็”จๅ็งฐ </th> <th aria-label="" class="ant-table-cell ant-table-column-has-sorters" scope="col" style="text-align: right;" tabindex="0" > <div class="ant-table-column-sorters" > <span class="ant-table-column-title" > ๅฎนๅ™จๆ•ฐ้‡ </span> <span class="ant-table-column-sorter ant-table-column-sorter-full" > <span aria-hidden="true" class="ant-table-column-sorter-inner" > <span aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up" role="img" > <svg aria-hidden="true" data-icon="caret-up" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /> </svg> </span> <span aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down" role="img" > <svg aria-hidden="true" data-icon="caret-down" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /> </svg> </span> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบ่€… </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="3" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="4" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-5 ๆก/ๆ€ปๅ…ฑ 5 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/ListToolBar/menu.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left ant-pro-table-list-toolbar-left-has-tabs" > <div class="ant-tabs ant-tabs-top" > <div class="ant-tabs-nav" role="tablist" > <div class="ant-tabs-nav-wrap" > <div class="ant-tabs-nav-list" style="transform: translate(0px, 0px);" > <div class="ant-tabs-tab ant-tabs-tab-active" data-node-key="all" > <div aria-controls="rc-tabs-test-panel-all" aria-selected="true" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-all" role="tab" tabindex="0" > ๅ…จ้ƒจไบ‹้กน </div> </div> <div class="ant-tabs-tab" data-node-key="done" > <div aria-controls="rc-tabs-test-panel-done" aria-selected="false" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-done" role="tab" tabindex="0" > ๅทฒๅŠžไบ‹้กน </div> </div> <div class="ant-tabs-tab" data-node-key="tab1" > <div aria-controls="rc-tabs-test-panel-tab1" aria-selected="false" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-tab1" role="tab" tabindex="0" > <span> ๅบ”็”จ </span> </div> </div> <div class="ant-tabs-tab" data-node-key="tab2" > <div aria-controls="rc-tabs-test-panel-tab2" aria-selected="false" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-tab2" role="tab" tabindex="0" > <span> ้กน็›ฎ </span> </div> </div> <div class="ant-tabs-tab" data-node-key="tab3" > <div aria-controls="rc-tabs-test-panel-tab3" aria-selected="false" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-tab3" role="tab" tabindex="0" > <span> ๆ–‡็ซ  </span> </div> </div> <div class="ant-tabs-tab" data-node-key="tab4" > <div aria-controls="rc-tabs-test-panel-tab4" aria-selected="false" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-tab4" role="tab" tabindex="0" > <span> ๆ–‡็ซ 1 </span> </div> </div> <div class="ant-tabs-tab" data-node-key="tab5" > <div aria-controls="rc-tabs-test-panel-tab5" aria-selected="false" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-tab5" role="tab" tabindex="0" > <span> ๆ–‡็ซ 2 </span> </div> </div> <div class="ant-tabs-tab" data-node-key="tab6" > <div aria-controls="rc-tabs-test-panel-tab6" aria-selected="false" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-tab6" role="tab" tabindex="0" > <span> ๆ–‡็ซ 3 </span> </div> </div> <div class="ant-tabs-ink-bar ant-tabs-ink-bar-animated" /> </div> </div> <div class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden" > <button aria-controls="rc-tabs-test-more-popup" aria-expanded="false" aria-haspopup="listbox" aria-hidden="true" class="ant-tabs-nav-more" id="rc-tabs-test-more" style="visibility: hidden; order: 1;" tabindex="-1" type="button" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </button> </div> </div> <div class="ant-tabs-content-holder" > <div class="ant-tabs-content ant-tabs-content-top" > <div aria-hidden="false" aria-labelledby="rc-tabs-test-tab-all" class="ant-tabs-tabpane ant-tabs-tabpane-active" id="rc-tabs-test-panel-all" role="tabpanel" tabindex="0" /> </div> </div> </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-pro-form-light-filter ant-pro-form-light-filter-middle" > <div class="ant-pro-form-light-filter-container" > <div class="ant-pro-form-light-filter-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div> <span class="ant-pro-core-field-label ant-pro-core-field-label-middle" > ๅ“ๅบ”ๆ—ฅๆœŸ <span aria-label="down" class="anticon anticon-down ant-pro-core-field-label-icon ant-pro-core-field-label-arrow" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-table-list-toolbar-search" > <span class="ant-input-group-wrapper ant-input-search" style="width: 200px;" > <span class="ant-input-wrapper ant-input-group" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-group-addon" > <button class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button" type="button" > <span class="ant-btn-icon" > <span aria-label="search" class="anticon anticon-search" role="img" > <svg aria-hidden="true" data-icon="search" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /> </svg> </span> </span> </button> </span> </span> </span> </div> <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-primary" type="button" > <span> ๆทป ๅŠ  </span> </button> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col /> <col /> <col /> <col style="width: 120px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบ”็”จๅ็งฐ </th> <th aria-label="" class="ant-table-cell ant-table-column-has-sorters" scope="col" style="text-align: right;" tabindex="0" > <div class="ant-table-column-sorters" > <span class="ant-table-column-title" > ๅฎนๅ™จๆ•ฐ้‡ </span> <span class="ant-table-column-sorter ant-table-column-sorter-full" > <span aria-hidden="true" class="ant-table-column-sorter-inner" > <span aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up" role="img" > <svg aria-hidden="true" data-icon="caret-up" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /> </svg> </span> <span aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down" role="img" > <svg aria-hidden="true" data-icon="caret-down" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /> </svg> </span> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบ่€… </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="3" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="4" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-5 ๆก/ๆ€ปๅ…ฑ 5 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/ListToolBar/multipleLine.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ไธค่กŒ็š„ๆƒ…ๅ†ต </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-search" > <span class="ant-input-group-wrapper ant-input-search" style="width: 200px;" > <span class="ant-input-wrapper ant-input-group" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-group-addon" > <button class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button" type="button" > <span class="ant-btn-icon" > <span aria-label="search" class="anticon anticon-search" role="img" > <svg aria-hidden="true" data-icon="search" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /> </svg> </span> </span> </button> </span> </span> </span> </div> <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-default ant-dropdown-trigger" type="button" > <span> ็งปๅŠจ่‡ช </span> <span aria-label="down" class="anticon anticon-down" role="img" style="margin-inline-start: 8px;" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆทป ๅŠ  </span> </button> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> <div class="ant-pro-table-list-toolbar-extra-line" > <div class="ant-pro-table-list-toolbar-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-pro-form-light-filter ant-pro-form-light-filter-middle" > <div class="ant-pro-form-light-filter-container" > <div class="ant-pro-form-light-filter-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div> <span class="ant-pro-core-field-label ant-pro-core-field-label-middle" > ๅ“ๅบ”ๆ—ฅๆœŸ <span aria-label="down" class="anticon anticon-down ant-pro-core-field-label-icon ant-pro-core-field-label-arrow" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col /> <col /> <col /> <col style="width: 120px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบ”็”จๅ็งฐ </th> <th aria-label="" class="ant-table-cell ant-table-column-has-sorters" scope="col" style="text-align: right;" tabindex="0" > <div class="ant-table-column-sorters" > <span class="ant-table-column-title" > ๅฎนๅ™จๆ•ฐ้‡ </span> <span class="ant-table-column-sorter ant-table-column-sorter-full" > <span aria-hidden="true" class="ant-table-column-sorter-inner" > <span aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up" role="img" > <svg aria-hidden="true" data-icon="caret-up" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /> </svg> </span> <span aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down" role="img" > <svg aria-hidden="true" data-icon="caret-down" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /> </svg> </span> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบ่€… </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="3" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="4" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-5 ๆก/ๆ€ปๅ…ฑ 5 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/ListToolBar/no-title.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-search" > <span class="ant-input-group-wrapper ant-input-search" style="width: 200px;" > <span class="ant-input-wrapper ant-input-group" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-group-addon" > <button class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button" type="button" > <span class="ant-btn-icon" > <span aria-label="search" class="anticon anticon-search" role="img" > <svg aria-hidden="true" data-icon="search" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /> </svg> </span> </span> </button> </span> </span> </span> </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-pro-form-light-filter ant-pro-form-light-filter-middle" > <div class="ant-pro-form-light-filter-container" > <div class="ant-pro-form-light-filter-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div> <span class="ant-pro-core-field-label ant-pro-core-field-label-middle" > ๅ“ๅบ”ๆ—ฅๆœŸ <span aria-label="down" class="anticon anticon-down ant-pro-core-field-label-icon ant-pro-core-field-label-arrow" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-primary" type="button" > <span> ๆทป ๅŠ  </span> </button> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col /> <col /> <col /> <col style="width: 120px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบ”็”จๅ็งฐ </th> <th aria-label="" class="ant-table-cell ant-table-column-has-sorters" scope="col" style="text-align: right;" tabindex="0" > <div class="ant-table-column-sorters" > <span class="ant-table-column-title" > ๅฎนๅ™จๆ•ฐ้‡ </span> <span class="ant-table-column-sorter ant-table-column-sorter-full" > <span aria-hidden="true" class="ant-table-column-sorter-inner" > <span aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up" role="img" > <svg aria-hidden="true" data-icon="caret-up" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /> </svg> </span> <span aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down" role="img" > <svg aria-hidden="true" data-icon="caret-down" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /> </svg> </span> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบ่€… </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="3" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="4" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-5 ๆก/ๆ€ปๅ…ฑ 5 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/ListToolBar/tabs.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๆ ‡็ญพ </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> <div class="ant-pro-table-list-toolbar-extra-line" > <div class="ant-tabs ant-tabs-top" style="width: 100%;" > <div class="ant-tabs-nav" role="tablist" > <div class="ant-tabs-nav-wrap" > <div class="ant-tabs-nav-list" style="transform: translate(0px, 0px);" > <div class="ant-tabs-tab ant-tabs-tab-active" data-node-key="tab1" > <div aria-controls="rc-tabs-test-panel-tab1" aria-selected="true" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-tab1" role="tab" tabindex="0" > ๆ ‡็ญพไธ€ </div> </div> <div class="ant-tabs-tab" data-node-key="tab2" > <div aria-controls="rc-tabs-test-panel-tab2" aria-selected="false" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-tab2" role="tab" tabindex="0" > ๆ ‡็ญพไบŒ </div> </div> <div class="ant-tabs-ink-bar ant-tabs-ink-bar-animated" /> </div> </div> <div class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden" > <button aria-controls="rc-tabs-test-more-popup" aria-expanded="false" aria-haspopup="listbox" aria-hidden="true" class="ant-tabs-nav-more" id="rc-tabs-test-more" style="visibility: hidden; order: 1;" tabindex="-1" type="button" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </button> </div> <div class="ant-tabs-extra-content" > <div class="ant-pro-table-list-toolbar-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-pro-form-light-filter ant-pro-form-light-filter-middle" > <div class="ant-pro-form-light-filter-container" > <div class="ant-pro-form-light-filter-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div> <span class="ant-pro-core-field-label ant-pro-core-field-label-middle" > ๅ“ๅบ”ๆ—ฅๆœŸ <span aria-label="down" class="anticon anticon-down ant-pro-core-field-label-icon ant-pro-core-field-label-arrow" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> </div> </div> <div class="ant-tabs-content-holder" > <div class="ant-tabs-content ant-tabs-content-top" > <div aria-hidden="false" aria-labelledby="rc-tabs-test-tab-tab1" class="ant-tabs-tabpane ant-tabs-tabpane-active" id="rc-tabs-test-panel-tab1" role="tabpanel" tabindex="0" /> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col /> <col /> <col /> <col /> <col style="width: 120px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅ็งฐ </th> <th class="ant-table-cell" scope="col" > ็Šถๆ€ </th> <th aria-label="" class="ant-table-cell ant-table-column-has-sorters" scope="col" style="text-align: right;" tabindex="0" > <div class="ant-table-column-sorters" > <span class="ant-table-column-title" > ๅฎนๅ™จๆ•ฐ้‡ </span> <span class="ant-table-column-sorter ant-table-column-sorter-full" > <span aria-hidden="true" class="ant-table-column-sorter-inner" > <span aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up" role="img" > <svg aria-hidden="true" data-icon="caret-up" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /> </svg> </span> <span aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down" role="img" > <svg aria-hidden="true" data-icon="caret-down" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /> </svg> </span> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบไบบ </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > ๆˆๅŠŸ </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > ๆˆๅŠŸ </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > ๆˆๅŠŸ </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="3" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > ๆˆๅŠŸ </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="4" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > ๆˆๅŠŸ </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-5 ๆก/ๆ€ปๅ…ฑ 5 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/batchOption.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๆ‰น้‡ๆ“ไฝœ </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-default" type="button" > <span> ๆŸฅ็œ‹ๆ—ฅๅฟ— </span> </button> </div> </div> </div> </div> <div class="ant-pro-table-alert" > <div class="ant-pro-table-alert-container" > <div class="ant-pro-table-alert-info" > <div class="ant-pro-table-alert-info-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 24px; row-gap: 24px;" > <div class="ant-space-item" > <span> ๅทฒ้€‰ 1 ้กน <a style="margin-inline-start: 8px;" > ๅ–ๆถˆ้€‰ๆ‹ฉ </a> </span> </div> <div class="ant-space-item" > <span> ๅฎนๅ™จๆ•ฐ้‡: 16 ไธช </span> </div> <div class="ant-space-item" > <span> ่ฐƒ็”จ้‡: 1680 ๆฌก </span> </div> </div> </div> <div class="ant-pro-table-alert-info-option" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <a> ๆ‰น้‡ๅˆ ้™ค </a> </div> <div class="ant-space-item" > <a> ๅฏผๅ‡บๆ•ฐๆฎ </a> </div> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle ant-table-fixed-column ant-table-scroll-horizontal ant-table-has-fix-left ant-table-has-fix-right" > <div class="ant-table-container" > <div class="ant-table-content" style="overflow-x: auto; overflow-y: hidden;" > <table style="width: 1300px; min-width: 100%; table-layout: fixed;" > <colgroup> <col class="ant-table-selection-col" /> <col style="width: 120px;" /> <col style="width: 120px;" /> <col style="width: 120px;" /> <col /> <col style="width: 120px;" /> <col style="width: 140px;" /> <col /> <col style="width: 80px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell ant-table-selection-column ant-table-cell-fix-left" scope="col" style="position: sticky; left: 0px;" > <div class="ant-table-selection" > <label class="ant-checkbox-wrapper" > <span class="ant-checkbox ant-checkbox-indeterminate ant-wave-target" > <input aria-checked="mixed" aria-label="Custom selection" class="ant-checkbox-input" type="checkbox" /> <span class="ant-checkbox-inner" /> </span> </label> <div class="ant-table-selection-extra" > <span class="ant-dropdown-trigger" > <span aria-label="down" class="anticon anticon-down" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </th> <th class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" scope="col" style="position: sticky; left: 0px;" > ๅบ”็”จๅ็งฐ </th> <th aria-label="" class="ant-table-cell ant-table-column-has-sorters" scope="col" style="text-align: right;" tabindex="0" > <div class="ant-table-column-sorters" > <span class="ant-table-column-title" > ๅฎนๅ™จๆ•ฐ้‡ </span> <span class="ant-table-column-sorter ant-table-column-sorter-full" > <span aria-hidden="true" class="ant-table-column-sorter-inner" > <span aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up" role="img" > <svg aria-hidden="true" data-icon="caret-up" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /> </svg> </span> <span aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down" role="img" > <svg aria-hidden="true" data-icon="caret-down" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /> </svg> </span> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" style="text-align: right;" > ่ฐƒ็”จๆฌกๆ•ฐ </th> <th class="ant-table-cell" scope="col" > ๆ‰ง่กŒ่ฟ›ๅบฆ </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบ่€… </th> <th aria-label="" class="ant-table-cell ant-table-column-has-sorters" scope="col" tabindex="0" > <div class="ant-table-column-sorters" > <span class="ant-table-column-title" > ๅˆ›ๅปบๆ—ถ้—ด </span> <span class="ant-table-column-sorter ant-table-column-sorter-full" > <span aria-hidden="true" class="ant-table-column-sorter-inner" > <span aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up" role="img" > <svg aria-hidden="true" data-icon="caret-up" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /> </svg> </span> <span aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down" role="img" > <svg aria-hidden="true" data-icon="caret-down" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /> </svg> </span> </span> </span> </div> </th> <th class="ant-table-cell ant-table-cell-ellipsis" scope="col" > ๅค‡ๆณจ </th> <th class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" scope="col" style="position: sticky; right: 0px;" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr aria-hidden="true" class="ant-table-measure-row" style="height: 0px; font-size: 0px;" > <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell ant-table-selection-column ant-table-cell-fix-left" style="position: sticky; left: 0px;" > <label class="ant-checkbox-wrapper" > <span class="ant-checkbox ant-wave-target" > <input class="ant-checkbox-input" type="checkbox" /> <span class="ant-checkbox-inner" /> </span> </label> </td> <td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;" > <a> AppName-0 </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" style="text-align: right;" > 1680 </td> <td class="ant-table-cell" > <div aria-valuenow="86" class="ant-progress ant-progress-status-normal ant-progress-line ant-progress-show-info ant-progress-small" role="progressbar" style="min-width: 100px; max-width: 320px;" > <div class="ant-progress-outer" style="width: 100%; height: 6px;" > <div class="ant-progress-inner" > <div class="ant-progress-bg" style="width: 86%; height: 6px;" /> </div> </div> <span class="ant-progress-text" title="86%" > 86% </span> </div> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" > <span aria-label="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0 ant-table-row-selected" data-row-key="1" > <td class="ant-table-cell ant-table-selection-column ant-table-cell-fix-left" style="position: sticky; left: 0px;" > <label class="ant-checkbox-wrapper ant-checkbox-wrapper-checked" > <span class="ant-checkbox ant-wave-target ant-checkbox-checked" > <input checked="" class="ant-checkbox-input" type="checkbox" /> <span class="ant-checkbox-inner" /> </span> </label> </td> <td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;" > <a> AppName-1 </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" style="text-align: right;" > 1680 </td> <td class="ant-table-cell" > <div aria-valuenow="86" class="ant-progress ant-progress-status-normal ant-progress-line ant-progress-show-info ant-progress-small" role="progressbar" style="min-width: 100px; max-width: 320px;" > <div class="ant-progress-outer" style="width: 100%; height: 6px;" > <div class="ant-progress-inner" > <div class="ant-progress-bg" style="width: 86%; height: 6px;" /> </div> </div> <span class="ant-progress-text" title="86%" > 86% </span> </div> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด" > <span aria-label="ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell ant-table-selection-column ant-table-cell-fix-left" style="position: sticky; left: 0px;" > <label class="ant-checkbox-wrapper" > <span class="ant-checkbox ant-wave-target" > <input class="ant-checkbox-input" type="checkbox" /> <span class="ant-checkbox-inner" /> </span> </label> </td> <td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;" > <a> AppName-2 </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" style="text-align: right;" > 1680 </td> <td class="ant-table-cell" > <div aria-valuenow="86" class="ant-progress ant-progress-status-normal ant-progress-line ant-progress-show-info ant-progress-small" role="progressbar" style="min-width: 100px; max-width: 320px;" > <div class="ant-progress-outer" style="width: 100%; height: 6px;" > <div class="ant-progress-inner" > <div class="ant-progress-bg" style="width: 86%; height: 6px;" /> </div> </div> <span class="ant-progress-text" title="86%" > 86% </span> </div> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" > <span aria-label="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="3" > <td class="ant-table-cell ant-table-selection-column ant-table-cell-fix-left" style="position: sticky; left: 0px;" > <label class="ant-checkbox-wrapper" > <span class="ant-checkbox ant-wave-target" > <input class="ant-checkbox-input" type="checkbox" /> <span class="ant-checkbox-inner" /> </span> </label> </td> <td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;" > <a> AppName-3 </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" style="text-align: right;" > 1680 </td> <td class="ant-table-cell" > <div aria-valuenow="86" class="ant-progress ant-progress-status-normal ant-progress-line ant-progress-show-info ant-progress-small" role="progressbar" style="min-width: 100px; max-width: 320px;" > <div class="ant-progress-outer" style="width: 100%; height: 6px;" > <div class="ant-progress-inner" > <div class="ant-progress-bg" style="width: 86%; height: 6px;" /> </div> </div> <span class="ant-progress-text" title="86%" > 86% </span> </div> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด" > <span aria-label="ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="4" > <td class="ant-table-cell ant-table-selection-column ant-table-cell-fix-left" style="position: sticky; left: 0px;" > <label class="ant-checkbox-wrapper" > <span class="ant-checkbox ant-wave-target" > <input class="ant-checkbox-input" type="checkbox" /> <span class="ant-checkbox-inner" /> </span> </label> </td> <td class="ant-table-cell ant-table-cell-fix-left ant-table-cell-fix-left-last" style="position: sticky; left: 0px;" > <a> AppName-4 </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" style="text-align: right;" > 1680 </td> <td class="ant-table-cell" > <div aria-valuenow="86" class="ant-progress ant-progress-status-normal ant-progress-line ant-progress-show-info ant-progress-small" role="progressbar" style="min-width: 100px; max-width: 320px;" > <div class="ant-progress-outer" style="width: 100%; height: 6px;" > <div class="ant-progress-inner" > <div class="ant-progress-bg" style="width: 86%; height: 6px;" /> </div> </div> <span class="ant-progress-text" title="86%" > 86% </span> </div> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" > <span aria-label="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell ant-table-cell-fix-right ant-table-cell-fix-right-first" style="position: sticky; right: 0px;" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-5 ๆก/ๆ€ปๅ…ฑ 50 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li class="ant-pagination-item ant-pagination-item-2" tabindex="0" title="2" > <a rel="nofollow" > 2 </a> </li> <li class="ant-pagination-item ant-pagination-item-3" tabindex="0" title="3" > <a rel="nofollow" > 3 </a> </li> <li class="ant-pagination-item ant-pagination-item-4" tabindex="0" title="4" > <a rel="nofollow" > 4 </a> </li> <li class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next" tabindex="0" title="5" > <a rel="nofollow" > 5 </a> </li> <li class="ant-pagination-jump-next ant-pagination-jump-next-custom-icon" tabindex="0" title="ๅ‘ๅŽ 5 ้กต" > <a class="ant-pagination-item-link" > <div class="ant-pagination-item-container" > <span aria-label="double-right" class="anticon anticon-double-right ant-pagination-item-link-icon" role="img" > <svg aria-hidden="true" data-icon="double-right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /> </svg> </span> <span class="ant-pagination-item-ellipsis" > โ€ขโ€ขโ€ข </span> </div> </a> </li> <li class="ant-pagination-item ant-pagination-item-10" tabindex="0" title="10" > <a rel="nofollow" > 10 </a> </li> <li aria-disabled="false" class="ant-pagination-next" tabindex="0" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/card-title.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-card-border" > <div class="ant-pro-card-header" > <div class="ant-pro-card-title" > ไธšๅŠกๅฎšๅˆถ </div> </div> <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > <button class="ant-btn ant-btn-primary" type="button" > <span> ๆทป ๅŠ  </span> </button> </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col /> <col /> <col /> <col style="width: 120px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบ”็”จๅ็งฐ </th> <th aria-label="" class="ant-table-cell ant-table-column-has-sorters" scope="col" style="text-align: right;" tabindex="0" > <div class="ant-table-column-sorters" > <span class="ant-table-column-title" > ๅฎนๅ™จๆ•ฐ้‡ </span> <span class="ant-table-column-sorter ant-table-column-sorter-full" > <span aria-hidden="true" class="ant-table-column-sorter-inner" > <span aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up" role="img" > <svg aria-hidden="true" data-icon="caret-up" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /> </svg> </span> <span aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down" role="img" > <svg aria-hidden="true" data-icon="caret-down" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /> </svg> </span> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบ่€… </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="3" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="4" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-5 ๆก/ๆ€ปๅ…ฑ 5 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/columns-setting-custom-icon.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-search" > <span class="ant-input-group-wrapper ant-input-search" style="width: 200px;" > <span class="ant-input-wrapper ant-input-group" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-group-addon" > <button class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button" type="button" > <span class="ant-btn-icon" > <span aria-label="search" class="anticon anticon-search" role="img" > <svg aria-hidden="true" data-icon="search" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /> </svg> </span> </span> </button> </span> </span> </span> </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <svg fill="currentColor" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M923 283.6c-13.4-31.1-32.6-58.9-56.9-82.8-24.3-23.8-52.5-42.4-84-55.5-32.5-13.5-66.9-20.3-102.4-20.3-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5-24.4 23.9-43.5 51.7-56.9 82.8-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3 0.1-35.3-7-69.6-20.9-101.9z" /> </svg> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle ant-table-empty" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup /> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > User First Name </th> <th class="ant-table-cell" scope="col" > User Last Name </th> <th class="ant-table-cell" scope="col" > ID </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-placeholder" > <td class="ant-table-cell" colspan="3" > <div class="ant-empty ant-empty-normal" > <div class="ant-empty-image" > <svg height="41" viewBox="0 0 64 41" width="64" xmlns="http://www.w3.org/2000/svg" > <g fill="none" fill-rule="evenodd" transform="translate(0 1)" > <ellipse cx="32" cy="33" fill="#f5f5f5" rx="32" ry="7" /> <g fill-rule="nonzero" stroke="#d9d9d9" > <path d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z" /> <path d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z" fill="#fafafa" /> </g> </g> </svg> </div> <div class="ant-empty-description" > ๆš‚ๆ— ๆ•ฐๆฎ </div> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/columnsStateMap.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๅ—ๆŽงๆจกๅผ </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-search" > <span class="ant-input-group-wrapper ant-input-search" style="width: 200px;" > <span class="ant-input-wrapper ant-input-group" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-group-addon" > <button class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button" type="button" > <span class="ant-btn-icon" > <span aria-label="search" class="anticon anticon-search" role="img" > <svg aria-hidden="true" data-icon="search" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /> </svg> </span> </span> </button> </span> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col /> <col /> <col style="width: 120px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > <div class="ant-table-filter-column" > <span class="ant-table-column-title" > ็Šถๆ€ </span> <span class="ant-dropdown-trigger ant-table-filter-trigger" role="button" tabindex="-1" > <span aria-label="filter" class="anticon anticon-filter" role="img" > <svg aria-hidden="true" data-icon="filter" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๆ›ดๆ–ฐๆ—ถ้—ด </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ๆ“ไฝœ </a> <a> ๅˆ ้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ๆ“ไฝœ </a> <a> ๅˆ ้™ค </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-2 ๆก/ๆ€ปๅ…ฑ 2 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/config-provider.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="qixian-pro-table" > <div class="qixian-pro-card qixian-pro-table-search qixian-pro-table-search-query-filter" > <form autocomplete="off" class="qixian-form qixian-form-horizontal qixian-pro-query-filter qixian-pro-form" > <input style="display: none;" type="text" /> <div class="qixian-row qixian-row-start qixian-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="qixian-col qixian-col-8 qixian-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="qixian-form-item" style="flex-wrap: nowrap;" > <div class="qixian-row qixian-form-item-row" > <div class="qixian-col qixian-form-item-label" style="flex: 0 0 80px;" > <label class="" for="state" title="็Šถๆ€" > ็Šถๆ€ </label> </div> <div class="qixian-col qixian-form-item-control" style="max-width: calc(100% - 80px);" > <div class="qixian-form-item-control-input" > <div class="qixian-form-item-control-input-content" > <div class="qixian-select qixian-select-in-form-item qixian-pro-filed-search-select qixian-select-single qixian-select-allow-clear qixian-select-show-arrow" style="width: 100%;" > <div class="qixian-select-selector" > <span class="qixian-select-selection-search" > <input aria-autocomplete="list" aria-controls="state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="state_list" autocomplete="off" class="qixian-select-selection-search-input" id="state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="qixian-select-selection-item" title="ๆœช่งฃๅ†ณ" > ๆœช่งฃๅ†ณ </span> </div> <span aria-hidden="true" class="qixian-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down qixian-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="qixian-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="qixian-col qixian-col-8 qixian-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="qixian-form-item" style="flex-wrap: nowrap;" > <div class="qixian-row qixian-form-item-row" > <div class="qixian-col qixian-form-item-label" style="flex: 0 0 80px;" > <label class="" for="labels" title="ๆ ‡็ญพ" > ๆ ‡็ญพ </label> </div> <div class="qixian-col qixian-form-item-control" style="max-width: calc(100% - 80px);" > <div class="qixian-form-item-control-input" > <div class="qixian-form-item-control-input-content" > <span class="qixian-input-affix-wrapper" style="width: 100%;" > <input class="qixian-input" id="labels" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="qixian-input-suffix" > <span class="qixian-input-clear-icon qixian-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="qixian-col qixian-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="qixian-form-item qixian-pro-query-filter-actions" > <div class="qixian-row qixian-form-item-row" > <div class="qixian-col qixian-form-item-label" > <label class="qixian-form-item-no-colon" title=" " > </label> </div> <div class="qixian-col qixian-form-item-control" > <div class="qixian-form-item-control-input" > <div class="qixian-form-item-control-input-content" > <div class="qixian-space qixian-space-horizontal qixian-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="qixian-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="qixian-btn qixian-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="qixian-btn qixian-btn-primary qixian-btn-loading" type="button" > <span class="qixian-btn-icon qixian-btn-loading-icon" > <span aria-label="loading" class="anticon anticon-loading anticon-spin" role="img" > <svg aria-hidden="true" data-icon="loading" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" /> </svg> </span> </span> <span> ๆŸฅ ่ฏข </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="qixian-pro-card" > <div class="qixian-pro-card-body" style="padding-block-start: 0;" > <div class="qixian-pro-table-list-toolbar" > <div class="qixian-pro-table-list-toolbar-container" > <div class="qixian-pro-table-list-toolbar-left" > <div class="qixian-pro-table-list-toolbar-title" > ้ซ˜็บง่กจๆ ผ </div> </div> <div class="qixian-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="qixian-btn qixian-btn-primary" type="button" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> <span> ๆ–ฐๅปบ </span> </button> </div> <div class="qixian-pro-table-list-toolbar-setting-items" > <div class="qixian-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="qixian-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height qixian-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="qixian-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="qixian-table-wrapper" > <div class="qixian-spin-nested-loading" > <div> <div aria-busy="true" aria-live="polite" class="qixian-spin qixian-spin-spinning" > <span class="qixian-spin-dot qixian-spin-dot-spin" > <i class="qixian-spin-dot-item" /> <i class="qixian-spin-dot-item" /> <i class="qixian-spin-dot-item" /> <i class="qixian-spin-dot-item" /> </span> </div> </div> <div class="qixian-spin-container qixian-spin-blur" > <div class="qixian-table qixian-table-middle qixian-table-empty" > <div class="qixian-table-container" > <div class="qixian-table-content" > <table style="table-layout: fixed;" > <colgroup> <col /> <col style="width: 30%;" /> <col style="width: 10%;" /> <col style="width: 10%;" /> </colgroup> <thead class="qixian-table-thead" > <tr> <th class="qixian-table-cell" scope="col" > ๅบๅท </th> <th class="qixian-table-cell qixian-table-cell-ellipsis" scope="col" > <div class="qixian-pro-core-label-tip" > <div class="qixian-pro-core-label-tip-title qixian-pro-core-label-tip-title-ellipsis" > ๆ ‡้ข˜ </div> <span class="qixian-pro-core-label-tip-icon" > <span aria-label="info-circle" class="anticon anticon-info-circle" role="img" > <svg aria-hidden="true" data-icon="info-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /> </svg> </span> </span> </div> </th> <th class="qixian-table-cell" scope="col" > <div class="qixian-table-filter-column" > <span class="qixian-table-column-title" > ็Šถๆ€ </span> <span class="qixian-dropdown-trigger qixian-table-filter-trigger" role="button" tabindex="-1" > <span aria-label="filter" class="anticon anticon-filter" role="img" > <svg aria-hidden="true" data-icon="filter" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /> </svg> </span> </span> </div> </th> <th class="qixian-table-cell" scope="col" > ๆ ‡็ญพ </th> <th class="qixian-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="qixian-table-tbody" > <tr class="qixian-table-placeholder" > <td class="qixian-table-cell" colspan="5" > <div class="qixian-empty qixian-empty-normal" > <div class="qixian-empty-image" > <svg height="41" viewBox="0 0 64 41" width="64" xmlns="http://www.w3.org/2000/svg" > <g fill="none" fill-rule="evenodd" transform="translate(0 1)" > <ellipse cx="32" cy="33" fill="#f5f5f5" rx="32" ry="7" /> <g fill-rule="nonzero" stroke="#d9d9d9" > <path d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z" /> <path d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z" fill="#fafafa" /> </g> </g> </svg> </div> <div class="qixian-empty-description" > ๆš‚ๆ— ๆ•ฐๆฎ </div> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/crud.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" > <div class="ant-tabs ant-tabs-top" > <div class="ant-tabs-nav" role="tablist" > <div class="ant-tabs-nav-wrap" > <div class="ant-tabs-nav-list" style="transform: translate(0px, 0px);" > <div class="ant-tabs-tab ant-tabs-tab-active" data-node-key="table" > <div aria-controls="rc-tabs-test-panel-table" aria-selected="true" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-table" role="tab" tabindex="0" > table </div> </div> <div class="ant-tabs-tab" data-node-key="form" > <div aria-controls="rc-tabs-test-panel-form" aria-selected="false" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-form" role="tab" tabindex="0" > form </div> </div> <div class="ant-tabs-tab" data-node-key="descriptions" > <div aria-controls="rc-tabs-test-panel-descriptions" aria-selected="false" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-descriptions" role="tab" tabindex="0" > descriptions </div> </div> <div class="ant-tabs-ink-bar ant-tabs-ink-bar-animated" /> </div> </div> <div class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden" > <button aria-controls="rc-tabs-test-more-popup" aria-expanded="false" aria-haspopup="listbox" aria-hidden="true" class="ant-tabs-nav-more" id="rc-tabs-test-more" style="visibility: hidden; order: 1;" tabindex="-1" type="button" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </button> </div> </div> <div class="ant-tabs-content-holder" > <div class="ant-tabs-content ant-tabs-content-top" > <div aria-hidden="false" aria-labelledby="rc-tabs-test-tab-table" class="ant-tabs-tabpane ant-tabs-tabpane-active" id="rc-tabs-test-panel-table" role="tabpanel" tabindex="0" /> </div> </div> </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="state" title="ๅˆ—่กจ็Šถๆ€" > ๅˆ—่กจ็Šถๆ€ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="width: 100%;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="state_list" autocomplete="off" class="ant-select-selection-search-input" id="state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๅ…จ้ƒจ" > ๅ…จ้ƒจ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="direction" title="ๆŽ’ๅบๆ–นๅผ" > ๆŽ’ๅบๆ–นๅผ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="width: 100%;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="direction_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="direction_list" autocomplete="off" class="ant-select-selection-search-input" id="direction" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-placeholder" > ่ฏท้€‰ๆ‹ฉ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="labels" title="ๆ ‡็ญพ" > ๆ ‡็ญพ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="labels" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary ant-btn-loading" type="button" > <span class="ant-btn-icon ant-btn-loading-icon" > <span aria-label="loading" class="anticon anticon-loading anticon-spin" role="img" > <svg aria-hidden="true" data-icon="loading" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" /> </svg> </span> </span> <span> ๆŸฅ ่ฏข </span> </button> </div> </div> <div class="ant-space-item" > <a class="ant-pro-query-filter-collapse-button" > ๅฑ•ๅผ€ <span aria-label="down" class="anticon anticon-down" role="img" style="margin-inline-start: 0.5em; transition: 0.3s all; transform: rotate(0turn);" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๆŸฅ่ฏข Table </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-primary" type="button" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> <span> ๆ–ฐๅปบ </span> </button> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div> <div aria-busy="true" aria-live="polite" class="ant-spin ant-spin-spinning" > <span class="ant-spin-dot ant-spin-dot-spin" > <i class="ant-spin-dot-item" /> <i class="ant-spin-dot-item" /> <i class="ant-spin-dot-item" /> <i class="ant-spin-dot-item" /> </span> </div> </div> <div class="ant-spin-container ant-spin-blur" > <div class="ant-table ant-table-middle ant-table-empty" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: fixed;" > <colgroup> <col style="width: 64px;" /> <col /> <col /> <col style="width: 120px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบๅท </th> <th class="ant-table-cell ant-table-cell-ellipsis" scope="col" > ๆ ‡้ข˜ </th> <th class="ant-table-cell" scope="col" > <div class="ant-table-filter-column" > <span class="ant-table-column-title" > ็Šถๆ€ </span> <span class="ant-dropdown-trigger ant-table-filter-trigger" role="button" tabindex="-1" > <span aria-label="filter" class="anticon anticon-filter" role="img" > <svg aria-hidden="true" data-icon="filter" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๆ ‡็ญพ </th> <th class="ant-table-cell" scope="col" > option </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-placeholder" > <td class="ant-table-cell" colspan="5" > <div class="ant-empty ant-empty-normal" > <div class="ant-empty-image" > <svg height="41" viewBox="0 0 64 41" width="64" xmlns="http://www.w3.org/2000/svg" > <g fill="none" fill-rule="evenodd" transform="translate(0 1)" > <ellipse cx="32" cy="33" fill="#f5f5f5" rx="32" ry="7" /> <g fill-rule="nonzero" stroke="#d9d9d9" > <path d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z" /> <path d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z" fill="#fafafa" /> </g> </g> </svg> </div> <div class="ant-empty-description" > ๆš‚ๆ— ๆ•ฐๆฎ </div> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/customization-value-type.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="name" title="้“พๆŽฅ" > ้“พๆŽฅ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <input class="ant-input" id="name" placeholder="่ฏท่พ“ๅ…ฅ้“พๆŽฅ" style="width: 100%;" type="text" value="" /> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="status" title="ๆ ‡็ญพ" > ๆ ‡็ญพ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small" > <div class="ant-space-item" > <input class="ant-input ant-input-sm" style="width: 78px;" type="text" value="" /> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ่‡ชๅฎšไน‰ valueType </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup /> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ้“พๆŽฅ </th> <th class="ant-table-cell" scope="col" > ๆ ‡็ญพ </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <a> TradeCode 0 </a> </td> <td class="ant-table-cell" > <span class="ant-tag" > close </span> <span class="ant-tag" > close </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <a> TradeCode 1 </a> </td> <td class="ant-table-cell" > <span class="ant-tag" > close </span> <span class="ant-tag" > close </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell" > <a> TradeCode 2 </a> </td> <td class="ant-table-cell" > <span class="ant-tag" > close </span> <span class="ant-tag" > close </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="3" > <td class="ant-table-cell" > <a> TradeCode 3 </a> </td> <td class="ant-table-cell" > <span class="ant-tag" > close </span> <span class="ant-tag" > close </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="4" > <td class="ant-table-cell" > <a> TradeCode 4 </a> </td> <td class="ant-table-cell" > <span class="ant-tag" > close </span> <span class="ant-tag" > close </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-20 ๆก/ๆ€ปๅ…ฑ 200 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li class="ant-pagination-item ant-pagination-item-2" tabindex="0" title="2" > <a rel="nofollow" > 2 </a> </li> <li class="ant-pagination-item ant-pagination-item-3" tabindex="0" title="3" > <a rel="nofollow" > 3 </a> </li> <li class="ant-pagination-item ant-pagination-item-4" tabindex="0" title="4" > <a rel="nofollow" > 4 </a> </li> <li class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next" tabindex="0" title="5" > <a rel="nofollow" > 5 </a> </li> <li class="ant-pagination-jump-next ant-pagination-jump-next-custom-icon" tabindex="0" title="ๅ‘ๅŽ 5 ้กต" > <a class="ant-pagination-item-link" > <div class="ant-pagination-item-container" > <span aria-label="double-right" class="anticon anticon-double-right ant-pagination-item-link-icon" role="img" > <svg aria-hidden="true" data-icon="double-right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /> </svg> </span> <span class="ant-pagination-item-ellipsis" > โ€ขโ€ขโ€ข </span> </div> </a> </li> <li class="ant-pagination-item ant-pagination-item-10" tabindex="0" title="10" > <a rel="nofollow" > 10 </a> </li> <li aria-disabled="false" class="ant-pagination-next" tabindex="0" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> <li class="ant-pagination-options" > <div aria-label="้กต็ " class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" aria-label="้กต็ " aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="ant-select-selection-search-input" id="rc_select_TEST_OR_SSR" role="combobox" type="search" value="" /> </span> <span class="ant-select-selection-item" title="20 ๆก/้กต" > 20 ๆก/้กต </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/dataSource.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-vertical ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="name" title="ๅบ”็”จๅ็งฐ" > ๅบ”็”จๅ็งฐ </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="name" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="creator" title="ๅˆ›ๅปบ่€…" > ๅˆ›ๅปบ่€… </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="width: 100%;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="creator_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="creator_list" autocomplete="off" class="ant-select-selection-search-input" id="creator" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-placeholder" > ่ฏท้€‰ๆ‹ฉ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="status" title="็Šถๆ€" > ็Šถๆ€ </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="width: 100%;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="status_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="status_list" autocomplete="off" class="ant-select-selection-search-input" id="status" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๅ…จ้ƒจ" > ๅ…จ้ƒจ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="memo" title="ๅค‡ๆณจ" > ๅค‡ๆณจ </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="memo" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-col-offset-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> <div class="ant-space-item" > <a class="ant-pro-query-filter-collapse-button" > ๆ”ถ่ตท <span aria-label="down" class="anticon anticon-down" role="img" style="margin-inline-start: 0.5em; transition: 0.3s all; transform: rotate(0.5turn);" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > <div class="ant-pro-core-label-tip" > <div class="ant-pro-core-label-tip-title" > ้ซ˜็บง่กจๆ ผ </div> <span class="ant-pro-core-label-tip-icon" > <span aria-label="info-circle" class="anticon anticon-info-circle" role="img" > <svg aria-hidden="true" data-icon="info-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /> </svg> </span> </span> </div> </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-default ant-btn-dangerous" type="button" > <span> ๅฑ้™ฉๆŒ‰้’ฎ </span> </button> <button class="ant-btn ant-btn-default" type="button" > <span> ๆŸฅ็œ‹ๆ—ฅๅฟ— </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๅˆ›ๅปบๅบ”็”จ </span> </button> <button class="ant-btn ant-btn-default ant-dropdown-trigger" type="button" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </button> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: fixed;" > <colgroup> <col style="width: 48px;" /> <col /> <col /> <col /> <col /> <col style="width: 180px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๆŽ’ๅบ </th> <th class="ant-table-cell" scope="col" > <div class="ant-table-filter-column" > <span class="ant-table-column-title" > ๅบ”็”จๅ็งฐ </span> <span class="ant-dropdown-trigger ant-table-filter-trigger" role="button" tabindex="-1" > <span aria-label="search" class="anticon anticon-search" role="img" > <svg aria-hidden="true" data-icon="search" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบ่€… </th> <th class="ant-table-cell" scope="col" > <div class="ant-table-filter-column" > <span class="ant-table-column-title" > ็Šถๆ€ </span> <span class="ant-dropdown-trigger ant-table-filter-trigger" role="button" tabindex="-1" > <span aria-label="filter" class="anticon anticon-filter" role="img" > <svg aria-hidden="true" data-icon="filter" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell ant-table-cell-ellipsis" scope="col" > ๅค‡ๆณจ </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 1 </div> </td> <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" > <span aria-label="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> ็›‘ๆŽง </a> <a class="ant-dropdown-trigger ant-pro-table-dropdown" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 2 </div> </td> <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด" > <span aria-label="ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> ็›‘ๆŽง </a> <a class="ant-dropdown-trigger ant-pro-table-dropdown" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 3 </div> </td> <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" > <span aria-label="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> ็›‘ๆŽง </a> <a class="ant-dropdown-trigger ant-pro-table-dropdown" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="3" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border top-three" > 4 </div> </td> <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด" > <span aria-label="ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> ็›‘ๆŽง </a> <a class="ant-dropdown-trigger ant-pro-table-dropdown" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="4" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border top-three" > 5 </div> </td> <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" > <span aria-label="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> ็›‘ๆŽง </a> <a class="ant-dropdown-trigger ant-pro-table-dropdown" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-5 ๆก/ๆ€ปๅ…ฑ 5 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/dateFormatter.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" style="margin: 16px;" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="name" title="ๆ ‡้ข˜" > ๆ ‡้ข˜ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="name" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="TradeCode 1" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="createdAt" title="ๅˆ›ๅปบๆ—ถ้—ด" > ๅˆ›ๅปบๆ—ถ้—ด </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker" style="width: 100%;" > <div class="ant-picker-input" > <input autocomplete="off" id="createdAt" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" title="2022-08-10" value="2022-08-10" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> <span class="ant-picker-clear" role="button" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๆ—ฅๆœŸๆ ผๅผๅŒ–ไธบๅญ—็ฌฆไธฒ </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup /> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๆ ‡้ข˜ </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบๆ—ถ้—ด </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > TradeCode 1 </td> <td class="ant-table-cell" > 2022-09-22 </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-1 ๆก/ๆ€ปๅ…ฑ 1 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> <li class="ant-pagination-options" > <div aria-label="้กต็ " class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" aria-label="้กต็ " aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="ant-select-selection-search-input" id="rc_select_TEST_OR_SSR" role="combobox" type="search" value="" /> </span> <span class="ant-select-selection-item" title="20 ๆก/้กต" > 20 ๆก/้กต </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </li> </ul> </div> </div> </div> </div> </div> </div> <div class="ant-pro-table" style="margin: 16px;" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="name" title="ๆ ‡้ข˜" > ๆ ‡้ข˜ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="name" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="TradeCode 1" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="createdAt" title="ๅˆ›ๅปบๆ—ถ้—ด" > ๅˆ›ๅปบๆ—ถ้—ด </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker" style="width: 100%;" > <div class="ant-picker-input" > <input autocomplete="off" id="createdAt" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" title="2022-08-10" value="2022-08-10" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> <span class="ant-picker-clear" role="button" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๆ—ฅๆœŸๆ ผๅผๅŒ–ไธบๆ•ฐๅญ— </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup /> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๆ ‡้ข˜ </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบๆ—ถ้—ด </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > TradeCode 1 </td> <td class="ant-table-cell" > 2022-09-22 </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-1 ๆก/ๆ€ปๅ…ฑ 1 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> <li class="ant-pagination-options" > <div aria-label="้กต็ " class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" aria-label="้กต็ " aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="ant-select-selection-search-input" id="rc_select_TEST_OR_SSR" role="combobox" type="search" value="" /> </span> <span class="ant-select-selection-item" title="20 ๆก/้กต" > 20 ๆก/้กต </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </li> </ul> </div> </div> </div> </div> </div> </div> <div class="ant-pro-table" style="margin: 16px;" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="name" title="ๆ ‡้ข˜" > ๆ ‡้ข˜ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="name" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="TradeCode 1" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="createdAt" title="ๅˆ›ๅปบๆ—ถ้—ด" > ๅˆ›ๅปบๆ—ถ้—ด </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker" style="width: 100%;" > <div class="ant-picker-input" > <input autocomplete="off" id="createdAt" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" title="2022-08-10" value="2022-08-10" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> <span class="ant-picker-clear" role="button" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ไฝฟ็”จ่‡ชๅฎšไน‰ๅ‡ฝๆ•ฐ่ฟ›่กŒๆ—ฅๆœŸๆ ผๅผๅŒ– </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup /> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๆ ‡้ข˜ </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบๆ—ถ้—ด </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > TradeCode 1 </td> <td class="ant-table-cell" > 2022-09-22 </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-1 ๆก/ๆ€ปๅ…ฑ 1 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> <li class="ant-pagination-options" > <div aria-label="้กต็ " class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" aria-label="้กต็ " aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="ant-select-selection-search-input" id="rc_select_TEST_OR_SSR" role="combobox" type="search" value="" /> </span> <span class="ant-select-selection-item" title="20 ๆก/้กต" > 20 ๆก/้กต </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/dynamic-columns-state.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-vertical ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="statusText" title="ๅ…ณ้—ญๆ—ถๅญ—ๆฎต" > ๅ…ณ้—ญๆ—ถๅญ—ๆฎต </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="statusText" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="name" title="ๅบ”็”จๅ็งฐ" > ๅบ”็”จๅ็งฐ </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="name" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="status" title="็Šถๆ€" > ็Šถๆ€ </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-radio-group ant-radio-group-outline ant-pro-field-radio-horizontal" id="status" > <label class="ant-radio-button-wrapper ant-radio-button-wrapper-checked ant-radio-button-wrapper-in-form-item" > <span class="ant-radio-button ant-radio-button-checked" > <input checked="" class="ant-radio-button-input" type="radio" value="close" /> <span class="ant-radio-button-inner" /> </span> <span> ๅ…ณ้—ญ </span> </label> <label class="ant-radio-button-wrapper ant-radio-button-wrapper-in-form-item" > <span class="ant-radio-button" > <input class="ant-radio-button-input" type="radio" value="running" /> <span class="ant-radio-button-inner" /> </span> <span> ่ฟ่กŒไธญ </span> </label> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="since" title="" > ๅˆ›ๅปบๆ—ถ้—ด <span aria-label="question-circle" class="anticon anticon-question-circle" role="img" style="margin-left: 4px;" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker" style="width: 100%;" > <div class="ant-picker-input" > <input autocomplete="off" id="since" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" title="" value="" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="memo" title="ๅค‡ๆณจ" > ๅค‡ๆณจ </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="memo" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> <div class="ant-space-item" > <a class="ant-pro-query-filter-collapse-button" > ๆ”ถ่ตท <span aria-label="down" class="anticon anticon-down" role="img" style="margin-inline-start: 0.5em; transition: 0.3s all; transform: rotate(0.5turn);" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > <div class="ant-pro-core-label-tip" > <div class="ant-pro-core-label-tip-title" > ้ซ˜็บง่กจๆ ผ </div> <span class="ant-pro-core-label-tip-icon" > <span aria-label="info-circle" class="anticon anticon-info-circle" role="img" > <svg aria-hidden="true" data-icon="info-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /> </svg> </span> </span> </div> </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: fixed;" > <colgroup> <col style="width: 48px;" /> <col /> <col /> <col /> <col style="width: 140px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๆŽ’ๅบ </th> <th class="ant-table-cell" scope="col" > ๅ…ณ้—ญๆ—ถๅญ—ๆฎต </th> <th class="ant-table-cell" scope="col" > <div class="ant-table-filter-column" > <span class="ant-table-column-title" > ๅบ”็”จๅ็งฐ </span> <span class="ant-dropdown-trigger ant-table-filter-trigger" role="button" tabindex="-1" > <span aria-label="search" class="anticon anticon-search" role="img" > <svg aria-hidden="true" data-icon="search" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ็Šถๆ€ </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบๆ—ถ้—ด <span aria-label="question-circle" class="anticon anticon-question-circle" role="img" style="margin-left: 4px;" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </th> <th class="ant-table-cell ant-table-cell-ellipsis" scope="col" > ๅค‡ๆณจ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 1 </div> </td> <td class="ant-table-cell" > ่ฟ™ๆ˜ฏไธ€ๆฎตๅพˆ้šๆ„็š„ๆ–‡ๅญ— </td> <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" > <span aria-label="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 2 </div> </td> <td class="ant-table-cell" > ่ฟ™ๆ˜ฏไธ€ๆฎตๅพˆ้šๆ„็š„ๆ–‡ๅญ— </td> <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด" > <span aria-label="ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 3 </div> </td> <td class="ant-table-cell" > ่ฟ™ๆ˜ฏไธ€ๆฎตๅพˆ้šๆ„็š„ๆ–‡ๅญ— </td> <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" > <span aria-label="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="3" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border top-three" > 4 </div> </td> <td class="ant-table-cell" > ่ฟ™ๆ˜ฏไธ€ๆฎตๅพˆ้šๆ„็š„ๆ–‡ๅญ— </td> <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด" > <span aria-label="ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟๅพˆ้•ฟ็š„ๆ–‡ๅญ—่ฆๅฑ•็คบไฝ†ๆ˜ฏ่ฆ็•™ไธ‹ๅฐพๅทด <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="4" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border top-three" > 5 </div> </td> <td class="ant-table-cell" > ่ฟ™ๆ˜ฏไธ€ๆฎตๅพˆ้šๆ„็š„ๆ–‡ๅญ— </td> <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" > <span aria-label="็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ็ฎ€็Ÿญๅค‡ๆณจๆ–‡ๆกˆ <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-5 ๆก/ๆ€ปๅ…ฑ 5 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/dynamic-settings.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-card ant-pro-card-border ant-pro-card-contain-card ant-pro-card-split" style="height: 100vh; overflow: hidden;" > <div class="ant-pro-card-body" > <div class="ant-pro-card-col ant-pro-card-split-vertical" > <div class="ant-pro-card" style="height: 100vh; overflow: auto;" > <div class="ant-pro-card-body" > <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-12 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="name" title="Name" > Name </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="name" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="time" title="time" > time </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker" style="width: 100%;" > <div class="ant-picker-input" > <input autocomplete="off" id="time" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" title="" value="" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="address" title="Address" > Address </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="width: 100%;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="address_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="address_list" autocomplete="off" class="ant-select-selection-search-input" id="address" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-placeholder" > ่ฏท้€‰ๆ‹ฉ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-12" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> <div class="ant-space-item" > <a class="ant-pro-query-filter-collapse-button" > ๅฑ•ๅผ€ <span aria-label="down" class="anticon anticon-down" role="img" style="margin-inline-start: 0.5em; transition: 0.3s all; transform: rotate(0turn);" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > <div class="ant-pro-core-label-tip" > <div class="ant-pro-core-label-tip-title" > ้ซ˜็บง่กจๆ ผ </div> <span class="ant-pro-core-label-tip-icon" > <span aria-label="info-circle" class="anticon anticon-info-circle" role="img" > <svg aria-hidden="true" data-icon="info-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /> </svg> </span> </span> </div> </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-primary" type="button" > <span> ๅˆท ๆ–ฐ </span> </button> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="fullscreen" class="anticon anticon-fullscreen" role="img" > <svg aria-hidden="true" data-icon="fullscreen" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z" /> </svg> </span> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-small ant-table-bordered" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col class="ant-table-selection-col" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell ant-table-selection-column" scope="col" > <div class="ant-table-selection" > <label class="ant-checkbox-wrapper" > <span class="ant-checkbox ant-wave-target" > <input aria-label="Select all" class="ant-checkbox-input" type="checkbox" /> <span class="ant-checkbox-inner" /> </span> </label> </div> </th> <th class="ant-table-cell" scope="col" > Name </th> <th class="ant-table-cell" scope="col" > time </th> <th class="ant-table-cell" scope="col" > <div class="ant-table-filter-column" > <span class="ant-table-column-title" > Address </span> <span class="ant-dropdown-trigger ant-table-filter-trigger" role="button" tabindex="-1" > <span aria-label="filter" class="anticon anticon-filter" role="img" > <svg aria-hidden="true" data-icon="filter" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /> </svg> </span> </span> </div> </th> <th aria-label="" class="ant-table-cell ant-table-column-has-sorters" scope="col" tabindex="0" > <div class="ant-table-column-sorters" > <span class="ant-table-column-title" > Action </span> <span class="ant-table-column-sorter ant-table-column-sorter-full" > <span aria-hidden="true" class="ant-table-column-sorter-inner" > <span aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up" role="img" > <svg aria-hidden="true" data-icon="caret-up" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /> </svg> </span> <span aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down" role="img" > <svg aria-hidden="true" data-icon="caret-down" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /> </svg> </span> </span> </span> </div> </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell ant-table-selection-column" > <label class="ant-checkbox-wrapper" > <span class="ant-checkbox ant-wave-target" > <input class="ant-checkbox-input" type="checkbox" /> <span class="ant-checkbox-inner" /> </span> </label> </td> <td class="ant-table-cell" > John Brown </td> <td class="ant-table-cell" > 2022-08-22 </td> <td class="ant-table-cell" > ็บฝ็บฆ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> Delete </a> <a class="ant-dropdown-link" > More actions <span aria-label="down" class="anticon anticon-down" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell ant-table-selection-column" > <label class="ant-checkbox-wrapper" > <span class="ant-checkbox ant-wave-target" > <input class="ant-checkbox-input" type="checkbox" /> <span class="ant-checkbox-inner" /> </span> </label> </td> <td class="ant-table-cell" > John Brown </td> <td class="ant-table-cell" > 2022-08-22 </td> <td class="ant-table-cell" > ไผฆๆ•ฆ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> Delete </a> <a class="ant-dropdown-link" > More actions <span aria-label="down" class="anticon anticon-down" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="3" > <td class="ant-table-cell ant-table-selection-column" > <label class="ant-checkbox-wrapper" > <span class="ant-checkbox ant-wave-target" > <input class="ant-checkbox-input" type="checkbox" /> <span class="ant-checkbox-inner" /> </span> </label> </td> <td class="ant-table-cell" > John Brown </td> <td class="ant-table-cell" > 2022-08-22 </td> <td class="ant-table-cell" > ็บฝ็บฆ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> Delete </a> <a class="ant-dropdown-link" > More actions <span aria-label="down" class="anticon anticon-down" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="4" > <td class="ant-table-cell ant-table-selection-column" > <label class="ant-checkbox-wrapper" > <span class="ant-checkbox ant-wave-target" > <input class="ant-checkbox-input" type="checkbox" /> <span class="ant-checkbox-inner" /> </span> </label> </td> <td class="ant-table-cell" > John Brown </td> <td class="ant-table-cell" > 2022-08-22 </td> <td class="ant-table-cell" > ไผฆๆ•ฆ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> Delete </a> <a class="ant-dropdown-link" > More actions <span aria-label="down" class="anticon anticon-down" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="5" > <td class="ant-table-cell ant-table-selection-column" > <label class="ant-checkbox-wrapper" > <span class="ant-checkbox ant-wave-target" > <input class="ant-checkbox-input" type="checkbox" /> <span class="ant-checkbox-inner" /> </span> </label> </td> <td class="ant-table-cell" > John Brown </td> <td class="ant-table-cell" > 2022-08-22 </td> <td class="ant-table-cell" > ็บฝ็บฆ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> Delete </a> <a class="ant-dropdown-link" > More actions <span aria-label="down" class="anticon anticon-down" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </td> </tr> </tbody> </table> </div> </div> <div class="ant-table-footer" > Here is footer </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-5 ๆก/ๆ€ปๅ…ฑ 100 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li class="ant-pagination-item ant-pagination-item-2" tabindex="0" title="2" > <a rel="nofollow" > 2 </a> </li> <li class="ant-pagination-item ant-pagination-item-3" tabindex="0" title="3" > <a rel="nofollow" > 3 </a> </li> <li class="ant-pagination-item ant-pagination-item-4" tabindex="0" title="4" > <a rel="nofollow" > 4 </a> </li> <li class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next" tabindex="0" title="5" > <a rel="nofollow" > 5 </a> </li> <li class="ant-pagination-jump-next ant-pagination-jump-next-custom-icon" tabindex="0" title="ๅ‘ๅŽ 5 ้กต" > <a class="ant-pagination-item-link" > <div class="ant-pagination-item-container" > <span aria-label="double-right" class="anticon anticon-double-right ant-pagination-item-link-icon" role="img" > <svg aria-hidden="true" data-icon="double-right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /> </svg> </span> <span class="ant-pagination-item-ellipsis" > โ€ขโ€ขโ€ข </span> </div> </a> </li> <li class="ant-pagination-item ant-pagination-item-20" tabindex="0" title="20" > <a rel="nofollow" > 20 </a> </li> <li aria-disabled="false" class="ant-pagination-next" tabindex="0" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> <li class="ant-pagination-options" > <div aria-label="้กต็ " class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" aria-label="้กต็ " aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="ant-select-selection-search-input" id="rc_select_TEST_OR_SSR" role="combobox" type="search" value="" /> </span> <span class="ant-select-selection-item" title="5 ๆก/้กต" > 5 ๆก/้กต </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </div> </div> <form autocomplete="off" class="ant-form ant-form-inline ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-pro-card" style="height: 100vh; overflow: auto; box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35); top: 0px; right: 0px; width: 470px;" > <div class="ant-pro-card-tabs" > <div class="ant-tabs ant-tabs-top" > <div class="ant-tabs-nav" role="tablist" > <div class="ant-tabs-nav-wrap" > <div class="ant-tabs-nav-list" style="transform: translate(0px, 0px);" > <div class="ant-tabs-tab ant-tabs-tab-active" data-node-key="tab1" > <div aria-controls="rc-tabs-test-panel-tab1" aria-selected="true" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-tab1" role="tab" tabindex="0" > ๅŸบๆœฌ้…็ฝฎ </div> </div> <div class="ant-tabs-tab" data-node-key="tab3" > <div aria-controls="rc-tabs-test-panel-tab3" aria-selected="false" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-tab3" role="tab" tabindex="0" > ่กจๅ•้…็ฝฎ </div> </div> <div class="ant-tabs-tab" data-node-key="tab2" > <div aria-controls="rc-tabs-test-panel-tab2" aria-selected="false" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-tab2" role="tab" tabindex="0" > ๆ•ฐๆฎ้…็ฝฎ </div> </div> <div class="ant-tabs-tab" data-node-key="tab4" > <div aria-controls="rc-tabs-test-panel-tab4" aria-selected="false" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-tab4" role="tab" tabindex="0" > ๅˆ—้…็ฝฎ </div> </div> <div class="ant-tabs-ink-bar ant-tabs-ink-bar-animated" /> </div> </div> <div class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden" > <button aria-controls="rc-tabs-test-more-popup" aria-expanded="false" aria-haspopup="listbox" aria-hidden="true" class="ant-tabs-nav-more" id="rc-tabs-test-more" style="visibility: hidden; order: 1;" tabindex="-1" type="button" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </button> </div> </div> <div class="ant-tabs-content-holder" > <div class="ant-tabs-content ant-tabs-content-top" > <div aria-hidden="false" aria-labelledby="rc-tabs-test-tab-tab1" class="ant-tabs-tabpane ant-tabs-tabpane-active" id="rc-tabs-test-panel-tab1" role="tabpanel" tabindex="0" > <div class="ant-pro-card" > <div class="ant-pro-card-body" > <div class="ant-pro-form-group ant-pro-form-group-twoLine" > <div class="ant-pro-form-group-title" > <div> <span aria-label="right" class="anticon anticon-right" role="img" style="margin-inline-end: 8px;" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" style="transform: rotate(90deg);" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> ่กจๆ ผ้…็ฝฎ </div> </div> <div> <div class="ant-space ant-space-horizontal ant-space-align-start ant-pro-form-group-container " style="row-gap: 0;" > <div class="ant-space-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" for="bordered" title="่พนๆก†" > ่พนๆก† <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <button aria-checked="true" class="ant-switch ant-switch-small ant-switch-checked" id="bordered" role="switch" type="button" > <div class="ant-switch-handle" /> <span class="ant-switch-inner" > <span class="ant-switch-inner-checked" /> <span class="ant-switch-inner-unchecked" /> </span> </button> </div> </div> </div> </div> </div> </div> <div class="ant-space-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" for="size" title="ๅฐบๅฏธ" > ๅฐบๅฏธ <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-radio-group ant-radio-group-outline ant-radio-group-small ant-pro-field-radio-horizontal" id="size" > <label class="ant-radio-button-wrapper ant-radio-button-wrapper-in-form-item" > <span class="ant-radio-button" > <input class="ant-radio-button-input" type="radio" value="default" /> <span class="ant-radio-button-inner" /> </span> <span> ๅคง </span> </label> <label class="ant-radio-button-wrapper ant-radio-button-wrapper-in-form-item" > <span class="ant-radio-button" > <input class="ant-radio-button-input" type="radio" value="middle" /> <span class="ant-radio-button-inner" /> </span> <span> ไธญ </span> </label> <label class="ant-radio-button-wrapper ant-radio-button-wrapper-checked ant-radio-button-wrapper-in-form-item" > <span class="ant-radio-button ant-radio-button-checked" > <input checked="" class="ant-radio-button-input" type="radio" value="small" /> <span class="ant-radio-button-inner" /> </span> <span> ๅฐ </span> </label> </div> </div> </div> </div> </div> </div> </div> <div class="ant-space-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" for="loading" title="ๅŠ ่ฝฝไธญ" > ๅŠ ่ฝฝไธญ <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <button aria-checked="false" class="ant-switch ant-switch-small" id="loading" role="switch" type="button" > <div class="ant-switch-handle" /> <span class="ant-switch-inner" > <span class="ant-switch-inner-checked" /> <span class="ant-switch-inner-unchecked" /> </span> </button> </div> </div> </div> </div> </div> </div> <div class="ant-space-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" for="showHeader" title="ๆ˜พ็คบๆ ‡้ข˜" > ๆ˜พ็คบๆ ‡้ข˜ <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <button aria-checked="true" class="ant-switch ant-switch-small ant-switch-checked" id="showHeader" role="switch" type="button" > <div class="ant-switch-handle" /> <span class="ant-switch-inner" > <span class="ant-switch-inner-checked" /> <span class="ant-switch-inner-unchecked" /> </span> </button> </div> </div> </div> </div> </div> </div> <div class="ant-space-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" for="footer" title="้กต่„š" > ้กต่„š <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <button aria-checked="true" class="ant-switch ant-switch-small ant-switch-checked" id="footer" role="switch" type="button" > <div class="ant-switch-handle" /> <span class="ant-switch-inner" > <span class="ant-switch-inner-checked" /> <span class="ant-switch-inner-unchecked" /> </span> </button> </div> </div> </div> </div> </div> </div> <div class="ant-space-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" for="expandable" title="ๆ”ฏๆŒๅฑ•ๅผ€" > ๆ”ฏๆŒๅฑ•ๅผ€ <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <button aria-checked="false" class="ant-switch ant-switch-small" id="expandable" role="switch" type="button" > <div class="ant-switch-handle" /> <span class="ant-switch-inner" > <span class="ant-switch-inner-checked" /> <span class="ant-switch-inner-unchecked" /> </span> </button> </div> </div> </div> </div> </div> </div> <div class="ant-space-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" for="rowSelection" title="่กŒ้€‰ๆ‹ฉ" > ่กŒ้€‰ๆ‹ฉ <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <button aria-checked="[object Object]" class="ant-switch ant-switch-small ant-switch-checked" id="rowSelection" role="switch" type="button" > <div class="ant-switch-handle" /> <span class="ant-switch-inner" > <span class="ant-switch-inner-checked" /> <span class="ant-switch-inner-unchecked" /> </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-pro-form-group ant-pro-form-group-twoLine" > <div class="ant-pro-form-group-title" > <div style="display: flex; width: 100%; align-items: center; justify-content: space-between;" > <div class="ant-pro-core-label-tip" > <div class="ant-pro-core-label-tip-title" > <div> <span aria-label="right" class="anticon anticon-right" role="img" style="margin-inline-end: 8px;" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" style="transform: rotate(90deg);" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> ๅทฅๅ…ทๆ  </div> </div> <span class="ant-pro-core-label-tip-icon" > <span aria-label="info-circle" class="anticon anticon-info-circle" role="img" > <svg aria-hidden="true" data-icon="info-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /> </svg> </span> </span> </div> <span> <button aria-checked="true" class="ant-switch ant-switch-small ant-switch-checked" id="toolBarRender" role="switch" type="button" > <div class="ant-switch-handle" /> <span class="ant-switch-inner" > <span class="ant-switch-inner-checked" /> <span class="ant-switch-inner-unchecked" /> </span> </button> </span> </div> </div> <div> <div class="ant-space ant-space-horizontal ant-space-align-start ant-pro-form-group-container " style="row-gap: 0;" > <div class="ant-space-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" for="headerTitle" title="่กจๆ ผๆ ‡้ข˜" > ่กจๆ ผๆ ‡้ข˜ <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper ant-input-affix-wrapper-sm" > <input class="ant-input ant-input-sm" id="headerTitle" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="้ซ˜็บง่กจๆ ผ" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-space-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" for="tooltip" title="่กจๆ ผ็š„tooltip" > ่กจๆ ผ็š„tooltip <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper ant-input-affix-wrapper-sm" > <input class="ant-input ant-input-sm" id="tooltip" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="้ซ˜็บง่กจๆ ผ tooltip" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-space-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" for="options_show" title="Icon ๆ˜พ็คบ" > Icon ๆ˜พ็คบ <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <button aria-checked="true" class="ant-switch ant-switch-small ant-switch-checked" id="options_show" role="switch" type="button" > <div class="ant-switch-handle" /> <span class="ant-switch-inner" > <span class="ant-switch-inner-checked" /> <span class="ant-switch-inner-unchecked" /> </span> </button> </div> </div> </div> </div> </div> </div> <div class="ant-space-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" for="options_density" title="ๅฏ†ๅบฆ Icon" > ๅฏ†ๅบฆ Icon <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <button aria-checked="true" class="ant-switch ant-switch-small ant-switch-checked" id="options_density" role="switch" type="button" > <div class="ant-switch-handle" /> <span class="ant-switch-inner" > <span class="ant-switch-inner-checked" /> <span class="ant-switch-inner-unchecked" /> </span> </button> </div> </div> </div> </div> </div> </div> <div class="ant-space-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" for="options_search" title="keyWords" > keyWords <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <button aria-checked="false" class="ant-switch ant-switch-small" id="options_search" role="switch" type="button" > <div class="ant-switch-handle" /> <span class="ant-switch-inner" > <span class="ant-switch-inner-checked" /> <span class="ant-switch-inner-unchecked" /> </span> </button> </div> </div> </div> </div> </div> </div> <div class="ant-space-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" for="options_fullScreen" title="ๅ…จๅฑ Icon" > ๅ…จๅฑ Icon <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <button aria-checked="true" class="ant-switch ant-switch-small ant-switch-checked" id="options_fullScreen" role="switch" type="button" > <div class="ant-switch-handle" /> <span class="ant-switch-inner" > <span class="ant-switch-inner-checked" /> <span class="ant-switch-inner-unchecked" /> </span> </button> </div> </div> </div> </div> </div> </div> <div class="ant-space-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" for="options_setting" title="ๅˆ—่ฎพ็ฝฎ Icon" > ๅˆ—่ฎพ็ฝฎ Icon <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <button aria-checked="true" class="ant-switch ant-switch-small ant-switch-checked" id="options_setting" role="switch" type="button" > <div class="ant-switch-handle" /> <span class="ant-switch-inner" > <span class="ant-switch-inner-checked" /> <span class="ant-switch-inner-unchecked" /> </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/edittable-rules.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" > <div style="max-width: 800px; margin: auto;" > <form autocomplete="off" class="ant-form ant-form-vertical ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-form-item" style="max-width: 100%;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="table" title="้ข˜ๅบ“็ผ–่พ‘" > ้ข˜ๅบ“็ผ–่พ‘ </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-pro-table" > <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle ant-table-empty ant-table-layout-fixed ant-table-scroll-horizontal" id="table" > <div class="ant-table-container" > <div class="ant-table-content" style="overflow-x: auto; overflow-y: hidden;" > <table style="width: auto; min-width: 100%; table-layout: fixed;" > <colgroup /> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell ant-table-cell-ellipsis" scope="col" > ๅ…ณ่”้ข˜ๅบ“ </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr aria-hidden="true" class="ant-table-measure-row" style="height: 0px; font-size: 0px;" > <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> <td style="padding: 0px; border: 0px; height: 0px;" > <div style="height: 0px; overflow: hidden;" > ย  </div> </td> </tr> <tr class="ant-table-placeholder" > <td class="ant-table-cell" colspan="2" > <div class="ant-empty ant-empty-normal" > <div class="ant-empty-image" > <svg height="41" viewBox="0 0 64 41" width="64" xmlns="http://www.w3.org/2000/svg" > <g fill="none" fill-rule="evenodd" transform="translate(0 1)" > <ellipse cx="32" cy="33" fill="#f5f5f5" rx="32" ry="7" /> <g fill-rule="nonzero" stroke="#d9d9d9" > <path d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z" /> <path d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z" fill="#fafafa" /> </g> </g> </svg> </div> <div class="ant-empty-description" > ๆš‚ๆ— ๆ•ฐๆฎ </div> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <button class="ant-btn ant-btn-dashed" style="display: block; margin: 10px 0px; width: 100%;" type="button" > <span class="ant-btn-icon" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> </span> <span> ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ </span> </button> </div> </div> </div> </div> </div> </div> <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-primary" type="button" > <span> ๆ ไบค </span> </button> <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> </div> </form> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/error-boundaries.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <button aria-checked="true" class="ant-switch ant-switch-checked" role="switch" type="button" > <div class="ant-switch-handle" /> <span class="ant-switch-inner" > <span class="ant-switch-inner-checked" > ไฝฟ็”จ่‡ชๅฎšไน‰้”™่ฏฏ่พน็•Œ </span> <span class="ant-switch-inner-unchecked" > ไฝฟ็”จ้ป˜่ฎค้”™่ฏฏ่พน็•Œ </span> </span> </button> <div class="ant-result ant-result-info" style="height: 100%; background: rgb(255, 255, 255);" > <div class="ant-result-icon" > <img src="https://gw.alipayobjects.com/zos/antfincdn/zIgkN%26mpMZ/shibaizhuangtaizuo.png" width="256" /> </div> <div class="ant-result-title" > ้”™่ฏฏๅค„็† </div> <div class="ant-result-extra" > <div style="max-width: 620px; text-align: start; background-color: rgba(255, 229, 100, 0.3); border-inline-start-color: #ffe564; border-inline-start-width: 9px; border-inline-start-style: solid; padding: 20px 45px 20px 26px; margin: auto; margin-block-end: 30px; margin-block-start: 20px;" > <p> ๆณจๆ„ </p> <p> ้”™่ฏฏ่พน็•Œ <strong> ๆ— ๆณ• </strong> ๆ•่Žทไปฅไธ‹ๅœบๆ™ฏไธญไบง็”Ÿ็š„้”™่ฏฏ๏ผš </p> <ul style="list-style: none;" > <li> ไบ‹ไปถๅค„็†๏ผˆ <a href="https://zh-hans.reactjs.org/docs/error-boundaries.html#how-about-event-handlers#how-about-event-handlers" > ไบ†่งฃๆ›ดๅคš </a> ๏ผ‰ </li> <li> ๅผ‚ๆญฅไปฃ็ ๏ผˆไพ‹ๅฆ‚ <code> setTimeout </code> ๆˆ– <code> requestAnimationFrame </code> ๅ›ž่ฐƒๅ‡ฝๆ•ฐ๏ผ‰ </li> <li> ๆœๅŠก็ซฏๆธฒๆŸ“ </li> <li> ๅฎƒ่‡ช่บซๆŠ›ๅ‡บๆฅ็š„้”™่ฏฏ๏ผˆๅนถ้žๅฎƒ็š„ๅญ็ป„ไปถ๏ผ‰ </li> </ul> </div> <button class="ant-btn ant-btn-primary ant-btn-dangerous" type="button" > <span> ๅˆทๆ–ฐ้กต้ข </span> </button> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/error-boundaries-false.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" /> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col /> <col /> <col /> <col style="width: 120px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบ”็”จๅ็งฐ </th> <th aria-label="" class="ant-table-cell ant-table-column-has-sorters" scope="col" style="text-align: right;" tabindex="0" > <div class="ant-table-column-sorters" > <span class="ant-table-column-title" > ๅฎนๅ™จๆ•ฐ้‡ </span> <span class="ant-table-column-sorter ant-table-column-sorter-full" > <span aria-hidden="true" class="ant-table-column-sorter-inner" > <span aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up" role="img" > <svg aria-hidden="true" data-icon="caret-up" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /> </svg> </span> <span aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down" role="img" > <svg aria-hidden="true" data-icon="caret-down" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /> </svg> </span> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบ่€… </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="3" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="4" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-5 ๆก/ๆ€ปๅ…ฑ 5 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/form.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="name" title="ๆ ‡้ข˜" > ๆ ‡้ข˜ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="name" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="since" title="ๅˆ›ๅปบๆ—ถ้—ด" > ๅˆ›ๅปบๆ—ถ้—ด </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker" style="width: 100%;" > <div class="ant-picker-input" > <input autocomplete="off" id="since" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" title="" value="" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ่กจๅ•่ต‹ๅ€ผ </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-default" type="button" > <span> ่ต‹ ๅ€ผ </span> </button> <button class="ant-btn ant-btn-default" type="button" > <span> ๆ ไบค </span> </button> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup /> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๆ ‡้ข˜ </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบๆ—ถ้—ด </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > TradeCode 1 </td> <td class="ant-table-cell" > 2020-10-13 </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-1 ๆก/ๆ€ปๅ…ฑ 1 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> <li class="ant-pagination-options" > <div aria-label="้กต็ " class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" aria-label="้กต็ " aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="ant-select-selection-search-input" id="rc_select_TEST_OR_SSR" role="combobox" type="search" value="" /> </span> <span class="ant-select-selection-item" title="20 ๆก/้กต" > 20 ๆก/้กต </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/intl.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="title" title="Money" > Money </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-input-number ant-input-number-in-form-item" style="width: 100%;" > <div class="ant-input-number-handler-wrap" > <span aria-disabled="false" aria-label="Increase Value" class="ant-input-number-handler ant-input-number-handler-up" role="button" unselectable="on" > <span aria-label="up" class="anticon anticon-up ant-input-number-handler-up-inner" role="img" > <svg aria-hidden="true" data-icon="up" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /> </svg> </span> </span> <span aria-disabled="false" aria-label="Decrease Value" class="ant-input-number-handler ant-input-number-handler-down" role="button" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-input-number-handler-down-inner" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> <div class="ant-input-number-input-wrap" > <input autocomplete="off" class="ant-input-number-input" id="title" placeholder="่ฏท่พ“ๅ…ฅ" role="spinbutton" step="1" value="" /> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="name" title="Title" > Title </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="name" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > <div class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small" > <div class="ant-space-item" > <span> Basic Table </span> </div> <div class="ant-space-item" > <div class="ant-select ant-select-borderless ant-select-single ant-select-show-arrow" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="ant-select-selection-search-input" id="rc_select_TEST_OR_SSR" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="zhCNIntl" > zhCNIntl </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-primary" type="button" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> <span> New </span> </button> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col class="ant-table-selection-col" /> <col /> <col /> <col style="width: 100px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell ant-table-selection-column" scope="col" > <div class="ant-table-selection" > <label class="ant-checkbox-wrapper" > <span class="ant-checkbox ant-wave-target" > <input aria-label="Select all" class="ant-checkbox-input" type="checkbox" /> <span class="ant-checkbox-inner" /> </span> </label> </div> </th> <th class="ant-table-cell" scope="col" > index </th> <th class="ant-table-cell" scope="col" > Title </th> <th class="ant-table-cell" scope="col" > Money </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell ant-table-selection-column" > <label class="ant-checkbox-wrapper" > <span class="ant-checkbox ant-wave-target" > <input class="ant-checkbox-input" type="checkbox" /> <span class="ant-checkbox-inner" /> </span> </label> </td> <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 1 </div> </td> <td class="ant-table-cell" > TradeCode 1 </td> <td class="ant-table-cell" > <span> ยฅ84.04 </span> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-1 ๆก/ๆ€ปๅ…ฑ 1 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/lightfilter.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > Light Filter </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-filter" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-light-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-pro-form-light-filter ant-pro-form-light-filter-middle" > <div class="ant-pro-form-light-filter-container" > <div class="ant-pro-form-light-filter-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-pro-core-field-dropdown-label" > <span class="ant-pro-core-field-label ant-pro-core-field-label-middle ant-pro-core-field-label-allow-clear" > ๅบ”็”จๅ็งฐ <span aria-label="down" class="anticon anticon-down ant-pro-core-field-label-icon ant-pro-core-field-label-arrow" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-pro-form-light-filter-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-pro-core-field-dropdown-label" > <span class="ant-pro-core-field-label ant-pro-core-field-label-middle ant-pro-core-field-label-active ant-pro-core-field-label-allow-clear" > <span style="display: inline-flex; align-items: center;" title="2016-11-22 ~ 2016-11-23" > <span class="ant-pro-core-field-label-text" > ๆ—ฅๆœŸ่Œƒๅ›ด: </span> <span style="padding-inline-start: 4px; display: flex;" > 2016-11-22 ~ 2016-11-23 </span> </span> <span aria-label="close-circle" class="anticon anticon-close-circle ant-pro-core-field-label-icon ant-pro-core-field-label-close" role="button" tabindex="-1" title="ๆธ…้™ค" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> <span aria-label="down" class="anticon anticon-down ant-pro-core-field-label-icon ant-pro-core-field-label-arrow" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-pro-form-light-filter-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div> <div class="ant-pro-field-select-light-select ant-pro-field-select-light-select-container-bottomLeft" > <div class="ant-select ant-select-in-form-item ant-select-single ant-select-allow-clear ant-select-show-arrow" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="creator_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="creator_list" autocomplete="off" class="ant-select-selection-search-input" id="creator" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-placeholder" > ่ฏท้€‰ๆ‹ฉ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> <span class="ant-pro-core-field-label ant-pro-core-field-label-middle ant-pro-core-field-label-allow-clear" > ๅˆ›ๅปบ่€… <span aria-label="down" class="anticon anticon-down ant-pro-core-field-label-icon ant-pro-core-field-label-arrow" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup /> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบ”็”จๅ็งฐ </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบ่€… </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-1 ๆก/ๆ€ปๅ…ฑ 1 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/linkage_form.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="name" title="ๆ ‡้ข˜" > ๆ ‡้ข˜ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="name" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="direction" title="ๅŠจๆ€่กจๅ•" > ๅŠจๆ€่กจๅ• </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-select-single ant-select-show-arrow" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="ant-select-selection-search-input" id="rc_select_TEST_OR_SSR" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-placeholder" /> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="state" title="็Šถๆ€" > ็Šถๆ€ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="width: 100%;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="state_list" autocomplete="off" class="ant-select-selection-search-input" id="state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๆœˆไปฝ" > ๆœˆไปฝ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-col-offset-16" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-default" type="button" > <span> ๅฏผ ๅ‡บ </span> </button> </div> </div> <div class="ant-space-item" > <a class="ant-pro-query-filter-collapse-button" > ๆ”ถ่ตท <span aria-label="down" class="anticon anticon-down" role="img" style="margin-inline-start: 0.5em; transition: 0.3s all; transform: rotate(0.5turn);" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๅŠจๆ€่‡ชๅฎšไน‰ๆœ็ดขๆ  </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-primary" type="button" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> <span> ๆ–ฐๅปบ </span> </button> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle ant-table-layout-fixed" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: fixed;" > <colgroup /> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบๅท </th> <th class="ant-table-cell" scope="col" > ๆ ‡้ข˜ </th> <th class="ant-table-cell" scope="col" > ็Šถๆ€ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 1 </div> </td> <td class="ant-table-cell" > TradeCode 1 </td> <td class="ant-table-cell" > closed </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-1 ๆก/ๆ€ปๅ…ฑ 1 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/listToolBar.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left ant-pro-table-list-toolbar-left-has-tabs" > <div class="ant-tabs ant-tabs-top" > <div class="ant-tabs-nav" role="tablist" > <div class="ant-tabs-nav-wrap" > <div class="ant-tabs-nav-list" style="transform: translate(0px, 0px);" > <div class="ant-tabs-tab ant-tabs-tab-active" data-node-key="tab1" > <div aria-controls="rc-tabs-test-panel-tab1" aria-selected="true" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-tab1" role="tab" tabindex="0" > <span> ๅบ”็”จ <span class="ant-badge ant-badge-not-a-wrapper" > <sup class="ant-scroll-number ant-badge-count ant-badge-multiple-words" data-show="true" style="margin-block-start: -2px; margin-inline-start: 4px; color: rgb(24, 144, 255); background-color: rgb(230, 247, 255);" title="99" > <bdi> <span class="ant-scroll-number-only" style="transition: none;" > <span class="ant-scroll-number-only-unit current" > 9 </span> </span> <span class="ant-scroll-number-only" style="transition: none;" > <span class="ant-scroll-number-only-unit current" > 9 </span> </span> </bdi> </sup> </span> </span> </div> </div> <div class="ant-tabs-tab" data-node-key="tab2" > <div aria-controls="rc-tabs-test-panel-tab2" aria-selected="false" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-tab2" role="tab" tabindex="0" > <span> ้กน็›ฎ <span class="ant-badge ant-badge-not-a-wrapper" > <sup class="ant-scroll-number ant-badge-count ant-badge-multiple-words" data-show="true" style="margin-block-start: -2px; margin-inline-start: 4px; color: rgb(153, 153, 153); background-color: rgb(238, 238, 238);" title="30" > <bdi> <span class="ant-scroll-number-only" style="transition: none;" > <span class="ant-scroll-number-only-unit current" > 3 </span> </span> <span class="ant-scroll-number-only" style="transition: none;" > <span class="ant-scroll-number-only-unit current" > 0 </span> </span> </bdi> </sup> </span> </span> </div> </div> <div class="ant-tabs-tab" data-node-key="tab3" > <div aria-controls="rc-tabs-test-panel-tab3" aria-selected="false" class="ant-tabs-tab-btn" id="rc-tabs-test-tab-tab3" role="tab" tabindex="0" > <span> ๆ–‡็ซ  <span class="ant-badge ant-badge-not-a-wrapper" > <sup class="ant-scroll-number ant-badge-count ant-badge-multiple-words" data-show="true" style="margin-block-start: -2px; margin-inline-start: 4px; color: rgb(153, 153, 153); background-color: rgb(238, 238, 238);" title="30" > <bdi> <span class="ant-scroll-number-only" style="transition: none;" > <span class="ant-scroll-number-only-unit current" > 3 </span> </span> <span class="ant-scroll-number-only" style="transition: none;" > <span class="ant-scroll-number-only-unit current" > 0 </span> </span> </bdi> </sup> </span> </span> </div> </div> <div class="ant-tabs-ink-bar ant-tabs-ink-bar-animated" /> </div> </div> <div class="ant-tabs-nav-operations ant-tabs-nav-operations-hidden" > <button aria-controls="rc-tabs-test-more-popup" aria-expanded="false" aria-haspopup="listbox" aria-hidden="true" class="ant-tabs-nav-more" id="rc-tabs-test-more" style="visibility: hidden; order: 1;" tabindex="-1" type="button" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </button> </div> </div> <div class="ant-tabs-content-holder" > <div class="ant-tabs-content ant-tabs-content-top" > <div aria-hidden="false" aria-labelledby="rc-tabs-test-tab-tab1" class="ant-tabs-tabpane ant-tabs-tabpane-active" id="rc-tabs-test-panel-tab1" role="tabpanel" tabindex="0" /> </div> </div> </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-pro-form-light-filter ant-pro-form-light-filter-middle" > <div class="ant-pro-form-light-filter-container" > <div class="ant-pro-form-light-filter-item" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div> <span class="ant-pro-core-field-label ant-pro-core-field-label-middle" > ๅ“ๅบ”ๆ—ฅๆœŸ <span aria-label="down" class="anticon anticon-down ant-pro-core-field-label-icon ant-pro-core-field-label-arrow" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-primary" type="button" > <span> ๆ–ฐๅปบๅบ”็”จ </span> </button> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col /> <col /> <col /> <col /> <col style="width: 120px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบ”็”จๅ็งฐ </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบ่€… </th> <th class="ant-table-cell" scope="col" > <div class="ant-table-filter-column" > <span class="ant-table-column-title" > ็Šถๆ€ </span> <span class="ant-dropdown-trigger ant-table-filter-trigger" role="button" tabindex="-1" > <span aria-label="filter" class="anticon anticon-filter" role="img" > <svg aria-hidden="true" data-icon="filter" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /> </svg> </span> </span> </div> </th> <th aria-label="" class="ant-table-cell ant-table-column-has-sorters" scope="col" style="text-align: right;" tabindex="0" > <div class="ant-table-column-sorters" > <span class="ant-table-column-title" > ๅฎนๅ™จๆ•ฐ้‡ </span> <span class="ant-table-column-sorter ant-table-column-sorter-full" > <span aria-hidden="true" class="ant-table-column-sorter-inner" > <span aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up" role="img" > <svg aria-hidden="true" data-icon="caret-up" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /> </svg> </span> <span aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down" role="img" > <svg aria-hidden="true" data-icon="caret-down" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /> </svg> </span> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅพ…ๅ‘ๅธƒ </span> </span> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ๅ‘ๅธƒ </a> <a> ็›‘ๆŽง </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅพ…ๅ‘ๅธƒ </span> </span> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ๅ‘ๅธƒ </a> <a> ็›‘ๆŽง </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅพ…ๅ‘ๅธƒ </span> </span> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ๅ‘ๅธƒ </a> <a> ็›‘ๆŽง </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="3" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅพ…ๅ‘ๅธƒ </span> </span> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ๅ‘ๅธƒ </a> <a> ็›‘ๆŽง </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="4" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅพ…ๅ‘ๅธƒ </span> </span> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ๅ‘ๅธƒ </a> <a> ็›‘ๆŽง </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-5 ๆก/ๆ€ปๅ…ฑ 5 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/no-option.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="name" title="ๅบ”็”จๅ็งฐ" > ๅบ”็”จๅ็งฐ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="name" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="containers" title="ๅฎนๅ™จๆ•ฐ้‡" > ๅฎนๅ™จๆ•ฐ้‡ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="containers" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="status" title="็Šถๆ€" > ็Šถๆ€ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="width: 100%;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="status_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="status_list" autocomplete="off" class="ant-select-selection-search-input" id="status" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๅ…จ้ƒจ" > ๅ…จ้ƒจ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ่กจๆ ผๆ ‡้ข˜ </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-default" type="button" > <span> ๆŸฅ็œ‹ๆ—ฅๅฟ— </span> </button> <button class="ant-btn ant-btn-default" type="button" > <span> ๅฏผๅ‡บๆ•ฐๆฎ </span> <span aria-label="down" class="anticon anticon-down" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๅˆ›ๅปบๅบ”็”จ </span> </button> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col style="width: 80px;" /> <col /> <col style="width: 80px;" /> <col style="width: 140px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบ”็”จๅ็งฐ </th> <th aria-label="" class="ant-table-cell ant-table-column-has-sorters" scope="col" style="text-align: right;" tabindex="0" > <div class="ant-table-column-sorters" > <span class="ant-table-column-title" > ๅฎนๅ™จๆ•ฐ้‡ </span> <span class="ant-table-column-sorter ant-table-column-sorter-full" > <span aria-hidden="true" class="ant-table-column-sorter-inner" > <span aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up" role="img" > <svg aria-hidden="true" data-icon="caret-up" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /> </svg> </span> <span aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down" role="img" > <svg aria-hidden="true" data-icon="caret-down" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /> </svg> </span> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ็Šถๆ€ </th> <th aria-label="" class="ant-table-cell ant-table-column-has-sorters" scope="col" tabindex="0" > <div class="ant-table-column-sorters" > <span class="ant-table-column-title" > <div class="ant-pro-core-label-tip" > <div class="ant-pro-core-label-tip-title" > ๅˆ›ๅปบๆ—ถ้—ด </div> <span class="ant-pro-core-label-tip-icon" > <span aria-label="info-circle" class="anticon anticon-info-circle" role="img" > <svg aria-hidden="true" data-icon="info-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /> </svg> </span> </span> </div> </span> <span class="ant-table-column-sorter ant-table-column-sorter-full" > <span aria-hidden="true" class="ant-table-column-sorter-inner" > <span aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up" role="img" > <svg aria-hidden="true" data-icon="caret-up" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /> </svg> </span> <span aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down" role="img" > <svg aria-hidden="true" data-icon="caret-down" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /> </svg> </span> </span> </span> </div> </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > 2016-11-22 </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > 2016-11-22 </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > 2016-11-22 </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="3" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > 2016-11-22 </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="4" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > 2016-11-22 </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-5 ๆก/ๆ€ปๅ…ฑ 5 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/no-title.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col style="width: 150px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๆˆๅ‘˜ๅ็งฐ </th> <th class="ant-table-cell" scope="col" > ่ดฆๅท </th> <th class="ant-table-cell" scope="col" > ่ง’่‰ฒ </th> <th class="ant-table-cell" scope="col" > ๆƒ้™่Œƒๅ›ด </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="102047" > <td class="ant-table-cell" > <div class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small" > <div class="ant-space-item" > <span> <span class="ant-avatar ant-avatar-circle ant-avatar-image" style="width: 22px; height: 22px; line-height: 22px; font-size: 18px;" > <img src="https://gw.alipayobjects.com/zos/antfincdn/upvrAjAPQX/Logo_Tech%252520UI.svg" /> </span> </span> </div> <div class="ant-space-item" > ๅทดๅทด </div> </div> </td> <td class="ant-table-cell" > [email protected] </td> <td class="ant-table-cell" > <a class="ant-dropdown-trigger" > ็ฎก็†ๅ‘˜ <span aria-label="down" class="anticon anticon-down" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </td> <td class="ant-table-cell" > ๆ‰€ๆœ‰ๆƒ้™ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> <a> ็งป้™ค </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="102048" > <td class="ant-table-cell" > <div class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small" > <div class="ant-space-item" > <span> <span class="ant-avatar ant-avatar-circle ant-avatar-image" style="width: 22px; height: 22px; line-height: 22px; font-size: 18px;" > <img src="https://gw.alipayobjects.com/zos/antfincdn/upvrAjAPQX/Logo_Tech%252520UI.svg" /> </span> </span> </div> <div class="ant-space-item" > ๆต‹่ฏ• </div> </div> </td> <td class="ant-table-cell" > [email protected] </td> <td class="ant-table-cell" > <a class="ant-dropdown-trigger" > ๆ“ไฝœๅ‘˜ <span aria-label="down" class="anticon anticon-down" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </td> <td class="ant-table-cell" > ๆƒ้™็‚นๅ็งฐ1ใ€ๆƒ้™็‚นๅ็งฐ4 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> <a> ้€€ๅ‡บ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="102049" > <td class="ant-table-cell" > <div class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small" > <div class="ant-space-item" > <span> <span class="ant-avatar ant-avatar-circle ant-avatar-image" style="width: 22px; height: 22px; line-height: 22px; font-size: 18px;" > <img src="https://gw.alipayobjects.com/zos/antfincdn/upvrAjAPQX/Logo_Tech%252520UI.svg" /> </span> </span> </div> <div class="ant-space-item" > ๆต‹่ฏ•2 </div> </div> </td> <td class="ant-table-cell" > [email protected] </td> <td class="ant-table-cell" > <a class="ant-dropdown-trigger" > ๆ“ไฝœๅ‘˜ <span aria-label="down" class="anticon anticon-down" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </td> <td class="ant-table-cell" > ๆƒ้™็‚นๅ็งฐ1 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> <a> ้€€ๅ‡บ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="102050" > <td class="ant-table-cell" > <div class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small" > <div class="ant-space-item" > <span> <span class="ant-avatar ant-avatar-circle ant-avatar-image" style="width: 22px; height: 22px; line-height: 22px; font-size: 18px;" > <img src="https://gw.alipayobjects.com/zos/antfincdn/upvrAjAPQX/Logo_Tech%252520UI.svg" /> </span> </span> </div> <div class="ant-space-item" > ๆต‹่ฏ•3 </div> </div> </td> <td class="ant-table-cell" > [email protected] </td> <td class="ant-table-cell" > <a class="ant-dropdown-trigger" > ๆ“ไฝœๅ‘˜ <span aria-label="down" class="anticon anticon-down" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </td> <td class="ant-table-cell" > ๆ—  </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> <a> ้€€ๅ‡บ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="102051" > <td class="ant-table-cell" > <div class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small" > <div class="ant-space-item" > <span> <span class="ant-avatar ant-avatar-circle ant-avatar-image" style="width: 22px; height: 22px; line-height: 22px; font-size: 18px;" > <img src="https://gw.alipayobjects.com/zos/antfincdn/upvrAjAPQX/Logo_Tech%252520UI.svg" /> </span> </span> </div> <div class="ant-space-item" > ๅทดๅทด </div> </div> </td> <td class="ant-table-cell" > [email protected] </td> <td class="ant-table-cell" > <a class="ant-dropdown-trigger" > ๆ“ไฝœๅ‘˜ <span aria-label="down" class="anticon anticon-down" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </td> <td class="ant-table-cell" > ๆ—  </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> <a> ้€€ๅ‡บ </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-5 ๆก/ๆ€ปๅ…ฑ 5 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/normal.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ่กจๆ ผๆ ‡้ข˜ </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-default" type="button" > <span> ๆŸฅ็œ‹ๆ—ฅๅฟ— </span> </button> <button class="ant-btn ant-btn-default" type="button" > <span> ๅฏผๅ‡บๆ•ฐๆฎ </span> <span aria-label="down" class="anticon anticon-down" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๅˆ›ๅปบๅบ”็”จ </span> </button> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col style="width: 80px;" /> <col /> <col style="width: 80px;" /> <col style="width: 80px;" /> <col style="width: 180px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบ”็”จๅ็งฐ </th> <th aria-label="" class="ant-table-cell ant-table-column-has-sorters" scope="col" style="text-align: right;" tabindex="0" > <div class="ant-table-column-sorters" > <span class="ant-table-column-title" > ๅฎนๅ™จๆ•ฐ้‡ </span> <span class="ant-table-column-sorter ant-table-column-sorter-full" > <span aria-hidden="true" class="ant-table-column-sorter-inner" > <span aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up" role="img" > <svg aria-hidden="true" data-icon="caret-up" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /> </svg> </span> <span aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down" role="img" > <svg aria-hidden="true" data-icon="caret-down" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /> </svg> </span> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ็Šถๆ€ </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบ่€… </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> ็›‘ๆŽง </a> <a class="ant-dropdown-trigger ant-pro-table-dropdown" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> ็›‘ๆŽง </a> <a class="ant-dropdown-trigger ant-pro-table-dropdown" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> ็›‘ๆŽง </a> <a class="ant-dropdown-trigger ant-pro-table-dropdown" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="3" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> ็›‘ๆŽง </a> <a class="ant-dropdown-trigger ant-pro-table-dropdown" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="4" > <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้“พ่ทฏ </a> <a> ๆŠฅ่ญฆ </a> <a> ็›‘ๆŽง </a> <a class="ant-dropdown-trigger ant-pro-table-dropdown" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-5 ๆก/ๆ€ปๅ…ฑ 5 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/open-rules.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-required" for="title" title="ๆ ‡้ข˜" > ๆ ‡้ข˜ <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="title" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-required" for="state" title="็Šถๆ€" > ็Šถๆ€ </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="width: 100%;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="state_list" autocomplete="off" class="ant-select-selection-search-input" id="state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-placeholder" > ่ฏท้€‰ๆ‹ฉ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ้ซ˜็บง่กจๆ ผ </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: fixed;" > <colgroup> <col style="width: 30%;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell ant-table-cell-ellipsis" scope="col" > <div class="ant-pro-core-label-tip" > <div class="ant-pro-core-label-tip-title ant-pro-core-label-tip-title-ellipsis" > ๆ ‡้ข˜ </div> <span class="ant-pro-core-label-tip-icon" > <span aria-label="info-circle" class="anticon anticon-info-circle" role="img" > <svg aria-hidden="true" data-icon="info-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > <div class="ant-table-filter-column" > <span class="ant-table-column-title" > ็Šถๆ€ </span> <span class="ant-dropdown-trigger ant-table-filter-trigger" role="button" tabindex="-1" > <span aria-label="filter" class="anticon anticon-filter" role="img" > <svg aria-hidden="true" data-icon="filter" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๆ ‡็ญพ </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบๆ—ถ้—ด </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="624748504" > <td class="ant-table-cell ant-table-cell-ellipsis" title="๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™" > <span aria-label="๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™ <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-error" /> <span class="ant-badge-status-text" > ๆœช่งฃๅ†ณ </span> </span> </td> <td class="ant-table-cell" > <div class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small" > <div class="ant-space-item" > <span class="ant-tag ant-tag-error" > bug </span> </div> </div> </td> <td class="ant-table-cell" > 2020-05-26 </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-1 ๆก/ๆ€ปๅ…ฑ 1 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="title" title="ๆ ‡้ข˜" > ๆ ‡้ข˜ <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="title" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="state" title="็Šถๆ€" > ็Šถๆ€ </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="width: 100%;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="state_list" autocomplete="off" class="ant-select-selection-search-input" id="state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-placeholder" > ่ฏท้€‰ๆ‹ฉ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ้ซ˜็บง่กจๆ ผ </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: fixed;" > <colgroup> <col style="width: 30%;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell ant-table-cell-ellipsis" scope="col" > <div class="ant-pro-core-label-tip" > <div class="ant-pro-core-label-tip-title ant-pro-core-label-tip-title-ellipsis" > ๆ ‡้ข˜ </div> <span class="ant-pro-core-label-tip-icon" > <span aria-label="info-circle" class="anticon anticon-info-circle" role="img" > <svg aria-hidden="true" data-icon="info-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > <div class="ant-table-filter-column" > <span class="ant-table-column-title" > ็Šถๆ€ </span> <span class="ant-dropdown-trigger ant-table-filter-trigger" role="button" tabindex="-1" > <span aria-label="filter" class="anticon anticon-filter" role="img" > <svg aria-hidden="true" data-icon="filter" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๆ ‡็ญพ </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบๆ—ถ้—ด </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="624748504" > <td class="ant-table-cell ant-table-cell-ellipsis" title="๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™" > <span aria-label="๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™ <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-error" /> <span class="ant-badge-status-text" > ๆœช่งฃๅ†ณ </span> </span> </td> <td class="ant-table-cell" > <div class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small" > <div class="ant-space-item" > <span class="ant-tag ant-tag-error" > bug </span> </div> </div> </td> <td class="ant-table-cell" > 2020-05-26 </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-1 ๆก/ๆ€ปๅ…ฑ 1 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/pollinga.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="status" title="็Šถๆ€" > ็Šถๆ€ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="width: 100%;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="status_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="status_list" autocomplete="off" class="ant-select-selection-search-input" id="status" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๅ…จ้ƒจ" > ๅ…จ้ƒจ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="progress" title="่ฟ›ๅบฆ" > ่ฟ›ๅบฆ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-input-number ant-input-number-in-form-item" style="width: 100%;" > <div class="ant-input-number-handler-wrap" > <span aria-disabled="false" aria-label="Increase Value" class="ant-input-number-handler ant-input-number-handler-up" role="button" unselectable="on" > <span aria-label="up" class="anticon anticon-up ant-input-number-handler-up-inner" role="img" > <svg aria-hidden="true" data-icon="up" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /> </svg> </span> </span> <span aria-disabled="false" aria-label="Decrease Value" class="ant-input-number-handler ant-input-number-handler-down" role="button" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-input-number-handler-down-inner" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> <div class="ant-input-number-input-wrap" > <input autocomplete="off" class="ant-input-number-input" id="progress" placeholder="่ฏท่พ“ๅ…ฅ" role="spinbutton" step="1" value="" /> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="since2" title="ๆ›ดๆ–ฐๆ—ถ้—ด" > ๆ›ดๆ–ฐๆ—ถ้—ด </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker" style="width: 100%;" > <div class="ant-picker-input" > <input autocomplete="off" id="since2" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" title="" value="" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="since3" title="ๅˆ›ๅปบๆ—ถ้—ด" > ๅˆ›ๅปบๆ—ถ้—ด </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker" style="width: 100%;" > <div class="ant-picker-input" > <input autocomplete="off" id="since3" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" title="" value="" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> <div class="ant-space-item" > <a class="ant-pro-query-filter-collapse-button" > ๅฑ•ๅผ€ <span aria-label="down" class="anticon anticon-down" role="img" style="margin-inline-start: 0.5em; transition: 0.3s all; transform: rotate(0turn);" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ไธŠๆฌกๆ›ดๆ–ฐๆ—ถ้—ด๏ผš15:22:47 </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-primary" type="button" > <span aria-label="loading" class="anticon anticon-loading anticon-spin" role="img" > <svg aria-hidden="true" data-icon="loading" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" /> </svg> </span> <span> ๅœๆญข่ฝฎ่ฏข </span> </button> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col style="width: 80px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบๅท </th> <th class="ant-table-cell" scope="col" > <div class="ant-table-filter-column" > <span class="ant-table-column-title" > ็Šถๆ€ </span> <span class="ant-dropdown-trigger ant-table-filter-trigger" role="button" tabindex="-1" > <span aria-label="filter" class="anticon anticon-filter" role="img" > <svg aria-hidden="true" data-icon="filter" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ่ฟ›ๅบฆ </th> <th class="ant-table-cell" scope="col" > ๆ›ดๆ–ฐๆ—ถ้—ด </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบๆ—ถ้—ด </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column" > 1 </div> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > <div aria-valuenow="86" class="ant-progress ant-progress-status-active ant-progress-line ant-progress-show-info ant-progress-small" role="progressbar" style="min-width: 100px; max-width: 320px;" > <div class="ant-progress-outer" style="width: 100%; height: 6px;" > <div class="ant-progress-inner" > <div class="ant-progress-bg" style="width: 86%; height: 6px;" /> </div> </div> <span class="ant-progress-text" title="86%" > 86% </span> </div> </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell" > 2016-11 </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column" > 2 </div> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-default" /> <span class="ant-badge-status-text" > ๅ…ณ้—ญ </span> </span> </td> <td class="ant-table-cell" > <div aria-valuenow="86" class="ant-progress ant-progress-status-active ant-progress-line ant-progress-show-info ant-progress-small" role="progressbar" style="min-width: 100px; max-width: 320px;" > <div class="ant-progress-outer" style="width: 100%; height: 6px;" > <div class="ant-progress-inner" > <div class="ant-progress-bg" style="width: 86%; height: 6px;" /> </div> </div> <span class="ant-progress-text" title="86%" > 86% </span> </div> </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell" > 2016-11 </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-2 ๆก/ๆ€ปๅ…ฑ 2 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> <li class="ant-pagination-options" > <div aria-label="้กต็ " class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" aria-label="้กต็ " aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="ant-select-selection-search-input" id="rc_select_TEST_OR_SSR" role="combobox" type="search" value="" /> </span> <span class="ant-select-selection-item" title="20 ๆก/้กต" > 20 ๆก/้กต </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/renderTable.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="since2" title="ๆ›ดๆ–ฐๆ—ถ้—ด" > ๆ›ดๆ–ฐๆ—ถ้—ด </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker" style="width: 100%;" > <div class="ant-picker-input" > <input autocomplete="off" id="since2" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" title="" value="" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="progress" title="ๆ‰ง่กŒ่ฟ›ๅบฆ" > ๆ‰ง่กŒ่ฟ›ๅบฆ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-input-number ant-input-number-in-form-item" style="width: 100%;" > <div class="ant-input-number-handler-wrap" > <span aria-disabled="false" aria-label="Increase Value" class="ant-input-number-handler ant-input-number-handler-up" role="button" unselectable="on" > <span aria-label="up" class="anticon anticon-up ant-input-number-handler-up-inner" role="img" > <svg aria-hidden="true" data-icon="up" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /> </svg> </span> </span> <span aria-disabled="false" aria-label="Decrease Value" class="ant-input-number-handler ant-input-number-handler-down" role="button" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-input-number-handler-down-inner" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> <div class="ant-input-number-input-wrap" > <input autocomplete="off" class="ant-input-number-input" id="progress" placeholder="่ฏท่พ“ๅ…ฅ" role="spinbutton" step="1" value="" /> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-table ant-pro-table-extra" > <div class="ant-card ant-card-bordered" > <div class="ant-card-body" > <div class="ant-descriptions ant-descriptions-small" > <div class="ant-descriptions-view" > <table> <tbody> <tr class="ant-descriptions-row" > <td class="ant-descriptions-item" colspan="1" > <div class="ant-descriptions-item-container" > <span class="ant-descriptions-item-label" > Row </span> <span class="ant-descriptions-item-content" > 2 </span> </div> </td> <td class="ant-descriptions-item" colspan="1" > <div class="ant-descriptions-item-container" > <span class="ant-descriptions-item-label" > Created </span> <span class="ant-descriptions-item-content" > Lili Qu </span> </div> </td> <td class="ant-descriptions-item" colspan="1" > <div class="ant-descriptions-item-container" > <span class="ant-descriptions-item-label" > Association </span> <span class="ant-descriptions-item-content" > <a> 421421 </a> </span> </div> </td> </tr> <tr class="ant-descriptions-row" > <td class="ant-descriptions-item" colspan="1" > <div class="ant-descriptions-item-container" > <span class="ant-descriptions-item-label" > Creation Time </span> <span class="ant-descriptions-item-content" > 2017-01-10 </span> </div> </td> <td class="ant-descriptions-item" colspan="2" > <div class="ant-descriptions-item-container" > <span class="ant-descriptions-item-label" > Effective Time </span> <span class="ant-descriptions-item-content" > 2017-10-10 </span> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> <div style="display: flex; width: 100%;" > <ul class="ant-menu ant-menu-root ant-menu-inline ant-menu-light" data-menu-list="true" role="menu" style="width: 256px;" tabindex="0" > <li class="ant-menu-submenu ant-menu-submenu-inline ant-menu-submenu-open ant-menu-submenu-selected" role="none" > <div aria-controls="rc-menu-uuid-test-sub1-popup" aria-expanded="true" aria-haspopup="true" class="ant-menu-submenu-title" data-menu-id="rc-menu-uuid-test-sub1" role="menuitem" style="padding-left: 24px;" tabindex="-1" > <span class="ant-menu-title-content" > <span> <span aria-label="mail" class="anticon anticon-mail" role="img" > <svg aria-hidden="true" data-icon="mail" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z" /> </svg> </span> <span> Navigation One </span> </span> </span> <i class="ant-menu-submenu-arrow" /> </div> <ul class="ant-menu ant-menu-sub ant-menu-inline" data-menu-list="true" id="rc-menu-uuid-test-sub1-popup" role="menu" > <li class="ant-menu-item-group" role="presentation" > <div class="ant-menu-item-group-title" role="presentation" title="Item 1" > Item 1 </div> <ul class="ant-menu-item-group-list" role="group" > <li class="ant-menu-item ant-menu-item-selected ant-menu-item-only-child" data-menu-id="rc-menu-uuid-test-1" role="menuitem" style="padding-left: 48px;" tabindex="-1" > <span class="ant-menu-title-content" > Option 1 </span> </li> <li class="ant-menu-item ant-menu-item-only-child" data-menu-id="rc-menu-uuid-test-2" role="menuitem" style="padding-left: 48px;" tabindex="-1" > <span class="ant-menu-title-content" > Option 2 </span> </li> </ul> </li> <li class="ant-menu-item-group" role="presentation" > <div class="ant-menu-item-group-title" role="presentation" title="Item 2" > Item 2 </div> <ul class="ant-menu-item-group-list" role="group" > <li class="ant-menu-item ant-menu-item-only-child" data-menu-id="rc-menu-uuid-test-3" role="menuitem" style="padding-left: 48px;" tabindex="-1" > <span class="ant-menu-title-content" > Option 3 </span> </li> <li class="ant-menu-item ant-menu-item-only-child" data-menu-id="rc-menu-uuid-test-4" role="menuitem" style="padding-left: 48px;" tabindex="-1" > <span class="ant-menu-title-content" > Option 4 </span> </li> </ul> </li> </ul> </li> </ul> <div aria-hidden="true" style="display: none;" /> <div style="flex: 1;" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ่‡ชๅฎšไน‰่กจๆ ผไธปไฝ“ </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col style="width: 80px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบๅท </th> <th class="ant-table-cell" scope="col" > ๆ›ดๆ–ฐๆ—ถ้—ด </th> <th class="ant-table-cell" scope="col" > ๆ‰ง่กŒ่ฟ›ๅบฆ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column" > 1 </div> </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell" > <div aria-valuenow="86" class="ant-progress ant-progress-status-active ant-progress-line ant-progress-show-info ant-progress-small" role="progressbar" style="min-width: 100px; max-width: 320px;" > <div class="ant-progress-outer" style="width: 100%; height: 6px;" > <div class="ant-progress-inner" > <div class="ant-progress-bg" style="width: 86%; height: 6px;" /> </div> </div> <span class="ant-progress-text" title="86%" > 86% </span> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column" > 2 </div> </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell" > <div aria-valuenow="86" class="ant-progress ant-progress-status-active ant-progress-line ant-progress-show-info ant-progress-small" role="progressbar" style="min-width: 100px; max-width: 320px;" > <div class="ant-progress-outer" style="width: 100%; height: 6px;" > <div class="ant-progress-inner" > <div class="ant-progress-bg" style="width: 86%; height: 6px;" /> </div> </div> <span class="ant-progress-text" title="86%" > 86% </span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-2 ๆก/ๆ€ปๅ…ฑ 2 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> <li class="ant-pagination-options" > <div aria-label="้กต็ " class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" aria-label="้กต็ " aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="ant-select-selection-search-input" id="rc_select_TEST_OR_SSR" role="combobox" type="search" value="" /> </span> <span class="ant-select-selection-item" title="20 ๆก/้กต" > 20 ๆก/้กต </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/rtl_table.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-form-rtl ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-row-rtl ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split ant-col-rtl" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-row-rtl ant-form-item-row" > <div class="ant-col ant-form-item-label ant-col-rtl" > <label class="" for="state" title="ุงู„ุญุงู„ุฉ" > ุงู„ุญุงู„ุฉ </label> </div> <div class="ant-col ant-form-item-control ant-col-rtl" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-rtl ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="width: 100%;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="state_list" autocomplete="off" class="ant-select-selection-search-input" id="state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ุบูŠุฑ ู…ุญู„ูˆู„ุฉ" > ุบูŠุฑ ู…ุญู„ูˆู„ุฉ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split ant-col-rtl" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-row-rtl ant-form-item-row" > <div class="ant-col ant-form-item-label ant-col-rtl" > <label class="" for="labels" title="ุงู„ุชุณู…ูŠุฉ" > ุงู„ุชุณู…ูŠุฉ </label> </div> <div class="ant-col ant-form-item-control ant-col-rtl" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper ant-input-affix-wrapper-rtl" style="width: 100%;" > <input class="ant-input ant-input-rtl" id="labels" placeholder="ุงู„ุฑุฌุงุก ุงู„ุฅุฏุฎุงู„" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-col-rtl" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-row-rtl ant-form-item-row" > <div class="ant-col ant-form-item-label ant-col-rtl" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control ant-col-rtl" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-rtl ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default ant-btn-rtl" type="button" > <span> ุฅุนุงุฏุฉ ุชุนูŠูŠู† </span> </button> <button class="ant-btn ant-btn-primary ant-btn-loading ant-btn-rtl" type="button" > <span class="ant-btn-icon ant-btn-loading-icon" > <span aria-label="loading" class="anticon anticon-loading anticon-spin" role="img" > <svg aria-hidden="true" data-icon="loading" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" /> </svg> </span> </span> <span> ุงุจุญุซ </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ู†ู…ูˆุฐุฌ ุงุญุชุฑุงููŠ </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-primary ant-btn-rtl" type="button" > <span class="ant-btn-icon" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> </span> <span> ุฌุฏูŠุฏ </span> </button> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger ant-dropdown-rtl" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper ant-table-wrapper-rtl" > <div class="ant-spin-nested-loading" > <div> <div aria-busy="true" aria-live="polite" class="ant-spin ant-spin-spinning ant-spin-rtl" > <span class="ant-spin-dot ant-spin-dot-spin" > <i class="ant-spin-dot-item" /> <i class="ant-spin-dot-item" /> <i class="ant-spin-dot-item" /> <i class="ant-spin-dot-item" /> </span> </div> </div> <div class="ant-spin-container ant-spin-blur" > <div class="ant-table ant-table-middle ant-table-empty ant-table-rtl" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: fixed;" > <colgroup> <col style="width: 48px;" /> <col style="width: 30%;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" /> <th class="ant-table-cell ant-table-cell-ellipsis" scope="col" > <div class="ant-pro-core-label-tip" > <div class="ant-pro-core-label-tip-title ant-pro-core-label-tip-title-ellipsis" > ุงู„ุนู†ูˆุงู† </div> <span class="ant-pro-core-label-tip-icon" > <span aria-label="info-circle" class="anticon anticon-info-circle" role="img" > <svg aria-hidden="true" data-icon="info-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > <div class="ant-table-filter-column" > <span class="ant-table-column-title" > ุงู„ุญุงู„ุฉ </span> <span class="ant-dropdown-trigger ant-dropdown-rtl ant-table-filter-trigger" role="button" tabindex="-1" > <span aria-label="filter" class="anticon anticon-filter" role="img" > <svg aria-hidden="true" data-icon="filter" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ุงู„ุชุณู…ูŠุฉ </th> <th class="ant-table-cell" scope="col" > ุงู„ุชุดุบูŠู„ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-placeholder" > <td class="ant-table-cell" colspan="5" > <div class="ant-empty ant-empty-normal ant-empty-rtl" > <div class="ant-empty-image" > <svg height="41" viewBox="0 0 64 41" width="64" xmlns="http://www.w3.org/2000/svg" > <g fill="none" fill-rule="evenodd" transform="translate(0 1)" > <ellipse cx="32" cy="33" fill="#f5f5f5" rx="32" ry="7" /> <g fill-rule="nonzero" stroke="#d9d9d9" > <path d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z" /> <path d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z" fill="#fafafa" /> </g> </g> </svg> </div> <div class="ant-empty-description" > ู„ุง ุชูˆุฌุฏ ุจูŠุงู†ุงุช </div> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/search.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > toolbar ไธญๆœ็ดข </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-search" > <span class="ant-input-group-wrapper ant-input-search" style="width: 200px;" > <span class="ant-input-wrapper ant-input-group" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-group-addon" > <button class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button" type="button" > <span class="ant-btn-icon" > <span aria-label="search" class="anticon anticon-search" role="img" > <svg aria-hidden="true" data-icon="search" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /> </svg> </span> </span> </button> </span> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup /> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบๅท </th> <th class="ant-table-cell" scope="col" > ๆ ‡้ข˜ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 1 </div> </td> <td class="ant-table-cell" > TradeCode 1 </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-1 ๆก/ๆ€ปๅ…ฑ 1 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/search_option.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="name" title="Title" > Title </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="name" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="title" title="Money" > Money </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-input-number ant-input-number-in-form-item" style="width: 100%;" > <div class="ant-input-number-handler-wrap" > <span aria-disabled="false" aria-label="Increase Value" class="ant-input-number-handler ant-input-number-handler-up" role="button" unselectable="on" > <span aria-label="up" class="anticon anticon-up ant-input-number-handler-up-inner" role="img" > <svg aria-hidden="true" data-icon="up" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /> </svg> </span> </span> <span aria-disabled="false" aria-label="Decrease Value" class="ant-input-number-handler ant-input-number-handler-down" role="button" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-input-number-handler-down-inner" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> <div class="ant-input-number-input-wrap" > <input autocomplete="off" class="ant-input-number-input" id="title" placeholder="่ฏท่พ“ๅ…ฅ" role="spinbutton" step="1" value="" /> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-default" type="button" > <span> ๅฏผ ๅ‡บ </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๆŸฅ่ฏข Table </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-primary" type="button" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> <span> ๆ–ฐๅปบ </span> </button> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col /> <col /> <col style="width: 100px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > index </th> <th class="ant-table-cell" scope="col" > Title </th> <th class="ant-table-cell" scope="col" > Money </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 1 </div> </td> <td class="ant-table-cell" > TradeCode 1 </td> <td class="ant-table-cell" > <span> ยฅ84.04 </span> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-1 ๆก/ๆ€ปๅ…ฑ 1 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/single.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-card-border ant-pro-card-bordered ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="title" title="ๆ ‡้ข˜" > ๆ ‡้ข˜ <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="title" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="state" title="็Šถๆ€" > ็Šถๆ€ </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="width: 100%;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="state_list" autocomplete="off" class="ant-select-selection-search-input" id="state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-placeholder" > ่ฏท้€‰ๆ‹ฉ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="created_at" title="ๅˆ›ๅปบๆ—ถ้—ด" > ๅˆ›ๅปบๆ—ถ้—ด </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker ant-picker-range" style="width: 100%;" > <div class="ant-picker-input ant-picker-input-active" > <input autocomplete="off" id="created_at" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" value="" /> </div> <div class="ant-picker-range-separator" > <span aria-label="to" class="ant-picker-separator" > <span aria-label="swap-right" class="anticon anticon-swap-right" role="img" > <svg aria-hidden="true" data-icon="swap-right" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" /> </svg> </span> </span> </div> <div class="ant-picker-input" > <input autocomplete="off" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" value="" /> </div> <div class="ant-picker-active-bar" style="left: 0px; width: 0px; position: absolute;" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary ant-btn-loading" type="button" > <span class="ant-btn-icon ant-btn-loading-icon" > <span aria-label="loading" class="anticon anticon-loading anticon-spin" role="img" > <svg aria-hidden="true" data-icon="loading" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" /> </svg> </span> </span> <span> ๆŸฅ ่ฏข </span> </button> </div> </div> <div class="ant-space-item" > <a class="ant-pro-query-filter-collapse-button" > ๅฑ•ๅผ€ <span aria-label="down" class="anticon anticon-down" role="img" style="margin-inline-start: 0.5em; transition: 0.3s all; transform: rotate(0turn);" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card ant-pro-card-border" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ้ซ˜็บง่กจๆ ผ </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-primary" type="button" > <span class="ant-btn-icon" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> </span> <span> ๆ–ฐๅปบ </span> </button> <button class="ant-btn ant-btn-default ant-dropdown-trigger" type="button" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </button> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div> <div aria-busy="true" aria-live="polite" class="ant-spin ant-spin-spinning" > <span class="ant-spin-dot ant-spin-dot-spin" > <i class="ant-spin-dot-item" /> <i class="ant-spin-dot-item" /> <i class="ant-spin-dot-item" /> <i class="ant-spin-dot-item" /> </span> </div> </div> <div class="ant-spin-container ant-spin-blur" > <div class="ant-table ant-table-middle ant-table-empty" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: fixed;" > <colgroup> <col style="width: 48px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" /> <th class="ant-table-cell ant-table-cell-ellipsis" scope="col" > <div class="ant-pro-core-label-tip" > <div class="ant-pro-core-label-tip-title ant-pro-core-label-tip-title-ellipsis" > ๆ ‡้ข˜ </div> <span class="ant-pro-core-label-tip-icon" > <span aria-label="info-circle" class="anticon anticon-info-circle" role="img" > <svg aria-hidden="true" data-icon="info-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell ant-table-cell-ellipsis" scope="col" > <div class="ant-table-filter-column" > <span class="ant-table-column-title" > ็Šถๆ€ </span> <span class="ant-dropdown-trigger ant-table-filter-trigger" role="button" tabindex="-1" > <span aria-label="filter" class="anticon anticon-filter" role="img" > <svg aria-hidden="true" data-icon="filter" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๆ ‡็ญพ </th> <th aria-label="" class="ant-table-cell ant-table-column-has-sorters" scope="col" tabindex="0" > <div class="ant-table-column-sorters" > <span class="ant-table-column-title" > ๅˆ›ๅปบๆ—ถ้—ด </span> <span class="ant-table-column-sorter ant-table-column-sorter-full" > <span aria-hidden="true" class="ant-table-column-sorter-inner" > <span aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up" role="img" > <svg aria-hidden="true" data-icon="caret-up" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /> </svg> </span> <span aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down" role="img" > <svg aria-hidden="true" data-icon="caret-down" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /> </svg> </span> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-placeholder" > <td class="ant-table-cell" colspan="6" > <div class="ant-empty ant-empty-normal" > <div class="ant-empty-image" > <svg height="41" viewBox="0 0 64 41" width="64" xmlns="http://www.w3.org/2000/svg" > <g fill="none" fill-rule="evenodd" transform="translate(0 1)" > <ellipse cx="32" cy="33" fill="#f5f5f5" rx="32" ry="7" /> <g fill-rule="nonzero" stroke="#d9d9d9" > <path d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z" /> <path d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z" fill="#fafafa" /> </g> </g> </svg> </div> <div class="ant-empty-description" > ๆš‚ๆ— ๆ•ฐๆฎ </div> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/single-test.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="canvas-pro-table" > <div class="canvas-pro-card canvas-pro-table-search canvas-pro-table-form canvas-pro-table-search-form" > <form autocomplete="off" class="canvas-form canvas-form-vertical canvas-pro-form" > <input style="display: none;" type="text" /> <div class="canvas-form-item" > <div class="canvas-row canvas-form-item-row" > <div class="canvas-col canvas-form-item-label" > <label class="" for="state" title="็Šถๆ€" > ็Šถๆ€ </label> </div> <div class="canvas-col canvas-form-item-control" > <div class="canvas-form-item-control-input" > <div class="canvas-form-item-control-input-content" > <div class="canvas-select canvas-select-in-form-item canvas-pro-filed-search-select canvas-select-single canvas-select-allow-clear canvas-select-show-arrow" style="min-width: 100px;" > <div class="canvas-select-selector" > <span class="canvas-select-selection-search" > <input aria-autocomplete="list" aria-controls="state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="state_list" autocomplete="off" class="canvas-select-selection-search-input" id="state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="canvas-select-selection-item" title="ๅ…จ้ƒจ" > ๅ…จ้ƒจ </span> </div> <span aria-hidden="true" class="canvas-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down canvas-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="canvas-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> <input class="canvas-input" type="text" value="" /> <div class="canvas-form-item" > <div class="canvas-row canvas-form-item-row" > <div class="canvas-col canvas-form-item-label" > <label class="" for="since" title="ๅˆ›ๅปบๆ—ถ้—ด" > ๅˆ›ๅปบๆ—ถ้—ด </label> </div> <div class="canvas-col canvas-form-item-control" > <div class="canvas-form-item-control-input" > <div class="canvas-form-item-control-input-content" > <div class="canvas-picker" > <div class="canvas-picker-input" > <input autocomplete="off" id="since" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" title="" value="" /> <span class="canvas-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="canvas-form-item" > <div class="canvas-row canvas-form-item-row" > <div class="canvas-col canvas-form-item-label" > <label class="" for="since" title="ๅˆ›ๅปบๆ—ถ้—ด" > ๅˆ›ๅปบๆ—ถ้—ด </label> </div> <div class="canvas-col canvas-form-item-control" > <div class="canvas-form-item-control-input" > <div class="canvas-form-item-control-input-content" > <span class="canvas-input-affix-wrapper" > <input class="canvas-input" id="since" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="canvas-input-suffix" > <span class="canvas-input-clear-icon canvas-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> <span class="canvas-input-affix-wrapper" > <input class="canvas-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="canvas-input-suffix" > <span class="canvas-input-clear-icon canvas-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> <div style="display: flex; gap: 8px; align-items: center;" > <button class="canvas-btn canvas-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="canvas-btn canvas-btn-primary" type="button" > <span> ๆ ไบค </span> </button> </div> </form> </div> </div> <div class="canvas-pro-table" > <div class="canvas-pro-card canvas-pro-table-search canvas-pro-table-search-query-filter" > <form autocomplete="off" class="canvas-form canvas-form-horizontal canvas-pro-query-filter canvas-pro-form" > <input style="display: none;" type="text" /> <div class="canvas-row canvas-row-start canvas-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="canvas-col canvas-col-8 canvas-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="canvas-form-item" style="flex-wrap: nowrap;" > <div class="canvas-row canvas-form-item-row" > <div class="canvas-col canvas-form-item-label" style="flex: 0 0 80px;" > <label class="" for="expand" title="col without dataIndex" > col without dataIndex </label> </div> <div class="canvas-col canvas-form-item-control" style="max-width: calc(100% - 80px);" > <div class="canvas-form-item-control-input" > <div class="canvas-form-item-control-input-content" > <span class="canvas-input-affix-wrapper" style="width: 100%;" > <input class="canvas-input" id="expand" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="canvas-input-suffix" > <span class="canvas-input-clear-icon canvas-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="canvas-col canvas-col-8 canvas-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="canvas-form-item" style="flex-wrap: nowrap;" > <div class="canvas-row canvas-form-item-row" > <div class="canvas-col canvas-form-item-label" style="flex: 0 0 80px;" > <label class="" for="key" title="normal col" > normal col </label> </div> <div class="canvas-col canvas-form-item-control" style="max-width: calc(100% - 80px);" > <div class="canvas-form-item-control-input" > <div class="canvas-form-item-control-input-content" > <span class="canvas-input-affix-wrapper" style="width: 100%;" > <input class="canvas-input" id="key" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="canvas-input-suffix" > <span class="canvas-input-clear-icon canvas-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="canvas-col canvas-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="canvas-form-item canvas-pro-query-filter-actions" > <div class="canvas-row canvas-form-item-row" > <div class="canvas-col canvas-form-item-label" > <label class="canvas-form-item-no-colon" title=" " > </label> </div> <div class="canvas-col canvas-form-item-control" > <div class="canvas-form-item-control-input" > <div class="canvas-form-item-control-input-content" > <div class="canvas-space canvas-space-horizontal canvas-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="canvas-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="canvas-btn canvas-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="canvas-btn canvas-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="canvas-pro-card" > <div class="canvas-pro-card-body" style="padding-block-start: 0;" > <div class="canvas-pro-table-list-toolbar" > <div class="canvas-pro-table-list-toolbar-container" > <div class="canvas-pro-table-list-toolbar-left" /> <div class="canvas-pro-table-list-toolbar-right" style="align-items: center;" > <div class="canvas-pro-table-list-toolbar-setting-items" > <div class="canvas-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="canvas-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height canvas-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="canvas-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="canvas-table-wrapper" > <div class="canvas-spin-nested-loading" > <div class="canvas-spin-container" > <div class="canvas-table canvas-table-middle" > <div class="canvas-table-container" > <div class="canvas-table-content" > <table style="table-layout: auto;" > <colgroup /> <thead class="canvas-table-thead" > <tr> <th class="canvas-table-cell" scope="col" > col without dataIndex </th> <th class="canvas-table-cell" scope="col" > normal col </th> </tr> </thead> <tbody class="canvas-table-tbody" > <tr class="canvas-table-row canvas-table-row-level-0" data-row-key="1" > <td class="canvas-table-cell canvas-table-cell-with-append" > <span class="canvas-table-row-indent indent-level-0" style="padding-left: 0px;" /> <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="canvas-table-row-expand-icon canvas-table-row-expand-icon-collapsed" type="button" /> </td> <td class="canvas-table-cell" > 1 </td> </tr> </tbody> </table> </div> </div> </div> <ul class="canvas-pagination canvas-pagination-mini canvas-table-pagination canvas-table-pagination-right" > <li class="canvas-pagination-total-text" > ็ฌฌ 1-1 ๆก/ๆ€ปๅ…ฑ 1 ๆก </li> <li aria-disabled="true" class="canvas-pagination-prev canvas-pagination-disabled" title="ไธŠไธ€้กต" > <button class="canvas-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="canvas-pagination-item canvas-pagination-item-1 canvas-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="canvas-pagination-next canvas-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="canvas-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> <div class="canvas-pro-table" > <div class="canvas-pro-card canvas-pro-table-search canvas-pro-table-search-query-filter" > <form autocomplete="off" class="canvas-form canvas-form-horizontal canvas-pro-query-filter canvas-pro-form" > <input style="display: none;" type="text" /> <div class="canvas-row canvas-row-start canvas-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="canvas-col canvas-col-8 canvas-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="canvas-form-item" style="flex-wrap: nowrap;" > <div class="canvas-row canvas-form-item-row" > <div class="canvas-col canvas-form-item-label" style="flex: 0 0 80px;" > <label class="" for="state" title="็Šถๆ€" > ็Šถๆ€ </label> </div> <div class="canvas-col canvas-form-item-control" style="max-width: calc(100% - 80px);" > <div class="canvas-form-item-control-input" > <div class="canvas-form-item-control-input-content" > <div class="canvas-select canvas-select-in-form-item canvas-pro-filed-search-select canvas-select-single canvas-select-allow-clear canvas-select-show-arrow" style="width: 100%;" > <div class="canvas-select-selector" > <span class="canvas-select-selection-search" > <input aria-autocomplete="list" aria-controls="state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="state_list" autocomplete="off" class="canvas-select-selection-search-input" id="state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="canvas-select-selection-item" title="ๅ…จ้ƒจ" > ๅ…จ้ƒจ </span> </div> <span aria-hidden="true" class="canvas-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down canvas-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="canvas-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="canvas-col canvas-col-8 canvas-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="canvas-form-item" style="flex-wrap: nowrap;" > <div class="canvas-row canvas-form-item-row" > <div class="canvas-col canvas-form-item-label" style="flex: 0 0 80px;" > <label class="" for="title" title="ๆ ‡้ข˜" > ๆ ‡้ข˜ <span aria-label="question-circle" class="anticon anticon-question-circle canvas-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="canvas-col canvas-form-item-control" style="max-width: calc(100% - 80px);" > <div class="canvas-form-item-control-input" > <div class="canvas-form-item-control-input-content" > <span class="canvas-input-affix-wrapper" style="width: 100%;" > <input class="canvas-input" id="title" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="canvas-input-suffix" > <span class="canvas-input-clear-icon canvas-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <input class="canvas-input" formitemprops="[object Object]" hidden="" type="text" value="" /> <div class="canvas-form-item canvas-form-item-hidden" style="flex-wrap: nowrap;" > <div class="canvas-row canvas-form-item-row" > <div class="canvas-col canvas-form-item-label" style="flex: 0 0 80px;" > <label class="" for="since" title="ๅˆ›ๅปบๆ—ถ้—ด" > ๅˆ›ๅปบๆ—ถ้—ด </label> </div> <div class="canvas-col canvas-form-item-control" style="max-width: calc(100% - 80px);" > <div class="canvas-form-item-control-input" > <div class="canvas-form-item-control-input-content" > <div class="canvas-picker" style="width: 100%;" > <div class="canvas-picker-input" > <input autocomplete="off" id="since" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" title="" value="" /> <span class="canvas-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="canvas-form-item canvas-form-item-hidden" style="flex-wrap: nowrap;" > <div class="canvas-row canvas-form-item-row" > <div class="canvas-col canvas-form-item-label" style="flex: 0 0 80px;" > <label class="" for="since" title="ๅˆ›ๅปบๆ—ถ้—ด" > ๅˆ›ๅปบๆ—ถ้—ด </label> </div> <div class="canvas-col canvas-form-item-control" style="max-width: calc(100% - 80px);" > <div class="canvas-form-item-control-input" > <div class="canvas-form-item-control-input-content" > <span class="canvas-input-affix-wrapper" style="width: 100%;" > <input class="canvas-input" id="since" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="canvas-input-suffix" > <span class="canvas-input-clear-icon canvas-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> <div class="canvas-form-item canvas-form-item-hidden" style="flex-wrap: nowrap;" > <div class="canvas-row canvas-form-item-row" > <div class="canvas-col canvas-form-item-label" style="flex: 0 0 80px;" > <label class="" for="labels" title="ๆ ‡็ญพ" > ๆ ‡็ญพ </label> </div> <div class="canvas-col canvas-form-item-control" style="max-width: calc(100% - 80px);" > <div class="canvas-form-item-control-input" > <div class="canvas-form-item-control-input-content" > <span class="canvas-input-affix-wrapper" style="width: 100%;" > <input class="canvas-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="canvas-input-suffix" > <span class="canvas-input-clear-icon canvas-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> <div class="canvas-col canvas-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="canvas-form-item canvas-pro-query-filter-actions" > <div class="canvas-row canvas-form-item-row" > <div class="canvas-col canvas-form-item-label" > <label class="canvas-form-item-no-colon" title=" " > </label> </div> <div class="canvas-col canvas-form-item-control" > <div class="canvas-form-item-control-input" > <div class="canvas-form-item-control-input-content" > <div class="canvas-space canvas-space-horizontal canvas-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="canvas-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="canvas-btn canvas-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="canvas-btn canvas-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> <div class="canvas-space-item" > <a class="canvas-pro-query-filter-collapse-button" > ๅฑ•ๅผ€ <span aria-label="down" class="anticon anticon-down" role="img" style="margin-inline-start: 0.5em; transition: 0.3s all; transform: rotate(0turn);" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="canvas-pro-card" > <div class="canvas-pro-card-body" style="padding-block-start: 0;" > <div class="canvas-pro-table-list-toolbar" > <div class="canvas-pro-table-list-toolbar-container" > <div class="canvas-pro-table-list-toolbar-left" > <div class="canvas-pro-table-list-toolbar-title" > ้ซ˜็บง่กจๆ ผ </div> </div> <div class="canvas-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="canvas-btn canvas-btn-primary" type="button" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> <span> ๆ–ฐๅปบ </span> </button> </div> <div class="canvas-pro-table-list-toolbar-setting-items" > <div class="canvas-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="canvas-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height canvas-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="canvas-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="canvas-table-wrapper" > <div class="canvas-spin-nested-loading" > <div class="canvas-spin-container" > <div class="canvas-table canvas-table-middle canvas-table-has-fix-left canvas-table-has-fix-right" > <div class="canvas-table-container" > <div class="canvas-table-content" > <table style="table-layout: fixed;" > <colgroup> <col style="width: 30%;" /> <col /> <col style="width: 10%;" /> <col style="width: 10%;" /> <col style="width: 20%;" /> <col style="width: 20%;" /> <col style="width: 200px;" /> </colgroup> <thead class="canvas-table-thead" > <tr> <th class="canvas-table-cell canvas-table-cell-fix-left canvas-table-cell-fix-left-last canvas-table-cell-ellipsis" scope="col" style="position: sticky; left: 0px;" > <span class="canvas-table-cell-content" > <div class="canvas-pro-core-label-tip" > <div class="canvas-pro-core-label-tip-title canvas-pro-core-label-tip-title-ellipsis" > ๆ ‡้ข˜ </div> <span class="canvas-pro-core-label-tip-icon" > <span aria-label="info-circle" class="anticon anticon-info-circle" role="img" > <svg aria-hidden="true" data-icon="info-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /> </svg> </span> </span> </div> </span> </th> <th class="canvas-table-cell" scope="col" > ๅบๅท </th> <th class="canvas-table-cell canvas-table-cell-ellipsis" scope="col" > ็Šถๆ€ </th> <th class="canvas-table-cell" scope="col" > ๆ ‡็ญพ </th> <th class="canvas-table-cell canvas-table-cell-ellipsis" scope="col" > ๅˆ›ๅปบๆ—ถ้—ด </th> <th class="canvas-table-cell" scope="col" > ๅˆ›ๅปบๆ—ถ้—ด </th> <th class="canvas-table-cell canvas-table-cell-fix-right canvas-table-cell-fix-right-first" scope="col" style="position: sticky; right: 0px;" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="canvas-table-tbody" > <tr class="canvas-table-row canvas-table-row-level-0" data-row-key="624748504" > <td class="canvas-table-cell canvas-table-cell-fix-left canvas-table-cell-fix-left-last canvas-table-cell-ellipsis" style="position: sticky; left: 0px;" title="๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™" > <span class="canvas-table-cell-content" > <span aria-label="๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™" class="canvas-typography canvas-typography-ellipsis canvas-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™ <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </span> </td> <td class="canvas-table-cell" > <div class="canvas-pro-field-index-column canvas-pro-field-index-column-border" > 1 </div> </td> <td class="canvas-table-cell canvas-table-cell-ellipsis" > <span aria-label="" class="canvas-typography canvas-typography-ellipsis canvas-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > <span class="canvas-badge canvas-badge-status canvas-badge-not-a-wrapper" > <span class="canvas-badge-status-dot canvas-badge-status-error" /> <span class="canvas-badge-status-text" > ๆœช่งฃๅ†ณ </span> </span> <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="canvas-table-cell" > <div class="canvas-space canvas-space-horizontal canvas-space-align-center canvas-space-gap-row-small canvas-space-gap-col-small" > <div class="canvas-space-item" > <span class="canvas-tag canvas-tag-error" > bug </span> </div> </div> </td> <td class="canvas-table-cell canvas-table-cell-ellipsis" colspan="2" > <span aria-label="" class="canvas-typography canvas-typography-ellipsis canvas-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > 2020-05-26 <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="canvas-table-cell" > 2020-05-26T09:42:56Z </td> <td class="canvas-table-cell canvas-table-cell-fix-right canvas-table-cell-fix-right-first" style="position: sticky; right: 0px;" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a href="https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png" rel="noopener noreferrer" target="_blank" > ๆŸฅ็œ‹ </a> <a class="canvas-dropdown-trigger canvas-pro-table-dropdown" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="canvas-table-row canvas-table-row-level-0" data-row-key="624691229" > <td class="canvas-table-cell canvas-table-cell-fix-left canvas-table-cell-fix-left-last canvas-table-cell-ellipsis" style="position: sticky; left: 0px;" title="๐Ÿ› [BUG]ๆ— ๆณ•ๅˆ›ๅปบๅทฅ็จ‹npm create umi" > <span class="canvas-table-cell-content" > <span aria-label="๐Ÿ› [BUG]ๆ— ๆณ•ๅˆ›ๅปบๅทฅ็จ‹npm create umi" class="canvas-typography canvas-typography-ellipsis canvas-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ๐Ÿ› [BUG]ๆ— ๆณ•ๅˆ›ๅปบๅทฅ็จ‹npm create umi <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </span> </td> <td class="canvas-table-cell" > <div class="canvas-pro-field-index-column canvas-pro-field-index-column-border" > 2 </div> </td> <td class="canvas-table-cell canvas-table-cell-ellipsis" > <span aria-label="" class="canvas-typography canvas-typography-ellipsis canvas-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > <span class="canvas-badge canvas-badge-status canvas-badge-not-a-wrapper" > <span class="canvas-badge-status-dot canvas-badge-status-error" /> <span class="canvas-badge-status-text" > ๆœช่งฃๅ†ณ </span> </span> <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="canvas-table-cell" > <div class="canvas-space canvas-space-horizontal canvas-space-align-center canvas-space-gap-row-small canvas-space-gap-col-small" > <div class="canvas-space-item" > <span class="canvas-tag canvas-tag-error" > bug </span> </div> </div> </td> <td class="canvas-table-cell canvas-table-cell-ellipsis" colspan="2" > <span aria-label="" class="canvas-typography canvas-typography-ellipsis canvas-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > 2020-05-26 <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="canvas-table-cell" > 2020-05-26T08:19:22Z </td> <td class="canvas-table-cell canvas-table-cell-fix-right canvas-table-cell-fix-right-first" style="position: sticky; right: 0px;" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a href="https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png" rel="noopener noreferrer" target="_blank" > ๆŸฅ็œ‹ </a> <a class="canvas-dropdown-trigger canvas-pro-table-dropdown" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> <tr class="canvas-table-row canvas-table-row-level-0" data-row-key="624674790" > <td class="canvas-table-cell canvas-table-cell-fix-left canvas-table-cell-fix-left-last canvas-table-cell-ellipsis" style="position: sticky; left: 0px;" title="๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰" > <span class="canvas-table-cell-content" > <span aria-label="๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰" class="canvas-typography canvas-typography-ellipsis canvas-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰ <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </span> </td> <td class="canvas-table-cell" > <div class="canvas-pro-field-index-column canvas-pro-field-index-column-border" > 3 </div> </td> <td class="canvas-table-cell canvas-table-cell-ellipsis" > <span aria-label="" class="canvas-typography canvas-typography-ellipsis canvas-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > <span class="canvas-badge canvas-badge-status canvas-badge-not-a-wrapper" > <span class="canvas-badge-status-dot canvas-badge-status-error" /> <span class="canvas-badge-status-text" > ๆœช่งฃๅ†ณ </span> </span> <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="canvas-table-cell" > <div class="canvas-space canvas-space-horizontal canvas-space-align-center canvas-space-gap-row-small canvas-space-gap-col-small" > <div class="canvas-space-item" > <span class="canvas-tag canvas-tag-success" > question </span> </div> </div> </td> <td class="canvas-table-cell canvas-table-cell-ellipsis" colspan="2" > <span aria-label="" class="canvas-typography canvas-typography-ellipsis canvas-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > 2020-05-26 <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="canvas-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="canvas-table-cell" > 2020-05-26T07:54:25Z </td> <td class="canvas-table-cell canvas-table-cell-fix-right canvas-table-cell-fix-right-first" style="position: sticky; right: 0px;" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a href="https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png" rel="noopener noreferrer" target="_blank" > ๆŸฅ็œ‹ </a> <a class="canvas-dropdown-trigger canvas-pro-table-dropdown" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="canvas-pagination canvas-pagination-mini canvas-table-pagination canvas-table-pagination-right" > <li class="canvas-pagination-total-text" > ็ฌฌ 1-3 ๆก/ๆ€ปๅ…ฑ 3 ๆก </li> <li aria-disabled="true" class="canvas-pagination-prev canvas-pagination-disabled" title="ไธŠไธ€้กต" > <button class="canvas-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="canvas-pagination-item canvas-pagination-item-1 canvas-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="canvas-pagination-next canvas-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="canvas-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/split.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-card ant-pro-card-contain-card ant-pro-card-split" > <div class="ant-pro-card-body" > <div class="ant-pro-card-col ant-pro-card-split-vertical" style="width: 384px; flex-shrink: 0;" > <div class="ant-pro-card ant-pro-card-ghost" > <div class="ant-pro-card-body" > <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-search" > <span class="ant-input-group-wrapper ant-input-search" style="width: 200px;" > <span class="ant-input-wrapper ant-input-group" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-group-addon" > <button class="ant-btn ant-btn-default ant-btn-icon-only ant-input-search-button" type="button" > <span class="ant-btn-icon" > <span aria-label="search" class="anticon anticon-search" role="img" > <svg aria-hidden="true" data-icon="search" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /> </svg> </span> </span> </button> </span> </span> </span> </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-primary" type="button" > <span> ๆ–ฐๅปบ้กน็›ฎ </span> </button> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup /> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > IP </th> <th class="ant-table-cell" scope="col" > CPU </th> <th class="ant-table-cell" scope="col" > Mem </th> <th class="ant-table-cell" scope="col" > Disk </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="106.14.98.104" > <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > 106.14.98.104 </span> </span> </td> <td class="ant-table-cell" > <span> 10% </span> </td> <td class="ant-table-cell" > <span> 20% </span> </td> <td class="ant-table-cell" > <span> 30% </span> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="106.14.98.114" > <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > 106.14.98.114 </span> </span> </td> <td class="ant-table-cell" > <span> 10% </span> </td> <td class="ant-table-cell" > <span> 20% </span> </td> <td class="ant-table-cell" > <span> 30% </span> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="106.14.98.124" > <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > 106.14.98.124 </span> </span> </td> <td class="ant-table-cell" > <span> 10% </span> </td> <td class="ant-table-cell" > <span> 20% </span> </td> <td class="ant-table-cell" > <span> 30% </span> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="106.14.98.134" > <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > 106.14.98.134 </span> </span> </td> <td class="ant-table-cell" > <span> 10% </span> </td> <td class="ant-table-cell" > <span> 20% </span> </td> <td class="ant-table-cell" > <span> 30% </span> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="106.14.98.144" > <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > 106.14.98.144 </span> </span> </td> <td class="ant-table-cell" > <span> 10% </span> </td> <td class="ant-table-cell" > <span> 20% </span> </td> <td class="ant-table-cell" > <span> 30% </span> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="106.14.98.154" > <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > 106.14.98.154 </span> </span> </td> <td class="ant-table-cell" > <span> 10% </span> </td> <td class="ant-table-cell" > <span> 20% </span> </td> <td class="ant-table-cell" > <span> 30% </span> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="106.14.98.164" > <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > 106.14.98.164 </span> </span> </td> <td class="ant-table-cell" > <span> 10% </span> </td> <td class="ant-table-cell" > <span> 20% </span> </td> <td class="ant-table-cell" > <span> 30% </span> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="106.14.98.174" > <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > 106.14.98.174 </span> </span> </td> <td class="ant-table-cell" > <span> 10% </span> </td> <td class="ant-table-cell" > <span> 20% </span> </td> <td class="ant-table-cell" > <span> 30% </span> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="106.14.98.184" > <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > 106.14.98.184 </span> </span> </td> <td class="ant-table-cell" > <span> 10% </span> </td> <td class="ant-table-cell" > <span> 20% </span> </td> <td class="ant-table-cell" > <span> 30% </span> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="106.14.98.194" > <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > 106.14.98.194 </span> </span> </td> <td class="ant-table-cell" > <span> 10% </span> </td> <td class="ant-table-cell" > <span> 20% </span> </td> <td class="ant-table-cell" > <span> 30% </span> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-pro-card-col" > <div class="ant-pro-card" > <div class="ant-pro-card-header" > <div class="ant-pro-card-title" > 0.0.0.0 </div> </div> <div class="ant-pro-card-body" > <div class="ant-pro-table" > <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col /> <col style="width: 80px;" /> <col style="width: 80px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๆ—ถ้—ด็‚น </th> <th class="ant-table-cell" scope="col" > ไปฃ็  </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > 2016-11-22 15:22:35 </td> <td class="ant-table-cell" > <pre style="padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; color: rgba(0, 0, 0, 0.65); font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; background-color: rgba(150, 150, 150, 0.1); border-radius: 3px;" > <code> const getData = async params =&gt; { const data = await getData(params); return { list: data.data, ...data }; }; </code> </pre> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้ข„่ญฆ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > 2016-11-22 15:22:35 </td> <td class="ant-table-cell" > <pre style="padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; color: rgba(0, 0, 0, 0.65); font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; background-color: rgba(150, 150, 150, 0.1); border-radius: 3px;" > <code> const getData = async params =&gt; { const data = await getData(params); return { list: data.data, ...data }; }; </code> </pre> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้ข„่ญฆ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell" > 2016-11-22 15:22:35 </td> <td class="ant-table-cell" > <pre style="padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; color: rgba(0, 0, 0, 0.65); font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; background-color: rgba(150, 150, 150, 0.1); border-radius: 3px;" > <code> const getData = async params =&gt; { const data = await getData(params); return { list: data.data, ...data }; }; </code> </pre> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ้ข„่ญฆ </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-3 ๆก/ๆ€ปๅ…ฑ 15 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li class="ant-pagination-item ant-pagination-item-2" tabindex="0" title="2" > <a rel="nofollow" > 2 </a> </li> <li class="ant-pagination-item ant-pagination-item-3" tabindex="0" title="3" > <a rel="nofollow" > 3 </a> </li> <li class="ant-pagination-item ant-pagination-item-4" tabindex="0" title="4" > <a rel="nofollow" > 4 </a> </li> <li class="ant-pagination-item ant-pagination-item-5" tabindex="0" title="5" > <a rel="nofollow" > 5 </a> </li> <li aria-disabled="false" class="ant-pagination-next" tabindex="0" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/table-nested.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๅตŒๅฅ—่กจๆ ผ </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-default" type="button" > <span> ๆŸฅ็œ‹ๆ—ฅๅฟ— </span> </button> <button class="ant-btn ant-btn-default" type="button" > <span> ๅฏผๅ‡บๆ•ฐๆฎ </span> <span aria-label="down" class="anticon anticon-down" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๅˆ›ๅปบๅบ”็”จ </span> </button> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col class="ant-table-expand-icon-col" /> <col style="width: 120px;" /> <col style="width: 120px;" /> <col style="width: 120px;" /> <col style="width: 120px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <td class="ant-table-cell ant-table-row-expand-icon-cell" /> <th class="ant-table-cell" scope="col" > ๅบ”็”จๅ็งฐ </th> <th class="ant-table-cell" scope="col" > ็Šถๆ€ </th> <th aria-label="" class="ant-table-cell ant-table-column-has-sorters" scope="col" style="text-align: right;" tabindex="0" > <div class="ant-table-column-sorters" > <span class="ant-table-column-title" > ๅฎนๅ™จๆ•ฐ้‡ </span> <span class="ant-table-column-sorter ant-table-column-sorter-full" > <span aria-hidden="true" class="ant-table-column-sorter-inner" > <span aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up" role="img" > <svg aria-hidden="true" data-icon="caret-up" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /> </svg> </span> <span aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down" role="img" > <svg aria-hidden="true" data-icon="caret-down" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /> </svg> </span> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบ่€… </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell ant-table-row-expand-icon-cell" > <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" type="button" /> </td> <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > <span class="ant-tag ant-tag-red" > ๅคฑ่ดฅ </span> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell ant-table-row-expand-icon-cell" > <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" type="button" /> </td> <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > <span class="ant-tag ant-tag-red" > ๅคฑ่ดฅ </span> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="2" > <td class="ant-table-cell ant-table-row-expand-icon-cell" > <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" type="button" /> </td> <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > <span class="ant-tag ant-tag-red" > ๅคฑ่ดฅ </span> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="3" > <td class="ant-table-cell ant-table-row-expand-icon-cell" > <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" type="button" /> </td> <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > <span class="ant-tag ant-tag-red" > ๅคฑ่ดฅ </span> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="4" > <td class="ant-table-cell ant-table-row-expand-icon-cell" > <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" type="button" /> </td> <td class="ant-table-cell" > <a> AppName </a> </td> <td class="ant-table-cell" > <span class="ant-tag ant-tag-red" > ๅคฑ่ดฅ </span> </td> <td class="ant-table-cell" style="text-align: right;" > 16 </td> <td class="ant-table-cell" > ๅ…ผๆŸๆŸ </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-5 ๆก/ๆ€ปๅ…ฑ 5 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/theme.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div style="background-color: rgb(14, 14, 14);" > <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-card-border ant-pro-card-bordered ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="title" title="ๆ ‡้ข˜" > ๆ ‡้ข˜ <span aria-label="question-circle" class="anticon anticon-question-circle ant-form-item-tooltip" role="img" title="" > <svg aria-hidden="true" data-icon="question-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" /> </svg> </span> </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="title" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="state" title="็Šถๆ€" > ็Šถๆ€ </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="width: 100%;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="state_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="state_list" autocomplete="off" class="ant-select-selection-search-input" id="state" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-placeholder" > ่ฏท้€‰ๆ‹ฉ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="created_at" title="ๅˆ›ๅปบๆ—ถ้—ด" > ๅˆ›ๅปบๆ—ถ้—ด </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker ant-picker-range" style="width: 100%;" > <div class="ant-picker-input ant-picker-input-active" > <input autocomplete="off" id="created_at" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" value="" /> </div> <div class="ant-picker-range-separator" > <span aria-label="to" class="ant-picker-separator" > <span aria-label="swap-right" class="anticon anticon-swap-right" role="img" > <svg aria-hidden="true" data-icon="swap-right" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" /> </svg> </span> </span> </div> <div class="ant-picker-input" > <input autocomplete="off" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" value="" /> </div> <div class="ant-picker-active-bar" style="left: 0px; width: 0px; position: absolute;" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 4px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary ant-btn-loading" type="button" > <span class="ant-btn-icon ant-btn-loading-icon" > <span aria-label="loading" class="anticon anticon-loading anticon-spin" role="img" > <svg aria-hidden="true" data-icon="loading" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" /> </svg> </span> </span> <span> ๆŸฅ ่ฏข </span> </button> </div> </div> <div class="ant-space-item" > <a class="ant-pro-query-filter-collapse-button" > ๅฑ•ๅผ€ <span aria-label="down" class="anticon anticon-down" role="img" style="margin-inline-start: 0.5em; transition: 0.3s all; transform: rotate(0turn);" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card ant-pro-card-border" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ้ซ˜็บง่กจๆ ผ </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 4px;" > <button class="ant-btn ant-btn-primary" type="button" > <span class="ant-btn-icon" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> </span> <span> ๆ–ฐๅปบ </span> </button> <button class="ant-btn ant-btn-default ant-dropdown-trigger" type="button" > <span aria-label="ellipsis" class="anticon anticon-ellipsis" role="img" > <svg aria-hidden="true" data-icon="ellipsis" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" /> </svg> </span> </button> </div> <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div> <div aria-busy="true" aria-live="polite" class="ant-spin ant-spin-spinning" > <span class="ant-spin-dot ant-spin-dot-spin" > <i class="ant-spin-dot-item" /> <i class="ant-spin-dot-item" /> <i class="ant-spin-dot-item" /> <i class="ant-spin-dot-item" /> </span> </div> </div> <div class="ant-spin-container ant-spin-blur" > <div class="ant-table ant-table-middle ant-table-empty" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: fixed;" > <colgroup> <col style="width: 48px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" /> <th class="ant-table-cell ant-table-cell-ellipsis" scope="col" > <div class="ant-pro-core-label-tip" > <div class="ant-pro-core-label-tip-title ant-pro-core-label-tip-title-ellipsis" > ๆ ‡้ข˜ </div> <span class="ant-pro-core-label-tip-icon" > <span aria-label="info-circle" class="anticon anticon-info-circle" role="img" > <svg aria-hidden="true" data-icon="info-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell ant-table-cell-ellipsis" scope="col" > <div class="ant-table-filter-column" > <span class="ant-table-column-title" > ็Šถๆ€ </span> <span class="ant-dropdown-trigger ant-table-filter-trigger" role="button" tabindex="-1" > <span aria-label="filter" class="anticon anticon-filter" role="img" > <svg aria-hidden="true" data-icon="filter" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๆ ‡็ญพ </th> <th aria-label="" class="ant-table-cell ant-table-column-has-sorters" scope="col" tabindex="0" > <div class="ant-table-column-sorters" > <span class="ant-table-column-title" > ๅˆ›ๅปบๆ—ถ้—ด </span> <span class="ant-table-column-sorter ant-table-column-sorter-full" > <span aria-hidden="true" class="ant-table-column-sorter-inner" > <span aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up" role="img" > <svg aria-hidden="true" data-icon="caret-up" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" /> </svg> </span> <span aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down" role="img" > <svg aria-hidden="true" data-icon="caret-down" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" /> </svg> </span> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-placeholder" > <td class="ant-table-cell" colspan="6" > <div class="ant-empty ant-empty-normal" > <div class="ant-empty-image" > <svg height="41" viewBox="0 0 64 41" width="64" xmlns="http://www.w3.org/2000/svg" > <g fill="none" fill-rule="evenodd" transform="translate(0 1)" > <ellipse cx="32" cy="33" fill="#272727" rx="32" ry="7" /> <g fill-rule="nonzero" stroke="#3e3e3e" > <path d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z" /> <path d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z" fill="#1d1d1d" /> </g> </g> </svg> </div> <div class="ant-empty-description" > ๆš‚ๆ— ๆ•ฐๆฎ </div> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/valueType.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="code" title="ไปฃ็ " > ไปฃ็  </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="code" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="avatar" title="ๅคดๅƒ" > ๅคดๅƒ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" id="avatar" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="image" title="ๅ›พ็‰‡" > ๅ›พ็‰‡ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <input class="ant-input" id="image" placeholder="่ฏท่พ“ๅ…ฅ" style="width: 100%;" type="text" value="" /> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> <div class="ant-space-item" > <a class="ant-pro-query-filter-collapse-button" > ๅฑ•ๅผ€ <span aria-label="down" class="anticon anticon-down" role="img" style="margin-inline-start: 0.5em; transition: 0.3s all; transform: rotate(0turn);" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๆ ทๅผ็ฑป </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col /> <col /> <col style="width: 120px;" /> <col style="width: 150px;" /> <col /> <col style="width: 120px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบๅท </th> <th class="ant-table-cell" scope="col" > border ๅบๅท </th> <th class="ant-table-cell" scope="col" > ไปฃ็  </th> <th class="ant-table-cell" scope="col" > ๅคดๅƒ </th> <th class="ant-table-cell" scope="col" > ๅ›พ็‰‡ </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column" > 1 </div> </td> <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 1 </div> </td> <td class="ant-table-cell" > <pre style="padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; color: rgba(0, 0, 0, 0.65); font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; background-color: rgba(150, 150, 150, 0.1); border-radius: 3px;" > <code> const getData = async params =&gt; { const data = await getData(params); return { list: data.data, ...data }; }; </code> </pre> </td> <td class="ant-table-cell" > <div class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small" > <div class="ant-space-item" > <span> <span class="ant-avatar ant-avatar-circle ant-avatar-image" style="width: 22px; height: 22px; line-height: 22px; font-size: 18px;" > <img src="https://gw.alipayobjects.com/zos/antfincdn/efFD%24IOql2/weixintupian_20170331104822.jpg" /> </span> </span> </div> <div class="ant-space-item" > <a href="https://github.com/chenshuai2144" rel="noopener noreferrer" target="_blank" > chenshuai2144 </a> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-image" style="width: 32px;" > <img class="ant-image-img" src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png" width="32" /> <div class="ant-image-mask" > <div class="ant-image-mask-info" > <span aria-label="eye" class="anticon anticon-eye" role="img" > <svg aria-hidden="true" data-icon="eye" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" /> </svg> </span> ้ข„่งˆ </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <div class="ant-pro-field-index-column" > 2 </div> </td> <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 2 </div> </td> <td class="ant-table-cell" > <pre style="padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; color: rgba(0, 0, 0, 0.65); font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; background-color: rgba(150, 150, 150, 0.1); border-radius: 3px;" > <code> const getData = async params =&gt; { const data = await getData(params); return { list: data.data, ...data }; }; </code> </pre> </td> <td class="ant-table-cell" > <div class="ant-space ant-space-horizontal ant-space-align-center ant-space-gap-row-small ant-space-gap-col-small" > <div class="ant-space-item" > <span> <span class="ant-avatar ant-avatar-circle ant-avatar-image" style="width: 22px; height: 22px; line-height: 22px; font-size: 18px;" > <img src="https://gw.alipayobjects.com/zos/antfincdn/efFD%24IOql2/weixintupian_20170331104822.jpg" /> </span> </span> </div> <div class="ant-space-item" > <a href="https://github.com/chenshuai2144" rel="noopener noreferrer" target="_blank" > chenshuai2144 </a> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-image" style="width: 32px;" > <img class="ant-image-img" src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png" width="32" /> <div class="ant-image-mask" > <div class="ant-image-mask-info" > <span aria-label="eye" class="anticon anticon-eye" role="img" > <svg aria-hidden="true" data-icon="eye" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" /> </svg> </span> ้ข„่งˆ </div> </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-20 ๆก/ๆ€ปๅ…ฑ 200 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li class="ant-pagination-item ant-pagination-item-2" tabindex="0" title="2" > <a rel="nofollow" > 2 </a> </li> <li class="ant-pagination-item ant-pagination-item-3" tabindex="0" title="3" > <a rel="nofollow" > 3 </a> </li> <li class="ant-pagination-item ant-pagination-item-4" tabindex="0" title="4" > <a rel="nofollow" > 4 </a> </li> <li class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next" tabindex="0" title="5" > <a rel="nofollow" > 5 </a> </li> <li class="ant-pagination-jump-next ant-pagination-jump-next-custom-icon" tabindex="0" title="ๅ‘ๅŽ 5 ้กต" > <a class="ant-pagination-item-link" > <div class="ant-pagination-item-container" > <span aria-label="double-right" class="anticon anticon-double-right ant-pagination-item-link-icon" role="img" > <svg aria-hidden="true" data-icon="double-right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /> </svg> </span> <span class="ant-pagination-item-ellipsis" > โ€ขโ€ขโ€ข </span> </div> </a> </li> <li class="ant-pagination-item ant-pagination-item-10" tabindex="0" title="10" > <a rel="nofollow" > 10 </a> </li> <li aria-disabled="false" class="ant-pagination-next" tabindex="0" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> <li class="ant-pagination-options" > <div aria-label="้กต็ " class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" aria-label="้กต็ " aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="ant-select-selection-search-input" id="rc_select_TEST_OR_SSR" role="combobox" type="search" value="" /> </span> <span class="ant-select-selection-item" title="20 ๆก/้กต" > 20 ๆก/้กต </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/valueType_select.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-12 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="status" title="็Šถๆ€" > ็Šถๆ€ </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-select-in-form-item ant-pro-filed-search-select ant-select-single ant-select-allow-clear ant-select-show-arrow" style="width: 100%;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="status_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="status_list" autocomplete="off" class="ant-select-selection-search-input" id="status" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-item" title="ๅ…จ้ƒจ" > ๅ…จ้ƒจ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-12 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="status" title="ๅ•้€‰็Šถๆ€" > ๅ•้€‰็Šถๆ€ </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-radio-group ant-radio-group-outline ant-pro-field-radio-horizontal" id="status" > <label class="ant-radio-wrapper ant-radio-wrapper-in-form-item" > <span class="ant-radio ant-wave-target" > <input class="ant-radio-input" type="radio" value="all" /> <span class="ant-radio-inner" /> </span> <span> ๅ…จ้ƒจ </span> </label> <label class="ant-radio-wrapper ant-radio-wrapper-in-form-item" > <span class="ant-radio ant-wave-target" > <input class="ant-radio-input" type="radio" value="running" /> <span class="ant-radio-inner" /> </span> <span> ่ฟ่กŒไธญ </span> </label> <label class="ant-radio-wrapper ant-radio-wrapper-in-form-item" > <span class="ant-radio ant-wave-target" > <input class="ant-radio-input" type="radio" value="online" /> <span class="ant-radio-inner" /> </span> <span> ๅทฒไธŠ็บฟ </span> </label> <label class="ant-radio-wrapper ant-radio-wrapper-in-form-item" > <span class="ant-radio ant-wave-target" > <input class="ant-radio-input" type="radio" value="error" /> <span class="ant-radio-inner" /> </span> <span> ๅผ‚ๅธธ </span> </label> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-12 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="status" title="ๅ•้€‰ๆŒ‰้’ฎ็Šถๆ€" > ๅ•้€‰ๆŒ‰้’ฎ็Šถๆ€ </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-radio-group ant-radio-group-outline ant-pro-field-radio-horizontal" id="status" > <label class="ant-radio-button-wrapper ant-radio-button-wrapper-in-form-item" > <span class="ant-radio-button" > <input class="ant-radio-button-input" type="radio" value="all" /> <span class="ant-radio-button-inner" /> </span> <span> ๅ…จ้ƒจ </span> </label> <label class="ant-radio-button-wrapper ant-radio-button-wrapper-in-form-item" > <span class="ant-radio-button" > <input class="ant-radio-button-input" type="radio" value="running" /> <span class="ant-radio-button-inner" /> </span> <span> ่ฟ่กŒไธญ </span> </label> <label class="ant-radio-button-wrapper ant-radio-button-wrapper-in-form-item" > <span class="ant-radio-button" > <input class="ant-radio-button-input" type="radio" value="online" /> <span class="ant-radio-button-inner" /> </span> <span> ๅทฒไธŠ็บฟ </span> </label> <label class="ant-radio-button-wrapper ant-radio-button-wrapper-in-form-item" > <span class="ant-radio-button" > <input class="ant-radio-button-input" type="radio" value="error" /> <span class="ant-radio-button-inner" /> </span> <span> ๅผ‚ๅธธ </span> </label> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-12 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="status" title="ๅคš้€‰็Šถๆ€" > ๅคš้€‰็Šถๆ€ </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-checkbox-group ant-pro-field-checkbox-horizontal" id="status" style="width: 100%;" > <label class="ant-checkbox-wrapper ant-checkbox-wrapper-checked ant-checkbox-wrapper-in-form-item ant-checkbox-group-item" > <span class="ant-checkbox ant-wave-target ant-checkbox-checked" > <input checked="" class="ant-checkbox-input" type="checkbox" value="all" /> <span class="ant-checkbox-inner" /> </span> <span> ๅ…จ้ƒจ </span> </label> <label class="ant-checkbox-wrapper ant-checkbox-wrapper-in-form-item ant-checkbox-group-item" > <span class="ant-checkbox ant-wave-target" > <input class="ant-checkbox-input" type="checkbox" value="running" /> <span class="ant-checkbox-inner" /> </span> <span> ่ฟ่กŒไธญ </span> </label> <label class="ant-checkbox-wrapper ant-checkbox-wrapper-in-form-item ant-checkbox-group-item" > <span class="ant-checkbox ant-wave-target" > <input class="ant-checkbox-input" type="checkbox" value="online" /> <span class="ant-checkbox-inner" /> </span> <span> ๅทฒไธŠ็บฟ </span> </label> <label class="ant-checkbox-wrapper ant-checkbox-wrapper-in-form-item ant-checkbox-group-item" > <span class="ant-checkbox ant-wave-target" > <input class="ant-checkbox-input" type="checkbox" value="error" /> <span class="ant-checkbox-inner" /> </span> <span> ๅผ‚ๅธธ </span> </label> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-12 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="cascader" title="็บง่”้€‰ๆ‹ฉๅ™จ" > ็บง่”้€‰ๆ‹ฉๅ™จ </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-select ant-cascader ant-select-in-form-item ant-pro-field-cascader ant-select-single ant-select-allow-clear ant-select-show-arrow" style="width: 100%;" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="cascader_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="cascader_list" autocomplete="off" class="ant-select-selection-search-input" id="cascader" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> </span> <span class="ant-select-selection-placeholder" > ่ฏท้€‰ๆ‹ฉ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-12 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="treeSelect" title="ๆ ‘ๅฝขไธ‹ๆ‹‰ๆก†" > ๆ ‘ๅฝขไธ‹ๆ‹‰ๆก† </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-select ant-tree-select ant-select-in-form-item ant-pro-field-tree-select ant-select-multiple ant-select-allow-clear ant-select-show-arrow ant-select-show-search" options="[object Object],[object Object]" style="min-width: 60px; width: 100%;" > <div class="ant-select-selector" > <div class="ant-select-selection-overflow" > <div class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix" style="opacity: 1;" > <div class="ant-select-selection-search" style="width: 0px;" > <input aria-autocomplete="list" aria-controls="treeSelect_list" aria-expanded="false" aria-haspopup="listbox" aria-owns="treeSelect_list" autocomplete="off" class="ant-select-selection-search-input" id="treeSelect" readonly="" role="combobox" style="opacity: 0;" type="search" unselectable="on" value="" /> <span aria-hidden="true" class="ant-select-selection-search-mirror" > ย  </span> </div> </div> </div> <span class="ant-select-selection-placeholder" > ่ฏท้€‰ๆ‹ฉ </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-12 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="" for="dateTimeRange" title="ๆ—ถ้—ด่Œƒๅ›ด" > ๆ—ถ้—ด่Œƒๅ›ด </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker ant-picker-range" style="width: 100%;" > <div class="ant-picker-input ant-picker-input-active" > <input autocomplete="off" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="21" value="" /> </div> <div class="ant-picker-range-separator" > <span aria-label="to" class="ant-picker-separator" > <span aria-label="swap-right" class="anticon anticon-swap-right" role="img" > <svg aria-hidden="true" data-icon="swap-right" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" /> </svg> </span> </span> </div> <div class="ant-picker-input" > <input autocomplete="off" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="21" value="" /> </div> <div class="ant-picker-active-bar" style="left: 0px; width: 0px; position: absolute;" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-12" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> <div class="ant-space-item" > <a class="ant-pro-query-filter-collapse-button" > ๆ”ถ่ตท <span aria-label="down" class="anticon anticon-down" role="img" style="margin-inline-start: 0.5em; transition: 0.3s all; transform: rotate(0.5turn);" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๆ ทๅผ็ฑป </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col style="width: 100px;" /> <col style="width: 100px;" /> <col style="width: 100px;" /> <col style="width: 100px;" /> <col style="width: 100px;" /> <col style="width: 100px;" /> <col style="width: 120px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ็Šถๆ€ </th> <th class="ant-table-cell" scope="col" > ๅ•้€‰็Šถๆ€ </th> <th class="ant-table-cell" scope="col" > ๅ•้€‰ๆŒ‰้’ฎ็Šถๆ€ </th> <th class="ant-table-cell" scope="col" > ๅคš้€‰็Šถๆ€ </th> <th class="ant-table-cell" scope="col" > ็บง่”้€‰ๆ‹ฉๅ™จ </th> <th class="ant-table-cell" scope="col" > ๆ ‘ๅฝขไธ‹ๆ‹‰ๆก† </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-error" /> <span class="ant-badge-status-text" > ๅผ‚ๅธธ </span> </span> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-error" /> <span class="ant-badge-status-text" > ๅผ‚ๅธธ </span> </span> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-error" /> <span class="ant-badge-status-text" > ๅผ‚ๅธธ </span> </span> </td> <td class="ant-table-cell" > <div style="display: flex; flex-wrap: wrap; align-items: center; gap: 12px;" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-error" /> <span class="ant-badge-status-text" > ๅผ‚ๅธธ </span> </span> </div> </td> <td class="ant-table-cell" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="flex-wrap: wrap; column-gap: 2px; row-gap: 2px;" > <div class="ant-space-item" > front end </div> <span class="ant-space-item-split" > , </span> <div class="ant-space-item" > Javascript </div> </div> </td> <td class="ant-table-cell" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="flex-wrap: wrap; column-gap: 2px; row-gap: 2px;" > <div class="ant-space-item" > front end </div> <span class="ant-space-item-split" > , </span> <div class="ant-space-item" > Javascript </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-error" /> <span class="ant-badge-status-text" > ๅผ‚ๅธธ </span> </span> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-error" /> <span class="ant-badge-status-text" > ๅผ‚ๅธธ </span> </span> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-error" /> <span class="ant-badge-status-text" > ๅผ‚ๅธธ </span> </span> </td> <td class="ant-table-cell" > <div style="display: flex; flex-wrap: wrap; align-items: center; gap: 12px;" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-error" /> <span class="ant-badge-status-text" > ๅผ‚ๅธธ </span> </span> </div> </td> <td class="ant-table-cell" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="flex-wrap: wrap; column-gap: 2px; row-gap: 2px;" > <div class="ant-space-item" > front end </div> <span class="ant-space-item-split" > , </span> <div class="ant-space-item" > Javascript </div> </div> </td> <td class="ant-table-cell" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="flex-wrap: wrap; column-gap: 2px; row-gap: 2px;" > <div class="ant-space-item" > front end </div> <span class="ant-space-item-split" > , </span> <div class="ant-space-item" > Javascript </div> </div> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-2 ๆก/ๆ€ปๅ…ฑ 2 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li aria-disabled="true" class="ant-pagination-next ant-pagination-disabled" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/valueTypeDate.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="since" title="ๅˆ›ๅปบๆ—ถ้—ด" > ๅˆ›ๅปบๆ—ถ้—ด </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker" style="width: 100%;" > <div class="ant-picker-input" > <input autocomplete="off" id="since" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="21" title="" value="" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="dateRange" title="ๆ—ฅๆœŸๅŒบ้—ด" > ๆ—ฅๆœŸๅŒบ้—ด </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker ant-picker-range" style="width: 100%;" > <div class="ant-picker-input ant-picker-input-active" > <input autocomplete="off" id="dateRange" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" value="" /> </div> <div class="ant-picker-range-separator" > <span aria-label="to" class="ant-picker-separator" > <span aria-label="swap-right" class="anticon anticon-swap-right" role="img" > <svg aria-hidden="true" data-icon="swap-right" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" /> </svg> </span> </span> </div> <div class="ant-picker-input" > <input autocomplete="off" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" value="" /> </div> <div class="ant-picker-active-bar" style="left: 0px; width: 0px; position: absolute;" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="dateTimeRangeCustom" title="ๆ—ถ้—ด่Œƒๅ›ด" > ๆ—ถ้—ด่Œƒๅ›ด </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker ant-picker-range" style="width: 100%;" > <div class="ant-picker-input ant-picker-input-active" > <input autocomplete="off" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="21" value="" /> </div> <div class="ant-picker-range-separator" > <span aria-label="to" class="ant-picker-separator" > <span aria-label="swap-right" class="anticon anticon-swap-right" role="img" > <svg aria-hidden="true" data-icon="swap-right" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" /> </svg> </span> </span> </div> <div class="ant-picker-input" > <input autocomplete="off" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="21" value="" /> </div> <div class="ant-picker-active-bar" style="left: 0px; width: 0px; position: absolute;" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="dateTimeRange" title="ๆ—ถ้—ดๅŒบ้—ด" > ๆ—ถ้—ดๅŒบ้—ด </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker ant-picker-range" style="width: 100%;" > <div class="ant-picker-input ant-picker-input-active" > <input autocomplete="off" id="dateTimeRange" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="21" value="" /> </div> <div class="ant-picker-range-separator" > <span aria-label="to" class="ant-picker-separator" > <span aria-label="swap-right" class="anticon anticon-swap-right" role="img" > <svg aria-hidden="true" data-icon="swap-right" fill="currentColor" focusable="false" height="1em" viewBox="0 0 1024 1024" width="1em" > <path d="M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" /> </svg> </span> </span> </div> <div class="ant-picker-input" > <input autocomplete="off" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="21" value="" /> </div> <div class="ant-picker-active-bar" style="left: 0px; width: 0px; position: absolute;" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="since2" title="ๆ›ดๆ–ฐๆ—ถ้—ด" > ๆ›ดๆ–ฐๆ—ถ้—ด </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker" style="width: 100%;" > <div class="ant-picker-input" > <input autocomplete="off" id="since2" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="12" title="" value="" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="since4" title="ๆ›ดๆ–ฐๆ—ถ้—ด" > ๆ›ดๆ–ฐๆ—ถ้—ด </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker" style="width: 100%;" > <div class="ant-picker-input" > <input autocomplete="off" id="since4" placeholder="่ฏท้€‰ๆ‹ฉ" readonly="" size="21" title="" value="" /> <span class="ant-picker-suffix" > <span aria-label="calendar" class="anticon anticon-calendar" role="img" > <svg aria-hidden="true" data-icon="calendar" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="since3" title="ๅ…ณ้—ญๆ—ถ้—ด" > ๅ…ณ้—ญๆ—ถ้—ด </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-picker" style="width: 100%;" > <div class="ant-picker-input" > <input autocomplete="off" id="since3" placeholder="่ฏท้€‰ๆ‹ฉๆ—ถ้—ด" readonly="" size="10" title="" value="" /> <span class="ant-picker-suffix" > <span aria-label="clock-circle" class="anticon anticon-clock-circle" role="img" > <svg aria-hidden="true" data-icon="clock-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> <div class="ant-space-item" > <a class="ant-pro-query-filter-collapse-button" > ๅฑ•ๅผ€ <span aria-label="down" class="anticon anticon-down" role="img" style="margin-inline-start: 0.5em; transition: 0.3s all; transform: rotate(0turn);" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๆ—ฅๆœŸ็ฑป </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col /> <col /> <col /> <col /> <col /> <col /> <col style="width: 120px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบๆ—ถ้—ด </th> <th class="ant-table-cell" scope="col" > ๆ—ฅๆœŸๅŒบ้—ด </th> <th class="ant-table-cell" scope="col" > ๆ—ถ้—ดๅŒบ้—ด </th> <th class="ant-table-cell" scope="col" > ๆ›ดๆ–ฐๆ—ถ้—ด </th> <th class="ant-table-cell" scope="col" > ๆ›ดๆ–ฐๆ—ถ้—ด </th> <th class="ant-table-cell" scope="col" > ๅ…ณ้—ญๆ—ถ้—ด </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > 2016-11-22 15:22:42 </td> <td class="ant-table-cell" > <div> <div> 2016-11-22 </div> <div> 2016-11-22 </div> </div> </td> <td class="ant-table-cell" > <div> <div> 2016-11-22 15:22:42 </div> <div> 2016-11-22 15:22:42 </div> </div> </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell" > <span> ๅ‡ ็ง’ๅ‰ </span> </td> <td class="ant-table-cell" > <span> 15:22:43 </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > 2016-11-22 15:22:42 </td> <td class="ant-table-cell" > <div> <div> 2016-11-22 </div> <div> 2016-11-22 </div> </div> </td> <td class="ant-table-cell" > <div> <div> 2016-11-22 15:22:42 </div> <div> 2016-11-22 15:22:42 </div> </div> </td> <td class="ant-table-cell" > 2016-11-22 </td> <td class="ant-table-cell" > <span> ๅ‡ ็ง’ๅ‰ </span> </td> <td class="ant-table-cell" > <span> 15:22:43 </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-20 ๆก/ๆ€ปๅ…ฑ 200 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li class="ant-pagination-item ant-pagination-item-2" tabindex="0" title="2" > <a rel="nofollow" > 2 </a> </li> <li class="ant-pagination-item ant-pagination-item-3" tabindex="0" title="3" > <a rel="nofollow" > 3 </a> </li> <li class="ant-pagination-item ant-pagination-item-4" tabindex="0" title="4" > <a rel="nofollow" > 4 </a> </li> <li class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next" tabindex="0" title="5" > <a rel="nofollow" > 5 </a> </li> <li class="ant-pagination-jump-next ant-pagination-jump-next-custom-icon" tabindex="0" title="ๅ‘ๅŽ 5 ้กต" > <a class="ant-pagination-item-link" > <div class="ant-pagination-item-container" > <span aria-label="double-right" class="anticon anticon-double-right ant-pagination-item-link-icon" role="img" > <svg aria-hidden="true" data-icon="double-right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /> </svg> </span> <span class="ant-pagination-item-ellipsis" > โ€ขโ€ขโ€ข </span> </div> </a> </li> <li class="ant-pagination-item ant-pagination-item-10" tabindex="0" title="10" > <a rel="nofollow" > 10 </a> </li> <li aria-disabled="false" class="ant-pagination-next" tabindex="0" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> <li class="ant-pagination-options" > <div aria-label="้กต็ " class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" aria-label="้กต็ " aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="ant-select-selection-search-input" id="rc_select_TEST_OR_SSR" role="combobox" type="search" value="" /> </span> <span class="ant-select-selection-item" title="20 ๆก/้กต" > 20 ๆก/้กต </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `; exports[`table demos > ๐Ÿ“ธ renders ./packages/table/src/demos/valueTypeNumber.tsx correctly 1`] = ` <DocumentFragment> <div class="ant-app" > <div> test </div> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="progress" title="่ฟ›ๅบฆ" > ่ฟ›ๅบฆ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-input-number ant-input-number-in-form-item" style="width: 100%;" > <div class="ant-input-number-handler-wrap" > <span aria-disabled="false" aria-label="Increase Value" class="ant-input-number-handler ant-input-number-handler-up" role="button" unselectable="on" > <span aria-label="up" class="anticon anticon-up ant-input-number-handler-up-inner" role="img" > <svg aria-hidden="true" data-icon="up" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /> </svg> </span> </span> <span aria-disabled="false" aria-label="Decrease Value" class="ant-input-number-handler ant-input-number-handler-down" role="button" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-input-number-handler-down-inner" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> <div class="ant-input-number-input-wrap" > <input autocomplete="off" class="ant-input-number-input" id="progress" placeholder="่ฏท่พ“ๅ…ฅ" role="spinbutton" step="1" value="" /> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="money" title="้‡‘้ข" > ้‡‘้ข </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-input-number ant-input-number-in-form-item" style="width: 100%;" > <div class="ant-input-number-handler-wrap" > <span aria-disabled="false" aria-label="Increase Value" class="ant-input-number-handler ant-input-number-handler-up" role="button" unselectable="on" > <span aria-label="up" class="anticon anticon-up ant-input-number-handler-up-inner" role="img" > <svg aria-hidden="true" data-icon="up" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /> </svg> </span> </span> <span aria-disabled="false" aria-label="Decrease Value" class="ant-input-number-handler ant-input-number-handler-down" role="button" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-input-number-handler-down-inner" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> <div class="ant-input-number-input-wrap" > <input autocomplete="off" class="ant-input-number-input" id="money" placeholder="่ฏท่พ“ๅ…ฅ" role="spinbutton" step="1" value="" /> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="digit" title="ๆ•ฐๅญ—" > ๆ•ฐๅญ— </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-input-number ant-input-number-in-form-item" style="width: 100%;" > <div class="ant-input-number-handler-wrap" > <span aria-disabled="false" aria-label="Increase Value" class="ant-input-number-handler ant-input-number-handler-up" role="button" unselectable="on" > <span aria-label="up" class="anticon anticon-up ant-input-number-handler-up-inner" role="img" > <svg aria-hidden="true" data-icon="up" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /> </svg> </span> </span> <span aria-disabled="false" aria-label="Decrease Value" class="ant-input-number-handler ant-input-number-handler-down" role="button" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-input-number-handler-down-inner" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> <div class="ant-input-number-input-wrap" > <input aria-valuemin="0" autocomplete="off" class="ant-input-number-input" id="digit" placeholder="่ฏท่พ“ๅ…ฅ" role="spinbutton" step="1" value="" /> </div> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="second" title="ๆ•ฐๅญ—" > ๆ•ฐๅญ— </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-input-number ant-input-number-in-form-item" style="width: 100%;" > <div class="ant-input-number-handler-wrap" > <span aria-disabled="false" aria-label="Increase Value" class="ant-input-number-handler ant-input-number-handler-up" role="button" unselectable="on" > <span aria-label="up" class="anticon anticon-up ant-input-number-handler-up-inner" role="img" > <svg aria-hidden="true" data-icon="up" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /> </svg> </span> </span> <span aria-disabled="false" aria-label="Decrease Value" class="ant-input-number-handler ant-input-number-handler-down" role="button" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-input-number-handler-down-inner" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> <div class="ant-input-number-input-wrap" > <input aria-valuemin="0" autocomplete="off" class="ant-input-number-input" id="second" placeholder="่ฏท่พ“ๅ…ฅ" role="spinbutton" step="1" value="" /> </div> </div> </div> </div> </div> </div> </div> <div class="ant-form-item ant-form-item-hidden" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="percent" title="็™พๅˆ†ๆฏ”" > ็™พๅˆ†ๆฏ” </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-input-number ant-input-number-in-form-item" style="width: 100%;" > <div class="ant-input-number-handler-wrap" > <span aria-disabled="false" aria-label="Increase Value" class="ant-input-number-handler ant-input-number-handler-up" role="button" unselectable="on" > <span aria-label="up" class="anticon anticon-up ant-input-number-handler-up-inner" role="img" > <svg aria-hidden="true" data-icon="up" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /> </svg> </span> </span> <span aria-disabled="false" aria-label="Decrease Value" class="ant-input-number-handler ant-input-number-handler-down" role="button" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-input-number-handler-down-inner" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> <div class="ant-input-number-input-wrap" > <input autocomplete="off" class="ant-input-number-input" id="percent" placeholder="่ฏท่พ“ๅ…ฅ" role="spinbutton" step="1" value="" /> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> <div class="ant-space-item" > <a class="ant-pro-query-filter-collapse-button" > ๅฑ•ๅผ€ <span aria-label="down" class="anticon anticon-down" role="img" style="margin-inline-start: 0.5em; transition: 0.3s all; transform: rotate(0turn);" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" > <div class="ant-pro-table-list-toolbar-title" > ๆ•ฐๅญ—็ฑป </div> </div> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col style="width: 200px;" /> <col style="width: 150px;" /> <col style="width: 150px;" /> <col style="width: 150px;" /> <col style="width: 120px;" /> <col style="width: 120px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ่ฟ›ๅบฆ </th> <th class="ant-table-cell" scope="col" > ้‡‘้ข </th> <th class="ant-table-cell" scope="col" > ๆ•ฐๅญ— </th> <th class="ant-table-cell" scope="col" > ๆ•ฐๅญ— </th> <th class="ant-table-cell" scope="col" > ็™พๅˆ†ๆฏ” </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > <div aria-valuenow="86" class="ant-progress ant-progress-status-active ant-progress-line ant-progress-show-info ant-progress-small" role="progressbar" style="min-width: 100px; max-width: 320px;" > <div class="ant-progress-outer" style="width: 100%; height: 6px;" > <div class="ant-progress-inner" > <div class="ant-progress-bg" style="width: 86%; height: 6px;" /> </div> </div> <span class="ant-progress-text" title="86%" > 86% </span> </div> </td> <td class="ant-table-cell" > <span> ยฅ0.00 </span> </td> <td class="ant-table-cell" > <span> 0 </span> </td> <td class="ant-table-cell" > <span> 0็ง’ </span> </td> <td class="ant-table-cell" > <span> 10.84% </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <div aria-valuenow="86" class="ant-progress ant-progress-status-active ant-progress-line ant-progress-show-info ant-progress-small" role="progressbar" style="min-width: 100px; max-width: 320px;" > <div class="ant-progress-outer" style="width: 100%; height: 6px;" > <div class="ant-progress-inner" > <div class="ant-progress-bg" style="width: 86%; height: 6px;" /> </div> </div> <span class="ant-progress-text" title="86%" > 86% </span> </div> </td> <td class="ant-table-cell" > <span> ยฅ1,680.00 </span> </td> <td class="ant-table-cell" > <span> 1,680 </span> </td> <td class="ant-table-cell" > <span> 28ๅˆ†้’Ÿ0็ง’ </span> </td> <td class="ant-table-cell" > <span> 20.84% </span> </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a> ็ผ–่พ‘ </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-20 ๆก/ๆ€ปๅ…ฑ 200 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li class="ant-pagination-item ant-pagination-item-2" tabindex="0" title="2" > <a rel="nofollow" > 2 </a> </li> <li class="ant-pagination-item ant-pagination-item-3" tabindex="0" title="3" > <a rel="nofollow" > 3 </a> </li> <li class="ant-pagination-item ant-pagination-item-4" tabindex="0" title="4" > <a rel="nofollow" > 4 </a> </li> <li class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next" tabindex="0" title="5" > <a rel="nofollow" > 5 </a> </li> <li class="ant-pagination-jump-next ant-pagination-jump-next-custom-icon" tabindex="0" title="ๅ‘ๅŽ 5 ้กต" > <a class="ant-pagination-item-link" > <div class="ant-pagination-item-container" > <span aria-label="double-right" class="anticon anticon-double-right ant-pagination-item-link-icon" role="img" > <svg aria-hidden="true" data-icon="double-right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /> </svg> </span> <span class="ant-pagination-item-ellipsis" > โ€ขโ€ขโ€ข </span> </div> </a> </li> <li class="ant-pagination-item ant-pagination-item-10" tabindex="0" title="10" > <a rel="nofollow" > 10 </a> </li> <li aria-disabled="false" class="ant-pagination-next" tabindex="0" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> <li class="ant-pagination-options" > <div aria-label="้กต็ " class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" aria-label="้กต็ " aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="ant-select-selection-search-input" id="rc_select_TEST_OR_SSR" role="combobox" type="search" value="" /> </span> <span class="ant-select-selection-item" title="20 ๆก/้กต" > 20 ๆก/้กต </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `;
9,209
0
petrpan-code/ant-design/pro-components/tests/table
petrpan-code/ant-design/pro-components/tests/table/__snapshots__/dragSort.test.tsx.snap
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`dragSort > ๐Ÿ”ฅ [dragSort] custom render function 1`] = ` <span aria-label="menu" class="anticon anticon-menu dragSortCustomHandle" role="img" style="cursor: grab; color: gold;" > <svg aria-hidden="true" data-icon="menu" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z" /> </svg> </span> `; exports[`dragSort > ๐Ÿ”ฅ [dragSort] custom render function 2`] = ` <span class="customRender" > ่‡ชๅฎšไน‰ๆŽ’ๅบ[kiner-0] </span> `; exports[`dragSort > ๐Ÿ”ฅ [dragSort] render drag sort custom handle by dragSortHandlerRender 1`] = ` <span aria-label="menu" class="anticon anticon-menu dragSortCustomHandle" role="img" style="cursor: grab; color: gold;" > <svg aria-hidden="true" data-icon="menu" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z" /> </svg> </span> `; exports[`dragSort > ๐Ÿ”ฅ [dragSort] render drag sort default handle by dragSortKey 1`] = `null`;
9,210
0
petrpan-code/ant-design/pro-components/tests/table
petrpan-code/ant-design/pro-components/tests/table/__snapshots__/editor-table-two.test.tsx.snap
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`EditorProTable 2 > ๐Ÿ“ EditableProTable support recordCreatorProps.position 1`] = `[Function]`; exports[`EditorProTable 2 > ๐Ÿ“ columns initialValue alway work 1`] = ` <DocumentFragment> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle ant-table-layout-fixed" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: fixed;" > <colgroup> <col style="width: 48px;" /> <col style="width: 48px;" /> <col style="width: 48px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" /> <th class="ant-table-cell" scope="col" /> <th class="ant-table-cell" scope="col" /> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="624748504" > <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="123" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> <td class="ant-table-cell" > <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" > <input class="ant-input" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="1234" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <button class="ant-btn ant-btn-dashed" style="display: block; margin: 10px 0px; width: 100%;" type="button" > <span class="ant-btn-icon" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> </span> <span> ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ </span> </button> </div> </div> </div> </DocumentFragment> `; exports[`EditorProTable 2 > ๐Ÿ“ columns support editable test 1`] = ` <DocumentFragment> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle ant-table-layout-fixed" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: fixed;" > <colgroup> <col style="width: 48px;" /> <col style="width: 48px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบๅท </th> <th class="ant-table-cell" scope="col" /> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="624748504" > <td class="ant-table-cell ant-table-cell-with-append" > <span class="ant-table-row-indent indent-level-0" style="padding-left: 0px;" /> <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-spaced" type="button" /> <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 1 </div> </td> <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 1 </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624691229" > <td class="ant-table-cell ant-table-cell-with-append" > <span class="ant-table-row-indent indent-level-0" style="padding-left: 0px;" /> <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-spaced" type="button" /> <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 2 </div> </td> <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 2 </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624674790" > <td class="ant-table-cell ant-table-cell-with-append" > <span class="ant-table-row-indent indent-level-0" style="padding-left: 0px;" /> <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" type="button" /> <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 3 </div> </td> <td class="ant-table-cell" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 3 </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <button class="ant-btn ant-btn-dashed" style="display: block; margin: 10px 0px; width: 100%;" type="button" > <span class="ant-btn-icon" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> </span> <span> ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ </span> </button> </div> </div> </div> </DocumentFragment> `; exports[`EditorProTable 2 > ๐Ÿ“ renderFormItem run defaultRender 1`] = ` <DocumentFragment> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle ant-table-layout-fixed" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: fixed;" > <colgroup> <col style="width: 48px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๅบๅท </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="624748504" > <td class="ant-table-cell ant-table-cell-with-append" > <span class="ant-table-row-indent indent-level-0" style="padding-left: 0px;" /> <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-spaced" type="button" /> <div class="ant-form-item" style="margin-block-start: -5px; margin-block-end: -5px; margin-inline-start: 0; margin-inline-end: 0;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 1 </div> </div> </div> </div> </div> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624691229" > <td class="ant-table-cell ant-table-cell-with-append" > <span class="ant-table-row-indent indent-level-0" style="padding-left: 0px;" /> <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-spaced" type="button" /> <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 2 </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624674790" > <td class="ant-table-cell ant-table-cell-with-append" > <span class="ant-table-row-indent indent-level-0" style="padding-left: 0px;" /> <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" type="button" /> <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 3 </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <button class="ant-btn ant-btn-dashed" style="display: block; margin: 10px 0px; width: 100%;" type="button" > <span class="ant-btn-icon" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> </span> <span> ๆทปๅŠ ไธ€่กŒๆ•ฐๆฎ </span> </button> </div> </div> </div> </DocumentFragment> `;
9,211
0
petrpan-code/ant-design/pro-components/tests/table
petrpan-code/ant-design/pro-components/tests/table/__snapshots__/editor-table.test.tsx.snap
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`EditorProTable > ๐Ÿ“ EditableProTable support recordCreatorProps 1`] = ` <DocumentFragment> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle ant-table-layout-fixed" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: fixed;" > <colgroup> <col style="width: 48px;" /> <col style="width: 30%;" /> <col style="width: 120px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" /> <th class="ant-table-cell ant-table-cell-ellipsis" scope="col" > <div class="ant-pro-core-label-tip" > <div class="ant-pro-core-label-tip-title ant-pro-core-label-tip-title-ellipsis" > ๆ ‡้ข˜ </div> <span class="ant-pro-core-label-tip-icon" > <span aria-label="info-circle" class="anticon anticon-info-circle" role="img" > <svg aria-hidden="true" data-icon="info-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > <div class="ant-table-filter-column" > <span class="ant-table-column-title" > ็Šถๆ€ </span> <span class="ant-dropdown-trigger ant-table-filter-trigger" role="button" tabindex="-1" > <span aria-label="filter" class="anticon anticon-filter" role="img" > <svg aria-hidden="true" data-icon="filter" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบๆ—ถ้—ด </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="624748504" > <td class="ant-table-cell ant-table-cell-with-append" > <span class="ant-table-row-indent indent-level-0" style="padding-left: 0px;" /> <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-spaced" type="button" /> <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 1 </div> </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™" > <span aria-label="๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™ <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-processing" /> <span class="ant-badge-status-text" > ่งฃๅ†ณไธญ </span> </span> </td> <td class="ant-table-cell" > 2020-05-26 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a id="editor" > ็ผ–่พ‘ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624691229" > <td class="ant-table-cell ant-table-cell-with-append" > <span class="ant-table-row-indent indent-level-0" style="padding-left: 0px;" /> <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-spaced" type="button" /> <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 2 </div> </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="๐Ÿ› [BUG]ๆ— ๆณ•ๅˆ›ๅปบๅทฅ็จ‹npm create umi" > <span aria-label="๐Ÿ› [BUG]ๆ— ๆณ•ๅˆ›ๅปบๅทฅ็จ‹npm create umi" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ๐Ÿ› [BUG]ๆ— ๆณ•ๅˆ›ๅปบๅทฅ็จ‹npm create umi <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > ๅทฒ่งฃๅ†ณ </span> </span> </td> <td class="ant-table-cell" > 2020-05-26 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a id="editor" > ็ผ–่พ‘ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624674790" > <td class="ant-table-cell ant-table-cell-with-append" > <span class="ant-table-row-indent indent-level-0" style="padding-left: 0px;" /> <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" type="button" /> <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 3 </div> </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰" > <span aria-label="๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰ <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-error" /> <span class="ant-badge-status-text" > ๆœช่งฃๅ†ณ </span> </span> </td> <td class="ant-table-cell" > 2020-05-26 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a id="editor" > ็ผ–่พ‘ </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> <button class="ant-btn ant-btn-dashed" style="display: block; margin: 10px 0px; width: 100%;" type="button" > <span class="ant-btn-icon" > <span aria-label="plus" class="anticon anticon-plus" role="img" > <svg aria-hidden="true" data-icon="plus" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" /> <path d="M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" /> </svg> </span> </span> <span> ๆต‹่ฏ•ๆทปๅŠ ๆ•ฐๆฎ </span> </button> </div> </div> </div> </DocumentFragment> `; exports[`EditorProTable > ๐Ÿ“ EditableProTable support recordCreatorProps=false 1`] = ` <DocumentFragment> <div class="ant-pro-table" > <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle ant-table-layout-fixed" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: fixed;" > <colgroup> <col style="width: 48px;" /> <col style="width: 30%;" /> <col style="width: 120px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" /> <th class="ant-table-cell ant-table-cell-ellipsis" scope="col" > <div class="ant-pro-core-label-tip" > <div class="ant-pro-core-label-tip-title ant-pro-core-label-tip-title-ellipsis" > ๆ ‡้ข˜ </div> <span class="ant-pro-core-label-tip-icon" > <span aria-label="info-circle" class="anticon anticon-info-circle" role="img" > <svg aria-hidden="true" data-icon="info-circle" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" /> <path d="M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > <div class="ant-table-filter-column" > <span class="ant-table-column-title" > ็Šถๆ€ </span> <span class="ant-dropdown-trigger ant-table-filter-trigger" role="button" tabindex="-1" > <span aria-label="filter" class="anticon anticon-filter" role="img" > <svg aria-hidden="true" data-icon="filter" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" /> </svg> </span> </span> </div> </th> <th class="ant-table-cell" scope="col" > ๅˆ›ๅปบๆ—ถ้—ด </th> <th class="ant-table-cell" scope="col" > ๆ“ไฝœ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="624748504" > <td class="ant-table-cell ant-table-cell-with-append" > <span class="ant-table-row-indent indent-level-0" style="padding-left: 0px;" /> <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-spaced" type="button" /> <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 1 </div> </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™" > <span aria-label="๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ๐Ÿ› [BUG]yarn installๅ‘ฝไปค antd2.4.5ไผšๆŠฅ้”™ <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-processing" /> <span class="ant-badge-status-text" > ่งฃๅ†ณไธญ </span> </span> </td> <td class="ant-table-cell" > 2020-05-26 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a id="editor" > ็ผ–่พ‘ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624691229" > <td class="ant-table-cell ant-table-cell-with-append" > <span class="ant-table-row-indent indent-level-0" style="padding-left: 0px;" /> <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-spaced" type="button" /> <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 2 </div> </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="๐Ÿ› [BUG]ๆ— ๆณ•ๅˆ›ๅปบๅทฅ็จ‹npm create umi" > <span aria-label="๐Ÿ› [BUG]ๆ— ๆณ•ๅˆ›ๅปบๅทฅ็จ‹npm create umi" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ๐Ÿ› [BUG]ๆ— ๆณ•ๅˆ›ๅปบๅทฅ็จ‹npm create umi <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-success" /> <span class="ant-badge-status-text" > ๅทฒ่งฃๅ†ณ </span> </span> </td> <td class="ant-table-cell" > 2020-05-26 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a id="editor" > ็ผ–่พ‘ </a> </div> </td> </tr> <tr class="ant-table-row ant-table-row-level-0" data-row-key="624674790" > <td class="ant-table-cell ant-table-cell-with-append" > <span class="ant-table-row-indent indent-level-0" style="padding-left: 0px;" /> <button aria-expanded="false" aria-label="ๅฑ•ๅผ€่กŒ" class="ant-table-row-expand-icon ant-table-row-expand-icon-collapsed" type="button" /> <div class="ant-pro-field-index-column ant-pro-field-index-column-border" > 3 </div> </td> <td class="ant-table-cell ant-table-cell-ellipsis" title="๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰" > <span aria-label="๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰" class="ant-typography ant-typography-ellipsis ant-typography-single-line" style="width: 100%; margin: 0px; padding: 0px;" title="" > ๐Ÿง [้—ฎ้ข˜] build ๅŽ่ฟ˜ๅญ˜ๅœจ es6 ็š„ไปฃ็ ๏ผˆ[email protected]๏ผ‰ <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; word-break: keep-all; white-space: nowrap;" > lg </span> <span aria-hidden="true" style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; font-size: 0px; width: 0px; white-space: normal; margin: 0px; padding: 0px;" > <span aria-hidden="true" > ... </span> <div aria-label="ๅคๅˆถ" class="ant-typography-copy" role="button" style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;" tabindex="0" > <span aria-label="copy" class="anticon anticon-copy" role="img" > <svg aria-hidden="true" data-icon="copy" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" /> </svg> </span> </div> </span> </span> </td> <td class="ant-table-cell" > <span class="ant-badge ant-badge-status ant-badge-not-a-wrapper" > <span class="ant-badge-status-dot ant-badge-status-error" /> <span class="ant-badge-status-text" > ๆœช่งฃๅ†ณ </span> </span> </td> <td class="ant-table-cell" > 2020-05-26 </td> <td class="ant-table-cell" > <div style="display: flex; align-items: center; justify-content: flex-start; gap: 8px;" > <a id="editor" > ็ผ–่พ‘ </a> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </DocumentFragment> `;
9,212
0
petrpan-code/ant-design/pro-components/tests/table
petrpan-code/ant-design/pro-components/tests/table/__snapshots__/listtoolbar.test.tsx.snap
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Table valueEnum > ListToolBar action is empty array 1`] = ` <DocumentFragment> <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" /> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" /> </div> </div> </DocumentFragment> `; exports[`Table valueEnum > ListToolBar action no array 1`] = ` <DocumentFragment> <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" /> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <button class="ant-btn ant-btn-primary" type="button" > <span> ๆทป ๅŠ  </span> </button> </div> </div> </div> </DocumentFragment> `; exports[`Table valueEnum > ListToolBar action no jsx 1`] = ` <DocumentFragment> <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" /> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div style="display: flex; align-items: center; gap: 8px;" > <button class="ant-btn ant-btn-primary" type="button" > <span> ๆทป ๅŠ  </span> </button> shuaxin </div> </div> </div> </div> </DocumentFragment> `;
9,213
0
petrpan-code/ant-design/pro-components/tests/table
petrpan-code/ant-design/pro-components/tests/table/__snapshots__/searchGutter.test.tsx.snap
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`BasicTable SearchGutter > ๐ŸŽ ProTable support searchGutter 1`] = ` <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -8px; margin-right: -8px; row-gap: 24px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 8px; padding-right: 8px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-input-number ant-input-number-in-form-item" style="width: 100%;" > <div class="ant-input-number-handler-wrap" > <span aria-disabled="false" aria-label="Increase Value" class="ant-input-number-handler ant-input-number-handler-up" role="button" unselectable="on" > <span aria-label="up" class="anticon anticon-up ant-input-number-handler-up-inner" role="img" > <svg aria-hidden="true" data-icon="up" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" /> </svg> </span> </span> <span aria-disabled="false" aria-label="Decrease Value" class="ant-input-number-handler ant-input-number-handler-down" role="button" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-input-number-handler-down-inner" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> <div class="ant-input-number-input-wrap" > <input autocomplete="off" class="ant-input-number-input" id="money" placeholder="่ฏท่พ“ๅ…ฅ" role="spinbutton" step="1" value="" /> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-col-offset-8" style="padding-left: 8px; padding-right: 8px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> `;
9,214
0
petrpan-code/ant-design/pro-components/tests/table
petrpan-code/ant-design/pro-components/tests/table/__snapshots__/valueEnum.test.tsx.snap
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Table valueEnum > ๐ŸŽ customization valueType 1`] = ` <DocumentFragment> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="name" title="้“พๆŽฅ" > ้“พๆŽฅ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <input class="ant-input" id="name" placeholder="่ฏท่พ“ๅ…ฅ้“พๆŽฅ" style="width: 100%;" type="text" value="" /> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-col-offset-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" /> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup /> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ้“พๆŽฅ </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="1" > <td class="ant-table-cell" > <a> test </a> </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-20 ๆก/ๆ€ปๅ…ฑ 200 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li class="ant-pagination-item ant-pagination-item-2" tabindex="0" title="2" > <a rel="nofollow" > 2 </a> </li> <li class="ant-pagination-item ant-pagination-item-3" tabindex="0" title="3" > <a rel="nofollow" > 3 </a> </li> <li class="ant-pagination-item ant-pagination-item-4" tabindex="0" title="4" > <a rel="nofollow" > 4 </a> </li> <li class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next" tabindex="0" title="5" > <a rel="nofollow" > 5 </a> </li> <li class="ant-pagination-jump-next ant-pagination-jump-next-custom-icon" tabindex="0" title="ๅ‘ๅŽ 5 ้กต" > <a class="ant-pagination-item-link" > <div class="ant-pagination-item-container" > <span aria-label="double-right" class="anticon anticon-double-right ant-pagination-item-link-icon" role="img" > <svg aria-hidden="true" data-icon="double-right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /> </svg> </span> <span class="ant-pagination-item-ellipsis" > โ€ขโ€ขโ€ข </span> </div> </a> </li> <li class="ant-pagination-item ant-pagination-item-10" tabindex="0" title="10" > <a rel="nofollow" > 10 </a> </li> <li aria-disabled="false" class="ant-pagination-next" tabindex="0" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> <li class="ant-pagination-options" > <div aria-label="้กต็ " class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" aria-label="้กต็ " aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="ant-select-selection-search-input" id="rc_select_TEST_OR_SSR" role="combobox" type="search" value="" /> </span> <span class="ant-select-selection-item" title="20 ๆก/้กต" > 20 ๆก/้กต </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </li> </ul> </div> </div> </div> </div> </div> </div> </DocumentFragment> `;
9,215
0
petrpan-code/ant-design/pro-components/tests/table
petrpan-code/ant-design/pro-components/tests/table/__snapshots__/valueType.test.tsx.snap
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`BasicTable valueType > ๐ŸŽ table support filter when valueType is treeSelect 1`] = ` <DocumentFragment> <div class="ant-pro-table" > <div class="ant-pro-card ant-pro-table-search ant-pro-table-search-query-filter" > <form autocomplete="off" class="ant-form ant-form-horizontal ant-pro-query-filter ant-pro-form" > <input style="display: none;" type="text" /> <div class="ant-row ant-row-start ant-pro-query-filter-row" style="margin-left: -12px; margin-right: -12px;" > <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="name" title="ๆ ‡็ญพ" > ๆ ‡็ญพ </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <span class="ant-input-affix-wrapper" style="width: 100%;" > <input class="ant-input" color="red" id="name" placeholder="่ฏท่พ“ๅ…ฅ" type="text" value="" /> <span class="ant-input-suffix" > <span class="ant-input-clear-icon ant-input-clear-icon-hidden" role="button" tabindex="-1" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </span> </span> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8 ant-pro-query-filter-row-split" style="padding-left: 12px; padding-right: 12px;" > <div class="ant-form-item" style="flex-wrap: nowrap;" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" style="flex: 0 0 80px;" > <label class="" for="treeSelect" title="ๆ ‘ๅฝขไธ‹ๆ‹‰ๆก†" > ๆ ‘ๅฝขไธ‹ๆ‹‰ๆก† </label> </div> <div class="ant-col ant-form-item-control" style="max-width: calc(100% - 80px);" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-select ant-tree-select ant-select-in-form-item ant-pro-field-tree-select ant-select-multiple ant-select-allow-clear ant-select-show-arrow ant-select-open ant-select-show-search" options="[object Object],[object Object]" style="min-width: 60px; width: 100%;" > <div class="ant-select-selector" > <div class="ant-select-selection-overflow" > <div class="ant-select-selection-overflow-item ant-select-selection-overflow-item-suffix" style="opacity: 1;" > <div class="ant-select-selection-search" style="width: 0px;" > <input aria-autocomplete="list" aria-controls="treeSelect_list" aria-expanded="true" aria-haspopup="listbox" aria-owns="treeSelect_list" autocomplete="off" class="ant-select-selection-search-input" id="treeSelect" role="combobox" style="" type="search" value="Javasc" /> <span aria-hidden="true" class="ant-select-selection-search-mirror" > Javascย  </span> </div> </div> </div> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="search" class="anticon anticon-search ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="search" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" /> </svg> </span> </span> <span aria-hidden="true" class="ant-select-clear" style="user-select: none;" unselectable="on" > <span aria-label="close-circle" class="anticon anticon-close-circle" role="img" > <svg aria-hidden="true" data-icon="close-circle" fill="currentColor" fill-rule="evenodd" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" /> </svg> </span> </span> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div class="ant-col ant-col-8" style="padding-left: 12px; padding-right: 12px; text-align: end;" > <div class="ant-form-item ant-pro-query-filter-actions" > <div class="ant-row ant-form-item-row" > <div class="ant-col ant-form-item-label" > <label class="ant-form-item-no-colon" title=" " > </label> </div> <div class="ant-col ant-form-item-control" > <div class="ant-form-item-control-input" > <div class="ant-form-item-control-input-content" > <div class="ant-space ant-space-horizontal ant-space-align-center" style="column-gap: 16px; row-gap: 16px;" > <div class="ant-space-item" > <div style="display: flex; gap: 8px; align-items: center;" > <button class="ant-btn ant-btn-default" type="button" > <span> ้‡ ็ฝฎ </span> </button> <button class="ant-btn ant-btn-primary" type="button" > <span> ๆŸฅ ่ฏข </span> </button> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </form> </div> <div class="ant-pro-card" > <div class="ant-pro-card-body" style="padding-block-start: 0;" > <div class="ant-pro-table-list-toolbar" > <div class="ant-pro-table-list-toolbar-container" > <div class="ant-pro-table-list-toolbar-left" /> <div class="ant-pro-table-list-toolbar-right" style="align-items: center;" > <div class="ant-pro-table-list-toolbar-setting-items" > <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="reload" class="anticon anticon-reload" role="img" > <svg aria-hidden="true" data-icon="reload" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span> <span aria-label="column-height" class="anticon anticon-column-height ant-dropdown-trigger" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="column-height" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M840 836H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm0-724H184c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h656c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM610.8 378c6 0 9.4-7 5.7-11.7L515.7 238.7a7.14 7.14 0 00-11.3 0L403.6 366.3a7.23 7.23 0 005.7 11.7H476v268h-62.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V378h62.8z" /> </svg> </span> </span> </div> <div class="ant-pro-table-list-toolbar-setting-item" > <span aria-label="setting" class="anticon anticon-setting" role="img" tabindex="-1" > <svg aria-hidden="true" data-icon="setting" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z" /> </svg> </span> </div> </div> </div> </div> </div> <div class="ant-table-wrapper" > <div class="ant-spin-nested-loading" > <div class="ant-spin-container" > <div class="ant-table ant-table-middle" > <div class="ant-table-container" > <div class="ant-table-content" > <table style="table-layout: auto;" > <colgroup> <col /> <col style="width: 100px;" /> </colgroup> <thead class="ant-table-thead" > <tr> <th class="ant-table-cell" scope="col" > ๆ ‡็ญพ </th> <th class="ant-table-cell" scope="col" > ๆ ‘ๅฝขไธ‹ๆ‹‰ๆก† </th> </tr> </thead> <tbody class="ant-table-tbody" > <tr class="ant-table-row ant-table-row-level-0" data-row-key="0" > <td class="ant-table-cell" > TradeCode 0 </td> <td class="ant-table-cell" > - </td> </tr> </tbody> </table> </div> </div> </div> <ul class="ant-pagination ant-pagination-mini ant-table-pagination ant-table-pagination-right" > <li class="ant-pagination-total-text" > ็ฌฌ 1-20 ๆก/ๆ€ปๅ…ฑ 200 ๆก </li> <li aria-disabled="true" class="ant-pagination-prev ant-pagination-disabled" title="ไธŠไธ€้กต" > <button class="ant-pagination-item-link" disabled="" tabindex="-1" type="button" > <span aria-label="left" class="anticon anticon-left" role="img" > <svg aria-hidden="true" data-icon="left" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" /> </svg> </span> </button> </li> <li class="ant-pagination-item ant-pagination-item-1 ant-pagination-item-active" tabindex="0" title="1" > <a rel="nofollow" > 1 </a> </li> <li class="ant-pagination-item ant-pagination-item-2" tabindex="0" title="2" > <a rel="nofollow" > 2 </a> </li> <li class="ant-pagination-item ant-pagination-item-3" tabindex="0" title="3" > <a rel="nofollow" > 3 </a> </li> <li class="ant-pagination-item ant-pagination-item-4" tabindex="0" title="4" > <a rel="nofollow" > 4 </a> </li> <li class="ant-pagination-item ant-pagination-item-5 ant-pagination-item-before-jump-next" tabindex="0" title="5" > <a rel="nofollow" > 5 </a> </li> <li class="ant-pagination-jump-next ant-pagination-jump-next-custom-icon" tabindex="0" title="ๅ‘ๅŽ 5 ้กต" > <a class="ant-pagination-item-link" > <div class="ant-pagination-item-container" > <span aria-label="double-right" class="anticon anticon-double-right ant-pagination-item-link-icon" role="img" > <svg aria-hidden="true" data-icon="double-right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" /> </svg> </span> <span class="ant-pagination-item-ellipsis" > โ€ขโ€ขโ€ข </span> </div> </a> </li> <li class="ant-pagination-item ant-pagination-item-10" tabindex="0" title="10" > <a rel="nofollow" > 10 </a> </li> <li aria-disabled="false" class="ant-pagination-next" tabindex="0" title="ไธ‹ไธ€้กต" > <button class="ant-pagination-item-link" tabindex="-1" type="button" > <span aria-label="right" class="anticon anticon-right" role="img" > <svg aria-hidden="true" data-icon="right" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" /> </svg> </span> </button> </li> <li class="ant-pagination-options" > <div aria-label="้กต็ " class="ant-select ant-select-sm ant-pagination-options-size-changer ant-select-single ant-select-show-arrow ant-select-show-search" > <div class="ant-select-selector" > <span class="ant-select-selection-search" > <input aria-autocomplete="list" aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" aria-label="้กต็ " aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="ant-select-selection-search-input" id="rc_select_TEST_OR_SSR" role="combobox" type="search" value="" /> </span> <span class="ant-select-selection-item" title="20 ๆก/้กต" > 20 ๆก/้กต </span> </div> <span aria-hidden="true" class="ant-select-arrow" style="user-select: none;" unselectable="on" > <span aria-label="down" class="anticon anticon-down ant-select-suffix" role="img" > <svg aria-hidden="true" data-icon="down" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" /> </svg> </span> </span> </div> </li> </ul> </div> </div> </div> </div> </div> </div> </DocumentFragment> `;
9,216
0
petrpan-code/ant-design/pro-components/tests
petrpan-code/ant-design/pro-components/tests/utils/index.test.tsx
import { CodeFilled } from '@ant-design/icons'; import { compareVersions, conversionSubmitValue, dateArrayFormatter, DropdownFooter, InlineErrorFormItem, isDeepEqualReact, isDropdownValueType, isNil, isUrl, LabelIconTip, lighten, menuOverlayCompatible, merge, nanoid, openVisibleCompatible, parseValueToDay, pickProProps, setAlpha, stringify, transformKeySubmitValue, useDebounceFn, useDebounceValue, } from '@ant-design/pro-utils'; import { act, cleanup, fireEvent, render, waitFor, } from '@testing-library/react'; import { Form, Input } from 'antd'; import type { Dayjs } from 'dayjs'; import dayjs from 'dayjs'; import moment from 'moment'; import React, { useEffect, useState } from 'react'; afterEach(() => { cleanup(); }); describe('utils', () => { beforeEach(() => { delete process.env.ANTD_VERSION; }); afterEach(() => { delete process.env.ANTD_VERSION; }); it('lighten', () => { const color = lighten('#000', 50); expect(color).toBe('#808080'); }); it('compareVersions', () => { expect(compareVersions('2.0.0', '1.0.0')).toBe(1); expect(compareVersions('1.0.0', '2.0.0')).toBe(-1); expect(compareVersions('1.0.0', '1.0.0')).toBe(0); expect(compareVersions('1.0.0', '1.0.0-beta.6')).toBe(1); }); it('openVisibleCompatible', () => { expect(openVisibleCompatible(true).open).toBeTruthy(); expect(openVisibleCompatible(true).visible === undefined).toBeTruthy(); process.env.ANTD_VERSION = '4.20.0'; expect(openVisibleCompatible(true).visible).toBeTruthy(); expect(openVisibleCompatible(true).open === undefined).toBeTruthy(); }); it('menuOverlayCompatible', () => { expect(menuOverlayCompatible({ items: [] }).menu).toBeTruthy(); process.env.ANTD_VERSION = '4.20.0'; expect(menuOverlayCompatible({ items: [] }).overlay).toBeTruthy(); }); it('setAlpha', () => { const color = setAlpha('#fff', 0.5); expect(color).toBe('rgba(255, 255, 255, 0.5)'); }); it('๐Ÿ“… useDebounceValue', async () => { vi.useFakeTimers(); const App = (props: { deps: string[] }) => { const value = useDebounceValue(props.deps?.[0], 200, props.deps); return <>{value}</>; }; const html = render(<App deps={['name']} />); await html.findByText('name'); expect(html.baseElement?.textContent).toEqual('name'); act(() => { html.rerender(<App deps={['string']} />); }); await html.findByText('name'); expect(html.baseElement?.textContent).toEqual('name'); await html.findByText('string'); await act(() => { return vi.runOnlyPendingTimers(); }); await waitFor(() => { expect(html.baseElement?.textContent).toEqual('string'); }); }); it('๐Ÿ“… dateArrayFormatter', async () => { const dateArrayString = dateArrayFormatter( [dayjs('2020-01-01'), dayjs('2020-01-01')], ['YYYY-MM-DD HH:mm:ss', 'YYYY-MM-DD'], ); expect(dateArrayString).toEqual('2020-01-01 00:00:00 ~ 2020-01-01'); }); it('๐Ÿ“… dateArrayFormatter support function', async () => { const dateArrayString = dateArrayFormatter( [dayjs('2020-01-01'), dayjs('2020-01-01')], ['YYYY-MM-DD HH:mm:ss', (value: Dayjs) => value.format('YYYY-MM')], ); expect(dateArrayString).toEqual('2020-01-01 00:00:00 ~ 2020-01'); }); it('๐Ÿ“… dateArrayFormatter support moment function', async () => { const dateArrayString = dateArrayFormatter( [moment('2020-01-01'), moment('2020-01-01')], ['YYYY-MM-DD HH:mm:ss', (value: Dayjs) => value.format('YYYY-MM')], ); expect(dateArrayString).toEqual('2020-01-01 00:00:00 ~ 2020-01'); }); it('๐Ÿ“… useDebounceValue without deps', async () => { vi.useFakeTimers(); const App = (props: { deps: string[] }) => { const [, forceUpdate] = useState([]); const value = useDebounceValue(props.deps?.[0]); useEffect(() => { setTimeout(() => { forceUpdate([]); }, 1000); }, []); return <>{value}</>; }; const html = render(<App deps={['name']} />); await html.findByText('name'); expect(html.baseElement?.textContent).toEqual('name'); act(() => { html.rerender(<App deps={['string']} />); }); await html.findByText('name'); expect(html.baseElement?.textContent).toEqual('name'); await act(() => { return vi.runAllTimers(); }); await waitFor(() => { expect(html.baseElement?.textContent).toEqual('string'); }); vi.useRealTimers(); }); it('๐Ÿ“… useDebounceFn', async () => { pickProProps({ fieldProps: { name: 'string', }, }); vi.useFakeTimers(); const fn = vi.fn(); const App = ({ wait }: { wait?: number }) => { const fetchData = useDebounceFn(async () => fn(), wait); useEffect(() => { fetchData.run(); // eslint-disable-next-line react-hooks/exhaustive-deps }, []); return ( <div id="test" onClick={() => { fetchData.run(); fetchData.run(); }} > test </div> ); }; const html = render(<App />); await html.findByText('test'); expect(fn).toBeCalledTimes(1); // wait === undefined act(() => { html.baseElement.querySelector<HTMLDivElement>('#test')?.click(); }); expect(fn).toBeCalledTimes(3); act(() => { html.rerender(<App wait={80} />); }); await act(() => { return vi.runOnlyPendingTimers(); }); act(() => { html.baseElement.querySelector<HTMLDivElement>('#test')?.click(); }); await act(() => { return vi.runOnlyPendingTimers(); }); await html.findByText('test'); await act(() => { expect(fn).toBeCalledTimes(4); }); act(() => { html.rerender(<App wait={0} />); }); act(() => { html.baseElement.querySelector<HTMLDivElement>('#test')?.click(); }); await act(() => { expect(fn).toBeCalledTimes(6); }); // wait === 100 but callback is cancelled act(() => { html.rerender(<App wait={100} />); }); act(() => { html.baseElement.querySelector<HTMLDivElement>('#test')?.click(); }); await act(() => { return vi.runOnlyPendingTimers(); }); html.unmount(); expect(fn).toBeCalledTimes(7); vi.useRealTimers(); }); it('๐Ÿ“… useDebounceFn execution has errors', async () => { pickProProps({ fieldProps: { name: 'string', }, }); vi.useFakeTimers(); const error = new Error('debounce error'); const catchFn = vi.fn(); const App = ({ wait }: { wait?: number }) => { const fetchData = useDebounceFn(async () => { throw error; }, wait); useEffect(() => { fetchData.run().catch(catchFn); // eslint-disable-next-line react-hooks/exhaustive-deps }, []); return <div />; }; render(<App />); await waitFor(() => { expect(catchFn).toBeCalledWith(error); }); vi.useRealTimers(); }); it('๐Ÿ“… conversionSubmitValue nil', async () => { const html = conversionSubmitValue( { name: 'qixian', money: null, }, 'string', { name: 'text', money: 'text', }, true, ); expect(html.money === undefined).toBeTruthy(); }); it('๐Ÿ“… merge values not change null', () => { const html = merge<{ status: null; }>({}, { status: null }); expect(html.status).toEqual(null); }); it('๐Ÿ“… conversionSubmitValue string', async () => { const html = conversionSubmitValue( { dataTime: dayjs('2019-11-16 12:50:26'), time: dayjs('2019-11-16 12:50:26'), name: 'qixian', money: 20, dateTimeRange: [ dayjs('2019-11-16 12:50:26'), dayjs('2019-11-16 12:50:26'), ], dateRange: [dayjs('2019-11-16 12:50:26'), dayjs('2019-11-16 12:50:26')], timeRange: [dayjs('2019-11-16 12:50:26'), dayjs('2019-11-16 12:50:26')], timeRange2: [ dayjs('2019-11-16 12:50:26'), dayjs('2019-11-16 12:50:26'), ], dateQuarter: dayjs('2019-11-16 12:50:26'), }, 'string', { dataTime: 'dataTime', time: 'time', name: 'text', dateRange: 'dateRange', timeRange: 'timeRange', dateQuarter: 'dateQuarter', }, ); expect(html.dataTime).toBe('2019-11-16 12:50:26'); expect(html.time).toBe('12:50:26'); expect(html.name).toBe('qixian'); expect(html.money).toBe(20); expect(html.dateTimeRange.join(',')).toBe( '2019-11-16 12:50:26,2019-11-16 12:50:26', ); expect(html.dateRange.join(',')).toBe('2019-11-16,2019-11-16'); expect(html.timeRange2.join(',')).toBe( '2019-11-16 12:50:26,2019-11-16 12:50:26', ); expect(html.dateQuarter).toBe('2019-Q4'); }); it('๐Ÿ“… conversionSubmitValue string', async () => { const html = conversionSubmitValue( { dataTime: dayjs('2019-11-16 12:50:26'), time: dayjs('2019-11-16 12:50:26'), }, 'string', { dataTime: { valueType: 'dataTime', dateFormat: 'YY-MM', }, time: 'time', }, ); expect(html.dataTime).toBe('19-11'); expect(html.time).toBe('12:50:26'); }); it('๐Ÿ“… conversionSubmitValue namePath string', async () => { const html = conversionSubmitValue<any>( { date: { dataTime: dayjs('2019-11-16 12:50:26'), dateTimeRange: [ dayjs('2019-11-16 12:50:26'), dayjs('2019-11-16 12:50:26'), ], dateRange: [ dayjs('2019-11-16 12:50:26'), dayjs('2019-11-16 12:50:26'), ], timeRange: [ dayjs('2019-11-16 12:50:26'), dayjs('2019-11-16 12:50:26'), ], timeRange2: [ dayjs('2019-11-16 12:50:26'), dayjs('2019-11-16 12:50:26'), ], }, }, 'string', { date: { dateTimeRange: 'dateTimeRange', dateRange: 'dateRange', timeRange: 'timeRange', dataTime: 'dateTime', timeRange2: 'dateTimeRange', }, }, ); expect(html.date.dataTime).toBe('2019-11-16 12:50:26'); expect(html.date.dateTimeRange.join(',')).toBe( '2019-11-16 12:50:26,2019-11-16 12:50:26', ); expect(html.date.dateRange.join(',')).toBe('2019-11-16,2019-11-16'); expect(html.date.timeRange2.join(',')).toBe( '2019-11-16 12:50:26,2019-11-16 12:50:26', ); }); it('๐Ÿ“… conversionSubmitValue number', async () => { const html = conversionSubmitValue( { dataTime: dayjs('2019-11-16 12:50:26'), time: dayjs('2019-11-16 12:50:26'), name: 'qixian', money: 20, dateTimeRange: [ dayjs('2019-11-16 12:50:26'), dayjs('2019-11-16 12:50:26'), ], dateRange: [dayjs('2019-11-16 12:50:26'), dayjs('2019-11-16 12:50:26')], timeRange: [dayjs('2019-11-16 12:50:26'), dayjs('2019-11-16 12:50:26')], timeRange2: [ dayjs('2019-11-16 12:50:26'), dayjs('2019-11-16 12:50:26'), ], }, 'number', { dateTime: 'dataTime', time: 'time', name: 'text', dateRange: 'dateRange', timeRange: 'timeRange', }, ); expect(html.dataTime).toBe(1573908626000); expect(html.time).toBe(1573908626000); expect(html.name).toBe('qixian'); expect(html.money).toBe(20); expect(html.dateTimeRange.join(',')).toBe('1573908626000,1573908626000'); expect(html.dateRange.join(',')).toBe('1573908626000,1573908626000'); expect(html.timeRange2.join(',')).toBe('1573908626000,1573908626000'); }); it('๐Ÿ“… conversionSubmitValue dayjs', async () => { const html = conversionSubmitValue( { dataTime: dayjs('2019-11-16 12:50:26'), time: dayjs('2019-11-16 12:50:26'), name: 'qixian', money: 20, dateTimeRange: [ dayjs('2019-11-16 12:50:26'), dayjs('2019-11-16 12:50:26'), ], dateRange: [dayjs('2019-11-16 12:50:26'), dayjs('2019-11-16 12:50:26')], timeRange: [dayjs('2019-11-16 12:50:26'), dayjs('2019-11-16 12:50:26')], timeRange2: [ dayjs('2019-11-16 12:50:26'), dayjs('2019-11-16 12:50:26'), ], }, false, { dateTime: 'dataTime', time: 'time', name: 'text', dateRange: 'dateRange', timeRange: 'timeRange', }, ); expect(html.dataTime.valueOf()).toBe(1573908626000); expect(html.time.valueOf()).toBe(1573908626000); expect(html.name).toBe('qixian'); expect(html.money).toBe(20); expect(html.dateTimeRange.map((item) => item.valueOf()).join(',')).toBe( '1573908626000,1573908626000', ); expect(html.dateTimeRange.map((item) => item.valueOf()).join(',')).toBe( '1573908626000,1573908626000', ); expect(html.dateTimeRange.map((item) => item.valueOf()).join(',')).toBe( '1573908626000,1573908626000', ); }); it('๐Ÿ“… parseValueToMoment dayjs', async () => { const html = parseValueToDay( ['2019-11-16 12:50:26', '2019-11-16 12:50:26'], 'YYYY-MM-DD', ); expect((html as Dayjs[]).map((item) => item.valueOf()).join(',')).toBe( '1573862400000,1573862400000', ); }); it('๐Ÿ“… parseValueToMoment moment to dayjs', async () => { const html = parseValueToDay( [moment(1573862400000), moment(1573862400000)] as any[], 'YYYY-MM-DD', ); expect((html as Dayjs[]).map((item) => item.valueOf()).join(',')).toBe( '1573862400000,1573862400000', ); }); it('๐Ÿ“… DropdownFooter click', async () => { const html = render( <DropdownFooter> <Input id="test" /> </DropdownFooter>, ); act(() => { html.baseElement .querySelector<HTMLDivElement>('.ant-pro-core-dropdown-footer') ?.click(); }); expect( !!html.baseElement.querySelector<HTMLDivElement>( '.ant-pro-core-dropdown-footer', ), ).toBeTruthy(); }); it('๐Ÿ“… InlineErrorFormItem onValuesChange', async () => { const ruleMessage = { required: 'ๅฟ…ๅกซ้กน', min: 'ๆœ€ๅฐ้•ฟๅบฆไธบ12', numberRequired: 'ๅฟ…้กปๅŒ…ๅซๆ•ฐๅญ—', alphaRequired: 'ๅฟ…้กปๅŒ…ๅซๅญ—ๆฏ', }; const html = render( <Form> <span>text</span> <InlineErrorFormItem errorType="popover" rules={[ { required: true, message: ruleMessage.required, }, { min: 12, message: ruleMessage.min, }, { message: ruleMessage.numberRequired, pattern: /[0-9]/, }, { message: ruleMessage.alphaRequired, pattern: /[a-zA-Z]/, }, ]} popoverProps={{ trigger: 'focus' }} name="title" > <Input id="test" role="test_input" /> </InlineErrorFormItem> </Form>, ); await html.findByText('text'); await act(async () => { (await html.findByRole('test_input')).focus(); }); await waitFor(() => { expect(!!html.baseElement.querySelector('div.ant-popover')).toBeFalsy(); }); await act(async () => { const dom = await html.findByRole('test_input'); fireEvent.change(dom!, { target: { value: '1', }, }); }); await waitFor(() => { expect(!!html.baseElement.querySelector('div.ant-popover')).toBeTruthy(); }); const li = html.baseElement.querySelectorAll( 'div.ant-popover .ant-popover-inner-content div.ant-form-item-explain-error', ); expect(li.length > 0).toBeTruthy(); expect(li[0].textContent).toBe(ruleMessage.min); expect(li[1].textContent).toBe(ruleMessage.alphaRequired); await act(async () => { const dom = await html.findByRole('test_input'); fireEvent.change(dom!, { target: { value: '12345678901AB', }, }); }); await waitFor(() => { return html.findAllByDisplayValue('12345678901AB'); }); await act(async () => { const dom = await html.findByRole('test_input'); fireEvent.change(dom!, { target: { value: '.', }, }); }); await waitFor(() => { expect( html.baseElement.querySelectorAll('div.ant-popover.ant-popover-hidden') .length > 0, ).toBeFalsy(); }); await act(async () => { const dom = await html.findByRole('test_input'); fireEvent.change(dom!, { target: { value: '', }, }); }); await waitFor(() => { expect( html.baseElement.querySelectorAll('div.ant-popover.ant-popover-hidden') .length > 0, ).toBeFalsy(); }); }); it('๐Ÿ“… transformKeySubmitValue return string', async () => { const html = transformKeySubmitValue( { dataTime: '2019-11-16 12:50:26', time: '2019-11-16 12:50:26', name: 'qixian', money: 20, dateTimeRange: ['2019-11-16 12:50:26', '2019-11-16 12:55:26'], dateRange: ['2019-11-16 12:50:26', '2019-11-16 12:55:26'], dateRange2: ['2019-11-16 12:50:26', '2019-11-16 12:55:26'], }, { dataTime: (value) => ({ 'new-dataTime': value }), time: (value) => ({ 'new-time': value }), name: () => 'new-name', money: (value) => ({ 'new-money': value }), // @ts-ignore dateRange2: [ (itemValue, _, tempValues) => tempValues, () => 'dateRange', ], }, ); const htmlKeys = Object.keys(html).sort(); expect(htmlKeys).toEqual( [ 'new-dataTime', 'new-time', 'dateRange2', 'name', 'new-money', 'dateTimeRange', 'dateRange', ].sort(), ); expect(htmlKeys).not.toEqual( [ 'dataTime', 'time', 'new-name', 'dateRange2', 'money', 'dateTimeRange', 'dateRange', ].sort(), ); expect((html as any)['new-dataTime']).toBe('2019-11-16 12:50:26'); expect((html as any)['new-time']).toBe('2019-11-16 12:50:26'); expect((html as any).name).toBe('new-name'); expect((html as any)['new-money']).toBe(20); expect(html.dateTimeRange.join(',')).toBe( '2019-11-16 12:50:26,2019-11-16 12:55:26', ); expect(html.dateRange.join(',')).toBe( '2019-11-16 12:50:26,2019-11-16 12:55:26', ); }); it('๐Ÿ“… transformKeySubmitValue will return file', async () => { //@ts-expect-error const html = transformKeySubmitValue(false, { dataTime: () => 'new-dataTime', time: () => 'new-time', name: () => 'new-name', money: () => 'new-money', }); expect(html).toBeFalsy(); }); it('๐Ÿ“… transformKeySubmitValue return object', async () => { const html = transformKeySubmitValue( { dataTime: '2019-11-16 12:50:26', time: '2019-11-16 12:50:26', name: 'qixian', money: 20, test: { name: 'test', }, dateTimeRange: { time: ['2019-11-16 12:50:26', '2019-11-16 12:55:26'], }, dateRange: ['2019-11-16 12:50:26', '2019-11-16 12:55:26'], }, { dateTimeRange: { // @ts-ignore time: (value: any) => ({ dateTimeRange1: value[0], dateTimeRange2: value[1], }), }, dateRange: (value: any) => ({ dateRange1: value[0], dateRange2: value[1], }), }, ); const htmlKeys = Object.keys(html).sort(); console.log(html); expect(htmlKeys).toEqual( [ 'dateTimeRange1', 'dateTimeRange2', 'dateRange1', 'dateRange2', 'dataTime', 'time', 'name', 'test', 'money', ].sort(), ); expect(htmlKeys).not.toEqual( [ 'dataTime', 'time', 'name', 'money', 'dateTimeRange', 'dateRange', ].sort(), ); expect(html.dataTime).toBe('2019-11-16 12:50:26'); expect(html.time).toBe('2019-11-16 12:50:26'); expect(html.name).toBe('qixian'); expect(html.money).toBe(20); expect((html as any).dateTimeRange1).toBe('2019-11-16 12:50:26'); expect((html as any).dateTimeRange2).toBe('2019-11-16 12:55:26'); expect((html as any).dateRange1).toBe('2019-11-16 12:50:26'); expect((html as any).dateRange2).toBe('2019-11-16 12:55:26'); }); it('๐Ÿ“… transformKeySubmitValue return nest object', async () => { const html = transformKeySubmitValue( { d: new Map(), e: new Set(), f: document.createElement('div'), c: new RegExp('/'), g: React.createElement('a', {}), a: { b: { name: 'test', }, }, }, { a: { b: { name: (e: string) => ({ a: { b: { name: `qixian_${e}`, }, }, }), } as any, }, }, ); expect(html.a.b.name).toBe('qixian_test'); }); it('๐Ÿ“… transformKeySubmitValue for array', async () => { const html = transformKeySubmitValue( [ { name: 1, }, { name: 2, }, { f: [1, 2, 4], }, ], { 1: { name: (e: string) => { return { name: 2, name2: `qixian_${e}`, }; }, }, }, ); //@ts-expect-error expect(html[1].name2).toBe('qixian_2'); }); it('๐Ÿ“… transformKeySubmitValue return array', async () => { const html = transformKeySubmitValue( { dataTime: '2019-11-16 12:50:26', time: '2019-11-16 12:50:26', name: 'qixian', money: 20, dateTimeRange: ['2019-11-16 12:50:26', '2019-11-16 12:55:26'], dateRange: ['2019-11-16 12:50:26', '2019-11-16 12:55:26'], }, { dataTime: () => ['new-dataTime'], time: () => ['new-time'], }, ); const htmlKeys = Object.keys(html).sort(); expect(htmlKeys).toEqual( [ 'dateRange', 'dateTimeRange', 'money', 'name', 'new-dataTime', 'new-time', ].sort(), ); expect((html as any)['new-dataTime']).toBe('2019-11-16 12:50:26'); expect((html as any)['new-time']).toBe('2019-11-16 12:50:26'); expect(html.name).toBe('qixian'); expect(html.money).toBe(20); expect(html.dateTimeRange.join(',')).toBe( '2019-11-16 12:50:26,2019-11-16 12:55:26', ); expect(html.dateRange.join(',')).toBe( '2019-11-16 12:50:26,2019-11-16 12:55:26', ); }); it('๐Ÿ“… transformKeySubmitValue ignore empty transform', async () => { const dataIn = { dataTime: '2019-11-16 12:50:26', time: '2019-11-16 12:50:26', name: 'qixian', money: 20, dateTimeRange: ['2019-11-16 12:50:26', '2019-11-16 12:55:26'], dateRange: ['2019-11-16 12:50:26', '2019-11-16 12:55:26'], }; const html = transformKeySubmitValue(dataIn, { dataTime: undefined, time: undefined, }); expect(html).toBe(dataIn); }); it('๐Ÿ“… transformKeySubmitValue ignore React element', async () => { const labelInValue = { label: <div>test</div>, value: 'LABEL' }; const dataIn = { dataTime: '2019-11-16 12:50:26', time: '2019-11-16 12:50:26', tag: labelInValue, money: 20, dateTimeRange: ['2019-11-16 12:50:26', '2019-11-16 12:55:26'], dateRange: ['2019-11-16 12:50:26', '2019-11-16 12:55:26'], }; const html = transformKeySubmitValue(dataIn, { dataTime: () => ['new-dataTime'], time: undefined, }); expect((html as any)['new-dataTime']).toBe('2019-11-16 12:50:26'); expect(html.tag).not.toBe(labelInValue); expect(React.isValidElement(html.tag.label)).toBeTruthy(); }); it('๐Ÿ“… transformKeySubmitValue ignore Blob', async () => { const file = new Blob(['foo'], { type: 'application/octet-stream' }); const dataIn = { dataTime: '2019-11-16 12:50:26', time: '2019-11-16 12:50:26', file, files: [file], }; const html = transformKeySubmitValue(dataIn, { dataTime: () => ['new-dataTime'], time: undefined, }); expect((html as any)['new-dataTime']).toBe('2019-11-16 12:50:26'); expect(html.file).toBe(file); expect(html.files[0]).toBe(file); }); it('๐Ÿ“… transformKeySubmitValue ignore null', async () => { const dataIn = { dataTime: '2019-11-16 12:50:26', time: '2019-11-16 12:50:26', file: null, }; const html = transformKeySubmitValue(dataIn, { dataTime: () => ['new-dataTime'], time: undefined, }); expect((html as any)['new-dataTime']).toBe('2019-11-16 12:50:26'); expect(html.file).toBe(undefined); }); it('๐Ÿ“… isNil', async () => { expect(isNil(null)).toBe(true); expect(isNil(undefined)).toBe(true); expect(isNil(0)).toBe(false); expect(isNil('')).toBe(false); expect(isNil({})).toBe(false); expect(isNil(true)).toBe(false); }); it('๐Ÿช“ isUrl', async () => { expect(isUrl('https://procomponents.ant.design/components/layout')).toBe( true, ); expect( isUrl( 'https://procomponents.ant.design/en-US/components/layout#basic-usage', ), ).toBe(true); expect(isUrl('procomponents.ant.design/en-US/components/layout')).toBe( false, ); expect( isUrl('https:://procomponents.ant.design/en-US/components/layout'), ).toBe(false); }); it('๐Ÿช“ isDropdownValueType', async () => { expect(isDropdownValueType('date')).toBeTruthy(); expect(isDropdownValueType('dateRange')).toBeFalsy(); expect(isDropdownValueType('dateTimeRange')).toBeFalsy(); expect(isDropdownValueType('timeRange')).toBeFalsy(); expect(isDropdownValueType('select')).toBeTruthy(); }); it('๐Ÿช“ LabelIconTip', async () => { const html = render( <LabelIconTip label="xxx" subTitle="xxx" tooltip={{ icon: <CodeFilled />, overlay: 'tetx', }} />, ); act(() => { const dom = html.baseElement.querySelector('div.ant-pro-core-label-tip'); fireEvent.mouseDown(dom!); fireEvent.mouseLeave(dom!); fireEvent.mouseMove(dom!); }); await html.findAllByText('xxx'); expect(html.asFragment()).toMatchSnapshot(); }); it('๐Ÿช“ isDeepEqualReact', async () => { const CustomComponent: React.FC<any> = () => { return <div />; }; class Deep { constructor() { return; } a() {} b() {} } const DeepComponent = () => { const a = ( <CustomComponent array={[ 1, 2, 3, 4, { deep: true, nested: { deep: true, ignoreKey: false } }, ]} map={ new Map([ ['key', 'value'], ['key2', 'value2'], ['key3', 'value3'], ]) } set={new Set([1, 2, 3, 4, 5])} regexp={new RegExp('test', 'ig')} arrayBuffer={new Int8Array([1, 2, 3, 4, 5])} string="compare" number={0} null={null} nan={NaN} class={Deep} classInstance={new Deep()} className="class-name" /> ); const b = ( <CustomComponent array={[ 1, 2, 3, 4, { deep: true, nested: { deep: true, ignoreKey: true } }, ]} map={ new Map([ ['key', 'value'], ['key2', 'value2'], ['key3', 'value3'], ]) } set={new Set([1, 2, 3, 4, 5])} regexp={new RegExp('test', 'ig')} arrayBuffer={new Int8Array([1, 2, 3, 4, 5])} string="compare" number={0} null={null} nan={NaN} class={Deep} classInstance={new Deep()} className="class-name" /> ); return ( <> <span>{isDeepEqualReact(a, b, ['ignoreKey']) ? 'Equal' : 'No'}</span> <CustomComponent a={a} b={b} /> </> ); }; const html = render(<DeepComponent />); await html.findAllByText('Equal'); }); it('๐Ÿช“ nanoid', () => { if (!window.crypto.randomUUID) { window.crypto.randomUUID = () => '1' as any; } const cryptoSpy = vi.spyOn(window.crypto, 'randomUUID'); nanoid(); expect(cryptoSpy).toBeCalled(); }); it('๐Ÿช“ stringify', () => { expect( stringify({ name: 'kiner', age: 28, liked: false, favs: ['Reading', 'Running'], userInfo: { fullName: 'kinertang' }, }), ).toBe( '{"name":"kiner","age":28,"liked":false,"favs":["Reading","Running"],"userInfo":{"fullName":"kinertang"}}', ); const json: any = { name: 'kiner', age: 28, }; json.detail = json; expect(stringify(json)).toBe( '{"name":"kiner","age":28,"detail":"Magic circle!"}', ); expect( stringify({ name: 'kiner', age: BigInt(999), }), ).toBe('{"name":"kiner","age":999}'); expect( stringify({ name: 'kiner', age: BigInt(99999), node: <div>aaaa</div>, fn: function () { console.log(1); }, }), ).toBe( '{"name":"kiner","age":99999,"node":{"type":"div","key":null,"ref":null,"props":{"children":"aaaa"},"_owner":null,"_store":{}}}', ); }); });
9,217
0
petrpan-code/ant-design/pro-components/tests/utils
petrpan-code/ant-design/pro-components/tests/utils/__snapshots__/index.test.tsx.snap
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`utils > ๐Ÿช“ LabelIconTip 1`] = ` <DocumentFragment> <div class="ant-pro-core-label-tip" > <div class="ant-pro-core-label-tip-title" > xxx </div> <div class="ant-pro-core-label-tip-subtitle" > xxx </div> <span class="ant-pro-core-label-tip-icon" > <span aria-label="code" class="anticon anticon-code" role="img" > <svg aria-hidden="true" data-icon="code" fill="currentColor" focusable="false" height="1em" viewBox="64 64 896 896" width="1em" > <path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM513.1 518.1l-192 161c-5.2 4.4-13.1.7-13.1-6.1v-62.7c0-2.3 1.1-4.6 2.9-6.1L420.7 512l-109.8-92.2a7.63 7.63 0 01-2.9-6.1V351c0-6.8 7.9-10.5 13.1-6.1l192 160.9c3.9 3.2 3.9 9.1 0 12.3zM716 673c0 4.4-3.4 8-7.5 8h-185c-4.1 0-7.5-3.6-7.5-8v-48c0-4.4 3.4-8 7.5-8h185c4.1 0 7.5 3.6 7.5 8v48z" /> </svg> </span> </span> </div> </DocumentFragment> `;
9,297
0
petrpan-code/storybookjs/storybook/code/addons/a11y
petrpan-code/storybookjs/storybook/code/addons/a11y/src/a11yRunner.test.ts
import { addons } from '@storybook/preview-api'; import { EVENTS } from './constants'; jest.mock('@storybook/preview-api'); const mockedAddons = addons as jest.Mocked<typeof addons>; describe('a11yRunner', () => { let mockChannel: { on: jest.Mock; emit?: jest.Mock }; beforeEach(() => { mockedAddons.getChannel.mockReset(); mockChannel = { on: jest.fn(), emit: jest.fn() }; mockedAddons.getChannel.mockReturnValue(mockChannel as any); }); it('should listen to events', () => { // eslint-disable-next-line global-require require('./a11yRunner'); expect(mockedAddons.getChannel).toHaveBeenCalled(); expect(mockChannel.on).toHaveBeenCalledWith(EVENTS.REQUEST, expect.any(Function)); expect(mockChannel.on).toHaveBeenCalledWith(EVENTS.MANUAL, expect.any(Function)); }); });
9,301
0
petrpan-code/storybookjs/storybook/code/addons/a11y
petrpan-code/storybookjs/storybook/code/addons/a11y/src/manager.test.tsx
import * as api from '@storybook/manager-api'; import type { Addon_BaseType } from '@storybook/types'; import { PANEL_ID } from './constants'; import './manager'; jest.mock('@storybook/manager-api'); const mockedApi = api as unknown as jest.Mocked<api.API>; mockedApi.useAddonState = jest.fn(); const mockedAddons = api.addons as jest.Mocked<typeof api.addons>; const registrationImpl = mockedAddons.register.mock.calls[0][1]; const isPanel = (input: Parameters<typeof mockedAddons.add>[1]): input is Addon_BaseType => input.type === api.types.PANEL; describe('A11yManager', () => { it('should register the panels', () => { // when registrationImpl(mockedApi); // then expect(mockedAddons.add.mock.calls).toHaveLength(2); expect(mockedAddons.add).toHaveBeenCalledWith(PANEL_ID, expect.anything()); const panel = mockedAddons.add.mock.calls .map(([_, def]) => def) .find(({ type }) => type === api.types.PANEL); const tool = mockedAddons.add.mock.calls .map(([_, def]) => def) .find(({ type }) => type === api.types.TOOL); expect(panel).toBeDefined(); expect(tool).toBeDefined(); }); it('should compute title with no issues', () => { // given mockedApi.useAddonState.mockImplementation(() => [undefined]); registrationImpl(api as unknown as api.API); const title = mockedAddons.add.mock.calls.map(([_, def]) => def).find(isPanel) ?.title as Function; // when / then expect(title()).toMatchInlineSnapshot(` <div> <Spaced col={1} > <span style={ Object { "display": "inline-block", "verticalAlign": "middle", } } > Accessibility </span> </Spaced> </div> `); }); it('should compute title with issues', () => { // given mockedApi.useAddonState.mockImplementation(() => [ { violations: [{}], incomplete: [{}, {}], }, ]); registrationImpl(mockedApi); const title = mockedAddons.add.mock.calls.map(([_, def]) => def).find(isPanel) ?.title as Function; // when / then expect(title()).toMatchInlineSnapshot(` <div> <Spaced col={1} > <span style={ Object { "display": "inline-block", "verticalAlign": "middle", } } > Accessibility </span> <Badge status="neutral" > 3 </Badge> </Spaced> </div> `); }); });
9,306
0
petrpan-code/storybookjs/storybook/code/addons/a11y/src
petrpan-code/storybookjs/storybook/code/addons/a11y/src/components/A11YPanel.test.tsx
import React from 'react'; import { render, waitFor, fireEvent, act } from '@testing-library/react'; import { ThemeProvider, themes, convert } from '@storybook/theming'; import * as api from '@storybook/manager-api'; import { A11YPanel } from './A11YPanel'; import { EVENTS } from '../constants'; jest.mock('@storybook/manager-api'); global.ResizeObserver = require('resize-observer-polyfill'); const mockedApi = api as jest.Mocked<typeof api>; const axeResult = { incomplete: [ { id: 'color-contrast', impact: 'serious', tags: ['cat.color', 'wcag2aa', 'wcag143'], description: 'Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds', help: 'Elements must have sufficient color contrast', helpUrl: 'https://dequeuniversity.com/rules/axe/3.2/color-contrast?application=axeAPI', nodes: [], }, ], passes: [ { id: 'aria-allowed-attr', impact: null, tags: ['cat.aria', 'wcag2a', 'wcag412'], description: "Ensures ARIA attributes are allowed for an element's role", help: 'Elements must only use allowed ARIA attributes', helpUrl: 'https://dequeuniversity.com/rules/axe/3.2/aria-allowed-attr?application=axeAPI', nodes: [], }, ], violations: [ { id: 'color-contrast', impact: 'serious', tags: ['cat.color', 'wcag2aa', 'wcag143'], description: 'Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds', help: 'Elements must have sufficient color contrast', helpUrl: 'https://dequeuniversity.com/rules/axe/3.2/color-contrast?application=axeAPI', nodes: [], }, ], }; function ThemedA11YPanel() { return ( <ThemeProvider theme={convert(themes.light)}> <A11YPanel /> </ThemeProvider> ); } describe('A11YPanel', () => { beforeEach(() => { mockedApi.useChannel.mockReset(); mockedApi.useParameter.mockReset(); mockedApi.useStorybookState.mockReset(); mockedApi.useAddonState.mockReset(); mockedApi.useAddonState.mockImplementation((_, defaultState) => React.useState(defaultState)); mockedApi.useChannel.mockReturnValue(jest.fn()); mockedApi.useParameter.mockReturnValue({ manual: false }); const state: Partial<api.State> = { storyId: 'jest' }; // Lazy to mock entire state mockedApi.useStorybookState.mockReturnValue(state as any); mockedApi.useAddonState.mockImplementation(React.useState); }); it('should render', () => { const { container } = render(<A11YPanel />); expect(container.firstChild).toBeTruthy(); }); it('should register event listener on mount', () => { render(<A11YPanel />); expect(mockedApi.useChannel).toHaveBeenCalledWith( expect.objectContaining({ [EVENTS.RESULT]: expect.any(Function), [EVENTS.ERROR]: expect.any(Function), }) ); }); it('should handle "initial" status', () => { const { getByText } = render(<A11YPanel />); expect(getByText(/Initializing/)).toBeTruthy(); }); it('should handle "manual" status', async () => { mockedApi.useParameter.mockReturnValue({ manual: true }); const { getByText } = render(<ThemedA11YPanel />); await waitFor(() => { expect(getByText(/Manually run the accessibility scan/)).toBeTruthy(); }); }); it('should handle "running" status', async () => { const emit = jest.fn(); mockedApi.useChannel.mockReturnValue(emit); mockedApi.useParameter.mockReturnValue({ manual: true }); const { getByRole, getByText } = render(<ThemedA11YPanel />); await waitFor(() => { const button = getByRole('button', { name: 'Run test' }); fireEvent.click(button); }); await waitFor(() => { expect(getByText(/Please wait while the accessibility scan is running/)).toBeTruthy(); expect(emit).toHaveBeenCalledWith(EVENTS.MANUAL, 'jest'); }); }); it('should set running status on event', async () => { const { getByText } = render(<ThemedA11YPanel />); const useChannelArgs = mockedApi.useChannel.mock.calls[0][0]; act(() => useChannelArgs[EVENTS.RUNNING]()); await waitFor(() => { expect(getByText(/Please wait while the accessibility scan is running/)).toBeTruthy(); }); }); it('should handle "ran" status', async () => { const { getByText } = render(<ThemedA11YPanel />); const useChannelArgs = mockedApi.useChannel.mock.calls[0][0]; act(() => useChannelArgs[EVENTS.RESULT](axeResult)); await waitFor( () => { expect(getByText(/Tests completed/)).toBeTruthy(); expect(getByText(/Violations/)).toBeTruthy(); expect(getByText(/Passes/)).toBeTruthy(); expect(getByText(/Incomplete/)).toBeTruthy(); }, { timeout: 2000 } ); }); });
9,308
0
petrpan-code/storybookjs/storybook/code/addons/a11y/src
petrpan-code/storybookjs/storybook/code/addons/a11y/src/components/A11yContext.test.tsx
import * as React from 'react'; import type { AxeResults } from 'axe-core'; import { render, act } from '@testing-library/react'; import * as api from '@storybook/manager-api'; import { STORY_CHANGED } from '@storybook/core-events'; import { HIGHLIGHT } from '@storybook/addon-highlight'; import { A11yContextProvider, useA11yContext } from './A11yContext'; import { EVENTS } from '../constants'; jest.mock('@storybook/manager-api'); const mockedApi = api as jest.Mocked<typeof api>; const storyId = 'jest'; const axeResult: Partial<AxeResults> = { incomplete: [ { id: 'color-contrast', impact: 'serious', tags: [], description: 'Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds', help: 'Elements must have sufficient color contrast', helpUrl: 'https://dequeuniversity.com/rules/axe/3.2/color-contrast?application=axeAPI', nodes: [], }, ], passes: [ { id: 'aria-allowed-attr', impact: undefined, tags: [], description: "Ensures ARIA attributes are allowed for an element's role", help: 'Elements must only use allowed ARIA attributes', helpUrl: 'https://dequeuniversity.com/rules/axe/3.2/aria-allowed-attr?application=axeAPI', nodes: [], }, ], violations: [ { id: 'color-contrast', impact: 'serious', tags: [], description: 'Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds', help: 'Elements must have sufficient color contrast', helpUrl: 'https://dequeuniversity.com/rules/axe/3.2/color-contrast?application=axeAPI', nodes: [], }, ], }; describe('A11YPanel', () => { const getCurrentStoryData = jest.fn(); beforeEach(() => { mockedApi.useChannel.mockReset(); mockedApi.useStorybookApi.mockReset(); mockedApi.useAddonState.mockReset(); mockedApi.useAddonState.mockImplementation((_, defaultState) => React.useState(defaultState)); mockedApi.useChannel.mockReturnValue(jest.fn()); getCurrentStoryData.mockReset().mockReturnValue({ id: storyId, type: 'story' }); mockedApi.useStorybookApi.mockReturnValue({ getCurrentStoryData } as any); }); it('should render children', () => { const { getByTestId } = render( <A11yContextProvider active> <div data-testid="child" /> </A11yContextProvider> ); expect(getByTestId('child')).toBeTruthy(); }); it('should not render when inactive', () => { const emit = jest.fn(); mockedApi.useChannel.mockReturnValue(emit); const { queryByTestId } = render( <A11yContextProvider active={false}> <div data-testid="child" /> </A11yContextProvider> ); expect(queryByTestId('child')).toBeFalsy(); expect(emit).not.toHaveBeenCalledWith(EVENTS.REQUEST); }); it('should emit request when moving from inactive to active', () => { const emit = jest.fn(); mockedApi.useChannel.mockReturnValue(emit); const { rerender } = render(<A11yContextProvider active={false} />); rerender(<A11yContextProvider active />); expect(emit).toHaveBeenLastCalledWith(EVENTS.REQUEST, storyId); }); it('should emit highlight with no values when inactive', () => { const emit = jest.fn(); mockedApi.useChannel.mockReturnValue(emit); const { rerender } = render(<A11yContextProvider active />); rerender(<A11yContextProvider active={false} />); expect(emit).toHaveBeenLastCalledWith( HIGHLIGHT, expect.objectContaining({ color: expect.any(String), elements: [], }) ); }); it('should emit highlight with no values when story changed', () => { const Component = () => { const { results, setResults } = useA11yContext(); // As any because of unit tests... React.useEffect(() => setResults(axeResult as any), []); return ( <> {!!results.passes.length && <div data-testid="anyPassesResults" />} {!!results.incomplete.length && <div data-testid="anyIncompleteResults" />} {!!results.violations.length && <div data-testid="anyViolationsResults" />} </> ); }; const { queryByTestId } = render( <A11yContextProvider active> <Component /> </A11yContextProvider> ); expect(queryByTestId('anyPassesResults')).toBeTruthy(); expect(queryByTestId('anyIncompleteResults')).toBeTruthy(); expect(queryByTestId('anyViolationsResults')).toBeTruthy(); const useChannelArgs = mockedApi.useChannel.mock.calls[0][0]; act(() => useChannelArgs[STORY_CHANGED]()); expect(queryByTestId('anyPassesResults')).toBeFalsy(); expect(queryByTestId('anyIncompleteResults')).toBeFalsy(); expect(queryByTestId('anyViolationsResults')).toBeFalsy(); }); });
9,312
0
petrpan-code/storybookjs/storybook/code/addons/a11y/src
petrpan-code/storybookjs/storybook/code/addons/a11y/src/components/VisionSimulator.test.tsx
import React from 'react'; import { render, fireEvent, screen, waitFor } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import { ThemeProvider, themes, convert } from '@storybook/theming'; import { VisionSimulator, baseList } from './VisionSimulator'; const getOptionByNameAndPercentage = (option: string, percentage?: number) => screen.getByText( (content, element) => content !== '' && // @ts-expect-error (TODO) element.textContent === option && // @ts-expect-error (TODO) (percentage === undefined || element.nextSibling.textContent === `${percentage}% of users`) ); function ThemedVisionSimulator() { return ( <ThemeProvider theme={convert(themes.light)}> <VisionSimulator /> </ThemeProvider> ); } describe('Vision Simulator', () => { it('should render tool button', async () => { // when render(<ThemedVisionSimulator />); // then // waitFor because WithTooltip is a lazy component await waitFor(() => expect(screen.getByTitle('Vision simulator')).toBeInTheDocument()); }); it.skip('should display tooltip on click', async () => { // given render(<ThemedVisionSimulator />); await waitFor(() => expect(screen.getByTitle('Vision simulator')).toBeInTheDocument()); // when userEvent.click(screen.getByRole('button', { name: 'Vision simulator' })); // then await waitFor(() => expect(screen.getByText('blurred vision')).toBeInTheDocument()); baseList.forEach(({ name, percentage }) => expect(getOptionByNameAndPercentage(name, percentage)).toBeInTheDocument() ); }); it.skip('should set filter', async () => { // given render(<ThemedVisionSimulator />); await waitFor(() => expect(screen.getByTitle('Vision simulator')).toBeInTheDocument()); userEvent.click(screen.getByRole('button', { name: 'Vision simulator' })); await waitFor(() => expect(screen.getByText('blurred vision')).toBeInTheDocument()); // when fireEvent.click(screen.getByText('blurred vision')); // then const rule = Object.values(document.styleSheets) .filter(({ cssRules }) => cssRules) .map(({ cssRules }) => Object.values(cssRules)) .flat() // @ts-expect-error (TODO) .find((cssRule: CSSRule) => cssRule.selectorText === '#storybook-preview-iframe'); expect(rule).toBeDefined(); // @ts-expect-error (TODO) expect(rule.style.filter).toBe('blur(2px)'); }); });
9,315
0
petrpan-code/storybookjs/storybook/code/addons/a11y/src/components
petrpan-code/storybookjs/storybook/code/addons/a11y/src/components/Report/HighlightToggle.test.tsx
import React from 'react'; import { render, fireEvent } from '@testing-library/react'; import type { NodeResult } from 'axe-core'; import HighlightToggle from './HighlightToggle'; import { A11yContext } from '../A11yContext'; const nodeResult = (target: string): NodeResult => ({ html: '', target: [target], any: [], all: [], none: [], }); const defaultProviderValue = { results: { passes: [], incomplete: [], violations: [], }, setResults: jest.fn(), highlighted: [], toggleHighlight: jest.fn(), clearHighlights: jest.fn(), tab: 0, setTab: jest.fn(), }; describe('<HighlightToggle />', () => { it('should render', () => { const { container } = render( <HighlightToggle elementsToHighlight={[nodeResult('#storybook-root')]} /> ); expect(container.firstChild).toBeTruthy(); }); it('should be checked when all targets are highlighted', () => { const { getByRole } = render( <A11yContext.Provider value={{ ...defaultProviderValue, highlighted: ['#storybook-root'], }} > <HighlightToggle elementsToHighlight={[nodeResult('#storybook-root')]} /> </A11yContext.Provider> ); const checkbox = getByRole('checkbox') as HTMLInputElement; expect(checkbox.checked).toBeTruthy(); }); it('should be mixed when some targets are highlighted', () => { const { getByRole } = render( <A11yContext.Provider value={{ ...defaultProviderValue, highlighted: ['#storybook-root'], }} > <HighlightToggle elementsToHighlight={[nodeResult('#storybook-root'), nodeResult('#storybook-root1')]} /> </A11yContext.Provider> ); const checkbox = getByRole('checkbox') as HTMLInputElement; expect(checkbox.indeterminate).toBeTruthy(); }); describe('toggleHighlight', () => { it.each` highlighted | elementsToHighlight | expected ${[]} | ${['#storybook-root']} | ${true} ${['#storybook-root']} | ${['#storybook-root']} | ${false} ${['#storybook-root']} | ${['#storybook-root', '#storybook-root1']} | ${true} `( 'should be triggered with $expected when highlighted is $highlighted and elementsToHighlight is $elementsToHighlight', ({ highlighted, elementsToHighlight, expected }) => { const { getByRole } = render( <A11yContext.Provider value={{ ...defaultProviderValue, highlighted, }} > <HighlightToggle elementsToHighlight={elementsToHighlight.map(nodeResult)} /> </A11yContext.Provider> ); const checkbox = getByRole('checkbox') as HTMLInputElement; fireEvent.click(checkbox); expect(defaultProviderValue.toggleHighlight).toHaveBeenCalledWith( elementsToHighlight, expected ); } ); }); });
9,333
0
petrpan-code/storybookjs/storybook/code/addons/actions
petrpan-code/storybookjs/storybook/code/addons/actions/src/addArgsHelpers.test.ts
import type { StoryContext } from '@storybook/types'; import { inferActionsFromArgTypesRegex, addActionsFromArgTypes } from './addArgsHelpers'; describe('actions parameter enhancers', () => { describe('actions.argTypesRegex parameter', () => { const parameters = { actions: { argTypesRegex: '^on.*' } }; const argTypes = { onClick: {}, onFocus: {}, somethingElse: {} }; it('should add actions that match a pattern', () => { const args = inferActionsFromArgTypesRegex({ initialArgs: {}, argTypes, parameters, } as unknown as StoryContext); expect(args).toEqual({ onClick: expect.any(Function), onFocus: expect.any(Function), }); }); it('should NOT override pre-existing args', () => { const args = inferActionsFromArgTypesRegex({ initialArgs: { onClick: 'pre-existing value' }, argTypes, parameters, } as unknown as StoryContext); expect(args).toEqual({ onFocus: expect.any(Function) }); }); it('should NOT override pre-existing args, if null', () => { const args = inferActionsFromArgTypesRegex({ initialArgs: { onClick: null }, argTypes, parameters, } as unknown as StoryContext); expect(args).toEqual({ onFocus: expect.any(Function) }); }); it('should override pre-existing args, if undefined', () => { const args = inferActionsFromArgTypesRegex({ initialArgs: {}, argTypes, parameters, } as unknown as StoryContext); expect(args).toEqual({ onClick: expect.any(Function), onFocus: expect.any(Function) }); }); it('should NOT override pre-existing args, if set undefined on purpose', () => { const args = inferActionsFromArgTypesRegex({ initialArgs: { onClick: undefined }, argTypes, parameters, } as unknown as StoryContext); expect(args).toEqual({ onClick: undefined, onFocus: expect.any(Function) }); }); it('should do nothing if actions are disabled', () => { const args = inferActionsFromArgTypesRegex({ initialArgs: {}, argTypes, parameters: { ...parameters, actions: { ...parameters.actions, disable: true }, }, } as unknown as StoryContext); expect(args).toEqual({}); }); }); describe('argTypes.action parameter', () => { const argTypes = { onClick: { action: 'clicked!' }, onBlur: { action: 'blurred!' }, }; it('should add actions based on action.args', () => { expect( addActionsFromArgTypes({ initialArgs: {}, argTypes, parameters: {}, } as unknown as StoryContext) ).toEqual({ onClick: expect.any(Function), onBlur: expect.any(Function), }); }); it('should NOT override pre-existing args', () => { expect( addActionsFromArgTypes({ argTypes: { onClick: { action: 'clicked!' } }, initialArgs: { onClick: 'pre-existing value' }, parameters: {}, } as unknown as StoryContext) ).toEqual({}); }); it('should NOT override pre-existing args, if null', () => { expect( addActionsFromArgTypes({ argTypes: { onClick: { action: 'clicked!' } }, initialArgs: { onClick: null }, parameters: {}, } as unknown as StoryContext) ).toEqual({}); }); it('should override pre-existing args, if undefined', () => { expect( addActionsFromArgTypes({ argTypes: { onClick: { action: 'clicked!' } }, initialArgs: {}, parameters: {}, } as unknown as StoryContext) ).toEqual({ onClick: expect.any(Function) }); }); it('should NOT override pre-existing args, if set undefined on purpose', () => { expect( addActionsFromArgTypes({ argTypes: { onClick: { action: 'clicked!' } }, initialArgs: { onClick: undefined }, parameters: {}, } as unknown as StoryContext) ).toEqual({ onClick: undefined }); }); it('should do nothing if actions are disabled', () => { expect( addActionsFromArgTypes({ initialArgs: {}, argTypes, parameters: { actions: { disable: true } }, } as unknown as StoryContext) ).toEqual({}); }); }); });
9,511
0
petrpan-code/storybookjs/storybook/code/addons/interactions
petrpan-code/storybookjs/storybook/code/addons/interactions/src/Panel.test.ts
import { type Call, CallStates, type LogItem } from '@storybook/instrumenter'; import { getInteractions } from './Panel'; describe('Panel', () => { describe('getInteractions', () => { const log: LogItem[] = [ { callId: 'story--id [4] findByText', status: CallStates.DONE, ancestors: [], }, { callId: 'story--id [5] click', status: CallStates.DONE, ancestors: [], }, { callId: 'story--id [6] waitFor', status: CallStates.DONE, ancestors: [], }, { callId: 'story--id [6] waitFor [2] toHaveBeenCalledWith', status: CallStates.DONE, ancestors: ['story--id [6] waitFor'], }, ]; const calls = new Map<Call['id'], Call>( [ { id: 'story--id [0] action', storyId: 'story--id', ancestors: [], cursor: 0, path: [], method: 'action', args: [{ __function__: { name: 'onSubmit' } }], interceptable: false, retain: true, }, { id: 'story--id [1] action', storyId: 'story--id', ancestors: [], cursor: 1, path: [], method: 'action', args: [{ __function__: { name: 'onTransactionStart' } }], interceptable: false, retain: true, }, { id: 'story--id [2] action', storyId: 'story--id', ancestors: [], cursor: 2, path: [], method: 'action', args: [{ __function__: { name: 'onTransactionEnd' } }], interceptable: false, retain: true, }, { id: 'story--id [3] within', storyId: 'story--id', ancestors: [], cursor: 3, path: [], method: 'within', args: [{ __element__: { localName: 'div', id: 'root', innerText: 'Click' } }], interceptable: false, retain: false, }, { id: 'story--id [4] findByText', storyId: 'story--id', ancestors: [], cursor: 4, path: [{ __callId__: 'story--id [3] within' }], method: 'findByText', args: ['Click'], interceptable: true, retain: false, }, { id: 'story--id [5] click', storyId: 'story--id', ancestors: [], cursor: 5, path: ['userEvent'], method: 'click', args: [{ __element__: { localName: 'button', innerText: 'Click' } }], interceptable: true, retain: false, }, { id: 'story--id [6] waitFor [0] expect', storyId: 'story--id', ancestors: ['story--id [6] waitFor'], cursor: 0, path: [], method: 'expect', args: [{ __callId__: 'story--id [0] action', retain: true }], interceptable: true, retain: false, }, { id: 'story--id [6] waitFor [1] stringMatching', storyId: 'story--id', ancestors: ['story--id [6] waitFor'], cursor: 1, path: ['expect'], method: 'stringMatching', args: [{ __regexp__: { flags: 'gi', source: '([A-Z])\\w+' } }], interceptable: false, retain: false, }, { id: 'story--id [6] waitFor [2] toHaveBeenCalledWith', storyId: 'story--id', ancestors: ['story--id [6] waitFor'], cursor: 2, path: [{ __callId__: 'story--id [6] waitFor [0] expect' }], method: 'toHaveBeenCalledWith', args: [{ __callId__: 'story--id [6] waitFor [1] stringMatching', retain: false }], interceptable: true, retain: false, }, { id: 'story--id [6] waitFor', storyId: 'story--id', ancestors: [], cursor: 6, path: [], method: 'waitFor', args: [{ __function__: { name: '' } }], interceptable: true, retain: false, }, ].map((v) => [v.id, v]) ); const collapsed = new Set<Call['id']>(); const setCollapsed = () => {}; it('returns list of interactions', () => { expect(getInteractions({ log, calls, collapsed, setCollapsed })).toEqual([ { ...calls.get('story--id [4] findByText'), status: CallStates.DONE, childCallIds: undefined, isHidden: false, isCollapsed: false, toggleCollapsed: expect.any(Function), }, { ...calls.get('story--id [5] click'), status: CallStates.DONE, childCallIds: undefined, isHidden: false, isCollapsed: false, toggleCollapsed: expect.any(Function), }, { ...calls.get('story--id [6] waitFor'), status: CallStates.DONE, childCallIds: ['story--id [6] waitFor [2] toHaveBeenCalledWith'], isHidden: false, isCollapsed: false, toggleCollapsed: expect.any(Function), }, { ...calls.get('story--id [6] waitFor [2] toHaveBeenCalledWith'), status: CallStates.DONE, childCallIds: undefined, isHidden: false, isCollapsed: false, toggleCollapsed: expect.any(Function), }, ]); }); it('hides calls for which the parent is collapsed', () => { const withCollapsed = new Set<Call['id']>(['story--id [6] waitFor']); expect(getInteractions({ log, calls, collapsed: withCollapsed, setCollapsed })).toEqual([ expect.objectContaining({ ...calls.get('story--id [4] findByText'), childCallIds: undefined, isCollapsed: false, isHidden: false, }), expect.objectContaining({ ...calls.get('story--id [5] click'), childCallIds: undefined, isCollapsed: false, isHidden: false, }), expect.objectContaining({ ...calls.get('story--id [6] waitFor'), childCallIds: ['story--id [6] waitFor [2] toHaveBeenCalledWith'], isCollapsed: true, isHidden: false, }), expect.objectContaining({ ...calls.get('story--id [6] waitFor [2] toHaveBeenCalledWith'), childCallIds: undefined, isCollapsed: false, isHidden: true, }), ]); }); it('uses status from log', () => { const withError = log.slice(0, 3).concat({ ...log[3], status: CallStates.ERROR }); expect(getInteractions({ log: withError, calls, collapsed, setCollapsed })).toEqual([ expect.objectContaining({ id: 'story--id [4] findByText', status: CallStates.DONE, }), expect.objectContaining({ id: 'story--id [5] click', status: CallStates.DONE, }), expect.objectContaining({ id: 'story--id [6] waitFor', status: CallStates.DONE, }), expect.objectContaining({ id: 'story--id [6] waitFor [2] toHaveBeenCalledWith', status: CallStates.ERROR, }), ]); }); it('keeps status active for errored child calls while parent is active', () => { const withActiveError = log.slice(0, 2).concat([ { ...log[2], status: CallStates.ACTIVE }, { ...log[3], status: CallStates.ERROR }, ]); expect(getInteractions({ log: withActiveError, calls, collapsed, setCollapsed })).toEqual([ expect.objectContaining({ id: 'story--id [4] findByText', status: CallStates.DONE, }), expect.objectContaining({ id: 'story--id [5] click', status: CallStates.DONE, }), expect.objectContaining({ id: 'story--id [6] waitFor', status: CallStates.ACTIVE, }), expect.objectContaining({ id: 'story--id [6] waitFor [2] toHaveBeenCalledWith', status: CallStates.ACTIVE, // not ERROR }), ]); }); it('does not override child status other than error for active parent', () => { const withActiveWaiting = log.slice(0, 2).concat([ { ...log[2], status: CallStates.ACTIVE }, { ...log[3], status: CallStates.WAITING }, ]); expect(getInteractions({ log: withActiveWaiting, calls, collapsed, setCollapsed })).toEqual([ expect.objectContaining({ id: 'story--id [4] findByText', status: CallStates.DONE, }), expect.objectContaining({ id: 'story--id [5] click', status: CallStates.DONE, }), expect.objectContaining({ id: 'story--id [6] waitFor', status: CallStates.ACTIVE, }), expect.objectContaining({ id: 'story--id [6] waitFor [2] toHaveBeenCalledWith', status: CallStates.WAITING, }), ]); }); }); });
9,545
0
petrpan-code/storybookjs/storybook/code/addons/jest
petrpan-code/storybookjs/storybook/code/addons/jest/src/shared.test.ts
import { defineJestParameter } from './shared'; describe('defineJestParameter', () => { test('infers from story file name if jest parameter is not provided', () => { expect(defineJestParameter({ fileName: './stories/addon-jest.stories.js' })).toEqual([ 'addon-jest', ]); }); test('wraps string jest parameter with an array', () => { expect(defineJestParameter({ jest: 'addon-jest' })).toEqual(['addon-jest']); }); test('returns as is if jest parameter is an array', () => { expect(defineJestParameter({ jest: ['addon-jest', 'something-else'] })).toEqual([ 'addon-jest', 'something-else', ]); }); test('returns null if disabled option is passed to jest parameter', () => { expect(defineJestParameter({ jest: { disabled: true } })).toBeNull(); }); test('returns null if no filename to infer from', () => { expect(defineJestParameter({})).toBeNull(); }); test('returns null if filename is a module ID that cannot be inferred from', () => { // @ts-expect-error Storybook's fileName type is string, but according to this test it could be number in case it is a module id. expect(defineJestParameter({ fileName: 1234 })).toBeNull(); }); });
9,565
0
petrpan-code/storybookjs/storybook/code/addons/links
petrpan-code/storybookjs/storybook/code/addons/links/src/utils.test.ts
import { addons } from '@storybook/preview-api'; import { SELECT_STORY } from '@storybook/core-events'; import { linkTo, hrefTo } from './utils'; jest.mock('@storybook/preview-api'); jest.mock('@storybook/global', () => ({ global: { document: global.document, window: global, }, })); const mockAddons = addons as unknown as jest.Mocked<typeof addons>; describe('preview', () => { const channel = { emit: jest.fn() }; beforeAll(() => { mockAddons.getChannel.mockReturnValue(channel as any); }); beforeEach(channel.emit.mockReset); describe('linkTo()', () => { it('should select the title and name provided', () => { const handler = linkTo('title', 'name'); handler(); expect(channel.emit).toHaveBeenCalledWith(SELECT_STORY, { kind: 'title', story: 'name', }); }); it('should select the title (only) provided', () => { const handler = linkTo('title'); handler(); expect(channel.emit).toHaveBeenCalledWith(SELECT_STORY, { kind: 'title', }); }); it('should select the story (only) provided', () => { // simulate a currently selected, but not found as ID // @ts-expect-error (not strict) const handler = linkTo(undefined, 'name'); handler(); expect(channel.emit).toHaveBeenCalledWith(SELECT_STORY, { story: 'name', }); }); it('should select the id provided', () => { const handler = linkTo('title--name'); handler(); expect(channel.emit).toHaveBeenCalledWith(SELECT_STORY, { storyId: 'title--name', }); }); it('should handle functions returning strings', () => { const handler = linkTo( (a, b) => a + b, (a, b) => b + a ); handler('title', 'name'); expect(channel.emit.mock.calls).toContainEqual([ SELECT_STORY, { kind: 'titlename', story: 'nametitle', }, ]); }); }); describe('hrefTo()', () => { it('should return promise resolved with story href', async () => { const href = await hrefTo('title', 'name'); expect(href).toContain('?path=/story/title--name'); }); }); });
9,569
0
petrpan-code/storybookjs/storybook/code/addons/links/src/react
petrpan-code/storybookjs/storybook/code/addons/links/src/react/components/link.test.tsx
import React from 'react'; import { addons } from '@storybook/preview-api'; import { render, screen, waitFor } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import { SELECT_STORY } from '@storybook/core-events'; import LinkTo from './link'; jest.mock('@storybook/preview-api'); jest.mock('@storybook/global', () => ({ global: { document: { location: { origin: 'origin', pathname: 'pathname', search: 'search', }, }, window: global, __STORYBOOK_STORY_STORE__: { fromId: jest.fn(() => ({})), }, }, })); const mockChannel = () => { return { emit: jest.fn(), on: jest.fn(), once: jest.fn(), }; }; const mockAddons = addons as unknown as jest.Mocked<typeof addons>; describe('LinkTo', () => { describe('render', () => { it('should render a link', async () => { const channel = mockChannel() as any; mockAddons.getChannel.mockReturnValue(channel); const { container } = render( // eslint-disable-next-line jsx-a11y/anchor-is-valid <LinkTo title="foo" name="bar"> link </LinkTo> ); await waitFor(() => { expect(screen.getByText('link')).toHaveAttribute( 'href', 'originpathname?path=/story/foo--bar' ); }); expect(container.firstChild).toMatchInlineSnapshot(` <a href="originpathname?path=/story/foo--bar" > link </a> `); }); }); describe('events', () => { it('should select the kind and story on click', () => { const channel = { emit: jest.fn(), on: jest.fn(), } as any; mockAddons.getChannel.mockReturnValue(channel); render( // eslint-disable-next-line jsx-a11y/anchor-is-valid <LinkTo title="foo" name="bar"> link </LinkTo> ); userEvent.click(screen.getByText('link')); expect(channel.emit).toHaveBeenLastCalledWith( SELECT_STORY, expect.objectContaining({ title: 'foo', name: 'bar', }) ); }); }); });
9,616
0
petrpan-code/storybookjs/storybook/code/addons/storyshots-core
petrpan-code/storybookjs/storybook/code/addons/storyshots-core/src/Stories2SnapsConverter.test.ts
import { Stories2SnapsConverter } from './Stories2SnapsConverter'; const target = new Stories2SnapsConverter(); describe('getSnapshotFileName', () => { it('fileName is provided - snapshot is stored in __snapshots__ dir', () => { const context = { fileName: 'foo.js', kind: 'kind' }; const result = target.getSnapshotFileName(context); const platformAgnosticResult = result?.replace(/\\|\//g, '/'); // This is an absolute path, so we need to use `toContain()` expect(platformAgnosticResult).toContain('__snapshots__/foo.storyshot'); }); it('fileName with multiple extensions is provided - only the last extension is replaced', () => { const context = { fileName: 'foo.web.stories.js', kind: 'kind' }; const result = target.getSnapshotFileName(context); const platformAgnosticResult = result?.replace(/\\|\//g, '/'); // This is an absolute path, so we need to use `toContain()` expect(platformAgnosticResult).toContain('__snapshots__/foo.web.stories.storyshot'); }); it('fileName with dir is provided - __snapshots__ dir is created inside another dir', () => { const context = { fileName: 'test/foo.js', kind: 'kind' }; const result = target.getSnapshotFileName(context); const platformAgnosticResult = result?.replace(/\\|\//g, '/'); // This is an absolute path, so we need to use `toContain()` expect(platformAgnosticResult).toContain('test/__snapshots__/foo.storyshot'); }); }); describe('getPossibleStoriesFiles', () => { it('storyshots is provided and all the posible stories file names are returned', () => { const storyshots = 'test/__snapshots__/foo.web.stories.storyshot'; const result = target.getPossibleStoriesFiles(storyshots); const platformAgnosticResult = result.map((path) => path.replace(/\\|\//g, '/')); expect(platformAgnosticResult).toEqual([ 'test/foo.web.stories.js', 'test/foo.web.stories.jsx', 'test/foo.web.stories.ts', 'test/foo.web.stories.tsx', 'test/foo.web.stories.mdx', ]); }); });
9,628
0
petrpan-code/storybookjs/storybook/code/addons/storyshots-core/src
petrpan-code/storybookjs/storybook/code/addons/storyshots-core/src/frameworks/configure.test.ts
import path from 'path'; import { getPreviewFile, getMainFile } from './configure'; // eslint-disable-next-line global-require, jest/no-mocks-import jest.mock('fs', () => require('../../../../__mocks__/fs')); const setupFiles = (files: Record<string, string>) => { // eslint-disable-next-line no-underscore-dangle, global-require require('fs').__setMockFiles(files); }; describe('preview files', () => { it.each` filepath ${'preview.ts'} ${'preview.tsx'} ${'preview.js'} ${'preview.jsx'} ${'config.ts'} ${'config.tsx'} ${'config.js'} ${'config.jsx'} `('resolves a valid preview file from $filepath', ({ filepath }) => { setupFiles({ [path.join('test', filepath)]: 'true' }); expect(getPreviewFile('test/')).toEqual(`test${path.sep}${filepath}`); }); it('returns false when none of the paths exist', () => { setupFiles(Object.create(null)); expect(getPreviewFile('test/')).toEqual(false); }); }); describe('main files', () => { it.each` filepath ${'main.ts'} ${'main.tsx'} ${'main.js'} ${'main.jsx'} `('resolves a valid main file path from $filepath', ({ filepath }) => { setupFiles({ [path.join('test', filepath)]: 'true' }); expect(getMainFile('test/')).toEqual(`test${path.sep}${filepath}`); }); it('returns false when none of the paths exist', () => { setupFiles(Object.create(null)); expect(getPreviewFile('test/')).toEqual(false); }); });
9,698
0
petrpan-code/storybookjs/storybook/code/addons/storyshots-puppeteer/src
petrpan-code/storybookjs/storybook/code/addons/storyshots-puppeteer/src/__tests__/url.test.ts
import { toId } from '@storybook/csf'; import { constructUrl } from '../url'; jest.mock('@storybook/node-logger'); const id = toId('someKind', 'someStory'); describe('Construct URL for Storyshots', () => { it('can use a url without path and without query params', () => { expect(constructUrl('http://localhost:9001', id)).toEqual( 'http://localhost:9001/iframe.html?id=somekind--somestory' ); }); it('can use a url without path (but slash) and without query params', () => { expect(constructUrl('http://localhost:9001/', id)).toEqual( 'http://localhost:9001/iframe.html?id=somekind--somestory' ); }); it('can use a url without path and with query params', () => { expect(constructUrl('http://localhost:9001?hello=world', id)).toEqual( 'http://localhost:9001/iframe.html?hello=world&id=somekind--somestory' ); }); it('can use a url without path (buth slash) and with query params', () => { expect(constructUrl('http://localhost:9001/?hello=world', id)).toEqual( 'http://localhost:9001/iframe.html?hello=world&id=somekind--somestory' ); }); it('can use a url with some path and query params', () => { expect(constructUrl('http://localhost:9001/nice-path?hello=world', id)).toEqual( 'http://localhost:9001/nice-path/iframe.html?hello=world&id=somekind--somestory' ); }); it('can use a url with some path (slash) and query params', () => { expect(constructUrl('http://localhost:9001/nice-path/?hello=world', id)).toEqual( 'http://localhost:9001/nice-path/iframe.html?hello=world&id=somekind--somestory' ); }); it('can use a url with username and password and query params', () => { expect( constructUrl('http://username:password@localhost:9001/nice-path/?hello=world', id) ).toEqual( 'http://username:password@localhost:9001/nice-path/iframe.html?hello=world&id=somekind--somestory' ); }); it('can use a url with username and query params', () => { expect(constructUrl('http://username@localhost:9001/nice-path/?hello=world', id)).toEqual( 'http://username@localhost:9001/nice-path/iframe.html?hello=world&id=somekind--somestory' ); }); it('can use a url with file protocol', () => { expect(constructUrl('file://users/storybook', id)).toEqual( 'file://users/storybook/iframe.html?id=somekind--somestory' ); }); });
9,782
0
petrpan-code/storybookjs/storybook/code/builders/builder-manager/src
petrpan-code/storybookjs/storybook/code/builders/builder-manager/src/utils/files.test.ts
import type { OutputFile } from 'esbuild'; import { platform } from 'os'; import { sanitizePath } from './files'; const os = platform(); const isWindows = os === 'win32'; test('sanitizePath', () => { const addonsDir = isWindows ? 'C:\\Users\\username\\Projects\\projectname\\storybook' : '/Users/username/Projects/projectname/storybook'; const text = 'demo text'; const file: OutputFile = { path: isWindows ? 'C:\\Users\\username\\Projects\\projectname\\storybook\\node_modules\\@storybook\\addon-x+y\\dist\\manager.js' : '/Users/username/Projects/projectname/storybook/node_modules/@storybook/addon-x+y/dist/manager.js', contents: Uint8Array.from(Array.from(text).map((letter) => letter.charCodeAt(0))), text, hash: '', }; const { location, url } = sanitizePath(file, addonsDir); expect(location).toEqual( isWindows ? 'C:\\Users\\username\\Projects\\projectname\\storybook\\node_modules\\@storybook\\addon-x+y\\dist\\manager.js' : '/Users/username/Projects/projectname/storybook/node_modules/@storybook/addon-x+y/dist/manager.js' ); expect(url).toMatchInlineSnapshot( `"./sb-addons/node_modules/%40storybook/addon-x%2By/dist/manager.js"` ); });
9,808
0
petrpan-code/storybookjs/storybook/code/builders/builder-vite
petrpan-code/storybookjs/storybook/code/builders/builder-vite/src/vite-config.test.ts
import type { Options, Presets } from '@storybook/types'; import { loadConfigFromFile } from 'vite'; import { commonConfig } from './vite-config'; jest.mock('vite', () => ({ ...jest.requireActual('vite'), loadConfigFromFile: jest.fn(async () => ({})), })); const loadConfigFromFileMock = jest.mocked(loadConfigFromFile); const dummyOptions: Options = { configType: 'DEVELOPMENT', configDir: '', packageJson: {}, presets: { apply: async (key: string) => ({ framework: { name: '', }, addons: [], core: { builder: {}, }, options: {}, }[key]), } as Presets, presetsList: [], }; describe('commonConfig', () => { it('should preserve default envPrefix', async () => { loadConfigFromFileMock.mockReturnValueOnce( Promise.resolve({ config: {}, path: '', dependencies: [], }) ); const config = await commonConfig(dummyOptions, 'development'); expect(config.envPrefix).toStrictEqual(['VITE_', 'STORYBOOK_']); }); it('should preserve custom envPrefix string', async () => { loadConfigFromFileMock.mockReturnValueOnce( Promise.resolve({ config: { envPrefix: 'SECRET_' }, path: '', dependencies: [], }) ); const config = await commonConfig(dummyOptions, 'development'); expect(config.envPrefix).toStrictEqual(['SECRET_', 'STORYBOOK_']); }); it('should preserve custom envPrefix array', async () => { loadConfigFromFileMock.mockReturnValueOnce( Promise.resolve({ config: { envPrefix: ['SECRET_', 'VUE_'] }, path: '', dependencies: [], }) ); const config = await commonConfig(dummyOptions, 'development'); expect(config.envPrefix).toStrictEqual(['SECRET_', 'VUE_', 'STORYBOOK_']); }); });
9,813
0
petrpan-code/storybookjs/storybook/code/builders/builder-vite/src
petrpan-code/storybookjs/storybook/code/builders/builder-vite/src/plugins/external-globals-plugin.test.ts
import { rewriteImport } from './external-globals-plugin'; const packageName = '@storybook/package'; const globals = { [packageName]: '_STORYBOOK_PACKAGE_' }; const cases = [ { globals, packageName, input: `import { Rain, Jour as Day, Nuit as Night, Sun } from "${packageName}"`, output: `const { Rain, Jour: Day, Nuit: Night, Sun } = ${globals[packageName]}`, }, { globals, packageName, input: `import * as Foo from "${packageName}"`, output: `const Foo = ${globals[packageName]}`, }, { globals, packageName, input: `import Foo from "${packageName}"`, output: `const {default: Foo} = ${globals[packageName]}`, }, { globals, packageName, input: `import{Rain,Jour as Day,Nuit as Night,Sun}from'${packageName}'`, output: `const {Rain,Jour: Day,Nuit: Night,Sun} =${globals[packageName]}`, }, { globals, packageName, input: `const { Afternoon } = await import('${packageName}')`, output: `const { Afternoon } = ${globals[packageName]}`, }, ]; test('rewriteImport', () => { cases.forEach(({ input, output, globals: caseGlobals, packageName: casePackage }) => { expect(rewriteImport(input, caseGlobals, casePackage)).toStrictEqual(output); }); });
9,818
0
petrpan-code/storybookjs/storybook/code/builders/builder-vite/src
petrpan-code/storybookjs/storybook/code/builders/builder-vite/src/utils/has-vite-plugins.test.ts
import { hasVitePlugins } from './has-vite-plugins'; describe('hasVitePlugins', () => { describe('should return true for', () => { it('plugin in root', async () => { const plugins = [{ name: 'vite-plugin-to-find' }, { name: 'vite-plugin-other' }]; const names = ['vite-plugin-to-find']; expect(await hasVitePlugins(plugins, names)).toBeTruthy(); }); it('plugin in nested array', async () => { const plugins = [[{ name: 'vite-plugin-to-find' }], { name: 'vite-plugin-other' }]; const names = ['vite-plugin-to-find']; expect(await hasVitePlugins(plugins, names)).toBeTruthy(); }); it('plugin in nested async array', async () => { const plugins = [ { name: 'vite-plugin-other' }, Promise.resolve([{ name: 'vite-plugin-to-find' }]), ]; const names = ['vite-plugin-to-find']; expect(await hasVitePlugins(plugins, names)).toBeTruthy(); }); it('async plugin in root', async () => { const plugins = [ Promise.resolve({ name: 'vite-plugin-to-find' }), { name: 'vite-plugin-other' }, ]; const names = ['vite-plugin-to-find']; expect(await hasVitePlugins(plugins, names)).toBeTruthy(); }); it('async plugin in nested array', async () => { const plugins = [ [Promise.resolve({ name: 'vite-plugin-to-find' })], { name: 'vite-plugin-other' }, ]; const names = ['vite-plugin-to-find']; expect(await hasVitePlugins(plugins, names)).toBeTruthy(); }); it('async plugin in nested async array', async () => { const plugins = [ { name: 'vite-plugin-other' }, Promise.resolve([Promise.resolve({ name: 'vite-plugin-to-find' })]), ]; const names = ['vite-plugin-to-find']; expect(await hasVitePlugins(plugins, names)).toBeTruthy(); }); it('multiple plugins in root', async () => { const plugins = [ { name: 'vite-plugin-other' }, { name: 'vite-plugin-to-find-first' }, { name: 'vite-plugin-to-find-second' }, ]; const names = ['vite-plugin-to-find-first', 'vite-plugin-to-find-second']; expect(await hasVitePlugins(plugins, names)).toBeTruthy(); }); }); it('should return false with all types of plugin structures', async () => { const plugins = [ { name: 'vite-plugin-root' }, [{ name: 'vite-plugin-in-nested-array' }], Promise.resolve({ name: 'vite-plugin-async-root' }), Promise.resolve([{ name: 'vite-plugin-in-nested-async-array' }]), Promise.resolve([Promise.resolve({ name: 'vite-plugin-async-in-nested-async-array' })]), ]; const names = ['vite-plugin-to-find-first', 'vite-plugin-to-find-second']; expect(await hasVitePlugins(plugins, names)).toBeFalsy(); }); });
9,820
0
petrpan-code/storybookjs/storybook/code/builders/builder-vite/src
petrpan-code/storybookjs/storybook/code/builders/builder-vite/src/utils/process-preview-annotation.test.ts
import { processPreviewAnnotation } from './process-preview-annotation'; import 'jest-os-detection'; describe('processPreviewAnnotation()', () => { it('should pull the `bare` value from an object', () => { const annotation = { bare: '@storybook/addon-links/preview', absolute: '/Users/foo/storybook/node_modules/@storybook/addon-links/dist/preview.mjs', }; const url = processPreviewAnnotation(annotation, '/Users/foo/storybook/'); expect(url).toBe('@storybook/addon-links/preview'); }); it.skipWindows( 'should convert absolute filesystem paths into urls relative to project root', () => { const annotation = '/Users/foo/storybook/.storybook/preview.js'; const url = processPreviewAnnotation(annotation, '/Users/foo/storybook/'); expect(url).toBe('/.storybook/preview.js'); } ); it.onWindows( 'should convert absolute windows filesystem paths into urls relative to project root', () => { const annotation = 'C:/foo/storybook/.storybook/preview.js'; const url = processPreviewAnnotation(annotation, 'C:/foo/storybook'); expect(url).toBe('/.storybook/preview.js'); } ); it('should convert relative paths into urls', () => { const annotation = './src/stories/components'; const url = processPreviewAnnotation(annotation, '/Users/foo/storybook/'); expect(url).toBe('/src/stories/components'); }); // TODO: figure out why this fails on windows. Could be related to storybook-metadata.test file altering path.sep it.skipWindows('should convert node_modules into bare paths', () => { const annotation = '/Users/foo/storybook/node_modules/storybook-addon/preview'; const url = processPreviewAnnotation(annotation, '/Users/foo/storybook/'); expect(url).toBe('storybook-addon/preview'); }); it.skipWindows('should convert relative paths outside the root into absolute', () => { const annotation = '../parent.js'; const url = processPreviewAnnotation(annotation, '/Users/foo/storybook/'); expect(url).toBe('/Users/foo/parent.js'); }); it.onWindows('should convert relative paths outside the root into absolute on Windows', () => { const annotation = '../parent.js'; const url = processPreviewAnnotation(annotation, 'C:/Users/foo/storybook/'); expect(url).toBe('C:/Users/foo/parent.js'); }); it.skipWindows('should not change absolute paths outside of the project root', () => { const annotation = '/Users/foo/parent.js'; const url = processPreviewAnnotation(annotation, '/Users/foo/storybook/'); expect(url).toBe(annotation); }); it.onWindows('should not change Windows absolute paths outside of the project root', () => { const annotation = 'D:/Users/foo/parent.js'; const url = processPreviewAnnotation(annotation, 'D:/Users/foo/storybook/'); expect(url).toBe(annotation); }); });
9,822
0
petrpan-code/storybookjs/storybook/code/builders/builder-vite/src
petrpan-code/storybookjs/storybook/code/builders/builder-vite/src/utils/without-vite-plugins.test.ts
import { withoutVitePlugins } from './without-vite-plugins'; describe('withoutVitePlugins', () => { describe('should remove', () => { it('plugin in root', async () => { const plugins = [{ name: 'vite-plugin-root-to-remove' }, { name: 'vite-plugin-root-keep' }]; const names = ['vite-plugin-root-to-remove']; expect(await withoutVitePlugins(plugins, names)).toMatchInlineSnapshot(` Array [ Object { "name": "vite-plugin-root-keep", }, ] `); }); it('plugin in nested array', async () => { const plugins = [ [{ name: 'vite-plugin-nested-to-remove' }, { name: 'vite-plugin-nested-keep' }], { name: 'vite-plugin-root-keep' }, ]; const names = ['vite-plugin-nested-to-remove']; expect(await withoutVitePlugins(plugins, names)).toMatchInlineSnapshot(` Array [ Array [ Object { "name": "vite-plugin-nested-keep", }, ], Object { "name": "vite-plugin-root-keep", }, ] `); }); it('plugin in nested async array', async () => { const plugins = [ Promise.resolve([ { name: 'vite-plugin-nested-async-to-remove' }, { name: 'vite-plugin-nested-async-keep' }, ]), ]; const names = ['vite-plugin-nested-async-to-remove']; expect(await withoutVitePlugins(plugins, names)).toMatchInlineSnapshot(` Array [ Array [ Object { "name": "vite-plugin-nested-async-keep", }, ], ] `); }); it('async plugin in root', async () => { const plugins = [ Promise.resolve({ name: 'vite-plugin-async-root-to-remove' }), Promise.resolve({ name: 'vite-plugin-async-root-keep' }), ]; const names = ['vite-plugin-async-root-to-remove']; expect(await withoutVitePlugins(plugins, names)).toMatchInlineSnapshot(` Array [ Object { "name": "vite-plugin-async-root-keep", }, ] `); }); it('async plugin in nested array', async () => { const plugins = [ [ Promise.resolve({ name: 'vite-plugin-async-nested-to-remove' }), Promise.resolve({ name: 'vite-plugin-async-nested-keep' }), ], Promise.resolve({ name: 'vite-plugin-async-root-keep' }), ]; const names = ['vite-plugin-async-nested-to-remove']; expect(await withoutVitePlugins(plugins, names)).toMatchInlineSnapshot(` Array [ Array [ Object { "name": "vite-plugin-async-nested-keep", }, ], Object { "name": "vite-plugin-async-root-keep", }, ] `); }); it('async plugin in nested async array', async () => { const plugins = [ Promise.resolve([ Promise.resolve({ name: 'vite-plugin-async-nested-async-to-remove' }), Promise.resolve({ name: 'vite-plugin-async-nested-async-keep' }), ]), ]; const names = ['vite-plugin-async-nested-async-to-remove']; expect(await withoutVitePlugins(plugins, names)).toMatchInlineSnapshot(` Array [ Array [ Object { "name": "vite-plugin-async-nested-async-keep", }, ], ] `); }); it('multiple plugins in root', async () => { const plugins = [ { name: 'vite-plugin-root-first-to-remove' }, { name: 'vite-plugin-root-keep' }, { name: 'vite-plugin-root-second-to-remove' }, ]; const names = ['vite-plugin-root-first-to-remove', 'vite-plugin-root-second-to-remove']; expect(await withoutVitePlugins(plugins, names)).toMatchInlineSnapshot(` Array [ Object { "name": "vite-plugin-root-keep", }, ] `); }); it('multiple plugins in all cases', async () => { const plugins = [ { name: 'vite-plugin-root-to-remove' }, Promise.resolve({ name: 'vite-plugin-async-root-to-remove' }), [{ name: 'vite-plugin-nested-to-remove' }], Promise.resolve([{ name: 'vite-plugin-async-nested-to-remove' }]), [Promise.resolve({ name: 'vite-plugin-nested-async-to-remove' })], Promise.resolve([Promise.resolve({ name: 'vite-plugin-async-nested-async-to-remove' })]), ]; const names = [ 'vite-plugin-root-to-remove', 'vite-plugin-async-root-to-remove', 'vite-plugin-nested-to-remove', 'vite-plugin-async-nested-to-remove', 'vite-plugin-nested-async-to-remove', 'vite-plugin-async-nested-async-to-remove', ]; expect(await withoutVitePlugins(plugins, names)).toMatchInlineSnapshot(` Array [ Array [], Array [], Array [], Array [], ] `); }); }); it('should no-op if plugins are not found', async () => { const plugins = [ { name: 'vite-plugin-root' }, [{ name: 'vite-plugin-in-nested-array' }], Promise.resolve({ name: 'vite-plugin-async-root' }), Promise.resolve([{ name: 'vite-plugin-in-nested-async-array' }]), Promise.resolve([Promise.resolve({ name: 'vite-plugin-async-in-nested-async-array' })]), ]; const names = ['vite-plugin-to-remove-first', 'vite-plugin-to-remove-second']; expect(await withoutVitePlugins(plugins, names)).toMatchInlineSnapshot(` Array [ Object { "name": "vite-plugin-root", }, Array [ Object { "name": "vite-plugin-in-nested-array", }, ], Object { "name": "vite-plugin-async-root", }, Array [ Object { "name": "vite-plugin-in-nested-async-array", }, ], Array [ Object { "name": "vite-plugin-async-in-nested-async-array", }, ], ] `); }); });
9,929
0
petrpan-code/storybookjs/storybook/code/frameworks/angular/src
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client/argsToTemplate.test.ts
import { argsToTemplate, ArgsToTemplateOptions } from './argsToTemplate'; // adjust path describe('argsToTemplate', () => { it('should correctly convert args to template string and exclude undefined values', () => { const args: Record<string, any> = { prop1: 'value1', prop2: undefined, prop3: 'value3', }; const options: ArgsToTemplateOptions<keyof typeof args> = {}; const result = argsToTemplate(args, options); expect(result).toBe('[prop1]="prop1" [prop3]="prop3"'); }); it('should include properties from include option', () => { const args = { prop1: 'value1', prop2: 'value2', prop3: 'value3', }; const options: ArgsToTemplateOptions<keyof typeof args> = { include: ['prop1', 'prop3'], }; const result = argsToTemplate(args, options); expect(result).toBe('[prop1]="prop1" [prop3]="prop3"'); }); it('should include non-undefined properties from include option', () => { const args: Record<string, any> = { prop1: 'value1', prop2: 'value2', prop3: undefined, }; const options: ArgsToTemplateOptions<keyof typeof args> = { include: ['prop1', 'prop3'], }; const result = argsToTemplate(args, options); expect(result).toBe('[prop1]="prop1"'); }); it('should exclude properties from exclude option', () => { const args = { prop1: 'value1', prop2: 'value2', prop3: 'value3', }; const options: ArgsToTemplateOptions<keyof typeof args> = { exclude: ['prop2'], }; const result = argsToTemplate(args, options); expect(result).toBe('[prop1]="prop1" [prop3]="prop3"'); }); it('should exclude properties from exclude option and undefined properties', () => { const args: Record<string, any> = { prop1: 'value1', prop2: 'value2', prop3: undefined, }; const options: ArgsToTemplateOptions<keyof typeof args> = { exclude: ['prop2'], }; const result = argsToTemplate(args, options); expect(result).toBe('[prop1]="prop1"'); }); it('should prioritize include over exclude when both options are given', () => { const args = { prop1: 'value1', prop2: 'value2', prop3: 'value3', }; const options: ArgsToTemplateOptions<keyof typeof args> = { include: ['prop1', 'prop2'], exclude: ['prop2', 'prop3'], }; const result = argsToTemplate(args, options); expect(result).toBe('[prop1]="prop1" [prop2]="prop2"'); }); it('should work when neither include nor exclude options are given', () => { const args = { prop1: 'value1', prop2: 'value2', }; const options: ArgsToTemplateOptions<keyof typeof args> = {}; const result = argsToTemplate(args, options); expect(result).toBe('[prop1]="prop1" [prop2]="prop2"'); }); it('should bind events correctly when value is a function', () => { const args = { event1: () => {}, event2: () => {} }; const result = argsToTemplate(args, {}); expect(result).toEqual('(event1)="event1($event)" (event2)="event2($event)"'); }); it('should mix properties and events correctly', () => { const args = { input: 'Value1', event1: () => {} }; const result = argsToTemplate(args, {}); expect(result).toEqual('[input]="input" (event1)="event1($event)"'); }); });
9,932
0
petrpan-code/storybookjs/storybook/code/frameworks/angular/src
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client/decorateStory.test.ts
import { Component, Input, Output } from '@angular/core'; import { DecoratorFunction, StoryContext } from '@storybook/types'; import { componentWrapperDecorator } from './decorators'; import decorateStory from './decorateStory'; import { AngularRenderer } from './types'; describe('decorateStory', () => { describe('angular behavior', () => { it('should use componentWrapperDecorator with args', () => { const decorators: DecoratorFunction<AngularRenderer>[] = [ componentWrapperDecorator(ParentComponent, ({ args }) => args), componentWrapperDecorator( (story) => `<grandparent [grandparentInput]="grandparentInput">${story}</grandparent>`, ({ args }) => args ), componentWrapperDecorator((story) => `<great-grandparent>${story}</great-grandparent>`), ]; const decorated = decorateStory(() => ({ template: '</child>' }), decorators); expect( decorated( makeContext({ component: FooComponent, args: { parentInput: 'Parent input', grandparentInput: 'grandparent input', parentOutput: () => {}, }, }) ) ).toEqual({ props: { parentInput: 'Parent input', grandparentInput: 'grandparent input', parentOutput: expect.any(Function), }, template: '<great-grandparent><grandparent [grandparentInput]="grandparentInput"><parent [parentInput]="parentInput" (parentOutput)="parentOutput($event)"></child></parent></grandparent></great-grandparent>', userDefinedTemplate: true, }); }); it('should use componentWrapperDecorator with input / output', () => { const decorators: DecoratorFunction<AngularRenderer>[] = [ componentWrapperDecorator(ParentComponent, { parentInput: 'Parent input', parentOutput: () => {}, }), componentWrapperDecorator( (story) => `<grandparent [grandparentInput]="grandparentInput">${story}</grandparent>`, { grandparentInput: 'Grandparent input', sameInput: 'Should be override by story props', } ), componentWrapperDecorator((story) => `<great-grandparent>${story}</great-grandparent>`), ]; const decorated = decorateStory( () => ({ template: '</child>', props: { sameInput: 'Story input' } }), decorators ); expect( decorated( makeContext({ component: FooComponent, }) ) ).toEqual({ props: { parentInput: 'Parent input', parentOutput: expect.any(Function), grandparentInput: 'Grandparent input', sameInput: 'Story input', }, template: '<great-grandparent><grandparent [grandparentInput]="grandparentInput"><parent [parentInput]="parentInput" (parentOutput)="parentOutput($event)"></child></parent></grandparent></great-grandparent>', userDefinedTemplate: true, }); }); it('should use componentWrapperDecorator', () => { const decorators: DecoratorFunction<AngularRenderer>[] = [ componentWrapperDecorator(ParentComponent), componentWrapperDecorator((story) => `<grandparent>${story}</grandparent>`), componentWrapperDecorator((story) => `<great-grandparent>${story}</great-grandparent>`), ]; const decorated = decorateStory(() => ({ template: '</child>' }), decorators); expect(decorated(makeContext({ component: FooComponent }))).toEqual({ template: '<great-grandparent><grandparent><parent></child></parent></grandparent></great-grandparent>', userDefinedTemplate: true, }); }); it('should use template in preference to component parameters', () => { const decorators: DecoratorFunction<AngularRenderer>[] = [ (s) => { const story = s(); return { ...story, template: `<parent>${story.template}</parent>`, }; }, (s) => { const story = s(); return { ...story, template: `<grandparent>${story.template}</grandparent>`, }; }, (s) => { const story = s(); return { ...story, template: `<great-grandparent>${story.template}</great-grandparent>`, }; }, ]; const decorated = decorateStory(() => ({ template: '</child>' }), decorators); expect(decorated(makeContext({ component: FooComponent }))).toEqual({ template: '<great-grandparent><grandparent><parent></child></parent></grandparent></great-grandparent>', userDefinedTemplate: true, }); }); it('should include story templates in decorators', () => { const decorators: DecoratorFunction<AngularRenderer>[] = [ (s) => { const story = s(); return { ...story, template: `<parent>${story.template}</parent>`, }; }, (s) => { const story = s(); return { ...story, template: `<grandparent>${story.template}</grandparent>`, }; }, (s) => { const story = s(); return { ...story, template: `<great-grandparent>${story.template}</great-grandparent>`, }; }, ]; const decorated = decorateStory(() => ({ template: '</child>' }), decorators); expect(decorated(makeContext({}))).toEqual({ template: '<great-grandparent><grandparent><parent></child></parent></grandparent></great-grandparent>', userDefinedTemplate: true, }); }); it('should include story components in decorators', () => { const decorators: DecoratorFunction<AngularRenderer>[] = [ (s) => { const story = s(); return { ...story, template: `<parent>${story.template}</parent>`, }; }, (s) => { const story = s(); return { ...story, template: `<grandparent>${story.template}</grandparent>`, }; }, (s) => { const story = s(); return { ...story, template: `<great-grandparent>${story.template}</great-grandparent>`, }; }, ]; const decorated = decorateStory(() => ({}), decorators); expect(decorated(makeContext({ component: FooComponent }))).toEqual({ template: '<great-grandparent><grandparent><parent><foo></foo></parent></grandparent></great-grandparent>', userDefinedTemplate: false, }); }); it('should keep template with an empty value', () => { const decorators: DecoratorFunction<AngularRenderer>[] = [ componentWrapperDecorator(ParentComponent), ]; const decorated = decorateStory(() => ({ template: '' }), decorators); expect(decorated(makeContext({ component: FooComponent }))).toEqual({ template: '<parent></parent>', }); }); it('should only keeps args with a control or an action in argTypes', () => { const decorated = decorateStory( (context: StoryContext) => ({ template: `Args available in the story : ${Object.keys(context.args).join()}`, }), [] ); expect( decorated( makeContext({ component: FooComponent, argTypes: { withControl: { control: { type: 'object' }, name: 'withControl' }, withAction: { action: 'onClick', name: 'withAction' }, toRemove: { name: 'toRemove' }, }, args: { withControl: 'withControl', withAction: () => ({}), toRemove: 'toRemove', }, }) ) ).toEqual({ template: 'Args available in the story : withControl,withAction', userDefinedTemplate: true, }); }); }); describe('default behavior', () => { it('calls decorators in out to in order', () => { const decorators: DecoratorFunction<AngularRenderer>[] = [ (s) => { const story = s(); return { ...story, props: { a: [...story.props.a, 1] } }; }, (s) => { const story = s(); return { ...story, props: { a: [...story.props.a, 2] } }; }, (s) => { const story = s(); return { ...story, props: { a: [...story.props.a, 3] } }; }, ]; const decorated = decorateStory(() => ({ props: { a: [0] } }), decorators); expect(decorated(makeContext({}))).toEqual({ props: { a: [0, 1, 2, 3] } }); }); it('passes context through to sub decorators', () => { const decorators: DecoratorFunction<AngularRenderer>[] = [ (s, c) => { const story = s({ ...c, k: 1 }); return { ...story, props: { a: [...story.props.a, c.k] } }; }, (s, c) => { const story = s({ ...c, k: 2 }); return { ...story, props: { a: [...story.props.a, c.k] } }; }, (s, c) => { const story = s({ ...c, k: 3 }); return { ...story, props: { a: [...story.props.a, c.k] } }; }, ]; const decorated = decorateStory((c: StoryContext) => ({ props: { a: [c.k] } }), decorators); expect(decorated(makeContext({ k: 0 }))).toEqual({ props: { a: [1, 2, 3, 0] } }); }); it('DOES NOT merge parameter or pass through parameters key in context', () => { const decorators: DecoratorFunction<AngularRenderer>[] = [ (s, c) => { const story = s({ ...c, k: 1, parameters: { p: 1 } }); return { ...story, props: { a: [...story.props.a, c.k], p: [...story.props.p, c.parameters.p] }, }; }, (s, c) => { const story = s({ ...c, k: 2, parameters: { p: 2 } }); return { ...story, props: { a: [...story.props.a, c.k], p: [...story.props.p, c.parameters.p] }, }; }, (s, c) => { const story = s({ ...c, k: 3, parameters: { p: 3 } }); return { ...story, props: { a: [...story.props.a, c.k], p: [...story.props.p, c.parameters.p] }, }; }, ]; const decorated = decorateStory( (c: StoryContext) => ({ props: { a: [c.k], p: [c.parameters.p] } }), decorators ); expect(decorated(makeContext({ k: 0, parameters: { p: 0 } }))).toEqual({ props: { a: [1, 2, 3, 0], p: [0, 0, 0, 0] }, }); }); }); }); function makeContext(input: Record<string, unknown>): StoryContext<AngularRenderer> { return { id: 'id', kind: 'kind', name: 'name', viewMode: 'story', parameters: {}, ...input, } as StoryContext<AngularRenderer>; } @Component({ selector: 'foo', template: `foo`, }) class FooComponent {} @Component({ selector: 'parent', template: `<ng-content></ng-content>`, }) class ParentComponent { @Input() parentInput: string; @Output() parentOutput: any; }
9,934
0
petrpan-code/storybookjs/storybook/code/frameworks/angular/src
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client/decorators.test.ts
import { Addon_StoryContext } from '@storybook/types'; import { Component } from '@angular/core'; import { moduleMetadata, applicationConfig } from './decorators'; import { AngularRenderer } from './types'; const defaultContext: Addon_StoryContext<AngularRenderer> = { componentId: 'unspecified', kind: 'unspecified', title: 'unspecified', id: 'unspecified', name: 'unspecified', story: 'unspecified', tags: [], parameters: {}, initialArgs: {}, args: {}, argTypes: {}, globals: {}, hooks: {}, loaded: {}, originalStoryFn: jest.fn(), viewMode: 'story', abortSignal: undefined, canvasElement: undefined, }; class MockModule {} class MockModuleTwo {} class MockService {} @Component({}) class MockComponent {} describe('applicationConfig', () => { const provider1 = () => {}; const provider2 = () => {}; it('should apply global config', () => { expect( applicationConfig({ providers: [provider1] as any, })(() => ({}), defaultContext) ).toEqual({ applicationConfig: { providers: [provider1], }, }); }); it('should apply story config', () => { expect( applicationConfig({ providers: [], })( () => ({ applicationConfig: { providers: [provider2] as any, }, }), { ...defaultContext, } ) ).toEqual({ applicationConfig: { providers: [provider2], }, }); }); it('should merge global and story config', () => { expect( applicationConfig({ providers: [provider1] as any, })( () => ({ applicationConfig: { providers: [provider2] as any, }, }), { ...defaultContext, } ) ).toEqual({ applicationConfig: { providers: [provider1, provider2], }, }); }); }); describe('moduleMetadata', () => { it('should add metadata to a story without it', () => { const result = moduleMetadata({ imports: [MockModule], providers: [MockService], })( () => ({}), // deepscan-disable-next-line defaultContext ); expect(result).toEqual({ moduleMetadata: { declarations: [], entryComponents: [], imports: [MockModule], schemas: [], providers: [MockService], }, }); }); it('should combine with individual metadata on a story', () => { const result = moduleMetadata({ imports: [MockModule], })( () => ({ component: MockComponent, moduleMetadata: { imports: [MockModuleTwo], providers: [MockService], }, }), // deepscan-disable-next-line defaultContext ); expect(result).toEqual({ component: MockComponent, moduleMetadata: { declarations: [], entryComponents: [], imports: [MockModule, MockModuleTwo], schemas: [], providers: [MockService], }, }); }); it('should return the original metadata if passed null', () => { const result = moduleMetadata(null)( () => ({ component: MockComponent, moduleMetadata: { providers: [MockService], }, }), // deepscan-disable-next-line defaultContext ); expect(result).toEqual({ component: MockComponent, moduleMetadata: { declarations: [], entryComponents: [], imports: [], schemas: [], providers: [MockService], }, }); }); });
9,945
0
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.test.ts
import { Component } from '@angular/core'; import { ArgTypes } from '@storybook/types'; import { computesTemplateSourceFromComponent } from './ComputesTemplateFromComponent'; import { ISomeInterface, ButtonAccent, InputComponent } from './__testfixtures__/input.component'; describe('angular source decorator', () => { it('With no props should generate simple tag', () => { const component = InputComponent; const props = {}; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual('<doc-button></doc-button>'); }); describe('with component without selector', () => { @Component({ template: `The content`, }) class WithoutSelectorComponent {} it('should add component ng-container', async () => { const component = WithoutSelectorComponent; const props = {}; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual( `<ng-container *ngComponentOutlet="WithoutSelectorComponent"></ng-container>` ); }); }); describe('with component with attribute selector', () => { @Component({ selector: 'doc-button[foo]', template: '<button></button>', }) class WithAttributeComponent {} it('should add attribute to template', async () => { const component = WithAttributeComponent; const props = {}; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual(`<doc-button foo></doc-button>`); }); }); describe('with component with attribute and value selector', () => { @Component({ selector: 'doc-button[foo="bar"]', template: '<button></button>', }) class WithAttributeValueComponent {} it('should add attribute to template', async () => { const component = WithAttributeValueComponent; const props = {}; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual(`<doc-button foo="bar"></doc-button>`); }); }); describe('with component with attribute only selector', () => { @Component({ selector: '[foo]', template: '<button></button>', }) class WithAttributeOnlyComponent {} it('should create a div and add attribute to template', async () => { const component = WithAttributeOnlyComponent; const props = {}; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual(`<div foo></div>`); }); }); describe('with component with void element and attribute selector', () => { @Component({ selector: 'input[foo]', template: '<button></button>', }) class VoidElementWithAttributeComponent {} it('should create without separate closing tag', async () => { const component = VoidElementWithAttributeComponent; const props = {}; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual(`<input foo />`); }); }); describe('with component with attribute and value only selector', () => { @Component({ selector: '[foo="bar"]', template: '<button></button>', }) class WithAttributeOnlyComponent {} it('should create a div and add attribute to template', async () => { const component = WithAttributeOnlyComponent; const props = {}; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual(`<div foo="bar"></div>`); }); }); describe('with component with void element, attribute and value only selector', () => { @Component({ selector: 'input[foo="bar"]', template: '<button></button>', }) class VoidElementWithAttributeComponent {} it('should create and add attribute to template without separate closing tag', async () => { const component = VoidElementWithAttributeComponent; const props = {}; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual(`<input foo="bar" />`); }); }); describe('with component with class selector', () => { @Component({ selector: 'doc-button.foo', template: '<button></button>', }) class WithClassComponent {} it('should add class to template', async () => { const component = WithClassComponent; const props = {}; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual(`<doc-button class="foo"></doc-button>`); }); }); describe('with component with class only selector', () => { @Component({ selector: '.foo', template: '<button></button>', }) class WithClassComponent {} it('should create a div and add attribute to template', async () => { const component = WithClassComponent; const props = {}; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual(`<div class="foo"></div>`); }); }); describe('with component with multiple selectors', () => { @Component({ selector: 'doc-button, doc-button2', template: '<button></button>', }) class WithMultipleSelectorsComponent {} it('should use the first selector', async () => { const component = WithMultipleSelectorsComponent; const props = {}; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual(`<doc-button></doc-button>`); }); }); describe('with component with multiple selectors starting with attribute', () => { @Component({ selector: 'doc-button[foo], doc-button2', template: '<button></button>', }) class WithMultipleSelectorsComponent {} it('should use the first selector', async () => { const component = WithMultipleSelectorsComponent; const props = {}; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual(`<doc-button foo></doc-button>`); }); }); describe('with component with multiple selectors starting with attribute and value', () => { @Component({ selector: 'doc-button[foo="bar"], doc-button2', template: '<button></button>', }) class WithMultipleSelectorsComponent {} it('should use the first selector', async () => { const component = WithMultipleSelectorsComponent; const props = {}; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual(`<doc-button foo="bar"></doc-button>`); }); }); describe('with component with multiple selectors including 2 attributes and a class', () => { @Component({ selector: 'doc-button, button[foo], .button[foo], button[baz]', template: '<button></button>', }) class WithMultipleSelectorsComponent {} it('should use the first selector', async () => { const component = WithMultipleSelectorsComponent; const props = {}; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual(`<doc-button></doc-button>`); }); }); describe('with component with multiple selectors with line breaks', () => { @Component({ selector: `doc-button, doc-button2`, template: '<button></button>', }) class WithMultipleSelectorsComponent {} it('should use the first selector', async () => { const component = WithMultipleSelectorsComponent; const props = {}; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual(`<doc-button></doc-button>`); }); }); describe('with component with multiple selectors starting with attribute only with line breaks', () => { @Component({ selector: `[foo], doc-button2`, template: '<button></button>', }) class WithMultipleSelectorsComponent {} it('should use the first selector', async () => { const component = WithMultipleSelectorsComponent; const props = {}; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual(`<div foo></div>`); }); }); describe('no argTypes', () => { it('should generate tag-only template with no props', () => { const component = InputComponent; const props = {}; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual(`<doc-button></doc-button>`); }); it('With props should generate tag with properties', () => { const component = InputComponent; const props = { isDisabled: true, label: 'Hello world', accent: ButtonAccent.High, counter: 4, }; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual( `<doc-button [counter]="4" [accent]="'High'" [isDisabled]="true" [label]="'Hello world'"></doc-button>` ); }); it('With props should generate tag with outputs', () => { const component = InputComponent; const props = { isDisabled: true, label: 'Hello world', onClick: ($event: any) => {}, }; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual( `<doc-button [isDisabled]="true" [label]="'Hello world'" (onClick)="onClick($event)"></doc-button>` ); }); it('should generate correct property for overridden name for Input', () => { const component = InputComponent; const props = { color: '#ffffff', }; const argTypes: ArgTypes = {}; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual(`<doc-button [color]="'#ffffff'"></doc-button>`); }); }); describe('with argTypes (from compodoc)', () => { it('Should handle enum as strongly typed enum', () => { const component = InputComponent; const props = { isDisabled: false, label: 'Hello world', accent: ButtonAccent.High, }; const argTypes: ArgTypes = { accent: { control: { options: ['Normal', 'High'], type: 'radio', }, defaultValue: undefined, table: { category: 'inputs', }, type: { name: 'enum', required: true, value: [], }, }, }; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual( `<doc-button [accent]="'High'" [isDisabled]="false" [label]="'Hello world'"></doc-button>` ); }); it('Should handle enum without values as string', () => { const component = InputComponent; const props = { isDisabled: false, label: 'Hello world', accent: ButtonAccent.High, }; const argTypes: ArgTypes = { accent: { control: { options: ['Normal', 'High'], type: 'radio', }, defaultValue: undefined, table: { category: 'inputs', }, type: { name: 'object', required: true, value: {}, }, }, }; const source = computesTemplateSourceFromComponent(component, props, argTypes); expect(source).toEqual( `<doc-button [accent]="'High'" [isDisabled]="false" [label]="'Hello world'"></doc-button>` ); }); it('Should handle objects correctly', () => { const component = InputComponent; const someDataObject: ISomeInterface = { one: 'Hello world', two: true, three: [ `a string literal with "double quotes"`, `a string literal with 'single quotes'`, 'a single quoted string with "double quotes"', "a double quoted string with 'single quotes'", // eslint-disable-next-line prettier/prettier 'a single quoted string with escaped \'single quotes\'', // eslint-disable-next-line prettier/prettier "a double quoted string with escaped \"double quotes\"", // eslint-disable-next-line no-useless-escape `a string literal with \'escaped single quotes\'`, // eslint-disable-next-line no-useless-escape `a string literal with \"escaped double quotes\"`, ], }; const props = { isDisabled: false, label: 'Hello world', someDataObject, }; const source = computesTemplateSourceFromComponent(component, props, null); // Ideally we should stringify the object, but that could cause the story to break because of unescaped values in the JSON object. // This will have to do for now expect(source).toEqual( `<doc-button [isDisabled]="false" [label]="'Hello world'" [someDataObject]="{one: 'Hello world', two: true, three: ['a string literal with \\'double quotes\\'', 'a string literal with \\'single quotes\\'', 'a single quoted string with \\'double quotes\\'', 'a double quoted string with \\'single quotes\\'', 'a single quoted string with escaped \\'single quotes\\'', 'a double quoted string with escaped \\'double quotes\\'', 'a string literal with \\'escaped single quotes\\'', 'a string literal with \\'escaped double quotes\\'']}"></doc-button>` ); }); }); });
9,948
0
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client/angular-beta/RendererFactory.test.ts
import { Component, ษตresetJitOptions } from '@angular/core'; import { platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { CanvasRenderer } from './CanvasRenderer'; import { RendererFactory } from './RendererFactory'; import { DocsRenderer } from './DocsRenderer'; jest.mock('@angular/platform-browser-dynamic'); declare const document: Document; describe('RendererFactory', () => { let rendererFactory: RendererFactory; let rootTargetDOMNode: HTMLElement; let rootDocstargetDOMNode: HTMLElement; beforeEach(async () => { rendererFactory = new RendererFactory(); document.body.innerHTML = '<div id="storybook-root"></div><div id="root-docs"><div id="story-in-docs"></div></div>'; rootTargetDOMNode = global.document.getElementById('storybook-root'); rootDocstargetDOMNode = global.document.getElementById('root-docs'); (platformBrowserDynamic as any).mockImplementation(platformBrowserDynamicTesting); jest.spyOn(console, 'log').mockImplementation(() => {}); }); afterEach(() => { jest.clearAllMocks(); // Necessary to avoid this error "Provided value for `preserveWhitespaces` can not be changed once it has been set." : // Source: https://github.com/angular/angular/commit/e342ffd855ffeb8af7067b42307ffa320d82177e#diff-92b125e532cc22977b46a91f068d6d7ea81fd61b772842a4a0212f1cfd875be6R28 ษตresetJitOptions(); }); describe('CanvasRenderer', () => { it('should get CanvasRenderer instance', async () => { const render = await rendererFactory.getRendererInstance(rootTargetDOMNode); expect(render).toBeInstanceOf(CanvasRenderer); }); it('should render my-story for story template', async () => { const render = await rendererFactory.getRendererInstance(rootTargetDOMNode); await render?.render({ storyFnAngular: { template: '๐ŸฆŠ', props: {}, }, forced: false, targetDOMNode: rootTargetDOMNode, }); expect(document.body.getElementsByTagName('storybook-root')[0].innerHTML).toBe('๐ŸฆŠ'); }); it('should render my-story for story component', async () => { @Component({ selector: 'foo', template: '๐ŸฆŠ' }) class FooComponent {} const render = await rendererFactory.getRendererInstance(rootTargetDOMNode); await render?.render({ storyFnAngular: { props: {}, }, forced: false, component: FooComponent, targetDOMNode: rootTargetDOMNode, }); expect(document.body.getElementsByTagName('storybook-root')[0].innerHTML).toBe( '<foo>๐ŸฆŠ</foo><!--container-->' ); }); it('should handle circular reference in moduleMetadata', async () => { class Thing { token: Thing; constructor() { this.token = this; } } const token = new Thing(); const render = await rendererFactory.getRendererInstance(rootTargetDOMNode); await render?.render({ storyFnAngular: { template: '๐ŸฆŠ', props: {}, moduleMetadata: { providers: [{ provide: 'foo', useValue: token }] }, }, forced: false, targetDOMNode: rootTargetDOMNode, }); expect(document.body.getElementsByTagName('storybook-root')[0].innerHTML).toBe('๐ŸฆŠ'); }); describe('when forced=true', () => { beforeEach(async () => { // Init first render const render = await rendererFactory.getRendererInstance(rootTargetDOMNode); await render?.render({ storyFnAngular: { template: '{{ logo }}: {{ name }}', props: { logo: '๐ŸฆŠ', name: 'Fox', }, }, forced: true, targetDOMNode: rootTargetDOMNode, }); }); it('should be rendered a first time', async () => { expect(document.body.getElementsByTagName('storybook-root')[0].innerHTML).toBe('๐ŸฆŠ: Fox'); }); it('should not be re-rendered when only props change', async () => { // only props change const render = await rendererFactory.getRendererInstance(rootTargetDOMNode); await render?.render({ storyFnAngular: { props: { logo: '๐Ÿ‘พ', }, }, forced: true, targetDOMNode: rootTargetDOMNode, }); expect(document.body.getElementsByTagName('storybook-root')[0].innerHTML).toBe('๐Ÿ‘พ: Fox'); }); it('should be re-rendered when template change', async () => { const render = await rendererFactory.getRendererInstance(rootTargetDOMNode); await render?.render({ storyFnAngular: { template: '{{ beer }}', props: { beer: '๐Ÿบ', }, }, forced: true, targetDOMNode: rootTargetDOMNode, }); expect(document.body.getElementsByTagName('storybook-root')[0].innerHTML).toBe('๐Ÿบ'); }); }); }); describe('DocsRenderer', () => { describe('when canvas render is done before', () => { beforeEach(async () => { // Init first Canvas render const render = await rendererFactory.getRendererInstance(rootTargetDOMNode); await render?.render({ storyFnAngular: { template: 'Canvas ๐Ÿ–ผ', }, forced: true, targetDOMNode: rootTargetDOMNode, }); }); it('should reset root HTML', async () => { global.document .getElementById('storybook-root') .appendChild(global.document.createElement('๐Ÿ‘พ')); expect(global.document.getElementById('storybook-root').innerHTML).toContain('Canvas ๐Ÿ–ผ'); await rendererFactory.getRendererInstance(rootDocstargetDOMNode); expect(global.document.getElementById('storybook-root').innerHTML).toBe(''); }); }); it('should get DocsRenderer instance', async () => { const render = await rendererFactory.getRendererInstance(rootDocstargetDOMNode); expect(render).toBeInstanceOf(DocsRenderer); }); }); });
9,950
0
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client/angular-beta/StorybookModule.test.ts
import { NgModule, Type, Component, EventEmitter, Input, Output } from '@angular/core'; import { TestBed } from '@angular/core/testing'; import { BehaviorSubject } from 'rxjs'; import { ICollection } from '../types'; import { getApplication } from './StorybookModule'; import { storyPropsProvider } from './StorybookProvider'; import { PropertyExtractor } from './utils/PropertyExtractor'; describe('StorybookModule', () => { describe('getStorybookModuleMetadata', () => { describe('with simple component', () => { @Component({ selector: 'foo', template: ` <p id="input">{{ input }}</p> <p id="inputBindingPropertyName">{{ localPropertyName }}</p> <p id="setterCallNb">{{ setterCallNb }}</p> <p id="localProperty">{{ localProperty }}</p> <p id="localFunction">{{ localFunction() }}</p> <p id="output" (click)="output.emit('outputEmitted')"></p> <p id="outputBindingPropertyName" (click)="localOutput.emit('outputEmitted')"></p> `, }) class FooComponent { @Input() public input: string; @Input('inputBindingPropertyName') public localPropertyName: string; @Input() public set setter(value: string) { this.setterCallNb += 1; } @Output() public output = new EventEmitter<string>(); @Output('outputBindingPropertyName') public localOutput = new EventEmitter<string>(); public localProperty: string; public localFunction = () => ''; public setterCallNb = 0; } it('should initialize inputs', async () => { const props = { input: 'input', inputBindingPropertyName: 'inputBindingPropertyName', localProperty: 'localProperty', localFunction: () => 'localFunction', }; const analyzedMetadata = new PropertyExtractor({}, FooComponent); const application = getApplication({ storyFnAngular: { props }, component: FooComponent, targetSelector: 'my-selector', analyzedMetadata, }); const { fixture } = await configureTestingModule({ imports: [application], providers: [storyPropsProvider(new BehaviorSubject<ICollection>(props))], }); fixture.detectChanges(); expect(fixture.nativeElement.querySelector('p#input').innerHTML).toEqual(props.input); expect(fixture.nativeElement.querySelector('p#inputBindingPropertyName').innerHTML).toEqual( props.inputBindingPropertyName ); expect(fixture.nativeElement.querySelector('p#localProperty').innerHTML).toEqual( props.localProperty ); expect(fixture.nativeElement.querySelector('p#localFunction').innerHTML).toEqual( props.localFunction() ); }); it('should initialize outputs', async () => { let expectedOutputValue: string; let expectedOutputBindingValue: string; const props = { output: (value: string) => { expectedOutputValue = value; }, outputBindingPropertyName: (value: string) => { expectedOutputBindingValue = value; }, }; const analyzedMetadata = new PropertyExtractor({}, FooComponent); const application = getApplication({ storyFnAngular: { props }, component: FooComponent, targetSelector: 'my-selector', analyzedMetadata, }); const { fixture } = await configureTestingModule({ imports: [application], providers: [storyPropsProvider(new BehaviorSubject<ICollection>(props))], }); fixture.detectChanges(); fixture.nativeElement.querySelector('p#output').click(); fixture.nativeElement.querySelector('p#outputBindingPropertyName').click(); expect(expectedOutputValue).toEqual('outputEmitted'); expect(expectedOutputBindingValue).toEqual('outputEmitted'); }); it('should change inputs if storyProps$ Subject emit', async () => { const initialProps = { input: 'input', inputBindingPropertyName: '', }; const storyProps$ = new BehaviorSubject<ICollection>(initialProps); const analyzedMetadata = new PropertyExtractor({}, FooComponent); const application = getApplication({ storyFnAngular: { props: initialProps }, component: FooComponent, targetSelector: 'my-selector', analyzedMetadata, }); const { fixture } = await configureTestingModule({ imports: [application], providers: [storyPropsProvider(storyProps$)], }); fixture.detectChanges(); expect(fixture.nativeElement.querySelector('p#input').innerHTML).toEqual( initialProps.input ); expect(fixture.nativeElement.querySelector('p#inputBindingPropertyName').innerHTML).toEqual( '' ); const newProps = { input: 'new input', inputBindingPropertyName: 'new inputBindingPropertyName', localProperty: 'new localProperty', localFunction: () => 'new localFunction', }; storyProps$.next(newProps); fixture.detectChanges(); expect(fixture.nativeElement.querySelector('p#input').innerHTML).toEqual(newProps.input); expect(fixture.nativeElement.querySelector('p#inputBindingPropertyName').innerHTML).toEqual( newProps.inputBindingPropertyName ); expect(fixture.nativeElement.querySelector('p#localProperty').innerHTML).toEqual( newProps.localProperty ); expect(fixture.nativeElement.querySelector('p#localFunction').innerHTML).toEqual( newProps.localFunction() ); }); it('should override outputs if storyProps$ Subject emit', async () => { let expectedOutputValue; let expectedOutputBindingValue; const initialProps = { input: '', output: (value: string) => { expectedOutputValue = value; }, outputBindingPropertyName: (value: string) => { expectedOutputBindingValue = value; }, }; const storyProps$ = new BehaviorSubject<ICollection>(initialProps); const analyzedMetadata = new PropertyExtractor({}, FooComponent); const application = getApplication({ storyFnAngular: { props: initialProps }, component: FooComponent, targetSelector: 'my-selector', analyzedMetadata, }); const { fixture } = await configureTestingModule({ imports: [application], providers: [storyPropsProvider(storyProps$)], }); fixture.detectChanges(); const newProps = { input: 'new input', output: () => { expectedOutputValue = 'should be called'; }, outputBindingPropertyName: () => { expectedOutputBindingValue = 'should be called'; }, }; storyProps$.next(newProps); fixture.detectChanges(); fixture.nativeElement.querySelector('p#output').click(); fixture.nativeElement.querySelector('p#outputBindingPropertyName').click(); expect(fixture.nativeElement.querySelector('p#input').innerHTML).toEqual(newProps.input); expect(expectedOutputValue).toEqual('should be called'); expect(expectedOutputBindingValue).toEqual('should be called'); }); it('should change template inputs if storyProps$ Subject emit', async () => { const initialProps = { color: 'red', input: 'input', }; const storyProps$ = new BehaviorSubject<ICollection>(initialProps); const analyzedMetadata = new PropertyExtractor({}, FooComponent); const application = getApplication({ storyFnAngular: { props: initialProps, template: '<p [style.color]="color"><foo [input]="input"></foo></p>', }, component: FooComponent, targetSelector: 'my-selector', analyzedMetadata, }); const { fixture } = await configureTestingModule({ imports: [application], providers: [storyPropsProvider(storyProps$)], }); fixture.detectChanges(); expect(fixture.nativeElement.querySelector('p').style.color).toEqual('red'); expect(fixture.nativeElement.querySelector('p#input').innerHTML).toEqual( initialProps.input ); const newProps = { color: 'black', input: 'new input', }; storyProps$.next(newProps); fixture.detectChanges(); expect(fixture.nativeElement.querySelector('p').style.color).toEqual('black'); expect(fixture.nativeElement.querySelector('p#input').innerHTML).toEqual(newProps.input); }); it('should call the Input() setter the right number of times', async () => { const initialProps = { setter: 'init', }; const storyProps$ = new BehaviorSubject<ICollection>(initialProps); const analyzedMetadata = new PropertyExtractor({}, FooComponent); const application = getApplication({ storyFnAngular: { props: initialProps }, component: FooComponent, targetSelector: 'my-selector', analyzedMetadata, }); const { fixture } = await configureTestingModule({ imports: [application], providers: [storyPropsProvider(storyProps$)], }); fixture.detectChanges(); expect(fixture.nativeElement.querySelector('p#setterCallNb').innerHTML).toEqual('1'); const newProps = { setter: 'new setter value', }; storyProps$.next(newProps); fixture.detectChanges(); expect(fixture.nativeElement.querySelector('p#setterCallNb').innerHTML).toEqual('2'); }); }); describe('with component without selector', () => { @Component({ template: `The content`, }) class WithoutSelectorComponent {} it('should display the component', async () => { const props = {}; const analyzedMetadata = new PropertyExtractor( { entryComponents: [WithoutSelectorComponent] }, WithoutSelectorComponent ); const application = getApplication({ storyFnAngular: { props, moduleMetadata: { entryComponents: [WithoutSelectorComponent] }, }, component: WithoutSelectorComponent, targetSelector: 'my-selector', analyzedMetadata, }); const { fixture } = await configureTestingModule({ imports: [application], providers: [storyPropsProvider(new BehaviorSubject<ICollection>(props))], }); fixture.detectChanges(); expect(fixture.nativeElement.innerHTML).toContain('The content'); }); }); it('should keep template with an empty value', async () => { @Component({ selector: 'foo', template: `Should not be displayed`, }) class FooComponent {} const analyzedMetadata = new PropertyExtractor({}, FooComponent); const application = getApplication({ storyFnAngular: { template: '' }, component: FooComponent, targetSelector: 'my-selector', analyzedMetadata, }); const { fixture } = await configureTestingModule({ imports: [application], providers: [storyPropsProvider(new BehaviorSubject<ICollection>({}))], }); fixture.detectChanges(); expect(fixture.nativeElement.innerHTML).toEqual(''); }); }); async function configureTestingModule(ngModule: NgModule) { await TestBed.configureTestingModule(ngModule).compileComponents(); const fixture = TestBed.createComponent(ngModule.imports[0] as any); return { fixture, }; } });
9,956
0
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client/angular-beta
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client/angular-beta/utils/NgComponentAnalyzer.test.ts
import { Type, Component, ComponentFactoryResolver, Directive, EventEmitter, HostBinding, Injectable, Input, Output, Pipe, } from '@angular/core'; import { TestBed } from '@angular/core/testing'; import { BrowserDynamicTestingModule } from '@angular/platform-browser-dynamic/testing'; import { getComponentInputsOutputs, isComponent, isDeclarable, getComponentDecoratorMetadata, isStandaloneComponent, } from './NgComponentAnalyzer'; describe('getComponentInputsOutputs', () => { it('should return empty if no I/O found', () => { @Component({}) class FooComponent {} expect(getComponentInputsOutputs(FooComponent)).toEqual({ inputs: [], outputs: [], }); class BarComponent {} expect(getComponentInputsOutputs(BarComponent)).toEqual({ inputs: [], outputs: [], }); }); it('should return I/O', () => { @Component({ template: '', inputs: ['inputInComponentMetadata'], outputs: ['outputInComponentMetadata'], }) class FooComponent { @Input() public input: string; @Input('inputPropertyName') public inputWithBindingPropertyName: string; @Output() public output = new EventEmitter<Event>(); @Output('outputPropertyName') public outputWithBindingPropertyName = new EventEmitter<Event>(); } const fooComponentFactory = resolveComponentFactory(FooComponent); const { inputs, outputs } = getComponentInputsOutputs(FooComponent); expect({ inputs, outputs }).toEqual({ inputs: [ { propName: 'inputInComponentMetadata', templateName: 'inputInComponentMetadata' }, { propName: 'input', templateName: 'input' }, { propName: 'inputWithBindingPropertyName', templateName: 'inputPropertyName' }, ], outputs: [ { propName: 'outputInComponentMetadata', templateName: 'outputInComponentMetadata' }, { propName: 'output', templateName: 'output' }, { propName: 'outputWithBindingPropertyName', templateName: 'outputPropertyName' }, ], }); expect(sortByPropName(inputs)).toEqual(sortByPropName(fooComponentFactory.inputs)); expect(sortByPropName(outputs)).toEqual(sortByPropName(fooComponentFactory.outputs)); }); it("should return I/O when some of component metadata has the same name as one of component's properties", () => { @Component({ template: '', inputs: ['input', 'inputWithBindingPropertyName'], outputs: ['outputWithBindingPropertyName'], }) class FooComponent { @Input() public input: string; @Input('inputPropertyName') public inputWithBindingPropertyName: string; @Output() public output = new EventEmitter<Event>(); @Output('outputPropertyName') public outputWithBindingPropertyName = new EventEmitter<Event>(); } const fooComponentFactory = resolveComponentFactory(FooComponent); const { inputs, outputs } = getComponentInputsOutputs(FooComponent); expect(sortByPropName(inputs)).toEqual(sortByPropName(fooComponentFactory.inputs)); expect(sortByPropName(outputs)).toEqual(sortByPropName(fooComponentFactory.outputs)); }); it('should return I/O in the presence of multiple decorators', () => { @Component({ template: '', }) class FooComponent { @Input() @HostBinding('class.preceeding-first') public inputPreceedingHostBinding: string; @HostBinding('class.following-binding') @Input() public inputFollowingHostBinding: string; } const fooComponentFactory = resolveComponentFactory(FooComponent); const { inputs, outputs } = getComponentInputsOutputs(FooComponent); expect({ inputs, outputs }).toEqual({ inputs: [ { propName: 'inputPreceedingHostBinding', templateName: 'inputPreceedingHostBinding' }, { propName: 'inputFollowingHostBinding', templateName: 'inputFollowingHostBinding' }, ], outputs: [], }); expect(sortByPropName(inputs)).toEqual(sortByPropName(fooComponentFactory.inputs)); expect(sortByPropName(outputs)).toEqual(sortByPropName(fooComponentFactory.outputs)); }); it('should return I/O with extending classes', () => { @Component({ template: '', }) class BarComponent { @Input() public a: string; @Input() public b: string; } @Component({ template: '', }) class FooComponent extends BarComponent { @Input() public b: string; @Input() public c: string; } const fooComponentFactory = resolveComponentFactory(FooComponent); const { inputs, outputs } = getComponentInputsOutputs(FooComponent); expect({ inputs, outputs }).toEqual({ inputs: [ { propName: 'a', templateName: 'a' }, { propName: 'b', templateName: 'b' }, { propName: 'c', templateName: 'c' }, ], outputs: [], }); expect(sortByPropName(inputs)).toEqual(sortByPropName(fooComponentFactory.inputs)); expect(sortByPropName(outputs)).toEqual(sortByPropName(fooComponentFactory.outputs)); }); }); describe('isDeclarable', () => { it('should return true with a Component', () => { @Component({}) class FooComponent {} expect(isDeclarable(FooComponent)).toEqual(true); }); it('should return true with a Directive', () => { @Directive({}) class FooDirective {} expect(isDeclarable(FooDirective)).toEqual(true); }); it('should return true with a Pipe', () => { @Pipe({ name: 'pipe' }) class FooPipe {} expect(isDeclarable(FooPipe)).toEqual(true); }); it('should return false with simple class', () => { class FooPipe {} expect(isDeclarable(FooPipe)).toEqual(false); }); it('should return false with Injectable', () => { @Injectable() class FooInjectable {} expect(isDeclarable(FooInjectable)).toEqual(false); }); }); describe('isComponent', () => { it('should return true with a Component', () => { @Component({}) class FooComponent {} expect(isComponent(FooComponent)).toEqual(true); }); it('should return false with simple class', () => { class FooPipe {} expect(isComponent(FooPipe)).toEqual(false); }); it('should return false with Directive', () => { @Directive() class FooDirective {} expect(isComponent(FooDirective)).toEqual(false); }); }); describe('isStandaloneComponent', () => { it('should return true with a Component with "standalone: true"', () => { @Component({ standalone: true }) class FooComponent {} expect(isStandaloneComponent(FooComponent)).toEqual(true); }); it('should return false with a Component with "standalone: false"', () => { @Component({ standalone: false }) class FooComponent {} expect(isStandaloneComponent(FooComponent)).toEqual(false); }); it('should return false with a Component without the "standalone" property', () => { @Component({}) class FooComponent {} expect(isStandaloneComponent(FooComponent)).toEqual(false); }); it('should return false with simple class', () => { class FooPipe {} expect(isStandaloneComponent(FooPipe)).toEqual(false); }); it('should return true with a Directive with "standalone: true"', () => { @Directive({ standalone: true }) class FooDirective {} expect(isStandaloneComponent(FooDirective)).toEqual(true); }); it('should return false with a Directive with "standalone: false"', () => { @Directive({ standalone: false }) class FooDirective {} expect(isStandaloneComponent(FooDirective)).toEqual(false); }); it('should return false with Directive without the "standalone" property', () => { @Directive() class FooDirective {} expect(isStandaloneComponent(FooDirective)).toEqual(false); }); it('should return true with a Pipe with "standalone: true"', () => { @Pipe({ name: 'FooPipe', standalone: true }) class FooPipe {} expect(isStandaloneComponent(FooPipe)).toEqual(true); }); it('should return false with a Pipe with "standalone: false"', () => { @Pipe({ name: 'FooPipe', standalone: false }) class FooPipe {} expect(isStandaloneComponent(FooPipe)).toEqual(false); }); it('should return false with Pipe without the "standalone" property', () => { @Pipe({ name: 'fooPipe', }) class FooPipe {} expect(isStandaloneComponent(FooPipe)).toEqual(false); }); }); describe('getComponentDecoratorMetadata', () => { it('should return Component with a Component', () => { @Component({ selector: 'foo' }) class FooComponent {} expect(getComponentDecoratorMetadata(FooComponent)).toBeInstanceOf(Component); expect(getComponentDecoratorMetadata(FooComponent)).toEqual({ changeDetection: 1, selector: 'foo', }); }); it('should return Component with extending classes', () => { @Component({ selector: 'bar' }) class BarComponent {} @Component({ selector: 'foo' }) class FooComponent extends BarComponent {} expect(getComponentDecoratorMetadata(FooComponent)).toBeInstanceOf(Component); expect(getComponentDecoratorMetadata(FooComponent)).toEqual({ changeDetection: 1, selector: 'foo', }); }); }); function sortByPropName( array: { propName: string; templateName: string; }[] ) { return array.sort((a, b) => a.propName.localeCompare(b.propName)); } function resolveComponentFactory<T extends Type<any>>(component: T) { TestBed.configureTestingModule({ declarations: [component], }).overrideModule(BrowserDynamicTestingModule, {}); const componentFactoryResolver = TestBed.inject(ComponentFactoryResolver); return componentFactoryResolver.resolveComponentFactory(component); }
9,958
0
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client/angular-beta
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client/angular-beta/utils/NgModulesAnalyzer.test.ts
import { Component, NgModule } from '@angular/core'; import { isComponentAlreadyDeclared } from './NgModulesAnalyzer'; const FooComponent = Component({})(class {}); const BarComponent = Component({})(class {}); const BetaModule = NgModule({ declarations: [FooComponent] })(class {}); const AlphaModule = NgModule({ imports: [BetaModule] })(class {}); describe('isComponentAlreadyDeclaredInModules', () => { it('should return true when the component is already declared in one of modules', () => { expect(isComponentAlreadyDeclared(FooComponent, [], [AlphaModule])).toEqual(true); }); it('should return true if the component is in moduleDeclarations', () => { expect(isComponentAlreadyDeclared(BarComponent, [BarComponent], [AlphaModule])).toEqual(true); }); it('should return false if the component is not declared', () => { expect(isComponentAlreadyDeclared(BarComponent, [], [AlphaModule])).toEqual(false); }); });
9,960
0
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client/angular-beta
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client/angular-beta/utils/PropertyExtractor.test.ts
import { CommonModule } from '@angular/common'; import { Component, Directive, Injectable, InjectionToken, NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule, NoopAnimationsModule, provideAnimations, provideNoopAnimations, } from '@angular/platform-browser/animations'; import { NgModuleMetadata } from '../../types'; import { PropertyExtractor, REMOVED_MODULES } from './PropertyExtractor'; import { WithOfficialModule } from '../__testfixtures__/test.module'; const TEST_TOKEN = new InjectionToken('testToken'); const TestTokenProvider = { provide: TEST_TOKEN, useValue: 123 }; const TestService = Injectable()(class {}); const TestComponent1 = Component({})(class {}); const TestComponent2 = Component({})(class {}); const StandaloneTestComponent = Component({ standalone: true })(class {}); const TestDirective = Directive({})(class {}); const StandaloneTestDirective = Directive({ standalone: true })(class {}); const TestModuleWithDeclarations = NgModule({ declarations: [TestComponent1] })(class {}); const TestModuleWithImportsAndProviders = NgModule({ imports: [TestModuleWithDeclarations], providers: [TestTokenProvider], })(class {}); const analyzeMetadata = (metadata: NgModuleMetadata, component?: any) => { return new PropertyExtractor(metadata, component); }; const extractImports = (metadata: NgModuleMetadata, component?: any) => { const { imports } = new PropertyExtractor(metadata, component); return imports; }; const extractDeclarations = (metadata: NgModuleMetadata, component?: any) => { const { declarations } = new PropertyExtractor(metadata, component); return declarations; }; const extractProviders = (metadata: NgModuleMetadata, component?: any) => { const { providers } = new PropertyExtractor(metadata, component); return providers; }; const extractApplicationProviders = (metadata: NgModuleMetadata, component?: any) => { const { applicationProviders } = new PropertyExtractor(metadata, component); return applicationProviders; }; describe('PropertyExtractor', () => { jest.spyOn(console, 'warn').mockImplementation(() => {}); describe('analyzeMetadata', () => { it('should remove BrowserModule', () => { const metadata = { imports: [BrowserModule], }; const { imports, providers, applicationProviders } = analyzeMetadata(metadata); expect(imports.flat(Number.MAX_VALUE)).toEqual([CommonModule]); expect(providers.flat(Number.MAX_VALUE)).toEqual([]); expect(applicationProviders.flat(Number.MAX_VALUE)).toEqual([]); }); it('should remove BrowserAnimationsModule and use its providers instead', () => { const metadata = { imports: [BrowserAnimationsModule], }; const { imports, providers, applicationProviders } = analyzeMetadata(metadata); expect(imports.flat(Number.MAX_VALUE)).toEqual([CommonModule]); expect(providers.flat(Number.MAX_VALUE)).toEqual([]); expect(applicationProviders.flat(Number.MAX_VALUE)).toEqual(provideAnimations()); }); it('should remove NoopAnimationsModule and use its providers instead', () => { const metadata = { imports: [NoopAnimationsModule], }; const { imports, providers, applicationProviders } = analyzeMetadata(metadata); expect(imports.flat(Number.MAX_VALUE)).toEqual([CommonModule]); expect(providers.flat(Number.MAX_VALUE)).toEqual([]); expect(applicationProviders.flat(Number.MAX_VALUE)).toEqual(provideNoopAnimations()); }); it('should remove Browser/Animations modules recursively', () => { const metadata = { imports: [BrowserAnimationsModule, BrowserModule], }; const { imports, providers, applicationProviders } = analyzeMetadata(metadata); expect(imports.flat(Number.MAX_VALUE)).toEqual([CommonModule]); expect(providers.flat(Number.MAX_VALUE)).toEqual([]); expect(applicationProviders.flat(Number.MAX_VALUE)).toEqual(provideAnimations()); }); it('should not destructure Angular official module', () => { const metadata = { imports: [WithOfficialModule], }; const { imports, providers, applicationProviders } = analyzeMetadata(metadata); expect(imports.flat(Number.MAX_VALUE)).toEqual([CommonModule, WithOfficialModule]); expect(providers.flat(Number.MAX_VALUE)).toEqual([]); expect(applicationProviders.flat(Number.MAX_VALUE)).toEqual([]); }); }); describe('extractImports', () => { it('should return Angular official modules', () => { const imports = extractImports({ imports: [TestModuleWithImportsAndProviders] }); expect(imports).toEqual([CommonModule, TestModuleWithImportsAndProviders]); }); it('should return standalone components', () => { const imports = extractImports( { imports: [TestModuleWithImportsAndProviders], }, StandaloneTestComponent ); expect(imports).toEqual([ CommonModule, TestModuleWithImportsAndProviders, StandaloneTestComponent, ]); }); it('should return standalone directives', () => { const imports = extractImports( { imports: [TestModuleWithImportsAndProviders], }, StandaloneTestDirective ); expect(imports).toEqual([ CommonModule, TestModuleWithImportsAndProviders, StandaloneTestDirective, ]); }); }); describe('extractDeclarations', () => { it('should return an array of declarations that contains `storyComponent`', () => { const declarations = extractDeclarations({ declarations: [TestComponent1] }, TestComponent2); expect(declarations).toEqual([TestComponent1, TestComponent2]); }); }); describe('analyzeDecorators', () => { it('isStandalone should be false', () => { const { isStandalone } = PropertyExtractor.analyzeDecorators(TestComponent1); expect(isStandalone).toBe(false); }); it('isStandalone should be true', () => { const { isStandalone } = PropertyExtractor.analyzeDecorators(StandaloneTestComponent); expect(isStandalone).toBe(true); }); }); describe('extractProviders', () => { it('should return an array of providers', () => { const providers = extractProviders({ providers: [TestService], }); expect(providers).toEqual([TestService]); }); it('should return an array of singletons extracted', () => { const singeltons = extractApplicationProviders({ imports: [BrowserAnimationsModule], }); expect(singeltons).toEqual(provideAnimations()); }); }); });
9,962
0
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client/docs/angular-properties.test.ts
import 'jest-specific-snapshot'; import path from 'path'; import fs from 'fs'; import tmp from 'tmp'; import { sync as spawnSync } from 'cross-spawn'; import { findComponentByName, extractArgTypesFromData } from './compodoc'; // @ts-expect-error (Converted from ts-ignore) const { SNAPSHOT_OS } = global; // File hierarchy: __testfixtures__ / some-test-case / input.* const inputRegExp = /^input\..*$/; const runCompodoc = (inputPath: string) => { const testDir = path.dirname(inputPath); const { name: tmpDir, removeCallback } = tmp.dirSync(); // FIXME: for now, this requires a tsconfig.json for each test case. Tried generating // one dynamically in tmpDir, but compodoc doesn't handle absolute paths properly // (and screwed around with relative paths as well, but couldn't get it working) spawnSync('yarn', ['compodoc', '-p', `${testDir}/tsconfig.json`, '-e', 'json', '-d', tmpDir], { stdio: 'inherit', shell: true, }); const output = fs.readFileSync(`${tmpDir}/documentation.json`, 'utf8'); try { removeCallback(); } catch (e) { // } return output; }; describe('angular component properties', () => { const fixturesDir = path.join(__dirname, '__testfixtures__'); fs.readdirSync(fixturesDir, { withFileTypes: true }).forEach((testEntry) => { if (testEntry.isDirectory()) { const testDir = path.join(fixturesDir, testEntry.name); const testFile = fs.readdirSync(testDir).find((fileName) => inputRegExp.test(fileName)); if (testFile) { // TODO: Remove this as soon as the real test is fixed it('true', () => { expect(true).toEqual(true); }); // TODO: Fix this test // it(`${testEntry.name}`, () => { // const inputPath = path.join(testDir, testFile); // // snapshot the output of compodoc // const compodocOutput = runCompodoc(inputPath); // const compodocJson = JSON.parse(compodocOutput); // expect(compodocJson).toMatchSpecificSnapshot( // path.join(testDir, `compodoc-${SNAPSHOT_OS}.snapshot`) // ); // // snapshot the output of addon-docs angular-properties // const componentData = findComponentByName('InputComponent', compodocJson); // const argTypes = extractArgTypesFromData(componentData); // expect(argTypes).toMatchSpecificSnapshot(path.join(testDir, 'argtypes.snapshot')); // }); } } }); });
9,963
0
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client
petrpan-code/storybookjs/storybook/code/frameworks/angular/src/client/docs/compodoc.test.ts
import { extractType, setCompodocJson } from './compodoc'; import { CompodocJson, Decorator } from './types'; const makeProperty = (compodocType?: string) => ({ type: compodocType, name: 'dummy', decorators: [] as Decorator[], optional: true, }); const getDummyCompodocJson = () => { return { miscellaneous: { typealiases: [ { name: 'EnumAlias', ctype: 'miscellaneous', subtype: 'typealias', rawtype: 'EnumNumeric', file: 'src/stories/component-with-enums/enums.component.ts', description: '', kind: 161, }, { name: 'TypeAlias', ctype: 'miscellaneous', subtype: 'typealias', rawtype: '"Type Alias 1" | "Type Alias 2" | "Type Alias 3"', file: 'src/stories/component-with-enums/enums.component.ts', description: '', kind: 168, }, ], enumerations: [ { name: 'EnumNumeric', childs: [ { name: 'FIRST', }, { name: 'SECOND', }, { name: 'THIRD', }, ], ctype: 'miscellaneous', subtype: 'enum', description: '<p>Button Priority</p>\n', file: 'src/stories/component-with-enums/enums.component.ts', }, { name: 'EnumNumericInitial', childs: [ { name: 'UNO', value: '1', }, { name: 'DOS', }, { name: 'TRES', }, ], ctype: 'miscellaneous', subtype: 'enum', description: '', file: 'src/stories/component-with-enums/enums.component.ts', }, { name: 'EnumStringValues', childs: [ { name: 'PRIMARY', value: 'PRIMARY', }, { name: 'SECONDARY', value: 'SECONDARY', }, { name: 'TERTIARY', value: 'TERTIARY', }, ], ctype: 'miscellaneous', subtype: 'enum', description: '', file: 'src/stories/component-with-enums/enums.component.ts', }, ], }, } as CompodocJson; }; describe('extractType', () => { describe('with compodoc type', () => { setCompodocJson(getDummyCompodocJson()); it.each([ ['string', { name: 'string' }], ['boolean', { name: 'boolean' }], ['number', { name: 'number' }], // ['object', { name: 'object' }], // seems to be wrong | TODO: REVISIT // ['foo', { name: 'other', value: 'empty-enum' }], // seems to be wrong | TODO: REVISIT [null, { name: 'other', value: 'void' }], [undefined, { name: 'other', value: 'void' }], // ['T[]', { name: 'other', value: 'empty-enum' }], // seems to be wrong | TODO: REVISIT ['[]', { name: 'other', value: 'empty-enum' }], ['"primary" | "secondary"', { name: 'enum', value: ['primary', 'secondary'] }], ['TypeAlias', { name: 'enum', value: ['Type Alias 1', 'Type Alias 2', 'Type Alias 3'] }], // ['EnumNumeric', { name: 'other', value: 'empty-enum' }], // seems to be wrong | TODO: REVISIT // ['EnumNumericInitial', { name: 'other', value: 'empty-enum' }], // seems to be wrong | TODO: REVISIT ['EnumStringValues', { name: 'enum', value: ['PRIMARY', 'SECONDARY', 'TERTIARY'] }], ])('%s', (compodocType, expected) => { expect(extractType(makeProperty(compodocType), null)).toEqual(expected); }); }); describe('without compodoc type', () => { it.each([ ['string', { name: 'string' }], ['', { name: 'string' }], [false, { name: 'boolean' }], [10, { name: 'number' }], // [['abc'], { name: 'object' }], // seems to be wrong | TODO: REVISIT // [{ foo: 1 }, { name: 'other', value: 'empty-enum' }], // seems to be wrong | TODO: REVISIT [undefined, { name: 'other', value: 'void' }], ])('%s', (defaultValue, expected) => { expect(extractType(makeProperty(null), defaultValue)).toEqual(expected); }); }); });
284
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/alias.test.ts
import { getUserAlias } from '../src'; describe('getUserAlias', () => { it('should filter invalid ts paths that are not array', () => { expect( getUserAlias({ foo: ['a', 'b'], bar: 'c', }), ).toEqual({ foo: ['a', 'b'], }); }); });
285
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/analyzeProject.test.ts
import path from 'path'; import { isApiOnly } from '../src'; describe('analyzeProject', () => { test('apiOnly should be calculate correctly', () => { const projectDir = path.join('./fixtures', 'analyze-projects', 'api-only'); const apiOnly = isApiOnly(projectDir); expect(apiOnly).toBeTruthy(); }); });
286
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/applyOptionsChain.test.ts
import { applyOptionsChain } from '../src'; describe('apply options chain', () => { test(`should return default options`, () => { expect(applyOptionsChain({ default: 'a' })).toEqual({ default: 'a' }); }); test(`should merge default options`, () => { expect( applyOptionsChain( { name: 'a' }, { name: 'b', custom: 'c', }, ), ).toEqual({ name: 'b', custom: 'c', }); }); test(`should support custom merge function`, () => { const merge = (target: any, source: any) => { for (const key in source) { if (target.hasOwnProperty(key)) { target[key] += source[key]; } else { target[key] = source[key]; } } return target; }; expect( applyOptionsChain( { a: 1, b: 'b', }, { a: 2, b: 'b', c: 'c', }, {}, merge, ), ).toEqual({ a: 3, b: 'bb', c: 'c', }); }); test(`should support function or object array`, () => { const defaults = { a: 'a' }; const options = [ { b: 'b' }, (o: any, { add }: { add: any }) => { o.c = add(1, 2); }, (o: any) => ({ ...o, d: 'd', }), { e: 'e' }, ]; expect( applyOptionsChain(defaults, options as any, { // eslint-disable-next-line @typescript-eslint/restrict-plus-operands add: (a: any, b: any) => a + b, }), ).toEqual({ a: 'a', b: 'b', c: 3, d: 'd', e: 'e', }); }); test(`should throw error`, () => { expect(() => { applyOptionsChain(1, 2); }).toThrow(/^applyOptionsChain error:/); }); test(`should log warning about function result`, () => { let outputs = ''; console.log = jest.fn(input => (outputs += input)); applyOptionsChain({ name: 'a' } as any, [() => 111]); expect(outputs).toContain( 'Function should mutate the config and return nothing, Or return a cloned or merged version of config object.', ); }); });
287
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/babel.test.ts
import { resolve } from 'path'; import { applyUserBabelConfig } from '../src'; describe('applyUserBabelConfig', () => { test('should add plugins correctly', () => { const config = applyUserBabelConfig({}, (config, utils) => { utils.addPlugins(['foo', ['bar', {}]]); }); expect(config).toEqual({ plugins: ['foo', ['bar', {}]] }); }); test('should add presets correctly', () => { const config = applyUserBabelConfig({}, (config, utils) => { utils.addPresets(['foo', ['bar', {}]]); }); expect(config).toEqual({ presets: ['foo', ['bar', {}]] }); }); test('should remove plugins correctly', () => { const config = applyUserBabelConfig( { plugins: [ resolve('/node_modules/foo'), [resolve('/node_modules/bar'), {}], ], }, (config, utils) => { utils.removePlugins('foo'); utils.removePlugins(['bar', 'baz']); }, ); expect(config).toEqual({ plugins: [] }); }); test('should remove presets correctly', () => { const config = applyUserBabelConfig( { presets: [ resolve('/node_modules/foo'), [resolve('/node_modules/bar'), {}], ], }, (config, utils) => { utils.removePresets('foo'); utils.removePresets(['bar', 'baz']); }, ); expect(config).toEqual({ presets: [] }); }); test('should allow to remove plugins from an empty config', () => { const config = applyUserBabelConfig({}, (config, utils) => { utils.removePlugins('foo'); }); expect(config).toEqual({}); }); test('should allow to remove presets from an empty config', () => { const config = applyUserBabelConfig({}, (config, utils) => { utils.removePresets('foo'); }); expect(config).toEqual({}); }); test('should allow to modify preset options', () => { const config = applyUserBabelConfig( { presets: [ [ '@babel/preset-env', { targets: 'chrome 30', }, ], '@babel/preset-react', ], }, (config, utils) => { utils.modifyPresetEnvOptions({ targets: 'chrome 35', }); utils.modifyPresetReactOptions({ runtime: 'classic', }); }, ); expect(config).toEqual({ presets: [ [ '@babel/preset-env', { targets: 'chrome 35', }, ], [ '@babel/preset-react', { runtime: 'classic', }, ], ], }); }); });
288
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/commands.test.ts
import { getArgv, getCommand, isDevCommand } from '../src'; describe('test commands utils', () => { test('should get command correctly', () => { process.argv = ['', '', 'dev']; expect(getCommand()).toBe('dev'); process.env.MODERN_ARGV = ['', '', 'start'].join(' '); expect(getCommand()).toBe('start'); }); test('should get argv correctly', () => { delete process.env.MODERN_ARGV; process.argv = ['', '', 'dev']; expect(getArgv()).toEqual(['dev']); process.env.MODERN_ARGV = ['', '', 'start'].join(' '); expect(getArgv()).toEqual(['start']); }); test('should detect dev command correctly', () => { delete process.env.MODERN_ARGV; process.argv = ['', '', 'dev']; expect(isDevCommand()).toBeTruthy(); process.env.MODERN_ARGV = ['', '', 'build'].join(' '); expect(isDevCommand()).toBeFalsy(); }); });
289
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/compatRequire.test.ts
import path from 'path'; import { compatRequire, cleanRequireCache } from '../src'; describe('compat require', () => { const fixturePath = path.resolve(__dirname, './fixtures/compat-require'); test(`should support default property`, () => { expect(compatRequire(path.join(fixturePath, 'esm.js'))).toEqual({ name: 'esm', }); }); test(`should support commonjs module`, () => { expect(compatRequire(path.join(fixturePath, 'cjs.js'))).toEqual({ name: 'cjs', }); }); test(`should return null`, () => { expect(compatRequire(path.join(fixturePath, 'empty.js'))).toEqual(null); }); test('should clean cache after fn', () => { const foo = module.require('./fixtures/compat-require/foo'); const requirePath = require.resolve('./fixtures/compat-require/foo.js'); expect(foo.name).toBe('foo'); expect(require.cache[requirePath]).toBeDefined(); cleanRequireCache([requirePath]); jest.resetModules(); expect(require.cache[requirePath]).toBeUndefined(); }); });
290
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/debug.test.ts
import { debug } from '../src/compiled'; import { stripAnsi, createDebugger } from '../src'; describe('debug utility', () => { test('should return file path', () => { const debug1 = createDebugger('test'); const debug2 = createDebugger('test2'); debug.enable('modern-js:test2'); debug.log = (...args) => { // XXX: args[0] ็š„ๅ†…ๅฎนๆœ‰ๆ—ถๅ€™ๆ˜ฏ ' \x1B[38;5;167;1mmodern-js:test2 \x1B[0m22222' ่ฟ™็งๆ ผๅผ expect(stripAnsi(args[0])).toContain('modern-js:test2 22222'); }; debug1('11111'); debug2('22222'); expect(debug2.enabled).toBe(true); expect(debug1.enabled).toBe(false); }); });
291
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/ensureAbsolutePath.test.ts
import path from 'path'; import { ensureAbsolutePath } from '../src'; describe('ensure absolute file path', () => { test('should return filePath directly', () => { expect( path.isAbsolute(ensureAbsolutePath('/a/b', '/a/b/c/d/e.jsx')), ).toBeTruthy(); }); test(`should resolve absolute path`, () => { expect( path.isAbsolute(ensureAbsolutePath('/a/b', 'c/d/e.jsx')), ).toBeTruthy(); }); });
292
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/findExists.test.ts
import path from 'path'; import { findExists } from '../src'; describe('find first exists file', () => { const fixturePath = path.resolve(__dirname, './fixtures/file-exists'); test('should return file path', () => { expect( findExists( ['.js', '.ts', '.ejs', '.mjs'].map(ext => path.join(fixturePath, `a${ext}`), ), ), ).toEqual(path.join(fixturePath, 'a.ts')); }); test('should return false when no file exists', () => { expect( findExists(['.jsx'].map(ext => path.join(fixturePath, `a${ext}`))), ).toBe(false); }); });
293
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/getAddressUrls.test.ts
import { getAddressUrls } from '../src'; describe('getAddressUrls', () => { test('should allow to custom host', () => { expect(getAddressUrls('http', 3000, 'localhost')).toEqual([ { label: 'Local: ', url: 'http://localhost:3000' }, ]); expect(getAddressUrls('http', 3000, '192.168.0.1')).toEqual([ { label: 'Network: ', url: 'http://192.168.0.1:3000' }, ]); expect(getAddressUrls('https', 3001, '192.168.0.1')).toEqual([ { label: 'Network: ', url: 'https://192.168.0.1:3001' }, ]); }); test('should get multiple addresses when host is 0.0.0.0', () => { expect(getAddressUrls('https', 3001, '0.0.0.0').length > 1).toBeTruthy(); }); });
294
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/getBrowserslist.test.ts
import path from 'path'; import { getBrowserslist, defaults } from '../src'; describe('get browserslist', () => { const fixture = path.resolve(__dirname, './fixtures/browserlist'); test(`should load browserslist from package.json`, () => { expect(getBrowserslist(path.join(fixture, 'pkg'))).toEqual([ 'not IE 11', 'maintained node versions', ]); }); test(`should load browerslist from .browserslistrc`, () => { expect(getBrowserslist(path.join(fixture, 'dotfile'))).toEqual([ 'defaults', 'not IE 11', 'maintained node versions', ]); }); test(`should load browserslist base on environment`, () => { process.env.NODE_ENV = 'development'; expect(getBrowserslist(path.join(fixture, 'develop'))).toEqual([ 'last 1 chrome version', ]); }); test(`should return default browserslist config`, () => { expect(getBrowserslist(path.join(fixture))).toEqual(defaults); }); });
295
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/getEntryOptions.test.ts
import { getEntryOptions } from '../src'; describe('get entry options', () => { test('should return default options', () => { expect(getEntryOptions('page-a', false, 'default value')).toEqual( 'default value', ); expect( getEntryOptions('page-a', false, 'default value', { 'page-b': 'a' }), ).toEqual('default value'); }); test(`should return options from optionsByEntries`, () => { expect( getEntryOptions('page-a', false, 'default value', { 'page-a': 'a' }), ).toEqual('a'); }); test(`should compatible with main entry using packageName as key`, () => { expect( getEntryOptions( 'main', true, 'default value', { 'package-name': 'a' }, 'package-name', ), ).toEqual('a'); }); expect( getEntryOptions( 'page-a', false, { name: 'a' }, { 'page-a': { name: 'page-a', about: 'b', }, }, ), ).toEqual({ name: 'page-a', about: 'b', }); expect( getEntryOptions< | { [name: string]: string; } | boolean >('page-a', false, { name: 'a' }, { 'page-a': false }), ).toEqual(false); });
296
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/getPort.test.ts
import net from 'net'; import { getPort } from '../src'; describe('get port', () => { const originalPort = 45577; const listenToPort = async (port: number) => { const server = net.createServer(); server.unref(); return new Promise<() => void>(resolve => { server.listen( { port, host: '0.0.0.0', }, () => { resolve(() => { server.close(); }); }, ); }); }; test('should get port number correctly', async () => { const port = await getPort(originalPort); expect(port).toEqual(originalPort); }); test('should increase port number when the port is occupied', async () => { const close = await listenToPort(originalPort); const port = await getPort(originalPort); expect(port).toEqual(originalPort + 1); close(); }); test('should throw an error when the port is occupied and strictPort is true', async () => { const close = await listenToPort(originalPort); try { await getPort(originalPort, { strictPort: true, }); } catch (err) { expect((err as Error).message).toEqual( `Port "${originalPort}" is occupied, please choose another one.`, ); } close(); }); });
297
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/is.test.ts
import { isSSR, isTest, isEmpty, isUseSSRBundle, isSSGEntry } from '../src'; describe('validate', () => { it('should validate empty object correctly', () => { expect(isEmpty({})).toBeTruthy(); expect(isEmpty({ foo: 'bar' })).toBeFalsy(); }); it('should validate ssr config correctly', () => { expect(isSSR({})).toBeFalsy(); expect( isSSR({ server: { ssr: {} }, }), ).toBeTruthy(); expect( isSSR({ server: { ssrByEntries: { 'page-a': false, }, }, }), ).toBeFalsy(); expect( isSSR({ server: { ssrByEntries: { 'page-a': true, }, }, }), ).toBeTruthy(); }); it('should validate ssr bundle correctly', () => { expect(isUseSSRBundle({})).toBeFalsy(); expect(isUseSSRBundle({ output: { ssg: true } })).toBeTruthy(); expect( isUseSSRBundle({ server: { ssr: {} }, }), ).toBeTruthy(); }); it('should validate test env correctly', () => { const { NODE_ENV } = process.env; process.env.NODE_ENV = 'test'; expect(isTest()).toBeTruthy(); process.env.NODE_ENV = 'production'; expect(isTest()).toBeFalsy(); process.env.NODE_ENV = NODE_ENV; }); it('should detect ssg config correctly', () => { const useSSG = isSSGEntry({ output: {} } as any, 'main', [ { entryName: 'main' }, ]); expect(useSSG).toBeFalsy(); const useSSG1 = isSSGEntry({ output: { ssg: true } } as any, 'main', [ { entryName: 'main' }, ]); expect(useSSG1).toBeTruthy(); const useSSG2 = isSSGEntry( { output: { ssg: { home: false } } } as any, 'home', [{ entryName: 'main' }, { entryName: 'home' }], ); expect(useSSG2).toBeFalsy(); const useSSG3 = isSSGEntry( { output: { ssg: { home: {} } } } as any, 'home', [{ entryName: 'main' }, { entryName: 'home' }], ); expect(useSSG3).toBeTruthy(); }); });
298
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/isPackageInstalled.test.ts
import { isPackageInstalled } from '../src'; describe('isPackageInstalled', () => { it('should return false if the package not is resolved', () => { expect(isPackageInstalled('@foo/bar', __dirname)).toBeFalsy(); }); it('should return true if the package is resolved', () => { expect(isPackageInstalled('lodash', __dirname)).toBeTruthy(); }); });
299
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/isPlatform.test.ts
import { isBrowser } from '../src'; describe('validate platform', () => { it('should validate browser correctly', () => { const windowSpy = jest.spyOn(window, 'window', 'get'); windowSpy.mockImplementation((): any => undefined); expect(isBrowser()).toBeFalsy(); windowSpy.mockImplementation((): any => global); expect(isBrowser()).toBeTruthy(); windowSpy.mockRestore(); }); });
300
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/isType.test.ts
import { isArray, isObject, isString, isRegExp, isPromise, isUndefined, isPlainObject, } from '../src'; describe('validate type', () => { it('should validate string correctly', () => { expect(isString('')).toBeTruthy(); expect(isString('foo')).toBeTruthy(); expect(isString(null)).toBeFalsy(); expect(isString(123)).toBeFalsy(); }); it('should validate undefined correctly', () => { expect(isUndefined(undefined)).toBeTruthy(); expect(isUndefined(null)).toBeFalsy(); expect(isUndefined('')).toBeFalsy(); expect(isUndefined(123)).toBeFalsy(); }); it('should validate array correctly', () => { expect(isArray(undefined)).toBeFalsy(); expect(isArray(null)).toBeFalsy(); expect(isArray('')).toBeFalsy(); expect(isArray(123)).toBeFalsy(); expect(isArray({})).toBeFalsy(); expect(isArray([])).toBeTruthy(); }); it('should validate object correctly', () => { expect(isObject(1)).toBeFalsy(); expect(isObject('1')).toBeFalsy(); expect(isObject(undefined)).toBeFalsy(); expect(isObject(null)).toBeFalsy(); // eslint-disable-next-line @typescript-eslint/no-empty-function expect(isObject(() => {})).toBeFalsy(); expect(isObject({})).toBeTruthy(); expect(isObject([])).toBeTruthy(); expect(isObject(/foo/)).toBeTruthy(); }); it('should validate plain object correctly', () => { expect(isPlainObject(1)).toBeFalsy(); expect(isPlainObject('1')).toBeFalsy(); expect(isPlainObject(undefined)).toBeFalsy(); expect(isPlainObject(null)).toBeFalsy(); // eslint-disable-next-line @typescript-eslint/no-empty-function expect(isPlainObject(() => {})).toBeFalsy(); expect(isPlainObject({})).toBeTruthy(); expect(isPlainObject([])).toBeFalsy(); expect(isPlainObject(/foo/)).toBeFalsy(); }); it('should validate RegExp correctly', () => { expect(isRegExp(1)).toBeFalsy(); expect(isRegExp('1')).toBeFalsy(); expect(isRegExp(undefined)).toBeFalsy(); expect(isRegExp(null)).toBeFalsy(); expect(isRegExp({})).toBeFalsy(); expect(isRegExp([])).toBeFalsy(); expect(isRegExp(/foo/)).toBeTruthy(); }); it('should validate Promise correctly', () => { expect(isPromise(1)).toBeFalsy(); expect(isPromise('1')).toBeFalsy(); expect(isPromise(undefined)).toBeFalsy(); expect(isPromise(null)).toBeFalsy(); expect(isPromise({})).toBeFalsy(); expect(isPromise([])).toBeFalsy(); expect(isPromise(/foo/)).toBeFalsy(); expect( isPromise( new Promise<void>(resolve => { resolve(); }), ), ).toBeTruthy(); }); });
301
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/monorepo.test.ts
import fs from 'fs'; import { isPnpmWorkspaces } from '../src'; describe('isPnpmWorkspaces', () => { test('should return correct result', () => { const mockExistsSync = jest .spyOn(fs, 'existsSync') .mockImplementation( input => typeof input === 'string' && input.includes('pnpm-workspace.yaml'), ); expect(isPnpmWorkspaces('/foo')).toBeTruthy(); mockExistsSync.mockRestore(); }); });
302
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/plugin.test.ts
import path from 'path'; import { getInternalPlugins } from '../src'; const fixture = path.resolve(__dirname, './fixtures/plugin'); describe('plugin', () => { test('should get internal plugin correctly if dependence', () => { const plugins = getInternalPlugins(fixture, { 'plugin-a': 'plugin-a', }); expect(plugins[0]).toBe('plugin-a'); }); test('should not get internal plugin correctly if not dependence', () => { const plugins = getInternalPlugins(fixture, { 'plugin-b': 'plugin-b', }); expect(plugins.length).toBe(0); }); test('should get internal plugin always if forced', () => { const b = { path: 'plugin-b', forced: true, }; const plugins = getInternalPlugins(fixture, { 'plugin-b': b, }); expect(plugins.length).toBe(1); expect(plugins[0]).toEqual(b.path); }); });
303
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/pluginDagSort.test.ts
import { pluginDagSort } from '../src/universal/pluginDagSort'; describe('sort plugins', () => { it('should verfified each plugin', () => { const cases = [ { name: '1' }, { name: '2', pre: [], post: [] }, { name: '3', pre: ['1'], post: ['2'] }, { name: '4', pre: [], post: [] }, { name: '5', pre: ['6'], post: ['3'] }, { name: '6', pre: [], post: [] }, ]; const result = pluginDagSort(cases); const p_1_index = result.findIndex(item => item.name === '1'); const p_2_index = result.findIndex(item => item.name === '2'); const p_3_index = result.findIndex(item => item.name === '3'); const p_5_index = result.findIndex(item => item.name === '5'); const p_6_index = result.findIndex(item => item.name === '6'); // is plugin 3 verified expect(p_2_index > p_3_index).toBeTruthy(); expect(p_1_index < p_3_index).toBeTruthy(); // is plugin 5 verified expect(p_5_index < p_3_index).toBeTruthy(); expect(p_5_index > p_6_index).toBeTruthy(); }); it('should throw error when plugin has ring', () => { const cases = [ { name: '1', pre: [], post: [] }, { name: '2', pre: [], post: ['5'] }, { name: '3', pre: ['1'], post: ['2'] }, { name: '4', pre: [], post: [] }, { name: '5', pre: ['6'], post: ['3'] }, { name: '6', pre: [], post: [] }, ]; expect(() => { pluginDagSort(cases); }).toThrow(/plugins dependencies has loop: 2,3,5/); }); });
304
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/prettyInstructions.test.ts
import { prettyInstructions } from '../src'; const mockNetworkInterfaces = { lo0: [ { address: '127.0.0.1', netmask: '255.0.0.0', family: 'IPv4', mac: '00:00:00:00:00:00', internal: true, cidr: '127.0.0.1/8', }, ], en5: [ { address: 'fe80::aede:48ff:fe00:1122', netmask: 'ffff:ffff:ffff:ffff::', family: 'IPv6', mac: 'ac:de:48:00:11:22', internal: false, cidr: 'fe80::aede:48ff:fe00:1122/64', scopeid: 4, }, ], en0: [ { address: '11.11.111.11', netmask: '255.255.252.0', family: 'IPv4', mac: '90:9c:4a:cf:11:d2', internal: false, cidr: '10.85.117.60/22', }, ], utun2: [ { address: '10.100.100.100', netmask: '255.255.224.0', family: 'IPv4', mac: '00:00:00:00:00:00', internal: false, cidr: '10.255.182.172/19', }, ], }; const mockEntrypoints = [ { entryName: 'main', entry: '/example/node_modules/.modern-js/main/index.js', isAutoMount: true, customBootstrap: false, }, ]; const mockServerRoute = { urlPath: '/', entryName: 'main', entryPath: 'html/main/index.html', isSPA: true, isSSR: false, }; jest.mock('os', () => { const originalModule = jest.requireActual('os'); return { __esModule: true, ...originalModule, default: { networkInterfaces() { return mockNetworkInterfaces; }, }, }; }); jest.mock('../compiled/chalk', () => { return { blue: jest.fn(str => str), bold: jest.fn(str => str), green: jest.fn(str => str), red: jest.fn(str => str), yellow: jest.fn(str => str), cyanBright: jest.fn(str => str), }; }); describe('prettyInstructions', () => { test('basic usage', () => { const mockAppContext = { entrypoints: mockEntrypoints, serverRoutes: [ mockServerRoute, { urlPath: '/api', isApi: true, entryPath: '', isSPA: false, isSSR: false, }, ], port: 8080, apiOnly: false, }; const message = prettyInstructions(mockAppContext, {}); expect(message).toMatchSnapshot(); }); test('should print https URLs', () => { const { NODE_ENV } = process.env; process.env.NODE_ENV = 'development'; const mockAppContext = { entrypoints: mockEntrypoints, serverRoutes: [mockServerRoute], port: 8080, apiOnly: false, builder: { context: { devServer: { https: true, }, }, }, }; const message = prettyInstructions(mockAppContext, {}); expect(message).toMatchSnapshot(); process.env.NODE_ENV = NODE_ENV; }); test('should print host correctly', () => { process.env.NODE_ENV = 'development'; const mockAppContext = { entrypoints: mockEntrypoints, serverRoutes: [mockServerRoute], port: 8080, apiOnly: false, }; const message = prettyInstructions(mockAppContext, { dev: { host: 'my-host', }, }); expect(message).toMatchSnapshot(); }); test('The src directory does not exist', () => { const mockAppContext = { entrypoints: [], serverRoutes: [ { urlPath: '/api', isApi: true, entryPath: '', isSPA: false, isSSR: false, }, ], port: 8080, apiOnly: true, }; const message = prettyInstructions(mockAppContext, {}); expect(message).toMatchSnapshot(); }); test('custom entry', () => { const mockAppContext = { entrypoints: [], serverRoutes: [], port: 8080, apiOnly: false, }; const message = prettyInstructions(mockAppContext, {}); expect(message).toMatchSnapshot(); }); });
305
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/removeSlash.test.ts
import { removeLeadingSlash, removeSlash, removeTailSlash } from '../src'; describe('remove slash', () => { test(`should remove leading slash`, () => { expect(removeLeadingSlash('///yuck/example//')).toEqual('yuck/example//'); }); test(`should remove tail slash`, () => { expect(removeTailSlash('///yuck/example//')).toEqual('///yuck/example'); }); test(`should remove slash`, () => { expect(removeSlash('///yuck/example//')).toEqual('yuck/example'); }); });
308
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/__snapshots__/prettyInstructions.test.ts.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`prettyInstructions The src directory does not exist 1`] = ` " > Local: http://localhost:8080/api > Network: http://11.11.111.11:8080/api > Network: http://10.100.100.100:8080/api " `; exports[`prettyInstructions basic usage 1`] = ` " > Local: http://localhost:8080/ > Network: http://11.11.111.11:8080/ > Network: http://10.100.100.100:8080/ " `; exports[`prettyInstructions custom entry 1`] = ` " > Local: http://localhost:8080 > Network: http://11.11.111.11:8080 > Network: http://10.100.100.100:8080 ฮป (Server) server-side renders at runtime โ—‹ (Static) client-side renders as static HTML " `; exports[`prettyInstructions should print host correctly 1`] = ` " > Network: http://my-host:8080/ " `; exports[`prettyInstructions should print https URLs 1`] = ` " > Local: https://localhost:8080/ > Network: https://11.11.111.11:8080/ > Network: https://10.100.100.100:8080/ " `;
317
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/universal/formatWebpack.test.ts
import { addErrorTips } from '../../src/universal/formatWebpack'; describe('addErrorTips', () => { test('Should format "You may need an appropriate loader" for TypeScript files', () => { expect( addErrorTips([ `File: ./node_modules/foo/index.ts Module parse failed: Unexpected token (1:14) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders > export const a: string = 1; `, ]), ).toMatchSnapshot(); }); test('Should not format "You may need an appropriate loader" for non-TypeScript files', () => { expect( addErrorTips([ `File: ./node_modules/foo/index.foo Module parse failed: Unexpected token (1:14) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders > export const a: string = 1; `, ]), ).toMatchSnapshot(); }); });
318
0
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/universal
petrpan-code/web-infra-dev/modern.js/packages/toolkit/utils/tests/universal/__snapshots__/formatWebpack.test.ts.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`addErrorTips Should format "You may need an appropriate loader" for TypeScript files 1`] = ` [ "File: ./node_modules/foo/index.ts Module parse failed: Unexpected token (1:14) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders > export const a: string = 1; If it is a TypeScript file, you can use "source.include" config to compile it. see https://modernjs.dev/builder/en/api/config-source.html#sourceinclude // config file export default { source: { include: [ // add some include rules ] } } ", ] `; exports[`addErrorTips Should not format "You may need an appropriate loader" for non-TypeScript files 1`] = ` [ "File: ./node_modules/foo/index.foo Module parse failed: Unexpected token (1:14) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders > export const a: string = 1; ", ] `;
378
0
petrpan-code/web-infra-dev/modern.js/scripts/vitest-config
petrpan-code/web-infra-dev/modern.js/scripts/vitest-config/tests/path.test.ts
import { describe, expect, it } from 'vitest'; import { compilePathMatcherRegExp, upwardPaths, _joinPathParts, } from '../src/path'; describe('upwardPaths', () => { it('should get upward paths', () => { expect(upwardPaths('/a/b/c')).toEqual(['/a/b/c', '/a/b', '/a', '/']); }); }); describe('joinPathParts', () => { it('should join path parts', () => { expect(_joinPathParts('whatever', 0, ['a', 'b', 'c'])).toBe('/a'); expect(_joinPathParts('whatever', 1, ['a', 'b', 'c'])).toBe('/a/b'); expect(_joinPathParts('whatever', 2, ['a', 'b', 'c'])).toBe('/a/b/c'); }); }); describe('compilePathMatcherRegExp', () => { it('should compile string path matcher', () => { const regExp = compilePathMatcherRegExp('/a/b/c'); expect(regExp.test('/a/b/c')).toBe(true); expect(regExp.test('/a/b/c/')).toBe(true); expect(regExp.test('/a/b/c/d')).toBe(true); expect(regExp.test('/a/b/cd')).toBe(false); expect(regExp.test('/a/c/c/')).toBe(false); expect(regExp.test('at async (/a/b/c)')).toBe(true); }); });
379
0
petrpan-code/web-infra-dev/modern.js/scripts/vitest-config
petrpan-code/web-infra-dev/modern.js/scripts/vitest-config/tests/pathSerializer.test.ts
import { describe, expect, it } from 'vitest'; import { applyMatcherReplacement, applyPathMatcher, matchUpwardPathsAsUnknown, } from '../src/pathSerializer'; describe('matchUpwardPathsAsUnknown', () => { it('should match upward paths', () => { expect(matchUpwardPathsAsUnknown('/a/b/c')).toEqual([ { mark: 'unknown', match: '/a/b' }, { mark: 'unknown', match: '/a' }, ]); }); it('should match upward paths with win32', () => { expect(matchUpwardPathsAsUnknown('C:\\Windows\\User\\workspace')).toEqual([ { mark: 'unknown', match: '/c/Windows/User' }, { mark: 'unknown', match: '/c/Windows' }, { mark: 'unknown', match: '/c' }, ]); }); }); describe('applyPathMatcher', () => { it('should apply path matcher', () => { expect(applyPathMatcher({ match: '/a/b', mark: 'temp' }, '/a/b/c/d')).toBe( '<TEMP>/c/d', ); expect(applyPathMatcher({ match: 'b/c', mark: 'inner' }, '/a/b/c/d')).toBe( '/a/<INNER>/d', ); }); it('should apply multiple path matcher', () => { expect( applyMatcherReplacement( [ { match: '/a/b', mark: 'temp' }, { match: 'd/e', mark: 'inner' }, ], '/a/b/c/d/e/f', ), ).toBe('<TEMP>/c/<INNER>/f'); }); });
381
0
petrpan-code/web-infra-dev/modern.js/scripts/vitest-config
petrpan-code/web-infra-dev/modern.js/scripts/vitest-config/tests/utils.test.ts
import path from 'path'; import { describe, expect, it, vi } from 'vitest'; import { createSnapshotSerializer } from '../src/utils'; describe('createSnapshotSerializer', () => { it.each([ ['/a/b/c/d/e/f/g', '"<ROOT>/d/e/f/g"'], ['/a/b/c/foo', '"<ROOT>/foo"'], ['/a/b/foo/bar', '"<UNKNOWN>/foo/bar"'], [ '/a/b/c/node_modules/.pnpm/[email protected]_2cad51bbe9c2876396f118aa6395be78/node_modules/babel-loader/lib/index.js', '"<ROOT>/node_modules/<PNPM_INNER>/babel-loader/lib/index.js"', ], ])('should handle with posix path %s', (value, expected) => { const serializer = createSnapshotSerializer({ cwd: '/a/b/c', workspace: '/a/b/c/d', replace: [{ match: '/a/b/c/d/e', mark: 'workspace2' }], }); expect(serializer.test(value)).toBe(true); expect(serializer.print(value)).toBe(expected); }); it.each([ ['A:\\b\\c\\d\\e\\f\\g', '"<ROOT>/d/e/f/g"'], ['A:\\b\\c\\foo', '"<ROOT>/foo"'], ['A:\\b\\foo\\bar', '"<UNKNOWN>/foo/bar"'], ['Z:\\b\\c\\foo', '"/z/b/c/foo"'], ])('should handle with windows path %s', (value, expected) => { if (process.platform !== 'win32') { // will take the error `Maximum call stack size exceeded` in windows & node 16 vi.spyOn(path, 'resolve').mockImplementationOnce(path.win32.resolve); vi.spyOn(path, 'normalize').mockImplementationOnce(path.win32.normalize); } const serializer = createSnapshotSerializer({ cwd: 'A:\\b\\c', workspace: 'A:\\b\\c\\d', replace: [{ match: 'A:\\b\\c\\d\\e', mark: 'workspace2' }], }); expect(serializer.test(value)).toBe(true); expect(serializer.print(value)).toBe(expected); }); });
395
0
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases/tools.rspack.test.ts
import { join } from 'path'; import { expect, test } from '@modern-js/e2e/playwright'; import { build, getHrefByEntryName } from '../scripts/shared'; const fixtures = __dirname; test('tools.rspack', async ({ page }) => { const builder = await build<'rspack'>({ cwd: join(fixtures, 'source/global-vars'), entry: { main: join(fixtures, 'source/global-vars/src/index.ts'), }, runServer: true, builderConfig: { tools: { rspack: config => { config.builtins!.define = { ...(config.builtins!.define || {}), ENABLE_TEST: JSON.stringify(true), }; }, }, }, }); await page.goto(getHrefByEntryName('main', builder.port)); const testEl = page.locator('#test-el'); await expect(testEl).toHaveText('aaaaa'); builder.close(); });
396
0
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases/tools.test.ts
import { join } from 'path'; import { expect, test } from '@modern-js/e2e/playwright'; import { webpackOnlyTest } from '@scripts/helper'; import { build, getHrefByEntryName } from '../scripts/shared'; const fixtures = __dirname; test('postcss plugins overwrite', async ({ page }) => { const builder = await build({ cwd: join(fixtures, 'output/rem'), entry: { main: join(fixtures, 'output/rem/src/index.ts'), }, runServer: true, builderConfig: { tools: { postcss: { postcssOptions: { plugins: [], }, }, }, }, }); await page.goto(getHrefByEntryName('main', builder.port)); const title = page.locator('#title'); await expect(title).toHaveText('title'); builder.close(); }); test('bundlerChain - set alias config', async ({ page }) => { const builder = await build({ cwd: join(fixtures, 'source/basic'), entry: { main: join(fixtures, 'source/basic/src/index.js'), }, runServer: true, builderConfig: { tools: { bundlerChain: chain => { chain.resolve.alias.merge({ '@common': join(fixtures, 'source/basic/src/common'), }); }, }, }, }); await page.goto(getHrefByEntryName('main', builder.port)); await expect(page.innerHTML('#test')).resolves.toBe('Hello Builder! 1'); builder.close(); }); // Rspack do not support publicPath function yet webpackOnlyTest('bundlerChain - custom publicPath function', async () => { const builder = await build({ cwd: join(fixtures, 'output/rem'), entry: { main: join(fixtures, 'output/rem/src/index.ts'), }, builderConfig: { output: { disableFilenameHash: true, }, tools: { bundlerChain: chain => { chain.output.publicPath(() => 'https://www.foo.com/'); }, }, }, }); const files = await builder.unwrapOutputJSON(); const htmlFile = Object.keys(files).find(file => file.endsWith('.html')); expect(htmlFile).toBeTruthy(); const htmlContent = files[htmlFile!]; expect(htmlContent).toContain( `script defer="defer" src="https://www.foo.com/static/js/main.js"></script>`, ); expect(htmlContent).toContain( `<link href="https://www.foo.com/static/css/main.css" rel="stylesheet">`, ); });
397
0
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases/tools.webpack.test.ts
import { join } from 'path'; import { expect, test } from '@modern-js/e2e/playwright'; import { build, getHrefByEntryName } from '../scripts/shared'; const fixtures = __dirname; test('webpackChain - register plugin', async ({ page }) => { const builder = await build({ cwd: join(fixtures, 'source/global-vars'), entry: { main: join(fixtures, 'source/global-vars/src/index.ts'), }, runServer: true, builderConfig: { tools: { webpackChain: (chain, { webpack }) => { chain.plugin('define').use(webpack.DefinePlugin, [ { ENABLE_TEST: JSON.stringify(true), }, ]); }, }, }, }); await page.goto(getHrefByEntryName('main', builder.port)); const testEl = page.locator('#test-el'); await expect(testEl).toHaveText('aaaaa'); builder.close(); });
398
0
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases/asset-fallback/index.test.ts
import path from 'path'; import { expect, test } from '@modern-js/e2e/playwright'; import { build } from '@scripts/shared'; test('should handle unknown modules with fallback rule', async () => { const builder = await build({ cwd: __dirname, entry: { index: path.resolve(__dirname, './src/index.js') }, builderConfig: { output: { enableAssetFallback: true, }, }, }); const files = await builder.unwrapOutputJSON(); const result = Object.keys(files).find(file => file.endsWith('.xxx')); expect(result).toBeTruthy(); expect(/\/static\/media\/foo.\w+.xxx/.test(result!)).toBeTruthy(); });
400
0
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases/babel/build.test.ts
import path from 'path'; import { expect, test } from '@modern-js/e2e/playwright'; import { build, getHrefByEntryName } from '@scripts/shared'; test('babel', async ({ page }) => { const builder = await build({ cwd: __dirname, entry: { index: path.resolve(__dirname, './src/index.js'), }, runServer: true, builderConfig: { tools: { babel(_, { addPlugins }) { addPlugins([require('./plugins/myBabelPlugin')]); }, }, }, }); await page.goto(getHrefByEntryName('index', builder.port)); expect(await page.evaluate('window.b')).toBe(10); builder.close(); });
403
0
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases/basic
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases/basic/exports-presence/index.test.ts
import path from 'path'; import { expect } from '@modern-js/e2e/playwright'; import { build } from '@scripts/shared'; import { webpackOnlyTest } from '@scripts/helper'; // TODO: needs rspack exportsPresence error webpackOnlyTest( 'should throw error by default(exportsPresence error)', async () => { await expect( build({ cwd: __dirname, entry: { index: path.resolve(__dirname, './src/index.js'), }, }), ).rejects.toThrowError(); }, );
407
0
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases/builder-cli
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases/builder-cli/builder-cli-rspack/index.rspack.test.ts
import path from 'path'; import { execSync } from 'child_process'; import { expect, test } from '@modern-js/e2e/playwright'; import { globContentJSON } from '@modern-js/e2e'; test('should run build command correctly', async () => { execSync('npm run build', { cwd: __dirname, }); const outputs = await globContentJSON(path.join(__dirname, 'dist')); const outputFiles = Object.keys(outputs); expect( outputFiles.find(item => item.includes('html/index/index.html')), ).toBeTruthy(); expect( outputFiles.find(item => item.includes('static/js/index.')), ).toBeTruthy(); });
412
0
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases/builder-cli
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases/builder-cli/builder-cli-vue/index.test.ts
import path from 'path'; import { execSync } from 'child_process'; import { expect } from '@modern-js/e2e/playwright'; import { globContentJSON } from '@modern-js/e2e'; import { rspackOnlyTest } from '../../../scripts/helper'; rspackOnlyTest('should build Vue sfc correctly', async () => { execSync('npm run build', { cwd: __dirname, }); const outputs = await globContentJSON(path.join(__dirname, 'dist')); const outputFiles = Object.keys(outputs); expect( outputFiles.find(item => item.includes('html/index/index.html')), ).toBeTruthy(); expect( outputFiles.find(item => item.includes('static/js/index.')), ).toBeTruthy(); });
418
0
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases/builder-cli
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases/builder-cli/builder-cli-webpack/index.webpack.test.ts
import path from 'path'; import { execSync } from 'child_process'; import { expect, test } from '@modern-js/e2e/playwright'; import { globContentJSON } from '@modern-js/e2e'; test('should run build command correctly', async () => { execSync('npm run build', { cwd: __dirname, }); const outputs = await globContentJSON(path.join(__dirname, 'dist')); const outputFiles = Object.keys(outputs); expect( outputFiles.find(item => item.includes('html/index/index.html')), ).toBeTruthy(); expect( outputFiles.find(item => item.includes('static/js/index.')), ).toBeTruthy(); });
422
0
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases/cache/index.test.ts
import path from 'path'; import { expect } from '@modern-js/e2e/playwright'; import { webpackOnlyTest } from '@scripts/helper'; import { build } from '@scripts/shared'; import { fs } from '@modern-js/utils'; webpackOnlyTest( 'should save the buildDependencies to cache directory and hit cache', async () => { const cacheDirectory = path.resolve( __dirname, './node_modules/.cache/webpack', ); process.env.TEST_ENV = undefined; const buildConfig = { cwd: __dirname, entry: { index: path.resolve(__dirname, './src/index.js') }, builderConfig: { tools: { bundlerChain: (chain: any) => { if (process.env.TEST_ENV === 'a') { chain.resolve.extensions.prepend('.a.js'); } }, }, performance: { buildCache: { cacheDirectory, }, }, }, }; const configFile = path.resolve(cacheDirectory, 'buildDependencies.json'); fs.emptyDirSync(cacheDirectory); // first build no cache let builder = await build(buildConfig); expect( (await builder.getIndexFile()).content.includes('222222'), ).toBeTruthy(); const buildDependencies = await fs.readJSON(configFile); expect(Object.keys(buildDependencies)).toEqual(['tsconfig']); process.env.TEST_ENV = 'a'; // hit cache => unfortunately, extension '.a.js' not work builder = await build(buildConfig); expect( (await builder.getIndexFile()).content.includes('222222'), ).toBeTruthy(); }, ); webpackOnlyTest('cacheDigest should work', async () => { const cacheDirectory = path.resolve( __dirname, './node_modules/.cache/webpack-1', ); process.env.TEST_ENV = undefined; const getBuildConfig = () => ({ cwd: __dirname, entry: { index: path.resolve(__dirname, './src/index.js') }, builderConfig: { tools: { bundlerChain: (chain: any) => { if (process.env.TEST_ENV === 'a') { chain.resolve.extensions.prepend('.a.js'); } }, }, performance: { buildCache: { cacheDirectory, cacheDigest: [process.env.TEST_ENV], }, }, }, }); const configFile = path.resolve(cacheDirectory, 'buildDependencies.json'); fs.emptyDirSync(cacheDirectory); // first build no cache let builder = await build(getBuildConfig()); expect( (await builder.getIndexFile()).content.includes('222222'), ).toBeTruthy(); const buildDependencies = await fs.readJSON(configFile); expect(Object.keys(buildDependencies)).toEqual(['tsconfig']); process.env.TEST_ENV = 'a'; builder = await build(getBuildConfig()); // extension '.a.js' should work expect( (await builder.getIndexFile()).content.includes('111111'), ).toBeTruthy(); });
427
0
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases
petrpan-code/web-infra-dev/modern.js/tests/e2e/builder/cases/check-syntax/index.test.ts
import path from 'path'; import { expect, test } from '@modern-js/e2e/playwright'; import { build } from '@scripts/shared'; import type { SharedBuilderConfig } from '@modern-js/builder-shared'; function getCommonBuildConfig(cwd: string): SharedBuilderConfig { return { source: { exclude: [path.resolve(cwd, './src/test.js')], }, tools: { // @ts-expect-error rspack: config => { config.target = ['web']; config.builtins.presetEnv = undefined; }, }, }; } test('should throw error when exist syntax errors', async () => { const cwd = path.join(__dirname, 'fixtures/basic'); await expect( build({ cwd, entry: { index: path.resolve(cwd, './src/index.js') }, builderConfig: { ...getCommonBuildConfig(cwd), security: { checkSyntax: true, }, }, }), ).rejects.toThrowError('[Syntax Checker]'); }); test('should not throw error when the file is excluded', async () => { const cwd = path.join(__dirname, 'fixtures/basic'); await expect( build({ cwd, entry: { index: path.resolve(cwd, './src/index.js') }, builderConfig: { ...getCommonBuildConfig(cwd), security: { checkSyntax: { exclude: /src\/test/, }, }, }, }), ).resolves.toBeTruthy(); }); test('should not throw error when the targets are support es6', async () => { const cwd = path.join(__dirname, 'fixtures/basic'); await expect( build({ cwd, entry: { index: path.resolve(cwd, './src/index.js') }, builderConfig: { ...getCommonBuildConfig(cwd), security: { checkSyntax: { targets: ['chrome >= 60', 'edge >= 15'], }, }, }, }), ).resolves.toBeTruthy(); }); test('should throw error when using optional chaining and target is es6 browsers', async () => { const cwd = path.join(__dirname, 'fixtures/esnext'); await expect( build({ cwd, entry: { index: path.resolve(cwd, './src/index.js') }, builderConfig: { ...getCommonBuildConfig(cwd), security: { checkSyntax: { targets: ['chrome >= 53'], }, }, }, }), ).rejects.toThrowError('[Syntax Checker]'); }); test('should not throw error when using optional chaining and ecmaVersion is 2020', async () => { const cwd = path.join(__dirname, 'fixtures/esnext'); await expect( build({ cwd, entry: { index: path.resolve(cwd, './src/index.js') }, builderConfig: { ...getCommonBuildConfig(cwd), security: { checkSyntax: { ecmaVersion: 2020, }, }, }, }), ).resolves.toBeTruthy(); });