react-luminus-components 2.0.5 → 2.0.6

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 (48) hide show
  1. package/README.md +349 -349
  2. package/dist/.vite/manifest.json +38 -38
  3. package/dist/FormDisabledProvider--0DdMCBK.cjs +1 -0
  4. package/dist/{FormDisabledProvider-BlRae2l2.js → FormDisabledProvider-CQ3lr_vU.js} +1 -1
  5. package/dist/ShortcutLinksContext-CzUA0Bw_.cjs +285 -0
  6. package/dist/{nivo-bar-BHzU38wt.js → ShortcutLinksContext-DGg3i3jj.js} +20917 -20917
  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 +20 -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/components/UserSettings/LanguageSettingsUS/LanguageSettingsUS.d.ts +2 -0
  17. package/dist/components/UserSettings/index.d.ts +1 -0
  18. package/dist/contexts.cjs.js +1 -1
  19. package/dist/contexts.es.js +13 -13
  20. package/dist/hooks.cjs.js +1 -1
  21. package/dist/hooks.es.js +44 -44
  22. package/dist/layout.cjs.js +1 -1
  23. package/dist/layout.es.js +59 -59
  24. package/dist/main.cjs.js +15 -15
  25. package/dist/main.d.ts +1 -0
  26. package/dist/main.es.js +11304 -10805
  27. package/dist/models/index.d.ts +3 -0
  28. package/dist/models/texts/NotifCentrumTexts.d.ts +15 -0
  29. package/dist/models/texts/UserSettingsTexts.d.ts +1 -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/useIsFormDirty-CLUo8jl7.cjs +1 -0
  38. package/dist/{useIsFormDirty-BdF5E9qQ.js → useIsFormDirty-ebfGUdgb.js} +5 -5
  39. package/dist/{useLocalStorageState-B2v6hClT.js → useLocalStorageState-9W8xZxsD.js} +20 -20
  40. package/dist/useLocalStorageState-nJ8QPdoa.cjs +1 -0
  41. package/dist/utils.cjs.js +1 -1
  42. package/dist/utils.es.js +21 -21
  43. package/dist/variables.scss +165 -165
  44. package/package.json +127 -127
  45. package/dist/FormDisabledProvider-CiGUtSf7.cjs +0 -1
  46. package/dist/nivo-bar-C1VYGnTR.cjs +0 -285
  47. package/dist/useIsFormDirty-BMSfF308.cjs +0 -1
  48. package/dist/useLocalStorageState-AB4BFfn5.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;
@@ -16,5 +16,6 @@ type UserSettingsTexts = {
16
16
  localStorageCreateBackupInfo: (count: number) => string;
17
17
  searchSettings: string;
18
18
  searchSettingsUseAsterisk: string;
19
+ languageSettings: string;
19
20
  };
20
21
  export default UserSettingsTexts;
@@ -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;