aq-fe-framework 0.1.567 → 0.1.569
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/MyModalDelete-BfH3xRRW.d.mts +11 -0
- package/dist/{chunk-RHSY3L7P.mjs → chunk-544VC4BO.mjs} +3 -7
- package/dist/{chunk-LUD2TPP7.mjs → chunk-XASZOF7S.mjs} +584 -126
- package/dist/components/index.mjs +1 -1
- package/dist/core/index.d.mts +41 -3
- package/dist/core/index.mjs +5 -3
- package/dist/coreService/index.d.mts +2 -3
- package/dist/coreService/index.mjs +17 -13
- package/dist/modules-features/index.mjs +104 -104
- package/package.json +1 -1
- package/dist/MyModalDelete-D-gPkYBS.d.mts +0 -13
- package/dist/{chunk-HETWN2YJ.mjs → chunk-AWWU2WEF.mjs} +3 -3
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ModalProps } from '@mantine/core';
|
|
3
|
+
|
|
4
|
+
interface MyModalDeleteProps extends ModalProps {
|
|
5
|
+
contextData?: string;
|
|
6
|
+
onSubmit?: () => void;
|
|
7
|
+
submitLoading?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare function MyModalDelete({ contextData, onSubmit, submitLoading, ...rest }: MyModalDeleteProps): react_jsx_runtime.JSX.Element;
|
|
10
|
+
|
|
11
|
+
export { type MyModalDeleteProps as M, MyModalDelete as a };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MyButton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AWWU2WEF.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__objRest,
|
|
6
6
|
__spreadProps,
|
|
@@ -12,12 +12,10 @@ import { Group, Highlight, Modal } from "@mantine/core";
|
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
function MyModalDelete(_a) {
|
|
14
14
|
var _b = _a, {
|
|
15
|
-
disclosure,
|
|
16
15
|
contextData,
|
|
17
16
|
onSubmit,
|
|
18
17
|
submitLoading
|
|
19
18
|
} = _b, rest = __objRest(_b, [
|
|
20
|
-
"disclosure",
|
|
21
19
|
"contextData",
|
|
22
20
|
"onSubmit",
|
|
23
21
|
"submitLoading"
|
|
@@ -25,9 +23,7 @@ function MyModalDelete(_a) {
|
|
|
25
23
|
return /* @__PURE__ */ jsxs(
|
|
26
24
|
Modal,
|
|
27
25
|
__spreadProps(__spreadValues({
|
|
28
|
-
title: "X\xF3a d\u1EEF li\u1EC7u"
|
|
29
|
-
onClose: disclosure[1].close,
|
|
30
|
-
opened: disclosure[0]
|
|
26
|
+
title: "X\xF3a d\u1EEF li\u1EC7u"
|
|
31
27
|
}, rest), {
|
|
32
28
|
children: [
|
|
33
29
|
/* @__PURE__ */ jsx(
|
|
@@ -56,7 +52,7 @@ function MyModalDelete(_a) {
|
|
|
56
52
|
MyButton,
|
|
57
53
|
{
|
|
58
54
|
crudType: "cancel",
|
|
59
|
-
onClick:
|
|
55
|
+
onClick: rest.onClose
|
|
60
56
|
}
|
|
61
57
|
)
|
|
62
58
|
] })
|