aq-fe-framework 0.1.518 → 0.1.520

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.
@@ -3,7 +3,7 @@ import {
3
3
  MyDataTable,
4
4
  MyFlexColumn,
5
5
  MyFlexRow
6
- } from "./chunk-CHSXCM2D.mjs";
6
+ } from "./chunk-NAUH6JUN.mjs";
7
7
  import {
8
8
  const_object_colors
9
9
  } from "./chunk-OMJJAHOC.mjs";
@@ -1064,7 +1064,7 @@ import { jsx as jsx22, jsxs as jsxs12 } from "react/jsx-runtime";
1064
1064
  function MyModalDelete({
1065
1065
  disclosure,
1066
1066
  contextData,
1067
- handleSubmit,
1067
+ onSubmit,
1068
1068
  submitLoading
1069
1069
  }) {
1070
1070
  return /* @__PURE__ */ jsxs12(Modal3, { onClose: disclosure[1].close, opened: disclosure[0], children: [
@@ -1086,7 +1086,7 @@ function MyModalDelete({
1086
1086
  MyButton,
1087
1087
  {
1088
1088
  crudType: "delete",
1089
- onClick: handleSubmit,
1089
+ onClick: onSubmit,
1090
1090
  loading: submitLoading
1091
1091
  }
1092
1092
  ),
@@ -67,12 +67,12 @@ import {
67
67
  useS_BasicAppShell,
68
68
  useS_ButtonImport,
69
69
  utils_layout_getItemsWithoutLinks
70
- } from "../chunk-CHSXCM2D.mjs";
70
+ } from "../chunk-NAUH6JUN.mjs";
71
+ import "../chunk-U62R2QKJ.mjs";
71
72
  import "../chunk-5U2JSHSJ.mjs";
72
73
  import "../chunk-OMJJAHOC.mjs";
73
74
  import "../chunk-3XSLM5GI.mjs";
74
75
  import "../chunk-7ZCOFATU.mjs";
75
- import "../chunk-U62R2QKJ.mjs";
76
76
  import "../chunk-FWCSY2DS.mjs";
77
77
  export {
78
78
  AQButtonCreateByImportFile,
@@ -199,9 +199,9 @@ declare function MyFlexEnd({ children, ...rest }: MyFlexEndProps): react_jsx_run
199
199
  interface MyModalDeleteProps {
200
200
  disclosure: ReturnType<typeof useDisclosure>;
201
201
  contextData?: string;
202
- handleSubmit: () => void;
202
+ onSubmit: () => void;
203
203
  submitLoading?: boolean;
204
204
  }
205
- declare function MyModalDelete({ disclosure, contextData, handleSubmit, submitLoading }: MyModalDeleteProps): react_jsx_runtime.JSX.Element;
205
+ declare function MyModalDelete({ disclosure, contextData, onSubmit, submitLoading }: MyModalDeleteProps): react_jsx_runtime.JSX.Element;
206
206
 
207
207
  export { type IWeeklySession, MyActionIcon, type MyActionIconProps, MyButton, MyButtonCreateUpdate, type MyButtonExportStructureProps, MyButtonModal, MyButtonModalForm, type MyButtonModalFormProps, type MyButtonModalProps, MyButtonPrintPDF, type MyButtonPrintPDFProps, type MyButtonProps$1 as MyButtonProps, MyDataTableSelectOne, MyDayOfWeekPicker, MyFlexColumn, MyFlexEnd, MyFlexIconTitle, MyInfoBox, type MyInfoBoxItem, type MyInfoBoxProps, MyLabelValueRow, MyModalDelete, MyRichTextEditor, MySelect, MySelectFromAPI, type MySelectFromAPIProps, type MySelectProps, MyStatsCard, MyTextInput, MyWeeklySessionSchedulerPicker, type WeeklySessionSchedulerProps };
@@ -19,15 +19,15 @@ import {
19
19
  MyStatsCard,
20
20
  MyTextInput,
21
21
  MyWeeklySessionSchedulerPicker
22
- } from "../chunk-S7JWSEIN.mjs";
22
+ } from "../chunk-PVQKHKJD.mjs";
23
23
  import "../chunk-GFEMKKFH.mjs";
24
- import "../chunk-CHSXCM2D.mjs";
24
+ import "../chunk-NAUH6JUN.mjs";
25
+ import "../chunk-U62R2QKJ.mjs";
25
26
  import "../chunk-5U2JSHSJ.mjs";
26
27
  import "../chunk-OMJJAHOC.mjs";
27
28
  import "../chunk-K6S7R6LU.mjs";
28
29
  import "../chunk-3XSLM5GI.mjs";
29
30
  import "../chunk-7ZCOFATU.mjs";
30
- import "../chunk-U62R2QKJ.mjs";
31
31
  import "../chunk-FWCSY2DS.mjs";
32
32
  export {
33
33
  MyActionIcon,
@@ -13,10 +13,10 @@ 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-S7JWSEIN.mjs";
19
+ } from "../chunk-PVQKHKJD.mjs";
20
20
  import {
21
21
  const_object_documentTypes
22
22
  } from "../chunk-GFEMKKFH.mjs";
@@ -25,7 +25,7 @@ import {
25
25
  MyActionIconDelete,
26
26
  MyActionIconUpdate,
27
27
  MyBoxesBackground,
28
- MyButton as MyButton2,
28
+ MyButton,
29
29
  MyButtonCreate,
30
30
  MyButtonModal,
31
31
  MyButtonViewPDF,
@@ -45,7 +45,10 @@ import {
45
45
  groupToTwoLevels,
46
46
  useS_authenticate,
47
47
  utils_layout_getItemsWithoutLinks
48
- } from "../chunk-CHSXCM2D.mjs";
48
+ } from "../chunk-NAUH6JUN.mjs";
49
+ import {
50
+ createGenericStore
51
+ } from "../chunk-U62R2QKJ.mjs";
49
52
  import "../chunk-5U2JSHSJ.mjs";
50
53
  import {
51
54
  const_object_colors
@@ -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,
@@ -210,7 +210,7 @@ function Permission_SaveMenuPermission({
210
210
  }
211
211
  });
212
212
  return /* @__PURE__ */ jsx3(
213
- MyButton,
213
+ MyButton2,
214
214
  {
215
215
  onClick: () => {
216
216
  mutation.mutate((values == null ? void 0 : values.filter((item) => item.id != "0").map((item) => ({
@@ -831,7 +831,7 @@ function F_accessControl_Save() {
831
831
  }
832
832
  disable[1](false);
833
833
  }, [store.state.rolePermissions]);
834
- return /* @__PURE__ */ jsx9(MyButton2, { disabled: disable[0], crudType: "save", onClick: handleSave });
834
+ return /* @__PURE__ */ jsx9(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
835
835
  }
836
836
 
837
837
  // 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(MyButton2, { disabled: disable[0], crudType: "save", onClick: handleSave });
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(MyButton2, { crudType: "save" }) })
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
- MyButton2,
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(MyButton, { actionType: "delete" });
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(MyButton, { actionType: "export" });
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(MyButton, { actionType: "save", onClick: () => updatePageConfigMutation.mutate({}) });
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
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/columns/index.d.mts"
43
43
  }
44
44
  },
45
- "version": "0.1.518",
45
+ "version": "0.1.520",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"
@@ -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,