@gen-epix/ui-client-omopdb 4.2.2 → 4.3.1

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/README.md CHANGED
@@ -34,16 +34,13 @@ Refer to `package.json` for the full list of peer dependencies.
34
34
 
35
35
  ```tsx
36
36
  import { createRoot } from 'react-dom/client';
37
- import {
38
- ConfigService,
39
- I18nService,
40
- } from '@gen-epix/ui-client-common';
37
+ import { I18nService } from '@gen-epix/ui-client-common/classes/services/I18nService';
38
+ import { createUiClientCommonContainer } from '@gen-epix/ui-client-common/classes/containers/UiClientCommonContainer';
41
39
  import { WindowService } from '@gen-epix/ui-core/classes/services/WindowService';
42
40
  import {
43
41
  OmopDbApp,
44
42
  setupOmopDb,
45
43
  } from '@gen-epix/ui-client-omopdb';
46
- import type { OmopDbConfig } from '@gen-epix/ui-client-omopdb';
47
44
 
48
45
  const LOCAL_STORAGE_KEY_PREFERRED_LANGUAGE = 'GenEpix-preferred-language';
49
46
 
@@ -77,13 +74,14 @@ const init = async () => {
77
74
  },
78
75
  });
79
76
 
80
- ConfigService.getInstance<OmopDbConfig>().config = {
77
+ const config = {
81
78
  // add your config here
82
79
  };
80
+ const container = createUiClientCommonContainer(config);
83
81
 
84
- setupOmopDb();
82
+ setupOmopDb(container);
85
83
 
86
- createRoot(document.getElementById('root')!).render(<OmopDbApp />);
84
+ createRoot(document.getElementById('root')!).render(<OmopDbApp container={container} />);
87
85
  };
88
86
 
89
87
  init().catch((error) => {
@@ -1,6 +1,6 @@
1
1
  import '@mui/material';
2
2
 
3
- import type { GenEpixOmopDbUiTheme } from '../models/theme';
3
+ import type { GenEpixOmopDbUiTheme } from '../models/theme.models';
4
4
 
5
5
 
6
6
  declare module '@mui/material/styles' {
@@ -1 +1,5 @@
1
- export declare const OmopDbApp: () => import('react').JSX.Element;
1
+ import { DependencyContainer } from 'tsyringe';
2
+ export type OmopDbAppProps = {
3
+ readonly container: DependencyContainer;
4
+ };
5
+ export declare const OmopDbApp: ({ container }: OmopDbAppProps) => import('react').JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import { App as t } from "@gen-epix/ui-client-common/components/app/App";
3
3
  //#region src/components/app/OmopDbApp/OmopDbApp.tsx
4
- var n = () => /* @__PURE__ */ e(t, {});
4
+ var n = ({ container: n }) => /* @__PURE__ */ e(t, { container: n });
5
5
  //#endregion
6
6
  export { n as OmopDbApp };
7
7
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/app/OmopDbApp/OmopDbApp.tsx"],"sourcesContent":["import { App } from '@gen-epix/ui-client-common/components/app/App';\n\nexport const OmopDbApp = () => {\n return (\n <App />\n );\n};\n"],"mappings":";;;AAEA,IAAa,UAET,kBAAC,GAAD,CAAM,CAAA"}
1
+ {"version":3,"file":"index.js","names":["OmopDbApp","App"],"sources":["../../../../src/components/app/OmopDbApp/OmopDbApp.tsx"],"sourcesContent":["import { App } from '@gen-epix/ui-client-common/components/app/App';\nimport type { DependencyContainer } from 'tsyringe';\n\nexport type OmopDbAppProps = {\n readonly container: DependencyContainer;\n};\n\nexport const OmopDbApp = ({ container }: OmopDbAppProps) => {\n return (\n <App container={container} />\n );\n};\n"],"mappings":";;;AAOA,IAAaA,KAAa,EAAE,mBAExB,kBAACC,GAAD,EAAgB,aAAY,CAAA"}
@@ -1,4 +1,4 @@
1
- import { COMMON_QUERY_KEY } from '@gen-epix/ui-client-common/constants/query';
1
+ import { COMMON_QUERY_KEY } from '@gen-epix/ui-client-common/constants/query.constants';
2
2
  export declare const OMOPDB_QUERY_KEY: {
3
3
  readonly FOO: "FOO";
4
4
  };
@@ -1,3 +1,3 @@
1
- import { ConfigBase } from '@gen-epix/ui-client-common/models/config';
1
+ import { ConfigBase } from '@gen-epix/ui-client-common/models/config.models';
2
2
  export interface OmopDbConfig extends ConfigBase {
3
3
  }
@@ -1,4 +1,4 @@
1
- import { GenEpixUiTheme } from '@gen-epix/ui-client-common/models/theme';
1
+ import { GenEpixUiTheme } from '@gen-epix/ui-client-common/models/theme.models';
2
2
  export interface GenEpixOmopDbUiTheme extends GenEpixUiTheme {
3
3
  'gen-epix-ui-client-omopdb': {};
4
4
  }
@@ -1,13 +1,13 @@
1
1
  import { Box as e } from "@mui/material";
2
2
  import { useTranslation as t } from "react-i18next";
3
- import { ConfigService as n } from "@gen-epix/ui-client-common/classes/services/ConfigService";
4
- import { PageContainer as r } from "@gen-epix/ui-client-common/components/ui/PageContainer";
3
+ import { PageContainer as n } from "@gen-epix/ui-client-common/components/ui/PageContainer";
4
+ import { useConfig as r } from "@gen-epix/ui-client-common/hooks/useConfig";
5
5
  import { TestIdUtil as i } from "@gen-epix/ui-core/utils/TestIdUtil";
6
6
  import { jsx as a } from "react/jsx-runtime";
7
7
  //#region src/pages/HomePage/HomePage.tsx
8
8
  var o = () => {
9
- let { t: o } = t(), { HomePageIntroduction: s } = n.getInstance().config;
10
- return /* @__PURE__ */ a(r, {
9
+ let { t: o } = t(), { HomePageIntroduction: s } = r();
10
+ return /* @__PURE__ */ a(n, {
11
11
  testIdAttributes: i.createAttributes("HomePage"),
12
12
  title: o`Home`,
13
13
  children: /* @__PURE__ */ a(e, {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/pages/HomePage/HomePage.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next';\nimport { Box } from '@mui/material';\nimport { ConfigService } from '@gen-epix/ui-client-common/classes/services/ConfigService';\nimport { PageContainer } from '@gen-epix/ui-client-common/components/ui/PageContainer';\nimport { TestIdUtil } from '@gen-epix/ui-core/utils/TestIdUtil';\n\n\nexport const HomePage = () => {\n const { t } = useTranslation();\n const { HomePageIntroduction } = ConfigService.getInstance().config;\n\n return (\n <PageContainer\n testIdAttributes={TestIdUtil.createAttributes('HomePage')}\n title={t`Home`}\n >\n <Box\n sx={{\n display: 'grid',\n gap: 2,\n gridTemplateRows: 'auto max-content',\n height: '100%',\n }}\n >\n <Box\n sx={{\n display: 'grid',\n gap: 2,\n gridTemplateColumns: '1fr 1fr',\n }}\n >\n <HomePageIntroduction />\n </Box>\n </Box>\n </PageContainer>\n );\n};\n"],"mappings":";;;;;;;AAOA,IAAa,UAAiB;CAC5B,IAAM,EAAE,SAAM,EAAe,GACvB,EAAE,4BAAyB,EAAc,YAAY,CAAC,CAAC;CAE7D,OACE,kBAAC,GAAD;EACE,kBAAkB,EAAW,iBAAiB,UAAU;EACxD,OAAO,CAAC;EAER,UAAA,kBAAC,GAAD;GACE,IAAI;IACF,SAAS;IACT,KAAK;IACL,kBAAkB;IAClB,QAAQ;GACV;GAEA,UAAA,kBAAC,GAAD;IACE,IAAI;KACF,SAAS;KACT,KAAK;KACL,qBAAqB;IACvB;IAEA,UAAA,kBAAC,GAAD,CAAuB,CAAA;GACpB,CAAA;EACF,CAAA;CACQ,CAAA;AAEnB"}
1
+ {"version":3,"file":"index.js","names":["HomePage","useTranslation","useConfig","PageContainer","TestIdUtil","Box","HomePageIntroduction"],"sources":["../../../src/pages/HomePage/HomePage.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next';\nimport { Box } from '@mui/material';\nimport { PageContainer } from '@gen-epix/ui-client-common/components/ui/PageContainer';\nimport { useConfig } from '@gen-epix/ui-client-common/hooks/useConfig';\nimport { TestIdUtil } from '@gen-epix/ui-core/utils/TestIdUtil';\n\n\nexport const HomePage = () => {\n const { t } = useTranslation();\n const { HomePageIntroduction } = useConfig();\n\n return (\n <PageContainer\n testIdAttributes={TestIdUtil.createAttributes('HomePage')}\n title={t`Home`}\n >\n <Box\n sx={{\n display: 'grid',\n gap: 2,\n gridTemplateRows: 'auto max-content',\n height: '100%',\n }}\n >\n <Box\n sx={{\n display: 'grid',\n gap: 2,\n gridTemplateColumns: '1fr 1fr',\n }}\n >\n <HomePageIntroduction />\n </Box>\n </Box>\n </PageContainer>\n );\n};\n"],"mappings":";;;;;;;AAOA,IAAaA,UAAiB;CAC5B,IAAM,EAAE,SAAMC,EAAe,GACvB,EAAE,4BAAyBC,EAAU;CAE3C,OACE,kBAACC,GAAD;EACE,kBAAkBC,EAAW,iBAAiB,UAAU;EACxD,OAAO,CAAC;EAER,UAAA,kBAACC,GAAD;GACE,IAAI;IACF,SAAS;IACT,KAAK;IACL,kBAAkB;IAClB,QAAQ;GACV;GAEA,UAAA,kBAACA,GAAD;IACE,IAAI;KACF,SAAS;KACT,KAAK;KACL,qBAAqB;IACvB;IAEA,UAAA,kBAACC,GAAD,CAAuB,CAAA;GACpB,CAAA;EACF,CAAA;CACQ,CAAA;AAEnB"}
@@ -1,5 +1,5 @@
1
1
  import { OmopDbApiPermission } from '@gen-epix/api-omopdb';
2
- import { MyNonIndexRouteObject } from '@gen-epix/ui-client-common/models/reactRouter';
2
+ import { MyNonIndexRouteObject } from '@gen-epix/ui-client-common/models/react-router.models';
3
3
  import { CommonDbApiPermission } from '@gen-epix/api-commondb';
4
4
  type RoutePermission = CommonDbApiPermission | OmopDbApiPermission;
5
5
  export declare const createAdminRoutes: () => MyNonIndexRouteObject<RoutePermission>[];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/routes/adminRoutes.tsx","../../src/routes/routes.tsx"],"sourcesContent":["import type { OmopDbApiPermission } from '@gen-epix/api-omopdb';\nimport { createAdminRoutes as createCommonAdminRoutes } from '@gen-epix/ui-client-common/routes';\nimport type { MyNonIndexRouteObject } from '@gen-epix/ui-client-common/models/reactRouter';\nimport type { CommonDbApiPermission } from '@gen-epix/api-commondb';\n\n\ntype RoutePermission = CommonDbApiPermission | OmopDbApiPermission;\n\nexport const createAdminRoutes = (): MyNonIndexRouteObject<RoutePermission>[] => [\n ...createCommonAdminRoutes<OmopDbApiPermission>(),\n];\n","import type { OmopDbApiPermission } from '@gen-epix/api-omopdb';\nimport type { CommonDbApiPermission } from '@gen-epix/api-commondb';\nimport { createRoutes as createCommonRoutes } from '@gen-epix/ui-client-common/routes';\nimport type { MyNonIndexRouteObject } from '@gen-epix/ui-client-common/models/reactRouter';\n\nimport { createAdminRoutes } from './adminRoutes';\n\ntype RoutePermission = CommonDbApiPermission | OmopDbApiPermission;\n\nexport const createRoutes = (\n adminRoutes: MyNonIndexRouteObject<RoutePermission>[] = createAdminRoutes(),\n): MyNonIndexRouteObject<RoutePermission>[] => {\n const rootChildren: MyNonIndexRouteObject<RoutePermission>[] = [];\n\n return createCommonRoutes<OmopDbApiPermission>({\n adminRoutes,\n rootChildren,\n });\n};\n"],"mappings":";;AAQA,IAAa,UAAoE,CAC/E,GAAG,EAA6C,CAClD,GCDa,KACX,IAAwD,EAAkB,MAInE,EAAwC;CAC7C;CACA,cAAA,CAAA;AACF,CAAC"}
1
+ {"version":3,"file":"index.js","names":["createCommonAdminRoutes","createCommonRoutes","createAdminRoutes$1","createRoutes$1","createAdminRoutes","createRoutes"],"sources":["../../src/routes/adminRoutes.tsx","../../src/routes/routes.tsx"],"sourcesContent":["import type { OmopDbApiPermission } from '@gen-epix/api-omopdb';\nimport { createAdminRoutes as createCommonAdminRoutes } from '@gen-epix/ui-client-common/routes';\nimport type { MyNonIndexRouteObject } from '@gen-epix/ui-client-common/models/react-router.models';\nimport type { CommonDbApiPermission } from '@gen-epix/api-commondb';\n\n\ntype RoutePermission = CommonDbApiPermission | OmopDbApiPermission;\n\nexport const createAdminRoutes = (): MyNonIndexRouteObject<RoutePermission>[] => [\n ...createCommonAdminRoutes<OmopDbApiPermission>(),\n];\n","import type { OmopDbApiPermission } from '@gen-epix/api-omopdb';\nimport type { CommonDbApiPermission } from '@gen-epix/api-commondb';\nimport { createRoutes as createCommonRoutes } from '@gen-epix/ui-client-common/routes';\nimport type { MyNonIndexRouteObject } from '@gen-epix/ui-client-common/models/react-router.models';\n\nimport { createAdminRoutes } from './adminRoutes';\n\ntype RoutePermission = CommonDbApiPermission | OmopDbApiPermission;\n\nexport const createRoutes = (\n adminRoutes: MyNonIndexRouteObject<RoutePermission>[] = createAdminRoutes(),\n): MyNonIndexRouteObject<RoutePermission>[] => {\n const rootChildren: MyNonIndexRouteObject<RoutePermission>[] = [];\n\n return createCommonRoutes<OmopDbApiPermission>({\n adminRoutes,\n rootChildren,\n });\n};\n"],"mappings":";;AAQA,IAAaI,UAAoE,CAC/E,GAAGJ,EAA6C,CAClD,GCDaK,KACX,IAAwDD,EAAkB,MAInEH,EAAwC;CAC7C;CACA,cAAA,CAAA;AACF,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { OmopDbApiPermission } from '@gen-epix/api-omopdb';
2
2
  import { CommonDbApiPermission } from '@gen-epix/api-commondb';
3
- import { MyNonIndexRouteObject } from '@gen-epix/ui-client-common/models/reactRouter';
3
+ import { MyNonIndexRouteObject } from '@gen-epix/ui-client-common/models/react-router.models';
4
4
  type RoutePermission = CommonDbApiPermission | OmopDbApiPermission;
5
5
  export declare const createRoutes: (adminRoutes?: MyNonIndexRouteObject<RoutePermission>[]) => MyNonIndexRouteObject<RoutePermission>[];
6
6
  export {};
@@ -1 +1,2 @@
1
- export declare const setupOmopDb: () => void;
1
+ import { DependencyContainer } from 'tsyringe';
2
+ export declare const setupOmopDb: (container: DependencyContainer) => void;
@@ -1,26 +1,24 @@
1
1
  import { createAdminRoutes as e, createRoutes as t } from "../routes/index.js";
2
2
  import { HomePage as n } from "../pages/HomePage/index.js";
3
- import { ApiService as r } from "@gen-epix/ui-client-common/classes/services/ApiService";
4
- import { COMMON_QUERY_DEPENDENCIES as i } from "@gen-epix/ui-client-common/constants/query";
5
- import { QueryClientService as a } from "@gen-epix/ui-client-common/classes/services/QueryClientService";
6
- import { RouterService as o } from "@gen-epix/ui-client-common/classes/services/RouterService";
7
- import { OmopDbAbacApi as s, OmopDbAuthApi as c, OmopDbBaseAPI as l, OmopDbOrganizationApi as u, OmopDbSystemApi as d } from "@gen-epix/api-omopdb";
8
- import { setupUi as f } from "@gen-epix/ui-client-common/setup/setup";
9
- var p = { [{ FOO: "FOO" }.FOO]: [] }, m = () => {
10
- let m = e(), h = t(m);
11
- o.getInstance().initialize({
12
- adminRoutes: m,
3
+ import { COMMON_QUERY_DEPENDENCIES as r } from "@gen-epix/ui-client-common/constants/query.constants";
4
+ import { QueryClientService as i } from "@gen-epix/ui-client-common/classes/services/QueryClientService";
5
+ import { RouterService as a } from "@gen-epix/ui-client-common/classes/services/RouterService";
6
+ import { OmopDbAbacApi as o, OmopDbAuthApi as s, OmopDbBaseAPI as c, OmopDbOrganizationApi as l, OmopDbSystemApi as u } from "@gen-epix/api-omopdb";
7
+ import { API_ABAC_TOKEN as d, API_AUTH_TOKEN as f, API_BASE_TOKEN as p, API_ORGANIZATION_TOKEN as m, API_SYSTEM_TOKEN as h } from "@gen-epix/ui-client-common/constants/api.constants";
8
+ import { setupUi as g } from "@gen-epix/ui-client-common/setup/setup";
9
+ import { DependencyContainerUtil as _ } from "@gen-epix/ui-client-common/utils/DependencyContainerUtil";
10
+ var v = { [{ FOO: "FOO" }.FOO]: [] }, y = (y) => {
11
+ let b = _.resolveConfig(y), x = e(), S = t(x);
12
+ y.register(a, { useValue: new a({
13
+ adminRoutes: x,
13
14
  homePageComponent: n,
14
- routes: h
15
- }), a.getInstance().initialize({ queryKeyDependencies: [i, p] }), r.getInstance().initialize({
16
- abacApi: s.getInstance(),
17
- authApi: c.getInstance(),
18
- baseApi: l,
19
- organizationApi: u.getInstance(),
20
- systemApi: d.getInstance()
21
- }), f();
15
+ routes: S
16
+ }) }), y.register(i, { useValue: new i({
17
+ config: b,
18
+ queryKeyDependencies: [r, v]
19
+ }) }), y.register(p, { useValue: c }), y.register(d, { useValue: y.resolve(o) }), y.register(f, { useValue: y.resolve(s) }), y.register(m, { useValue: y.resolve(l) }), y.register(h, { useValue: y.resolve(u) }), g();
22
20
  };
23
21
  //#endregion
24
- export { m as setupOmopDb };
22
+ export { y as setupOmopDb };
25
23
 
26
24
  //# sourceMappingURL=setup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"setup.js","names":[],"sources":["../../src/data/query.ts","../../src/setup/setup.ts"],"sourcesContent":["import type { COMMON_QUERY_KEY } from '@gen-epix/ui-client-common/constants/query';\n\nexport const OMOPDB_QUERY_KEY = {\n FOO: 'FOO',\n} as const;\n\n// eslint-disable-next-line no-redeclare, @typescript-eslint/naming-convention\nexport type OMOPDB_QUERY_KEY = typeof OMOPDB_QUERY_KEY[keyof typeof OMOPDB_QUERY_KEY];\n\nexport const OMOPDB_QUERY_DEPENDENCIES: Record<OMOPDB_QUERY_KEY, (COMMON_QUERY_KEY | OMOPDB_QUERY_KEY)[]> = {\n [OMOPDB_QUERY_KEY.FOO]: [],\n};\n","import type { COMMON_QUERY_KEY } from '@gen-epix/ui-client-common/constants/query';\nimport type { MyNonIndexRouteObject } from '@gen-epix/ui-client-common/models/reactRouter';\nimport { ApiService } from '@gen-epix/ui-client-common/classes/services/ApiService';\nimport { COMMON_QUERY_DEPENDENCIES } from '@gen-epix/ui-client-common/constants/query';\nimport { QueryClientService } from '@gen-epix/ui-client-common/classes/services/QueryClientService';\nimport { RouterService } from '@gen-epix/ui-client-common/classes/services/RouterService';\nimport {\n OmopDbAbacApi,\n OmopDbAuthApi,\n OmopDbBaseAPI,\n OmopDbOrganizationApi,\n OmopDbSystemApi,\n} from '@gen-epix/api-omopdb';\nimport type { CommonDbOrganizationApi } from '@gen-epix/api-commondb';\nimport { setupUi } from '@gen-epix/ui-client-common/setup/setup';\n\nimport { HomePage } from '../pages/HomePage';\nimport {\n createAdminRoutes,\n createRoutes,\n} from '../routes';\nimport type { OMOPDB_QUERY_KEY } from '../data/query';\nimport { OMOPDB_QUERY_DEPENDENCIES } from '../data/query';\n\nexport const setupOmopDb = () => {\n const adminRoutes = createAdminRoutes();\n const routes = createRoutes(adminRoutes);\n\n RouterService.getInstance().initialize({\n adminRoutes: adminRoutes as MyNonIndexRouteObject[],\n homePageComponent: HomePage,\n routes: routes as MyNonIndexRouteObject[],\n });\n QueryClientService.getInstance<COMMON_QUERY_KEY & OMOPDB_QUERY_KEY>().initialize({\n queryKeyDependencies: [COMMON_QUERY_DEPENDENCIES, OMOPDB_QUERY_DEPENDENCIES],\n });\n ApiService.getInstance().initialize({\n abacApi: OmopDbAbacApi.getInstance(),\n authApi: OmopDbAuthApi.getInstance(),\n baseApi: OmopDbBaseAPI,\n organizationApi: OmopDbOrganizationApi.getInstance() as CommonDbOrganizationApi,\n systemApi: OmopDbSystemApi.getInstance(),\n });\n setupUi();\n};\n"],"mappings":";;;;;;;;AASA,IAAa,IAA+F,GACzG,EAPD,KAAK,MAOJ,EAAiB,MAAM,CAAC,EAC3B,GCaa,UAAoB;CAC/B,IAAM,IAAc,EAAkB,GAChC,IAAS,EAAa,CAAW;CAiBvC,AAfA,EAAc,YAAY,CAAC,CAAC,WAAW;EACxB;EACb,mBAAmB;EACX;CACV,CAAC,GACD,EAAmB,YAAiD,CAAC,CAAC,WAAW,EAC/E,sBAAsB,CAAC,GAA2B,CAAyB,EAC7E,CAAC,GACD,EAAW,YAAY,CAAC,CAAC,WAAW;EAClC,SAAS,EAAc,YAAY;EACnC,SAAS,EAAc,YAAY;EACnC,SAAS;EACT,iBAAiB,EAAsB,YAAY;EACnD,WAAW,EAAgB,YAAY;CACzC,CAAC,GACD,EAAQ;AACV"}
1
+ {"version":3,"file":"setup.js","names":["OMOPDB_QUERY_DEPENDENCIES","setupOmopDb","config","DependencyContainerUtil","container","adminRoutes","createAdminRoutes","routes","createRoutes","RouterService","HomePage","QueryClientService","COMMON_QUERY_DEPENDENCIES","API_BASE_TOKEN","OmopDbBaseAPI","API_ABAC_TOKEN","OmopDbAbacApi","API_AUTH_TOKEN","OmopDbAuthApi","API_ORGANIZATION_TOKEN","OmopDbOrganizationApi","API_SYSTEM_TOKEN","OmopDbSystemApi","setupUi"],"sources":["../../src/data/query.ts","../../src/setup/setup.ts"],"sourcesContent":["import type { COMMON_QUERY_KEY } from '@gen-epix/ui-client-common/constants/query.constants';\n\nexport const OMOPDB_QUERY_KEY = {\n FOO: 'FOO',\n} as const;\n\n// eslint-disable-next-line no-redeclare, @typescript-eslint/naming-convention\nexport type OMOPDB_QUERY_KEY = typeof OMOPDB_QUERY_KEY[keyof typeof OMOPDB_QUERY_KEY];\n\nexport const OMOPDB_QUERY_DEPENDENCIES: Record<OMOPDB_QUERY_KEY, (COMMON_QUERY_KEY | OMOPDB_QUERY_KEY)[]> = {\n [OMOPDB_QUERY_KEY.FOO]: [],\n};\n","import type { COMMON_QUERY_KEY } from '@gen-epix/ui-client-common/constants/query.constants';\nimport type { MyNonIndexRouteObject } from '@gen-epix/ui-client-common/models/react-router.models';\nimport { COMMON_QUERY_DEPENDENCIES } from '@gen-epix/ui-client-common/constants/query.constants';\nimport { QueryClientService } from '@gen-epix/ui-client-common/classes/services/QueryClientService';\nimport { RouterService } from '@gen-epix/ui-client-common/classes/services/RouterService';\nimport {\n OmopDbAbacApi,\n OmopDbAuthApi,\n OmopDbBaseAPI,\n OmopDbOrganizationApi,\n OmopDbSystemApi,\n} from '@gen-epix/api-omopdb';\nimport type { CommonDbOrganizationApi } from '@gen-epix/api-commondb';\nimport {\n API_ABAC_TOKEN,\n API_AUTH_TOKEN,\n API_BASE_TOKEN,\n API_ORGANIZATION_TOKEN,\n API_SYSTEM_TOKEN,\n} from '@gen-epix/ui-client-common/constants/api.constants';\nimport { setupUi } from '@gen-epix/ui-client-common/setup/setup';\nimport { DependencyContainerUtil } from '@gen-epix/ui-client-common/utils/DependencyContainerUtil';\nimport type { DependencyContainer } from 'tsyringe';\n\nimport { HomePage } from '../pages/HomePage';\nimport {\n createAdminRoutes,\n createRoutes,\n} from '../routes';\nimport type { OMOPDB_QUERY_KEY } from '../data/query';\nimport { OMOPDB_QUERY_DEPENDENCIES } from '../data/query';\nimport type { OmopDbConfig } from '../models/config.models';\n\nexport const setupOmopDb = (container: DependencyContainer) => {\n const config = DependencyContainerUtil.resolveConfig<OmopDbConfig>(container);\n const adminRoutes = createAdminRoutes();\n const routes = createRoutes(adminRoutes);\n\n container.register(RouterService, {\n useValue: new RouterService({\n adminRoutes: adminRoutes as MyNonIndexRouteObject[],\n homePageComponent: HomePage,\n routes: routes as MyNonIndexRouteObject[],\n }),\n });\n container.register(QueryClientService, {\n useValue: new QueryClientService<COMMON_QUERY_KEY & OMOPDB_QUERY_KEY>({\n config,\n queryKeyDependencies: [COMMON_QUERY_DEPENDENCIES, OMOPDB_QUERY_DEPENDENCIES],\n }),\n });\n container.register(API_BASE_TOKEN, { useValue: OmopDbBaseAPI });\n container.register(API_ABAC_TOKEN, { useValue: container.resolve(OmopDbAbacApi) });\n container.register(API_AUTH_TOKEN, { useValue: container.resolve(OmopDbAuthApi) });\n container.register(API_ORGANIZATION_TOKEN, { useValue: container.resolve(OmopDbOrganizationApi) as CommonDbOrganizationApi });\n container.register(API_SYSTEM_TOKEN, { useValue: container.resolve(OmopDbSystemApi) });\n setupUi();\n};\n"],"mappings":";;;;;;;;;AASA,IAAaA,IAA+F,GACzG,EAPD,KAAK,MAOJ,EAAiB,MAAM,CAAC,EAC3B,GCsBaC,KAAe,MAAmC;CAC7D,IAAMC,IAASC,EAAwB,cAA4BC,CAAS,GACtEC,IAAcC,EAAkB,GAChCC,IAASC,EAAaH,CAAW;CAoBvC,AAlBAD,EAAU,SAASK,GAAe,EAChC,UAAU,IAAIA,EAAc;EACb;EACb,mBAAmBC;EACX;CACV,CAAC,EACH,CAAC,GACDN,EAAU,SAASO,GAAoB,EACrC,UAAU,IAAIA,EAAwD;EACpE;EACA,sBAAsB,CAACC,GAA2BZ,CAAyB;CAC7E,CAAC,EACH,CAAC,GACDI,EAAU,SAASS,GAAgB,EAAE,UAAUC,EAAc,CAAC,GAC9DV,EAAU,SAASW,GAAgB,EAAE,UAAUX,EAAU,QAAQY,CAAa,EAAE,CAAC,GACjFZ,EAAU,SAASa,GAAgB,EAAE,UAAUb,EAAU,QAAQc,CAAa,EAAE,CAAC,GACjFd,EAAU,SAASe,GAAwB,EAAE,UAAUf,EAAU,QAAQgB,CAAqB,EAA6B,CAAC,GAC5HhB,EAAU,SAASiB,GAAkB,EAAE,UAAUjB,EAAU,QAAQkB,CAAe,EAAE,CAAC,GACrFC,EAAQ;AACV"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/theme/demoTheme/demoTheme.ts"],"sourcesContent":["import { createDemoThemeOptions } from '@gen-epix/ui-client-common/theme/demoTheme';\nimport type {\n PaletteMode,\n Theme,\n ThemeOptions,\n} from '@mui/material';\nimport { createTheme as muiCreateTheme } from '@mui/material';\n\nexport const createOmopDbDemoThemeOptions = (paletteMode: PaletteMode): ThemeOptions => {\n const themeOptions: ThemeOptions = {\n ...createDemoThemeOptions(paletteMode),\n 'gen-epix-ui-client-omopdb': {\n },\n };\n\n return muiCreateTheme(themeOptions);\n};\n\nexport const createOmopDbDemoTheme = (paletteMode: PaletteMode): Theme => {\n return muiCreateTheme(createOmopDbDemoThemeOptions(paletteMode));\n};\n"],"mappings":";;;AAQA,IAAa,KAAgC,MAA2C;CACtF,IAAM,IAA6B;EACjC,GAAG,EAAuB,CAAW;EACrC,6BAA6B,CAC7B;CACF;CAEA,OAAO,EAAe,CAAY;AACpC,GAEa,KAAyB,MAC7B,EAAe,EAA6B,CAAW,CAAC"}
1
+ {"version":3,"file":"index.js","names":["muiCreateTheme","createOmopDbDemoThemeOptions","themeOptions","createDemoThemeOptions","paletteMode","createTheme","createOmopDbDemoTheme"],"sources":["../../../src/theme/demoTheme/demoTheme.ts"],"sourcesContent":["import { createDemoThemeOptions } from '@gen-epix/ui-client-common/theme/demoTheme';\nimport type {\n PaletteMode,\n Theme,\n ThemeOptions,\n} from '@mui/material';\nimport { createTheme as muiCreateTheme } from '@mui/material';\n\nexport const createOmopDbDemoThemeOptions = (paletteMode: PaletteMode): ThemeOptions => {\n const themeOptions: ThemeOptions = {\n ...createDemoThemeOptions(paletteMode),\n 'gen-epix-ui-client-omopdb': {\n },\n };\n\n return muiCreateTheme(themeOptions);\n};\n\nexport const createOmopDbDemoTheme = (paletteMode: PaletteMode): Theme => {\n return muiCreateTheme(createOmopDbDemoThemeOptions(paletteMode));\n};\n"],"mappings":";;;AAQA,IAAaC,KAAgC,MAA2C;CACtF,IAAMC,IAA6B;EACjC,GAAGC,EAAuBC,CAAW;EACrC,6BAA6B,CAC7B;CACF;CAEA,OAAOJ,EAAeE,CAAY;AACpC,GAEaI,KAAyB,MAC7BN,EAAeC,EAA6BG,CAAW,CAAC"}
@@ -1,4 +1,4 @@
1
- import { OmopDbConfig } from '../../models/config';
1
+ import { OmopDbConfig } from '../../models/config.models';
2
2
  export declare class OmopDbStandardConfigUtil {
3
3
  static createConfig(): Omit<OmopDbConfig, 'theme'>;
4
4
  }
@@ -1,52 +1,53 @@
1
- import { I18nService as e } from "@gen-epix/ui-client-common/classes/services/I18nService";
2
- import { StandardConfigUtil as t } from "@gen-epix/ui-client-common/utils/StandardConfigUtil";
3
- import { t as n } from "i18next";
4
- import { WindowService as r } from "@gen-epix/ui-core/classes/services/WindowService";
1
+ import { container as e } from "tsyringe";
2
+ import { I18nService as t } from "@gen-epix/ui-client-common/classes/services/I18nService";
3
+ import { StandardConfigUtil as n } from "@gen-epix/ui-client-common/utils/StandardConfigUtil";
4
+ import { t as r } from "i18next";
5
+ import { WindowService as i } from "@gen-epix/ui-core/classes/services/WindowService";
5
6
  //#region src/utils/OmopDbStandardConfigUtil/OmopDbStandardConfigUtil.ts
6
- var i = class {
7
+ var a = class {
7
8
  static createConfig() {
8
- let i = () => {
9
- e.getInstance().emit("onUserLanguageChange", "en");
10
- }, a = () => {
11
- e.getInstance().emit("onUserLanguageChange", "nl");
9
+ let a = () => {
10
+ e.resolve(t).emit("onUserLanguageChange", "en");
11
+ }, o = () => {
12
+ e.resolve(t).emit("onUserLanguageChange", "nl");
12
13
  };
13
14
  return {
14
- ...t.createConfig(),
15
+ ...n.createConfig(),
15
16
  createFooter: () => ({ sections: [
16
17
  {
17
- header: n`Contact`,
18
+ header: r`Contact`,
18
19
  items: [{
19
20
  href: "mailto:ids-bioinformatics@rivm.nl",
20
21
  label: "ids-bioinformatics@rivm.nl"
21
22
  }, {
22
23
  href: "https://github.com/RIVM-bioinformatics/gen-epix",
23
- label: n`Information for the press`
24
+ label: r`Information for the press`
24
25
  }]
25
26
  },
26
27
  {
27
- header: n`About`,
28
+ header: r`About`,
28
29
  items: [{
29
30
  href: "https://github.com/RIVM-bioinformatics/gen-epix",
30
- label: n`Copyright`
31
+ label: r`Copyright`
31
32
  }, {
32
33
  href: "https://github.com/RIVM-bioinformatics/gen-epix",
33
- label: n`Accessibility`
34
+ label: r`Accessibility`
34
35
  }]
35
36
  },
36
37
  {
37
- header: n`Languages`,
38
+ header: r`Languages`,
38
39
  items: [{
39
- label: n`English`,
40
- onClick: i
41
- }, {
42
- label: n`Dutch`,
40
+ label: r`English`,
43
41
  onClick: a
42
+ }, {
43
+ label: r`Dutch`,
44
+ onClick: o
44
45
  }]
45
46
  }
46
47
  ] }),
47
48
  enablePageEvents: !1,
48
49
  getAPIBaseUrl: () => {
49
- let { location: { href: e } } = r.getInstance().window.document, { hostname: t } = new URL(e);
50
+ let { location: { href: e } } = i.getInstance().window.document, { hostname: t } = new URL(e);
50
51
  switch (t) {
51
52
  case "127.0.0.1": return "https://127.0.0.1:5010";
52
53
  case "localhost": return "https://localhost:5010";
@@ -54,13 +55,13 @@ var i = class {
54
55
  }
55
56
  },
56
57
  getEnvironmentMessage: () => {
57
- let { location: { href: e } } = r.getInstance().window.document, { hostname: t } = new URL(e);
58
+ let { location: { href: e } } = i.getInstance().window.document, { hostname: t } = new URL(e);
58
59
  return "localhost";
59
60
  }
60
61
  };
61
62
  }
62
63
  };
63
64
  //#endregion
64
- export { i as OmopDbStandardConfigUtil };
65
+ export { a as OmopDbStandardConfigUtil };
65
66
 
66
67
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../src/utils/OmopDbStandardConfigUtil/OmopDbStandardConfigUtil.ts"],"sourcesContent":["import { I18nService } from '@gen-epix/ui-client-common/classes/services/I18nService';\nimport { StandardConfigUtil } from '@gen-epix/ui-client-common/utils/StandardConfigUtil';\nimport { t } from 'i18next';\nimport { WindowService } from '@gen-epix/ui-core/classes/services/WindowService';\n\nimport type { OmopDbConfig } from '../../models/config';\n\nexport class OmopDbStandardConfigUtil {\n public static createConfig(): Omit<OmopDbConfig, 'theme'> {\n const onEnglishClick = () => {\n I18nService.getInstance().emit('onUserLanguageChange', 'en');\n };\n\n const onDutchClick = () => {\n I18nService.getInstance().emit('onUserLanguageChange', 'nl');\n };\n\n const config: Omit<OmopDbConfig, 'theme'> = {\n ...StandardConfigUtil.createConfig(),\n createFooter: () => ({\n sections: [\n {\n header: t`Contact`,\n items: [\n {\n href: 'mailto:ids-bioinformatics@rivm.nl',\n label: 'ids-bioinformatics@rivm.nl',\n },\n {\n href: 'https://github.com/RIVM-bioinformatics/gen-epix',\n label: t`Information for the press`,\n },\n ],\n },\n {\n header: t`About`,\n items: [\n {\n href: 'https://github.com/RIVM-bioinformatics/gen-epix',\n label: t`Copyright`,\n },\n {\n href: 'https://github.com/RIVM-bioinformatics/gen-epix',\n label: t`Accessibility`,\n },\n ],\n },\n {\n header: t`Languages`,\n items: [\n {\n label: t`English`,\n onClick: onEnglishClick,\n },\n {\n label: t`Dutch`,\n onClick: onDutchClick,\n },\n ],\n },\n ],\n }),\n enablePageEvents: false,\n\n getAPIBaseUrl: () => {\n const { location: { href } } = WindowService.getInstance().window.document;\n const { hostname } = new URL(href);\n switch (hostname) {\n case '127.0.0.1':\n return `https://127.0.0.1:5010`;\n case 'localhost':\n return `https://localhost:5010`;\n default:\n return '';\n }\n },\n getEnvironmentMessage: () => {\n const { location: { href } } = WindowService.getInstance().window.document;\n const { hostname } = new URL(href);\n let environment: string;\n switch (hostname) {\n case '127.0.0.1':\n case 'localhost':\n default:\n environment = 'localhost';\n break;\n }\n return environment;\n },\n };\n return config;\n }\n\n}\n"],"mappings":";;;;;AAOA,IAAa,IAAb,MAAsC;CACpC,OAAc,eAA4C;EACxD,IAAM,UAAuB;GAC3B,EAAY,YAAY,CAAC,CAAC,KAAK,wBAAwB,IAAI;EAC7D,GAEM,UAAqB;GACzB,EAAY,YAAY,CAAC,CAAC,KAAK,wBAAwB,IAAI;EAC7D;EA2EA,OAAO;GAxEL,GAAG,EAAmB,aAAa;GACnC,qBAAqB,EACnB,UAAU;IACR;KACE,QAAQ,CAAC;KACT,OAAO,CACL;MACE,MAAM;MACN,OAAO;KACT,GACA;MACE,MAAM;MACN,OAAO,CAAC;KACV,CACF;IACF;IACA;KACE,QAAQ,CAAC;KACT,OAAO,CACL;MACE,MAAM;MACN,OAAO,CAAC;KACV,GACA;MACE,MAAM;MACN,OAAO,CAAC;KACV,CACF;IACF;IACA;KACE,QAAQ,CAAC;KACT,OAAO,CACL;MACE,OAAO,CAAC;MACR,SAAS;KACX,GACA;MACE,OAAO,CAAC;MACR,SAAS;KACX,CACF;IACF;GACF,EACF;GACA,kBAAkB;GAElB,qBAAqB;IACnB,IAAM,EAAE,UAAU,EAAE,cAAW,EAAc,YAAY,CAAC,CAAC,OAAO,UAC5D,EAAE,gBAAa,IAAI,IAAI,CAAI;IACjC,QAAQ,GAAR;KACE,KAAK,aACH,OAAO;KACT,KAAK,aACH,OAAO;KACT,SACE,OAAO;IACX;GACF;GACA,6BAA6B;IAC3B,IAAM,EAAE,UAAU,EAAE,cAAW,EAAc,YAAY,CAAC,CAAC,OAAO,UAC5D,EAAE,gBAAa,IAAI,IAAI,CAAI;IASjC,OAAO;GACT;EAEK;CACT;AAEF"}
1
+ {"version":3,"file":"index.js","names":["OmopDbStandardConfigUtil","onEnglishClick","I18nService","onDutchClick","StandardConfigUtil","WindowService","href","hostname"],"sources":["../../../src/utils/OmopDbStandardConfigUtil/OmopDbStandardConfigUtil.ts"],"sourcesContent":["import { container as rootContainer } from 'tsyringe';\nimport { I18nService } from '@gen-epix/ui-client-common/classes/services/I18nService';\nimport { StandardConfigUtil } from '@gen-epix/ui-client-common/utils/StandardConfigUtil';\nimport { t } from 'i18next';\nimport { WindowService } from '@gen-epix/ui-core/classes/services/WindowService';\n\nimport type { OmopDbConfig } from '../../models/config.models';\n\nexport class OmopDbStandardConfigUtil {\n public static createConfig(): Omit<OmopDbConfig, 'theme'> {\n const onEnglishClick = () => {\n rootContainer.resolve(I18nService).emit('onUserLanguageChange', 'en');\n };\n\n const onDutchClick = () => {\n rootContainer.resolve(I18nService).emit('onUserLanguageChange', 'nl');\n };\n\n const config: Omit<OmopDbConfig, 'theme'> = {\n ...StandardConfigUtil.createConfig(),\n createFooter: () => ({\n sections: [\n {\n header: t`Contact`,\n items: [\n {\n href: 'mailto:ids-bioinformatics@rivm.nl',\n label: 'ids-bioinformatics@rivm.nl',\n },\n {\n href: 'https://github.com/RIVM-bioinformatics/gen-epix',\n label: t`Information for the press`,\n },\n ],\n },\n {\n header: t`About`,\n items: [\n {\n href: 'https://github.com/RIVM-bioinformatics/gen-epix',\n label: t`Copyright`,\n },\n {\n href: 'https://github.com/RIVM-bioinformatics/gen-epix',\n label: t`Accessibility`,\n },\n ],\n },\n {\n header: t`Languages`,\n items: [\n {\n label: t`English`,\n onClick: onEnglishClick,\n },\n {\n label: t`Dutch`,\n onClick: onDutchClick,\n },\n ],\n },\n ],\n }),\n enablePageEvents: false,\n\n getAPIBaseUrl: () => {\n const { location: { href } } = WindowService.getInstance().window.document;\n const { hostname } = new URL(href);\n switch (hostname) {\n case '127.0.0.1':\n return `https://127.0.0.1:5010`;\n case 'localhost':\n return `https://localhost:5010`;\n default:\n return '';\n }\n },\n getEnvironmentMessage: () => {\n const { location: { href } } = WindowService.getInstance().window.document;\n const { hostname } = new URL(href);\n let environment: string;\n switch (hostname) {\n case '127.0.0.1':\n case 'localhost':\n default:\n environment = 'localhost';\n break;\n }\n return environment;\n },\n };\n return config;\n }\n\n}\n"],"mappings":";;;;;;AAQA,IAAaA,IAAb,MAAsC;CACpC,OAAc,eAA4C;EACxD,IAAMC,UAAuB;GAC3B,EAAc,QAAQC,CAAW,CAAC,CAAC,KAAK,wBAAwB,IAAI;EACtE,GAEMC,UAAqB;GACzB,EAAc,QAAQD,CAAW,CAAC,CAAC,KAAK,wBAAwB,IAAI;EACtE;EA2EA,OAAO;GAxEL,GAAGE,EAAmB,aAAa;GACnC,qBAAqB,EACnB,UAAU;IACR;KACE,QAAQ,CAAC;KACT,OAAO,CACL;MACE,MAAM;MACN,OAAO;KACT,GACA;MACE,MAAM;MACN,OAAO,CAAC;KACV,CACF;IACF;IACA;KACE,QAAQ,CAAC;KACT,OAAO,CACL;MACE,MAAM;MACN,OAAO,CAAC;KACV,GACA;MACE,MAAM;MACN,OAAO,CAAC;KACV,CACF;IACF;IACA;KACE,QAAQ,CAAC;KACT,OAAO,CACL;MACE,OAAO,CAAC;MACR,SAASH;KACX,GACA;MACE,OAAO,CAAC;MACR,SAASE;KACX,CACF;IACF;GACF,EACF;GACA,kBAAkB;GAElB,qBAAqB;IACnB,IAAM,EAAE,UAAU,EAAE,cAAWE,EAAc,YAAY,CAAC,CAAC,OAAO,UAC5D,EAAE,gBAAa,IAAI,IAAIC,CAAI;IACjC,QAAQC,GAAR;KACE,KAAK,aACH,OAAO;KACT,KAAK,aACH,OAAO;KACT,SACE,OAAO;IACX;GACF;GACA,6BAA6B;IAC3B,IAAM,EAAE,UAAU,EAAE,cAAWF,EAAc,YAAY,CAAC,CAAC,OAAO,UAC5D,EAAE,gBAAa,IAAI,IAAIC,CAAI;IASjC,OAAO;GACT;EAEK;CACT;AAEF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gen-epix/ui-client-omopdb",
3
- "version": "4.2.2",
3
+ "version": "4.3.1",
4
4
  "homepage": "https://github.com/RIVM-bioinformatics/gen-epix",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,13 +18,13 @@
18
18
  "types": "./dist/components/app/OmopDbApp/index.d.ts",
19
19
  "import": "./dist/components/app/OmopDbApp/index.js"
20
20
  },
