@overmap-ai/core 1.0.71-workspace-settings.9 → 1.0.71
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/constants/array.d.ts +1 -0
- package/dist/constants/defaults.d.ts +1 -1
- package/dist/constants/index.d.ts +3 -3
- package/dist/enums/index.d.ts +5 -5
- package/dist/index.d.ts +6 -6
- package/dist/overmap-core.js +6004 -7259
- package/dist/overmap-core.umd.cjs +12 -7951
- package/dist/sdk/base.d.ts +7 -6
- package/dist/sdk/classes/OutboxCoordinator.d.ts +3 -4
- package/dist/sdk/classes/index.d.ts +1 -1
- package/dist/sdk/errors.d.ts +2 -1
- package/dist/sdk/globals.d.ts +6 -5
- package/dist/sdk/index.d.ts +6 -6
- package/dist/sdk/sdk.d.ts +5 -5
- package/dist/sdk/services/AgentService.d.ts +5 -10
- package/dist/sdk/services/AssetAttachmentService.d.ts +38 -16
- package/dist/sdk/services/AssetService.d.ts +5 -5
- package/dist/sdk/services/AssetStageCompletionService.d.ts +4 -4
- package/dist/sdk/services/AssetStageService.d.ts +5 -7
- package/dist/sdk/services/AssetTypeAttachmentService.d.ts +37 -16
- package/dist/sdk/services/AssetTypeFieldValuesAttachmentService.d.ts +12 -0
- package/dist/sdk/services/AssetTypeFieldValuesService.d.ts +20 -0
- package/dist/sdk/services/AssetTypeFieldsAttachmentService.d.ts +12 -0
- package/dist/sdk/services/AssetTypeFieldsService.d.ts +8 -0
- package/dist/sdk/services/AssetTypeService.d.ts +5 -5
- package/dist/sdk/services/BaseApiService.d.ts +4 -4
- package/dist/sdk/services/BaseAttachmentService.d.ts +21 -23
- package/dist/sdk/services/BaseAuthService.d.ts +4 -4
- package/dist/sdk/services/BaseService.d.ts +6 -5
- package/dist/sdk/services/BaseUploadService.d.ts +5 -4
- package/dist/sdk/services/CategoryService.d.ts +4 -4
- package/dist/sdk/services/DocumentAttachmentService.d.ts +36 -16
- package/dist/sdk/services/DocumentService.d.ts +4 -4
- package/dist/sdk/services/EmailDomainsService.d.ts +3 -3
- package/dist/sdk/services/EmailVerificationService.d.ts +3 -3
- package/dist/sdk/services/FileService.d.ts +4 -4
- package/dist/sdk/services/FormRevisionAttachmentService.d.ts +12 -0
- package/dist/sdk/services/FormRevisionService.d.ts +8 -0
- package/dist/sdk/services/FormService.d.ts +14 -16
- package/dist/sdk/services/FormSubmissionAttachmentService.d.ts +13 -0
- package/dist/sdk/services/FormSubmissionService.d.ts +11 -30
- package/dist/sdk/services/GeoImageService.d.ts +4 -4
- package/dist/sdk/services/IssueAssociationService.d.ts +5 -5
- package/dist/sdk/services/IssueAttachmentService.d.ts +37 -16
- package/dist/sdk/services/IssueCommentService.d.ts +4 -4
- package/dist/sdk/services/IssueService.d.ts +4 -7
- package/dist/sdk/services/IssueTypeFieldValuesAttachmentService.d.ts +13 -0
- package/dist/sdk/services/IssueTypeFieldValuesService.d.ts +10 -0
- package/dist/sdk/services/IssueTypeFieldsAttachmentService.d.ts +12 -0
- package/dist/sdk/services/IssueTypeFieldsService.d.ts +8 -0
- package/dist/sdk/services/IssueTypeService.d.ts +4 -4
- package/dist/sdk/services/IssueUpdateService.d.ts +3 -3
- package/dist/sdk/services/JWTAuthService.d.ts +6 -6
- package/dist/sdk/services/LicenseService.d.ts +3 -3
- package/dist/sdk/services/OrganizationAccessService.d.ts +3 -3
- package/dist/sdk/services/OrganizationService.d.ts +3 -3
- package/dist/sdk/services/ProjectAccessService.d.ts +3 -3
- package/dist/sdk/services/ProjectAttachmentService.d.ts +37 -16
- package/dist/sdk/services/ProjectFileService.d.ts +4 -4
- package/dist/sdk/services/ProjectService.d.ts +3 -3
- package/dist/sdk/services/TeamService.d.ts +4 -4
- package/dist/sdk/services/UserService.d.ts +3 -3
- package/dist/sdk/services/WorkspaceService.d.ts +4 -4
- package/dist/sdk/services/index.d.ts +45 -34
- package/dist/sdk/typings.d.ts +8 -8
- package/dist/store/adapter.d.ts +11 -11
- package/dist/store/index.d.ts +2 -2
- package/dist/store/migrations.d.ts +1 -1
- package/dist/store/slices/agentsSlice.d.ts +10 -10
- package/dist/store/slices/assetAttachmentSlice.d.ts +15 -21
- package/dist/store/slices/assetSlice.d.ts +34 -24
- package/dist/store/slices/assetStageCompletionSlice.d.ts +32 -23
- package/dist/store/slices/assetStageSlice.d.ts +35 -26
- package/dist/store/slices/assetTypeAttachmentSlice.d.ts +15 -21
- package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +63 -0
- package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +63 -0
- package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +62 -0
- package/dist/store/slices/assetTypeFieldsSlice.d.ts +63 -0
- package/dist/store/slices/assetTypeSlice.d.ts +15 -21
- package/dist/store/slices/authSlice.d.ts +9 -9
- package/dist/store/slices/categorySlice.d.ts +29 -17
- package/dist/store/slices/documentAttachmentSlice.d.ts +15 -21
- package/dist/store/slices/documentSlice.d.ts +29 -13
- package/dist/store/slices/emailDomainsSlice.d.ts +28 -15
- package/dist/store/slices/fileSlice.d.ts +6 -6
- package/dist/store/slices/formRevisionAttachmentSlice.d.ts +15 -21
- package/dist/store/slices/formRevisionSlice.d.ts +36 -27
- package/dist/store/slices/formSlice.d.ts +32 -26
- package/dist/store/slices/formSubmissionAttachmentSlice.d.ts +15 -21
- package/dist/store/slices/formSubmissionSlice.d.ts +15 -27
- package/dist/store/slices/geoImageSlice.d.ts +36 -22
- package/dist/store/slices/index.d.ts +46 -38
- package/dist/store/slices/issueAssociationSlice.d.ts +34 -24
- package/dist/store/slices/issueAttachmentSlice.d.ts +15 -21
- package/dist/store/slices/issueCommentSlice.d.ts +12 -18
- package/dist/store/slices/issueSlice.d.ts +12 -24
- package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +63 -0
- package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +62 -0
- package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +62 -0
- package/dist/store/slices/issueTypeFieldsSlice.d.ts +64 -0
- package/dist/store/slices/issueTypeSlice.d.ts +11 -14
- package/dist/store/slices/issueUpdateSlice.d.ts +12 -18
- package/dist/store/slices/licenseSlice.d.ts +9 -9
- package/dist/store/slices/organizationAccessSlice.d.ts +10 -13
- package/dist/store/slices/organizationSlice.d.ts +25 -10
- package/dist/store/slices/outboxSlice.d.ts +14 -15
- package/dist/store/slices/projectAccessSlice.d.ts +10 -17
- package/dist/store/slices/projectAttachmentSlice.d.ts +15 -21
- package/dist/store/slices/projectFileSlice.d.ts +62 -31
- package/dist/store/slices/projectSlice.d.ts +9 -24
- package/dist/store/slices/rehydratedSlice.d.ts +6 -6
- package/dist/store/slices/teamSlice.d.ts +11 -14
- package/dist/store/slices/userSlice.d.ts +13 -13
- package/dist/store/slices/versioningSlice.d.ts +2 -2
- package/dist/store/slices/workspaceSlice.d.ts +30 -17
- package/dist/store/store.d.ts +14 -7
- package/dist/typings/files.d.ts +8 -4
- package/dist/typings/index.d.ts +6 -6
- package/dist/typings/models/access.d.ts +2 -2
- package/dist/typings/models/agents.d.ts +2 -12
- package/dist/typings/models/assets.d.ts +19 -4
- package/dist/typings/models/attachments.d.ts +2 -7
- package/dist/typings/models/base.d.ts +2 -5
- package/dist/typings/models/categories.d.ts +2 -2
- package/dist/typings/models/documents.d.ts +1 -1
- package/dist/typings/models/emailDomain.d.ts +1 -1
- package/dist/typings/models/emailVerification.d.ts +2 -2
- package/dist/typings/models/fields.d.ts +16 -0
- package/dist/typings/models/forms.d.ts +13 -116
- package/dist/typings/models/geo.d.ts +5 -14
- package/dist/typings/models/geoImages.d.ts +3 -3
- package/dist/typings/models/index.d.ts +22 -21
- package/dist/typings/models/issueTypes.d.ts +2 -2
- package/dist/typings/models/issues.d.ts +21 -6
- package/dist/typings/models/license.d.ts +2 -2
- package/dist/typings/models/organizations.d.ts +1 -1
- package/dist/typings/models/projects.d.ts +3 -3
- package/dist/typings/models/store.d.ts +10 -3
- package/dist/typings/models/teams.d.ts +3 -3
- package/dist/typings/models/users.d.ts +1 -1
- package/dist/typings/models/workspace.d.ts +1 -1
- package/dist/typings/search.d.ts +1 -1
- package/dist/typings/store.d.ts +1 -1
- package/dist/utils/async/DeferredPromise.d.ts +1 -1
- package/dist/utils/coordinates.d.ts +4 -18
- package/dist/utils/file.d.ts +2 -2
- package/dist/utils/forms.d.ts +1 -1
- package/dist/utils/index.d.ts +9 -10
- package/dist/utils/offline.d.ts +1 -1
- package/dist/utils/optimization.d.ts +1 -0
- package/dist/utils/utils.d.ts +1 -7
- package/package.json +46 -53
- package/dist/enums/ui.d.ts +0 -36
- package/dist/overmap-core.js.map +0 -1
- package/dist/overmap-core.umd.cjs.map +0 -1
- package/dist/utils/colors.d.ts +0 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { FileWithNameModel } from '../files';
|
|
2
|
+
import { Model, OfflineModel, OwnedByOrganization, SubmittedAtModel } from './base';
|
|
3
|
+
import { BoundableModel, CanvasBoundableModel } from './geo';
|
|
4
4
|
export interface Project extends Model, BoundableModel, CanvasBoundableModel, OwnedByOrganization {
|
|
5
5
|
id: number;
|
|
6
6
|
name: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import type { AgentsState, AssetAttachmentState, AssetStageCompletionState, AssetStageState, AssetState, AssetTypeAttachmentState, AssetTypeState, AuthState, CategoryState, DocumentAttachmentState, DocumentState, EmailDomainState, FileState, FormRevisionAttachmentState, FormRevisionState, FormState, FormSubmissionAttachmentState, FormSubmissionState, GeoImageSliceState, IssueAssociationSliceState, IssueAttachmentState, IssueCommentState, IssueState, IssueTypeState, IssueUpdateState, LicenseState, OrganizationAccessState, OrganizationState, OutboxState, ProjectAccessState, ProjectAttachmentState, ProjectFileState, ProjectState, RehydratedState, TeamState, UserState, VERSION_REDUCER_KEY, VersioningState, WorkspaceState } from "../../store";
|
|
1
|
+
import { OfflineState } from '@redux-offline/redux-offline/lib/types';
|
|
2
|
+
import { AgentsState, AssetAttachmentState, AssetStageCompletionState, AssetStageState, AssetState, AssetTypeAttachmentState, AssetTypeFieldsAttachmentState, AssetTypeFieldsState, AssetTypeFieldValuesAttachmentState, AssetTypeFieldValuesState, AssetTypeState, AuthState, CategoryState, DocumentAttachmentState, DocumentState, EmailDomainState, FileState, FormRevisionAttachmentState, FormRevisionState, FormState, FormSubmissionAttachmentState, FormSubmissionState, GeoImageSliceState, IssueAssociationSliceState, IssueAttachmentState, IssueCommentState, IssueState, IssueTypeFieldsAttachmentState, IssueTypeFieldsState, IssueTypeFieldValuesAttachmentState, IssueTypeFieldValuesState, IssueTypeState, IssueUpdateState, LicenseState, OrganizationAccessState, OrganizationState, OutboxState, ProjectAccessState, ProjectAttachmentState, ProjectFileState, ProjectState, RehydratedState, TeamState, UserState, VERSION_REDUCER_KEY, VersioningState, WorkspaceState } from '../../store';
|
|
4
3
|
export interface BaseState {
|
|
5
4
|
outboxReducer: OutboxState;
|
|
6
5
|
offline: OfflineState;
|
|
@@ -43,4 +42,12 @@ export interface OvermapRootState extends BaseState {
|
|
|
43
42
|
agentsReducer: AgentsState;
|
|
44
43
|
geoImageReducer: GeoImageSliceState;
|
|
45
44
|
issueAssociationReducer: IssueAssociationSliceState;
|
|
45
|
+
issueTypeFieldsReducer: IssueTypeFieldsState;
|
|
46
|
+
issueTypeFieldValuesReducer: IssueTypeFieldValuesState;
|
|
47
|
+
issueTypeFieldsAttachmentReducer: IssueTypeFieldsAttachmentState;
|
|
48
|
+
issueTypeFieldValuesAttachmentReducer: IssueTypeFieldValuesAttachmentState;
|
|
49
|
+
assetTypeFieldsReducer: AssetTypeFieldsState;
|
|
50
|
+
assetTypeFieldValuesReducer: AssetTypeFieldValuesState;
|
|
51
|
+
assetTypeFieldsAttachmentReducer: AssetTypeFieldsAttachmentState;
|
|
52
|
+
assetTypeFieldValuesAttachmentReducer: AssetTypeFieldValuesAttachmentState;
|
|
46
53
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { ColorModel, IconModel, OfflineModel, SubmittedAtModel } from './base';
|
|
2
|
+
import { Organization } from './organizations';
|
|
3
|
+
import { User } from './users';
|
|
4
4
|
export interface Team extends OfflineModel, SubmittedAtModel, IconModel, ColorModel {
|
|
5
5
|
name: string;
|
|
6
6
|
parent: OfflineModel["offline_id"] | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CreatedByModel, Model, OfflineModel, SubmittedAtModel, TimestampedModel } from './base';
|
|
2
2
|
export interface Workspace extends OfflineModel, TimestampedModel, SubmittedAtModel, CreatedByModel {
|
|
3
3
|
name: string;
|
|
4
4
|
project: number;
|
package/dist/typings/search.d.ts
CHANGED
package/dist/typings/store.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { OvermapRootState } from './models';
|
|
2
2
|
export type SelectorWithArgs<TState, TArgs, TRet> = (args: TArgs) => (state: TState) => TRet;
|
|
3
3
|
export type Selector<TState, TRet> = (state: TState) => TRet;
|
|
4
4
|
export type OvermapSelectorWithArgs<TArgs, TRet> = SelectorWithArgs<OvermapRootState, TArgs, TRet>;
|
|
@@ -31,5 +31,5 @@ export declare class DeferredPromise<T> implements Promise<T> {
|
|
|
31
31
|
catch<TResult>(onRejected?: (reason: unknown) => TResult | PromiseLike<TResult>): Promise<T | TResult>;
|
|
32
32
|
resolve(value?: T | PromiseLike<T>): void;
|
|
33
33
|
reject(reason?: unknown): void;
|
|
34
|
-
finally(_onFinally?: (() => void) |
|
|
34
|
+
finally(_onFinally?: (() => void) | null): Promise<T>;
|
|
35
35
|
}
|
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
/**
|
|
6
|
-
* Flip coordinates from [lng, lat] to [lat, lng]
|
|
7
|
-
*/
|
|
8
|
-
export declare const flipCoordinates: (coordinates: L.LatLngTuple) => Coordinates;
|
|
9
|
-
export declare const flipBounds: (bounds: Bounds) => Bounds;
|
|
10
|
-
export declare function offsetPositionByMeters(originalPosition: L.LatLng, latMeters: number, lngMeters: number): L.LatLngLiteral;
|
|
11
|
-
export declare const createPointGeometry: (coordinates: Coordinates) => PointGeometry;
|
|
12
|
-
export declare const coordinatesAreEqual: (a: Coordinates, b: Coordinates) => boolean;
|
|
13
|
-
export declare const coordinatesToText: (coordinates: Coordinates | null | undefined, decimalPlaces?: number) => string;
|
|
14
|
-
export declare const coordinatesToUrlText: (coordinates: Coordinates) => string;
|
|
15
|
-
export declare const openCoordsInGoogleMaps: (coordinates: Coordinates) => void;
|
|
16
|
-
export declare const openDirectionsInGoogleMaps: (startingPoint: Coordinates, destination: Coordinates) => void;
|
|
17
|
-
export declare const worldBounds: MultiPointGeometry;
|
|
18
|
-
export declare const createMultiPointGeometry: (coordinates: [Coordinates, Coordinates]) => MultiPointGeometry;
|
|
1
|
+
import { MultiPoint, Point, Position } from 'geojson';
|
|
2
|
+
export declare const createPointGeometry: (position: Position) => Point;
|
|
3
|
+
export declare const createMultiPointGeometry: (coordinates: Position[]) => MultiPoint;
|
|
4
|
+
export declare const coordinatesAreEqual: (a: Position, b: Position) => boolean;
|
package/dist/utils/file.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FilePayload } from '../typings';
|
|
2
2
|
export declare const getFileS3Key: (file: File, hash?: string) => Promise<string>;
|
|
3
3
|
export declare function hashFile(file: Blob): Promise<string>;
|
|
4
4
|
export declare function getFileIdentifier(file: File): string;
|
|
@@ -6,7 +6,7 @@ export declare function getRenamedFile(file: File, newName: string): File & {
|
|
|
6
6
|
name: string;
|
|
7
7
|
};
|
|
8
8
|
export declare function downloadInMemoryFile(filename: string, text: string): void;
|
|
9
|
-
export declare const constructUploadedFilePayloads: (files: File[]) => Promise<
|
|
9
|
+
export declare const constructUploadedFilePayloads: (files: File[]) => Promise<FilePayload[]>;
|
|
10
10
|
export declare const fileToBlob: (dataUrl: string) => Promise<Blob>;
|
|
11
11
|
export declare const blobToBase64: (blob: Blob) => Promise<string>;
|
|
12
12
|
/** Converts a profile `file` and `fileSha1` into an img src that can be rendered. This relies on an API request. */
|
package/dist/utils/forms.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FormRevision, Stored } from '../typings';
|
|
2
2
|
export declare const formRevisionSortFn: (formRevisionA: Stored<FormRevision>, formRevisionB: Stored<FormRevision>) => 1 | -1;
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from "./async/DeferredPromise";
|
|
1
|
+
export * from './async/DeferredPromise';
|
|
2
|
+
export * from './coordinates';
|
|
3
|
+
export * from './date';
|
|
4
|
+
export * from './file';
|
|
5
|
+
export * from './logging';
|
|
6
|
+
export * from './offline';
|
|
7
|
+
export * from './optimization';
|
|
8
|
+
export * from './string';
|
|
9
|
+
export * from './utils';
|
package/dist/utils/offline.d.ts
CHANGED
|
@@ -6,3 +6,4 @@ export declare function memoize<T extends (...args: never[]) => unknown>(func: T
|
|
|
6
6
|
*/
|
|
7
7
|
export declare function areArraysEqual(first: unknown[], second: unknown[]): boolean;
|
|
8
8
|
export declare const fallbackToEmptyArray: <T>(array: T[]) => T[];
|
|
9
|
+
export declare const fallbackToEmptyObject: <T extends object>(object: T) => T;
|
package/dist/utils/utils.d.ts
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IssueAttachment, OfflineModel, OvermapRootState } from '../typings';
|
|
2
2
|
type MemoizedSelectorWithArgs<TArgs, TRet> = (state: OvermapRootState, args: TArgs) => TRet;
|
|
3
3
|
export declare const restructureCreateSelectorWithArgs: <TArgs, TRet>(selector: MemoizedSelectorWithArgs<TArgs, TRet>) => (args: TArgs) => (state: OvermapRootState) => TRet;
|
|
4
4
|
export declare function onlyUniqueOfflineIds(value: OfflineModel, index: number, self: OfflineModel[]): boolean;
|
|
5
5
|
export declare function onlyUniqueHashes(value: IssueAttachment, index: number, self: IssueAttachment[]): boolean;
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* @param bounds order: [northEast, southWest]
|
|
9
|
-
* @param coordinates
|
|
10
|
-
*/
|
|
11
|
-
export declare function boundsContainPoint(bounds: [Coordinates, Coordinates], coordinates: Coordinates): boolean;
|
|
12
6
|
export declare const emailRegex: RegExp;
|
|
13
7
|
export {};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Core functionality for Overmap",
|
|
4
4
|
"author": "Wôrdn Inc.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
|
-
"version": "1.0.71
|
|
6
|
+
"version": "1.0.71",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/overmap-core.umd.cjs",
|
|
9
9
|
"module": "dist/overmap-core.js",
|
|
@@ -11,90 +11,79 @@
|
|
|
11
11
|
"scripts": {
|
|
12
12
|
"dev": "vite",
|
|
13
13
|
"build": "tsc --noEmit && vite build",
|
|
14
|
-
"lint": "tsc --noEmit && eslint
|
|
15
|
-
"lint:fix": "eslint
|
|
14
|
+
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --max-warnings 0",
|
|
15
|
+
"lint:fix": "eslint --report-unused-disable-directives --max-warnings 0 --fix",
|
|
16
16
|
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,html,sass,yaml}\"",
|
|
17
17
|
"preview": "vite preview",
|
|
18
|
-
"prepare": "husky
|
|
18
|
+
"prepare": "husky",
|
|
19
19
|
"test": "npx vitest"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@radix-ui/colors": "^3.0.0",
|
|
23
22
|
"@redux-offline/redux-offline": "^2.6.0",
|
|
24
|
-
"@reduxjs/toolkit": "^
|
|
25
|
-
"@types/file-saver": "^2.0.7",
|
|
23
|
+
"@reduxjs/toolkit": "^2.8.2",
|
|
26
24
|
"color": "^4.2.3",
|
|
27
25
|
"dependency-graph": "^1.0.0",
|
|
28
26
|
"file-saver": "^2.0.5",
|
|
29
27
|
"idb": "^7.1.1",
|
|
30
28
|
"jwt-decode": "^3.1.2",
|
|
31
|
-
"leaflet-draw": "^1.0.4",
|
|
32
|
-
"leaflet.markercluster": "^1.5.3",
|
|
33
29
|
"localforage": "^1.10.0",
|
|
34
|
-
"
|
|
30
|
+
"redux": "^5.0.1",
|
|
31
|
+
"redux-persist": "^4.0.0",
|
|
35
32
|
"redux-persist-migrate": "^5.0.0",
|
|
36
33
|
"superagent": "^8.1.2",
|
|
37
|
-
"uuid": "^
|
|
34
|
+
"uuid": "^11.1.0",
|
|
35
|
+
"yarn": "^1.22.22"
|
|
38
36
|
},
|
|
39
37
|
"devDependencies": {
|
|
40
|
-
"@
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
45
|
-
"@testing-library/react": "^14.1.2",
|
|
46
|
-
"@testing-library/user-event": "^14.5.2",
|
|
47
|
-
"@tiptap/core": "^2.4.0",
|
|
38
|
+
"@overmap-ai/blocks": "^1.0.35-radio-card.2",
|
|
39
|
+
"@overmap-ai/forms": "^1.0.17-radio-field.16",
|
|
40
|
+
"@rollup/plugin-commonjs": "^28.0.6",
|
|
41
|
+
"@tiptap/core": "^3.0.7",
|
|
42
|
+
"@types/add": "^2",
|
|
48
43
|
"@types/color": "^3.0.4",
|
|
44
|
+
"@types/file-saver": "^2.0.7",
|
|
45
|
+
"@types/geojson": "^7946.0.16",
|
|
49
46
|
"@types/jwt-decode": "^3.1.0",
|
|
50
|
-
"@types/leaflet": "^1.9.3",
|
|
51
47
|
"@types/node": "^20.12.11",
|
|
52
|
-
"@types/react": "^19.
|
|
48
|
+
"@types/react": "^19.1.8",
|
|
53
49
|
"@types/react-dom": "^19.0.3",
|
|
54
|
-
"@types/react-redux": "^7.1.26",
|
|
55
50
|
"@types/superagent": "^4.1.18",
|
|
56
51
|
"@types/uuid": "^9.0.3",
|
|
57
|
-
"@
|
|
58
|
-
"@
|
|
59
|
-
"@
|
|
60
|
-
"
|
|
61
|
-
"eslint": "^
|
|
62
|
-
"eslint-
|
|
63
|
-
"eslint-plugin-import": "^
|
|
64
|
-
"eslint-plugin-prettier": "^5.
|
|
65
|
-
"eslint-plugin-
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"happy-dom": "^13.3.1",
|
|
71
|
-
"husky": "^8.0.3",
|
|
52
|
+
"@vitejs/plugin-react-swc": "^3.11.0",
|
|
53
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
54
|
+
"@vitest/eslint-plugin": "^1.3.4",
|
|
55
|
+
"eslint": "^9.32.0",
|
|
56
|
+
"eslint-config-prettier": "^10.1.8",
|
|
57
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
58
|
+
"eslint-plugin-import-x": "^4.16.1",
|
|
59
|
+
"eslint-plugin-prettier": "^5.5.3",
|
|
60
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
61
|
+
"globals": "^16.3.0",
|
|
62
|
+
"happy-dom": "^15.10.2",
|
|
63
|
+
"husky": "^9.1.7",
|
|
64
|
+
"jiti": "^2.5.1",
|
|
72
65
|
"jsdom": "^23.2.0",
|
|
73
|
-
"leaflet": "^1.9.0",
|
|
74
66
|
"lint-staged": "^15.1.0",
|
|
75
|
-
"prettier": "^3.
|
|
76
|
-
"react": "^19.
|
|
67
|
+
"prettier": "^3.6.2",
|
|
68
|
+
"react": "^19.1.0",
|
|
77
69
|
"react-dom": "^19.0.0",
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"redux": "^4.2.1",
|
|
81
|
-
"rollup-plugin-polyfill-node": "^0.12.0",
|
|
70
|
+
"rollup": "^4.45.3",
|
|
71
|
+
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
82
72
|
"typescript": "^5.2.2",
|
|
83
|
-
"
|
|
84
|
-
"vite
|
|
85
|
-
"vite-plugin-
|
|
86
|
-
"
|
|
73
|
+
"typescript-eslint": "^8.38.0",
|
|
74
|
+
"vite": "^6.3.4",
|
|
75
|
+
"vite-plugin-dts": "^4.5.4",
|
|
76
|
+
"vite-plugin-externalize-deps": "^0.9.0",
|
|
77
|
+
"vitest": "3.2.4"
|
|
87
78
|
},
|
|
88
79
|
"peerDependencies": {
|
|
89
|
-
"@overmap-ai/blocks": "1.0.
|
|
80
|
+
"@overmap-ai/blocks": "^1.0.35-radio-card.2",
|
|
81
|
+
"@overmap-ai/forms": "^1.0.17-radio-field.16",
|
|
90
82
|
"@tiptap/core": "^2.4.0",
|
|
91
|
-
"leaflet": "^1.9.0",
|
|
92
83
|
"react": ">=18.2.0 <20.0.0",
|
|
93
|
-
"react-dom": ">=18.2.0 <20.0.0"
|
|
94
|
-
"react-redux": "^8.1.2"
|
|
84
|
+
"react-dom": ">=18.2.0 <20.0.0"
|
|
95
85
|
},
|
|
96
86
|
"resolutions": {
|
|
97
|
-
"//": "Workaround for eslint issue: https://github.com/eslint/eslint/discussions/17215",
|
|
98
87
|
"strip-ansi": "6.0.1",
|
|
99
88
|
"string-width": "4.2.2",
|
|
100
89
|
"wrap-ansi": "7.0.0"
|
|
@@ -121,5 +110,9 @@
|
|
|
121
110
|
},
|
|
122
111
|
"bugs": {
|
|
123
112
|
"url": "https://github.com/hemora-app/overmap-core/issues"
|
|
113
|
+
},
|
|
114
|
+
"volta": {
|
|
115
|
+
"node": "22.17.0",
|
|
116
|
+
"yarn": "4.9.2"
|
|
124
117
|
}
|
|
125
118
|
}
|
package/dist/enums/ui.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export declare const AssetStageColors: {
|
|
2
|
-
indigo: string;
|
|
3
|
-
red: string;
|
|
4
|
-
violet: string;
|
|
5
|
-
yellow: string;
|
|
6
|
-
jade: string;
|
|
7
|
-
cyan: string;
|
|
8
|
-
gold: string;
|
|
9
|
-
orange: string;
|
|
10
|
-
lime: string;
|
|
11
|
-
sky: string;
|
|
12
|
-
pink: string;
|
|
13
|
-
};
|
|
14
|
-
export declare const Colors: {
|
|
15
|
-
gray: string;
|
|
16
|
-
gold: string;
|
|
17
|
-
brown: string;
|
|
18
|
-
yellow: string;
|
|
19
|
-
amber: string;
|
|
20
|
-
orange: string;
|
|
21
|
-
red: string;
|
|
22
|
-
crimson: string;
|
|
23
|
-
pink: string;
|
|
24
|
-
plum: string;
|
|
25
|
-
purple: string;
|
|
26
|
-
violet: string;
|
|
27
|
-
iris: string;
|
|
28
|
-
indigo: string;
|
|
29
|
-
blue: string;
|
|
30
|
-
cyan: string;
|
|
31
|
-
jade: string;
|
|
32
|
-
grass: string;
|
|
33
|
-
lime: string;
|
|
34
|
-
mint: string;
|
|
35
|
-
sky: string;
|
|
36
|
-
};
|