@overmap-ai/core 1.0.58-sign-up-hotfix.5 → 1.0.60-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.
Files changed (72) hide show
  1. package/dist/contexts/overmap.d.ts +2 -2
  2. package/dist/contexts/sdk/globals.d.ts +3 -3
  3. package/dist/contexts/sdk/sdk.d.ts +4 -4
  4. package/dist/enums/index.d.ts +0 -1
  5. package/dist/forms/fields/BaseField/layouts.d.ts +3 -2
  6. package/dist/forms/fields/typings.d.ts +3 -3
  7. package/dist/forms/index.d.ts +1 -0
  8. package/dist/forms/provider.d.ts +5 -0
  9. package/dist/forms/renderer/index.d.ts +0 -1
  10. package/dist/overmap-core.js +5494 -3106
  11. package/dist/overmap-core.js.map +1 -1
  12. package/dist/overmap-core.umd.cjs +5571 -3184
  13. package/dist/overmap-core.umd.cjs.map +1 -1
  14. package/dist/sdk/sdk.d.ts +4 -4
  15. package/dist/sdk/services/AssetAttachmentService.d.ts +9 -3
  16. package/dist/sdk/services/AssetTypeAttachmentService.d.ts +9 -3
  17. package/dist/sdk/services/BaseAttachmentService.d.ts +11 -15
  18. package/dist/sdk/services/CategoryService.d.ts +1 -20
  19. package/dist/sdk/services/DocumentAttachmentService.d.ts +9 -3
  20. package/dist/sdk/services/EmailDomainsService.d.ts +0 -1
  21. package/dist/sdk/services/IssueAttachmentService.d.ts +9 -3
  22. package/dist/sdk/services/IssueService.d.ts +1 -2
  23. package/dist/sdk/services/ProjectAttachmentService.d.ts +9 -3
  24. package/dist/store/adapter.d.ts +15 -0
  25. package/dist/store/index.d.ts +0 -1
  26. package/dist/store/slices/agentsSlice.d.ts +24 -13
  27. package/dist/store/slices/assetAttachmentSlice.d.ts +52 -0
  28. package/dist/store/slices/assetSlice.d.ts +11 -52
  29. package/dist/store/slices/assetStageCompletionSlice.d.ts +2 -2
  30. package/dist/store/slices/assetStageSlice.d.ts +32 -24
  31. package/dist/store/slices/assetTypeAttachmentSlice.d.ts +52 -0
  32. package/dist/store/slices/assetTypeSlice.d.ts +11 -49
  33. package/dist/store/slices/authSlice.d.ts +3 -3
  34. package/dist/store/slices/categorySlice.d.ts +19 -60
  35. package/dist/store/slices/documentAttachmentSlice.d.ts +52 -0
  36. package/dist/store/slices/documentSlice.d.ts +5 -79
  37. package/dist/store/slices/emailDomainsSlice.d.ts +14 -11
  38. package/dist/store/slices/formRevisionAttachmentSlice.d.ts +46 -0
  39. package/dist/store/slices/formRevisionSlice.d.ts +32 -56
  40. package/dist/store/slices/formSlice.d.ts +27 -22
  41. package/dist/store/slices/formSubmissionAttachmentSlice.d.ts +46 -0
  42. package/dist/store/slices/formSubmissionSlice.d.ts +29 -29
  43. package/dist/store/slices/index.d.ts +9 -1
  44. package/dist/store/slices/issueAttachmentSlice.d.ts +52 -0
  45. package/dist/store/slices/issueCommentSlice.d.ts +34 -0
  46. package/dist/store/slices/issueSlice.d.ts +25 -131
  47. package/dist/store/slices/issueTypeSlice.d.ts +25 -11
  48. package/dist/store/slices/issueUpdateSlice.d.ts +34 -0
  49. package/dist/store/slices/licenseSlice.d.ts +9 -7
  50. package/dist/store/slices/organizationAccessSlice.d.ts +14 -12
  51. package/dist/store/slices/outboxSlice.d.ts +3 -3
  52. package/dist/store/slices/projectAccessSlice.d.ts +16 -12
  53. package/dist/store/slices/projectAttachmentSlice.d.ts +52 -0
  54. package/dist/store/slices/projectFileSlice.d.ts +4 -37
  55. package/dist/store/slices/projectSlice.d.ts +5 -46
  56. package/dist/store/slices/rehydratedSlice.d.ts +3 -2
  57. package/dist/store/slices/settingsSlice.d.ts +3 -24
  58. package/dist/store/slices/teamSlice.d.ts +24 -10
  59. package/dist/store/slices/userSlice.d.ts +4 -4
  60. package/dist/store/slices/workspaceSlice.d.ts +22 -52
  61. package/dist/store/store.d.ts +15 -70
  62. package/dist/store/typings.d.ts +3 -0
  63. package/dist/style.css +0 -7
  64. package/dist/typings/models/store.d.ts +41 -4
  65. package/dist/typings/store.d.ts +4 -4
  66. package/dist/utils/utils.d.ts +3 -3
  67. package/package.json +5 -3
  68. package/dist/enums/map.d.ts +0 -6
  69. package/dist/forms/renderer/FormSubmissionBrowser/FormSubmissionBrowser.d.ts +0 -28
  70. package/dist/store/hooks.d.ts +0 -4
  71. package/dist/store/slices/mapSlice.d.ts +0 -23
  72. package/dist/store/slices/utils.d.ts +0 -14
