aq-fe-framework 0.1.488 → 0.1.489
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.
@@ -384,6 +384,10 @@ function MyButtonPrintPDF({
|
|
384
384
|
documentTitle: "In n\u1ED9i dung",
|
385
385
|
contentRef: printRef
|
386
386
|
}, useReactToPrintProps));
|
387
|
+
function handleClick() {
|
388
|
+
if (!children) return;
|
389
|
+
handlePrint();
|
390
|
+
}
|
387
391
|
return /* @__PURE__ */ jsxs4(Fragment3, { children: [
|
388
392
|
/* @__PURE__ */ jsx9("div", { style: { display: "none" }, children: /* @__PURE__ */ jsx9(
|
389
393
|
"div",
|
@@ -396,7 +400,7 @@ function MyButtonPrintPDF({
|
|
396
400
|
children
|
397
401
|
}
|
398
402
|
) }),
|
399
|
-
/* @__PURE__ */ jsx9(Button5, __spreadProps(__spreadValues({ color: "orange", onClick:
|
403
|
+
/* @__PURE__ */ jsx9(Button5, __spreadProps(__spreadValues({ color: "orange", onClick: handleClick, leftSection: /* @__PURE__ */ jsx9(IconPrinter3, {}) }, buttonProps), { children: (buttonProps == null ? void 0 : buttonProps.children) || "In" }))
|
400
404
|
] });
|
401
405
|
}
|
402
406
|
|
package/dist/core/index.mjs
CHANGED
@@ -11,11 +11,14 @@ import {
|
|
11
11
|
import {
|
12
12
|
U0DateToDDMMYYYString
|
13
13
|
} from "../chunk-EWDS5IOF.mjs";
|
14
|
+
import {
|
15
|
+
enum_emailConfigModule
|
16
|
+
} from "../chunk-VH4ZAD6M.mjs";
|
14
17
|
import {
|
15
18
|
MyButton as MyButton2,
|
16
19
|
MyDataTableSelectOne,
|
17
20
|
MyTextInput as MyTextInput2
|
18
|
-
} from "../chunk-
|
21
|
+
} from "../chunk-GPYE5AVQ.mjs";
|
19
22
|
import {
|
20
23
|
F_authenticate_Logout,
|
21
24
|
MyActionIconDelete,
|
@@ -52,9 +55,6 @@ import {
|
|
52
55
|
import {
|
53
56
|
const_object_colors
|
54
57
|
} from "../chunk-OMJJAHOC.mjs";
|
55
|
-
import {
|
56
|
-
enum_emailConfigModule
|
57
|
-
} from "../chunk-VH4ZAD6M.mjs";
|
58
58
|
import "../chunk-K6S7R6LU.mjs";
|
59
59
|
import {
|
60
60
|
baseAxios_default,
|