nectiasw 0.0.293 → 0.0.295

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 (191) hide show
  1. package/README.md +30 -30
  2. package/package.json +110 -110
  3. package/dist/App.d.ts +0 -2
  4. package/dist/components/Alert/Alert.stories.d.ts +0 -13
  5. package/dist/components/Alert/index.d.ts +0 -2
  6. package/dist/components/Alert/types.d.ts +0 -9
  7. package/dist/components/Badge/Bagde.stories.d.ts +0 -17
  8. package/dist/components/Badge/index.d.ts +0 -16
  9. package/dist/components/Badge/types.d.ts +0 -5
  10. package/dist/components/Box/index.d.ts +0 -3
  11. package/dist/components/Box/styles.d.ts +0 -9
  12. package/dist/components/Box/types.d.ts +0 -105
  13. package/dist/components/Button/builder.d.ts +0 -20
  14. package/dist/components/Button/index.d.ts +0 -9
  15. package/dist/components/Button/styled.d.ts +0 -4
  16. package/dist/components/Button/styles.d.ts +0 -4
  17. package/dist/components/Button/types.d.ts +0 -25
  18. package/dist/components/Button/variants/Weekday/Weekday.stories.d.ts +0 -6
  19. package/dist/components/Button/variants/Weekday/index.d.ts +0 -3
  20. package/dist/components/Button/variants/Weekday/styled.d.ts +0 -13
  21. package/dist/components/Button/variants/Weekday/types.d.ts +0 -15
  22. package/dist/components/Card/Card.stories.d.ts +0 -13
  23. package/dist/components/Card/index.d.ts +0 -6
  24. package/dist/components/Card/styles.d.ts +0 -17
  25. package/dist/components/Card/types.d.ts +0 -10
  26. package/dist/components/Card/variants/Schedule/index.d.ts +0 -4
  27. package/dist/components/Card/variants/Schedule/styled.d.ts +0 -3
  28. package/dist/components/Card/variants/Schedule/types.d.ts +0 -13
  29. package/dist/components/Chart/Chart.stories.d.ts +0 -40
  30. package/dist/components/Chart/index.d.ts +0 -47
  31. package/dist/components/Chart/styles.d.ts +0 -5
  32. package/dist/components/Checkbox/index.d.ts +0 -27
  33. package/dist/components/Checkbox/styled.d.ts +0 -22
  34. package/dist/components/Checkbox/styles.d.ts +0 -7
  35. package/dist/components/Col/index.d.ts +0 -3
  36. package/dist/components/Col/styled.d.ts +0 -2
  37. package/dist/components/Col/types.d.ts +0 -13
  38. package/dist/components/Collapse/index.d.ts +0 -16
  39. package/dist/components/Collapse/styles.d.ts +0 -17
  40. package/dist/components/Container/index.d.ts +0 -12
  41. package/dist/components/Counter/index.d.ts +0 -11
  42. package/dist/components/Counter/styles.d.ts +0 -9
  43. package/dist/components/Datepicker/index.d.ts +0 -29
  44. package/dist/components/Datepicker/styled.d.ts +0 -8
  45. package/dist/components/Datepicker/styles.d.ts +0 -5
  46. package/dist/components/DeadlineChart/index.d.ts +0 -53
  47. package/dist/components/DeadlineChart/styles.d.ts +0 -11
  48. package/dist/components/Detail/Detail.stories.d.ts +0 -9
  49. package/dist/components/Detail/index.d.ts +0 -37
  50. package/dist/components/Detail/styles.d.ts +0 -14
  51. package/dist/components/Dragarea/index.d.ts +0 -3
  52. package/dist/components/Dragarea/styled.d.ts +0 -5
  53. package/dist/components/Dragarea/svg.d.ts +0 -5
  54. package/dist/components/Dragarea/types.d.ts +0 -38
  55. package/dist/components/Dropdown/index.d.ts +0 -41
  56. package/dist/components/Dropdown/styles.d.ts +0 -21
  57. package/dist/components/Empty/index.d.ts +0 -13
  58. package/dist/components/EnterprisesFilter/EnterpriseContext.d.ts +0 -17
  59. package/dist/components/EnterprisesFilter/index.d.ts +0 -21
  60. package/dist/components/FirstModal/index.d.ts +0 -3
  61. package/dist/components/FirstModal/styled.d.ts +0 -6
  62. package/dist/components/FirstModal/types.d.ts +0 -14
  63. package/dist/components/Flex/index.d.ts +0 -25
  64. package/dist/components/Flex/styles.d.ts +0 -8
  65. package/dist/components/Footer/index.d.ts +0 -7
  66. package/dist/components/Footer/styled.d.ts +0 -2
  67. package/dist/components/Footer/styles.d.ts +0 -3
  68. package/dist/components/Footer/svg.d.ts +0 -5
  69. package/dist/components/Grid/index.d.ts +0 -37
  70. package/dist/components/Input/index.d.ts +0 -59
  71. package/dist/components/Input/styles.d.ts +0 -8
  72. package/dist/components/Input/variants/InputTable.d.ts +0 -3
  73. package/dist/components/Layout/hooks.d.ts +0 -1
  74. package/dist/components/Layout/index.d.ts +0 -20
  75. package/dist/components/Layout/styles.d.ts +0 -11
  76. package/dist/components/Loading/index.d.ts +0 -16
  77. package/dist/components/Loading/styles.d.ts +0 -19
  78. package/dist/components/Modal/index.d.ts +0 -8
  79. package/dist/components/Modal/styles.d.ts +0 -25
  80. package/dist/components/Modal/variant/TCModal.d.ts +0 -4
  81. package/dist/components/Modal/variant/TCModal.stories.d.ts +0 -7
  82. package/dist/components/Modal/variant/styles.d.ts +0 -11
  83. package/dist/components/Modal/variant/svg.d.ts +0 -1
  84. package/dist/components/Modal/variant/types.d.ts +0 -14
  85. package/dist/components/ModalUnathorized/index.d.ts +0 -4
  86. package/dist/components/Navbar/Navbar.stories.d.ts +0 -7
  87. package/dist/components/Navbar/index.d.ts +0 -24
  88. package/dist/components/Navbar/styles.d.ts +0 -49
  89. package/dist/components/Pagination/index.d.ts +0 -3
  90. package/dist/components/Pagination/styles.d.ts +0 -26
  91. package/dist/components/Pagination/types.d.ts +0 -19
  92. package/dist/components/RadioButton/index.d.ts +0 -13
  93. package/dist/components/RadioButton/styles.d.ts +0 -7
  94. package/dist/components/Row/index.d.ts +0 -14
  95. package/dist/components/Search/index.d.ts +0 -7
  96. package/dist/components/Search/styled.d.ts +0 -12
  97. package/dist/components/Search/styles.d.ts +0 -20
  98. package/dist/components/Search/types.d.ts +0 -75
  99. package/dist/components/Search/variants/ScrollSearch.d.ts +0 -4
  100. package/dist/components/Search/variants/styled.d.ts +0 -21
  101. package/dist/components/Select/Select.stories.d.ts +0 -15
  102. package/dist/components/Select/builder.d.ts +0 -27
  103. package/dist/components/Select/index.d.ts +0 -46
  104. package/dist/components/Select/styled.d.ts +0 -1
  105. package/dist/components/Sidebar/Sidebar.stories.d.ts +0 -36
  106. package/dist/components/Sidebar/index.d.ts +0 -2
  107. package/dist/components/Sidebar/styles.d.ts +0 -26
  108. package/dist/components/Sidebar/types.d.ts +0 -37
  109. package/dist/components/Stepper/index.d.ts +0 -17
  110. package/dist/components/Stepper/styles.d.ts +0 -15
  111. package/dist/components/Switch/index.d.ts +0 -18
  112. package/dist/components/Table/Table.stories.d.ts +0 -8
  113. package/dist/components/Table/builder.d.ts +0 -18
  114. package/dist/components/Table/index.d.ts +0 -32
  115. package/dist/components/Table/styled.d.ts +0 -30
  116. package/dist/components/Table/styles.d.ts +0 -27
  117. package/dist/components/Table/svg.d.ts +0 -1
  118. package/dist/components/Table/types.d.ts +0 -98
  119. package/dist/components/Tableinput/index.d.ts +0 -40
  120. package/dist/components/Tableinput/styles.d.ts +0 -3
  121. package/dist/components/Tableinput/types.d.ts +0 -8
  122. package/dist/components/Text/index.d.ts +0 -47
  123. package/dist/components/Text/styles.d.ts +0 -23
  124. package/dist/components/Textarea/TextArea.stories.d.ts +0 -10
  125. package/dist/components/Textarea/index.d.ts +0 -15
  126. package/dist/components/Textarea/styled.d.ts +0 -2
  127. package/dist/components/Textarea/styles.d.ts +0 -23
  128. package/dist/components/Timeline/index.d.ts +0 -3
  129. package/dist/components/Timeline/styled.d.ts +0 -12
  130. package/dist/components/Timeline/styles.d.ts +0 -26
  131. package/dist/components/Timeline/types.d.ts +0 -26
  132. package/dist/components/Tooltip/index.d.ts +0 -16
  133. package/dist/components/Tooltip/styled.d.ts +0 -22
  134. package/dist/components/Tooltip/styles.d.ts +0 -3
  135. package/dist/components/Totalhours/index.d.ts +0 -48
  136. package/dist/constants/index.d.ts +0 -11
  137. package/dist/events/index.d.ts +0 -58
  138. package/dist/hooks/usecache/config.d.ts +0 -7
  139. package/dist/hooks/usecache/index.d.ts +0 -13
  140. package/dist/hooks/usecheckbox/index.d.ts +0 -12
  141. package/dist/hooks/usetoggle/index.d.ts +0 -14
  142. package/dist/index.d.ts +0 -133
  143. package/dist/index.es.js +0 -35384
  144. package/dist/index.es.js.map +0 -1
  145. package/dist/index.umd.js +0 -2126
  146. package/dist/index.umd.js.map +0 -1
  147. package/dist/main.d.ts +0 -0
  148. package/dist/providers/channel/hooks.d.ts +0 -11
  149. package/dist/providers/channel/index.d.ts +0 -26
  150. package/dist/providers/channel/types.d.ts +0 -8
  151. package/dist/providers/context/hooks.d.ts +0 -1
  152. package/dist/providers/context/index.d.ts +0 -31
  153. package/dist/providers/context/types.d.ts +0 -48
  154. package/dist/providers/https/http.api.d.ts +0 -27
  155. package/dist/providers/https/index.d.ts +0 -68
  156. package/dist/providers/logger/index.d.ts +0 -24
  157. package/dist/providers/microfront/index.d.ts +0 -16
  158. package/dist/providers/microfront/types.d.ts +0 -50
  159. package/dist/providers/permissions/index.d.ts +0 -12
  160. package/dist/providers/permissions/types.d.ts +0 -86
  161. package/dist/providers/permissions/utils.d.ts +0 -11
  162. package/dist/providers/private/index.d.ts +0 -25
  163. package/dist/providers/storage/crypto.d.ts +0 -1
  164. package/dist/providers/storage/index.d.ts +0 -4
  165. package/dist/providers/storage/session/index.d.ts +0 -53
  166. package/dist/providers/storage/types.d.ts +0 -32
  167. package/dist/providers/taggeo/tagEvent.d.ts +0 -12
  168. package/dist/stories/Button.d.ts +0 -26
  169. package/dist/stories/Button.stories.d.ts +0 -23
  170. package/dist/stories/Header.d.ts +0 -11
  171. package/dist/stories/Header.stories.d.ts +0 -18
  172. package/dist/stories/Page.d.ts +0 -2
  173. package/dist/stories/Page.stories.d.ts +0 -12
  174. package/dist/style.css +0 -1
  175. package/dist/theme/index.d.ts +0 -12
  176. package/dist/typings/index.d.ts +0 -150
  177. package/dist/utils/amount/index.d.ts +0 -1
  178. package/dist/utils/bearer/index.d.ts +0 -6
  179. package/dist/utils/cache/index.d.ts +0 -7
  180. package/dist/utils/capitalize/index.d.ts +0 -6
  181. package/dist/utils/download/index.d.ts +0 -6
  182. package/dist/utils/index.d.ts +0 -13
  183. package/dist/utils/mapping/index.d.ts +0 -19
  184. package/dist/utils/microfront/index.d.ts +0 -8
  185. package/dist/utils/responsive/index.d.ts +0 -5
  186. package/dist/utils/revert/index.d.ts +0 -5
  187. package/dist/utils/slots/index.d.ts +0 -14
  188. package/dist/utils/sort/index.d.ts +0 -6
  189. package/dist/utils/stack/index.d.ts +0 -5
  190. package/dist/utils/time/index.d.ts +0 -7
  191. package/dist/vite.svg +0 -1
