@configura/web-api 2.2.0-alpha.0 → 2.2.0-alpha.2

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 (102) hide show
  1. package/.eslintrc.json +5 -5
  2. package/LICENSE +201 -201
  3. package/README.md +1 -1
  4. package/dist/CatalogueAPI.d.ts +633 -633
  5. package/dist/CatalogueAPI.js +312 -309
  6. package/dist/CfgMeasure.d.ts +32 -32
  7. package/dist/CfgMeasure.js +30 -30
  8. package/dist/CfgProduct.d.ts +359 -344
  9. package/dist/CfgProduct.js +1005 -992
  10. package/dist/CfgReferencePathHelper.d.ts +26 -26
  11. package/dist/CfgReferencePathHelper.js +26 -26
  12. package/dist/index.d.ts +24 -24
  13. package/dist/index.js +24 -24
  14. package/dist/io/CfgHistoryManager.d.ts +83 -83
  15. package/dist/io/CfgHistoryManager.js +144 -144
  16. package/dist/io/CfgHistoryToProdConfConnector.d.ts +21 -21
  17. package/dist/io/CfgHistoryToProdConfConnector.js +50 -50
  18. package/dist/io/CfgIOManager.d.ts +53 -53
  19. package/dist/io/CfgIOManager.js +134 -134
  20. package/dist/io/CfgIOProdConfConnector.d.ts +54 -54
  21. package/dist/io/CfgIOProdConfConnector.js +139 -139
  22. package/dist/io/CfgIOWarningSupplier.d.ts +3 -3
  23. package/dist/io/CfgIOWarningSupplier.js +1 -1
  24. package/dist/io/CfgObservableStateManager.d.ts +25 -25
  25. package/dist/io/CfgObservableStateManager.js +69 -69
  26. package/dist/io/CfgObservableStateToProdConfConnector.d.ts +15 -15
  27. package/dist/io/CfgObservableStateToProdConfConnector.js +17 -17
  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 +91 -91
  32. package/dist/io/CfgWindowMessageToProdConfConnector.d.ts +17 -17
  33. package/dist/io/CfgWindowMessageToProdConfConnector.js +19 -19
  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 +199 -199
  47. package/dist/productConfiguration/CfgFeature.js +691 -691
  48. package/dist/productConfiguration/CfgOption.d.ts +160 -160
  49. package/dist/productConfiguration/CfgOption.js +464 -464
  50. package/dist/productConfiguration/CfgProductConfiguration.d.ts +136 -129
  51. package/dist/productConfiguration/CfgProductConfiguration.js +355 -346
  52. package/dist/productConfiguration/filters.d.ts +17 -17
  53. package/dist/productConfiguration/filters.js +141 -141
  54. package/dist/productConfiguration/productParamsGenerator.d.ts +15 -15
  55. package/dist/productConfiguration/productParamsGenerator.js +65 -65
  56. package/dist/productConfiguration/utilitiesProductConfiguration.d.ts +17 -17
  57. package/dist/productConfiguration/utilitiesProductConfiguration.js +89 -87
  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 +47 -47
  63. package/dist/syncGroups/SyncGroupsHandler.js +370 -370
  64. package/dist/syncGroups/SyncGroupsPathHelper.d.ts +26 -26
  65. package/dist/syncGroups/SyncGroupsPathHelper.js +90 -90
  66. package/dist/syncGroups/SyncGroupsState.d.ts +39 -39
  67. package/dist/syncGroups/SyncGroupsState.js +167 -167
  68. package/dist/syncGroups/SyncGroupsTransaction.d.ts +154 -154
  69. package/dist/syncGroups/SyncGroupsTransaction.js +589 -589
  70. package/dist/tasks/TaskHandler.d.ts +77 -77
  71. package/dist/tasks/TaskHandler.js +276 -276
  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 +282 -282
  80. package/dist/tests/testData/testDataCachedGetProduct.d.ts +5 -5
  81. package/dist/tests/testData/testDataCachedGetProduct.js +187 -187
  82. package/dist/tests/testData/testDataCachedPostValidate.d.ts +7 -7
  83. package/dist/tests/testData/testDataCachedPostValidate.js +185 -185
  84. package/dist/tests/testData/testDataConstraints.d.ts +3 -3
  85. package/dist/tests/testData/testDataConstraints.js +174 -174
  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 -189
  92. package/dist/tests/testData/testDataUpcharge.d.ts +8 -8
  93. package/dist/tests/testData/testDataUpcharge.js +121 -121
  94. package/dist/utilitiesCatalogueData.d.ts +47 -47
  95. package/dist/utilitiesCatalogueData.js +180 -180
  96. package/dist/utilitiesCataloguePermission.d.ts +38 -38
  97. package/dist/utilitiesCataloguePermission.js +79 -79
  98. package/dist/utilitiesConfiguration.d.ts +28 -28
  99. package/dist/utilitiesConfiguration.js +200 -200
  100. package/dist/utilitiesNumericValues.d.ts +24 -24
  101. package/dist/utilitiesNumericValues.js +114 -114
  102. package/package.json +3 -3
