seeder-resources-view 1.3.6 → 1.3.8
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/dist/index.esm.js +6 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -17707,7 +17707,7 @@ const TreeTitleNode = _ref2 => {
|
|
|
17707
17707
|
add: newTitle => handleAdd(nodeData, newTitle),
|
|
17708
17708
|
children: /*#__PURE__*/jsx("div", {
|
|
17709
17709
|
className: "px-1",
|
|
17710
|
-
title: "
|
|
17710
|
+
title: "Create Folder",
|
|
17711
17711
|
children: /*#__PURE__*/jsx("i", {
|
|
17712
17712
|
className: "iconfont icon-jia"
|
|
17713
17713
|
})
|
|
@@ -17716,7 +17716,7 @@ const TreeTitleNode = _ref2 => {
|
|
|
17716
17716
|
children: [/*#__PURE__*/jsx("div", {
|
|
17717
17717
|
className: "px-1",
|
|
17718
17718
|
onClick: toggleEdit,
|
|
17719
|
-
title: "
|
|
17719
|
+
title: "Edit",
|
|
17720
17720
|
children: /*#__PURE__*/jsx("i", {
|
|
17721
17721
|
className: "iconfont icon-bianji"
|
|
17722
17722
|
})
|
|
@@ -17727,7 +17727,7 @@ const TreeTitleNode = _ref2 => {
|
|
|
17727
17727
|
cancelText: "No",
|
|
17728
17728
|
children: /*#__PURE__*/jsx("div", {
|
|
17729
17729
|
className: "px-1",
|
|
17730
|
-
title: "
|
|
17730
|
+
title: "Delete",
|
|
17731
17731
|
children: /*#__PURE__*/jsx("i", {
|
|
17732
17732
|
className: "iconfont icon-jian"
|
|
17733
17733
|
})
|
|
@@ -17944,7 +17944,7 @@ const useDirectoryTree = _ref => {
|
|
|
17944
17944
|
// 新增:是否允许展开/折叠
|
|
17945
17945
|
onSelectDir,
|
|
17946
17946
|
// 新增:选择目录回调
|
|
17947
|
-
selectedDirPath =
|
|
17947
|
+
selectedDirPath = null // 新增:外部传入的选中目录名
|
|
17948
17948
|
} = _ref;
|
|
17949
17949
|
const [treeState, setTreeState] = useState({
|
|
17950
17950
|
data: [],
|
|
@@ -18609,12 +18609,12 @@ const ResourcesView = _ref => {
|
|
|
18609
18609
|
type: "primary",
|
|
18610
18610
|
disabled: !selectedItems.length,
|
|
18611
18611
|
onClick: () => setModalVisible(true),
|
|
18612
|
-
children: "
|
|
18612
|
+
children: "Copy"
|
|
18613
18613
|
}), /*#__PURE__*/jsx(Button, {
|
|
18614
18614
|
className: "btn-gray",
|
|
18615
18615
|
disabled: !selectedItems.length,
|
|
18616
18616
|
onClick: handleBatchRemove,
|
|
18617
|
-
children: "
|
|
18617
|
+
children: "Delete"
|
|
18618
18618
|
})]
|
|
18619
18619
|
})
|
|
18620
18620
|
}), /*#__PURE__*/jsx(MediaGrid$1, {
|