@gingkoo/pandora-explorer 0.0.1-alpha.111 → 0.0.1-alpha.112
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/lib/es/index.js +4 -4
- package/lib/es/index.js.map +1 -1
- package/package.json +1 -1
package/lib/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @gingkoo/pandora-explorer v0.0.1-alpha.
|
|
2
|
+
* @gingkoo/pandora-explorer v0.0.1-alpha.112
|
|
3
3
|
*/
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import cx$1 from 'classnames';
|
|
@@ -5558,7 +5558,7 @@ function TableItem(props) {
|
|
|
5558
5558
|
checks,
|
|
5559
5559
|
...param
|
|
5560
5560
|
} = props;
|
|
5561
|
-
let disable = false;
|
|
5561
|
+
let disable = props?.disable || false;
|
|
5562
5562
|
if (Array.isArray(props.selectedSuffix)) {
|
|
5563
5563
|
disable = !props.selectedSuffix.includes(props.suffix) && !props.selectedSuffix?.includes(props?.type);
|
|
5564
5564
|
}
|
|
@@ -6634,7 +6634,7 @@ const Tile = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
6634
6634
|
menudata = getMenu('');
|
|
6635
6635
|
}
|
|
6636
6636
|
let isname = rename == v.key || v?.create_file;
|
|
6637
|
-
let disable = false;
|
|
6637
|
+
let disable = v?.disable || false;
|
|
6638
6638
|
//判断是否可以选中 选中的逻辑在 select-box 中 可以控制 data-id 进行编辑
|
|
6639
6639
|
if (Array.isArray(store.selectedSuffix)) {
|
|
6640
6640
|
disable = !store.selectedSuffix?.includes(v?.suffix) && !store.selectedSuffix?.includes(v?.type);
|
|
@@ -8036,7 +8036,7 @@ function Item(props) {
|
|
|
8036
8036
|
useEffect(() => {
|
|
8037
8037
|
setValue(props?.title);
|
|
8038
8038
|
}, [props?.title]);
|
|
8039
|
-
let disable = false;
|
|
8039
|
+
let disable = props?.disable || false;
|
|
8040
8040
|
if (Array.isArray(props.selectedSuffix)) {
|
|
8041
8041
|
disable = !props.selectedSuffix.includes(props.suffix) && !props.selectedSuffix?.includes(props?.type);
|
|
8042
8042
|
}
|