awing-library 2.1.2-dev.59 → 2.1.2-dev.60
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.
|
@@ -6,7 +6,7 @@ export type DirectorySystemProps = DirectoryServices & {
|
|
|
6
6
|
currentWorkspace?: CurrentWorkspace;
|
|
7
7
|
objectTypeCodes?: ObjectTypeCode[];
|
|
8
8
|
};
|
|
9
|
-
declare const DirectorySystem: (props: DirectorySystemProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const DirectorySystem: (props: DirectorySystemProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
10
|
export * from './types';
|
|
11
11
|
export * from './Services';
|
|
12
12
|
export default DirectorySystem;
|
package/dist/esm/index.js
CHANGED
|
@@ -187649,6 +187649,7 @@ function Container$3() {
|
|
|
187649
187649
|
useEffect(() => {
|
|
187650
187650
|
if (parentDirectoryId) {
|
|
187651
187651
|
queryData(parentDirectoryId);
|
|
187652
|
+
console.log('Querying parent directory:', currentWorkspace, parentDirectoryId);
|
|
187652
187653
|
}
|
|
187653
187654
|
}, [currentWorkspace === null || currentWorkspace === void 0 ? void 0 : currentWorkspace.id, parentDirectoryId]);
|
|
187654
187655
|
/** Get Directory Root */
|
|
@@ -187833,7 +187834,7 @@ const DirectorySystem = props => {
|
|
|
187833
187834
|
const handleChange = (_e, newValue) => {
|
|
187834
187835
|
setTabValue(newValue);
|
|
187835
187836
|
};
|
|
187836
|
-
return jsxRuntimeExports.jsx(AppProvider, {
|
|
187837
|
+
return currentWorkspace ? jsxRuntimeExports.jsx(AppProvider, {
|
|
187837
187838
|
children: jsxRuntimeExports.jsxs(DirectoryContext.Provider, {
|
|
187838
187839
|
value: {
|
|
187839
187840
|
parentDirectoryId,
|
|
@@ -187874,7 +187875,7 @@ const DirectorySystem = props => {
|
|
|
187874
187875
|
}, Constants$1.DIRECTORY_PERMISSION + '/:id/*')
|
|
187875
187876
|
})]
|
|
187876
187877
|
})
|
|
187877
|
-
});
|
|
187878
|
+
}) : null;
|
|
187878
187879
|
};
|
|
187879
187880
|
|
|
187880
187881
|
var SharingConfigParamType;
|
package/dist/index.d.ts
CHANGED
|
@@ -3141,7 +3141,7 @@ type DirectorySystemProps = DirectoryServices & {
|
|
|
3141
3141
|
currentWorkspace?: CurrentWorkspace;
|
|
3142
3142
|
objectTypeCodes?: ObjectTypeCode[];
|
|
3143
3143
|
};
|
|
3144
|
-
declare const DirectorySystem: (props: DirectorySystemProps) => react_jsx_runtime.JSX.Element;
|
|
3144
|
+
declare const DirectorySystem: (props: DirectorySystemProps) => react_jsx_runtime.JSX.Element | null;
|
|
3145
3145
|
|
|
3146
3146
|
declare function Sharing(props: SharingProps): react_jsx_runtime.JSX.Element;
|
|
3147
3147
|
|