@crystaldesign/diva-backoffice 26.11.0-beta.2 → 26.11.0-beta.21

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 (110) hide show
  1. package/build/esm/index.js +10416 -6406
  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/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryCellEdit.test.d.ts +2 -0
  30. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryCellEdit.test.d.ts.map +1 -0
  31. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/api/goodsGroups.test.d.ts +2 -0
  32. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/api/goodsGroups.test.d.ts.map +1 -0
  33. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useGoodsGroupRun.test.d.ts +2 -0
  34. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useGoodsGroupRun.test.d.ts.map +1 -0
  35. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TablePackages/automaticPublishingFilterModelParser.test.d.ts +2 -0
  36. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TablePackages/automaticPublishingFilterModelParser.test.d.ts.map +1 -0
  37. package/build/types/backoffice/src/ui/AssortmentManager/index.d.ts +2 -3
  38. package/build/types/backoffice/src/ui/AssortmentManager/index.d.ts.map +1 -1
  39. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts +11 -2
  40. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts.map +1 -1
  41. package/build/types/backoffice/src/ui/CommonComponents/editorViews.d.ts +34 -0
  42. package/build/types/backoffice/src/ui/CommonComponents/editorViews.d.ts.map +1 -0
  43. package/build/types/backoffice/src/ui/CommonComponents/useTools.d.ts +3 -1
  44. package/build/types/backoffice/src/ui/CommonComponents/useTools.d.ts.map +1 -1
  45. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryCellEdit.d.ts +17 -0
  46. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryCellEdit.d.ts.map +1 -0
  47. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.d.ts +4 -5
  48. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.d.ts.map +1 -1
  49. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogVersions.d.ts.map +1 -1
  50. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/IdmCatalogs.d.ts.map +1 -1
  51. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts +5 -1
  52. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts.map +1 -1
  53. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts.map +1 -1
  54. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts.map +1 -1
  55. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts.map +1 -1
  56. package/build/types/backoffice/src/ui/IDMCatalogEditor/api/goodsGroups.d.ts +129 -0
  57. package/build/types/backoffice/src/ui/IDMCatalogEditor/api/goodsGroups.d.ts.map +1 -0
  58. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/GoodsGroups/ClassifyTrigger.d.ts +10 -0
  59. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/GoodsGroups/ClassifyTrigger.d.ts.map +1 -0
  60. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/GoodsGroups/index.d.ts +36 -0
  61. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/GoodsGroups/index.d.ts.map +1 -0
  62. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogContext.d.ts.map +1 -1
  63. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useGoodsGroupRun.d.ts +21 -0
  64. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useGoodsGroupRun.d.ts.map +1 -0
  65. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useGoodsGroupVocabulary.d.ts +9 -0
  66. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useGoodsGroupVocabulary.d.ts.map +1 -0
  67. package/build/types/backoffice/src/ui/IDMCatalogEditor/index.d.ts.map +1 -1
  68. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableCatalogs/index.d.ts.map +1 -1
  69. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDecisions/index.d.ts.map +1 -1
  70. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableItems/index.d.ts.map +1 -1
  71. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts.map +1 -1
  72. package/build/types/backoffice/src/ui/IDMCatalogEditor/views.d.ts +4 -0
  73. package/build/types/backoffice/src/ui/IDMCatalogEditor/views.d.ts.map +1 -0
  74. package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useEnricherContext.d.ts +34 -0
  75. package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useEnricherContext.d.ts.map +1 -1
  76. package/build/types/backoffice/src/ui/IDMEnricherEditor/index.d.ts.map +1 -1
  77. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableGroups/index.d.ts.map +1 -1
  78. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/automaticPublishingFilterModelParser.d.ts +33 -0
  79. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/automaticPublishingFilterModelParser.d.ts.map +1 -0
  80. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts.map +1 -1
  81. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePartlistPos/index.d.ts.map +1 -1
  82. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePriceList/index.d.ts.map +1 -1
  83. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/index.d.ts +3 -7
  84. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/index.d.ts.map +1 -1
  85. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/catalogConfig.d.ts +2 -1
  86. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/catalogConfig.d.ts.map +1 -1
  87. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/createAssetOverrideColumn.d.ts +59 -0
  88. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/createAssetOverrideColumn.d.ts.map +1 -0
  89. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/detailInfosConfig.d.ts +2 -1
  90. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/detailInfosConfig.d.ts.map +1 -1
  91. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/itemConfig.d.ts +2 -1
  92. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/itemConfig.d.ts.map +1 -1
  93. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/optionsConfig.d.ts +2 -1
  94. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/optionsConfig.d.ts.map +1 -1
  95. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/seriesConfig.d.ts +2 -1
  96. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/seriesConfig.d.ts.map +1 -1
  97. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableTabGroups/index.d.ts.map +1 -1
  98. package/build/types/backoffice/src/ui/IDMEnricherEditor/views.d.ts +4 -0
  99. package/build/types/backoffice/src/ui/IDMEnricherEditor/views.d.ts.map +1 -0
  100. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.d.ts.map +1 -1
  101. package/build/types/backoffice/src/utils/ApiHandler.d.ts +1 -1
  102. package/build/types/backoffice/src/utils/ApiHandler.d.ts.map +1 -1
  103. package/build/types/backoffice/src/utils/getIcons.d.ts.map +1 -1
  104. package/package.json +12 -11
  105. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/AccessoryCellRenderer/index.d.ts +0 -31
  106. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/AccessoryCellRenderer/index.d.ts.map +0 -1
  107. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/index.d.ts +0 -8
  108. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/index.d.ts.map +0 -1
  109. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/tableConfiguration.d.ts +0 -258
  110. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/tableConfiguration.d.ts.map +0 -1
