@hortiview/modulebase 1.1.2-alpha.870da389.1 → 2.0.0-alpha.e897c28d.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.
Files changed (41) hide show
  1. package/dist/IsRestoringProvider-Dc5Evyjr.js +6 -0
  2. package/dist/QueryClientProvider-DZI32rjZ.js +21 -0
  3. package/dist/api-CSxWxEZl.js +148 -0
  4. package/dist/{chunk-EVOBXE3Y-B43QN6RE.js → chunk-EVOBXE3Y-BRmUxtwH.js} +126 -127
  5. package/dist/components/ModuleBase.js +13 -17
  6. package/dist/components/ModuleCore.js +11398 -9
  7. package/dist/constants.js +1 -2
  8. package/dist/defaultQueryClient-Cfsorhtn.js +620 -0
  9. package/dist/hooks/useBreadcrumbTranslation.js +13 -16
  10. package/dist/hooks/useCustom.js +1 -1
  11. package/dist/hooks/useCustomMutation.js +5 -5
  12. package/dist/hooks/useEntity.js +1 -1
  13. package/dist/hooks/useOffline.js +1 -1
  14. package/dist/hooks/useOption.js +2 -2
  15. package/dist/hooks/useSignalRMessages.js +1 -1
  16. package/dist/lib/components/ModuleBase.d.ts +3 -22
  17. package/dist/lib/components/ModuleCore.d.ts +3 -17
  18. package/dist/lib/main.d.ts +0 -3
  19. package/dist/lib/module-router.d.ts +1 -1
  20. package/dist/lib/provider/SignalR/SignalRProvider.d.ts +0 -4
  21. package/dist/lib/types/BaseProps.d.ts +38 -1
  22. package/dist/lib/utils/defaultQueryClient.d.ts +2 -0
  23. package/dist/lib/utils/defaultSignalRClient.d.ts +4 -0
  24. package/dist/lib/utils/helper.d.ts +1 -2
  25. package/dist/main.js +56 -187
  26. package/dist/module-router.js +2 -2
  27. package/dist/provider/SignalR/SignalRProvider.js +22 -5966
  28. package/dist/{IsRestoringProvider-SzKJZczp.js → query-DZDIN635.js} +211 -232
  29. package/dist/stores/BasePropsStore.js +1 -0
  30. package/dist/{useCustomMutation-9VUQ7NbQ.js → useCustomMutation-C1aVbjpt.js} +13 -12
  31. package/dist/{useQuery-DUDyh33-.js → useQuery-CUSHkb38.js} +33 -31
  32. package/dist/utils/api.js +1 -1
  33. package/dist/utils/baseFetches.js +1 -1
  34. package/dist/utils/defaultQueryClient.js +4 -0
  35. package/dist/utils/defaultSignalRClient.js +5949 -0
  36. package/dist/utils/helper.js +9 -10
  37. package/package.json +1 -1
  38. package/dist/ModuleCore-DRMqZO8r.js +0 -12017
  39. package/dist/api-COabZnyn.js +0 -147
  40. package/dist/lib/types/ServiceBus.d.ts +0 -17
  41. package/dist/types/ServiceBus.js +0 -1
@@ -1,5 +1,5 @@
1
- import { u as m } from "../useQuery-DUDyh33-.js";
2
- import { g as c } from "../api-COabZnyn.js";
1
+ import { u as m } from "../useQuery-CUSHkb38.js";
2
+ import { g as c } from "../api-CSxWxEZl.js";
3
3
  import { useBasePropsStore as n } from "../stores/BasePropsStore.js";
4
4
  import { fetchFromCommonApi as i, fetchFromModuleApi as p } from "../utils/fetches.js";
5
5
  import { getModuleQueryKey as l, universalSelector as s } from "../utils/helper.js";