@@ -1,47 +0,0 @@
1
- import { default as React } from 'react';
2
- export type CommonTextProps = {
3
- tag?: string;
4
- color?: 'info' | 'opaque' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'white' | 'darkened';
5
- customColor?: string;
6
- className?: string;
7
- size?: 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
8
- font?: 'medium' | 'bold' | 'semibold' | 'extrabold' | 'normal' | 'thin' | 'regular' | 'light' | 'black' | 'extralight';
9
- children?: React.ReactNode;
10
- style?: 'italic' | 'non-italic';
11
- sans?: boolean;
12
- leading?: string | number;
13
- };
14
- export type MessageTextProps = {
15
- className?: string;
16
- confirmation?: boolean;
17
- onDismiss?: () => void;
18
- children?: React.ReactNode;
19
- };
20
- export declare const Text: React.FunctionComponent<CommonTextProps>;
21
- /**
22
- * @description
23
- * Title component for the application on TailwindCSS.
24
- */
25
- export declare const Title: React.FunctionComponent<CommonTextProps>;
26
- /**
27
- * @description
28
- * Subtitle component for the application on TailwindCSS.
29
- */
30
- export declare const Subtitle: React.FunctionComponent<CommonTextProps>;
31
- /**
32
- * @description
33
- * Subtitle component for the application on TailwindCSS.
34
- */
35
- export declare const Item: React.FunctionComponent<{
36
- children?: React.ReactNode;
37
- }>;
38
- /**
39
- * @description
40
- * Description component for the application on TailwindCSS.
41
- */
42
- export declare const Description: React.FunctionComponent<{
43
- content?: boolean;
44
- children?: React.ReactNode;
45
- }>;
46
- export declare const Success: React.FC<MessageTextProps>;
47
- export declare const Error: React.FC<MessageTextProps>;
@@ -1,23 +0,0 @@
1
- export declare const classes: {
2
- container: {
3
- content: string;
4
- description: string;
5
- root: string;
6
- sub: string;
7
- };
8
- inscription: {
9
- title: string;
10
- };
11
- success: {
12
- position: string;
13
- confirmation: string;
14
- show: string;
15
- hide: string;
16
- };
17
- error: {
18
- position: string;
19
- confirmation: string;
20
- show: string;
21
- hide: string;
22
- };
23
- };
@@ -1,10 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { TextArea } from '.';
3
- declare const meta: Meta<typeof TextArea>;
4
- export default meta;
5
- type Story = StoryObj<typeof TextArea>;
6
- export declare const Default: Story;
7
- export declare const WithText: Story;
8
- export declare const Disabled: Story;
9
- export declare const WithMaxLength: Story;
10
- export declare const CustomColors: Story;
@@ -1,15 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const TextArea: React.FunctionComponent<TextAreaProps>;
3
- export type TextAreaProps = {
4
- name?: string;
5
- value?: string;
6
- onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
7
- onKeyDown?: (event: React.KeyboardEvent<HTMLTextAreaElement>) => void;
8
- placeholder?: string;
9
- disabled?: boolean;
10
- rows?: number;
11
- textColor?: string;
12
- borderColor?: string;
13
- maxLength?: number;
14
- className?: string;
15
- };
@@ -1,2 +0,0 @@
1
- import { TextAreaProps } from './index';
2
- export declare const StyledTextArea: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, TextAreaProps>> & string;
@@ -1,23 +0,0 @@
1
- export declare const classes: {
2
- container: {
3
- content: string;
4
- description: string;
5
- root: string;
6
- sub: string;
7
- };
8
- inscription: {
9
- title: string;
10
- };
11
- success: {
12
- position: string;
13
- confirmation: string;
14
- show: string;
15
- hide: string;
16
- };
17
- error: {
18
- position: string;
19
- confirmation: string;
20
- show: string;
21
- hide: string;
22
- };
23
- };
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- import { TimelineProps } from './types';
3
- export declare const Timeline: React.FC<TimelineProps>;
@@ -1,12 +0,0 @@
1
- import { IDisclosureProps, TimelineDashedProps } from './types';
2
- /**
3
- * @description
4
- * Styled Disclosure Component API.
5
- */
6
- export declare const StyledDisclosure: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IDisclosureProps>> & string;
7
- export declare const TimelineDashed: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TimelineDashedProps>> & string;
8
- /**
9
- * @description
10
- * TimeLineUnion Normal Stage API.
11
- */
12
- export declare const TimelineUnion: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,26 +0,0 @@
1
- export declare const classes: {
2
- chevronIcon: (open: boolean) => "h-5 w-5" | "rotate-180 transform h-5 w-5";
3
- timeline: {
4
- title: string;
5
- disclosure: string;
6
- container: string;
7
- grid: string;
8
- button: {
9
- container: string;
10
- stack: string;
11
- style: string;
12
- category: string;
13
- };
14
- list: {
15
- container: string;
16
- item: string;
17
- styles: string;
18
- name: string;
19
- date: string;
20
- author: string;
21
- lastItem: string;
22
- };
23
- buttonLine: string;
24
- buttonLineUp: string;
25
- };
26
- };
@@ -1,26 +0,0 @@
1
- export type Stage = {
2
- name: string;
3
- date: string;
4
- author: string;
5
- uuid?: string;
6
- };
7
- export type Event = {
8
- category: string;
9
- data: Stage[];
10
- isOpen: boolean;
11
- };
12
- export type EventUI = Event & {
13
- uuid: string;
14
- };
15
- export type TimelineProps = {
16
- events: Event[] | null;
17
- title?: string;
18
- };
19
- export type TimelineDashedProps = {
20
- lineHeight: string;
21
- };
22
- export type IDisclosureProps = {
23
- isOpen: boolean;
24
- lineHeight: string;
25
- ref?: React.RefObject<HTMLDivElement>;
26
- };
@@ -1,16 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const Tooltip: React.FC<TooltipProps>;
3
- export type TooltipProps = {
4
- text: string;
5
- active?: boolean;
6
- zIndex?: number;
7
- className?: string;
8
- infoWidth?: number;
9
- tableData?: boolean;
10
- tableHead?: boolean;
11
- zIndexText?: number;
12
- controlled?: boolean;
13
- maxWidth?: number | string;
14
- children: React.ReactNode;
15
- orientation?: 'top' | 'left' | 'right' | 'bottom' | 'bottom-left' | 'bottom-right';
16
- };
@@ -1,22 +0,0 @@
1
- import { TooltipProps } from '.';
2
- type TooltipTextProps = {
3
- zIndex?: number;
4
- visible: boolean;
5
- maxWidth?: number | string;
6
- infoWidth?: number;
7
- orientation?: TooltipProps['orientation'];
8
- };
9
- type TooltipArrowProps = {
10
- orientation?: TooltipProps['orientation'];
11
- };
12
- type TooltipContainerProps = {
13
- tableHead?: boolean;
14
- zIndex?: number;
15
- tableData?: boolean;
16
- };
17
- export declare const arrow: (prop: TooltipProps["orientation"]) => import('styled-components').RuleSet<object> | undefined;
18
- export declare const orientation: (prop: TooltipProps["orientation"]) => import('styled-components').RuleSet<object> | undefined;
19
- export declare const TooltipContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TooltipContainerProps>> & string;
20
- export declare const TooltipText: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TooltipTextProps>> & string;
21
- export declare const TooltipArrow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TooltipArrowProps>> & string;
22
- export {};
@@ -1,3 +0,0 @@
1
- export declare const classes: {
2
- text: string;
3
- };
@@ -1,48 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const BaseColumn: React.FC<BaseColumnProps>;
3
- export declare const TotalHours: React.FunctionComponent<TotalHoursProps>;
4
- export declare const Container: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ContainerProps>> & string;
5
- export declare const Group: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
6
- export declare const Column: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
7
- export declare const Title: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
8
- export declare const Value: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
9
- export declare const HoursColumn: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
10
- ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
11
- }, never>> & string;
12
- export declare const InputsColumn: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
13
- ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
14
- }, StyledColumnProps>> & string;
15
- export declare const PendingColumn: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
16
- ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
17
- }, never>> & string;
18
- export type TotalHoursProps = {
19
- prefix?: string;
20
- hours?: number;
21
- inputs?: number;
22
- pending?: number;
23
- borderColor?: string;
24
- hoursColor?: string;
25
- inputColor?: string;
26
- pendingColor?: string;
27
- hoursTitle?: string;
28
- inputsTitle?: string;
29
- pendingTitle?: string;
30
- hoursTitleColor?: string;
31
- inputsTitleColor?: string;
32
- pendingTitleColor?: string;
33
- };
34
- export interface BaseColumnProps {
35
- title?: string;
36
- value?: number;
37
- color?: string;
38
- titleColor?: string;
39
- borderColor?: string;
40
- as?: typeof InputsColumn;
41
- prefix?: string;
42
- }
43
- export type ContainerProps = {
44
- span?: number;
45
- };
46
- export type StyledColumnProps = {
47
- borderColor?: string;
48
- };
@@ -1,11 +0,0 @@
1
- export declare enum DropStatus {
2
- DragActive = 1,
3
- FileEmpty = 2,
4
- InvalidType = 3,
5
- FileTooBig = 4,
6
- WithError = 5,
7
- Reload = 6,
8
- TooManyParticipants = 7,
9
- MoreThanFifteen = 8,
10
- MissingField = 9
11
- }
@@ -1,58 +0,0 @@
1
- declare const ON_CONNECT_APP = "@CCC/onConnectApp";
2
- declare const ON_REHYDRATE_APP = "@CCC/onRehydrateApp";
3
- declare const ON_DISCONNECT_APP = "@CCC/onDisconnectApp";
4
- declare const GET_ZUSTAND_INSTANCE = "@CCC/getZustandInstance";
5
- declare const UPDATE_ZUSTAND_INSTANCE = "@CCC/updateZustandInstance";
6
- declare const SSO_LOGIN = "@CCC/SSO";
7
- declare const SSO_LOGOUT = "@CCC/SSO/logout";
8
- declare const SSO_REFRESH = "@CCC/SSO/refresh";
9
- declare const SSO_ATTEMPT = "@CCC/SSO/attempt";
10
- declare const SSO_ERROR = "@CCC/SSO/failure";
11
- declare const SSO_SUCCESS = "@CCC/SSO/success";
12
- declare const SSO_EXPIRED = "@CCC/SSO/expired";
13
- declare const SIGNAL = "@CCC/signal";
14
- /**
15
- * @description
16
- * This is the list of all the events that the client can emit.
17
- * - ON_CONNECT_APP: This event is emitted when the app is connected.
18
- * - ON_REHYDRATE_APP: This event is emitted when the app is rehydrated.
19
- * - ON_DISCONNECT_APP: This event is emitted when the app is disconnected.
20
- * - GET_ZUSTAND_INSTANCE: This event is emitted when the app needs to get the zustand instance.
21
- * - UPDATE_ZUSTAND_INSTANCE: This event is emitted when the app needs to update the zustand instance.
22
- * - SSO_LOGIN: This event is emitted when the app needs to login.
23
- * - SSO_LOGOUT: This event is emitted when the app needs to logout.
24
- * - SSO_REFRESH: This event is emitted when the app needs to refresh the token.
25
- * - SSO_ATTEMPT: This event is emitted when the app needs to attempt to login.
26
- * - SSO_ERROR: This event is emitted when the app needs to attempt to login.
27
- * - SIGNAL: This event is emitted when the app needs to attempt to login.
28
- */
29
- export type Event = typeof ON_CONNECT_APP | typeof ON_DISCONNECT_APP | typeof ON_REHYDRATE_APP | typeof GET_ZUSTAND_INSTANCE | typeof UPDATE_ZUSTAND_INSTANCE | typeof SSO_LOGIN | typeof SSO_LOGOUT | typeof SSO_REFRESH | typeof SSO_ATTEMPT | typeof SSO_ERROR | typeof SSO_SUCCESS | typeof SIGNAL | typeof SSO_EXPIRED;
30
- /**
31
- * @description
32
- * This is the list of all the events that the client can emit.
33
- * - ON_CONNECT_APP: This event is emitted when the app is connected.
34
- * - ON_REHYDRATE_APP: This event is emitted when the app is rehydrated.
35
- * - ON_DISCONNECT_APP: This event is emitted when the app is disconnected.
36
- * - GET_ZUSTAND_INSTANCE: This event is emitted when the app needs to get the zustand instance.
37
- * - UPDATE_ZUSTAND_INSTANCE: This event is emitted when the app needs to update the zustand instance.
38
- * - SSO_LOGIN: This event is emitted when the app needs to login.
39
- * - SSO_LOGOUT: This event is emitted when the app needs to logout.
40
- * - SSO_REFRESH: This event is emitted when the app needs to refresh the token.
41
- * - SSO_ATTEMPT: This event is emitted when the app needs to attempt to login.
42
- */
43
- export declare enum EventMap {
44
- SSO_LOGIN = "@CCC/SSO",
45
- SSO_ERROR = "@CCC/SSO/failure",
46
- SSO_LOGOUT = "@CCC/SSO/logout",
47
- SSO_REFRESH = "@CCC/SSO/refresh",
48
- SSO_ATTEMPT = "@CCC/SSO/attempt",
49
- SSO_EXPIRED = "@CCC/SSO/expired",
50
- SSO_SUCCESS = "@CCC/SSO/success",
51
- ON_CONNECT_APP = "@CCC/onConnectApp",
52
- ON_REHYDRATE_APP = "@CCC/onRehydrateApp",
53
- ON_DISCONNECT_APP = "@CCC/onDisconnectApp",
54
- GET_ZUSTAND_INSTANCE = "@CCC/getZustandInstance",
55
- UPDATE_ZUSTAND_INSTANCE = "@CCC/updateZustandInstance",
56
- SIGNAL = "@CCC/signal"
57
- }
58
- export {};
@@ -1,7 +0,0 @@
1
- import { useQuery, useQueryClient } from '@tanstack/react-query';
2
- interface DefaultConfigHook {
3
- useQuery?: typeof useQuery | null;
4
- useQueryClient?: typeof useQueryClient | null;
5
- }
6
- export declare const defaultConfig: DefaultConfigHook;
7
- export {};
@@ -1,13 +0,0 @@
1
- import * as rq from '@tanstack/react-query';
2
- export type UseCacheOptions<T> = {
3
- sequence?: boolean;
4
- cacheKey: readonly string[];
5
- defaultValue?: T;
6
- };
7
- export declare function useCache<T>({ defaultValue, sequence, cacheKey }: UseCacheOptions<T>): {
8
- cache: rq.UseQueryResult<T, unknown>;
9
- defaultValue: T | undefined;
10
- isStored: boolean;
11
- store: (data: T) => void;
12
- purge: (queryKeys?: readonly string[]) => void;
13
- };
@@ -1,12 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface ICheckbox {
3
- checked?: boolean;
4
- }
5
- export declare function useCheckbox<T extends ICheckbox>(propertyName?: keyof T): {
6
- checkboxList: T[];
7
- checkboxHead: boolean;
8
- setCheckboxList: React.Dispatch<React.SetStateAction<T[]>>;
9
- setCheckboxHead: React.Dispatch<React.SetStateAction<boolean>>;
10
- handleChangeCheckbox: (checked: boolean, dataId: number | undefined) => void;
11
- handleChangeCheckboxHead: (checked: boolean) => void;
12
- };
@@ -1,14 +0,0 @@
1
- /**
2
- * @description
3
- * Use toggle hook, to switch values.
4
- *
5
- * @example
6
- * const { isToggled, handleToggle } = useToggle(false);
7
- *
8
- * <button disabled={isToggled} onClick={handleToggle} />
9
- */
10
- export declare function useToggle(initialState?: boolean): {
11
- forceTo: (status: boolean) => void;
12
- isToggled: boolean;
13
- handleToggle: () => void;
14
- };
package/dist/index.d.ts DELETED
@@ -1,133 +0,0 @@
1
- export { Alert } from './components/Alert';
2
- export type { AlertProps } from './components/Alert/types';
3
- export { Box } from './components/Box';
4
- export type { BoxProps } from './components/Box/types';
5
- export { Col } from './components/Col';
6
- export type { ColProps } from './components/Col/types';
7
- export { Row } from './components/Row';
8
- export type { RowProps } from './components/Row';
9
- export { Chart } from './components/Chart';
10
- export type { ChartProps, ChartClickQuery } from './components/Chart';
11
- export { FirstModal } from './components/FirstModal';
12
- export type { FirstModalProps } from './components/FirstModal/types';
13
- export { TCModal } from './components/Modal/variant/TCModal';
14
- export type { TCModalProps } from './components/Modal/variant/types';
15
- export { Modal } from './components/Modal';
16
- export type { ModalProps } from './components/Modal';
17
- export { Checkbox } from './components/Checkbox';
18
- export type { CheckboxProps } from './components/Checkbox';
19
- export { Dropdown } from './components/Dropdown';
20
- export type { DropdownProps } from './components/Dropdown';
21
- export { EnterprisesFilter } from './components/EnterprisesFilter';
22
- export { Flex, FlexItem } from './components/Flex';
23
- export type { FlexProps, FlexItemProps } from './components/Flex';
24
- export { Select } from './components/Select';
25
- export type { SelectProps, Option, OptionListProps } from './components/Select';
26
- export { Switch } from './components/Switch';
27
- export type { SwitchProps } from './components/Switch';
28
- export { Datepicker } from './components/Datepicker';
29
- export type { DatepickerProps } from './components/Datepicker';
30
- export { RadioButton } from './components/RadioButton';
31
- export type { RadioButtonProps } from './components/RadioButton';
32
- export { Text, Error, Title, Success, Subtitle, Description, Item as Little, } from './components/Text';
33
- export type { CommonTextProps } from './components/Text';
34
- export { Input } from './components/Input';
35
- export { InputTable } from './components/Input/variants/InputTable';
36
- export type { InputProps } from './components/Input';
37
- export { TableInput } from './components/Tableinput';
38
- export { InputMode } from './components/Tableinput/types';
39
- export type { TableInputProps } from './components/Tableinput';
40
- export { Tooltip } from './components/Tooltip';
41
- export type { TooltipProps } from './components/Tooltip';
42
- export { TextArea } from './components/Textarea';
43
- export type { TextAreaProps } from './components/Textarea';
44
- export { Grid, Colspan } from './components/Grid';
45
- export type { GridProps, ColspanProps } from './components/Grid';
46
- export { Counter } from './components/Counter';
47
- export type { CounterProps } from './components/Counter';
48
- export { Container } from './components/Container';
49
- export type { ContainerProps } from './components/Container';
50
- export { Empty } from './components/Empty';
51
- export type { EmptyProps } from './components/Empty';
52
- export { Loading, Wait } from './components/Loading';
53
- export type { LoadingProps } from './components/Loading';
54
- export { SingleDeadlineChart } from './components/DeadlineChart';
55
- export type { SingleDeadlineChartProps } from './components/DeadlineChart';
56
- export { Collapse } from './components/Collapse';
57
- export type { CollapseProps } from './components/Collapse';
58
- export type { BadgeProps } from './components/Badge';
59
- export { Badge } from './components/Badge';
60
- export { BadgeStatus } from './components/Badge/types';
61
- export { Footer } from './components/Footer';
62
- export { Layout } from './components/Layout';
63
- export { Navbar } from './components/Navbar';
64
- export { Sidebar } from './components/Sidebar';
65
- export { TwTable as Table, TableRow, TableData, TableWrapper } from './components/Table';
66
- export type { Heading, TableProps, TableRowProps, TableColProps, TableDataProps, TableStatusProps, } from './components/Table/types';
67
- export type { NavbarProps } from './components/Navbar';
68
- export type { SidebarProps } from './components/Sidebar/types';
69
- export { Search } from './components/Search';
70
- export { ScrollSearch } from './components/Search/variants/ScrollSearch';
71
- export type { SearchItem, SearchProps, ScrollSearchProps, Client, PendingClientElement, Placeholder, } from './components/Search/types';
72
- export { Pagination } from './components/Pagination';
73
- export type { PaginationProps } from './components/Pagination/types';
74
- export { ScheduleCard, ScheduleHeader } from './components/Card/variants/Schedule';
75
- export type { ScheduleCardProps, HeaderProps } from './components/Card/variants/Schedule/types';
76
- export { Card, DangerTitle, AlertTitle, CheckTitle } from './components/Card';
77
- export type { CardProps, CardTitleProps } from './components/Card/types';
78
- export { Button } from './components/Button';
79
- export { WeekdayBar } from './components/Button/variants/Weekday';
80
- export type { WeekdayBarProps } from './components/Button/variants/Weekday/types';
81
- export type { ButtonProps, ButtonStyledProps } from './components/Button/types';
82
- export { TotalHours } from './components/Totalhours';
83
- export type { TotalHoursProps } from './components/Totalhours';
84
- export type { Session, Systems, SystemRole, UserSystem, SessionState, SignalConnection, CommonSignalConnection, Response, } from './typings';
85
- export { LocalStorageKeys, UrlSSOParams, SucursalUrlSSOParams } from './typings';
86
- export { useSignal } from './providers/context/hooks';
87
- export { SignalContext } from './providers/context/index';
88
- export { HttpClient, type SignalResponse } from './providers/https';
89
- export { signalHttps, Method } from './providers/https/http.api';
90
- export type { Arguments } from './providers/https/http.api';
91
- export type { HttpClientOptions, HttpResponse } from './providers/https';
92
- export { destroy, observe, dispatch, broadcast, useObserver, destroySignal, useBroadcaster, unsubscribeEvent, $events, $channels, $observers, takeSignal, createSignal, createObserver, } from './providers/channel';
93
- export { EventMap } from './events';
94
- export type { Event } from './events';
95
- export { createRef, initialState, resetAllStores, useSessionStore } from './providers/storage';
96
- export { Permissions } from './providers/permissions';
97
- export type { PermissionsProps, AuthorizationProps, AuthorizationFilterArgs, AuthorizationSystemFlag, } from './providers/permissions/types';
98
- export { checkSystems, authorization } from './providers/permissions/utils';
99
- export { SP_Permission, IN_Permission } from './providers/permissions/types';
100
- export { MicrofrontHost } from './providers/microfront';
101
- export type { Wrapper, UIArguments, MicrofrontProps, WrappedComponentProps, SignalLayoutConnection, CommonSignalConnection as CommonSignal, } from './providers/microfront/types';
102
- export { App } from './providers/microfront/types';
103
- export { Color } from './theme';
104
- export { Logger, LogColors, LogLevel } from './providers/logger';
105
- export { GrantSystem, Private } from './providers/private';
106
- export type { GrantArgs, PrivateProps } from './providers/private';
107
- export { useCache } from './hooks/usecache';
108
- export { useToggle } from './hooks/usetoggle';
109
- export { useCheckbox } from './hooks/usecheckbox';
110
- export { defaultConfig } from './hooks/usecache/config';
111
- export { defaultCacheQueryOptions } from './utils/cache';
112
- export { sort } from './utils/sort';
113
- export { stack } from './utils/stack';
114
- export { bearer } from './utils/bearer';
115
- export { revert } from './utils/revert';
116
- export { mapping, type Mapping, type Option as IOptionMapping } from './utils/mapping';
117
- export { isAmount } from './utils/amount';
118
- export { download } from './utils/download';
119
- export { capitalize } from './utils/capitalize';
120
- export { formatHourTime, removeHourFormat } from './utils/time';
121
- export { createTimeSlots, createHalfTimeSlots } from './utils/slots';
122
- export { useDeviceSize } from './utils/responsive';
123
- export * as Detail from './components/Detail';
124
- export type { DetailProps, SectionProps } from './components/Detail';
125
- export { Timeline } from './components/Timeline';
126
- export type { TimelineProps, TimelineDashedProps } from './components/Timeline/types';
127
- export { Dragarea } from './components/Dragarea';
128
- export type { DragareaProps } from './components/Dragarea/types';
129
- export { DropStatus } from './components/Dragarea/types';
130
- export { Stepper } from './components/Stepper';
131
- export { tagEvent } from './providers/taggeo/tagEvent';
132
- export { type Enterprise, type Holding } from './components/EnterprisesFilter';
133
- export { EnterpriseContext, ProviderComponent, EnterpriseProvider } from './components/EnterprisesFilter/EnterpriseContext';