@gen-epix/ui-client-common 4.1.0 → 4.3.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/dist/_chunks/Breadcrumbs.js +1 -1
- package/dist/_chunks/CrudPage.js +183 -183
- package/dist/_chunks/CrudPage.js.map +1 -1
- package/dist/_chunks/QueryClientProvider.js +1 -1
- package/dist/_chunks/QueryClientProvider.js.map +1 -1
- package/dist/_chunks/QueryClientService.js +3 -3
- package/dist/_chunks/QueryClientService.js.map +1 -1
- package/dist/_chunks/Table.js +622 -603
- package/dist/_chunks/Table.js.map +1 -1
- package/dist/_chunks/UserInvitationsAdminPage.js +97 -97
- package/dist/_chunks/{chunk-BV7QT456.js → chunk-OB3PAWPO.js} +4 -4
- package/dist/_chunks/chunk-OB3PAWPO.js.map +1 -0
- package/dist/_chunks/middleware.js +1 -1
- package/dist/_chunks/middleware.js.map +1 -1
- package/dist/_chunks/query.js +13 -11
- package/dist/_chunks/query.js.map +1 -1
- package/dist/_chunks/react-oidc-context.js +1 -1
- package/dist/_chunks/react-oidc-context.js.map +1 -1
- package/dist/_chunks/react.js +1 -1
- package/dist/_chunks/react.js.map +1 -1
- package/dist/_chunks/useColumnsMenu.js +2 -2
- package/dist/_chunks/useColumnsMenu.js.map +1 -1
- package/dist/_chunks/useMutation.js +2 -2
- package/dist/_chunks/useMutation.js.map +1 -1
- package/dist/_chunks/useQueryMemo.js +7 -7
- package/dist/_chunks/useQueryMemo.js.map +1 -1
- package/dist/_chunks/vanilla.js +1 -1
- package/dist/_chunks/vanilla.js.map +1 -1
- package/dist/_chunks/yup.js +23 -23
- package/dist/_chunks/yup.js.map +1 -1
- package/dist/classes/services/LogService/index.js.map +1 -1
- package/dist/classes/services/RouterService/RouterService.d.ts +15 -6
- package/dist/classes/services/RouterService/index.js +28 -8
- package/dist/classes/services/RouterService/index.js.map +1 -1
- package/dist/components/app/App/index.js +40 -39
- package/dist/components/app/App/index.js.map +1 -1
- package/dist/components/app/AppRouterProvider/AppRouterProvider.d.ts +1 -0
- package/dist/components/app/ApplicationBootstrapWithAuthentication/ApplicationBootstrapWithAuthentication.d.ts +2 -0
- package/dist/components/app/ApplicationBootstrapWithAuthentication/index.d.ts +1 -0
- package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js +81 -0
- package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js.map +1 -0
- package/dist/components/app/ApplicationBootstrapWithoutAuthorization/ApplicationBootstrapWithoutAuthorization.d.ts +2 -0
- package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.d.ts +1 -0
- package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js +63 -0
- package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js.map +1 -0
- package/dist/components/app/AuthorizationWrapper/index.js +1 -1
- package/dist/components/app/RouterRoot/index.js +2 -2
- package/dist/components/app/RouterRoot/index.js.map +1 -1
- package/dist/components/ui/ApplicationBar/index.js +164 -148
- package/dist/components/ui/ApplicationBar/index.js.map +1 -1
- package/dist/components/ui/GenericErrorMessage/index.js +1 -1
- package/dist/components/ui/NavLink/index.js +1 -1
- package/dist/components/ui/OrganizationSwitcherDialog/index.js +31 -31
- package/dist/components/ui/UserFeedbackDialog/index.js +35 -35
- package/dist/pages/AcceptInvitationPage/index.js +1 -1
- package/dist/pages/AdminPage/index.js +1 -1
- package/dist/pages/OrganizationContactsAdminPage/index.js +1 -1
- package/dist/pages/OrganizationSitesAdminPage/index.js +1 -1
- package/dist/pages/RouterErrorPage/index.js +1 -1
- package/package.json +77 -72
- package/dist/_chunks/chunk-BV7QT456.js.map +0 -1
- package/dist/_chunks/index.esm.js +0 -1284
- package/dist/_chunks/index.esm.js.map +0 -1
- package/dist/components/app/ApplicationBootstrap/ApplicationBootstrap.d.ts +0 -2
- package/dist/components/app/ApplicationBootstrap/index.d.ts +0 -1
- package/dist/components/app/ApplicationBootstrap/index.js +0 -135
- package/dist/components/app/ApplicationBootstrap/index.js.map +0 -1
package/dist/_chunks/yup.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region ../../node_modules/.pnpm/@hookform+resolvers@5.9.1_@sinclair+typebox@0.34.49_@standard-schema+spec@1.1.0_ajv@8.
|
|
3
|
-
var r = (e,
|
|
1
|
+
import { appendErrors as e, get as t, set as n } from "react-hook-form";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@hookform+resolvers@5.9.1_@sinclair+typebox@0.34.49_@standard-schema+spec@1.1.0_ajv@8.2_26d561451bcf52899bfb24d45cfb94ee/node_modules/@hookform/resolvers/dist/resolvers.mjs
|
|
3
|
+
var r = (e, n, r) => {
|
|
4
4
|
if (e && "reportValidity" in e) {
|
|
5
|
-
let i =
|
|
5
|
+
let i = t(r, n);
|
|
6
6
|
e.setCustomValidity(i && i.message || ""), e.reportValidity();
|
|
7
7
|
}
|
|
8
8
|
}, i = (e, t) => {
|
|
@@ -10,15 +10,15 @@ var r = (e, t, r) => {
|
|
|
10
10
|
let i = t.fields[n];
|
|
11
11
|
i && i.ref && "reportValidity" in i.ref ? r(i.ref, n, e) : i && i.refs && i.refs.forEach((t) => r(t, n, e));
|
|
12
12
|
}
|
|
13
|
-
}, a = (
|
|
14
|
-
r.shouldUseNativeValidation && i(
|
|
13
|
+
}, a = (e, r) => {
|
|
14
|
+
r.shouldUseNativeValidation && i(e, r);
|
|
15
15
|
let a = {};
|
|
16
|
-
for (let i in
|
|
17
|
-
let s =
|
|
18
|
-
if (o(r.names || Object.keys(
|
|
19
|
-
let
|
|
20
|
-
e
|
|
21
|
-
} else
|
|
16
|
+
for (let i in e) {
|
|
17
|
+
let s = t(r.fields, i), c = Object.assign(e[i] || {}, { ref: s && s.refs ? s.refs[0] : s && s.ref });
|
|
18
|
+
if (o(r.names || Object.keys(e), i)) {
|
|
19
|
+
let e = Object.assign({}, t(a, i));
|
|
20
|
+
n(e, "root", c), n(a, i, e);
|
|
21
|
+
} else n(a, i, c);
|
|
22
22
|
}
|
|
23
23
|
return a;
|
|
24
24
|
}, o = (e, t) => {
|
|
@@ -29,13 +29,13 @@ function s(e) {
|
|
|
29
29
|
return e.replace(/\[(\d+)]/g, ".$1").replace(/[[\]]/g, "");
|
|
30
30
|
}
|
|
31
31
|
//#endregion
|
|
32
|
-
//#region ../../node_modules/.pnpm/@hookform+resolvers@5.9.1_@sinclair+typebox@0.34.49_@standard-schema+spec@1.1.0_ajv@8.
|
|
33
|
-
function c(
|
|
32
|
+
//#region ../../node_modules/.pnpm/@hookform+resolvers@5.9.1_@sinclair+typebox@0.34.49_@standard-schema+spec@1.1.0_ajv@8.2_26d561451bcf52899bfb24d45cfb94ee/node_modules/@hookform/resolvers/yup/dist/yup.mjs
|
|
33
|
+
function c(t, n, r) {
|
|
34
34
|
return r === void 0 && (r = {}), function(o, s, c) {
|
|
35
35
|
try {
|
|
36
|
-
return Promise.resolve(function(
|
|
36
|
+
return Promise.resolve(function(e, a) {
|
|
37
37
|
try {
|
|
38
|
-
var l = (n != null && n.context && process.env.NODE_ENV === "development" && console.warn("You should not used the yup options context. Please, use the 'useForm' context object instead"), Promise.resolve(
|
|
38
|
+
var l = (n != null && n.context && process.env.NODE_ENV === "development" && console.warn("You should not used the yup options context. Please, use the 'useForm' context object instead"), Promise.resolve(t[r.mode === "sync" ? "validateSync" : "validate"](o, Object.assign({ abortEarly: !1 }, n, { context: s }))).then(function(e) {
|
|
39
39
|
return c.shouldUseNativeValidation && i({}, c), {
|
|
40
40
|
values: r.raw ? Object.assign({}, o) : e,
|
|
41
41
|
errors: {}
|
|
@@ -45,19 +45,19 @@ function c(e, n, r) {
|
|
|
45
45
|
return a(e);
|
|
46
46
|
}
|
|
47
47
|
return l && l.then ? l.then(void 0, a) : l;
|
|
48
|
-
}(0, function(
|
|
49
|
-
if (!
|
|
48
|
+
}(0, function(t) {
|
|
49
|
+
if (!t.inner) throw t;
|
|
50
50
|
return {
|
|
51
51
|
values: {},
|
|
52
|
-
errors: a((n =
|
|
53
|
-
if (
|
|
52
|
+
errors: a((n = t, r = !c.shouldUseNativeValidation && c.criteriaMode === "all", (n.inner || []).reduce(function(t, n) {
|
|
53
|
+
if (t[n.path] || (t[n.path] = {
|
|
54
54
|
message: n.message,
|
|
55
55
|
type: n.type
|
|
56
56
|
}), r) {
|
|
57
|
-
var i =
|
|
58
|
-
|
|
57
|
+
var i = t[n.path].types, a = i && i[n.type];
|
|
58
|
+
t[n.path] = e(n.path, r, t, n.type, a ? [].concat(a, n.message) : n.message);
|
|
59
59
|
}
|
|
60
|
-
return
|
|
60
|
+
return t;
|
|
61
61
|
}, Object.create(null))), c)
|
|
62
62
|
};
|
|
63
63
|
var n, r;
|
package/dist/_chunks/yup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yup.js","names":["e","o","r","s","e","t","r"],"sources":["../../../../node_modules/.pnpm/@hookform+resolvers@5.9.1_@sinclair+typebox@0.34.49_@standard-schema+spec@1.1.0_ajv@8.
|
|
1
|
+
{"version":3,"file":"yup.js","names":["e","o","r","s","e","t","r"],"sources":["../../../../node_modules/.pnpm/@hookform+resolvers@5.9.1_@sinclair+typebox@0.34.49_@standard-schema+spec@1.1.0_ajv@8.2_26d561451bcf52899bfb24d45cfb94ee/node_modules/@hookform/resolvers/dist/resolvers.mjs","../../../../node_modules/.pnpm/@hookform+resolvers@5.9.1_@sinclair+typebox@0.34.49_@standard-schema+spec@1.1.0_ajv@8.2_26d561451bcf52899bfb24d45cfb94ee/node_modules/@hookform/resolvers/yup/dist/yup.mjs"],"sourcesContent":["import{get as e,set as r}from\"react-hook-form\";const t=(r,t,s)=>{if(r&&\"reportValidity\"in r){const o=e(s,t);r.setCustomValidity(o&&o.message||\"\"),r.reportValidity()}},s=(e,r)=>{for(const s in r.fields){const o=r.fields[s];o&&o.ref&&\"reportValidity\"in o.ref?t(o.ref,s,e):o&&o.refs&&o.refs.forEach(r=>t(r,s,e))}},o=(t,o)=>{o.shouldUseNativeValidation&&s(t,o);const n={};for(const s in t){const f=e(o.fields,s),c=Object.assign(t[s]||{},{ref:f&&f.refs?f.refs[0]:f&&f.ref});if(i(o.names||Object.keys(t),s)){const t=Object.assign({},e(n,s));r(t,\"root\",c),r(n,s,t)}else r(n,s,c)}return n},i=(e,r)=>{const t=n(r).replace(/[.*+?^${}()|\\\\]/g,\"\\\\$&\");return e.some(e=>n(e).match(`^${t}\\\\.\\\\d+`))};function n(e){return e.replace(/\\[(\\d+)]/g,\".$1\").replace(/[[\\]]/g,\"\")}export{o as toNestErrors,s as validateFieldsNatively};\n//# sourceMappingURL=resolvers.mjs.map\n","import{validateFieldsNatively as e,toNestErrors as t}from\"@hookform/resolvers\";import{appendErrors as r}from\"react-hook-form\";function o(o,n,a){return void 0===a&&(a={}),function(s,i,c){try{return Promise.resolve(function(t,r){try{var u=(null!=n&&n.context&&\"development\"===process.env.NODE_ENV&&console.warn(\"You should not used the yup options context. Please, use the 'useForm' context object instead\"),Promise.resolve(o[\"sync\"===a.mode?\"validateSync\":\"validate\"](s,Object.assign({abortEarly:!1},n,{context:i}))).then(function(t){return c.shouldUseNativeValidation&&e({},c),{values:a.raw?Object.assign({},s):t,errors:{}}}))}catch(e){return r(e)}return u&&u.then?u.then(void 0,r):u}(0,function(e){if(!e.inner)throw e;return{values:{},errors:t((o=e,n=!c.shouldUseNativeValidation&&\"all\"===c.criteriaMode,(o.inner||[]).reduce(function(e,t){if(e[t.path]||(e[t.path]={message:t.message,type:t.type}),n){var o=e[t.path].types,a=o&&o[t.type];e[t.path]=r(t.path,n,e,t.type,a?[].concat(a,t.message):t.message)}return e},Object.create(null))),c)};var o,n}))}catch(e){return Promise.reject(e)}}}export{o as yupResolver};\n//# sourceMappingURL=yup.module.js.map\n"],"x_google_ignoreList":[0,1],"mappings":";;AAA+C,IAAM,KAAG,GAAE,GAAE,MAAI;CAAC,IAAG,KAAG,oBAAmB,GAAE;EAAC,IAAM,IAAEA,EAAE,GAAE,CAAC;EAAE,EAAE,kBAAkB,KA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AAM,GAAE;GAAC,CAAC,CAAC;EAAC,SAAO,GAAE;GAAC,OAAO,QAAQ,OAAO,CAAC;EAAC;CAAC;AAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/classes/services/LogService/LogService.ts"],"sourcesContent":["import { isAxiosError } from 'axios';\nimport type {\n AxiosResponse,\n InternalAxiosRequestConfig,\n} from 'axios';\nimport { CommonDbLogLevel } from '@gen-epix/api-commondb';\nimport type {
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/classes/services/LogService/LogService.ts"],"sourcesContent":["import { isAxiosError } from 'axios';\nimport type {\n AxiosResponse,\n InternalAxiosRequestConfig,\n} from 'axios';\nimport { CommonDbLogLevel } from '@gen-epix/api-commondb';\nimport type { CommonDbExternalLogItem } from '@gen-epix/api-commondb';\nimport { HmrUtil } from '@gen-epix/ui-core/utils/HmrUtil';\nimport { StringUtil } from '@gen-epix/ui-core/utils/StringUtil';\n\nimport { AuthenticationService } from '../AuthenticationService';\nimport { ConfigService } from '../ConfigService';\nimport { ApiService } from '../ApiService';\nimport { AxiosUtil } from '../../../utils/AxiosUtil';\n\ntype LogServiceItem = {\n detail?: unknown;\n duration?: number;\n level: CommonDbLogLevel;\n topic: string;\n};\n\nexport class LogService {\n private static __instance: LogService;\n\n protected readonly requestMap: Map<string, number>;\n\n private logItems: CommonDbExternalLogItem[] = [];\n\n private constructor() {\n this.requestMap = new Map<string, number>();\n setInterval(() => {\n this.sendLog();\n }, ConfigService.getInstance().config.log.LOG_INTERVAL_MS);\n }\n\n public static getInstance(): LogService {\n LogService.__instance = HmrUtil.getHmrSingleton('logService', LogService.__instance, () => new LogService());\n return LogService.__instance;\n }\n\n public flushLog(): void {\n this.sendLog();\n }\n\n public log(items: LogServiceItem[]): void {\n const timestamp = new Date().toISOString();\n const software_version = ConfigService.getInstance().config.getSoftwareVersion();\n this.logItems.push(...items.map<CommonDbExternalLogItem>(item => {\n return {\n command_id: StringUtil.createUuid(),\n detail: item.detail ? JSON.stringify(item.detail) : null,\n duration: item.duration ?? null,\n level: item.level,\n software_version,\n timestamp,\n topic: item.topic ?? null,\n };\n }));\n }\n\n public onRequest(request: InternalAxiosRequestConfig): InternalAxiosRequestConfig {\n if (request.headers.has('X-IGNORE-LOG')) {\n return request;\n }\n const requestId = StringUtil.createUuid();\n request.headers.set('X-REQUEST-ID', requestId);\n this.requestMap.set(requestId, new Date().getTime());\n\n this.log([{\n detail: {\n requestData: request.data as unknown,\n requestParams: request.params as unknown,\n url: request.url,\n },\n level: CommonDbLogLevel.TRACE,\n topic: 'REQUEST',\n }]);\n\n return request;\n }\n\n public onResponseFulfilled(response: AxiosResponse): AxiosResponse {\n if (response.config.headers.has('X-IGNORE-LOG')) {\n return response;\n }\n\n const requestId = response?.config?.headers.get('X-REQUEST-ID') as string;\n const duration = new Date().getTime() - this.requestMap.get(requestId);\n\n this.log([{\n detail: {\n requestData: response.config.data as unknown,\n requestParams: response.config.params as unknown,\n url: response.config.url,\n },\n duration,\n level: response.status >= 200 && response.status < 300 ? CommonDbLogLevel.TRACE : CommonDbLogLevel.ERROR,\n topic: 'RESPONSE',\n }]);\n\n return response;\n }\n\n public onResponseRejected(error: unknown): void {\n if (isAxiosError(error)) {\n if (AxiosUtil.isAxiosCanceledError(error)) {\n return;\n }\n const requestId = error?.config?.headers.get('X-REQUEST-ID') as string;\n const duration = new Date().getTime() - this.requestMap.get(requestId);\n this.log([{\n detail: {\n requestParams: error.config.params as unknown,\n responseData: error.response.data as unknown,\n status: error.response.status,\n url: error.config.url,\n },\n duration,\n level: CommonDbLogLevel.ERROR,\n topic: 'RESPONSE_ERROR',\n }]);\n } else {\n this.log([{\n detail: {\n error,\n },\n level: CommonDbLogLevel.ERROR,\n topic: 'RESPONSE_ERROR',\n }]);\n }\n }\n\n private sendLog(): void {\n if (!this.logItems.length || !AuthenticationService.getInstance()?.authContextProps?.isAuthenticated) {\n return;\n }\n if (document.location.href.includes('accept-invitation')) {\n return;\n }\n ApiService.getInstance().systemApi.log({\n log_items: this.logItems,\n }, {\n headers: {\n 'X-IGNORE-LOG': '1',\n },\n }).catch(() => 0);\n this.logItems = [];\n }\n}\n"],"mappings":";;;;;;;;;AAsBA,IAAa,IAAb,MAAa,EAAW;CACtB,OAAe;CAEf;CAEA,WAA8C,CAAC;CAE/C,cAAsB;EAEpB,AADA,KAAK,6BAAa,IAAI,IAAoB,GAC1C,kBAAkB;GAChB,KAAK,QAAQ;EACf,GAAG,EAAc,YAAY,CAAC,CAAC,OAAO,IAAI,eAAe;CAC3D;CAEA,OAAc,cAA0B;EAEtC,OADA,EAAW,aAAa,EAAQ,gBAAgB,cAAc,EAAW,kBAAkB,IAAI,EAAW,CAAC,GACpG,EAAW;CACpB;CAEA,WAAwB;EACtB,KAAK,QAAQ;CACf;CAEA,IAAW,GAA+B;EACxC,IAAM,qBAAY,IAAI,KAAK,EAAA,CAAE,YAAY,GACnC,IAAmB,EAAc,YAAY,CAAC,CAAC,OAAO,mBAAmB;EAC/E,KAAK,SAAS,KAAK,GAAG,EAAM,KAA6B,OAChD;GACL,YAAY,EAAW,WAAW;GAClC,QAAQ,EAAK,SAAS,KAAK,UAAU,EAAK,MAAM,IAAI;GACpD,UAAU,EAAK,YAAY;GAC3B,OAAO,EAAK;GACZ;GACA;GACA,OAAO,EAAK,SAAS;EACvB,EACD,CAAC;CACJ;CAEA,UAAiB,GAAiE;EAChF,IAAI,EAAQ,QAAQ,IAAI,cAAc,GACpC,OAAO;EAET,IAAM,IAAY,EAAW,WAAW;EAcxC,OAbA,EAAQ,QAAQ,IAAI,gBAAgB,CAAS,GAC7C,KAAK,WAAW,IAAI,oBAAW,IAAI,KAAK,EAAA,CAAE,QAAQ,CAAC,GAEnD,KAAK,IAAI,CAAC;GACR,QAAQ;IACN,aAAa,EAAQ;IACrB,eAAe,EAAQ;IACvB,KAAK,EAAQ;GACf;GACA,OAAO,EAAiB;GACxB,OAAO;EACT,CAAC,CAAC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AAK,WAAW,CAAC;CACnB;AACF"}
|
|
@@ -2,18 +2,27 @@ import { ReactElement } from 'react';
|
|
|
2
2
|
import { createBrowserRouter } from 'react-router-dom';
|
|
3
3
|
import { MyNonIndexRouteObject } from '../../../models/reactRouter';
|
|
4
4
|
type HomePage = () => ReactElement;
|
|
5
|
+
type RoutesFactory = () => MyNonIndexRouteObject[];
|
|
6
|
+
type RoutesInput = MyNonIndexRouteObject[] | RoutesFactory;
|
|
5
7
|
export declare class RouterService {
|
|
6
8
|
private static __instance;
|
|
7
|
-
adminRoutes: MyNonIndexRouteObject[];
|
|
8
|
-
homePageComponent: HomePage;
|
|
9
|
-
router: ReturnType<typeof createBrowserRouter>;
|
|
10
|
-
routes: MyNonIndexRouteObject[];
|
|
9
|
+
get adminRoutes(): MyNonIndexRouteObject[];
|
|
10
|
+
get homePageComponent(): HomePage;
|
|
11
|
+
get router(): ReturnType<typeof createBrowserRouter>;
|
|
12
|
+
get routes(): MyNonIndexRouteObject[];
|
|
13
|
+
private __adminRoutes;
|
|
14
|
+
private __adminRoutesFactory;
|
|
15
|
+
private __homePageComponent;
|
|
16
|
+
private __router;
|
|
17
|
+
private __routes;
|
|
18
|
+
private __routesFactory;
|
|
11
19
|
private constructor();
|
|
12
20
|
static getInstance(): RouterService;
|
|
13
21
|
initialize(kwArgs: {
|
|
14
|
-
adminRoutes:
|
|
22
|
+
adminRoutes: RoutesInput;
|
|
15
23
|
homePageComponent: HomePage;
|
|
16
|
-
routes:
|
|
24
|
+
routes: RoutesInput;
|
|
17
25
|
}): void;
|
|
26
|
+
private createRoutesFactory;
|
|
18
27
|
}
|
|
19
28
|
export {};
|
|
@@ -1,19 +1,39 @@
|
|
|
1
|
-
import { i as e } from "../../../_chunks/chunk-
|
|
1
|
+
import { i as e } from "../../../_chunks/chunk-OB3PAWPO.js";
|
|
2
2
|
import { HmrUtil as t } from "@gen-epix/ui-core/utils/HmrUtil";
|
|
3
3
|
//#region src/classes/services/RouterService/RouterService.ts
|
|
4
4
|
var n = class n {
|
|
5
5
|
static __instance;
|
|
6
|
-
adminRoutes
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
get adminRoutes() {
|
|
7
|
+
if (!this.__adminRoutesFactory) throw Error("RouterService not initialized");
|
|
8
|
+
return this.__adminRoutes ??= this.__adminRoutesFactory(), this.__adminRoutes;
|
|
9
|
+
}
|
|
10
|
+
get homePageComponent() {
|
|
11
|
+
if (!this.__homePageComponent) throw Error("RouterService not initialized");
|
|
12
|
+
return this.__homePageComponent;
|
|
13
|
+
}
|
|
14
|
+
get router() {
|
|
15
|
+
return this.__router ||= e(this.routes), this.__router;
|
|
16
|
+
}
|
|
17
|
+
get routes() {
|
|
18
|
+
if (!this.__routesFactory) throw Error("RouterService not initialized");
|
|
19
|
+
return this.__routes ??= this.__routesFactory(), this.__routes;
|
|
20
|
+
}
|
|
21
|
+
__adminRoutes = null;
|
|
22
|
+
__adminRoutesFactory = null;
|
|
23
|
+
__homePageComponent = null;
|
|
24
|
+
__router = null;
|
|
25
|
+
__routes = null;
|
|
26
|
+
__routesFactory = null;
|
|
10
27
|
constructor() {}
|
|
11
28
|
static getInstance() {
|
|
12
29
|
return n.__instance = t.getHmrSingleton("routerService", n.__instance, () => new n()), n.__instance;
|
|
13
30
|
}
|
|
14
|
-
initialize(
|
|
15
|
-
if (this.
|
|
16
|
-
this.
|
|
31
|
+
initialize(e) {
|
|
32
|
+
if (this.__routesFactory) throw Error("RouterService already initialized");
|
|
33
|
+
this.__homePageComponent = e.homePageComponent, this.__adminRoutesFactory = this.createRoutesFactory(e.adminRoutes), this.__routesFactory = this.createRoutesFactory(e.routes);
|
|
34
|
+
}
|
|
35
|
+
createRoutesFactory(e) {
|
|
36
|
+
return typeof e == "function" ? e : () => e;
|
|
17
37
|
}
|
|
18
38
|
};
|
|
19
39
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/classes/services/RouterService/RouterService.ts"],"sourcesContent":["import type { ReactElement } from 'react';\nimport { createBrowserRouter } from 'react-router-dom';\nimport { HmrUtil } from '@gen-epix/ui-core/utils/HmrUtil';\n\nimport type { MyNonIndexRouteObject } from '../../../models/reactRouter';\n\ntype HomePage = () => ReactElement;\n\nexport class RouterService {\n private static __instance: RouterService;\n\n public adminRoutes: MyNonIndexRouteObject[]
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/classes/services/RouterService/RouterService.ts"],"sourcesContent":["import type { ReactElement } from 'react';\nimport { createBrowserRouter } from 'react-router-dom';\nimport { HmrUtil } from '@gen-epix/ui-core/utils/HmrUtil';\n\nimport type { MyNonIndexRouteObject } from '../../../models/reactRouter';\n\ntype HomePage = () => ReactElement;\ntype RoutesFactory = () => MyNonIndexRouteObject[];\ntype RoutesInput = MyNonIndexRouteObject[] | RoutesFactory;\n\nexport class RouterService {\n private static __instance: RouterService;\n\n public get adminRoutes(): MyNonIndexRouteObject[] {\n if (!this.__adminRoutesFactory) {\n throw new Error('RouterService not initialized');\n }\n this.__adminRoutes ??= this.__adminRoutesFactory();\n return this.__adminRoutes;\n }\n public get homePageComponent(): HomePage {\n if (!this.__homePageComponent) {\n throw new Error('RouterService not initialized');\n }\n return this.__homePageComponent;\n }\n public get router(): ReturnType<typeof createBrowserRouter> {\n if (!this.__router) {\n this.__router = createBrowserRouter(this.routes);\n }\n return this.__router;\n }\n public get routes(): MyNonIndexRouteObject[] {\n if (!this.__routesFactory) {\n throw new Error('RouterService not initialized');\n }\n this.__routes ??= this.__routesFactory();\n return this.__routes;\n }\n private __adminRoutes: MyNonIndexRouteObject[] | null = null;\n private __adminRoutesFactory: null | RoutesFactory = null;\n\n private __homePageComponent: HomePage | null = null;\n\n private __router: null | ReturnType<typeof createBrowserRouter> = null;\n\n private __routes: MyNonIndexRouteObject[] | null = null;\n\n private __routesFactory: null | RoutesFactory = null;\n\n private constructor() {\n }\n\n public static getInstance(): RouterService {\n RouterService.__instance = HmrUtil.getHmrSingleton('routerService', RouterService.__instance, () => new RouterService());\n return RouterService.__instance;\n }\n\n public initialize(kwArgs: {\n adminRoutes: RoutesInput;\n homePageComponent: HomePage;\n routes: RoutesInput;\n }): void {\n if (this.__routesFactory) {\n throw new Error('RouterService already initialized');\n }\n this.__homePageComponent = kwArgs.homePageComponent;\n this.__adminRoutesFactory = this.createRoutesFactory(kwArgs.adminRoutes);\n this.__routesFactory = this.createRoutesFactory(kwArgs.routes);\n }\n\n private createRoutesFactory(routes: RoutesInput): RoutesFactory {\n if (typeof routes === 'function') {\n return routes;\n }\n return () => routes;\n }\n}\n"],"mappings":";;;AAUA,IAAa,IAAb,MAAa,EAAc;CACzB,OAAe;CAEf,IAAW,cAAuC;EAChD,IAAI,CAAC,KAAK,sBACR,MAAU,MAAM,+BAA+B;EAGjD,OADA,KAAK,kBAAkB,KAAK,qBAAqB,GAC1C,KAAK;CACd;CACA,IAAW,oBAA8B;EACvC,IAAI,CAAC,KAAK,qBACR,MAAU,MAAM,+BAA+B;EAEjD,OAAO,KAAK;CACd;CACA,IAAW,SAAiD;EAI1D,OAHA,AACE,KAAK,aAAW,EAAoB,KAAK,MAAM,GAE1C,KAAK;CACd;CACA,IAAW,SAAkC;EAC3C,IAAI,CAAC,KAAK,iBACR,MAAU,MAAM,+BAA+B;EAGjD,OADA,KAAK,aAAa,KAAK,gBAAgB,GAChC,KAAK;CACd;CACA,gBAAwD;CACxD,uBAAqD;CAErD,sBAA+C;CAE/C,WAAkE;CAElE,WAAmD;CAEnD,kBAAgD;CAEhD,cAAsB,CACtB;CAEA,OAAc,cAA6B;EAEzC,OADA,EAAc,aAAa,EAAQ,gBAAgB,iBAAiB,EAAc,kBAAkB,IAAI,EAAc,CAAC,GAChH,EAAc;CACvB;CAEA,WAAkB,GAIT;EACP,IAAI,KAAK,iBACP,MAAU,MAAM,mCAAmC;EAIrD,AAFA,KAAK,sBAAsB,EAAO,mBAClC,KAAK,uBAAuB,KAAK,oBAAoB,EAAO,WAAW,GACvE,KAAK,kBAAkB,KAAK,oBAAoB,EAAO,MAAM;CAC/D;CAEA,oBAA4B,GAAoC;EAI9D,OAHI,OAAO,KAAW,aACb,UAEI;CACf;AACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfigService as e } from "../../../classes/services/ConfigService/index.js";
|
|
2
|
-
import { a as t, r as n } from "../../../_chunks/chunk-
|
|
2
|
+
import { a as t, r as n } from "../../../_chunks/chunk-OB3PAWPO.js";
|
|
3
3
|
import { RouterService as r } from "../../../classes/services/RouterService/index.js";
|
|
4
4
|
import { AuthenticationService as i } from "../../../classes/services/AuthenticationService/index.js";
|
|
5
5
|
import { ApiService as a } from "../../../classes/services/ApiService/index.js";
|
|
@@ -8,30 +8,31 @@ import { t as s } from "../../../_chunks/QueryClientProvider.js";
|
|
|
8
8
|
import { t as c } from "../../../_chunks/QueryClientService.js";
|
|
9
9
|
import { ErrorPage as l } from "../../../pages/ErrorPage/index.js";
|
|
10
10
|
import { BackendVersionService as u } from "../../../classes/services/BackendVersionService/index.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
11
|
+
import { ApplicationBootstrapWithoutAuthorization as d } from "../ApplicationBootstrapWithoutAuthorization/index.js";
|
|
12
|
+
import { EmotionCacheService as f } from "../../../classes/services/EmotionCacheService/index.js";
|
|
13
|
+
import { CssBaseline as p, ThemeProvider as m } from "@mui/material";
|
|
14
|
+
import * as h from "react";
|
|
15
|
+
import { Component as g, createContext as _, createElement as v, useMemo as y } from "react";
|
|
16
|
+
import { jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
17
|
+
import * as S from "react-dom";
|
|
18
|
+
import { UiCoreComponentsContextProvider as C } from "@gen-epix/ui-core-components/context/uiCoreComponentsConfigContext";
|
|
19
|
+
import { CacheProvider as w } from "@emotion/react";
|
|
20
|
+
//#region ../../node_modules/.pnpm/react-router@7.18.4_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-router/dist/development/dom-export.mjs
|
|
21
|
+
function T(e) {
|
|
22
|
+
return /* @__PURE__ */ h.createElement(n, {
|
|
23
|
+
flushSync: S.flushSync,
|
|
23
24
|
...e
|
|
24
25
|
});
|
|
25
26
|
}
|
|
26
27
|
t();
|
|
27
28
|
//#endregion
|
|
28
|
-
//#region ../../node_modules/.pnpm/react-error-boundary@6.1.
|
|
29
|
-
var
|
|
29
|
+
//#region ../../node_modules/.pnpm/react-error-boundary@6.1.5_@types+react@19.3.0_react@19.3.0/node_modules/react-error-boundary/dist/react-error-boundary.js
|
|
30
|
+
var E = _(null), D = {
|
|
30
31
|
didCatch: !1,
|
|
31
32
|
error: null
|
|
32
|
-
},
|
|
33
|
+
}, O = class extends g {
|
|
33
34
|
constructor(e) {
|
|
34
|
-
super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state =
|
|
35
|
+
super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = D;
|
|
35
36
|
}
|
|
36
37
|
static getDerivedStateFromError(e) {
|
|
37
38
|
return {
|
|
@@ -44,18 +45,18 @@ var T = g(null), E = {
|
|
|
44
45
|
t && (this.props.onReset?.({
|
|
45
46
|
args: e,
|
|
46
47
|
reason: "imperative-api"
|
|
47
|
-
}), this.setState(
|
|
48
|
+
}), this.setState(D));
|
|
48
49
|
}
|
|
49
50
|
componentDidCatch(e, t) {
|
|
50
51
|
this.props.onError?.(e, t);
|
|
51
52
|
}
|
|
52
53
|
componentDidUpdate(e, t) {
|
|
53
54
|
let { didCatch: n } = this.state, { resetKeys: r } = this.props;
|
|
54
|
-
n && t.didCatch &&
|
|
55
|
+
n && t.didCatch && k(e.resetKeys, r) && (this.props.onReset?.({
|
|
55
56
|
next: r,
|
|
56
57
|
prev: e.resetKeys,
|
|
57
58
|
reason: "keys"
|
|
58
|
-
}), this.setState(
|
|
59
|
+
}), this.setState(D));
|
|
59
60
|
}
|
|
60
61
|
render() {
|
|
61
62
|
let { children: e, fallbackRender: t, FallbackComponent: n, fallback: r } = this.props, { didCatch: i, error: a } = this.state, o = e;
|
|
@@ -65,45 +66,45 @@ var T = g(null), E = {
|
|
|
65
66
|
resetErrorBoundary: this.resetErrorBoundary
|
|
66
67
|
};
|
|
67
68
|
if (typeof t == "function") o = t(e);
|
|
68
|
-
else if (n) o =
|
|
69
|
+
else if (n) o = v(n, e);
|
|
69
70
|
else if (r !== void 0) o = r;
|
|
70
71
|
else throw a;
|
|
71
72
|
}
|
|
72
|
-
return
|
|
73
|
+
return v(E.Provider, { value: {
|
|
73
74
|
didCatch: i,
|
|
74
75
|
error: a,
|
|
75
76
|
resetErrorBoundary: this.resetErrorBoundary
|
|
76
77
|
} }, o);
|
|
77
78
|
}
|
|
78
79
|
};
|
|
79
|
-
function
|
|
80
|
+
function k(e = [], t = []) {
|
|
80
81
|
return e.length !== t.length || e.some((e, n) => !Object.is(e, t[n]));
|
|
81
82
|
}
|
|
82
83
|
//#endregion
|
|
83
|
-
//#region src/components/app/
|
|
84
|
-
var
|
|
85
|
-
let { config: t } = e.getInstance(), n =
|
|
84
|
+
//#region src/components/app/AppRouterProvider/AppRouterProvider.tsx
|
|
85
|
+
var A = () => /* @__PURE__ */ b(T, { router: r.getInstance().router }), j = () => {
|
|
86
|
+
let { config: t } = e.getInstance(), n = y(() => {
|
|
86
87
|
let { DEFAULT_CIRCULAR_PROGRESS_SIZE: e, DEFAULT_TAKING_LONGER_TIMEOUT_MS: n } = t.spinner;
|
|
87
88
|
return { spinner: {
|
|
88
89
|
defaultCircularProgressSize: e,
|
|
89
90
|
defaultTakingLongerTimeoutMs: n
|
|
90
91
|
} };
|
|
91
|
-
}, [t.spinner]),
|
|
92
|
+
}, [t.spinner]), r = i.getInstance(), h = o.getInstance(), g = t.getTouchIconUrl();
|
|
92
93
|
g && document.querySelector("link[rel=\"icon\"]")?.setAttribute("href", g);
|
|
93
|
-
let _ = a.getInstance()
|
|
94
|
-
_.api.baseUrl = t.getAPIBaseUrl(), _.api.defaultRequestTimeout = t.defaultRequestTimeout, _.api.onRequest = [
|
|
95
|
-
let
|
|
96
|
-
return /* @__PURE__ */
|
|
94
|
+
let _ = a.getInstance();
|
|
95
|
+
_.api.baseUrl = t.getAPIBaseUrl(), _.api.defaultRequestTimeout = t.defaultRequestTimeout, _.api.onRequest = [r.onRequest.bind(r), h.onRequest.bind(h)], _.api.onResponseFulfilled = [h.onResponseFulfilled.bind(h), u.getInstance().onResponseFulfilled.bind(u.getInstance())], _.api.onResponseRejected = [h.onResponseRejected.bind(h), r.onResponseRejected.bind(r)];
|
|
96
|
+
let v = c.getInstance(), S = f.getInstance();
|
|
97
|
+
return /* @__PURE__ */ b(C, {
|
|
97
98
|
config: n,
|
|
98
|
-
children: /* @__PURE__ */
|
|
99
|
-
client:
|
|
100
|
-
children: /* @__PURE__ */
|
|
101
|
-
value:
|
|
102
|
-
children: /* @__PURE__ */
|
|
99
|
+
children: /* @__PURE__ */ b(s, {
|
|
100
|
+
client: v.queryClient,
|
|
101
|
+
children: /* @__PURE__ */ b(w, {
|
|
102
|
+
value: S.emotionCache,
|
|
103
|
+
children: /* @__PURE__ */ x(m, {
|
|
103
104
|
theme: e.getInstance().config.theme,
|
|
104
|
-
children: [/* @__PURE__ */
|
|
105
|
+
children: [/* @__PURE__ */ b(p, {}), /* @__PURE__ */ b(O, {
|
|
105
106
|
FallbackComponent: l,
|
|
106
|
-
children: /* @__PURE__ */
|
|
107
|
+
children: /* @__PURE__ */ b(d, { children: /* @__PURE__ */ b(A, {}) })
|
|
107
108
|
})]
|
|
108
109
|
})
|
|
109
110
|
})
|
|
@@ -111,6 +112,6 @@ var k = () => {
|
|
|
111
112
|
});
|
|
112
113
|
};
|
|
113
114
|
//#endregion
|
|
114
|
-
export {
|
|
115
|
+
export { j as App };
|
|
115
116
|
|
|
116
117
|
//# sourceMappingURL=index.js.map
|