aq-fe-framework 0.1.821 → 0.1.823

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.
@@ -363,6 +363,10 @@ interface INumberInput extends NumberInputProps {
363
363
  minValue?: number;
364
364
  maxValue?: number;
365
365
  }
366
+ /**
367
+ * @deprecated Component này sẽ không xài nữa
368
+ * Vui lòng dùng `CustomNumberInput` từ `core` thay thế.
369
+ */
366
370
  declare function MyNumberInput({ minValue, maxValue, label, ...rest }: INumberInput): react_jsx_runtime.JSX.Element;
367
371
 
368
372
  interface IMyTextArea extends TextareaProps {
@@ -70,7 +70,7 @@ import {
70
70
  useHeaderMegaMenuStore,
71
71
  useS_ButtonImport,
72
72
  useStore_BasicAppShell
73
- } from "../chunk-Z4ANBHUG.mjs";
73
+ } from "../chunk-TDWUIY6G.mjs";
74
74
  import "../chunk-SUH3FFFV.mjs";
75
75
  import "../chunk-RJH5TVHS.mjs";
76
76
  import "../chunk-IFV3VC5B.mjs";
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { type_action } from '../types/index.mjs';
3
- import { ActionIconProps, ButtonProps, ModalProps, ScrollAreaAutosizeProps, TooltipProps, TextProps, PaperProps, GroupProps, ThemeIconProps, AutocompleteProps, TextInputProps, FileInputProps, InputWrapperProps, FlexProps } from '@mantine/core';
3
+ import { ActionIconProps, ButtonProps, ModalProps, ScrollAreaAutosizeProps, TooltipProps, TextProps, PaperProps, GroupProps, ThemeIconProps, AutocompleteProps, NumberInputProps, TextInputProps, FileInputProps, InputWrapperProps, FlexProps } from '@mantine/core';
4
4
  import { ReactNode, ComponentProps } from 'react';
5
5
  import { useDisclosure } from '@mantine/hooks';
6
6
  import { UseFormReturnType } from '@mantine/form';
@@ -14,8 +14,8 @@ import { MRT_RowData, MRT_ColumnDef } from 'mantine-react-table';
14
14
  import { M as MyDataTableProps } from '../MyDataTable-BZc8ObyA.mjs';
15
15
  import { RichTextEditorProps, RichTextEditorToolbarProps, RichTextEditorContentProps } from '@mantine/tiptap';
16
16
  import { UseEditorOptions } from '@tiptap/react';
17
- import { M as MySelectProps } from '../MySelect-wDc5_mvd.mjs';
18
- export { a as MySelect } from '../MySelect-wDc5_mvd.mjs';
17
+ import { M as MySelectProps } from '../MySelect-CEgpggSF.mjs';
18
+ export { a as MySelect } from '../MySelect-CEgpggSF.mjs';
19
19
  import { I as IBaseEntity } from '../IBaseEntity-ChMy9RzQ.mjs';
20
20
  export { a as MyModalDelete, M as MyModalDeleteProps } from '../MyModalDelete-BfH3xRRW.mjs';
21
21
  import '../type_mutation-CCtnyeP3.mjs';
@@ -171,6 +171,12 @@ interface CustomAutocompleteProps extends AutocompleteProps {
171
171
  }
172
172
  declare function CustomAutocomplete({ label, ...rest }: CustomAutocompleteProps): react_jsx_runtime.JSX.Element;
173
173
 
