@asaleh37/ui-base 25.8.1-1 → 25.8.1-11
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/.github/workflows/publish-npm.yml +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/index.ts +0 -1
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormFields/Datefield.tsx +17 -1
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormFields/DatetimeField.tsx +3 -0
- package/src/components/templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid.tsx +1 -1
- package/src/components/templates/index.ts +2 -0
- package/src/hooks/index.ts +9 -0
- package/src/index.ts +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
|
|
3
3
|
import { TextFieldProps, SxProps } from '@mui/material';
|
|
4
4
|
export * from '@mui/material';
|
|
5
5
|
export * from 'zod';
|
|
6
|
+
import * as zod from 'zod';
|
|
7
|
+
export { zod as z };
|
|
6
8
|
export * from '@mui/lab';
|
|
7
9
|
export { toast } from 'react-toastify';
|
|
8
10
|
export { FontAwesomeIcon, FontAwesomeIconProps } from '@fortawesome/react-fontawesome';
|
|
@@ -10,9 +12,12 @@ import * as react from 'react';
|
|
|
10
12
|
import react__default from 'react';
|
|
11
13
|
import { GridColDef, GridRowSelectionModel, DataGridPremiumProps, GridToolbarProps, ToolbarPropsOverrides } from '@mui/x-data-grid-premium';
|
|
12
14
|
import { UseFormReturn } from 'react-hook-form';
|
|
15
|
+
export { useForm } from 'react-hook-form';
|
|
13
16
|
import { TFunction } from 'i18next';
|
|
14
17
|
export * from '@mui/x-tree-view/models';
|
|
15
18
|
export { useParams } from 'react-router-dom';
|
|
19
|
+
export { zodResolver } from '@hookform/resolvers/zod';
|
|
20
|
+
export { useDispatch, useSelector } from 'react-redux';
|
|
16
21
|
import { ResponseType } from 'axios';
|
|
17
22
|
|
|
18
23
|
interface SystemRoute {
|
|
@@ -553,6 +558,8 @@ declare const TemplatePieChart: React.FC<WidgetProps>;
|
|
|
553
558
|
|
|
554
559
|
declare const DashboardRouteView: React.FC;
|
|
555
560
|
|
|
561
|
+
declare const FormElementField: React.FC<FormElementFieldProps>;
|
|
562
|
+
|
|
556
563
|
interface APIRequest {
|
|
557
564
|
endPointURI: string;
|
|
558
565
|
parameters?: any;
|
|
@@ -638,5 +645,5 @@ declare const LIGHT_THEME_INITIAL_SECANDARY_COLOR = "#ff6d00";
|
|
|
638
645
|
declare const DARK_THEME_INITIAL_MAIN_COLOR = "#ea690e";
|
|
639
646
|
declare const DARK_THEME_INITIAL_SECANDARY_COLOR = "#74776B";
|
|
640
647
|
|
|
641
|
-
export { AttachmentCard, AttachmentImageViewer, AttachmentPanel, BaseApp, CheckBox, ComboBox, DARK_THEME_INITIAL_MAIN_COLOR, DARK_THEME_INITIAL_SECANDARY_COLOR, DATE_FORMAT, DATE_TIME_FORMAT, DashboardRouteView, DashboardViewer, Datefield, DatetimeField, ExcelReportViewer, LIGHT_THEME_INITIAL_MAIN_COLOR, LIGHT_THEME_INITIAL_SECANDARY_COLOR, ReportViewer, SystemLookupCombobox, TemplateBarChart, TemplateDataCard, TemplateForm, TemplateGauge, TemplateGrid, TemplateLineChart, TemplateLineProgress, TemplatePieChart, TemplateTextField, TransferList, WorkflowDocumentPanel, WorkflowDocumentTimeLine, WorkflowRouteComponent, capitalizeFirstLetter, constructGridColumnsFromFields, constructValidationSchema, getAllFields, getElementFields, getGridSelection, hasDigitsOnly, isNumber, isNumeric, isValidEmail, timeAgo, useApiActions, useAxios, useConfirmationWindow, useIsMobile, useLoadingMask, useSession, useWindow };
|
|
648
|
+
export { AttachmentCard, AttachmentImageViewer, AttachmentPanel, BaseApp, CheckBox, ComboBox, DARK_THEME_INITIAL_MAIN_COLOR, DARK_THEME_INITIAL_SECANDARY_COLOR, DATE_FORMAT, DATE_TIME_FORMAT, DashboardRouteView, DashboardViewer, Datefield, DatetimeField, ExcelReportViewer, FormElementField as FormElement, LIGHT_THEME_INITIAL_MAIN_COLOR, LIGHT_THEME_INITIAL_SECANDARY_COLOR, ReportViewer, SystemLookupCombobox, TemplateBarChart, TemplateDataCard, TemplateForm, TemplateGauge, TemplateGrid, TemplateLineChart, TemplateLineProgress, TemplatePieChart, TemplateTextField, TransferList, WorkflowDocumentPanel, WorkflowDocumentTimeLine, WorkflowRouteComponent, capitalizeFirstLetter, constructGridColumnsFromFields, constructValidationSchema, getAllFields, getElementFields, getGridSelection, hasDigitsOnly, isNumber, isNumeric, isValidEmail, timeAgo, useApiActions, useAxios, useConfirmationWindow, useIsMobile, useLoadingMask, useSession, useWindow };
|
|
642
649
|
export type { CommonStores, CommonStoresInterface, EditDeleteAction, ExtendedTreeItemProps, FormActionProps, FormElementFieldProps, FormElementGroupProps, FormElementNodeProps, FormElementProps, FormElementSize, GridSelection, MakeOptional, ModalFormProps, RecordAction, RecordFieldProps, StoreMetaData, SystemRoute, TemplateFormProps, TemplateGridAttachmentProps, TemplateGridColDef, TemplateGridColumnProps, TemplateGridProps, TemplateGridTopBarProps, TransferListProps };
|