aq-fe-framework 0.1.468 → 0.1.469

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.
@@ -1855,21 +1855,7 @@ function MyButtonPrintPDF(_a) {
1855
1855
  handlePrint();
1856
1856
  }
1857
1857
  return /* @__PURE__ */ jsxs18(Fragment10, { children: [
1858
- /* @__PURE__ */ jsx30("div", { style: { display: "none" }, children: /* @__PURE__ */ jsx30(
1859
- "div",
1860
- {
1861
- ref: printRef,
1862
- style: {
1863
- padding: autoPadding ? "2cm 2cm 2cm 3cm" : void 0,
1864
- width: "21cm",
1865
- // A4 chuẩn ngang
1866
- boxSizing: "border-box",
1867
- overflow: "hidden"
1868
- // ngăn scroll ngang
1869
- },
1870
- children: contentToPrint
1871
- }
1872
- ) }),
1858
+ /* @__PURE__ */ jsx30("div", { style: { display: "none" }, children: /* @__PURE__ */ jsx30("div", { ref: printRef, style: { padding: autoPadding ? "2cm 2cm 2cm 3cm" : void 0 }, children: contentToPrint }) }),
1873
1859
  /* @__PURE__ */ jsx30(Button10, __spreadProps(__spreadValues({ color: "orange", onClick: handleClick, leftSection: /* @__PURE__ */ jsx30(IconPrinter2, {}) }, rest), { children }))
1874
1860
  ] });
1875
1861
  }
@@ -2,7 +2,7 @@ import {
2
2
  MyDataTable,
3
3
  MyFlexColumn,
4
4
  MyFlexRow
5
- } from "./chunk-VOOTPG5M.mjs";
5
+ } from "./chunk-CBVZOVX3.mjs";
6
6
  import {
7
7
  const_object_colors
8
8
  } from "./chunk-OMJJAHOC.mjs";
@@ -65,7 +65,7 @@ import {
65
65
  useS_BasicAppShell,
66
66
  useS_ButtonImport,
67
67
  utils_layout_getItemsWithoutLinks
68
- } from "../chunk-VOOTPG5M.mjs";
68
+ } from "../chunk-CBVZOVX3.mjs";
69
69
  import "../chunk-U62R2QKJ.mjs";
70
70
  import "../chunk-5U2JSHSJ.mjs";
71
71
  import "../chunk-OMJJAHOC.mjs";
@@ -16,11 +16,11 @@ import {
16
16
  MyStatsCard,
17
17
  MyTextInput,
18
18
  MyWeeklySessionSchedulerPicker
19
- } from "../chunk-AKBUP7ME.mjs";
20
- import "../chunk-VOOTPG5M.mjs";
19
+ } from "../chunk-OECVRR7R.mjs";
20
+ import "../chunk-GFEMKKFH.mjs";
21
+ import "../chunk-CBVZOVX3.mjs";
21
22
  import "../chunk-U62R2QKJ.mjs";
22
23
  import "../chunk-5U2JSHSJ.mjs";
23
- import "../chunk-GFEMKKFH.mjs";
24
24
  import "../chunk-OMJJAHOC.mjs";
25
25
  import "../chunk-K6S7R6LU.mjs";
26
26
  import "../chunk-KFSAV44B.mjs";
@@ -12,16 +12,19 @@ import {
12
12
  U0DateToDDMMYYYString
13
13
  } from "../chunk-EWDS5IOF.mjs";
14
14
  import {
15
- MyButton as MyButton2,
15
+ MyButton,
16
16
  MyDataTableSelectOne,
17
17
  MyTextInput as MyTextInput2
18
- } from "../chunk-AKBUP7ME.mjs";
18
+ } from "../chunk-OECVRR7R.mjs";
19
+ import {
20
+ const_object_documentTypes
21
+ } from "../chunk-GFEMKKFH.mjs";
19
22
  import {
20
23
  F_authenticate_Logout,
21
24
  MyActionIconDelete,
22
25
  MyActionIconUpdate,
23
26
  MyBoxesBackground,
24
- MyButton,
27
+ MyButton as MyButton2,
25
28
  MyButtonCreate,
26
29
  MyButtonModal,
27
30
  MyButtonViewPDF,
@@ -41,14 +44,11 @@ import {
41
44
  groupToTwoLevels,
42
45
  useS_authenticate,
43
46
  utils_layout_getItemsWithoutLinks
44
- } from "../chunk-VOOTPG5M.mjs";
47
+ } from "../chunk-CBVZOVX3.mjs";
45
48
  import {
46
49
  createGenericStore
47
50
  } from "../chunk-U62R2QKJ.mjs";
