@gen-epix/ui-client-common 4.2.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.
Files changed (48) hide show
  1. package/dist/_chunks/Breadcrumbs.js +1 -1
  2. package/dist/_chunks/QueryClientProvider.js +1 -1
  3. package/dist/_chunks/QueryClientProvider.js.map +1 -1
  4. package/dist/_chunks/QueryClientService.js +3 -3
  5. package/dist/_chunks/QueryClientService.js.map +1 -1
  6. package/dist/_chunks/{chunk-BV7QT456.js → chunk-OB3PAWPO.js} +4 -4
  7. package/dist/_chunks/chunk-OB3PAWPO.js.map +1 -0
  8. package/dist/_chunks/query.js +13 -11
  9. package/dist/_chunks/query.js.map +1 -1
  10. package/dist/_chunks/useMutation.js +2 -2
  11. package/dist/_chunks/useMutation.js.map +1 -1
  12. package/dist/_chunks/useQueryMemo.js +7 -7
  13. package/dist/_chunks/useQueryMemo.js.map +1 -1
  14. package/dist/_chunks/yup.js +2 -2
  15. package/dist/_chunks/yup.js.map +1 -1
  16. package/dist/classes/services/LogService/index.js.map +1 -1
  17. package/dist/classes/services/RouterService/RouterService.d.ts +15 -6
  18. package/dist/classes/services/RouterService/index.js +28 -8
  19. package/dist/classes/services/RouterService/index.js.map +1 -1
  20. package/dist/components/app/App/index.js +39 -38
  21. package/dist/components/app/App/index.js.map +1 -1
  22. package/dist/components/app/AppRouterProvider/AppRouterProvider.d.ts +1 -0
  23. package/dist/components/app/ApplicationBootstrapWithAuthentication/ApplicationBootstrapWithAuthentication.d.ts +2 -0
  24. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.d.ts +1 -0
  25. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js +81 -0
  26. package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js.map +1 -0
  27. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/ApplicationBootstrapWithoutAuthorization.d.ts +2 -0
  28. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.d.ts +1 -0
  29. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js +63 -0
  30. package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js.map +1 -0
  31. package/dist/components/app/AuthorizationWrapper/index.js +1 -1
  32. package/dist/components/app/RouterRoot/index.js +2 -2
  33. package/dist/components/app/RouterRoot/index.js.map +1 -1
  34. package/dist/components/ui/ApplicationBar/index.js +164 -148
  35. package/dist/components/ui/ApplicationBar/index.js.map +1 -1
  36. package/dist/components/ui/GenericErrorMessage/index.js +1 -1
  37. package/dist/components/ui/NavLink/index.js +1 -1
  38. package/dist/pages/AcceptInvitationPage/index.js +1 -1
  39. package/dist/pages/AdminPage/index.js +1 -1
  40. package/dist/pages/OrganizationContactsAdminPage/index.js +1 -1
  41. package/dist/pages/OrganizationSitesAdminPage/index.js +1 -1
  42. package/dist/pages/RouterErrorPage/index.js +1 -1
  43. package/package.json +26 -22
  44. package/dist/_chunks/chunk-BV7QT456.js.map +0 -1
  45. package/dist/components/app/ApplicationBootstrap/ApplicationBootstrap.d.ts +0 -2
  46. package/dist/components/app/ApplicationBootstrap/index.d.ts +0 -1
  47. package/dist/components/app/ApplicationBootstrap/index.js +0 -135
  48. package/dist/components/app/ApplicationBootstrap/index.js.map +0 -1
