sixseconds-modules 1.1.0 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/README.md +50 -0
  2. package/dist/api/transform/transformUser.d.ts +5 -0
  3. package/dist/api/user.d.ts +23 -0
  4. package/dist/assets/svg/index.d.ts +129 -1
  5. package/dist/components/GenericDialog.d.ts +8 -0
  6. package/dist/components/HeaderMenu.d.ts +2 -0
  7. package/dist/components/LanguageModal.d.ts +1 -0
  8. package/dist/components/ListModalItems.d.ts +1 -0
  9. package/dist/components/Logo.d.ts +2 -0
  10. package/dist/components/LogoutDialog.d.ts +6 -0
  11. package/dist/components/NotificationModal.d.ts +2 -0
  12. package/dist/components/NotificationsIcons.d.ts +2 -0
  13. package/dist/components/ProfileMenu.d.ts +2 -0
  14. package/dist/components/button.d.ts +1 -0
  15. package/dist/components/index.d.ts +5 -0
  16. package/dist/constants/env.d.ts +1 -11
  17. package/dist/css/headerStyled.d.ts +2 -0
  18. package/dist/hooks/userCloseModal.d.ts +3 -0
  19. package/dist/index.cjs.js +628 -0
  20. package/dist/index.cjs.js.map +1 -0
  21. package/dist/index.d.ts +5 -1
  22. package/dist/index.es.js +629 -0
  23. package/dist/index.es.js.map +1 -0
  24. package/dist/main.d.ts +1 -0
  25. package/dist/redux/reducers/ssoAppReducer.d.ts +5 -0
  26. package/dist/redux/reducers/types/index.d.ts +1 -0
  27. package/dist/redux/reducers/types/user.d.ts +3 -0
  28. package/dist/redux/reducers/userProfileReducer.d.ts +3 -0
  29. package/dist/redux/store.d.ts +14 -0
  30. package/dist/services/api.d.ts +10 -0
  31. package/dist/services/axios.d.ts +2 -0
  32. package/dist/types/index.d.ts +1 -5
  33. package/dist/types/user.d.ts +3 -0
  34. package/dist/vite-env.d.ts +1 -1
  35. package/dist/vite.svg +1 -0
  36. package/package.json +62 -37
  37. package/dist/components/dialogs/dangerDialog.d.ts +0 -12
  38. package/dist/components/dialogs/index.d.ts +0 -1
  39. package/dist/components/elements/backArrow.d.ts +0 -8
  40. package/dist/components/elements/index.d.ts +0 -2
  41. package/dist/components/elements/logo.d.ts +0 -7
  42. package/dist/components/elements/warning.d.ts +0 -7
  43. package/dist/components/header/dropDownMenu.d.ts +0 -10
  44. package/dist/components/header/index.d.ts +0 -19
  45. package/dist/components/header/language.d.ts +0 -9
  46. package/dist/components/header/notification.d.ts +0 -0
  47. package/dist/components/header/profile.d.ts +0 -0
  48. package/dist/components/header/subheaderStyled.d.ts +0 -4
  49. package/dist/components/header/type.d.ts +0 -25
  50. package/dist/components/header/userProfile.d.ts +0 -12
  51. package/dist/constants/apis.d.ts +0 -6
  52. package/dist/constants/common.d.ts +0 -57
  53. package/dist/constants/dates.d.ts +0 -3
  54. package/dist/constants/index.d.ts +0 -6
  55. package/dist/constants/routes.d.ts +0 -9
  56. package/dist/constants/validation.d.ts +0 -4
  57. package/dist/hooks/useToggle.d.ts +0 -1
  58. package/dist/my-lib.js +0 -105
  59. package/dist/my-lib.js.map +0 -1
  60. package/dist/my-lib.mjs +0 -5402
  61. package/dist/my-lib.mjs.map +0 -1
  62. package/dist/types/custom.d.ts +0 -24
  63. package/dist/types/htmlElements.d.ts +0 -6
  64. package/dist/types/nextTypes.d.ts +0 -12
  65. package/dist/types/reactTypes.d.ts +0 -4
  66. package/dist/utils/common.d.ts +0 -2
  67. package/dist/utils/index.d.ts +0 -1
@@ -1,24 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export type Role = "Master" | "Distributor" | "Coach" | "Referent";
3
-
4
- // interfaces definition
5
- export interface IChildrenProps {
6
- children: ReactNode;
7
- }
8
- export interface ISelectWithSearch {
9
- id?: number | string | null;
10
- value: string | number;
11
- label: string;
12
- }
13
-
14
- export type t = (e: string) => string;
15
-
16
- export type Filters = {
17
- type?: string;
18
- page?: number;
19
- search?: string;
20
- pagePerItm?: number;
21
- to?: string;
22
- from?: string;
23
- limit?: number;
24
- };
@@ -1,6 +0,0 @@
1
- import { default as React, ChangeEvent } from 'react';
2
- export type OnClick = MouseEvent<HTMLInputElement>
3
-
4
- export type OnChange = ChangeEvent<HTMLInputElement>
5
-
6
- export type onChangeWithSynthetic = React.SyntheticEvent
@@ -1,12 +0,0 @@
1
- import { NextPage } from 'next';
2
- import { AppProps } from 'next/app';
3
- import { ReactNode } from 'react';
4
- export type NextPageWithLayout = NextPage & {
5
- getLayout: () => ReactNode
6
- }
7
-
8
- export type AppPropsWithLayout = AppProps & {
9
- component: NextPageWithLayout
10
- }
11
-
12
- export type Slug = string | string[] | undefined
@@ -1,4 +0,0 @@
1
- import { Dispatch as ReactDispatch, SetStateAction as ReactSetStateAction } from 'react';
2
- export type Dispatch<A> = (action: A) => void
3
- export type SetStateAction<T> = ReactDispatch<ReactSetStateAction<T>>
4
- export type UpdateStateFunction<T> = (data: any, prev?: any, setState?: SetStateAction<any>) => T
@@ -1,2 +0,0 @@
1
- export declare const truncateValUtil: (val: string, maxTruncateVal?: number) => string;
2
- export declare const handleCloseUtil: (setState: any) => void;
@@ -1 +0,0 @@
1
- export * from './common';