(v1, v2)
| 16894 | } |
| 16895 | |
| 16896 | function ensureListViewColumnState() { |
| 16897 | if (!listViewColumnState) { |
| 16898 | listViewColumnState = getDefaultListViewColumnState(); |
| 16899 | } |
| 16900 | return listViewColumnState; |
| 16901 | } |
| 16902 | |
| 16903 | function listViewColDisplayMode(colId) { |
| 16904 | return colId === 'name' ? '' : 'flex'; |
| 16905 | } |
| 16906 | |
| 16907 | function applyListViewColumnToElement(el, colId) { |
| 16908 | if (!el || !colId) return; |
| 16909 | const state = ensureListViewColumnState(); |
| 16910 | const def = LIST_VIEW_COLUMN_DEFS.find(c => c.id === colId); |
| 16911 | if (!def) return; |
| 16912 | const visible = state.visibility[colId] !== false; |
no outgoing calls
no test coverage detected