21
- "./models/config": {
22
- "types": "./dist/models/config.d.ts",
23
- "import": "./dist/models/config.js"
21
+ "./models/config.models": {
22
+ "types": "./dist/models/config.models.d.ts",
23
+ "import": "./dist/models/config.models.js"
24
24
  },
25
- "./models/theme": {
26
- "types": "./dist/models/theme.d.ts",
27
- "import": "./dist/models/theme.js"
25
+ "./models/theme.models": {
26
+ "types": "./dist/models/theme.models.d.ts",
27
+ "import": "./dist/models/theme.models.js"
28
28
  },
29
29
  "./pages/HomePage": {
30
30
  "types": "./dist/pages/HomePage/index.d.ts",
@@ -57,56 +57,57 @@
57
57
  "@emotion/cache": "11.14.0",
58
58
  "@emotion/react": "11.14.0",
59
59
  "@emotion/styled": "11.14.1",
60
- "@gen-epix/api-commondb": "^4.3.1",
61
- "@gen-epix/api-omopdb": "^4.3.1",
62
- "@gen-epix/eslint-config": "0.7.0",
63
- "@gen-epix/translation-util": "0.4.0",
64
- "@gen-epix/ui-client-common": "^4.3.2",
65
- "@gen-epix/ui-core-components": "^4.3.1",
66
- "@gen-epix/ui-core-form": "^4.3.1",
67
- "@microsoft/api-extractor": "7.59.1",
68
- "@mui/icons-material": "9.4.0",
69
- "@mui/material": "9.4.0",
70
- "@mui/styled-engine": "9.4.0",
71
- "@mui/system": "9.4.0",
72
- "@mui/utils": "9.4.0",
73
- "@mui/x-date-pickers": "9.14.0",
74
- "@types/node": "26.6.2",
60
+ "@gen-epix/api-commondb": "^4.4.0",
61
+ "@gen-epix/api-omopdb": "^4.4.0",
62
+ "@gen-epix/eslint-config": "0.8.0",
63
+ "@gen-epix/translation-util": "0.5.0",
64
+ "@gen-epix/ui-client-common": "^4.4.1",
65
+ "@gen-epix/ui-core-components": "^4.4.0",
66
+ "@gen-epix/ui-core-form": "^4.4.0",
67
+ "@microsoft/api-extractor": "7.59.4",
68
+ "@mui/icons-material": "9.5.0",
69
+ "@mui/material": "9.5.0",
70
+ "@mui/styled-engine": "9.5.0",
71
+ "@mui/system": "9.5.0",
72
+ "@mui/utils": "9.5.0",
73
+ "@mui/x-date-pickers": "9.15.0",
74
+ "@types/node": "26.6.5",
75
75
  "@types/react": "19.3.0",
76
- "@vitejs/plugin-react": "6.1.1",
77
- "@vitest/browser-playwright": "5.0.1",
78
- "@vitest/coverage-v8": "5.0.1",
76
+ "@vitejs/plugin-react": "6.1.2",
77
+ "@vitest/browser-playwright": "5.0.4",
78
+ "@vitest/coverage-v8": "5.0.4",
79
79
  "axios": "1.20.0",
80
- "eslint": "10.11.0",
81
- "i18next": "26.4.2",
82
- "jsdom": "30.1.0",
83
- "playwright": "1.63.0",
80
+ "eslint": "10.12.0",
81
+ "i18next": "26.4.4",
82
+ "jsdom": "30.1.2",
83
+ "playwright": "1.64.1",
84
+ "react": "19.3.0",
84
85
  "react-dom": "19.3.0",
85
86
  "react-error-boundary": "6.1.6",
86
- "react-hook-form": "7.88.0",
87
- "react-i18next": "17.0.14",
88
- "react-router-dom": "7.18.4",
87
+ "react-hook-form": "7.90.0",
88
+ "react-i18next": "17.0.16",
89
89
  "react-router": "8.4.0",
90
- "react": "19.3.0",
90
+ "react-router-dom": "7.18.4",
91
91
  "typescript": "6.0.3",
92
- "vite": "8.3.0",
93
- "vite-plugin-dts": "5.1.1",
92
+ "tsyringe": "4.10.0",
93
+ "vite": "8.3.4",
94
+ "vite-plugin-dts": "5.1.2",
94
95
  "vite-plugin-lib-inject-css": "2.2.2",
95
96
  "vite-plugin-static-copy": "4.1.1",
96
97
  "vite-plugin-svgr": "5.2.0",
97
- "vitest": "5.0.1",
98
+ "vitest": "5.0.4",
98
99
  "yup": "1.7.1"
99
100
  },
100
101
  "peerDependencies": {
101
102
  "@emotion/cache": "*",
102
103
  "@emotion/react": "*",
103
104
  "@emotion/styled": "*",
104
- "@gen-epix/api-commondb": "^4.3.1",
105
- "@gen-epix/api-omopdb": "^4.3.1",
106
- "@gen-epix/ui-client-common": "^4.3.2",
107
- "@gen-epix/ui-core": "^3.3.1",
108
- "@gen-epix/ui-core-components": "^4.3.1",
109
- "@gen-epix/ui-core-form": "^4.3.1",
105
+ "@gen-epix/api-commondb": "^4.4.0",
106
+ "@gen-epix/api-omopdb": "^4.4.0",
107
+ "@gen-epix/ui-client-common": "^4.4.1",
108
+ "@gen-epix/ui-core": "^3.9.0",
109
+ "@gen-epix/ui-core-components": "^4.4.0",
110
+ "@gen-epix/ui-core-form": "^4.4.0",
110
111
  "@mui/icons-material": "*",
111
112
  "@mui/material": "*",
112
113
  "@mui/styled-engine": "*",
@@ -115,13 +116,14 @@
115
116
  "@mui/x-date-pickers": "*",
116
117
  "axios": "*",
117
118
  "i18next": "*",
119
+ "react": "*",
118
120
  "react-dom": "*",
119
121
  "react-error-boundary": "*",
120
122
  "react-hook-form": "*",
121
123
  "react-i18next": "*",
122
- "react-router-dom": "*",
123
124
  "react-router": "*",
124
- "react": "*",
125
+ "react-router-dom": "*",
126
+ "tsyringe": "*",
125
127
  "yup": "*"
126
128
  },
127
129
  "publishConfig": {
File without changes
File without changes