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.cjs
CHANGED
|
@@ -998,6 +998,7 @@ __export(index_exports, {
|
|
|
998
998
|
useLayoutForm: () => useLayoutForm,
|
|
999
999
|
useLocalStorageState: () => import_useLocalStorageState.useLocalStorageState,
|
|
1000
1000
|
useNotifications: () => import_useNotifications2.useNotifications,
|
|
1001
|
+
useTranslation: () => import_react_i18next6.useTranslation,
|
|
1001
1002
|
uuidv7: () => import_uuidv7.uuidv7,
|
|
1002
1003
|
wczApiClient: () => wczApiClient,
|
|
1003
1004
|
withLayoutForm: () => withLayoutForm
|
|
@@ -2149,14 +2150,14 @@ var import_axios = __toESM(require("axios"), 1);
|
|
|
2149
2150
|
|
|
2150
2151
|
// src/services/UserService.ts
|
|
2151
2152
|
var import_keycloak_js = __toESM(require("keycloak-js"), 1);
|
|
2152
|
-
var
|
|
2153
|
+
var import_meta = {};
|
|
2153
2154
|
var keycloakConfig = {
|
|
2154
|
-
url:
|
|
2155
|
-
realm:
|
|
2156
|
-
clientId:
|
|
2157
|
-
idpHint:
|
|
2158
|
-
confidentialClientId:
|
|
2159
|
-
confidentialClientSecret:
|
|
2155
|
+
url: import_meta.env.VITE_KEYCLOAK_URL,
|
|
2156
|
+
realm: import_meta.env.VITE_KEYCLOAK_REALM,
|
|
2157
|
+
clientId: import_meta.env.VITE_KEYCLOAK_CLIENT_ID,
|
|
2158
|
+
idpHint: import_meta.env.VITE_KEYCLOAK_IDP_HINT,
|
|
2159
|
+
confidentialClientId: import_meta.env.VITE_KEYCLOAK_CONFIDENTIAL_CLIENT_ID,
|
|
2160
|
+
confidentialClientSecret: import_meta.env.VITE_KEYCLOAK_CONFIDENTIAL_CLIENT_SECRET
|
|
2160
2161
|
};
|
|
2161
2162
|
var _kc = new import_keycloak_js.default({
|
|
2162
2163
|
url: keycloakConfig.url,
|
|
@@ -2548,6 +2549,7 @@ var { useAppForm: useLayoutForm, withForm: withLayoutForm } = (0, import_react_f
|
|
|
2548
2549
|
var import_useDialogs = require("@toolpad/core/useDialogs");
|
|
2549
2550
|
var import_useNotifications2 = require("@toolpad/core/useNotifications");
|
|
2550
2551
|
var import_useLocalStorageState = require("@toolpad/core/useLocalStorageState");
|
|
2552
|
+
var import_react_i18next6 = require("react-i18next");
|
|
2551
2553
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2552
2554
|
0 && (module.exports = {
|
|
2553
2555
|
ChipInputCell,
|
|
@@ -2567,6 +2569,7 @@ var import_useLocalStorageState = require("@toolpad/core/useLocalStorageState");
|
|
|
2567
2569
|
useLayoutForm,
|
|
2568
2570
|
useLocalStorageState,
|
|
2569
2571
|
useNotifications,
|
|
2572
|
+
useTranslation,
|
|
2570
2573
|
uuidv7,
|
|
2571
2574
|
wczApiClient,
|
|
2572
2575
|
withLayoutForm
|