@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
|
@@ -3247,6 +3247,24 @@ var __publicField = (obj, key, value) => {
|
|
|
3247
3247
|
}
|
|
3248
3248
|
)
|
|
3249
3249
|
);
|
|
3250
|
+
const selectLatestRevisionsForComponentTypeForms = restructureCreateSelectorWithArgs(
|
|
3251
|
+
toolkit.createSelector(
|
|
3252
|
+
[
|
|
3253
|
+
selectUserFormMapping,
|
|
3254
|
+
selectRevisionMapping,
|
|
3255
|
+
(_state, componentTypeId) => componentTypeId
|
|
3256
|
+
],
|
|
3257
|
+
(userForms, revisions, componentTypeId) => {
|
|
3258
|
+
const latestRevisions = [];
|
|
3259
|
+
for (const form of Object.values(userForms)) {
|
|
3260
|
+
if (form.component_type === componentTypeId) {
|
|
3261
|
+
latestRevisions.push(_selectLatestFormRevision(revisions, form.offline_id));
|
|
3262
|
+
}
|
|
3263
|
+
}
|
|
3264
|
+
return latestRevisions;
|
|
3265
|
+
}
|
|
3266
|
+
)
|
|
3267
|
+
);
|
|
3250
3268
|
const selectLatestRevisionByFormId = toolkit.createSelector([selectRevisionMapping], (revisions) => {
|
|
3251
3269
|
const latestRevisions = {};
|
|
3252
3270
|
for (const revision of Object.values(revisions)) {
|
|
@@ -6235,19 +6253,19 @@ var __publicField = (obj, key, value) => {
|
|
|
6235
6253
|
}
|
|
6236
6254
|
return /* @__PURE__ */ jsxRuntime.jsx(OvermapContext.Provider, { value: null, children: ret });
|
|
6237
6255
|
};
|
|
6238
|
-
const description$2 = "
|
|
6239
|
-
const floatingButtonContainer$2 = "
|
|
6240
|
-
const FullScreenImageContainer$2 = "
|
|
6241
|
-
const TopBarContainer$2 = "
|
|
6242
|
-
const fileName$2 = "
|
|
6243
|
-
const longIconButton$2 = "
|
|
6244
|
-
const previewImage$3 = "
|
|
6245
|
-
const FullScreenImage$2 = "
|
|
6246
|
-
const tabsList = "
|
|
6247
|
-
const tabTrigger = "
|
|
6248
|
-
const patchfieldBorder = "
|
|
6249
|
-
const title = "
|
|
6250
|
-
const error = "
|
|
6256
|
+
const description$2 = "_description_1w0fq_1";
|
|
6257
|
+
const floatingButtonContainer$2 = "_floatingButtonContainer_1w0fq_5";
|
|
6258
|
+
const FullScreenImageContainer$2 = "_FullScreenImageContainer_1w0fq_12";
|
|
6259
|
+
const TopBarContainer$2 = "_TopBarContainer_1w0fq_22";
|
|
6260
|
+
const fileName$2 = "_fileName_1w0fq_31";
|
|
6261
|
+
const longIconButton$2 = "_longIconButton_1w0fq_36";
|
|
6262
|
+
const previewImage$3 = "_previewImage_1w0fq_42";
|
|
6263
|
+
const FullScreenImage$2 = "_FullScreenImage_1w0fq_12";
|
|
6264
|
+
const tabsList = "_tabsList_1w0fq_61";
|
|
6265
|
+
const tabTrigger = "_tabTrigger_1w0fq_69";
|
|
6266
|
+
const patchfieldBorder = "_patchfieldBorder_1w0fq_73";
|
|
6267
|
+
const title = "_title_1w0fq_73";
|
|
6268
|
+
const error = "_error_1w0fq_89";
|
|
6251
6269
|
const styles$7 = {
|
|
6252
6270
|
description: description$2,
|
|
6253
6271
|
floatingButtonContainer: floatingButtonContainer$2,
|
|
@@ -6361,14 +6379,14 @@ var __publicField = (obj, key, value) => {
|
|
|
6361
6379
|
}
|
|
6362
6380
|
__publicField(BaseField, "fieldTypeName");
|
|
6363
6381
|
__publicField(BaseField, "fieldTypeDescription");
|
|
6364
|
-
const description$1 = "
|
|
6365
|
-
const floatingButtonContainer$1 = "
|
|
6366
|
-
const FullScreenImageContainer$1 = "
|
|
6367
|
-
const TopBarContainer$1 = "
|
|
6368
|
-
const fileName$1 = "
|
|
6369
|
-
const longIconButton$1 = "
|
|
6370
|
-
const previewImage$2 = "
|
|
6371
|
-
const FullScreenImage$1 = "
|
|
6382
|
+
const description$1 = "_description_10o76_1";
|
|
6383
|
+
const floatingButtonContainer$1 = "_floatingButtonContainer_10o76_5";
|
|
6384
|
+
const FullScreenImageContainer$1 = "_FullScreenImageContainer_10o76_12";
|
|
6385
|
+
const TopBarContainer$1 = "_TopBarContainer_10o76_22";
|
|
6386
|
+
const fileName$1 = "_fileName_10o76_31";
|
|
6387
|
+
const longIconButton$1 = "_longIconButton_10o76_36";
|
|
6388
|
+
const previewImage$2 = "_previewImage_10o76_42";
|
|
6389
|
+
const FullScreenImage$1 = "_FullScreenImage_10o76_12";
|
|
6372
6390
|
const styles$6 = {
|
|
6373
6391
|
description: description$1,
|
|
6374
6392
|
floatingButtonContainer: floatingButtonContainer$1,
|
|
@@ -10745,21 +10763,21 @@ var __publicField = (obj, key, value) => {
|
|
|
10745
10763
|
] });
|
|
10746
10764
|
});
|
|
10747
10765
|
FieldActions.displayName = "FieldActions";
|
|
10748
|
-
const description = "
|
|
10749
|
-
const floatingButtonContainer = "
|
|
10750
|
-
const FullScreenImageContainer = "
|
|
10751
|
-
const TopBarContainer = "
|
|
10752
|
-
const fileName = "
|
|
10753
|
-
const longIconButton = "
|
|
10754
|
-
const previewImage = "
|
|
10755
|
-
const FullScreenImage = "
|
|
10756
|
-
const popoverInputsContainer = "
|
|
10757
|
-
const imageContainer = "
|
|
10758
|
-
const deleteImageButton = "
|
|
10759
|
-
const typeBadge = "
|
|
10760
|
-
const previewInput = "
|
|
10761
|
-
const directInput = "
|
|
10762
|
-
const grow = "
|
|
10766
|
+
const description = "_description_6795p_1";
|
|
10767
|
+
const floatingButtonContainer = "_floatingButtonContainer_6795p_5";
|
|
10768
|
+
const FullScreenImageContainer = "_FullScreenImageContainer_6795p_12";
|
|
10769
|
+
const TopBarContainer = "_TopBarContainer_6795p_22";
|
|
10770
|
+
const fileName = "_fileName_6795p_31";
|
|
10771
|
+
const longIconButton = "_longIconButton_6795p_36";
|
|
10772
|
+
const previewImage = "_previewImage_6795p_42";
|
|
10773
|
+
const FullScreenImage = "_FullScreenImage_6795p_12";
|
|
10774
|
+
const popoverInputsContainer = "_popoverInputsContainer_6795p_61";
|
|
10775
|
+
const imageContainer = "_imageContainer_6795p_65";
|
|
10776
|
+
const deleteImageButton = "_deleteImageButton_6795p_70";
|
|
10777
|
+
const typeBadge = "_typeBadge_6795p_81";
|
|
10778
|
+
const previewInput = "_previewInput_6795p_86";
|
|
10779
|
+
const directInput = "_directInput_6795p_90";
|
|
10780
|
+
const grow = "_grow_6795p_95";
|
|
10763
10781
|
const styles = {
|
|
10764
10782
|
description,
|
|
10765
10783
|
floatingButtonContainer,
|
|
@@ -12039,6 +12057,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12039
12057
|
exports2.selectLatestFormRevision = selectLatestFormRevision;
|
|
12040
12058
|
exports2.selectLatestRetryTime = selectLatestRetryTime;
|
|
12041
12059
|
exports2.selectLatestRevisionByFormId = selectLatestRevisionByFormId;
|
|
12060
|
+
exports2.selectLatestRevisionsForComponentTypeForms = selectLatestRevisionsForComponentTypeForms;
|
|
12042
12061
|
exports2.selectMainWorkspace = selectMainWorkspace;
|
|
12043
12062
|
exports2.selectMapStyle = selectMapStyle;
|
|
12044
12063
|
exports2.selectNumberOfComponentTypesMatchingCaseInsensitiveName = selectNumberOfComponentTypesMatchingCaseInsensitiveName;
|