react-luminus-components 1.4.27 → 1.4.29

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.
Files changed (49) hide show
  1. package/dist/.vite/manifest.json +28 -38
  2. package/dist/{FormDisabledProvider-BqRrJ0Kq.js → FormDisabledProvider-C4BJtnSl.js} +1 -1
  3. package/dist/{FormDisabledProvider-jEUon85O.cjs → FormDisabledProvider-D7ohrf6I.cjs} +1 -1
  4. package/dist/components/NotifCenter/Actions/NotificationActions.d.ts +14 -0
  5. package/dist/components/NotifCenter/Actions/components/ActionTemplates/ActionTemplates.d.ts +14 -0
  6. package/dist/components/NotifCenter/Actions/components/ActionTemplates/comps/Recipients/NotificationRecipients.d.ts +8 -0
  7. package/dist/components/NotifCenter/Actions/components/ActionTemplates/comps/index.d.ts +2 -0
  8. package/dist/components/NotifCenter/Actions/components/ActionTemplates/comps/modals/NotificationTargetModal.d.ts +12 -0
  9. package/dist/components/NotifCenter/Actions/components/HistoryTable/NotificationHistoryTable.d.ts +9 -0
  10. package/dist/components/NotifCenter/Actions/components/index.d.ts +2 -0
  11. package/dist/components/NotifCenter/Users/NotificationUsers.d.ts +9 -0
  12. package/dist/components/NotifCenter/Users/components/EmployeeNotifTable/EmployeeNotifHistoryTable.d.ts +9 -0
  13. package/dist/components/NotifCenter/Users/components/index.d.ts +1 -0
  14. package/dist/components/NotifCenter/index.d.ts +2 -0
  15. package/dist/components/common/StateToggle/StateToggle.d.ts +8 -0
  16. package/dist/components/common/index.d.ts +1 -0
  17. package/dist/contexts.cjs.js +1 -1
  18. package/dist/contexts.es.js +44 -45
  19. package/dist/hooks/useKeyPress/useKeyPress.d.ts +1 -1
  20. package/dist/hooks.cjs.js +1 -1
  21. package/dist/hooks.es.js +22 -23
  22. package/dist/layout.cjs.js +1 -1
  23. package/dist/layout.es.js +2 -2
  24. package/dist/main.cjs.js +53 -53
  25. package/dist/main.d.ts +3 -0
  26. package/dist/main.es.js +4844 -4593
  27. package/dist/models/index.d.ts +8 -0
  28. package/dist/models/texts/ComponentsContextTexts.d.ts +2 -0
  29. package/dist/models/texts/NotifCentrumTexts.d.ts +14 -0
  30. package/dist/models/types/notifCenter/NotifTargetModel.d.ts +7 -0
  31. package/dist/models/types/notifCenter/NotificationHistoryModel.d.ts +11 -0
  32. package/dist/models/types/notifCenter/NotificationHistoryPersonModel.d.ts +6 -0
  33. package/dist/models/types/notifCenter/NotificationHistoryUserDto.d.ts +13 -0
  34. package/dist/models/types/notifCenter/NotificationModel.d.ts +9 -0
  35. package/dist/models/types/notifCenter/NotificationTarget.d.ts +9 -0
  36. package/dist/models/types/notifCenter/NotificationTemplate.d.ts +14 -0
  37. package/dist/{nivo-bar.es-DCweuhLT.cjs → nivo-bar.es-C2UfrfEW.cjs} +40 -40
  38. package/dist/{nivo-bar.es-BdEuFoWH.js → nivo-bar.es-CAK_sBtK.js} +39 -36
  39. package/dist/style.css +1 -1
  40. package/dist/useLocalStorageState-DgnSxAxT.cjs +1 -0
  41. package/dist/useLocalStorageState-zVazoLpV.js +74 -0
  42. package/dist/utils/constants/CommonLuminusIconsArray.d.ts +1 -1
  43. package/dist/utils.cjs.js +1 -1
  44. package/dist/utils.es.js +46 -42
  45. package/package.json +1 -1
  46. package/dist/useGetApiData-8CkqvCJ7.cjs +0 -1
  47. package/dist/useGetApiData-EWN8nbww.js +0 -61
  48. package/dist/useLocalStorageState-BFc8Gc8H.cjs +0 -1
  49. package/dist/useLocalStorageState-Bt99kkCr.js +0 -17
@@ -68,6 +68,7 @@ export type { default as ErrorBoundaryTexts } from './texts/ErrorBoundaryTexts';
68
68
  export type { default as ComponentsContextTexts } from './texts/ComponentsContextTexts';
69
69
  export type { default as DateTexts } from './texts/DateTexts';
70
70
  export type { default as ApprovalTexts } from './texts/ApprovalTexts';
71
+ export type { default as NotifCentrumTexts } from './texts/NotifCentrumTexts';
71
72
  export type { default as PromptOptions } from './types/PromptOptions';
72
73
  export type { default as UseGetApiDataOptions } from './types/UseGetApiDataOptions';
73
74
  export type { default as DropdownPickerOption } from './types/DropdownPickerOption';
