warqadui 0.0.73 → 0.0.74
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.js +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8845,7 +8845,8 @@ var Activate_default = ActivateUser;
|
|
|
8845
8845
|
var import_react_router_dom7 = require("react-router-dom");
|
|
8846
8846
|
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
8847
8847
|
function Users() {
|
|
8848
|
-
const { appId
|
|
8848
|
+
const { appId } = (0, import_react_router_dom7.useParams)();
|
|
8849
|
+
const app = appId ? `/${appId}` : "";
|
|
8849
8850
|
const navigate = (0, import_react_router_dom7.useNavigate)();
|
|
8850
8851
|
const { data, TransactionViewComponent, reload } = useTransaction_default({
|
|
8851
8852
|
url: `${app}/users/get`,
|
|
@@ -9008,7 +9009,8 @@ var import_antd13 = require("antd");
|
|
|
9008
9009
|
var import_react_router_dom8 = require("react-router-dom");
|
|
9009
9010
|
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
9010
9011
|
function UserForm() {
|
|
9011
|
-
const { appId
|
|
9012
|
+
const { appId } = (0, import_react_router_dom8.useParams)();
|
|
9013
|
+
const app = appId ? `/${appId}` : "";
|
|
9012
9014
|
const { navigate } = useApp_default();
|
|
9013
9015
|
const { post, isLoading } = useApis_default();
|
|
9014
9016
|
const methods = (0, import_react_hook_form13.useForm)({
|
package/dist/index.mjs
CHANGED
|
@@ -8812,7 +8812,8 @@ var Activate_default = ActivateUser;
|
|
|
8812
8812
|
import { useNavigate as useNavigate6, useParams as useParams3 } from "react-router-dom";
|
|
8813
8813
|
import { Fragment as Fragment11, jsx as jsx49, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
8814
8814
|
function Users() {
|
|
8815
|
-
const { appId
|
|
8815
|
+
const { appId } = useParams3();
|
|
8816
|
+
const app = appId ? `/${appId}` : "";
|
|
8816
8817
|
const navigate = useNavigate6();
|
|
8817
8818
|
const { data, TransactionViewComponent, reload } = useTransaction_default({
|
|
8818
8819
|
url: `${app}/users/get`,
|
|
@@ -8975,7 +8976,8 @@ import { message as message11 } from "antd";
|
|
|
8975
8976
|
import { useParams as useParams4 } from "react-router-dom";
|
|
8976
8977
|
import { jsx as jsx50, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
8977
8978
|
function UserForm() {
|
|
8978
|
-
const { appId
|
|
8979
|
+
const { appId } = useParams4();
|
|
8980
|
+
const app = appId ? `/${appId}` : "";
|
|
8979
8981
|
const { navigate } = useApp_default();
|
|
8980
8982
|
const { post, isLoading } = useApis_default();
|
|
8981
8983
|
const methods = useForm7({
|