x25 18.0.1 → 18.2.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.
package/Async/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- /// <reference types="@docusaurus/react-loadable" />
2
1
  import * as React from "react";
3
- import Loadable from "react-loadable";
2
+ import type { Loaded } from "./types";
4
3
  export declare let ErrorBoundary: ({ children }: any) => any;
5
4
  export declare let AppLogo: any;
6
- export declare const setErrorBoundary: (theError: any) => void, setAppLogo: (theLogo: any) => void, createAsyncRoute: (loader: any) => React.ComponentType<any> & Loadable.LoadableComponent;
5
+ export declare const setErrorBoundary: (theError: any) => void, setAppLogo: (theLogo: any) => void, createAsyncRoute: (loader: () => Promise<Loaded>) => (props: any) => React.JSX.Element;
package/Async/index.js CHANGED
@@ -1,61 +1,51 @@
1
1
  /* eslint-disable new-cap, react/prefer-stateless-function, react/require-optimization */
2
2
  import * as React from "react";
3
- import Loadable from "react-loadable";
3
+ import { LoadingMessage } from "../Messages/Loading.js";
4
+ import { UpdateApplicationMessage } from "../Messages/Update.js";
5
+ import { words } from "../utility/index.js";
6
+ import TheError from "../utility/dev/TheError.js";
4
7
  import InitModule from "./InitModule.js";
5
- import RouteLoading from "./RouteLoading.js";
6
- // type injectPaginatorTypes = {
7
- // key: string,
8
- // itemsReducer: any;
9
- // pagesReducer: any;
10
- // };
11
- // import { injectReducer } from "redux-injector";
12
- // import { injectModals } from "../Modal/util.js";
13
- const timeout = 15000;
8
+ import SimulatedException from "./SimulatedException.js";
14
9
  export let ErrorBoundary = ({ children }) => (children);
15
10
  export let AppLogo = null;
16
- // const injectPaginator = ({ key, itemsReducer, pagesReducer } : injectPaginatorTypes) => {
17
- // injectReducer(`entities.${key}`, itemsReducer);
18
- // injectReducer(`paginations.${key}`, pagesReducer);
19
- // };
20
- // const renderWithReducer = (route, props) => {
21
- // const { Component, reducers, modals, paginators } = route.default;
22
- //
23
- // if (reducers) {
24
- // if (Array.isArray(reducers)) {
25
- // for (const { key, func } of reducers) {
26
- // injectReducer(key, func);
27
- // }
28
- // } else {
29
- // const { key, func } = reducers;
30
- //
31
- // injectReducer(key, func);
32
- // }
33
- // }
34
- //
35
- // if (modals) {
36
- // injectModals(modals);
37
- // }
38
- //
39
- // if (paginators) {
40
- // if (Array.isArray(paginators)) {
41
- // for (const paginator of paginators) {
42
- // injectPaginator(paginator);
43
- // }
44
- // } else {
45
- // injectPaginator(paginators);
46
- // }
47
- // }
48
- //
49
- // return <Component {...props} />;
50
- // };
11
+ class AsyncErrorBoundary extends React.Component {
12
+ constructor() {
13
+ super(...arguments);
14
+ this.state = { error: null };
15
+ }
16
+ static getDerivedStateFromError(error) {
17
+ return { error };
18
+ }
19
+ render() {
20
+ const { error } = this.state;
21
+ if (error) {
22
+ if (error.name === "ChunkLoadError") {
23
+ return React.createElement(UpdateApplicationMessage, null);
24
+ }
25
+ // eslint-disable-next-line no-undef
26
+ if (process.env.NODE_ENV === "development") {
27
+ return (React.createElement(TheError, { error: error, refresh: () => this.setState({ error: null }) }));
28
+ }
29
+ throw new SimulatedException(error);
30
+ }
31
+ return this.props.children;
32
+ }
33
+ }
34
+ const LoadingFallback = () => (React.createElement("div", { className: "mt-3" },
35
+ React.createElement(LoadingMessage, { message: words.PleaseWait })));
51
36
  export const setErrorBoundary = (theError) => {
52
37
  ErrorBoundary = theError;
53
38
  }, setAppLogo = (theLogo) => {
54
39
  AppLogo = theLogo;
55
- }, createAsyncRoute = (loader) => Loadable({
56
- loader,
57
- loading: RouteLoading,
58
- render: (loaded, props) => (React.createElement(InitModule, { loaded: loaded, props: props })),
59
- timeout,
60
- });
40
+ }, createAsyncRoute = (loader) => {
41
+ const LazyComponent = React.lazy(() => loader().then((loaded) => ({
42
+ // eslint-disable-next-line func-name-matching
43
+ default: function AsyncRouteInit(props) {
44
+ return React.createElement(InitModule, { loaded: loaded, props: props });
45
+ },
46
+ }))), AsyncRoute = (props) => (React.createElement(AsyncErrorBoundary, null,
47
+ React.createElement(React.Suspense, { fallback: React.createElement(LoadingFallback, null) },
48
+ React.createElement(LazyComponent, Object.assign({}, props)))));
49
+ return AsyncRoute;
50
+ };
61
51
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Async/index.tsx"],"names":[],"mappings":"AAAA,yFAAyF;AACzF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAG1C,gCAAgC;AAChC,iBAAiB;AACjB,uBAAuB;AACvB,uBAAuB;AACvB,KAAK;AACL,kDAAkD;AAClD,gDAAgD;AAChD,MAAM,OAAO,GAAG,KAAK,CAAC;AAEtB,MAAM,CAAC,IAAI,aAAa,GAAG,CAAC,EAAE,QAAQ,EAAQ,EAAE,EAAE,CAAC,CACjD,QAAQ,CACT,CAAC;AAEF,MAAM,CAAC,IAAI,OAAO,GAAS,IAAI,CAAC;AAEhC,4FAA4F;AAC5F,oDAAoD;AACpD,uDAAuD;AACvD,KAAK;AACL,gDAAgD;AAChD,uEAAuE;AACvE,EAAE;AACF,oBAAoB;AACpB,qCAAqC;AACrC,gDAAgD;AAChD,oCAAoC;AACpC,UAAU;AACV,eAAe;AACf,wCAAwC;AACxC,EAAE;AACF,kCAAkC;AAClC,QAAQ;AACR,MAAM;AACN,EAAE;AACF,kBAAkB;AAClB,4BAA4B;AAC5B,MAAM;AACN,EAAE;AACF,sBAAsB;AACtB,uCAAuC;AACvC,8CAA8C;AAC9C,sCAAsC;AACtC,UAAU;AACV,eAAe;AACf,qCAAqC;AACrC,QAAQ;AACR,MAAM;AACN,EAAE;AACF,qCAAqC;AACrC,KAAK;AACL,MAAM,CAAC,MACL,gBAAgB,GAAG,CAAC,QAAa,EAAE,EAAE;IACnC,aAAa,GAAG,QAAQ,CAAC;AAC3B,C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,CAAC,CAC5B,oBAAC,kBAAkB;QACjB,oBAAC,KAAK,CAAC,QAAQ,IAAC,QAAQ,EAAE,oBAAC,eAAe,OAAG;YAC3C,oBAAC,aAAa,oBAAK,KAAK,EAAI,CACb,CACE,CACtB,CAAC;IAEJ,OAAO,UAAU,CAAC;AACpB,CAAC,CAAC"}
package/UI/Things.js CHANGED
@@ -1,18 +1,9 @@
1
1
  import React from "react";
