@crystaldesign/diva-backoffice 26.11.0-beta.11 → 26.11.0-beta.13

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 (73) hide show
  1. package/build/esm/index.js +9290 -6734
  2. package/build/types/backoffice/src/Configuration.d.ts +1 -0
  3. package/build/types/backoffice/src/Configuration.d.ts.map +1 -1
  4. package/build/types/backoffice/src/layout/Navigation/types.d.ts +1 -1
  5. package/build/types/backoffice/src/layout/Navigation/types.d.ts.map +1 -1
  6. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts +19 -0
  7. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts.map +1 -0
  8. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/createHeadlessPlanner.d.ts +30 -0
  9. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/createHeadlessPlanner.d.ts.map +1 -0
  10. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/index.d.ts +8 -0
  11. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/index.d.ts.map +1 -0
  12. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts +32 -0
  13. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts.map +1 -0
  14. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/index.d.ts.map +1 -1
  15. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/useWysiwygConfigurator.d.ts.map +1 -1
  16. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/wysiwygSettings.d.ts +12 -0
  17. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/wysiwygSettings.d.ts.map +1 -0
  18. package/build/types/backoffice/src/layout/Toolbar/index.d.ts.map +1 -1
  19. package/build/types/backoffice/src/store/ConfigurationStore.d.ts +2 -0
  20. package/build/types/backoffice/src/store/ConfigurationStore.d.ts.map +1 -1
  21. package/build/types/backoffice/src/store/ContentStore.d.ts +1 -0
  22. package/build/types/backoffice/src/store/ContentStore.d.ts.map +1 -1
  23. package/build/types/backoffice/src/store/GridRegistry.d.ts +25 -0
  24. package/build/types/backoffice/src/store/GridRegistry.d.ts.map +1 -0
  25. package/build/types/backoffice/src/store/RootStore.d.ts +4 -0
  26. package/build/types/backoffice/src/store/RootStore.d.ts.map +1 -1
  27. package/build/types/backoffice/src/store/WebplannerInstanceStore.d.ts +68 -0
  28. package/build/types/backoffice/src/store/WebplannerInstanceStore.d.ts.map +1 -0
  29. package/build/types/backoffice/src/ui/AssortmentManager/index.d.ts +2 -2
  30. package/build/types/backoffice/src/ui/AssortmentManager/index.d.ts.map +1 -1
  31. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts +11 -2
  32. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts.map +1 -1
  33. package/build/types/backoffice/src/ui/CommonComponents/editorViews.d.ts +34 -0
  34. package/build/types/backoffice/src/ui/CommonComponents/editorViews.d.ts.map +1 -0
  35. package/build/types/backoffice/src/ui/CommonComponents/useTools.d.ts +3 -1
  36. package/build/types/backoffice/src/ui/CommonComponents/useTools.d.ts.map +1 -1
  37. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogVersions.d.ts.map +1 -1
  38. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/IdmCatalogs.d.ts.map +1 -1
  39. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts.map +1 -1
  40. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogContext.d.ts.map +1 -1
  41. package/build/types/backoffice/src/ui/IDMCatalogEditor/index.d.ts.map +1 -1
  42. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableCatalogs/index.d.ts.map +1 -1
  43. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDecisions/index.d.ts.map +1 -1
  44. package/build/types/backoffice/src/ui/IDMCatalogEditor/views.d.ts +4 -0
  45. package/build/types/backoffice/src/ui/IDMCatalogEditor/views.d.ts.map +1 -0
  46. package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useEnricherContext.d.ts.map +1 -1
  47. package/build/types/backoffice/src/ui/IDMEnricherEditor/index.d.ts.map +1 -1
  48. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableGroups/index.d.ts.map +1 -1
  49. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts.map +1 -1
  50. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePartlistPos/index.d.ts.map +1 -1
  51. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePriceList/index.d.ts.map +1 -1
  52. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/index.d.ts +3 -7
  53. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/index.d.ts.map +1 -1
  54. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/catalogConfig.d.ts +2 -1
  55. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/catalogConfig.d.ts.map +1 -1
  56. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/createAssetOverrideColumn.d.ts +59 -0
  57. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/createAssetOverrideColumn.d.ts.map +1 -0
  58. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/detailInfosConfig.d.ts +2 -1
  59. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/detailInfosConfig.d.ts.map +1 -1
  60. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/itemConfig.d.ts +2 -1
  61. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/itemConfig.d.ts.map +1 -1
  62. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/optionsConfig.d.ts +2 -1
  63. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/optionsConfig.d.ts.map +1 -1
  64. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/seriesConfig.d.ts +2 -1
  65. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/seriesConfig.d.ts.map +1 -1
  66. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableTabGroups/index.d.ts.map +1 -1
  67. package/build/types/backoffice/src/ui/IDMEnricherEditor/views.d.ts +4 -0
  68. package/build/types/backoffice/src/ui/IDMEnricherEditor/views.d.ts.map +1 -0
  69. package/package.json +10 -10
  70. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/index.d.ts +0 -8
  71. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/index.d.ts.map +0 -1
  72. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/tableConfiguration.d.ts +0 -258
  73. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/tableConfiguration.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAYvC,eAAO,MAAM,WAAW;;CAyLtB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAWvC,eAAO,MAAM,WAAW;;CA2LtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAgCpD,eAAO,MAAM,aAAa;;CAidxB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAgCpD,eAAO,MAAM,aAAa;;CAqdxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePartlistPos/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAWvC,eAAO,MAAM,gBAAgB;;CAqN3B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePartlistPos/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAUvC,eAAO,MAAM,gBAAgB;;CAwN3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePriceList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAevE,eAAO,MAAM,cAAc;;CA+UzB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePriceList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAevE,eAAO,MAAM,cAAc;;CAkVzB,CAAC"}
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
- declare const RenamingCatalog: () => React.JSX.Element;
3
- declare const RenamingDetailInfo: () => React.JSX.Element;
4
- declare const RenamingFeature: () => React.JSX.Element;
5
- declare const RenamingItem: () => React.JSX.Element;
6
- declare const RenamingOption: () => React.JSX.Element;
7
- declare const RenamingSerie: () => React.JSX.Element;
8
- export { RenamingCatalog, RenamingDetailInfo, RenamingFeature, RenamingItem, RenamingOption, RenamingSerie };
2
+ export declare const RenamingCatalog: (() => React.JSX.Element) & {
3
+ displayName: string;
4
+ };
9
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAwB/C,QAAA,MAAM,eAAe,yBAEpB,CAAC;AAEF,QAAA,MAAM,kBAAkB,yBAEvB,CAAC;AACF,QAAA,MAAM,eAAe,yBAEpB,CAAC;AAEF,QAAA,MAAM,YAAY,yBAEjB,CAAC;AAEF,QAAA,MAAM,cAAc,yBAEnB,CAAC;AAEF,QAAA,MAAM,aAAa,yBAElB,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,eAAe,EAAE,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAevC,eAAO,MAAM,eAAe;;CA8F1B,CAAC"}
@@ -1,6 +1,7 @@
1
+ import { ApiConfig } from '@crystaldesign/diva-core';
1
2
  import { DivaColDef, DivaColGroupDef } from '@crystaldesign/spreadsheet';
