aq-fe-framework 0.1.1114 → 0.1.1116
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,5 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
createGenericStore
|
|
2
|
+
createGenericStore,
|
|
3
3
|
useAppStore,
|
|
4
4
|
useStore_Permission,
|
|
5
5
|
useStore_ProjectInfo
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
utils_text
|
|
27
27
|
} from "./chunk-7ZI7IOEP.mjs";
|
|
28
28
|
import {
|
|
29
|
-
createGenericStore
|
|
29
|
+
createGenericStore as createGenericStore2
|
|
30
30
|
} from "./chunk-BTITP4TN.mjs";
|
|
31
31
|
import {
|
|
32
32
|
const_object_colors,
|
|
@@ -1981,6 +1981,7 @@ function MyDataTable(_a) {
|
|
|
1981
1981
|
case "list":
|
|
1982
1982
|
col.Cell = ({ cell }) => {
|
|
1983
1983
|
const value = cell.getValue();
|
|
1984
|
+
if (!value) return;
|
|
1984
1985
|
if (value.length == 0) return;
|
|
1985
1986
|
return /* @__PURE__ */ jsx33(List, { children: value.map((item, idx) => /* @__PURE__ */ jsx33(List.Item, { children: item }, idx)) });
|
|
1986
1987
|
};
|
|
@@ -7532,7 +7533,7 @@ function AQStatCard2({
|
|
|
7532
7533
|
import { useEffect as useEffect8 } from "react";
|
|
7533
7534
|
|
|
7534
7535
|
// src/components/Layouts/BasicAppShell/useStore_BasicAppShell.ts
|
|
7535
|
-
var useStore =
|
|
7536
|
+
var useStore = createGenericStore2({
|
|
7536
7537
|
initialState: {
|
|
7537
7538
|
menuCode: "",
|
|
7538
7539
|
moduleCode: "Module code",
|
|
@@ -9998,7 +9999,7 @@ import { IconSearch as IconSearch4 } from "@tabler/icons-react";
|
|
|
9998
9999
|
import { useEffect as useEffect19, useMemo as useMemo8, useState as useState18 } from "react";
|
|
9999
10000
|
|
|
10000
10001
|
// src/modules-features/admin/core/accountManagement/useStore_AccountManagement.ts
|
|
10001
|
-
var useStore2 =
|
|
10002
|
+
var useStore2 = createGenericStore({
|
|
10002
10003
|
initialState: {}
|
|
10003
10004
|
});
|
|
10004
10005
|
function useStore_AccountManagement() {
|
|
@@ -12405,7 +12406,7 @@ import { useEffect as useEffect27 } from "react";
|
|
|
12405
12406
|
import { useMutation as useMutation3 } from "@tanstack/react-query";
|
|
12406
12407
|
|
|
12407
12408
|
// src/modules-features/admin/core/moduleConfig/useS_moduleConfig.ts
|
|
12408
|
-
var useStore3 =
|
|
12409
|
+
var useStore3 = createGenericStore2({
|
|
12409
12410
|
initialState: {}
|
|
12410
12411
|
});
|
|
12411
12412
|
function useS_moduleConfig() {
|
|
@@ -14607,7 +14608,7 @@ import { useRouter as useRouter4 } from "next/navigation.js";
|
|
|
14607
14608
|
import { useEffect as useEffect35 } from "react";
|
|
14608
14609
|
|
|
14609
14610
|
// src/modules-features/authenticate/useStore_Authenticate.ts
|
|
14610
|
-
var useStore4 =
|
|
14611
|
+
var useStore4 = createGenericStore2({
|
|
14611
14612
|
initialState: { token: "", saveLogin: false, username: "", password: "", workingUnitId: 0, roleIds: [] },
|
|
14612
14613
|
storageKey: "useStore_Authenticate"
|
|
14613
14614
|
});
|
|
@@ -15437,7 +15438,7 @@ import Link4 from "next/link.js";
|
|
|
15437
15438
|
import classes from "./css.module-4ICLUKPO.module.css";
|
|
15438
15439
|
|
|
15439
15440
|
// src/components/Layouts/HeaderMegaMenu/HeaderMegaMenuStore.ts
|
|
15440
|
-
var useStore5 =
|
|
15441
|
+
var useStore5 = createGenericStore2({
|
|
15441
15442
|
initialState: { name: "\u0110\u0103ng k\xFD kh\xF3a h\u1ECDc" },
|
|
15442
15443
|
storageKey: "HeaderMegaMenuStore"
|
|
15443
15444
|
});
|
|
@@ -16222,7 +16223,7 @@ function MyRichTextEditor(props) {
|
|
|
16222
16223
|
editor.commands.setContent(props.value || "", false);
|
|
16223
16224
|
}
|
|
16224
16225
|
}, [props.value, editor]);
|
|
16225
|
-
return /* @__PURE__ */ jsx197(Input2.Wrapper, __spreadProps(__spreadValues({}, props.inputWrapperProps), { children: /* @__PURE__ */ jsxs105(MantineRichTextEditor, __spreadProps(__spreadValues({ editor }, props.richTextEditorProps), { children: [
|
|
16226
|
+
return /* @__PURE__ */ jsx197(Input2.Wrapper, __spreadProps(__spreadValues({ label: props.label }, props.inputWrapperProps), { children: /* @__PURE__ */ jsxs105(MantineRichTextEditor, __spreadProps(__spreadValues({ editor }, props.richTextEditorProps), { children: [
|
|
16226
16227
|
/* @__PURE__ */ jsx197(DisabledControl, { disabled: !(editor == null ? void 0 : editor.isEditable), children: /* @__PURE__ */ jsxs105(MantineRichTextEditor.Toolbar, __spreadProps(__spreadValues({}, props.richTextEditorToolBarProps), { children: [
|
|
16227
16228
|
/* @__PURE__ */ jsxs105(MantineRichTextEditor.ControlsGroup, { children: [
|
|
16228
16229
|
/* @__PURE__ */ jsx197(MantineRichTextEditor.Bold, {}),
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
getReadablePageIdSet,
|
|
66
66
|
useHeaderMegaMenuStore,
|
|
67
67
|
useStore_BasicAppShell
|
|
68
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-SETQFCAA.mjs";
|
|
69
69
|
import "../chunk-WW55EZ4B.mjs";
|
|
70
70
|
import "../chunk-KGBXMHKR.mjs";
|
|
71
71
|
import "../chunk-7ZI7IOEP.mjs";
|
package/dist/core/index.d.mts
CHANGED
|
@@ -189,6 +189,7 @@ interface MyFileInputPreviewProps extends FileInputProps {
|
|
|
189
189
|
declare function MyFileInputPreview({ label, ...rest }: MyFileInputPreviewProps): react_jsx_runtime.JSX.Element;
|
|
190
190
|
|
|
191
191
|
interface MyRichTextEditorProps {
|
|
192
|
+
label?: ReactNode;
|
|
192
193
|
value?: string;
|
|
193
194
|
onChange?: (value: string) => void;
|
|
194
195
|
onBlur?: (value: string) => void;
|
package/dist/core/index.mjs
CHANGED
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
MyStatsCard,
|
|
36
36
|
MyTextInput2 as MyTextInput,
|
|
37
37
|
MyWeeklySessionSchedulerPicker
|
|
38
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-SETQFCAA.mjs";
|
|
39
39
|
import "../chunk-WW55EZ4B.mjs";
|
|
40
40
|
import "../chunk-KGBXMHKR.mjs";
|
|
41
41
|
import "../chunk-7ZI7IOEP.mjs";
|
package/dist/shared/index.mjs
CHANGED