174
+ interface CustomNumberInputProps extends NumberInputProps {
175
+ label?: string;
176
+ inputType?: "number" | "currency";
177
+ }
178
+ declare function CustomNumberInput({ min, max, label, inputType, ...rest }: CustomNumberInputProps): react_jsx_runtime.JSX.Element;
179
+
174
180
  interface MyTextInputProps extends TextInputProps {
175
181
  label?: string;
176
182
  defaultValue?: string;
@@ -297,4 +303,4 @@ interface ValidationResult {
297
303
  rows?: RowDetail[];
298
304
  }
299
305
 
300
- export { CustomAutocomplete, CustomPhoneNumberInput, CustomThemeIconSquareCheck, DroppablePlaceholder, type FieldDefinition, type IWeeklySession, type ModalImportId, MyActionIcon, type MyActionIconProps, MyButton, MyButtonCreateUpdate, type MyButtonExportStructureProps, MyButtonModal, MyButtonModalForm, type MyButtonModalFormProps, type MyButtonModalProps, MyButtonPrintPDF, type MyButtonPrintPDFProps, type MyButtonProps, MyButtonViewFile, MyButtonViewFileAPI, MyDataTableSelectOne, MyDataTableStagedChanges, type MyDataTableStagedChangesProps, MyDayOfWeekPicker, MyFileInputPreview, MyFlexColumn, MyFlexEnd, MyFlexIconTitle, MyInfoBox, type MyInfoBoxItem, type MyInfoBoxProps, MyLabelValueRow, MyModalImport, MyPrintContent, type MyPrintContentProps, MyRichTextEditor, MySelectFromAPI, type MySelectFromAPIProps, MySelectProps, MyStatsCard, MyTextInput, type MyTextInputProps, MyWeeklySessionSchedulerPicker, type RowDetail, type StagedChange, type ValidationResult, type WeeklySessionSchedulerProps };
306
+ export { CustomAutocomplete, CustomNumberInput, type CustomNumberInputProps, CustomPhoneNumberInput, CustomThemeIconSquareCheck, DroppablePlaceholder, type FieldDefinition, type IWeeklySession, type ModalImportId, MyActionIcon, type MyActionIconProps, MyButton, MyButtonCreateUpdate, type MyButtonExportStructureProps, MyButtonModal, MyButtonModalForm, type MyButtonModalFormProps, type MyButtonModalProps, MyButtonPrintPDF, type MyButtonPrintPDFProps, type MyButtonProps, MyButtonViewFile, MyButtonViewFileAPI, MyDataTableSelectOne, MyDataTableStagedChanges, type MyDataTableStagedChangesProps, MyDayOfWeekPicker, MyFileInputPreview, MyFlexColumn, MyFlexEnd, MyFlexIconTitle, MyInfoBox, type MyInfoBoxItem, type MyInfoBoxProps, MyLabelValueRow, MyModalImport, MyPrintContent, type MyPrintContentProps, MyRichTextEditor, MySelectFromAPI, type MySelectFromAPIProps, MySelectProps, MyStatsCard, MyTextInput, type MyTextInputProps, MyWeeklySessionSchedulerPicker, type RowDetail, type StagedChange, type ValidationResult, type WeeklySessionSchedulerProps };
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  CustomAutocomplete,
3
+ CustomNumberInput,
3
4
  CustomPhoneNumberInput,
4
5
  CustomThemeIconSquareCheck,
5
6
  DroppablePlaceholder,
@@ -29,7 +30,7 @@ import {
29
30
  MyStatsCard,
30
31
  MyTextInput2 as MyTextInput,
31
32
  MyWeeklySessionSchedulerPicker
32
- } from "../chunk-Z4ANBHUG.mjs";
33
+ } from "../chunk-TDWUIY6G.mjs";
33
34
  import "../chunk-SUH3FFFV.mjs";
34
35
  import "../chunk-RJH5TVHS.mjs";
35
36
  import "../chunk-IFV3VC5B.mjs";
@@ -44,6 +45,7 @@ import "../chunk-7ZCOFATU.mjs";
44
45
  import "../chunk-FWCSY2DS.mjs";
45
46
  export {
46
47
  CustomAutocomplete,
48
+ CustomNumberInput,
47
49
  CustomPhoneNumberInput,
48
50
  CustomThemeIconSquareCheck,
49
51
  DroppablePlaceholder,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MyModalDelete
3
- } from "../chunk-Z4ANBHUG.mjs";
3
+ } from "../chunk-TDWUIY6G.mjs";
4
4
  import "../chunk-SUH3FFFV.mjs";
5
5
  import "../chunk-RJH5TVHS.mjs";
6
6
  import "../chunk-IFV3VC5B.mjs";
@@ -113,7 +113,7 @@ import {
113
113
  MailTemplateDeleteButton,
114
114
  useS_moduleConfig,
115
115
  useStore_Authenticate
116
- } from "../chunk-Z4ANBHUG.mjs";
116
+ } from "../chunk-TDWUIY6G.mjs";
117
117
  import "../chunk-SUH3FFFV.mjs";
118
118
  import "../chunk-RJH5TVHS.mjs";
119
119
  import "../chunk-IFV3VC5B.mjs";
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { M as MySelectProps } from '../MySelect-wDc5_mvd.mjs';
2
+ import { M as MySelectProps } from '../MySelect-CEgpggSF.mjs';
3
3
  import '@mantine/core';
4
4
  import 'react';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MySelect
3
- } from "../chunk-Z4ANBHUG.mjs";
3
+ } from "../chunk-TDWUIY6G.mjs";
4
4
  import "../chunk-SUH3FFFV.mjs";
5
5
  import "../chunk-RJH5TVHS.mjs";
6
6
  import {
package/package.json CHANGED
@@ -58,7 +58,7 @@
58
58
  "types": "./dist/types/index.d.mts"
59
59
  }
60
60
  },
61
- "version": "0.1.821",
61
+ "version": "0.1.823",
62
62
  "private": false,
63
63
  "files": [
64
64
  "dist"