@configura/web-api 2.0.0-alpha.2 → 2.0.0-alpha.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 (100) hide show
  1. package/.eslintrc.json +5 -18
  2. package/LICENSE +201 -201
  3. package/README.md +1 -1
  4. package/dist/CatalogueAPI.d.ts +597 -551
  5. package/dist/CatalogueAPI.js +328 -293
  6. package/dist/CfgMeasure.d.ts +32 -32
  7. package/dist/CfgMeasure.js +30 -30
  8. package/dist/CfgProduct.d.ts +328 -268
  9. package/dist/CfgProduct.js +934 -778
  10. package/dist/CfgReferencePathHelper.d.ts +26 -13
  11. package/dist/CfgReferencePathHelper.js +26 -13
  12. package/dist/ConfigurationConverter.d.ts +17 -4
  13. package/dist/ConfigurationConverter.js +175 -72
  14. package/dist/index.d.ts +23 -23
  15. package/dist/index.js +23 -23
  16. package/dist/io/CfgHistoryManager.d.ts +83 -50
  17. package/dist/io/CfgHistoryManager.js +144 -82
  18. package/dist/io/CfgHistoryToProdConfConnector.d.ts +21 -20
  19. package/dist/io/CfgHistoryToProdConfConnector.js +50 -56
  20. package/dist/io/CfgIOManager.d.ts +53 -48
  21. package/dist/io/CfgIOManager.js +134 -115
  22. package/dist/io/CfgIOProdConfConnector.d.ts +64 -52
  23. package/dist/io/CfgIOProdConfConnector.js +149 -141
  24. package/dist/io/CfgIOWarningSupplier.d.ts +4 -0
  25. package/dist/io/CfgIOWarningSupplier.js +1 -0
  26. package/dist/io/CfgObservableStateManager.d.ts +25 -21
  27. package/dist/io/CfgObservableStateManager.js +69 -65
  28. package/dist/io/CfgObservableStateToProdConfConnector.d.ts +14 -14
  29. package/dist/io/CfgObservableStateToProdConfConnector.js +16 -16
  30. package/dist/io/CfgWindowEventManager.d.ts +21 -21
  31. package/dist/io/CfgWindowEventManager.js +38 -38
  32. package/dist/io/CfgWindowMessageManager.d.ts +40 -40
  33. package/dist/io/CfgWindowMessageManager.js +91 -84
  34. package/dist/io/CfgWindowMessageToProdConfConnector.d.ts +16 -16
  35. package/dist/io/CfgWindowMessageToProdConfConnector.js +18 -18
  36. package/dist/io/index.d.ts +8 -8
  37. package/dist/io/index.js +8 -8
  38. package/dist/material/CfgMaterialMapping.d.ts +7 -7
  39. package/dist/material/CfgMaterialMapping.js +181 -181
  40. package/dist/material/CfgMtrlApplication.d.ts +18 -18
  41. package/dist/material/CfgMtrlApplication.js +43 -43
  42. package/dist/material/CfgMtrlApplicationSource.d.ts +7 -7
  43. package/dist/material/CfgMtrlApplicationSource.js +8 -8
  44. package/dist/material/CfgMtrlSource.d.ts +19 -19
  45. package/dist/material/CfgMtrlSource.js +40 -40
  46. package/dist/material/CfgMtrlSourceWithMetaData.d.ts +7 -7
  47. package/dist/material/CfgMtrlSourceWithMetaData.js +1 -1
  48. package/dist/productConfiguration/CfgFeature.d.ts +189 -187
  49. package/dist/productConfiguration/CfgFeature.js +658 -645
  50. package/dist/productConfiguration/CfgOption.d.ts +151 -151
  51. package/dist/productConfiguration/CfgOption.js +422 -416
  52. package/dist/productConfiguration/CfgProductConfiguration.d.ts +129 -117
  53. package/dist/productConfiguration/CfgProductConfiguration.js +340 -307
  54. package/dist/productConfiguration/filters.d.ts +15 -15
  55. package/dist/productConfiguration/filters.js +70 -70
  56. package/dist/productConfiguration/productParamsGenerator.d.ts +15 -15
  57. package/dist/productConfiguration/productParamsGenerator.js +51 -51
  58. package/dist/productConfiguration/utilitiesProductConfiguration.d.ts +17 -17
  59. package/dist/productConfiguration/utilitiesProductConfiguration.js +87 -80
  60. package/dist/productLoader.d.ts +33 -33
  61. package/dist/productLoader.js +49 -49
  62. package/dist/syncGroups/SyncGroupsApplyMode.d.ts +20 -20
  63. package/dist/syncGroups/SyncGroupsApplyMode.js +21 -21
  64. package/dist/syncGroups/SyncGroupsHandler.d.ts +47 -40
  65. package/dist/syncGroups/SyncGroupsHandler.js +370 -359
  66. package/dist/syncGroups/SyncGroupsPathHelper.d.ts +26 -26
  67. package/dist/syncGroups/SyncGroupsPathHelper.js +90 -90
  68. package/dist/syncGroups/SyncGroupsState.d.ts +39 -35
  69. package/dist/syncGroups/SyncGroupsState.js +167 -125
  70. package/dist/syncGroups/SyncGroupsTransaction.d.ts +154 -154
  71. package/dist/syncGroups/SyncGroupsTransaction.js +589 -576
  72. package/dist/tasks/TaskHandler.d.ts +77 -77
  73. package/dist/tasks/TaskHandler.js +276 -275
  74. package/dist/tasks/formats.d.ts +4 -4
  75. package/dist/tasks/formats.js +7 -7
  76. package/dist/tests/testData/collectorForTest.d.ts +73 -73
  77. package/dist/tests/testData/collectorForTest.js +194 -194
  78. package/dist/tests/testData/dummyProductForTest.d.ts +4 -4
  79. package/dist/tests/testData/dummyProductForTest.js +32 -32
  80. package/dist/tests/testData/testDataAdditionalProductInAdditionalProductInProductForTest.d.ts +11 -11
  81. package/dist/tests/testData/testDataAdditionalProductInAdditionalProductInProductForTest.js +282 -277
  82. package/dist/tests/testData/testDataCachedGetProduct.d.ts +5 -5
  83. package/dist/tests/testData/testDataCachedGetProduct.js +187 -185
  84. package/dist/tests/testData/testDataCachedPostValidate.d.ts +7 -7
  85. package/dist/tests/testData/testDataCachedPostValidate.js +185 -183
  86. package/dist/tests/testData/testDataNoAdditionalProductNoPropagateForTest.d.ts +3 -3
  87. package/dist/tests/testData/testDataNoAdditionalProductNoPropagateForTest.js +1099 -1099
  88. package/dist/tests/testData/testDataOptions.d.ts +12 -12
  89. package/dist/tests/testData/testDataOptions.js +60 -60
  90. package/dist/tests/testData/testDataProductAggregatedPrice.d.ts +6 -6
  91. package/dist/tests/testData/testDataProductAggregatedPrice.js +189 -187
  92. package/dist/tests/testData/testDataUpcharge.d.ts +8 -8
  93. package/dist/tests/testData/testDataUpcharge.js +121 -119
  94. package/dist/utilitiesCatalogueData.d.ts +47 -42
  95. package/dist/utilitiesCatalogueData.js +180 -173
  96. package/dist/utilitiesCataloguePermission.d.ts +38 -38
  97. package/dist/utilitiesCataloguePermission.js +79 -79
  98. package/dist/utilitiesNumericValues.d.ts +24 -24
  99. package/dist/utilitiesNumericValues.js +114 -109
  100. package/package.json +3 -3
