nectiasw 0.0.294 → 0.0.296
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/package.json +1 -1
- package/dist/App.d.ts +0 -2
- package/dist/components/Alert/Alert.stories.d.ts +0 -13
- package/dist/components/Alert/index.d.ts +0 -2
- package/dist/components/Alert/types.d.ts +0 -9
- package/dist/components/Badge/Bagde.stories.d.ts +0 -17
- package/dist/components/Badge/index.d.ts +0 -16
- package/dist/components/Badge/types.d.ts +0 -5
- package/dist/components/Box/index.d.ts +0 -3
- package/dist/components/Box/styles.d.ts +0 -9
- package/dist/components/Box/types.d.ts +0 -105
- package/dist/components/Button/builder.d.ts +0 -20
- package/dist/components/Button/index.d.ts +0 -9
- package/dist/components/Button/styled.d.ts +0 -4
- package/dist/components/Button/styles.d.ts +0 -4
- package/dist/components/Button/types.d.ts +0 -25
- package/dist/components/Button/variants/Weekday/Weekday.stories.d.ts +0 -6
- package/dist/components/Button/variants/Weekday/index.d.ts +0 -3
- package/dist/components/Button/variants/Weekday/styled.d.ts +0 -13
- package/dist/components/Button/variants/Weekday/types.d.ts +0 -15
- package/dist/components/Card/Card.stories.d.ts +0 -13
- package/dist/components/Card/index.d.ts +0 -6
- package/dist/components/Card/styles.d.ts +0 -17
- package/dist/components/Card/types.d.ts +0 -10
- package/dist/components/Card/variants/Schedule/index.d.ts +0 -4
- package/dist/components/Card/variants/Schedule/styled.d.ts +0 -3
- package/dist/components/Card/variants/Schedule/types.d.ts +0 -13
- package/dist/components/Chart/Chart.stories.d.ts +0 -40
- package/dist/components/Chart/index.d.ts +0 -47
- package/dist/components/Chart/styles.d.ts +0 -5
- package/dist/components/Checkbox/index.d.ts +0 -27
- package/dist/components/Checkbox/styled.d.ts +0 -41
- package/dist/components/Checkbox/styles.d.ts +0 -7
- package/dist/components/Col/index.d.ts +0 -3
- package/dist/components/Col/styled.d.ts +0 -2
- package/dist/components/Col/types.d.ts +0 -13
- package/dist/components/Collapse/index.d.ts +0 -18
- package/dist/components/Collapse/styles.d.ts +0 -17
- package/dist/components/Container/index.d.ts +0 -12
- package/dist/components/Counter/index.d.ts +0 -11
- package/dist/components/Counter/styles.d.ts +0 -9
- package/dist/components/Datepicker/index.d.ts +0 -29
- package/dist/components/Datepicker/styled.d.ts +0 -8
- package/dist/components/Datepicker/styles.d.ts +0 -5
- package/dist/components/DeadlineChart/index.d.ts +0 -58
- package/dist/components/DeadlineChart/styles.d.ts +0 -11
- package/dist/components/Detail/Detail.stories.d.ts +0 -9
- package/dist/components/Detail/index.d.ts +0 -43
- package/dist/components/Detail/styles.d.ts +0 -14
- package/dist/components/Dragarea/index.d.ts +0 -3
- package/dist/components/Dragarea/styled.d.ts +0 -5
- package/dist/components/Dragarea/svg.d.ts +0 -5
- package/dist/components/Dragarea/types.d.ts +0 -38
- package/dist/components/Dropdown/index.d.ts +0 -41
- package/dist/components/Dropdown/styles.d.ts +0 -21
- package/dist/components/Empty/index.d.ts +0 -13
- package/dist/components/EnterprisesFilter/EnterpriseContext.d.ts +0 -17
- package/dist/components/EnterprisesFilter/index.d.ts +0 -21
- package/dist/components/FirstModal/index.d.ts +0 -3
- package/dist/components/FirstModal/styled.d.ts +0 -6
- package/dist/components/FirstModal/types.d.ts +0 -14
- package/dist/components/Flex/index.d.ts +0 -25
- package/dist/components/Flex/styles.d.ts +0 -8
- package/dist/components/Footer/index.d.ts +0 -7
- package/dist/components/Footer/styled.d.ts +0 -2
- package/dist/components/Footer/styles.d.ts +0 -3
- package/dist/components/Footer/svg.d.ts +0 -5
- package/dist/components/Grid/index.d.ts +0 -37
- package/dist/components/Input/index.d.ts +0 -67
- package/dist/components/Input/styles.d.ts +0 -8
- package/dist/components/Input/variants/InputTable.d.ts +0 -3
- package/dist/components/Layout/hooks.d.ts +0 -1
- package/dist/components/Layout/index.d.ts +0 -20
- package/dist/components/Layout/styles.d.ts +0 -13
- package/dist/components/Loading/index.d.ts +0 -16
- package/dist/components/Loading/styles.d.ts +0 -19
- package/dist/components/Modal/index.d.ts +0 -8
- package/dist/components/Modal/styles.d.ts +0 -25
- package/dist/components/Modal/variant/TCModal.d.ts +0 -4
- package/dist/components/Modal/variant/TCModal.stories.d.ts +0 -7
- package/dist/components/Modal/variant/styles.d.ts +0 -11
- package/dist/components/Modal/variant/svg.d.ts +0 -1
- package/dist/components/Modal/variant/types.d.ts +0 -14
- package/dist/components/ModalUnathorized/index.d.ts +0 -4
- package/dist/components/Navbar/Navbar.stories.d.ts +0 -7
- package/dist/components/Navbar/index.d.ts +0 -24
- package/dist/components/Navbar/styles.d.ts +0 -49
- package/dist/components/Pagination/index.d.ts +0 -3
- package/dist/components/Pagination/styles.d.ts +0 -26
- package/dist/components/Pagination/types.d.ts +0 -19
- package/dist/components/RadioButton/index.d.ts +0 -15
- package/dist/components/RadioButton/styles.d.ts +0 -7
- package/dist/components/Row/index.d.ts +0 -14
- package/dist/components/Search/index.d.ts +0 -7
- package/dist/components/Search/styled.d.ts +0 -14
- package/dist/components/Search/styles.d.ts +0 -20
- package/dist/components/Search/types.d.ts +0 -75
- package/dist/components/Search/variants/ScrollSearch.d.ts +0 -4
- package/dist/components/Search/variants/styled.d.ts +0 -23
- package/dist/components/Select/Select.stories.d.ts +0 -15
- package/dist/components/Select/builder.d.ts +0 -27
- package/dist/components/Select/index.d.ts +0 -46
- package/dist/components/Select/styled.d.ts +0 -1
- package/dist/components/Sidebar/Sidebar.stories.d.ts +0 -36
- package/dist/components/Sidebar/index.d.ts +0 -2
- package/dist/components/Sidebar/styles.d.ts +0 -26
- package/dist/components/Sidebar/types.d.ts +0 -37
- package/dist/components/Stepper/index.d.ts +0 -17
- package/dist/components/Stepper/styles.d.ts +0 -15
- package/dist/components/Switch/index.d.ts +0 -20
- package/dist/components/Table/Table.stories.d.ts +0 -8
- package/dist/components/Table/builder.d.ts +0 -18
- package/dist/components/Table/index.d.ts +0 -32
- package/dist/components/Table/styled.d.ts +0 -41
- package/dist/components/Table/styles.d.ts +0 -27
- package/dist/components/Table/svg.d.ts +0 -1
- package/dist/components/Table/types.d.ts +0 -98
- package/dist/components/Tableinput/index.d.ts +0 -40
- package/dist/components/Tableinput/styles.d.ts +0 -3
- package/dist/components/Tableinput/types.d.ts +0 -8
- package/dist/components/Text/index.d.ts +0 -47
- package/dist/components/Text/styles.d.ts +0 -23
- package/dist/components/Textarea/TextArea.stories.d.ts +0 -10
- package/dist/components/Textarea/index.d.ts +0 -15
- package/dist/components/Textarea/styled.d.ts +0 -2
- package/dist/components/Textarea/styles.d.ts +0 -23
- package/dist/components/Timeline/index.d.ts +0 -3
- package/dist/components/Timeline/styled.d.ts +0 -12
- package/dist/components/Timeline/styles.d.ts +0 -26
- package/dist/components/Timeline/types.d.ts +0 -26
- package/dist/components/Tooltip/index.d.ts +0 -16
- package/dist/components/Tooltip/styled.d.ts +0 -22
- package/dist/components/Tooltip/styles.d.ts +0 -3
- package/dist/components/Totalhours/index.d.ts +0 -72
- package/dist/constants/index.d.ts +0 -11
- package/dist/events/index.d.ts +0 -58
- package/dist/hooks/usecache/config.d.ts +0 -7
- package/dist/hooks/usecache/index.d.ts +0 -13
- package/dist/hooks/usecheckbox/index.d.ts +0 -12
- package/dist/hooks/usetoggle/index.d.ts +0 -14
- package/dist/index.d.ts +0 -133
- package/dist/index.es.js +0 -36161
- package/dist/index.es.js.map +0 -1
- package/dist/index.umd.js +0 -2129
- package/dist/index.umd.js.map +0 -1
- package/dist/main.d.ts +0 -0
- package/dist/providers/channel/hooks.d.ts +0 -11
- package/dist/providers/channel/index.d.ts +0 -26
- package/dist/providers/channel/types.d.ts +0 -8
- package/dist/providers/context/hooks.d.ts +0 -1
- package/dist/providers/context/index.d.ts +0 -31
- package/dist/providers/context/types.d.ts +0 -48
- package/dist/providers/https/http.api.d.ts +0 -27
- package/dist/providers/https/index.d.ts +0 -68
- package/dist/providers/logger/index.d.ts +0 -24
- package/dist/providers/microfront/index.d.ts +0 -16
- package/dist/providers/microfront/types.d.ts +0 -50
- package/dist/providers/permissions/index.d.ts +0 -12
- package/dist/providers/permissions/types.d.ts +0 -88
- package/dist/providers/permissions/utils.d.ts +0 -11
- package/dist/providers/private/index.d.ts +0 -25
- package/dist/providers/storage/crypto.d.ts +0 -1
- package/dist/providers/storage/index.d.ts +0 -4
- package/dist/providers/storage/session/index.d.ts +0 -53
- package/dist/providers/storage/types.d.ts +0 -32
- package/dist/providers/taggeo/tagEvent.d.ts +0 -12
- package/dist/stories/Button.d.ts +0 -27
- package/dist/stories/Button.stories.d.ts +0 -23
- package/dist/stories/Header.d.ts +0 -12
- package/dist/stories/Header.stories.d.ts +0 -18
- package/dist/stories/Page.d.ts +0 -2
- package/dist/stories/Page.stories.d.ts +0 -12
- package/dist/style.css +0 -1
- package/dist/theme/index.d.ts +0 -12
- package/dist/typings/index.d.ts +0 -150
- package/dist/utils/amount/index.d.ts +0 -1
- package/dist/utils/bearer/index.d.ts +0 -6
- package/dist/utils/cache/index.d.ts +0 -7
- package/dist/utils/capitalize/index.d.ts +0 -6
- package/dist/utils/download/index.d.ts +0 -6
- package/dist/utils/index.d.ts +0 -13
- package/dist/utils/mapping/index.d.ts +0 -19
- package/dist/utils/microfront/index.d.ts +0 -8
- package/dist/utils/responsive/index.d.ts +0 -5
- package/dist/utils/revert/index.d.ts +0 -5
- package/dist/utils/slots/index.d.ts +0 -14
- package/dist/utils/sort/index.d.ts +0 -6
- package/dist/utils/stack/index.d.ts +0 -5
- package/dist/utils/time/index.d.ts +0 -7
- package/dist/vite.svg +0 -1
|
@@ -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').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof IDisclosureProps> & IDisclosureProps, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof IDisclosureProps> & IDisclosureProps, never>>> & string;
|
|
7
|
-
export declare const TimelineDashed: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "lineHeight"> & TimelineDashedProps, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "lineHeight"> & TimelineDashedProps, never>>> & 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> & Partial<Pick<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').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof TooltipContainerProps> & TooltipContainerProps, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof TooltipContainerProps> & TooltipContainerProps, never>>> & string;
|
|
20
|
-
export declare const TooltipText: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof TooltipTextProps> & TooltipTextProps, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof TooltipTextProps> & TooltipTextProps, never>>> & string;
|
|
21
|
-
export declare const TooltipArrow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "orientation"> & TooltipArrowProps, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "orientation"> & TooltipArrowProps, never>>> & string;
|
|
22
|
-
export {};
|
|
@@ -1,72 +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').FastOmit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "span"> & ContainerProps, never> & Partial<Pick<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "span"> & ContainerProps, never>>> & string;
|
|
5
|
-
export declare const Group: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<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> & Partial<Pick<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> & Partial<Pick<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> & Partial<Pick<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<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
|
|
10
|
-
as?: import('styled-components').WebTarget | undefined;
|
|
11
|
-
forwardedAs?: import('styled-components').WebTarget | undefined;
|
|
12
|
-
}, "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
|
-
}, never> & Partial<Pick<Omit<import('styled-components').FastOmit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
|
|
15
|
-
as?: import('styled-components').WebTarget | undefined;
|
|
16
|
-
forwardedAs?: import('styled-components').WebTarget | undefined;
|
|
17
|
-
}, "ref"> & {
|
|
18
|
-
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;
|
|
19
|
-
}, never>>> & string;
|
|
20
|
-
export declare const InputsColumn: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<Omit<import('styled-components').FastOmit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
|
|
21
|
-
as?: import('styled-components').WebTarget | undefined;
|
|
22
|
-
forwardedAs?: import('styled-components').WebTarget | undefined;
|
|
23
|
-
}, "ref"> & {
|
|
24
|
-
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;
|
|
25
|
-
}, "borderColor"> & StyledColumnProps, never> & Partial<Pick<import('styled-components').FastOmit<Omit<import('styled-components').FastOmit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
|
|
26
|
-
as?: import('styled-components').WebTarget | undefined;
|
|
27
|
-
forwardedAs?: import('styled-components').WebTarget | undefined;
|
|
28
|
-
}, "ref"> & {
|
|
29
|
-
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;
|
|
30
|
-
}, "borderColor"> & StyledColumnProps, never>>> & string;
|
|
31
|
-
export declare const PendingColumn: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('styled-components').FastOmit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
|
|
32
|
-
as?: import('styled-components').WebTarget | undefined;
|
|
33
|
-
forwardedAs?: import('styled-components').WebTarget | undefined;
|
|
34
|
-
}, "ref"> & {
|
|
35
|
-
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;
|
|
36
|
-
}, never> & Partial<Pick<Omit<import('styled-components').FastOmit<import('styled-components').FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>, "as" | "forwardedAs"> & {
|
|
37
|
-
as?: import('styled-components').WebTarget | undefined;
|
|
38
|
-
forwardedAs?: import('styled-components').WebTarget | undefined;
|
|
39
|
-
}, "ref"> & {
|
|
40
|
-
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;
|
|
41
|
-
}, never>>> & string;
|
|
42
|
-
export type TotalHoursProps = {
|
|
43
|
-
prefix?: string;
|
|
44
|
-
hours?: number;
|
|
45
|
-
inputs?: number;
|
|
46
|
-
pending?: number;
|
|
47
|
-
borderColor?: string;
|
|
48
|
-
hoursColor?: string;
|
|
49
|
-
inputColor?: string;
|
|
50
|
-
pendingColor?: string;
|
|
51
|
-
hoursTitle?: string;
|
|
52
|
-
inputsTitle?: string;
|
|
53
|
-
pendingTitle?: string;
|
|
54
|
-
hoursTitleColor?: string;
|
|
55
|
-
inputsTitleColor?: string;
|
|
56
|
-
pendingTitleColor?: string;
|
|
57
|
-
};
|
|
58
|
-
export interface BaseColumnProps {
|
|
59
|
-
title?: string;
|
|
60
|
-
value?: number;
|
|
61
|
-
color?: string;
|
|
62
|
-
titleColor?: string;
|
|
63
|
-
borderColor?: string;
|
|
64
|
-
as?: typeof InputsColumn;
|
|
65
|
-
prefix?: string;
|
|
66
|
-
}
|
|
67
|
-
export type ContainerProps = {
|
|
68
|
-
span?: number;
|
|
69
|
-
};
|
|
70
|
-
export type StyledColumnProps = {
|
|
71
|
-
borderColor?: string;
|
|
72
|
-
};
|
package/dist/events/index.d.ts
DELETED
|
@@ -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,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';
|