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.
- package/dist/.vite/manifest.json +28 -38
- package/dist/{FormDisabledProvider-BqRrJ0Kq.js → FormDisabledProvider-C4BJtnSl.js} +1 -1
- package/dist/{FormDisabledProvider-jEUon85O.cjs → FormDisabledProvider-D7ohrf6I.cjs} +1 -1
- package/dist/components/NotifCenter/Actions/NotificationActions.d.ts +14 -0
- package/dist/components/NotifCenter/Actions/components/ActionTemplates/ActionTemplates.d.ts +14 -0
- package/dist/components/NotifCenter/Actions/components/ActionTemplates/comps/Recipients/NotificationRecipients.d.ts +8 -0
- package/dist/components/NotifCenter/Actions/components/ActionTemplates/comps/index.d.ts +2 -0
- package/dist/components/NotifCenter/Actions/components/ActionTemplates/comps/modals/NotificationTargetModal.d.ts +12 -0
- package/dist/components/NotifCenter/Actions/components/HistoryTable/NotificationHistoryTable.d.ts +9 -0
- package/dist/components/NotifCenter/Actions/components/index.d.ts +2 -0
- package/dist/components/NotifCenter/Users/NotificationUsers.d.ts +9 -0
- package/dist/components/NotifCenter/Users/components/EmployeeNotifTable/EmployeeNotifHistoryTable.d.ts +9 -0
- package/dist/components/NotifCenter/Users/components/index.d.ts +1 -0
- package/dist/components/NotifCenter/index.d.ts +2 -0
- package/dist/components/common/StateToggle/StateToggle.d.ts +8 -0
- package/dist/components/common/index.d.ts +1 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +44 -45
- package/dist/hooks/useKeyPress/useKeyPress.d.ts +1 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +22 -23
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +2 -2
- package/dist/main.cjs.js +53 -53
- package/dist/main.d.ts +3 -0
- package/dist/main.es.js +4844 -4593
- package/dist/models/index.d.ts +8 -0
- package/dist/models/texts/ComponentsContextTexts.d.ts +2 -0
- package/dist/models/texts/NotifCentrumTexts.d.ts +14 -0
- package/dist/models/types/notifCenter/NotifTargetModel.d.ts +7 -0
- package/dist/models/types/notifCenter/NotificationHistoryModel.d.ts +11 -0
- package/dist/models/types/notifCenter/NotificationHistoryPersonModel.d.ts +6 -0
- package/dist/models/types/notifCenter/NotificationHistoryUserDto.d.ts +13 -0
- package/dist/models/types/notifCenter/NotificationModel.d.ts +9 -0
- package/dist/models/types/notifCenter/NotificationTarget.d.ts +9 -0
- package/dist/models/types/notifCenter/NotificationTemplate.d.ts +14 -0
- package/dist/{nivo-bar.es-DCweuhLT.cjs → nivo-bar.es-C2UfrfEW.cjs} +40 -40
- package/dist/{nivo-bar.es-BdEuFoWH.js → nivo-bar.es-CAK_sBtK.js} +39 -36
- package/dist/style.css +1 -1
- package/dist/useLocalStorageState-DgnSxAxT.cjs +1 -0
- package/dist/useLocalStorageState-zVazoLpV.js +74 -0
- package/dist/utils/constants/CommonLuminusIconsArray.d.ts +1 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +46 -42
- package/package.json +1 -1
- package/dist/useGetApiData-8CkqvCJ7.cjs +0 -1
- package/dist/useGetApiData-EWN8nbww.js +0 -61
- package/dist/useLocalStorageState-BFc8Gc8H.cjs +0 -1
- package/dist/useLocalStorageState-Bt99kkCr.js +0 -17
package/dist/models/index.d.ts
CHANGED
|
@@ -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,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,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,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;
|