@admin-layout/client 9.0.4-alpha.0 → 9.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.
@@ -9,5 +9,8 @@ export declare const defaultSettings: ProSettings & {
9
9
  titleHeight: string;
10
10
  titleFontSize: string;
11
11
  letterSpacings: string;
12
+ siderBgColor: string;
13
+ headerBgColor: string;
14
+ textColor: string;
12
15
  };
13
16
  //# sourceMappingURL=defaultSettings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defaultSettings.d.ts","sourceRoot":"","sources":["../../src/config/defaultSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,eAAO,MAAM,eAAe,EAAE,WAAW,GAAG;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,OAAO,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;CA+B1B,CAAC"}
1
+ {"version":3,"file":"defaultSettings.d.ts","sourceRoot":"","sources":["../../src/config/defaultSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,eAAO,MAAM,eAAe,EAAE,WAAW,GAAG;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,OAAO,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CAkCrB,CAAC"}
@@ -27,5 +27,8 @@ const defaultSettings = {
27
27
  headerHeight: undefined,
28
28
  menu: undefined,
29
29
  splitMenus: false,
30
- siderMenuType: 'sub'
30
+ siderMenuType: 'sub',
31
+ siderBgColor: '#000000',
32
+ headerBgColor: '#000000',
33
+ textColor: '#a19c9c',
31
34
  };export{defaultSettings};//# sourceMappingURL=defaultSettings.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defaultSettings.js","sources":["../../src/config/defaultSettings.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAS,MAAA,eAAmB;AAE5B,IAAA,IAAA,EAAA,mEAA4C;IACxC,iBAAa;IACb,YAAgB,EAAA;IAChB,YAAY,WAAO;IACnB,MAAQ,EAAA;IACR,YAAY,SAAO;IACnB,WAAe,EAAA,IAAE;IACjB,WAAW,EAAE;IACb,eAAe,MAAM;IACrB,SAAc,EAAA,KAAE;IA+BlB,KAAA,EAAA,aAAA;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"defaultSettings.js","sources":["../../src/config/defaultSettings.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAS,MAAA,eAAmB;AAE5B,IAAA,IAAA,EAAA,mEAA4C;IACxC,iBAAa;IACb,YAAgB,EAAA;IAChB,YAAY,WAAO;IACnB,MAAQ,EAAA;IACR,YAAY,SAAO;IACnB,WAAe,EAAA,IAAE;IACjB,WAAW,EAAE;IACb,eAAe,MAAM;IACrB,SAAc,EAAA,KAAE;IAChB,KAAY,EAAA,aAAQ;IACpB,WAAa,EAAA,EAAE;IACf,kBAAkB,IAAA;IAkCpB,UAAA,EAAA,SAAA;;;;;;;;;;;;;;;;;;;"}
@@ -1,2 +1,3 @@
1
1
  export * from './env-config';
2
+ export * from './defaultSettings';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC"}
package/lib/index.d.ts CHANGED
@@ -5,4 +5,5 @@ export * from './utils';
5
5
  export * from './components';
6
6
  export * from './graphql';
7
7
  export * from './themes';
8
+ export * from './config';
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,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{settingsReducer}from'./redux/settings.js';export{applicationErrors,initialErrorsState}from'./redux/reducers/error.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{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';//# 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{settingsReducer}from'./redux/settings.js';export{applicationErrors,initialErrorsState}from'./redux/reducers/error.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{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.js.map
@@ -5,4 +5,5 @@ export * from './utils';
5
5
  export * from './components';
6
6
  export * from './graphql';
7
7
  export * from './themes';
8
+ export * from './config';
8
9
  //# sourceMappingURL=index.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../src/index.native.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../src/index.native.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
@@ -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{settingsReducer}from'./redux/settings.js';export{applicationErrors,initialErrorsState}from'./redux/reducers/error.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{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';//# 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{settingsReducer}from'./redux/settings.js';export{applicationErrors,initialErrorsState}from'./redux/reducers/error.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{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,5 +1,8 @@
1
1
  import { ProSettings } from './pure-settings';
2
2
  export type DefaultSettings = Partial<ProSettings> & {
3
3
  language?: string;
4
+ siderBgColor?: string;
5
+ headerBgColor?: string;
6
+ textColor?: string;
4
7
  };
5
8
  //# sourceMappingURL=default-settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default-settings.d.ts","sourceRoot":"","sources":["../../src/interfaces/default-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC,GAAG;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
1
+ {"version":3,"file":"default-settings.d.ts","sourceRoot":"","sources":["../../src/interfaces/default-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,WAAW,CAAC,GAAG;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -0,0 +1,43 @@
1
+ import { TypedUseSelectorHook } from 'react-redux';
2
+ import type { RootState } from './store';
3
+ export declare const useAppDispatch: () => import("@reduxjs/toolkit").ThunkDispatch<{
4
+ settings: import("..").DefaultSettings | {
5
+ language: import("..").DefaultSettings;
6
+ navTheme?: import("..").MenuTheme | "realDark" | undefined;
7
+ headerTheme?: import("..").MenuTheme;
8
+ headerHeight?: number;
9
+ layout?: "side" | "top" | "mix";
10
+ contentWidth?: import("..").ContentWidth;
11
+ fixedHeader?: boolean;
12
+ fixSiderbar?: boolean;
13
+ menu?: {
14
+ locale?: boolean;
15
+ defaultOpenAll?: boolean;
16
+ loading?: boolean;
17
+ };
18
+ title?: string | false;
19
+ iconfontUrl?: string;
20
+ colorPrimary?: string;
21
+ primaryColor?: string;
22
+ colorWeak?: boolean;
23
+ splitMenus?: boolean;
24
+ siderMenuType?: string;
25
+ showHeader?: boolean | any;
26
+ headerRender?: boolean | any;
27
+ showFooter?: boolean | any;
28
+ footerRender?: boolean | any;
29
+ searchBarRender?: boolean | any;
30
+ showMenu?: boolean | any;
31
+ menuRender?: false | any;
32
+ menuHeaderRender?: false | any;
33
+ siderBgColor?: string;
34
+ headerBgColor?: string;
35
+ textColor?: string;
36
+ };
37
+ applicationErrors: any;
38
+ }, undefined, import("redux").UnknownAction> & import("redux").Dispatch<import("./actions").ErrorActions | {
39
+ type: string;
40
+ payload: import("..").DefaultSettings;
41
+ }>;
42
+ export declare const useAppSelector: TypedUseSelectorHook<RootState>;
43
+ //# sourceMappingURL=hooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/redux/hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAA4B,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,KAAK,EAAe,SAAS,EAAE,MAAM,SAAS,CAAC;AAGtD,eAAO,MAAM,cAAc;;;;;;;;;;;kBAEmwB,CAAC;0BAAyB,CAAC;mBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;EAF9wB,CAAC;AAC/D,eAAO,MAAM,cAAc,EAAE,oBAAoB,CAAC,SAAS,CAAe,CAAC"}
@@ -0,0 +1,4 @@
1
+ import {useDispatch,useSelector}from'react-redux';/* eslint-disable @typescript-eslint/no-restricted-imports */
2
+ // Use throughout app instead of plain `useDispatch` and `useSelector`
3
+ const useAppDispatch = () => useDispatch();
4
+ const useAppSelector = useSelector;export{useAppDispatch,useAppSelector};//# sourceMappingURL=hooks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks.js","sources":["../../src/redux/hooks.ts"],"sourcesContent":[null],"names":[],"mappings":"kDACA;AAIA;;"}
@@ -1,4 +1,6 @@
1
1
  export * from './actions';
2
2
  export * from './settings';
3
3
  export * from './reducers';
4
+ export * from './store';
5
+ export * from './hooks';
4
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/redux/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/redux/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -31,6 +31,9 @@ declare const settingsReducer: (state: DefaultSettings, { type, payload }: {
31
31
  showMenu?: boolean | any;
32
32
  menuRender?: false | any;
33
33
  menuHeaderRender?: false | any;
34
+ siderBgColor?: string;
35
+ headerBgColor?: string;
36
+ textColor?: string;
34
37
  };
35
38
  export { settingsReducer };
36
39
  //# sourceMappingURL=settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../src/redux/settings.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAmBhD,QAAA,MAAM,eAAe,8CAEO;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,eAAe,CAAA;CAAE;;;;;;;;;;cAOxC,CAAC;sBACX,CAAhB;eAAkB,CAAC;;;;;;;;;;;;;;;;;CAiBtB,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../src/redux/settings.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAmBhD,QAAA,MAAM,eAAe,8CAEO;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,eAAe,CAAA;CAAE;;;;;;;;;;cAOxC,CAAC;sBACX,CAAhB;eAAkB,CAAC;;;;;;;;;;;;;;;;;;;;CAiBtB,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"settings.js","sources":["../../src/redux/settings.ts"],"sourcesContent":[null],"names":[],"mappings":"8JAIA;AAmBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aA2BE,CAAA;AAEF,QAAO,KAAiB,eAAG;;;;;;;;"}
1
+ {"version":3,"file":"settings.js","sources":["../../src/redux/settings.ts"],"sourcesContent":[null],"names":[],"mappings":"8JAIA;AAmBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA2BE,GAAA,KAAA;AAEF,gBAAwB,QAAA,EAAE,OAAC;;;;;"}
@@ -0,0 +1,80 @@
1
+ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
2
+ settings: import("..").DefaultSettings | {
3
+ language: import("..").DefaultSettings;
4
+ navTheme?: import("..").MenuTheme | "realDark" | undefined;
5
+ headerTheme?: import("..").MenuTheme;
6
+ headerHeight?: number;
7
+ layout?: "side" | "top" | "mix";
8
+ contentWidth?: import("..").ContentWidth;
9
+ fixedHeader?: boolean;
10
+ fixSiderbar?: boolean;
11
+ menu?: {
12
+ locale?: boolean;
13
+ defaultOpenAll?: boolean;
14
+ loading?: boolean;
15
+ };
16
+ title?: string | false;
17
+ iconfontUrl?: string;
18
+ colorPrimary?: string;
19
+ primaryColor?: string;
20
+ colorWeak?: boolean;
21
+ splitMenus?: boolean;
22
+ siderMenuType?: string;
23
+ showHeader?: boolean | any;
24
+ headerRender?: boolean | any;
25
+ showFooter?: boolean | any;
26
+ footerRender?: boolean | any;
27
+ searchBarRender?: boolean | any;
28
+ showMenu?: boolean | any;
29
+ menuRender?: false | any;
30
+ menuHeaderRender?: false | any;
31
+ siderBgColor?: string;
32
+ headerBgColor?: string;
33
+ textColor?: string;
34
+ };
35
+ applicationErrors: any;
36
+ }, import("./actions").ErrorActions | {
37
+ type: string;
38
+ payload: import("..").DefaultSettings;
39
+ }, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
40
+ dispatch: import("@reduxjs/toolkit").ThunkDispatch<{
41
+ settings: import("..").DefaultSettings | {
42
+ language: import("..").DefaultSettings;
43
+ navTheme?: import("..").MenuTheme | "realDark" | undefined;
44
+ headerTheme?: import("..").MenuTheme;
45
+ headerHeight?: number;
46
+ layout?: "side" | "top" | "mix";
47
+ contentWidth?: import("..").ContentWidth;
48
+ fixedHeader?: boolean;
49
+ fixSiderbar?: boolean;
50
+ menu?: {
51
+ locale?: boolean;
52
+ defaultOpenAll?: boolean;
53
+ loading?: boolean;
54
+ };
55
+ title?: string | false;
56
+ iconfontUrl?: string;
57
+ colorPrimary?: string;
58
+ primaryColor?: string;
59
+ colorWeak?: boolean;
60
+ splitMenus?: boolean;
61
+ siderMenuType?: string;
62
+ showHeader?: boolean | any;
63
+ headerRender?: boolean | any;
64
+ showFooter?: boolean | any;
65
+ footerRender?: boolean | any;
66
+ searchBarRender?: boolean | any;
67
+ showMenu?: boolean | any;
68
+ menuRender?: false | any;
69
+ menuHeaderRender?: false | any;
70
+ siderBgColor?: string;
71
+ headerBgColor?: string;
72
+ textColor?: string;
73
+ };
74
+ applicationErrors: any;
75
+ }, undefined, import("redux").UnknownAction>;
76
+ }>, import("redux").StoreEnhancer]>>;
77
+ export type RootState = ReturnType<typeof store.getState>;
78
+ export type AppStore = typeof store;
79
+ export type AppDispatch = AppStore['dispatch'];
80
+ //# sourceMappingURL=store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/redux/store.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,KAAK;;;;;;;;;;;kBAW6c,CAAC;0BAAyB,CAAC;mBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAA9C,CAAC;8BAAyB,CAAC;uBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;oCAT3gB,CAAC;AAGH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC;AAG1D,MAAM,MAAM,QAAQ,GAAG,OAAO,KAAK,CAAC;AAEpC,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import {combineReducers,configureStore}from'@reduxjs/toolkit';import {settingsReducer}from'./settings.js';import {applicationErrors}from'./reducers/error.js';// Combine the reducers into an object
2
+ const rootReducer = combineReducers({
3
+ settings: settingsReducer, // Adding settings reducer
4
+ applicationErrors: applicationErrors, // Adding applicationErrors reducer
5
+ });
6
+ // Configure the store
7
+ const store = configureStore({
8
+ reducer: rootReducer,
9
+ });export{store};//# sourceMappingURL=store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admin-layout/client",
3
- "version": "9.0.4-alpha.0",
3
+ "version": "9.0.4-alpha.21",
4
4
  "description": "Sample client for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -36,5 +36,5 @@
36
36
  "typescript": {
37
37
  "definition": "lib/index.d.ts"
38
38
  },
39
- "gitHead": "6f015732d0cf98163f4eb52e5b92002339757a62"
39
+ "gitHead": "bd7476c29975b581d825d3c390f8803c90ede113"
40
40
  }