@admin-layout/client 12.0.16-alpha.93 → 12.2.1-alpha.0

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,2 +1,3 @@
1
- export declare const ApplicationErrorFillWrapper: (props: any) => import("react/jsx-runtime").JSX.Element;
1
+ import * as React from 'react';
2
+ export declare const ApplicationErrorFillWrapper: (props: any) => React.JSX.Element;
2
3
  //# sourceMappingURL=ApplicationErrorFillWrapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationErrorFillWrapper.d.ts","sourceRoot":"","sources":["../../src/components/ApplicationErrorFillWrapper.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,2BAA2B,GAAI,UAAK,4CAEhD,CAAA"}
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,GAAI,UAAK,sBAEhD,CAAA"}
@@ -1,3 +1,3 @@
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 });
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 });
3
3
  };export{ApplicationErrorFillWrapper};//# sourceMappingURL=ApplicationErrorFillWrapper.js.map
@@ -1,4 +1,4 @@
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';/**
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';/**
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,12 +14,14 @@ 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 ? jsx(ApplicationErrorSlot, { ...props }) : jsx(Slot, { ...props });
17
+ return !!ApplicationErrorSlot ? React__default.createElement(ApplicationErrorSlot, { ...props }) : React__default.createElement(Slot, { ...props });
18
18
  };
19
19
  if (!!RendererComponent) {
20
- return jsx(RendererComponent, { applicationErrors: errors, backendError: backendError });
20
+ return React__default.createElement(RendererComponent, { applicationErrors: errors, backendError: backendError });
21
21
  }
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] }));
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));
25
27
  };export{ApplicationErrorHandlerCommon};//# sourceMappingURL=ApplicationErrorHandlerCommon.js.map
@@ -1 +1 @@
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;UACT,iBAAgB,GAAA,WAAA,CAAA,CAAA,KAAA,KAAA,KAAA,EAAA,iBAAA,CAAA;UAChB,MAAA,GAAA,iBAAmB,EAAA,MAAA,CAAA,CAAA,KAAuB,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;;;;;;;;"}
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;UACT,iBAAgB,GAAA,WAAA,CAAA,CAAA,KAAA,KAAA,KAAA,EAAA,iBAAA,CAAA;UAChB,MAAA,GAAA,iBAAmB,EAAA,MAAA,CAAA,CAAA,KAAuB,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"}
@@ -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(): import("react/jsx-runtime").JSX.Element;
21
+ render(): React.JSX.Element;
22
22
  }
23
23
  export {};
24
24
  //# sourceMappingURL=ErrorBoundaryCommon.d.ts.map
