aq-fe-framework 0.1.215 → 0.1.217
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/{chunk-ZFQT5ML6.mjs → chunk-OLCO4ITZ.mjs} +1 -1
- package/dist/{chunk-23JEDPUS.mjs → chunk-TNP22TK7.mjs} +2 -3
- package/dist/components/index.mjs +2 -2
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/modules-features/index.mjs +56 -2
- package/package.json +1 -1
@@ -48,7 +48,7 @@ var useLoadConfig = () => {
|
|
48
48
|
// src/hooks/custom-hooks/createBaseApi.ts
|
49
49
|
function createBaseApi(baseUrl, axiosInstance) {
|
50
50
|
return {
|
51
|
-
getAll: ({ params = "" }) => {
|
51
|
+
getAll: ({ params = "" } = {}) => {
|
52
52
|
return axiosInstance.get(`${baseUrl}/GetAll` + params);
|
53
53
|
},
|
54
54
|
create: (data) => {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import {
|
2
2
|
baseAxios_default,
|
3
3
|
useQ_AQ_GetAQModule
|
4
|
-
} from "./chunk-
|
4
|
+
} from "./chunk-OLCO4ITZ.mjs";
|
5
5
|
import {
|
6
6
|
createGenericStore
|
7
7
|
} from "./chunk-Y3YGC5IH.mjs";
|
@@ -677,7 +677,6 @@ function MyAppSpotlight({ menu }) {
|
|
677
677
|
/* @__PURE__ */ jsxs7(
|
678
678
|
Spotlight.Root,
|
679
679
|
{
|
680
|
-
maxHeight: 800,
|
681
680
|
query,
|
682
681
|
onQueryChange: setQuery,
|
683
682
|
children: [
|
@@ -688,7 +687,7 @@ function MyAppSpotlight({ menu }) {
|
|
688
687
|
leftSection: /* @__PURE__ */ jsx16(IconSearch, { stroke: 1.5 })
|
689
688
|
}
|
690
689
|
),
|
691
|
-
/* @__PURE__ */ jsx16(Spotlight.ActionsList, { children: filteredItems.length > 0 ? filteredItems.map((item, idx) => /* @__PURE__ */ jsx16(
|
690
|
+
/* @__PURE__ */ jsx16(Spotlight.ActionsList, { mah: "800px", children: filteredItems.length > 0 ? filteredItems.map((item, idx) => /* @__PURE__ */ jsx16(
|
692
691
|
Spotlight.Action,
|
693
692
|
{
|
694
693
|
onClick: () => {
|
@@ -65,8 +65,8 @@ import {
|
|
65
65
|
useS_BasicAppShell,
|
66
66
|
useS_ButtonImport,
|
67
67
|
utils_layout_getItemsWithoutLinks
|
68
|
-
} from "../chunk-
|
69
|
-
import "../chunk-
|
68
|
+
} from "../chunk-TNP22TK7.mjs";
|
69
|
+
import "../chunk-OLCO4ITZ.mjs";
|
70
70
|
import "../chunk-Y3YGC5IH.mjs";
|
71
71
|
import "../chunk-5U2JSHSJ.mjs";
|
72
72
|
import "../chunk-7ZCOFATU.mjs";
|
package/dist/hooks/index.d.mts
CHANGED
@@ -12,7 +12,7 @@ interface MyApiResponse<IRes> {
|
|
12
12
|
data: IRes;
|
13
13
|
}
|
14
14
|
declare function createBaseApi<T>(baseUrl: string, axiosInstance: AxiosInstance): {
|
15
|
-
getAll: ({ params }
|
15
|
+
getAll: ({ params }?: {
|
16
16
|
params?: string;
|
17
17
|
}) => Promise<axios.AxiosResponse<MyApiResponse<T[]>, any>>;
|
18
18
|
create: (data: Partial<T>) => Promise<axios.AxiosResponse<MyApiResponse<T>, any>>;
|
package/dist/hooks/index.mjs
CHANGED
@@ -25,12 +25,12 @@ import {
|
|
25
25
|
useS_BasicAppShell,
|
26
26
|
useS_authenticate,
|
27
27
|
utils_layout_getItemsWithoutLinks
|
28
|
-
} from "../chunk-
|
28
|
+
} from "../chunk-TNP22TK7.mjs";
|
29
29
|
import {
|
30
30
|
baseAxios_default,
|
31
31
|
useQ_AQ_GetAQModule,
|
32
32
|
useQ_SkillCenter_GetAll
|
33
|
-
} from "../chunk-
|
33
|
+
} from "../chunk-OLCO4ITZ.mjs";
|
34
34
|
import {
|
35
35
|
createGenericStore
|
36
36
|
} from "../chunk-Y3YGC5IH.mjs";
|
@@ -1527,6 +1527,60 @@ function F_core38677_Save() {
|
|
1527
1527
|
|
1528
1528
|
// src/data/menuData.ts
|
1529
1529
|
var menuData = [
|
1530
|
+
{
|
1531
|
+
label: "Qu\u1EA3n l\xED h\u1EC7 th\u1ED1ng",
|
1532
|
+
links: [
|
1533
|
+
{ pageId: 1, name: "Account management", label: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n", link: "core71678", note: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n c\u1EE7a ng\u01B0\u1EDDi d\xF9ng", status: "Prototype" },
|
1534
|
+
{ pageId: 2, name: "Access control level", label: "Ph\xE2n quy\u1EC1n c\u1EA5p \u0111\u01A1n v\u1ECB", link: "core38677", note: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n c\u1EE7a ng\u01B0\u1EDDi d\xF9ng" },
|
1535
|
+
{ pageId: 3, name: "Access control", label: "Ph\xE2n quy\u1EC1n s\u1EED d\u1EE5ng", link: "core83092", note: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n c\u1EE7a ng\u01B0\u1EDDi d\xF9ng" },
|
1536
|
+
{ pageId: 4, name: "Security regulations", label: "Quy \u0111\u1ECBnh an to\xE0n/ b\u1EA3o m\u1EADt th\xF4ng tin", link: "core76318", status: "Default" },
|
1537
|
+
{ pageId: 5, name: "System updates", label: "Th\xF4ng tin x\xE2y d\u1EF1ng, c\u1EA3i ti\u1EBFn, b\u1EA3o tr\xEC h\u1EC7 th\u1ED1ng", link: "core16209", status: "Default" },
|
1538
|
+
{ pageId: 6, name: "User guide", label: "T\xE0i li\u1EC7u h\u01B0\u1EDBng d\u1EABn s\u1EED d\u1EE5ng", link: "core40207", status: "Default" }
|
1539
|
+
]
|
1540
|
+
},
|
1541
|
+
{
|
1542
|
+
label: "V\u0103n b\u1EA3n - Quy \u0111\u1ECBnh",
|
1543
|
+
links: [
|
1544
|
+
{ pageId: 7, name: "Organizational regulations", label: "V\u0103n b\u1EA3n - Quy \u0111\u1ECBnh t\u1ED5 ch\u1EE9c", link: "core26965", status: "Default" },
|
1545
|
+
{ pageId: 8, name: "Workflow process", label: "Quy tr\xECnh x\u1EED l\xFD c\xF4ng vi\u1EC7c", link: "core27311", status: "Default" },
|
1546
|
+
{ pageId: 9, name: "Form templates", label: "T\xE0i li\u1EC7u bi\u1EC3u m\u1EABu", link: "core12196", status: "Default" }
|
1547
|
+
]
|
1548
|
+
},
|
1549
|
+
{
|
1550
|
+
label: "Danh m\u1EE5c h\u1EC7 th\u1ED1ng ",
|
1551
|
+
links: [
|
1552
|
+
{ pageId: 0, name: "Document categories", label: "Danh m\u1EE5c lo\u1EA1i v\u0103n b\u1EA3n", link: "core18256" },
|
1553
|
+
{ pageId: 0, name: "", label: "Danh m\u1EE5c c\u1EA5u h\xECnh mail", link: "core64229", status: "Default" },
|
1554
|
+
{ pageId: 0, name: "", label: "C\u1EA5u h\xECnh th\xF4ng tin ch\u1EE7 qu\u1EA3n", link: "core60524", status: "Default" }
|
1555
|
+
]
|
1556
|
+
},
|
1557
|
+
{
|
1558
|
+
label: "Qu\u1EA3n l\xED h\u1EC7 th\u1ED1ng",
|
1559
|
+
links: [
|
1560
|
+
{ pageId: 1, name: "Account management", label: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n", link: "core71678", note: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n c\u1EE7a ng\u01B0\u1EDDi d\xF9ng", status: "Prototype" },
|
1561
|
+
{ pageId: 2, name: "Access control level", label: "Ph\xE2n quy\u1EC1n c\u1EA5p \u0111\u01A1n v\u1ECB", link: "core38677", note: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n c\u1EE7a ng\u01B0\u1EDDi d\xF9ng" },
|
1562
|
+
{ pageId: 3, name: "Access control", label: "Ph\xE2n quy\u1EC1n s\u1EED d\u1EE5ng", link: "core83092", note: "Qu\u1EA3n l\xED t\xE0i kho\u1EA3n c\u1EE7a ng\u01B0\u1EDDi d\xF9ng" },
|
1563
|
+
{ pageId: 4, name: "Security regulations", label: "Quy \u0111\u1ECBnh an to\xE0n/ b\u1EA3o m\u1EADt th\xF4ng tin", link: "core76318", status: "Default" },
|
1564
|
+
{ pageId: 5, name: "System updates", label: "Th\xF4ng tin x\xE2y d\u1EF1ng, c\u1EA3i ti\u1EBFn, b\u1EA3o tr\xEC h\u1EC7 th\u1ED1ng", link: "core16209", status: "Default" },
|
1565
|
+
{ pageId: 6, name: "User guide", label: "T\xE0i li\u1EC7u h\u01B0\u1EDBng d\u1EABn s\u1EED d\u1EE5ng", link: "core40207", status: "Default" }
|
1566
|
+
]
|
1567
|
+
},
|
1568
|
+
{
|
1569
|
+
label: "V\u0103n b\u1EA3n - Quy \u0111\u1ECBnh",
|
1570
|
+
links: [
|
1571
|
+
{ pageId: 7, name: "Organizational regulations", label: "V\u0103n b\u1EA3n - Quy \u0111\u1ECBnh t\u1ED5 ch\u1EE9c", link: "core26965", status: "Default" },
|
1572
|
+
{ pageId: 8, name: "Workflow process", label: "Quy tr\xECnh x\u1EED l\xFD c\xF4ng vi\u1EC7c", link: "core27311", status: "Default" },
|
1573
|
+
{ pageId: 9, name: "Form templates", label: "T\xE0i li\u1EC7u bi\u1EC3u m\u1EABu", link: "core12196", status: "Default" }
|
1574
|
+
]
|
1575
|
+
},
|
1576
|
+
{
|
1577
|
+
label: "Danh m\u1EE5c h\u1EC7 th\u1ED1ng ",
|
1578
|
+
links: [
|
1579
|
+
{ pageId: 0, name: "Document categories", label: "Danh m\u1EE5c lo\u1EA1i v\u0103n b\u1EA3n", link: "core18256" },
|
1580
|
+
{ pageId: 0, name: "", label: "Danh m\u1EE5c c\u1EA5u h\xECnh mail", link: "core64229", status: "Default" },
|
1581
|
+
{ pageId: 0, name: "", label: "C\u1EA5u h\xECnh th\xF4ng tin ch\u1EE7 qu\u1EA3n", link: "core60524", status: "Default" }
|
1582
|
+
]
|
1583
|
+
},
|
1530
1584
|
{
|
1531
1585
|
label: "Qu\u1EA3n l\xED h\u1EC7 th\u1ED1ng",
|
1532
1586
|
links: [
|