@jield/solodb-react-components 1.0.14 → 1.0.15
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/dist/index.cjs +23 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4229 -4146
- package/dist/index.js.map +1 -1
- package/dist/modules/run/components/shared/qr-scanner/selectRunWithQrScanner.d.ts +4 -2
- package/dist/modules/run/components/step/view/element/parts/runPartsProductionRun.d.ts +7 -2
- package/dist/modules/run/components/step/view/element/parts/runPartsResearchRun.d.ts +5 -2
- package/dist/modules/run/components/step/view/runStepExecuteMinimal.d.ts +8 -1
- package/package.json +1 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Run } from '@jield/solodb-typescript-core';
|
|
2
|
-
export default function
|
|
3
|
-
setRun: (run: Run) => void;
|
|
2
|
+
export default function NavigateInRunWithQrScanner({ runsList, setRun, setRunStepPartId, setRunPartId, }: {
|
|
4
3
|
runsList: Run[];
|
|
4
|
+
setRun: (run: Run) => void;
|
|
5
|
+
setRunStepPartId?: (stepPart: number) => void;
|
|
6
|
+
setRunPartId?: (part: number) => void;
|
|
5
7
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { Run, RunStep, RunStepPart, RunPart } from '@jield/solodb-typescript-core';
|
|
2
|
-
|
|
3
|
+
type Props = {
|
|
3
4
|
run: Run;
|
|
4
5
|
runStep: RunStep;
|
|
5
6
|
runStepParts?: RunStepPart[];
|
|
6
7
|
runParts?: RunPart[];
|
|
7
8
|
refetchFn?: () => void;
|
|
8
|
-
|
|
9
|
+
toggleRunPartRef?: React.RefObject<{
|
|
10
|
+
setPart: (part: number) => void;
|
|
11
|
+
} | null>;
|
|
12
|
+
};
|
|
13
|
+
declare const RunPartsProductionRun: ({ run, runStep, runStepParts, runParts, refetchFn, toggleRunPartRef, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
14
|
export default RunPartsProductionRun;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { Run, RunStep, RunStepPart } from '@jield/solodb-typescript-core';
|
|
2
|
-
type
|
|
2
|
+
type Props = {
|
|
3
3
|
run: Run;
|
|
4
4
|
runStep: RunStep;
|
|
5
5
|
runStepParts?: RunStepPart[];
|
|
6
6
|
editable?: boolean;
|
|
7
7
|
refetchFn?: () => void;
|
|
8
|
+
toggleRunStepPartRef?: React.RefObject<{
|
|
9
|
+
setPart: (part: number) => void;
|
|
10
|
+
} | null>;
|
|
8
11
|
};
|
|
9
|
-
declare const RunPartsResearchRun: ({ run: _run, runStep, runStepParts, editable, refetchFn, }:
|
|
12
|
+
declare const RunPartsResearchRun: ({ run: _run, runStep, runStepParts, editable, refetchFn, toggleRunStepPartRef, }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
13
|
export default RunPartsResearchRun;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { Run, RunStep } from '@jield/solodb-typescript-core';
|
|
2
|
-
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export default function RunStepExecuteMinimal({ run, runStep, showOnlyEmphasizedParameters, reloadRunStepFn, toggleRunStepPartRef, toggleRunPartRef, }: {
|
|
3
4
|
run: Run;
|
|
4
5
|
runStep: RunStep;
|
|
5
6
|
showOnlyEmphasizedParameters: boolean;
|
|
6
7
|
reloadRunStepFn: () => void;
|
|
8
|
+
toggleRunStepPartRef?: React.RefObject<{
|
|
9
|
+
setPart: (part: number) => void;
|
|
10
|
+
} | null>;
|
|
11
|
+
toggleRunPartRef?: React.RefObject<{
|
|
12
|
+
setPart: (part: number) => void;
|
|
13
|
+
} | null>;
|
|
7
14
|
}): import("react/jsx-runtime").JSX.Element;
|