@overmap-ai/core 1.0.38-component-fields.5 → 1.0.38-component-fields.7
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/overmap-core.js +55 -36
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +55 -36
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/sdk/services/UserFormService.d.ts +2 -2
- package/dist/store/slices/userFormSlice.d.ts +1 -0
- package/dist/style.css +47 -44
- package/package.json +1 -1
package/dist/overmap-core.js
CHANGED
|
@@ -3251,6 +3251,24 @@ const selectFormsForComponentType = restructureCreateSelectorWithArgs(
|
|
|
3251
3251
|
}
|
|
3252
3252
|
)
|
|
3253
3253
|
);
|
|
3254
|
+
const selectLatestRevisionsForComponentTypeForms = restructureCreateSelectorWithArgs(
|
|
3255
|
+
createSelector(
|
|
3256
|
+
[
|
|
3257
|
+
selectUserFormMapping,
|
|
3258
|
+
selectRevisionMapping,
|
|
3259
|
+
(_state, componentTypeId) => componentTypeId
|
|
3260
|
+
],
|
|
3261
|
+
(userForms, revisions, componentTypeId) => {
|
|
3262
|
+
const latestRevisions = [];
|
|
3263
|
+
for (const form of Object.values(userForms)) {
|
|
3264
|
+
if (form.component_type === componentTypeId) {
|
|
3265
|
+
latestRevisions.push(_selectLatestFormRevision(revisions, form.offline_id));
|
|
3266
|
+
}
|
|
3267
|
+
}
|
|
3268
|
+
return latestRevisions;
|
|
3269
|
+
}
|
|
3270
|
+
)
|
|
3271
|
+
);
|
|
3254
3272
|
const selectLatestRevisionByFormId = createSelector([selectRevisionMapping], (revisions) => {
|
|
3255
3273
|
const latestRevisions = {};
|
|
3256
3274
|
for (const revision of Object.values(revisions)) {
|
|
@@ -6239,19 +6257,19 @@ const OvermapProvider = (props) => {
|
|
|
6239
6257
|
}
|
|
6240
6258
|
return /* @__PURE__ */ jsx(OvermapContext.Provider, { value: null, children: ret });
|
|
6241
6259
|
};
|
|
6242
|
-
const description$2 = "
|
|
6243
|
-
const floatingButtonContainer$2 = "
|
|
6244
|
-
const FullScreenImageContainer$2 = "
|
|
6245
|
-
const TopBarContainer$2 = "
|
|
6246
|
-
const fileName$2 = "
|
|
6247
|
-
const longIconButton$2 = "
|
|
6248
|
-
const previewImage$3 = "
|
|
6249
|
-
const FullScreenImage$2 = "
|
|
6250
|
-
const tabsList = "
|
|
6251
|
-
const tabTrigger = "
|
|
6252
|
-
const patchfieldBorder = "
|
|
6253
|
-
const title = "
|
|
6254
|
-
const error = "
|
|
6260
|
+
const description$2 = "_description_1w0fq_1";
|
|
6261
|
+
const floatingButtonContainer$2 = "_floatingButtonContainer_1w0fq_5";
|
|
6262
|
+
const FullScreenImageContainer$2 = "_FullScreenImageContainer_1w0fq_12";
|
|
6263
|
+
const TopBarContainer$2 = "_TopBarContainer_1w0fq_22";
|
|
6264
|
+
const fileName$2 = "_fileName_1w0fq_31";
|
|
6265
|
+
const longIconButton$2 = "_longIconButton_1w0fq_36";
|
|
6266
|
+
const previewImage$3 = "_previewImage_1w0fq_42";
|
|
6267
|
+
const FullScreenImage$2 = "_FullScreenImage_1w0fq_12";
|
|
6268
|
+
const tabsList = "_tabsList_1w0fq_61";
|
|
6269
|
+
const tabTrigger = "_tabTrigger_1w0fq_69";
|
|
6270
|
+
const patchfieldBorder = "_patchfieldBorder_1w0fq_73";
|
|
6271
|
+
const title = "_title_1w0fq_73";
|
|
6272
|
+
const error = "_error_1w0fq_89";
|
|
6255
6273
|
const styles$7 = {
|
|
6256
6274
|
description: description$2,
|
|
6257
6275
|
floatingButtonContainer: floatingButtonContainer$2,
|
|
@@ -6365,14 +6383,14 @@ class BaseField extends BaseFormElement {
|
|
|
6365
6383
|
}
|
|
6366
6384
|
__publicField(BaseField, "fieldTypeName");
|
|
6367
6385
|
__publicField(BaseField, "fieldTypeDescription");
|
|
6368
|
-
const description$1 = "
|
|
6369
|
-
const floatingButtonContainer$1 = "
|
|
6370
|
-
const FullScreenImageContainer$1 = "
|
|
6371
|
-
const TopBarContainer$1 = "
|
|
6372
|
-
const fileName$1 = "
|
|
6373
|
-
const longIconButton$1 = "
|
|
6374
|
-
const previewImage$2 = "
|
|
6375
|
-
const FullScreenImage$1 = "
|
|
6386
|
+
const description$1 = "_description_10o76_1";
|
|
6387
|
+
const floatingButtonContainer$1 = "_floatingButtonContainer_10o76_5";
|
|
6388
|
+
const FullScreenImageContainer$1 = "_FullScreenImageContainer_10o76_12";
|
|
6389
|
+
const TopBarContainer$1 = "_TopBarContainer_10o76_22";
|
|
6390
|
+
const fileName$1 = "_fileName_10o76_31";
|
|
6391
|
+
const longIconButton$1 = "_longIconButton_10o76_36";
|
|
6392
|
+
const previewImage$2 = "_previewImage_10o76_42";
|
|
6393
|
+
const FullScreenImage$1 = "_FullScreenImage_10o76_12";
|
|
6376
6394
|
const styles$6 = {
|
|
6377
6395
|
description: description$1,
|
|
6378
6396
|
floatingButtonContainer: floatingButtonContainer$1,
|
|
@@ -10749,21 +10767,21 @@ const FieldActions = memo((props) => {
|
|
|
10749
10767
|
] });
|
|
10750
10768
|
});
|
|
10751
10769
|
FieldActions.displayName = "FieldActions";
|
|
10752
|
-
const description = "
|
|
10753
|
-
const floatingButtonContainer = "
|
|
10754
|
-
const FullScreenImageContainer = "
|
|
10755
|
-
const TopBarContainer = "
|
|
10756
|
-
const fileName = "
|
|
10757
|
-
const longIconButton = "
|
|
10758
|
-
const previewImage = "
|
|
10759
|
-
const FullScreenImage = "
|
|
10760
|
-
const popoverInputsContainer = "
|
|
10761
|
-
const imageContainer = "
|
|
10762
|
-
const deleteImageButton = "
|
|
10763
|
-
const typeBadge = "
|
|
10764
|
-
const previewInput = "
|
|
10765
|
-
const directInput = "
|
|
10766
|
-
const grow = "
|
|
10770
|
+
const description = "_description_6795p_1";
|
|
10771
|
+
const floatingButtonContainer = "_floatingButtonContainer_6795p_5";
|
|
10772
|
+
const FullScreenImageContainer = "_FullScreenImageContainer_6795p_12";
|
|
10773
|
+
const TopBarContainer = "_TopBarContainer_6795p_22";
|
|
10774
|
+
const fileName = "_fileName_6795p_31";
|
|
10775
|
+
const longIconButton = "_longIconButton_6795p_36";
|
|
10776
|
+
const previewImage = "_previewImage_6795p_42";
|
|
10777
|
+
const FullScreenImage = "_FullScreenImage_6795p_12";
|
|
10778
|
+
const popoverInputsContainer = "_popoverInputsContainer_6795p_61";
|
|
10779
|
+
const imageContainer = "_imageContainer_6795p_65";
|
|
10780
|
+
const deleteImageButton = "_deleteImageButton_6795p_70";
|
|
10781
|
+
const typeBadge = "_typeBadge_6795p_81";
|
|
10782
|
+
const previewInput = "_previewInput_6795p_86";
|
|
10783
|
+
const directInput = "_directInput_6795p_90";
|
|
10784
|
+
const grow = "_grow_6795p_95";
|
|
10767
10785
|
const styles = {
|
|
10768
10786
|
description,
|
|
10769
10787
|
floatingButtonContainer,
|
|
@@ -12044,6 +12062,7 @@ export {
|
|
|
12044
12062
|
selectLatestFormRevision,
|
|
12045
12063
|
selectLatestRetryTime,
|
|
12046
12064
|
selectLatestRevisionByFormId,
|
|
12065
|
+
selectLatestRevisionsForComponentTypeForms,
|
|
12047
12066
|
selectMainWorkspace,
|
|
12048
12067
|
selectMapStyle,
|
|
12049
12068
|
selectNumberOfComponentTypesMatchingCaseInsensitiveName,
|