diff --git a/src/SortableList/store/listDataReducer.test.ts b/src/SortableList/store/listDataReducer.test.ts index 8f52eeef..2a249345 100644 --- a/src/SortableList/store/listDataReducer.test.ts +++ b/src/SortableList/store/listDataReducer.test.ts @@ -1,16 +1,16 @@ import { listDataReducer } from './listDataReducer'; const listData = [ - { id: '1', title: '序号', dataIndex: 'indexBorder' }, + { id: 1, title: '序号', dataIndex: 'indexBorder' }, { - id: '2', + id: 2, title: '授权企业名称', dataIndex: 'text', }, - { id: '3', title: '被授权企业', dataIndex: 'select' }, + { id: 3, title: '被授权企业', dataIndex: 'select' }, ]; -const newItem = { id: '4', title: '邮箱', dataIndex: 'text' }; +const newItem = { id: 4, title: '邮箱', dataIndex: 'text' }; describe('listDataReducer', () => { describe('moveItem', () => { @@ -27,13 +27,13 @@ describe('listDataReducer', () => { describe('addItem', () => { it('添加一项到末尾', () => { const listData = [ - { id: '1', title: '序号', dataIndex: 'indexBorder' }, + { id: 1, title: '序号', dataIndex: 'indexBorder' }, { - id: '2', + id: 2, title: '授权企业名称', dataIndex: 'text', }, - { id: '3', title: '被授权企业', dataIndex: 'select' }, + { id: 3, title: '被授权企业', dataIndex: 'select' }, ]; const data = listDataReducer(listData, { @@ -46,13 +46,13 @@ describe('listDataReducer', () => { it('添加一项到任意位置', () => { const listData = [ - { id: '1', title: '序号', dataIndex: 'indexBorder' }, + { id: 1, title: '序号', dataIndex: 'indexBorder' }, { - id: '2', + id: 2, title: '授权企业名称', dataIndex: 'text', }, - { id: '3', title: '被授权企业', dataIndex: 'select' }, + { id: 3, title: '被授权企业', dataIndex: 'select' }, ]; const data = listDataReducer(listData, { diff --git a/src/SortableList/utils/index.tsx b/src/SortableList/utils/index.tsx index ac3c52bf..3414838f 100644 --- a/src/SortableList/utils/index.tsx +++ b/src/SortableList/utils/index.tsx @@ -1,6 +1,6 @@ import type { UniqueIdentifier } from '@dnd-kit/core'; import isEqual from 'lodash.isequal'; -import React from 'react'; +import { useEffect, useState } from 'react'; import type { SortableItemList } from '../type'; const defaultInitializer = (index: number) => index; @@ -52,8 +52,8 @@ export function move(array: T[], moveIndex: number, toIndex: number) { } export const useLatest = (props: any) => { - const [state, setState] = React.useState(props); - React.useEffect(() => { + const [state, setState] = useState(props); + useEffect(() => { if (!isEqual(props, state)) { setState(props); } diff --git a/tests/__snapshots__/demo.test.tsx.snap b/tests/__snapshots__/demo.test.tsx.snap index 5698f6c3..8523c413 100644 --- a/tests/__snapshots__/demo.test.tsx.snap +++ b/tests/__snapshots__/demo.test.tsx.snap @@ -2331,16 +2331,6 @@ exports[` > renders expand.tsx correctly 1`] = ` exports[` > renders actions.tsx correctly 1`] = ` .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.emotion-1 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -2355,7 +2345,7 @@ exports[` > renders actions.tsx correctly 1`] = ` gap: 4px; } -.emotion-2 { +.emotion-1 { -webkit-flex: 1; -ms-flex: 1; flex: 1; @@ -2368,6 +2358,16 @@ exports[` > renders actions.tsx correctly 1`] = ` padding-left: 8px; } +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + .emotion-5 { list-style: none; display: grid; @@ -2459,10 +2459,6 @@ exports[` > renders actions.tsx correctly 1`] = ` box-shadow: 0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15); } -.emotion-7:hover .studio-sortable-list-item-actions { - opacity: 1; -} - .emotion-8 { display: -webkit-box; display: -webkit-flex; @@ -2482,38 +2478,16 @@ exports[` > renders actions.tsx correctly 1`] = ` width: 100%; } -.emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -} - -.emotion-11 { - position: absolute; - top: 0; - left: 0; -} - -.emotion-11 .studio-btn.studio-btn-sm.studio-btn-icon-only { - width: 14px; - height: 24px; -} - -.emotion-11 .studio-btn.studio-btn-sm.studio-btn-icon-only>svg { - width: 14px; +.emotion-9:hover .studio-column-list-item-actions { + opacity: 1; } -.emotion-12 { +.emotion-10 { z-index: 10; color: hsla(0, 0, 0, 0.45); opacity: 0; -} - -.emotion-13 { + position: absolute; + left: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -2530,16 +2504,16 @@ exports[` > renders actions.tsx correctly 1`] = ` transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1); } -.emotion-13:hover { +.emotion-10:hover { color: rgba(0, 0, 0, 0.88)!important; } -.emotion-13:active { +.emotion-10:active { scale: 0.8; color: rgba(0, 0, 0, 0.88); } -.emotion-14 { +.emotion-11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -2551,25 +2525,30 @@ exports[` > renders actions.tsx correctly 1`] = ` gap: 4px; } -.emotion-15 { +.emotion-12 { -webkit-flex: 1; -ms-flex: 1; flex: 1; - height: 24px; font-size: 12px; border-radius: 2px; min-width: 48px; } -.emotion-16 { +.emotion-13 { padding-left: 13px; } -.emotion-17 .studio-select-selector { +.emotion-14 .studio-select-selector { padding-left: 13px; } -.emotion-21 { +.emotion-17 { + z-index: 10; + color: hsla(0, 0, 0, 0.45); + opacity: 0; +} + +.emotion-18 { position: absolute; top: 1px; right: 1px; @@ -2582,11 +2561,33 @@ exports[` > renders actions.tsx correctly 1`] = ` backdrop-filter: blur(5px); } -.emotion-21 .tech-studio-actionicon-icon { - height: 22px; +.emotion-19 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1); + transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1); +} + +.emotion-19:hover { + color: rgba(0, 0, 0, 0.88)!important; +} + +.emotion-19:active { + scale: 0.8; + color: rgba(0, 0, 0, 0.88); } -.emotion-60 { +.emotion-51 { height: 24px; padding-block: 2px; margin-top: 4px; @@ -2595,13 +2596,13 @@ exports[` > renders actions.tsx correctly 1`] = ` border-color: transparent; } -.emotion-60:hover { +.emotion-51:hover { color: rgba(0, 0, 0, 0.88)!important; background: rgba(0, 0, 0, 0.06)!important; border-color: transparent!important; } -.emotion-60:focus { +.emotion-51:focus { color: rgba(0, 0, 0, 0.65); background: rgba(0, 0, 0, 0.02); border-color: transparent; @@ -2610,27 +2611,27 @@ exports[` > renders actions.tsx correctly 1`] = `
-
- 列标题 -
-
- 值类型 -
-
- 字段 -
+ 列标题 +
+
+ 值类型 +
+
+ 字段
+
+
    > renders actions.tsx correctly 1`] = ` aria-roledescription="sortable" class="studio-sortable-list-item emotion-7 studio-sortable-list-item-withHandle" data-cypress="draggable-item" - data-id="1" + data-id="columnlist_0_6051_1693138235086" data-index="0" role="button" + style="background-color: rgb(255, 255, 255);" >
    -
    - -
    + + + +
    > renders actions.tsx correctly 1`] = ` value="序号" />
    > renders actions.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -2749,36 +2747,9 @@ exports[` > renders actions.tsx correctly 1`] = ` -
    > renders actions.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -2838,40 +2808,13 @@ exports[` > renders actions.tsx correctly 1`] = ` -
    -
    + + + +
    > renders actions.tsx correctly 1`] = ` value="授权企业名称" />
    > renders actions.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -3047,36 +2987,9 @@ exports[` > renders actions.tsx correctly 1`] = ` -
    > renders actions.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -3136,49 +3048,22 @@ exports[` > renders actions.tsx correctly 1`] = ` +
    +
    +
    +
    -
    -
    - -
    + + + +
    > renders actions.tsx correctly 1`] = ` value="被授权企业" />
    > renders actions.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -3345,36 +3227,9 @@ exports[` > renders actions.tsx correctly 1`] = ` -
    > renders actions.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -3434,40 +3288,13 @@ exports[` > renders actions.tsx correctly 1`] = ` -
- +
`; exports[` > renders column.tsx correctly 1`] = ` .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.emotion-1 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3614,7 +3431,7 @@ exports[` > renders column.tsx correctly 1`] = ` gap: 4px; } -.emotion-2 { +.emotion-1 { -webkit-flex: 1; -ms-flex: 1; flex: 1; @@ -3628,6 +3445,16 @@ exports[` > renders column.tsx correctly 1`] = ` } .emotion-5 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-6 { list-style: none; display: grid; grid-auto-rows: max-content; @@ -3641,7 +3468,7 @@ exports[` > renders column.tsx correctly 1`] = ` transition: background-color 350ms ease; } -.emotion-6 { +.emotion-7 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3655,11 +3482,11 @@ exports[` > renders column.tsx correctly 1`] = ` touch-action: manipulation; } -.emotion-6:not(:last-child) { +.emotion-7:not(:last-child) { margin-bottom: 2px; } -.emotion-7 { +.emotion-8 { position: relative; display: -webkit-box; display: -webkit-flex; @@ -3694,11 +3521,11 @@ exports[` > renders column.tsx correctly 1`] = ` -webkit-tap-highlight-color: transparent; } -.emotion-7:focus-visible { +.emotion-8:focus-visible { box-shadow: 0 0 4px 1px #4c9ffe,0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15); } -.emotion-7:not(.studio-sortable-list-item-withHandle) { +.emotion-8:not(.studio-sortable-list-item-withHandle) { cursor: -webkit-grab; cursor: grab; -webkit-user-select: none; @@ -3709,20 +3536,16 @@ exports[` > renders column.tsx correctly 1`] = ` touch-action: none; } -.emotion-7-dragging:not(.studio-sortable-list-item-dragOverlay) { +.emotion-8-dragging:not(.studio-sortable-list-item-dragOverlay) { z-index: 0; opacity: var(--dragging-opacity, 0.5); } -.emotion-7-dragging:not(.studio-sortable-list-item-dragOverlay):focus { +.emotion-8-dragging:not(.studio-sortable-list-item-dragOverlay):focus { box-shadow: 0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15); } -.emotion-7:hover .studio-sortable-list-item-actions { - opacity: 1; -} - -.emotion-8 { +.emotion-9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3736,43 +3559,21 @@ exports[` > renders column.tsx correctly 1`] = ` align-items: center; } -.emotion-9 { +.emotion-10 { position: relative; width: 100%; } -.emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; +.emotion-10:hover .studio-column-list-item-actions { + opacity: 1; } .emotion-11 { - position: absolute; - top: 0; - left: 0; -} - -.emotion-11 .studio-btn.studio-btn-sm.studio-btn-icon-only { - width: 14px; - height: 24px; -} - -.emotion-11 .studio-btn.studio-btn-sm.studio-btn-icon-only>svg { - width: 14px; -} - -.emotion-12 { z-index: 10; color: hsla(0, 0, 0, 0.45); opacity: 0; -} - -.emotion-13 { + position: absolute; + left: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3789,16 +3590,16 @@ exports[` > renders column.tsx correctly 1`] = ` transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1); } -.emotion-13:hover { +.emotion-11:hover { color: rgba(0, 0, 0, 0.88)!important; } -.emotion-13:active { +.emotion-11:active { scale: 0.8; color: rgba(0, 0, 0, 0.88); } -.emotion-14 { +.emotion-12 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3810,25 +3611,30 @@ exports[` > renders column.tsx correctly 1`] = ` gap: 4px; } -.emotion-15 { +.emotion-13 { -webkit-flex: 1; -ms-flex: 1; flex: 1; - height: 24px; font-size: 12px; border-radius: 2px; min-width: 48px; } -.emotion-16 { +.emotion-14 { padding-left: 13px; } -.emotion-17 .studio-select-selector { +.emotion-15 .studio-select-selector { padding-left: 13px; } -.emotion-21 { +.emotion-18 { + z-index: 10; + color: hsla(0, 0, 0, 0.45); + opacity: 0; +} + +.emotion-19 { position: absolute; top: 1px; right: 1px; @@ -3841,12 +3647,34 @@ exports[` > renders column.tsx correctly 1`] = ` backdrop-filter: blur(5px); } -.emotion-21 .tech-studio-actionicon-icon { - height: 22px; +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1); + transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1); } -.emotion-176 { - height: 24px; +.emotion-20:hover { + color: rgba(0, 0, 0, 0.88)!important; +} + +.emotion-20:active { + scale: 0.8; + color: rgba(0, 0, 0, 0.88); +} + +.emotion-147 { + height: 24px; padding-block: 2px; margin-top: 4px; color: rgba(0, 0, 0, 0.65); @@ -3854,13 +3682,13 @@ exports[` > renders column.tsx correctly 1`] = ` border-color: transparent; } -.emotion-176:hover { +.emotion-147:hover { color: rgba(0, 0, 0, 0.88)!important; background: rgba(0, 0, 0, 0.06)!important; border-color: transparent!important; } -.emotion-176:focus { +.emotion-147:focus { color: rgba(0, 0, 0, 0.65); background: rgba(0, 0, 0, 0.02); border-color: transparent; @@ -3869,33 +3697,38 @@ exports[` > renders column.tsx correctly 1`] = `
-
- 列标题 -
-
- 值类型 -
-
- 字段 -
+ 列标题 +
+
+ 值类型 +
+
+ 字段 +
+
+ 颜色
+
+
  • @@ -3903,53 +3736,51 @@ exports[` > renders column.tsx correctly 1`] = ` aria-describedby="DndDescribedBy-4" aria-disabled="false" aria-roledescription="sortable" - class="studio-sortable-list-item emotion-7 studio-sortable-list-item-withHandle" + class="studio-sortable-list-item emotion-8 studio-sortable-list-item-withHandle" data-cypress="draggable-item" - data-id="1" + data-id="columnlist_0_3951_1693138233410" data-index="0" role="button" + style="background-color: rgb(255, 255, 255);" >
    -
    - -
    + + + +
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -4008,37 +3838,10 @@ exports[` > renders column.tsx correctly 1`] = ` -
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -4097,40 +3899,30 @@ exports[` > renders column.tsx correctly 1`] = ` -
  • @@ -4172,53 +3964,51 @@ exports[` > renders column.tsx correctly 1`] = ` aria-describedby="DndDescribedBy-4" aria-disabled="false" aria-roledescription="sortable" - class="studio-sortable-list-item emotion-7 studio-sortable-list-item-withHandle" + class="studio-sortable-list-item emotion-8 studio-sortable-list-item-withHandle" data-cypress="draggable-item" - data-id="2" + data-id="columnlist_1_4108_1693138233410" data-index="1" role="button" + style="background-color: rgb(255, 255, 255);" >
    -
    - -
    + + + +
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -4277,37 +4066,10 @@ exports[` > renders column.tsx correctly 1`] = ` -
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -4366,40 +4127,30 @@ exports[` > renders column.tsx correctly 1`] = ` -
  • @@ -4441,53 +4192,51 @@ exports[` > renders column.tsx correctly 1`] = ` aria-describedby="DndDescribedBy-4" aria-disabled="false" aria-roledescription="sortable" - class="studio-sortable-list-item emotion-7 studio-sortable-list-item-withHandle" + class="studio-sortable-list-item emotion-8 studio-sortable-list-item-withHandle" data-cypress="draggable-item" - data-id="3" + data-id="columnlist_2_1704_1693138233410" data-index="2" role="button" + style="background-color: rgb(255, 255, 255);" >
    -
    - -
    + + + +
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -4546,37 +4294,10 @@ exports[` > renders column.tsx correctly 1`] = ` -
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -4635,40 +4355,30 @@ exports[` > renders column.tsx correctly 1`] = ` -
  • @@ -4710,53 +4420,51 @@ exports[` > renders column.tsx correctly 1`] = ` aria-describedby="DndDescribedBy-4" aria-disabled="false" aria-roledescription="sortable" - class="studio-sortable-list-item emotion-7 studio-sortable-list-item-withHandle" + class="studio-sortable-list-item emotion-8 studio-sortable-list-item-withHandle" data-cypress="draggable-item" - data-id="4" + data-id="columnlist_3_2482_1693138233410" data-index="3" role="button" + style="background-color: rgb(255, 255, 255);" >
    -
    - -
    + + + +
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -4815,37 +4522,10 @@ exports[` > renders column.tsx correctly 1`] = ` -
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -4904,40 +4583,30 @@ exports[` > renders column.tsx correctly 1`] = ` -
  • @@ -4979,53 +4648,51 @@ exports[` > renders column.tsx correctly 1`] = ` aria-describedby="DndDescribedBy-4" aria-disabled="false" aria-roledescription="sortable" - class="studio-sortable-list-item emotion-7 studio-sortable-list-item-withHandle" + class="studio-sortable-list-item emotion-8 studio-sortable-list-item-withHandle" data-cypress="draggable-item" - data-id="5" + data-id="columnlist_4_8776_1693138233410" data-index="4" role="button" + style="background-color: rgb(255, 255, 255);" >
    -
    - -
    + + + +
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -5084,37 +4750,10 @@ exports[` > renders column.tsx correctly 1`] = ` -
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -5173,40 +4811,30 @@ exports[` > renders column.tsx correctly 1`] = ` -
  • @@ -5248,53 +4876,51 @@ exports[` > renders column.tsx correctly 1`] = ` aria-describedby="DndDescribedBy-4" aria-disabled="false" aria-roledescription="sortable" - class="studio-sortable-list-item emotion-7 studio-sortable-list-item-withHandle" + class="studio-sortable-list-item emotion-8 studio-sortable-list-item-withHandle" data-cypress="draggable-item" - data-id="6" + data-id="columnlist_5_8316_1693138233410" data-index="5" role="button" + style="background-color: rgb(255, 255, 255);" >
    -
    - -
    -
    + + + +
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -5353,37 +4978,10 @@ exports[` > renders column.tsx correctly 1`] = ` -
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -5442,40 +5039,30 @@ exports[` > renders column.tsx correctly 1`] = ` -
  • @@ -5517,53 +5104,51 @@ exports[` > renders column.tsx correctly 1`] = ` aria-describedby="DndDescribedBy-4" aria-disabled="false" aria-roledescription="sortable" - class="studio-sortable-list-item emotion-7 studio-sortable-list-item-withHandle" + class="studio-sortable-list-item emotion-8 studio-sortable-list-item-withHandle" data-cypress="draggable-item" - data-id="7" + data-id="columnlist_6_8076_1693138233410" data-index="6" role="button" + style="background-color: rgb(255, 255, 255);" >
    -
    - -
    + + + +
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -5622,37 +5206,10 @@ exports[` > renders column.tsx correctly 1`] = ` -
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -5711,40 +5267,30 @@ exports[` > renders column.tsx correctly 1`] = ` -
  • @@ -5786,53 +5332,51 @@ exports[` > renders column.tsx correctly 1`] = ` aria-describedby="DndDescribedBy-4" aria-disabled="false" aria-roledescription="sortable" - class="studio-sortable-list-item emotion-7 studio-sortable-list-item-withHandle" + class="studio-sortable-list-item emotion-8 studio-sortable-list-item-withHandle" data-cypress="draggable-item" - data-id="8" + data-id="columnlist_7_3479_1693138233410" data-index="7" role="button" + style="background-color: rgb(255, 255, 255);" >
    -
    - -
    + + + +
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -5891,37 +5434,10 @@ exports[` > renders column.tsx correctly 1`] = ` -
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -5980,40 +5495,30 @@ exports[` > renders column.tsx correctly 1`] = ` -
  • @@ -6055,53 +5560,51 @@ exports[` > renders column.tsx correctly 1`] = ` aria-describedby="DndDescribedBy-4" aria-disabled="false" aria-roledescription="sortable" - class="studio-sortable-list-item emotion-7 studio-sortable-list-item-withHandle" + class="studio-sortable-list-item emotion-8 studio-sortable-list-item-withHandle" data-cypress="draggable-item" - data-id="9" + data-id="columnlist_8_3077_1693138233410" data-index="8" role="button" + style="background-color: rgb(255, 255, 255);" >
    -
    - -
    + + + +
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -6160,37 +5662,10 @@ exports[` > renders column.tsx correctly 1`] = ` -
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -6249,40 +5723,30 @@ exports[` > renders column.tsx correctly 1`] = ` -
  • @@ -6324,53 +5788,51 @@ exports[` > renders column.tsx correctly 1`] = ` aria-describedby="DndDescribedBy-4" aria-disabled="false" aria-roledescription="sortable" - class="studio-sortable-list-item emotion-7 studio-sortable-list-item-withHandle" + class="studio-sortable-list-item emotion-8 studio-sortable-list-item-withHandle" data-cypress="draggable-item" - data-id="10" + data-id="columnlist_9_4590_1693138233410" data-index="9" role="button" + style="background-color: rgb(255, 255, 255);" >
    -
    - -
    + + + +
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -6429,37 +5890,10 @@ exports[` > renders column.tsx correctly 1`] = ` -
    > renders column.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -6518,40 +5951,30 @@ exports[` > renders column.tsx correctly 1`] = ` -
- +
`; exports[` > renders controlled.tsx correctly 1`] = ` .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.emotion-1 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -6669,7 +6082,7 @@ exports[` > renders controlled.tsx correctly 1`] = ` gap: 4px; } -.emotion-2 { +.emotion-1 { -webkit-flex: 1; -ms-flex: 1; flex: 1; @@ -6682,6 +6095,16 @@ exports[` > renders controlled.tsx correctly 1`] = ` padding-left: 8px; } +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + .emotion-5 { list-style: none; display: grid; @@ -6773,10 +6196,6 @@ exports[` > renders controlled.tsx correctly 1`] = ` box-shadow: 0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15); } -.emotion-7:hover .studio-sortable-list-item-actions { - opacity: 1; -} - .emotion-8 { display: -webkit-box; display: -webkit-flex; @@ -6796,38 +6215,16 @@ exports[` > renders controlled.tsx correctly 1`] = ` width: 100%; } +.emotion-9:hover .studio-column-list-item-actions { + opacity: 1; +} + .emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -} - -.emotion-11 { - position: absolute; - top: 0; - left: 0; -} - -.emotion-11 .studio-btn.studio-btn-sm.studio-btn-icon-only { - width: 14px; - height: 24px; -} - -.emotion-11 .studio-btn.studio-btn-sm.studio-btn-icon-only>svg { - width: 14px; -} - -.emotion-12 { - z-index: 10; - color: hsla(0, 0, 0, 0.45); - opacity: 0; -} - -.emotion-13 { + z-index: 10; + color: hsla(0, 0, 0, 0.45); + opacity: 0; + position: absolute; + left: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -6844,16 +6241,16 @@ exports[` > renders controlled.tsx correctly 1`] = ` transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1); } -.emotion-13:hover { +.emotion-10:hover { color: rgba(0, 0, 0, 0.88)!important; } -.emotion-13:active { +.emotion-10:active { scale: 0.8; color: rgba(0, 0, 0, 0.88); } -.emotion-14 { +.emotion-11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -6865,25 +6262,30 @@ exports[` > renders controlled.tsx correctly 1`] = ` gap: 4px; } -.emotion-15 { +.emotion-12 { -webkit-flex: 1; -ms-flex: 1; flex: 1; - height: 24px; font-size: 12px; border-radius: 2px; min-width: 48px; } -.emotion-16 { +.emotion-13 { padding-left: 13px; } -.emotion-17 .studio-select-selector { +.emotion-14 .studio-select-selector { padding-left: 13px; } -.emotion-21 { +.emotion-17 { + z-index: 10; + color: hsla(0, 0, 0, 0.45); + opacity: 0; +} + +.emotion-18 { position: absolute; top: 1px; right: 1px; @@ -6896,11 +6298,33 @@ exports[` > renders controlled.tsx correctly 1`] = ` backdrop-filter: blur(5px); } -.emotion-21 .tech-studio-actionicon-icon { - height: 22px; +.emotion-19 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1); + transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1); +} + +.emotion-19:hover { + color: rgba(0, 0, 0, 0.88)!important; +} + +.emotion-19:active { + scale: 0.8; + color: rgba(0, 0, 0, 0.88); } -.emotion-57 { +.emotion-48 { height: 24px; padding-block: 2px; margin-top: 4px; @@ -6909,13 +6333,13 @@ exports[` > renders controlled.tsx correctly 1`] = ` border-color: transparent; } -.emotion-57:hover { +.emotion-48:hover { color: rgba(0, 0, 0, 0.88)!important; background: rgba(0, 0, 0, 0.06)!important; border-color: transparent!important; } -.emotion-57:focus { +.emotion-48:focus { color: rgba(0, 0, 0, 0.65); background: rgba(0, 0, 0, 0.02); border-color: transparent; @@ -6924,27 +6348,27 @@ exports[` > renders controlled.tsx correctly 1`] = `
-
- 列标题 -
-
- 值类型 -
-
- 字段 -
+ 列标题 +
+
+ 值类型 +
+
+ 字段
+
+
    > renders controlled.tsx correctly 1`] = ` aria-roledescription="sortable" class="studio-sortable-list-item emotion-7 studio-sortable-list-item-withHandle" data-cypress="draggable-item" - data-id="1" + data-id="columnlist_0_7993_1693138232898" data-index="0" role="button" + style="background-color: rgb(255, 255, 255);" >
    -
    - -
    + + + +
    > renders controlled.tsx correctly 1`] = ` value="序号" />
    > renders controlled.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -7063,36 +6484,9 @@ exports[` > renders controlled.tsx correctly 1`] = ` -
    > renders controlled.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -7152,40 +6545,13 @@ exports[` > renders controlled.tsx correctly 1`] = ` -
    -
    + + + +
    > renders controlled.tsx correctly 1`] = ` value="授权企业名称" />
    > renders controlled.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -7332,36 +6695,9 @@ exports[` > renders controlled.tsx correctly 1`] = ` -
    > renders controlled.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -7421,40 +6756,13 @@ exports[` > renders controlled.tsx correctly 1`] = ` -
    -
    + + + +
    > renders controlled.tsx correctly 1`] = ` value="被授权企业" />
    > renders controlled.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -7601,36 +6906,9 @@ exports[` > renders controlled.tsx correctly 1`] = ` -
    > renders controlled.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -7690,40 +6967,13 @@ exports[` > renders controlled.tsx correctly 1`] = ` -
- +
`; exports[` > renders custom.tsx correctly 1`] = ` .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.emotion-1 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -7841,7 +7081,7 @@ exports[` > renders custom.tsx correctly 1`] = ` gap: 4px; } -.emotion-2 { +.emotion-1 { -webkit-flex: 1; -ms-flex: 1; flex: 1; @@ -7854,6 +7094,16 @@ exports[` > renders custom.tsx correctly 1`] = ` padding-left: 8px; } +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + .emotion-5 { list-style: none; display: grid; @@ -7945,10 +7195,6 @@ exports[` > renders custom.tsx correctly 1`] = ` box-shadow: 0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15); } -.emotion-7:hover .studio-sortable-list-item-actions { - opacity: 1; -} - .emotion-8 { display: -webkit-box; display: -webkit-flex; @@ -7968,38 +7214,16 @@ exports[` > renders custom.tsx correctly 1`] = ` width: 100%; } -.emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -} - -.emotion-11 { - position: absolute; - top: 0; - left: 0; -} - -.emotion-11 .studio-btn.studio-btn-sm.studio-btn-icon-only { - width: 14px; - height: 24px; -} - -.emotion-11 .studio-btn.studio-btn-sm.studio-btn-icon-only>svg { - width: 14px; +.emotion-9:hover .studio-column-list-item-actions { + opacity: 1; } -.emotion-12 { +.emotion-10 { z-index: 10; color: hsla(0, 0, 0, 0.45); opacity: 0; -} - -.emotion-13 { + position: absolute; + left: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -8016,16 +7240,16 @@ exports[` > renders custom.tsx correctly 1`] = ` transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1); } -.emotion-13:hover { +.emotion-10:hover { color: rgba(0, 0, 0, 0.88)!important; } -.emotion-13:active { +.emotion-10:active { scale: 0.8; color: rgba(0, 0, 0, 0.88); } -.emotion-14 { +.emotion-11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -8037,25 +7261,30 @@ exports[` > renders custom.tsx correctly 1`] = ` gap: 4px; } -.emotion-15 { +.emotion-12 { -webkit-flex: 1; -ms-flex: 1; flex: 1; - height: 24px; font-size: 12px; border-radius: 2px; min-width: 48px; } -.emotion-16 { +.emotion-13 { padding-left: 13px; } -.emotion-17 .studio-select-selector { +.emotion-14 .studio-select-selector { padding-left: 13px; } -.emotion-21 { +.emotion-17 { + z-index: 10; + color: hsla(0, 0, 0, 0.45); + opacity: 0; +} + +.emotion-18 { position: absolute; top: 1px; right: 1px; @@ -8068,11 +7297,33 @@ exports[` > renders custom.tsx correctly 1`] = ` backdrop-filter: blur(5px); } -.emotion-21 .tech-studio-actionicon-icon { - height: 22px; +.emotion-19 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1); + transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1); +} + +.emotion-19:hover { + color: rgba(0, 0, 0, 0.88)!important; +} + +.emotion-19:active { + scale: 0.8; + color: rgba(0, 0, 0, 0.88); } -.emotion-176 { +.emotion-146 { height: 24px; padding-block: 2px; margin-top: 4px; @@ -8081,13 +7332,13 @@ exports[` > renders custom.tsx correctly 1`] = ` border-color: transparent; } -.emotion-176:hover { +.emotion-146:hover { color: rgba(0, 0, 0, 0.88)!important; background: rgba(0, 0, 0, 0.06)!important; border-color: transparent!important; } -.emotion-176:focus { +.emotion-146:focus { color: rgba(0, 0, 0, 0.65); background: rgba(0, 0, 0, 0.02); border-color: transparent; @@ -8096,27 +7347,27 @@ exports[` > renders custom.tsx correctly 1`] = `
-
- 列标题 -
-
- 值类型 -
-
- 字段 -
+ 列标题 +
+
+ 值类型 +
+
+ 字段
+
+
    > renders custom.tsx correctly 1`] = ` aria-roledescription="sortable" class="studio-sortable-list-item emotion-7 studio-sortable-list-item-withHandle" data-cypress="draggable-item" - data-id="1" + data-id="columnlist_0_5692_1693138231510" data-index="0" role="button" + style="background-color: rgb(255, 255, 255);" >
    -
    - -
    + + + +
    > renders custom.tsx correctly 1`] = ` value="订单id" />
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -8235,36 +7483,9 @@ exports[` > renders custom.tsx correctly 1`] = ` -
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -8324,40 +7544,13 @@ exports[` > renders custom.tsx correctly 1`] = ` -
    -
    + + + +
    > renders custom.tsx correctly 1`] = ` value="订单号" />
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -8504,36 +7694,9 @@ exports[` > renders custom.tsx correctly 1`] = ` -
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -8593,40 +7755,13 @@ exports[` > renders custom.tsx correctly 1`] = ` -
    -
    + + + +
    > renders custom.tsx correctly 1`] = ` value="订单金额" />
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -8773,36 +7905,9 @@ exports[` > renders custom.tsx correctly 1`] = ` -
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -8862,40 +7966,13 @@ exports[` > renders custom.tsx correctly 1`] = ` -
    -
    + + + +
    > renders custom.tsx correctly 1`] = ` value="产品名称" />
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -9042,36 +8116,9 @@ exports[` > renders custom.tsx correctly 1`] = ` -
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -9131,44 +8177,17 @@ exports[` > renders custom.tsx correctly 1`] = ` - -
    -
    -
    -
    +
    +
    + -
    + + + +
    > renders custom.tsx correctly 1`] = ` value="产品介绍" />
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -9311,36 +8327,9 @@ exports[` > renders custom.tsx correctly 1`] = ` -
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -9400,40 +8388,13 @@ exports[` > renders custom.tsx correctly 1`] = ` -
    -
    + + + +
    > renders custom.tsx correctly 1`] = ` value="订单状态" />
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -9580,36 +8538,9 @@ exports[` > renders custom.tsx correctly 1`] = ` -
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -9669,40 +8599,13 @@ exports[` > renders custom.tsx correctly 1`] = ` -
    -
    + + + +
    > renders custom.tsx correctly 1`] = ` value="订单创建时间" />
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -9849,36 +8749,9 @@ exports[` > renders custom.tsx correctly 1`] = ` -
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -9938,68 +8810,41 @@ exports[` > renders custom.tsx correctly 1`] = ` +
    +
    +
    +
    -
    -
    - +
    @@ -10015,42 +8860,40 @@ exports[` > renders custom.tsx correctly 1`] = ` aria-roledescription="sortable" class="studio-sortable-list-item emotion-7 studio-sortable-list-item-withHandle" data-cypress="draggable-item" - data-id="8" + data-id="columnlist_7_808_1693138231510" data-index="7" role="button" + style="background-color: rgb(255, 255, 255);" >
    -
    - -
    + + + +
    > renders custom.tsx correctly 1`] = ` value="产品详情图" />
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -10118,36 +8960,9 @@ exports[` > renders custom.tsx correctly 1`] = ` -
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -10207,40 +9021,13 @@ exports[` > renders custom.tsx correctly 1`] = ` -
    -
    + + + +
    > renders custom.tsx correctly 1`] = ` value="订单关闭原因" />
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -10387,36 +9171,9 @@ exports[` > renders custom.tsx correctly 1`] = ` -
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -10476,40 +9232,13 @@ exports[` > renders custom.tsx correctly 1`] = ` -
    -
    + + + +
    > renders custom.tsx correctly 1`] = ` value="订单关闭类型" />
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -10656,36 +9382,9 @@ exports[` > renders custom.tsx correctly 1`] = ` -
    > renders custom.tsx correctly 1`] = ` aria-controls="rc_select_TEST_OR_SSR_list" aria-expanded="false" aria-haspopup="listbox" - aria-label="Search" aria-owns="rc_select_TEST_OR_SSR_list" autocomplete="off" class="studio-select-selection-search-input" @@ -10745,63 +9443,36 @@ exports[` > renders custom.tsx correctly 1`] = ` +
    +
    +
    +
    -
    -
    -
- +
`; exports[` > renders empty.tsx correctly 1`] = ` .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.emotion-1 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -10896,7 +9557,7 @@ exports[` > renders empty.tsx correctly 1`] = ` gap: 4px; } -.emotion-2 { +.emotion-1 { -webkit-flex: 1; -ms-flex: 1; flex: 1; @@ -10909,7 +9570,7 @@ exports[` > renders empty.tsx correctly 1`] = ` padding-left: 8px; } -.emotion-5 { +.emotion-4 { height: 24px; padding-block: 2px; margin-top: 4px; @@ -10918,128 +9579,156 @@ exports[` > renders empty.tsx correctly 1`] = ` border-color: transparent; } -.emotion-5:hover { +.emotion-4:hover { color: rgba(0, 0, 0, 0.88)!important; background: rgba(0, 0, 0, 0.06)!important; border-color: transparent!important; } -.emotion-5:focus { +.emotion-4:focus { color: rgba(0, 0, 0, 0.65); background: rgba(0, 0, 0, 0.02); border-color: transparent; border-color: #1677ff!important; } +.emotion-5 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-6 { + list-style: none; + display: grid; + grid-auto-rows: max-content; + grid-gap: 2px; + grid-template-columns: repeat(var(--columns, 1), 1fr); + width: 100%; + margin: 0; + padding: 0; + border-radius: 4px; + -webkit-transition: background-color 350ms ease; + transition: background-color 350ms ease; +} +
-
- 列标题 -
-
- 值类型 -
-
- 字段 -
+ 列标题
-
+
+ 字段 +
+
+
+
+ - + + - + + - - - - - -
-
- No data -
- +
+ No data +
+