@omniumretail/shared-resources 0.0.25 → 0.0.26
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/.eslintrc.json +31 -31
- package/README.md +44 -44
- package/dist/bundle.js +244 -211
- package/dist/types/components/BottomDrawer/index.d.ts +9 -9
- package/dist/types/components/Button/index.d.ts +2 -2
- package/dist/types/components/Footer/index.d.ts +3 -3
- package/dist/types/components/Form/FormInputField/index.d.ts +8 -8
- package/dist/types/components/Form/FormSelectField/index.d.ts +9 -9
- package/dist/types/components/Form/index.d.ts +2 -2
- package/dist/types/components/Header/index.d.ts +4 -4
- package/dist/types/components/Link/index.d.ts +6 -6
- package/dist/types/components/Navigation/index.d.ts +8 -8
- package/dist/types/components/Page/index.d.ts +13 -13
- package/dist/types/components/SharedContextProvider/index.d.ts +7 -7
- package/dist/types/components/index.d.ts +9 -9
- package/dist/types/constants/Icons.d.ts +15 -15
- package/dist/types/constants/QueryClient.d.ts +2 -2
- package/dist/types/constants/index.d.ts +2 -2
- package/dist/types/contexts/useStore.d.ts +8 -8
- package/dist/types/hooks/activateEvaluationCycleQuery.hook.d.ts +2 -2
- package/dist/types/hooks/activateQuestionnaireQuery.hook.d.ts +2 -2
- package/dist/types/hooks/cancelEvaluationCycleQuery.hook.d.ts +2 -2
- package/dist/types/hooks/cancelQuestionnaireQuery.hook.d.ts +2 -2
- package/dist/types/hooks/deleteEvaluationCycleQuery.hook.d.ts +2 -2
- package/dist/types/hooks/deleteQuestionnaireQuery.hook.d.ts +2 -2
- package/dist/types/hooks/duplicateQuestionnaireQuery.hook.d.ts +2 -2
- package/dist/types/hooks/finishEvaluationCycleQuery.hook.d.ts +2 -2
- package/dist/types/hooks/finishQuestionnaireQuery.hook.d.ts +2 -2
- package/dist/types/hooks/index.d.ts +44 -42
- package/dist/types/hooks/useAllRolesQuery.hook.d.ts +11 -11
- package/dist/types/hooks/useAllStoreQuery.hook.d.ts +13 -13
- package/dist/types/hooks/useAnalyticsEvaluationCyclesQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useAnalyticsQuestionsQuery.hook.d.ts +9 -9
- package/dist/types/hooks/useAnalyticsSideBarQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useAnalyticsUserIdQuery.hook.d.ts +9 -9
- package/dist/types/hooks/useAnalyticsUserQuery.hook.d.ts +9 -9
- package/dist/types/hooks/useAnswerIdQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useAnswerMutateQuery.hook.d.ts +9 -9
- package/dist/types/hooks/useAnswersUserSupervisorQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useApplicationDataQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useContractStatesQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useCountriesQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useCustomersQuery.hook.d.ts +138 -138
- package/dist/types/hooks/useEvaluationCycleIdQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useEvaluationCycleMutateQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useEvaluationCycleQuery.hook.d.ts +8 -8
- package/dist/types/hooks/useExpUsersAnswersQuery.hook.d.ts +8 -0
- package/dist/types/hooks/useJobTitlesQuery.hook.d.ts +7 -7
- package/dist/types/hooks/useProductHierarchies.hook.d.ts +7 -7
- package/dist/types/hooks/useProductsQuery.hook.d.ts +138 -138
- package/dist/types/hooks/useQuestionnaireIdQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useQuestionnaireMutateQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useQuestionnaireQuery.hook.d.ts +9 -9
- package/dist/types/hooks/useSingleUserIdMutateQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useSingleUserIdQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useSingleUserResetPassword.hook.d.ts +2 -2
- package/dist/types/hooks/useStoreQuery.d.ts +7 -7
- package/dist/types/hooks/useTermNotificationQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useUpdateSupervisorMutateQuery.hook.d.ts +8 -0
- package/dist/types/hooks/useUserBlockQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useUserEmailVerifQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useUserIdQuery.hook.d.ts +2 -2
- package/dist/types/hooks/useUserListQuery.hook.d.ts +8 -8
- package/dist/types/hooks/useUserQuery.hook.d.ts +10 -10
- package/dist/types/index.d.ts +7 -7
- package/dist/types/interfaces/AnalyticsEvaluationCycle.d.ts +19 -19
- package/dist/types/interfaces/AnalyticsUserId.d.ts +12 -11
- package/dist/types/interfaces/Answer.d.ts +12 -12
- package/dist/types/interfaces/AnswersUserSupervisor.d.ts +42 -42
- package/dist/types/interfaces/ApplicationsByCategory.d.ts +16 -16
- package/dist/types/interfaces/Brand.d.ts +4 -4
- package/dist/types/interfaces/Cart.d.ts +10 -10
- package/dist/types/interfaces/Configuration.d.ts +6 -6
- package/dist/types/interfaces/ContractStates.d.ts +7 -7
- package/dist/types/interfaces/Countries.d.ts +10 -10
- package/dist/types/interfaces/Customer.d.ts +21 -21
- package/dist/types/interfaces/EvaluationCycle.d.ts +32 -32
- package/dist/types/interfaces/ExpUsersAnswers.d.ts +15 -0
- package/dist/types/interfaces/JobTitles.d.ts +7 -7
- package/dist/types/interfaces/Product.d.ts +15 -15
- package/dist/types/interfaces/ProductsHierarchies.d.ts +5 -5
- package/dist/types/interfaces/Questionnaire.d.ts +36 -36
- package/dist/types/interfaces/ResponseList.d.ts +5 -5
- package/dist/types/interfaces/Roles.d.ts +5 -5
- package/dist/types/interfaces/Store.d.ts +7 -7
- package/dist/types/interfaces/TermNotification.d.ts +5 -5
- package/dist/types/interfaces/User.d.ts +65 -65
- package/dist/types/interfaces/index.d.ts +22 -21
- package/dist/types/services/ApiService/index.d.ts +9 -9
- package/dist/types/services/InitService/index.d.ts +3 -3
- package/dist/types/services/index.d.ts +2 -2
- package/package.json +54 -54
- package/src/assets/sitoo.svg +9 -9
- package/src/components/BottomDrawer/index.tsx +32 -32
- package/src/components/BottomDrawer/styles.module.scss +59 -59
- package/src/components/Button/index.tsx +7 -7
- package/src/components/Footer/index.tsx +44 -44
- package/src/components/Footer/styles.module.scss +33 -33
- package/src/components/Form/FormInputField/index.tsx +18 -18
- package/src/components/Form/FormSelectField/index.tsx +16 -16
- package/src/components/Form/index.ts +2 -2
- package/src/components/Header/index.tsx +20 -20
- package/src/components/Header/styles.module.scss +16 -16
- package/src/components/Link/index.tsx +21 -21
- package/src/components/Link/styles.module.scss +24 -24
- package/src/components/Navigation/index.tsx +30 -30
- package/src/components/Navigation/styles.module.scss +34 -34
- package/src/components/Page/index.tsx +35 -35
- package/src/components/Page/styles.module.scss +26 -26
- package/src/components/SharedContextProvider/index.tsx +30 -30
- package/src/components/index.ts +9 -9
- package/src/constants/Icons.ts +23 -23
- package/src/constants/QueryClient.ts +10 -10
- package/src/constants/index.ts +2 -2
- package/src/contexts/useStore.tsx +20 -20
- package/src/global.scss +124 -124
- package/src/hooks/activateEvaluationCycleQuery.hook.ts +15 -15
- package/src/hooks/activateQuestionnaireQuery.hook.ts +15 -15
- package/src/hooks/cancelEvaluationCycleQuery.hook.ts +15 -15
- package/src/hooks/cancelQuestionnaireQuery.hook.ts +15 -15
- package/src/hooks/deleteEvaluationCycleQuery.hook.ts +15 -15
- package/src/hooks/deleteQuestionnaireQuery.hook.ts +15 -15
- package/src/hooks/duplicateQuestionnaireQuery.hook.ts +14 -14
- package/src/hooks/finishEvaluationCycleQuery.hook.ts +15 -15
- package/src/hooks/finishQuestionnaireQuery.hook.ts +15 -15
- package/src/hooks/index.ts +44 -42
- package/src/hooks/useAllRolesQuery.hook.ts +21 -21
- package/src/hooks/useAllStoreQuery.hook.ts +39 -39
- package/src/hooks/useAnalyticsEvaluationCyclesQuery.hook.ts +21 -21
- package/src/hooks/useAnalyticsQuestionsQuery.hook.ts +22 -22
- package/src/hooks/useAnalyticsSideBarQuery.hook.ts +21 -21
- package/src/hooks/useAnalyticsUserIdQuery.hook.ts +24 -24
- package/src/hooks/useAnalyticsUserQuery.hook.ts +27 -27
- package/src/hooks/useAnswerIdQuery.hook.ts +13 -13
- package/src/hooks/useAnswerMutateQuery.hook.ts +31 -31
- package/src/hooks/useAnswersUserSupervisorQuery.hook.tsx +21 -21
- package/src/hooks/useApplicationDataQuery.hook.ts +10 -10
- package/src/hooks/useContractStatesQuery.hook.ts +14 -14
- package/src/hooks/useCountriesQuery.hook.ts +14 -14
- package/src/hooks/useCustomersQuery.hook.ts +30 -30
- package/src/hooks/useEvaluationCycleIdQuery.hook.ts +13 -13
- package/src/hooks/useEvaluationCycleMutateQuery.hook.ts +17 -17
- package/src/hooks/useEvaluationCycleQuery.hook.ts +25 -25
- package/src/hooks/useExpUsersAnswersQuery.hook.ts +25 -0
- package/src/hooks/useJobTitlesQuery.hook.ts +14 -14
- package/src/hooks/useProductHierarchies.hook.ts +12 -12
- package/src/hooks/useProductsQuery.hook.ts +30 -30
- package/src/hooks/useQuestionnaireIdQuery.hook.ts +13 -13
- package/src/hooks/useQuestionnaireMutateQuery.hook.ts +17 -17
- package/src/hooks/useQuestionnaireQuery.hook.ts +27 -27
- package/src/hooks/useSingleUserIdMutateQuery.hook.ts +18 -18
- package/src/hooks/useSingleUserIdQuery.hook.ts +14 -14
- package/src/hooks/useSingleUserResetPassword.hook.ts +15 -15
- package/src/hooks/useStoreQuery.ts +13 -13
- package/src/hooks/useTermNotificationQuery.hook.ts +11 -11
- package/src/hooks/useUpdateSupervisorMutateQuery.hook.ts +27 -0
- package/src/hooks/useUserBlockQuery.hook.ts +15 -15
- package/src/hooks/useUserEmailVerifQuery.hook.ts +15 -15
- package/src/hooks/useUserIdQuery.hook.ts +14 -14
- package/src/hooks/useUserListQuery.hook.ts +25 -25
- package/src/hooks/useUserQuery.hook.ts +29 -29
- package/src/index.ts +9 -9
- package/src/interfaces/AnalyticsEvaluationCycle.ts +24 -24
- package/src/interfaces/AnalyticsUserId.ts +13 -12
- package/src/interfaces/Answer.ts +13 -13
- package/src/interfaces/AnswersUserSupervisor.ts +45 -45
- package/src/interfaces/ApplicationsByCategory.ts +19 -19
- package/src/interfaces/Brand.ts +4 -4
- package/src/interfaces/Cart.ts +13 -13
- package/src/interfaces/Configuration.ts +7 -7
- package/src/interfaces/ContractStates.ts +7 -7
- package/src/interfaces/Countries.ts +10 -10
- package/src/interfaces/Customer.ts +23 -23
- package/src/interfaces/EvaluationCycle.ts +32 -32
- package/src/interfaces/ExpUsersAnswers.ts +16 -0
- package/src/interfaces/JobTitles.ts +7 -7
- package/src/interfaces/Product.ts +17 -17
- package/src/interfaces/ProductsHierarchies.ts +6 -6
- package/src/interfaces/Questionnaire.ts +38 -38
- package/src/interfaces/ResponseList.ts +6 -6
- package/src/interfaces/Roles.ts +5 -5
- package/src/interfaces/Store.ts +8 -8
- package/src/interfaces/TermNotification.ts +5 -5
- package/src/interfaces/User.ts +69 -69
- package/src/interfaces/index.ts +22 -21
- package/src/services/ApiService/index.ts +125 -125
- package/src/services/InitService/index.ts +7 -7
- package/src/services/index.ts +3 -3
- package/src/types/Global.d.ts +4 -4
- package/tsconfig.json +27 -27
- package/webpack.config.js +48 -48
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { DrawerProps } from "antd";
|
|
2
|
-
interface BottomDrawerProps extends DrawerProps {
|
|
3
|
-
haveReset?: boolean;
|
|
4
|
-
resetButtonName?: string;
|
|
5
|
-
closeButtonName: string;
|
|
6
|
-
onReset?: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const BottomDrawer: ({ haveReset, resetButtonName, closeButtonName, onReset, ...restProps }: BottomDrawerProps) => JSX.Element;
|
|
9
|
-
export {};
|
|
1
|
+
import { DrawerProps } from "antd";
|
|
2
|
+
interface BottomDrawerProps extends DrawerProps {
|
|
3
|
+
haveReset?: boolean;
|
|
4
|
+
resetButtonName?: string;
|
|
5
|
+
closeButtonName: string;
|
|
6
|
+
onReset?: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const BottomDrawer: ({ haveReset, resetButtonName, closeButtonName, onReset, ...restProps }: BottomDrawerProps) => JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ButtonProps } from 'antd';
|
|
2
|
-
export declare const Button: (props: ButtonProps) => JSX.Element;
|
|
1
|
+
import { ButtonProps } from 'antd';
|
|
2
|
+
export declare const Button: (props: ButtonProps) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const FooterComponent: ({ className }: {
|
|
2
|
-
className?: string;
|
|
3
|
-
}) => JSX.Element;
|
|
1
|
+
export declare const FooterComponent: ({ className }: {
|
|
2
|
+
className?: string;
|
|
3
|
+
}) => JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FormItemProps, InputProps } from 'antd';
|
|
2
|
-
interface FormInputFieldProps extends Omit<FormItemProps, "name"> {
|
|
3
|
-
name: string;
|
|
4
|
-
inputProps?: InputProps;
|
|
5
|
-
}
|
|
6
|
-
export declare const InputField: (inputProps: InputProps) => JSX.Element;
|
|
7
|
-
export declare const FormInputField: ({ inputProps, ...itemProps }: FormInputFieldProps) => JSX.Element;
|
|
8
|
-
export {};
|
|
1
|
+
import { FormItemProps, InputProps } from 'antd';
|
|
2
|
+
interface FormInputFieldProps extends Omit<FormItemProps, "name"> {
|
|
3
|
+
name: string;
|
|
4
|
+
inputProps?: InputProps;
|
|
5
|
+
}
|
|
6
|
+
export declare const InputField: (inputProps: InputProps) => JSX.Element;
|
|
7
|
+
export declare const FormInputField: ({ inputProps, ...itemProps }: FormInputFieldProps) => JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { FormItemProps } from 'antd';
|
|
2
|
-
import { LabeledValue, SelectProps } from 'antd/lib/select';
|
|
3
|
-
interface FormSelectFieldProps extends Omit<FormItemProps, "name"> {
|
|
4
|
-
name: string;
|
|
5
|
-
options: LabeledValue[];
|
|
6
|
-
selectProps?: SelectProps<LabeledValue>;
|
|
7
|
-
}
|
|
8
|
-
export declare const FormSelectField: ({ options, selectProps, ...itemProps }: FormSelectFieldProps) => JSX.Element;
|
|
9
|
-
export {};
|
|
1
|
+
import { FormItemProps } from 'antd';
|
|
2
|
+
import { LabeledValue, SelectProps } from 'antd/lib/select';
|
|
3
|
+
interface FormSelectFieldProps extends Omit<FormItemProps, "name"> {
|
|
4
|
+
name: string;
|
|
5
|
+
options: LabeledValue[];
|
|
6
|
+
selectProps?: SelectProps<LabeledValue>;
|
|
7
|
+
}
|
|
8
|
+
export declare const FormSelectField: ({ options, selectProps, ...itemProps }: FormSelectFieldProps) => JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './FormInputField';
|
|
2
|
-
export * from './FormSelectField';
|
|
1
|
+
export * from './FormInputField';
|
|
2
|
+
export * from './FormSelectField';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface HeaderProps {
|
|
2
|
-
onOpenMenu: () => void;
|
|
3
|
-
}
|
|
4
|
-
export declare const Header: ({ onOpenMenu }: HeaderProps) => JSX.Element;
|
|
1
|
+
export interface HeaderProps {
|
|
2
|
+
onOpenMenu: () => void;
|
|
3
|
+
}
|
|
4
|
+
export declare const Header: ({ onOpenMenu }: HeaderProps) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ButtonProps } from 'antd';
|
|
2
|
-
export interface CustomLinkProps extends ButtonProps {
|
|
3
|
-
iconAlignRight?: boolean;
|
|
4
|
-
linkSecondary?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const Link: (props: CustomLinkProps) => JSX.Element;
|
|
1
|
+
import { ButtonProps } from 'antd';
|
|
2
|
+
export interface CustomLinkProps extends ButtonProps {
|
|
3
|
+
iconAlignRight?: boolean;
|
|
4
|
+
linkSecondary?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const Link: (props: CustomLinkProps) => JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface NavigationProps {
|
|
2
|
-
backLink?: boolean;
|
|
3
|
-
title: string;
|
|
4
|
-
homeLink?: boolean;
|
|
5
|
-
loginLink?: boolean;
|
|
6
|
-
onClickFunction?: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const Navigation: (props: NavigationProps) => JSX.Element;
|
|
1
|
+
export interface NavigationProps {
|
|
2
|
+
backLink?: boolean;
|
|
3
|
+
title: string;
|
|
4
|
+
homeLink?: boolean;
|
|
5
|
+
loginLink?: boolean;
|
|
6
|
+
onClickFunction?: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const Navigation: (props: NavigationProps) => JSX.Element;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface PageContentProps extends PageBaseProps {
|
|
3
|
-
isLoading?: boolean;
|
|
4
|
-
}
|
|
5
|
-
interface PageBaseProps {
|
|
6
|
-
children?: React.ReactNode | React.ReactNode[];
|
|
7
|
-
}
|
|
8
|
-
export declare const Page: {
|
|
9
|
-
({ children }: PageBaseProps): JSX.Element;
|
|
10
|
-
Header: ({ children }: PageBaseProps) => JSX.Element;
|
|
11
|
-
Content: ({ children, isLoading }: PageContentProps) => JSX.Element;
|
|
12
|
-
};
|
|
13
|
-
export {};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface PageContentProps extends PageBaseProps {
|
|
3
|
+
isLoading?: boolean;
|
|
4
|
+
}
|
|
5
|
+
interface PageBaseProps {
|
|
6
|
+
children?: React.ReactNode | React.ReactNode[];
|
|
7
|
+
}
|
|
8
|
+
export declare const Page: {
|
|
9
|
+
({ children }: PageBaseProps): JSX.Element;
|
|
10
|
+
Header: ({ children }: PageBaseProps) => JSX.Element;
|
|
11
|
+
Content: ({ children, isLoading }: PageContentProps) => JSX.Element;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface SharedContextProviderProps {
|
|
3
|
-
providers?: React.JSXElementConstructor<unknown>[];
|
|
4
|
-
children?: React.ReactElement | React.ReactElement[];
|
|
5
|
-
disableInitialStoreRequest?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const SharedContextProvider: ({ children, disableInitialStoreRequest }: SharedContextProviderProps) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface SharedContextProviderProps {
|
|
3
|
+
providers?: React.JSXElementConstructor<unknown>[];
|
|
4
|
+
children?: React.ReactElement | React.ReactElement[];
|
|
5
|
+
disableInitialStoreRequest?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const SharedContextProvider: ({ children, disableInitialStoreRequest }: SharedContextProviderProps) => JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from './SharedContextProvider';
|
|
2
|
-
export * from './Header';
|
|
3
|
-
export * from './Footer';
|
|
4
|
-
export * from './Page';
|
|
5
|
-
export * from './Button';
|
|
6
|
-
export * from './BottomDrawer';
|
|
7
|
-
export * from './Form';
|
|
8
|
-
export * from './Link';
|
|
9
|
-
export * from './Navigation';
|
|
1
|
+
export * from './SharedContextProvider';
|
|
2
|
+
export * from './Header';
|
|
3
|
+
export * from './Footer';
|
|
4
|
+
export * from './Page';
|
|
5
|
+
export * from './Button';
|
|
6
|
+
export * from './BottomDrawer';
|
|
7
|
+
export * from './Form';
|
|
8
|
+
export * from './Link';
|
|
9
|
+
export * from './Navigation';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export declare const icons: {
|
|
2
|
-
faBars: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
3
|
-
faUser: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
4
|
-
faUserTie: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
5
|
-
faPlus: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
6
|
-
faUserPlus: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
7
|
-
faXmark: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
8
|
-
faCartShopping: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
9
|
-
faChevronDown: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
10
|
-
faFilter: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
11
|
-
faSearch: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
12
|
-
faQrcode: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
13
|
-
faCheck: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
14
|
-
'fa-thin': import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
15
|
-
};
|
|
1
|
+
export declare const icons: {
|
|
2
|
+
faBars: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
3
|
+
faUser: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
4
|
+
faUserTie: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
5
|
+
faPlus: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
6
|
+
faUserPlus: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
7
|
+
faXmark: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
8
|
+
faCartShopping: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
9
|
+
faChevronDown: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
10
|
+
faFilter: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
11
|
+
faSearch: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
12
|
+
faQrcode: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
13
|
+
faCheck: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
14
|
+
'fa-thin': import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
15
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { QueryClient } from '@tanstack/react-query';
|
|
2
|
-
export declare const queryClient: QueryClient;
|
|
1
|
+
import { QueryClient } from '@tanstack/react-query';
|
|
2
|
+
export declare const queryClient: QueryClient;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './QueryClient';
|
|
2
|
-
export * from './Icons';
|
|
1
|
+
export * from './QueryClient';
|
|
2
|
+
export * from './Icons';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Store } from '../interfaces/Store';
|
|
3
|
-
declare const StoreProvider: ({ children, disableInitialStoreRequest }: {
|
|
4
|
-
disableInitialStoreRequest?: boolean;
|
|
5
|
-
children: React.ReactElement | React.ReactElement[];
|
|
6
|
-
}) => JSX.Element;
|
|
7
|
-
declare const useStoreContext: () => Store;
|
|
8
|
-
export { StoreProvider, useStoreContext };
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Store } from '../interfaces/Store';
|
|
3
|
+
declare const StoreProvider: ({ children, disableInitialStoreRequest }: {
|
|
4
|
+
disableInitialStoreRequest?: boolean;
|
|
5
|
+
children: React.ReactElement | React.ReactElement[];
|
|
6
|
+
}) => JSX.Element;
|
|
7
|
+
declare const useStoreContext: () => Store;
|
|
8
|
+
export { StoreProvider, useStoreContext };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { EvaluationCycle } from '../interfaces/EvaluationCycle';
|
|
2
|
-
export declare const activateEvaluationCycleQueryHook: () => import("@tanstack/react-query").UseMutationResult<EvaluationCycle, unknown, EvaluationCycle, unknown>;
|
|
1
|
+
import { EvaluationCycle } from '../interfaces/EvaluationCycle';
|
|
2
|
+
export declare const activateEvaluationCycleQueryHook: () => import("@tanstack/react-query").UseMutationResult<EvaluationCycle, unknown, EvaluationCycle, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Questionnaire } from '../interfaces/Questionnaire';
|
|
2
|
-
export declare const activateQuestionnaireQueryHook: () => import("@tanstack/react-query").UseMutationResult<Questionnaire, unknown, Questionnaire, unknown>;
|
|
1
|
+
import { Questionnaire } from '../interfaces/Questionnaire';
|
|
2
|
+
export declare const activateQuestionnaireQueryHook: () => import("@tanstack/react-query").UseMutationResult<Questionnaire, unknown, Questionnaire, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { EvaluationCycle } from '../interfaces/EvaluationCycle';
|
|
2
|
-
export declare const cancelEvaluationCycleQueryHook: () => import("@tanstack/react-query").UseMutationResult<EvaluationCycle, unknown, EvaluationCycle, unknown>;
|
|
1
|
+
import { EvaluationCycle } from '../interfaces/EvaluationCycle';
|
|
2
|
+
export declare const cancelEvaluationCycleQueryHook: () => import("@tanstack/react-query").UseMutationResult<EvaluationCycle, unknown, EvaluationCycle, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Questionnaire } from '../interfaces/Questionnaire';
|
|
2
|
-
export declare const cancelQuestionnaireQueryHook: () => import("@tanstack/react-query").UseMutationResult<Questionnaire, unknown, Questionnaire, unknown>;
|
|
1
|
+
import { Questionnaire } from '../interfaces/Questionnaire';
|
|
2
|
+
export declare const cancelQuestionnaireQueryHook: () => import("@tanstack/react-query").UseMutationResult<Questionnaire, unknown, Questionnaire, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { EvaluationCycle } from '../interfaces/EvaluationCycle';
|
|
2
|
-
export declare const deleteEvaluationCycleMutateHook: () => import("@tanstack/react-query").UseMutationResult<EvaluationCycle, unknown, EvaluationCycle, unknown>;
|
|
1
|
+
import { EvaluationCycle } from '../interfaces/EvaluationCycle';
|
|
2
|
+
export declare const deleteEvaluationCycleMutateHook: () => import("@tanstack/react-query").UseMutationResult<EvaluationCycle, unknown, EvaluationCycle, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Questionnaire } from '../interfaces/Questionnaire';
|
|
2
|
-
export declare const deleteQuestionnaireMutateHook: () => import("@tanstack/react-query").UseMutationResult<Questionnaire, unknown, Questionnaire, unknown>;
|
|
1
|
+
import { Questionnaire } from '../interfaces/Questionnaire';
|
|
2
|
+
export declare const deleteQuestionnaireMutateHook: () => import("@tanstack/react-query").UseMutationResult<Questionnaire, unknown, Questionnaire, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Questionnaire } from '../interfaces/Questionnaire';
|
|
2
|
-
export declare const duplicateQuestionnaireMutateHook: () => import("@tanstack/react-query").UseMutationResult<Questionnaire, unknown, Questionnaire, unknown>;
|
|
1
|
+
import { Questionnaire } from '../interfaces/Questionnaire';
|
|
2
|
+
export declare const duplicateQuestionnaireMutateHook: () => import("@tanstack/react-query").UseMutationResult<Questionnaire, unknown, Questionnaire, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { EvaluationCycle } from '../interfaces/EvaluationCycle';
|
|
2
|
-
export declare const finishEvaluationCycleQueryHook: () => import("@tanstack/react-query").UseMutationResult<EvaluationCycle, unknown, EvaluationCycle, unknown>;
|
|
1
|
+
import { EvaluationCycle } from '../interfaces/EvaluationCycle';
|
|
2
|
+
export declare const finishEvaluationCycleQueryHook: () => import("@tanstack/react-query").UseMutationResult<EvaluationCycle, unknown, EvaluationCycle, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Answer } from '../interfaces';
|
|
2
|
-
export declare const finishQuestionnaireQueryHook: () => import("@tanstack/react-query").UseMutationResult<Answer, unknown, Answer, unknown>;
|
|
1
|
+
import { Answer } from '../interfaces';
|
|
2
|
+
export declare const finishQuestionnaireQueryHook: () => import("@tanstack/react-query").UseMutationResult<Answer, unknown, Answer, unknown>;
|
|
@@ -1,42 +1,44 @@
|
|
|
1
|
-
export * from './useApplicationDataQuery.hook';
|
|
2
|
-
export * from './useStoreQuery';
|
|
3
|
-
export * from './useEvaluationCycleIdQuery.hook';
|
|
4
|
-
export * from './useEvaluationCycleMutateQuery.hook';
|
|
5
|
-
export * from './activateEvaluationCycleQuery.hook';
|
|
6
|
-
export * from './deleteEvaluationCycleQuery.hook';
|
|
7
|
-
export * from './useEvaluationCycleQuery.hook';
|
|
8
|
-
export * from './useQuestionnaireQuery.hook';
|
|
9
|
-
export * from './deleteQuestionnaireQuery.hook';
|
|
10
|
-
export * from './duplicateQuestionnaireQuery.hook';
|
|
11
|
-
export * from './useQuestionnaireMutateQuery.hook';
|
|
12
|
-
export * from './activateQuestionnaireQuery.hook';
|
|
13
|
-
export * from './useQuestionnaireIdQuery.hook';
|
|
14
|
-
export * from './useUserQuery.hook';
|
|
15
|
-
export * from './useAnalyticsUserQuery.hook';
|
|
16
|
-
export * from './useUserListQuery.hook';
|
|
17
|
-
export * from './useUserBlockQuery.hook';
|
|
18
|
-
export * from './useUserEmailVerifQuery.hook';
|
|
19
|
-
export * from './useAnalyticsEvaluationCyclesQuery.hook';
|
|
20
|
-
export * from './useAnswerIdQuery.hook';
|
|
21
|
-
export * from './useAnswerMutateQuery.hook';
|
|
22
|
-
export * from './useUserIdQuery.hook';
|
|
23
|
-
export * from './finishQuestionnaireQuery.hook';
|
|
24
|
-
export * from './useAnalyticsUserIdQuery.hook';
|
|
25
|
-
export * from './useCountriesQuery.hook';
|
|
26
|
-
export * from './useAllStoreQuery.hook';
|
|
27
|
-
export * from './useAllRolesQuery.hook';
|
|
28
|
-
export * from './useSingleUserIdQuery.hook';
|
|
29
|
-
export * from './useSingleUserIdMutateQuery.hook';
|
|
30
|
-
export * from './useAnswersUserSupervisorQuery.hook';
|
|
31
|
-
export * from './useProductsQuery.hook';
|
|
32
|
-
export * from './useCustomersQuery.hook';
|
|
33
|
-
export * from './useProductHierarchies.hook';
|
|
34
|
-
export * from './cancelEvaluationCycleQuery.hook';
|
|
35
|
-
export * from './finishEvaluationCycleQuery.hook';
|
|
36
|
-
export * from './cancelQuestionnaireQuery.hook';
|
|
37
|
-
export * from './useTermNotificationQuery.hook';
|
|
38
|
-
export * from './useAnalyticsQuestionsQuery.hook';
|
|
39
|
-
export * from './useAnalyticsSideBarQuery.hook';
|
|
40
|
-
export * from './useJobTitlesQuery.hook';
|
|
41
|
-
export * from './useContractStatesQuery.hook';
|
|
42
|
-
export * from './
|
|
1
|
+
export * from './useApplicationDataQuery.hook';
|
|
2
|
+
export * from './useStoreQuery';
|
|
3
|
+
export * from './useEvaluationCycleIdQuery.hook';
|
|
4
|
+
export * from './useEvaluationCycleMutateQuery.hook';
|
|
5
|
+
export * from './activateEvaluationCycleQuery.hook';
|
|
6
|
+
export * from './deleteEvaluationCycleQuery.hook';
|
|
7
|
+
export * from './useEvaluationCycleQuery.hook';
|
|
8
|
+
export * from './useQuestionnaireQuery.hook';
|
|
9
|
+
export * from './deleteQuestionnaireQuery.hook';
|
|
10
|
+
export * from './duplicateQuestionnaireQuery.hook';
|
|
11
|
+
export * from './useQuestionnaireMutateQuery.hook';
|
|
12
|
+
export * from './activateQuestionnaireQuery.hook';
|
|
13
|
+
export * from './useQuestionnaireIdQuery.hook';
|
|
14
|
+
export * from './useUserQuery.hook';
|
|
15
|
+
export * from './useAnalyticsUserQuery.hook';
|
|
16
|
+
export * from './useUserListQuery.hook';
|
|
17
|
+
export * from './useUserBlockQuery.hook';
|
|
18
|
+
export * from './useUserEmailVerifQuery.hook';
|
|
19
|
+
export * from './useAnalyticsEvaluationCyclesQuery.hook';
|
|
20
|
+
export * from './useAnswerIdQuery.hook';
|
|
21
|
+
export * from './useAnswerMutateQuery.hook';
|
|
22
|
+
export * from './useUserIdQuery.hook';
|
|
23
|
+
export * from './finishQuestionnaireQuery.hook';
|
|
24
|
+
export * from './useAnalyticsUserIdQuery.hook';
|
|
25
|
+
export * from './useCountriesQuery.hook';
|
|
26
|
+
export * from './useAllStoreQuery.hook';
|
|
27
|
+
export * from './useAllRolesQuery.hook';
|
|
28
|
+
export * from './useSingleUserIdQuery.hook';
|
|
29
|
+
export * from './useSingleUserIdMutateQuery.hook';
|
|
30
|
+
export * from './useAnswersUserSupervisorQuery.hook';
|
|
31
|
+
export * from './useProductsQuery.hook';
|
|
32
|
+
export * from './useCustomersQuery.hook';
|
|
33
|
+
export * from './useProductHierarchies.hook';
|
|
34
|
+
export * from './cancelEvaluationCycleQuery.hook';
|
|
35
|
+
export * from './finishEvaluationCycleQuery.hook';
|
|
36
|
+
export * from './cancelQuestionnaireQuery.hook';
|
|
37
|
+
export * from './useTermNotificationQuery.hook';
|
|
38
|
+
export * from './useAnalyticsQuestionsQuery.hook';
|
|
39
|
+
export * from './useAnalyticsSideBarQuery.hook';
|
|
40
|
+
export * from './useJobTitlesQuery.hook';
|
|
41
|
+
export * from './useContractStatesQuery.hook';
|
|
42
|
+
export * from './useExpUsersAnswersQuery.hook';
|
|
43
|
+
export * from './useUpdateSupervisorMutateQuery.hook';
|
|
44
|
+
export * from './useSingleUserResetPassword.hook';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { Roles, ResponseList } from "../interfaces";
|
|
3
|
-
interface RolesQueryProps extends UseQueryOptions<Roles> {
|
|
4
|
-
records: number | string;
|
|
5
|
-
sortBy: string;
|
|
6
|
-
sortDirection: string;
|
|
7
|
-
tags?: string;
|
|
8
|
-
page?: number;
|
|
9
|
-
}
|
|
10
|
-
export declare const useAllRolesQuery: ({ records, sortBy, sortDirection, tags, page, ...options }: RolesQueryProps) => import("@tanstack/react-query").UseQueryResult<ResponseList<"Roles", Roles>, unknown>;
|
|
11
|
-
export {};
|
|
1
|
+
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { Roles, ResponseList } from "../interfaces";
|
|
3
|
+
interface RolesQueryProps extends UseQueryOptions<Roles> {
|
|
4
|
+
records: number | string;
|
|
5
|
+
sortBy: string;
|
|
6
|
+
sortDirection: string;
|
|
7
|
+
tags?: string;
|
|
8
|
+
page?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const useAllRolesQuery: ({ records, sortBy, sortDirection, tags, page, ...options }: RolesQueryProps) => import("@tanstack/react-query").UseQueryResult<ResponseList<"Roles", Roles>, unknown>;
|
|
11
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { Store, ResponseList } from "../interfaces";
|
|
3
|
-
interface StoreQueryProps extends UseQueryOptions<Store> {
|
|
4
|
-
records: number | string;
|
|
5
|
-
sortBy: string;
|
|
6
|
-
sortDirection: string;
|
|
7
|
-
page: number;
|
|
8
|
-
tags?: string;
|
|
9
|
-
advancedTags?: string;
|
|
10
|
-
filter?: any;
|
|
11
|
-
}
|
|
12
|
-
export declare const useAllStoreQuery: ({ records, sortBy, sortDirection, tags, advancedTags, filter, page, ...options }: StoreQueryProps) => import("@tanstack/react-query").UseQueryResult<ResponseList<"Locations", Store>, unknown>;
|
|
13
|
-
export {};
|
|
1
|
+
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { Store, ResponseList } from "../interfaces";
|
|
3
|
+
interface StoreQueryProps extends UseQueryOptions<Store> {
|
|
4
|
+
records: number | string;
|
|
5
|
+
sortBy: string;
|
|
6
|
+
sortDirection: string;
|
|
7
|
+
page: number;
|
|
8
|
+
tags?: string;
|
|
9
|
+
advancedTags?: string;
|
|
10
|
+
filter?: any;
|
|
11
|
+
}
|
|
12
|
+
export declare const useAllStoreQuery: ({ records, sortBy, sortDirection, tags, advancedTags, filter, page, ...options }: StoreQueryProps) => import("@tanstack/react-query").UseQueryResult<ResponseList<"Locations", Store>, unknown>;
|
|
13
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { AnalyticsEvaluationCycle } from "../interfaces";
|
|
3
|
-
export interface AnalyticsEvaluationCycles extends UseQueryOptions<AnalyticsEvaluationCycle[]> {
|
|
4
|
-
pSortDirection?: string;
|
|
5
|
-
pFilter?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const useAnalyticsEvaluationCyclesQueryHook: ({ pSortDirection, pFilter }: AnalyticsEvaluationCycles) => import("@tanstack/react-query").UseQueryResult<AnalyticsEvaluationCycle[], unknown>;
|
|
1
|
+
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { AnalyticsEvaluationCycle } from "../interfaces";
|
|
3
|
+
export interface AnalyticsEvaluationCycles extends UseQueryOptions<AnalyticsEvaluationCycle[]> {
|
|
4
|
+
pSortDirection?: string;
|
|
5
|
+
pFilter?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const useAnalyticsEvaluationCyclesQueryHook: ({ pSortDirection, pFilter }: AnalyticsEvaluationCycles) => import("@tanstack/react-query").UseQueryResult<AnalyticsEvaluationCycle[], unknown>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { Answer, ResponseList } from "../interfaces";
|
|
3
|
-
export interface AnalyticsQuestionsQuery extends UseQueryOptions<ResponseList<"Answers", Answer>> {
|
|
4
|
-
id: string;
|
|
5
|
-
page?: number;
|
|
6
|
-
records?: number;
|
|
7
|
-
tags?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const useAnalyticsQuestionsQueryHook: ({ page, records, id, tags }: AnalyticsQuestionsQuery) => import("@tanstack/react-query").UseQueryResult<ResponseList<"Answers", Answer>, unknown>;
|
|
1
|
+
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { Answer, ResponseList } from "../interfaces";
|
|
3
|
+
export interface AnalyticsQuestionsQuery extends UseQueryOptions<ResponseList<"Answers", Answer>> {
|
|
4
|
+
id: string;
|
|
5
|
+
page?: number;
|
|
6
|
+
records?: number;
|
|
7
|
+
tags?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const useAnalyticsQuestionsQueryHook: ({ page, records, id, tags }: AnalyticsQuestionsQuery) => import("@tanstack/react-query").UseQueryResult<ResponseList<"Answers", Answer>, unknown>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { AnalyticsEvaluationCycle } from "../interfaces";
|
|
3
|
-
export interface AnalyticsSideBar extends UseQueryOptions<AnalyticsEvaluationCycle[]> {
|
|
4
|
-
pSortDirection?: string;
|
|
5
|
-
pFilter?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const useAnalyticsSideBarQueryHook: ({ pSortDirection, pFilter }: AnalyticsSideBar) => import("@tanstack/react-query").UseQueryResult<AnalyticsEvaluationCycle[], unknown>;
|
|
1
|
+
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { AnalyticsEvaluationCycle } from "../interfaces";
|
|
3
|
+
export interface AnalyticsSideBar extends UseQueryOptions<AnalyticsEvaluationCycle[]> {
|
|
4
|
+
pSortDirection?: string;
|
|
5
|
+
pFilter?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const useAnalyticsSideBarQueryHook: ({ pSortDirection, pFilter }: AnalyticsSideBar) => import("@tanstack/react-query").UseQueryResult<AnalyticsEvaluationCycle[], unknown>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { AnalyticsUserId, ResponseList } from "../interfaces";
|
|
3
|
-
export interface AnalyticsUserIdQuery extends UseQueryOptions<ResponseList<"UserEvaluationCycleDTOs", AnalyticsUserId>> {
|
|
4
|
-
page?: number;
|
|
5
|
-
records?: number;
|
|
6
|
-
pYear?: string;
|
|
7
|
-
userId: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const useAnalyticsUserIdQueryHook: ({ page, records, userId, pYear }: AnalyticsUserIdQuery) => import("@tanstack/react-query").UseQueryResult<ResponseList<"UserEvaluationCycleDTOs", AnalyticsUserId>, unknown>;
|
|
1
|
+
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { AnalyticsUserId, ResponseList } from "../interfaces";
|
|
3
|
+
export interface AnalyticsUserIdQuery extends UseQueryOptions<ResponseList<"UserEvaluationCycleDTOs", AnalyticsUserId>> {
|
|
4
|
+
page?: number;
|
|
5
|
+
records?: number;
|
|
6
|
+
pYear?: string;
|
|
7
|
+
userId: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const useAnalyticsUserIdQueryHook: ({ page, records, userId, pYear }: AnalyticsUserIdQuery) => import("@tanstack/react-query").UseQueryResult<ResponseList<"UserEvaluationCycleDTOs", AnalyticsUserId>, unknown>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { User, ResponseList } from "../interfaces";
|
|
3
|
-
export interface AnalyticsUserQuery extends UseQueryOptions<ResponseList<"Users", User>> {
|
|
4
|
-
tags?: string;
|
|
5
|
-
filter?: string;
|
|
6
|
-
page?: number;
|
|
7
|
-
records?: number;
|
|
8
|
-
}
|
|
9
|
-
export declare const useAnalyticsUserQueryHook: ({ tags, page, records, filter }: AnalyticsUserQuery) => import("@tanstack/react-query").UseQueryResult<ResponseList<"Users", User>, unknown>;
|
|
1
|
+
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { User, ResponseList } from "../interfaces";
|
|
3
|
+
export interface AnalyticsUserQuery extends UseQueryOptions<ResponseList<"Users", User>> {
|
|
4
|
+
tags?: string;
|
|
5
|
+
filter?: string;
|
|
6
|
+
page?: number;
|
|
7
|
+
records?: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const useAnalyticsUserQueryHook: ({ tags, page, records, filter }: AnalyticsUserQuery) => import("@tanstack/react-query").UseQueryResult<ResponseList<"Users", User>, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Answer } from "../interfaces";
|
|
2
|
-
export declare const useAnswerIdQueryHook: (answerId: string) => import("@tanstack/react-query").UseQueryResult<Answer, unknown>;
|
|
1
|
+
import { Answer } from "../interfaces";
|
|
2
|
+
export declare const useAnswerIdQueryHook: (answerId: string) => import("@tanstack/react-query").UseQueryResult<Answer, unknown>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import { Answer } from '../interfaces';
|
|
3
|
-
export interface AnswerQuery extends UseQueryOptions<Answer> {
|
|
4
|
-
pQuestionnaireId?: string;
|
|
5
|
-
pEvaluationCycleId?: string;
|
|
6
|
-
pUserId?: string;
|
|
7
|
-
pTargetUserId?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const useAnswerMutateHook: ({ pQuestionnaireId, pEvaluationCycleId, pUserId, pTargetUserId }: AnswerQuery, answerId: string) => import("@tanstack/react-query").UseMutationResult<Answer, unknown, Answer, unknown>;
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import { Answer } from '../interfaces';
|
|
3
|
+
export interface AnswerQuery extends UseQueryOptions<Answer> {
|
|
4
|
+
pQuestionnaireId?: string;
|
|
5
|
+
pEvaluationCycleId?: string;
|
|
6
|
+
pUserId?: string;
|
|
7
|
+
pTargetUserId?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const useAnswerMutateHook: ({ pQuestionnaireId, pEvaluationCycleId, pUserId, pTargetUserId }: AnswerQuery, answerId: string) => import("@tanstack/react-query").UseMutationResult<Answer, unknown, Answer, unknown>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { AnswersUserSupervisor } from "../interfaces";
|
|
3
|
-
export interface AnswersUserSupervisorQuery extends UseQueryOptions<AnswersUserSupervisor> {
|
|
4
|
-
evaluationId: string;
|
|
5
|
-
userId: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const useAnswersUserSupervisorQuery: ({ evaluationId, userId }: AnswersUserSupervisorQuery) => import("@tanstack/react-query").UseQueryResult<AnswersUserSupervisor, unknown>;
|
|
1
|
+
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { AnswersUserSupervisor } from "../interfaces";
|
|
3
|
+
export interface AnswersUserSupervisorQuery extends UseQueryOptions<AnswersUserSupervisor> {
|
|
4
|
+
evaluationId: string;
|
|
5
|
+
userId: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const useAnswersUserSupervisorQuery: ({ evaluationId, userId }: AnswersUserSupervisorQuery) => import("@tanstack/react-query").UseQueryResult<AnswersUserSupervisor, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ApplicationsByCategory, ResponseList } from "../interfaces";
|
|
2
|
-
export declare const useApplicationDataQueryHook: () => import("@tanstack/react-query").UseQueryResult<ResponseList<"Categories", ApplicationsByCategory>, unknown>;
|
|
1
|
+
import { ApplicationsByCategory, ResponseList } from "../interfaces";
|
|
2
|
+
export declare const useApplicationDataQueryHook: () => import("@tanstack/react-query").UseQueryResult<ResponseList<"Categories", ApplicationsByCategory>, unknown>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
-
import { ContractStates, ResponseList } from "../interfaces";
|
|
3
|
-
interface ContractStatesQueryProps extends UseQueryOptions<ContractStates> {
|
|
4
|
-
records: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const useContractStatesQuery: ({ records }: ContractStatesQueryProps) => import("@tanstack/react-query").UseQueryResult<ResponseList<"ContractStates", ContractStates>, unknown>;
|
|
7
|
-
export {};
|
|
1
|
+
import { UseQueryOptions } from "@tanstack/react-query";
|
|
2
|
+
import { ContractStates, ResponseList } from "../interfaces";
|
|
3
|
+
interface ContractStatesQueryProps extends UseQueryOptions<ContractStates> {
|
|
4
|
+
records: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const useContractStatesQuery: ({ records }: ContractStatesQueryProps) => import("@tanstack/react-query").UseQueryResult<ResponseList<"ContractStates", ContractStates>, unknown>;
|
|
7
|
+
export {};
|