@configura/web-api 2.0.0-alpha.0 → 2.0.0-alpha.3

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 (98) hide show
  1. package/.eslintrc.json +18 -18
  2. package/LICENSE +201 -201
  3. package/README.md +1 -1
  4. package/dist/CatalogueAPI.d.ts +551 -551
  5. package/dist/CatalogueAPI.js +293 -293
  6. package/dist/CfgMeasure.d.ts +32 -32
  7. package/dist/CfgMeasure.js +30 -30
  8. package/dist/CfgProduct.d.ts +268 -268
  9. package/dist/CfgProduct.js +778 -778
  10. package/dist/CfgReferencePathHelper.d.ts +13 -13
  11. package/dist/CfgReferencePathHelper.js +13 -13
  12. package/dist/ConfigurationConverter.d.ts +4 -4
  13. package/dist/ConfigurationConverter.js +72 -72
  14. package/dist/index.d.ts +23 -23
  15. package/dist/index.js +23 -23
  16. package/dist/io/CfgHistoryManager.d.ts +50 -50
  17. package/dist/io/CfgHistoryManager.js +82 -82
  18. package/dist/io/CfgHistoryToProdConfConnector.d.ts +20 -20
  19. package/dist/io/CfgHistoryToProdConfConnector.js +56 -56
  20. package/dist/io/CfgIOManager.d.ts +48 -48
  21. package/dist/io/CfgIOManager.js +115 -115
  22. package/dist/io/CfgIOProdConfConnector.d.ts +52 -52
  23. package/dist/io/CfgIOProdConfConnector.js +141 -141
  24. package/dist/io/CfgObservableStateManager.d.ts +21 -21
  25. package/dist/io/CfgObservableStateManager.js +65 -65
  26. package/dist/io/CfgObservableStateToProdConfConnector.d.ts +14 -14
  27. package/dist/io/CfgObservableStateToProdConfConnector.js +16 -16
  28. package/dist/io/CfgWindowEventManager.d.ts +21 -21
  29. package/dist/io/CfgWindowEventManager.js +38 -38
  30. package/dist/io/CfgWindowMessageManager.d.ts +40 -40
  31. package/dist/io/CfgWindowMessageManager.js +84 -84
  32. package/dist/io/CfgWindowMessageToProdConfConnector.d.ts +16 -16
  33. package/dist/io/CfgWindowMessageToProdConfConnector.js +18 -18
  34. package/dist/io/index.d.ts +8 -8
  35. package/dist/io/index.js +8 -8
  36. package/dist/material/CfgMaterialMapping.d.ts +7 -7
  37. package/dist/material/CfgMaterialMapping.js +181 -181
  38. package/dist/material/CfgMtrlApplication.d.ts +18 -18
  39. package/dist/material/CfgMtrlApplication.js +43 -43
  40. package/dist/material/CfgMtrlApplicationSource.d.ts +7 -7
  41. package/dist/material/CfgMtrlApplicationSource.js +8 -8
  42. package/dist/material/CfgMtrlSource.d.ts +19 -19
  43. package/dist/material/CfgMtrlSource.js +40 -40
  44. package/dist/material/CfgMtrlSourceWithMetaData.d.ts +7 -7
  45. package/dist/material/CfgMtrlSourceWithMetaData.js +1 -1
  46. package/dist/productConfiguration/CfgFeature.d.ts +187 -187
  47. package/dist/productConfiguration/CfgFeature.js +645 -645
  48. package/dist/productConfiguration/CfgOption.d.ts +151 -151
  49. package/dist/productConfiguration/CfgOption.js +416 -416
  50. package/dist/productConfiguration/CfgProductConfiguration.d.ts +117 -117
  51. package/dist/productConfiguration/CfgProductConfiguration.js +307 -307
  52. package/dist/productConfiguration/filters.d.ts +15 -15
  53. package/dist/productConfiguration/filters.js +70 -70
  54. package/dist/productConfiguration/productParamsGenerator.d.ts +15 -15
  55. package/dist/productConfiguration/productParamsGenerator.js +51 -51
  56. package/dist/productConfiguration/utilitiesProductConfiguration.d.ts +17 -17
  57. package/dist/productConfiguration/utilitiesProductConfiguration.js +80 -80
  58. package/dist/productLoader.d.ts +33 -33
  59. package/dist/productLoader.js +49 -49
  60. package/dist/syncGroups/SyncGroupsApplyMode.d.ts +20 -20
  61. package/dist/syncGroups/SyncGroupsApplyMode.js +21 -21
  62. package/dist/syncGroups/SyncGroupsHandler.d.ts +40 -40
  63. package/dist/syncGroups/SyncGroupsHandler.js +359 -359
  64. package/dist/syncGroups/SyncGroupsPathHelper.d.ts +26 -26
  65. package/dist/syncGroups/SyncGroupsPathHelper.js +90 -90
  66. package/dist/syncGroups/SyncGroupsState.d.ts +35 -35
  67. package/dist/syncGroups/SyncGroupsState.js +125 -125
  68. package/dist/syncGroups/SyncGroupsTransaction.d.ts +154 -154
  69. package/dist/syncGroups/SyncGroupsTransaction.js +576 -576
  70. package/dist/tasks/TaskHandler.d.ts +77 -77
  71. package/dist/tasks/TaskHandler.js +275 -275
  72. package/dist/tasks/formats.d.ts +4 -4
  73. package/dist/tasks/formats.js +7 -7
  74. package/dist/tests/testData/collectorForTest.d.ts +73 -73
  75. package/dist/tests/testData/collectorForTest.js +194 -194
  76. package/dist/tests/testData/dummyProductForTest.d.ts +4 -4
  77. package/dist/tests/testData/dummyProductForTest.js +32 -32
  78. package/dist/tests/testData/testDataAdditionalProductInAdditionalProductInProductForTest.d.ts +11 -11
  79. package/dist/tests/testData/testDataAdditionalProductInAdditionalProductInProductForTest.js +277 -277
  80. package/dist/tests/testData/testDataCachedGetProduct.d.ts +5 -5
  81. package/dist/tests/testData/testDataCachedGetProduct.js +185 -185
  82. package/dist/tests/testData/testDataCachedPostValidate.d.ts +7 -7
  83. package/dist/tests/testData/testDataCachedPostValidate.js +183 -183
  84. package/dist/tests/testData/testDataNoAdditionalProductNoPropagateForTest.d.ts +3 -3
  85. package/dist/tests/testData/testDataNoAdditionalProductNoPropagateForTest.js +1099 -1099
  86. package/dist/tests/testData/testDataOptions.d.ts +12 -12
  87. package/dist/tests/testData/testDataOptions.js +60 -60
  88. package/dist/tests/testData/testDataProductAggregatedPrice.d.ts +6 -6
  89. package/dist/tests/testData/testDataProductAggregatedPrice.js +187 -187
  90. package/dist/tests/testData/testDataUpcharge.d.ts +8 -8
  91. package/dist/tests/testData/testDataUpcharge.js +119 -119
  92. package/dist/utilitiesCatalogueData.d.ts +42 -33
  93. package/dist/utilitiesCatalogueData.js +173 -164
  94. package/dist/utilitiesCataloguePermission.d.ts +38 -32
  95. package/dist/utilitiesCataloguePermission.js +79 -76
  96. package/dist/utilitiesNumericValues.d.ts +24 -24
  97. package/dist/utilitiesNumericValues.js +109 -109
  98. package/package.json +3 -3
