aq-fe-framework 0.1.1053 → 0.1.1055
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/{chunk-7G6JRFUO.mjs → chunk-2O65QAM3.mjs} +4 -4
- package/dist/components/index.mjs +2 -2
- package/dist/const/index.mjs +1 -1
- package/dist/core/index.d.mts +1 -1
- package/dist/core/index.mjs +2 -2
- package/dist/modules-features/index.mjs +2 -2
- package/dist/shared/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/{chunk-OHAOJE5F.mjs → chunk-C74M5VPE.mjs} +1 -1
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
import {
|
|
32
32
|
const_object_colors,
|
|
33
33
|
const_object_documentTypes
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-C74M5VPE.mjs";
|
|
35
35
|
import {
|
|
36
36
|
enumLabel_gender,
|
|
37
37
|
enum_daysOfWeek
|
|
@@ -661,10 +661,10 @@ function MyButtonCreateUpdate({
|
|
|
661
661
|
}, useMyReactMutationProps == null ? void 0 : useMyReactMutationProps.options)
|
|
662
662
|
}));
|
|
663
663
|
useEffect3(() => {
|
|
664
|
-
if (disclosure[0]
|
|
664
|
+
if (!disclosure[0]) return;
|
|
665
665
|
if (!initValues) return;
|
|
666
666
|
form.setInitialValues(initValues);
|
|
667
|
-
form.
|
|
667
|
+
form.setValues(initValues);
|
|
668
668
|
}, [initValues, disclosure[0]]);
|
|
669
669
|
return /* @__PURE__ */ jsxs5(Fragment4, { children: [
|
|
670
670
|
isUpdate == true ? /* @__PURE__ */ jsx11(Tooltip2, __spreadProps(__spreadValues({ label: toolTipProps == null ? void 0 : toolTipProps.label, hidden: !(toolTipProps == null ? void 0 : toolTipProps.label) }, toolTipProps), { children: /* @__PURE__ */ jsx11(
|
|
@@ -697,7 +697,7 @@ function MyButtonCreateUpdate({
|
|
|
697
697
|
{
|
|
698
698
|
onSubmit: form.onSubmit((values, event) => {
|
|
699
699
|
event.stopPropagation();
|
|
700
|
-
const result = onSubmit(values);
|
|
700
|
+
const result = onSubmit(values, isUpdate);
|
|
701
701
|
let axiosPromise;
|
|
702
702
|
if (result == false) return;
|
|
703
703
|
if (result == void 0) {
|
|
@@ -69,13 +69,13 @@ import {
|
|
|
69
69
|
useHeaderMegaMenuStore,
|
|
70
70
|
useS_ButtonImport,
|
|
71
71
|
useStore_BasicAppShell
|
|
72
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-2O65QAM3.mjs";
|
|
73
73
|
import "../chunk-WW55EZ4B.mjs";
|
|
74
74
|
import "../chunk-KGBXMHKR.mjs";
|
|
75
75
|
import "../chunk-7ZI7IOEP.mjs";
|
|
76
76
|
import "../chunk-NYAWQRB7.mjs";
|
|
77
77
|
import "../chunk-BTITP4TN.mjs";
|
|
78
|
-
import "../chunk-
|
|
78
|
+
import "../chunk-C74M5VPE.mjs";
|
|
79
79
|
import "../chunk-J4WTZ3B4.mjs";
|
|
80
80
|
import "../chunk-Z76CSZFI.mjs";
|
|
81
81
|
import "../chunk-WZ6PXGGC.mjs";
|
package/dist/const/index.mjs
CHANGED
package/dist/core/index.d.mts
CHANGED
|
@@ -68,7 +68,7 @@ interface MyButtonCreateUpdateProps<IReq, IRes> {
|
|
|
68
68
|
submitButtonProps?: MyButtonProps;
|
|
69
69
|
scrollAreaAutosizeProps?: ScrollAreaAutosizeProps;
|
|
70
70
|
isUpdate?: boolean;
|
|
71
|
-
onSubmit: (values: IReq) => Promise<AxiosResponse<MyApiResponse<IRes>>> | false | void;
|
|
71
|
+
onSubmit: (values: IReq, isUpdate?: boolean) => Promise<AxiosResponse<MyApiResponse<IRes>>> | false | void;
|
|
72
72
|
onSuccess?: (...args: any[]) => void;
|
|
73
73
|
onError?: (...args: any[]) => void;
|
|
74
74
|
ignoreDefaultOnSuccess?: boolean;
|
package/dist/core/index.mjs
CHANGED
|
@@ -33,13 +33,13 @@ import {
|
|
|
33
33
|
MyStatsCard,
|
|
34
34
|
MyTextInput2 as MyTextInput,
|
|
35
35
|
MyWeeklySessionSchedulerPicker
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-2O65QAM3.mjs";
|
|
37
37
|
import "../chunk-WW55EZ4B.mjs";
|
|
38
38
|
import "../chunk-KGBXMHKR.mjs";
|
|
39
39
|
import "../chunk-7ZI7IOEP.mjs";
|
|
40
40
|
import "../chunk-NYAWQRB7.mjs";
|
|
41
41
|
import "../chunk-BTITP4TN.mjs";
|
|
42
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-C74M5VPE.mjs";
|
|
43
43
|
import "../chunk-J4WTZ3B4.mjs";
|
|
44
44
|
import "../chunk-Z76CSZFI.mjs";
|
|
45
45
|
import "../chunk-WZ6PXGGC.mjs";
|
|
@@ -97,13 +97,13 @@ import {
|
|
|
97
97
|
MailTemplateDeleteButton,
|
|
98
98
|
useS_moduleConfig,
|
|
99
99
|
useStore_Authenticate
|
|
100
|
-
} from "../chunk-
|
|
100
|
+
} from "../chunk-2O65QAM3.mjs";
|
|
101
101
|
import "../chunk-WW55EZ4B.mjs";
|
|
102
102
|
import "../chunk-KGBXMHKR.mjs";
|
|
103
103
|
import "../chunk-7ZI7IOEP.mjs";
|
|
104
104
|
import "../chunk-NYAWQRB7.mjs";
|
|
105
105
|
import "../chunk-BTITP4TN.mjs";
|
|
106
|
-
import "../chunk-
|
|
106
|
+
import "../chunk-C74M5VPE.mjs";
|
|
107
107
|
import "../chunk-J4WTZ3B4.mjs";
|
|
108
108
|
import "../chunk-Z76CSZFI.mjs";
|
|
109
109
|
import "../chunk-WZ6PXGGC.mjs";
|
package/dist/shared/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../chunk-NMY3UEY5.mjs";
|
|
2
2
|
import {
|
|
3
3
|
MySelect
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-2O65QAM3.mjs";
|
|
5
5
|
import "../chunk-WW55EZ4B.mjs";
|
|
6
6
|
import "../chunk-KGBXMHKR.mjs";
|
|
7
7
|
import {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "../chunk-7ZI7IOEP.mjs";
|
|
10
10
|
import "../chunk-NYAWQRB7.mjs";
|
|
11
11
|
import "../chunk-BTITP4TN.mjs";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-C74M5VPE.mjs";
|
|
13
13
|
import {
|
|
14
14
|
enumLabel_gender,
|
|
15
15
|
enum_gender
|
package/package.json
CHANGED