wcz-test 2.2.0 → 2.2.2
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/index.cjs +10 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -16,6 +16,7 @@ import * as _tanstack_form_core from '@tanstack/form-core';
|
|
|
16
16
|
export { useDialogs } from '@toolpad/core/useDialogs';
|
|
17
17
|
export { useNotifications } from '@toolpad/core/useNotifications';
|
|
18
18
|
export { useLocalStorageState } from '@toolpad/core/useLocalStorageState';
|
|
19
|
+
export { useTranslation } from 'react-i18next';
|
|
19
20
|
|
|
20
21
|
var Layout = {
|
|
21
22
|
Logout: "Logout",
|
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import * as _tanstack_form_core from '@tanstack/form-core';
|
|
|
16
16
|
export { useDialogs } from '@toolpad/core/useDialogs';
|
|
17
17
|
export { useNotifications } from '@toolpad/core/useNotifications';
|
|
18
18
|
export { useLocalStorageState } from '@toolpad/core/useLocalStorageState';
|
|
19
|
+
export { useTranslation } from 'react-i18next';
|
|
19
20
|
|
|
20
21
|
var Layout = {
|
|
21
22
|
Logout: "Logout",
|
package/dist/index.js
CHANGED
|
@@ -2117,14 +2117,13 @@ import axios from "axios";
|
|
|
2117
2117
|
|
|
2118
2118
|
// src/services/UserService.ts
|
|
2119
2119
|
import Keycloak from "keycloak-js";
|
|
2120
|
-
import { env } from "node:process";
|
|
2121
2120
|
var keycloakConfig = {
|
|
2122
|
-
url: env.
|
|
2123
|
-
realm: env.
|
|
2124
|
-
clientId: env.
|
|
2125
|
-
idpHint: env.
|
|
2126
|
-
confidentialClientId: env.
|
|
2127
|
-
confidentialClientSecret: env.
|
|
2121
|
+
url: import.meta.env.VITE_KEYCLOAK_URL,
|
|
2122
|
+
realm: import.meta.env.VITE_KEYCLOAK_REALM,
|
|
2123
|
+
clientId: import.meta.env.VITE_KEYCLOAK_CLIENT_ID,
|
|
2124
|
+
idpHint: import.meta.env.VITE_KEYCLOAK_IDP_HINT,
|
|
2125
|
+
confidentialClientId: import.meta.env.VITE_KEYCLOAK_CONFIDENTIAL_CLIENT_ID,
|
|
2126
|
+
confidentialClientSecret: import.meta.env.VITE_KEYCLOAK_CONFIDENTIAL_CLIENT_SECRET
|
|
2128
2127
|
};
|
|
2129
2128
|
var _kc = new Keycloak({
|
|
2130
2129
|
url: keycloakConfig.url,
|
|
@@ -2516,6 +2515,7 @@ var { useAppForm: useLayoutForm, withForm: withLayoutForm } = createFormHook({
|
|
|
2516
2515
|
import { useDialogs } from "@toolpad/core/useDialogs";
|
|
2517
2516
|
import { useNotifications } from "@toolpad/core/useNotifications";
|
|
2518
2517
|
import { useLocalStorageState } from "@toolpad/core/useLocalStorageState";
|
|
2518
|
+
import { useTranslation as useTranslation6 } from "react-i18next";
|
|
2519
2519
|
export {
|
|
2520
2520
|
ChipInputCell,
|
|
2521
2521
|
EditableColumnHeader,
|
|
@@ -2534,6 +2534,7 @@ export {
|
|
|
2534
2534
|
useLayoutForm,
|
|
2535
2535
|
useLocalStorageState,
|
|
2536
2536
|
useNotifications,
|
|
2537
|
+
useTranslation6 as useTranslation,
|
|
2537
2538
|
uuidv7,
|
|
2538
2539
|
wczApiClient,
|
|
2539
2540
|
withLayoutForm
|