@asaleh37/ui-base 25.8.31 → 25.9.1

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/index.d.ts CHANGED
@@ -74,6 +74,13 @@ type AppInfo = {
74
74
  [key: string]: string;
75
75
  };
76
76
  };
77
+ authenticationMethod: "AZURE" | "APP";
78
+ azureConfiguration?: {
79
+ frontEndClientId: string;
80
+ tenantId: string;
81
+ redirectURL: string;
82
+ scopes: Array<string>;
83
+ };
77
84
  businessRoutes?: Array<SystemRoute>;
78
85
  businessNavigationItems?: Array<ExtendedTreeItemProps>;
79
86
  businessReduxReducers?: {
@@ -665,6 +672,8 @@ declare function isNumeric(value: string): boolean;
665
672
  declare function capitalizeFirstLetter(str: string): string;
666
673
  declare function isValidEmail(email: any): boolean;
667
674
  declare function timeAgo(dateInput: any, appDirection: "ltr" | "rtl"): string;
675
+ declare const formatDate: (date: any, format: any) => string;
676
+ declare const parseStringToDate: (dateString: any, format: any) => Date;
668
677
 
669
678
  declare const DATE_FORMAT = "YYYY-MM-DD";
670
679
  declare const DATE_TIME_FORMAT = "YYYY-MM-DD HH:mm:ss";
@@ -673,5 +682,5 @@ declare const LIGHT_THEME_INITIAL_SECANDARY_COLOR = "#ff6d00";
673
682
  declare const DARK_THEME_INITIAL_MAIN_COLOR = "#ea690e";
674
683
  declare const DARK_THEME_INITIAL_SECANDARY_COLOR = "#74776B";
675
684
 
676
- 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 };
685
+ 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, formatDate, getAllFields, getElementFields, getGridSelection, hasDigitsOnly, isNumber, isNumeric, isValidEmail, parseStringToDate, timeAgo, useApiActions, useAxios, useConfirmationWindow, useIsMobile, useLoadingMask, useSession, useWindow };
677
686
  export type { CommonStores, CommonStoresInterface, EditDeleteAction, ExtendedTreeItemProps, FormActionProps, FormElementFieldProps, FormElementGroupProps, FormElementNodeProps, FormElementProps, FormElementSize, FormValueChangeCallBk, GridSelection, MakeOptional, ModalFormProps, RecordAction, RecordFieldProps, StoreMetaData, SystemRoute, TemplateFormProps, TemplateGridAttachmentProps, TemplateGridColDef, TemplateGridColumnProps, TemplateGridProps, TemplateGridTopBarProps, TransferListProps };