@overmap-ai/core 1.0.56 → 1.0.57-export-overmap-reducer.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/LICENSE +1 -0
- package/README.md +4 -4
- package/dist/constants/ui.d.ts +1 -1
- package/dist/contexts/overmap.d.ts +2 -2
- package/dist/contexts/sdk/globals.d.ts +3 -3
- package/dist/contexts/sdk/sdk.d.ts +2 -2
- package/dist/enums/ui.d.ts +1 -1
- package/dist/forms/builder/constants.d.ts +1 -1
- package/dist/forms/builder/hooks.d.ts +1 -1
- package/dist/overmap-core.js +610 -942
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +611 -943
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/sdk/sdk.d.ts +11 -11
- package/dist/sdk/services/AgentService.d.ts +2 -21
- package/dist/sdk/services/AssetAttachmentService.d.ts +10 -0
- package/dist/sdk/services/AssetService.d.ts +11 -0
- package/dist/sdk/services/AssetStageCompletionService.d.ts +16 -0
- package/dist/sdk/services/AssetStageService.d.ts +11 -0
- package/dist/sdk/services/AssetTypeAttachmentService.d.ts +10 -0
- package/dist/sdk/services/AssetTypeService.d.ts +9 -0
- package/dist/sdk/services/UserFormService.d.ts +2 -2
- package/dist/sdk/services/UserFormSubmissionService.d.ts +1 -1
- package/dist/sdk/services/index.d.ts +6 -6
- package/dist/store/index.d.ts +0 -1
- package/dist/store/slices/agentsSlice.d.ts +3 -3
- package/dist/store/slices/assetSlice.d.ts +63 -0
- package/dist/store/slices/assetStageCompletionSlice.d.ts +15 -0
- package/dist/store/slices/assetStageSlice.d.ts +32 -0
- package/dist/store/slices/assetTypeSlice.d.ts +74 -0
- package/dist/store/slices/authSlice.d.ts +3 -3
- package/dist/store/slices/categorySlice.d.ts +9 -9
- package/dist/store/slices/documentSlice.d.ts +12 -13
- package/dist/store/slices/formRevisionSlice.d.ts +7 -7
- package/dist/store/slices/formSlice.d.ts +7 -7
- package/dist/store/slices/formSubmissionSlice.d.ts +2 -2
- package/dist/store/slices/index.d.ts +4 -4
- package/dist/store/slices/issueSlice.d.ts +18 -18
- package/dist/store/slices/mapSlice.d.ts +4 -4
- package/dist/store/slices/organizationAccessSlice.d.ts +3 -3
- package/dist/store/slices/outboxSlice.d.ts +3 -3
- package/dist/store/slices/projectAccessSlice.d.ts +2 -2
- package/dist/store/slices/projectFileSlice.d.ts +7 -7
- package/dist/store/slices/projectSlice.d.ts +8 -8
- package/dist/store/slices/rehydratedSlice.d.ts +2 -2
- package/dist/store/slices/settingsSlice.d.ts +9 -9
- package/dist/store/slices/userSlice.d.ts +4 -4
- package/dist/store/slices/workspaceSlice.d.ts +6 -6
- package/dist/store/store.d.ts +12 -45
- package/dist/typings/models/access.d.ts +1 -0
- package/dist/typings/models/attachments.d.ts +6 -6
- package/dist/typings/models/components.d.ts +11 -7
- package/dist/typings/models/forms.d.ts +3 -3
- package/dist/typings/models/store.d.ts +2 -3
- package/dist/typings/store.d.ts +4 -4
- package/dist/utils/colors.d.ts +1 -1
- package/dist/utils/utils.d.ts +3 -3
- package/package.json +153 -153
- package/dist/sdk/services/ComponentAttachmentService.d.ts +0 -10
- package/dist/sdk/services/ComponentService.d.ts +0 -11
- package/dist/sdk/services/ComponentStageCompletionService.d.ts +0 -17
- package/dist/sdk/services/ComponentStageService.d.ts +0 -11
- package/dist/sdk/services/ComponentTypeAttachmentService.d.ts +0 -10
- package/dist/sdk/services/ComponentTypeService.d.ts +0 -9
- package/dist/store/hooks.d.ts +0 -4
- package/dist/store/slices/ComponentStageCompletionSlice.d.ts +0 -27
- package/dist/store/slices/componentSlice.d.ts +0 -73
- package/dist/store/slices/componentStageSlice.d.ts +0 -42
- package/dist/store/slices/componentTypeSlice.d.ts +0 -75
package/LICENSE
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
UNLICENSED (ALL RIGHTS RESERVED)
|
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/constants/ui.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const fullAssetMarkerSize = 45;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore";
|
|
3
|
-
import {
|
|
3
|
+
import { OvermapRootState } from "../typings";
|
|
4
4
|
interface OvermapProviderProps {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
production?: boolean;
|
|
7
7
|
disableDefaultTheme?: boolean;
|
|
8
|
-
store: ToolkitStore<
|
|
8
|
+
store: ToolkitStore<OvermapRootState>;
|
|
9
9
|
}
|
|
10
10
|
declare const OvermapContext: React.Context<null>;
|
|
11
11
|
declare const OvermapProvider: (props: OvermapProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore";
|
|
2
|
-
import {
|
|
3
|
-
export declare function setClientStore(store: ToolkitStore<
|
|
4
|
-
export declare function getClientStore(): ToolkitStore<
|
|
2
|
+
import { OvermapRootState } from "../../typings";
|
|
3
|
+
export declare function setClientStore(store: ToolkitStore<OvermapRootState>): void;
|
|
4
|
+
export declare function getClientStore(): ToolkitStore<OvermapRootState> | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { OvermapSDK } from "../../sdk";
|
|
3
3
|
import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore";
|
|
4
|
-
import {
|
|
4
|
+
import { OvermapRootState } from "../../typings";
|
|
5
5
|
export interface ISDKContext {
|
|
6
6
|
sdk: OvermapSDK;
|
|
7
7
|
}
|
|
8
8
|
interface SDKProviderProps {
|
|
9
9
|
children: React.ReactNode;
|
|
10
10
|
API_URL: string;
|
|
11
|
-
store: ToolkitStore<
|
|
11
|
+
store: ToolkitStore<OvermapRootState>;
|
|
12
12
|
}
|
|
13
13
|
declare const SDKContext: React.Context<ISDKContext>;
|
|
14
14
|
declare const SDKProvider: React.MemoExoticComponent<({ children, API_URL, store }: SDKProviderProps) => import("react/jsx-runtime").JSX.Element>;
|
package/dist/enums/ui.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FieldSection } from "../fields";
|
|
2
2
|
export declare const formId = "form-builder";
|
|
3
|
-
export declare const fieldsToChoose: (("string" | "text")[] | ("select" | "multi-select" | "upload")[] | ("number" | "boolean" | "date" | "multi-string")[])[];
|
|
3
|
+
export declare const fieldsToChoose: (("string" | "text")[] | ("select" | "multi-select" | "upload" | "qr")[] | ("number" | "boolean" | "date" | "multi-string")[])[];
|
|
4
4
|
export declare const indexOfLastFieldGroup: number;
|
|
5
5
|
export declare const CompleteFieldTypeToClsMapping: {
|
|
6
6
|
section: typeof FieldSection;
|
|
@@ -2,6 +2,6 @@ import { FieldTypeIdentifier } from "../typings";
|
|
|
2
2
|
export declare const useFieldTypeItems: (onSelect?: (type: Exclude<FieldTypeIdentifier, "section">) => void) => {
|
|
3
3
|
children: string;
|
|
4
4
|
leftSlot: import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
value: "string" | "number" | "boolean" | "select" | "text" | "date" | "multi-string" | "multi-select" | "upload";
|
|
5
|
+
value: "string" | "number" | "boolean" | "select" | "text" | "date" | "multi-string" | "multi-select" | "upload" | "qr";
|
|
6
6
|
onSelect: () => void;
|
|
7
7
|
}[][];
|