@@ -1,11 +1,11 @@
1
1
  import React from "react";
2
2
  import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore";
3
- import { RootState } from "../typings";
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<RootState>;
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 { RootState } from "../../typings";
3
- export declare function setClientStore(store: ToolkitStore<RootState>): void;
4
- export declare function getClientStore(): ToolkitStore<RootState> | undefined;
2
+ import { OvermapRootState } from "../../typings";
3
+ export declare function setClientStore(store: ToolkitStore<OvermapRootState>): void;
4
+ export declare function getClientStore(): ToolkitStore<OvermapRootState> | undefined;
@@ -1,15 +1,15 @@
1
1
  import React from "react";
2
2
  import { OvermapSDK } from "../../sdk";
3
3
  import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore";
4
- import { RootState } from "../../typings";
4
+ import { OvermapRootState } from "../../typings";
5
5
  export interface ISDKContext {
6
6
  sdk: OvermapSDK;
7
7
  }
8
- interface SDKProviderProps {
8
+ interface SDKProviderProps<TState extends OvermapRootState> {
9
9
  children: React.ReactNode;
10
10
  API_URL: string;
11
- store: ToolkitStore<RootState>;
11
+ store: ToolkitStore<TState>;
12
12
  }
13
13
  declare const SDKContext: React.Context<ISDKContext>;
14
- declare const SDKProvider: React.MemoExoticComponent<({ children, API_URL, store }: SDKProviderProps) => import("react/jsx-runtime").JSX.Element>;
14
+ declare const SDKProvider: <TState extends OvermapRootState>(props: SDKProviderProps<TState>) => import("react/jsx-runtime").JSX.Element;
15
15
  export { SDKProvider, SDKContext };
@@ -1,3 +1,2 @@
1
1
  export * from "./api";
2
2
  export * from "./issue";
3
- export * from "./map";
@@ -1,8 +1,9 @@
1
1
  import { ReactElement, ComponentProps, ReactNode } from "react";
2
- import { Flex, Severity, TextProps, ThemeOptions } from "@overmap-ai/blocks";
2
+ import { Text, Flex } from "@radix-ui/themes";
3
+ import { Severity, ThemeOptions } from "@overmap-ai/blocks";
3
4
  export type Color = ThemeOptions["accentColor"];
4
5
  interface InputWithLabelProps {
5
- size: TextProps["size"];
6
+ size: ComponentProps<typeof Text>["size"];
6
7
  severity: Severity | undefined;
7
8
  inputId: string;
8
9
  labelId: string;
@@ -1,7 +1,7 @@
1
- import { HTMLProps, ReactNode } from "react";
1
+ import { HTMLProps, ReactNode, ComponentProps as ReactComponentProps } from "react";
2
+ import { Text } from "@radix-ui/themes";
2
3
  import { BaseField, BaseFormElement } from "./BaseField";
3
4
  import { Form, ISerializedField, SerializedFieldSection } from "../typings";
4
- import { TextProps } from "@overmap-ai/blocks";
5
5
  import { FormikUserFormRevision } from "../builder";
6
6
  export interface SchemaMeta {
7
7
  readonly: boolean;
@@ -19,7 +19,7 @@ export type InputValidator<TValue> = InputFieldLevelValidator<TValue> | InputFor
19
19
  export interface ComponentProps<TField extends BaseFormElement> extends Omit<HTMLProps<HTMLElement>, "color" | "size" | "ref" | "type" | "onChange" | "onBlur" | "value" | "defaultValue" | "name" | "dir"> {
20
20
  field: TField;
21
21
  formId: string;
22
- size?: TextProps["size"];
22
+ size?: ReactComponentProps<typeof Text>["size"];
23
23
  showInputOnly?: boolean;
24
24
  }
25
25
  export type GetInputProps<TField extends BaseFormElement> = Omit<ComponentProps<TField>, "field">;
@@ -2,4 +2,5 @@ export * from "./typings";
2
2
  export * from "./builder";
3
3
  export * from "./fields";
4
4
  export * from "./renderer";
5
+ export * from "./provider";
5
6
  export { validateForm, initialFormValues } from "./utils";
@@ -0,0 +1,5 @@
1
+ import { ComponentProps, PropsWithoutRef, FC } from "react";
2
+ import { Theme } from "@radix-ui/themes";
3
+ type OvermapFormsProviderProps = PropsWithoutRef<ComponentProps<typeof Theme>>;
4
+ export declare const OvermapFormsProvider: FC<OvermapFormsProviderProps>;
5
+ export {};
@@ -1,5 +1,4 @@
1
1
  export * from "./FormRenderer/FormRenderer";
2
2
  export * from "./FormSubmissionViewer/FormSubmissionViewer";
3
3
  export * from "./FormBrowser/FormBrowser";
4
- export * from "./FormSubmissionBrowser/FormSubmissionBrowser";
5
4
  export * from "./PatchForm";