linear-react-components-ui 0.4.77-beta.28 → 0.4.77-beta.29
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/lib/dropdown/withDropdown.js +1 -1
- package/lib/menus/float/SubMenuContainer.js +2 -2
- package/lib/menus/float/index.js +1 -1
- package/package.json +1 -1
- package/lib/@types/Align.d.ts +0 -3
- package/lib/@types/Align.js +0 -5
- package/lib/@types/ButtonTypes.d.ts +0 -3
- package/lib/@types/ButtonTypes.js +0 -5
- package/lib/@types/ColorStyles.d.ts +0 -3
- package/lib/@types/ColorStyles.js +0 -5
- package/lib/@types/DataCombo.d.ts +0 -3
- package/lib/@types/DataCombo.js +0 -5
- package/lib/@types/Icon.d.ts +0 -5
- package/lib/@types/Icon.js +0 -5
- package/lib/@types/LabelStyles.d.ts +0 -3
- package/lib/@types/LabelStyles.js +0 -5
- package/lib/@types/Period.d.ts +0 -6
- package/lib/@types/Period.js +0 -5
- package/lib/@types/PermissionAttr.d.ts +0 -14
- package/lib/@types/PermissionAttr.js +0 -5
- package/lib/@types/PointerEvents.d.ts +0 -3
- package/lib/@types/PointerEvents.js +0 -5
- package/lib/@types/Position.d.ts +0 -3
- package/lib/@types/Position.js +0 -5
- package/lib/@types/PositionAlert.d.ts +0 -3
- package/lib/@types/PositionAlert.js +0 -5
- package/lib/@types/Size.d.ts +0 -3
- package/lib/@types/Size.js +0 -5
- package/lib/@types/SizePixels.d.ts +0 -3
- package/lib/@types/SizePixels.js +0 -5
- package/lib/@types/StorageMock.d.ts +0 -5
- package/lib/@types/StorageMock.js +0 -5
- package/lib/alerts/AlertContainer.d.ts +0 -16
- package/lib/alerts/AlertProvider.d.ts +0 -7
- package/lib/alerts/BaseAlert.d.ts +0 -7
- package/lib/alerts/Message.d.ts +0 -7
- package/lib/alerts/helpers.d.ts +0 -7
- package/lib/alerts/index.d.ts +0 -6
- package/lib/alerts/types.d.ts +0 -48
- package/lib/alerts/types.js +0 -5
- package/lib/alerts/withAlert.d.ts +0 -7
- package/lib/avatar/index.d.ts +0 -12
- package/lib/avatar/types.d.ts +0 -31
- package/lib/avatar/types.js +0 -5
- package/lib/badge/index.d.ts +0 -6
- package/lib/badge/types.d.ts +0 -13
- package/lib/badge/types.js +0 -5
- package/lib/buttons/ActivateButton.d.ts +0 -9
- package/lib/buttons/AddButton.d.ts +0 -9
- package/lib/buttons/Button.d.ts +0 -12
- package/lib/buttons/ButtonGroups.d.ts +0 -8
- package/lib/buttons/CancelButton.d.ts +0 -9
- package/lib/buttons/DangerButton.d.ts +0 -9
- package/lib/buttons/DefaultButton.d.ts +0 -12
- package/lib/buttons/DestroyButton.d.ts +0 -9
- package/lib/buttons/EditButton.d.ts +0 -9
- package/lib/buttons/InactivateButton.d.ts +0 -9
- package/lib/buttons/InfoButton.d.ts +0 -9
- package/lib/buttons/PrimaryButton.d.ts +0 -9
- package/lib/buttons/RestoreButton.d.ts +0 -9
- package/lib/buttons/SaveButton.d.ts +0 -9
- package/lib/buttons/SuccessButton.d.ts +0 -9
- package/lib/buttons/WarningButton.d.ts +0 -9
- package/lib/buttons/button_container/index.d.ts +0 -12
- package/lib/buttons/index.d.ts +0 -21
- package/lib/buttons/split_button/index.d.ts +0 -9
- package/lib/buttons/types.d.ts +0 -44
- package/lib/buttons/types.js +0 -5
- package/lib/calendar/DangerCalendar.d.ts +0 -7
- package/lib/calendar/InfoCalendar.d.ts +0 -7
- package/lib/calendar/PrimaryCalendar.d.ts +0 -7
- package/lib/calendar/SuccessCalendar.d.ts +0 -7
- package/lib/calendar/WarningCalendar.d.ts +0 -7
- package/lib/calendar/base/Day.d.ts +0 -7
- package/lib/calendar/base/Month.d.ts +0 -7
- package/lib/calendar/base/Week.d.ts +0 -7
- package/lib/calendar/base/helpers.d.ts +0 -62
- package/lib/calendar/base/index.d.ts +0 -7
- package/lib/calendar/index.d.ts +0 -10
- package/lib/calendar/types.d.ts +0 -25
- package/lib/calendar/types.js +0 -5
- package/lib/checkbox/Label.d.ts +0 -11
- package/lib/checkbox/index.d.ts +0 -13
- package/lib/checkbox/types.d.ts +0 -42
- package/lib/checkbox/types.js +0 -5
- package/lib/dialog/Alert.d.ts +0 -6
- package/lib/dialog/Custom.d.ts +0 -6
- package/lib/dialog/Error.d.ts +0 -6
- package/lib/dialog/Information.d.ts +0 -6
- package/lib/dialog/Question.d.ts +0 -6
- package/lib/dialog/Warning.d.ts +0 -6
- package/lib/dialog/base/Content.d.ts +0 -6
- package/lib/dialog/base/Footer.d.ts +0 -6
- package/lib/dialog/base/Header.d.ts +0 -6
- package/lib/dialog/base/index.d.ts +0 -6
- package/lib/dialog/form/index.d.ts +0 -6
- package/lib/dialog/index.d.ts +0 -10
- package/lib/dialog/types.d.ts +0 -68
- package/lib/dialog/types.js +0 -5
- package/lib/drawer/Content.d.ts +0 -7
- package/lib/drawer/Drawer.d.ts +0 -7
- package/lib/drawer/Header.d.ts +0 -7
- package/lib/drawer/helpers.d.ts +0 -7
- package/lib/drawer/index.d.ts +0 -9
- package/lib/drawer/types.d.ts +0 -34
- package/lib/drawer/types.js +0 -5
- package/lib/dropdown/Popup.d.ts +0 -6
- package/lib/dropdown/helper.d.ts +0 -4
- package/lib/dropdown/types.d.ts +0 -43
- package/lib/dropdown/types.js +0 -5
- package/lib/dropdown/withDropdown.d.ts +0 -10
- package/lib/fieldset/index.d.ts +0 -8
- package/lib/fieldset/types.d.ts +0 -28
- package/lib/fieldset/types.js +0 -5
- package/lib/form/Field.d.ts +0 -6
- package/lib/form/FieldArray.d.ts +0 -6
- package/lib/form/FieldNumber.d.ts +0 -6
- package/lib/form/FieldPeriod.d.ts +0 -6
- package/lib/form/helpers.d.ts +0 -11
- package/lib/form/index.d.ts +0 -9
- package/lib/form/types.d.ts +0 -168
- package/lib/form/types.js +0 -5
- package/lib/form/withFieldHOC.d.ts +0 -6
- package/lib/form/withFormSecurity.d.ts +0 -7
- package/lib/gridlayout/GridCol.d.ts +0 -6
- package/lib/gridlayout/GridRow.d.ts +0 -6
- package/lib/gridlayout/index.d.ts +0 -5
- package/lib/gridlayout/types.d.ts +0 -20
- package/lib/gridlayout/types.js +0 -5
- package/lib/icons/helper.d.ts +0 -560
- package/lib/icons/index.d.ts +0 -8
- package/lib/icons/types.d.ts +0 -28
- package/lib/icons/types.js +0 -5
- package/lib/index.d.ts +0 -35
- package/lib/inputs/base/InputTextBase.d.ts +0 -8
- package/lib/inputs/base/helpers.d.ts +0 -14
- package/lib/inputs/base/types.d.ts +0 -68
- package/lib/inputs/base/types.js +0 -5
- package/lib/inputs/color/index.d.ts +0 -7
- package/lib/inputs/color/types.d.ts +0 -14
- package/lib/inputs/color/types.js +0 -5
- package/lib/inputs/date/Dialog.d.ts +0 -10
- package/lib/inputs/date/Dropdown.d.ts +0 -10
- package/lib/inputs/date/helpers.d.ts +0 -14
- package/lib/inputs/date/index.d.ts +0 -10
- package/lib/inputs/date/types.d.ts +0 -53
- package/lib/inputs/date/types.js +0 -5
- package/lib/inputs/inputHOC.d.ts +0 -11
- package/lib/inputs/mask/BaseMask.d.ts +0 -12
- package/lib/inputs/mask/Cnpj.d.ts +0 -12
- package/lib/inputs/mask/Cpf.d.ts +0 -12
- package/lib/inputs/mask/Phone.d.ts +0 -9
- package/lib/inputs/mask/ZipCode.d.ts +0 -9
- package/lib/inputs/mask/helpers.d.ts +0 -14
- package/lib/inputs/mask/imaskHOC.d.ts +0 -14
- package/lib/inputs/mask/index.d.ts +0 -11
- package/lib/inputs/mask/types.d.ts +0 -66
- package/lib/inputs/mask/types.js +0 -5
- package/lib/inputs/multiSelect/ActionButtons.d.ts +0 -10
- package/lib/inputs/multiSelect/Dropdown.d.ts +0 -10
- package/lib/inputs/multiSelect/helper.d.ts +0 -9
- package/lib/inputs/multiSelect/index.d.ts +0 -10
- package/lib/inputs/multiSelect/types.d.ts +0 -49
- package/lib/inputs/multiSelect/types.js +0 -5
- package/lib/inputs/number/BaseNumber.d.ts +0 -12
- package/lib/inputs/number/Currency.d.ts +0 -12
- package/lib/inputs/number/Decimal.d.ts +0 -12
- package/lib/inputs/number/format_number.d.ts +0 -4
- package/lib/inputs/number/index.d.ts +0 -14
- package/lib/inputs/number/types.d.ts +0 -30
- package/lib/inputs/number/types.js +0 -5
- package/lib/inputs/period/Dialog.d.ts +0 -11
- package/lib/inputs/period/Dropdown.d.ts +0 -11
- package/lib/inputs/period/PeriodList.d.ts +0 -11
- package/lib/inputs/period/helper.d.ts +0 -19
- package/lib/inputs/period/index.d.ts +0 -11
- package/lib/inputs/period/types.d.ts +0 -58
- package/lib/inputs/period/types.js +0 -5
- package/lib/inputs/search/index.d.ts +0 -11
- package/lib/inputs/select/ActionButtons.d.ts +0 -11
- package/lib/inputs/select/Dropdown.d.ts +0 -11
- package/lib/inputs/select/helper.d.ts +0 -25
- package/lib/inputs/select/index.d.ts +0 -10
- package/lib/inputs/select/multiple/Selecteds.d.ts +0 -10
- package/lib/inputs/select/multiple/index.d.ts +0 -10
- package/lib/inputs/select/simple/index.d.ts +0 -10
- package/lib/inputs/select/types.d.ts +0 -98
- package/lib/inputs/select/types.js +0 -5
- package/lib/inputs/text/index.d.ts +0 -11
- package/lib/inputs/text/types.d.ts +0 -25
- package/lib/inputs/text/types.js +0 -5
- package/lib/inputs/textarea/index.d.ts +0 -9
- package/lib/inputs/textarea/types.d.ts +0 -13
- package/lib/inputs/textarea/types.js +0 -5
- package/lib/inputs/types.d.ts +0 -146
- package/lib/inputs/types.js +0 -5
- package/lib/internals/colorStyles.d.ts +0 -9
- package/lib/internals/constants.d.ts +0 -11
- package/lib/internals/types.d.ts +0 -21
- package/lib/internals/types.js +0 -5
- package/lib/internals/withTooltip.d.ts +0 -11
- package/lib/labelMessages/index.d.ts +0 -7
- package/lib/labelMessages/types.d.ts +0 -18
- package/lib/labelMessages/types.js +0 -5
- package/lib/labels/DangerLabel.d.ts +0 -9
- package/lib/labels/DefaultLabel.d.ts +0 -12
- package/lib/labels/InfoLabel.d.ts +0 -9
- package/lib/labels/PrimaryLabel.d.ts +0 -9
- package/lib/labels/SuccessLabel.d.ts +0 -9
- package/lib/labels/WarningLabel.d.ts +0 -9
- package/lib/labels/index.d.ts +0 -13
- package/lib/labels/label_container/index.d.ts +0 -12
- package/lib/labels/types.d.ts +0 -24
- package/lib/labels/types.js +0 -5
- package/lib/list/Header.d.ts +0 -7
- package/lib/list/Item.d.ts +0 -7
- package/lib/list/Separator.d.ts +0 -3
- package/lib/list/helpers.d.ts +0 -12
- package/lib/list/index.d.ts +0 -10
- package/lib/list/types.d.ts +0 -64
- package/lib/list/types.js +0 -5
- package/lib/menus/float/MenuItem.d.ts +0 -7
- package/lib/menus/float/helpers.d.ts +0 -7
- package/lib/menus/float/index.d.ts +0 -8
- package/lib/menus/float/types.d.ts +0 -27
- package/lib/menus/float/types.js +0 -5
- package/lib/menus/index.d.ts +0 -6
- package/lib/menus/sidenav/ExpandMenu.d.ts +0 -10
- package/lib/menus/sidenav/MenuLink.d.ts +0 -13
- package/lib/menus/sidenav/NavMenuGroup.d.ts +0 -10
- package/lib/menus/sidenav/NavMenuItem.d.ts +0 -13
- package/lib/menus/sidenav/NavSubMenuItem.d.ts +0 -10
- package/lib/menus/sidenav/helpers.d.ts +0 -12
- package/lib/menus/sidenav/index.d.ts +0 -14
- package/lib/menus/sidenav/popup_menu_search/EmptyList.d.ts +0 -10
- package/lib/menus/sidenav/popup_menu_search/index.d.ts +0 -10
- package/lib/menus/sidenav/types.d.ts +0 -82
- package/lib/menus/sidenav/types.js +0 -5
- package/lib/noPermission/index.d.ts +0 -3
- package/lib/panel/Content.d.ts +0 -8
- package/lib/panel/DangerPanel.d.ts +0 -8
- package/lib/panel/Default.d.ts +0 -8
- package/lib/panel/Header.d.ts +0 -8
- package/lib/panel/InfoPanel.d.ts +0 -8
- package/lib/panel/PrimaryPanel.d.ts +0 -8
- package/lib/panel/SuccessPanel.d.ts +0 -8
- package/lib/panel/ToolBar.d.ts +0 -8
- package/lib/panel/WarningPanel.d.ts +0 -8
- package/lib/panel/helpers.d.ts +0 -4
- package/lib/panel/index.d.ts +0 -13
- package/lib/panel/types.d.ts +0 -4
- package/lib/panel/types.js +0 -5
- package/lib/permissionValidations.d.ts +0 -14
- package/lib/popover/PopoverText.d.ts +0 -8
- package/lib/popover/PopoverTitle.d.ts +0 -8
- package/lib/popover/index.d.ts +0 -13
- package/lib/popover/types.d.ts +0 -21
- package/lib/popover/types.js +0 -5
- package/lib/progress/Bar.d.ts +0 -6
- package/lib/progress/index.d.ts +0 -7
- package/lib/progress/types.d.ts +0 -37
- package/lib/progress/types.js +0 -5
- package/lib/radio/index.d.ts +0 -12
- package/lib/radio/types.d.ts +0 -18
- package/lib/radio/types.js +0 -5
- package/lib/skeleton/SkeletonContainer.d.ts +0 -7
- package/lib/skeleton/index.d.ts +0 -8
- package/lib/skeleton/types.d.ts +0 -21
- package/lib/skeleton/types.js +0 -5
- package/lib/spinner/SpinnerLoading.d.ts +0 -7
- package/lib/spinner/index.d.ts +0 -7
- package/lib/spinner/types.d.ts +0 -20
- package/lib/spinner/types.js +0 -5
- package/lib/split/Split.d.ts +0 -6
- package/lib/split/SplitSide.d.ts +0 -6
- package/lib/split/helpers.d.ts +0 -10
- package/lib/split/index.d.ts +0 -5
- package/lib/split/types.d.ts +0 -34
- package/lib/split/types.js +0 -5
- package/lib/table/Body.d.ts +0 -6
- package/lib/table/Header.d.ts +0 -6
- package/lib/table/HeaderColumn.d.ts +0 -6
- package/lib/table/Row.d.ts +0 -6
- package/lib/table/RowColumn.d.ts +0 -6
- package/lib/table/helpers.d.ts +0 -8
- package/lib/table/index.d.ts +0 -11
- package/lib/table/types.d.ts +0 -84
- package/lib/table/types.js +0 -5
- package/lib/tabs/DropdownItems.d.ts +0 -9
- package/lib/tabs/Menu.d.ts +0 -9
- package/lib/tabs/MenuItems.d.ts +0 -9
- package/lib/tabs/Panel.d.ts +0 -9
- package/lib/tabs/index.d.ts +0 -10
- package/lib/tabs/tabHelpers.d.ts +0 -21
- package/lib/tabs/types.d.ts +0 -63
- package/lib/tabs/types.js +0 -5
- package/lib/toolbar/ButtonBar.d.ts +0 -10
- package/lib/toolbar/LabelBar.d.ts +0 -10
- package/lib/toolbar/Separator.d.ts +0 -3
- package/lib/toolbar/ToolBarGroup.d.ts +0 -10
- package/lib/toolbar/helpers.d.ts +0 -10
- package/lib/toolbar/index.d.ts +0 -14
- package/lib/toolbar/types.d.ts +0 -43
- package/lib/toolbar/types.js +0 -5
- package/lib/tooltip/index.d.ts +0 -6
- package/lib/tooltip/types.d.ts +0 -16
- package/lib/tooltip/types.js +0 -5
- package/lib/treeview/Header.d.ts +0 -7
- package/lib/treeview/Node.d.ts +0 -7
- package/lib/treeview/constants.d.ts +0 -7
- package/lib/treeview/index.d.ts +0 -9
- package/lib/treeview/types.d.ts +0 -104
- package/lib/treeview/types.js +0 -5
- package/lib/types-3c6f1c20.d.ts +0 -46
- package/lib/uitour/helpers.d.ts +0 -8
- package/lib/uitour/index.d.ts +0 -6
- package/lib/uitour/types.d.ts +0 -30
- package/lib/uitour/types.js +0 -5
package/lib/buttons/index.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export { default as ButtonContainer } from './button_container/index.js';
|
|
2
|
-
import Button from './Button.js';
|
|
3
|
-
export { default } from './Button.js';
|
|
4
|
-
export { default as PrimaryButton } from './PrimaryButton.js';
|
|
5
|
-
export { default as DangerButton } from './DangerButton.js';
|
|
6
|
-
export { default as WarningButton } from './WarningButton.js';
|
|
7
|
-
export { default as SuccessButton } from './SuccessButton.js';
|
|
8
|
-
export { default as InfoButton } from './InfoButton.js';
|
|
9
|
-
export { default as SaveButton } from './SaveButton.js';
|
|
10
|
-
export { default as CancelButton } from './CancelButton.js';
|
|
11
|
-
export { default as EditButton } from './EditButton.js';
|
|
12
|
-
export { default as DestroyButton } from './DestroyButton.js';
|
|
13
|
-
export { default as AddButton } from './AddButton.js';
|
|
14
|
-
export { default as ActivateButton } from './ActivateButton.js';
|
|
15
|
-
export { default as InactivateButton } from './InactivateButton.js';
|
|
16
|
-
export { default as RestoreButton } from './RestoreButton.js';
|
|
17
|
-
import 'react';
|
|
18
|
-
import '../@types/Position.js';
|
|
19
|
-
import './types.js';
|
|
20
|
-
import '../@types/PermissionAttr.js';
|
|
21
|
-
import '../@types/Size.js';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IButtonProps } from '../types.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import '../../@types/PermissionAttr.js';
|
|
4
|
-
import '../../@types/Position.js';
|
|
5
|
-
import '../../@types/Size.js';
|
|
6
|
-
|
|
7
|
-
declare const SplitButton: (props: IButtonProps) => JSX.Element;
|
|
8
|
-
|
|
9
|
-
export { SplitButton as default };
|
package/lib/buttons/types.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes, ReactNode, CSSProperties, ReactElement, MouseEvent } from 'react';
|
|
2
|
-
import { PermissionAttr } from '../@types/PermissionAttr.js';
|
|
3
|
-
import { Position } from '../@types/Position.js';
|
|
4
|
-
import { Size } from '../@types/Size.js';
|
|
5
|
-
|
|
6
|
-
interface IButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
7
|
-
label?: string;
|
|
8
|
-
activeIconColor?: string;
|
|
9
|
-
toggleable?: boolean;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
content?: ReactNode;
|
|
12
|
-
size?: Size;
|
|
13
|
-
iconName?: string;
|
|
14
|
-
customClass?: string;
|
|
15
|
-
iconAlign?: Position;
|
|
16
|
-
iconStyle?: CSSProperties;
|
|
17
|
-
boxShadow?: boolean;
|
|
18
|
-
icon?: ReactElement;
|
|
19
|
-
targetRef?: (ref: HTMLButtonElement) => void;
|
|
20
|
-
dropdown?: boolean;
|
|
21
|
-
dropdownOnHover?: boolean;
|
|
22
|
-
showDropdown?: () => void;
|
|
23
|
-
getDropdownPopup?: (ref: HTMLButtonElement) => ReactNode;
|
|
24
|
-
isDropdownOpened?: boolean;
|
|
25
|
-
isLoading?: boolean;
|
|
26
|
-
round?: boolean;
|
|
27
|
-
showIconDropdown?: boolean;
|
|
28
|
-
visible?: boolean;
|
|
29
|
-
permissionAttr?: PermissionAttr | PermissionAttr[];
|
|
30
|
-
transparent?: boolean;
|
|
31
|
-
skeletonize?: boolean;
|
|
32
|
-
tooltipPosition?: Exclude<Position, 'center'>;
|
|
33
|
-
tooltipWidth?: string | number;
|
|
34
|
-
space?: number;
|
|
35
|
-
tooltip?: string;
|
|
36
|
-
split?: boolean;
|
|
37
|
-
isFloatMenu?: boolean;
|
|
38
|
-
customClassForDropdown?: string;
|
|
39
|
-
dropdownAlign?: 'left' | 'right';
|
|
40
|
-
onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
41
|
-
closeDropdownOnClickOutside?: boolean;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export { IButtonProps };
|
package/lib/buttons/types.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import moment, { Moment } from 'moment';
|
|
3
|
-
import { ColorStyles } from '../../@types/ColorStyles.js';
|
|
4
|
-
import { ICalendarProps } from '../types.js';
|
|
5
|
-
|
|
6
|
-
declare function dayNames(): string[];
|
|
7
|
-
declare function getStartOfWeek(date: Moment): moment.Moment;
|
|
8
|
-
declare function getStartOfMonth(date: Moment): moment.Moment;
|
|
9
|
-
declare function dateIsEquals(date1: Moment, date2: Moment): boolean;
|
|
10
|
-
declare function dayOutOfCurrentMonth(currentDate: Moment, comparedDay: Moment): boolean;
|
|
11
|
-
declare function getPtBrLocale(): {
|
|
12
|
-
months: string[];
|
|
13
|
-
monthsShort: string[];
|
|
14
|
-
weekdays: string[];
|
|
15
|
-
weekdaysShort: string[];
|
|
16
|
-
weekdaysMin: string[];
|
|
17
|
-
longDateFormat: {
|
|
18
|
-
LT: string;
|
|
19
|
-
L: string;
|
|
20
|
-
LL: string;
|
|
21
|
-
LLL: string;
|
|
22
|
-
LLLL: string;
|
|
23
|
-
};
|
|
24
|
-
calendar: {
|
|
25
|
-
sameDay: string;
|
|
26
|
-
nextDay: string;
|
|
27
|
-
nextWeek: string;
|
|
28
|
-
lastDay: string;
|
|
29
|
-
lastWeek(): string;
|
|
30
|
-
sameElse: string;
|
|
31
|
-
};
|
|
32
|
-
relativeTime: {
|
|
33
|
-
future: string;
|
|
34
|
-
past: string;
|
|
35
|
-
s: string;
|
|
36
|
-
m: string;
|
|
37
|
-
mm: string;
|
|
38
|
-
h: string;
|
|
39
|
-
hh: string;
|
|
40
|
-
d: string;
|
|
41
|
-
dd: string;
|
|
42
|
-
M: string;
|
|
43
|
-
MM: string;
|
|
44
|
-
y: string;
|
|
45
|
-
yy: string;
|
|
46
|
-
};
|
|
47
|
-
ordinal: string;
|
|
48
|
-
};
|
|
49
|
-
/** Functions used insed index.jsx */
|
|
50
|
-
declare function getCalendarCssClass({ unpadding, drawGridLines, customClass, colorStyle, }: {
|
|
51
|
-
unpadding: boolean;
|
|
52
|
-
drawGridLines: boolean;
|
|
53
|
-
customClass: string | undefined;
|
|
54
|
-
colorStyle: ColorStyles | undefined;
|
|
55
|
-
}): string;
|
|
56
|
-
declare function validDate(date: Moment): moment.Moment;
|
|
57
|
-
/** Functions used inside Day Component */
|
|
58
|
-
declare function getDayContainerCssClass(currentDate: Moment, day: Moment): string;
|
|
59
|
-
declare function getDayCssClass(currentDate: Moment, day: Moment): string;
|
|
60
|
-
declare const CalendarContext: React__default.Context<ICalendarProps>;
|
|
61
|
-
|
|
62
|
-
export { CalendarContext, dateIsEquals, dayNames, dayOutOfCurrentMonth, getCalendarCssClass, getDayContainerCssClass, getDayCssClass, getPtBrLocale, getStartOfMonth, getStartOfWeek, validDate };
|
package/lib/calendar/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import Calendar from './base/index.js';
|
|
2
|
-
export { default } from './base/index.js';
|
|
3
|
-
export { default as SuccessCalendar } from './SuccessCalendar.js';
|
|
4
|
-
export { default as PrimaryCalendar } from './PrimaryCalendar.js';
|
|
5
|
-
export { default as DangerCalendar } from './DangerCalendar.js';
|
|
6
|
-
export { default as WarningCalendar } from './WarningCalendar.js';
|
|
7
|
-
export { default as InfoCalendar } from './InfoCalendar.js';
|
|
8
|
-
import './types.js';
|
|
9
|
-
import 'moment';
|
|
10
|
-
import '../@types/ColorStyles.js';
|
package/lib/calendar/types.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Moment } from 'moment';
|
|
2
|
-
import { ColorStyles } from '../@types/ColorStyles.js';
|
|
3
|
-
|
|
4
|
-
interface ICalendarProps {
|
|
5
|
-
customClass?: string;
|
|
6
|
-
currentDate?: Moment;
|
|
7
|
-
drawGridLines?: boolean;
|
|
8
|
-
unpadding?: boolean;
|
|
9
|
-
onDateChange?: (date: Moment) => void;
|
|
10
|
-
colorStyle?: ColorStyles;
|
|
11
|
-
handleDateChange?: (date: Moment) => void;
|
|
12
|
-
}
|
|
13
|
-
interface IWeekProps {
|
|
14
|
-
weekStartDate: Moment;
|
|
15
|
-
currentDate: Moment;
|
|
16
|
-
}
|
|
17
|
-
interface IDayProps {
|
|
18
|
-
currentDate: Moment;
|
|
19
|
-
day: Moment;
|
|
20
|
-
}
|
|
21
|
-
interface IMonthProps {
|
|
22
|
-
currentDate: Moment;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export { ICalendarProps, IDayProps, IMonthProps, IWeekProps };
|
package/lib/calendar/types.js
DELETED
package/lib/checkbox/Label.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ICheckBoxProps } from './types.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import '../@types/PermissionAttr.js';
|
|
4
|
-
import '../@types/Position.js';
|
|
5
|
-
|
|
6
|
-
declare const _default: {
|
|
7
|
-
(props: ICheckBoxProps): JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export { _default as default };
|
package/lib/checkbox/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ICheckBoxProps } from './types.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import '../@types/PermissionAttr.js';
|
|
4
|
-
import '../@types/Position.js';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* IMPORTANTE: Caso seja necessário alterar o nome do componente, deverá ser refatorado
|
|
8
|
-
* o componente Field dentro do componente Form, pois o mesmo leva em consideração o tipo do
|
|
9
|
-
* componente para gerar propriedades customizadas.
|
|
10
|
-
*/
|
|
11
|
-
declare const CheckBox: ({ name, required, value, label, onChange, autofocus, hint, id, gridLayout, checked, disabled, permissionAttr, tooltip, tooltipPosition, tooltipWidth, skeletonize, targetRef, }: ICheckBoxProps) => JSX.Element | null;
|
|
12
|
-
|
|
13
|
-
export { CheckBox as default };
|
package/lib/checkbox/types.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { PermissionAttr } from '../@types/PermissionAttr.js';
|
|
3
|
-
import { Position } from '../@types/Position.js';
|
|
4
|
-
|
|
5
|
-
declare type ChangeEvent = {
|
|
6
|
-
checked: boolean;
|
|
7
|
-
id: string;
|
|
8
|
-
name?: string;
|
|
9
|
-
value: boolean;
|
|
10
|
-
};
|
|
11
|
-
declare type Target = {
|
|
12
|
-
target: ChangeEvent;
|
|
13
|
-
};
|
|
14
|
-
interface ICheckBoxProps {
|
|
15
|
-
id?: string;
|
|
16
|
-
label?: string;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
defaultChecked?: boolean;
|
|
19
|
-
checked?: boolean;
|
|
20
|
-
required?: boolean;
|
|
21
|
-
value?: string | number;
|
|
22
|
-
name?: string;
|
|
23
|
-
onChange?: (event: Target) => void;
|
|
24
|
-
onClick?: () => void;
|
|
25
|
-
autoFocus?: boolean;
|
|
26
|
-
e?: {
|
|
27
|
-
target: Element;
|
|
28
|
-
} | undefined;
|
|
29
|
-
children?: ReactElement;
|
|
30
|
-
autofocus?: boolean;
|
|
31
|
-
hint?: string;
|
|
32
|
-
gridLayout?: string;
|
|
33
|
-
permissionAttr?: PermissionAttr | PermissionAttr[];
|
|
34
|
-
tooltip?: string;
|
|
35
|
-
tooltipPosition?: Exclude<Position, 'center'>;
|
|
36
|
-
tooltipWidth?: string | number;
|
|
37
|
-
skeletonize?: boolean;
|
|
38
|
-
targetRef?: (ref: HTMLInputElement | null) => void;
|
|
39
|
-
targetSpanRef?: (ref: HTMLSpanElement | null) => void;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export { ChangeEvent, ICheckBoxProps };
|
package/lib/checkbox/types.js
DELETED
package/lib/dialog/Alert.d.ts
DELETED
package/lib/dialog/Custom.d.ts
DELETED
package/lib/dialog/Error.d.ts
DELETED
package/lib/dialog/Question.d.ts
DELETED
package/lib/dialog/Warning.d.ts
DELETED
package/lib/dialog/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import BaseDialog from './base/index.js';
|
|
2
|
-
export { default } from './base/index.js';
|
|
3
|
-
export { default as DialogAlert } from './Alert.js';
|
|
4
|
-
export { default as DialogError } from './Error.js';
|
|
5
|
-
export { default as DialogInformation } from './Information.js';
|
|
6
|
-
export { default as DialogQuestion } from './Question.js';
|
|
7
|
-
export { default as DialogWarning } from './Warning.js';
|
|
8
|
-
export { default as DialogCustom } from './Custom.js';
|
|
9
|
-
import 'react';
|
|
10
|
-
import './types.js';
|
package/lib/dialog/types.d.ts
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { ReactNode, CSSProperties, ReactElement } from 'react';
|
|
2
|
-
|
|
3
|
-
interface IContentProps {
|
|
4
|
-
children: ReactNode | ReactNode[];
|
|
5
|
-
styleForContent?: CSSProperties;
|
|
6
|
-
}
|
|
7
|
-
interface IFooterProps {
|
|
8
|
-
children: ReactElement | ReactElement[];
|
|
9
|
-
}
|
|
10
|
-
interface IHeaderProps {
|
|
11
|
-
handlerClose?: () => void;
|
|
12
|
-
showCloseButton?: boolean;
|
|
13
|
-
title?: string;
|
|
14
|
-
icon?: JSX.Element;
|
|
15
|
-
titleIcon?: string;
|
|
16
|
-
}
|
|
17
|
-
interface IBaseProps {
|
|
18
|
-
wrapperClassName: string;
|
|
19
|
-
width: string;
|
|
20
|
-
height: string;
|
|
21
|
-
children: ReactNode | ReactNode[];
|
|
22
|
-
handlerClose?: () => void;
|
|
23
|
-
closeOnEsc?: boolean;
|
|
24
|
-
closeOnOutsideClick?: boolean;
|
|
25
|
-
overlay?: boolean;
|
|
26
|
-
textAlign?: string;
|
|
27
|
-
zIndex?: string;
|
|
28
|
-
}
|
|
29
|
-
interface IFormProps {
|
|
30
|
-
children: ReactNode | ReactNode[];
|
|
31
|
-
buttons: JSX.Element[];
|
|
32
|
-
styleForContent?: CSSProperties;
|
|
33
|
-
title?: string;
|
|
34
|
-
width?: string;
|
|
35
|
-
height?: string;
|
|
36
|
-
showFooter?: boolean;
|
|
37
|
-
isWaiting?: boolean;
|
|
38
|
-
handlerClose?: () => void;
|
|
39
|
-
icon?: JSX.Element;
|
|
40
|
-
closeOnOutsideClick?: boolean;
|
|
41
|
-
closeOnEsc?: boolean;
|
|
42
|
-
overlay?: boolean;
|
|
43
|
-
}
|
|
44
|
-
interface ICommonDialogProps {
|
|
45
|
-
onConfirmClick?: () => void;
|
|
46
|
-
text?: string;
|
|
47
|
-
title?: string;
|
|
48
|
-
}
|
|
49
|
-
interface IQuestionProps {
|
|
50
|
-
onUnconfirmClick: () => void;
|
|
51
|
-
onConfirmClick?: () => void;
|
|
52
|
-
visible?: boolean;
|
|
53
|
-
isWaiting?: boolean;
|
|
54
|
-
text?: string;
|
|
55
|
-
title?: string;
|
|
56
|
-
zIndex?: string;
|
|
57
|
-
}
|
|
58
|
-
interface ICustomProps {
|
|
59
|
-
icon: ReactElement;
|
|
60
|
-
buttons: JSX.Element[];
|
|
61
|
-
title?: string;
|
|
62
|
-
text?: string;
|
|
63
|
-
height?: string;
|
|
64
|
-
width?: string;
|
|
65
|
-
iconName?: string;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export { IBaseProps, ICommonDialogProps, IContentProps, ICustomProps, IFooterProps, IFormProps, IHeaderProps, IQuestionProps };
|
package/lib/dialog/types.js
DELETED
package/lib/drawer/Content.d.ts
DELETED
package/lib/drawer/Drawer.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { IDrawerProps } from './types.js';
|
|
3
|
-
import '../@types/PermissionAttr.js';
|
|
4
|
-
|
|
5
|
-
declare const BaseDrawer: ({ position, customClass, children, style, customClassForContent, targetId, closeOnEsc, overlay, permissionAttr, skeletonize, handlerClose, }: IDrawerProps) => React__default.ReactPortal;
|
|
6
|
-
|
|
7
|
-
export { BaseDrawer as default };
|
package/lib/drawer/Header.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IDrawerHeaderProps } from './types.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import '../@types/PermissionAttr.js';
|
|
4
|
-
|
|
5
|
-
declare const Header: ({ showCloseButton, title, subTitle, icon, titleIcon, customClass, titleContent, subTitleContent, titleRightContent, }: IDrawerHeaderProps) => JSX.Element;
|
|
6
|
-
|
|
7
|
-
export { Header as default };
|
package/lib/drawer/helpers.d.ts
DELETED
package/lib/drawer/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IDrawerProps } from './types.js';
|
|
2
|
-
export { default as DrawerHeader } from './Header.js';
|
|
3
|
-
export { default as DrawerContent } from './Content.js';
|
|
4
|
-
import 'react';
|
|
5
|
-
import '../@types/PermissionAttr.js';
|
|
6
|
-
|
|
7
|
-
declare const _default: (props: IDrawerProps) => JSX.Element;
|
|
8
|
-
|
|
9
|
-
export { _default as default };
|
package/lib/drawer/types.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React__default, { ReactNode, ReactElement } from 'react';
|
|
2
|
-
import { PermissionAttr } from '../@types/PermissionAttr.js';
|
|
3
|
-
|
|
4
|
-
interface IDrawerProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
overlay?: boolean;
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
customClass?: string;
|
|
8
|
-
customClassForContent?: string;
|
|
9
|
-
position?: string;
|
|
10
|
-
handlerClose?: () => void;
|
|
11
|
-
closeOnEsc?: boolean;
|
|
12
|
-
targetId?: string;
|
|
13
|
-
permissionAttr?: PermissionAttr | PermissionAttr[];
|
|
14
|
-
skeletonize?: boolean;
|
|
15
|
-
closeOnOutsideClick?: boolean;
|
|
16
|
-
}
|
|
17
|
-
interface IDrawerHeaderProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
18
|
-
showCloseButton?: boolean;
|
|
19
|
-
customClass?: string;
|
|
20
|
-
title?: string;
|
|
21
|
-
titleRightContent?: ReactElement;
|
|
22
|
-
titleContent?: ReactElement;
|
|
23
|
-
subTitle?: string;
|
|
24
|
-
subTitleContent?: ReactElement;
|
|
25
|
-
icon?: ReactElement;
|
|
26
|
-
titleIcon?: string;
|
|
27
|
-
}
|
|
28
|
-
interface IDrawerContext {
|
|
29
|
-
handlerClose?: () => void;
|
|
30
|
-
hideContent?: boolean;
|
|
31
|
-
skeletonize?: boolean;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export { IDrawerContext, IDrawerHeaderProps, IDrawerProps };
|
package/lib/drawer/types.js
DELETED
package/lib/dropdown/Popup.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IPopUpProps } from './types.js';
|
|
3
|
-
|
|
4
|
-
declare const DropdownPopup: ({ customClassForDropdown, align, isFloatMenu, topPosition, leftPosition, rightPosition, minWidth, ...props }: IPopUpProps) => React.ReactPortal;
|
|
5
|
-
|
|
6
|
-
export { DropdownPopup as default };
|
package/lib/dropdown/helper.d.ts
DELETED