@@ -1,38 +1,38 @@
1
- import { CfgIOManager } from "./CfgIOManager.js";
2
- /**
3
- * Base class for classes handling input and output in globally shared environments, using
4
- * event listeners on the window object, for example the History API and window.message API.
5
- * These are global resources where data not being handled by Stage can appear.
6
- */
7
- export class CfgWindowEventManager extends CfgIOManager {
8
- constructor() {
9
- super(...arguments);
10
- this._windowEventListenerBound = this._windowEventListener.bind(this);
11
- }
12
- /**
13
- * Listen for the message messageKey being received. This can for example be the history stack
14
- * being popped or a window.message being received.
15
- */
16
- listenForMessage(l, messageKey) {
17
- const hadListeners = this.hasMessageListeners;
18
- const didStartListen = super.listenForMessage(l, messageKey);
19
- if (!hadListeners && didStartListen) {
20
- window.addEventListener(this.eventType, this._windowEventListenerBound);
21
- }
22
- return didStartListen;
23
- }
24
- /**
25
- * Removes the listener
26
- */
27
- stopListenForMessage(l) {
28
- const didStopListen = super.stopListenForMessage(l);
29
- if (didStopListen && !this.hasMessageListeners) {
30
- window.removeEventListener(this.eventType, this._windowEventListenerBound);
31
- }
32
- return didStopListen;
33
- }
34
- _windowEventListener(event) {
35
- const data = this.getDataFromEvent(event);
36
- super._containerListener(data);
37
- }
38
- }
1
+ import { CfgIOManager } from "./CfgIOManager.js";
2
+ /**
3
+ * Base class for classes handling input and output in globally shared environments, using
4
+ * event listeners on the window object, for example the History API and window.message API.
5
+ * These are global resources where data not being handled by Stage can appear.
6
+ */
7
+ export class CfgWindowEventManager extends CfgIOManager {
8
+ constructor() {
9
+ super(...arguments);
10
+ this._windowEventListenerBound = this._windowEventListener.bind(this);
11
+ }
12
+ /**
13
+ * Listen for the message messageKey being received. This can for example be the history stack
14
+ * being popped or a window.message being received.
15
+ */
16
+ listenForMessage(l, messageKey) {
17
+ const hadListeners = this.hasMessageListeners;
18
+ const didStartListen = super.listenForMessage(l, messageKey);
19
+ if (!hadListeners && didStartListen) {
20
+ window.addEventListener(this.eventType, this._windowEventListenerBound);
21
+ }
22
+ return didStartListen;
23
+ }
24
+ /**
25
+ * Removes the listener
26
+ */
27
+ stopListenForMessage(l) {
28
+ const didStopListen = super.stopListenForMessage(l);
29
+ if (didStopListen && !this.hasMessageListeners) {
30
+ window.removeEventListener(this.eventType, this._windowEventListenerBound);
31
+ }
32
+ return didStopListen;
33
+ }
34
+ _windowEventListener(event) {
35
+ const data = this.getDataFromEvent(event);
36
+ super._containerListener(data);
37
+ }
38
+ }
@@ -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): void;
38
- protected readonly eventType = "message";
39
- protected getDataFromEvent(event: MessageEvent): unknown;
40
- }
1
+ import { IOManagerListener } from "./CfgIOManager.js";
2
+ import { CfgWindowEventManager } from "./CfgWindowEventManager.js";
3
+ /**
4
+ * This class is used to coordinate sending and receiving using the post message-API.
5
+ * 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,91 @@
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 is used to coordinate sending and receiving using the post message-API.
5
+ * 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
+ if (this.receiveInProgress) {
68
+ return;
69
+ }
70
+ const container = CfgIOManager.makeContainer({
71
+ [messageKey]: data,
72
+ });
73
+ const warnings = this.getWarnings();
74
+ if (warnings.length !== 0) {
75
+ warnings.forEach((w) => console.warn(w));
76
+ }
77
+ for (const remoteEnd of this._remoteEnds) {
78
+ remoteEnd.postMessage(container, this._targetOrigin);
79
+ }
80
+ }
81
+ _containerListener(event) {
82
+ if (this._acceptableMessageOrigin !== undefined &&
83
+ event.origin !== this._acceptableMessageOrigin) {
84
+ return;
85
+ }
86
+ super._containerListener(event);
87
+ }
88
+ getDataFromEvent(event) {
89
+ return event.data;
90
+ }
91
+ }
@@ -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 { DtoProductConf } from "../CatalogueAPI.js";
2
+ import { CfgIOProdConfConnector, CfgProdConfMessage, CfgProdConfMessageVersions, CfgProdConfParts } 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 sendVersions What versions of the productConfiguration shall be sent? Multiple can be selected
9
+ * @param includeExtendedDataInSend Only for version 2.0. Includes unit and groupCode.
10
+ * @param includeProdParamsInSend Only for version 2.0. Includes product params, in both main and additional products.
11
+ */
12
+ export declare class CfgWindowMessageToProdConfConnector extends CfgIOProdConfConnector<CfgProdConfMessage> {
13
+ private _sendVersions;
14
+ constructor(manager: CfgWindowMessageManager, _sendVersions?: CfgProdConfMessageVersions, includeInSend?: CfgProdConfParts);
15
+ protected makeSendData(conf: DtoProductConf, 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, CfgProdConfParts, } 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 sendVersions What versions of the productConfiguration shall be sent? Multiple can be selected
7
+ * @param includeExtendedDataInSend Only for version 2.0. Includes unit and groupCode.
8
+ * @param includeProdParamsInSend Only for version 2.0. Includes product params, in both main and additional products.
9
+ */
10
+ export class CfgWindowMessageToProdConfConnector extends CfgIOProdConfConnector {
11
+ constructor(manager, _sendVersions = CfgProdConfMessageVersions.V2dot0, includeInSend = CfgProdConfParts.NoExtra) {
12
+ super(manager, includeInSend);
13
+ this._sendVersions = _sendVersions;
14
+ }
15
+ makeSendData(conf, initial) {
16
+ return CfgIOProdConfConnector.makeMessage(conf, initial, this._sendVersions);
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