aq-fe-framework 0.1.507 → 0.1.508
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-3EFZRJKN.mjs → chunk-LUN2PGVB.mjs} +4 -4
- package/dist/components/index.d.mts +1 -0
- package/dist/components/index.mjs +2 -2
- package/dist/core/index.mjs +5 -5
- package/dist/modules-features/index.mjs +21 -21
- package/package.json +1 -1
- package/dist/{chunk-3DR5DBS6.mjs → chunk-KCYPNG4W.mjs} +3 -3
@@ -2,13 +2,13 @@ import {
|
|
2
2
|
MyDataTable,
|
3
3
|
MyFlexColumn,
|
4
4
|
MyFlexRow
|
5
|
-
} from "./chunk-
|
6
|
-
import {
|
7
|
-
const_object_colors
|
8
|
-
} from "./chunk-OMJJAHOC.mjs";
|
5
|
+
} from "./chunk-KCYPNG4W.mjs";
|
9
6
|
import {
|
10
7
|
enum_daysOfWeek
|
11
8
|
} from "./chunk-K6S7R6LU.mjs";
|
9
|
+
import {
|
10
|
+
const_object_colors
|
11
|
+
} from "./chunk-OMJJAHOC.mjs";
|
12
12
|
import {
|
13
13
|
useMyReactMutation,
|
14
14
|
useMyReactQuery
|
@@ -306,6 +306,7 @@ interface MyDataTableProps<TData extends MRT_RowData> extends MRT_TableOptions<T
|
|
306
306
|
setSelectedRow?: (data: TData[]) => void;
|
307
307
|
isError?: boolean;
|
308
308
|
isLoading?: boolean;
|
309
|
+
exportAble?: boolean;
|
309
310
|
pagination?: {
|
310
311
|
pageIndex: number;
|
311
312
|
pageSize: number;
|
@@ -67,12 +67,12 @@ import {
|
|
67
67
|
useS_BasicAppShell,
|
68
68
|
useS_ButtonImport,
|
69
69
|
utils_layout_getItemsWithoutLinks
|
70
|
-
} from "../chunk-
|
70
|
+
} from "../chunk-KCYPNG4W.mjs";
|
71
|
+
import "../chunk-U62R2QKJ.mjs";
|
71
72
|
import "../chunk-5U2JSHSJ.mjs";
|
72
73
|
import "../chunk-OMJJAHOC.mjs";
|
73
74
|
import "../chunk-5IELATPH.mjs";
|
74
75
|
import "../chunk-7ZCOFATU.mjs";
|
75
|
-
import "../chunk-U62R2QKJ.mjs";
|
76
76
|
import "../chunk-FWCSY2DS.mjs";
|
77
77
|
export {
|
78
78
|
AQButtonCreateByImportFile,
|
package/dist/core/index.mjs
CHANGED
@@ -18,15 +18,15 @@ import {
|
|
18
18
|
MyStatsCard,
|
19
19
|
MyTextInput,
|
20
20
|
MyWeeklySessionSchedulerPicker
|
21
|
-
} from "../chunk-
|
22
|
-
import "../chunk-
|
23
|
-
import "../chunk-
|
21
|
+
} from "../chunk-LUN2PGVB.mjs";
|
22
|
+
import "../chunk-KCYPNG4W.mjs";
|
23
|
+
import "../chunk-U62R2QKJ.mjs";
|
24
24
|
import "../chunk-5U2JSHSJ.mjs";
|
25
|
-
import "../chunk-OMJJAHOC.mjs";
|
26
25
|
import "../chunk-K6S7R6LU.mjs";
|
26
|
+
import "../chunk-GFEMKKFH.mjs";
|
27
|
+
import "../chunk-OMJJAHOC.mjs";
|
27
28
|
import "../chunk-5IELATPH.mjs";
|
28
29
|
import "../chunk-7ZCOFATU.mjs";
|
29
|
-
import "../chunk-U62R2QKJ.mjs";
|
30
30
|
import "../chunk-FWCSY2DS.mjs";
|
31
31
|
export {
|
32
32
|
MyActionIcon,
|
@@ -13,19 +13,16 @@ import {
|
|
13
13
|
U0DateToDDMMYYYString
|
14
14
|
} from "../chunk-EWDS5IOF.mjs";
|
15
15
|
import {
|
16
|
-
MyButton,
|
16
|
+
MyButton as MyButton2,
|
17
17
|
MyDataTableSelectOne,
|
18
18
|
MyTextInput as MyTextInput2
|
19
|
-
} from "../chunk-
|
20
|
-
import {
|
21
|
-
const_object_documentTypes
|
22
|
-
} from "../chunk-GFEMKKFH.mjs";
|
19
|
+
} from "../chunk-LUN2PGVB.mjs";
|
23
20
|
import {
|
24
21
|
F_authenticate_Logout,
|
25
22
|
MyActionIconDelete,
|
26
23
|
MyActionIconUpdate,
|
27
24
|
MyBoxesBackground,
|
28
|
-
MyButton
|
25
|
+
MyButton,
|
29
26
|
MyButtonCreate,
|
30
27
|
MyButtonModal,
|
31
28
|
MyButtonViewPDF,
|
@@ -45,15 +42,21 @@ import {
|
|
45
42
|
groupToTwoLevels,
|
46
43
|
useS_authenticate,
|
47
44
|
utils_layout_getItemsWithoutLinks
|
48
|
-
} from "../chunk-
|
49
|
-
import "../chunk-5U2JSHSJ.mjs";
|
45
|
+
} from "../chunk-KCYPNG4W.mjs";
|
50
46
|
import {
|
51
|
-
|
52
|
-
} from "../chunk-
|
47
|
+
createGenericStore
|
48
|
+
} from "../chunk-U62R2QKJ.mjs";
|
49
|
+
import "../chunk-5U2JSHSJ.mjs";
|
53
50
|
import {
|
54
51
|
enum_emailConfigModule
|
55
52
|
} from "../chunk-VH4ZAD6M.mjs";
|
56
53
|
import "../chunk-K6S7R6LU.mjs";
|
54
|
+
import {
|
55
|
+
const_object_documentTypes
|
56
|
+
} from "../chunk-GFEMKKFH.mjs";
|
57
|
+
import {
|
58
|
+
const_object_colors
|
59
|
+
} from "../chunk-OMJJAHOC.mjs";
|
57
60
|
import {
|
58
61
|
baseAxios_default,
|
59
62
|
createBaseApi,
|
@@ -67,9 +70,6 @@ import {
|
|
67
70
|
import {
|
68
71
|
utils_notification_show
|
69
72
|
} from "../chunk-7ZCOFATU.mjs";
|
70
|
-
import {
|
71
|
-
createGenericStore
|
72
|
-
} from "../chunk-U62R2QKJ.mjs";
|
73
73
|
import {
|
74
74
|
__objRest,
|
75
75
|
__spreadProps,
|
@@ -211,7 +211,7 @@ function Permission_SaveMenuPermission({
|
|
211
211
|
}
|
212
212
|
});
|
213
213
|
return /* @__PURE__ */ jsx3(
|
214
|
-
|
214
|
+
MyButton2,
|
215
215
|
{
|
216
216
|
onClick: () => {
|
217
217
|
mutation.mutate((values == null ? void 0 : values.filter((item) => item.id != "0").map((item) => ({
|
@@ -863,7 +863,7 @@ function F_accessControl_Save() {
|
|
863
863
|
}
|
864
864
|
disable[1](false);
|
865
865
|
}, [store.state.rolePermissions]);
|
866
|
-
return /* @__PURE__ */ jsx9(
|
866
|
+
return /* @__PURE__ */ jsx9(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
|
867
867
|
}
|
868
868
|
|
869
869
|
// src/modules-features/admin/core/accessControl/old/F_accessControl.tsx
|
@@ -1285,7 +1285,7 @@ function F_accessControlLevel_Save() {
|
|
1285
1285
|
}
|
1286
1286
|
disable[1](false);
|
1287
1287
|
}, [store.state.rolePermissions]);
|
1288
|
-
return /* @__PURE__ */ jsx16(
|
1288
|
+
return /* @__PURE__ */ jsx16(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
|
1289
1289
|
}
|
1290
1290
|
|
1291
1291
|
// src/modules-features/admin/core/accessControlLevel/old/F_accessControlLevel.tsx
|
@@ -3056,7 +3056,7 @@ function F_core35923() {
|
|
3056
3056
|
/* @__PURE__ */ jsx49(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx49(MyFileInput, { label: "Favicon (16px x 16px)" }) }),
|
3057
3057
|
/* @__PURE__ */ jsx49(Grid5.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx49(MyFileInput, { label: "Logo (330px x 115px)" }) })
|
3058
3058
|
] }),
|
3059
|
-
/* @__PURE__ */ jsx49(MyFlexEnd, { children: /* @__PURE__ */ jsx49(
|
3059
|
+
/* @__PURE__ */ jsx49(MyFlexEnd, { children: /* @__PURE__ */ jsx49(MyButton, { crudType: "save" }) })
|
3060
3060
|
] });
|
3061
3061
|
}
|
3062
3062
|
|
@@ -4443,7 +4443,7 @@ function F_moduleConfig_Save({
|
|
4443
4443
|
});
|
4444
4444
|
}
|
4445
4445
|
return /* @__PURE__ */ jsx83(
|
4446
|
-
|
4446
|
+
MyButton,
|
4447
4447
|
{
|
4448
4448
|
disabled: !form.isDirty(),
|
4449
4449
|
crudType: "save",
|
@@ -4899,13 +4899,13 @@ import { useMemo as useMemo20 } from "react";
|
|
4899
4899
|
// src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_DeleteDescription.tsx
|
4900
4900
|
import { jsx as jsx91 } from "react/jsx-runtime";
|
4901
4901
|
function F_pageContentConfig_DeleteDescription() {
|
4902
|
-
return /* @__PURE__ */ jsx91(
|
4902
|
+
return /* @__PURE__ */ jsx91(MyButton2, { actionType: "delete" });
|
4903
4903
|
}
|
4904
4904
|
|
4905
4905
|
// src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_Export.tsx
|
4906
4906
|
import { jsx as jsx92 } from "react/jsx-runtime";
|
4907
4907
|
function F_pageContentConfig_Export() {
|
4908
|
-
return /* @__PURE__ */ jsx92(
|
4908
|
+
return /* @__PURE__ */ jsx92(MyButton2, { actionType: "export" });
|
4909
4909
|
}
|
4910
4910
|
|
4911
4911
|
// src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_Save.tsx
|
@@ -4917,7 +4917,7 @@ function F_pageContentConfig_Save({ menuValues }) {
|
|
4917
4917
|
return service_pageContent.updateList([{ id: 1 }]);
|
4918
4918
|
}
|
4919
4919
|
});
|
4920
|
-
return /* @__PURE__ */ jsx93(
|
4920
|
+
return /* @__PURE__ */ jsx93(MyButton2, { actionType: "save", onClick: () => updatePageConfigMutation.mutate({}) });
|
4921
4921
|
}
|
4922
4922
|
|
4923
4923
|
// src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_ReadMenu.tsx
|
package/package.json
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
import {
|
2
|
+
createGenericStore
|
3
|
+
} from "./chunk-U62R2QKJ.mjs";
|
1
4
|
import {
|
2
5
|
utils_pdf_download
|
3
6
|
} from "./chunk-5U2JSHSJ.mjs";
|
@@ -12,9 +15,6 @@ import {
|
|
12
15
|
import {
|
13
16
|
utils_notification_show
|
14
17
|
} from "./chunk-7ZCOFATU.mjs";
|
15
|
-
import {
|
16
|
-
createGenericStore
|
17
|
-
} from "./chunk-U62R2QKJ.mjs";
|
18
18
|
import {
|
19
19
|
__objRest,
|
20
20
|
__spreadProps,
|