react-luminus-components 2.0.14 → 2.0.16

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 (52) hide show
  1. package/dist/.vite/manifest.json +36 -36
  2. package/dist/{FormDisabledProvider-C4hA9COY.js → FormDisabledProvider-BS5ssTQK.js} +1 -1
  3. package/dist/{FormDisabledProvider-CfffF5hp.cjs → FormDisabledProvider-DRB1ygWi.cjs} +1 -1
  4. package/dist/{ShortcutLinksContext-C9ApadFv.cjs → ShortcutLinksContext-CXGRs7Cw.cjs} +1 -1
  5. package/dist/{ShortcutLinksContext-8CorD1L7.js → ShortcutLinksContext-DJpCEYei.js} +68 -67
  6. package/dist/components/CronEditor/CronEditor.d.ts +12 -0
  7. package/dist/components/CronEditor/comps/MultiSelect/MultiSelect.d.ts +13 -0
  8. package/dist/components/CronEditor/comps/index.d.ts +1 -0
  9. package/dist/components/CronEditor/hooks/useCronEditorConsts.d.ts +14 -0
  10. package/dist/components/CronEditor/hooks/useCronEditorUtils.d.ts +5 -0
  11. package/dist/components/CronEditor/index.d.ts +1 -0
  12. package/dist/components/common/BatchSet/Create/BatchSetCreate.d.ts +6 -0
  13. package/dist/components/common/BatchSet/Detail/BatchSetDetail.d.ts +17 -0
  14. package/dist/components/common/BatchSet/Detail/comps/DataForm/BatchSetDataForm.d.ts +10 -0
  15. package/dist/components/common/BatchSet/Detail/comps/DataForm/hooks/useBatchSetFormSchema.d.ts +36 -0
  16. package/dist/components/common/BatchSet/Detail/comps/Tasks/BatchSetTasks.d.ts +14 -0
  17. package/dist/components/common/BatchSet/Detail/comps/Tasks/comps/index.d.ts +2 -0
  18. package/dist/components/common/BatchSet/Detail/comps/Tasks/comps/modals/BatchSetEditTasksModal.d.ts +13 -0
  19. package/dist/components/common/BatchSet/Detail/comps/Tasks/comps/modals/BatchSetTaskDetailModal.d.ts +11 -0
  20. package/dist/components/common/BatchSet/Detail/comps/Tasks/comps/modals/hooks/useBatchSetTaskFormSchema.d.ts +18 -0
  21. package/dist/components/common/BatchSet/Detail/comps/index.d.ts +2 -0
  22. package/dist/components/common/BatchSet/Overview/BatchSetOverview.d.ts +13 -0
  23. package/dist/components/common/BatchSet/Overview/comps/BatchSetTable/BatchSetTable.d.ts +13 -0
  24. package/dist/components/common/BatchSet/Overview/comps/BatchSetTable/hooks/useBatchSetTableColumns.d.ts +9 -0
  25. package/dist/components/common/BatchSet/Overview/comps/index.d.ts +1 -0
  26. package/dist/components/common/index.d.ts +3 -0
  27. package/dist/contexts.cjs.js +1 -1
  28. package/dist/contexts.es.js +36 -36
  29. package/dist/hooks.cjs.js +1 -1
  30. package/dist/hooks.es.js +22 -22
  31. package/dist/layout.cjs.js +1 -1
  32. package/dist/layout.es.js +44 -44
  33. package/dist/main.cjs.js +9 -9
  34. package/dist/main.d.ts +2 -0
  35. package/dist/main.es.js +7469 -6458
  36. package/dist/models/api/batchSet/BatchSetModel.d.ts +12 -0
  37. package/dist/models/api/batchSet/BatchSetNewModel.d.ts +7 -0
  38. package/dist/models/api/batchSet/BatchSetTaskModel.d.ts +12 -0
  39. package/dist/models/api/batchSet/BatchTaskModel.d.ts +6 -0
  40. package/dist/models/bnfTable/BnfTableWrappedProps.d.ts +1 -1
  41. package/dist/models/texts/BatchSetTexts.d.ts +25 -0
  42. package/dist/models/texts/ComponentsContextTexts.d.ts +4 -0
  43. package/dist/models/texts/CronTexts.d.ts +14 -0
  44. package/dist/style.css +1 -1
  45. package/dist/{useIsFormDirty-DL0Prrkw.cjs → useIsFormDirty-CLmecCaO.cjs} +1 -1
  46. package/dist/{useIsFormDirty-CJNFcSDM.js → useIsFormDirty-DMtkXqTy.js} +1 -1
  47. package/dist/{useLocalStorageState-C3FCErU9.cjs → useLocalStorageState-ByYJ0uqi.cjs} +1 -1
  48. package/dist/{useLocalStorageState-B04T0fRI.js → useLocalStorageState-Cf-fJSrM.js} +1 -1
  49. package/dist/utils/constants/CommonLuminusIconsArray.d.ts +1 -1
  50. package/dist/utils.cjs.js +1 -1
  51. package/dist/utils.es.js +10 -10
  52. package/package.json +1 -1
