@gen-epix/ui-client-common 4.5.1 → 4.6.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.
Files changed (165) hide show
  1. package/dist/_chunks/ApplicationFooter.js +1 -2
  2. package/dist/_chunks/Breadcrumbs.js +1 -2
  3. package/dist/_chunks/CrudPage.js +1 -2
  4. package/dist/_chunks/CrudPage.js.map +1 -1
  5. package/dist/_chunks/GeoFilter.js +1 -2
  6. package/dist/_chunks/GeoFilter.js.map +1 -1
  7. package/dist/_chunks/Notifications.js +1 -2
  8. package/dist/_chunks/OutageList.js +1 -2
  9. package/dist/_chunks/OutageList.js.map +1 -1
  10. package/dist/_chunks/OutageUtil.js +3 -6
  11. package/dist/_chunks/OutageUtil.js.map +1 -1
  12. package/dist/_chunks/QueryClientProvider.js +1 -2
  13. package/dist/_chunks/QueryClientProvider.js.map +1 -1
  14. package/dist/_chunks/QueryClientService.js +6 -8
  15. package/dist/_chunks/QueryClientService.js.map +1 -1
  16. package/dist/_chunks/Reflect.js +1 -2
  17. package/dist/_chunks/Table.js +5 -10
  18. package/dist/_chunks/Table.js.map +1 -1
  19. package/dist/_chunks/TableUtil.js +2 -4
  20. package/dist/_chunks/TableUtil.js.map +1 -1
  21. package/dist/_chunks/TextFilter.js +4 -8
  22. package/dist/_chunks/TextFilter.js.map +1 -1
  23. package/dist/_chunks/UserInvitationsAdminPage.js +1 -2
  24. package/dist/_chunks/UserManagerUtil.js +2 -4
  25. package/dist/_chunks/UserManagerUtil.js.map +1 -1
  26. package/dist/_chunks/_baseAssignValue.js +1 -2
  27. package/dist/_chunks/_baseFlatten.js +1 -2
  28. package/dist/_chunks/_baseGet.js +1 -2
  29. package/dist/_chunks/_baseIteratee.js +1 -2
  30. package/dist/_chunks/_baseUnset.js +1 -2
  31. package/dist/_chunks/_cacheHas.js +1 -2
  32. package/dist/_chunks/_setToString.js +1 -2
  33. package/dist/_chunks/decorate.js +1 -2
  34. package/dist/_chunks/decorateParam.js +1 -2
  35. package/dist/_chunks/format.js +27 -54
  36. package/dist/_chunks/format.js.map +1 -1
  37. package/dist/_chunks/isArrayLike.js +1 -2
  38. package/dist/_chunks/isObject.js +1 -2
  39. package/dist/_chunks/isSymbol.js +1 -2
  40. package/dist/_chunks/last.js +1 -2
  41. package/dist/_chunks/middleware.js +2 -3
  42. package/dist/_chunks/middleware.js.map +1 -1
  43. package/dist/_chunks/omit.js +1 -2
  44. package/dist/_chunks/query.js +8 -15
  45. package/dist/_chunks/query.js.map +1 -1
  46. package/dist/_chunks/react.js +2 -3
  47. package/dist/_chunks/react.js.map +1 -1
  48. package/dist/_chunks/rolldown-runtime.js +2 -3
  49. package/dist/_chunks/tableStore.js +171 -171
  50. package/dist/_chunks/tableStore.js.map +1 -1
  51. package/dist/_chunks/toDate.js +8 -14
  52. package/dist/_chunks/toDate.js.map +1 -1
  53. package/dist/_chunks/uniq.js +1 -2
  54. package/dist/_chunks/useColumnsMenu.js +3 -6
  55. package/dist/_chunks/useColumnsMenu.js.map +1 -1
  56. package/dist/_chunks/useMutation.js +2 -4
  57. package/dist/_chunks/useMutation.js.map +1 -1
  58. package/dist/_chunks/useQueryMemo.js +8 -14
  59. package/dist/_chunks/useQueryMemo.js.map +1 -1
  60. package/dist/_chunks/vanilla.js +1 -2
  61. package/dist/_chunks/vanilla.js.map +1 -1
  62. package/dist/_chunks/yup.js +2 -4
  63. package/dist/_chunks/yup.js.map +1 -1
  64. package/dist/classes/TableEventBus/index.js +1 -2
  65. package/dist/classes/abstracts/FilterAbstract/index.js +1 -2
  66. package/dist/classes/abstracts/FilterAbstract/index.js.map +1 -1
  67. package/dist/classes/services/AuthenticationService/index.js +0 -1
  68. package/dist/classes/services/AuthenticationService/index.js.map +1 -1
  69. package/dist/classes/services/AuthorizationService/index.js +1 -2
  70. package/dist/classes/services/BackendVersionService/index.js +1 -2
  71. package/dist/classes/services/BreadcrumbService/index.js +1 -2
  72. package/dist/classes/services/BreadcrumbService/index.js.map +1 -1
  73. package/dist/classes/services/EmotionCacheService/index.js +1 -2
  74. package/dist/classes/services/FeatureFlagsService/index.js +1 -2
  75. package/dist/classes/services/I18nService/index.js +1 -2
  76. package/dist/classes/services/InactivityService/index.js +1 -2
  77. package/dist/classes/services/InactivityService/index.js.map +1 -1
  78. package/dist/classes/services/LogService/index.js +1 -2
  79. package/dist/classes/services/NavigationHistoryService/index.js +1 -2
  80. package/dist/classes/services/NotificationService/index.js +1 -2
  81. package/dist/classes/services/PageEventBusService/index.js +1 -2
  82. package/dist/classes/services/RouterService/index.js +1 -2
  83. package/dist/classes/services/UserSettingsService/index.js +1 -2
  84. package/dist/components/app/App/index.js +1 -2
  85. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js +1 -2
  86. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js.map +1 -1
  87. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js +1 -2
  88. package/dist/components/app/AuthenticationWrapper/index.js +1 -2
  89. package/dist/components/app/AuthorizationWrapper/index.js +1 -2
  90. package/dist/components/app/AuthorizationWrapper/index.js.map +1 -1
  91. package/dist/components/app/RouterRoot/index.js +1 -2
  92. package/dist/components/epi/EpiContactDetailsDialog/index.js +1 -2
  93. package/dist/components/filters/BooleanFilterField/index.js +1 -2
  94. package/dist/components/filters/DateFilterField/index.js +1 -2
  95. package/dist/components/filters/GeoFilterField/index.js +1 -2
  96. package/dist/components/filters/MultiSelectFilterField/index.js +1 -2
  97. package/dist/components/filters/NumberRangeFilterField/index.js +1 -2
  98. package/dist/components/filters/TextFilterField/index.js +1 -2
  99. package/dist/components/ui/ApplicationBar/index.js +1 -2
  100. package/dist/components/ui/ConsentDialog/index.js +1 -2
  101. package/dist/components/ui/GenericErrorMessage/index.js +1 -2
  102. package/dist/components/ui/LicensesDialog/index.js +1 -2
  103. package/dist/components/ui/MyPermissionsDialog/index.js +1 -2
  104. package/dist/components/ui/NavLink/index.js +1 -2
  105. package/dist/components/ui/OrganizationSwitcherDialog/index.js +1 -2
  106. package/dist/components/ui/OutagesDialog/index.js +1 -2
  107. package/dist/components/ui/PageContainer/index.js +1 -2
  108. package/dist/components/ui/ResponseHandler/index.js +1 -2
  109. package/dist/components/ui/Sidebar/index.js +1 -2
  110. package/dist/components/ui/UserFeedbackDialog/index.js +1 -2
  111. package/dist/components/ui/UserInactivityConfirmation/index.js +1 -2
  112. package/dist/constants/api.constants.js +1 -2
  113. package/dist/constants/config.constants.js +1 -2
  114. package/dist/constants/query.constants.js +1 -2
  115. package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/index.js +1 -2
  116. package/dist/dataHooks/useIdentifierIssuerQuery/index.js +1 -2
  117. package/dist/dataHooks/useInviteUserConstraintsQuery/index.js +1 -2
  118. package/dist/dataHooks/useOrganizationAdminPoliciesQuery/index.js +1 -2
  119. package/dist/dataHooks/useOrganizationIdentifierIssuerLinksQuery/index.js +1 -2
  120. package/dist/dataHooks/useOrganizationsQuery/index.js +1 -2
  121. package/dist/dataHooks/useUsersQuery/index.js +1 -2
  122. package/dist/hoc/withPermissions/index.js +1 -2
  123. package/dist/hooks/useConfig/index.js +1 -2
  124. package/dist/hooks/useCreateMutation/index.js +1 -2
  125. package/dist/hooks/useDeleteMutation/index.js +1 -2
  126. package/dist/hooks/useEditMutation/index.js +1 -2
  127. package/dist/hooks/useInitializeTableStore/index.js +1 -2
  128. package/dist/hooks/useItemQuery/index.js +1 -2
  129. package/dist/hooks/useUpdateBreadcrumb/index.js +1 -2
  130. package/dist/hooks/useUpdateDocumentTitle/index.js +1 -2
  131. package/dist/models/admin.models.js +1 -2
  132. package/dist/models/admin.models.js.map +1 -1
  133. package/dist/models/table.models.js +1 -2
  134. package/dist/models/table.models.js.map +1 -1
  135. package/dist/pages/AcceptInvitationPage/index.js +1 -2
  136. package/dist/pages/AdminPage/index.js +1 -2
  137. package/dist/pages/ChooseIdentityProviderPage/index.js +1 -2
  138. package/dist/pages/ErrorPage/index.js +1 -2
  139. package/dist/pages/IdentifierIssuersAdminPage/index.js +1 -2
  140. package/dist/pages/OrganizationAdminPoliciesAdminPage/index.js +1 -2
  141. package/dist/pages/OrganizationContactsAdminPage/index.js +1 -2
  142. package/dist/pages/OrganizationSitesAdminPage/index.js +1 -2
  143. package/dist/pages/OrganizationsAdminPage/index.js +1 -2
  144. package/dist/pages/OrganizationsAdminPage/index.js.map +1 -1
  145. package/dist/pages/OutagesAdminPage/index.js +1 -2
  146. package/dist/pages/PostLoginPage/index.js +2 -3
  147. package/dist/pages/PostLoginPage/index.js.map +1 -1
  148. package/dist/pages/PostLogoutPage/index.js +1 -2
  149. package/dist/pages/RouterErrorPage/index.js +1 -2
  150. package/dist/pages/UsersAdminPage/index.js +1 -2
  151. package/dist/routes/index.js +1 -2
  152. package/dist/setup/setup.js +1 -2
  153. package/dist/stores/oidcStore/index.js +1 -2
  154. package/dist/stores/outagesStore/index.js +1 -2
  155. package/dist/theme/demoTheme/index.js +1 -2
  156. package/dist/utils/AxiosUtil/index.js +1 -2
  157. package/dist/utils/DataHookUtil/index.js +1 -2
  158. package/dist/utils/DependencyContainerUtil/index.js +0 -1
  159. package/dist/utils/LoadableUtil/index.js +1 -2
  160. package/dist/utils/MenuDataUtil/index.js +1 -2
  161. package/dist/utils/NotificationUtil/index.js +1 -2
  162. package/dist/utils/StandardConfigUtil/index.js +1 -2
  163. package/dist/utils/TimeUtil/index.js +1 -2
  164. package/dist/utils/UserUtil/index.js +1 -2
  165. package/package.json +25 -25
