aq-fe-framework 0.1.961 → 0.1.962

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,7 +1,7 @@
1
1
  import {
2
2
  createGenericStore,
3
3
  createGenericStore2
4
- } from "../chunk-2C57OWJX.mjs";
4
+ } from "../chunk-YGWSHSTG.mjs";
5
5
  import {
6
6
  baseAxios_default
7
7
  } from "../chunk-YWANA62C.mjs";
@@ -86,7 +86,7 @@ function createRepository(baseUrl, mapper, extra) {
86
86
 
87
87
  // src/build-object/createTenantSettingsStore.ts
88
88
  function createTenantSettingsStore(params) {
89
- const useStore = createGenericStore({
89
+ const useStore = createGenericStore2({
90
90
  initialState: params.initialState || {},
91
91
  storageKey: params.storageKey || "useStore_TenantSettings"
92
92
  });
@@ -103,7 +103,7 @@ function createTenantSettingsStore(params) {
103
103
  }
104
104
  export {
105
105
  createBaseUrl,
106
- createGenericStore2 as createGenericStore,
106
+ createGenericStore,
107
107
  createMapper,
108
108
  createRepository,
109
109
  createTenantSettingsStore
@@ -1,6 +1,6 @@
1
1
  import {
2
- createGenericStore2 as createGenericStore
3
- } from "./chunk-2C57OWJX.mjs";
2
+ createGenericStore
3
+ } from "./chunk-YGWSHSTG.mjs";
4
4
  import {
5
5
  __spreadValues
6
6
  } from "./chunk-JD6AELXS.mjs";
@@ -1,7 +1,12 @@
1
1
  import {
2
2
  useStore_Permission,
3
3
  useStore_ProjectInfo
4
- } from "./chunk-Q75LZPR4.mjs";
4
+ } from "./chunk-BJAYNNOF.mjs";
5
+ import {
6
+ utils_date,
7
+ utils_excel,
8
+ utils_mantineReactTable
9
+ } from "./chunk-ZDINCHBS.mjs";
5
10
  import {
6
11
  utils_aq_mapBaseEntityToDomain,
7
12
  utils_aq_mapDomainToEntity,
@@ -17,20 +22,15 @@ import {
17
22
  utils_pdf_download
18
23
  } from "./chunk-KGBXMHKR.mjs";
19
24
  import {
20
- utils_date,
21
- utils_excel,
22
- utils_mantineReactTable
23
- } from "./chunk-ZDINCHBS.mjs";
25
+ createGenericStore2 as createGenericStore
26
+ } from "./chunk-YGWSHSTG.mjs";
24
27
  import {
25
- createGenericStore
26
- } from "./chunk-2C57OWJX.mjs";
28
+ enum_daysOfWeek
29
+ } from "./chunk-K6S7R6LU.mjs";
27
30
  import {
28
31
  const_object_colors,
29
32
  const_object_documentTypes
30
33
  } from "./chunk-SPG47QW7.mjs";
31
- import {
32
- enum_daysOfWeek
33
- } from "./chunk-K6S7R6LU.mjs";
34
34
  import {
35
35
  createBaseApi,
36
36
  useConfig,
@@ -654,9 +654,9 @@ function MyButtonViewFile(_a) {
654
654
  return /* @__PURE__ */ jsx11(
655
655
  MyButtonModal,
656
656
  __spreadProps(__spreadValues({
657
- disclosure: disc,
658
- modalProps: { title: "Xem t\xE0i li\u1EC7u tr\u1EF1c ti\u1EBFp", size: isPreviewable(file == null ? void 0 : file.fileExtension) ? "80%" : "auto" }
657
+ disclosure: disc
659
658
  }, rest), {
659
+ modalProps: __spreadValues({ title: "Xem t\xE0i li\u1EC7u tr\u1EF1c ti\u1EBFp", size: isPreviewable(file == null ? void 0 : file.fileExtension) ? "80%" : "auto" }, rest.modalProps),
660
660
  toolTipProps: __spreadValues({
661
661
  label: file ? void 0 : "Kh\xF4ng c\xF3 file \u0111\u1EC3 hi\u1EC3n th\u1ECB"
662
662
  }, rest.toolTipProps),
@@ -14709,11 +14709,11 @@ function F_organizationPolicyDocs({ RegulationsTypeId }) {
14709
14709
  }
14710
14710
 
14711
14711
  // src/modules/PageContent/Usecase/Usecase_PageContentTable.tsx
14712
- import { Button as Button19, Group as Group27, TextInput as TextInput7 } from "@mantine/core";
14712
+ import { Group as Group27, TextInput as TextInput7 } from "@mantine/core";
14713
14713
  import { useMemo as useMemo26 } from "react";
14714
14714
  import { jsx as jsx169, jsxs as jsxs99 } from "react/jsx-runtime";
14715
14715
  function Usecase_PageContentTable(_a) {
14716
- var _b = _a, { data, onSave } = _b, rest = __objRest(_b, ["data", "onSave"]);
14716
+ var _b = _a, { data, isLoadingSave, onSave } = _b, rest = __objRest(_b, ["data", "isLoadingSave", "onSave"]);
14717
14717
  const { editedRows, handleFieldChange } = useEditableRows();
14718
14718
  const columns = useMemo26(() => [
14719
14719
  {
@@ -14779,13 +14779,14 @@ function Usecase_PageContentTable(_a) {
14779
14779
  },
14780
14780
  renderTopToolbarCustomActions: ({ table }) => /* @__PURE__ */ jsxs99(Group27, { children: [
14781
14781
  /* @__PURE__ */ jsx169(
14782
- Button19,
14782
+ MyButton,
14783
14783
  {
14784
+ actionType: "save",
14784
14785
  hidden: !onSave,
14786
+ loading: isLoadingSave,
14785
14787
  onClick: () => {
14786
14788
  onSave == null ? void 0 : onSave(editedRows);
14787
- },
14788
- children: "L\u01B0u"
14789
+ }
14789
14790
  }
14790
14791
  ),
14791
14792
  /* @__PURE__ */ jsx169(MyButton, { actionType: "export" })
@@ -14843,7 +14844,10 @@ function Feat_PageContentTable({ menuData }) {
14843
14844
  pageDocumentFileDetail: await utils_file_fileToAQDocumentType(item.file)
14844
14845
  })));
14845
14846
  mutation.mutate(transformed);
14846
- }
14847
+ },
14848
+ isLoading: query.isLoading,
14849
+ isError: query.isError,
14850
+ isLoadingSave: mutation.isPending
14847
14851
  }
14848
14852
  );
14849
14853
  }
@@ -14868,7 +14872,7 @@ function F_pageContentConfig_Save({ menuValues }) {
14868
14872
  },
14869
14873
  mutationType: "update"
14870
14874
  });
14871
- return /* @__PURE__ */ jsx172(MyButton, { actionType: "save", onClick: () => updatePageConfigMutation.mutate(menuValues) });
14875
+ return /* @__PURE__ */ jsx172(MyButton, { actionType: "save", loading: updatePageConfigMutation.isPending, onClick: () => updatePageConfigMutation.mutate(menuValues) });
14872
14876
  }
14873
14877
 
14874
14878
  // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_ReadMenu.tsx
@@ -16458,7 +16462,7 @@ function F_workflowProcessDocs({
16458
16462
  import {
16459
16463
  Anchor as Anchor2,
16460
16464
  BackgroundImage,
16461
- Button as Button20,
16465
+ Button as Button19,
16462
16466
  Center as Center11,
16463
16467
  Checkbox as Checkbox6,
16464
16468
  Flex as Flex8,
@@ -16614,7 +16618,7 @@ function Feat_Authenticate_Login({
16614
16618
  showForgotPassword && /* @__PURE__ */ jsx208(Anchor2, { component: Link3, href: "quen-mat-khau", size: "sm", children: "Qu\xEAn m\u1EADt kh\u1EA9u?" })
16615
16619
  ] }),
16616
16620
  showLoginButton && /* @__PURE__ */ jsx208(
16617
- Button20,
16621
+ Button19,
16618
16622
  __spreadProps(__spreadValues({
16619
16623
  loading: mutation.isPending,
16620
16624
  type: "submit",
@@ -16640,7 +16644,7 @@ function useM_Account_Sigin() {
16640
16644
  }
16641
16645
 
16642
16646
  // src/modules-features/authenticate/Feat_Authenticate_Logout.tsx
16643
- import { Button as Button21 } from "@mantine/core";
16647
+ import { Button as Button20 } from "@mantine/core";
16644
16648
  import { IconLogout } from "@tabler/icons-react";
16645
16649
  import { useRouter as useRouter5 } from "next/navigation.js";
16646
16650
  import { jsx as jsx209 } from "react/jsx-runtime";
@@ -16648,7 +16652,7 @@ function Feat_Authenticate_Logout({ redirectURL = "/auth/login" }) {
16648
16652
  const router = useRouter5();
16649
16653
  const authenticateStore = useStore_Authenticate();
16650
16654
  const permissionStore = useStore_Permission();
16651
- return /* @__PURE__ */ jsx209(Button21, { onClick: () => {
16655
+ return /* @__PURE__ */ jsx209(Button20, { onClick: () => {
16652
16656
  authenticateStore.setState({});
16653
16657
  permissionStore.setState({});
16654
16658
  router.replace(redirectURL);
@@ -16756,7 +16760,7 @@ function F_authenticate_SplashPage() {
16756
16760
  }
16757
16761
 
16758
16762
  // src/modules-features/authenticate/tokenExpired/Feat_TokenExpired.tsx
16759
- import { Button as Button22, Card as Card2, CardSection, Center as Center12, Text as Text20, Title as Title3 } from "@mantine/core";
16763
+ import { Button as Button21, Card as Card2, CardSection, Center as Center12, Text as Text20, Title as Title3 } from "@mantine/core";
16760
16764
  import { Clock, LogIn, Shield } from "lucide-react";
16761
16765
  import { jsx as jsx212, jsxs as jsxs121 } from "react/jsx-runtime";
16762
16766
  function Feat_TokenExpired({
@@ -16784,7 +16788,7 @@ function Feat_TokenExpired({
16784
16788
  ] }),
16785
16789
  /* @__PURE__ */ jsxs121(CardSection, { className: "space-y-6 pt-0", children: [
16786
16790
  /* @__PURE__ */ jsxs121(
16787
- Button22,
16791
+ Button21,
16788
16792
  {
16789
16793
  onClick: handleLogin,
16790
16794
  className: "w-full h-12 bg-gradient-to-r from-blue-600 to-indigo-600 hover:from-blue-700 hover:to-indigo-700 text-white font-semibold rounded-xl shadow-lg shadow-blue-500/25 transition-all duration-300 hover:shadow-xl hover:shadow-blue-500/30 hover:scale-[1.02]",
@@ -16827,7 +16831,7 @@ import { useDisclosure as useDisclosure16 } from "@mantine/hooks";
16827
16831
  import { KeyRound } from "lucide-react";
16828
16832
 
16829
16833
  // src/modules/User/components/ForgotPassword/User_ForgotPasswordModal.tsx
16830
- import { Button as Button23, Modal as Modal16, PasswordInput as PasswordInput4, Stack as Stack10 } from "@mantine/core";
16834
+ import { Button as Button22, Modal as Modal16, PasswordInput as PasswordInput4, Stack as Stack10 } from "@mantine/core";
16831
16835
  import { useForm as useForm42 } from "@mantine/form";
16832
16836
 
16833
16837
  // src/modules/User/components/ForgotPassword/useForgotPassword.ts
@@ -16886,7 +16890,7 @@ function User_ForgotPasswordModal({
16886
16890
  /* @__PURE__ */ jsx213(PasswordInput4, __spreadValues({ label: "M\u1EADt kh\u1EA9u hi\u1EC7n t\u1EA1i", placeholder: "Nh\u1EADp m\u1EADt kh\u1EA9u hi\u1EC7n t\u1EA1i" }, form.getInputProps("currentPassWord"))),
16887
16891
  /* @__PURE__ */ jsx213(PasswordInput4, __spreadValues({ label: "M\u1EADt kh\u1EA9u m\u1EDBi", placeholder: "Nh\u1EADp m\u1EADt kh\u1EA9u m\u1EDBi" }, form.getInputProps("newPassWord"))),
16888
16892
  /* @__PURE__ */ jsx213(PasswordInput4, __spreadValues({ label: "X\xE1c nh\u1EADn m\u1EADt kh\u1EA9u m\u1EDBi", placeholder: "Nh\u1EADp x\xE1c nh\u1EADn m\u1EADt kh\u1EA9u m\u1EDBi" }, form.getInputProps("confirmNewPassWord"))),
16889
- /* @__PURE__ */ jsx213(Button23, { loading, type: "submit", children: "\u0110\u1ED5i m\u1EADt kh\u1EA9u" })
16893
+ /* @__PURE__ */ jsx213(Button22, { loading, type: "submit", children: "\u0110\u1ED5i m\u1EADt kh\u1EA9u" })
16890
16894
  ] }) })
16891
16895
  }
16892
16896
  );
@@ -17274,7 +17278,7 @@ function MyContainer(_a) {
17274
17278
  import {
17275
17279
  Box as Box6,
17276
17280
  Burger,
17277
- Button as Button24,
17281
+ Button as Button23,
17278
17282
  Container as Container2,
17279
17283
  Divider as Divider4,
17280
17284
  Drawer,
@@ -17362,7 +17366,7 @@ function HeaderMegaMenu({ children, menus }) {
17362
17366
  /* @__PURE__ */ jsx218("header", { className: css_default.header, children: /* @__PURE__ */ jsxs126(Group34, { justify: "space-between", h: "100%", children: [
17363
17367
  /* @__PURE__ */ jsxs126(Group34, { children: [
17364
17368
  /* @__PURE__ */ jsx218(Image5, { src: "/imgs/0/IMG0LogoAQTech.png", h: 30, alt: "", w: "auto" }),
17365
- /* @__PURE__ */ jsx218(Group34, { h: "100%", gap: 5, visibleFrom: "sm", children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx218(Button24, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) })
17369
+ /* @__PURE__ */ jsx218(Group34, { h: "100%", gap: 5, visibleFrom: "sm", children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx218(Button23, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) })
17366
17370
  ] }),
17367
17371
  /* @__PURE__ */ jsxs126(Group34, { children: [
17368
17372
  /* @__PURE__ */ jsx218(TextInput11, { placeholder: "T\xECm ki\u1EBFm", leftSection: /* @__PURE__ */ jsx218(IconSearch6, {}), radius: "xl", w: "250px" }),
@@ -17383,7 +17387,7 @@ function HeaderMegaMenu({ children, menus }) {
17383
17387
  zIndex: 1e6,
17384
17388
  children: /* @__PURE__ */ jsxs126(ScrollArea5, { h: "calc(100vh - 80px", mx: "-md", children: [
17385
17389
  /* @__PURE__ */ jsx218(Divider4, { my: "sm" }),
17386
- /* @__PURE__ */ jsx218(MyFlexColumn2, { h: "100%", gap: 0, children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx218(Button24, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) }),
17390
+ /* @__PURE__ */ jsx218(MyFlexColumn2, { h: "100%", gap: 0, children: menus == null ? void 0 : menus.map((item, idx) => /* @__PURE__ */ jsx218(Button23, { component: Link4, href: item.href, variant: HeaderMegaMenuStore.state.name == item.label ? "light" : "subtle", onClick: () => HeaderMegaMenuStore.setState({ name: item.label }), children: item.label }, idx)) }),
17387
17391
  /* @__PURE__ */ jsx218(Divider4, { my: "sm" })
17388
17392
  ] })
17389
17393
  }
@@ -17407,7 +17411,7 @@ import { Badge as Badge7, Breadcrumbs, Center as Center13, Container as Containe
17407
17411
  import { useClipboard, useDisclosure as useDisclosure18 } from "@mantine/hooks";
17408
17412
  import { notifications as notifications8 } from "@mantine/notifications";
17409
17413
  import { IconBrandParsinta } from "@tabler/icons-react";
17410
- import { useEffect as useEffect39 } from "react";
17414
+ import { useEffect as useEffect39, useState as useState30 } from "react";
17411
17415
 
17412
17416
  // src/components/Layouts/PageContent/utils.ts
17413
17417
  function getFinalLinkVieo(url) {
@@ -17471,6 +17475,7 @@ function MyPageContent({
17471
17475
  var _a;
17472
17476
  const basicAppShellStore = useStore_BasicAppShell();
17473
17477
  const clipboard = useClipboard({ timeout: 500 });
17478
+ const fileGuildDetailState = useState30();
17474
17479
  const query = useMyReactQuery({
17475
17480
  queryKey: ["MyButtonViewPDF", basicAppShellStore.state.fileGuildePath],
17476
17481
  axiosFn: async () => {
@@ -17483,9 +17488,9 @@ function MyPageContent({
17483
17488
  const videoDisc = useDisclosure18();
17484
17489
  const finalTitle = title || basicAppShellStore.state.title;
17485
17490
  useEffect39(() => {
17486
- basicAppShellStore.setProperty("fileGuildDetail", void 0);
17491
+ fileGuildDetailState[1](void 0);
17487
17492
  if (!query.data) return;
17488
- basicAppShellStore.setProperty("fileGuildDetail", query.data);
17493
+ fileGuildDetailState[1](query.data);
17489
17494
  }, [query.data]);
17490
17495
  return /* @__PURE__ */ jsxs127(Container3, { p: 0, fluid: true, children: [
17491
17496
  /* @__PURE__ */ jsxs127(Group35, { justify: "space-between", children: [
@@ -17540,13 +17545,13 @@ function MyPageContent({
17540
17545
  label: "Xem t\xE0i li\u1EC7u h\u01B0\u1EDBng d\u1EABn"
17541
17546
  },
17542
17547
  actionIconProps: {
17543
- disabled: basicAppShellStore.state.fileGuildDetail == void 0
17548
+ disabled: fileGuildDetailState[0] == void 0,
17549
+ loading: query.isLoading
17544
17550
  },
17545
17551
  modalProps: {
17546
- title: "T\xE0i li\u1EC7u h\u01B0\u1EDBng d\u1EABn",
17547
- size: "80%"
17552
+ title: "T\xE0i li\u1EC7u h\u01B0\u1EDBng d\u1EABn"
17548
17553
  },
17549
- file: basicAppShellStore.state.fileGuildDetail || { fileBase64String: "", fileExtension: "", fileName: "" }
17554
+ file: fileGuildDetailState[0] || { fileBase64String: "", fileExtension: "", fileName: "" }
17550
17555
  }
17551
17556
  )
17552
17557
  ] }),
@@ -17587,7 +17592,7 @@ function MyTab(_a) {
17587
17592
  }
17588
17593
 
17589
17594
  // src/components/RESTAPIComponents/DataTableSelect/MyDataTableSelect.tsx
17590
- import { ActionIcon as ActionIcon12, Button as Button25, Fieldset as Fieldset5, Group as Group36, Modal as Modal17 } from "@mantine/core";
17595
+ import { ActionIcon as ActionIcon12, Button as Button24, Fieldset as Fieldset5, Group as Group36, Modal as Modal17 } from "@mantine/core";
17591
17596
  import { useDisclosure as useDisclosure19 } from "@mantine/hooks";
17592
17597
  import { IconX as IconX4 } from "@tabler/icons-react";
17593
17598
  import { jsx as jsx221, jsxs as jsxs129 } from "react/jsx-runtime";
@@ -17602,7 +17607,7 @@ function MyDataTableSelect(_a) {
17602
17607
  renderTopToolbarCustomActions: ({ table }) => {
17603
17608
  return /* @__PURE__ */ jsxs129(Group36, { children: [
17604
17609
  renderTopToolbarCustomActions && renderTopToolbarCustomActions({ table }),
17605
- /* @__PURE__ */ jsx221(Button25, { onClick: disc[1].open, children: selectButtonlabel || "Ch\u1ECDn t\u1EEB danh s\xE1ch" })
17610
+ /* @__PURE__ */ jsx221(Button24, { onClick: disc[1].open, children: selectButtonlabel || "Ch\u1ECDn t\u1EEB danh s\xE1ch" })
17606
17611
  ] });
17607
17612
  },
17608
17613
  columns,
@@ -17616,7 +17621,7 @@ function MyDataTableSelect(_a) {
17616
17621
  MyDataTable,
17617
17622
  __spreadValues({
17618
17623
  renderTopToolbarCustomActions: ({ table }) => {
17619
- return /* @__PURE__ */ jsx221(Button25, { onClick: () => {
17624
+ return /* @__PURE__ */ jsx221(Button24, { onClick: () => {
17620
17625
  table.getSelectedRowModel().rows.map((item) => listState[1].append(item.original));
17621
17626
  disc[1].close();
17622
17627
  }, children: "Ch\u1ECDn" });
@@ -17664,7 +17669,7 @@ function MySelectAPIGet(_a) {
17664
17669
  // src/components/ScheduleX/MyScheduleX.tsx
17665
17670
  import { useNextCalendarApp as useNextCalendarApp2, ScheduleXCalendar as ScheduleXCalendar2 } from "@schedule-x/react";
17666
17671
  import { createEventsServicePlugin as createEventsServicePlugin2 } from "@schedule-x/events-service";
17667
- import { useState as useState30 } from "react";
17672
+ import { useState as useState31 } from "react";
17668
17673
  import { createEventModalPlugin as createEventModalPlugin2 } from "@schedule-x/event-modal";
17669
17674
  import { jsx as jsx223 } from "react/jsx-runtime";
17670
17675
  function MyScheduleX({
@@ -17675,8 +17680,8 @@ function MyScheduleX({
17675
17680
  startDayBoundaries = "05:00",
17676
17681
  endDayBoundaries = "21:00"
17677
17682
  }) {
17678
- const eventsService = useState30(() => createEventsServicePlugin2())[0];
17679
- const eventModalPlugin = useState30(() => createEventModalPlugin2())[0];
17683
+ const eventsService = useState31(() => createEventsServicePlugin2())[0];
17684
+ const eventModalPlugin = useState31(() => createEventModalPlugin2())[0];
17680
17685
  const calendar = useNextCalendarApp2({
17681
17686
  locale: "vi-VN",
17682
17687
  dayBoundaries: {
@@ -17786,7 +17791,7 @@ function MyDataTableSelectOne({
17786
17791
  // src/core/dataDisplay/MyDataTableStagedChanges.tsx
17787
17792
  import { Group as Group37, Stack as Stack12 } from "@mantine/core";
17788
17793
  import { useDisclosure as useDisclosure20 } from "@mantine/hooks";
17789
- import { useEffect as useEffect41, useState as useState31 } from "react";
17794
+ import { useEffect as useEffect41, useState as useState32 } from "react";
17790
17795
  import { jsx as jsx228, jsxs as jsxs130 } from "react/jsx-runtime";
17791
17796
  function MyDataTableStagedChanges(_a) {
17792
17797
  var _b = _a, {
@@ -17805,8 +17810,8 @@ function MyDataTableStagedChanges(_a) {
17805
17810
  "readOnly"
17806
17811
  ]);
17807
17812
  const disc = useDisclosure20();
17808
- const [currentIds, setCurrentIds] = useState31(initIds);
17809
- const rowSelectionState = useState31({});
17813
+ const [currentIds, setCurrentIds] = useState32(initIds);
17814
+ const rowSelectionState = useState32({});
17810
17815
  const triggerChange = (nextIds) => {
17811
17816
  const deletedIds = initIds.filter((id) => !nextIds.includes(id));
17812
17817
  const addedIds = nextIds.filter((id) => !initIds.includes(id));
@@ -18311,7 +18316,7 @@ function MyTextInput2(_a) {
18311
18316
 
18312
18317
  // src/core/input/MyWeeklySessionSchedulerPicker.tsx
18313
18318
  import {
18314
- Button as Button26,
18319
+ Button as Button25,
18315
18320
  Center as Center14,
18316
18321
  Divider as Divider6,
18317
18322
  Group as Group41,
@@ -18321,13 +18326,13 @@ import {
18321
18326
  Text as Text29
18322
18327
  } from "@mantine/core";
18323
18328
  import { IconPlus as IconPlus9, IconTrash as IconTrash8 } from "@tabler/icons-react";
18324
- import { useState as useState32 } from "react";
18329
+ import { useState as useState33 } from "react";
18325
18330
  import { jsx as jsx242, jsxs as jsxs136 } from "react/jsx-runtime";
18326
18331
  function MyWeeklySessionSchedulerPicker({
18327
18332
  value = [],
18328
18333
  onChange
18329
18334
  }) {
18330
- const [selectedDays, setSelectedDays] = useState32([]);
18335
+ const [selectedDays, setSelectedDays] = useState33([]);
18331
18336
  const handleAddSession = (dayOfWeek) => {
18332
18337
  const newSession = {
18333
18338
  dayOfWeek,
@@ -18377,7 +18382,7 @@ function MyWeeklySessionSchedulerPicker({
18377
18382
  /* @__PURE__ */ jsxs136(Group41, { gap: "apart", children: [
18378
18383
  /* @__PURE__ */ jsx242(Text29, { w: "70px", fw: 500, children: getLabel(dayOfWeek) }),
18379
18384
  /* @__PURE__ */ jsx242(
18380
- Button26,
18385
+ Button25,
18381
18386
  {
18382
18387
  color: "teal.5",
18383
18388
  leftSection: /* @__PURE__ */ jsx242(IconPlus9, { size: 14 }),
@@ -18432,7 +18437,7 @@ function MyWeeklySessionSchedulerPicker({
18432
18437
  }
18433
18438
  ),
18434
18439
  /* @__PURE__ */ jsx242(
18435
- Button26,
18440
+ Button25,
18436
18441
  {
18437
18442
  variant: "light",
18438
18443
  color: "red",
@@ -18524,7 +18529,7 @@ import { jsx as jsx246, jsxs as jsxs138 } from "react/jsx-runtime";
18524
18529
 
18525
18530
  // src/core/overlays/MyModalStackImport/Usecase/FileImportValidationModal.tsx
18526
18531
  import {
18527
- Button as Button27,
18532
+ Button as Button26,
18528
18533
  Group as Group43,
18529
18534
  Modal as Modal19,
18530
18535
  Table as Table6
@@ -414,7 +414,6 @@ interface I$2 {
414
414
  moduleName?: string;
415
415
  logoFileDetail?: IAQFileDetail;
416
416
  faviconFileDetail?: IAQFileDetail;
417
- fileGuildDetail?: IAQFileDetail;
418
417
  fileGuildePath?: string;
419
418
  currentPageId?: number;
420
419
  opened: boolean;
@@ -68,13 +68,13 @@ import {
68
68
  useHeaderMegaMenuStore,
69
69
  useS_ButtonImport,
70
70
  useStore_BasicAppShell
71
- } from "../chunk-EBC7HHN4.mjs";
72
- import "../chunk-Q75LZPR4.mjs";
73
- import "../chunk-KGBXMHKR.mjs";
71
+ } from "../chunk-F4CEDQKF.mjs";
72
+ import "../chunk-BJAYNNOF.mjs";
74
73
  import "../chunk-ZDINCHBS.mjs";
75
- import "../chunk-2C57OWJX.mjs";
76
- import "../chunk-SPG47QW7.mjs";
74
+ import "../chunk-KGBXMHKR.mjs";
75
+ import "../chunk-YGWSHSTG.mjs";
77
76
  import "../chunk-K6S7R6LU.mjs";
77
+ import "../chunk-SPG47QW7.mjs";
78
78
  import "../chunk-G2IMUVMM.mjs";
79
79
  import "../chunk-WZ6PXGGC.mjs";
80
80
  import "../chunk-YWANA62C.mjs";
@@ -31,13 +31,13 @@ import {
31
31
  MyStatsCard,
32
32
  MyTextInput2 as MyTextInput,
33
33
  MyWeeklySessionSchedulerPicker
34
- } from "../chunk-EBC7HHN4.mjs";
35
- import "../chunk-Q75LZPR4.mjs";
36
- import "../chunk-KGBXMHKR.mjs";
34
+ } from "../chunk-F4CEDQKF.mjs";
35
+ import "../chunk-BJAYNNOF.mjs";
37
36
  import "../chunk-ZDINCHBS.mjs";
38
- import "../chunk-2C57OWJX.mjs";
39
- import "../chunk-SPG47QW7.mjs";
37
+ import "../chunk-KGBXMHKR.mjs";
38
+ import "../chunk-YGWSHSTG.mjs";
40
39
  import "../chunk-K6S7R6LU.mjs";
40
+ import "../chunk-SPG47QW7.mjs";
41
41
  import "../chunk-G2IMUVMM.mjs";
42
42
  import "../chunk-WZ6PXGGC.mjs";
43
43
  import "../chunk-YWANA62C.mjs";
@@ -102,13 +102,13 @@ import {
102
102
  MailTemplateDeleteButton,
103
103
  useS_moduleConfig,
104
104
  useStore_Authenticate
105
- } from "../chunk-EBC7HHN4.mjs";
106
- import "../chunk-Q75LZPR4.mjs";
107
- import "../chunk-KGBXMHKR.mjs";
105
+ } from "../chunk-F4CEDQKF.mjs";
106
+ import "../chunk-BJAYNNOF.mjs";
108
107
  import "../chunk-ZDINCHBS.mjs";
109
- import "../chunk-2C57OWJX.mjs";
110
- import "../chunk-SPG47QW7.mjs";
108
+ import "../chunk-KGBXMHKR.mjs";
109
+ import "../chunk-YGWSHSTG.mjs";
111
110
  import "../chunk-K6S7R6LU.mjs";
111
+ import "../chunk-SPG47QW7.mjs";
112
112
  import "../chunk-G2IMUVMM.mjs";
113
113
  import "../chunk-WZ6PXGGC.mjs";
114
114
  import "../chunk-YWANA62C.mjs";
@@ -4,15 +4,15 @@ import {
4
4
  } from "../chunk-RGUQWALX.mjs";
5
5
  import {
6
6
  MySelect
7
- } from "../chunk-EBC7HHN4.mjs";
8
- import "../chunk-Q75LZPR4.mjs";
9
- import "../chunk-KGBXMHKR.mjs";
7
+ } from "../chunk-F4CEDQKF.mjs";
8
+ import "../chunk-BJAYNNOF.mjs";
10
9
  import {
11
10
  utils_converter
12
11
  } from "../chunk-ZDINCHBS.mjs";
13
- import "../chunk-2C57OWJX.mjs";
14
- import "../chunk-SPG47QW7.mjs";
12
+ import "../chunk-KGBXMHKR.mjs";
13
+ import "../chunk-YGWSHSTG.mjs";
15
14
  import "../chunk-K6S7R6LU.mjs";
15
+ import "../chunk-SPG47QW7.mjs";
16
16
  import "../chunk-G2IMUVMM.mjs";
17
17
  import "../chunk-WZ6PXGGC.mjs";
18
18
  import "../chunk-YWANA62C.mjs";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  useStore_Permission,
3
3
  useStore_ProjectInfo
4
- } from "../chunk-Q75LZPR4.mjs";
4
+ } from "../chunk-BJAYNNOF.mjs";
5
5
  import {
6
- createGenericStore
7
- } from "../chunk-2C57OWJX.mjs";
6
+ createGenericStore2 as createGenericStore
7
+ } from "../chunk-YGWSHSTG.mjs";
8
8
  import "../chunk-JD6AELXS.mjs";
9
9
  export {
10
10
  createGenericStore,
package/package.json CHANGED
@@ -54,7 +54,7 @@
54
54
  "types": "./dist/build-object/index.d.mts"
55
55
  }
56
56
  },
57
- "version": "0.1.961",
57
+ "version": "0.1.962",
58
58
  "private": false,
59
59
  "files": [
60
60
  "dist"
@@ -3,7 +3,7 @@ import {
3
3
  __spreadValues
4
4
  } from "./chunk-JD6AELXS.mjs";
5
5
 
6
- // src/stores/CreateGenericStore.ts
6
+ // src/build-object/CreateGenericStore.ts
7
7
  import { create } from "zustand";
8
8
  import { persist } from "zustand/middleware";
9
9
  function createGenericStore({ initialState, storageKey }) {
@@ -16,7 +16,7 @@ function createGenericStore({ initialState, storageKey }) {
16
16
  return storageKey ? create(persist(storeCreator, { name: storageKey })) : create(storeCreator);
17
17
  }
18
18
 
19
- // src/build-object/CreateGenericStore.ts
19
+ // src/stores/CreateGenericStore.ts
20
20
  import { create as create2 } from "zustand";
21
21
  import { persist as persist2 } from "zustand/middleware";
22
22
  function createGenericStore2({ initialState, storageKey }) {