@@ -1,41 +1,41 @@
1
- import { IOManagerListener } from "./CfgIOManager.js";
2
- import { CfgWindowEventManager } from "./CfgWindowEventManager.js";
3
- /**
4
- * This class does nothing on it's own. It is used to coordinate sending and receiving
5
- * using the post message-API. See https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
6
- */
7
- export declare class CfgWindowMessageManager extends CfgWindowEventManager<"message", unknown> {
8
- private static _instance;
9
- static get instance(): CfgWindowMessageManager;
10
- /**
11
- * If uncertain about security, please read https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
12
- */
13
- private constructor();
14
- private _doListenForIncoming;
15
- private _remoteEnds;
16
- private _targetOrigin;
17
- private _acceptableMessageOrigin;
18
- /**
19
- * Listen for incoming messages or not
20
- */
21
- set doListenForIncoming(v: boolean);
22
- /**
23
- * What window object outgoing messages should be sent to. Leave empty if you don't want to broadcast.
24
- */
25
- set remoteEnds(v: Window[]);
26
- /**
27
- * What origins of the target window are acceptable.
28
- */
29
- set targetOrigin(v: string);
30
- /**
31
- * @param _acceptableMessageOrigin What message origins we accept incoming from.
32
- */
33
- set acceptableMessageOrigin(v: string);
34
- listenForMessage(l: IOManagerListener, messageKey: string): boolean;
35
- stopListenForMessage(l: IOManagerListener): boolean;
36
- send(messageKey: string, data: unknown): void;
37
- protected _containerListener(event: MessageEvent<unknown>): void;
38
- protected readonly eventType = "message";
39
- protected getDataFromEvent(event: MessageEvent<unknown>): unknown;
40
- }
1
+ import { IOManagerListener } from "./CfgIOManager.js";
2
+ import { CfgWindowEventManager } from "./CfgWindowEventManager.js";
3
+ /**
4
+ * This class does nothing on it's own. It is used to coordinate sending and receiving
5
+ * using the post message-API. See https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
6
+ */
7
+ export declare class CfgWindowMessageManager extends CfgWindowEventManager<"message", unknown> {
8
+ private static _instance;
9
+ static get instance(): CfgWindowMessageManager;
10
+ /**
11
+ * If uncertain about security, please read https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
12
+ */
13
+ private constructor();
14
+ private _doListenForIncoming;
15
+ private _remoteEnds;
16
+ private _targetOrigin;
17
+ private _acceptableMessageOrigin;
18
+ /**
19
+ * Listen for incoming messages or not
20
+ */
21
+ set doListenForIncoming(v: boolean);
22
+ /**
23
+ * What window object outgoing messages should be sent to. Leave empty if you don't want to broadcast.
24
+ */
25
+ set remoteEnds(v: Window[]);
26
+ /**
27
+ * What origins of the target window are acceptable.
28
+ */
29
+ set targetOrigin(v: string);
30
+ /**
31
+ * @param _acceptableMessageOrigin What message origins we accept incoming from.
32
+ */
33
+ set acceptableMessageOrigin(v: string);
34
+ listenForMessage(l: IOManagerListener, messageKey: string): boolean;
35
+ stopListenForMessage(l: IOManagerListener): boolean;
36
+ send(messageKey: string, data: unknown): void;
37
+ protected _containerListener(event: MessageEvent): void;
38
+ protected readonly eventType = "message";
39
+ protected getDataFromEvent(event: MessageEvent): unknown;
40
+ }
41
41
  //# sourceMappingURL=CfgWindowMessageManager.d.ts.map
