@kdcloudjs/table 1.2.1-canary.7 → 1.2.2-canary.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +568 -568
- package/README.md +111 -111
- package/dist/@kdcloudjs/table.css +1 -1
- package/dist/@kdcloudjs/table.css.map +0 -0
- package/dist/@kdcloudjs/table.js +1264 -468
- package/dist/@kdcloudjs/table.js.map +1 -1
- package/dist/@kdcloudjs/table.min.css +1 -1
- package/dist/@kdcloudjs/table.min.js +18 -8
- package/dist/@kdcloudjs/table.min.js.map +1 -1
- package/dist/default-theme.js +0 -0
- package/dist/kd-ui-complete.less +777 -777
- package/dist/kd-ui.less +0 -0
- package/dist/theme.js +0 -0
- package/es/_utils/arrayUtil.d.ts +0 -0
- package/es/_utils/arrayUtil.js +0 -0
- package/es/_utils/devwarning.d.ts +0 -0
- package/es/_utils/devwarning.js +0 -0
- package/es/_utils/formatUtil.d.ts +0 -0
- package/es/_utils/formatUtil.js +0 -0
- package/es/_utils/hooks.d.ts +0 -0
- package/es/_utils/hooks.js +0 -0
- package/es/_utils/index.d.ts +0 -0
- package/es/_utils/index.js +0 -0
- package/es/_utils/numberUtil.d.ts +0 -0
- package/es/_utils/numberUtil.js +0 -0
- package/es/_utils/omit.d.ts +0 -0
- package/es/_utils/omit.js +0 -0
- package/es/_utils/react-children.d.ts +0 -0
- package/es/_utils/react-children.js +0 -0
- package/es/_utils/type.d.ts +0 -0
- package/es/_utils/type.js +0 -0
- package/es/_utils/usePopper.d.ts +0 -0
- package/es/_utils/usePopper.js +0 -0
- package/es/config-provider/ConfigContext.d.ts +0 -0
- package/es/config-provider/ConfigContext.js +0 -0
- package/es/config-provider/compDefaultProps.d.ts +0 -0
- package/es/config-provider/compDefaultProps.js +0 -0
- package/es/config-provider/configProvider.d.ts +0 -0
- package/es/config-provider/configProvider.js +0 -0
- package/es/config-provider/defaultConfig.d.ts +0 -0
- package/es/config-provider/defaultConfig.js +0 -0
- package/es/config-provider/index.d.ts +0 -0
- package/es/config-provider/index.js +0 -0
- package/es/index.d.ts +0 -0
- package/es/index.js +0 -0
- package/es/locale/index.d.ts +0 -0
- package/es/locale/index.js +0 -0
- package/es/locale/locale.d.ts +0 -0
- package/es/locale/locale.js +2 -2
- package/es/locale/zh-CN.d.ts +0 -0
- package/es/locale/zh-CN.js +0 -0
- package/es/style/color/colors.less +1 -1
- package/es/style/core/index.less +1 -1
- package/es/style/core/motion/other.less +27 -27
- package/es/style/core/motion/slide.less +53 -53
- package/es/style/core/motion.less +1 -1
- package/es/style/core/reset.less +185 -185
- package/es/style/css.js +0 -0
- package/es/style/index.css +0 -0
- package/es/style/index.d.ts +0 -0
- package/es/style/index.js +0 -0
- package/es/style/index.less +1 -1
- package/es/style/mixins/index.less +18 -18
- package/es/style/mixins/overlay.less +21 -21
- package/es/style/mixins/reset.less +12 -12
- package/es/style/themes/default.less +445 -445
- package/es/style/themes/index.less +0 -0
- package/es/table/base/calculations.d.ts +0 -0
- package/es/table/base/calculations.js +0 -0
- package/es/table/base/colgroup.d.ts +0 -0
- package/es/table/base/colgroup.js +0 -0
- package/es/table/base/empty.d.ts +0 -0
- package/es/table/base/empty.js +1 -1
- package/es/table/base/globalStyleComponent.d.ts +4 -0
- package/es/table/base/globalStyleComponent.js +24 -0
- package/es/table/base/header.d.ts +0 -0
- package/es/table/base/header.js +0 -0
- package/es/table/base/helpers/SpanManager.d.ts +0 -0
- package/es/table/base/helpers/SpanManager.js +0 -0
- package/es/table/base/helpers/TableDOMUtils.d.ts +0 -0
- package/es/table/base/helpers/TableDOMUtils.js +0 -0
- package/es/table/base/helpers/__test__/SpanManager.test.d.ts +0 -0
- package/es/table/base/helpers/__test__/SpanManager.test.js +0 -0
- package/es/table/base/helpers/__test__/TableDOMUtils.test.d.ts +0 -0
- package/es/table/base/helpers/__test__/TableDOMUtils.test.js +0 -0
- package/es/table/base/helpers/__test__/rowHeightManager.test.d.ts +0 -0
- package/es/table/base/helpers/__test__/rowHeightManager.test.js +0 -0
- package/es/table/base/helpers/getRichVisibleRectsStream.d.ts +0 -0
- package/es/table/base/helpers/getRichVisibleRectsStream.js +0 -0
- package/es/table/base/helpers/rowHeightManager.d.ts +0 -0
- package/es/table/base/helpers/rowHeightManager.js +0 -0
- package/es/table/base/html-table.d.ts +0 -0
- package/es/table/base/html-table.js +0 -0
- package/es/table/base/index.d.ts +0 -0
- package/es/table/base/index.js +0 -0
- package/es/table/base/interfaces.d.ts +0 -0
- package/es/table/base/interfaces.js +0 -0
- package/es/table/base/loading.d.ts +0 -0
- package/es/table/base/loading.js +1 -1
- package/es/table/base/renderTemplates.d.ts +0 -0
- package/es/table/base/renderTemplates.js +11 -11
- package/es/table/base/styles.d.ts +10 -0
- package/es/table/base/styles.js +17 -7
- package/es/table/base/table.d.ts +0 -0
- package/es/table/base/table.js +5 -4
- package/es/table/base/utils.d.ts +0 -0
- package/es/table/base/utils.js +0 -0
- package/es/table/common-views.d.ts +0 -0
- package/es/table/common-views.js +0 -0
- package/es/table/index.d.ts +0 -0
- package/es/table/index.js +0 -0
- package/es/table/interfaces.d.ts +38 -0
- package/es/table/interfaces.js +0 -0
- package/es/table/internals.d.ts +0 -0
- package/es/table/internals.js +0 -0
- package/es/table/pipeline/const.d.ts +3 -0
- package/es/table/pipeline/const.js +3 -0
- package/es/table/pipeline/features/autoFill.d.ts +0 -0
- package/es/table/pipeline/features/autoFill.js +0 -0
- package/es/table/pipeline/features/autoRowSpan.d.ts +0 -0
- package/es/table/pipeline/features/autoRowSpan.js +0 -0
- package/es/table/pipeline/features/buildTree.d.ts +0 -0
- package/es/table/pipeline/features/buildTree.js +0 -0
- package/es/table/pipeline/features/colGroupExtendable.d.ts +0 -0
- package/es/table/pipeline/features/colGroupExtendable.js +0 -0
- package/es/table/pipeline/features/columnDrag.d.ts +0 -0
- package/es/table/pipeline/features/columnDrag.js +0 -0
- package/es/table/pipeline/features/columnFilter.d.ts +0 -0
- package/es/table/pipeline/features/columnFilter.js +0 -0
- package/es/table/pipeline/features/columnHover.d.ts +0 -0
- package/es/table/pipeline/features/columnHover.js +0 -0
- package/es/table/pipeline/features/columnRangeHover.d.ts +0 -0
- package/es/table/pipeline/features/columnRangeHover.js +0 -0
- package/es/table/pipeline/features/columnResizeWidth.d.ts +0 -0
- package/es/table/pipeline/features/columnResizeWidth.js +1 -1
- package/es/table/pipeline/features/contextMenu.d.ts +0 -0
- package/es/table/pipeline/features/contextMenu.js +0 -0
- package/es/table/pipeline/features/featureApi/RowDragApi.d.ts +15 -0
- package/es/table/pipeline/features/featureApi/RowDragApi.js +66 -0
- package/es/table/pipeline/features/featureApi/utils.d.ts +2 -0
- package/es/table/pipeline/features/featureApi/utils.js +10 -0
- package/es/table/pipeline/features/filter/DefaultFilterContent.d.ts +0 -0
- package/es/table/pipeline/features/filter/DefaultFilterContent.js +1 -1
- package/es/table/pipeline/features/filter/DefaultFilterIcon.d.ts +0 -0
- package/es/table/pipeline/features/filter/DefaultFilterIcon.js +0 -0
- package/es/table/pipeline/features/filter/Filter.d.ts +0 -0
- package/es/table/pipeline/features/filter/Filter.js +1 -1
- package/es/table/pipeline/features/filter/FilterPanel.d.ts +0 -0
- package/es/table/pipeline/features/filter/FilterPanel.js +0 -0
- package/es/table/pipeline/features/filter/index.d.ts +0 -0
- package/es/table/pipeline/features/filter/index.js +0 -0
- package/es/table/pipeline/features/filter/util.d.ts +0 -0
- package/es/table/pipeline/features/filter/util.js +0 -0
- package/es/table/pipeline/features/footerDataSource.d.ts +0 -0
- package/es/table/pipeline/features/footerDataSource.js +0 -0
- package/es/table/pipeline/features/index.d.ts +0 -0
- package/es/table/pipeline/features/index.js +0 -0
- package/es/table/pipeline/features/mergeCellHover.d.ts +0 -0
- package/es/table/pipeline/features/mergeCellHover.js +0 -0
- package/es/table/pipeline/features/multiSelect.d.ts +0 -0
- package/es/table/pipeline/features/multiSelect.js +0 -0
- package/es/table/pipeline/features/rangeSelection.d.ts +0 -0
- package/es/table/pipeline/features/rangeSelection.js +0 -0
- package/es/table/pipeline/features/rowDetail.d.ts +0 -0
- package/es/table/pipeline/features/rowDetail.js +1 -1
- package/es/table/pipeline/features/rowDrag.d.ts +10 -12
- package/es/table/pipeline/features/rowDrag.js +485 -191
- package/es/table/pipeline/features/rowGrouping.d.ts +0 -0
- package/es/table/pipeline/features/rowGrouping.js +1 -1
- package/es/table/pipeline/features/singleSelect.d.ts +0 -0
- package/es/table/pipeline/features/singleSelect.js +0 -0
- package/es/table/pipeline/features/sort.d.ts +0 -0
- package/es/table/pipeline/features/sort.js +1 -1
- package/es/table/pipeline/features/tips.d.ts +0 -0
- package/es/table/pipeline/features/tips.js +1 -1
- package/es/table/pipeline/features/treeMode.d.ts +1 -0
- package/es/table/pipeline/features/treeMode.js +25 -9
- package/es/table/pipeline/features/treeSelect.d.ts +0 -0
- package/es/table/pipeline/features/treeSelect.js +0 -0
- package/es/table/pipeline/index.d.ts +0 -0
- package/es/table/pipeline/index.js +0 -0
- package/es/table/pipeline/pipeline.d.ts +3 -0
- package/es/table/pipeline/pipeline.js +23 -1
- package/es/table/pivot/cross-table/buildCrossTable.d.ts +0 -0
- package/es/table/pivot/cross-table/buildCrossTable.js +0 -0
- package/es/table/pivot/cross-table/constants.d.ts +0 -0
- package/es/table/pivot/cross-table/constants.js +0 -0
- package/es/table/pivot/cross-table/cross-table.d.ts +0 -0
- package/es/table/pivot/cross-table/cross-table.js +0 -0
- package/es/table/pivot/cross-table/index.d.ts +0 -0
- package/es/table/pivot/cross-table/index.js +0 -0
- package/es/table/pivot/cross-table/interfaces.d.ts +0 -0
- package/es/table/pivot/cross-table/interfaces.js +0 -0
- package/es/table/pivot/cross-table/internals.d.ts +0 -0
- package/es/table/pivot/cross-table/internals.js +0 -0
- package/es/table/pivot/cross-tree-table/buildCrossTreeTable.d.ts +0 -0
- package/es/table/pivot/cross-tree-table/buildCrossTreeTable.js +0 -0
- package/es/table/pivot/cross-tree-table/cross-tree-table.d.ts +0 -0
- package/es/table/pivot/cross-tree-table/cross-tree-table.js +0 -0
- package/es/table/pivot/cross-tree-table/index.d.ts +0 -0
- package/es/table/pivot/cross-tree-table/index.js +0 -0
- package/es/table/pivot/pivot-utils/buildDrillTree.d.ts +0 -0
- package/es/table/pivot/pivot-utils/buildDrillTree.js +0 -0
- package/es/table/pivot/pivot-utils/builders.d.ts +0 -0
- package/es/table/pivot/pivot-utils/builders.js +0 -0
- package/es/table/pivot/pivot-utils/convert-utils.d.ts +0 -0
- package/es/table/pivot/pivot-utils/convert-utils.js +0 -0
- package/es/table/pivot/pivot-utils/index.d.ts +0 -0
- package/es/table/pivot/pivot-utils/index.js +0 -0
- package/es/table/pivot/pivot-utils/interfaces.d.ts +0 -0
- package/es/table/pivot/pivot-utils/interfaces.js +0 -0
- package/es/table/pivot/pivot-utils/simpleEncode.d.ts +0 -0
- package/es/table/pivot/pivot-utils/simpleEncode.js +0 -0
- package/es/table/style/css.js +0 -0
- package/es/table/style/index.css +0 -0
- package/es/table/style/index.d.ts +0 -0
- package/es/table/style/index.js +0 -0
- package/es/table/style/index.less +1 -1
- package/es/table/transforms/autoRowSpan.d.ts +0 -0
- package/es/table/transforms/autoRowSpan.js +0 -0
- package/es/table/transforms/autoWidth.d.ts +0 -0
- package/es/table/transforms/autoWidth.js +0 -0
- package/es/table/transforms/buildTree.d.ts +0 -0
- package/es/table/transforms/buildTree.js +0 -0
- package/es/table/transforms/columnHover.d.ts +0 -0
- package/es/table/transforms/columnHover.js +0 -0
- package/es/table/transforms/columnRangeHover.d.ts +0 -0
- package/es/table/transforms/columnRangeHover.js +0 -0
- package/es/table/transforms/columnResize.d.ts +0 -0
- package/es/table/transforms/columnResize.js +1 -1
- package/es/table/transforms/flatten.d.ts +0 -0
- package/es/table/transforms/flatten.js +0 -0
- package/es/table/transforms/index.d.ts +0 -0
- package/es/table/transforms/index.js +0 -0
- package/es/table/transforms/orderField.d.ts +0 -0
- package/es/table/transforms/orderField.js +0 -0
- package/es/table/transforms/sort.d.ts +0 -0
- package/es/table/transforms/sort.js +1 -1
- package/es/table/transforms/tips.d.ts +0 -0
- package/es/table/transforms/tips.js +1 -1
- package/es/table/transforms/treeMode.d.ts +0 -0
- package/es/table/transforms/treeMode.js +1 -1
- package/es/table/transforms/visible.d.ts +0 -0
- package/es/table/transforms/visible.js +0 -0
- package/es/table/transforms/warnTransformsDeprecated.d.ts +0 -0
- package/es/table/transforms/warnTransformsDeprecated.js +0 -0
- package/es/table/use/useResizeObserver.d.ts +0 -0
- package/es/table/use/useResizeObserver.js +0 -0
- package/es/table/utils/applyTransforms.d.ts +0 -0
- package/es/table/utils/applyTransforms.js +0 -0
- package/es/table/utils/browserType.d.ts +0 -0
- package/es/table/utils/browserType.js +0 -0
- package/es/table/utils/buildTree.d.ts +0 -0
- package/es/table/utils/buildTree.js +0 -0
- package/es/table/utils/collectNodes.d.ts +0 -0
- package/es/table/utils/collectNodes.js +0 -0
- package/es/table/utils/console.d.ts +0 -0
- package/es/table/utils/console.js +0 -0
- package/es/table/utils/copyToClipboard.d.ts +0 -0
- package/es/table/utils/copyToClipboard.js +0 -0
- package/es/table/utils/element.d.ts +0 -0
- package/es/table/utils/element.js +0 -0
- package/es/table/utils/exportTableAsExcel.d.ts +0 -0
- package/es/table/utils/exportTableAsExcel.js +0 -0
- package/es/table/utils/getTreeDepth.d.ts +0 -0
- package/es/table/utils/getTreeDepth.js +0 -0
- package/es/table/utils/groupBy.d.ts +0 -0
- package/es/table/utils/groupBy.js +0 -0
- package/es/table/utils/index.d.ts +0 -0
- package/es/table/utils/index.js +0 -0
- package/es/table/utils/isGroupColumn.d.ts +0 -0
- package/es/table/utils/isGroupColumn.js +0 -0
- package/es/table/utils/isLeafNode.d.ts +0 -0
- package/es/table/utils/isLeafNode.js +0 -0
- package/es/table/utils/keyCode.d.ts +0 -0
- package/es/table/utils/keyCode.js +0 -0
- package/es/table/utils/layeredFilter.d.ts +0 -0
- package/es/table/utils/layeredFilter.js +0 -0
- package/es/table/utils/layeredSort.d.ts +0 -0
- package/es/table/utils/layeredSort.js +0 -0
- package/es/table/utils/makeRecursiveMapper.d.ts +0 -0
- package/es/table/utils/makeRecursiveMapper.js +0 -0
- package/es/table/utils/mergeCellProps.d.ts +0 -0
- package/es/table/utils/mergeCellProps.js +0 -0
- package/es/table/utils/others.d.ts +0 -0
- package/es/table/utils/others.js +0 -0
- package/es/table/utils/proto.d.ts +0 -0
- package/es/table/utils/proto.js +0 -0
- package/es/table/utils/selectColumn.d.ts +0 -0
- package/es/table/utils/selectColumn.js +0 -0
- package/es/table/utils/smartCompare.d.ts +0 -0
- package/es/table/utils/smartCompare.js +0 -0
- package/es/table/utils/traverseColumn.d.ts +0 -0
- package/es/table/utils/traverseColumn.js +0 -0
- package/es/table/utils/tree-data-helpers/StrictTreeDataHelper.d.ts +0 -0
- package/es/table/utils/tree-data-helpers/StrictTreeDataHelper.js +0 -0
- package/es/table/utils/tree-data-helpers/TreeDataHelper.d.ts +0 -0
- package/es/table/utils/tree-data-helpers/TreeDataHelper.js +0 -0
- package/es/table/utils/uiDegrade.d.ts +0 -0
- package/es/table/utils/uiDegrade.js +0 -0
- package/lib/_utils/arrayUtil.d.ts +0 -0
- package/lib/_utils/arrayUtil.js +0 -0
- package/lib/_utils/devwarning.d.ts +0 -0
- package/lib/_utils/devwarning.js +0 -0
- package/lib/_utils/formatUtil.d.ts +0 -0
- package/lib/_utils/formatUtil.js +0 -0
- package/lib/_utils/hooks.d.ts +0 -0
- package/lib/_utils/hooks.js +0 -0
- package/lib/_utils/index.d.ts +0 -0
- package/lib/_utils/index.js +0 -0
- package/lib/_utils/numberUtil.d.ts +0 -0
- package/lib/_utils/numberUtil.js +0 -0
- package/lib/_utils/omit.d.ts +0 -0
- package/lib/_utils/omit.js +0 -0
- package/lib/_utils/react-children.d.ts +0 -0
- package/lib/_utils/react-children.js +0 -0
- package/lib/_utils/type.d.ts +0 -0
- package/lib/_utils/type.js +0 -0
- package/lib/_utils/usePopper.d.ts +0 -0
- package/lib/_utils/usePopper.js +0 -0
- package/lib/config-provider/ConfigContext.d.ts +0 -0
- package/lib/config-provider/ConfigContext.js +0 -0
- package/lib/config-provider/compDefaultProps.d.ts +0 -0
- package/lib/config-provider/compDefaultProps.js +0 -0
- package/lib/config-provider/configProvider.d.ts +0 -0
- package/lib/config-provider/configProvider.js +0 -0
- package/lib/config-provider/defaultConfig.d.ts +0 -0
- package/lib/config-provider/defaultConfig.js +0 -0
- package/lib/config-provider/index.d.ts +0 -0
- package/lib/config-provider/index.js +0 -0
- package/lib/index.d.ts +0 -0
- package/lib/index.js +0 -0
- package/lib/locale/index.d.ts +0 -0
- package/lib/locale/index.js +0 -0
- package/lib/locale/locale.d.ts +0 -0
- package/lib/locale/locale.js +2 -2
- package/lib/locale/zh-CN.d.ts +0 -0
- package/lib/locale/zh-CN.js +0 -0
- package/lib/style/color/colors.less +1 -1
- package/lib/style/components.less +1 -1
- package/lib/style/core/index.less +1 -1
- package/lib/style/core/motion/other.less +27 -27
- package/lib/style/core/motion/slide.less +53 -53
- package/lib/style/core/motion.less +1 -1
- package/lib/style/core/reset.less +185 -185
- package/lib/style/css.js +0 -0
- package/lib/style/index.css +0 -0
- package/lib/style/index.d.ts +0 -0
- package/lib/style/index.js +0 -0
- package/lib/style/index.less +1 -1
- package/lib/style/mixins/index.less +18 -18
- package/lib/style/mixins/overlay.less +21 -21
- package/lib/style/mixins/reset.less +12 -12
- package/lib/style/themes/default.less +445 -445
- package/lib/style/themes/index.less +0 -0
- package/lib/table/base/calculations.d.ts +0 -0
- package/lib/table/base/calculations.js +0 -0
- package/lib/table/base/colgroup.d.ts +0 -0
- package/lib/table/base/colgroup.js +0 -0
- package/lib/table/base/empty.d.ts +0 -0
- package/lib/table/base/empty.js +1 -1
- package/lib/table/base/globalStyleComponent.d.ts +4 -0
- package/lib/table/base/globalStyleComponent.js +35 -0
- package/lib/table/base/header.d.ts +0 -0
- package/lib/table/base/header.js +0 -0
- package/lib/table/base/helpers/SpanManager.d.ts +0 -0
- package/lib/table/base/helpers/SpanManager.js +0 -0
- package/lib/table/base/helpers/TableDOMUtils.d.ts +0 -0
- package/lib/table/base/helpers/TableDOMUtils.js +0 -0
- package/lib/table/base/helpers/__test__/SpanManager.test.d.ts +0 -0
- package/lib/table/base/helpers/__test__/SpanManager.test.js +0 -0
- package/lib/table/base/helpers/__test__/TableDOMUtils.test.d.ts +0 -0
- package/lib/table/base/helpers/__test__/TableDOMUtils.test.js +0 -0
- package/lib/table/base/helpers/__test__/rowHeightManager.test.d.ts +0 -0
- package/lib/table/base/helpers/__test__/rowHeightManager.test.js +0 -0
- package/lib/table/base/helpers/getRichVisibleRectsStream.d.ts +0 -0
- package/lib/table/base/helpers/getRichVisibleRectsStream.js +0 -0
- package/lib/table/base/helpers/rowHeightManager.d.ts +0 -0
- package/lib/table/base/helpers/rowHeightManager.js +0 -0
- package/lib/table/base/html-table.d.ts +0 -0
- package/lib/table/base/html-table.js +0 -0
- package/lib/table/base/index.d.ts +0 -0
- package/lib/table/base/index.js +0 -0
- package/lib/table/base/interfaces.d.ts +0 -0
- package/lib/table/base/interfaces.js +0 -0
- package/lib/table/base/loading.d.ts +0 -0
- package/lib/table/base/loading.js +1 -1
- package/lib/table/base/renderTemplates.d.ts +0 -0
- package/lib/table/base/renderTemplates.js +11 -11
- package/lib/table/base/styles.d.ts +10 -0
- package/lib/table/base/styles.js +17 -7
- package/lib/table/base/table.d.ts +0 -0
- package/lib/table/base/table.js +5 -4
- package/lib/table/base/utils.d.ts +0 -0
- package/lib/table/base/utils.js +0 -0
- package/lib/table/common-views.d.ts +0 -0
- package/lib/table/common-views.js +0 -0
- package/lib/table/index.d.ts +0 -0
- package/lib/table/index.js +0 -0
- package/lib/table/interfaces.d.ts +38 -0
- package/lib/table/interfaces.js +0 -0
- package/lib/table/internals.d.ts +0 -0
- package/lib/table/internals.js +0 -0
- package/lib/table/pipeline/const.d.ts +3 -0
- package/lib/table/pipeline/const.js +9 -0
- package/lib/table/pipeline/features/autoFill.d.ts +0 -0
- package/lib/table/pipeline/features/autoFill.js +0 -0
- package/lib/table/pipeline/features/autoRowSpan.d.ts +0 -0
- package/lib/table/pipeline/features/autoRowSpan.js +0 -0
- package/lib/table/pipeline/features/buildTree.d.ts +0 -0
- package/lib/table/pipeline/features/buildTree.js +0 -0
- package/lib/table/pipeline/features/colGroupExtendable.d.ts +0 -0
- package/lib/table/pipeline/features/colGroupExtendable.js +0 -0
- package/lib/table/pipeline/features/columnDrag.d.ts +0 -0
- package/lib/table/pipeline/features/columnDrag.js +0 -0
- package/lib/table/pipeline/features/columnFilter.d.ts +0 -0
- package/lib/table/pipeline/features/columnFilter.js +0 -0
- package/lib/table/pipeline/features/columnHover.d.ts +0 -0
- package/lib/table/pipeline/features/columnHover.js +0 -0
- package/lib/table/pipeline/features/columnRangeHover.d.ts +0 -0
- package/lib/table/pipeline/features/columnRangeHover.js +0 -0
- package/lib/table/pipeline/features/columnResizeWidth.d.ts +0 -0
- package/lib/table/pipeline/features/columnResizeWidth.js +1 -1
- package/lib/table/pipeline/features/contextMenu.d.ts +0 -0
- package/lib/table/pipeline/features/contextMenu.js +0 -0
- package/lib/table/pipeline/features/featureApi/RowDragApi.d.ts +15 -0
- package/lib/table/pipeline/features/featureApi/RowDragApi.js +72 -0
- package/lib/table/pipeline/features/featureApi/utils.d.ts +2 -0
- package/lib/table/pipeline/features/featureApi/utils.js +17 -0
- package/lib/table/pipeline/features/filter/DefaultFilterContent.d.ts +0 -0
- package/lib/table/pipeline/features/filter/DefaultFilterContent.js +1 -1
- package/lib/table/pipeline/features/filter/DefaultFilterIcon.d.ts +0 -0
- package/lib/table/pipeline/features/filter/DefaultFilterIcon.js +0 -0
- package/lib/table/pipeline/features/filter/Filter.d.ts +0 -0
- package/lib/table/pipeline/features/filter/Filter.js +1 -1
- package/lib/table/pipeline/features/filter/FilterPanel.d.ts +0 -0
- package/lib/table/pipeline/features/filter/FilterPanel.js +0 -0
- package/lib/table/pipeline/features/filter/index.d.ts +0 -0
- package/lib/table/pipeline/features/filter/index.js +0 -0
- package/lib/table/pipeline/features/filter/util.d.ts +0 -0
- package/lib/table/pipeline/features/filter/util.js +0 -0
- package/lib/table/pipeline/features/footerDataSource.d.ts +0 -0
- package/lib/table/pipeline/features/footerDataSource.js +0 -0
- package/lib/table/pipeline/features/index.d.ts +0 -0
- package/lib/table/pipeline/features/index.js +0 -0
- package/lib/table/pipeline/features/mergeCellHover.d.ts +0 -0
- package/lib/table/pipeline/features/mergeCellHover.js +0 -0
- package/lib/table/pipeline/features/multiSelect.d.ts +0 -0
- package/lib/table/pipeline/features/multiSelect.js +0 -0
- package/lib/table/pipeline/features/rangeSelection.d.ts +0 -0
- package/lib/table/pipeline/features/rangeSelection.js +0 -0
- package/lib/table/pipeline/features/rowDetail.d.ts +0 -0
- package/lib/table/pipeline/features/rowDetail.js +1 -1
- package/lib/table/pipeline/features/rowDrag.d.ts +10 -12
- package/lib/table/pipeline/features/rowDrag.js +486 -192
- package/lib/table/pipeline/features/rowGrouping.d.ts +0 -0
- package/lib/table/pipeline/features/rowGrouping.js +1 -1
- package/lib/table/pipeline/features/singleSelect.d.ts +0 -0
- package/lib/table/pipeline/features/singleSelect.js +0 -0
- package/lib/table/pipeline/features/sort.d.ts +0 -0
- package/lib/table/pipeline/features/sort.js +1 -1
- package/lib/table/pipeline/features/tips.d.ts +0 -0
- package/lib/table/pipeline/features/tips.js +1 -1
- package/lib/table/pipeline/features/treeMode.d.ts +1 -0
- package/lib/table/pipeline/features/treeMode.js +26 -9
- package/lib/table/pipeline/features/treeSelect.d.ts +0 -0
- package/lib/table/pipeline/features/treeSelect.js +0 -0
- package/lib/table/pipeline/index.d.ts +0 -0
- package/lib/table/pipeline/index.js +0 -0
- package/lib/table/pipeline/pipeline.d.ts +3 -0
- package/lib/table/pipeline/pipeline.js +23 -1
- package/lib/table/pivot/cross-table/buildCrossTable.d.ts +0 -0
- package/lib/table/pivot/cross-table/buildCrossTable.js +0 -0
- package/lib/table/pivot/cross-table/constants.d.ts +0 -0
- package/lib/table/pivot/cross-table/constants.js +0 -0
- package/lib/table/pivot/cross-table/cross-table.d.ts +0 -0
- package/lib/table/pivot/cross-table/cross-table.js +0 -0
- package/lib/table/pivot/cross-table/index.d.ts +0 -0
- package/lib/table/pivot/cross-table/index.js +0 -0
- package/lib/table/pivot/cross-table/interfaces.d.ts +0 -0
- package/lib/table/pivot/cross-table/interfaces.js +0 -0
- package/lib/table/pivot/cross-table/internals.d.ts +0 -0
- package/lib/table/pivot/cross-table/internals.js +0 -0
- package/lib/table/pivot/cross-tree-table/buildCrossTreeTable.d.ts +0 -0
- package/lib/table/pivot/cross-tree-table/buildCrossTreeTable.js +0 -0
- package/lib/table/pivot/cross-tree-table/cross-tree-table.d.ts +0 -0
- package/lib/table/pivot/cross-tree-table/cross-tree-table.js +0 -0
- package/lib/table/pivot/cross-tree-table/index.d.ts +0 -0
- package/lib/table/pivot/cross-tree-table/index.js +0 -0
- package/lib/table/pivot/pivot-utils/buildDrillTree.d.ts +0 -0
- package/lib/table/pivot/pivot-utils/buildDrillTree.js +0 -0
- package/lib/table/pivot/pivot-utils/builders.d.ts +0 -0
- package/lib/table/pivot/pivot-utils/builders.js +0 -0
- package/lib/table/pivot/pivot-utils/convert-utils.d.ts +0 -0
- package/lib/table/pivot/pivot-utils/convert-utils.js +0 -0
- package/lib/table/pivot/pivot-utils/index.d.ts +0 -0
- package/lib/table/pivot/pivot-utils/index.js +0 -0
- package/lib/table/pivot/pivot-utils/interfaces.d.ts +0 -0
- package/lib/table/pivot/pivot-utils/interfaces.js +0 -0
- package/lib/table/pivot/pivot-utils/simpleEncode.d.ts +0 -0
- package/lib/table/pivot/pivot-utils/simpleEncode.js +0 -0
- package/lib/table/style/css.js +0 -0
- package/lib/table/style/index.css +0 -0
- package/lib/table/style/index.d.ts +0 -0
- package/lib/table/style/index.js +0 -0
- package/lib/table/style/index.less +1 -1
- package/lib/table/transforms/autoRowSpan.d.ts +0 -0
- package/lib/table/transforms/autoRowSpan.js +0 -0
- package/lib/table/transforms/autoWidth.d.ts +0 -0
- package/lib/table/transforms/autoWidth.js +0 -0
- package/lib/table/transforms/buildTree.d.ts +0 -0
- package/lib/table/transforms/buildTree.js +0 -0
- package/lib/table/transforms/columnHover.d.ts +0 -0
- package/lib/table/transforms/columnHover.js +0 -0
- package/lib/table/transforms/columnRangeHover.d.ts +0 -0
- package/lib/table/transforms/columnRangeHover.js +0 -0
- package/lib/table/transforms/columnResize.d.ts +0 -0
- package/lib/table/transforms/columnResize.js +1 -1
- package/lib/table/transforms/flatten.d.ts +0 -0
- package/lib/table/transforms/flatten.js +0 -0
- package/lib/table/transforms/index.d.ts +0 -0
- package/lib/table/transforms/index.js +0 -0
- package/lib/table/transforms/orderField.d.ts +0 -0
- package/lib/table/transforms/orderField.js +0 -0
- package/lib/table/transforms/sort.d.ts +0 -0
- package/lib/table/transforms/sort.js +1 -1
- package/lib/table/transforms/tips.d.ts +0 -0
- package/lib/table/transforms/tips.js +1 -1
- package/lib/table/transforms/treeMode.d.ts +0 -0
- package/lib/table/transforms/treeMode.js +1 -1
- package/lib/table/transforms/visible.d.ts +0 -0
- package/lib/table/transforms/visible.js +0 -0
- package/lib/table/transforms/warnTransformsDeprecated.d.ts +0 -0
- package/lib/table/transforms/warnTransformsDeprecated.js +0 -0
- package/lib/table/use/useResizeObserver.d.ts +0 -0
- package/lib/table/use/useResizeObserver.js +0 -0
- package/lib/table/utils/applyTransforms.d.ts +0 -0
- package/lib/table/utils/applyTransforms.js +0 -0
- package/lib/table/utils/browserType.d.ts +0 -0
- package/lib/table/utils/browserType.js +0 -0
- package/lib/table/utils/buildTree.d.ts +0 -0
- package/lib/table/utils/buildTree.js +0 -0
- package/lib/table/utils/collectNodes.d.ts +0 -0
- package/lib/table/utils/collectNodes.js +0 -0
- package/lib/table/utils/console.d.ts +0 -0
- package/lib/table/utils/console.js +0 -0
- package/lib/table/utils/copyToClipboard.d.ts +0 -0
- package/lib/table/utils/copyToClipboard.js +0 -0
- package/lib/table/utils/element.d.ts +0 -0
- package/lib/table/utils/element.js +0 -0
- package/lib/table/utils/exportTableAsExcel.d.ts +0 -0
- package/lib/table/utils/exportTableAsExcel.js +0 -0
- package/lib/table/utils/getTreeDepth.d.ts +0 -0
- package/lib/table/utils/getTreeDepth.js +0 -0
- package/lib/table/utils/groupBy.d.ts +0 -0
- package/lib/table/utils/groupBy.js +0 -0
- package/lib/table/utils/index.d.ts +0 -0
- package/lib/table/utils/index.js +0 -0
- package/lib/table/utils/isGroupColumn.d.ts +0 -0
- package/lib/table/utils/isGroupColumn.js +0 -0
- package/lib/table/utils/isLeafNode.d.ts +0 -0
- package/lib/table/utils/isLeafNode.js +0 -0
- package/lib/table/utils/keyCode.d.ts +0 -0
- package/lib/table/utils/keyCode.js +0 -0
- package/lib/table/utils/layeredFilter.d.ts +0 -0
- package/lib/table/utils/layeredFilter.js +0 -0
- package/lib/table/utils/layeredSort.d.ts +0 -0
- package/lib/table/utils/layeredSort.js +0 -0
- package/lib/table/utils/makeRecursiveMapper.d.ts +0 -0
- package/lib/table/utils/makeRecursiveMapper.js +0 -0
- package/lib/table/utils/mergeCellProps.d.ts +0 -0
- package/lib/table/utils/mergeCellProps.js +0 -0
- package/lib/table/utils/others.d.ts +0 -0
- package/lib/table/utils/others.js +0 -0
- package/lib/table/utils/proto.d.ts +0 -0
- package/lib/table/utils/proto.js +0 -0
- package/lib/table/utils/selectColumn.d.ts +0 -0
- package/lib/table/utils/selectColumn.js +0 -0
- package/lib/table/utils/smartCompare.d.ts +0 -0
- package/lib/table/utils/smartCompare.js +0 -0
- package/lib/table/utils/traverseColumn.d.ts +0 -0
- package/lib/table/utils/traverseColumn.js +0 -0
- package/lib/table/utils/tree-data-helpers/StrictTreeDataHelper.d.ts +0 -0
- package/lib/table/utils/tree-data-helpers/StrictTreeDataHelper.js +0 -0
- package/lib/table/utils/tree-data-helpers/TreeDataHelper.d.ts +0 -0
- package/lib/table/utils/tree-data-helpers/TreeDataHelper.js +0 -0
- package/lib/table/utils/uiDegrade.d.ts +0 -0
- package/lib/table/utils/uiDegrade.js +0 -0
- package/package.json +218 -218
|
File without changes
|
|
@@ -144,7 +144,7 @@ export function rowGrouping() {
|
|
|
144
144
|
});
|
|
145
145
|
};
|
|
146
146
|
return _concatInstanceProperty(_context3 = [_extends(_extends({}, firstCol), {
|
|
147
|
-
title: (
|
|
147
|
+
title: (/*#__PURE__*/React.createElement("div", {
|
|
148
148
|
style: {
|
|
149
149
|
display: 'inline-block',
|
|
150
150
|
marginLeft: textOffset
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -69,7 +69,7 @@ function DefaultSortHeaderCell(_ref2) {
|
|
|
69
69
|
className: cx(_defineProperty(_defineProperty({}, Classes.tableSortIcon, true), "active", sortOrder === 'desc' || sortOrder === 'asc')),
|
|
70
70
|
size: 16,
|
|
71
71
|
order: sortOrder
|
|
72
|
-
}), sortOptions.mode === 'multiple' && sortIndex !== -1 && (
|
|
72
|
+
}), sortOptions.mode === 'multiple' && sortIndex !== -1 && (/*#__PURE__*/React.createElement("div", {
|
|
73
73
|
style: {
|
|
74
74
|
userSelect: 'none',
|
|
75
75
|
marginLeft: 2,
|
|
File without changes
|
|
@@ -21,7 +21,7 @@ export function tips() {
|
|
|
21
21
|
}
|
|
22
22
|
var justifyContent = col.align === 'right' ? 'flex-end' : col.align === 'center' ? 'center' : 'flex-start';
|
|
23
23
|
return _extends(_extends({}, col), {
|
|
24
|
-
title: (
|
|
24
|
+
title: (/*#__PURE__*/React.createElement(HeaderCellWithTips, {
|
|
25
25
|
style: {
|
|
26
26
|
justifyContent: justifyContent
|
|
27
27
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TablePipeline } from '../pipeline';
|
|
3
3
|
export declare const treeMetaSymbol: unique symbol;
|
|
4
|
+
export declare const treeModeOptionsKey = "treeModeOptions";
|
|
4
5
|
interface ExpandIconProps extends React.DOMAttributes<Element> {
|
|
5
6
|
expanded: boolean;
|
|
6
7
|
style: React.CSSProperties;
|
|
@@ -19,6 +19,7 @@ import { internals } from '../../internals';
|
|
|
19
19
|
import { isLeafNode as standardIsLeafNode, mergeCellProps } from '../../utils';
|
|
20
20
|
import { Classes } from '../../base/styles';
|
|
21
21
|
export var treeMetaSymbol = _Symbol('treeMetaSymbol');
|
|
22
|
+
export var treeModeOptionsKey = 'treeModeOptions';
|
|
22
23
|
export function treeMode() {
|
|
23
24
|
var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
24
25
|
return function treeModeStep(pipeline) {
|
|
@@ -56,16 +57,24 @@ export function treeMode() {
|
|
|
56
57
|
var iconIndent = (_g = opts.iconIndent) !== null && _g !== void 0 ? _g : ctx.indents.iconIndent;
|
|
57
58
|
var iconGap = (_h = opts.iconGap) !== null && _h !== void 0 ? _h : ctx.indents.iconGap;
|
|
58
59
|
var indentSize = (_j = opts.indentSize) !== null && _j !== void 0 ? _j : ctx.indents.indentSize;
|
|
60
|
+
pipeline.setFeatureOptions(treeModeOptionsKey, {
|
|
61
|
+
iconWidth: iconWidth,
|
|
62
|
+
iconIndent: iconIndent,
|
|
63
|
+
iconGap: iconGap,
|
|
64
|
+
indentSize: indentSize,
|
|
65
|
+
treeMetaKey: treeMetaKey
|
|
66
|
+
});
|
|
59
67
|
var Icon = opts.icon;
|
|
60
68
|
return pipeline.mapDataSource(processDataSource).mapColumns(processColumns);
|
|
61
69
|
function processDataSource(input) {
|
|
62
70
|
if (pipeline.isSameInputDataSource() && openKeys === pipeline.getFeatureOptions('lastOpenKeys')) {
|
|
63
71
|
return pipeline.getFeatureOptions('lastTreeMode');
|
|
64
72
|
}
|
|
65
|
-
pipeline.setFeatureOptions('lastOpenKeys', pipeline.getStateAtKey(stateKey));
|
|
73
|
+
pipeline.setFeatureOptions('lastOpenKeys', pipeline.getStateAtKey(stateKey) || openKeys);
|
|
66
74
|
var result = [];
|
|
67
75
|
dfs(input, 0);
|
|
68
76
|
function dfs(nodes, depth) {
|
|
77
|
+
var parentNode = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
69
78
|
if (nodes == null) {
|
|
70
79
|
return;
|
|
71
80
|
}
|
|
@@ -75,6 +84,7 @@ export function treeMode() {
|
|
|
75
84
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
76
85
|
var node = _step.value;
|
|
77
86
|
var rowKey = internals.safeGetRowKey(primaryKey, node, -1);
|
|
87
|
+
var parentRowKey = parentNode ? internals.safeGetRowKey(primaryKey, parentNode, -1) : null;
|
|
78
88
|
var expanded = openKeySet.has(rowKey);
|
|
79
89
|
var isLeaf = isLeafNode(node, {
|
|
80
90
|
depth: depth,
|
|
@@ -85,11 +95,12 @@ export function treeMode() {
|
|
|
85
95
|
depth: depth,
|
|
86
96
|
isLeaf: isLeaf,
|
|
87
97
|
expanded: expanded,
|
|
88
|
-
rowKey: rowKey
|
|
98
|
+
rowKey: rowKey,
|
|
99
|
+
parentRowKey: parentRowKey
|
|
89
100
|
};
|
|
90
101
|
result.push(_extends(_defineProperty({}, treeMetaKey, treeMeta), node));
|
|
91
102
|
if (!isLeaf && expanded) {
|
|
92
|
-
dfs(node.children, depth + 1);
|
|
103
|
+
dfs(node.children, depth + 1, node);
|
|
93
104
|
}
|
|
94
105
|
}
|
|
95
106
|
} catch (err) {
|
|
@@ -166,15 +177,19 @@ export function treeMode() {
|
|
|
166
177
|
};
|
|
167
178
|
var getCellProps = function getCellProps(value, record, rowIndex) {
|
|
168
179
|
var prevProps = internals.safeGetCellProps(expandCol, record, rowIndex);
|
|
169
|
-
if (record[treeMetaKey] == null) {
|
|
180
|
+
if (record[treeMetaKey] == null || clickArea !== 'cell') {
|
|
170
181
|
// 没有 treeMeta 信息的话,就返回原先的 cellProps
|
|
171
|
-
return prevProps
|
|
182
|
+
return mergeCellProps(prevProps, {
|
|
183
|
+
className: Classes.tableExtendCell
|
|
184
|
+
});
|
|
172
185
|
}
|
|
173
186
|
var _record$treeMetaKey2 = record[treeMetaKey],
|
|
174
187
|
isLeaf = _record$treeMetaKey2.isLeaf,
|
|
175
188
|
rowKey = _record$treeMetaKey2.rowKey;
|
|
176
189
|
if (isLeaf) {
|
|
177
|
-
return prevProps
|
|
190
|
+
return mergeCellProps(prevProps, {
|
|
191
|
+
className: Classes.tableExtendCell
|
|
192
|
+
});
|
|
178
193
|
}
|
|
179
194
|
return mergeCellProps(prevProps, {
|
|
180
195
|
onClick: function onClick(e) {
|
|
@@ -185,18 +200,19 @@ export function treeMode() {
|
|
|
185
200
|
},
|
|
186
201
|
style: {
|
|
187
202
|
cursor: 'pointer'
|
|
188
|
-
}
|
|
203
|
+
},
|
|
204
|
+
className: Classes.tableExtendCell
|
|
189
205
|
});
|
|
190
206
|
};
|
|
191
207
|
columns[expandColIndex] = _extends(_extends({}, expandCol), {
|
|
192
|
-
title: (
|
|
208
|
+
title: (/*#__PURE__*/React.createElement("span", {
|
|
193
209
|
style: {
|
|
194
210
|
marginLeft: iconIndent + iconWidth + iconGap,
|
|
195
211
|
display: 'flex'
|
|
196
212
|
}
|
|
197
213
|
}, internals.safeRenderHeader(expandCol))),
|
|
198
214
|
render: render,
|
|
199
|
-
getCellProps:
|
|
215
|
+
getCellProps: getCellProps
|
|
200
216
|
});
|
|
201
217
|
return _toConsumableArray(columns);
|
|
202
218
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -90,6 +90,9 @@ export declare class TablePipeline {
|
|
|
90
90
|
setFeatureOptions(optionKey: string, value: any): void;
|
|
91
91
|
/** 获取 BaseTable 的 props,结果中包含 dataSource/columns/primaryKey/getRowProps 四个字段 */
|
|
92
92
|
getProps(this: TablePipeline): TableProps;
|
|
93
|
+
getFeatureApi(featureName: string): any;
|
|
94
|
+
addFeatureApi(featureName: string): any;
|
|
95
|
+
getLastPipeline(): any;
|
|
93
96
|
}
|
|
94
97
|
export declare function useTablePipeline(ctx?: Partial<TablePipelineCtx>): TablePipeline;
|
|
95
98
|
export {};
|
|
@@ -8,6 +8,7 @@ import _sliceInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instan
|
|
|
8
8
|
import { useState, useRef } from 'react';
|
|
9
9
|
import { mergeCellProps } from '../utils';
|
|
10
10
|
import { autoFillTableWidth, tableWidthKey } from './features/autoFill';
|
|
11
|
+
import { createFeatureApi } from './features/featureApi/utils';
|
|
11
12
|
/**
|
|
12
13
|
* 表格数据处理流水线。TablePipeline 提供了表格数据处理过程中的一些上下方与工具方法,包括……
|
|
13
14
|
*
|
|
@@ -124,6 +125,7 @@ export var TablePipeline = /*#__PURE__*/function () {
|
|
|
124
125
|
this._isSameInputDataSource = _input.dataSource === this.ref.current._lastInputDataSource;
|
|
125
126
|
this._dataSource = _input.dataSource;
|
|
126
127
|
this.ref.current._lastInputDataSource = _input.dataSource;
|
|
128
|
+
this.ref.current.lastPipeline = this;
|
|
127
129
|
this._columns = _mapInstanceProperty(_context = _input.columns).call(_context, function (col) {
|
|
128
130
|
return _extends(_extends({}, col), {
|
|
129
131
|
key: _this.guid()
|
|
@@ -254,6 +256,25 @@ export var TablePipeline = /*#__PURE__*/function () {
|
|
|
254
256
|
};
|
|
255
257
|
return result;
|
|
256
258
|
}
|
|
259
|
+
}, {
|
|
260
|
+
key: "getFeatureApi",
|
|
261
|
+
value: function getFeatureApi(featureName) {
|
|
262
|
+
var _a;
|
|
263
|
+
return (_a = this.ref.current.featureApi) === null || _a === void 0 ? void 0 : _a[featureName];
|
|
264
|
+
}
|
|
265
|
+
}, {
|
|
266
|
+
key: "addFeatureApi",
|
|
267
|
+
value: function addFeatureApi(featureName) {
|
|
268
|
+
if (!this.getFeatureApi(featureName)) {
|
|
269
|
+
this.ref.current.featureApi[featureName] = createFeatureApi(featureName, this);
|
|
270
|
+
}
|
|
271
|
+
return this.ref.current.featureApi[featureName];
|
|
272
|
+
}
|
|
273
|
+
}, {
|
|
274
|
+
key: "getLastPipeline",
|
|
275
|
+
value: function getLastPipeline() {
|
|
276
|
+
return this.ref.current.lastPipeline;
|
|
277
|
+
}
|
|
257
278
|
}]);
|
|
258
279
|
}();
|
|
259
280
|
TablePipeline.defaultIndents = {
|
|
@@ -268,7 +289,8 @@ export function useTablePipeline(ctx) {
|
|
|
268
289
|
state = _useState2[0],
|
|
269
290
|
setState = _useState2[1];
|
|
270
291
|
var ref = useRef({
|
|
271
|
-
featureOptions: {}
|
|
292
|
+
featureOptions: {},
|
|
293
|
+
featureApi: {}
|
|
272
294
|
});
|
|
273
295
|
return new TablePipeline({
|
|
274
296
|
state: state,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/es/table/style/css.js
CHANGED
|
File without changes
|
package/es/table/style/index.css
CHANGED
|
File without changes
|
|
File without changes
|
package/es/table/style/index.js
CHANGED
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -72,7 +72,7 @@ export function makeColumnResizeTransform(_ref) {
|
|
|
72
72
|
var prevTitle = internals.safeRenderHeader(col);
|
|
73
73
|
return _extends(_extends({}, col), {
|
|
74
74
|
width: sizes[range.start],
|
|
75
|
-
title: (
|
|
75
|
+
title: (/*#__PURE__*/React.createElement(React.Fragment, null, prevTitle, /*#__PURE__*/React.createElement(ResizeHandle, {
|
|
76
76
|
className: "resize-handle",
|
|
77
77
|
onMouseDown: function onMouseDown(e) {
|
|
78
78
|
return startResize(range.start, e);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -75,7 +75,7 @@ function DefaultSortHeaderCell(_ref2) {
|
|
|
75
75
|
},
|
|
76
76
|
size: 16,
|
|
77
77
|
order: sortOrder
|
|
78
|
-
}), sortOptions.mode === 'multiple' && sortIndex != -1 && (
|
|
78
|
+
}), sortOptions.mode === 'multiple' && sortIndex != -1 && (/*#__PURE__*/React.createElement("div", {
|
|
79
79
|
style: {
|
|
80
80
|
userSelect: 'none',
|
|
81
81
|
marginLeft: 2,
|
|
File without changes
|
|
@@ -20,7 +20,7 @@ export function makeTipsTransform(_ref) {
|
|
|
20
20
|
}
|
|
21
21
|
var justifyContent = col.align === 'right' ? 'flex-end' : col.align === 'center' ? 'center' : 'flex-start';
|
|
22
22
|
return _extends(_extends({}, col), {
|
|
23
|
-
title: (
|
|
23
|
+
title: (/*#__PURE__*/React.createElement(HeaderCellWithTips, {
|
|
24
24
|
style: {
|
|
25
25
|
justifyContent: justifyContent
|
|
26
26
|
}
|
|
File without changes
|
|
@@ -183,7 +183,7 @@ export function makeTreeModeTransform(_ref) {
|
|
|
183
183
|
});
|
|
184
184
|
};
|
|
185
185
|
return _concatInstanceProperty(_context2 = [_extends(_extends({}, firstCol), {
|
|
186
|
-
title: (
|
|
186
|
+
title: (/*#__PURE__*/React.createElement("span", {
|
|
187
187
|
style: {
|
|
188
188
|
marginLeft: iconIndent + ICON_WIDTH + iconGap
|
|
189
189
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/es/table/utils/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/es/table/utils/others.js
CHANGED
|
File without changes
|
|
File without changes
|
package/es/table/utils/proto.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/_utils/arrayUtil.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/_utils/devwarning.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/_utils/formatUtil.js
CHANGED
|
File without changes
|
package/lib/_utils/hooks.d.ts
CHANGED
|
File without changes
|
package/lib/_utils/hooks.js
CHANGED
|
File without changes
|
package/lib/_utils/index.d.ts
CHANGED
|
File without changes
|
package/lib/_utils/index.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/_utils/numberUtil.js
CHANGED
|
File without changes
|
package/lib/_utils/omit.d.ts
CHANGED
|
File without changes
|
package/lib/_utils/omit.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/_utils/type.d.ts
CHANGED
|
File without changes
|
package/lib/_utils/type.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/_utils/usePopper.js
CHANGED
|
File without changes
|
|
File without changes
|