aq-fe-framework 0.1.300 → 0.1.302

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.
@@ -7151,14 +7151,14 @@ function MyDateInput(_a) {
7151
7151
  return /* @__PURE__ */ jsx49(DateInput, __spreadValues({ label, placeholder: label ? `Ch\u1ECDn ${label == null ? void 0 : label.toLowerCase()}` : "" }, rest));
7152
7152
  }
7153
7153
 
7154
- // src/components/Inputs/DayOfWeekPicker/MyDayOfWeekPicker.tsx
7154
+ // src/components/Inputs/DayOfWeekPicker/CoreDayOfWeekPicker.tsx
7155
7155
  import { Badge as Badge3, Group as Group15 } from "@mantine/core";
7156
7156
  import { jsx as jsx50 } from "react/jsx-runtime";
7157
7157
  var days = Object.entries(enum_daysOfWeek).filter(([key]) => isNaN(Number(key))).map(([label, value]) => ({ label, value }));
7158
- function MyDayOfWeekPicker({ value = [], onChange }) {
7158
+ function CoreDayOfWeekPicker({ value = [], onChange }) {
7159
7159
  const toggle = (val) => {
7160
7160
  if (!onChange) return;
7161
- const newValue = value.includes(val) ? value.filter((v5) => v5 !== val) : [...value, val];
7161
+ const newValue = value.includes(val) ? value.filter((v5) => v5 !== val) : [...value, val].sort((a5, b4) => a5 - b4);
7162
7162
  onChange(newValue);
7163
7163
  };
7164
7164
  return /* @__PURE__ */ jsx50(MyFlexRow, { align: "center", children: /* @__PURE__ */ jsx50(Group15, { gap: "xs", children: days.map((d5) => /* @__PURE__ */ jsx50(
@@ -7488,7 +7488,7 @@ function MyWeeklySessionSchedulerPicker({
7488
7488
  const getLabel = (day) => enum_daysOfWeek[day] || `Day ${day}`;
7489
7489
  return /* @__PURE__ */ jsx56(Paper7, { w: "100%", p: "md", children: /* @__PURE__ */ jsxs31(MyFlexColumn, { children: [
7490
7490
  /* @__PURE__ */ jsx56(Center4, { children: /* @__PURE__ */ jsx56(
7491
- MyDayOfWeekPicker,
7491
+ CoreDayOfWeekPicker,
7492
7492
  {
7493
7493
  value: selectedDays,
7494
7494
  onChange: (days2) => {
@@ -8348,7 +8348,7 @@ export {
8348
8348
  useS_BasicAppShell,
8349
8349
  FaviconSetter,
8350
8350
  MyDateInput,
8351
- MyDayOfWeekPicker,
8351
+ CoreDayOfWeekPicker,
8352
8352
  MyFieldset,
8353
8353
  MyFileInput,
8354
8354
  MyNumberInput,
@@ -387,11 +387,11 @@ interface IDateInput extends DateInputProps {
387
387
  }
388
388
  declare function MyDateInput({ label, ...rest }: IDateInput): react_jsx_runtime.JSX.Element;
389
389
 
390
- interface MyDayOfWeekPickerProps {
390
+ interface CoreDayOfWeekPickerProps {
391
391
  value?: number[];
392
392
  onChange?: (val: number[]) => void;
393
393
  }
394
- declare function MyDayOfWeekPicker({ value, onChange }: MyDayOfWeekPickerProps): react_jsx_runtime.JSX.Element;
394
+ declare function CoreDayOfWeekPicker({ value, onChange }: CoreDayOfWeekPickerProps): react_jsx_runtime.JSX.Element;
395
395
 
396
396
  interface IFieldset extends FieldsetProps {
397
397
  children?: ReactNode;
@@ -584,4 +584,4 @@ interface IMySkeletonTable extends SkeletonProps {
584
584
  }
585
585
  declare function MySkeletonTable({ h }: IMySkeletonTable): react_jsx_runtime.JSX.Element;
586
586
 
587
- export { AQButtonCreateByImportFile, AQButtonExportData, AQCard, AQSelectTableByOpenModal, AQStatCard1, Boxes, CoreActionIcon, CoreButton, CoreButtonCreateUpdate, CoreButtonModal, FaviconSetter, HeaderMegaMenu, type IAQCardProps, type IMyTextEditor, type IWeeklySession, I_BasicAppShell_LinkItem, MyActionIcon, MyActionIconCheck, MyActionIconDelete, MyActionIconDownloadPDF, MyActionIconModal, MyActionIconUpdate, MyActionIconUpload, MyActionIconViewPDF, MyAnchorViewPDF, MyAppSpotlight, MyBoxesBackground, MyBoxesCore, MyButton, MyButtonCreate, MyButtonDeleteList, MyButtonImport, MyButtonModal, MyButtonPrintPDF, MyButtonPrintTablePDF, MyButtonRouterBack, MyButtonViewPDF, MyCalendar, MyCardInformation, MyCardioLoader, MyCenterFull, MyCheckbox, MyContainer, MyDataTable, type MyDataTableInternalProps, type MyDataTableProps, MyDataTableSelect, MyDateInput, MyDayOfWeekPicker, MyFieldset, MyFileInput, MyFlexColumn, MyFlexEnd, MyFlexRow, MyHtmlWrapper, MyIconText, MyKeyLabel, MyNumberFormatter, MyNumberInput, MyPageContent, MyScheduleX, MySelect, MySelectAPIGet, MySkeletonTable, MySwitchTheme, MyTab, MyTextArea, MyTextEditor, MyTextInput, MyWeeklySessionSchedulerPicker, SelectFieldModal, SelectFileModal, type SelectFileModalProps, type WeeklySessionSchedulerProps, useHeaderMegaMenuStore, useS_BasicAppShell, useS_ButtonImport };
587
+ export { AQButtonCreateByImportFile, AQButtonExportData, AQCard, AQSelectTableByOpenModal, AQStatCard1, Boxes, CoreActionIcon, CoreButton, CoreButtonCreateUpdate, CoreButtonModal, CoreDayOfWeekPicker, FaviconSetter, HeaderMegaMenu, type IAQCardProps, type IMyTextEditor, type IWeeklySession, I_BasicAppShell_LinkItem, MyActionIcon, MyActionIconCheck, MyActionIconDelete, MyActionIconDownloadPDF, MyActionIconModal, MyActionIconUpdate, MyActionIconUpload, MyActionIconViewPDF, MyAnchorViewPDF, MyAppSpotlight, MyBoxesBackground, MyBoxesCore, MyButton, MyButtonCreate, MyButtonDeleteList, MyButtonImport, MyButtonModal, MyButtonPrintPDF, MyButtonPrintTablePDF, MyButtonRouterBack, MyButtonViewPDF, MyCalendar, MyCardInformation, MyCardioLoader, MyCenterFull, MyCheckbox, MyContainer, MyDataTable, type MyDataTableInternalProps, type MyDataTableProps, MyDataTableSelect, MyDateInput, MyFieldset, MyFileInput, MyFlexColumn, MyFlexEnd, MyFlexRow, MyHtmlWrapper, MyIconText, MyKeyLabel, MyNumberFormatter, MyNumberInput, MyPageContent, MyScheduleX, MySelect, MySelectAPIGet, MySkeletonTable, MySwitchTheme, MyTab, MyTextArea, MyTextEditor, MyTextInput, MyWeeklySessionSchedulerPicker, SelectFieldModal, SelectFileModal, type SelectFileModalProps, type WeeklySessionSchedulerProps, useHeaderMegaMenuStore, useS_BasicAppShell, useS_ButtonImport };
@@ -11,6 +11,7 @@ import {
11
11
  CoreButton,
12
12
  CoreButtonCreateUpdate,
13
13
  CoreButtonModal,
14
+ CoreDayOfWeekPicker,
14
15
  FaviconSetter,
15
16
  HeaderMegaMenu,
16
17
  MyActionIcon,
@@ -43,7 +44,6 @@ import {
43
44
  MyDataTable,
44
45
  MyDataTableSelect,
45
46
  MyDateInput,
46
- MyDayOfWeekPicker,
47
47
  MyFieldset,
48
48
  MyFileInput,
49
49
  MyFlexColumn,
@@ -72,7 +72,7 @@ import {
72
72
  useS_BasicAppShell,
73
73
  useS_ButtonImport,
74
74
  utils_layout_getItemsWithoutLinks
75
- } from "../chunk-H6DIQRQY.mjs";
75
+ } from "../chunk-EBLXYOGZ.mjs";
76
76
  import "../chunk-NWBLJ3W3.mjs";
77
77
  import "../chunk-K6S7R6LU.mjs";
78
78
  import "../chunk-KKJ3OEEW.mjs";
@@ -93,6 +93,7 @@ export {
93
93
  CoreButton,
94
94
  CoreButtonCreateUpdate,
95
95
  CoreButtonModal,
96
+ CoreDayOfWeekPicker,
96
97
  FaviconSetter,
97
98
  HeaderMegaMenu,
98
99
  MyActionIcon,
@@ -125,7 +126,6 @@ export {
125
126
  MyDataTable,
126
127
  MyDataTableSelect,
127
128
  MyDateInput,
128
- MyDayOfWeekPicker,
129
129
  MyFieldset,
130
130
  MyFileInput,
131
131
  MyFlexColumn,
@@ -24,7 +24,7 @@ import {
24
24
  useS_BasicAppShell,
25
25
  useS_authenticate,
26
26
  utils_layout_getItemsWithoutLinks
27
- } from "../chunk-H6DIQRQY.mjs";
27
+ } from "../chunk-EBLXYOGZ.mjs";
28
28
  import {
29
29
  const_object_documentTypes
30
30
  } from "../chunk-GFEMKKFH.mjs";
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "types": "./dist/enum/index.d.mts"
35
35
  }
36
36
  },
37
- "version": "0.1.300",
37
+ "version": "0.1.302",
38
38
  "private": false,
39
39
  "files": [
40
40
  "dist"