@@ -1,84 +1,84 @@
1
- import { CfgIOManager } from "./CfgIOManager.js";
2
- import { CfgWindowEventManager } from "./CfgWindowEventManager.js";
3
- /**
4
- * This class does nothing on it's own. It is used to coordinate sending and receiving
5
- * using the post message-API. See https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
6
- */
7
- export class CfgWindowMessageManager extends CfgWindowEventManager {
8
- /**
9
- * If uncertain about security, please read https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
10
- */
11
- constructor() {
12
- super();
13
- this._doListenForIncoming = true;
14
- this._remoteEnds = [];
15
- this._targetOrigin = "*";
16
- this._acceptableMessageOrigin = undefined;
17
- this.eventType = "message";
18
- }
19
- static get instance() {
20
- if (this._instance === undefined) {
21
- this._instance = new CfgWindowMessageManager();
22
- }
23
- return this._instance;
24
- }
25
- /**
26
- * Listen for incoming messages or not
27
- */
28
- set doListenForIncoming(v) {
29
- this._doListenForIncoming = v;
30
- }
31
- /**
32
- * What window object outgoing messages should be sent to. Leave empty if you don't want to broadcast.
33
- */
34
- set remoteEnds(v) {
35
- for (const remote of v) {
36
- if (remote === window) {
37
- console.warn("You are providing your own window as a remote end.");
38
- }
39
- }
40
- this._remoteEnds = v;
41
- }
42
- /**
43
- * What origins of the target window are acceptable.
44
- */
45
- set targetOrigin(v) {
46
- this._targetOrigin = v;
47
- }
48
- /**
49
- * @param _acceptableMessageOrigin What message origins we accept incoming from.
50
- */
51
- set acceptableMessageOrigin(v) {
52
- this._acceptableMessageOrigin = v;
53
- }
54
- listenForMessage(l, messageKey) {
55
- if (!this._doListenForIncoming) {
56
- return false;
57
- }
58
- return super.listenForMessage(l, messageKey);
59
- }
60
- stopListenForMessage(l) {
61
- if (!this._doListenForIncoming) {
62
- return false;
63
- }
64
- return super.stopListenForMessage(l);
65
- }
66
- send(messageKey, data) {
67
- const container = CfgIOManager.makeContainer({
68
- [messageKey]: data,
69
- });
70
- for (const remoteEnd of this._remoteEnds) {
71
- remoteEnd.postMessage(container, this._targetOrigin);
72
- }
73
- }
74
- _containerListener(event) {
75
- if (this._acceptableMessageOrigin !== undefined &&
76
- event.origin !== this._acceptableMessageOrigin) {
77
- return;
78
- }
79
- super._containerListener(event);
80
- }
81
- getDataFromEvent(event) {
82
- return event.data;
83
- }
84
- }
1
+ import { CfgIOManager } from "./CfgIOManager.js";
2
+ import { CfgWindowEventManager } from "./CfgWindowEventManager.js";
3
+ /**
4
+ * This class does nothing on it's own. It is used to coordinate sending and receiving
5
+ * using the post message-API. See https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
6
+ */
7
+ export class CfgWindowMessageManager extends CfgWindowEventManager {
8
+ /**
9
+ * If uncertain about security, please read https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
10
+ */
11
+ constructor() {
12
+ super();
13
+ this._doListenForIncoming = true;
14
+ this._remoteEnds = [];
15
+ this._targetOrigin = "*";
16
+ this._acceptableMessageOrigin = undefined;
17
+ this.eventType = "message";
18
+ }
19
+ static get instance() {
20
+ if (this._instance === undefined) {
21
+ this._instance = new CfgWindowMessageManager();
22
+ }
23
+ return this._instance;
24
+ }
25
+ /**
26
+ * Listen for incoming messages or not
27
+ */
28
+ set doListenForIncoming(v) {
29
+ this._doListenForIncoming = v;
30
+ }
31
+ /**
32
+ * What window object outgoing messages should be sent to. Leave empty if you don't want to broadcast.
33
+ */
34
+ set remoteEnds(v) {
35
+ for (const remote of v) {
36
+ if (remote === window) {
37
+ console.warn("You are providing your own window as a remote end.");
38
+ }
39
+ }
40
+ this._remoteEnds = v;
41
+ }
42
+ /**
43
+ * What origins of the target window are acceptable.
44
+ */
45
+ set targetOrigin(v) {
46
+ this._targetOrigin = v;
47
+ }
48
+ /**
49
+ * @param _acceptableMessageOrigin What message origins we accept incoming from.
50
+ */
51
+ set acceptableMessageOrigin(v) {
52
+ this._acceptableMessageOrigin = v;
53
+ }
54
+ listenForMessage(l, messageKey) {
55
+ if (!this._doListenForIncoming) {
56
+ return false;
57
+ }
58
+ return super.listenForMessage(l, messageKey);
59
+ }
60
+ stopListenForMessage(l) {
61
+ if (!this._doListenForIncoming) {
62
+ return false;
63
+ }
64
+ return super.stopListenForMessage(l);
65
+ }
66
+ send(messageKey, data) {
67
+ const container = CfgIOManager.makeContainer({
68
+ [messageKey]: data,
69
+ });
70
+ for (const remoteEnd of this._remoteEnds) {
71
+ remoteEnd.postMessage(container, this._targetOrigin);
72
+ }
73
+ }
74
+ _containerListener(event) {
75
+ if (this._acceptableMessageOrigin !== undefined &&
76
+ event.origin !== this._acceptableMessageOrigin) {
77
+ return;
78
+ }
79
+ super._containerListener(event);
80
+ }
81
+ getDataFromEvent(event) {
82
+ return event.data;
83
+ }
84
+ }
@@ -1,17 +1,17 @@
1
- import { DtoConfProd } from "../CatalogueAPI.js";
2
- import { CfgIOProdConfConnector, CfgProdConfMessage, CfgProdConfMessageVersions } from "./CfgIOProdConfConnector.js";
3
- import { CfgWindowMessageManager } from "./CfgWindowMessageManager.js";
4
- /**
5
- * Instantiating this will make Stage send product configuration changes using the post message-API.
6
- * It will also make Stage listen for incoming product configuration update messages.
7
- * This can be used to communicate in and out of an iframe for example.
8
- * @param doValidate Run server side product validation for incoming
9
- * @param sendVersions What versions of the productConfiguration shall be sent? Multiple can be selected
10
- * @param includeExtendedDataInSend Only for version 2.0. Includes unit and groupCode.
11
- * @param includeProdParamsInSend Only for version 2.0. Includes product params, in both main and additional products.
12
- */
13
- export declare class CfgWindowMessageToProdConfConnector extends CfgIOProdConfConnector<CfgProdConfMessage> {
14
- constructor(manager: CfgWindowMessageManager, doValidate?: boolean, sendVersions?: CfgProdConfMessageVersions, includeExtendedDataInSend?: boolean, includeProdParamsInSend?: boolean);
15
- protected makeSendData(conf: DtoConfProd, initial: boolean): CfgProdConfMessage;
16
- }
1
+ import { DtoConfProd } from "../CatalogueAPI.js";
2
+ import { CfgIOProdConfConnector, CfgProdConfMessage, CfgProdConfMessageVersions } from "./CfgIOProdConfConnector.js";
3
+ import { CfgWindowMessageManager } from "./CfgWindowMessageManager.js";
4
+ /**
5
+ * Instantiating this will make Stage send product configuration changes using the post message-API.
6
+ * It will also make Stage listen for incoming product configuration update messages.
7
+ * This can be used to communicate in and out of an iframe for example.
8
+ * @param doValidate Run server side product validation for incoming
9
+ * @param sendVersions What versions of the productConfiguration shall be sent? Multiple can be selected
10
+ * @param includeExtendedDataInSend Only for version 2.0. Includes unit and groupCode.
11
+ * @param includeProdParamsInSend Only for version 2.0. Includes product params, in both main and additional products.
12
+ */
13
+ export declare class CfgWindowMessageToProdConfConnector extends CfgIOProdConfConnector<CfgProdConfMessage> {
14
+ constructor(manager: CfgWindowMessageManager, doValidate?: boolean, sendVersions?: CfgProdConfMessageVersions, includeExtendedDataInSend?: boolean, includeProdParamsInSend?: boolean);
15
+ protected makeSendData(conf: DtoConfProd, initial: boolean): CfgProdConfMessage;
16
+ }
17
17
  //# sourceMappingURL=CfgWindowMessageToProdConfConnector.d.ts.map
