react-luminus-components 1.5.38 → 1.5.40

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 (44) hide show
  1. package/README.md +349 -349
  2. package/dist/.vite/manifest.json +30 -30
  3. package/dist/{FormDisabledProvider-BAiNdOtC.js → FormDisabledProvider-Bnx4rLPt.js} +1 -1
  4. package/dist/FormDisabledProvider-D3_uZkaG.cjs +1 -0
  5. package/dist/{nivo-bar.es--AbsdroC.js → ShortcutLinksContext-B3a1Cd5G.js} +6657 -6656
  6. package/dist/{nivo-bar.es-B9IJx7pj.cjs → ShortcutLinksContext-DL1kqHiR.cjs} +7 -7
  7. package/dist/components/Flexmonster/components/ReportSharingModal/hooks/useReportSharingApi.d.ts +2 -2
  8. package/dist/components/NotifCenter/Actions/NotificationActions.d.ts +7 -3
  9. package/dist/components/NotifCenter/Actions/components/index.d.ts +2 -0
  10. package/dist/components/NotifCenter/Actions/components/modals/NotificationActionAddModal.d.ts +11 -0
  11. package/dist/components/NotifCenter/Actions/components/modals/NotificationTemplateAddModal.d.ts +13 -0
  12. package/dist/components/NotifCenter/Actions/components/modals/NotificationTemplateEditModal.d.ts +6 -4
  13. package/dist/components/NotifCenter/NotifStyles/NotifStyles.d.ts +10 -0
  14. package/dist/components/NotifCenter/NotifStyles/hooks/useNotifStyleFormSchema.d.ts +16 -0
  15. package/dist/components/NotifCenter/NotifStyles/hooks/useNotifStyleTableColumns.d.ts +7 -0
  16. package/dist/components/NotifCenter/index.d.ts +1 -0
  17. package/dist/contexts.cjs.js +1 -1
  18. package/dist/contexts.es.js +56 -56
  19. package/dist/hooks.cjs.js +1 -1
  20. package/dist/hooks.es.js +56 -56
  21. package/dist/layout.cjs.js +1 -1
  22. package/dist/layout.es.js +8 -8
  23. package/dist/main.cjs.js +54 -54
  24. package/dist/main.d.ts +1 -0
  25. package/dist/main.es.js +10913 -10741
  26. package/dist/models/api/employee/IEmployee.d.ts +9 -0
  27. package/dist/models/api/reports/ReportRestrictResultModel.d.ts +10 -0
  28. package/dist/models/index.d.ts +5 -0
  29. package/dist/models/texts/NotifCentrumTexts.d.ts +15 -0
  30. package/dist/models/types/notifCenter/NotifStyleModel.d.ts +6 -0
  31. package/dist/models/types/notifCenter/NotifTemplateCreateModel.d.ts +11 -0
  32. package/dist/models/types/notifCenter/NotifTemplateEditModel.d.ts +6 -0
  33. package/dist/models/types/notifCenter/NotificationAttachmentModel.d.ts +4 -0
  34. package/dist/models/types/notifCenter/NotificationModel.d.ts +2 -1
  35. package/dist/models/types/notifCenter/NotificationTemplate.d.ts +3 -1
  36. package/dist/style.css +1 -1
  37. package/dist/{useLocalStorageState-B2VDAPTK.js → useLocalStorageState-DIgKUvq6.js} +13 -13
  38. package/dist/useLocalStorageState-DJIRaF9a.cjs +1 -0
  39. package/dist/utils.cjs.js +1 -1
  40. package/dist/utils.es.js +23 -23
  41. package/dist/variables.scss +165 -165
  42. package/package.json +123 -123
  43. package/dist/FormDisabledProvider-Cs9zynFk.cjs +0 -1
  44. package/dist/useLocalStorageState-i8aLBOb5.cjs +0 -1
@@ -0,0 +1,9 @@
1
+ export default interface IEmployee {
2
+ id: number;
3
+ firstName: string;
4
+ lastName: string;
5
+ fullName: string;
6
+ kid: string;
7
+ email: string;
8
+ phoneNumber: string;
9
+ }
@@ -0,0 +1,10 @@
1
+ import { default as IEmployee } from '../employee/IEmployee';
2
+
3
+ export default interface ReportRestrictResultModel {
4
+ reportVersionId: number;
5
+ reportName: string;
6
+ reportVersionName: string;
7
+ owner: IEmployee;
8
+ user: IEmployee;
9
+ addedOrRemoved: boolean;
10
+ }
@@ -94,6 +94,7 @@ export type { default as DocumentListModel } from './api/documents/DocumentListM
94
94
  export type { default as DocumentUploadModel } from './api/documents/DocumentUploadModel';
95
95
  export type { default as DocumentsCreateFolderModel } from './api/documents/DocumentsCreateFolderModel';
96
96
  export type { default as ReportModel } from './api/reports/ReportModel';
