@hortiview/modulebase 1.1.2-alpha.a0b1047e.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.
- package/dist/IsRestoringProvider-Dc5Evyjr.js +6 -0
- package/dist/QueryClientProvider-DZI32rjZ.js +21 -0
- package/dist/api-CSxWxEZl.js +148 -0
- package/dist/{chunk-EVOBXE3Y-B43QN6RE.js → chunk-EVOBXE3Y-BRmUxtwH.js} +126 -127
- package/dist/components/ModuleBase.js +13 -17
- package/dist/components/ModuleCore.js +11398 -9
- package/dist/constants.js +1 -2
- package/dist/defaultQueryClient-Cfsorhtn.js +620 -0
- package/dist/hooks/useBreadcrumbTranslation.js +13 -16
- package/dist/hooks/useCustom.js +1 -1
- package/dist/hooks/useCustomMutation.js +5 -5
- package/dist/hooks/useEntity.js +1 -1
- package/dist/hooks/useOffline.js +1 -1
- package/dist/hooks/useOption.js +2 -2
- package/dist/hooks/useSignalRMessages.js +1 -1
- package/dist/lib/components/ModuleBase.d.ts +3 -22
- package/dist/lib/components/ModuleCore.d.ts +3 -17
- package/dist/lib/main.d.ts +0 -3
- package/dist/lib/module-router.d.ts +1 -1
- package/dist/lib/provider/SignalR/SignalRProvider.d.ts +0 -4
- package/dist/lib/types/BaseProps.d.ts +38 -1
- package/dist/lib/utils/defaultQueryClient.d.ts +2 -0
- package/dist/lib/utils/defaultSignalRClient.d.ts +4 -0
- package/dist/lib/utils/helper.d.ts +1 -2
- package/dist/main.js +56 -187
- package/dist/module-router.js +2 -2
- package/dist/provider/SignalR/SignalRProvider.js +22 -5966
- package/dist/{IsRestoringProvider-SzKJZczp.js → query-DZDIN635.js} +211 -232
- package/dist/stores/BasePropsStore.js +1 -0
- package/dist/{useCustomMutation-9VUQ7NbQ.js → useCustomMutation-C1aVbjpt.js} +13 -12
- package/dist/{useQuery-DUDyh33-.js → useQuery-CUSHkb38.js} +33 -31
- package/dist/utils/api.js +1 -1
- package/dist/utils/baseFetches.js +1 -1
- package/dist/utils/defaultQueryClient.js +4 -0
- package/dist/utils/defaultSignalRClient.js +5949 -0
- package/dist/utils/helper.js +9 -10
- package/package.json +1 -1
- package/dist/ModuleCore-DRMqZO8r.js +0 -12017
- package/dist/api-COabZnyn.js +0 -147
- package/dist/lib/types/ServiceBus.d.ts +0 -17
- package/dist/types/ServiceBus.js +0 -1
package/dist/hooks/useOption.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as m } from "../useQuery-
|
|
2
|
-
import { g as c } from "../api-
|
|
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,36 +1,17 @@
|
|
|
1
|
-
import { QueryClient } from '@tanstack/react-query';
|
|
2
1
|
import { RouteObject } from 'react-router';
|
|
3
|
-
import {
|
|
4
|
-
|
|
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,
|
|
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
|
-
|
|
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,
|
|
32
|
-
export {};
|
|
18
|
+
export declare const ModuleCore: ({ props, queryClient, children, }: PropsWithChildren<ModuleCoreProps>) => import("react/jsx-runtime").JSX.Element;
|
package/dist/lib/main.d.ts
CHANGED
|
@@ -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,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
|
|
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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseProps } from '../main';
|
|
2
|
-
import {
|
|
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
|
|
2
|
-
import {
|
|
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
|
|
5
|
-
import { useOffline as
|
|
6
|
-
import { useSignalRMessages as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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,
|
|
50
|
-
const { state: s } = e,
|
|
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
|
-
...
|
|
51
|
+
...o,
|
|
53
52
|
fetchNextPage: this.fetchNextPage,
|
|
54
53
|
fetchPreviousPage: this.fetchPreviousPage,
|
|
55
|
-
hasNextPage:
|
|
56
|
-
hasPreviousPage:
|
|
54
|
+
hasNextPage: x(t, s.data),
|
|
55
|
+
hasPreviousPage: P(t, s.data),
|
|
57
56
|
isFetchNextPageError: u,
|
|
58
|
-
isFetchingNextPage:
|
|
59
|
-
isFetchPreviousPageError:
|
|
60
|
-
isFetchingPreviousPage:
|
|
61
|
-
isRefetchError:
|
|
62
|
-
isRefetching:
|
|
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
|
|
67
|
-
return
|
|
65
|
+
function b(e, t) {
|
|
66
|
+
return m(
|
|
68
67
|
e,
|
|
69
68
|
d,
|
|
70
|
-
|
|
69
|
+
t
|
|
71
70
|
);
|
|
72
71
|
}
|
|
73
72
|
export {
|
|
74
73
|
C as ActionState,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
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
|
};
|
package/dist/module-router.js
CHANGED
|
@@ -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 {
|
|
5
|
-
import {
|
|
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;
|