@crystaldesign/diva-backoffice 24.7.2-rc.0 → 24.8.0-beta.1

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 (92) hide show
  1. package/build/esm/index.js +6800 -6656
  2. package/build/types/backoffice/src/Configuration.d.ts +7 -5
  3. package/build/types/backoffice/src/Configuration.d.ts.map +1 -1
  4. package/build/types/backoffice/src/img/index.d.ts.map +1 -0
  5. package/build/types/backoffice/src/{ui → layout}/Content/index.d.ts +1 -1
  6. package/build/types/backoffice/src/layout/Content/index.d.ts.map +1 -0
  7. package/build/types/backoffice/src/layout/Content/type.d.ts.map +1 -0
  8. package/build/types/backoffice/src/{ui → layout}/Detail.d.ts +3 -2
  9. package/build/types/backoffice/src/layout/Detail.d.ts.map +1 -0
  10. package/build/types/backoffice/src/layout/ErrorBoundary.d.ts.map +1 -0
  11. package/build/types/backoffice/src/layout/IconRain/index.d.ts.map +1 -0
  12. package/build/types/backoffice/src/{ui → layout}/MainLayout.d.ts +0 -1
  13. package/build/types/backoffice/src/layout/MainLayout.d.ts.map +1 -0
  14. package/build/types/backoffice/src/layout/Modal.d.ts.map +1 -0
  15. package/build/types/backoffice/src/layout/Navigation/MenuElement.d.ts +14 -0
  16. package/build/types/backoffice/src/layout/Navigation/MenuElement.d.ts.map +1 -0
  17. package/build/types/backoffice/src/layout/Navigation/index.d.ts +5 -0
  18. package/build/types/backoffice/src/layout/Navigation/index.d.ts.map +1 -0
  19. package/build/types/backoffice/src/layout/Navigation/types.d.ts +19 -0
  20. package/build/types/backoffice/src/layout/Navigation/types.d.ts.map +1 -0
  21. package/build/types/backoffice/src/store/ConfigurationStore.d.ts +2 -2
  22. package/build/types/backoffice/src/store/ConfigurationStore.d.ts.map +1 -1
  23. package/build/types/backoffice/src/store/ContentStore.d.ts +50 -12
  24. package/build/types/backoffice/src/store/ContentStore.d.ts.map +1 -1
  25. package/build/types/backoffice/src/store/RootStore.d.ts +3 -1
  26. package/build/types/backoffice/src/store/RootStore.d.ts.map +1 -1
  27. package/build/types/backoffice/src/ui/AGHistogram/index.d.ts.map +1 -1
  28. package/build/types/backoffice/src/ui/ActionButton.d.ts.map +1 -1
  29. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PackageSelector/index.d.ts.map +1 -0
  30. package/build/types/backoffice/src/ui/IDMEnricherEditor/index.d.ts +8 -0
  31. package/build/types/backoffice/src/ui/IDMEnricherEditor/index.d.ts.map +1 -0
  32. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/index.d.ts +3 -0
  33. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/index.d.ts.map +1 -0
  34. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/tableConfiguration.d.ts.map +1 -0
  35. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts +3 -0
  36. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts.map +1 -0
  37. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableProperties/index.d.ts +3 -0
  38. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableProperties/index.d.ts.map +1 -0
  39. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/index.d.ts +3 -0
  40. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/index.d.ts.map +1 -0
  41. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration.d.ts.map +1 -0
  42. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableTabGroups/index.d.ts +3 -0
  43. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableTabGroups/index.d.ts.map +1 -0
  44. package/build/types/backoffice/src/ui/IDMEnricherEditor/types.d.ts +6 -0
  45. package/build/types/backoffice/src/ui/IDMEnricherEditor/types.d.ts.map +1 -0
  46. package/build/types/backoffice/src/ui/IDMEnricherEditor/useIDMEnricherEditor.d.ts +13 -0
  47. package/build/types/backoffice/src/ui/IDMEnricherEditor/useIDMEnricherEditor.d.ts.map +1 -0
  48. package/build/types/backoffice/src/ui/Table/utils/aplyFilterAndSortation.d.ts +1 -1
  49. package/build/types/backoffice/src/utils/getIcons.d.ts +2 -0
  50. package/build/types/backoffice/src/utils/getIcons.d.ts.map +1 -0
  51. package/package.json +5 -7
  52. package/build/types/backoffice/src/ui/Content/index.d.ts.map +0 -1
  53. package/build/types/backoffice/src/ui/Content/type.d.ts.map +0 -1
  54. package/build/types/backoffice/src/ui/Detail.d.ts.map +0 -1
  55. package/build/types/backoffice/src/ui/ErrorBoundary.d.ts.map +0 -1
  56. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/PackageSelector/index.d.ts.map +0 -1
  57. package/build/types/backoffice/src/ui/IDMCatalogEditor/index.d.ts +0 -2
  58. package/build/types/backoffice/src/ui/IDMCatalogEditor/index.d.ts.map +0 -1
  59. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/IDMTableExclusivity/index.d.ts +0 -3
  60. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/IDMTableExclusivity/index.d.ts.map +0 -1
  61. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/IDMTableExclusivity/tableConfiguration.d.ts.map +0 -1
  62. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/IDMTableRenaming/index.d.ts +0 -3
  63. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/IDMTableRenaming/index.d.ts.map +0 -1
  64. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/IDMTableRenaming/tableConfiguration.d.ts.map +0 -1
  65. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/IDMTableTabGroups/index.d.ts +0 -3
  66. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/IDMTableTabGroups/index.d.ts.map +0 -1
  67. package/build/types/backoffice/src/ui/IDMCatalogEditor/types.d.ts +0 -2
  68. package/build/types/backoffice/src/ui/IDMCatalogEditor/types.d.ts.map +0 -1
  69. package/build/types/backoffice/src/ui/IDMCatalogEditor/useCatalogEditor.d.ts +0 -12
  70. package/build/types/backoffice/src/ui/IDMCatalogEditor/useCatalogEditor.d.ts.map +0 -1
  71. package/build/types/backoffice/src/ui/IconRain/index.d.ts.map +0 -1
  72. package/build/types/backoffice/src/ui/MainLayout.d.ts.map +0 -1
  73. package/build/types/backoffice/src/ui/Menu/index.d.ts +0 -7
  74. package/build/types/backoffice/src/ui/Menu/index.d.ts.map +0 -1
  75. package/build/types/backoffice/src/ui/Menu/types.d.ts +0 -20
  76. package/build/types/backoffice/src/ui/Menu/types.d.ts.map +0 -1
  77. package/build/types/backoffice/src/ui/Modal.d.ts.map +0 -1
  78. package/build/types/backoffice/src/ui/Process/index.d.ts +0 -9
  79. package/build/types/backoffice/src/ui/Process/index.d.ts.map +0 -1
  80. package/build/types/backoffice/src/ui/Process/types.d.ts +0 -28
  81. package/build/types/backoffice/src/ui/Process/types.d.ts.map +0 -1
  82. package/build/types/backoffice/src/ui/Process/useProcess.d.ts +0 -23
  83. package/build/types/backoffice/src/ui/Process/useProcess.d.ts.map +0 -1
  84. package/build/types/backoffice/src/ui/img/index.d.ts.map +0 -1
  85. /package/build/types/backoffice/src/{ui/img → img}/index.d.ts +0 -0
  86. /package/build/types/backoffice/src/{ui → layout}/Content/type.d.ts +0 -0
  87. /package/build/types/backoffice/src/{ui → layout}/ErrorBoundary.d.ts +0 -0
  88. /package/build/types/backoffice/src/{ui → layout}/IconRain/index.d.ts +0 -0
  89. /package/build/types/backoffice/src/{ui → layout}/Modal.d.ts +0 -0
  90. /package/build/types/backoffice/src/ui/{IDMCatalogEditor → IDMEnricherEditor}/components/PackageSelector/index.d.ts +0 -0
  91. /package/build/types/backoffice/src/ui/{IDMCatalogEditor/modules/IDMTableExclusivity → IDMEnricherEditor/modules/TableExclusivity}/tableConfiguration.d.ts +0 -0
  92. /package/build/types/backoffice/src/ui/{IDMCatalogEditor/modules/IDMTableRenaming → IDMEnricherEditor/modules/TableRenaming}/tableConfiguration.d.ts +0 -0
