@gingkoo/pandora-explorer 0.0.1-alpha.73 → 0.0.1-alpha.74
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.d.ts +2 -0
- package/lib/es/index.js +6 -6
- package/lib/es/index.js.map +1 -1
- package/package.json +1 -1
package/lib/es/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import Explorer from './explorer';
|
|
2
|
+
import ExplorerMenu from './components/menu';
|
|
2
3
|
export { registerMenu } from './components/menu/menulist';
|
|
3
4
|
export { Icons } from './explorer';
|
|
4
5
|
export * from './types';
|
|
5
6
|
export * from './enum';
|
|
7
|
+
export { ExplorerMenu, Explorer };
|
|
6
8
|
export default Explorer;
|
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.74
|
|
3
3
|
*/
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import cx$1 from 'classnames';
|
|
@@ -5167,28 +5167,28 @@ function Menu(props) {
|
|
|
5167
5167
|
return data;
|
|
5168
5168
|
});
|
|
5169
5169
|
_menu.map(v => {
|
|
5170
|
-
if (!store
|
|
5170
|
+
if (!store?.isEdit && edit.includes(v?.key)) {
|
|
5171
5171
|
arr.push({
|
|
5172
5172
|
...v,
|
|
5173
5173
|
disabled: true
|
|
5174
5174
|
});
|
|
5175
5175
|
return;
|
|
5176
5176
|
}
|
|
5177
|
-
if (!store
|
|
5177
|
+
if (!store?.isDelect && delect.includes(v?.key)) {
|
|
5178
5178
|
arr.push({
|
|
5179
5179
|
...v,
|
|
5180
5180
|
disabled: true
|
|
5181
5181
|
});
|
|
5182
5182
|
return;
|
|
5183
5183
|
}
|
|
5184
|
-
if (!store
|
|
5184
|
+
if (!store?.isDownload && download.includes(v?.key)) {
|
|
5185
5185
|
arr.push({
|
|
5186
5186
|
...v,
|
|
5187
5187
|
disabled: true
|
|
5188
5188
|
});
|
|
5189
5189
|
return;
|
|
5190
5190
|
}
|
|
5191
|
-
if (!store
|
|
5191
|
+
if (!store?.isUpload && upload.includes(v?.key)) {
|
|
5192
5192
|
arr.push({
|
|
5193
5193
|
...v,
|
|
5194
5194
|
disabled: true
|
|
@@ -8379,5 +8379,5 @@ const Explorer = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8379
8379
|
});
|
|
8380
8380
|
});
|
|
8381
8381
|
|
|
8382
|
-
export { ApiStatusEnum, Icons, Explorer as default, registerMenu };
|
|
8382
|
+
export { ApiStatusEnum, Explorer, Menu as ExplorerMenu, Icons, Explorer as default, registerMenu };
|
|
8383
8383
|
//# sourceMappingURL=index.js.map
|