@configura/debug-react 1.6.1 → 2.0.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.
- package/.postcssrc.json +8 -8
- package/LICENSE +201 -201
- package/dist/LogMessageView.d.ts +5 -5
- package/dist/LogMessageView.js +8 -8
- package/dist/LogMessagesView.d.ts +5 -5
- package/dist/LogMessagesView.js +10 -10
- package/dist/TextualConfigurationView.d.ts +8 -0
- package/dist/TextualConfigurationView.js +41 -0
- package/dist/css/debug.css +1 -1
- package/dist/css/debug.css.map +1 -1
- package/dist/exerciser/Exerciser.d.ts +37 -37
- package/dist/exerciser/Exerciser.js +155 -154
- package/dist/exerciser/ExerciserReportFilterView.d.ts +9 -9
- package/dist/exerciser/ExerciserReportFilterView.js +205 -205
- package/dist/exerciser/ExerciserReportItem.d.ts +10 -10
- package/dist/exerciser/ExerciserReportItem.js +1 -1
- package/dist/exerciser/ExerciserReportItemView.d.ts +5 -5
- package/dist/exerciser/ExerciserReportItemView.js +53 -53
- package/dist/exerciser/ExerciserReportView.d.ts +7 -7
- package/dist/exerciser/ExerciserReportView.js +8 -8
- package/dist/exerciser/ExerciserRun.d.ts +19 -19
- package/dist/exerciser/ExerciserRun.js +144 -144
- package/dist/exerciser/ExerciserSetup.d.ts +14 -14
- package/dist/exerciser/ExerciserSetup.js +54 -54
- package/dist/exerciser/FilterSelect.d.ts +8 -8
- package/dist/exerciser/FilterSelect.js +40 -40
- package/dist/hooks.d.ts +2 -2
- package/dist/hooks.js +7 -7
- package/dist/index.d.ts +12 -11
- package/dist/index.js +12 -11
- package/dist/productConfiguration/DebugAdditionalProductView.d.ts +3 -3
- package/dist/productConfiguration/DebugAdditionalProductView.js +6 -6
- package/dist/productConfiguration/DebugFeatureCommon.d.ts +10 -10
- package/dist/productConfiguration/DebugFeatureCommon.js +34 -34
- package/dist/productConfiguration/DebugFeatureGroupView.d.ts +4 -4
- package/dist/productConfiguration/DebugFeatureGroupView.js +20 -20
- package/dist/productConfiguration/DebugFeatureView.d.ts +4 -4
- package/dist/productConfiguration/DebugFeatureView.js +8 -8
- package/dist/productConfiguration/DebugOptionCommon.d.ts +10 -10
- package/dist/productConfiguration/DebugOptionCommon.js +30 -30
- package/dist/productConfiguration/DebugOptionView.d.ts +4 -4
- package/dist/productConfiguration/DebugOptionView.js +8 -8
- package/dist/productConfiguration/DebugProductCommon.d.ts +9 -9
- package/dist/productConfiguration/DebugProductCommon.js +40 -40
- package/dist/productConfiguration/DebugProductConfigurationView.d.ts +16 -16
- package/dist/productConfiguration/DebugProductConfigurationView.js +26 -26
- package/dist/productConfiguration/DebugRowsFactory.d.ts +9 -9
- package/dist/productConfiguration/DebugRowsFactory.js +32 -32
- package/dist/productConfiguration/DebugTable.d.ts +8 -8
- package/dist/productConfiguration/DebugTable.js +8 -8
- package/dist/productConfiguration/debugComponentsHelper.d.ts +3 -3
- package/dist/productConfiguration/debugComponentsHelper.js +28 -28
- package/dist/productConfiguration/index.d.ts +6 -6
- package/dist/productConfiguration/index.js +6 -6
- package/package.json +6 -6
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { useMemo } from "react";
|
|
2
|
-
import { getDebugAdditionalProductView } from "./DebugAdditionalProductView.js";
|
|
3
|
-
import { DebugFeatureFlattenView, DebugFeatureGroupView } from "./DebugFeatureGroupView.js";
|
|
4
|
-
import { debugFeatureSelectManyViewFactory, debugFeatureSelectOneViewFactory, } from "./DebugFeatureView.js";
|
|
5
|
-
import { debugOptionSelectManyViewFactory, debugOptionSelectOneViewFactory, } from "./DebugOptionView.js";
|
|
6
|
-
export const augmentWithDebugComponents = (components) => (Object.assign(Object.assign({}, components), { additionalProductComponent: getDebugAdditionalProductView(components.additionalProductComponent), featureFlattenComponent: DebugFeatureFlattenView, featureGroupComponent: DebugFeatureGroupView, featureSelectManyComponent: debugFeatureSelectManyViewFactory(components.featureSelectManyComponent), featureSelectOneComponent: debugFeatureSelectOneViewFactory(components.featureSelectOneComponent), optionSelectManyComponent: debugOptionSelectManyViewFactory(components.optionSelectManyComponent), optionSelectOneComponent: debugOptionSelectOneViewFactory(components.optionSelectOneComponent) }));
|
|
7
|
-
export const useDebugComponents = (components) => {
|
|
8
|
-
const { additionalProductComponent, featureFlattenComponent, featureGroupComponent, featureSelectManyComponent, featureSelectOneComponent, optionSelectManyComponent, optionSelectOneComponent, } = components;
|
|
9
|
-
return useMemo(() => {
|
|
10
|
-
return augmentWithDebugComponents({
|
|
11
|
-
additionalProductComponent,
|
|
12
|
-
featureFlattenComponent,
|
|
13
|
-
featureGroupComponent,
|
|
14
|
-
featureSelectManyComponent,
|
|
15
|
-
featureSelectOneComponent,
|
|
16
|
-
optionSelectManyComponent,
|
|
17
|
-
optionSelectOneComponent,
|
|
18
|
-
});
|
|
19
|
-
}, [
|
|
20
|
-
additionalProductComponent,
|
|
21
|
-
featureFlattenComponent,
|
|
22
|
-
featureGroupComponent,
|
|
23
|
-
featureSelectManyComponent,
|
|
24
|
-
featureSelectOneComponent,
|
|
25
|
-
optionSelectManyComponent,
|
|
26
|
-
optionSelectOneComponent,
|
|
27
|
-
]);
|
|
28
|
-
};
|
|
1
|
+
import { useMemo } from "react";
|
|
2
|
+
import { getDebugAdditionalProductView } from "./DebugAdditionalProductView.js";
|
|
3
|
+
import { DebugFeatureFlattenView, DebugFeatureGroupView } from "./DebugFeatureGroupView.js";
|
|
4
|
+
import { debugFeatureSelectManyViewFactory, debugFeatureSelectOneViewFactory, } from "./DebugFeatureView.js";
|
|
5
|
+
import { debugOptionSelectManyViewFactory, debugOptionSelectOneViewFactory, } from "./DebugOptionView.js";
|
|
6
|
+
export const augmentWithDebugComponents = (components) => (Object.assign(Object.assign({}, components), { additionalProductComponent: getDebugAdditionalProductView(components.additionalProductComponent), featureFlattenComponent: DebugFeatureFlattenView, featureGroupComponent: DebugFeatureGroupView, featureSelectManyComponent: debugFeatureSelectManyViewFactory(components.featureSelectManyComponent), featureSelectOneComponent: debugFeatureSelectOneViewFactory(components.featureSelectOneComponent), optionSelectManyComponent: debugOptionSelectManyViewFactory(components.optionSelectManyComponent), optionSelectOneComponent: debugOptionSelectOneViewFactory(components.optionSelectOneComponent) }));
|
|
7
|
+
export const useDebugComponents = (components) => {
|
|
8
|
+
const { additionalProductComponent, featureFlattenComponent, featureGroupComponent, featureSelectManyComponent, featureSelectOneComponent, optionSelectManyComponent, optionSelectOneComponent, } = components;
|
|
9
|
+
return useMemo(() => {
|
|
10
|
+
return augmentWithDebugComponents({
|
|
11
|
+
additionalProductComponent,
|
|
12
|
+
featureFlattenComponent,
|
|
13
|
+
featureGroupComponent,
|
|
14
|
+
featureSelectManyComponent,
|
|
15
|
+
featureSelectOneComponent,
|
|
16
|
+
optionSelectManyComponent,
|
|
17
|
+
optionSelectOneComponent,
|
|
18
|
+
});
|
|
19
|
+
}, [
|
|
20
|
+
additionalProductComponent,
|
|
21
|
+
featureFlattenComponent,
|
|
22
|
+
featureGroupComponent,
|
|
23
|
+
featureSelectManyComponent,
|
|
24
|
+
featureSelectOneComponent,
|
|
25
|
+
optionSelectManyComponent,
|
|
26
|
+
optionSelectOneComponent,
|
|
27
|
+
]);
|
|
28
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from "./DebugAdditionalProductView.js";
|
|
2
|
-
export * from "./debugComponentsHelper.js";
|
|
3
|
-
export * from "./DebugFeatureGroupView.js";
|
|
4
|
-
export * from "./DebugFeatureView.js";
|
|
5
|
-
export * from "./DebugOptionView.js";
|
|
6
|
-
export * from "./DebugProductConfigurationView.js";
|
|
1
|
+
export * from "./DebugAdditionalProductView.js";
|
|
2
|
+
export * from "./debugComponentsHelper.js";
|
|
3
|
+
export * from "./DebugFeatureGroupView.js";
|
|
4
|
+
export * from "./DebugFeatureView.js";
|
|
5
|
+
export * from "./DebugOptionView.js";
|
|
6
|
+
export * from "./DebugProductConfigurationView.js";
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./DebugAdditionalProductView.js";
|
|
2
|
-
export * from "./debugComponentsHelper.js";
|
|
3
|
-
export * from "./DebugFeatureGroupView.js";
|
|
4
|
-
export * from "./DebugFeatureView.js";
|
|
5
|
-
export * from "./DebugOptionView.js";
|
|
6
|
-
export * from "./DebugProductConfigurationView.js";
|
|
1
|
+
export * from "./DebugAdditionalProductView.js";
|
|
2
|
+
export * from "./debugComponentsHelper.js";
|
|
3
|
+
export * from "./DebugFeatureGroupView.js";
|
|
4
|
+
export * from "./DebugFeatureView.js";
|
|
5
|
+
export * from "./DebugOptionView.js";
|
|
6
|
+
export * from "./DebugProductConfigurationView.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@configura/debug-react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-alpha.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@configura/babylon-view": "
|
|
23
|
-
"@configura/babylon-view-react": "
|
|
24
|
-
"@configura/web-ui": "
|
|
25
|
-
"@configura/web-utilities": "
|
|
22
|
+
"@configura/babylon-view": "2.0.0-alpha.2",
|
|
23
|
+
"@configura/babylon-view-react": "2.0.0-alpha.2",
|
|
24
|
+
"@configura/web-ui": "2.0.0-alpha.2",
|
|
25
|
+
"@configura/web-utilities": "2.0.0-alpha.2",
|
|
26
26
|
"react": "17.x || ^16.12.0",
|
|
27
27
|
"react-dom": "17.x || ^16.12.0",
|
|
28
28
|
"react-router-dom": "^5.2.0"
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "70b1f8c6426c11420f00b031912e1023d3b591bf"
|
|
48
48
|
}
|