@intlayer/design-system 8.10.1 → 8.11.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/dist/esm/api/hooks/ai.mjs +66 -0
- package/dist/esm/api/hooks/ai.mjs.map +1 -0
- package/dist/esm/api/hooks/audit.mjs +34 -0
- package/dist/esm/api/hooks/audit.mjs.map +1 -0
- package/dist/esm/api/hooks/auth.mjs +217 -0
- package/dist/esm/api/hooks/auth.mjs.map +1 -0
- package/dist/esm/api/hooks/bitbucket.mjs +39 -0
- package/dist/esm/api/hooks/bitbucket.mjs.map +1 -0
- package/dist/esm/api/hooks/dictionary.mjs +105 -0
- package/dist/esm/api/hooks/dictionary.mjs.map +1 -0
- package/dist/esm/api/hooks/discussions.mjs +37 -0
- package/dist/esm/api/hooks/discussions.mjs.map +1 -0
- package/dist/esm/api/hooks/editor.mjs +24 -0
- package/dist/esm/api/hooks/editor.mjs.map +1 -0
- package/dist/esm/api/hooks/github.mjs +54 -0
- package/dist/esm/api/hooks/github.mjs.map +1 -0
- package/dist/esm/api/hooks/gitlab.mjs +43 -0
- package/dist/esm/api/hooks/gitlab.mjs.map +1 -0
- package/dist/esm/api/hooks/newsletter.mjs +31 -0
- package/dist/esm/api/hooks/newsletter.mjs.map +1 -0
- package/dist/esm/api/hooks/organization.mjs +123 -0
- package/dist/esm/api/hooks/organization.mjs.map +1 -0
- package/dist/esm/api/hooks/project.mjs +187 -0
- package/dist/esm/api/hooks/project.mjs.map +1 -0
- package/dist/esm/api/hooks/reviewer.mjs +288 -0
- package/dist/esm/api/hooks/reviewer.mjs.map +1 -0
- package/dist/esm/api/hooks/search.mjs +18 -0
- package/dist/esm/api/hooks/search.mjs.map +1 -0
- package/dist/esm/api/hooks/showcaseProject.mjs +95 -0
- package/dist/esm/api/hooks/showcaseProject.mjs.map +1 -0
- package/dist/esm/api/hooks/stripe.mjs +261 -0
- package/dist/esm/api/hooks/stripe.mjs.map +1 -0
- package/dist/esm/api/hooks/tag.mjs +45 -0
- package/dist/esm/api/hooks/tag.mjs.map +1 -0
- package/dist/esm/api/hooks/translate.mjs +47 -0
- package/dist/esm/api/hooks/translate.mjs.map +1 -0
- package/dist/esm/api/hooks/user.mjs +58 -0
- package/dist/esm/api/hooks/user.mjs.map +1 -0
- package/dist/esm/api/hooks/utils.mjs +30 -0
- package/dist/esm/api/hooks/utils.mjs.map +1 -0
- package/dist/esm/api/index.mjs +26 -0
- package/dist/esm/{hooks → api}/useAuth/useAuth.mjs +1 -1
- package/dist/esm/api/useAuth/useAuth.mjs.map +1 -0
- package/dist/esm/{hooks → api}/useAuth/useOAuth2.mjs +3 -3
- package/dist/esm/api/useAuth/useOAuth2.mjs.map +1 -0
- package/dist/esm/{hooks → api}/useAuth/useSession.mjs +3 -4
- package/dist/esm/api/useAuth/useSession.mjs.map +1 -0
- package/dist/esm/api/useIntlayerAPI.mjs +123 -0
- package/dist/esm/api/useIntlayerAPI.mjs.map +1 -0
- package/dist/esm/{hooks → api}/useUser/index.mjs +2 -2
- package/dist/esm/api/useUser/index.mjs.map +1 -0
- package/dist/esm/components/Badge/index.mjs +1 -3
- package/dist/esm/components/Badge/index.mjs.map +1 -1
- package/dist/esm/components/Breadcrumb/index.mjs +0 -1
- package/dist/esm/components/Breadcrumb/index.mjs.map +1 -1
- package/dist/esm/components/Button/Button.mjs +3 -5
- package/dist/esm/components/Button/Button.mjs.map +1 -1
- package/dist/esm/components/Carousel/index.mjs +3 -3
- package/dist/esm/components/Carousel/index.mjs.map +1 -1
- package/dist/esm/components/ContentEditor/ContentEditorTextArea.mjs +1 -1
- package/dist/esm/components/ContentEditor/ContentEditorTextArea.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +3 -2
- package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +4 -2
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +3 -2
- package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
- package/dist/esm/components/ExpandCollapse/ExpandCollapse.mjs +2 -2
- package/dist/esm/components/ExpandCollapse/ExpandCollapse.mjs.map +1 -1
- package/dist/esm/components/IDE/FileList.mjs +1 -1
- package/dist/esm/components/IDE/FileList.mjs.map +1 -1
- package/dist/esm/components/IDE/IDE.mjs +1 -1
- package/dist/esm/components/IDE/IDE.mjs.map +1 -1
- package/dist/esm/components/Input/Checkbox.mjs +1 -3
- package/dist/esm/components/Input/Checkbox.mjs.map +1 -1
- package/dist/esm/components/Label/index.mjs +2 -2
- package/dist/esm/components/Label/index.mjs.map +1 -1
- package/dist/esm/components/LanguageBackground/LanguageSection.mjs +8 -6
- package/dist/esm/components/LanguageBackground/LanguageSection.mjs.map +1 -1
- package/dist/esm/components/LanguageBackground/index.mjs +13 -5
- package/dist/esm/components/LanguageBackground/index.mjs.map +1 -1
- package/dist/esm/components/Link/Link.mjs +0 -7
- package/dist/esm/components/Link/Link.mjs.map +1 -1
- package/dist/esm/components/Loader/spinner.mjs +1 -1
- package/dist/esm/components/Loader/spinner.mjs.map +1 -1
- package/dist/esm/components/Pagination/Pagination.mjs +1 -2
- package/dist/esm/components/Pagination/Pagination.mjs.map +1 -1
- package/dist/esm/components/Popover/dynamic.mjs +2 -2
- package/dist/esm/components/Popover/dynamic.mjs.map +1 -1
- package/dist/esm/components/SwitchSelector/SwitchSelector.mjs +3 -5
- package/dist/esm/components/SwitchSelector/SwitchSelector.mjs.map +1 -1
- package/dist/esm/components/SwitchSelector/VerticalSwitchSelector.mjs +3 -3
- package/dist/esm/components/SwitchSelector/VerticalSwitchSelector.mjs.map +1 -1
- package/dist/esm/components/TabSelector/TabSelector.mjs +3 -3
- package/dist/esm/components/TabSelector/TabSelector.mjs.map +1 -1
- package/dist/esm/components/Tag/index.mjs +1 -1
- package/dist/esm/components/Tag/index.mjs.map +1 -1
- package/dist/esm/components/Terminal/Terminal.mjs +1 -1
- package/dist/esm/components/Terminal/Terminal.mjs.map +1 -1
- package/dist/esm/components/TextArea/AutoSizeTextArea.mjs +2 -2
- package/dist/esm/components/TextArea/AutoSizeTextArea.mjs.map +1 -1
- package/dist/esm/components/TextArea/ContentEditableTextArea.mjs +3 -3
- package/dist/esm/components/TextArea/ContentEditableTextArea.mjs.map +1 -1
- package/dist/esm/components/Toaster/Toast.mjs +3 -3
- package/dist/esm/components/Toaster/Toast.mjs.map +1 -1
- package/dist/esm/components/WithResizer/index.mjs +7 -2
- package/dist/esm/components/WithResizer/index.mjs.map +1 -1
- package/dist/esm/hooks/index.mjs +1 -7
- package/dist/esm/libs/auth.mjs +1 -1
- package/dist/esm/routes.mjs +23 -1
- package/dist/esm/routes.mjs.map +1 -1
- package/dist/types/api/hooks/ai.d.ts +12 -0
- package/dist/types/api/hooks/ai.d.ts.map +1 -0
- package/dist/types/api/hooks/audit.d.ts +10 -0
- package/dist/types/api/hooks/audit.d.ts.map +1 -0
- package/dist/types/api/hooks/auth.d.ts +29 -0
- package/dist/types/api/hooks/auth.d.ts.map +1 -0
- package/dist/types/api/hooks/bitbucket.d.ts +8 -0
- package/dist/types/api/hooks/bitbucket.d.ts.map +1 -0
- package/dist/types/api/hooks/dictionary.d.ts +15 -0
- package/dist/types/api/hooks/dictionary.d.ts.map +1 -0
- package/dist/types/api/hooks/discussions.d.ts +8 -0
- package/dist/types/api/hooks/discussions.d.ts.map +1 -0
- package/dist/types/api/hooks/editor.d.ts +6 -0
- package/dist/types/api/hooks/editor.d.ts.map +1 -0
- package/dist/types/api/hooks/github.d.ts +12 -0
- package/dist/types/api/hooks/github.d.ts.map +1 -0
- package/dist/types/api/hooks/gitlab.d.ts +8 -0
- package/dist/types/api/hooks/gitlab.d.ts.map +1 -0
- package/dist/types/api/hooks/newsletter.d.ts +7 -0
- package/dist/types/api/hooks/newsletter.d.ts.map +1 -0
- package/dist/types/api/hooks/organization.d.ts +16 -0
- package/dist/types/api/hooks/organization.d.ts.map +1 -0
- package/dist/types/api/hooks/project.d.ts +23 -0
- package/dist/types/api/hooks/project.d.ts.map +1 -0
- package/dist/types/api/hooks/reviewer.d.ts +39 -0
- package/dist/types/api/hooks/reviewer.d.ts.map +1 -0
- package/dist/types/api/hooks/search.d.ts +7 -0
- package/dist/types/api/hooks/search.d.ts.map +1 -0
- package/dist/types/api/hooks/showcaseProject.d.ts +16 -0
- package/dist/types/api/hooks/showcaseProject.d.ts.map +1 -0
- package/dist/types/api/hooks/stripe.d.ts +33 -0
- package/dist/types/api/hooks/stripe.d.ts.map +1 -0
- package/dist/types/api/hooks/tag.d.ts +11 -0
- package/dist/types/api/hooks/tag.d.ts.map +1 -0
- package/dist/types/api/hooks/translate.d.ts +8 -0
- package/dist/types/api/hooks/translate.d.ts.map +1 -0
- package/dist/types/api/hooks/user.d.ts +13 -0
- package/dist/types/api/hooks/user.d.ts.map +1 -0
- package/dist/types/api/hooks/utils.d.ts +23 -0
- package/dist/types/api/hooks/utils.d.ts.map +1 -0
- package/dist/types/api/index.d.ts +25 -0
- package/dist/types/{hooks → api}/useAuth/useAuth.d.ts +1 -1
- package/dist/types/api/useAuth/useAuth.d.ts.map +1 -0
- package/dist/types/{hooks → api}/useAuth/useOAuth2.d.ts +1 -1
- package/dist/types/api/useAuth/useOAuth2.d.ts.map +1 -0
- package/dist/types/{hooks → api}/useAuth/useSession.d.ts +1 -1
- package/dist/types/api/useAuth/useSession.d.ts.map +1 -0
- package/dist/types/api/useIntlayerAPI.d.ts +297 -0
- package/dist/types/api/useIntlayerAPI.d.ts.map +1 -0
- package/dist/types/{hooks → api}/useUser/index.d.ts +1 -1
- package/dist/types/api/useUser/index.d.ts.map +1 -0
- package/dist/types/components/Badge/index.d.ts +3 -4
- package/dist/types/components/Badge/index.d.ts.map +1 -1
- package/dist/types/components/Breadcrumb/index.d.ts.map +1 -1
- package/dist/types/components/Button/Button.d.ts +5 -6
- package/dist/types/components/Button/Button.d.ts.map +1 -1
- package/dist/types/components/Carousel/index.d.ts.map +1 -1
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +1 -1
- package/dist/types/components/Container/index.d.ts +4 -4
- package/dist/types/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts.map +1 -1
- package/dist/types/components/ExpandCollapse/ExpandCollapse.d.ts.map +1 -1
- package/dist/types/components/Input/Checkbox.d.ts +1 -2
- package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
- package/dist/types/components/LanguageBackground/index.d.ts.map +1 -1
- package/dist/types/components/Link/Link.d.ts +2 -3
- package/dist/types/components/Link/Link.d.ts.map +1 -1
- package/dist/types/components/Loader/spinner.d.ts +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/components/SwitchSelector/SwitchSelector.d.ts +2 -3
- package/dist/types/components/SwitchSelector/SwitchSelector.d.ts.map +1 -1
- package/dist/types/components/SwitchSelector/VerticalSwitchSelector.d.ts +1 -1
- package/dist/types/components/SwitchSelector/VerticalSwitchSelector.d.ts.map +1 -1
- package/dist/types/components/TabSelector/TabSelector.d.ts +2 -2
- package/dist/types/components/TabSelector/TabSelector.d.ts.map +1 -1
- package/dist/types/components/Tag/index.d.ts +2 -2
- package/dist/types/components/TextArea/ContentEditableTextArea.d.ts.map +1 -1
- package/dist/types/components/Toaster/Toast.d.ts +1 -1
- package/dist/types/hooks/index.d.ts +1 -7
- package/dist/types/providers/ReactQueryProvider.d.ts +1 -1
- package/dist/types/routes.d.ts +23 -1
- package/dist/types/routes.d.ts.map +1 -1
- package/package.json +35 -30
- package/tailwind.css +0 -19
- package/dist/esm/hooks/reactQuery.mjs +0 -1187
- package/dist/esm/hooks/reactQuery.mjs.map +0 -1
- package/dist/esm/hooks/useAuth/useAuth.mjs.map +0 -1
- package/dist/esm/hooks/useAuth/useOAuth2.mjs.map +0 -1
- package/dist/esm/hooks/useAuth/useSession.mjs.map +0 -1
- package/dist/esm/hooks/useIntlayerAPI.mjs +0 -22
- package/dist/esm/hooks/useIntlayerAPI.mjs.map +0 -1
- package/dist/esm/hooks/useUser/index.mjs.map +0 -1
- package/dist/types/hooks/reactQuery.d.ts +0 -188
- package/dist/types/hooks/reactQuery.d.ts.map +0 -1
- package/dist/types/hooks/useAuth/useAuth.d.ts.map +0 -1
- package/dist/types/hooks/useAuth/useOAuth2.d.ts.map +0 -1
- package/dist/types/hooks/useAuth/useSession.d.ts.map +0 -1
- package/dist/types/hooks/useIntlayerAPI.d.ts +0 -14
- package/dist/types/hooks/useIntlayerAPI.d.ts.map +0 -1
- package/dist/types/hooks/useUser/index.d.ts.map +0 -1
- /package/dist/esm/{hooks → api}/useAuth/index.mjs +0 -0
- /package/dist/types/{hooks → api}/useAuth/index.d.ts +0 -0
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import { AuthAPI } from "../libs/auth.js";
|
|
2
|
+
import { FetcherOptions, IntlayerAPI } from "@intlayer/api";
|
|
3
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
4
|
+
|
|
5
|
+
//#region src/api/useIntlayerAPI.d.ts
|
|
6
|
+
type UseIntlayerAuthProps = {
|
|
7
|
+
options?: FetcherOptions;
|
|
8
|
+
intlayerConfiguration?: IntlayerConfig;
|
|
9
|
+
};
|
|
10
|
+
declare const useIntlayerOAuthOptions: (props?: UseIntlayerAuthProps) => {
|
|
11
|
+
options: {
|
|
12
|
+
cache?: RequestCache;
|
|
13
|
+
credentials?: RequestCredentials;
|
|
14
|
+
headers: HeadersInit;
|
|
15
|
+
integrity?: string;
|
|
16
|
+
keepalive?: boolean;
|
|
17
|
+
method?: string;
|
|
18
|
+
mode?: RequestMode;
|
|
19
|
+
priority?: RequestPriority;
|
|
20
|
+
redirect?: RequestRedirect;
|
|
21
|
+
referrer?: string;
|
|
22
|
+
referrerPolicy?: ReferrerPolicy;
|
|
23
|
+
signal?: AbortSignal | null;
|
|
24
|
+
window?: null;
|
|
25
|
+
body?: Record<string, unknown>;
|
|
26
|
+
params?: Record<string, string | string[] | undefined> | string[] | URLSearchParams;
|
|
27
|
+
};
|
|
28
|
+
resolvedConfig: IntlayerConfig;
|
|
29
|
+
};
|
|
30
|
+
declare const useIntlayerOAuth: (props?: UseIntlayerAuthProps) => IntlayerAPI;
|
|
31
|
+
declare const useIntlayerAuth: (props?: UseIntlayerAuthProps) => AuthAPI;
|
|
32
|
+
declare const useOrganizationAPI: (props?: UseIntlayerAuthProps) => {
|
|
33
|
+
getOrganizations: (filters?: import("@intlayer/backend").GetOrganizationsParams, otherOptions?: FetcherOptions) => Promise<GetOrganizationsResult>;
|
|
34
|
+
getOrganization: (organizationId: import("@intlayer/backend").GetOrganizationParam["organizationId"], otherOptions?: FetcherOptions) => Promise<GetOrganizationResult>;
|
|
35
|
+
addOrganization: (organization: import("@intlayer/backend").AddOrganizationBody, otherOptions?: FetcherOptions) => Promise<AddOrganizationResult>;
|
|
36
|
+
addOrganizationMember: (body: import("@intlayer/backend").AddOrganizationMemberBody, otherOptions?: FetcherOptions) => Promise<AddOrganizationMemberResult>;
|
|
37
|
+
updateOrganization: (organization: import("@intlayer/backend").UpdateOrganizationBody, otherOptions?: FetcherOptions) => Promise<UpdateOrganizationResult>;
|
|
38
|
+
updateOrganizationMembers: (body: import("@intlayer/backend").UpdateOrganizationMembersBody, otherOptions?: FetcherOptions) => Promise<UpdateOrganizationMembersResult>;
|
|
39
|
+
updateOrganizationMembersById: (organizationId: string, body: import("@intlayer/backend").UpdateOrganizationMembersBody, otherOptions?: FetcherOptions) => Promise<UpdateOrganizationMembersResult>;
|
|
40
|
+
deleteOrganization: (otherOptions?: FetcherOptions) => Promise<DeleteOrganizationResult>;
|
|
41
|
+
deleteOrganizationByIdAdmin: (organizationId: string, otherOptions?: FetcherOptions) => Promise<DeleteOrganizationResult>;
|
|
42
|
+
selectOrganization: (organizationId: import("@intlayer/backend").SelectOrganizationParam["organizationId"], otherOptions?: FetcherOptions) => Promise<SelectOrganizationResult>;
|
|
43
|
+
unselectOrganization: (otherOptions?: FetcherOptions) => Promise<UnselectOrganizationResult>;
|
|
44
|
+
};
|
|
45
|
+
declare const useProjectAPI: (props?: UseIntlayerAuthProps) => {
|
|
46
|
+
getProjects: (filters?: import("@intlayer/backend").GetProjectsParams, otherOptions?: FetcherOptions) => Promise<GetProjectsResult>;
|
|
47
|
+
addProject: (project: import("@intlayer/backend").AddProjectBody, otherOptions?: FetcherOptions) => Promise<AddProjectResult>;
|
|
48
|
+
updateProject: (project: import("@intlayer/backend").UpdateProjectBody, otherOptions?: FetcherOptions) => Promise<UpdateProjectResult>;
|
|
49
|
+
updateProjectMembers: (body: import("@intlayer/backend").UpdateProjectMembersBody, otherOptions?: FetcherOptions) => Promise<UpdateProjectMembersResult>;
|
|
50
|
+
pushProjectConfiguration: (projectConfiguration: import("@intlayer/backend").PushProjectConfigurationBody, otherOptions?: FetcherOptions) => Promise<PushProjectConfigurationResult>;
|
|
51
|
+
deleteProject: (otherOptions?: FetcherOptions) => Promise<DeleteProjectResult>;
|
|
52
|
+
deleteProjectByIdAdmin: (projectId: string, otherOptions?: FetcherOptions) => Promise<DeleteProjectResult>;
|
|
53
|
+
selectProject: (projectId: import("@intlayer/backend").SelectProjectParam["projectId"], otherOptions?: FetcherOptions) => Promise<SelectProjectResult>;
|
|
54
|
+
unselectProject: (otherOptions?: FetcherOptions) => Promise<UnselectProjectResult>;
|
|
55
|
+
addNewAccessKey: (accessKey: import("@intlayer/backend").AddNewAccessKeyBody, otherOptions?: FetcherOptions) => Promise<AddNewAccessKeyResponse>;
|
|
56
|
+
deleteAccessKey: (clientId: import("@intlayer/backend").DeleteAccessKeyBody["clientId"], otherOptions?: FetcherOptions) => Promise<DeleteAccessKeyResponse>;
|
|
57
|
+
refreshAccessKey: (clientId: import("@intlayer/backend").RefreshAccessKeyBody["clientId"], otherOptions?: FetcherOptions) => Promise<RefreshAccessKeyResponse>;
|
|
58
|
+
triggerBuild: (otherOptions?: FetcherOptions) => Promise<TriggerBuildResult>;
|
|
59
|
+
triggerWebhook: (webhookIndex: import("@intlayer/backend").TriggerWebhookBody["webhookIndex"], otherOptions?: FetcherOptions) => Promise<TriggerWebhookResult>;
|
|
60
|
+
getCIConfig: (otherOptions?: FetcherOptions) => Promise<ResponseData<any>>;
|
|
61
|
+
pushCIConfig: (otherOptions?: FetcherOptions) => Promise<ResponseData<any>>;
|
|
62
|
+
};
|
|
63
|
+
declare const useUserAPI: (props?: UseIntlayerAuthProps) => {
|
|
64
|
+
createUser: (user: import("@intlayer/backend").CreateUserBody, otherOptions?: FetcherOptions) => Promise<CreateUserResult>;
|
|
65
|
+
getUsers: (filters?: import("@intlayer/backend").GetUsersParams, otherOptions?: FetcherOptions) => Promise<GetUsersResult>;
|
|
66
|
+
getUserById: (userId: import("@intlayer/backend").GetUserByIdParams["userId"], otherOptions?: FetcherOptions) => Promise<GetUserByIdResult>;
|
|
67
|
+
getUserByAccount: (providerAccountId: string, provider: string, otherOptions?: FetcherOptions) => Promise<any>;
|
|
68
|
+
getUserByEmail: (email: import("@intlayer/backend").GetUserByEmailParams["email"], otherOptions?: FetcherOptions) => Promise<GetUserByEmailResult>;
|
|
69
|
+
updateUser: (user: import("@intlayer/backend").UpdateUserBody, otherOptions?: FetcherOptions) => Promise<UpdateUserResult>;
|
|
70
|
+
deleteUser: (userId: string, otherOptions?: FetcherOptions) => Promise<UpdateUserResult>;
|
|
71
|
+
uploadAvatar: (file: File, otherOptions?: FetcherOptions) => Promise<UploadUserAvatarResult>;
|
|
72
|
+
getVerifyEmailStatusURL: (userId: string | import("@intlayer/backend").UserAPI["id"]) => string;
|
|
73
|
+
};
|
|
74
|
+
declare const useOAuthAPI: (props?: UseIntlayerAuthProps) => {
|
|
75
|
+
getOAuth2AccessToken: (otherOptions?: FetcherOptions) => Promise<GetOAuth2TokenResult>;
|
|
76
|
+
createCliSessionToken: (otherOptions?: FetcherOptions) => Promise<CreateCliSessionTokenResult>;
|
|
77
|
+
getCliSessionMe: (otherOptions?: FetcherOptions) => Promise<GetCliSessionMeResult>;
|
|
78
|
+
};
|
|
79
|
+
declare const useDictionaryAPI: (props?: UseIntlayerAuthProps) => {
|
|
80
|
+
getDictionaries: (filters?: import("@intlayer/backend").GetDictionariesParams, otherOptions?: FetcherOptions) => Promise<GetDictionariesResult>;
|
|
81
|
+
getDictionariesKeys: (otherOptions?: FetcherOptions) => Promise<GetDictionariesKeysResult>;
|
|
82
|
+
getDictionariesUpdateTimestamp: (otherOptions?: FetcherOptions) => Promise<GetDictionariesUpdateTimestampResult>;
|
|
83
|
+
getDictionary: (dictionaryKey: import("@intlayer/backend").GetDictionaryParams["dictionaryKey"], version?: import("@intlayer/backend").GetDictionaryQuery["version"], otherOptions?: FetcherOptions) => Promise<GetDictionaryResult>;
|
|
84
|
+
pushDictionaries: (dictionaries: import("@intlayer/backend").PushDictionariesBody["dictionaries"], otherOptions?: FetcherOptions) => Promise<PushDictionariesResult>;
|
|
85
|
+
addDictionary: (body: import("@intlayer/backend").AddDictionaryBody, otherOptions?: FetcherOptions) => Promise<AddDictionaryResult>;
|
|
86
|
+
updateDictionary: (dictionary: import("@intlayer/backend").UpdateDictionaryBody, otherOptions?: FetcherOptions) => Promise<UpdateDictionaryResult>;
|
|
87
|
+
deleteDictionary: (id: import("@intlayer/backend").DeleteDictionaryParam["dictionaryId"], otherOptions?: FetcherOptions) => Promise<DeleteDictionaryResult>;
|
|
88
|
+
};
|
|
89
|
+
declare const useStripeAPI: (props?: UseIntlayerAuthProps) => {
|
|
90
|
+
getPricing: (body?: import("@intlayer/backend").GetPricingBody, otherOptions?: FetcherOptions) => Promise<GetPricingResult>;
|
|
91
|
+
getSubscription: (body?: import("@intlayer/backend").GetCheckoutSessionBody, otherOptions?: FetcherOptions) => Promise<GetCheckoutSessionResult>;
|
|
92
|
+
cancelSubscription: (otherOptions?: FetcherOptions) => Promise<GetCheckoutSessionResult>;
|
|
93
|
+
getInvoices: (otherOptions?: FetcherOptions) => Promise<GetInvoicesResult>;
|
|
94
|
+
getPaymentMethod: (otherOptions?: FetcherOptions) => Promise<GetPaymentMethodResult>;
|
|
95
|
+
createPortalSession: (otherOptions?: FetcherOptions) => Promise<CreatePortalSessionResult>;
|
|
96
|
+
grantAffiliateAccess: (body: import("@intlayer/backend").GrantAffiliateAccessBody, otherOptions?: FetcherOptions) => Promise<GrantAffiliateAccessResult>;
|
|
97
|
+
getAffiliates: (params?: import("@intlayer/backend").GetAffiliatesParams, otherOptions?: FetcherOptions) => Promise<GetAffiliatesResult>;
|
|
98
|
+
getAffiliateById: ({
|
|
99
|
+
id
|
|
100
|
+
}: {
|
|
101
|
+
id: string;
|
|
102
|
+
}, otherOptions?: FetcherOptions) => Promise<GetAffiliateByIdResult>;
|
|
103
|
+
getAffiliate: (otherOptions?: FetcherOptions) => Promise<GetAffiliateResult>;
|
|
104
|
+
getAffiliateAccountSession: (otherOptions?: FetcherOptions) => Promise<GetAffiliateAccountSessionResult>;
|
|
105
|
+
getAffiliateOnboardingLink: (params?: {
|
|
106
|
+
returnUrl?: string;
|
|
107
|
+
}, otherOptions?: FetcherOptions) => Promise<GetAffiliateOnboardingLinkResult>;
|
|
108
|
+
getAffiliateStats: (otherOptions?: FetcherOptions) => Promise<GetAffiliateStatsResult>;
|
|
109
|
+
getAffiliateInvitations: (params?: import("@intlayer/backend").GetAffiliatesParams, otherOptions?: FetcherOptions) => Promise<GetAffiliateInvitationsResult>;
|
|
110
|
+
sendAffiliateInvitation: (body: import("@intlayer/backend").SendAffiliateInvitationBody, otherOptions?: FetcherOptions) => Promise<SendAffiliateInvitationResult>;
|
|
111
|
+
getAffiliateInvitation: ({
|
|
112
|
+
token
|
|
113
|
+
}: {
|
|
114
|
+
token: string;
|
|
115
|
+
}, otherOptions?: FetcherOptions) => Promise<GetAffiliateInvitationResult>;
|
|
116
|
+
acceptAffiliateInvitation: ({
|
|
117
|
+
token,
|
|
118
|
+
country,
|
|
119
|
+
stripeAccountType
|
|
120
|
+
}: {
|
|
121
|
+
token: string;
|
|
122
|
+
country?: string;
|
|
123
|
+
stripeAccountType?: "express" | "standard";
|
|
124
|
+
}, otherOptions?: FetcherOptions) => Promise<AcceptAffiliateInvitationResult>;
|
|
125
|
+
updateAffiliateStatus: ({
|
|
126
|
+
id
|
|
127
|
+
}: {
|
|
128
|
+
id: string;
|
|
129
|
+
}, body: import("@intlayer/backend").UpdateAffiliateStatusBody, otherOptions?: FetcherOptions) => Promise<UpdateAffiliateStatusResult>;
|
|
130
|
+
getPromoCodeById: (id: string, otherOptions?: FetcherOptions) => Promise<GetPromoCodeByIdResult>;
|
|
131
|
+
getPromoCodes: (params?: {
|
|
132
|
+
affiliateId?: string;
|
|
133
|
+
}, otherOptions?: FetcherOptions) => Promise<GetPromoCodesResult>;
|
|
134
|
+
createPromoCode: (body: import("@intlayer/backend").CreatePromoCodeBody, otherOptions?: FetcherOptions) => Promise<CreatePromoCodeResult>;
|
|
135
|
+
updatePromoCode: ({
|
|
136
|
+
id,
|
|
137
|
+
...body
|
|
138
|
+
}: {
|
|
139
|
+
id: string;
|
|
140
|
+
} & import("@intlayer/backend").UpdatePromoCodeBody, otherOptions?: FetcherOptions) => Promise<UpdatePromoCodeResult>;
|
|
141
|
+
deletePromoCode: ({
|
|
142
|
+
id
|
|
143
|
+
}: {
|
|
144
|
+
id: string;
|
|
145
|
+
}, otherOptions?: FetcherOptions) => Promise<DeletePromoCodeResult>;
|
|
146
|
+
getAffiliatePromoCode: (referralCode: string, otherOptions?: FetcherOptions) => Promise<any>;
|
|
147
|
+
};
|
|
148
|
+
declare const useAiAPI: (props?: UseIntlayerAuthProps) => {
|
|
149
|
+
customQuery: (body?: import("@intlayer/backend").CustomQueryBody, otherOptions?: FetcherOptions) => Promise<CustomQueryResult>;
|
|
150
|
+
translateJSON: (body?: import("@intlayer/backend").TranslateJSONBody, otherOptions?: FetcherOptions) => Promise<TranslateJSONResult>;
|
|
151
|
+
auditContentDeclaration: (body?: import("@intlayer/backend").AuditContentDeclarationBody, otherOptions?: FetcherOptions) => Promise<AuditContentDeclarationResult>;
|
|
152
|
+
auditContentDeclarationField: (body?: import("@intlayer/backend").AuditContentDeclarationFieldBody, otherOptions?: FetcherOptions) => Promise<AuditContentDeclarationFieldResult>;
|
|
153
|
+
auditContentDeclarationMetadata: (body?: import("@intlayer/backend").AuditContentDeclarationMetadataBody, otherOptions?: FetcherOptions) => Promise<AuditContentDeclarationMetadataResult>;
|
|
154
|
+
auditTag: (body?: import("@intlayer/backend").AuditTagBody, otherOptions?: FetcherOptions) => Promise<AuditTagResult>;
|
|
155
|
+
askDocQuestion: (body?: import("@intlayer/api").AskDocQuestionBody, otherOptions?: FetcherOptions) => Promise<void>;
|
|
156
|
+
chat: (body?: import("@intlayer/api").ChatBody, otherOptions?: FetcherOptions) => Promise<void>;
|
|
157
|
+
autocomplete: (body?: import("@intlayer/api").AutocompleteBody, otherOptions?: FetcherOptions) => Promise<AutocompleteResponse>;
|
|
158
|
+
getDiscussions: (params?: import("@intlayer/backend").GetDiscussionsParams, otherOptions?: FetcherOptions) => Promise<GetDiscussionsResult>;
|
|
159
|
+
};
|
|
160
|
+
declare const useAuditAPI: (props?: UseIntlayerAuthProps) => {
|
|
161
|
+
discoverUrls: (params?: import("@intlayer/api").DiscoverUrlsParams, otherOptions?: FetcherOptions) => Promise<import("@intlayer/api").DiscoverUrlsResult>;
|
|
162
|
+
scanUrl: (body?: import("@intlayer/api").ScanUrlBody, otherOptions?: FetcherOptions) => Promise<void>;
|
|
163
|
+
startRecursiveAudit: (body?: import("@intlayer/api").StartRecursiveAuditBody, otherOptions?: FetcherOptions) => Promise<import("@intlayer/backend").StartRecursiveAuditResult>;
|
|
164
|
+
getRecursiveAuditStatus: (params?: import("@intlayer/api").GetRecursiveAuditStatusParams, otherOptions?: FetcherOptions) => Promise<import("@intlayer/backend").GetRecursiveAuditStatusResult>;
|
|
165
|
+
cancelRecursiveAudit: (params?: import("@intlayer/api").RecursiveAuditJobParams, otherOptions?: FetcherOptions) => Promise<{
|
|
166
|
+
success: boolean;
|
|
167
|
+
}>;
|
|
168
|
+
pauseRecursiveAudit: (params?: import("@intlayer/api").RecursiveAuditJobParams, otherOptions?: FetcherOptions) => Promise<{
|
|
169
|
+
success: boolean;
|
|
170
|
+
}>;
|
|
171
|
+
resumeRecursiveAudit: (params?: import("@intlayer/api").RecursiveAuditJobParams, otherOptions?: FetcherOptions) => Promise<{
|
|
172
|
+
success: boolean;
|
|
173
|
+
}>;
|
|
174
|
+
};
|
|
175
|
+
declare const useTagAPI: (props?: UseIntlayerAuthProps) => {
|
|
176
|
+
getTags: (filters?: import("@intlayer/backend").GetTagsParams, otherOptions?: FetcherOptions) => Promise<GetTagsResult>;
|
|
177
|
+
addTag: (tag: import("@intlayer/backend").AddTagBody, otherOptions?: FetcherOptions) => Promise<AddTagResult>;
|
|
178
|
+
updateTag: (tagId: import("@intlayer/backend").UpdateTagParams["tagId"], tag: import("@intlayer/backend").UpdateTagBody, otherOptions?: FetcherOptions) => Promise<UpdateTagResult>;
|
|
179
|
+
deleteTag: (tagId: import("@intlayer/backend").DeleteTagParams["tagId"], otherOptions?: FetcherOptions) => Promise<DeleteTagResult>;
|
|
180
|
+
};
|
|
181
|
+
declare const useSearchAPI: (props?: UseIntlayerAuthProps) => {
|
|
182
|
+
searchDoc: (params?: import("@intlayer/backend").SearchDocUtilParams, otherOptions?: FetcherOptions) => Promise<SearchDocUtilResult>;
|
|
183
|
+
};
|
|
184
|
+
declare const useEditorAPI: (props?: UseIntlayerAuthProps) => {
|
|
185
|
+
getDictionaries: (otherOptions?: FetcherOptions) => Promise<GetEditorDictionariesResult>;
|
|
186
|
+
getConfiguration: (otherOptions?: FetcherOptions) => Promise<GetConfigurationResult>;
|
|
187
|
+
writeDictionary: (body: WriteContentDeclarationBody, otherOptions?: FetcherOptions) => Promise<WriteContentDeclarationResult>;
|
|
188
|
+
};
|
|
189
|
+
declare const useNewsletterAPI: (props?: UseIntlayerAuthProps) => {
|
|
190
|
+
subscribeToNewsletter: (body: import("@intlayer/backend").NewsletterSubscriptionBody, otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
|
|
191
|
+
unsubscribeFromNewsletter: (body: import("@intlayer/backend").NewsletterUnsubscriptionBody, otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
|
|
192
|
+
getNewsletterStatus: (otherOptions?: FetcherOptions) => Promise<NewsletterSubscriptionResult>;
|
|
193
|
+
};
|
|
194
|
+
declare const useGithubAPI: (props?: UseIntlayerAuthProps) => {
|
|
195
|
+
getAuthUrl: (redirectUri: string, otherOptions?: FetcherOptions) => Promise<import("@intlayer/api").GitHubGetAuthUrlResult>;
|
|
196
|
+
authenticate: (code: string, otherOptions?: FetcherOptions) => Promise<import("@intlayer/api").GitHubAuthCallbackResult>;
|
|
197
|
+
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<import("@intlayer/api").GitHubListReposResult>;
|
|
198
|
+
checkIntlayerConfig: (token: string | null | undefined, owner: string, repository: string, branch?: string, otherOptions?: FetcherOptions) => Promise<import("@intlayer/api").GitHubCheckConfigResult>;
|
|
199
|
+
getConfigFile: (token: string | null | undefined, owner: string, repository: string, branch?: string, path?: string, otherOptions?: FetcherOptions) => Promise<import("@intlayer/api").GitHubGetConfigFileResult>;
|
|
200
|
+
getToken: (otherOptions?: FetcherOptions) => Promise<import("@intlayer/api").GitHubGetTokenResult>;
|
|
201
|
+
};
|
|
202
|
+
declare const useGitlabAPI: (props?: UseIntlayerAuthProps) => {
|
|
203
|
+
getAuthUrl: (redirectUri: string, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<import("@intlayer/api").GitLabGetAuthUrlResult>;
|
|
204
|
+
authenticate: (code: string, redirectUri: string, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<import("@intlayer/api").GitLabAuthCallbackResult>;
|
|
205
|
+
getProjects: (token?: string | null, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<import("@intlayer/api").GitLabListProjectsResult>;
|
|
206
|
+
checkIntlayerConfig: (token: string | null | undefined, projectId: number, branch?: string, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<import("@intlayer/api").GitLabCheckConfigResult>;
|
|
207
|
+
getConfigFile: (token: string | null | undefined, projectId: number, branch?: string, path?: string, instanceUrl?: string, otherOptions?: FetcherOptions) => Promise<import("@intlayer/api").GitLabGetConfigFileResult>;
|
|
208
|
+
};
|
|
209
|
+
declare const useBitbucketAPI: (props?: UseIntlayerAuthProps) => {
|
|
210
|
+
getAuthUrl: (redirectUri: string, otherOptions?: FetcherOptions) => Promise<import("@intlayer/api").BitbucketGetAuthUrlResult>;
|
|
211
|
+
authenticate: (code: string, otherOptions?: FetcherOptions) => Promise<import("@intlayer/api").BitbucketAuthCallbackResult>;
|
|
212
|
+
getRepositories: (token?: string | null, otherOptions?: FetcherOptions) => Promise<import("@intlayer/api").BitbucketListReposResult>;
|
|
213
|
+
checkIntlayerConfig: (token: string | null | undefined, workspace: string, repoSlug: string, branch?: string, otherOptions?: FetcherOptions) => Promise<import("@intlayer/api").BitbucketCheckConfigResult>;
|
|
214
|
+
getConfigFile: (token: string | null | undefined, workspace: string, repoSlug: string, branch?: string, path?: string, otherOptions?: FetcherOptions) => Promise<import("@intlayer/api").BitbucketGetConfigFileResult>;
|
|
215
|
+
};
|
|
216
|
+
declare const useShowcaseProjectAPI: (props?: UseIntlayerAuthProps) => {
|
|
217
|
+
getShowcaseProjects: (query?: import("@intlayer/api").ShowcaseProjectsQuery, otherOptions?: FetcherOptions) => Promise<GetShowcaseProjectsResult>;
|
|
218
|
+
getShowcaseProjectById: (projectId: import("@intlayer/backend").GetShowcaseProjectByIdParams["projectId"], otherOptions?: FetcherOptions) => Promise<GetShowcaseProjectByIdResult>;
|
|
219
|
+
getOtherShowcaseProjects: (query: import("@intlayer/api").OtherShowcaseProjectsQuery, otherOptions?: FetcherOptions) => Promise<GetOtherShowcaseProjectsResult>;
|
|
220
|
+
submitShowcaseProject: (body: import("@intlayer/backend").SubmitShowcaseProjectBody, otherOptions?: FetcherOptions) => Promise<SubmitShowcaseProjectResult>;
|
|
221
|
+
toggleShowcaseUpvote: (body: import("@intlayer/backend").ToggleShowcaseUpvoteBody, otherOptions?: FetcherOptions) => Promise<ToggleShowcaseUpvoteResult>;
|
|
222
|
+
toggleShowcaseDownvote: (body: import("@intlayer/backend").ToggleShowcaseDownvoteBody, otherOptions?: FetcherOptions) => Promise<ToggleShowcaseDownvoteResult>;
|
|
223
|
+
deleteShowcaseProject: (projectId: import("@intlayer/backend").GetShowcaseProjectByIdParams["projectId"], otherOptions?: FetcherOptions) => Promise<{
|
|
224
|
+
data: {
|
|
225
|
+
success: boolean;
|
|
226
|
+
};
|
|
227
|
+
}>;
|
|
228
|
+
updateShowcaseProject: (projectId: import("@intlayer/backend").GetShowcaseProjectByIdParams["projectId"], body: import("@intlayer/backend").UpdateShowcaseProjectBody, otherOptions?: FetcherOptions) => Promise<UpdateShowcaseProjectResult>;
|
|
229
|
+
};
|
|
230
|
+
declare const useTranslateAPI: (props?: UseIntlayerAuthProps) => {
|
|
231
|
+
translateDictionaries: (body: import("@intlayer/backend").TranslateDictionariesBody, otherOptions?: FetcherOptions) => Promise<import("@intlayer/backend").TranslateDictionariesResult>;
|
|
232
|
+
pauseTranslationJob: (jobId: string, otherOptions?: FetcherOptions) => Promise<{
|
|
233
|
+
data: {
|
|
234
|
+
jobId: string;
|
|
235
|
+
};
|
|
236
|
+
}>;
|
|
237
|
+
resumeTranslationJob: (jobId: string, otherOptions?: FetcherOptions) => Promise<{
|
|
238
|
+
data: {
|
|
239
|
+
jobId: string;
|
|
240
|
+
};
|
|
241
|
+
}>;
|
|
242
|
+
stopTranslationJob: (jobId: string, otherOptions?: FetcherOptions) => Promise<{
|
|
243
|
+
data: {
|
|
244
|
+
jobId: string;
|
|
245
|
+
};
|
|
246
|
+
}>;
|
|
247
|
+
retryTranslationJob: (jobId: string, otherOptions?: FetcherOptions) => Promise<{
|
|
248
|
+
data: {
|
|
249
|
+
jobId: string;
|
|
250
|
+
};
|
|
251
|
+
}>;
|
|
252
|
+
restartTranslationJob: (jobId: string, otherOptions?: FetcherOptions) => Promise<{
|
|
253
|
+
data: {
|
|
254
|
+
jobId: string;
|
|
255
|
+
};
|
|
256
|
+
}>;
|
|
257
|
+
};
|
|
258
|
+
declare const useReviewerAPI: (props?: UseIntlayerAuthProps) => {
|
|
259
|
+
getMarketplace: (params?: import("@intlayer/backend").GetMarketplaceQuery, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<ReviewerProfileAPI>>;
|
|
260
|
+
getPriceDistribution: (params?: Pick<import("@intlayer/backend").GetMarketplaceQuery, "fromLocale" | "toLocale" | "minRating" | "categories">, otherOptions?: FetcherOptions) => Promise<ResponseData<PriceDistributionData>>;
|
|
261
|
+
getReviewerById: (reviewerId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerProfileAPI>>;
|
|
262
|
+
getReviewerReviews: (reviewerId: string, params?: {
|
|
263
|
+
page?: number;
|
|
264
|
+
pageSize?: number;
|
|
265
|
+
}, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<ReviewerReviewAPI>>;
|
|
266
|
+
getMyReviewerProfile: (otherOptions?: FetcherOptions) => Promise<ResponseData<any>>;
|
|
267
|
+
registerAsReviewer: (body: import("@intlayer/backend").RegisterReviewerBody, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerProfileAPI>>;
|
|
268
|
+
updateReviewerProfile: (body: import("@intlayer/backend").UpdateReviewerBody, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerProfileAPI>>;
|
|
269
|
+
deleteReviewerProfile: (otherOptions?: FetcherOptions) => Promise<ResponseData<null>>;
|
|
270
|
+
estimateMission: (body: import("@intlayer/backend").EstimateMissionBody, otherOptions?: FetcherOptions) => Promise<ResponseData<MissionEstimate>>;
|
|
271
|
+
createMission: (body: import("@intlayer/backend").CreateMissionBody, otherOptions?: FetcherOptions) => Promise<ResponseData<TranslationMissionAPI>>;
|
|
272
|
+
getMyMissions: (params?: {
|
|
273
|
+
role?: "client" | "reviewer";
|
|
274
|
+
page?: number;
|
|
275
|
+
pageSize?: number;
|
|
276
|
+
}, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<TranslationMissionAPI>>;
|
|
277
|
+
getMissionById: (missionId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<TranslationMissionAPI>>;
|
|
278
|
+
updateMissionStatus: (missionId: string, body: import("@intlayer/backend").UpdateMissionStatusBody, otherOptions?: FetcherOptions) => Promise<ResponseData<TranslationMissionAPI>>;
|
|
279
|
+
submitReview: (missionId: string, body: import("@intlayer/backend").SubmitReviewBody, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerReviewAPI>>;
|
|
280
|
+
contactReviewer: (reviewerId: string, body: {
|
|
281
|
+
message: string;
|
|
282
|
+
}, otherOptions?: FetcherOptions) => Promise<ResponseData<null>>;
|
|
283
|
+
getChatHistory: (missionId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerMessageAPI[]>>;
|
|
284
|
+
sendMessage: (missionId: string, body: import("@intlayer/backend").SendMessageBody, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerMessageAPI>>;
|
|
285
|
+
getChatStreamUrl: (missionId: string) => string;
|
|
286
|
+
uploadMainPicture: (file: File, otherOptions?: FetcherOptions) => Promise<UploadReviewerPictureResult>;
|
|
287
|
+
uploadCoverPicture: (file: File, otherOptions?: FetcherOptions) => Promise<UploadReviewerPictureResult>;
|
|
288
|
+
validateReviewerProfile: (reviewerId: string, otherOptions?: FetcherOptions) => Promise<ResponseData<ReviewerProfileAPI>>;
|
|
289
|
+
getAdminReviewers: (params?: {
|
|
290
|
+
page?: number;
|
|
291
|
+
pageSize?: number;
|
|
292
|
+
status?: string;
|
|
293
|
+
}, otherOptions?: FetcherOptions) => Promise<PaginatedResponse<ReviewerProfileAPI>>;
|
|
294
|
+
};
|
|
295
|
+
//#endregion
|
|
296
|
+
export { UseIntlayerAuthProps, useAiAPI, useAuditAPI, useBitbucketAPI, useDictionaryAPI, useEditorAPI, useGithubAPI, useGitlabAPI, useIntlayerAuth, useIntlayerOAuth, useIntlayerOAuthOptions, useNewsletterAPI, useOAuthAPI, useOrganizationAPI, useProjectAPI, useReviewerAPI, useSearchAPI, useShowcaseProjectAPI, useStripeAPI, useTagAPI, useTranslateAPI, useUserAPI };
|
|
297
|
+
//# sourceMappingURL=useIntlayerAPI.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIntlayerAPI.d.ts","names":[],"sources":["../../../src/api/useIntlayerAPI.ts"],"mappings":";;;;;KA8BY,oBAAA;EACV,OAAA,GAAU,cAAA;EACV,qBAAA,GAAwB,cAAc;AAAA;AAAA,cAG3B,uBAAA,GAA2B,KAAA,GAAQ,oBAAA;;;;;;;;;;;;;;;;;;;;cAsBnC,gBAAA,GAAoB,KAAA,GAAQ,oBAAA,KAAuB,WAG/D;AAAA,cAEY,eAAA,GAAmB,KAAA,GAAQ,oBAAA,KAAuB,OAI9D;AAAA,cAEY,kBAAA,GAAsB,KAAA,GAAQ,oBAAA;2DAtD7B,sBAAA,EAAA,YAAA,GAAuC,cAAA,KAAA,OAAA,CAChC,sBAAA;uHAEF,cAAA,KAAA,OAAA,CAA6B,qBAAA;kGAEpB,cAAA,KAAA,OAAA,CACxB,qBAAA;sGACyB,cAAA,KAAA,OAAA,CACxB,2BAAA;wGAEF,cAAA,KAAA,OAAA,CAA6B,wBAAA;8GAED,cAAA,KAAA,OAAA,CAA6B,+BAAA;0IAKpD,cAAA,KAAA,OAAA,CACC,+BAAA;sCAGwB,cAAA,KAAA,OAAA,CAA6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AA,OAAA,CAA6B,2BAAA;kDAEzC,cAAA,KAAA,OAAA,CAE0B,2BAAA;+DAC4B,cAAA,KAAA,OAAA,CACzC,YAAA,CAAa,kBAAA;;;;;oBAIuB,cAAA,KAAA,OAAA,CACxC,iBAAA,CAAiB,kBAAA;AAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/api/useUser/index.ts"],"mappings":";cAKa,OAAA;;;;2BAuBZ,OAAA;gBAAA,OAAA;AAAA"}
|
|
@@ -9,7 +9,6 @@ import { VariantProps } from "class-variance-authority";
|
|
|
9
9
|
declare enum BadgeColor {
|
|
10
10
|
PRIMARY = "primary",
|
|
11
11
|
SECONDARY = "secondary",
|
|
12
|
-
DESTRUCTIVE = "destructive",
|
|
13
12
|
SUCCESS = "success",
|
|
14
13
|
ERROR = "error",
|
|
15
14
|
NEUTRAL = "neutral",
|
|
@@ -42,8 +41,8 @@ declare enum BadgeSize {
|
|
|
42
41
|
* @description Defines the styling variants for different badge combinations
|
|
43
42
|
*/
|
|
44
43
|
declare const badgeVariants: (props?: {
|
|
45
|
-
color?: "
|
|
46
|
-
variant?: "
|
|
44
|
+
color?: "error" | "text" | "primary" | "secondary" | "neutral" | "light" | "dark" | "success" | "custom";
|
|
45
|
+
variant?: "default" | "none" | "outline" | "hoverable";
|
|
47
46
|
size?: "sm" | "md" | "lg";
|
|
48
47
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
49
48
|
/**
|
|
@@ -79,7 +78,7 @@ type BadgeVariantProps = VariantProps<typeof badgeVariants>;
|
|
|
79
78
|
* <Badge>New</Badge>
|
|
80
79
|
*
|
|
81
80
|
* // Colored badge
|
|
82
|
-
* <Badge color={BadgeColor.
|
|
81
|
+
* <Badge color={BadgeColor.ERROR}>Error</Badge>
|
|
83
82
|
*
|
|
84
83
|
* // Clickable badge
|
|
85
84
|
* <Badge clickable onClick={() => console.log('clicked')}>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Badge/index.tsx"],"mappings":";;;;;;AAQA;;aAAY,UAAA;EACV,OAAA;EACA,SAAA;EACA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Badge/index.tsx"],"mappings":";;;;;;AAQA;;aAAY,UAAA;EACV,OAAA;EACA,SAAA;EACA,OAAA;EACA,KAAA;EACA,OAAA;EACA,KAAA;EACA,IAAA;EACA,IAAA;EACA,MAAA;AAAA;;AAAM;AAOR;;aAAY,YAAA;EACV,OAAA;EACA,IAAA;EACA,OAAA;EACA,SAAA;AAAA;;AAAS;AAOX;;aAAY,SAAA;EACV,KAAA;EACA,MAAA;EACA,KAAA;AAAA;;AAAK;AAOP;;cAAa,aAAA,GAAa,KAAA;;;;;;;;;KAkDd,UAAA,GAAa,cAAA,CAAe,WAAA;EAAlB,8CAEpB,QAAA,GAAW,KAAA,CAAM,SAAA,EAFqB;EAItC,KAAA,GAAQ,UAAA,MAAgB,UAAA,IAFb;EAIX,OAAA,GAAU,YAAA,MAAkB,YAAA,IAFJ;EAIxB,IAAA,GAAO,SAAA,MAAe,SAAA,IAFM;EAI5B,SAAA,YAFsB;EAItB,WAAA,YAEkB;EAAlB,OAAA,IAAW,KAAA,EAAO,KAAA,CAAM,UAAA,CAAW,WAAA,YAAD;EAElC,SAAA,eAhBsC;EAkBtC,YAAA,WAhBW;EAkBX,IAAA,oCAhBA;EAkBA,QAAA;AAAA;;;;KAMU,iBAAA,GAAoB,YAAY,QAAQ,aAAA;;;;;;;;;;;;;;;AAN1C;AAMV;;;;AAAiE;AA2BjE;;;;;cAAa,KAAA,EAAO,KAAA,CAAM,EAAE,CAAC,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Breadcrumb/index.tsx"],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Breadcrumb/index.tsx"],"mappings":";;;;;;;;;cA0EM,kBAAA,GAAkB,KAAA;;;;;;;KA4InB,sBAAA;;;;EAIH,IAAA;;;;EAIA,IAAA;EAIA;;AAAO;EAAP,OAAA;AAAA;;;AAQ0D;AAE5D;;KAFY,cAAA,YAA0B,sBAAsB;AAAA,KAEhD,eAAA;EASF;;;EALR,KAAA,EAAO,cAAA;EAkCe;;;;EA7BtB,KAAA,GAAQ,SAAA,MAAe,SAAA;EA8BT;;;EA1Bd,MAAA,GAAS,aAAA;EAJD;;;;EASR,WAAA;EAKA;;;;EAAA,SAAA,GAAY,SAAA;EAeV;;;;EAVF,SAAA;EAW+B;AA4BjC;;;EAlCE,qBAAA;EAkCyC;;;EA9BzC,QAAA;AAAA,IACE,YAAA,QAAoB,kBAAA,IACtB,cAAA,CAAe,gBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BJ,UAAA,EAAY,EAAE,CAAC,eAAA"}
|
|
@@ -36,7 +36,6 @@ declare enum ButtonVariant {
|
|
|
36
36
|
declare enum ButtonColor {
|
|
37
37
|
PRIMARY = "primary",
|
|
38
38
|
SECONDARY = "secondary",
|
|
39
|
-
DESTRUCTIVE = "destructive",
|
|
40
39
|
NEUTRAL = "neutral",
|
|
41
40
|
LIGHT = "light",
|
|
42
41
|
DARK = "dark",
|
|
@@ -61,9 +60,9 @@ declare enum ButtonTextAlign {
|
|
|
61
60
|
*/
|
|
62
61
|
declare const buttonVariants: (props?: {
|
|
63
62
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg" | "icon-xl";
|
|
64
|
-
color?: "
|
|
65
|
-
roundedSize?: "
|
|
66
|
-
variant?: "input" | "
|
|
63
|
+
color?: "error" | "text" | "primary" | "secondary" | "neutral" | "card" | "light" | "dark" | "current" | "text-inverse" | "success" | "custom";
|
|
64
|
+
roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "4xl" | "5xl" | "full";
|
|
65
|
+
variant?: "input" | "default" | "none" | "outline" | "link" | "invisible-link" | "hoverable" | "fade";
|
|
67
66
|
textAlign?: "left" | "center" | "right";
|
|
68
67
|
isFullWidth?: boolean;
|
|
69
68
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
@@ -148,10 +147,10 @@ type ButtonProps = DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HT
|
|
|
148
147
|
* Save
|
|
149
148
|
* </Button>
|
|
150
149
|
*
|
|
151
|
-
* //
|
|
150
|
+
* // Error action button
|
|
152
151
|
* <Button
|
|
153
152
|
* variant={`${ButtonVariant.OUTLINE}`}
|
|
154
|
-
* color={ButtonColor.
|
|
153
|
+
* color={ButtonColor.ERROR}
|
|
155
154
|
* label="Delete item permanently"
|
|
156
155
|
* aria-describedby="delete-warning"
|
|
157
156
|
* >
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","names":[],"sources":["../../../../src/components/Button/Button.tsx"],"mappings":";;;;;;;AAUA;aAAY,UAAA;EACV,EAAA;EACA,EAAA;EACA,EAAA;EACA,EAAA;EACA,EAAA;EACA,OAAA;EACA,OAAA;EACA,OAAA;EACA,OAAA;AAAA;;;AAAO;aAyBG,aAAA;EACV,OAAA;EACA,IAAA;EACA,OAAA;EACA,IAAA;EACA,cAAA;EACA,SAAA;EACA,IAAA;EACA,KAAA;AAAA;;;;aAMU,WAAA;EACV,OAAA;EACA,SAAA;EACA,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","names":[],"sources":["../../../../src/components/Button/Button.tsx"],"mappings":";;;;;;;AAUA;aAAY,UAAA;EACV,EAAA;EACA,EAAA;EACA,EAAA;EACA,EAAA;EACA,EAAA;EACA,OAAA;EACA,OAAA;EACA,OAAA;EACA,OAAA;AAAA;;;AAAO;aAyBG,aAAA;EACV,OAAA;EACA,IAAA;EACA,OAAA;EACA,IAAA;EACA,cAAA;EACA,SAAA;EACA,IAAA;EACA,KAAA;AAAA;;;;aAMU,WAAA;EACV,OAAA;EACA,SAAA;EACA,OAAA;EACA,KAAA;EACA,IAAA;EACA,IAAA;EACA,IAAA;EACA,YAAA;EACA,OAAA;EACA,KAAA;EACA,OAAA;EACA,MAAA;AAAA;;;;aAMU,eAAA;EACV,IAAA;EACA,MAAA;EACA,KAAA;AAAA;;;;cAMW,cAAA,GAAc,KAAA;;;;;;;;;;;KAiJf,WAAA,GAAc,iBAAA,CACxB,oBAAA,CAAqB,iBAAA,GACrB,iBAAA,IAEA,YAAA,QAAoB,cAAA;;;;;EAKlB,KAAA;EATQ;;;EAcR,IAAA,GAAO,EAAA,GAAK,UAAA;EAbd;;;EAkBE,SAAA,GAAY,EAAA,GAAK,UAAA;EAfnB;;;EAoBE,aAAA;EALiB;;;EAUjB,SAAA;EA5BF;;;EAiCE,QAAA;EA9BkB;;;EAmClB,UAAA;EAzBY;;;EA8BZ,WAAA;EApBA;;;EAyBA,kBAAA;EALA;;;EAUA,eAAA;EAkBA;;AAAc;EAbd,eAAA;EAwKH;;;EA3JG,cAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCS,MAAA,EAAQ,EAAE,CAAC,WAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Carousel/index.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/Carousel/index.tsx"],"mappings":";;;KA0GK,iBAAA,GAAoB,cAAA,CAAe,cAAA;EACtC,QAAA,EAAU,SAAA;AAAA;AAAA,KAkBP,uBAAA,GAA0B,cAAc,CAAC,cAAA;EAC5C,wBAAA;AAAA;AAAA,KAgHG,aAAA,GAAgB,cAAA,CAAe,cAAA;EAClC,QAAA,EAAU,SAAA;EACV,YAAA;EACA,aAAA,IAAiB,KAAA;AAAA;AAAA,cAkPN,QAAA,EAAQ,EAAA,CAAA,aAAA"}
|
|
@@ -5,7 +5,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
5
5
|
declare const collapsibleTableVariants: (props?: {
|
|
6
6
|
size?: "sm" | "md" | "lg" | "xl" | "full";
|
|
7
7
|
variant?: "default" | "ghost" | "dark" | "outlined";
|
|
8
|
-
spacing?: "
|
|
8
|
+
spacing?: "sm" | "md" | "lg" | "auto" | "none";
|
|
9
9
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
10
10
|
interface CollapsibleTableProps extends Omit<HTMLAttributes<HTMLElement>, 'title'>, VariantProps<typeof collapsibleTableVariants> {
|
|
11
11
|
/** Table title displayed in the header */
|
|
@@ -7,14 +7,14 @@ import { VariantProps } from "class-variance-authority";
|
|
|
7
7
|
* Provides flexible styling options for background, padding, borders, and layout
|
|
8
8
|
*/
|
|
9
9
|
declare const containerVariants: (props?: {
|
|
10
|
-
roundedSize?: "
|
|
11
|
-
transparency?: "
|
|
12
|
-
padding?: "
|
|
10
|
+
roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "4xl" | "full";
|
|
11
|
+
transparency?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "full";
|
|
12
|
+
padding?: "sm" | "md" | "lg" | "xl" | "2xl" | "none";
|
|
13
13
|
separator?: "both" | "without" | "x" | "y";
|
|
14
14
|
border?: "with" | "none";
|
|
15
15
|
borderColor?: "error" | "success" | "text" | "primary" | "secondary" | "neutral" | "card" | "warning";
|
|
16
16
|
background?: "with" | "none" | "hoverable";
|
|
17
|
-
gap?: "
|
|
17
|
+
gap?: "sm" | "md" | "lg" | "xl" | "2xl" | "none";
|
|
18
18
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
19
19
|
/** Available rounded corner sizes for the container */
|
|
20
20
|
declare enum ContainerRoundedSize {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextEditor.d.ts","names":[],"sources":["../../../../../src/components/DictionaryFieldEditor/ContentEditorView/TextEditor.tsx"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"TextEditor.d.ts","names":[],"sources":["../../../../../src/components/DictionaryFieldEditor/ContentEditorView/TextEditor.tsx"],"mappings":";;;;;cA6Fa,SAAA;AAAA,KA2ID,eAAA;EACV,UAAA,EAAY,UAAA;EACZ,OAAA,EAAS,OAAA;EACT,OAAA,EAAS,WAAA;EACT,UAAA;EACA,aAAA,IAAiB,OAAA,aAAoB,SAAA;EACrC,eAAA,IAAmB,QAAA;AAAA;AAAA,cAwrBR,UAAA,kBAAU,oBAAA,CAAA,eAAA;AAAA,cA8MV,mBAAA,kBAAmB,oBAAA,CAAA,eAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpandCollapse.d.ts","names":[],"sources":["../../../../src/components/ExpandCollapse/ExpandCollapse.tsx"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"ExpandCollapse.d.ts","names":[],"sources":["../../../../src/components/ExpandCollapse/ExpandCollapse.tsx"],"mappings":";;;;;AAgBA;KAAY,mBAAA;gHAEV,UAAA;EAEA,SAAA,WAEA;EAAA,QAAA,EAAU,SAAS,EAEnB;EAAA,SAAA;AAAA;AAyDF;;;;AAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAnD,cAAa,cAAA,EAAgB,EAAE,CAAC,mBAAA"}
|
|
@@ -5,7 +5,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
5
5
|
declare const checkboxVariants: (props?: {
|
|
6
6
|
variant?: "default";
|
|
7
7
|
size?: "xs" | "sm" | "md" | "lg";
|
|
8
|
-
color?: "error" | "success" | "text" | "primary" | "secondary" | "neutral" | "
|
|
8
|
+
color?: "error" | "success" | "text" | "primary" | "secondary" | "neutral" | "light" | "dark" | "text-inverse" | "custom";
|
|
9
9
|
validationStyleEnabled?: "enabled" | "disabled";
|
|
10
10
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
11
11
|
declare enum CheckboxSize {
|
|
@@ -17,7 +17,6 @@ declare enum CheckboxSize {
|
|
|
17
17
|
declare enum CheckboxColor {
|
|
18
18
|
PRIMARY = "primary",
|
|
19
19
|
SECONDARY = "secondary",
|
|
20
|
-
DESTRUCTIVE = "destructive",
|
|
21
20
|
NEUTRAL = "neutral",
|
|
22
21
|
LIGHT = "light",
|
|
23
22
|
TEXT = "text",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.d.ts","names":[],"sources":["../../../../src/components/Input/Checkbox.tsx"],"mappings":";;;;cASa,gBAAA,GAAgB,KAAA;;;;;;
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","names":[],"sources":["../../../../src/components/Input/Checkbox.tsx"],"mappings":";;;;cASa,gBAAA,GAAgB,KAAA;;;;;;aAoEjB,YAAA;EACV,EAAA;EACA,EAAA;EACA,EAAA;EACA,EAAA;AAAA;AAAA,aAGU,aAAA;EACV,OAAA;EACA,SAAA;EACA,OAAA;EACA,KAAA;EACA,IAAA;EACA,YAAA;EACA,IAAA;EACA,KAAA;EACA,OAAA;EACA,MAAA;AAAA;AAAA,KAGU,aAAA,GAAgB,IAAA,CAC1B,iBAAA,CAAkB,mBAAA,CAAoB,gBAAA,GAAmB,gBAAA;EAGzD,IAAA;EACA,sBAAA;EACA,KAAA,GAAQ,SAAA;AAAA,IACN,IAAA,CACA,YAAA,QAAoB,gBAAA;EAGpB,IAAA,GAAO,YAAA,MAAkB,YAAA;EACzB,KAAA,GAAQ,aAAA,MAAmB,aAAA;EAC3B,cAAA;AAAA;AAAA,cA6BS,QAAA,EAAU,EAAE,CAAC,aAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/LanguageBackground/index.tsx"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/components/LanguageBackground/index.tsx"],"mappings":";;;;cAkBa,kBAAA,EAAoB,EAAE,CAAC,iBAAA"}
|
|
@@ -19,7 +19,6 @@ declare enum LinkVariant {
|
|
|
19
19
|
declare enum LinkColor {
|
|
20
20
|
PRIMARY = "primary",
|
|
21
21
|
SECONDARY = "secondary",
|
|
22
|
-
DESTRUCTIVE = "destructive",
|
|
23
22
|
NEUTRAL = "neutral",
|
|
24
23
|
LIGHT = "light",
|
|
25
24
|
DARK = "dark",
|
|
@@ -53,8 +52,8 @@ declare enum LinkUnderlined {
|
|
|
53
52
|
}
|
|
54
53
|
declare const linkVariants: (props?: {
|
|
55
54
|
variant?: "default" | "invisible-link" | "hoverable" | "button" | "button-outlined";
|
|
56
|
-
roundedSize?: "
|
|
57
|
-
color?: "
|
|
55
|
+
roundedSize?: "sm" | "md" | "lg" | "xl" | "2xl" | "none" | "3xl" | "full";
|
|
56
|
+
color?: "error" | "text" | "primary" | "secondary" | "neutral" | "light" | "dark" | "text-inverse" | "success" | "custom";
|
|
58
57
|
size?: "sm" | "md" | "lg" | "xl" | "custom";
|
|
59
58
|
underlined?: boolean | LinkUnderlined.DEFAULT;
|
|
60
59
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.d.ts","names":[],"sources":["../../../../src/components/Link/Link.tsx"],"mappings":";;;;;;;AAgBA;aAAY,WAAA;EACV,OAAA;EACA,cAAA;EACA,MAAA;EACA,eAAA;EACA,SAAA;AAAA;;;AAAS;aAMC,SAAA;EACV,OAAA;EACA,SAAA;EACA,
|
|
1
|
+
{"version":3,"file":"Link.d.ts","names":[],"sources":["../../../../src/components/Link/Link.tsx"],"mappings":";;;;;;;AAgBA;aAAY,WAAA;EACV,OAAA;EACA,cAAA;EACA,MAAA;EACA,eAAA;EACA,SAAA;AAAA;;;AAAS;aAMC,SAAA;EACV,OAAA;EACA,SAAA;EACA,OAAA;EACA,KAAA;EACA,IAAA;EACA,IAAA;EACA,YAAA;EACA,KAAA;EACA,OAAA;EACA,MAAA;AAAA;AAAA,aAGU,eAAA;EACV,IAAA;EACA,EAAA;EACA,EAAA;EACA,EAAA;EACA,EAAA;EACA,MAAA;EACA,QAAA;EACA,IAAA;AAAA;AAAA,aAGU,QAAA;EACV,EAAA;EACA,EAAA;EACA,EAAA;EACA,EAAA;EACA,MAAA;AAAA;AAAA,aAGU,cAAA;EACV,OAAA;EACA,IAAA;EACA,KAAA;AAAA;AAAA,cAGW,YAAA,GAAY,KAAA;;;;;yBA8JxB,cAAA,CAAA,OAAA;AAAA;KAEW,SAAA,GAAY,iBAAA,CACtB,oBAAA,CAAqB,iBAAA,GACrB,iBAAA,IAEA,YAAA,QAAoB,YAAA;EAClB,KAAA;EACA,cAAA;EACA,aAAA;EACA,QAAA;EACA,MAAA,GAAS,aAAA;AAAA;AAAA,cAGA,mBAAA;EAAuB,IAAA;EAAA,cAAA,EAAA;AAAA,GAGjC,IAAA,CAAK,SAAA;AAAA,cAWK,cAAA,GAAkB,QAAmB,EAAT,SAAS;AAAA,cAerC,IAAA,EAAM,EAAE,CAAC,SAAA"}
|
|
@@ -4,7 +4,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
4
4
|
//#region src/components/Pagination/Pagination.d.ts
|
|
5
5
|
declare const paginationVariants: (props?: {
|
|
6
6
|
size?: "sm" | "md" | "lg";
|
|
7
|
-
color?: "text" | "primary" | "secondary" | "neutral"
|
|
7
|
+
color?: "text" | "primary" | "secondary" | "neutral";
|
|
8
8
|
variant?: "default" | "bordered" | "ghost";
|
|
9
9
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
10
10
|
declare enum PaginationSize {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.d.ts","names":[],"sources":["../../../../src/components/Pagination/Pagination.tsx"],"mappings":";;;;cAgBa,kBAAA,GAAkB,KAAA;;;;;
|
|
1
|
+
{"version":3,"file":"Pagination.d.ts","names":[],"sources":["../../../../src/components/Pagination/Pagination.tsx"],"mappings":";;;;cAgBa,kBAAA,GAAkB,KAAA;;;;;aA4BnB,cAAA;EACV,EAAA;EACA,EAAA;EACA,EAAA;AAAA;AAAA,aAGU,iBAAA;EACV,OAAA;EACA,QAAA;EACA,KAAA;AAAA;AAAA,KAGU,eAAA,GAAkB,cAAA,CAAe,cAAA,IAC3C,YAAA,QAAoB,kBAAA;EAClB,WAAA;EACA,UAAA;EACA,YAAA,GAAe,IAAA;EACf,aAAA;EACA,YAAA;EACA,eAAA;EACA,QAAA;AAAA;AAAA,cAwES,UAAA,EAAY,EAAE,CAAC,eAAA"}
|
|
@@ -11,7 +11,6 @@ declare const defaultChoices: SwitchSelectorChoices<boolean>;
|
|
|
11
11
|
declare enum SwitchSelectorColor {
|
|
12
12
|
PRIMARY = "primary",
|
|
13
13
|
SECONDARY = "secondary",
|
|
14
|
-
DESTRUCTIVE = "destructive",
|
|
15
14
|
NEUTRAL = "neutral",
|
|
16
15
|
LIGHT = "light",
|
|
17
16
|
DARK = "dark",
|
|
@@ -36,14 +35,14 @@ type SwitchSelectorBaseProps<T = boolean> = {
|
|
|
36
35
|
};
|
|
37
36
|
type SwitchSelectorProps<T = boolean> = SwitchSelectorBaseProps<T> & VariantProps<typeof switchSelectorVariant> & VariantProps<typeof choiceVariant>;
|
|
38
37
|
declare const switchSelectorVariant: (props?: {
|
|
39
|
-
color?: "text" | "primary" | "secondary" | "
|
|
38
|
+
color?: "text" | "primary" | "secondary" | "neutral" | "light" | "dark";
|
|
40
39
|
disabled?: boolean;
|
|
41
40
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
42
41
|
declare const choiceVariant: (props?: {
|
|
43
42
|
size?: "xs" | "sm" | "md" | "lg";
|
|
44
43
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
45
44
|
declare const indicatorVariant: (props?: {
|
|
46
|
-
color?:
|
|
45
|
+
color?: string | number;
|
|
47
46
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
48
47
|
/**
|
|
49
48
|
* Component that allows the user to select one of the provided choices.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwitchSelector.d.ts","names":[],"sources":["../../../../src/components/SwitchSelector/SwitchSelector.tsx"],"mappings":";;;;KAOY,oBAAA;EACV,OAAA,EAAS,SAAA;EACT,KAAA,EAAO,CAAA;AAAA,IACL,cAAA,CAAe,iBAAA;AAAA,KACP,qBAAA,MAA2B,oBAAoB,CAAC,CAAA;AAAA,cAE/C,cAAA,EAAgB,qBAAqB;AAAA,aAKtC,mBAAA;EACV,OAAA;EACA,SAAA;EACA,
|
|
1
|
+
{"version":3,"file":"SwitchSelector.d.ts","names":[],"sources":["../../../../src/components/SwitchSelector/SwitchSelector.tsx"],"mappings":";;;;KAOY,oBAAA;EACV,OAAA,EAAS,SAAA;EACT,KAAA,EAAO,CAAA;AAAA,IACL,cAAA,CAAe,iBAAA;AAAA,KACP,qBAAA,MAA2B,oBAAoB,CAAC,CAAA;AAAA,cAE/C,cAAA,EAAgB,qBAAqB;AAAA,aAKtC,mBAAA;EACV,OAAA;EACA,SAAA;EACA,OAAA;EACA,KAAA;EACA,IAAA;EACA,IAAA;AAAA;AAAA,aAGU,kBAAA;EACV,EAAA;EACA,EAAA;EACA,EAAA;EACA,EAAA;AAAA;AAAA,KAGU,uBAAA;EACV,OAAA,GAAU,qBAAA,CAAsB,CAAA;EAChC,KAAA,GAAQ,CAAA;EACR,YAAA,GAAe,CAAA;EACf,QAAA,IAAY,MAAA,EAAQ,CAAA;EACpB,SAAA;EACA,aAAA;EACA,SAAA;EACA,QAAA;EAAA,CACC,GAAA;AAAA;AAAA,KAGS,mBAAA,gBAAmC,uBAAA,CAAwB,CAAA,IACrE,YAAA,QAAoB,qBAAA,IACpB,YAAA,QAAoB,aAAA;AAAA,cAET,qBAAA,GAAqB,KAAA;;;;cAwBrB,aAAA,GAAa,KAAA;;;cAiBb,gBAAA,GAAgB,KAAA;;;;;;AAnEvB;cA+FO,cAAA,MAAsB,KAAA,EAAO,mBAAmB,CAAC,CAAA,kCAAE,GAAA,CAAA,OAAA"}
|
|
@@ -3,7 +3,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
3
3
|
|
|
4
4
|
//#region src/components/SwitchSelector/VerticalSwitchSelector.d.ts
|
|
5
5
|
declare const verticalSwitchSelectorVariant: (props?: {
|
|
6
|
-
color?:
|
|
6
|
+
color?: string | number;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
9
9
|
declare const verticalChoiceVariant: (props?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerticalSwitchSelector.d.ts","names":[],"sources":["../../../../src/components/SwitchSelector/VerticalSwitchSelector.tsx"],"mappings":";;;;cAaM,6BAAA,GAA6B,KAAA;;;;
|
|
1
|
+
{"version":3,"file":"VerticalSwitchSelector.d.ts","names":[],"sources":["../../../../src/components/SwitchSelector/VerticalSwitchSelector.tsx"],"mappings":";;;;cAaM,6BAAA,GAA6B,KAAA;;;;cAyB7B,qBAAA,GAAqB,KAAA;;;KAwCf,2BAAA,gBACV,uBAAA,CAAwB,CAAA,IACtB,YAAA,QAAoB,6BAAA,IACpB,YAAA,QAAoB,qBAAA;;;;;cAMX,sBAAA,MACX,KAAA,EAAO,2BAA2B,CAAC,CAAA,kCAAE,GAAA,CAAA,OAAA"}
|