@gingkoo/pandora-explorer 0.0.1-alpha.112 → 0.0.1-alpha.113

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