97
+ export type { default as ReportRestrictResultModel } from './api/reports/ReportRestrictResultModel';
97
98
  export type { default as ReportRestrictItem } from './api/reports/ReportRestrictItem';
98
99
  export type { default as ReportRestrictModel } from './api/reports/ReportRestrictModel';
99
100
  export type { default as ReportVersionModel } from './api/reports/ReportVersionModel';
@@ -123,6 +124,7 @@ export type { default as ApprovalDefinitionLevelModel } from './api/approval/App
123
124
  export type { default as ApprovalDefinitionLevelApproverModel } from './api/approval/ApprovalDefinitionLevelApproverModel';
124
125
  export type { default as ApprovalDelegationModel } from './api/approval/ApprovalDelegationModel';
125
126
  export type { default as EmployeeSmallModel } from './api/employee/EmployeeSmallModel';
127
+ export type { default as IEmployee } from './api/employee/IEmployee';
126
128
  export type { default as LocalStorageSettingsModel } from './api/localStorageSettings/LocalStorageSettingsModel';
127
129
  export type { default as ReloadDataWithReturnType } from './types/useGetApiData/ReloadDataWithReturnType';
128
130
  export type { default as ReloadDataType } from './types/useGetApiData/ReloadDataType';
@@ -142,5 +144,8 @@ export type { default as NotificationHistoryUserDto } from './types/notifCenter/
142
144
  export type { default as NotificationModel } from './types/notifCenter/NotificationModel';
143
145
  export type { default as NotificationTarget } from './types/notifCenter/NotificationTarget';
144
146
  export type { default as NotificationTemplate } from './types/notifCenter/NotificationTemplate';
147
+ export type { default as NotifStyleModel } from './types/notifCenter/NotifStyleModel';
148
+ export type { default as NotifTemplateCreateModel } from './types/notifCenter/NotifTemplateCreateModel';
149
+ export type { default as NotifTemplateEditModel } from './types/notifCenter/NotifTemplateEditModel';
145
150
  export type { default as EmployeePickerBaseProps } from './types/EmployeePickerBaseProps';
146
151
  export type { default as EmailOverviewModel } from './api/emailOverview/EmailOverviewModel';
@@ -1,4 +1,19 @@
1
1
  type NotifCentrumTexts = {
2
+ confirmTemplateDelete: string;
3
+ deleteTemplate: string;
4
+ addNewStyle: string;
5
+ create: string;
6
+ templatesCount: string;
7
+ templateBodyTagRequired: string;
8
+ markup: string;
9
+ name: string;
10
+ empty: string;
11
+ textBody: string;
12
+ style: string;
13
+ dashboard: string;
14
+ destination: string;
15
+ addNotifActionTemplate: string;
16
+ addNotifAction: string;
2
17
  historyLookup: string;
3
18
  save: string;
4
19
  text: string;
@@ -0,0 +1,6 @@
1
+ export default interface NotifStyleModel {
2
+ id: number | null;
3
+ name: string;
4
+ css: string;
5
+ templatesCount: number;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { default as NotificationAttachmentModel } from './NotificationAttachmentModel';
2
+
3
+ export default interface NotifTemplateCreateModel {
4
+ actionId: number;
5
+ destinationId: number;
6
+ kindId: number;
7
+ styleId: number | null;
8
+ subjectTemplate: string | null;
9
+ textTemplate: string | null;
10
+ attachments: NotificationAttachmentModel[];
11
+ }
@@ -0,0 +1,6 @@
1
+ export default interface NotifTemplateEditModel {
2
+ id: number;
3
+ subjectTemplate: string;
4
+ textTemplate: string;
5
+ styleId: number | null;
6
+ }
@@ -0,0 +1,4 @@
1
+ export default interface NotificationAttachmentModel {
2
+ source: string | null;
3
+ sourceType: number;
4
+ }
@@ -1,9 +1,10 @@
1
+ import { default as NameIdIntModel } from '../NameIdIntModel';
1
2
  import { default as NotificationTemplate } from './NotificationTemplate';
2
3
 
3
4
  type NotificationModel = {
4
5
  id: number;
5
6
  name: string;
6
- kind: string;
7
+ kind: NameIdIntModel;
7
8
  templates: NotificationTemplate[];
8
9
  };
9
10
  export default NotificationModel;
@@ -1,3 +1,4 @@
1
+ import { default as NameIdIntModel } from '../NameIdIntModel';
1
2
  import { default as NotificationTarget } from './NotificationTarget';
2
3
 
3
4
  type NotificationTemplate = {
@@ -7,8 +8,9 @@ type NotificationTemplate = {
7
8
  kind: string | null;
8
9
  outputType: number;
9
10
  subjectTemplate: string;
11
+ templatePreview: string;
10
12
  textTemplate: string;
11
- styleName: string | null;
13
+ style: NameIdIntModel | null;
12
14
  targets: NotificationTarget[];
13
15
  };
14
16
  export default NotificationTemplate;