react-luminus-components 1.5.39 → 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 (41) 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/NotifCenter/Actions/NotificationActions.d.ts +7 -3
  8. package/dist/components/NotifCenter/Actions/components/index.d.ts +2 -0
  9. package/dist/components/NotifCenter/Actions/components/modals/NotificationActionAddModal.d.ts +11 -0
  10. package/dist/components/NotifCenter/Actions/components/modals/NotificationTemplateAddModal.d.ts +13 -0
  11. package/dist/components/NotifCenter/Actions/components/modals/NotificationTemplateEditModal.d.ts +6 -4
  12. package/dist/components/NotifCenter/NotifStyles/NotifStyles.d.ts +10 -0
  13. package/dist/components/NotifCenter/NotifStyles/hooks/useNotifStyleFormSchema.d.ts +16 -0
  14. package/dist/components/NotifCenter/NotifStyles/hooks/useNotifStyleTableColumns.d.ts +7 -0
  15. package/dist/components/NotifCenter/index.d.ts +1 -0
  16. package/dist/contexts.cjs.js +1 -1
  17. package/dist/contexts.es.js +56 -56
  18. package/dist/hooks.cjs.js +1 -1
  19. package/dist/hooks.es.js +56 -56
  20. package/dist/layout.cjs.js +1 -1
  21. package/dist/layout.es.js +8 -8
  22. package/dist/main.cjs.js +54 -54
  23. package/dist/main.d.ts +1 -0
  24. package/dist/main.es.js +10937 -10771
  25. package/dist/models/index.d.ts +3 -0
  26. package/dist/models/texts/NotifCentrumTexts.d.ts +15 -0
  27. package/dist/models/types/notifCenter/NotifStyleModel.d.ts +6 -0
  28. package/dist/models/types/notifCenter/NotifTemplateCreateModel.d.ts +11 -0
  29. package/dist/models/types/notifCenter/NotifTemplateEditModel.d.ts +6 -0
  30. package/dist/models/types/notifCenter/NotificationAttachmentModel.d.ts +4 -0
  31. package/dist/models/types/notifCenter/NotificationModel.d.ts +2 -1
  32. package/dist/models/types/notifCenter/NotificationTemplate.d.ts +3 -1
  33. package/dist/style.css +1 -1
  34. package/dist/{useLocalStorageState-B2VDAPTK.js → useLocalStorageState-DIgKUvq6.js} +13 -13
  35. package/dist/useLocalStorageState-DJIRaF9a.cjs +1 -0
  36. package/dist/utils.cjs.js +1 -1
  37. package/dist/utils.es.js +23 -23
  38. package/dist/variables.scss +165 -165
  39. package/package.json +123 -123
  40. package/dist/FormDisabledProvider-Cs9zynFk.cjs +0 -1
  41. package/dist/useLocalStorageState-i8aLBOb5.cjs +0 -1
@@ -144,5 +144,8 @@ export type { default as NotificationHistoryUserDto } from './types/notifCenter/
144
144
  export type { default as NotificationModel } from './types/notifCenter/NotificationModel';
145
145
  export type { default as NotificationTarget } from './types/notifCenter/NotificationTarget';
146
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';
147
150
  export type { default as EmployeePickerBaseProps } from './types/EmployeePickerBaseProps';
148
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;