@@ -117,3 +118,10 @@ export type { default as EmployeeSmallModel } from './api/employee/EmployeeSmall
117
118
  export type { default as ReloadDataWithReturnType } from './types/useGetApiData/ReloadDataWithReturnType';
118
119
  export type { default as ReloadDataType } from './types/useGetApiData/ReloadDataType';
119
120
  export type { default as AuthToken } from './types/auth/AuthToken';
121
+ export type { default as NotifTargetModel } from './types/notifCenter/NotifTargetModel';
122
+ export type { default as NotificationHistoryModel } from './types/notifCenter/NotificationHistoryModel';
123
+ export type { default as NotificationHistoryPersonModel } from './types/notifCenter/NotificationHistoryPersonModel';
124
+ export type { default as NotificationHistoryUserDto } from './types/notifCenter/NotificationHistoryUserDto';
125
+ export type { default as NotificationModel } from './types/notifCenter/NotificationModel';
126
+ export type { default as NotificationTarget } from './types/notifCenter/NotificationTarget';
127
+ export type { default as NotificationTemplate } from './types/notifCenter/NotificationTemplate';
@@ -13,6 +13,7 @@ import { default as FormSubmitTexts } from './FormSubmitTexts';
13
13
  import { default as FormValidationTexts } from './FormValidationTexts';
14
14
  import { default as HomeDashboardTexts } from './HomeDashboardTexts';
15
15
  import { default as MessageBoardTexts } from './MessageBoardTexts';
16
+ import { default as NotifCentrumTexts } from './NotifCentrumTexts';
16
17
  import { default as ReportsTexts } from './ReportsTexts';
17
18
  import { default as ShortcutLinkTexts } from './ShortcutLinkTexts';
18
19
  import { default as SubstitutionsTexts } from './SubstitutionsTexts';
@@ -38,5 +39,6 @@ type ComponentsContextTexts = {
38
39
  container: ContainerTexts;
39
40
  substitutions: SubstitutionsTexts;
40
41
  approval: ApprovalTexts;
42
+ notifCentrum: NotifCentrumTexts;
41
43
  };
42
44
  export default ComponentsContextTexts;
@@ -0,0 +1,14 @@
1
+ type NotifCentrumTexts = {
2
+ confirmTargetDelete: string;
3
+ subject: string;
4
+ recipients: string;
5
+ date: string;
6
+ add: string;
7
+ role: string;
8
+ employee: string;
9
+ kind: string;
10
+ subkind: string;
11
+ noTargets: string;
12
+ addNewTarget: string;
13
+ };
14
+ export default NotifCentrumTexts;
@@ -0,0 +1,7 @@
1
+ type NotifTargetModel = {
2
+ templateId: number;
3
+ targetId: number | null;
4
+ employeeId: number | null;
5
+ roleName: string | null;
6
+ };
7
+ export default NotifTargetModel;
@@ -0,0 +1,11 @@
1
+ import { default as NotificationHistoryPersonModel } from './NotificationHistoryPersonModel';
2
+
3
+ type NotificationHistoryModel = {
4
+ id: number;
5
+ date: Date;
6
+ subject: string;
7
+ message: string;
8
+ messageAsText: string;
9
+ recipients?: NotificationHistoryPersonModel[];
10
+ };
11
+ export default NotificationHistoryModel;
@@ -0,0 +1,6 @@
1
+ type NotificationHistoryPersonModel = {
2
+ id?: number;
3
+ name: string;
4
+ email: string;
5
+ };
6
+ export default NotificationHistoryPersonModel;
@@ -0,0 +1,13 @@
1
+ type NotificationHistoryUserDto = {
2
+ id: number;
3
+ recipientId: number;
4
+ recipientFullName: string;
5
+ actionKindId: number;
6
+ actionKindName: string;
7
+ actionId: number;
8
+ actionName: string;
9
+ date: string;
10
+ subject: string;
11
+ message: string;
12
+ };
13
+ export default NotificationHistoryUserDto;
@@ -0,0 +1,9 @@
1
+ import { default as NotificationTemplate } from './NotificationTemplate';
2
+
3
+ type NotificationModel = {
4
+ id: number;
5
+ name: string;
6
+ kind: string;
7
+ templates: NotificationTemplate[];
8
+ };
9
+ export default NotificationModel;
@@ -0,0 +1,9 @@
1
+ type NotificationTarget = {
2
+ id: number;
3
+ employeeId: number | null;
4
+ roleName: string | null;
5
+ type: number;
6
+ userGroup: string | null;
7
+ employeeName: string;
8
+ };
9
+ export default NotificationTarget;
@@ -0,0 +1,14 @@
1
+ import { default as NotificationTarget } from './NotificationTarget';
2
+
3
+ type NotificationTemplate = {
4
+ id: number;
5
+ channelId: number;
6
+ destinationId: number;
7
+ kind: string | null;
8
+ outputType: number;
9
+ subjectTemplate: string;
10
+ textTemplate: string;
11
+ styleName: string | null;
12
+ targets: NotificationTarget[];
13
+ };
14
+ export default NotificationTemplate;