@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.
@@ -4064,6 +4064,24 @@ var __publicField = (obj, key, value) => {
4064
4064
  }
4065
4065
  )
4066
4066
  );
4067
+ const selectFormSubmissionsByIssues = restructureCreateSelectorWithArgs(
4068
+ toolkit.createSelector(
4069
+ [selectFormSubmissions, (_state, issueIds) => issueIds],
4070
+ (submissions, issueIds) => {
4071
+ var _a2;
4072
+ const issueSubmissions = {};
4073
+ for (const issueId of issueIds) {
4074
+ issueSubmissions[issueId] = [];
4075
+ }
4076
+ for (const submission of submissions) {
4077
+ if (submission.issue && issueIds.includes(submission.issue)) {
4078
+ (_a2 = issueSubmissions[submission.issue]) == null ? void 0 : _a2.push(submission);
4079
+ }
4080
+ }
4081
+ return issueSubmissions;
4082
+ }
4083
+ )
4084
+ );
4067
4085
  const selectFormSubmissionsOfAsset = restructureCreateSelectorWithArgs(
4068
4086
  toolkit.createSelector(
4069
4087
  [selectFormSubmissions, (_state, assetId) => assetId],
@@ -13423,7 +13441,7 @@ var __publicField = (obj, key, value) => {
13423
13441
  severity,
13424
13442
  inputId,
13425
13443
  labelId,
13426
- label: showInputOnly ? label : "",
13444
+ label,
13427
13445
  image: showInputOnly ? void 0 : field.image,
13428
13446
  flexProps: { direction: "column", justify: "start", align: "start", gap: "1" },
13429
13447
  children: [
@@ -17078,6 +17096,7 @@ var __publicField = (obj, key, value) => {
17078
17096
  exports2.selectFormSubmissions = selectFormSubmissions;
17079
17097
  exports2.selectFormSubmissionsByAssets = selectFormSubmissionsByAssets;
17080
17098
  exports2.selectFormSubmissionsByFormRevisions = selectFormSubmissionsByFormRevisions;
17099
+ exports2.selectFormSubmissionsByIssues = selectFormSubmissionsByIssues;
17081
17100
  exports2.selectFormSubmissionsMapping = selectFormSubmissionsMapping;
17082
17101
  exports2.selectFormSubmissionsOfAsset = selectFormSubmissionsOfAsset;
17083
17102
  exports2.selectFormSubmissionsOfForm = selectFormSubmissionsOfForm;