@overmap-ai/core 1.0.57 → 1.0.58-qr-code-field-fix.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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @overmap-ai/core
|
|
2
|
-
|
|
3
|
-
The `core` package contains core functionality for the Overmap platform. It is a peer dependency of all other overmap
|
|
4
|
-
packages.
|
|
1
|
+
# @overmap-ai/core
|
|
2
|
+
|
|
3
|
+
The `core` package contains core functionality for the Overmap platform. It is a peer dependency of all other overmap
|
|
4
|
+
packages.
|
package/dist/overmap-core.js
CHANGED
|
@@ -4074,6 +4074,24 @@ const selectFormSubmissionsOfIssue = restructureCreateSelectorWithArgs(
|
|
|
4074
4074
|
}
|
|
4075
4075
|
)
|
|
4076
4076
|
);
|
|
4077
|
+
const selectFormSubmissionsByIssues = restructureCreateSelectorWithArgs(
|
|
4078
|
+
createSelector(
|
|
4079
|
+
[selectFormSubmissions, (_state, issueIds) => issueIds],
|
|
4080
|
+
(submissions, issueIds) => {
|
|
4081
|
+
var _a2;
|
|
4082
|
+
const issueSubmissions = {};
|
|
4083
|
+
for (const issueId of issueIds) {
|
|
4084
|
+
issueSubmissions[issueId] = [];
|
|
4085
|
+
}
|
|
4086
|
+
for (const submission of submissions) {
|
|
4087
|
+
if (submission.issue && issueIds.includes(submission.issue)) {
|
|
4088
|
+
(_a2 = issueSubmissions[submission.issue]) == null ? void 0 : _a2.push(submission);
|
|
4089
|
+
}
|
|
4090
|
+
}
|
|
4091
|
+
return issueSubmissions;
|
|
4092
|
+
}
|
|
4093
|
+
)
|
|
4094
|
+
);
|
|
4077
4095
|
const selectFormSubmissionsOfAsset = restructureCreateSelectorWithArgs(
|
|
4078
4096
|
createSelector(
|
|
4079
4097
|
[selectFormSubmissions, (_state, assetId) => assetId],
|
|
@@ -13433,7 +13451,7 @@ const QrInput = memo((props) => {
|
|
|
13433
13451
|
severity,
|
|
13434
13452
|
inputId,
|
|
13435
13453
|
labelId,
|
|
13436
|
-
label
|
|
13454
|
+
label,
|
|
13437
13455
|
image: showInputOnly ? void 0 : field.image,
|
|
13438
13456
|
flexProps: { direction: "column", justify: "start", align: "start", gap: "1" },
|
|
13439
13457
|
children: [
|
|
@@ -17089,6 +17107,7 @@ export {
|
|
|
17089
17107
|
selectFormSubmissions,
|
|
17090
17108
|
selectFormSubmissionsByAssets,
|
|
17091
17109
|
selectFormSubmissionsByFormRevisions,
|
|
17110
|
+
selectFormSubmissionsByIssues,
|
|
17092
17111
|
selectFormSubmissionsMapping,
|
|
17093
17112
|
selectFormSubmissionsOfAsset,
|
|
17094
17113
|
selectFormSubmissionsOfForm,
|