@@ -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"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,MAAM,CAAC,OAAO,gCAwHb"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAmBvC,MAAM,CAAC,OAAO,gCAkIb"}
@@ -40,6 +40,6 @@ export default class {
40
40
  private readInternal;
41
41
  private aplyJsonPath;
42
42
  private createPatch;
43
- createSocket(data: any, mapping: Mapping | undefined, namespace?: string): Socket<import("@socket.io/component-emitter").DefaultEventsMap, import("@socket.io/component-emitter").DefaultEventsMap>;
43
+ createSocket(data: any, mapping: Mapping | undefined, namespace?: string): Socket;
44
44
  }
45
45
  //# sourceMappingURL=ApiHandler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ApiHandler.d.ts","sourceRoot":"","sources":["../../../../../src/utils/ApiHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAE3C,OAA+B,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEnF,OAAO,EAAM,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAK9C,MAAM,CAAC,OAAO;IAoBV,SAAS,CAAC,aAAa,EAAE,sBAAsB;IAC/C,SAAS,CAAC,UAAU,EAAE,SAAS;IApBjC,SAAS,CAAC,UAAU,qBAAC;IACrB,SAAS,CAAC,aAAa,qBAAC;IACxB,SAAS,CAAC,aAAa,sBAAC;IACxB,SAAS,CAAC,OAAO,sBAAC;IAClB,SAAS,CAAC,UAAU,qBAAC;IACrB,SAAS,CAAC,aAAa,qBAAC;IACxB,SAAS,CAAC,UAAU,qBAAC;IACrB,SAAS,CAAC,cAAc,SAAQ;IAChC,SAAS,CAAC,WAAW,qBAAC;IACtB,SAAS,CAAC,YAAY,qBAAC;IACvB,SAAS,CAAC,iBAAiB,UAAQ;IACnC,SAAS,CAAC,aAAa,qBAAC;IACxB,SAAS,CAAC,eAAe,UAAS;IAClC,SAAS,CAAC,aAAa,sBAAC;IACxB,SAAS,CAAC,UAAU,qBAAC;IACrB,SAAS,CAAC,OAAO,CAAC,EAAE,MAAM,CAAa;IACvC,SAAS,CAAC,aAAa,UAAQ;gBAGnB,aAAa,EAAE,sBAAsB,EACrC,UAAU,EAAE,SAAS;IA8DjC,IAAI,SAAS,YAEZ;IACD,IAAI,SAAS,YAEZ;IACD,IAAI,SAAS,YAEZ;IACD,IAAI,OAAO,YAEV;IACD,IAAI,W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,CAAC,EAAE,QAAQ,EAAE,WAAW,CAAC,EAAE,MAAM;IAkFlG,MAAM,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE,MAAM;IAkEhG,IAAI,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE,GAAG,EAAE,WAAW,CAAC,EAAE,MAAM;IAkB/D,QAAQ,CACZ,OAAO,CAAC,EAAE,OAAO,EACjB,WAAW,CAAC,EAAE,GAAG,EACjB,gBAAgB,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,WAAW,CAAC,EACjE,WAAW,CAAC,EAAE,MAAM,EACpB,SAAS,CAAC,EAAE,MAAM;;eAekF,MAAM;;IAgB5G,cAAc,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE,GAAG,EAAE,gBAAgB,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,WAAW,CAAC,EAAE,SAAS,CAAC,EAAE,MAAM;YAyB5H,YAAY;IA6B1B,OAAO,CAAC,YAAY;IAQpB,OAAO,CAAC,WAAW;IAInB,YAAY,CAAC,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM;CAqClF"}