@@ -1,4 +1,4 @@
1
- import { SignalRModuleContext as i } from "../provider/SignalR/SignalRProvider.js";
1
+ import { SignalRModuleContext as i } from "../utils/defaultSignalRClient.js";
2
2
  const s = (e) => {
3
3
  i.useSignalREffect(
4
4
  "ModuleApiPushNotification",
@@ -1,36 +1,17 @@
1
- import { QueryClient } from '@tanstack/react-query';
2
1
  import { RouteObject } from 'react-router';
3
- import { BaseProps } from '../types/BaseProps';
4
- import { EnvConfig } from '../types/Environment';
5
- type ModuleBaseProps = {
6
- /**
7
- * Properties that are passed to the Base component by the host application, {@link BaseProps}
8
- */
9
- props: BaseProps;
2
+ import { ModuleCoreProps } from './ModuleCore';
3
+ type ModuleBaseProps = ModuleCoreProps & {
10
4
  /**
11
5
  * Routes that are used in the module, {@link RouteObject}
12
6
  */
13
7
  routes: RouteObject[];
14
- /**
15
- * @deprecated
16
- * Environment configuration that is used to configure the module, {@link EnvConfig}.
17
- * New way to pass environment variables is through the base props:
18
- * Setup the environment variables in the host application (module edit in the vendor section).
19
- * They are then passed to the module within the base props.
20
- */
21
- env?: EnvConfig;
22
8
  /**
23
9
  * If true, the module will use the SignalR provider to connect to the module API.
24
10
  */
25
11
  useSignalR?: boolean;
26
- /**
27
- * Query client that is used to provide the module with a query client, {@link QueryClient}.
28
- * If not provided, the default query client will be used.
29
- */
30
- queryClient?: QueryClient;
31
12
  };
32
13
  /**
33
14
  * Main component of the module. This component is used to create a module with a router and a signalR provider.
34
15
  */
35
- export declare const ModuleBase: ({ props, routes, env, useSignalR, queryClient, }: ModuleBaseProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const ModuleBase: ({ props, routes, useSignalR, queryClient, }: ModuleBaseProps) => import("react/jsx-runtime").JSX.Element;
36
17
  export {};
@@ -1,32 +1,18 @@
1
1
  import { QueryClient } from '@tanstack/react-query';
2
+ import { PropsWithChildren } from 'react';
2
3
  import { BaseProps } from '../types/BaseProps';
3
- import { EnvConfig } from '../types/Environment';
4
- export declare const ModuleQueryClient: QueryClient;
5
- type ModuleCoreProps = {
4
+ export type ModuleCoreProps = {
6
5
  /**
7
6
  * Properties that are passed to the Base component by the host application, {@link BaseProps}
8
7
  */
9
8
  props: BaseProps;
10
- /**
11
- * @deprecated
12
- * Environment configuration that is used to configure the module, {@link EnvConfig}.
13
- * New way to pass environment variables is through the base props:
14
- * Setup the environment variables in the host application (module edit in the vendor section).
15
- * They are then passed to the module within the base props.
16
- */
17
- env?: EnvConfig;
18
9
  /**
19
10
  * Query client that is used to provide the module with a query client, {@link QueryClient}.
20
11
  * If not provided, the default query client will be used.
21
12
  */
22
13
  queryClient?: QueryClient;
23
- /**
24
- * Children components that are rendered within the module core
25
- */
26
- children: React.ReactNode;
27
14
  };
28
15
  /**
29
16
  * Minimal component to create a module with a query client and a signalR provider (to use module api)
30
17
  */
31
- export declare const ModuleCore: ({ props, env, queryClient, children, }: ModuleCoreProps) => import("react/jsx-runtime").JSX.Element;
32
- export {};
18
+ export declare const ModuleCore: ({ props, queryClient, children, }: PropsWithChildren<ModuleCoreProps>) => import("react/jsx-runtime").JSX.Element;
@@ -8,14 +8,11 @@ export type * from './types/Environment';
8
8
  export type * from './types/EnvironmentVariable';
9
9
  export type * from './types/ModuleApi';
10
10
  export type * from './types/Requests';
11
- export type * from './types/ServiceBus';
12
11
  export type * from './types/SystemMessage';
13
12
  export * from './enum/ActionStorage';
14
13
  export { useBreadcrumbTranslation } from './hooks/useBreadcrumbTranslation';
15
14
  export { useOffline } from './hooks/useOffline';
16
15
  export { useSignalRMessages } from './hooks/useSignalRMessages';
17
- export * from './module-router';
18
- export { useNavigate } from './module-router';
19
16
  export { useBaseProps, useConfig } from './hooks/useStores';
20
17
  export { useCustom } from './hooks/useCustom';
21
18
  export { useCustomMutation } from './hooks/useCustomMutation';
@@ -1,5 +1,5 @@
1
1
  /**
2
- *
2
+ * @deprecated use react router directly
3
3
  * @returns A function to navigate to a specific path
4
4
  */
5
5
  declare const useNavigate: () => (path: string) => void | undefined;
@@ -1,8 +1,4 @@
1
1
  import { PropsWithChildren } from 'react';
2
- /**
3
- * SignalRProvider on behalf of the module
4
- */
5
- export declare const SignalRModuleContext: import('react-signalr/lib/signalr/types').Context<import('react-signalr/lib/signalr/types').Hub<string, string>>;
6
2
  /**
7
3
  * SignalRProvider
8
4
  * @param children
@@ -21,13 +21,50 @@ export type BaseProps = {
21
21
  modulePermissionToken?: string;
22
22
  moduleId?: string;
23
23
  organizationId?: string;
24
- basePath?: string;
24
+ basePath: string;
25
+ /**
26
+ * @deprecated use react router for navigation instead of this function.
27
+ * This will not trigger the routing in the host application and can lead to unexpected behavior.
28
+ * Use the useNavigate hook from the module-router to get the navigate function and use it to navigate to the desired path.
29
+ */
25
30
  currentNavigationPath?: string;
26
31
  currentLanguage?: string;
27
32
  currentLanguageId?: string;
28
33
  commonOptions?: AllDropdownsData<CommonOption>['items'];
29
34
  environmentVariables?: EnvironmentVariable[];
30
35
  refreshModulePermissionToken?: () => Promise<string | undefined>;
36
+ /**
37
+ * Host navigation callback for non-React remotes.
38
+ *
39
+ * React modules should use React Router's `useNavigate` directly and prefer relative paths.
40
+ * Angular (or other non-React) modules should call this callback to ask the host shell to navigate.
41
+ *
42
+ * @example
43
+ * React module (recommended):
44
+ * ```tsx
45
+ * import { useNavigate } from 'react-router';
46
+ *
47
+ * const navigate = useNavigate();
48
+ *
49
+ * navigate('details/42'); // /farm/modules/{moduleId}/details/42
50
+ * navigate(''); // /farm/modules/{moduleId}
51
+ *
52
+ * // Avoid absolute paths in module-internal navigation:
53
+ * // navigate('/details/42')
54
+ * ```
55
+ *
56
+ * @example
57
+ * Angular module:
58
+ * ```ts
59
+ * // baseProps is provided by the host application
60
+ * baseProps.navigateInHortiview?.('details/42');
61
+ * baseProps.navigateInHortiview?.('');
62
+ * ```
63
+ *
64
+ * The host can normalize and prepend `basePath` as needed.
65
+ * @param path
66
+ * @returns
67
+ */
31
68
  navigateInHortiview?: (path: string) => void;
32
69
  addBreadcrumbTranslation?: (translation: {
33
70
  key: string;
@@ -0,0 +1,2 @@
1
+ import { QueryClient } from '@tanstack/react-query';
2
+ export declare const ModuleQueryClient: QueryClient;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * SignalRProvider on behalf of the module
3
+ */
4
+ export declare const SignalRModuleContext: import('react-signalr/lib/signalr/types').Context<import('react-signalr/lib/signalr/types').Hub<string, string>>;
@@ -1,5 +1,5 @@
1
1
  import { BaseProps } from '../main';
2
- import { EnvConfig, Environments, HortiViewEnvironments } from '../types/Environment';
2
+ import { HortiViewEnvironments } from '../types/Environment';
3
3
  import { BaseResponse } from '../types/Requests';
4
4
  /**
5
5
  * Validates the props and checks if the required props are set
@@ -25,5 +25,4 @@ export declare const checkVersion: (environmentVariables?: HortiViewEnvironments
25
25
  * @returns
26
26
  */
27
27
  export declare const universalSelector: <T>(data: BaseResponse<T>) => T | T[];
28
- export declare const checkConfig: <T extends EnvConfig>(config: T & Record<Exclude<keyof T, Environments>, never>) => T;
29
28
  export declare const getModuleQueryKey: (queryKey: (string | undefined)[]) => (string | undefined)[];
package/dist/main.js CHANGED
@@ -1,25 +1,24 @@
1
- import { ModuleBase as _ } from "./components/ModuleBase.js";
2
- import { M as U, Q as v } from "./ModuleCore-DRMqZO8r.js";
1
+ import { ModuleBase as R } from "./components/ModuleBase.js";
2
+ import { ModuleCore as O } from "./components/ModuleCore.js";
3
3
  import { ActionState as C } from "./enum/ActionStorage.js";
4
- import { useBreadcrumbTranslation as M } from "./hooks/useBreadcrumbTranslation.js";
5
- import { useOffline as H } from "./hooks/useOffline.js";
6
- import { useSignalRMessages as w } from "./hooks/useSignalRMessages.js";
7
- import { ServerRouter as B, UNSAFE_RSCDefaultRootErrorBoundary as L, UNSAFE_ServerMode as I, UNSAFE_deserializeErrors as Q, UNSAFE_getHydrationData as T, createCookie as V, createCookieSessionStorage as W, createMemorySessionStorage as K, createRequestHandler as q, createRoutesStub as z, createSession as G, createSessionStorage as j, href as J, isCookie as X, isSession as Y, unstable_RSCStaticRouter as Z, unstable_routeRSCServerRequest as $, unstable_setDevServerHooks as ee, useNavigate as ae } from "./module-router.js";
8
- import { useBaseProps as se, useConfig as re } from "./hooks/useStores.js";
9
- import { useCustom as ie } from "./hooks/useCustom.js";
10
- import { u as ne, a as ce } from "./useCustomMutation-9VUQ7NbQ.js";
11
- import { useEntity as Se } from "./hooks/useEntity.js";
12
- import { useOption as Ee } from "./hooks/useOption.js";
13
- import { mutateOnCustomApi as fe } from "./utils/fetches.js";
14
- import { arePropsValid as de, checkConfig as me, checkIfPropExists as Ne, checkVersion as Pe, getEnvironmentVariables as pe, getModuleQueryKey as ge, universalSelector as Ae } from "./utils/helper.js";
15
- import { A as xe, B as Ue, F as ve, H as ye, I as Ce, b as be, c as Me, L as ke, d as He, M as Oe, e as we, N as De, f as Be, g as Le, O as Ie, P as Qe, a as Te, h as Ve, i as We, j as Ke, R as qe, S as ze, k as Ge, l as je, m as Je, n as Xe, D as Ye, o as Ze, E as $e, p as ea, q as aa, r as ta, s as sa, t as ra, v as oa, w as ia, V as ua, W as na, x as ca, y as ha, z as Sa, C as Ra, G as Ea, J as la, K as fa, Q as Fa, T as da, U as ma, X as Na, Y as Pa, Z as pa, _ as ga, $ as Aa, a0 as _a, a1 as xa, a2 as Ua, a3 as va, a4 as ya, a5 as Ca, a6 as ba, a7 as Ma, a8 as ka, a9 as Ha, aa as Oa, ab as wa, ac as Da, ad as Ba, ae as La, af as Ia, ag as Qa, ah as Ta, ai as Va, aj as Wa, ak as Ka, al as qa, am as za, an as Ga, ao as ja, ap as Ja, aq as Xa, ar as Ya, as as Za, at as $a, au as et, av as at, aw as tt, ax as st, ay as rt, az as ot, aA as it, aB as ut, aC as nt, aD as ct, aE as ht, aF as St, aG as Rt, aH as Et, aI as lt, aJ as ft, aK as Ft, aL as dt, aM as mt, aN as Nt, aO as Pt, aP as pt, aQ as gt, aR as At, aS as _t, aT as xt, aU as Ut } from "./chunk-EVOBXE3Y-B43QN6RE.js";
16
- import { Q as E, a as l } from "./useQuery-DUDyh33-.js";
17
- import { u as yt } from "./useQuery-DUDyh33-.js";
18
- import { h as f, a as F } from "./IsRestoringProvider-SzKJZczp.js";
19
- import { u as bt } from "./IsRestoringProvider-SzKJZczp.js";
20
- var d = class extends E {
21
- constructor(e, a) {
22
- super(e, a);
4
+ import { useBreadcrumbTranslation as k } from "./hooks/useBreadcrumbTranslation.js";
5
+ import { useOffline as B } from "./hooks/useOffline.js";
6
+ import { useSignalRMessages as S } from "./hooks/useSignalRMessages.js";
7
+ import { useBaseProps as A, useConfig as _ } from "./hooks/useStores.js";
8
+ import { useCustom as K } from "./hooks/useCustom.js";
9
+ import { u as j, a as z } from "./useCustomMutation-C1aVbjpt.js";
10
+ import { useEntity as H } from "./hooks/useEntity.js";
11
+ import { useOption as L } from "./hooks/useOption.js";
12
+ import { mutateOnCustomApi as W } from "./utils/fetches.js";
13
+ import { arePropsValid as Y, checkIfPropExists as Z, checkVersion as $, getEnvironmentVariables as q, getModuleQueryKey as ee, universalSelector as te } from "./utils/helper.js";
14
+ import { Q as se } from "./defaultQueryClient-Cfsorhtn.js";
15
+ import { Q as g, a as m } from "./useQuery-CUSHkb38.js";
16
+ import { u as ie } from "./useQuery-CUSHkb38.js";
17
+ import { h as P, a as x } from "./query-DZDIN635.js";
18
+ import { u as ue } from "./QueryClientProvider-DZI32rjZ.js";
19
+ var d = class extends g {
20
+ constructor(e, t) {
21
+ super(e, t);
23
22
  }
24
23
  bindMethods() {
25
24
  super.bindMethods(), this.fetchNextPage = this.fetchNextPage.bind(this), this.fetchPreviousPage = this.fetchPreviousPage.bind(this);
@@ -46,183 +45,53 @@ var d = class extends E {
46
45
  }
47
46
  });
48
47
  }
49
- createResult(e, a) {
50
- const { state: s } = e, r = super.createResult(e, a), { isFetching: o, isRefetching: S, isError: i, isRefetchError: R } = r, t = s.fetchMeta?.fetchMore?.direction, u = i && t === "forward", n = o && t === "forward", c = i && t === "backward", h = o && t === "backward";
48
+ createResult(e, t) {
49
+ const { state: s } = e, o = super.createResult(e, t), { isFetching: i, isRefetching: h, isError: a, isRefetchError: p } = o, r = s.fetchMeta?.fetchMore?.direction, u = a && r === "forward", c = i && r === "forward", n = a && r === "backward", f = i && r === "backward";
51
50
  return {
52
- ...r,
51
+ ...o,
53
52
  fetchNextPage: this.fetchNextPage,
54
53
  fetchPreviousPage: this.fetchPreviousPage,
55
- hasNextPage: F(a, s.data),
56
- hasPreviousPage: f(a, s.data),
54
+ hasNextPage: x(t, s.data),
55
+ hasPreviousPage: P(t, s.data),
57
56
  isFetchNextPageError: u,
58
- isFetchingNextPage: n,
59
- isFetchPreviousPageError: c,
60
- isFetchingPreviousPage: h,
61
- isRefetchError: R && !u && !c,
62
- isRefetching: S && !n && !h
57
+ isFetchingNextPage: c,
58
+ isFetchPreviousPageError: n,
59
+ isFetchingPreviousPage: f,
60
+ isRefetchError: p && !u && !n,
61
+ isRefetching: h && !c && !f
63
62
  };
64
63
  }
65
64
  };
66
- function p(e, a) {
67
- return l(
65
+ function b(e, t) {
66
+ return m(
68
67
  e,
69
68
  d,
70
- a
69
+ t
71
70
  );
72
71
  }
73
72
  export {
74
73
  C as ActionState,
75
- xe as Await,
76
- Ue as BrowserRouter,
77
- ve as Form,
78
- ye as HashRouter,
79
- Ce as IDLE_BLOCKER,
80
- be as IDLE_FETCHER,
81
- Me as IDLE_NAVIGATION,
82
- ke as Link,
83
- He as Links,
84
- Oe as MemoryRouter,
85
- we as Meta,
86
- _ as ModuleBase,
87
- U as ModuleCore,
88
- De as NavLink,
89
- Be as Navigate,
90
- Le as NavigationType,
91
- Ie as Outlet,
92
- Qe as PrefetchPageLinks,
93
- v as QueryClient,
94
- Te as Route,
95
- Ve as Router,
96
- We as RouterContextProvider,
97
- Ke as RouterProvider,
98
- qe as Routes,
99
- ze as Scripts,
100
- Ge as ScrollRestoration,
101
- B as ServerRouter,
102
- je as StaticRouter,
103
- Je as StaticRouterProvider,
104
- Xe as UNSAFE_AwaitContextProvider,
105
- Ye as UNSAFE_DataRouterContext,
106
- Ze as UNSAFE_DataRouterStateContext,
107
- $e as UNSAFE_ErrorResponseImpl,
108
- ea as UNSAFE_FetchersContext,
109
- aa as UNSAFE_FrameworkContext,
110
- ta as UNSAFE_LocationContext,
111
- sa as UNSAFE_NavigationContext,
112
- L as UNSAFE_RSCDefaultRootErrorBoundary,
113
- ra as UNSAFE_RemixErrorBoundary,
114
- oa as UNSAFE_RouteContext,
115
- I as UNSAFE_ServerMode,
116
- ia as UNSAFE_SingleFetchRedirectSymbol,
117
- ua as UNSAFE_ViewTransitionContext,
118
- na as UNSAFE_WithComponentProps,
119
- ca as UNSAFE_WithErrorBoundaryProps,
120
- ha as UNSAFE_WithHydrateFallbackProps,
121
- Sa as UNSAFE_createBrowserHistory,
122
- Ra as UNSAFE_createClientRoutes,
123
- Ea as UNSAFE_createClientRoutesWithHMRRevalidationOptOut,
124
- la as UNSAFE_createHashHistory,
125
- fa as UNSAFE_createMemoryHistory,
126
- Fa as UNSAFE_createRouter,
127
- da as UNSAFE_decodeViaTurboStream,
128
- Q as UNSAFE_deserializeErrors,
129
- T as UNSAFE_getHydrationData,
130
- ma as UNSAFE_getPatchRoutesOnNavigationFunction,
131
- Na as UNSAFE_getTurboStreamSingleFetchDataStrategy,
132
- Pa as UNSAFE_hydrationRouteProperties,
133
- pa as UNSAFE_invariant,
134
- ga as UNSAFE_mapRouteProperties,
135
- Aa as UNSAFE_shouldHydrateRouteLoader,
136
- _a as UNSAFE_useFogOFWarDiscovery,
137
- xa as UNSAFE_useScrollRestoration,
138
- Ua as UNSAFE_withComponentProps,
139
- va as UNSAFE_withErrorBoundaryProps,
140
- ya as UNSAFE_withHydrateFallbackProps,
141
- de as arePropsValid,
142
- me as checkConfig,
143
- Ne as checkIfPropExists,
144
- Pe as checkVersion,
145
- Ca as createBrowserRouter,
146
- ba as createContext,
147
- V as createCookie,
148
- W as createCookieSessionStorage,
149
- Ma as createHashRouter,
150
- ka as createMemoryRouter,
151
- K as createMemorySessionStorage,
152
- Ha as createPath,
153
- q as createRequestHandler,
154
- Oa as createRoutesFromChildren,
155
- wa as createRoutesFromElements,
156
- z as createRoutesStub,
157
- Da as createSearchParams,
158
- G as createSession,
159
- j as createSessionStorage,
160
- Ba as createStaticHandler,
161
- La as createStaticRouter,
162
- Ia as data,
163
- Qa as generatePath,
164
- pe as getEnvironmentVariables,
165
- ge as getModuleQueryKey,
166
- J as href,
167
- X as isCookie,
168
- Ta as isRouteErrorResponse,
169
- Y as isSession,
170
- Va as matchPath,
171
- Wa as matchRoutes,
172
- fe as mutateOnCustomApi,
173
- Ka as parsePath,
174
- qa as redirect,
175
- za as redirectDocument,
176
- Ga as renderMatches,
177
- ja as replace,
178
- Ja as resolvePath,
179
- Ae as universalSelector,
180
- Xa as unstable_HistoryRouter,
181
- Z as unstable_RSCStaticRouter,
182
- $ as unstable_routeRSCServerRequest,
183
- ee as unstable_setDevServerHooks,
184
- Ya as unstable_usePrompt,
185
- Za as unstable_useRoute,
186
- $a as useActionData,
187
- et as useAsyncError,
188
- at as useAsyncValue,
189
- se as useBaseProps,
190
- tt as useBeforeUnload,
191
- st as useBlocker,
192
- M as useBreadcrumbTranslation,
193
- re as useConfig,
194
- ie as useCustom,
195
- ne as useCustomMutation,
196
- Se as useEntity,
197
- rt as useFetcher,
198
- ot as useFetchers,
199
- it as useFormAction,
200
- ut as useHref,
201
- nt as useInRouterContext,
202
- p as useInfiniteQuery,
203
- ct as useLinkClickHandler,
204
- ht as useLoaderData,
205
- St as useLocation,
206
- Rt as useMatch,
207
- Et as useMatches,
208
- ce as useMutation,
209
- ae as useNavigate,
210
- lt as useNavigation,
211
- ft as useNavigationType,
212
- H as useOffline,
213
- Ee as useOption,
214
- Ft as useOutlet,
215
- dt as useOutletContext,
216
- mt as useParams,
217
- yt as useQuery,
218
- bt as useQueryClient,
219
- Nt as useResolvedPath,
220
- Pt as useRevalidator,
221
- pt as useRouteError,
222
- gt as useRouteLoaderData,
223
- At as useRoutes,
224
- _t as useSearchParams,
225
- w as useSignalRMessages,
226
- xt as useSubmit,
227
- Ut as useViewTransitionState
74
+ R as ModuleBase,
75
+ O as ModuleCore,
76
+ se as QueryClient,
77
+ Y as arePropsValid,
78
+ Z as checkIfPropExists,
79
+ $ as checkVersion,
80
+ q as getEnvironmentVariables,
81
+ ee as getModuleQueryKey,
82
+ W as mutateOnCustomApi,
83
+ te as universalSelector,
84
+ A as useBaseProps,
85
+ k as useBreadcrumbTranslation,
86
+ _ as useConfig,
87
+ K as useCustom,
88
+ j as useCustomMutation,
89
+ H as useEntity,
90
+ b as useInfiniteQuery,
91
+ z as useMutation,
92
+ B as useOffline,
93
+ L as useOption,
94
+ ie as useQuery,
95
+ ue as useQueryClient,
96
+ S as useSignalRMessages
228
97
  };
@@ -1,8 +1,8 @@
1
1
  import * as k from "react";
2
2
  import A, { useCallback as qe } from "react";
3
3
  import { useBasePropsStore as Ve } from "./stores/BasePropsStore.js";
4
- import { aV as We, $ as te, ae as be, q as re, t as Xe, m as _e, aW as Je, aP as Qe, E as O, aj as xe, i as K, aX as Ke, a8 as Ge, j as Ye, aY as Ze, aZ as ke, a_ as oe, a$ as ie, b0 as G, ah as F, b1 as Ae, b2 as et, b3 as tt, a3 as rt, a4 as at, a2 as nt, O as st, T as ot, w as I, am as it, ao as lt, al as ut, b4 as j, b5 as dt, b6 as le, b7 as ct, b8 as ae, b9 as L, ba as ft, bb as ht, bc as pt } from "./chunk-EVOBXE3Y-B43QN6RE.js";
5
- import { A as Er, B as Cr, F as br, H as _r, I as xr, b as kr, c as Ar, L as Dr, d as Tr, M as Hr, e as Pr, N as Fr, f as Ur, g as Lr, P as Nr, a as Or, h as Ir, R as Br, S as Mr, k as $r, l as zr, n as jr, D as qr, o as Vr, p as Wr, r as Xr, s as Jr, v as Qr, V as Kr, W as Gr, x as Yr, y as Zr, z as ea, C as ta, G as ra, J as aa, K as na, Q as sa, U as oa, X as ia, Y as la, Z as ua, _ as da, a0 as ca, a1 as fa, a5 as ha, a6 as pa, a7 as ma, a9 as ya, aa as wa, ab as ga, ac as Ra, ad as Sa, af as va, ag as Ea, ai as Ca, ak as ba, an as _a, ap as xa, aq as ka, ar as Aa, as as Da, at as Ta, au as Ha, av as Pa, aw as Fa, ax as Ua, ay as La, az as Na, aA as Oa, aB as Ia, aC as Ba, aD as Ma, aE as $a, aF as za, aG as ja, aH as qa, aI as Va, aJ as Wa, aK as Xa, aL as Ja, aM as Qa, aN as Ka, aO as Ga, aQ as Ya, aR as Za, aS as en, aT as tn, aU as rn } from "./chunk-EVOBXE3Y-B43QN6RE.js";
4
+ import { c as We, s as te, b as be, F as re, d as Xe, S as _e, e as Je, u as Qe, E as O, m as xe, f as K, g as Ke, h as Ge, i as Ye, j as Ze, k as ke, l as oe, n as ie, o as G, p as F, w as Ae, q as et, r as tt, t as rt, v as at, x as nt, O as st, y as ot, z as I, A as it, B as lt, C as ut, D as j, G as dt, H as le, I as ct, J as ae, K as L, L as ft, N as ht, M as pt } from "./chunk-EVOBXE3Y-BRmUxtwH.js";
5
+ import { P as Er, Q as Cr, T as br, U as _r, V as xr, W as kr, X as Ar, Y as Dr, Z as Tr, _ as Hr, $ as Pr, a0 as Fr, a1 as Ur, a2 as Lr, a3 as Nr, a as Or, a4 as Ir, R as Br, a5 as Mr, a6 as $r, a7 as zr, a8 as jr, a9 as qr, aa as Vr, ab as Wr, ac as Xr, ad as Jr, ae as Qr, af as Kr, ag as Gr, ah as Yr, ai as Zr, aj as ea, ak as ta, al as ra, am as aa, an as na, ao as sa, ap as oa, aq as ia, ar as la, as as ua, at as da, au as ca, av as fa, aw as ha, ax as pa, ay as ma, az as ya, aA as wa, aB as ga, aC as Ra, aD as Sa, aE as va, aF as Ea, aG as Ca, aH as ba, aI as _a, aJ as xa, aK as ka, aL as Aa, aM as Da, aN as Ta, aO as Ha, aP as Pa, aQ as Fa, aR as Ua, aS as La, aT as Na, aU as Oa, aV as Ia, aW as Ba, aX as Ma, aY as $a, aZ as za, a_ as ja, a$ as qa, b0 as Va, b1 as Wa, b2 as Xa, b3 as Ja, b4 as Qa, b5 as Ka, b6 as Ga, b7 as Ya, b8 as Za, b9 as en, ba as tn, bb as rn } from "./chunk-EVOBXE3Y-BRmUxtwH.js";
6
6
  var H = {}, ue;
7
7
  function mt() {
8
8
  if (ue) return H;