aq-fe-framework 0.1.35 → 0.1.37

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.
@@ -1434,9 +1434,9 @@ function AQSelectTableByOpenModal(_a) {
1434
1434
  }
1435
1435
 
1436
1436
  // src/components/Buttons/ButtonPrintPDF/MyButtonPrintPDF.tsx
1437
+ import React3, { useRef as useRef2 } from "react";
1437
1438
  import { Button as Button10 } from "@mantine/core";
1438
1439
  import { IconPrinter as IconPrinter2 } from "@tabler/icons-react";
1439
- import { useRef as useRef2 } from "react";
1440
1440
  import { useReactToPrint } from "react-to-print";
1441
1441
  function MyButtonPrintPDF(_a) {
1442
1442
  var _b = _a, { contentToPrint } = _b, rest = __objRest(_b, ["contentToPrint"]);
@@ -1451,12 +1451,12 @@ function MyButtonPrintPDF(_a) {
1451
1451
  if (!contentToPrint) return;
1452
1452
  handlePrint();
1453
1453
  }
1454
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { style: { display: "none" } }, /* @__PURE__ */ React.createElement("div", { ref: printRef }, contentToPrint)), /* @__PURE__ */ React.createElement(
1454
+ return /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement("div", { style: { display: "none" } }, /* @__PURE__ */ React3.createElement("div", { ref: printRef }, contentToPrint)), /* @__PURE__ */ React3.createElement(
1455
1455
  Button10,
1456
1456
  __spreadValues({
1457
1457
  color: "orange",
1458
1458
  onClick: handleClick,
1459
- leftSection: /* @__PURE__ */ React.createElement(IconPrinter2, null)
1459
+ leftSection: /* @__PURE__ */ React3.createElement(IconPrinter2, null)
1460
1460
  }, rest),
1461
1461
  "In"
1462
1462
  ));
@@ -6258,13 +6258,13 @@ function MyPageContent({ leftTopBar, title, canBack = false, rightTopBar, status
6258
6258
 
6259
6259
  // src/components/Layouts/Tab/MyTab.tsx
6260
6260
  import { rem, Space as Space3, Tabs } from "@mantine/core";
6261
- import React3 from "react";
6261
+ import React4 from "react";
6262
6262
  function MyTab(_a) {
6263
6263
  var _b = _a, { tabList, children } = _b, rest = __objRest(_b, ["tabList", "children"]);
6264
6264
  const iconStyle = { width: rem(20), height: rem(20) };
6265
- return /* @__PURE__ */ React3.createElement(Tabs, __spreadValues({ defaultValue: tabList[0].label }, rest), /* @__PURE__ */ React3.createElement(Tabs.List, null, tabList.map((item, idx) => {
6266
- return /* @__PURE__ */ React3.createElement(Tabs.Tab, { key: idx, value: item.label, leftSection: item.icon && /* @__PURE__ */ React3.createElement(item.icon, { style: iconStyle }) }, item.label);
6267
- })), /* @__PURE__ */ React3.createElement(Space3, { my: "md" }), children);
6265
+ return /* @__PURE__ */ React4.createElement(Tabs, __spreadValues({ defaultValue: tabList[0].label }, rest), /* @__PURE__ */ React4.createElement(Tabs.List, null, tabList.map((item, idx) => {
6266
+ return /* @__PURE__ */ React4.createElement(Tabs.Tab, { key: idx, value: item.label, leftSection: item.icon && /* @__PURE__ */ React4.createElement(item.icon, { style: iconStyle }) }, item.label);
6267
+ })), /* @__PURE__ */ React4.createElement(Space3, { my: "md" }), children);
6268
6268
  }
6269
6269
 
6270
6270
  // src/components/RESTAPIComponents/DataTableSelect/MyDataTableSelect.tsx
@@ -221,7 +221,7 @@ declare function AQSelectTableByOpenModal<TData extends MRT_RowData>({ setSelect
221
221
  interface I$5 extends ButtonProps {
222
222
  contentToPrint?: ReactNode;
223
223
  }
224
- declare function MyButtonPrintPDF({ contentToPrint, ...rest }: I$5): react.JSX.Element;
224
+ declare function MyButtonPrintPDF({ contentToPrint, ...rest }: I$5): react__default.JSX.Element;
225
225
 
226
226
  interface IMyButtonRouterBack extends ButtonProps {
227
227
  url?: string;
@@ -60,7 +60,7 @@ import {
60
60
  useHeaderMegaMenuStore,
61
61
  useS_ButtonImport,
62
62
  utils_layout_getItemsWithoutLinks
63
- } from "../chunk-WJIQCCM6.mjs";
63
+ } from "../chunk-NRCIH2ZV.mjs";
64
64
  import "../chunk-ZEQATKHS.mjs";
65
65
  export {
66
66
  AQButtonCreateByImportFile,
@@ -20,7 +20,7 @@ import {
20
20
  createGenericStore,
21
21
  groupToTwoLevels,
22
22
  utils_layout_getItemsWithoutLinks
23
- } from "../../../chunk-WJIQCCM6.mjs";
23
+ } from "../../../chunk-NRCIH2ZV.mjs";
24
24
  import {
25
25
  U0DateToDDMMYYYString,
26
26
  U0MyValidateEmail,
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "types": "./dist/modules-features//admin/core/index.d.mts"
19
19
  }
20
20
  },
21
- "version": "0.1.35",
21
+ "version": "0.1.37",
22
22
  "private": false,
23
23
  "files": [
24
24
  "dist"
@@ -110,6 +110,10 @@
110
110
  "tsup": "^8.4.0",
111
111
  "typescript": "^5.8.3"
112
112
  },
113
+ "peerDependencies": {
114
+ "react": "^17.0.0 || ^18.0.0",
115
+ "react-dom": "^17.0.0 || ^18.0.0"
116
+ },
113
117
  "description": "",
114
118
  "repository": {
115
119
  "type": "git",