sevago-sso-fe 1.0.19 → 1.0.20

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.
@@ -1,5 +1,5 @@
1
1
  import { AppCategory } from '../common/enums/app-category.enum';
2
- export declare const useApps: (tab: AppCategory) => import('../common/enums/app-category.enum').AppModule[];
2
+ export declare const useApps: (tab?: AppCategory) => import('../common/enums/app-category.enum').AppModule[];
3
3
  export declare const useIsSystemMonitor: () => boolean;
4
4
  export declare const useAllApps: () => import('../common/enums/app-category.enum').AppModule[];
5
5
  export declare const useActiveSidebar: () => import('../common/enums/app-category.enum').AppModule | undefined;
package/dist/index.cjs.js CHANGED
@@ -24231,7 +24231,7 @@ var AppType = /* @__PURE__ */ ((AppType2) => {
24231
24231
  AppType2["EXPAND_MENU"] = "expand-menu";
24232
24232
  return AppType2;
24233
24233
  })(AppType || {});
24234
- const useApps = (tab) => {
24234
+ const useApps = (tab = AppCategory.ALL) => {
24235
24235
  const userType = reactRedux.useSelector(
24236
24236
  (state) => state.account.user?.type
24237
24237
  );