@@ -1,2 +0,0 @@
1
- import { PropsWithChildren, ReactNode } from 'react';
2
- export declare const ApplicationBootstrap: ({ children }: PropsWithChildren) => ReactNode;
@@ -1 +0,0 @@
1
- export * from './ApplicationBootstrap';
@@ -1,135 +0,0 @@
1
- import { t as e } from "../../../_chunks/OutageUtil.js";
2
- import { t } from "../../../_chunks/react.js";
3
- import { outagesStore as n } from "../../../stores/outagesStore/index.js";
4
- import { PageContainer as r } from "../../ui/PageContainer/index.js";
5
- import { ApiService as i } from "../../../classes/services/ApiService/index.js";
6
- import { ResponseHandler as a } from "../../ui/ResponseHandler/index.js";
7
- import { t as o } from "../../../_chunks/useQueryMemo.js";
8
- import { t as s } from "../../../_chunks/QueryClientService.js";
9
- import { COMMON_QUERY_KEY as c } from "../../../constants/query.js";
10
- import { FeatureFlagsService as l } from "../../../classes/services/FeatureFlagsService/index.js";
11
- import { I18nService as u } from "../../../classes/services/I18nService/index.js";
12
- import { t as d } from "../../../_chunks/OutageList.js";
13
- import "../../ui/OutageList/index.js";
14
- import { WindowService as f } from "@gen-epix/ui-core/classes/services/WindowService";
15
- import { Box as p, Button as m } from "@mui/material";
16
- import { useCallback as h, useEffect as g, useMemo as _, useRef as v, useState as y } from "react";
17
- import { jsx as b, jsxs as x } from "react/jsx-runtime";
18
- import { useTranslation as S } from "react-i18next";
19
- import { TestIdUtil as C } from "@gen-epix/ui-core/utils/TestIdUtil";
20
- import { Spinner as w } from "@gen-epix/ui-core-components/components/Spinner";
21
- import { useArray as T } from "@gen-epix/ui-core/hooks/useArray";
22
- import { Confirmation as E } from "@gen-epix/ui-core-components/components/Confirmation";
23
- //#region src/components/app/ApplicationBootstrap/ApplicationBootstrap.tsx
24
- var D = ({ children: D }) => {
25
- let { t: O } = S(), k = t(n, (e) => e.setCategorizedOutages), [A, j] = y(!1), [M, N] = y(!1), P = v(null), F = v(null), [I, L] = y(!1);
26
- g(() => {
27
- let e = u.getInstance(), t = (e) => {
28
- F.current = e, P.current?.open();
29
- };
30
- return e.addEventListener("onUserLanguageChange", t), () => {
31
- e.removeEventListener("onUserLanguageChange", t);
32
- };
33
- }, []);
34
- let R = o({
35
- gcTime: Infinity,
36
- queryFn: async ({ signal: e }) => (await i.getInstance().systemApi.retrieveOutages({ signal: e })).data,
37
- queryKey: s.getInstance().getGenericKey(c.OUTAGES),
38
- refetchInterval: 3e5,
39
- staleTime: Infinity
40
- }), z = T([R]), B = _(() => e.getCategorizedOutages(R.data ?? []), [R.data]), V = h(() => {
41
- f.getInstance().window.location.reload();
42
- }, []), H = h(() => {
43
- j(!0);
44
- }, []), U = h(async () => {
45
- F.current && (L(!0), await u.getInstance().switchLanguageConfig(F.current), f.getInstance().window.location.reload());
46
- }, []);
47
- g(() => {
48
- B && k(B);
49
- let e = f.getInstance().window.setTimeout(() => {
50
- N(!0);
51
- }, 5e3);
52
- return () => {
53
- f.getInstance().window.clearTimeout(e);
54
- };
55
- }, [B, k]);
56
- let W = A || !R.isLoading && !R.error && B.activeOutages?.length === 0, G = !A && !R.isLoading && !R.error && B.activeOutages?.length > 0, K = o({
57
- enabled: W,
58
- gcTime: Infinity,
59
- queryFn: async ({ signal: e }) => (await i.getInstance().systemApi.retrieveFeatureFlags({ signal: e })).data,
60
- queryKey: s.getInstance().getGenericKey(c.FEATURE_FLAGS),
61
- staleTime: Infinity
62
- }), q = T([K]);
63
- return g(() => {
64
- K.data && (l.getInstance().featureFlags = K.data.feature_flags);
65
- }, [K.data]), K.error ? /* @__PURE__ */ b(r, {
66
- singleAction: !0,
67
- testIdAttributes: C.createAttributes("FeatureFlagsErrorPage"),
68
- title: O`Error`,
69
- children: /* @__PURE__ */ b(a, {
70
- loadables: q,
71
- loadingMessage: O`Loading`,
72
- children: D
73
- })
74
- }) : I ? /* @__PURE__ */ b(r, {
75
- singleAction: !0,
76
- testIdAttributes: C.createAttributes("LanguageChangingPage"),
77
- title: O`Changing language`,
78
- children: /* @__PURE__ */ b(w, {
79
- inline: !0,
80
- label: O`Changing language...`
81
- })
82
- }) : W ? /* @__PURE__ */ x(a, {
83
- loadables: q,
84
- loadingMessage: O`Loading`,
85
- children: [D, /* @__PURE__ */ b(E, {
86
- body: O`Changing language will reload the application. Do you want to continue?`,
87
- cancelLabel: O`Cancel`,
88
- confirmLabel: O`Change language`,
89
- maxWidth: "xs",
90
- onConfirm: U,
91
- ref: P,
92
- title: O`Are you sure?`
93
- })]
94
- }) : G ? /* @__PURE__ */ x(r, {
95
- singleAction: !0,
96
- testIdAttributes: C.createAttributes("OutagePage"),
97
- title: O`Outages`,
98
- children: [/* @__PURE__ */ b(d, {
99
- activeOutages: B.activeOutages,
100
- soonActiveOutages: B.soonActiveOutages,
101
- visibleOutages: B.visibleOutages
102
- }), /* @__PURE__ */ x(p, {
103
- sx: {
104
- display: "flex",
105
- gap: 1,
106
- justifyContent: "flex-end"
107
- },
108
- children: [/* @__PURE__ */ b(m, {
109
- disabled: !M,
110
- onClick: H,
111
- variant: "outlined",
112
- children: O`Continue anyway`
113
- }), /* @__PURE__ */ b(m, {
114
- disabled: !M,
115
- onClick: V,
116
- variant: "contained",
117
- children: O`Retry`
118
- })]
119
- })]
120
- }) : /* @__PURE__ */ b(r, {
121
- ignorePageEvent: !0,
122
- singleAction: !0,
123
- testIdAttributes: C.createAttributes("OutagesLoadingPage"),
124
- title: O`Outages`,
125
- children: /* @__PURE__ */ b(a, {
126
- loadables: z,
127
- loadingMessage: O`Loading`,
128
- children: D
129
- })
130
- });
131
- };
132
- //#endregion
133
- export { D as ApplicationBootstrap };
134
-
135
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/app/ApplicationBootstrap/ApplicationBootstrap.tsx"],"sourcesContent":["import {\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport type {\n PropsWithChildren,\n ReactNode,\n} from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useStore } from 'zustand';\nimport {\n Box,\n Button,\n} from '@mui/material';\nimport { TestIdUtil } from '@gen-epix/ui-core/utils/TestIdUtil';\nimport { WindowService } from '@gen-epix/ui-core/classes/services/WindowService';\nimport { useArray } from '@gen-epix/ui-core/hooks/useArray';\nimport type { ConfirmationRefMethods } from '@gen-epix/ui-core-components/components/Confirmation';\nimport { Confirmation } from '@gen-epix/ui-core-components/components/Confirmation';\nimport { Spinner } from '@gen-epix/ui-core-components/components/Spinner';\n\nimport { useQueryMemo } from '../../../hooks/useQueryMemo';\nimport { outagesStore } from '../../../stores/outagesStore';\nimport { OutageUtil } from '../../../utils/OutageUtil';\nimport { FeatureFlagsService } from '../../../classes/services/FeatureFlagsService';\nimport { I18nService } from '../../../classes/services/I18nService';\nimport { QueryClientService } from '../../../classes/services/QueryClientService';\nimport { OutageList } from '../../ui/OutageList';\nimport { PageContainer } from '../../ui/PageContainer';\nimport { ResponseHandler } from '../../ui/ResponseHandler';\nimport { COMMON_QUERY_KEY } from '../../../constants/query';\nimport { ApiService } from '../../../classes/services/ApiService';\n\n\nexport const ApplicationBootstrap = ({ children }: PropsWithChildren): ReactNode => {\n const { t } = useTranslation();\n\n const setCategorizedOutages = useStore(outagesStore, (state) => state.setCategorizedOutages);\n const [shouldContinue, setShouldContinue] = useState(false);\n const [buttonsEnabled, setButtonsEnabled] = useState(false);\n const confirmationRef = useRef<ConfirmationRefMethods>(null);\n const newLanguageCodeRef = useRef<string>(null);\n const [isLanguageChanging, setIsLanguageChanging] = useState(false);\n\n useEffect(() => {\n const i18nService = I18nService.getInstance();\n const callback = (code: string) => {\n newLanguageCodeRef.current = code;\n confirmationRef.current?.open();\n };\n i18nService.addEventListener('onUserLanguageChange', callback);\n return () => {\n i18nService.removeEventListener('onUserLanguageChange', callback);\n };\n }, []);\n\n const outagesQuery = useQueryMemo({\n gcTime: Infinity,\n queryFn: async ({ signal }) => (await ApiService.getInstance().systemApi.retrieveOutages({ signal })).data,\n queryKey: QueryClientService.getInstance().getGenericKey(COMMON_QUERY_KEY.OUTAGES),\n refetchInterval: 5 * 60 * 1000,\n staleTime: Infinity,\n });\n\n const outagesLoadables = useArray([outagesQuery]);\n\n const categorizedOutages = useMemo(() => {\n return OutageUtil.getCategorizedOutages(outagesQuery.data ?? []);\n }, [outagesQuery.data]);\n\n const onRetryButtonClick = useCallback(() => {\n WindowService.getInstance().window.location.reload();\n }, []);\n\n const onContinuButtonClick = useCallback(() => {\n setShouldContinue(true);\n }, []);\n\n const onLanguageChangeConfirm = useCallback(async () => {\n if (newLanguageCodeRef.current) {\n setIsLanguageChanging(true);\n await I18nService.getInstance().switchLanguageConfig(newLanguageCodeRef.current);\n WindowService.getInstance().window.location.reload();\n }\n }, []);\n\n useEffect(() => {\n if (categorizedOutages) {\n setCategorizedOutages(categorizedOutages);\n }\n\n const timeout = WindowService.getInstance().window.setTimeout(() => {\n setButtonsEnabled(true);\n }, 5000);\n\n return () => {\n WindowService.getInstance().window.clearTimeout(timeout);\n };\n }, [categorizedOutages, setCategorizedOutages]);\n\n const shouldShowChildren = shouldContinue || (!outagesQuery.isLoading && !outagesQuery.error && categorizedOutages.activeOutages?.length === 0);\n const shouldShowOutagePage = !shouldContinue && !outagesQuery.isLoading && !outagesQuery.error && categorizedOutages.activeOutages?.length > 0;\n\n const featureFlagsQuery = useQueryMemo({\n enabled: shouldShowChildren,\n gcTime: Infinity,\n queryFn: async ({ signal }) => (await ApiService.getInstance().systemApi.retrieveFeatureFlags({ signal })).data,\n queryKey: QueryClientService.getInstance().getGenericKey(COMMON_QUERY_KEY.FEATURE_FLAGS),\n staleTime: Infinity,\n });\n\n const featureFlagsLoadables = useArray([featureFlagsQuery]);\n\n useEffect(() => {\n if (featureFlagsQuery.data) {\n FeatureFlagsService.getInstance().featureFlags = featureFlagsQuery.data.feature_flags;\n }\n }, [featureFlagsQuery.data]);\n\n if (featureFlagsQuery.error) {\n return (\n <PageContainer\n singleAction\n testIdAttributes={TestIdUtil.createAttributes('FeatureFlagsErrorPage')}\n title={t`Error`}\n >\n <ResponseHandler\n loadables={featureFlagsLoadables}\n loadingMessage={t`Loading`}\n >\n {children}\n </ResponseHandler>\n </PageContainer>\n );\n }\n\n if (isLanguageChanging) {\n return (\n <PageContainer\n singleAction\n testIdAttributes={TestIdUtil.createAttributes('LanguageChangingPage')}\n title={t`Changing language`}\n >\n <Spinner\n inline\n label={t`Changing language...`}\n />\n </PageContainer>\n );\n }\n\n\n if (shouldShowChildren) {\n return (\n <ResponseHandler\n loadables={featureFlagsLoadables}\n loadingMessage={t`Loading`}\n >\n {children}\n <Confirmation\n body={t`Changing language will reload the application. Do you want to continue?`}\n cancelLabel={t`Cancel`}\n confirmLabel={t`Change language`}\n maxWidth={'xs'}\n onConfirm={onLanguageChangeConfirm}\n ref={confirmationRef}\n title={t`Are you sure?`}\n />\n </ResponseHandler>\n );\n }\n\n if (shouldShowOutagePage) {\n return (\n <PageContainer\n singleAction\n testIdAttributes={TestIdUtil.createAttributes('OutagePage')}\n title={t`Outages`}\n >\n <OutageList\n activeOutages={categorizedOutages.activeOutages}\n soonActiveOutages={categorizedOutages.soonActiveOutages}\n visibleOutages={categorizedOutages.visibleOutages}\n />\n <Box\n sx={{\n display: 'flex',\n gap: 1,\n justifyContent: 'flex-end',\n }}\n >\n <Button\n disabled={!buttonsEnabled}\n onClick={onContinuButtonClick}\n variant={'outlined'}\n >\n {t`Continue anyway`}\n </Button>\n <Button\n disabled={!buttonsEnabled}\n onClick={onRetryButtonClick}\n variant={'contained'}\n >\n {t`Retry`}\n </Button>\n </Box>\n </PageContainer>\n );\n }\n\n return (\n <PageContainer\n ignorePageEvent\n singleAction\n testIdAttributes={TestIdUtil.createAttributes('OutagesLoadingPage')}\n title={t`Outages`}\n >\n <ResponseHandler\n loadables={outagesLoadables}\n loadingMessage={t`Loading`}\n >\n {children}\n </ResponseHandler>\n </PageContainer>\n );\n\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAqCA,IAAa,KAAwB,EAAE,kBAA6C;CAClF,IAAM,EAAE,SAAM,EAAe,GAEvB,IAAwB,EAAS,IAAe,MAAU,EAAM,qBAAqB,GACrF,CAAC,GAAgB,KAAqB,EAAS,EAAK,GACpD,CAAC,GAAgB,KAAqB,EAAS,EAAK,GACpD,IAAkB,EAA+B,IAAI,GACrD,IAAqB,EAAe,IAAI,GACxC,CAAC,GAAoB,KAAyB,EAAS,EAAK;CAElE,QAAgB;EACd,IAAM,IAAc,EAAY,YAAY,GACtC,KAAY,MAAiB;GAEjC,AADA,EAAmB,UAAU,GAC7B,EAAgB,SAAS,KAAK;EAChC;EAEA,OADA,EAAY,iBAAiB,wBAAwB,CAAQ,SAChD;GACX,EAAY,oBAAoB,wBAAwB,CAAQ;EAClE;CACF,GAAG,CAAC,CAAC;CAEL,IAAM,IAA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