@asaleh37/ui-base 1.2.19 → 1.2.20
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 +2 -1
- package/dist/index.js +11 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/administration/dev/NotificationGrid.tsx +432 -0
- package/src/components/administration/dev/NotificationQueueGrid.tsx +222 -0
- package/src/components/common/MyNotificationsPanel.tsx +104 -0
- package/src/components/common/NotificationItem.tsx +138 -0
- package/src/components/templates/workflow/WorkflowRouteComponent.tsx +14 -0
- package/src/hooks/useAxios.tsx +4 -1
- package/src/hooks/useInterval.tsx +23 -0
- package/src/layout/Layout.tsx +7 -1
- package/src/layout/NotificationButton.tsx +207 -0
- package/src/layout/TopBar.tsx +2 -0
- package/src/locales/arabic/devLocalsAr.json +28 -3
- package/src/locales/english/devLocalsEn.json +26 -1
- package/src/redux/features/administration/AdministrationStoresMetaData.ts +13 -0
- package/src/routes/administration/devRoutes.tsx +15 -0
- package/src/util/AppUtils.ts +30 -0
package/dist/index.d.ts
CHANGED
|
@@ -492,6 +492,7 @@ declare function isNumber(value: any): boolean;
|
|
|
492
492
|
declare function isNumeric(value: string): boolean;
|
|
493
493
|
declare function capitalizeFirstLetter(str: string): string;
|
|
494
494
|
declare function isValidEmail(email: any): boolean;
|
|
495
|
+
declare function timeAgo(dateInput: any, appDirection: "ltr" | "rtl"): string;
|
|
495
496
|
|
|
496
497
|
declare const DATE_FORMAT = "YYYY-MM-DD";
|
|
497
498
|
declare const DATE_TIME_FORMAT = "YYYY-MM-DD HH:mm:ss";
|
|
@@ -500,5 +501,5 @@ declare const LIGHT_THEME_INITIAL_SECANDARY_COLOR = "#ff6d00";
|
|
|
500
501
|
declare const DARK_THEME_INITIAL_MAIN_COLOR = "#ea690e";
|
|
501
502
|
declare const DARK_THEME_INITIAL_SECANDARY_COLOR = "#74776B";
|
|
502
503
|
|
|
503
|
-
export { BaseApp, CheckBox, ComboBox, DARK_THEME_INITIAL_MAIN_COLOR, DARK_THEME_INITIAL_SECANDARY_COLOR, DATE_FORMAT, DATE_TIME_FORMAT, Datefield, DatetimeField, LIGHT_THEME_INITIAL_MAIN_COLOR, LIGHT_THEME_INITIAL_SECANDARY_COLOR, TemplateBarChart, TemplateDataCard, TemplateForm, TemplateGauge, TemplateGrid, TemplateLineChart, TemplateLineProgress, TemplatePieChart, TemplateTextField, TransferList, capitalizeFirstLetter, hasDigitsOnly, isNumber, isNumeric, isValidEmail, useApiActions, useAxios, useConfirmationWindow, useIsMobile, useLoadingMask, useSession, useWindow };
|
|
504
|
+
export { BaseApp, CheckBox, ComboBox, DARK_THEME_INITIAL_MAIN_COLOR, DARK_THEME_INITIAL_SECANDARY_COLOR, DATE_FORMAT, DATE_TIME_FORMAT, Datefield, DatetimeField, LIGHT_THEME_INITIAL_MAIN_COLOR, LIGHT_THEME_INITIAL_SECANDARY_COLOR, TemplateBarChart, TemplateDataCard, TemplateForm, TemplateGauge, TemplateGrid, TemplateLineChart, TemplateLineProgress, TemplatePieChart, TemplateTextField, TransferList, capitalizeFirstLetter, hasDigitsOnly, isNumber, isNumeric, isValidEmail, timeAgo, useApiActions, useAxios, useConfirmationWindow, useIsMobile, useLoadingMask, useSession, useWindow };
|
|
504
505
|
export type { EditDeleteAction, ExtendedTreeItemProps, FormActionProps, FormElementFieldProps, FormElementGroupProps, FormElementNodeProps, FormElementProps, FormElementSize, MakeOptional, ModalFormProps, RecordAction, RecordFieldProps, SystemRoute, TemplateFormProps, TemplateGridAttachmentProps, TemplateGridColDef, TemplateGridColumnProps, TemplateGridProps, TemplateGridTopBarProps, TransferListProps };
|