48
51
  import "../chunk-5U2JSHSJ.mjs";
49
- import {
50
- const_object_documentTypes
51
- } from "../chunk-GFEMKKFH.mjs";
52
52
  import {
53
53
  const_object_colors
54
54
  } from "../chunk-OMJJAHOC.mjs";
@@ -466,7 +466,7 @@ function F_accessControl_Save() {
466
466
  }
467
467
  disable[1](false);
468
468
  }, [store.state.rolePermissions]);
469
- return /* @__PURE__ */ jsx3(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
469
+ return /* @__PURE__ */ jsx3(MyButton2, { disabled: disable[0], crudType: "save", onClick: handleSave });
470
470
  }
471
471
 
472
472
  // src/modules-features/admin/core/accessControl/F_accessControl.tsx
@@ -828,7 +828,7 @@ function F_accessControlLevel_Save() {
828
828
  }
829
829
  disable[1](false);
830
830
  }, [store.state.rolePermissions]);
831
- return /* @__PURE__ */ jsx7(MyButton, { disabled: disable[0], crudType: "save", onClick: handleSave });
831
+ return /* @__PURE__ */ jsx7(MyButton2, { disabled: disable[0], crudType: "save", onClick: handleSave });
832
832
  }
833
833
 
834
834
  // src/modules-features/admin/core/accessControlLevel/F_accessControlLevel.tsx
@@ -2599,7 +2599,7 @@ function F_core35923() {
2599
2599
  /* @__PURE__ */ jsx40(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx40(MyFileInput, { label: "Favicon (16px x 16px)" }) }),
2600
2600
  /* @__PURE__ */ jsx40(Grid3.Col, { span: { base: 12, md: 6 }, children: /* @__PURE__ */ jsx40(MyFileInput, { label: "Logo (330px x 115px)" }) })
2601
2601
  ] }),
2602
- /* @__PURE__ */ jsx40(MyFlexEnd, { children: /* @__PURE__ */ jsx40(MyButton, { crudType: "save" }) })
2602
+ /* @__PURE__ */ jsx40(MyFlexEnd, { children: /* @__PURE__ */ jsx40(MyButton2, { crudType: "save" }) })
2603
2603
  ] });
2604
2604
  }
2605
2605
 
@@ -3980,7 +3980,7 @@ function F_moduleConfig_Save({
3980
3980
  });
3981
3981
  }
3982
3982
  return /* @__PURE__ */ jsx74(
3983
- MyButton,
3983
+ MyButton2,
3984
3984
  {
3985
3985
  disabled: !form.isDirty(),
3986
3986
  crudType: "save",
@@ -4445,13 +4445,13 @@ import { useMemo as useMemo18 } from "react";
4445
4445
  // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_DeleteDescription.tsx
4446
4446
  import { jsx as jsx82 } from "react/jsx-runtime";
4447
4447
  function F_pageContentConfig_DeleteDescription() {
4448
- return /* @__PURE__ */ jsx82(MyButton2, { actionType: "delete" });
4448
+ return /* @__PURE__ */ jsx82(MyButton, { actionType: "delete" });
4449
4449
  }
4450
4450
 
4451
4451
  // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_Export.tsx
4452
4452
  import { jsx as jsx83 } from "react/jsx-runtime";
4453
4453
  function F_pageContentConfig_Export() {
4454
- return /* @__PURE__ */ jsx83(MyButton2, { actionType: "export" });
4454
+ return /* @__PURE__ */ jsx83(MyButton, { actionType: "export" });
4455
4455
  }
4456
4456
 
4457
4457
  // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_Save.tsx
@@ -4463,7 +4463,7 @@ function F_pageContentConfig_Save({ menuValues }) {
4463
4463
  return service_pageContent.updateList([{ id: 1 }]);
4464
4464
  }
4465
4465
  });
4466
- return /* @__PURE__ */ jsx84(MyButton2, { actionType: "save", onClick: () => updatePageConfigMutation.mutate({}) });
4466
+ return /* @__PURE__ */ jsx84(MyButton, { actionType: "save", onClick: () => updatePageConfigMutation.mutate({}) });
4467
4467
  }
4468
4468
 
4469
4469
  // 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.468",
45
+ "version": "0.1.469",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"