@@ -1,174 +1,174 @@
1
- export const testConstrOptions = Object.freeze([
2
- {
3
- code: "!~!",
4
- feature: "",
5
- next: {
6
- "option-ab": {
7
- code: "option-ab",
8
- feature: "feature-a",
9
- constrOptions: ["option-aa"],
10
- next: {
11
- "option-multi-nested-a": {
12
- feature: "feature-multiple-nested",
13
- code: "option-multi-nested-a",
14
- constrOptions: [],
15
- next: { "option-ca": { code: "option-ca", feature: "feature-c", constrOptions: [], next: {} } }
16
- },
17
- "option-multi-nested-b": {
18
- feature: "feature-multiple-nested",
19
- code: "option-multi-nested-b",
20
- constrOptions: [],
21
- next: { "option-optional-b": { code: "option-optional-b", feature: "feature-optional", constrOptions: [], next: {} } }
22
- }
23
- }
24
- }
25
- }
26
- },
27
- {
28
- code: "!~!",
29
- feature: "",
30
- next: {
31
- "option-bb": {
32
- feature: "feature-b",
33
- code: "option-bb",
34
- constrOptions: [],
35
- next: {
36
- "option-multi-nested-a": {
37
- code: "option-multi-nested-a",
38
- feature: "feature-multiple-nested",
39
- constrOptions: [],
40
- next: { "option-ca": { feature: "feature-c", code: "option-ca", constrOptions: [], next: {} } }
41
- },
42
- "option-multi-nested-b": {
43
- feature: "feature-multiple-nested",
44
- code: "option-multi-nested-b",
45
- constrOptions: [],
46
- next: {}
47
- }
48
- }
49
- }
50
- }
51
- },
52
- {
53
- code: "!~!",
54
- feature: "",
55
- next: {
56
- "option-multi-a": {
57
- feature: "feature-multiple",
58
- code: "option-multi-a",
59
- constrOptions: ["option-multi-b"],
60
- next: {
61
- "option-db": { code: "option-db", feature: "feature-d", constrOptions: ["option-da"], next: {} },
62
- "option-ea": { code: "option-ea", feature: "feature-e", constrOptions: ["option-eb"], next: {} }
63
- }
64
- },
65
- "option-multi-b": {
66
- feature: "feature-multiple",
67
- code: "option-multi-b",
68
- constrOptions: ["option-multi-b"],
69
- next: {
70
- "option-ga": { code: "option-ga", feature: "feature-g", constrOptions: ["option-gb"], next: {} },
71
- "option-1h": { code: "option-1h", feature: "feature-h", constrOptions: ["option-2h"], next: {} }
72
- }
73
- }
74
- }
75
- },
76
- {
77
- code: "!~!",
78
- feature: "",
79
- next: {
80
- "option-optional-a": { code: "option-optional-a", feature: "feature-optional", constrOptions: [], next: {} }
81
- }
82
- }
83
- ]);
84
- export const testUpdatedConstrOptions = Object.freeze([
85
- {
86
- code: "!~!",
87
- feature: "",
88
- next: {
89
- "option-ab": {
90
- code: "option-ab",
91
- feature: "feature-a",
92
- constrOptions: [],
93
- next: {
94
- "option-multi-nested-a": {
95
- feature: "feature-multiple-nested",
96
- code: "option-multi-nested-a",
97
- constrOptions: [],
98
- next: { "option-ca": { code: "option-ca", feature: "feature-c", constrOptions: [], next: {} } }
99
- },
100
- "option-multi-nested-b": {
101
- feature: "feature-multiple-nested",
102
- code: "option-multi-nested-b",
103
- constrOptions: [],
104
- next: {
105
- "option-optional-a": { code: "option-optional-a", feature: "feature-optional", constrOptions: [], next: {} },
106
- "option-optional-b": { code: "option-optional-b", feature: "feature-optional", constrOptions: [], next: {} }
107
- }
108
- }
109
- }
110
- }
111
- }
112
- },
113
- {
114
- code: "!~!",
115
- feature: "",
116
- next: {
117
- "option-bb": {
118
- feature: "feature-b",
119
- code: "option-bb",
120
- constrOptions: [],
121
- next: {
122
- "option-multi-nested-a": {
123
- code: "option-multi-nested-a",
124
- feature: "feature-multiple-nested",
125
- constrOptions: [],
126
- next: {
127
- "option-cb": { feature: "feature-c", code: "option-cb", constrOptions: [], next: {} }
128
- }
129
- },
130
- "option-multi-nested-b": {
131
- feature: "feature-multiple-nested",
132
- code: "option-multi-nested-b",
133
- constrOptions: [],
134
- next: {
135
- "option-optional-b": { feature: "feature-optional", code: "option-optional-b", constrOptions: [], next: {} }
136
- }
137
- }
138
- }
139
- }
140
- }
141
- },
142
- {
143
- code: "!~!",
144
- feature: "",
145
- next: {
146
- "option-multi-a": {
147
- feature: "feature-multiple",
148
- code: "option-multi-a",
149
- constrOptions: [],
150
- next: {
151
- "option-da": { code: "option-da", feature: "feature-d", constrOptions: [], next: {} },
152
- "option-eb": { code: "option-eb", feature: "feature-e", constrOptions: [], next: {} }
153
- }
154
- },
155
- "option-multi-b": {
156
- feature: "feature-multiple",
157
- code: "option-multi-b",
158
- constrOptions: [],
159
- next: {
160
- "option-ga": { code: "option-ga", feature: "feature-g", constrOptions: [], next: {} },
161
- "option-1h": { code: "option-1h", feature: "feature-h", constrOptions: [], next: {} }
162
- }
163
- }
164
- }
165
- },
166
- {
167
- code: "!~!",
168
- feature: "",
169
- next: {
170
- "option-optional-a": { code: "option-optional-a", feature: "feature-optional", constrOptions: [], next: {} },
171
- "option-optional-b": { code: "option-optional-b", feature: "feature-optional", constrOptions: [], next: {} },
172
- }
173
- }
174
- ]);
1
+ export const testConstrOptions = Object.freeze([
2
+ {
3
+ code: "!~!",
4
+ feature: "",
5
+ next: {
6
+ "option-ab": {
7
+ code: "option-ab",
8
+ feature: "feature-a",
9
+ constrOptions: ["option-aa"],
10
+ next: {
11
+ "option-multi-nested-a": {
12
+ feature: "feature-multiple-nested",
13
+ code: "option-multi-nested-a",
14
+ constrOptions: [],
15
+ next: { "option-ca": { code: "option-ca", feature: "feature-c", constrOptions: [], next: {} } }
16
+ },
17
+ "option-multi-nested-b": {
18
+ feature: "feature-multiple-nested",
19
+ code: "option-multi-nested-b",
20
+ constrOptions: [],
21
+ next: { "option-optional-b": { code: "option-optional-b", feature: "feature-optional", constrOptions: [], next: {} } }
22
+ }
23
+ }
24
+ }
25
+ }
26
+ },
27
+ {
28
+ code: "!~!",
29
+ feature: "",
30
+ next: {
31
+ "option-bb": {
32
+ feature: "feature-b",
33
+ code: "option-bb",
34
+ constrOptions: [],
35
+ next: {
36
+ "option-multi-nested-a": {
37
+ code: "option-multi-nested-a",
38
+ feature: "feature-multiple-nested",
39
+ constrOptions: [],
40
+ next: { "option-ca": { feature: "feature-c", code: "option-ca", constrOptions: [], next: {} } }
41
+ },
42
+ "option-multi-nested-b": {
43
+ feature: "feature-multiple-nested",
44
+ code: "option-multi-nested-b",
45
+ constrOptions: [],
46
+ next: {}
47
+ }
48
+ }
49
+ }
50
+ }
51
+ },
52
+ {
53
+ code: "!~!",
54
+ feature: "",
55
+ next: {
56
+ "option-multi-a": {
57
+ feature: "feature-multiple",
58
+ code: "option-multi-a",
59
+ constrOptions: ["option-multi-b"],
60
+ next: {
61
+ "option-db": { code: "option-db", feature: "feature-d", constrOptions: ["option-da"], next: {} },
62
+ "option-ea": { code: "option-ea", feature: "feature-e", constrOptions: ["option-eb"], next: {} }
63
+ }
64
+ },
65
+ "option-multi-b": {
66
+ feature: "feature-multiple",
67
+ code: "option-multi-b",
68
+ constrOptions: ["option-multi-b"],
69
+ next: {
70
+ "option-ga": { code: "option-ga", feature: "feature-g", constrOptions: ["option-gb"], next: {} },
71
+ "option-1h": { code: "option-1h", feature: "feature-h", constrOptions: ["option-2h"], next: {} }
72
+ }
73
+ }
74
+ }
75
+ },
76
+ {
77
+ code: "!~!",
78
+ feature: "",
79
+ next: {
80
+ "option-optional-a": { code: "option-optional-a", feature: "feature-optional", constrOptions: [], next: {} }
81
+ }
82
+ }
83
+ ]);
84
+ export const testUpdatedConstrOptions = Object.freeze([
85
+ {
86
+ code: "!~!",
87
+ feature: "",
88
+ next: {
89
+ "option-ab": {
90
+ code: "option-ab",
91
+ feature: "feature-a",
92
+ constrOptions: [],
93
+ next: {
94
+ "option-multi-nested-a": {
95
+ feature: "feature-multiple-nested",
96
+ code: "option-multi-nested-a",
97
+ constrOptions: [],
98
+ next: { "option-ca": { code: "option-ca", feature: "feature-c", constrOptions: [], next: {} } }
99
+ },
100
+ "option-multi-nested-b": {
101
+ feature: "feature-multiple-nested",
102
+ code: "option-multi-nested-b",
103
+ constrOptions: [],
104
+ next: {
105
+ "option-optional-a": { code: "option-optional-a", feature: "feature-optional", constrOptions: [], next: {} },
106
+ "option-optional-b": { code: "option-optional-b", feature: "feature-optional", constrOptions: [], next: {} }
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
112
+ },
113
+ {
114
+ code: "!~!",
115
+ feature: "",
116
+ next: {
117
+ "option-bb": {
118
+ feature: "feature-b",
119
+ code: "option-bb",
120
+ constrOptions: [],
121
+ next: {
122
+ "option-multi-nested-a": {
123
+ code: "option-multi-nested-a",
124
+ feature: "feature-multiple-nested",
125
+ constrOptions: [],
126
+ next: {
127
+ "option-cb": { feature: "feature-c", code: "option-cb", constrOptions: [], next: {} }
128
+ }
129
+ },
130
+ "option-multi-nested-b": {
131
+ feature: "feature-multiple-nested",
132
+ code: "option-multi-nested-b",
133
+ constrOptions: [],
134
+ next: {
135
+ "option-optional-b": { feature: "feature-optional", code: "option-optional-b", constrOptions: [], next: {} }
136
+ }
137
+ }
138
+ }
139
+ }
140
+ }
141
+ },
142
+ {
143
+ code: "!~!",
144
+ feature: "",
145
+ next: {
146
+ "option-multi-a": {
147
+ feature: "feature-multiple",
148
+ code: "option-multi-a",
149
+ constrOptions: [],
150
+ next: {
151
+ "option-da": { code: "option-da", feature: "feature-d", constrOptions: [], next: {} },
152
+ "option-eb": { code: "option-eb", feature: "feature-e", constrOptions: [], next: {} }
153
+ }
154
+ },
155
+ "option-multi-b": {
156
+ feature: "feature-multiple",
157
+ code: "option-multi-b",
158
+ constrOptions: [],
159
+ next: {
160
+ "option-ga": { code: "option-ga", feature: "feature-g", constrOptions: [], next: {} },
161
+ "option-1h": { code: "option-1h", feature: "feature-h", constrOptions: [], next: {} }
162
+ }
163
+ }
164
+ }
165
+ },
166
+ {
167
+ code: "!~!",
168
+ feature: "",
169
+ next: {
170
+ "option-optional-a": { code: "option-optional-a", feature: "feature-optional", constrOptions: [], next: {} },
171
+ "option-optional-b": { code: "option-optional-b", feature: "feature-optional", constrOptions: [], next: {} },
172
+ }
173
+ }
174
+ ]);
@@ -1,4 +1,4 @@
1
- import { CfgProductResponse } from "../../utilitiesCatalogueData";
2
- declare const _default: CfgProductResponse;
3
- export default _default;
1
+ import { CfgProductResponse } from "../../utilitiesCatalogueData";
2
+ declare const _default: CfgProductResponse;
3
+ export default _default;
4
4
  //# sourceMappingURL=testDataNoAdditionalProductNoPropagateForTest.d.ts.map