@@ -1,18 +1,18 @@
1
- import { CfgIOProdConfConnector, CfgProdConfMessageVersions, } from "./CfgIOProdConfConnector.js";
2
- /**
3
- * Instantiating this will make Stage send product configuration changes using the post message-API.
4
- * It will also make Stage listen for incoming product configuration update messages.
5
- * This can be used to communicate in and out of an iframe for example.
6
- * @param doValidate Run server side product validation for incoming
7
- * @param sendVersions What versions of the productConfiguration shall be sent? Multiple can be selected
8
- * @param includeExtendedDataInSend Only for version 2.0. Includes unit and groupCode.
9
- * @param includeProdParamsInSend Only for version 2.0. Includes product params, in both main and additional products.
10
- */
11
- export class CfgWindowMessageToProdConfConnector extends CfgIOProdConfConnector {
12
- constructor(manager, doValidate = true, sendVersions = CfgProdConfMessageVersions.V2dot0, includeExtendedDataInSend = false, includeProdParamsInSend = false) {
13
- super(manager, doValidate, sendVersions, includeExtendedDataInSend, includeProdParamsInSend);
14
- }
15
- makeSendData(conf, initial) {
16
- return this.makeMessage(conf, initial);
17
- }
18
- }
1
+ import { CfgIOProdConfConnector, CfgProdConfMessageVersions, } from "./CfgIOProdConfConnector.js";
2
+ /**
3
+ * Instantiating this will make Stage send product configuration changes using the post message-API.
4
+ * It will also make Stage listen for incoming product configuration update messages.
5
+ * This can be used to communicate in and out of an iframe for example.
6
+ * @param doValidate Run server side product validation for incoming
7
+ * @param sendVersions What versions of the productConfiguration shall be sent? Multiple can be selected
8
+ * @param includeExtendedDataInSend Only for version 2.0. Includes unit and groupCode.
9
+ * @param includeProdParamsInSend Only for version 2.0. Includes product params, in both main and additional products.
10
+ */
11
+ export class CfgWindowMessageToProdConfConnector extends CfgIOProdConfConnector {
12
+ constructor(manager, doValidate = true, sendVersions = CfgProdConfMessageVersions.V2dot0, includeExtendedDataInSend = false, includeProdParamsInSend = false) {
13
+ super(manager, doValidate, sendVersions, includeExtendedDataInSend, includeProdParamsInSend);
14
+ }
15
+ makeSendData(conf, initial) {
16
+ return this.makeMessage(conf, initial);
17
+ }
18
+ }
@@ -1,9 +1,9 @@
1
- export * from "./CfgHistoryManager.js";
2
- export * from "./CfgHistoryToProdConfConnector.js";
3
- export * from "./CfgIOManager.js";
4
- export * from "./CfgIOProdConfConnector.js";
5
- export * from "./CfgObservableStateManager.js";
6
- export * from "./CfgObservableStateToProdConfConnector.js";
7
- export * from "./CfgWindowMessageManager.js";
8
- export * from "./CfgWindowMessageToProdConfConnector.js";
1
+ export * from "./CfgHistoryManager.js";
2
+ export * from "./CfgHistoryToProdConfConnector.js";
3
+ export * from "./CfgIOManager.js";
4
+ export * from "./CfgIOProdConfConnector.js";
5
+ export * from "./CfgObservableStateManager.js";
6
+ export * from "./CfgObservableStateToProdConfConnector.js";
7
+ export * from "./CfgWindowMessageManager.js";
8
+ export * from "./CfgWindowMessageToProdConfConnector.js";
9
9
  //# sourceMappingURL=index.d.ts.map
