@configura/debug-react 2.0.0-alpha.20 → 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 (56) hide show
  1. package/.eslintrc.json +5 -18
  2. package/.postcssrc.json +8 -8
  3. package/LICENSE +201 -201
  4. package/dist/LogMessageView.d.ts +5 -5
  5. package/dist/LogMessageView.js +8 -8
  6. package/dist/LogMessagesView.d.ts +5 -5
  7. package/dist/LogMessagesView.js +10 -10
  8. package/dist/TextualConfigurationView.d.ts +7 -7
  9. package/dist/TextualConfigurationView.js +58 -58
  10. package/dist/css/debug.css +1 -1
  11. package/dist/css/debug.css.map +1 -1
  12. package/dist/exerciser/Exerciser.d.ts +37 -37
  13. package/dist/exerciser/Exerciser.js +155 -155
  14. package/dist/exerciser/ExerciserReportFilterView.d.ts +9 -9
  15. package/dist/exerciser/ExerciserReportFilterView.js +205 -205
  16. package/dist/exerciser/ExerciserReportItem.d.ts +10 -10
  17. package/dist/exerciser/ExerciserReportItem.js +1 -1
  18. package/dist/exerciser/ExerciserReportItemView.d.ts +6 -5
  19. package/dist/exerciser/ExerciserReportItemView.js +53 -53
  20. package/dist/exerciser/ExerciserReportView.d.ts +7 -7
  21. package/dist/exerciser/ExerciserReportView.js +8 -8
  22. package/dist/exerciser/ExerciserRun.d.ts +19 -19
  23. package/dist/exerciser/ExerciserRun.js +158 -144
  24. package/dist/exerciser/ExerciserSetup.d.ts +15 -15
  25. package/dist/exerciser/ExerciserSetup.js +54 -54
  26. package/dist/exerciser/FilterSelect.d.ts +8 -8
  27. package/dist/exerciser/FilterSelect.js +40 -40
  28. package/dist/hooks.d.ts +2 -2
  29. package/dist/hooks.js +7 -7
  30. package/dist/index.d.ts +12 -12
  31. package/dist/index.js +12 -12
  32. package/dist/productConfiguration/DebugAdditionalProductView.d.ts +3 -3
  33. package/dist/productConfiguration/DebugAdditionalProductView.js +6 -6
  34. package/dist/productConfiguration/DebugFeatureCommon.d.ts +10 -10
  35. package/dist/productConfiguration/DebugFeatureCommon.js +34 -34
  36. package/dist/productConfiguration/DebugFeatureGroupView.d.ts +4 -4
  37. package/dist/productConfiguration/DebugFeatureGroupView.js +20 -20
  38. package/dist/productConfiguration/DebugFeatureView.d.ts +4 -4
  39. package/dist/productConfiguration/DebugFeatureView.js +8 -8
  40. package/dist/productConfiguration/DebugOptionCommon.d.ts +10 -10
  41. package/dist/productConfiguration/DebugOptionCommon.js +30 -30
  42. package/dist/productConfiguration/DebugOptionView.d.ts +4 -4
  43. package/dist/productConfiguration/DebugOptionView.js +8 -8
  44. package/dist/productConfiguration/DebugProductCommon.d.ts +9 -9
  45. package/dist/productConfiguration/DebugProductCommon.js +40 -40
  46. package/dist/productConfiguration/DebugProductConfigurationView.d.ts +16 -16
  47. package/dist/productConfiguration/DebugProductConfigurationView.js +26 -26
  48. package/dist/productConfiguration/DebugRowsFactory.d.ts +9 -9
  49. package/dist/productConfiguration/DebugRowsFactory.js +33 -33
  50. package/dist/productConfiguration/DebugTable.d.ts +8 -8
  51. package/dist/productConfiguration/DebugTable.js +8 -8
  52. package/dist/productConfiguration/debugComponentsHelper.d.ts +3 -3
  53. package/dist/productConfiguration/debugComponentsHelper.js +28 -28
  54. package/dist/productConfiguration/index.d.ts +6 -6
  55. package/dist/productConfiguration/index.js +6 -6
  56. package/package.json +6 -6
@@ -1,9 +1,9 @@
1
- import React from "react";
2
- declare type Props = {
3
- heading: string;
4
- tooltip?: string;
5
- markAsHidden?: boolean;
6
- };
7
- export declare const DebugTable: React.FC<Props>;
8
- export {};
1
+ import React from "react";
2
+ declare type Props = {
3
+ heading: string;
4
+ tooltip?: string;
5
+ markAsHidden?: boolean;
6
+ };
7
+ export declare const DebugTable: React.FC<Props>;
8
+ export {};
9
9
  //# sourceMappingURL=DebugTable.d.ts.map
@@ -1,8 +1,8 @@
1
- import React from "react";
2
- export const DebugTable = (props) => {
3
- const { heading, tooltip, children, markAsHidden } = props;
4
- return (React.createElement("div", { className: `debug-component__table ${markAsHidden ? "debug-component__table--mark-hidden" : ""}` },
5
- React.createElement("div", { className: "debug-component__heading", title: tooltip }, heading),
6
- React.createElement("table", null,
7
- React.createElement("tbody", null, children))));
8
- };
1
+ import React from "react";
2
+ export const DebugTable = (props) => {
3
+ const { heading, tooltip, children, markAsHidden } = props;
4
+ return (React.createElement("div", { className: `debug-component__table ${markAsHidden ? "debug-component__table--mark-hidden" : ""}` },
5
+ React.createElement("div", { className: "debug-component__heading", title: tooltip }, heading),
6
+ React.createElement("table", null,
7
+ React.createElement("tbody", null, children))));
8
+ };
@@ -1,4 +1,4 @@
1
- import { CfgProductConfigurationComponent } from "@configura/web-ui";
2
- export declare const augmentWithDebugComponents: <T extends CfgProductConfigurationComponent>(components: T) => T;
3
- export declare const useDebugComponents: (components: CfgProductConfigurationComponent) => CfgProductConfigurationComponent;
1
+ import { CfgProductConfigurationComponent } from "@configura/web-ui";
2
+ export declare const augmentWithDebugComponents: <T extends CfgProductConfigurationComponent>(components: T) => T;
3
+ export declare const useDebugComponents: (components: CfgProductConfigurationComponent) => CfgProductConfigurationComponent;
4
4
  //# sourceMappingURL=debugComponentsHelper.d.ts.map
@@ -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": "2.0.0-alpha.20",
3
+ "version": "2.0.0-alpha.21",
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": "2.0.0-alpha.20",
23
- "@configura/babylon-view-react": "2.0.0-alpha.20",
24
- "@configura/web-ui": "2.0.0-alpha.20",
25
- "@configura/web-utilities": "2.0.0-alpha.20",
22
+ "@configura/babylon-view": "2.0.0-alpha.21",
23
+ "@configura/babylon-view-react": "2.0.0-alpha.21",
24
+ "@configura/web-ui": "2.0.0-alpha.21",
25
+ "@configura/web-utilities": "2.0.0-alpha.21",
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": "74b8fd6c45f392b9133843b409f7662dbf93c47e"
47
+ "gitHead": "a02f3f067d7daae1f22b491eecd7bb9c34d9f19b"
48
48
  }