2
- import Notifications from "react-notification-system-redux2";
3
- import { connect } from "react-redux";
2
+ import { ToastContainer } from "react-toastify";
4
3
  import ModalRoot from "../Modal/Root.js";
5
- import { deleteNotification } from "../actions.js";
6
- import { getNotificationState } from "../config.js";
7
- const mapStateToProps = (state) => ({
8
- notifications: getNotificationState(state) || [],
9
- }), mapDispatchToProps = (dispatch) => ({
10
- handleDismiss: (notification) => {
11
- dispatch(deleteNotification(notification.key));
12
- },
13
- }), NotificationsContainer = connect(mapStateToProps, mapDispatchToProps)(Notifications), Things = () => (React.createElement(React.Fragment, null,
4
+ const Things = () => (React.createElement(React.Fragment, null,
14
5
  React.createElement("div", { className: "d-print-none" },
15
- React.createElement(NotificationsContainer, null)),
6
+ React.createElement(ToastContainer, null)),
16
7
  React.createElement(ModalRoot, null)));
17
8
  export default Things;
18
9
  //# sourceMappingURL=Things.js.map
package/UI/Things.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Things.js","sourceRoot":"","sources":["../../src/UI/Things.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,aAAa,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,SAAS,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAGjD,MACE,eAAe,GAAG,CAAC,KAAY,EAAE,EAAE,CAAC,CAAC;IACnC,aAAa,EAAE,oBAAoB,CAAC,KAAK,CAAC,IAAI,EAAE;CACjD,CAAC,EACF,kBAAkB,GAAG,CAAC,QAAkB,EAAE,EAAE,CAAC,CAAC;IAC5C,aAAa,EAAE,CAAC,YAA+B,EAAE,EAAE;QACjD,QAAQ,CAAC,kBAAkB,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;IACjD,CAAC;CACF,CAAC,EAEF,sBAAsB,GAAG,OAAO,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAAC,aAAa,CAAC,EAEpF,MAAM,GAAG,GAAG,EAAE,CAAC,CACb;IACE,6BAAK,SAAS,EAAC,cAAc;QAC3B,oBAAC,sBAAsB,OAAG,CACtB;IACN,oBAAC,SAAS,OAAG,CACZ,CACJ,CAAC;AAEJ,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Things.js","sourceRoot":"","sources":["../../src/UI/Things.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,SAAS,MAAM,eAAe,CAAC;AAEtC,MACE,MAAM,GAAG,GAAG,EAAE,CAAC,CACb;IACE,6BAAK,SAAS,EAAC,cAAc;QAC3B,oBAAC,cAAc,OAAG,CACd;IACN,oBAAC,SAAS,OAAG,CACZ,CACJ,CAAC;AAEJ,eAAe,MAAM,CAAC"}
package/actions.d.ts CHANGED
@@ -3,9 +3,8 @@ import type { Action } from "src/types";
3
3
  type NotificationOptions = {
4
4
  seconds?: number;
5
5
  persistent?: boolean;
6
- position?: "tr" | "tl" | "tc" | "br" | "bl" | "bc";
7
6
  };
8
- export declare const notify: (title: string | JSX.Element, options?: NotificationOptions) => Action, notifyWarning: (title: string | JSX.Element, options?: NotificationOptions) => Action, notifyError: (title: string | JSX.Element, options?: NotificationOptions) => Action, deleteNotification: (position: number) => Action, showCaptcha: (payload: {
7
+ export declare const notify: (title: string | JSX.Element, options?: NotificationOptions) => any, notifyWarning: (title: string | JSX.Element, options?: NotificationOptions) => any, notifyError: (title: string | JSX.Element, options?: NotificationOptions) => any, showCaptcha: (payload: {
9
8
  id: string;
10
9
  name: string;
11
10
  }) => Action, hideCaptcha: (payload: string) => Action;
package/actions.js CHANGED
@@ -1,9 +1,16 @@
1
- import Notifications from "react-notification-system-redux2";
2
- const autoDismissDelay = 6, createNotification = (level) => (title, options) => Notifications.show(Object.assign({ title, position: "bc", autoDismiss: (options === null || options === void 0 ? void 0 : options.persistent) ? 0 : ((options === null || options === void 0 ? void 0 : options.seconds) ? options.seconds : autoDismissDelay) }, options), level);
3
- export const notify = createNotification("success"), notifyWarning = createNotification("warning"), notifyError = createNotification("error"), deleteNotification = (position) => ({
4
- type: "DELETE_NOTIFICATION",
5
- payload: position,
6
- }),
1
+ import { toast } from "react-toastify";
2
+ const autoDismissDelay = 6, msPerSecond = 1000, toMs = (sec) => sec * msPerSecond, createNotification = (level) => (title, options) => {
3
+ var _a;
4
+ const autoClose = (options === null || options === void 0 ? void 0 : options.persistent) ? false : toMs((_a = options === null || options === void 0 ? void 0 : options.seconds) !== null && _a !== void 0 ? _a : autoDismissDelay);
5
+ toast(title, {
6
+ type: level,
7
+ position: "bottom-center",
8
+ autoClose,
9
+ });
10
+ // Return a no-op action for Redux dispatch compatibility
11
+ return { type: "NOTIFICATION_SHOWN" };
12
+ };
13
+ export const notify = createNotification("success"), notifyWarning = createNotification("warning"), notifyError = createNotification("error"),
7
14
  // captcha
8
15
  showCaptcha = (payload) => ({
9
16
  type: "SHOW_CAPTCHA",
package/actions.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"actions.js","sourceRoot":"","sources":["../src/actions.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,kCAAkC,CAAC;AAa7D,MACE,gBAAgB,GAAG,CAAC,EACpB,kBAAkB,GAAwB,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE,CAAC,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AA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,EAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,mCAAI,gBAAgB,CAAC,CAAC;IAE3F,KAAK,CAAC,KAAK,EAAE;QACX,IAAI,EAAO,KAAK;QAChB,QAAQ,EAAG,eAAe;QAC1B,SAAS;KACV,CAAC,CAAC;IAEH,yDAAyD;IACzD,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAY,CAAC;AAClD,CAAC,CAAC;AAEN,MAAM,CAAC,MACL,MAAM,GAAG,kBAAkB,CAAC,SAAS,CAAC,EACtC,aAAa,GAAG,kBAAkB,CAAC,SAAS,CAAC,EAC7C,WAAW,GAAG,kBAAkB,CAAC,OAAO,CAAC;AAEzC,UAAU;AAEV,WAAW,GAAG,CAAC,OAGd,EAAU,EAAE,CAAC,CAAC;IACb,IAAI,EAAE,cAAc;IACpB,OAAO;CACR,CAAC,EACF,WAAW,GAAG,CAAC,OAAe,EAAU,EAAE,CAAC,CAAC;IAC1C,IAAI,EAAE,cAAc;IACpB,OAAO;CACR,CAAC,CAAC;AAEL,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC"}
package/config.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export declare let config: any;
2
- export declare const setConfiguration: (current: any) => void, getAccountState: (state: any) => any, getModulesState: (state: any) => any, getModalsState: (state: any) => any, getNotificationState: (state: any) => any;
2
+ export declare const setConfiguration: (current: any) => void, getAccountState: (state: any) => any, getModulesState: (state: any) => any, getModalsState: (state: any) => any;
package/config.js CHANGED
@@ -7,5 +7,5 @@ const getReducerState = (module) => (state) => {
7
7
  };
8
8
  export const setConfiguration = (current) => {
9
9
  config = current;
10
- }, getAccountState = getReducerState("account"), getModulesState = getReducerState("module"), getModalsState = getReducerState("modal"), getNotificationState = getReducerState("notifications");
10
+ }, getAccountState = getReducerState("account"), getModulesState = getReducerState("module"), getModalsState = getReducerState("modal");
11
11
  //# sourceMappingURL=config.js.map
package/config.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAI,MAAM,GAAQ,EAAE,CAAC;AAE5B,MAAM,eAAe,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,CAAC,KAAW,EAAE,EAAE;IAC1D,IAAI,MAAM,CAAC,SAAS,EAAE,CAAC;QACrB,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,CAAC;IAED,OAAO,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAC3B,CAAC,CAAC;AAEF,MAAM,CAAC,MACL,gBAAgB,GAAG,CAAC,OAAY,EAAE,EAAE;IAClC,MAAM,GAAG,OAAO,CAAC;AACnB,CAAC,EACD,eAAe,GAAG,eAAe,CAAC,SAAS,CAAC,EAC5C,eAAe,GAAG,eAAe,CAAC,QAAQ,CAAC,EAC3C,cAAc,GAAG,eAAe,CAAC,OAAO,CAAC,EACzC,oBAAoB,GAAG,eAAe,CAAC,eAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAI,MAAM,GAAQ,EAAE,CAAC;AAE5B,MAAM,eAAe,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,CAAC,KAAW,EAAE,EAAE;IAC1D,IAAI,MAAM,CAAC,SAAS,EAAE,CAAC;QACrB,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB,CAAC;IAED,OAAO,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAC3B,CAAC,CAAC;AAEF,MAAM,CAAC,MACL,gBAAgB,GAAG,CAAC,OAAY,EAAE,EAAE;IAClC,MAAM,GAAG,OAAO,CAAC;AACnB,CAAC,EACD,eAAe,GAAG,eAAe,CAAC,SAAS,CAAC,EAC5C,eAAe,GAAG,eAAe,CAAC,QAAQ,CAAC,EAC3C,cAAc,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "18.0.1",
2
+ "version": "18.2.0",
3
3
  "name": "x25",
4
4
  "type": "module",
5
5
  "description": "x25",
@@ -38,7 +38,7 @@
38
38
  "intern-test": "vitest",
39
39
  "check": "node script/check & npm run depcheck & npm run check:npm-check",
40
40
  "check:npm-check": "npm-check -u -i \"{rc-tooltip,react,react-dom}\" --specials=bin,eslint,babel,webpack",
41
- "depcheck": "depcheck --ignores=@docusaurus/react-loadable,webpack-cli,@hot-loader/react-dom --ignore-patterns=server,node_modules,tmp,fonts",
41
+ "depcheck": "depcheck --ignores=webpack-cli --ignore-patterns=server,node_modules,tmp,fonts",
42
42
  "check:global": "npm-check -gu",
43
43
  "clean-dist": "trash \"./**/*.test.*\"",
44
44
  "ts:check": "tsc --noEmit",
@@ -136,7 +136,6 @@
136
136
  }
137
137
  },
138
138
  "dependencies": {
139
- "@docusaurus/react-loadable": "^5.5.2",
140
139
  "@reduxjs/toolkit": "^2.11.2",
141
140
  "@types/react": "^18.3.28",
142
141
  "@types/react-dom": "^18.3.7",
@@ -150,8 +149,8 @@
150
149
  "react-final-form": "^7.0.0",
151
150
  "react-immutable-form": "^1.1.11",
152
151
  "react-immutable-form-with-bootstrap": "^1.0.13",
153
- "react-notification-system-redux2": "^3.0.4",
154
152
  "react-redux": "^9.2.0",
153
+ "react-toastify": "^11.0.5",
155
154
  "redux": "^5.0.1",
156
155
  "reselect": "^5.1.1",
157
156
  "superagent": "^8.1.2",