package/dist/io/index.js CHANGED
@@ -1,8 +1,8 @@
1
- export * from "./CfgHistoryManager.js";
2
- export * from "./CfgHistoryToProdConfConnector.js";
3
- export * from "./CfgIOManager.js";
4
- export * from "./CfgIOProdConfConnector.js";
5
- export * from "./CfgObservableStateManager.js";
6
- export * from "./CfgObservableStateToProdConfConnector.js";
7
- export * from "./CfgWindowMessageManager.js";
8
- export * from "./CfgWindowMessageToProdConfConnector.js";
1
+ export * from "./CfgHistoryManager.js";
2
+ export * from "./CfgHistoryToProdConfConnector.js";
3
+ export * from "./CfgIOManager.js";
4
+ export * from "./CfgIOProdConfConnector.js";
5
+ export * from "./CfgObservableStateManager.js";
6
+ export * from "./CfgObservableStateToProdConfConnector.js";
7
+ export * from "./CfgWindowMessageManager.js";
8
+ export * from "./CfgWindowMessageToProdConfConnector.js";
@@ -1,8 +1,8 @@
1
- import { CfgProductConfiguration } from "../productConfiguration/CfgProductConfiguration.js";
2
- import { CfgMtrlApplication } from "./CfgMtrlApplication.js";
3
- import { CfgMtrlSourceWithMetaData } from "./CfgMtrlSourceWithMetaData.js";
4
- export declare type CfgMaterialMapping = Map<string, CfgMtrlSourceWithMetaData>;
5
- export declare function aggregateAllMaterialApplications(applicationAreas: CfgMtrlApplication[], productMtrlApplications: CfgMtrlApplication[], productConfiguration: CfgProductConfiguration, debugMtrlApplications?: CfgMtrlApplication[]): CfgMaterialMapping;
6
- export declare function logMtrlSourceWithMetaDataToConsole(mtrlSourceWithMetaData: CfgMtrlSourceWithMetaData): void;
7
- export declare function logMaterialMappingToConsole(areasToMaterials: CfgMaterialMapping): void;
1
+ import { CfgProductConfiguration } from "../productConfiguration/CfgProductConfiguration.js";
2
+ import { CfgMtrlApplication } from "./CfgMtrlApplication.js";
3
+ import { CfgMtrlSourceWithMetaData } from "./CfgMtrlSourceWithMetaData.js";
4
+ export declare type CfgMaterialMapping = Map<string, CfgMtrlSourceWithMetaData>;
5
+ export declare function aggregateAllMaterialApplications(applicationAreas: CfgMtrlApplication[], productMtrlApplications: CfgMtrlApplication[], productConfiguration: CfgProductConfiguration, debugMtrlApplications?: CfgMtrlApplication[]): CfgMaterialMapping;
6
+ export declare function logMtrlSourceWithMetaDataToConsole(mtrlSourceWithMetaData: CfgMtrlSourceWithMetaData): void;
7
+ export declare function logMaterialMappingToConsole(areasToMaterials: CfgMaterialMapping): void;
8
8
  //# sourceMappingURL=CfgMaterialMapping.d.ts.map