@@ -1,4 +1,4 @@
1
- import {jsx}from'react/jsx-runtime';import React from'react';import {logger}from'@cdm-logger/client';class ErrorBoundaryCommon extends React.Component {
1
+ import React__default from'react';import {logger}from'@cdm-logger/client';class ErrorBoundaryCommon extends React__default.Component {
2
2
  constructor(props) {
3
3
  super(props);
4
4
  this.state = { hasError: false, error: null };
@@ -17,7 +17,7 @@ import {jsx}from'react/jsx-runtime';import React from'react';import {logger}from
17
17
  render() {
18
18
  if (this.state.hasError) {
19
19
  const FallbackComponent = this.props.fallbackComponent;
20
- return jsx(FallbackComponent, { error: this.state.error });
20
+ return React__default.createElement(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":[],"mappings":"qGAG+C,MAAO,mBAAY,SAAA,KAAA,CAAA,SAAA,CAAA;IAAG,WAAA,CAAA,KAAA,EAAA;AACrE;QACI,IAAQ,CAAC,KAAE,GAAA,EAAQ,QAAA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AAA,KAAA,EAAA,IAAA,CAAA,KAAA,CAAA,KAAA,EAAA,CAAA;;;;"}
@@ -1,4 +1,4 @@
1
- import {jsx,Fragment}from'react/jsx-runtime';import {useRouteLoaderData}from'@remix-run/react';import {useRef,useEffect}from'react';import {useDispatch}from'react-redux';import {CHANGE_SETTINGS_ACTION}from'../constants/constants.js';function LayoutCookieProvider({ children }) {
1
+ import {useRouteLoaderData}from'@remix-run/react';import React__default,{useRef,useEffect}from'react';import {useDispatch}from'react-redux';import {CHANGE_SETTINGS_ACTION}from'../constants/constants.js';function LayoutCookieProvider({ children }) {
2
2
  const routeData = useRouteLoaderData('root');
3
3
  const settings = routeData?.settings?.settings || routeData?.settings;
4
4
  const dispatch = useDispatch();
@@ -21,5 +21,5 @@ import {jsx,Fragment}from'react/jsx-runtime';import {useRouteLoaderData}from'@re
21
21
  });
22
22
  hasDispatched.current = true;
23
23
  }
24
- return jsx(Fragment, { children: children });
24
+ return React__default.createElement(React__default.Fragment, null, children);
25
25
  }export{LayoutCookieProvider};//# sourceMappingURL=LayoutCookieProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LayoutCookieProvider.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"LayoutCookieProvider.js","sources":["../../src/components/LayoutCookieProvider.tsx"],"sourcesContent":[null],"names":[],"mappings":"2MASA,SAAA,oBAAgB,CAAA,EAAA,QAAuB,EAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -4,7 +4,7 @@
4
4
  * - Client-side accessible for dynamic UI updates
5
5
  * - Domain-scoped in production for subdomain sharing
6
6
  */
7
- export declare const settingsCookie: import("@remix-run/server-runtime").Cookie;
7
+ export declare const settingsCookie: import("@remix-run/node").Cookie;
8
8
  /**
9
9
  * Fetches page settings from GraphQL backend with device/route-specific overrides
10
10
  *
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateSettings.server.d.ts","sourceRoot":"","sources":["../../../src/components/UpdateSettings/UpdateSettings.server.ts"],"names":[],"mappings":"AAgBA;;;;;GAKG;AACH,eAAO,MAAM,cAAc,4CAMzB,CAAC;AAEH;;;;;;;;;;;GAWG;AACH,wBAAsB,0BAA0B,CAAC,OAAO,EAAE,OAAO,EAAE,kBAAkB,CAAC,EAAE,MAAM;;GAuF7F;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAsB,kBAAkB,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE;;;;CAAA;;;GA8GpE;AAED,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAQrE"}
1
+ {"version":3,"file":"UpdateSettings.server.d.ts","sourceRoot":"","sources":["../../../src/components/UpdateSettings/UpdateSettings.server.ts"],"names":[],"mappings":"AAgBA;;;;;GAKG;AACH,eAAO,MAAM,cAAc,kCAMzB,CAAC;AAEH;;;;;;;;;;;GAWG;AACH,wBAAsB,0BAA0B,CAAC,OAAO,EAAE,OAAO,EAAE,kBAAkB,CAAC,EAAE,MAAM;;GAuF7F;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAsB,kBAAkB,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE;;;;CAAA;;;GA8GpE;AAED,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAQrE"}
@@ -23,6 +23,6 @@ type Props = {
23
23
  * );
24
24
  * ```
25
25
  */
26
- export declare function ClientOnly({ children, fallback }: Props): import("react/jsx-runtime").JSX.Element;
26
+ export declare function ClientOnly({ children, fallback }: Props): React.JSX.Element;
27
27
  export {};
28
28
  //# sourceMappingURL=Client-only.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Client-only.d.ts","sourceRoot":"","sources":["../../src/hooks/Client-only.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,KAAK,GAAG;IACT;;;;OAIG;IACH,QAAQ,IAAI,KAAK,CAAC,SAAS,CAAC;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,QAAe,EAAE,EAAE,KAAK,2CAE9D"}
1
+ {"version":3,"file":"Client-only.d.ts","sourceRoot":"","sources":["../../src/hooks/Client-only.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,KAAK,KAAK,GAAG;IACT;;;;OAIG;IACH,QAAQ,IAAI,KAAK,CAAC,SAAS,CAAC;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,QAAe,EAAE,EAAE,KAAK,qBAE9D"}
@@ -1,4 +1,4 @@
1
- import {jsx,Fragment}from'react/jsx-runtime';import {useHydrated}from'./use-hydrated.js';/**
1
+ import*as React from'react';import {useHydrated}from'./use-hydrated.js';/**
2
2
  * Render the children only after the JS has loaded client-side. Use an optional
3
3
  * fallback component if the JS is not yet loaded.
4
4
  *
@@ -14,5 +14,5 @@ import {jsx,Fragment}from'react/jsx-runtime';import {useHydrated}from'./use-hydr
14
14
  * ```
15
15
  */
16
16
  function ClientOnly({ children, fallback = null }) {
17
- return useHydrated() ? jsx(Fragment, { children: children() }) : jsx(Fragment, { children: fallback });
17
+ return useHydrated() ? React.createElement(React.Fragment, null, children()) : React.createElement(React.Fragment, null, fallback);
18
18
  }export{ClientOnly};//# sourceMappingURL=Client-only.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Client-only.js","sources":["../../src/hooks/Client-only.tsx"],"sourcesContent":[null],"names":[],"mappings":"yFAII;;;;AAIG;AACH;AACA;;AAGJ;;;;;;;;;"}
1
+ {"version":3,"file":"Client-only.js","sources":["../../src/hooks/Client-only.tsx"],"sourcesContent":[null],"names":[],"mappings":"wEAII;;;;AAIG;AACH;AACA;;AAGJ;;;;;;;;;"}
@@ -19,5 +19,5 @@ export declare const darkColors: {
19
19
  };
20
20
  export declare const darkNavigationBarTheme: LayoutThemeNavigationBar;
21
21
  export declare const darkTabBarTheme: LayoutThemeTabBar;
22
- export declare const darkLayoutTheme: import("..").LayoutTheme;
22
+ export declare const darkLayoutTheme: import("../LayoutTheme").LayoutTheme;
23
23
  //# sourceMappingURL=darkLayoutTheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"darkLayoutTheme.d.ts","sourceRoot":"","sources":["../../../src/themes/templates/darkLayoutTheme.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAI7E,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;CAkBtB,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,wBAQpC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,iBAG7B,CAAC;AAEF,eAAO,MAAM,eAAe,0BAM1B,CAAC"}
1
+ {"version":3,"file":"darkLayoutTheme.d.ts","sourceRoot":"","sources":["../../../src/themes/templates/darkLayoutTheme.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAI7E,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;CAkBtB,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,wBAQpC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,iBAG7B,CAAC;AAEF,eAAO,MAAM,eAAe,sCAM1B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admin-layout/client",
3
- "version": "12.0.16-alpha.93",
3
+ "version": "12.2.1-alpha.0",
4
4
  "description": "Sample client for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -26,7 +26,7 @@
26
26
  "serialize-error": "^8.0.0"
27
27
  },
28
28
  "devDependencies": {
29
- "common": "12.0.16-alpha.91",
29
+ "common": "12.2.1-alpha.0",
30
30
  "rc-menu": "^9.16.1"
31
31
  },
32
32
  "peerDependencies": {
@@ -44,5 +44,5 @@
44
44
  "typescript": {
45
45
  "definition": "lib/index.d.ts"
46
46
  },
47
- "gitHead": "5039204f87401990735e735a0cf9c7dbb053cac9"
47
+ "gitHead": "12c777dbbb799cf12206b2c6d89fd8fc0e671efb"
48
48
  }