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.
- package/dist/{MySelect-wDc5_mvd.d.mts → MySelect-CEgpggSF.d.mts} +1 -5
- package/dist/{chunk-Z4ANBHUG.mjs → chunk-TDWUIY6G.mjs} +1293 -1274
- package/dist/components/index.d.mts +4 -0
- package/dist/components/index.mjs +1 -1
- package/dist/core/index.d.mts +10 -4
- package/dist/core/index.mjs +3 -1
- package/dist/coreService/index.mjs +1 -1
- package/dist/modules-features/index.mjs +1 -1
- package/dist/shared/index.d.mts +1 -1
- package/dist/shared/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -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 {
|
package/dist/core/index.d.mts
CHANGED
|
@@ -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-
|
|
18
|
-
export { a as MySelect } from '../MySelect-
|
|
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 };
|
package/dist/core/index.mjs
CHANGED
|
@@ -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-
|
|
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,
|
|
@@ -113,7 +113,7 @@ import {
|
|
|
113
113
|
MailTemplateDeleteButton,
|
|
114
114
|
useS_moduleConfig,
|
|
115
115
|
useStore_Authenticate
|
|
116
|
-
} from "../chunk-
|
|
116
|
+
} from "../chunk-TDWUIY6G.mjs";
|
|
117
117
|
import "../chunk-SUH3FFFV.mjs";
|
|
118
118
|
import "../chunk-RJH5TVHS.mjs";
|
|
119
119
|
import "../chunk-IFV3VC5B.mjs";
|
package/dist/shared/index.d.mts
CHANGED
package/dist/shared/index.mjs
CHANGED