@@ -1 +1 @@
1
- {"version":3,"file":"getIcons.d.ts","sourceRoot":"","sources":["../../../../../src/utils/getIcons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAwD1B,wBAAgB,OAAO,CAAC,IAAI,CAAC,EAAE,MAAM,iCAkHpC"}
1
+ {"version":3,"file":"getIcons.d.ts","sourceRoot":"","sources":["../../../../../src/utils/getIcons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAyD1B,wBAAgB,OAAO,CAAC,IAAI,CAAC,EAAE,MAAM,iCAoHpC"}
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "26.11.0-beta.2",
3
+ "version": "26.11.0-beta.21",
4
+ "description": "Ant Design backoffice shell: configuration plus the IDM and enricher editors.",
4
5
  "license": "COMMERCIAL",
5
6
  "devDependencies": {
6
7
  "@testing-library/jest-dom": "^6.5.0",
@@ -15,19 +16,19 @@
15
16
  "dependencies": {
16
17
  "@ant-design/icons": "6.1.0",
17
18
  "@babel/runtime": "7.24.7",
18
- "@crystaldesign/content-box": "26.11.0-beta.2",
19
- "@crystaldesign/content-item": "26.11.0-beta.2",
20
- "@crystaldesign/diva-core": "26.11.0-beta.2",
21
- "@crystaldesign/diva-utils": "26.11.0-beta.2",
22
- "@crystaldesign/media-upload": "26.11.0-beta.2",
23
- "@crystaldesign/rtf-editor": "26.11.0-beta.2",
24
- "@crystaldesign/spreadsheet": "26.11.0-beta.2",
19
+ "@crystaldesign/content-box": "26.11.0-beta.21",
20
+ "@crystaldesign/content-item": "26.11.0-beta.21",
21
+ "@crystaldesign/diva-agent": "26.11.0-beta.21",
22
+ "@crystaldesign/diva-core": "26.11.0-beta.21",
23
+ "@crystaldesign/diva-utils": "26.11.0-beta.21",
24
+ "@crystaldesign/media-upload": "26.11.0-beta.21",
25
+ "@crystaldesign/rtf-editor": "26.11.0-beta.21",
26
+ "@crystaldesign/spreadsheet": "26.11.0-beta.21",
25
27
  "@dnd-kit/core": "^6.1.0",
26
28
  "@dnd-kit/sortable": "^8.0.0",
27
29
  "@dnd-kit/utilities": "^3.2.2",
28
- "@google/genai": "^1.22.0",
30
+ "@google/genai": "^2.17.1",
29
31
  "@google/model-viewer": "3.5.0",
30
- "ag-charts-community": "^10.1.0",
31
32
  "ag-charts-react": "^10.1.0",
32
33
  "antd": "6.3.0",
33
34
  "csv": "6.6.1",
@@ -56,5 +57,5 @@
56
57
  },
57
58
  "module": "build/esm/index.js",
58
59
  "types": "./build/types/backoffice/src/index.d.ts",
59
- "gitHead": "530779e0d3c8fb51a48e39e69f382230cfd60a87"
60
+ "gitHead": "edd268213efe52391d5eb9b69df548b219512023"
60
61
  }
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- import { CustomCellRendererProps } from 'ag-grid-react';
3
- export interface AccessoryCellParams {
4
- kind: 'boolean' | 'number' | 'select';
5
- min?: number;
6
- max?: number;
7
- /** Options of a 'select' cell. */
8
- options?: {
9
- value: number;
10
- label: string;
11
- }[];
12
- disabled?: boolean;
13
- /** Additionally disables the cell depending on the row - e.g. a set no without its quantity. */
14
- isDisabled?: (node: any) => boolean;
15
- /**
16
- * Writes the new value back. The table owns the mapping to the IDM groups; the transaction handler only stages
17
- * the change, the grid commits it once the row is left.
18
- */
19
- onSave: (node: any, value: boolean | number | undefined, transactionHandler: any) => void;
20
- }
21
- /**
22
- * Renders one cell of the Zusatzartikel matrix and stages its own changes.
23
- *
24
- * The matrix cells have no row field of their own - they are computed from the item's ADDITIONAL_ITEMS groups - so
25
- * they cannot use the grid's normal editing path: it keys every commit on `colDef.field` and drops an edit without
26
- * one. Writing through the transaction handler of the grid context is the route the lookup and asset cells take;
27
- * unlike the grid api's setNodeDataValue it does not force an immediate commit, so the changes of a row are sent
28
- * together when the selection leaves it.
29
- */
30
- export default function AccessoryCellRenderer(props: CustomCellRendererProps<any> & AccessoryCellParams): React.JSX.Element | null;
31
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/AccessoryCellRenderer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAGxD,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kCAAkC;IAClC,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gGAAgG;IAChG,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC;IACpC;;;OAGG;IACH,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,EAAE,kBAAkB,EAAE,GAAG,KAAK,IAAI,CAAC;CAC3F;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,KAAK,EAAE,uBAAuB,CAAC,GAAG,CAAC,GAAG,mBAAmB,4BA2DtG"}
@@ -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"}