2
3
  import { TFunction } from 'i18next';
3
- declare const getConfig: (isoLanguageIds: string[], t: TFunction, viewOnly?: boolean) => {
4
+ declare const getConfig: (isoLanguageIds: string[], t: TFunction, viewOnly: boolean | undefined, apiConfig: ApiConfig) => {
4
5
  colDef: (DivaColDef<any> | DivaColGroupDef<any>)[];
5
6
  };
6
7
  export default getConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"catalogConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/catalogConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAEzE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGpC,QAAA,MAAM,SAAS,mBAAoB,MAAM,EAAE,KAAK,SAAS,aAAa,OAAO,KAAG;IAAE,MAAM,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE,CAAA;CAmenI,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"catalogConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/catalogConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAGzE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGpC,QAAA,MAAM,SAAS,mBAAoB,MAAM,EAAE,KAAK,SAAS,YAAY,OAAO,GAAG,SAAS,aAAa,SAAS,KAAG;IAAE,MAAM,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE,CAAA;CA2epK,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,59 @@
1
+ import { ApiConfig } from '@crystaldesign/diva-core';
2
+ interface AssetOverrideColumnOptions {
3
+ /** Multi-asset list column; single asset otherwise */
4
+ multiple?: boolean;
5
+ allowedTypes: string[];
6
+ /** Metadata form fields per asset (asset cell customParams.additionalFields, multiple mode only) */
7
+ assetMetadataFields?: {
8
+ type: 'enum';
9
+ field: string;
10
+ label: string;
11
+ enumData: {
12
+ name: string;
13
+ value: number;
14
+ }[];
15
+ }[];
16
+ /** Read-only table (foreign package): the cell must not accept uploads/removals */
17
+ viewOnly?: boolean;
18
+ }
19
+ /**
20
+ * Column for overriding entity assets in the enricher: the cell edits the translated field and shows the
21
+ * synced orig snapshot as inherited placeholder (the spreadsheet asset cell's placeHolderField semantics -
22
+ * uploads create the override, removing back to the originals reverts to inherit).
23
+ */
24
+ export default function createAssetOverrideColumn(headerName: string, field: string, placeHolderField: string, apiConfig: ApiConfig, { multiple, allowedTypes, assetMetadataFields, viewOnly }: AssetOverrideColumnOptions): {
25
+ headerName: string;
26
+ field: string;
27
+ cellDataType: string;
28
+ editable: boolean;
29
+ excludeFromExcelExport: boolean;
30
+ additionalFields: string[];
31
+ customParams: {
32
+ allowedTypes: string[];
33
+ additionalFields?: {
34
+ type: "enum";
35
+ field: string;
36
+ label: string;
37
+ enumData: {
38
+ name: string;
39
+ value: number;
40
+ }[];
41
+ }[] | undefined;
42
+ multiple?: boolean | undefined;
43
+ isObject: boolean;
44
+ urlField: string;
45
+ fileNameField: string;
46
+ mediaItemIdField: string;
47
+ placeHolderField: string;
48
+ combinedField: string;
49
+ apiInterface: {
50
+ create: {
51
+ upload: string;
52
+ externalUpload: string;
53
+ completeUpload: string;
54
+ };
55
+ };
56
+ };
57
+ };
58
+ export {};
59
+ //# sourceMappingURL=createAssetOverrideColumn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createAssetOverrideColumn.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/createAssetOverrideColumn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,UAAU,0BAA0B;IAClC,sDAAsD;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,oGAAoG;IACpG,mBAAmB,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,EAAE,CAAA;KAAE,EAAE,CAAC;IACpH,mFAAmF;IACnF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAC/C,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,MAAM,EACb,gBAAgB,EAAE,MAAM,EACxB,SAAS,EAAE,SAAS,EACpB,EAAE,QAAQ,EAAE,YAAY,EAAE,mBAAmB,EAAE,QAAQ,EAAE,EAAE,0BAA0B;;;;;;;;;;kBAfvD,MAAM;mBAAS,MAAM;mBAAS,MAAM;sBAAY;gBAAE,IAAI,EAAE,MAAM,CAAC;gBAAC,KAAK,EAAE,MAAM,CAAA;aAAE,EAAE;;;;;;;;;;;;;;;;;EA8ChH"}
@@ -1,6 +1,7 @@
1
+ import { ApiConfig } from '@crystaldesign/diva-core';
1
2
  import { DivaColDef, DivaColGroupDef } from '@crystaldesign/spreadsheet';
2
3
  import { TFunction } from 'i18next';
3
- declare const getConfig: (isoLanguageIds: string[], t: TFunction, viewOnly?: boolean) => {
4
+ declare const getConfig: (isoLanguageIds: string[], t: TFunction, viewOnly: boolean | undefined, apiConfig: ApiConfig) => {
4
5
  colDef: (DivaColDef<any> | DivaColGroupDef<any>)[];
5
6
  };
6
7
  export default getConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"detailInfosConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/detailInfosConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAEzE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,QAAA,MAAM,SAAS,mBAAoB,MAAM,EAAE,KAAK,SAAS,aAAa,OAAO,KAAG;IAAE,MAAM,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE,CAAA;CAiDnI,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"detailInfosConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/detailInfosConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAGzE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,QAAA,MAAM,SAAS,mBAAoB,MAAM,EAAE,KAAK,SAAS,YAAY,OAAO,GAAG,SAAS,aAAa,SAAS,KAAG;IAAE,MAAM,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE,CAAA;CAsDpK,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,6 +1,7 @@
1
+ import { ApiConfig } from '@crystaldesign/diva-core';
1
2
  import { DivaColDef, DivaColGroupDef } from '@crystaldesign/spreadsheet';
2
3
  import { TFunction } from 'i18next';
3
- declare const getConfig: (isoLanguageIds: string[], t: TFunction, viewOnly?: boolean) => {
4
+ declare const getConfig: (isoLanguageIds: string[], t: TFunction, viewOnly: boolean | undefined, apiConfig: ApiConfig) => {
4
5
  colDef: (DivaColDef<any> | DivaColGroupDef<any>)[];
5
6
  };
6
7
  export default getConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"itemConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/itemConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAEzE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,QAAA,MAAM,SAAS,mBAAoB,MAAM,EAAE,KAAK,SAAS,aAAa,OAAO,KAAG;IAAE,MAAM,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE,CAAA;CA0FnI,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"itemConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/itemConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAGzE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,QAAA,MAAM,SAAS,mBAAoB,MAAM,EAAE,KAAK,SAAS,YAAY,OAAO,GAAG,SAAS,aAAa,SAAS,KAAG;IAAE,MAAM,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE,CAAA;CAoGpK,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,6 +1,7 @@
1
+ import { ApiConfig } from '@crystaldesign/diva-core';
1
2
  import { DivaColDef, DivaColGroupDef } from '@crystaldesign/spreadsheet';
2
3
  import { TFunction } from 'i18next';
3
- declare const getConfig: (isoLanguageIds: string[], t: TFunction, viewOnly?: boolean) => {
4
+ declare const getConfig: (isoLanguageIds: string[], t: TFunction, viewOnly: boolean | undefined, apiConfig: ApiConfig) => {
4
5
  colDef: (DivaColDef<any> | DivaColGroupDef<any>)[];
5
6
  };
6
7
  export default getConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"optionsConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/optionsConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAEzE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,QAAA,MAAM,SAAS,mBAAoB,MAAM,EAAE,KAAK,SAAS,aAAa,OAAO,KAAG;IAAE,MAAM,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE,CAAA;CAqEnI,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"optionsConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/optionsConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAGzE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,QAAA,MAAM,SAAS,mBAAoB,MAAM,EAAE,KAAK,SAAS,YAAY,OAAO,GAAG,SAAS,aAAa,SAAS,KAAG;IAAE,MAAM,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE,CAAA;CAoFpK,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,6 +1,7 @@
1
+ import { ApiConfig } from '@crystaldesign/diva-core';
1
2
  import { DivaColDef, DivaColGroupDef } from '@crystaldesign/spreadsheet';
2
3
  import { TFunction } from 'i18next';
3
- declare const getConfig: (isoLanguageIds: string[], t: TFunction, viewOnly?: boolean) => {
4
+ declare const getConfig: (isoLanguageIds: string[], t: TFunction, viewOnly: boolean | undefined, apiConfig: ApiConfig) => {
4
5
  colDef: (DivaColDef<any> | DivaColGroupDef<any>)[];
5
6
  };
6
7
  export default getConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"seriesConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/seriesConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAEzE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,QAAA,MAAM,SAAS,mBAAoB,MAAM,EAAE,KAAK,SAAS,aAAa,OAAO,KAAG;IAAE,MAAM,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE,CAAA;CAgCnI,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"seriesConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/seriesConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAGzE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,QAAA,MAAM,SAAS,mBAAoB,MAAM,EAAE,KAAK,SAAS,YAAY,OAAO,GAAG,SAAS,aAAa,SAAS,KAAG;IAAE,MAAM,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE,CAAA;CA2DpK,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableTabGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAc/C,eAAO,MAAM,cAAc;;CA2JzB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableTabGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAc/C,eAAO,MAAM,cAAc;;CA8JzB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { EditorViewDef } from '../CommonComponents/editorViews';
2
+ /** Sub-views of the enricher package editor (routes under catalogs/idmeditor/packages/:packageId). */
3
+ export declare const ENRICHER_EDITOR_VIEWS: EditorViewDef[];
4
+ //# sourceMappingURL=views.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"views.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMEnricherEditor/views.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAWhE,sGAAsG;AACtG,eAAO,MAAM,qBAAqB,EAAE,aAAa,EA6DhD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "26.11.0-beta.11",
3
+ "version": "26.11.0-beta.13",
4
4
  "description": "Ant Design backoffice shell: configuration plus the IDM and enricher editors.",
5
5
  "license": "COMMERCIAL",
6
6
  "devDependencies": {
@@ -16,19 +16,19 @@
16
16
  "dependencies": {
17
17
  "@ant-design/icons": "6.1.0",
18
18
  "@babel/runtime": "7.24.7",
19
- "@crystaldesign/content-box": "26.11.0-beta.11",
20
- "@crystaldesign/content-item": "26.11.0-beta.11",
21
- "@crystaldesign/diva-core": "26.11.0-beta.11",
22
- "@crystaldesign/diva-utils": "26.11.0-beta.11",
23
- "@crystaldesign/media-upload": "26.11.0-beta.11",
24
- "@crystaldesign/rtf-editor": "26.11.0-beta.11",
25
- "@crystaldesign/spreadsheet": "26.11.0-beta.11",
19
+ "@crystaldesign/content-box": "26.11.0-beta.13",
20
+ "@crystaldesign/content-item": "26.11.0-beta.13",
21
+ "@crystaldesign/diva-agent": "26.11.0-beta.13",
22
+ "@crystaldesign/diva-core": "26.11.0-beta.13",
23
+ "@crystaldesign/diva-utils": "26.11.0-beta.13",
24
+ "@crystaldesign/media-upload": "26.11.0-beta.13",
25
+ "@crystaldesign/rtf-editor": "26.11.0-beta.13",
26
+ "@crystaldesign/spreadsheet": "26.11.0-beta.13",
26
27
  "@dnd-kit/core": "^6.1.0",
27
28
  "@dnd-kit/sortable": "^8.0.0",
28
29
  "@dnd-kit/utilities": "^3.2.2",
29
30
  "@google/genai": "^2.17.1",
30
31
  "@google/model-viewer": "3.5.0",
31
- "ag-charts-community": "^10.1.0",
32
32
  "ag-charts-react": "^10.1.0",
33
33
  "antd": "6.3.0",
34
34
  "csv": "6.6.1",
@@ -57,5 +57,5 @@
57
57
  },
58
58
  "module": "build/esm/index.js",
59
59
  "types": "./build/types/backoffice/src/index.d.ts",
60
- "gitHead": "42b4c00606dcbf4d1d647850bdcfff0545a314e1"
60
+ "gitHead": "33ccbb63dde1deb30bb0b61f7af3097467a0143c"
61
61
  }
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- declare const ExclusivitySerie: () => React.JSX.Element;
3
- declare const ExclusivityFeature: () => React.JSX.Element;
4
- declare const ExclusivityExclusivityDetailInfo: () => React.JSX.Element;
5
- declare const ExclusivitySerieItems: () => React.JSX.Element;
6
- declare const ExclusivityFeatureOption: () => React.JSX.Element;
7
- export { ExclusivitySerie, ExclusivityFeature, ExclusivityExclusivityDetailInfo, ExclusivitySerieItems, ExclusivityFeatureOption };
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableExclusivity/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAc/C,QAAA,MAAM,gBAAgB,yBAKrB,CAAC;AACF,QAAA,MAAM,kBAAkB,yBAKvB,CAAC;AAEF,QAAA,MAAM,gCAAgC,yBAKrC,CAAC;AAEF,QAAA,MAAM,qBAAqB,yBAK1B,CAAC;AAEF,QAAA,MAAM,wBAAwB,yBAK7B,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gCAAgC,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,CAAC"}
@@ -1,258 +0,0 @@
1
- import { TFunction } from 'i18next';
2
- export default function getConfig(t: TFunction): {
3
- detailInfo: {
4
- colDef: ({
5
- field: string;
6
- headerName: string;
7
- editable: boolean;
8
- cellDataType: string;
9
- customParams?: undefined;
10
- isDictionary?: undefined;
11
- } | {
12
- headerName: string;
13
- field: string;
14
- editable: boolean;
15
- cellDataType?: undefined;
16
- customParams?: undefined;
17
- isDictionary?: undefined;
18
- } | {
19
- headerName: string;
20
- field: string;
21
- editable: boolean;
22
- cellDataType: string;
23
- customParams: {
24
- enumData: {
25
- name: string;
26
- value: number;
27
- }[];
28
- };
29
- isDictionary?: undefined;
30
- } | {
31
- field: string;
32
- headerName: string;
33
- editable: boolean;
34
- cellDataType: string;
35
- customParams: {
36
- enumData: {
37
- name: string;
38
- value: string;
39
- }[];
40
- };
41
- isDictionary?: undefined;
42
- } | {
43
- field: string;
44
- headerName: string;
45
- editable: boolean;
46
- cellDataType: string;
47
- isDictionary: boolean;
48
- customParams?: undefined;
49
- })[];
50
- };
51
- feature: {
52
- colDef: ({
53
- field: string;
54
- headerName: string;
55
- editable: boolean;
56
- cellDataType?: undefined;
57
- isDictionary?: undefined;
58
- customParams?: undefined;
59
- hide?: undefined;
60
- lockVisible?: undefined;
61
- suppressColumnsToolPanel?: undefined;
62
- defaultValue?: undefined;
63
- } | {
64
- field: string;
65
- headerName: string;
66
- editable: boolean;
67
- cellDataType: string;
68
- isDictionary: boolean;
69
- customParams?: undefined;
70
- hide?: undefined;
71
- lockVisible?: undefined;
72
- suppressColumnsToolPanel?: undefined;
73
- defaultValue?: undefined;
74
- } | {
75
- headerName: string;
76
- field: string;
77
- editable: boolean;
78
- cellDataType: string;
79
- customParams: {
80
- enumData: {
81
- name: string;
82
- value: string;
83
- }[];
84
- displayLabelTemplate: string;
85
- };
86
- isDictionary?: undefined;
87
- hide?: undefined;
88
- lockVisible?: undefined;
89
- suppressColumnsToolPanel?: undefined;
90
- defaultValue?: undefined;
91
- } | {
92
- field: string;
93
- editable: boolean;
94
- hide: boolean;
95
- lockVisible: boolean;
96
- suppressColumnsToolPanel: boolean;
97
- defaultValue: string;
98
- headerName?: undefined;
99
- cellDataType?: undefined;
100
- isDictionary?: undefined;
101
- customParams?: undefined;
102
- } | {
103
- headerName: string;
104
- field: string;
105
- editable: boolean;
106
- cellDataType: string;
107
- isDictionary?: undefined;
108
- customParams?: undefined;
109
- hide?: undefined;
110
- lockVisible?: undefined;
111
- suppressColumnsToolPanel?: undefined;
112
- defaultValue?: undefined;
113
- })[];
114
- };
115
- serie: {
116
- colDef: ({
117
- field: string;
118
- headerName: string;
119
- editable: boolean;
120
- cellDataType: string;
121
- isDictionary?: undefined;
122
- customParams?: undefined;
123
- } | {
124
- field: string;
125
- headerName: string;
126
- editable: boolean;
127
- cellDataType: string;
128
- isDictionary: boolean;
129
- customParams?: undefined;
130
- } | {
131
- headerName: string;
132
- field: string;
133
- cellDataType: string;
134
- editable: boolean;
135
- customParams: {
136
- dateFormat: string;
137
- };
138
- isDictionary?: undefined;
139
- })[];
140
- };
141
- item: {
142
- colDef: ({
143
- field: string;
144
- headerName: string;
145
- editable: boolean;
146
- cellDataType?: undefined;
147
- isDictionary?: undefined;
148
- customParams?: undefined;
149
- defaultValue?: undefined;
150
- } | {
151
- headerName: string;
152
- field: string;
153
- editable: boolean;
154
- cellDataType: string;
155
- isDictionary: boolean;
156
- customParams?: undefined;
157
- defaultValue?: undefined;
158
- } | {
159
- headerName: string;
160
- field: string;
161
- cellDataType: string;
162
- editable: boolean;
163
- customParams: {
164
- dateFormat: string;
165
- };
166
- isDictionary?: undefined;
167
- defaultValue?: undefined;
168
- } | {
169
- headerName: string;
170
- field: string;
171
- editable: boolean;
172
- cellDataType: string;
173
- isDictionary?: undefined;
174
- customParams?: undefined;
175
- defaultValue?: undefined;
176
- } | {
177
- field: string;
178
- headerName: string;
179
- editable: boolean;
180
- cellDataType: string;
181
- defaultValue: boolean;
182
- isDictionary?: undefined;
183
- customParams?: undefined;
184
- })[];
185
- };
186
- option: {
187
- colDef: ({
188
- field: string;
189
- headerName: string;
190
- cellDataType: string;
191
- editable: boolean;
192
- required: boolean;
193
- customParams: {
194
- nameField: string;
195
- filterCellType: string;
196
- displayLabelTemplate: string;
197
- lookupValue: string;
198
- lookupKey: string;
199
- lookupKeyFilterType: {
200
- type: string;
201
- filterType: string;
202
- };
203
- multiple: boolean;
204
- translated: boolean;
205
- dateFormat?: undefined;
206
- };
207
- additionalFields: string[];
208
- isDictionary: boolean;
209
- } | {
210
- field: string;
211
- headerName: string;
212
- editable: boolean;
213
- cellDataType?: undefined;
214
- required?: undefined;
215
- customParams?: undefined;
216
- additionalFields?: undefined;
217
- isDictionary?: undefined;
218
- } | {
219
- headerName: string;
220
- field: string;
221
- editable: boolean;
222
- cellDataType: string;
223
- isDictionary: boolean;
224
- required?: undefined;
225
- customParams?: undefined;
226
- additionalFields?: undefined;
227
- } | {
228
- field: string;
229
- headerName: string;
230
- editable: boolean;
231
- cellDataType: string;
232
- required?: undefined;
233
- customParams?: undefined;
234
- additionalFields?: undefined;
235
- isDictionary?: undefined;
236
- } | {
237
- headerName: string;
238
- field: string;
239
- cellDataType: string;
240
- editable: boolean;
241
- customParams: {
242
- dateFormat: string;
243
- nameField?: undefined;
244
- filterCellType?: undefined;
245
- displayLabelTemplate?: undefined;
246
- lookupValue?: undefined;
247
- lookupKey?: undefined;
248
- lookupKeyFilterType?: undefined;
249
- multiple?: undefined;
250
- translated?: undefined;
251
- };
252
- required?: undefined;
253
- additionalFields?: undefined;
254
- isDictionary?: undefined;
255
- })[];
256
- };
257
- };
258
- //# sourceMappingURL=tableConfiguration.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tableConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableExclusivity/tableConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGpC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,CAAC,EAAE,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2c7C"}