"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CSS = exports.arrayMove = exports.useSortable = exports.horizontalListSortingStrategy = exports.verticalListSortingStrategy = exports.SortableContext = exports.closestCenter = exports.DndContext = exports.RowDragPreview = exports.ColumnDragPreview = exports.DraggableColumnHeader = exports.handleRowDragSort = exports.handleColumnDragSort = exports.useDragAndDrop = exports.useDragModifiers = exports.createVerticalAxisModifier = exports.createHorizontalAxisModifier = exports.commitRowOrderLocal = exports.commitColumnOrder = exports.resolvePinnedFieldIds = exports.derivePinnedFieldIdsFromCount = exports.buildPinnedModel = exports.sortRows = exports.sortColumns = exports.toNormalizedSet = exports.findIndexByNormalizedId = exports.isSameId = exports.normalizeId = exports.DRAG_TYPES = exports.ROW_HEIGHTS = exports.getActionColumnWidth = exports.INDEX_COLUMN_WIDTH = exports.DRAG_HANDLE_WIDTH = void 0;
// 常量
var constants_1 = require("./constants");
Object.defineProperty(exports, "DRAG_HANDLE_WIDTH", { enumerable: true, get: function () { return constants_1.DRAG_HANDLE_WIDTH; } });
Object.defineProperty(exports, "INDEX_COLUMN_WIDTH", { enumerable: true, get: function () { return constants_1.INDEX_COLUMN_WIDTH; } });
Object.defineProperty(exports, "getActionColumnWidth", { enumerable: true, get: function () { return constants_1.getActionColumnWidth; } });
Object.defineProperty(exports, "ROW_HEIGHTS", { enumerable: true, get: function () { return constants_1.ROW_HEIGHTS; } });
Object.defineProperty(exports, "DRAG_TYPES", { enumerable: true, get: function () { return constants_1.DRAG_TYPES; } });
// ID 归一化
var drag_identity_1 = require("./drag-identity");
Object.defineProperty(exports, "normalizeId", { enumerable: true, get: function () { return drag_identity_1.normalizeId; } });
Object.defineProperty(exports, "isSameId", { enumerable: true, get: function () { return drag_identity_1.isSameId; } });
Object.defineProperty(exports, "findIndexByNormalizedId", { enumerable: true, get: function () { return drag_identity_1.findIndexByNormalizedId; } });
Object.defineProperty(exports, "toNormalizedSet", { enumerable: true, get: function () { return drag_identity_1.toNormalizedSet; } });
// 纯排序函数（Result 类型）
var drag_sort_1 = require("./drag-sort");
Object.defineProperty(exports, "sortColumns", { enumerable: true, get: function () { return drag_sort_1.sortColumns; } });
Object.defineProperty(exports, "sortRows", { enumerable: true, get: function () { return drag_sort_1.sortRows; } });
// 固定列模型
var drag_pinning_1 = require("./drag-pinning");
Object.defineProperty(exports, "buildPinnedModel", { enumerable: true, get: function () { return drag_pinning_1.buildPinnedModel; } });
Object.defineProperty(exports, "derivePinnedFieldIdsFromCount", { enumerable: true, get: function () { return drag_pinning_1.derivePinnedFieldIdsFromCount; } });
Object.defineProperty(exports, "resolvePinnedFieldIds", { enumerable: true, get: function () { return drag_pinning_1.resolvePinnedFieldIds; } });
// 写回策略
var drag_committers_1 = require("./drag-committers");
Object.defineProperty(exports, "commitColumnOrder", { enumerable: true, get: function () { return drag_committers_1.commitColumnOrder; } });
Object.defineProperty(exports, "commitRowOrderLocal", { enumerable: true, get: function () { return drag_committers_1.commitRowOrderLocal; } });
// Modifiers
var modifiers_1 = require("./modifiers");
Object.defineProperty(exports, "createHorizontalAxisModifier", { enumerable: true, get: function () { return modifiers_1.createHorizontalAxisModifier; } });
Object.defineProperty(exports, "createVerticalAxisModifier", { enumerable: true, get: function () { return modifiers_1.createVerticalAxisModifier; } });
Object.defineProperty(exports, "useDragModifiers", { enumerable: true, get: function () { return modifiers_1.useDragModifiers; } });
// Hook（含兼容包装器 handleColumnDragSort / handleRowDragSort）
var useDragAndDrop_1 = require("./useDragAndDrop");
Object.defineProperty(exports, "useDragAndDrop", { enumerable: true, get: function () { return useDragAndDrop_1.useDragAndDrop; } });
Object.defineProperty(exports, "handleColumnDragSort", { enumerable: true, get: function () { return useDragAndDrop_1.handleColumnDragSort; } });
Object.defineProperty(exports, "handleRowDragSort", { enumerable: true, get: function () { return useDragAndDrop_1.handleRowDragSort; } });
// 组件（DraggableColumnHeaderProps 从组件文件导出）
var DraggableColumnHeader_1 = require("./DraggableColumnHeader");
Object.defineProperty(exports, "DraggableColumnHeader", { enumerable: true, get: function () { return DraggableColumnHeader_1.DraggableColumnHeader; } });
var DragPreview_1 = require("./DragPreview");
Object.defineProperty(exports, "ColumnDragPreview", { enumerable: true, get: function () { return DragPreview_1.ColumnDragPreview; } });
Object.defineProperty(exports, "RowDragPreview", { enumerable: true, get: function () { return DragPreview_1.RowDragPreview; } });
// 重新导出 dnd-kit 常用内容，方便使用
var core_1 = require("@dnd-kit/core");
Object.defineProperty(exports, "DndContext", { enumerable: true, get: function () { return core_1.DndContext; } });
Object.defineProperty(exports, "closestCenter", { enumerable: true, get: function () { return core_1.closestCenter; } });
var sortable_1 = require("@dnd-kit/sortable");
Object.defineProperty(exports, "SortableContext", { enumerable: true, get: function () { return sortable_1.SortableContext; } });
Object.defineProperty(exports, "verticalListSortingStrategy", { enumerable: true, get: function () { return sortable_1.verticalListSortingStrategy; } });
Object.defineProperty(exports, "horizontalListSortingStrategy", { enumerable: true, get: function () { return sortable_1.horizontalListSortingStrategy; } });
Object.defineProperty(exports, "useSortable", { enumerable: true, get: function () { return sortable_1.useSortable; } });
Object.defineProperty(exports, "arrayMove", { enumerable: true, get: function () { return sortable_1.arrayMove; } });
var utilities_1 = require("@dnd-kit/utilities");
Object.defineProperty(exports, "CSS", { enumerable: true, get: function () { return utilities_1.CSS; } });
