aq-fe-framework 0.1.523 → 0.1.524

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.
@@ -1061,44 +1061,59 @@ function MyFlexEnd2(_a) {
1061
1061
  // src/core/overlays/MyModalDelete.tsx
1062
1062
  import { Group as Group6, Highlight as Highlight2, Modal as Modal3 } from "@mantine/core";
1063
1063
  import { jsx as jsx22, jsxs as jsxs12 } from "react/jsx-runtime";
1064
- function MyModalDelete({
1065
- disclosure,
1066
- contextData,
1067
- onSubmit,
1068
- submitLoading
1069
- }) {
1070
- return /* @__PURE__ */ jsxs12(Modal3, { onClose: disclosure[1].close, opened: disclosure[0], children: [
1071
- /* @__PURE__ */ jsx22(
1072
- Highlight2,
1073
- {
1074
- highlight: contextData || [],
1075
- color: "red.6",
1076
- highlightStyles: {
1077
- fontWeight: 700,
1078
- WebkitBackgroundClip: "text",
1079
- WebkitTextFillColor: "transparent"
1080
- },
1081
- children: `B\u1EA1n s\u1EAFp x\xF3a d\u1EEF li\u1EC7u ${contextData || ""}. H\xE0nh \u0111\u1ED9ng n\xE0y kh\xF4ng th\u1EC3 ho\xE0n t\xE1c. B\u1EA1n c\xF3 ch\u1EAFc ch\u1EAFn mu\u1ED1n ti\u1EBFp t\u1EE5c?`
1082
- }
1083
- ),
1084
- /* @__PURE__ */ jsxs12(Group6, { grow: true, children: [
1085
- /* @__PURE__ */ jsx22(
1086
- MyButton,
1087
- {
1088
- crudType: "delete",
1089
- onClick: onSubmit,
1090
- loading: submitLoading
1091
- }
1092
- ),
1093
- /* @__PURE__ */ jsx22(
1094
- MyButton,
1095
- {
1096
- crudType: "cancel",
1097
- onClick: disclosure[1].close
1098
- }
1099
- )
1100
- ] })
1101
- ] });
1064
+ function MyModalDelete(_a) {
1065
+ var _b = _a, {
1066
+ disclosure,
1067
+ contextData,
1068
+ onSubmit,
1069
+ submitLoading
1070
+ } = _b, rest = __objRest(_b, [
1071
+ "disclosure",
1072
+ "contextData",
1073
+ "onSubmit",
1074
+ "submitLoading"
1075
+ ]);
1076
+ return /* @__PURE__ */ jsxs12(
1077
+ Modal3,
1078
+ __spreadProps(__spreadValues({
1079
+ title: "X\xF3a d\u1EEF li\u1EC7u"
1080
+ }, rest), {
1081
+ onClose: disclosure[1].close,
1082
+ opened: disclosure[0],
1083
+ children: [
1084
+ /* @__PURE__ */ jsx22(
1085
+ Highlight2,
1086
+ {
1087
+ highlight: contextData || [],
1088
+ color: "red.6",
1089
+ highlightStyles: {
1090
+ fontWeight: 700,
1091
+ WebkitBackgroundClip: "text",
1092
+ WebkitTextFillColor: "transparent"
1093
+ },
1094
+ children: `B\u1EA1n s\u1EAFp x\xF3a d\u1EEF li\u1EC7u ${contextData || ""}. H\xE0nh \u0111\u1ED9ng n\xE0y kh\xF4ng th\u1EC3 ho\xE0n t\xE1c. B\u1EA1n c\xF3 ch\u1EAFc ch\u1EAFn mu\u1ED1n ti\u1EBFp t\u1EE5c?`
1095
+ }
1096
+ ),
1097
+ /* @__PURE__ */ jsxs12(Group6, { grow: true, children: [
1098
+ /* @__PURE__ */ jsx22(
1099
+ MyButton,
1100
+ {
1101
+ crudType: "delete",
1102
+ onClick: onSubmit,
1103
+ loading: submitLoading
1104
+ }
1105
+ ),
1106
+ /* @__PURE__ */ jsx22(
1107
+ MyButton,
1108
+ {
1109
+ crudType: "cancel",
1110
+ onClick: disclosure[1].close
1111
+ }
1112
+ )
1113
+ ] })
1114
+ ]
1115
+ })
1116
+ );
1102
1117
  }
1103
1118
 
1104
1119
  export {
@@ -196,12 +196,12 @@ interface MyFlexEndProps extends GroupProps {
196
196
  }
197
197
  declare function MyFlexEnd({ children, ...rest }: MyFlexEndProps): react_jsx_runtime.JSX.Element;
198
198
 
199
- interface MyModalDeleteProps {
199
+ interface MyModalDeleteProps extends ModalProps {
200
200
  disclosure: ReturnType<typeof useDisclosure>;
201
201
  contextData?: string;
202
202
  onSubmit?: () => void;
203
203
  submitLoading?: boolean;
204
204
  }
205
- declare function MyModalDelete({ disclosure, contextData, onSubmit, submitLoading }: MyModalDeleteProps): react_jsx_runtime.JSX.Element;
205
+ declare function MyModalDelete({ disclosure, contextData, onSubmit, submitLoading, ...rest }: 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, type MyModalDeleteProps, MyRichTextEditor, MySelect, MySelectFromAPI, type MySelectFromAPIProps, type MySelectProps, MyStatsCard, MyTextInput, MyWeeklySessionSchedulerPicker, type WeeklySessionSchedulerProps };
@@ -19,7 +19,7 @@ import {
19
19
  MyStatsCard,
20
20
  MyTextInput,
21
21
  MyWeeklySessionSchedulerPicker
22
- } from "../chunk-PVQKHKJD.mjs";
22
+ } from "../chunk-W4WLEEWI.mjs";
23
23
  import "../chunk-NAUH6JUN.mjs";
24
24
  import "../chunk-U62R2QKJ.mjs";
25
25
  import "../chunk-5U2JSHSJ.mjs";
@@ -16,7 +16,7 @@ import {
16
16
  MyButton as MyButton2,
17
17
  MyDataTableSelectOne,
18
18
  MyTextInput as MyTextInput2
19
- } from "../chunk-PVQKHKJD.mjs";
19
+ } from "../chunk-W4WLEEWI.mjs";
20
20
  import {
21
21
  F_authenticate_Logout,
22
22
  MyActionIconDelete,
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/columns/index.d.mts"
43
43
  }
44
44
  },
45
- "version": "0.1.523",
45
+ "version": "0.1.524",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"