@@ -1,12 +0,0 @@
1
- import { ApiConfig } from '@crystaldesign/diva-core';
2
- import { IdmCatalogEditorTypes } from './types';
3
- export interface IDMCatalogEditorState {
4
- selectedPackage?: string;
5
- setSelectedPackage: (id: string) => void;
6
- openView: IdmCatalogEditorTypes;
7
- setOpenView: (view: IdmCatalogEditorTypes) => void;
8
- jwt: string;
9
- apiConfig: ApiConfig;
10
- }
11
- export default function useCatalogEditor(): IDMCatalogEditorState;
12
- //# sourceMappingURL=useCatalogEditor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCatalogEditor.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/useCatalogEditor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEhD,MAAM,WAAW,qBAAqB;IACpC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,QAAQ,EAAE,qBAAqB,CAAC;IAChC,WAAW,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACnD,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,IAAI,qBAAqB,CAahE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IconRain/index.tsx"],"names":[],"mappings":"AAGA,KAAK,KAAK,GAAG,EAAE,CAAC;AAEhB,QAAA,MAAM,aAAa,UAAW,KAAK,gBAkClC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MainLayout.d.ts","sourceRoot":"","sources":["../../../../../src/ui/MainLayout.tsx"],"names":[],"mappings":"AAUA,OAAO,oBAAoB,CAAC;;;;AAsC5B,wBAAoC"}
@@ -1,7 +0,0 @@
1
- declare const _default: (() => JSX.Element) & {
2
- displayName: string;
3
- };
4
- export default _default;
5
- export * from './types';
6
- export declare function getIcon(icon?: string): JSX.Element | undefined;
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/Menu/index.tsx"],"names":[],"mappings":";;;AAqFA,wBAAqC;AACrC,cAAc,SAAS,CAAC;AA6CxB,wBAAgB,OAAO,CAAC,IAAI,CAAC,EAAE,MAAM,2BA8EpC"}
@@ -1,20 +0,0 @@
1
- import { BaseModulConfiguration, ComponentType, Rules } from '../../Configuration';
2
- export interface MenuConfiguration extends BaseModulConfiguration {
3
- type: 'Menu';
4
- items: (Item | MenuEntry)[];
5
- defaultSelected?: string;
6
- defaultOpen?: string[];
7
- }
8
- export interface MenuEntry {
9
- label?: string;
10
- permission?: string;
11
- rules?: Rules[];
12
- icon?: string;
13
- }
14
- export interface Item extends MenuEntry {
15
- id: string;
16
- navigationOnTop?: 'TreeChart';
17
- type?: ComponentType;
18
- items?: Item[];
19
- }
20
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/Menu/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACnF,MAAM,WAAW,iBAAkB,SAAQ,sBAAsB;IAC/D,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,CAAC,IAAI,GAAG,SAAS,CAAC,EAAE,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,IAAK,SAAQ,SAAS;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,eAAe,CAAC,EAAE,WAAW,CAAC;IAC9B,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CAChB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../src/ui/Modal.tsx"],"names":[],"mappings":"AAQA,iBAAS,KAAK,gBA6Db;;;;AAED,wBAA+B"}
@@ -1,9 +0,0 @@
1
- interface Props {
2
- id: string;
3
- }
4
- declare const _default: (({ id }: Props) => JSX.Element) & {
5
- displayName: string;
6
- };
7
- export default _default;
8
- export * from './types';
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/Process/index.tsx"],"names":[],"mappings":"AAaA,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;;;;AA8ED,wBAAiC;AACjC,cAAc,SAAS,CAAC"}
@@ -1,28 +0,0 @@
1
- import { BaseModulConfiguration, ComponentType } from '../../Configuration';
2
- export interface ProcessConfiguration extends BaseModulConfiguration {
3
- type: 'Process';
4
- steps: Step[];
5
- finished: Finished;
6
- }
7
- export interface Finished {
8
- title: string;
9
- goToId?: string;
10
- goToText?: string;
11
- againText?: string;
12
- }
13
- export interface Step {
14
- label: string;
15
- type: ComponentType;
16
- id: string;
17
- mapping?: Mapping;
18
- }
19
- interface Mapping {
20
- type: 'body';
21
- map: {
22
- step: number;
23
- sourceField: string;
24
- targetField: string;
25
- }[];
26
- }
27
- export {};
28
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/Process/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAE5E,MAAM,WAAW,oBAAqB,SAAQ,sBAAsB;IAClE,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,aAAa,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AACD,UAAU,OAAO;IACf,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACnE"}
@@ -1,23 +0,0 @@
1
- import ApiHandler from '../../utils/ApiHandler';
2
- import { ProcessConfiguration, Step } from './types';
3
- interface Props {
4
- id: string;
5
- }
6
- interface StepState {
7
- step: Step;
8
- data?: any;
9
- apiHandler: ApiHandler;
10
- }
11
- interface State {
12
- configuration: ProcessConfiguration;
13
- steps: StepState[];
14
- current: number;
15
- loading: boolean;
16
- setCurrent: (current: number) => void;
17
- onChange: (index: number, data?: any, saveAll?: boolean) => void;
18
- save: (state: StepState[]) => void;
19
- reset: () => void;
20
- }
21
- export default function ({ id }: Props): State;
22
- export {};
23
- //# sourceMappingURL=useProcess.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useProcess.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/Process/useProcess.ts"],"names":[],"mappings":"AAEA,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAErD,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,UAAU,SAAS;IACjB,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,UAAU,KAAK;IACb,aAAa,EAAE,oBAAoB,CAAC;IACpC,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACjE,IAAI,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;IACnC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,EAAE,EAAE,EAAE,KAAK,GAAG,KAAK,CAgE7C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/img/index.tsx"],"names":[],"mappings":";;;;AAEA,wBAAwC"}