aq-fe-framework 0.1.138 → 0.1.139

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.
@@ -1,10 +1,7 @@
1
1
  import {
2
2
  baseAxios_default,
3
3
  useQ_AQ_GetAQModule
4
- } from "./chunk-KI5V7QJP.mjs";
5
- import {
6
- createGenericStore
7
- } from "./chunk-Y3YGC5IH.mjs";
4
+ } from "./chunk-Z6OQG54Q.mjs";
8
5
  import {
9
6
  U0DateToDDMMYYYString,
10
7
  U0MyValidateEmail,
@@ -15,6 +12,9 @@ import {
15
12
  import {
16
13
  utils_notification_show
17
14
  } from "./chunk-7ZCOFATU.mjs";
15
+ import {
16
+ createGenericStore
17
+ } from "./chunk-Y3YGC5IH.mjs";
18
18
  import {
19
19
  __objRest,
20
20
  __spreadProps,
@@ -6746,7 +6746,7 @@ function AQCard({
6746
6746
  }
6747
6747
 
6748
6748
  // src/components/DataDisplay/CardInformation/MyCardInformation.tsx
6749
- import { Box as Box2, Button as Button13, Flex as Flex3, Group as Group9, Paper as Paper6, Text as Text8 } from "@mantine/core";
6749
+ import { Box as Box2, Flex as Flex3, Group as Group9, Paper as Paper6, Text as Text8 } from "@mantine/core";
6750
6750
  import { IconArrowDownRight, IconArrowUpRight } from "@tabler/icons-react";
6751
6751
  import { jsx as jsx46, jsxs as jsxs25 } from "react/jsx-runtime";
6752
6752
  function MyCardInformation({
@@ -6754,8 +6754,9 @@ function MyCardInformation({
6754
6754
  value,
6755
6755
  unit = "",
6756
6756
  description,
6757
- icons,
6758
- diff = 0
6757
+ icon,
6758
+ diff = 0,
6759
+ extraControl
6759
6760
  }) {
6760
6761
  return /* @__PURE__ */ jsxs25(
6761
6762
  Paper6,
@@ -6783,7 +6784,7 @@ function MyCardInformation({
6783
6784
  /* @__PURE__ */ jsx46("strong", { children: unit })
6784
6785
  ] })
6785
6786
  ] }),
6786
- /* @__PURE__ */ jsx46(Box2, { children: icons })
6787
+ /* @__PURE__ */ jsx46(Box2, { children: icon })
6787
6788
  ] }),
6788
6789
  /* @__PURE__ */ jsxs25(
6789
6790
  Group9,
@@ -6821,14 +6822,7 @@ function MyCardInformation({
6821
6822
  ),
6822
6823
  /* @__PURE__ */ jsxs25(Group9, { justify: "space-between", children: [
6823
6824
  /* @__PURE__ */ jsx46(Text8, { tt: "uppercase", fz: "xs", c: "dimmed", children: description }),
6824
- /* @__PURE__ */ jsx46(
6825
- Button13,
6826
- {
6827
- variant: "light",
6828
- size: "xs",
6829
- children: "Xem chi ti\u1EBFt"
6830
- }
6831
- )
6825
+ extraControl
6832
6826
  ] })
6833
6827
  ]
6834
6828
  },
@@ -11356,7 +11350,7 @@ import { useRouter as useRouter4 } from "next/navigation";
11356
11350
  // src/modules-features/authenticate/useS_authenticate.ts
11357
11351
  var useStore6 = createGenericStore({
11358
11352
  initialState: { token: "" },
11359
- storageKey: "useS_Authenticate"
11353
+ storageKey: "useS_authenticate"
11360
11354
  });
11361
11355
  function useS_authenticate() {
11362
11356
  const store = useStore6();
@@ -6,7 +6,7 @@ var baseAxios = axios.create({
6
6
  baseAxios.interceptors.request.use(
7
7
  (config) => {
8
8
  var _a, _b;
9
- const tokenData = localStorage.getItem("useS_Authenticate");
9
+ const tokenData = localStorage.getItem("useS_authenticate");
10
10
  const state = JSON.parse(tokenData);
11
11
  const token = (_b = (_a = state == null ? void 0 : state.state) == null ? void 0 : _a.state) == null ? void 0 : _b.token;
12
12
  if (token) {
@@ -281,10 +281,11 @@ interface MyCardInformationProps {
281
281
  value?: string;
282
282
  unit?: string;
283
283
  description?: string;
284
- icons?: ReactNode;
284
+ icon?: ReactNode;
285
285
  diff?: number;
286
+ extraControl?: ReactNode;
286
287
  }
287
- declare function MyCardInformation({ title, value, unit, description, icons, diff }: MyCardInformationProps): react_jsx_runtime.JSX.Element;
288
+ declare function MyCardInformation({ title, value, unit, description, icon, diff, extraControl }: MyCardInformationProps): react_jsx_runtime.JSX.Element;
288
289
 
289
290
  type FormatFunction<TData extends MRT_RowData> = (value: any) => any;
290
291
  interface IDataTable$1<TData extends MRT_RowData> extends MRT_TableOptions<TData> {
@@ -66,11 +66,11 @@ import {
66
66
  useS_BasicAppShell,
67
67
  useS_ButtonImport,
68
68
  utils_layout_getItemsWithoutLinks
69
- } from "../chunk-7U5EGTYK.mjs";
70
- import "../chunk-KI5V7QJP.mjs";
71
- import "../chunk-Y3YGC5IH.mjs";
69
+ } from "../chunk-2TDR7DML.mjs";
70
+ import "../chunk-Z6OQG54Q.mjs";
72
71
  import "../chunk-CJDXLINF.mjs";
73
72
  import "../chunk-7ZCOFATU.mjs";
73
+ import "../chunk-Y3YGC5IH.mjs";
74
74
  import "../chunk-FWCSY2DS.mjs";
75
75
  export {
76
76
  AQButtonCreateByImportFile,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useQ_AQ_GetAQModule
3
- } from "../chunk-KI5V7QJP.mjs";
3
+ } from "../chunk-Z6OQG54Q.mjs";
4
4
  import "../chunk-7ZCOFATU.mjs";
5
5
  import "../chunk-FWCSY2DS.mjs";
6
6
 
@@ -65,11 +65,11 @@ import {
65
65
  useS_core60524,
66
66
  useS_core83092,
67
67
  utils_core83092_mergePage
68
- } from "../chunk-7U5EGTYK.mjs";
69
- import "../chunk-KI5V7QJP.mjs";
70
- import "../chunk-Y3YGC5IH.mjs";
68
+ } from "../chunk-2TDR7DML.mjs";
69
+ import "../chunk-Z6OQG54Q.mjs";
71
70
  import "../chunk-CJDXLINF.mjs";
72
71
  import "../chunk-7ZCOFATU.mjs";
72
+ import "../chunk-Y3YGC5IH.mjs";
73
73
  import "../chunk-FWCSY2DS.mjs";
74
74
  export {
75
75
  F_Authenticate_Login,
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "types": "./dist/hooks/index.d.mts"
23
23
  }
24
24
  },
25
- "version": "0.1.138",
25
+ "version": "0.1.139",
26
26
  "private": false,
27
27
  "files": [
28
28
  "dist"