@admin-layout/client 10.0.4-alpha.2 → 10.0.4-alpha.21

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.
Files changed (39) hide show
  1. package/lib/antd-themes/ThemeProvider.d.ts +1 -425
  2. package/lib/antd-themes/ThemeProvider.d.ts.map +1 -1
  3. package/lib/antd-themes/ThemeProvider.js +3 -3
  4. package/lib/antd-themes/ThemeProvider.js.map +1 -1
  5. package/lib/antd-themes/airbnb-dark-theme.d.ts +1 -229
  6. package/lib/antd-themes/airbnb-dark-theme.d.ts.map +1 -1
  7. package/lib/antd-themes/default-dark-theme.d.ts +1 -198
  8. package/lib/antd-themes/default-dark-theme.d.ts.map +1 -1
  9. package/lib/antd-themes/github-dark-theme.d.ts +1 -229
  10. package/lib/antd-themes/github-dark-theme.d.ts.map +1 -1
  11. package/lib/antd-themes/slack-dark-theme.d.ts +1 -228
  12. package/lib/antd-themes/slack-dark-theme.d.ts.map +1 -1
  13. package/lib/antd-themes/spotify-dark-theme.d.ts +1 -229
  14. package/lib/antd-themes/spotify-dark-theme.d.ts.map +1 -1
  15. package/lib/antd-themes/themeRegistry.d.ts +1 -2228
  16. package/lib/antd-themes/themeRegistry.d.ts.map +1 -1
  17. package/lib/components/ApplicationErrorFillWrapper.d.ts +1 -2
  18. package/lib/components/ApplicationErrorFillWrapper.d.ts.map +1 -1
  19. package/lib/components/ApplicationErrorFillWrapper.js +2 -2
  20. package/lib/components/ApplicationErrorHandlerCommon.js +6 -8
  21. package/lib/components/ApplicationErrorHandlerCommon.js.map +1 -1
  22. package/lib/components/ErrorBoundaryCommon.d.ts +1 -1
  23. package/lib/components/ErrorBoundaryCommon.js +2 -2
  24. package/lib/components/ErrorBoundaryCommon.js.map +1 -1
  25. package/lib/components/LayoutCookieProvider.d.ts +7 -0
  26. package/lib/components/LayoutCookieProvider.d.ts.map +1 -0
  27. package/lib/components/LayoutCookieProvider.js +19 -0
  28. package/lib/components/LayoutCookieProvider.js.map +1 -0
  29. package/lib/components/UpdateSettings/UpdateSettings.server.d.ts +0 -1
  30. package/lib/components/UpdateSettings/UpdateSettings.server.d.ts.map +1 -1
  31. package/lib/components/UpdateSettings/UpdateSettings.server.js +1 -1
  32. package/lib/components/UpdateSettings/UpdateSettings.server.js.map +1 -1
  33. package/lib/components/index.d.ts +1 -0
  34. package/lib/components/index.d.ts.map +1 -1
  35. package/lib/index.js +1 -1
  36. package/lib/index.native.js +1 -1
  37. package/lib/utils/menuUtils.d.ts +2 -2
  38. package/lib/utils/menuUtils.d.ts.map +1 -1
  39. package/package.json +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"themeRegistry.d.ts","sourceRoot":"","sources":["../../src/antd-themes/themeRegistry.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWzB,CAAC"}