@@ -0,0 +1,12 @@
1
+ import { default as BatchSetTaskModel } from './BatchSetTaskModel';
2
+
3
+ export default interface BatchSetModel {
4
+ id: number;
5
+ name: string | null;
6
+ lastExecutionDate: string | null;
7
+ automatized: boolean;
8
+ interval: string | null;
9
+ intervalFriendly: string | null;
10
+ setBatchTasks: BatchSetTaskModel[];
11
+ durationSeconds: number;
12
+ }
@@ -0,0 +1,7 @@
1
+ export default interface BatchSetNewModel {
2
+ setId: number;
3
+ name: string | null;
4
+ auto: boolean;
5
+ interval: string | null;
6
+ taskIds: number[] | null;
7
+ }
@@ -0,0 +1,12 @@
1
+ export default interface BatchSetTaskModel {
2
+ id: number;
3
+ batchTaskId: number;
4
+ name: string | null;
5
+ executionDate: string | null;
6
+ durationSeconds: number;
7
+ result: boolean;
8
+ errorMessage: string | null;
9
+ order: number;
10
+ active: boolean;
11
+ logLevel: string | null;
12
+ }
@@ -0,0 +1,6 @@
1
+ export default interface BatchTaskModel {
2
+ id: number;
3
+ name: string | null;
4
+ type: string | null;
5
+ order: number;
6
+ }
@@ -21,7 +21,6 @@ type BnfTableWrappedProps<T> = {
21
21
  tableStore?: TableBoundStore;
22
22
  rowSelection?: {
23
23
  enabled: boolean;
24
- getRowId: (row: T) => string;
25
24
  selectedRows: Record<string, boolean>;
26
25
  setSelectedRows: Dispatch<SetStateAction<Record<string, boolean>>>;
27
26
  };
@@ -66,5 +65,6 @@ type BnfTableWrappedProps<T> = {
66
65
  bottomBar?: {
67
66
  hidden?: boolean;
68
67
  };
68
+ getRowId?: (row: T) => string;
69
69
  };
70
70
  export default BnfTableWrappedProps;
@@ -0,0 +1,25 @@
1
+ type BatchSetTexts = {
2
+ batchSetCreate: string;
3
+ active: string;
4
+ errorMessage: string;
5
+ taskLogLevel: string;
6
+ filterCollection: string;
7
+ noTasks: string;
8
+ editTasksList: string;
9
+ batchTasks: string;
10
+ save: string;
11
+ duration: string;
12
+ cronEveryText: string;
13
+ generalInfo: string;
14
+ delete: string;
15
+ run: string;
16
+ errorsNumber: string;
17
+ durationSeconds: string;
18
+ interval: string;
19
+ automatized: string;
20
+ lastExecutionDate: string;
21
+ name: string;
22
+ addBatchSet: string;
23
+ overview: string;
24
+ };
25
+ export default BatchSetTexts;
@@ -2,10 +2,12 @@ import { default as ApprovalTexts } from './ApprovalTexts';
2
2
  import { default as AppSearchTexts } from './AppSearchTexts';
3
3
  import { default as AuthTexts } from './AuthTexts';
4
4
  import { default as AxiosTexts } from './AxiosTexts';
5
+ import { default as BatchSetTexts } from './BatchSetTexts';
5
6
  import { default as ChartTexts } from './ChartTexts';
6
7
  import { default as ClipboardTexts } from './ClipboardTexts';
7
8
  import { default as ConfirmTexts } from './ConfirmTexts';
8
9
  import { default as ContainerTexts } from './ContainerTexts';
10
+ import { default as CronTexts } from './CronTexts';
9
11
  import { default as CustomSelectTexts } from './CustomSelectTexts';
10
12
  import { default as DateTexts } from './DateTexts';
11
13
  import { default as DocsAIChatTexts } from './DocsAIChatTexts';
@@ -58,5 +60,7 @@ type ComponentsContextTexts = {
58
60
  auth: AuthTexts;
59
61
  docsAIChat: DocsAIChatTexts;
60
62
  gdpr: GdprTexts;
63
+ batchSet: BatchSetTexts;
64
+ cron: CronTexts;
61
65
  };
62
66
  export default ComponentsContextTexts;
@@ -0,0 +1,14 @@
1
+ type CronTexts = {
2
+ getWeekDays: (i: number) => string;
3
+ getMonth: (i: number) => string;
4
+ intervalMustBeSet: string;
5
+ periodOption: (period: 'minute' | 'hour' | 'day' | 'week' | 'month' | 'year') => string;
6
+ select: string;
7
+ prefixMonths: string;
8
+ prefixMonthDays: string;
9
+ prefixWeekDays: string;
10
+ suffixMinutesForHourPeriod: string;
11
+ suffixHours: string;
12
+ in: string;
13
+ };
14
+ export default CronTexts;