@@ -1,5 +1,5 @@
1
1
  import { CanceledError as e, isAxiosError as t } from "axios";
2
- //#region src/utils/AxiosUtil/AxiosUtil.ts
2
+ // src/utils/AxiosUtil/AxiosUtil.ts
3
3
  var n = class n {
4
4
  static isAxiosBadRequestError(e) {
5
5
  return n.isAxiosRequestErrorWithCode(e, 400);
@@ -32,7 +32,6 @@ var n = class n {
32
32
  return n.isAxiosRequestErrorWithCode(e, 422);
33
33
  }
34
34
  };
35
- //#endregion
36
35
  export { n as AxiosUtil };
37
36
 
38
37
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  import { LoadableUtil as e } from "../LoadableUtil/index.js";
2
2
  import { StringUtil as t } from "@gen-epix/ui-core/utils/StringUtil";
3
- //#region src/utils/DataHookUtil/DataHookUtil.ts
3
+ // src/utils/DataHookUtil/DataHookUtil.ts
4
4
  var n = class n {
5
5
  static createUseMapDataHook(t, r, i = []) {
6
6
  let a = [...n.isResponse(t) ? [t] : [], ...Array.isArray(i) ? i : []], o = e.isSomeLoading(a), s = e.isSomeFetching(a), c = e.isSomePending(a), l = e.isAllEnabled(a), u = e.findFirstError(a);
@@ -71,7 +71,6 @@ var n = class n {
71
71
  return !(!e || typeof e != "object" || !("isLoading" in e) || !("isFetching" in e) || !("isPending" in e) || !("isEnabled" in e) || !("error" in e));
72
72
  }
73
73
  };
74
- //#endregion
75
74
  export { n as DataHookUtil };
76
75
 
77
76
  //# sourceMappingURL=index.js.map
@@ -10,7 +10,6 @@ var r = class {
10
10
  return n.resolve(t);
11
11
  }
12
12
  };
13
- //#endregion
14
13
  export { r as DependencyContainerUtil };
15
14
 
16
15
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- //#region src/utils/LoadableUtil/LoadableUtil.ts
1
+ // src/utils/LoadableUtil/LoadableUtil.ts
2
2
  var e = class {
3
3
  static findFirstError(e) {
4
4
  return e.find((e) => e.isEnabled && e.error)?.error;
@@ -19,7 +19,6 @@ var e = class {
19
19
  return e.some((e) => e.isEnabled && e.isPending);
20
20
  }
21
21
  };
22
- //#endregion
23
22
  export { e as LoadableUtil };
24
23
 
25
24
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- //#region src/utils/MenuDataUtil/MenuDataUtil.ts
1
+ // src/utils/MenuDataUtil/MenuDataUtil.ts
2
2
  var e = class e {
3
3
  static isMenuItemData(t) {
4
4
  if (typeof t != "object" || !t || Array.isArray(t)) return !1;
@@ -13,7 +13,6 @@ var e = class e {
13
13
  return Array.isArray(t) && t.every(e.isMenuItemData);
14
14
  }
15
15
  };
16
- //#endregion
17
16
  export { e as MenuDataUtil };
18
17
 
19
18
  //# sourceMappingURL=index.js.map
@@ -1,12 +1,11 @@
1
1
  import { AxiosUtil as e } from "../AxiosUtil/index.js";
2
2
  import { t } from "i18next";
3
- //#region src/utils/NotificationUtil/NotificationUtil.ts
3
+ // src/utils/NotificationUtil/NotificationUtil.ts
4
4
  var n = class {
5
5
  static wrapErrorNotificationMessage(n, r) {
6
6
  return e.isAxiosForbiddenError(r) && (n = t("{{message}} - You do not have permission to perform this action.", { message: n })), e.isAxiosUnauthorizedError(r) && (n = t("{{message}} - You are not logged in.", { message: n })), e.isAxiosNotFoundError(r) && (n = t("{{message}} - The item does not exist.", { message: n })), e.isAxiosBadRequestError(r) && (n = t("{{message}} - Bad request. The input data was not correct.", { message: n })), e.isAxiosConflictError(r) && (n = t("{{message}} - Conflict. The request could not be completed due to a conflict with the current state of the resource.", { message: n })), e.isAxiosInternalServerError(r) && (n = t("{{message}} - Internal Server Error. Please try again later.", { message: n })), n;
7
7
  }
8
8
  };
9
- //#endregion
10
9
  export { n as NotificationUtil };
11
10
 
12
11
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import { AxiosUtil as e } from "../AxiosUtil/index.js";
2
- //#region src/utils/StandardConfigUtil/StandardConfigUtil.ts
2
+ // src/utils/StandardConfigUtil/StandardConfigUtil.ts
3
3
  var t = () => null, n = () => null, r = () => null, i = () => null, a = class {
4
4
  static createConfig() {
5
5
  return {
@@ -66,7 +66,6 @@ var t = () => null, n = () => null, r = () => null, i = () => null, a = class {
66
66
  };
67
67
  }
68
68
  };
69
- //#endregion
70
69
  export { a as StandardConfigUtil };
71
70
 
72
71
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "i18next";
2
- //#region src/utils/TimeUtil/TimeUtil.ts
2
+ // src/utils/TimeUtil/TimeUtil.ts
3
3
  var t = class {
4
4
  static getReadableTimeRemaining(t, n = !1) {
5
5
  if (t < 1e3) return e("less than a second");
@@ -13,7 +13,6 @@ var t = class {
13
13
  });
14
14
  }
15
15
  };
16
- //#endregion
17
16
  export { t as TimeUtil };
18
17
 
19
18
  //# sourceMappingURL=index.js.map
@@ -1,10 +1,9 @@
1
- //#region src/utils/UserUtil/UserUtil.ts
1
+ // src/utils/UserUtil/UserUtil.ts
2
2
  var e = class {
3
3
  static getUserDisplayValue(e, t) {
4
4
  return e ? `${e.name} (${e.key})` : t`Unknown user`;
5
5
  }
6
6
  };
7
- //#endregion
8
7
  export { e as UserUtil };
9
8
 
10
9
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gen-epix/ui-client-common",
3
- "version": "4.5.1",
3
+ "version": "4.6.0",
4
4
  "homepage": "https://github.com/RIVM-bioinformatics/gen-epix",
5
5
  "repository": {
6
6
  "type": "git",
@@ -486,18 +486,18 @@
486
486
  "last 2 Chrome versions"
487
487
  ],
488
488
  "dependencies": {
489
- "@hookform/resolvers": "5.9.1",
490
- "@tanstack/react-query": "5.104.2",
489
+ "@hookform/resolvers": "6.0.1",
490
+ "@tanstack/react-query": "5.105.0",
491
491
  "classnames": "2.5.1",
492
492
  "clsx": "2.1.1",
493
493
  "date-fns": "4.4.0",
494
- "immer": "11.1.21",
494
+ "immer": "11.2.9",
495
495
  "lodash": "4.18.1",
496
496
  "oidc-client-ts": "3.5.0",
497
497
  "reflect-metadata": "0.2.2",
498
498
  "use-debounce": "10.1.1",
499
499
  "uuid": "14.0.3",
500
- "zustand": "5.0.15"
500
+ "zustand": "5.0.16"
501
501
  },
502
502
  "devDependencies": {
503
503
  "@dnd-kit/core": "6.3.1",
@@ -506,12 +506,12 @@
506
506
  "@emotion/cache": "11.14.0",
507
507
  "@emotion/react": "11.14.0",
508
508
  "@emotion/styled": "11.14.1",
509
- "@gen-epix/api-commondb": "^4.4.1",
509
+ "@gen-epix/api-commondb": "^4.5.0",
510
510
  "@gen-epix/eslint-config": "0.8.0",
511
511
  "@gen-epix/translation-util": "0.5.0",
512
- "@gen-epix/ui-core": "^3.9.2",
513
- "@gen-epix/ui-core-components": "^4.5.1",
514
- "@gen-epix/ui-core-form": "^4.4.2",
512
+ "@gen-epix/ui-core": "^3.10.0",
513
+ "@gen-epix/ui-core-components": "^4.6.0",
514
+ "@gen-epix/ui-core-form": "^4.5.0",
515
515
  "@microsoft/api-extractor": "7.59.4",
516
516
  "@mui/icons-material": "9.5.0",
517
517
  "@mui/material": "9.5.0",
@@ -519,34 +519,34 @@
519
519
  "@mui/system": "9.5.0",
520
520
  "@mui/utils": "9.5.0",
521
521
  "@testing-library/react": "^16.3.3",
522
- "@types/lodash": "4.17.26",
522
+ "@types/lodash": "4.17.27",
523
523
  "@types/node": "26.6.5",
524
524
  "@types/react": "19.3.0",
525
525
  "@vitejs/plugin-react": "6.1.2",
526
- "@vitest/browser-playwright": "5.0.4",
527
- "@vitest/coverage-v8": "5.0.4",
528
- "axios": "1.20.0",
529
- "eslint": "10.12.0",
530
- "i18next": "26.4.5",
531
- "jsdom": "30.1.2",
526
+ "@vitest/browser-playwright": "5.0.5",
527
+ "@vitest/coverage-v8": "5.0.5",
528
+ "axios": "1.21.0",
529
+ "eslint": "10.13.0",
530
+ "i18next": "26.5.11",
531
+ "jsdom": "30.1.3",
532
532
  "playwright": "1.64.1",
533
533
  "react": "19.3.1",
534
534
  "react-dom": "19.3.1",
535
535
  "react-error-boundary": "6.1.6",
536
- "react-hook-form": "7.90.0",
537
- "react-i18next": "17.0.16",
536
+ "react-hook-form": "7.91.0",
537
+ "react-i18next": "17.1.9",
538
538
  "react-oidc-context": "3.3.1",
539
- "react-router": "8.4.0",
539
+ "react-router": "8.5.0",
540
540
  "react-router-dom": "7.18.4",
541
541
  "react-virtuoso": "4.18.19",
542
542
  "tsyringe": "4.10.0",
543
543
  "typescript": "6.0.3",
544
- "vite": "8.3.4",
544
+ "vite": "8.3.5",
545
545
  "vite-plugin-dts": "5.1.2",
546
546
  "vite-plugin-lib-inject-css": "2.2.2",
547
547
  "vite-plugin-static-copy": "4.1.1",
548
548
  "vite-plugin-svgr": "5.2.0",
549
- "vitest": "5.0.4",
549
+ "vitest": "5.0.5",
550
550
  "vitest-browser-react": "2.3.0",
551
551
  "yup": "1.7.1"
552
552
  },
@@ -557,10 +557,10 @@
557
557
  "@emotion/cache": "*",
558
558
  "@emotion/react": "*",
559
559
  "@emotion/styled": "*",
560
- "@gen-epix/api-commondb": "^4.4.1",
561
- "@gen-epix/ui-core": "^3.9.2",
562
- "@gen-epix/ui-core-components": "^4.5.1",
563
- "@gen-epix/ui-core-form": "^4.4.2",
560
+ "@gen-epix/api-commondb": "^4.5.0",
561
+ "@gen-epix/ui-core": "^3.10.0",
562
+ "@gen-epix/ui-core-components": "^4.6.0",
563
+ "@gen-epix/ui-core-form": "^4.5.0",
564
564
  "@mui/icons-material": "*",
565
565
  "@mui/material": "*",
566
566
  "@mui/styled-engine": "*",