@crystaldesign/diva-backoffice 26.12.0-beta.6 → 26.12.0-beta.7

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 (139) hide show
  1. package/build/esm/index.js +11463 -3098
  2. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/agentMount.d.ts +38 -0
  3. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/agentMount.d.ts.map +1 -0
  4. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts +13 -4
  5. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts.map +1 -1
  6. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/contentToolset.d.ts +10 -0
  7. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/contentToolset.d.ts.map +1 -0
  8. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/createHeadlessPlanner.d.ts +2 -4
  9. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/createHeadlessPlanner.d.ts.map +1 -1
  10. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/index.d.ts.map +1 -1
  11. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/mediaToolset.d.ts +115 -0
  12. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/mediaToolset.d.ts.map +1 -0
  13. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts +26 -17
  14. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts.map +1 -1
  15. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/CatalogSelection/index.d.ts.map +1 -1
  16. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventScope.d.ts +15 -0
  17. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventScope.d.ts.map +1 -0
  18. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/index.d.ts.map +1 -1
  19. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/useWysiwygConfigurator.d.ts.map +1 -1
  20. package/build/types/backoffice/src/layout/Toolbar/index.d.ts.map +1 -1
  21. package/build/types/backoffice/src/store/ConfigurationStore.d.ts.map +1 -1
  22. package/build/types/backoffice/src/store/DataStore.d.ts.map +1 -1
  23. package/build/types/backoffice/src/store/GridRegistry.d.ts +39 -0
  24. package/build/types/backoffice/src/store/GridRegistry.d.ts.map +1 -1
  25. package/build/types/backoffice/src/store/RootStore.d.ts +1 -1
  26. package/build/types/backoffice/src/store/RootStore.d.ts.map +1 -1
  27. package/build/types/backoffice/src/store/ToolBarStore.d.ts +5 -0
  28. package/build/types/backoffice/src/store/ToolBarStore.d.ts.map +1 -1
  29. package/build/types/backoffice/src/store/WebplannerInstanceStore.d.ts +35 -8
  30. package/build/types/backoffice/src/store/WebplannerInstanceStore.d.ts.map +1 -1
  31. package/build/types/backoffice/src/tests/unit/agentBridge/agentBridgePanel.test.d.ts +2 -0
  32. package/build/types/backoffice/src/tests/unit/agentBridge/agentBridgePanel.test.d.ts.map +1 -0
  33. package/build/types/backoffice/src/tests/unit/agentBridge/bridgeStatus.test.d.ts +2 -0
  34. package/build/types/backoffice/src/tests/unit/agentBridge/bridgeStatus.test.d.ts.map +1 -0
  35. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentMount.test.d.ts +2 -0
  36. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentMount.test.d.ts.map +1 -0
  37. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentToolDefs.test.d.ts +2 -0
  38. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentToolDefs.test.d.ts.map +1 -0
  39. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/checkCellInput.test.d.ts +2 -0
  40. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/checkCellInput.test.d.ts.map +1 -0
  41. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/contentToolset.test.d.ts +2 -0
  42. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/contentToolset.test.d.ts.map +1 -0
  43. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts +161 -0
  44. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts.map +1 -0
  45. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/generateImageAsset.test.d.ts +2 -0
  46. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/generateImageAsset.test.d.ts.map +1 -0
  47. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowExactMatch.test.d.ts +2 -0
  48. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowExactMatch.test.d.ts.map +1 -0
  49. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/lookupWrite.test.d.ts +2 -0
  50. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/lookupWrite.test.d.ts.map +1 -0
  51. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/mediaBatchIsolation.test.d.ts +2 -0
  52. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/mediaBatchIsolation.test.d.ts.map +1 -0
  53. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/navigationToolDefs.test.d.ts +2 -0
  54. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/navigationToolDefs.test.d.ts.map +1 -0
  55. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/publishCatalogTestManifest.test.d.ts +2 -0
  56. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/publishCatalogTestManifest.test.d.ts.map +1 -0
  57. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/runTableAction.test.d.ts +2 -0
  58. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/runTableAction.test.d.ts.map +1 -0
  59. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/setAssetCellBatch.test.d.ts +2 -0
  60. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/setAssetCellBatch.test.d.ts.map +1 -0
  61. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEdits.test.d.ts +2 -0
  62. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEdits.test.d.ts.map +1 -0
  63. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEditsSequentialLookup.test.d.ts +2 -0
  64. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEditsSequentialLookup.test.d.ts.map +1 -0
  65. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/uploadAssetSources.test.d.ts +2 -0
  66. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/uploadAssetSources.test.d.ts.map +1 -0
  67. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventBelongsToView.test.d.ts +2 -0
  68. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventBelongsToView.test.d.ts.map +1 -0
  69. package/build/types/backoffice/src/tests/unit/store/WebplannerInstanceStore.test.d.ts +2 -0
  70. package/build/types/backoffice/src/tests/unit/store/WebplannerInstanceStore.test.d.ts.map +1 -0
  71. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.test.d.ts +2 -0
  72. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.test.d.ts.map +1 -0
  73. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featureColumns.test.d.ts +2 -0
  74. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featureColumns.test.d.ts.map +1 -0
  75. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TableEnrichment/propertyColumn.test.d.ts +2 -0
  76. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TableEnrichment/propertyColumn.test.d.ts.map +1 -0
  77. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.test.d.ts +2 -0
  78. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.test.d.ts.map +1 -0
  79. package/build/types/backoffice/src/tests/unit/utils/routeCatalogId.test.d.ts +2 -0
  80. package/build/types/backoffice/src/tests/unit/utils/routeCatalogId.test.d.ts.map +1 -0
  81. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/ContentItemPreview.d.ts +7 -0
  82. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/ContentItemPreview.d.ts.map +1 -0
  83. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/index.d.ts +7 -0
  84. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/index.d.ts.map +1 -0
  85. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/libraryContext.d.ts +21 -0
  86. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/libraryContext.d.ts.map +1 -0
  87. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts +5 -0
  88. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts.map +1 -1
  89. package/build/types/backoffice/src/ui/CommonComponents/useTools.d.ts.map +1 -1
  90. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/AddAccessoryModal.d.ts.map +1 -1
  91. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.d.ts +61 -0
  92. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.d.ts.map +1 -0
  93. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.d.ts +2 -0
  94. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.d.ts.map +1 -1
  95. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts.map +1 -1
  96. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts +1 -1
  97. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts.map +1 -1
  98. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionGroupOptions.d.ts.map +1 -1
  99. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts +1 -1
  100. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts.map +1 -1
  101. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts +1 -1
  102. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts.map +1 -1
  103. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts +1 -1
  104. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts.map +1 -1
  105. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/featureColumns.d.ts +25 -0
  106. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/featureColumns.d.ts.map +1 -0
  107. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogContext.d.ts +11 -0
  108. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogContext.d.ts.map +1 -1
  109. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableArticleRelations/index.d.ts.map +1 -1
  110. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableItems/index.d.ts +8 -0
  111. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableItems/index.d.ts.map +1 -1
  112. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts +4 -0
  113. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts.map +1 -1
  114. package/build/types/backoffice/src/ui/IDMCollectionEditor/modules/TableCollections/index.d.ts.map +1 -1
  115. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/index.d.ts +8 -1
  116. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/index.d.ts.map +1 -1
  117. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.d.ts +19 -0
  118. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.d.ts.map +1 -0
  119. package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useEnricherContext.d.ts +12 -39
  120. package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useEnricherContext.d.ts.map +1 -1
  121. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyValueExpandedEditor.d.ts +16 -0
  122. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyValueExpandedEditor.d.ts.map +1 -0
  123. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/index.d.ts.map +1 -1
  124. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/propertyColumn.d.ts +27 -0
  125. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/propertyColumn.d.ts.map +1 -0
  126. package/build/types/backoffice/src/ui/IDMFeaturesEditor/modules/TableFeatures/index.d.ts +1 -0
  127. package/build/types/backoffice/src/ui/IDMFeaturesEditor/modules/TableFeatures/index.d.ts.map +1 -1
  128. package/build/types/backoffice/src/ui/IDMOrganizationFeaturesEditor/modules/TableFeatures/index.d.ts +4 -0
  129. package/build/types/backoffice/src/ui/IDMOrganizationFeaturesEditor/modules/TableFeatures/index.d.ts.map +1 -1
  130. package/build/types/backoffice/src/ui/IDMOrganizationOptionsEditor/modules/TableOptions/index.d.ts +1 -0
  131. package/build/types/backoffice/src/ui/IDMOrganizationOptionsEditor/modules/TableOptions/index.d.ts.map +1 -1
  132. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.d.ts.map +1 -1
  133. package/build/types/backoffice/src/utils/contentItemEndpoints.d.ts +11 -0
  134. package/build/types/backoffice/src/utils/contentItemEndpoints.d.ts.map +1 -0
  135. package/build/types/backoffice/src/utils/routeCatalogId.d.ts +8 -0
  136. package/build/types/backoffice/src/utils/routeCatalogId.d.ts.map +1 -0
  137. package/package.json +10 -10
  138. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyObjectExpandedEditor.d.ts +0 -6
  139. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyObjectExpandedEditor.d.ts.map +0 -1
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=agentToolDefs.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agentToolDefs.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentToolDefs.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=checkCellInput.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkCellInput.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/checkCellInput.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=contentToolset.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentToolset.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/contentToolset.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,161 @@
1
+ /**
2
+ * Shared fake grid environment for the DivaAgent navigation-toolset suites.
3
+ *
4
+ * Lives outside jest's testRegex so that importing it from several suites does NOT run any of
5
+ * them a second time. The fake mirrors what the toolset can observe on a registered grid: an
6
+ * AG Grid api subset, the CRUD handle, the approval bar and the RootStore slices the toolset reads.
7
+ */
8
+ import type RootStore from '../../../../../../store/RootStore';
9
+ export declare const CATALOG = "6a7482dbbc0dbae27f20eb5c";
10
+ export declare const SERIE_ID = "6a74000000000000000000a1";
11
+ /** Column the fake grid knows; a write to anything else is an unknown column, as in a real table. */
12
+ export interface FakeColumnDef {
13
+ field: string;
14
+ required?: boolean;
15
+ cellDataType?: 'text' | 'number' | 'asset' | 'lookup';
16
+ /** A hidden internal column — not an editing surface. */
17
+ hide?: boolean;
18
+ /** `false` blocks every write; a function is the grid's per-row rule and gets `{ data }` like the real one. */
19
+ editable?: boolean | ((params: {
20
+ data: Record<string, unknown>;
21
+ }) => boolean);
22
+ /** enumData = the option list an enum column accepts (name shown, value stored); multiple = comma-separated. */
23
+ customParams?: {
24
+ enumData?: {
25
+ value: string;
26
+ name: string;
27
+ }[];
28
+ multiple?: boolean;
29
+ };
30
+ }
31
+ export interface FakeGridOptions {
32
+ /** Table label the grid is registered under (default 'items'). */
33
+ grid?: string;
34
+ /** Fielded columns of the table; defaults to the items table's columns. */
35
+ columnDefs?: FakeColumnDef[];
36
+ /** Endpoint template — the '/series/${…}' segment is what makes a table serie-scoped. */
37
+ readUrl?: string;
38
+ applicationData?: Record<string, unknown>;
39
+ /** Rows already in the grid, keyed by rowId (server rows are keyed by their own _id). */
40
+ rows?: {
41
+ [rowId: string]: Record<string, unknown>;
42
+ };
43
+ /** What the commit reports back. */
44
+ commit?: {
45
+ committed?: string[];
46
+ failed?: {
47
+ rowId: string;
48
+ errors: string[];
49
+ }[];
50
+ skipped?: string[];
51
+ };
52
+ /** Serie record the catalog editor's context holds. */
53
+ selectedSerie?: Record<string, unknown>;
54
+ /** _id the server hands back for an added row. */
55
+ addedId?: string;
56
+ /** Fields the fake server drops on save: the row commits, but these values come back empty. */
57
+ dropOnCommit?: string[];
58
+ /** Rows the commit REPORTS as committed although the server transaction did not keep them. */
59
+ revertOnCommit?: string[];
60
+ /** A table whose grid has no '_id' column — the read-back then has nothing to address rows by. */
61
+ withoutIdColumn?: boolean;
62
+ /**
63
+ * rowIds visible WITHOUT a filter — everything else only appears once a filter targeting it is set
64
+ * (mirrors a server-side lazy table whose initial window does not hold every row). Omitted = every
65
+ * row is visible from the start, like the other fixtures in this file.
66
+ */
67
+ loadedWindow?: string[];
68
+ /** The grid saves its pending changes on its own (a click outside it) while the approval bar is still open. */
69
+ savedBeforeDecision?: boolean;
70
+ /** What the user answers on the approval bar; without it the changes are approved. */
71
+ approveDecision?: boolean;
72
+ /** Adds a COMPUTED column: no field of its own, stored through cellEditToRowUpdate (the accessory matrix). */
73
+ computedColumn?: boolean;
74
+ /** Actions the VIEW declares on this table (runTableAction hands them the input and the approval). */
75
+ actions?: {
76
+ name: string;
77
+ description: string;
78
+ mutating?: boolean;
79
+ run: (input: string) => Promise<string>;
80
+ }[];
81
+ /**
82
+ * A header-add column (the "add a feature column" lookup): `keys` are the entries the fake lookup service knows.
83
+ * runHeaderLookupAdd then registers a new fielded column `<key>.value`, which is what the poll in addColumn looks for.
84
+ */
85
+ addColumn?: {
86
+ field: string;
87
+ keys: {
88
+ value: string;
89
+ label: string;
90
+ }[];
91
+ failOn?: string;
92
+ };
93
+ /** Further registered grids (e.g. the 'pricelists' parent the factor actions write through). */
94
+ extraEntries?: Record<string, unknown>[];
95
+ /** The option list a LOOKUP column's service knows, per column — what resolveLookupWrite/fetchLookupOptions answer from. */
96
+ lookups?: Record<string, {
97
+ value: string | number;
98
+ label: string;
99
+ }[]>;
100
+ }
101
+ /** The computed column's colId - a matrix cell is addressed by that, never by a field. */
102
+ export declare const MATRIX_CELL = "10-T110.mandatoryQuantity";
103
+ /** The items table's fielded columns; `_id` is implicit and only dropped via `withoutIdColumn`. */
104
+ export declare const ITEMS_COLUMN_DEFS: FakeColumnDef[];
105
+ /**
106
+ * A fake catalog-editor grid: rows live in memory, staging keeps a pre-stage snapshot per row, and the commit
107
+ * reports whatever `options.commit` prescribes. Returns the toolset under test plus the counters and probes the
108
+ * suites assert on (`rolledBack`, `commitCalls`, the recorded stage calls). See `FakeGridOptions` for the knobs.
109
+ */
110
+ export declare function fakeEnvironment(options?: FakeGridOptions): {
111
+ /** Runs any navigation tool against this environment. */
112
+ dispatch: (name: string, input: unknown) => Promise<any>;
113
+ stage: (input: unknown) => Promise<any>;
114
+ staged: {
115
+ rowId: string;
116
+ patch: Record<string, unknown>;
117
+ }[];
118
+ removed: string[][];
119
+ added: Record<string, unknown>[];
120
+ rolledBack: () => number;
121
+ commitCalls: () => number;
122
+ refreshed: () => number;
123
+ headerAdds: {
124
+ field: string;
125
+ key: string;
126
+ }[];
127
+ /** The registry entry of this grid — pushed into ANOTHER environment's registry to model a second grid. */
128
+ entry: {
129
+ id: number;
130
+ label: string;
131
+ gridId: string;
132
+ readUrl: string | undefined;
133
+ getHandle: () => any;
134
+ getActions: () => {
135
+ name: string;
136
+ description: string;
137
+ mutating?: boolean;
138
+ run: (input: string) => Promise<string>;
139
+ }[];
140
+ requestAgentApproval: (changeCount: number, actionLabel?: string) => Promise<boolean>;
141
+ };
142
+ /** The fake store, for tests that stage what the store does between calls (toolbars, grid registration). */
143
+ root: RootStore;
144
+ approvalCalls: {
145
+ changeCount: number;
146
+ actionLabel?: string;
147
+ }[];
148
+ rows: {
149
+ [rowId: string]: any;
150
+ };
151
+ };
152
+ /** Serie 0 is the components serie the view auto-selects. */
153
+ export declare const KOMPONENTEN: {
154
+ _id: string;
155
+ serieNo: number;
156
+ seriesName: {
157
+ DE: string;
158
+ EN: string;
159
+ };
160
+ };
161
+ //# sourceMappingURL=fakeGridEnvironment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fakeGridEnvironment.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=generateImageAsset.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateImageAsset.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/generateImageAsset.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=locateRowExactMatch.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locateRowExactMatch.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowExactMatch.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=lookupWrite.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookupWrite.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/lookupWrite.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=mediaBatchIsolation.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mediaBatchIsolation.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/mediaBatchIsolation.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=navigationToolDefs.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigationToolDefs.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/navigationToolDefs.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=publishCatalogTestManifest.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publishCatalogTestManifest.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/publishCatalogTestManifest.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=runTableAction.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runTableAction.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/runTableAction.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=setAssetCellBatch.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setAssetCellBatch.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/setAssetCellBatch.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=stageTableEdits.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stageTableEdits.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEdits.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=stageTableEditsSequentialLookup.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stageTableEditsSequentialLookup.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEditsSequentialLookup.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=uploadAssetSources.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uploadAssetSources.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/uploadAssetSources.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=articlesEventBelongsToView.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"articlesEventBelongsToView.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventBelongsToView.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=WebplannerInstanceStore.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebplannerInstanceStore.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/tests/unit/store/WebplannerInstanceStore.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=accessoryLookup.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessoryLookup.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=featureColumns.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"featureColumns.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/tests/unit/ui/IDMCatalogEditor/Tables/featureColumns.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=propertyColumn.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"propertyColumn.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/tests/unit/ui/IDMEnricherEditor/TableEnrichment/propertyColumn.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=priceFactorMutations.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"priceFactorMutations.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=routeCatalogId.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routeCatalogId.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/tests/unit/utils/routeCatalogId.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ /** WYSIWYG preview of the content item selected in the library; self-fetching, so it shows current server state. */
3
+ declare const ContentItemPreview: (() => React.JSX.Element) & {
4
+ displayName: string;
5
+ };
6
+ export default ContentItemPreview;
7
+ //# sourceMappingURL=ContentItemPreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContentItemPreview.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/CommonComponents/ContentItemLibrary/ContentItemPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,oHAAoH;AACpH,QAAA,MAAM,kBAAkB;;CAmBtB,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ /**
3
+ * Toolbar table of the organization's content items, mounted on views whose rows can reference one
4
+ * so users reuse items instead of duplicating them. The selection feeds the parallel preview tool.
5
+ */
6
+ export default function ContentItemLibrary(): React.JSX.Element;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/CommonComponents/ContentItemLibrary/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,sBA4DzC"}
@@ -0,0 +1,21 @@
1
+ import type RootStore from '../../../store/RootStore';
2
+ /**
3
+ * Shared selection of the ContentItem library, kept in the ContextStore so the grid, the agent's content
4
+ * tools and the preview tool see one value. Sticky: written only on a real selection, never cleared.
5
+ */
6
+ export interface ContentItemLibraryContext {
7
+ selectedContentItemId?: string;
8
+ previewRevision?: number;
9
+ }
10
+ /** Records a real selection in the shared context; it stays until the next selection, a deselect never clears it. */
11
+ export declare function selectContentItem(root: RootStore, contentItemId: string): void;
12
+ /** The content item last selected in the library, or undefined when nothing has been selected yet. */
13
+ export declare function getSelectedContentItemId(root: RootStore): string | undefined;
14
+ /**
15
+ * Announces that the selected item changed ON THE SERVER. The preview fetches once per mount and remounts
16
+ * per selection, so an in-place update of the item already shown would keep rendering the old content.
17
+ */
18
+ export declare function refreshContentItemPreview(root: RootStore): void;
19
+ /** Counts the forced refreshes; part of the preview's React key, never a selection in itself. */
20
+ export declare function getContentItemPreviewRevision(root: RootStore): number;
21
+ //# sourceMappingURL=libraryContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"libraryContext.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/CommonComponents/ContentItemLibrary/libraryContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,0BAA0B,CAAC;AAEtD;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAID,qHAAqH;AACrH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,QAEvE;AAED,sGAAsG;AACtG,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAE5E;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,SAAS,QAGxD;AAED,iGAAiG;AACjG,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAErE"}
@@ -1,4 +1,5 @@
1
1
  import { Configuration, SpreadsheetProps, SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
2
+ import type { AgentGridAction } from '../../../store/GridRegistry';
2
3
  import React from 'react';
3
4
  /** Spreadsheet configuration plus the agent-addressing fields consumed only by this wrapper's grid registry. */
4
5
  export type AgentGridConfiguration<TData = any> = Configuration<TData> & {
@@ -6,9 +7,13 @@ export type AgentGridConfiguration<TData = any> = Configuration<TData> & {
6
7
  agentDescription?: string;
7
8
  /** Stable unique grid handle for AI tools (replaces the collision-prone read-endpoint label). */
8
9
  agentGridId?: string;
10
+ /** Operations this table offers beyond cell edits, carried to the agent as-is (see AgentGridAction). */
11
+ agentActions?: AgentGridAction[];
9
12
  };
10
13
  declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Omit<SpreadsheetProps<any>, "jwt" | "configuration"> & {
11
14
  configuration: AgentGridConfiguration;
15
+ /** Set when this grid lives inside a right-toolbar tool (see GridEntry.toolbarToolId). */
16
+ toolbarToolId?: string;
12
17
  } & React.RefAttributes<SpreadsheetRefProps>, "ref"> & React.RefAttributes<SpreadsheetRefProps>>>;
13
18
  export default _default;
14
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/CommonComponents/SpreadsheetWrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAe,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAE/G,OAAO,KAAwC,MAAM,OAAO,CAAC;AAG7D,gHAAgH;AAEhH,MAAM,MAAM,sBAAsB,CAAC,KAAK,GAAG,GAAG,IAAI,aAAa,CAAC,KAAK,CAAC,GAAG;IACvE,+DAA+D;IAC/D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iGAAiG;IACjG,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;;mBAGe,sBAAsB;;AA4DvC,wBAA4C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/CommonComponents/SpreadsheetWrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAe,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAE/G,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAkD,MAAM,OAAO,CAAC;AAKvE,gHAAgH;AAEhH,MAAM,MAAM,sBAAsB,CAAC,KAAK,GAAG,GAAG,IAAI,aAAa,CAAC,KAAK,CAAC,GAAG;IACvE,+DAA+D;IAC/D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iGAAiG;IACjG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wGAAwG;IACxG,YAAY,CAAC,EAAE,eAAe,EAAE,CAAC;CAClC,CAAC;;mBAGe,sBAAsB;IACrC,0FAA0F;oBAC1E,MAAM;;AA0HxB,wBAA4C"}
@@ -1 +1 @@
1
- {"version":3,"file":"useTools.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/CommonComponents/useTools.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAuB,iBAAiB,EAAE,MAAM,wEAAwE,CAAC;AAEhI,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG;IACnC,SAAS,CAAC,EAAE,MAAM,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,4CAA4C;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qDAAqD;IACrD,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,0CAA0C;IAC1C,KAAK,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,mCAAmC;IACnC,IAAI,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1B,+BAA+B;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,sCAAsC;IACtC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,4FAA4F;IAC5F,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oCAAoC;IACpC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACnE,8BAA8B;IAC9B,UAAU,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACpD,uBAAuB;IACvB,gBAAgB,CAAC,EAAE,eAAe,EAAE,CAAC;CACtC,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,QAAQ,uJAYlB,aAAa;sCA8E2B,OAAO,CAAC,iBAAiB,CAAC;qCAd3B,MAAM,QAAQ,OAAO;CA2E9D,CAAC"}
1
+ {"version":3,"file":"useTools.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/CommonComponents/useTools.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAuB,iBAAiB,EAAE,MAAM,wEAAwE,CAAC;AAIhI,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG;IACnC,SAAS,CAAC,EAAE,MAAM,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,4CAA4C;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qDAAqD;IACrD,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,0CAA0C;IAC1C,KAAK,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,mCAAmC;IACnC,IAAI,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1B,+BAA+B;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,sCAAsC;IACtC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,4FAA4F;IAC5F,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oCAAoC;IACpC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACnE,8BAA8B;IAC9B,UAAU,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACpD,uBAAuB;IACvB,gBAAgB,CAAC,EAAE,eAAe,EAAE,CAAC;CACtC,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,QAAQ,uJAYlB,aAAa;sCAgF2B,OAAO,CAAC,iBAAiB,CAAC;qCAd3B,MAAM,QAAQ,OAAO;CA0E9D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AddAccessoryModal.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/AddAccessoryModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAQzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAGtE,UAAU,KAAK;IACb,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iGAAiG;IACjG,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;CAC/C;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,KAAK,qBAiJvG"}
1
+ {"version":3,"file":"AddAccessoryModal.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/AddAccessoryModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAQzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAItE,UAAU,KAAK;IACb,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iGAAiG;IACjG,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;CAC/C;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,KAAK,qBAoKvG"}
@@ -0,0 +1,61 @@
1
+ /**
2
+ * Resolving accessory ARTICLES for the Zusatzartikel grid: the same two questions the add dialog asks - which
3
+ * articles can become a column, and which article does a given key mean. Kept free of stores and fetch (the reader
4
+ * is injected) so the agent action and the dialog answer them identically.
5
+ *
6
+ * An accessory is addressed as `<serieNo>/<typeNo>`: a type no is only unique inside its serie, and an accessory
7
+ * may come from another serie than the one being edited. A token without a serie means the edited serie.
8
+ */
9
+ import { AdditionalItemRef } from '../../hooks/useAdditionalItemRefs';
10
+ /** Reads a JSON list from the idm service. */
11
+ export type ReadList = (path: string) => Promise<any[]>;
12
+ interface Serie {
13
+ _id: string;
14
+ serieNo: string | number;
15
+ seriesName?: {
16
+ [language: string]: string;
17
+ };
18
+ }
19
+ /** What resolving an accessory token needs: the catalog's list reader, the catalog, the serie being edited and the display language. */
20
+ export interface AccessoryLookupContext {
21
+ readList: ReadList;
22
+ catalogId: string;
23
+ /** _id of the serie being edited - the default serie of a token that names none. */
24
+ serieId: string;
25
+ language: string;
26
+ }
27
+ /** The series of the catalog, as the add dialog lists them. */
28
+ export declare const seriesOf: (ctx: AccessoryLookupContext) => Promise<Serie[]>;
29
+ /** Only what the picker and the column need - without the projection the endpoint resolves prices and partlists per item. */
30
+ export declare const itemsOf: (ctx: AccessoryLookupContext, serieId: string) => Promise<any[]>;
31
+ /** A serie as the dialog and the agent name it: "<name> (<serieNo>)", the number alone when it has no name in this language. */
32
+ export declare const serieLabel: (serie: Serie, language: string) => string;
33
+ /** An article as the dialog and the agent name it: "<short text> (<typeNo>)", the number alone when it has no short text in this language. */
34
+ export declare const itemLabel: (item: {
35
+ typeNo: string;
36
+ shortText?: {
37
+ [language: string]: string;
38
+ };
39
+ }, language: string) => string;
40
+ /**
41
+ * The articles that can become accessory columns, as `<serieNo>/<typeNo>` values. A search of the form
42
+ * `<serieNo>/<text>` lists that serie's articles, anything else searches the serie being edited - which is where an
43
+ * accessory comes from in most cases, and the default of the dialog.
44
+ */
45
+ export declare function accessoryCandidates(ctx: AccessoryLookupContext, search: string, limit: number): Promise<{
46
+ options: {
47
+ value: string;
48
+ label: string;
49
+ }[];
50
+ note?: string;
51
+ }>;
52
+ /**
53
+ * Resolves `<serieNo>/<typeNo>` tokens into the column references the grid adds. Every token is checked against the
54
+ * catalog, so a mistyped article becomes a named failure instead of a column that can never hold a relation.
55
+ */
56
+ export declare function resolveAccessoryRefs(ctx: AccessoryLookupContext, input: string): Promise<{
57
+ refs: AdditionalItemRef[];
58
+ unknown: string[];
59
+ }>;
60
+ export {};
61
+ //# sourceMappingURL=accessoryLookup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessoryLookup.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAGtE,8CAA8C;AAC9C,MAAM,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;AAExD,UAAU,KAAK;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE;QAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAC7C;AAED,wIAAwI;AACxI,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,QAAQ,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,oFAAoF;IACpF,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAWD,+DAA+D;AAC/D,eAAO,MAAM,QAAQ,QAAS,sBAAsB,KAA0D,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;AAE/H,6HAA6H;AAC7H,eAAO,MAAM,OAAO,QAAS,sBAAsB,WAAW,MAAM,mBACiD,CAAC;AAEtH,gIAAgI;AAChI,eAAO,MAAM,UAAU,UAAW,KAAK,YAAY,MAAM,WAKxD,CAAC;AAEF,8IAA8I;AAC9I,eAAO,MAAM,SAAS,SAAU;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE;QAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CAAE,YAAY,MAAM,WAI/G,CAAC;AAEF;;;;GAIG;AACH,wBAAsB,mBAAmB,CACvC,GAAG,EAAE,sBAAsB,EAC3B,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC;IAAE,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CA0BzE;AAED;;;GAGG;AACH,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,sBAAsB,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;IAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CA2ChJ"}
@@ -14,6 +14,8 @@ interface Props {
14
14
  onlyWithRelations?: boolean;
15
15
  /** Drops the column of an accessory whose relations were deleted from the serie. */
16
16
  onRemoved?: (key: string) => void;
17
+ /** Opens columns for further accessories - the same callback the add dialog uses, offered to the agent as an action. */
18
+ onAdd?: (columns: AdditionalItemRef[]) => void;
17
19
  viewOnly?: boolean;
18
20
  }
19
21
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAU5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAKtE,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2GAA2G;IAC3G,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,qGAAqG;IACrG,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,iGAAiG;IACjG,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oFAAoF;IACpF,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAKD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,gBAAgB,WAAoB,KAAK;;CAwOpD,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAY5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAMtE,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2GAA2G;IAC3G,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,qGAAqG;IACrG,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,iGAAiG;IACjG,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oFAAoF;IACpF,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,wHAAwH;IACxH,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAKD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,gBAAgB,WAAoB,KAAK;;CAkUpD,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Items.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Items.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAGxE,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAA4C,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjI,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAwBvC,UAAU,UAAU;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC;IAC7B,aAAa,EAAE,GAAG,CAAC;IACnB,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAClC,sLAAsL;IACtL,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,+NAA+N;IAC/N,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAChC;AAgpBD,QAAA,MAAM,KAAK,2KAAuB,CAAC;AAEnC,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Items.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Items.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAGxE,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAA4C,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjI,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAwBvC,UAAU,UAAU;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC;IAC7B,aAAa,EAAE,GAAG,CAAC;IACnB,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAClC,sLAAsL;IACtL,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,+NAA+N;IAC/N,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAChC;AA+oBD,QAAA,MAAM,KAAK,2KAAuB,CAAC;AAEnC,eAAe,KAAK,CAAC"}
@@ -5,6 +5,6 @@ export default function OptionCombinations({ decision, catalogId, defaultLanguag
5
5
  catalogId: string;
6
6
  defaultLanguage?: string;
7
7
  apiConfig: ApiConfig;
8
- setNodeDataValue: (data: Record<string, any>) => boolean;
8
+ setNodeDataValue: (data: Record<string, any>) => void;
9
9
  }): React.JSX.Element;
10
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAQrE,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,QAAQ,EACR,SAAS,EACT,eAAe,EACf,SAAS,EACT,gBAAgB,GACjB,EAAE;IACD,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;CAC1D,qBA8MA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AASrE,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,QAAQ,EACR,SAAS,EACT,eAAe,EACf,SAAS,EACT,gBAAgB,GACjB,EAAE;IACD,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;CACvD,qBA0MA"}
@@ -1 +1 @@
1
- {"version":3,"file":"OptionGroupOptions.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionGroupOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAC5B,cAAc,EACd,eAAe,EACf,SAAS,EACT,mBAAmB,GACpB,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC;IAC7B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,SAAS,EAAE,SAAS,CAAC;CACtB,qBAgEA"}
1
+ {"version":3,"file":"OptionGroupOptions.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionGroupOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAC5B,cAAc,EACd,eAAe,EACf,SAAS,EACT,mBAAmB,GACpB,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC;IAC7B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,SAAS,EAAE,SAAS,CAAC;CACtB,qBAkEA"}
@@ -7,7 +7,7 @@ export default function PartlistPos({ organizationId, catalog, partlist, apiConf
7
7
  partlist: any;
8
8
  apiConfig: ApiConfig;
9
9
  hooks?: DivaSpreadsheetHooks<any>;
10
- setNodeDataValue: (data: Record<string, any>) => boolean;
10
+ setNodeDataValue: (data: Record<string, any>) => void;
11
11
  /** Refreshes partlists, reloads the partlist from the API (featureRefs etc.), remounts the PartlistPos grid. */
12
12
  onPartlistPosExcelImportComplete?: () => void | Promise<void>;
13
13
  /** Changing this value remounts the partlistpos Spreadsheet (e.g. after Excel import). */
@@ -1 +1 @@
1
- {"version":3,"file":"PartlistPos.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PartlistPos.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAqC,MAAM,0BAA0B,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAmD,MAAM,4BAA4B,CAAC;AAenH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,cAAc,EACd,OAAO,EACP,QAAQ,EACR,SAAS,EACT,KAAK,EACL,gBAAgB,EAChB,gCAAgC,EAChC,uBAA2B,GAC5B,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAClC,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;IACzD,gHAAgH;IAChH,gCAAgC,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D,0FAA0F;IAC1F,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,qBAoaA"}
1
+ {"version":3,"file":"PartlistPos.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PartlistPos.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAqC,MAAM,0BAA0B,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAmD,MAAM,4BAA4B,CAAC;AAgBnH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,cAAc,EACd,OAAO,EACP,QAAQ,EACR,SAAS,EACT,KAAK,EACL,gBAAgB,EAChB,gCAAgC,EAChC,uBAA2B,GAC5B,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAClC,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACtD,gHAAgH;IAChH,gCAAgC,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D,0FAA0F;IAC1F,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,qBAoaA"}
@@ -5,7 +5,7 @@ export default function PriceFeatureGroupFinishes({ priceFeatureGroup, catalogId
5
5
  catalogId: string;
6
6
  defaultLanguage?: string;
7
7
  apiConfig: ApiConfig;
8
- setNodeDataValue: (data: Record<string, any>) => boolean;
8
+ setNodeDataValue: (data: Record<string, any>) => void;
9
9
  setIsPercentage: (isPercentage?: boolean) => void;
10
10
  }): React.JSX.Element;
11
11
  //# sourceMappingURL=PriceFeatureGroupFinishes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PriceFeatureGroupFinishes.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAMrE,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAChD,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,SAAS,EACT,gBAAgB,EAChB,eAAe,GAChB,EAAE;IACD,iBAAiB,EAAE,GAAG,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;IACzD,eAAe,EAAE,CAAC,YAAY,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CACnD,qBAkNA"}
1
+ {"version":3,"file":"PriceFeatureGroupFinishes.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAOrE,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAChD,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,SAAS,EACT,gBAAgB,EAChB,eAAe,GAChB,EAAE;IACD,iBAAiB,EAAE,GAAG,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACtD,eAAe,EAAE,CAAC,YAAY,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CACnD,qBAyNA"}