@icos-desktop/react-components 1.2.0-beta.11 → 1.2.0-beta.13

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.
@@ -8754,7 +8754,7 @@ var ContextMenu$1 = function (_a) {
8754
8754
  key: 'edit',
8755
8755
  label: '编辑',
8756
8756
  hidden: function () { return !(config === null || config === void 0 ? void 0 : config.includes('edit')); },
8757
- disabled: function () { return !(authTypes === null || authTypes === void 0 ? void 0 : authTypes.includes(1)); },
8757
+ disabled: function () { return !(authTypes === null || authTypes === void 0 ? void 0 : authTypes.includes(1)) && !(authTypes === null || authTypes === void 0 ? void 0 : authTypes.includes(5)); },
8758
8758
  },
8759
8759
  // {
8760
8760
  // key: 'cut',
@@ -8770,7 +8770,7 @@ var ContextMenu$1 = function (_a) {
8770
8770
  key: 'delete',
8771
8771
  label: '删除',
8772
8772
  hidden: function () { return !(config === null || config === void 0 ? void 0 : config.includes('delete')); },
8773
- disabled: function () { return !(authTypes === null || authTypes === void 0 ? void 0 : authTypes.includes(1)); },
8773
+ disabled: function () { return !(authTypes === null || authTypes === void 0 ? void 0 : authTypes.includes(1)) && !(authTypes === null || authTypes === void 0 ? void 0 : authTypes.includes(5)); },
8774
8774
  },
8775
8775
  // {
8776
8776
  // key: 'meeting',