@jield/solodb-react-components 1.1.8 → 1.2.0
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 +19 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6376 -6047
- package/dist/index.js.map +1 -1
- package/dist/solodb-react-components.css +1 -1
- package/dist/src/index.d.ts +1 -46
- package/dist/src/modules/admin/api/goldstein/wsHelper.d.ts +1 -1
- package/dist/src/modules/admin/components/goldsteinClientsDashboard/cardReadedValue.d.ts +1 -1
- package/dist/src/modules/admin/components/goldsteinClientsDashboard/equipmentConnected.d.ts +2 -1
- package/dist/src/modules/admin/components/goldsteinClientsDashboard/userAuthenticated.d.ts +2 -1
- package/dist/src/modules/admin/components/goldsteinClientsDashboard.d.ts +2 -1
- package/dist/src/modules/admin/context/goldstein/DataContext.d.ts +1 -1
- package/dist/src/modules/chemical/components/chemical/barcodeScanElement.d.ts +2 -1
- package/dist/src/modules/chemical/components/chemical/chemicalIntakeElement.d.ts +2 -1
- package/dist/src/modules/chemical/components/chemical/registerBarcodeElement.d.ts +3 -2
- package/dist/src/modules/chemical/components/chemical/registerContainerElement.d.ts +2 -1
- package/dist/src/modules/chemical/components/chemicalHeaderElement.d.ts +2 -1
- package/dist/src/modules/chemical/components/modal/createChemicalModal.d.ts +2 -1
- package/dist/src/modules/chemical/form/chemicalContainerMethodOfUseSelectFormElement.d.ts +2 -1
- package/dist/src/modules/chemical/form/chemicalContainerPurposeSelectFormElement.d.ts +2 -1
- package/dist/src/modules/chemical/form/chemicalContainerTypeSelectFormElement.d.ts +2 -1
- package/dist/src/modules/chemical/form/chemicalSelectFormElement.d.ts +2 -1
- package/dist/src/modules/chemical/form/locationSelectFormElement.d.ts +2 -1
- package/dist/src/modules/chemical/form/roomSelectElement.d.ts +2 -1
- package/dist/src/modules/core/components/common/ErrorBoundary.d.ts +1 -1
- package/dist/src/modules/core/contexts/scannerContext.d.ts +1 -1
- package/dist/src/modules/core/form/element/userFormElement.d.ts +2 -1
- package/dist/src/modules/core/providers/authProvider.d.ts +1 -1
- package/dist/src/modules/core/providers/scannerProvider.d.ts +1 -1
- package/dist/src/modules/equipment/components/dashboard/ecnCard.d.ts +2 -1
- package/dist/src/modules/equipment/components/dashboard/equipmentDashboard.d.ts +2 -1
- package/dist/src/modules/equipment/components/dashboard/issueCard.d.ts +2 -1
- package/dist/src/modules/equipment/components/equipmentHeaderElement.d.ts +2 -1
- package/dist/src/modules/equipment/components/goldsteinEquipmentDashboard/actionModules/updateStatus.d.ts +2 -1
- package/dist/src/modules/equipment/components/goldsteinEquipmentDashboard/states/equipmentUsable.d.ts +1 -1
- package/dist/src/modules/equipment/components/goldsteinEquipmentDashboard/states/noUserInCard.d.ts +2 -1
- package/dist/src/modules/equipment/components/goldsteinEquipmentDashboard/states/nullNotifications.d.ts +1 -1
- package/dist/src/modules/equipment/components/goldsteinEquipmentDashboard/states/serverError.d.ts +1 -1
- package/dist/src/modules/equipment/components/goldsteinEquipmentDashboard/states/userNotAuthorized.d.ts +1 -1
- package/dist/src/modules/equipment/components/goldsteinEquipmentDashboard/states/waitingCardDetection.d.ts +1 -1
- package/dist/src/modules/equipment/components/goldsteinEquipmentDashboard.d.ts +2 -1
- package/dist/src/modules/equipment/components/partial/ecnElement.d.ts +2 -1
- package/dist/src/modules/equipment/components/partial/equipmentHeader.d.ts +2 -1
- package/dist/src/modules/equipment/components/partial/issueElement.d.ts +2 -1
- package/dist/src/modules/equipment/components/partial/issueTable.d.ts +2 -1
- package/dist/src/modules/equipment/components/partial/messageElement.d.ts +2 -1
- package/dist/src/modules/equipment/components/partial/moduleStatusElement.d.ts +2 -1
- package/dist/src/modules/equipment/components/partial/reservationElement.d.ts +1 -1
- package/dist/src/modules/equipment/components/partial/sendStatusMail.d.ts +1 -1
- package/dist/src/modules/equipment/components/setup/editSortingPropertiesModal.d.ts +1 -1
- package/dist/src/modules/equipment/components/setup/equipmentModuleStatusWrapper.d.ts +1 -1
- package/dist/src/modules/equipment/components/setup/equipmentTable.d.ts +2 -2
- package/dist/src/modules/equipment/components/setup/filterBadges.d.ts +1 -1
- package/dist/src/modules/equipment/components/setup/filterFormBar.d.ts +1 -1
- package/dist/src/modules/equipment/components/setup/filterFormColum.d.ts +1 -1
- package/dist/src/modules/equipment/components/setup/searchBox.d.ts +2 -1
- package/dist/src/modules/equipment/components/setup/selectedEquipmentTable.d.ts +1 -1
- package/dist/src/modules/equipment/components/setupUpdateEquipment.d.ts +1 -1
- package/dist/src/modules/equipment/components/status-mail/statusMailEquipmentElement.d.ts +2 -1
- package/dist/src/modules/equipment/components/status-mail/statusMailMessageElement.d.ts +2 -1
- package/dist/src/modules/equipment/components/statusMailComponent.d.ts +2 -1
- package/dist/src/modules/equipment/providers/equipmentProvider.d.ts +1 -1
- package/dist/src/modules/equipment/providers/statusMailProvider.d.ts +1 -1
- package/dist/src/modules/iris/components/IrisOperatorDashboard.d.ts +1 -1
- package/dist/src/modules/iris/components/operatorDashboard/IrisOperatorEventDetails.d.ts +1 -1
- package/dist/src/modules/iris/components/operatorDashboard/IrisOperatorEventList.d.ts +1 -1
- package/dist/src/modules/monitor/components/monitor/monitorCard.d.ts +2 -1
- package/dist/src/modules/monitor/components/monitor/monitorHeaderElement.d.ts +2 -1
- package/dist/src/modules/monitor/components/monitor/monitorPage.d.ts +2 -1
- package/dist/src/modules/monitor/components/monitor/requirement/addResultModal.d.ts +2 -1
- package/dist/src/modules/monitor/components/monitor/requirement/addStepParameterValueModal.d.ts +2 -1
- package/dist/src/modules/monitor/components/monitor/requirement/editStepParameterValueModal.d.ts +2 -1
- package/dist/src/modules/monitor/components/monitor/requirement/requirementChart.d.ts +2 -1
- package/dist/src/modules/monitor/components/monitor/requirement/requirementResults.d.ts +2 -1
- package/dist/src/modules/monitor/providers/monitorProvider.d.ts +1 -1
- package/dist/src/modules/partial/dateFormat.d.ts +1 -1
- package/dist/src/modules/partial/modal.d.ts +2 -1
- package/dist/src/modules/partial/paginationLinks.d.ts +2 -1
- package/dist/src/modules/run/components/run/information/elements/runInformationGrid.d.ts +2 -1
- package/dist/src/modules/run/components/run/information/elements/runUploadFiles.d.ts +2 -1
- package/dist/src/modules/run/components/run/information/runInformationElement.d.ts +1 -1
- package/dist/src/modules/run/components/run/layout/elements/runLayoutPartList.d.ts +7 -0
- package/dist/src/modules/run/components/run/layout/elements/runLayoutTrayVisual.d.ts +9 -0
- package/dist/src/modules/run/components/run/layout/elements/runStepInLayout.d.ts +6 -0
- package/dist/src/modules/run/components/run/layout/runLayoutElement.d.ts +2 -0
- package/dist/src/modules/run/components/run/partial/runHeader.d.ts +2 -1
- package/dist/src/modules/run/components/run/partial/runTabs.d.ts +1 -1
- package/dist/src/modules/run/components/run/runHeaderElement.d.ts +2 -1
- package/dist/src/modules/run/components/run/steps/element/requirementDetails.d.ts +2 -1
- package/dist/src/modules/run/components/run/steps/element/requirementStepInList.d.ts +2 -1
- package/dist/src/modules/run/components/run/steps/element/stepDetails.d.ts +1 -1
- package/dist/src/modules/run/components/run/steps/element/stepInList.d.ts +1 -1
- package/dist/src/modules/run/components/run/steps/runStepsElement.d.ts +2 -1
- package/dist/src/modules/run/components/shared/files/uploadFilesToStep.d.ts +2 -1
- package/dist/src/modules/run/components/shared/parameters/runStepParameterEditButton.d.ts +1 -1
- package/dist/src/modules/run/components/shared/parameters/runStepParametersTable.d.ts +2 -1
- package/dist/src/modules/run/components/shared/parts/runPartIndicator.d.ts +2 -1
- package/dist/src/modules/run/components/shared/parts/runPartList/flatGrid.d.ts +12 -0
- package/dist/src/modules/run/components/shared/parts/runPartList/partCell.d.ts +20 -0
- package/dist/src/modules/run/components/shared/parts/runPartList/trayBulkActions.d.ts +12 -0
- package/dist/src/modules/run/components/shared/parts/runPartList/trayGrid.d.ts +12 -0
- package/dist/src/modules/run/components/shared/parts/runPartList.d.ts +3 -1
- package/dist/src/modules/run/components/shared/parts/runPartSlotDistribution.d.ts +2 -1
- package/dist/src/modules/run/components/shared/parts_table/element/partActionsButtons.d.ts +1 -1
- package/dist/src/modules/run/components/shared/parts_table/element/partActionsDropdown.d.ts +1 -1
- package/dist/src/modules/run/components/shared/parts_table/element/partSelectionControls.d.ts +1 -1
- package/dist/src/modules/run/components/shared/parts_table/element/runPartProductionActionsButtons.d.ts +1 -1
- package/dist/src/modules/run/components/shared/parts_table/element/runPartProductionActionsDropdown.d.ts +2 -1
- package/dist/src/modules/run/components/shared/parts_table/element/runPartProductionTableRow.d.ts +2 -1
- package/dist/src/modules/run/components/shared/parts_table/element/runStepPartComment.d.ts +1 -1
- package/dist/src/modules/run/components/shared/parts_table/runPartsQrFlow.d.ts +2 -1
- package/dist/src/modules/run/components/shared/parts_table/runPartsRegularFlow.d.ts +2 -1
- package/dist/src/modules/run/components/shared/requirement/fillValueModal.d.ts +1 -1
- package/dist/src/modules/run/components/shared/requirement/measurementResultsBadge.d.ts +1 -1
- package/dist/src/modules/run/components/shared/requirement/requirementValuesByStep.d.ts +1 -1
- package/dist/src/modules/run/components/shared/requirement/requirementValuesWithPartTable.d.ts +1 -1
- package/dist/src/modules/run/components/step/runStepHeaderElement.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/batchCardElement.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/checklist/checklistItemElement.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/checklist/checklistModal.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/hold-code/holdCodeModal.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/holdCodeBadge.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/logAssistElement.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/priorityBadge.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/process.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/rework.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/run-changelog/runChangelogButton.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/run-changelog/runChangelogModal.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/runStepChecklist.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/runStepChecklistExecute.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/runStepSimpleList.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/step-overview/requirementDetails.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/step-overview/requirementElement.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/step-overview/stepDetails.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/step-overview/stepElement.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/step-overview/stepOverviewButton.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/step-overview/stepOverviewModal.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/stepDashboard.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/stepLabel.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/element/stepRemark.d.ts +2 -1
- package/dist/src/modules/run/components/step/view/runStepExecuteElement.d.ts +1 -1
- package/dist/src/modules/run/components/step/view/runStepExecuteMinimal.d.ts +2 -1
- package/dist/src/modules/run/contexts/runStepContext.d.ts +1 -1
- package/dist/src/modules/run/providers/emphasizedParametersProvider.d.ts +1 -1
- package/dist/src/modules/run/providers/runProvider.d.ts +1 -1
- package/dist/src/modules/run/providers/runStepProvider.d.ts +1 -1
- package/dist/src/modules/service/components/ReportResult.d.ts +2 -1
- package/dist/src/modules/service/components/equipmentReports/EquipmentServiceReports.d.ts +1 -1
- package/dist/src/modules/service/components/equipmentReports/ListEquipmentReport.d.ts +1 -1
- package/dist/src/modules/service/components/report/Category.d.ts +2 -1
- package/dist/src/modules/service/components/report/Criterion.d.ts +2 -1
- package/dist/src/utils/notification.d.ts +1 -1
- package/package.json +17 -17
package/dist/src/modules/monitor/components/monitor/requirement/addStepParameterValueModal.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { MonitorRequirement, MonitorMeasurementResult } from '@jield/solodb-typescript-core';
|
|
2
3
|
declare const AddStepParameterValueModal: ({ requirement, result, refetchMonitorStepParameterValues, }: {
|
|
3
4
|
requirement: MonitorRequirement;
|
|
4
5
|
result: MonitorMeasurementResult;
|
|
5
6
|
refetchMonitorStepParameterValues: () => void;
|
|
6
|
-
}) =>
|
|
7
|
+
}) => React.JSX.Element;
|
|
7
8
|
export default AddStepParameterValueModal;
|
package/dist/src/modules/monitor/components/monitor/requirement/editStepParameterValueModal.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { MonitorResultStepParameterValue } from '@jield/solodb-typescript-core';
|
|
2
3
|
declare const EditStepParameterValueModal: ({ monitorResultStepParameterValue, refetchMonitorStepParameterValues, }: {
|
|
3
4
|
monitorResultStepParameterValue: MonitorResultStepParameterValue;
|
|
4
5
|
refetchMonitorStepParameterValues: () => void;
|
|
5
|
-
}) =>
|
|
6
|
+
}) => React.JSX.Element;
|
|
6
7
|
export default EditStepParameterValueModal;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { MonitorRequirementTarget, MonitorMeasurementResult } from '@jield/solodb-typescript-core';
|
|
2
3
|
export default function RequirementChart({ target, results, }: {
|
|
3
4
|
target: MonitorRequirementTarget;
|
|
4
5
|
results: MonitorMeasurementResult[];
|
|
5
|
-
}):
|
|
6
|
+
}): React.JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { MonitorRequirement } from '@jield/solodb-typescript-core';
|
|
2
3
|
export default function RequirementResults({ requirement }: {
|
|
3
4
|
requirement: MonitorRequirement;
|
|
4
|
-
}):
|
|
5
|
+
}): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { ApiFormattedResponse } from '@jield/solodb-typescript-core';
|
|
2
3
|
declare const PaginationLinks: ({ data, setPage, setPageSize, pageSize, isPlaceholderData, }: {
|
|
3
4
|
data: ApiFormattedResponse<any> | undefined;
|
|
@@ -5,5 +6,5 @@ declare const PaginationLinks: ({ data, setPage, setPageSize, pageSize, isPlaceh
|
|
|
5
6
|
setPageSize?: (pageSize: (old: number) => number) => void;
|
|
6
7
|
pageSize?: number;
|
|
7
8
|
isPlaceholderData: boolean;
|
|
8
|
-
}) =>
|
|
9
|
+
}) => React.JSX.Element;
|
|
9
10
|
export default PaginationLinks;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export default function RunInformationGrid(): React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export default function RunUploadFiles(): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function RunInformationElement(): import("react
|
|
1
|
+
export default function RunInformationElement(): import("react").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Run, RunPart, RunStep, RunStepPart } from '@jield/solodb-typescript-core';
|
|
2
|
+
export declare const RunLayoutPartList: ({ step, parts, stepParts, run, }: {
|
|
3
|
+
step: RunStep;
|
|
4
|
+
parts: RunPart[];
|
|
5
|
+
stepParts: RunStepPart[];
|
|
6
|
+
run: Run;
|
|
7
|
+
}) => import("react").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Run, RunPart, RunStep, RunStepPart } from '@jield/solodb-typescript-core';
|
|
2
|
+
type RunTray = NonNullable<Run["run_trays"]>[number];
|
|
3
|
+
export default function RunLayoutTrayVisual({ step, tray, parts, stepParts, }: {
|
|
4
|
+
step: RunStep;
|
|
5
|
+
tray: RunTray;
|
|
6
|
+
parts: RunPart[];
|
|
7
|
+
stepParts: RunStepPart[];
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export default function RunHeader(): React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export default function RunHeaderElement(): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { Requirement, RunStep, RunStepPart, RunPart, MeasurementResult } from '@jield/solodb-typescript-core';
|
|
2
3
|
export default function RequirementDetails({ requirement, step, stepParts, parts, measurementResults, refetchFn, }: {
|
|
3
4
|
requirement: Requirement;
|
|
@@ -6,4 +7,4 @@ export default function RequirementDetails({ requirement, step, stepParts, parts
|
|
|
6
7
|
parts: RunPart[];
|
|
7
8
|
measurementResults: MeasurementResult[];
|
|
8
9
|
refetchFn: (keys: string[]) => void;
|
|
9
|
-
}):
|
|
10
|
+
}): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { Requirement, RunStep, RunPart } from '@jield/solodb-typescript-core';
|
|
2
3
|
export default function RequirementStepInList({ requirement, step, parts, refetchFn, }: {
|
|
3
4
|
requirement: Requirement;
|
|
4
5
|
step: RunStep;
|
|
5
6
|
parts: RunPart[];
|
|
6
7
|
refetchFn: (key: any[]) => void;
|
|
7
|
-
}):
|
|
8
|
+
}): React.JSX.Element;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export default function RunStepsElement(): React.JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { RunStep } from '@jield/solodb-typescript-core';
|
|
2
3
|
export default function UploadFilesToStep({ runStep, refetchFn }: {
|
|
3
4
|
runStep: RunStep;
|
|
4
5
|
refetchFn?: () => void;
|
|
5
|
-
}):
|
|
6
|
+
}): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { RunStep } from '@jield/solodb-typescript-core';
|
|
2
3
|
export declare const RunStepParametersTable: ({ runStep, showOnlyEmphasizedParameters, editableParameters, refetchFn, }: {
|
|
3
4
|
runStep: RunStep;
|
|
4
5
|
showOnlyEmphasizedParameters: boolean;
|
|
5
6
|
editableParameters?: boolean;
|
|
6
7
|
refetchFn?: () => void;
|
|
7
|
-
}) =>
|
|
8
|
+
}) => React.JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { RunPart, RunStep, RunStepPart } from '@jield/solodb-typescript-core';
|
|
2
|
+
import { default as React } from 'react';
|
|
2
3
|
declare const RunPartIndicator: ({ runPart, stepPart, statusClass, withTrayCell, allowCreate, isSelected, runStep, }: {
|
|
3
4
|
runPart: RunPart | null;
|
|
4
5
|
stepPart?: RunStepPart;
|
|
@@ -7,5 +8,5 @@ declare const RunPartIndicator: ({ runPart, stepPart, statusClass, withTrayCell,
|
|
|
7
8
|
allowCreate?: boolean;
|
|
8
9
|
isSelected?: boolean;
|
|
9
10
|
runStep?: RunStep;
|
|
10
|
-
}) =>
|
|
11
|
+
}) => React.JSX.Element | null;
|
|
11
12
|
export default RunPartIndicator;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RunPart } from '@jield/solodb-typescript-core';
|
|
2
|
+
import { RunPartRenderContext } from './partCell';
|
|
3
|
+
/**
|
|
4
|
+
* Renders parts that are not assigned to any tray as a simple wrapping grid.
|
|
5
|
+
* Used when the run has no trays.
|
|
6
|
+
*/
|
|
7
|
+
export declare const FlatGrid: ({ leveledParts, allNonTrayParts, isSplitLevel, context, }: {
|
|
8
|
+
leveledParts: RunPart[];
|
|
9
|
+
allNonTrayParts: RunPart[];
|
|
10
|
+
isSplitLevel: boolean;
|
|
11
|
+
context: RunPartRenderContext;
|
|
12
|
+
}) => import("react").JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { RunPart, RunStep, RunStepPart } from '@jield/solodb-typescript-core';
|
|
2
|
+
export type RunPartRenderContext = {
|
|
3
|
+
step: RunStep;
|
|
4
|
+
stepPartsById: Map<number, RunStepPart>;
|
|
5
|
+
allowCreate: boolean;
|
|
6
|
+
selectedPartIds: number[];
|
|
7
|
+
};
|
|
8
|
+
export declare const getBadgeStatusClass: (runPart: RunPart, stepPartsById: Map<number, RunStepPart>) => string;
|
|
9
|
+
export declare const PartBadge: ({ runPart, context, }: {
|
|
10
|
+
runPart: RunPart;
|
|
11
|
+
context: RunPartRenderContext;
|
|
12
|
+
}) => import("react").JSX.Element;
|
|
13
|
+
export declare const MultiPartCell: ({ runParts, context, }: {
|
|
14
|
+
runParts: RunPart[];
|
|
15
|
+
context: RunPartRenderContext;
|
|
16
|
+
}) => import("react").JSX.Element;
|
|
17
|
+
export declare const SlotCell: ({ runPart, context, }: {
|
|
18
|
+
runPart: RunPart | null;
|
|
19
|
+
context: RunPartRenderContext;
|
|
20
|
+
}) => import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { RunStep, RunStepPart } from '@jield/solodb-typescript-core';
|
|
3
|
+
/**
|
|
4
|
+
* Wraps a tray's parts and exposes a hover overlay with the actions that can be
|
|
5
|
+
* applied in bulk to every part in the tray.
|
|
6
|
+
*/
|
|
7
|
+
export declare const TrayBulkActions: ({ label, trayStepParts, runStep, children, }: {
|
|
8
|
+
label: string;
|
|
9
|
+
trayStepParts: RunStepPart[];
|
|
10
|
+
runStep: RunStep;
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
}) => import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Run, RunPart, RunStepPart } from '@jield/solodb-typescript-core';
|
|
2
|
+
import { RunPartRenderContext } from './partCell';
|
|
3
|
+
type RunTray = NonNullable<Run["run_trays"]>[number];
|
|
4
|
+
export declare const TrayGrid: ({ tray, trayParts, trayAllParts, stepParts, isSplitLevel, context, }: {
|
|
5
|
+
tray: RunTray;
|
|
6
|
+
trayParts: RunPart[];
|
|
7
|
+
trayAllParts: RunPart[];
|
|
8
|
+
stepParts: RunStepPart[];
|
|
9
|
+
isSplitLevel: boolean;
|
|
10
|
+
context: RunPartRenderContext;
|
|
11
|
+
}) => import("react").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Run, RunPart, RunStep, RunStepPart } from '@jield/solodb-typescript-core';
|
|
2
|
+
export declare const getTrayIdPerStepPart: (part: RunPart, stepPart: RunStepPart | null | undefined) => number;
|
|
3
|
+
export declare const groupPartsByTrayId: (parts: RunPart[], stepParts: RunStepPart[]) => Map<number, RunPart[]>;
|
|
2
4
|
export declare const RunPartList: ({ step, parts, stepParts, run, }: {
|
|
3
5
|
step: RunStep;
|
|
4
6
|
parts: RunPart[];
|
|
5
7
|
stepParts: RunStepPart[];
|
|
6
8
|
run: Run;
|
|
7
|
-
}) => import("react
|
|
9
|
+
}) => import("react").JSX.Element;
|
|
@@ -11,8 +11,9 @@ export declare const buildSplitSlotAssignments: ({ parts, slotCount, getSlotInde
|
|
|
11
11
|
slotCount: number;
|
|
12
12
|
getSlotIndex: (runPart: RunPart) => number | null;
|
|
13
13
|
}) => RunPart[][];
|
|
14
|
-
export declare const buildDisplaySlotIndexByPartId: ({ parts, getDirectSlotIndex, slotCount, }: {
|
|
14
|
+
export declare const buildDisplaySlotIndexByPartId: ({ parts, getOverrideSlotIndex, getDirectSlotIndex, slotCount, }: {
|
|
15
15
|
parts: RunPart[];
|
|
16
|
+
getOverrideSlotIndex?: (runPart: RunPart) => number | null;
|
|
16
17
|
getDirectSlotIndex: (runPart: RunPart) => number | null;
|
|
17
18
|
slotCount?: number;
|
|
18
19
|
}) => Map<number, number>;
|
|
@@ -6,4 +6,4 @@ export interface PartActionsButtonsProps {
|
|
|
6
6
|
}[];
|
|
7
7
|
onActionSelected: (action: RunStepPartActionEnum) => Promise<void> | void;
|
|
8
8
|
}
|
|
9
|
-
export declare const PartActionsButtons: ({ availableActions, onActionSelected }: PartActionsButtonsProps) => import("react
|
|
9
|
+
export declare const PartActionsButtons: ({ availableActions, onActionSelected }: PartActionsButtonsProps) => import("react").JSX.Element | null;
|
|
@@ -11,4 +11,4 @@ export interface PartActionsDropdownProps {
|
|
|
11
11
|
*
|
|
12
12
|
* Renders a dropdown menu driven by the server-provided `available_actions` array.
|
|
13
13
|
*/
|
|
14
|
-
export declare const PartActionsDropdown: ({ availableActions, onActionSelected }: PartActionsDropdownProps) => import("react
|
|
14
|
+
export declare const PartActionsDropdown: ({ availableActions, onActionSelected }: PartActionsDropdownProps) => import("react").JSX.Element | null;
|
package/dist/src/modules/run/components/shared/parts_table/element/partSelectionControls.d.ts
CHANGED
|
@@ -18,4 +18,4 @@ export interface PartSelectionControlsProps {
|
|
|
18
18
|
* Renders a button group for selecting/deselecting all parts,
|
|
19
19
|
* and conditionally displays an actions dropdown when parts are selected.
|
|
20
20
|
*/
|
|
21
|
-
export declare const PartSelectionControls: ({ onSelectAll, onSelectNone, hasSelectedParts, actionsDropdown, traySelections, onToggleTray, }: PartSelectionControlsProps) => import("react
|
|
21
|
+
export declare const PartSelectionControls: ({ onSelectAll, onSelectNone, hasSelectedParts, actionsDropdown, traySelections, onToggleTray, }: PartSelectionControlsProps) => import("react").JSX.Element;
|
|
@@ -6,5 +6,5 @@ type Props = {
|
|
|
6
6
|
runStepPartAction: RunStepPartActionEnum;
|
|
7
7
|
}) => void;
|
|
8
8
|
};
|
|
9
|
-
declare const RunPartProductionActionsButtons: ({ runStepPart, setRunStepPartAction }: Props) => import("react
|
|
9
|
+
declare const RunPartProductionActionsButtons: ({ runStepPart, setRunStepPartAction }: Props) => import("react").JSX.Element | null;
|
|
10
10
|
export default RunPartProductionActionsButtons;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { RunStepPart, RunStepPartActionEnum } from '@jield/solodb-typescript-core';
|
|
2
3
|
type Props = {
|
|
3
4
|
runStepPart: RunStepPart;
|
|
@@ -7,5 +8,5 @@ type Props = {
|
|
|
7
8
|
runStepPartAction: RunStepPartActionEnum;
|
|
8
9
|
}) => void;
|
|
9
10
|
};
|
|
10
|
-
declare const RunPartProductionActionsDropdown: ({ runStepPart, setRunStepPartAction, createRunStepPart, }: Props) =>
|
|
11
|
+
declare const RunPartProductionActionsDropdown: ({ runStepPart, setRunStepPartAction, createRunStepPart, }: Props) => React.JSX.Element;
|
|
11
12
|
export default RunPartProductionActionsDropdown;
|
package/dist/src/modules/run/components/shared/parts_table/element/runPartProductionTableRow.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { RunPart, RunStep, RunStepPart } from '@jield/solodb-typescript-core';
|
|
2
3
|
type Props = {
|
|
3
4
|
runPart: RunPart;
|
|
@@ -8,5 +9,5 @@ type Props = {
|
|
|
8
9
|
runStep: RunStep;
|
|
9
10
|
dropdown: boolean;
|
|
10
11
|
};
|
|
11
|
-
declare const RunStepPartProductionTableRow: ({ runPart, partIsSelected, setPartAsSelected, runStepParts, canInit, runStep, dropdown, }: Props) =>
|
|
12
|
+
declare const RunStepPartProductionTableRow: ({ runPart, partIsSelected, setPartAsSelected, runStepParts, canInit, runStep, dropdown, }: Props) => React.JSX.Element | null;
|
|
12
13
|
export default RunStepPartProductionTableRow;
|
|
@@ -3,5 +3,5 @@ declare const RunStepPartComment: ({ runStepPart, setRunStepPart, editable, }: {
|
|
|
3
3
|
runStepPart: RunStepPart;
|
|
4
4
|
setRunStepPart: (runStepPart: RunStepPart) => void;
|
|
5
5
|
editable?: boolean;
|
|
6
|
-
}) => import("react
|
|
6
|
+
}) => import("react").JSX.Element;
|
|
7
7
|
export default RunStepPartComment;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { Run, RunStep, RunPart, RunStepPart } from '@jield/solodb-typescript-core';
|
|
2
3
|
type Props = {
|
|
3
4
|
run: Run;
|
|
4
5
|
runStep: RunStep;
|
|
5
6
|
};
|
|
6
|
-
declare const RunPartsQrFlow: ({ run, runStep }: Props) =>
|
|
7
|
+
declare const RunPartsQrFlow: ({ run, runStep }: Props) => React.JSX.Element;
|
|
7
8
|
export declare const isRunPartFinish: (runStepParts: RunStepPart[], part: RunPart) => boolean;
|
|
8
9
|
export default RunPartsQrFlow;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { Run, RunStep } from '@jield/solodb-typescript-core';
|
|
2
3
|
type Props = {
|
|
3
4
|
run: Run;
|
|
4
5
|
runStep: RunStep;
|
|
5
6
|
};
|
|
6
|
-
declare const RunPartsRegularFlow: ({ run, runStep }: Props) =>
|
|
7
|
+
declare const RunPartsRegularFlow: ({ run, runStep }: Props) => React.JSX.Element;
|
|
7
8
|
export default RunPartsRegularFlow;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export default function RunStepHeaderElement(): React.JSX.Element;
|
package/dist/src/modules/run/components/step/view/element/checklist/checklistItemElement.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { RunStepChecklistItem } from '@jield/solodb-typescript-core';
|
|
2
3
|
declare const ChecklistItemElement: ({ checklistItem, refetch, }: {
|
|
3
4
|
checklistItem: RunStepChecklistItem;
|
|
4
5
|
refetch: () => void;
|
|
5
|
-
}) =>
|
|
6
|
+
}) => React.JSX.Element;
|
|
6
7
|
export default ChecklistItemElement;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { RunStepChecklistItem } from '@jield/solodb-typescript-core';
|
|
2
3
|
declare const ChecklistModal: ({ checklistItem, show, setModalShow, mutation, }: {
|
|
3
4
|
checklistItem: RunStepChecklistItem;
|
|
4
5
|
show: boolean;
|
|
5
6
|
setModalShow: (show: boolean) => void;
|
|
6
7
|
mutation: any;
|
|
7
|
-
}) =>
|
|
8
|
+
}) => React.JSX.Element;
|
|
8
9
|
export default ChecklistModal;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { Run, HoldCode as RunHoldCode } from '@jield/solodb-typescript-core';
|
|
2
3
|
declare const HoldCodeModal: ({ run, show, setShow, runHoldCode, setRunHoldCode, }: {
|
|
3
4
|
run: Run;
|
|
@@ -5,5 +6,5 @@ declare const HoldCodeModal: ({ run, show, setShow, runHoldCode, setRunHoldCode,
|
|
|
5
6
|
setShow: (set: boolean) => void;
|
|
6
7
|
runHoldCode?: RunHoldCode;
|
|
7
8
|
setRunHoldCode: (runHoldCode?: RunHoldCode) => void;
|
|
8
|
-
}) =>
|
|
9
|
+
}) => React.JSX.Element;
|
|
9
10
|
export default HoldCodeModal;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
declare const Rework: () => React.JSX.Element | "Reworks are only possible for steps with a recipe";
|
|
2
3
|
export default Rework;
|
package/dist/src/modules/run/components/step/view/element/run-changelog/runChangelogModal.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
declare const RunChangelogModal: ({ show, setModalShow, }: {
|
|
2
3
|
show: boolean;
|
|
3
4
|
setModalShow: (setModalShow: boolean) => void;
|
|
4
|
-
}) =>
|
|
5
|
+
}) => React.JSX.Element;
|
|
5
6
|
export default RunChangelogModal;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { Run, RunStep } from '@jield/solodb-typescript-core';
|
|
2
3
|
export default function RunStepChecklist({ run, runStep, reloadRunStep, }: {
|
|
3
4
|
run?: Run;
|
|
4
5
|
runStep?: RunStep;
|
|
5
6
|
reloadRunStep?: () => void;
|
|
6
|
-
}):
|
|
7
|
+
}): React.JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { Run, RunStep } from '@jield/solodb-typescript-core';
|
|
2
3
|
export default function RunStepChecklistExecute({ run, runStep, reloadRunStep, }: {
|
|
3
4
|
run?: Run;
|
|
4
5
|
runStep?: RunStep;
|
|
5
6
|
reloadRunStep?: () => void;
|
|
6
|
-
}):
|
|
7
|
+
}): React.JSX.Element;
|
package/dist/src/modules/run/components/step/view/element/step-overview/requirementDetails.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { Requirement, RunStep, RunStepPart, RunPart, MeasurementResult } from '@jield/solodb-typescript-core';
|
|
2
3
|
export default function RequirementDetails({ requirement, step, stepParts, parts, measurementResults, }: {
|
|
3
4
|
requirement: Requirement;
|
|
@@ -5,4 +6,4 @@ export default function RequirementDetails({ requirement, step, stepParts, parts
|
|
|
5
6
|
stepParts: RunStepPart[];
|
|
6
7
|
parts: RunPart[];
|
|
7
8
|
measurementResults: MeasurementResult[];
|
|
8
|
-
}):
|
|
9
|
+
}): React.JSX.Element;
|
package/dist/src/modules/run/components/step/view/element/step-overview/requirementElement.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { Requirement, RunPart, RunStepPart } from '@jield/solodb-typescript-core';
|
|
2
3
|
export default function RequirementElement({ requirement, runParts, runStepParts, hideLabel, firstInGroup, }: {
|
|
3
4
|
requirement: Requirement;
|
|
@@ -5,4 +6,4 @@ export default function RequirementElement({ requirement, runParts, runStepParts
|
|
|
5
6
|
runStepParts: RunStepPart[];
|
|
6
7
|
hideLabel?: boolean;
|
|
7
8
|
firstInGroup: boolean;
|
|
8
|
-
}):
|
|
9
|
+
}): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { Run, RunStep } from '@jield/solodb-typescript-core';
|
|
2
3
|
declare const StepDetails: ({ run, runStep, showOnlyEmphasizedParameters, }: {
|
|
3
4
|
run: Run;
|
|
4
5
|
runStep: RunStep;
|
|
5
6
|
showOnlyEmphasizedParameters: boolean;
|
|
6
|
-
}) =>
|
|
7
|
+
}) => React.JSX.Element;
|
|
7
8
|
export default StepDetails;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { Requirement, Run, RunPart, RunStep, RunStepPart } from '@jield/solodb-typescript-core';
|
|
2
3
|
declare const StepElement: ({ run, monitoredBy, runStep, runParts, runStepParts, hideLabel, firstInGroup, }: {
|
|
3
4
|
run: Run;
|
|
@@ -7,5 +8,5 @@ declare const StepElement: ({ run, monitoredBy, runStep, runParts, runStepParts,
|
|
|
7
8
|
runStepParts: RunStepPart[];
|
|
8
9
|
hideLabel?: boolean;
|
|
9
10
|
firstInGroup: boolean;
|
|
10
|
-
}) =>
|
|
11
|
+
}) => React.JSX.Element;
|
|
11
12
|
export default StepElement;
|