Files
NapCatQQ/.pnpm-store/v3/files/f0/4305b1aaf88fb70c6c707fe0cf347b3bf35e419996095c186ef546026a0abbfce29e77be6b485cd1dc68bf7e654a8d139434113632ca7e5022d8b8b7beacf6
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

33 lines
1.5 KiB
Plaintext

import {getCellId as $2140fb2337097f2d$export$19baff3266315d44} from "./utils.module.js";
import {useGridCell as $1jd6q$useGridCell} from "@react-aria/grid";
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
function $7713593715703b24$export$49571c903d73624c(props, state, ref) {
var _props_node_column;
let { gridCellProps: gridCellProps, isPressed: isPressed } = (0, $1jd6q$useGridCell)(props, state, ref);
let columnKey = (_props_node_column = props.node.column) === null || _props_node_column === void 0 ? void 0 : _props_node_column.key;
if (columnKey != null && state.collection.rowHeaderColumnKeys.has(columnKey)) {
gridCellProps.role = 'rowheader';
gridCellProps.id = (0, $2140fb2337097f2d$export$19baff3266315d44)(state, props.node.parentKey, columnKey);
}
return {
gridCellProps: gridCellProps,
isPressed: isPressed
};
}
export {$7713593715703b24$export$49571c903d73624c as useTableCell};
//# sourceMappingURL=useTableCell.module.js.map