1
+ {"version":3,"file":"themeRegistry.d.ts","sourceRoot":"","sources":["../../src/antd-themes/themeRegistry.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,aAAa,EAAE,GAW3B,CAAC"}
@@ -1,3 +1,2 @@
1
- import * as React from 'react';
2
- export declare const ApplicationErrorFillWrapper: (props: any) => React.JSX.Element;
1
+ export declare const ApplicationErrorFillWrapper: (props: any) => import("react/jsx-runtime").JSX.Element;
3
2
  //# sourceMappingURL=ApplicationErrorFillWrapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationErrorFillWrapper.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationErrorFillWrapper.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,2BAA2B,mCAEvC,CAAA"}
1
+ {"version":3,"file":"ApplicationErrorFillWrapper.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationErrorFillWrapper.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,2BAA2B,yDAEvC,CAAA"}
@@ -1,3 +1,3 @@
1
- import {Fill}from'@common-stack/components-pro';import {APPLICATION_ERROR_SLOT_FILL}from'../constants/constants.js';import*as React from'react';const ApplicationErrorFillWrapper = (props) => {
2
- return React.createElement(Fill, { ...props, name: APPLICATION_ERROR_SLOT_FILL });
1
+ import {jsx}from'react/jsx-runtime';import {Fill}from'@common-stack/components-pro';import {APPLICATION_ERROR_SLOT_FILL}from'../constants/constants.js';const ApplicationErrorFillWrapper = (props) => {
2
+ return jsx(Fill, { ...props, name: APPLICATION_ERROR_SLOT_FILL });
3
3
  };export{ApplicationErrorFillWrapper};//# sourceMappingURL=ApplicationErrorFillWrapper.js.map
@@ -1,4 +1,4 @@
1
- import React__default from'react';import {useSelector}from'react-redux';import'reflect-metadata';import {Slot}from'@common-stack/components-pro';import {APPLICATION_ERROR_SLOT_FILL}from'../constants/constants.js';import {backendErrorSelector}from'../redux/selectors/index.js';/**
1
+ import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {useSelector}from'react-redux';import'reflect-metadata';import {Slot}from'@common-stack/components-pro';import {APPLICATION_ERROR_SLOT_FILL}from'../constants/constants.js';import {backendErrorSelector}from'../redux/selectors/index.js';/**
2
2
  * ApplicationErrorSlot is needed for mobile. Since for mobile
3
3
  * we import Slot from @common-stack/react-mobile. The default
4
4
  * Slot under RenderApplicationErrorSlot works for browser
@@ -14,14 +14,12 @@ const ApplicationErrorHandlerCommon = (FallbackComponent, ApplicationErrorSlot,
14
14
  const errors = applicationErrors?.filter((error) => !!plugins.find((plugin) => plugin.name === error?.pluginName));
15
15
  const backendError = useSelector(backendErrorSelector);
16
16
  const RenderApplicationErrorSlot = (props) => {
17
- return !!ApplicationErrorSlot ? React__default.createElement(ApplicationErrorSlot, { ...props }) : React__default.createElement(Slot, { ...props });
17
+ return !!ApplicationErrorSlot ? jsx(ApplicationErrorSlot, { ...props }) : jsx(Slot, { ...props });
18
18
  };
19
19
  if (!!RendererComponent) {
20
- return React__default.createElement(RendererComponent, { applicationErrors: errors, backendError: backendError });
20
+ return jsx(RendererComponent, { applicationErrors: errors, backendError: backendError });
21
21
  }
22
- return (React__default.createElement(React__default.Fragment, null,
23
- !!backendError ? React__default.createElement(FallbackComponent, { error: backendError }) : null,
24
- !!errors?.length
25
- ? React__default.createElement(RenderApplicationErrorSlot, { name: APPLICATION_ERROR_SLOT_FILL, fillProps: { active: true, applicationErrors: errors } })
26
- : children));
22
+ return (jsxs(Fragment, { children: [!!backendError ? jsx(FallbackComponent, { error: backendError }) : null, !!errors?.length
23
+ ? jsx(RenderApplicationErrorSlot, { name: APPLICATION_ERROR_SLOT_FILL, fillProps: { active: true, applicationErrors: errors } })
24
+ : children] }));
27
25
  };export{ApplicationErrorHandlerCommon};//# sourceMappingURL=ApplicationErrorHandlerCommon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationErrorHandlerCommon.js","sources":["../../src/components/ApplicationErrorHandlerCommon.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"oRAUG;AACH;AACE;;AAED;AAED;;;AAGC;AAED;;AAGI,MAAS,6BAAE,GAAA,CAAA,iBAAA,EAAA,oBAAA,EAAA,iBAAA,KAAA,CAAA,EAAA,OAAA,EAAA,QAAA,EAAA,KAAA;UACH,iBAAU,GAAA,WAAA,CAAA,CAAA,KAAA,KAAA,KAAA,EAAA,iBAAA,CAAA;UACC,MAAA,GAAA,iBAAuB,EAAA,MAAA,CAAA,CAAA,KAAE,KAAA,CAAA,CAAA,OAAA,CAAA,IAAA,CAAA,CAAA,MAAA,KAAA,MAAA,CAAA,IAAA,KAAA,KAAA,EAAA,UAAA,CAAA,CAAA;UAC3C,YAAA,GAAA,WAAA,CAAA,oBAAA,CAAA;AACF,IAAA,gCACe,GAAA,CAAA,KAAA,KAAA;AAClB,QAAA,OAAA,CAAA,CAAA,oBAAA,GAAAA,cAAA,CAAA,aAAA,CAAA,oBAAA,EAAA,EAAA,GAAA,KAAA,EAAA,CAAA,GAAAA,cAAA,CAAA,aAAA,CAAA,IAAA,EAAA,EAAA,GAAA,KAAA,EAAA,CAAA;;;;;;;;;;AAUG"}
1
+ {"version":3,"file":"ApplicationErrorHandlerCommon.js","sources":["../../src/components/ApplicationErrorHandlerCommon.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"oSAUG;AACH;AACE;;AAED;AAED;;;AAGC;AAED;;AAGI,MAAS,6BAAE,GAAA,CAAA,iBAAA,EAAA,oBAAA,EAAA,iBAAA,KAAA,CAAA,EAAA,OAAA,EAAA,QAAA,EAAA,KAAA;UACH,iBAAU,GAAA,WAAA,CAAA,CAAA,KAAA,KAAA,KAAA,EAAA,iBAAA,CAAA;UACC,MAAA,GAAA,iBAAuB,EAAA,MAAA,CAAA,CAAA,KAAE,KAAA,CAAA,CAAA,OAAA,CAAA,IAAA,CAAA,CAAA,MAAA,KAAA,MAAA,CAAA,IAAA,KAAA,KAAA,EAAA,UAAA,CAAA,CAAA;UAC3C,YAAA,GAAA,WAAA,CAAA,oBAAA,CAAA;AACF,IAAA,gCACe,GAAA,CAAA,KAAA,KAAA;AAClB,QAAA,OAAA,CAAA,CAAA,oBAAA,GAAAA,GAAA,CAAA,oBAAA,EAAA,EAAA,GAAA,KAAA,EAAA,CAAA,GAAAA,GAAA,CAAA,IAAA,EAAA,EAAA,GAAA,KAAA,EAAA,CAAA;;;;;;;;"}
@@ -18,7 +18,7 @@ export declare class ErrorBoundaryCommon extends React.Component<IErrorBoundryPr
18
18
  };
19
19
  componentDidCatch(error: Error): void;
20
20
  componentDidUpdate(prevProps: Readonly<IErrorBoundryProps>, prevState: Readonly<IErrorBoundryState>): void;
21
- render(): React.JSX.Element;
21
+ render(): import("react/jsx-runtime").JSX.Element;
22
22
  }
23
23
  export {};
24
24
  //# sourceMappingURL=ErrorBoundaryCommon.d.ts.map
@@ -1,4 +1,4 @@
1
- import React__default from'react';import {logger}from'@cdm-logger/client';class ErrorBoundaryCommon extends React__default.Component {
1
+ import {jsx}from'react/jsx-runtime';import React from'react';import {logger}from'@cdm-logger/client';class ErrorBoundaryCommon extends React.Component {
2
2
  constructor(props) {
3
3
  super(props);
4
4
  this.state = { hasError: false, error: null };
@@ -17,7 +17,7 @@ import React__default from'react';import {logger}from'@cdm-logger/client';class
17
17
  render() {
18
18
  if (this.state.hasError) {
19
19
  const FallbackComponent = this.props.fallbackComponent;
20
- return React__default.createElement(FallbackComponent, { error: this.state.error });
20
+ return jsx(FallbackComponent, { error: this.state.error });
21
21
  }
22
22
  return this.props.children;
23
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorBoundaryCommon.js","sources":["../../src/components/ErrorBoundaryCommon.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"0EAGoC,MAAA,mBAAU,SAAAA,cAAA,CAAA,SAAA,CAAA;AAAC,IAAA,WAAO,CAAK,KAAG,EAAI;QAAG,KAAA,CAAA,KAAA,CAAA;AACrE,uBAAuB,QAAG,EAAA,KAAA,EAAA,KAAA,EAAA,IAAA,EAAA;;IAEtB,OAAQ,wBAAe,CAAA,KAAA,EAAA;QACN,OAAA,EAAA,QAAG,EAAA,IAAO,EAAA,KAAA,EAAA;;AAAgB,IAAA,kBAAiB,KAAC,EAAA;QAC/D,MAAA,CAAA,KAAA,CAAA,KAAA,CAAA;AAEF;AACgB,IAAA,mBAAO,SAAkB,EAAA,SAAA,EAAA;AAKrC,QAAA,IAAO,SAAA,EAAA,QAAA,KAAyB,IAAA,CAAK,KAAO,EAAA,QAAA,EAAA;;;;IAI5C,MAAiB,GAAA;AAIjB,QAAA,IAAA,IAAA,CAAA,KAAkB,CAAC,QAAA,EAAW;YAMxB,MAAA,iBAAA,GAAA,IAAA,CAAA,KAAA,CAAA,iBAAA;AAOT,YAAA,OAAAA,cAAA,CAAA,aAAA,CAAA,iBAAA,EAAA,EAAA,KAAA,EAAA,IAAA,CAAA,KAAA,CAAA,KAAA,EAAA,CAAA;;;;"}
1
+ {"version":3,"file":"ErrorBoundaryCommon.js","sources":["../../src/components/ErrorBoundaryCommon.tsx"],"sourcesContent":[null],"names":[],"mappings":"qGAG+C,MAAO,mBAAY,SAAA,KAAA,CAAA,SAAA,CAAA;IAAG,WAAA,CAAA,KAAA,EAAA;AACrE;QACY,IAAA,CAAC,KAAE,GAAA,EAAQ,QAAA,EAAA,KAAA,EAAA,KAAA,EAAA,IAAA,EAAA;;IAEnB,OAAiB,wBAAU,CAAA,KAAA,EAAA;QAAE,OAAO,UAAK,EAAA,IAAA,EAAA,KAAA,EAAA;AAAE;IAC7C,iBAAA,CAAA,KAAA,EAAA;AAEF,QAAa,MAAA,CAAA,KAAA,CAAA,KAAA,CAAA;AACG;AAKZ,IAAA,kBAAO,CAAA,SAAA,EAAA,SAAgC,EAAK;;;;;AAQ5C,IAAA,MAAA,GAAA;QAMM,IAAA,IAAA,CAAA,KAAA,CAAA,QAAA,EAAA;AAOT,YAAA,MAAA,iBAAA,GAAA,IAAA,CAAA,KAAA,CAAA,iBAAA;;;;;"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface LayoutCookieProviderProps {
3
+ children: React.ReactNode;
4
+ }
5
+ export declare function LayoutCookieProvider({ children }: LayoutCookieProviderProps): React.ReactElement;
6
+ export {};
7
+ //# sourceMappingURL=LayoutCookieProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LayoutCookieProvider.d.ts","sourceRoot":"","sources":["../../src/components/LayoutCookieProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAMzC,UAAU,yBAAyB;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,wBAAgB,oBAAoB,CAAC,EAAE,QAAQ,EAAE,EAAE,yBAAyB,GAAG,KAAK,CAAC,YAAY,CAqBhG"}
@@ -0,0 +1,19 @@
1
+ import {jsx,Fragment}from'react/jsx-runtime';import {useEffect}from'react';import {useDispatch}from'react-redux';import {useLoaderData}from'@remix-run/react';import {CHANGE_SETTINGS_ACTION}from'../constants/constants.js';function LayoutCookieProvider({ children }) {
2
+ const settings = useLoaderData();
3
+ const dispatch = useDispatch();
4
+ const changeSettings = () => {
5
+ if (settings) {
6
+ dispatch({
7
+ type: CHANGE_SETTINGS_ACTION,
8
+ payload: settings,
9
+ });
10
+ }
11
+ };
12
+ useEffect(() => {
13
+ changeSettings();
14
+ }, [settings, dispatch]);
15
+ if (typeof window === 'undefined') {
16
+ changeSettings();
17
+ }
18
+ return jsx(Fragment, { children: children });
19
+ }export{LayoutCookieProvider};//# sourceMappingURL=LayoutCookieProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LayoutCookieProvider.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,3 @@
1
- export declare const settingsCookie: import("@remix-run/node").Cookie;
2
1
  export declare const action: ({ request }: {
3
2
  request: Request;
4
3
  }) => Promise<import("@remix-run/node").TypedResponse<any>>;
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateSettings.server.d.ts","sourceRoot":"","sources":["../../../src/components/UpdateSettings/UpdateSettings.server.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc,kCAKzB,CAAC;AAEH,eAAO,MAAM,MAAM,gBAAuB;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,0DAiB7D,CAAC;AAEF,eAAO,MAAM,MAAM,gBAAuB;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,0DAiB7D,CAAC"}
1
+ {"version":3,"file":"UpdateSettings.server.d.ts","sourceRoot":"","sources":["../../../src/components/UpdateSettings/UpdateSettings.server.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,MAAM,gBAAuB;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,0DAiB7D,CAAC;AAEF,eAAO,MAAM,MAAM,gBAAuB;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,0DAiB7D,CAAC"}
@@ -33,4 +33,4 @@ const loader = async ({ request }) => {
33
33
  });
34
34
  }
35
35
  return json(settings);
36
- };export{action,loader,settingsCookie};//# sourceMappingURL=UpdateSettings.server.js.map
36
+ };export{action,loader};//# sourceMappingURL=UpdateSettings.server.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateSettings.server.js","sources":["../../../src/components/UpdateSettings/UpdateSettings.server.ts"],"sourcesContent":[null],"names":[],"mappings":"gMAW8D,MAAA,cAAA,GAAA,YAAA,CAAA,UAAA,EAAA;AAmB9D,IAAO,MAAA,EAAA,EAAA,GAAA,EAAA,QAAY,EAAuB;IAAE,QAAO;AAAW,IAAA,QAAA,EAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"UpdateSettings.server.js","sources":["../../../src/components/UpdateSettings/UpdateSettings.server.ts"],"sourcesContent":[null],"names":[],"mappings":"gMA8BA,MAAO,cAAA,eAAmC,CAAA,UAAA,EAAA;IAAE,MAAO,EAAA,UAAS,EAAA,GAAA,EAAA;AAAE,IAAA,QAAA,EAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,5 @@
1
1
  export * from './ApplicationErrorHandlerCommon';
2
2
  export * from './ErrorBoundaryCommon';
3
3
  export * from './ApplicationErrorFillWrapper';
4
+ export * from './LayoutCookieProvider';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC"}
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- export{APPLICATION_ERROR_SLOT_FILL,CHANGE_LANGUAGE,CHANGE_SETTINGS_ACTION}from'./constants/constants.js';export{BACKEND_ERROR,CLEAR_APPLICATION_ERRORS,DISMISS_APPLICATION_ERROR,LOG_APPLICATION_ERROR,RESTORE_APPLICATION_ERRORS}from'./constants/error.js';export{HEADER_SEARCHBAR_FILL,HEADER_SEARCH_BUTTON_FILL,RIGHT_CONTENT_FILL,SCROLL_END_FILL}from'./constants/layout.js';export{languages}from'./constants/languages.js';export{dismissApplicationError,restoreApplicationError,setApplicationError}from'./redux/actions/error-actions.js';export{applicationErrors,initialErrorsState}from'./redux/reducers/error.js';export{settingsReducer}from'./redux/reducers/settings.js';export{store}from'./redux/store.js';export{useAppDispatch,useAppSelector}from'./redux/hooks.js';export{getMenuSeparation}from'./utils/seperatedMenus.js';export{useComponentSize,useIsomorphicLayoutEffect}from'./utils/componentSize.js';export{matchParentRoute}from'./utils/parentRoute.js';export{addProLayoutParentKeys,filterRoutesWithLocale,menuDataRender,removeUnnecessaryProperties,setLocale,transformData}from'./utils/menuUtils.js';export{getMatchMenuKeys}from'./utils/matchMenuKeys.js';export{getAntdLocale}from'./utils/getAntdLocale.js';export{generateMenuPath}from'./utils/generateMenuLink.js';export{ApplicationErrorHandlerCommon}from'./components/ApplicationErrorHandlerCommon.js';export{ErrorBoundaryCommon}from'./components/ErrorBoundaryCommon.js';export{ApplicationErrorFillWrapper}from'./components/ApplicationErrorFillWrapper.js';export{ErrorLink,errorReduxLink}from'./graphql/link/error-link.js';export{systemFont}from'./themes/systemFont/index.js';export{borderRadius,colors,lightLayoutTheme,lightNavigationBarTheme,lightTabBarTheme,shadows,sizes,spacings,textVariants}from'./themes/templates/lightLayoutTheme.js';export{createLayoutTheme}from'./themes/templates/createLayoutTheme.js';export{darkColors,darkLayoutTheme,darkNavigationBarTheme,darkTabBarTheme}from'./themes/templates/darkLayoutTheme.js';export{config}from'./config/env-config.js';export{defaultSettings}from'./config/defaultSettings.js';export{ThemeProvider,getTheme}from'./antd-themes/ThemeProvider.js';export{airbnbDarkTheme}from'./antd-themes/airbnb-dark-theme.js';export{airbnbLightTheme}from'./antd-themes/airbnb-light-theme.js';export{colorList,getThemeColors}from'./antd-themes/colors.js';export{defaultDarkTheme}from'./antd-themes/default-dark-theme.js';export{defaultLightTheme}from'./antd-themes/default-light-theme.js';export{githubDarkTheme}from'./antd-themes/github-dark-theme.js';export{githubLightTheme}from'./antd-themes/github-light-theme.js';export{slackDarkTheme}from'./antd-themes/slack-dark-theme.js';export{slackLightTheme}from'./antd-themes/slack-light-theme.js';export{spotifyDarkTheme}from'./antd-themes/spotify-dark-theme.js';export{spotifyLightTheme}from'./antd-themes/spotify-light-theme.js';export{themeRegistry}from'./antd-themes/themeRegistry.js';export{useLayoutSettings}from'./hooks/useLayoutSettings.js';//# sourceMappingURL=index.js.map
1
+ export{APPLICATION_ERROR_SLOT_FILL,CHANGE_LANGUAGE,CHANGE_SETTINGS_ACTION}from'./constants/constants.js';export{BACKEND_ERROR,CLEAR_APPLICATION_ERRORS,DISMISS_APPLICATION_ERROR,LOG_APPLICATION_ERROR,RESTORE_APPLICATION_ERRORS}from'./constants/error.js';export{HEADER_SEARCHBAR_FILL,HEADER_SEARCH_BUTTON_FILL,RIGHT_CONTENT_FILL,SCROLL_END_FILL}from'./constants/layout.js';export{languages}from'./constants/languages.js';export{dismissApplicationError,restoreApplicationError,setApplicationError}from'./redux/actions/error-actions.js';export{applicationErrors,initialErrorsState}from'./redux/reducers/error.js';export{settingsReducer}from'./redux/reducers/settings.js';export{store}from'./redux/store.js';export{useAppDispatch,useAppSelector}from'./redux/hooks.js';export{getMenuSeparation}from'./utils/seperatedMenus.js';export{useComponentSize,useIsomorphicLayoutEffect}from'./utils/componentSize.js';export{matchParentRoute}from'./utils/parentRoute.js';export{addProLayoutParentKeys,filterRoutesWithLocale,menuDataRender,removeUnnecessaryProperties,setLocale,transformData}from'./utils/menuUtils.js';export{getMatchMenuKeys}from'./utils/matchMenuKeys.js';export{getAntdLocale}from'./utils/getAntdLocale.js';export{generateMenuPath}from'./utils/generateMenuLink.js';export{ApplicationErrorHandlerCommon}from'./components/ApplicationErrorHandlerCommon.js';export{ErrorBoundaryCommon}from'./components/ErrorBoundaryCommon.js';export{ApplicationErrorFillWrapper}from'./components/ApplicationErrorFillWrapper.js';export{LayoutCookieProvider}from'./components/LayoutCookieProvider.js';export{ErrorLink,errorReduxLink}from'./graphql/link/error-link.js';export{systemFont}from'./themes/systemFont/index.js';export{borderRadius,colors,lightLayoutTheme,lightNavigationBarTheme,lightTabBarTheme,shadows,sizes,spacings,textVariants}from'./themes/templates/lightLayoutTheme.js';export{createLayoutTheme}from'./themes/templates/createLayoutTheme.js';export{darkColors,darkLayoutTheme,darkNavigationBarTheme,darkTabBarTheme}from'./themes/templates/darkLayoutTheme.js';export{config}from'./config/env-config.js';export{defaultSettings}from'./config/defaultSettings.js';export{ThemeProvider,getTheme}from'./antd-themes/ThemeProvider.js';export{airbnbDarkTheme}from'./antd-themes/airbnb-dark-theme.js';export{airbnbLightTheme}from'./antd-themes/airbnb-light-theme.js';export{colorList,getThemeColors}from'./antd-themes/colors.js';export{defaultDarkTheme}from'./antd-themes/default-dark-theme.js';export{defaultLightTheme}from'./antd-themes/default-light-theme.js';export{githubDarkTheme}from'./antd-themes/github-dark-theme.js';export{githubLightTheme}from'./antd-themes/github-light-theme.js';export{slackDarkTheme}from'./antd-themes/slack-dark-theme.js';export{slackLightTheme}from'./antd-themes/slack-light-theme.js';export{spotifyDarkTheme}from'./antd-themes/spotify-dark-theme.js';export{spotifyLightTheme}from'./antd-themes/spotify-light-theme.js';export{themeRegistry}from'./antd-themes/themeRegistry.js';export{useLayoutSettings}from'./hooks/useLayoutSettings.js';//# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export{APPLICATION_ERROR_SLOT_FILL,CHANGE_LANGUAGE,CHANGE_SETTINGS_ACTION}from'./constants/constants.js';export{BACKEND_ERROR,CLEAR_APPLICATION_ERRORS,DISMISS_APPLICATION_ERROR,LOG_APPLICATION_ERROR,RESTORE_APPLICATION_ERRORS}from'./constants/error.js';export{HEADER_SEARCHBAR_FILL,HEADER_SEARCH_BUTTON_FILL,RIGHT_CONTENT_FILL,SCROLL_END_FILL}from'./constants/layout.js';export{languages}from'./constants/languages.js';export{dismissApplicationError,restoreApplicationError,setApplicationError}from'./redux/actions/error-actions.js';export{applicationErrors,initialErrorsState}from'./redux/reducers/error.js';export{settingsReducer}from'./redux/reducers/settings.js';export{store}from'./redux/store.js';export{useAppDispatch,useAppSelector}from'./redux/hooks.js';export{getMenuSeparation}from'./utils/seperatedMenus.js';export{useComponentSize,useIsomorphicLayoutEffect}from'./utils/componentSize.js';export{matchParentRoute}from'./utils/parentRoute.js';export{addProLayoutParentKeys,filterRoutesWithLocale,menuDataRender,removeUnnecessaryProperties,setLocale,transformData}from'./utils/menuUtils.js';export{getMatchMenuKeys}from'./utils/matchMenuKeys.js';export{getAntdLocale}from'./utils/getAntdLocale.js';export{generateMenuPath}from'./utils/generateMenuLink.js';export{ApplicationErrorHandlerCommon}from'./components/ApplicationErrorHandlerCommon.js';export{ErrorBoundaryCommon}from'./components/ErrorBoundaryCommon.js';export{ApplicationErrorFillWrapper}from'./components/ApplicationErrorFillWrapper.js';export{ErrorLink,errorReduxLink}from'./graphql/link/error-link.js';export{systemFont}from'./themes/systemFont/index.js';export{borderRadius,colors,lightLayoutTheme,lightNavigationBarTheme,lightTabBarTheme,shadows,sizes,spacings,textVariants}from'./themes/templates/lightLayoutTheme.js';export{createLayoutTheme}from'./themes/templates/createLayoutTheme.js';export{darkColors,darkLayoutTheme,darkNavigationBarTheme,darkTabBarTheme}from'./themes/templates/darkLayoutTheme.js';export{config}from'./config/env-config.js';export{defaultSettings}from'./config/defaultSettings.js';//# sourceMappingURL=index.native.js.map
1
+ export{APPLICATION_ERROR_SLOT_FILL,CHANGE_LANGUAGE,CHANGE_SETTINGS_ACTION}from'./constants/constants.js';export{BACKEND_ERROR,CLEAR_APPLICATION_ERRORS,DISMISS_APPLICATION_ERROR,LOG_APPLICATION_ERROR,RESTORE_APPLICATION_ERRORS}from'./constants/error.js';export{HEADER_SEARCHBAR_FILL,HEADER_SEARCH_BUTTON_FILL,RIGHT_CONTENT_FILL,SCROLL_END_FILL}from'./constants/layout.js';export{languages}from'./constants/languages.js';export{dismissApplicationError,restoreApplicationError,setApplicationError}from'./redux/actions/error-actions.js';export{applicationErrors,initialErrorsState}from'./redux/reducers/error.js';export{settingsReducer}from'./redux/reducers/settings.js';export{store}from'./redux/store.js';export{useAppDispatch,useAppSelector}from'./redux/hooks.js';export{getMenuSeparation}from'./utils/seperatedMenus.js';export{useComponentSize,useIsomorphicLayoutEffect}from'./utils/componentSize.js';export{matchParentRoute}from'./utils/parentRoute.js';export{addProLayoutParentKeys,filterRoutesWithLocale,menuDataRender,removeUnnecessaryProperties,setLocale,transformData}from'./utils/menuUtils.js';export{getMatchMenuKeys}from'./utils/matchMenuKeys.js';export{getAntdLocale}from'./utils/getAntdLocale.js';export{generateMenuPath}from'./utils/generateMenuLink.js';export{ApplicationErrorHandlerCommon}from'./components/ApplicationErrorHandlerCommon.js';export{ErrorBoundaryCommon}from'./components/ErrorBoundaryCommon.js';export{ApplicationErrorFillWrapper}from'./components/ApplicationErrorFillWrapper.js';export{LayoutCookieProvider}from'./components/LayoutCookieProvider.js';export{ErrorLink,errorReduxLink}from'./graphql/link/error-link.js';export{systemFont}from'./themes/systemFont/index.js';export{borderRadius,colors,lightLayoutTheme,lightNavigationBarTheme,lightTabBarTheme,shadows,sizes,spacings,textVariants}from'./themes/templates/lightLayoutTheme.js';export{createLayoutTheme}from'./themes/templates/createLayoutTheme.js';export{darkColors,darkLayoutTheme,darkNavigationBarTheme,darkTabBarTheme}from'./themes/templates/darkLayoutTheme.js';export{config}from'./config/env-config.js';export{defaultSettings}from'./config/defaultSettings.js';//# sourceMappingURL=index.native.js.map
@@ -1,4 +1,4 @@
1
- import { IMenuDataItem } from '@common-stack/client-react/lib/interfaces/menu';
1
+ import { type IMenuData } from '@common-stack/client-react/lib/interfaces/menu';
2
2
  /**
3
3
  * Custom menuDataRender function which will be called on component render
4
4
  * to filter out menus from props.menuData on the basis of authorities.
@@ -9,7 +9,7 @@ import { IMenuDataItem } from '@common-stack/client-react/lib/interfaces/menu';
9
9
  * @param menuList
10
10
  * @param authorities
11
11
  */
12
- export declare const menuDataRender: (menuList: IMenuDataItem[], authorities: any) => IMenuDataItem[];
12
+ export declare const menuDataRender: (menuList: IMenuData[], authorities: any) => IMenuData[];
13
13
  export declare function transformData(data: any): any;
14
14
  export declare function setLocale(obj: any, parentName?: string): void;
15
15
  export declare const addProLayoutParentKeys: (menuData?: any[], parentKeys?: string[]) => any[];
@@ -1 +1 @@
1
- {"version":3,"file":"menuUtils.d.ts","sourceRoot":"","sources":["../../src/utils/menuUtils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAC/E;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,aAAc,aAAa,EAAE,uBAAgB,aAAa,EAqBpF,CAAC;AAMF,wBAAgB,aAAa,CAAC,IAAI,KAAA,OAcjC;AACD,wBAAgB,SAAS,CAAC,GAAG,KAAA,EAAE,UAAU,SAAK,QAO7C;AAED,eAAO,MAAM,sBAAsB,cAAe,GAAG,EAAE,eAAc,MAAM,EAAE,UAS5E,CAAC;AAEF,eAAO,MAAM,sBAAsB,sBAalC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,GAAG,KAAA,QAY9C"}
1
+ {"version":3,"file":"menuUtils.d.ts","sourceRoot":"","sources":["../../src/utils/menuUtils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAChF;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,aAAc,SAAS,EAAE,uBAAgB,SAAS,EAqB5E,CAAC;AAMF,wBAAgB,aAAa,CAAC,IAAI,KAAA,OAcjC;AACD,wBAAgB,SAAS,CAAC,GAAG,KAAA,EAAE,UAAU,SAAK,QAO7C;AAED,eAAO,MAAM,sBAAsB,cAAe,GAAG,EAAE,eAAc,MAAM,EAAE,UAS5E,CAAC;AAEF,eAAO,MAAM,sBAAsB,sBAalC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,GAAG,KAAA,QAY9C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admin-layout/client",
3
- "version": "10.0.4-alpha.2",
3
+ "version": "10.0.4-alpha.21",
4
4
  "description": "Sample client for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -22,8 +22,8 @@
22
22
  "watch": "yarn build:lib:watch"
23
23
  },
24
24
  "dependencies": {
25
- "@common-stack/client-core": "7.0.2-alpha.1",
26
- "common": "10.0.2-alpha.21",
25
+ "@common-stack/client-core": "7.0.4-alpha.17",
26
+ "common": "10.0.4-alpha.16",
27
27
  "serialize-error": "^8.0.0"
28
28
  },
29
29
  "peerDependencies": {
@@ -39,5 +39,5 @@
39
39
  "typescript": {
40
40
  "definition": "lib/index.d.ts"
41
41
  },
42
- "gitHead": "c4b5adba3f948d359307dd561ba410f28ff38d19"
42
+ "gitHead": "8665a9e25ecd56b3ad7edcc44d52e27562af1afc"
43
43
  }