pge-front-common 14.2.5-beta.5 → 14.2.5-beta.7
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/components/Acordion/accordion.stories.d.ts +11 -0
- package/lib/components/Acordion/index.d.ts +11 -0
- package/lib/components/Acordion/index.types.d.ts +6 -0
- package/lib/components/BasicSelect/basicSelect.stories.d.ts +7 -0
- package/lib/components/BasicSelect/index.d.ts +3 -0
- package/lib/components/BasicSelect/index.types.d.ts +20 -0
- package/lib/components/BoxError/boxError.stories.d.ts +6 -0
- package/lib/components/BoxError/index.d.ts +7 -0
- package/lib/components/BoxSuccess/boxSuccess.stories.d.ts +6 -0
- package/lib/components/BoxSuccess/index.d.ts +7 -0
- package/lib/components/Button/Button.d.ts +7 -0
- package/lib/components/Button/Button.stories.d.ts +9 -0
- package/lib/components/ButtonUser/ButtonUser.d.ts +12 -0
- package/lib/components/ButtonUserCasc/ButtonUserCasc.d.ts +14 -0
- package/lib/components/CheckBox/CheckBox.stories.d.ts +8 -0
- package/lib/components/CheckBox/index.d.ts +3 -0
- package/lib/components/CheckBox/index.type.d.ts +5 -0
- package/lib/components/Chip/chip.stories.d.ts +32 -0
- package/lib/components/Chip/index.d.ts +10 -0
- package/lib/components/Chip/index.type.d.ts +12 -0
- package/lib/components/DropDown/Dropdown.d.ts +29 -0
- package/lib/components/Fieldset/fieldset.stories.d.ts +14 -0
- package/lib/components/Fieldset/index.d.ts +3 -0
- package/lib/components/Fieldset/index.type.d.ts +6 -0
- package/lib/components/FloatingMenu/FloatingMenu.stories.d.ts +14 -0
- package/lib/components/FloatingMenu/index.d.ts +3 -0
- package/lib/components/FloatingMenu/index.type.d.ts +9 -0
- package/lib/components/Footer/Footer.stories.d.ts +6 -0
- package/lib/components/Footer/index.d.ts +7 -0
- package/lib/components/Form/Form.stories.d.ts +13 -0
- package/lib/components/Header/Header.d.ts +22 -0
- package/lib/components/Header/Header.stories.d.ts +11 -0
- package/lib/components/HeaderPge/Header.d.ts +22 -0
- package/lib/components/HeaderPge/Header.stories.d.ts +9 -0
- package/lib/components/InformativeBox/InformativeBox.stories.d.ts +11 -0
- package/lib/components/InformativeBox/index.d.ts +4 -0
- package/lib/components/InformativeBox/index.type.d.ts +9 -0
- package/lib/components/InputDate/InputDate.stories.d.ts +20 -0
- package/lib/components/InputDate/index.d.ts +6 -0
- package/lib/components/InputDate/index.type.d.ts +20 -0
- package/lib/components/InputDate/installStyles.d.ts +1 -0
- package/lib/components/Loading/index.d.ts +7 -0
- package/lib/components/Loading/loading.stories.d.ts +8 -0
- package/lib/components/Menu/index.d.ts +8 -0
- package/lib/components/MenuAction/index.d.ts +6 -0
- package/lib/components/MenuAction/menuaction.stories.d.ts +6 -0
- package/lib/components/ModalUI/index.d.ts +12 -0
- package/lib/components/ModalUI/index.type.d.ts +9 -0
- package/lib/components/ModalUI/modalui.stories.d.ts +7 -0
- package/lib/components/MultiSelect/components.d.ts +13 -0
- package/lib/components/MultiSelect/icons.d.ts +7 -0
- package/lib/components/MultiSelect/index.d.ts +4 -0
- package/lib/components/MultiSelect/index.types.d.ts +26 -0
- package/lib/components/MultiSelect/multiselect.stories.d.ts +9 -0
- package/lib/components/MultiSelect/selectColourStyles.d.ts +13 -0
- package/lib/components/OverlayLoading/index.d.ts +8 -0
- package/lib/components/OverlayLoading/loading.stories.d.ts +8 -0
- package/lib/components/Pagination/index.d.ts +9 -0
- package/lib/components/Pagination/pagination.stories.d.ts +9 -0
- package/lib/components/PaginationV2/index.d.ts +19 -0
- package/lib/components/PaginationV2/pagination.stories.d.ts +12 -0
- package/lib/components/PaginationV2/selectPagination.d.ts +13 -0
- package/lib/components/PgeButton/PgeButton.stories.d.ts +15 -0
- package/lib/components/PgeButton/index.d.ts +10 -0
- package/lib/components/PgeButton/index.type.d.ts +12 -0
- package/lib/components/ProgressCircle/index.d.ts +4 -0
- package/lib/components/ProgressCircle/progressCircle.stories.d.ts +12 -0
- package/lib/components/ProgressCircle/progressCircle.types.d.ts +8 -0
- package/lib/components/RadioButton/RadioButton.d.ts +3 -0
- package/lib/components/RadioButton/RadioButton.stories.d.ts +11 -0
- package/lib/components/RadioButton/radioButton.types.d.ts +16 -0
- package/lib/components/RadioGroup/RadioGroup.d.ts +4 -0
- package/lib/components/RadioGroup/RadioGroup.stories.d.ts +7 -0
- package/lib/components/RadioGroup/radioGroup.types.d.ts +19 -0
- package/lib/components/Select/index.d.ts +4 -0
- package/lib/components/Select/index.types.d.ts +26 -0
- package/lib/components/Select/select.stories.d.ts +10 -0
- package/lib/components/SkeletonLoader/index.d.ts +6 -0
- package/lib/components/SkeletonLoader/skeletonloader.stories.d.ts +8 -0
- package/lib/components/Switch/index.d.ts +36 -0
- package/lib/components/Switch/index.types.d.ts +7 -0
- package/lib/components/Switch/switch.stories.d.ts +9 -0
- package/lib/components/Table/index.d.ts +4 -0
- package/lib/components/Table/index.types.d.ts +26 -0
- package/lib/components/Table/table.stories.d.ts +16 -0
- package/lib/components/TableV2/TableHeaderContext.d.ts +2 -0
- package/lib/components/TableV2/index.d.ts +8 -0
- package/lib/components/TableV2/index.types.d.ts +20 -0
- package/lib/components/TableV2/table.stories.d.ts +6 -0
- package/lib/components/Textarea/Textarea.d.ts +4 -0
- package/lib/components/Textarea/Textarea.stories.d.ts +9 -0
- package/lib/components/Textarea/textarea.types.d.ts +16 -0
- package/lib/components/Title/index.d.ts +6 -0
- package/lib/components/Title/title.stories.d.ts +6 -0
- package/lib/components/Tooltip/Tooltip.stories.d.ts +6 -0
- package/lib/components/Tooltip/index.d.ts +3 -0
- package/lib/components/Tooltip/index.type.d.ts +6 -0
- package/lib/components/TooltipWithPortal/TooltipWithPortal.stories.d.ts +6 -0
- package/lib/components/TooltipWithPortal/index.d.ts +3 -0
- package/lib/components/TooltipWithPortal/index.type.d.ts +6 -0
- package/lib/components/TreeSelect/TreeSelect.stories.d.ts +16 -0
- package/lib/components/TreeSelect/index.d.ts +7 -0
- package/lib/components/TreeSelect/index.type.d.ts +22 -0
- package/lib/components/TreeSelect/installStyles.d.ts +1 -0
- package/lib/components/Upload/FileUpload.stories.d.ts +6 -0
- package/lib/components/Upload/index.d.ts +321 -0
- package/lib/components/Upload/index.type.d.ts +19 -0
- package/lib/components/inputPassword/Input.stories.d.ts +6 -0
- package/lib/components/inputPassword/index.d.ts +8 -0
- package/lib/components/inputText/Input.stories.d.ts +12 -0
- package/lib/components/inputText/index.d.ts +20 -0
- package/lib/components/inputText/index.type.d.ts +10 -0
- package/lib/components/modal/Modal.d.ts +3 -0
- package/lib/components/modal/ModalBody.d.ts +4 -0
- package/lib/components/modal/ModalFooter.d.ts +4 -0
- package/lib/components/modal/ModalHeader.d.ts +4 -0
- package/lib/components/modal/index.d.ts +5 -0
- package/lib/components/modal/index.type.d.ts +21 -0
- package/lib/components/modal/modal.stories.d.ts +11 -0
- package/lib/components/theme.d.ts +3 -0
- package/lib/icons/add-cell-icon.d.ts +2 -0
- package/lib/icons/add-icon.d.ts +2 -0
- package/lib/icons/alert-icon.d.ts +2 -0
- package/lib/icons/arrow-expland-icon.d.ts +2 -0
- package/lib/icons/arrow-to-recall-icon.d.ts +2 -0
- package/lib/icons/attention-icon.d.ts +2 -0
- package/lib/icons/calculate-icon.d.ts +2 -0
- package/lib/icons/calendar-icon.d.ts +2 -0
- package/lib/icons/certidao-regularidade-fiscal.d.ts +2 -0
- package/lib/icons/check-circle-icon.d.ts +2 -0
- package/lib/icons/check-icon.d.ts +2 -0
- package/lib/icons/check-success-icon.d.ts +2 -0
- package/lib/icons/circle-expland-icon.d.ts +2 -0
- package/lib/icons/circle-to-recall-icon.d.ts +2 -0
- package/lib/icons/close-icon.d.ts +2 -0
- package/lib/icons/common-dot-icon.d.ts +2 -0
- package/lib/icons/debito-fiscal-icon.d.ts +2 -0
- package/lib/icons/delete-icon.d.ts +2 -0
- package/lib/icons/dots-vertical.d.ts +2 -0
- package/lib/icons/download-icon.d.ts +2 -0
- package/lib/icons/edit-icon.d.ts +2 -0
- package/lib/icons/emissao-darj-icon.d.ts +2 -0
- package/lib/icons/error-icon.d.ts +2 -0
- package/lib/icons/event-avaliable-icon.d.ts +2 -0
- package/lib/icons/exclude-icon.d.ts +2 -0
- package/lib/icons/eye-close-icon.d.ts +2 -0
- package/lib/icons/eye-open-icon.d.ts +2 -0
- package/lib/icons/facebook-icon.d.ts +5 -0
- package/lib/icons/footer.d.ts +2 -0
- package/lib/icons/footerLight.d.ts +2 -0
- package/lib/icons/hour-glass-icon.d.ts +3 -0
- package/lib/icons/icons.stories.d.ts +5 -0
- package/lib/icons/index.d.ts +65 -0
- package/lib/icons/info-round-icon.d.ts +2 -0
- package/lib/icons/informative-icon.d.ts +2 -0
- package/lib/icons/instagram-icon.d.ts +3 -0
- package/lib/icons/invisibility-icon.d.ts +2 -0
- package/lib/icons/left-arrow-icon.d.ts +2 -0
- package/lib/icons/left-direction-icon.d.ts +2 -0
- package/lib/icons/linkedin-icon.d.ts +5 -0
- package/lib/icons/logo-casc.d.ts +4 -0
- package/lib/icons/logo-divida-ativa.d.ts +3 -0
- package/lib/icons/logo-pge-beneficios.d.ts +3 -0
- package/lib/icons/logo-pge-rj.d.ts +3 -0
- package/lib/icons/logo-rh-digital.d.ts +3 -0
- package/lib/icons/logout-icon.d.ts +2 -0
- package/lib/icons/mail-icon.d.ts +2 -0
- package/lib/icons/menu-icon.d.ts +3 -0
- package/lib/icons/new-tab-icon.d.ts +2 -0
- package/lib/icons/parcelamento-icon.d.ts +2 -0
- package/lib/icons/payment-icon.d.ts +2 -0
- package/lib/icons/pdf-icon.d.ts +2 -0
- package/lib/icons/print-icon.d.ts +2 -0
- package/lib/icons/profile-icon.d.ts +2 -0
- package/lib/icons/question-mark-icon.d.ts +2 -0
- package/lib/icons/remove-icon.d.ts +2 -0
- package/lib/icons/right-arrow-icon.d.ts +2 -0
- package/lib/icons/right-direction-icon.d.ts +2 -0
- package/lib/icons/search-icon.d.ts +2 -0
- package/lib/icons/success-icon.d.ts +2 -0
- package/lib/icons/swap-icon.d.ts +2 -0
- package/lib/icons/triangle-expand-icon.d.ts +2 -0
- package/lib/icons/triangle-to-recall-icon.d.ts +2 -0
- package/lib/icons/twitter-icon.d.ts +3 -0
- package/lib/icons/two-user-icon.d.ts +2 -0
- package/lib/icons/two-user-search-icon.d.ts +2 -0
- package/lib/icons/up-arrow-icon.d.ts +2 -0
- package/lib/icons/up-down-arrow.d.ts +2 -0
- package/lib/icons/upload-file-icon.d.ts +2 -0
- package/lib/icons/upload-file.d.ts +2 -0
- package/lib/icons/upload-icon.d.ts +2 -0
- package/lib/icons/upload-iconV2.d.ts +2 -0
- package/lib/icons/user-icon.d.ts +2 -0
- package/lib/icons/user-logout-icon.d.ts +2 -0
- package/lib/icons/view-icon.d.ts +2 -0
- package/lib/icons/visibility-icon.d.ts +2 -0
- package/lib/icons/warning-icon.d.ts +2 -0
- package/lib/index.d.ts +1063 -0
- package/lib/index.esm.js +27668 -0
- package/lib/index.esm.js.map +1 -0
- package/lib/index.js +27795 -0
- package/lib/index.js.map +1 -0
- package/lib/utils/useDarkMode.d.ts +1 -0
- package/lib/utils/useIsMobile.d.ts +1 -0
- package/package.json +1 -1
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,1063 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import React__default, { InputHTMLAttributes, ReactNode, HtmlHTMLAttributes, ChangeEvent, JSX, HTMLAttributes, SVGProps } from 'react';
|
|
3
|
+
import { Control } from 'react-hook-form';
|
|
4
|
+
import { FormatOptionLabelMeta } from 'react-select';
|
|
5
|
+
import { TreeSelectSelectionKeysType, TreeSelectChangeEvent } from 'primereact/treeselect';
|
|
6
|
+
|
|
7
|
+
interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
8
|
+
variant: "primary" | "secondary" | "outline-danger";
|
|
9
|
+
text: string;
|
|
10
|
+
leftIcon?: React__default.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
declare function Button({ variant, text, leftIcon, ...props }: ButtonProps): React__default.JSX.Element;
|
|
13
|
+
|
|
14
|
+
interface InputBaseProps$1 extends InputHTMLAttributes<HTMLInputElement> {
|
|
15
|
+
customClass?: string;
|
|
16
|
+
restrictionMessage?: string;
|
|
17
|
+
label?: string | ReactNode;
|
|
18
|
+
leftIcon?: ReactNode;
|
|
19
|
+
rightIcon?: ReactNode;
|
|
20
|
+
onRightIconClick?: () => void;
|
|
21
|
+
style?: React__default.CSSProperties;
|
|
22
|
+
inputRef?: unknown;
|
|
23
|
+
required?: boolean | false;
|
|
24
|
+
error?: boolean;
|
|
25
|
+
helperText?: string;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
readOnly?: boolean;
|
|
28
|
+
className?: string;
|
|
29
|
+
showCounter?: boolean;
|
|
30
|
+
}
|
|
31
|
+
declare const InputBase: ({ customClass, restrictionMessage, label, leftIcon, rightIcon, onRightIconClick, style, required, error, helperText, disabled, readOnly, className, showCounter, value, ...props }: InputBaseProps$1) => React__default.JSX.Element;
|
|
32
|
+
|
|
33
|
+
interface InformativeBoxProps extends Omit<HtmlHTMLAttributes<HTMLDivElement>, "title"> {
|
|
34
|
+
infoType: "success" | "alert" | "warning" | "informative";
|
|
35
|
+
widthType?: "fitContent" | "fullWidth";
|
|
36
|
+
title: string | ReactNode;
|
|
37
|
+
message: string | ReactNode;
|
|
38
|
+
hasDismissButton?: boolean;
|
|
39
|
+
onClose?: () => void;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
declare const InformativeBox: ({ infoType, title, message, onClose, widthType, hasDismissButton, ...props }: InformativeBoxProps) => React__default.JSX.Element;
|
|
43
|
+
|
|
44
|
+
type CheckboxProps = {
|
|
45
|
+
checked?: boolean;
|
|
46
|
+
disabled?: boolean;
|
|
47
|
+
onChange?: (checked: boolean) => void;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
declare const Checkbox: ({ checked, disabled, onChange }: CheckboxProps) => React__default.JSX.Element;
|
|
51
|
+
|
|
52
|
+
interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
53
|
+
customClass?: string;
|
|
54
|
+
restrictionMessage?: string;
|
|
55
|
+
label?: string;
|
|
56
|
+
hasIcon?: boolean;
|
|
57
|
+
Icon?: React.ReactNode;
|
|
58
|
+
inputRef?: unknown;
|
|
59
|
+
required?: boolean | false;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
interface PasswordInputProps extends InputProps {
|
|
63
|
+
showPassword: boolean;
|
|
64
|
+
togglePasswordVisibility: VoidFunction;
|
|
65
|
+
}
|
|
66
|
+
declare const PasswordInput: ({ togglePasswordVisibility, showPassword, restrictionMessage, customClass, inputRef, style, required, label, disabled, ...props }: PasswordInputProps) => React__default.JSX.Element;
|
|
67
|
+
|
|
68
|
+
declare const PgeButton: React__default.ForwardRefExoticComponent<{
|
|
69
|
+
variant: "primary" | "secondary" | "tertiary";
|
|
70
|
+
danger?: boolean;
|
|
71
|
+
disabled?: boolean;
|
|
72
|
+
title: string;
|
|
73
|
+
leftIcon?: React__default.ReactNode;
|
|
74
|
+
rightIcon?: React__default.ReactNode;
|
|
75
|
+
widthType?: "fit-content" | "full-width";
|
|
76
|
+
} & React__default.ButtonHTMLAttributes<HTMLButtonElement> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
77
|
+
|
|
78
|
+
type FileUploadHandle = {
|
|
79
|
+
reset: () => void;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
declare const FileUpload: React__default.ForwardRefExoticComponent<{
|
|
83
|
+
variant?: "primary" | "secondary";
|
|
84
|
+
danger?: boolean;
|
|
85
|
+
fileTypes: string[];
|
|
86
|
+
onFileSelect: (file: File | null) => void;
|
|
87
|
+
title?: React__default.ReactNode;
|
|
88
|
+
descricaoLabel?: string;
|
|
89
|
+
errorText?: string;
|
|
90
|
+
noSelectedFileText?: string;
|
|
91
|
+
maxFileSize?: `${number}KB` | `${number}MB` | `${number}GB`;
|
|
92
|
+
helperText?: React__default.ReactNode;
|
|
93
|
+
} & {
|
|
94
|
+
disabled?: boolean | undefined;
|
|
95
|
+
form?: string | undefined;
|
|
96
|
+
formAction?: string | ((formData: FormData) => void | Promise<void>) | React__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof React__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
|
|
97
|
+
formEncType?: string | undefined;
|
|
98
|
+
formMethod?: string | undefined;
|
|
99
|
+
formNoValidate?: boolean | undefined;
|
|
100
|
+
formTarget?: string | undefined;
|
|
101
|
+
name?: string | undefined;
|
|
102
|
+
type?: "submit" | "reset" | "button" | undefined;
|
|
103
|
+
value?: string | readonly string[] | number | undefined;
|
|
104
|
+
defaultChecked?: boolean | undefined;
|
|
105
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
106
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
107
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
108
|
+
accessKey?: string | undefined;
|
|
109
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
110
|
+
autoFocus?: boolean | undefined;
|
|
111
|
+
className?: string | undefined;
|
|
112
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
113
|
+
contextMenu?: string | undefined;
|
|
114
|
+
dir?: string | undefined;
|
|
115
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
116
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
117
|
+
hidden?: boolean | undefined;
|
|
118
|
+
id?: string | undefined;
|
|
119
|
+
lang?: string | undefined;
|
|
120
|
+
nonce?: string | undefined;
|
|
121
|
+
slot?: string | undefined;
|
|
122
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
123
|
+
style?: React__default.CSSProperties | undefined;
|
|
124
|
+
tabIndex?: number | undefined;
|
|
125
|
+
translate?: "yes" | "no" | undefined;
|
|
126
|
+
radioGroup?: string | undefined;
|
|
127
|
+
role?: React__default.AriaRole | undefined;
|
|
128
|
+
about?: string | undefined;
|
|
129
|
+
content?: string | undefined;
|
|
130
|
+
datatype?: string | undefined;
|
|
131
|
+
inlist?: any;
|
|
132
|
+
prefix?: string | undefined;
|
|
133
|
+
property?: string | undefined;
|
|
134
|
+
rel?: string | undefined;
|
|
135
|
+
resource?: string | undefined;
|
|
136
|
+
rev?: string | undefined;
|
|
137
|
+
typeof?: string | undefined;
|
|
138
|
+
vocab?: string | undefined;
|
|
139
|
+
autoCorrect?: string | undefined;
|
|
140
|
+
autoSave?: string | undefined;
|
|
141
|
+
color?: string | undefined;
|
|
142
|
+
itemProp?: string | undefined;
|
|
143
|
+
itemScope?: boolean | undefined;
|
|
144
|
+
itemType?: string | undefined;
|
|
145
|
+
itemID?: string | undefined;
|
|
146
|
+
itemRef?: string | undefined;
|
|
147
|
+
results?: number | undefined;
|
|
148
|
+
security?: string | undefined;
|
|
149
|
+
unselectable?: "on" | "off" | undefined;
|
|
150
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
151
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
152
|
+
popoverTarget?: string | undefined;
|
|
153
|
+
inert?: boolean | undefined;
|
|
154
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
155
|
+
is?: string | undefined;
|
|
156
|
+
exportparts?: string | undefined;
|
|
157
|
+
part?: string | undefined;
|
|
158
|
+
"aria-activedescendant"?: string | undefined;
|
|
159
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
160
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
161
|
+
"aria-braillelabel"?: string | undefined;
|
|
162
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
163
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
164
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
165
|
+
"aria-colcount"?: number | undefined;
|
|
166
|
+
"aria-colindex"?: number | undefined;
|
|
167
|
+
"aria-colindextext"?: string | undefined;
|
|
168
|
+
"aria-colspan"?: number | undefined;
|
|
169
|
+
"aria-controls"?: string | undefined;
|
|
170
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
171
|
+
"aria-describedby"?: string | undefined;
|
|
172
|
+
"aria-description"?: string | undefined;
|
|
173
|
+
"aria-details"?: string | undefined;
|
|
174
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
175
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
176
|
+
"aria-errormessage"?: string | undefined;
|
|
177
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
178
|
+
"aria-flowto"?: string | undefined;
|
|
179
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
180
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
181
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
182
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
183
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
184
|
+
"aria-label"?: string | undefined;
|
|
185
|
+
"aria-labelledby"?: string | undefined;
|
|
186
|
+
"aria-level"?: number | undefined;
|
|
187
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
188
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
189
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
190
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
191
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
192
|
+
"aria-owns"?: string | undefined;
|
|
193
|
+
"aria-placeholder"?: string | undefined;
|
|
194
|
+
"aria-posinset"?: number | undefined;
|
|
195
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
196
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
197
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
198
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
199
|
+
"aria-roledescription"?: string | undefined;
|
|
200
|
+
"aria-rowcount"?: number | undefined;
|
|
201
|
+
"aria-rowindex"?: number | undefined;
|
|
202
|
+
"aria-rowindextext"?: string | undefined;
|
|
203
|
+
"aria-rowspan"?: number | undefined;
|
|
204
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
205
|
+
"aria-setsize"?: number | undefined;
|
|
206
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
207
|
+
"aria-valuemax"?: number | undefined;
|
|
208
|
+
"aria-valuemin"?: number | undefined;
|
|
209
|
+
"aria-valuenow"?: number | undefined;
|
|
210
|
+
"aria-valuetext"?: string | undefined;
|
|
211
|
+
children?: React__default.ReactNode | undefined;
|
|
212
|
+
dangerouslySetInnerHTML?: {
|
|
213
|
+
__html: string | TrustedHTML;
|
|
214
|
+
} | undefined;
|
|
215
|
+
onCopy?: React__default.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
216
|
+
onCopyCapture?: React__default.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
217
|
+
onCut?: React__default.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
218
|
+
onCutCapture?: React__default.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
219
|
+
onPaste?: React__default.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
220
|
+
onPasteCapture?: React__default.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
221
|
+
onCompositionEnd?: React__default.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
222
|
+
onCompositionEndCapture?: React__default.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
223
|
+
onCompositionStart?: React__default.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
224
|
+
onCompositionStartCapture?: React__default.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
225
|
+
onCompositionUpdate?: React__default.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
226
|
+
onCompositionUpdateCapture?: React__default.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
227
|
+
onFocus?: React__default.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
228
|
+
onFocusCapture?: React__default.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
229
|
+
onBlur?: React__default.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
230
|
+
onBlurCapture?: React__default.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
231
|
+
onChange?: React__default.FormEventHandler<HTMLButtonElement> | undefined;
|
|
232
|
+
onChangeCapture?: React__default.FormEventHandler<HTMLButtonElement> | undefined;
|
|
233
|
+
onBeforeInput?: React__default.InputEventHandler<HTMLButtonElement> | undefined;
|
|
234
|
+
onBeforeInputCapture?: React__default.FormEventHandler<HTMLButtonElement> | undefined;
|
|
235
|
+
onInput?: React__default.FormEventHandler<HTMLButtonElement> | undefined;
|
|
236
|
+
onInputCapture?: React__default.FormEventHandler<HTMLButtonElement> | undefined;
|
|
237
|
+
onReset?: React__default.FormEventHandler<HTMLButtonElement> | undefined;
|
|
238
|
+
onResetCapture?: React__default.FormEventHandler<HTMLButtonElement> | undefined;
|
|
239
|
+
onSubmit?: React__default.FormEventHandler<HTMLButtonElement> | undefined;
|
|
240
|
+
onSubmitCapture?: React__default.FormEventHandler<HTMLButtonElement> | undefined;
|
|
241
|
+
onInvalid?: React__default.FormEventHandler<HTMLButtonElement> | undefined;
|
|
242
|
+
onInvalidCapture?: React__default.FormEventHandler<HTMLButtonElement> | undefined;
|
|
243
|
+
onLoad?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
244
|
+
onLoadCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
245
|
+
onError?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
246
|
+
onErrorCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
247
|
+
onKeyDown?: React__default.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
248
|
+
onKeyDownCapture?: React__default.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
249
|
+
onKeyPress?: React__default.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
250
|
+
onKeyPressCapture?: React__default.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
251
|
+
onKeyUp?: React__default.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
252
|
+
onKeyUpCapture?: React__default.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
253
|
+
onAbort?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
254
|
+
onAbortCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
255
|
+
onCanPlay?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
256
|
+
onCanPlayCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
257
|
+
onCanPlayThrough?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
258
|
+
onCanPlayThroughCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
259
|
+
onDurationChange?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
260
|
+
onDurationChangeCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
261
|
+
onEmptied?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
262
|
+
onEmptiedCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
263
|
+
onEncrypted?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
264
|
+
onEncryptedCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
265
|
+
onEnded?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
266
|
+
onEndedCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
267
|
+
onLoadedData?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
268
|
+
onLoadedDataCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
269
|
+
onLoadedMetadata?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
270
|
+
onLoadedMetadataCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
271
|
+
onLoadStart?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
272
|
+
onLoadStartCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
273
|
+
onPause?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
274
|
+
onPauseCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
275
|
+
onPlay?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
276
|
+
onPlayCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
277
|
+
onPlaying?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
278
|
+
onPlayingCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
279
|
+
onProgress?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
280
|
+
onProgressCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
281
|
+
onRateChange?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
282
|
+
onRateChangeCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
283
|
+
onSeeked?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
284
|
+
onSeekedCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
285
|
+
onSeeking?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
286
|
+
onSeekingCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
287
|
+
onStalled?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
288
|
+
onStalledCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
289
|
+
onSuspend?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
290
|
+
onSuspendCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
291
|
+
onTimeUpdate?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
292
|
+
onTimeUpdateCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
293
|
+
onVolumeChange?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
294
|
+
onVolumeChangeCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
295
|
+
onWaiting?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
296
|
+
onWaitingCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
297
|
+
onAuxClick?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
298
|
+
onAuxClickCapture?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
299
|
+
onClick?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
300
|
+
onClickCapture?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
301
|
+
onContextMenu?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
302
|
+
onContextMenuCapture?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
303
|
+
onDoubleClick?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
304
|
+
onDoubleClickCapture?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
305
|
+
onDrag?: React__default.DragEventHandler<HTMLButtonElement> | undefined;
|
|
306
|
+
onDragCapture?: React__default.DragEventHandler<HTMLButtonElement> | undefined;
|
|
307
|
+
onDragEnd?: React__default.DragEventHandler<HTMLButtonElement> | undefined;
|
|
308
|
+
onDragEndCapture?: React__default.DragEventHandler<HTMLButtonElement> | undefined;
|
|
309
|
+
onDragEnter?: React__default.DragEventHandler<HTMLButtonElement> | undefined;
|
|
310
|
+
onDragEnterCapture?: React__default.DragEventHandler<HTMLButtonElement> | undefined;
|
|
311
|
+
onDragExit?: React__default.DragEventHandler<HTMLButtonElement> | undefined;
|
|
312
|
+
onDragExitCapture?: React__default.DragEventHandler<HTMLButtonElement> | undefined;
|
|
313
|
+
onDragLeave?: React__default.DragEventHandler<HTMLButtonElement> | undefined;
|
|
314
|
+
onDragLeaveCapture?: React__default.DragEventHandler<HTMLButtonElement> | undefined;
|
|
315
|
+
onDragOver?: React__default.DragEventHandler<HTMLButtonElement> | undefined;
|
|
316
|
+
onDragOverCapture?: React__default.DragEventHandler<HTMLButtonElement> | undefined;
|
|
317
|
+
onDragStart?: React__default.DragEventHandler<HTMLButtonElement> | undefined;
|
|
318
|
+
onDragStartCapture?: React__default.DragEventHandler<HTMLButtonElement> | undefined;
|
|
319
|
+
onDrop?: React__default.DragEventHandler<HTMLButtonElement> | undefined;
|
|
320
|
+
onDropCapture?: React__default.DragEventHandler<HTMLButtonElement> | undefined;
|
|
321
|
+
onMouseDown?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
322
|
+
onMouseDownCapture?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
323
|
+
onMouseEnter?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
324
|
+
onMouseLeave?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
325
|
+
onMouseMove?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
326
|
+
onMouseMoveCapture?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
327
|
+
onMouseOut?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
328
|
+
onMouseOutCapture?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
329
|
+
onMouseOver?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
330
|
+
onMouseOverCapture?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
331
|
+
onMouseUp?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
332
|
+
onMouseUpCapture?: React__default.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
333
|
+
onSelect?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
334
|
+
onSelectCapture?: React__default.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
335
|
+
onTouchCancel?: React__default.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
336
|
+
onTouchCancelCapture?: React__default.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
337
|
+
onTouchEnd?: React__default.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
338
|
+
onTouchEndCapture?: React__default.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
339
|
+
onTouchMove?: React__default.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
340
|
+
onTouchMoveCapture?: React__default.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
341
|
+
onTouchStart?: React__default.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
342
|
+
onTouchStartCapture?: React__default.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
343
|
+
onPointerDown?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
344
|
+
onPointerDownCapture?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
345
|
+
onPointerMove?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
346
|
+
onPointerMoveCapture?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
347
|
+
onPointerUp?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
348
|
+
onPointerUpCapture?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
349
|
+
onPointerCancel?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
350
|
+
onPointerCancelCapture?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
351
|
+
onPointerEnter?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
352
|
+
onPointerLeave?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
353
|
+
onPointerOver?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
354
|
+
onPointerOverCapture?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
355
|
+
onPointerOut?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
356
|
+
onPointerOutCapture?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
357
|
+
onGotPointerCapture?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
358
|
+
onGotPointerCaptureCapture?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
359
|
+
onLostPointerCapture?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
360
|
+
onLostPointerCaptureCapture?: React__default.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
361
|
+
onScroll?: React__default.UIEventHandler<HTMLButtonElement> | undefined;
|
|
362
|
+
onScrollCapture?: React__default.UIEventHandler<HTMLButtonElement> | undefined;
|
|
363
|
+
onScrollEnd?: React__default.UIEventHandler<HTMLButtonElement> | undefined;
|
|
364
|
+
onScrollEndCapture?: React__default.UIEventHandler<HTMLButtonElement> | undefined;
|
|
365
|
+
onWheel?: React__default.WheelEventHandler<HTMLButtonElement> | undefined;
|
|
366
|
+
onWheelCapture?: React__default.WheelEventHandler<HTMLButtonElement> | undefined;
|
|
367
|
+
onAnimationStart?: React__default.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
368
|
+
onAnimationStartCapture?: React__default.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
369
|
+
onAnimationEnd?: React__default.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
370
|
+
onAnimationEndCapture?: React__default.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
371
|
+
onAnimationIteration?: React__default.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
372
|
+
onAnimationIterationCapture?: React__default.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
373
|
+
onToggle?: React__default.ToggleEventHandler<HTMLButtonElement> | undefined;
|
|
374
|
+
onBeforeToggle?: React__default.ToggleEventHandler<HTMLButtonElement> | undefined;
|
|
375
|
+
onTransitionCancel?: React__default.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
376
|
+
onTransitionCancelCapture?: React__default.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
377
|
+
onTransitionEnd?: React__default.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
378
|
+
onTransitionEndCapture?: React__default.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
379
|
+
onTransitionRun?: React__default.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
380
|
+
onTransitionRunCapture?: React__default.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
381
|
+
onTransitionStart?: React__default.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
382
|
+
onTransitionStartCapture?: React__default.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
383
|
+
'data-pr-tooltip'?: string | undefined;
|
|
384
|
+
'data-pr-disabled'?: boolean | undefined;
|
|
385
|
+
'data-pr-classname'?: string | undefined;
|
|
386
|
+
'data-pr-position'?: "top" | "bottom" | "left" | "right" | "mouse" | undefined;
|
|
387
|
+
'data-pr-my'?: string | undefined;
|
|
388
|
+
'data-pr-at'?: string | undefined;
|
|
389
|
+
'data-pr-event'?: "hover" | "focus" | "both" | undefined;
|
|
390
|
+
'data-pr-showevent'?: string | undefined;
|
|
391
|
+
'data-pr-hideevent'?: string | undefined;
|
|
392
|
+
'data-pr-mousetrack'?: boolean | undefined;
|
|
393
|
+
'data-pr-mousetracktop'?: number | undefined;
|
|
394
|
+
'data-pr-mousetrackleft'?: number | undefined;
|
|
395
|
+
'data-pr-showdelay'?: number | undefined;
|
|
396
|
+
'data-pr-updatedelay'?: number | undefined;
|
|
397
|
+
'data-pr-hidedelay'?: number | undefined;
|
|
398
|
+
'data-pr-autohide'?: boolean | undefined;
|
|
399
|
+
'data-pr-showondisabled'?: boolean | undefined;
|
|
400
|
+
} & React__default.RefAttributes<FileUploadHandle>>;
|
|
401
|
+
|
|
402
|
+
interface TooltipProps$1 {
|
|
403
|
+
text: string;
|
|
404
|
+
children: React.ReactNode;
|
|
405
|
+
forceVisible?: boolean;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
declare const Tooltip: ({ text, children, forceVisible }: TooltipProps$1) => React__default.JSX.Element;
|
|
409
|
+
|
|
410
|
+
type TextAlignType = "start" | "end" | "center";
|
|
411
|
+
interface TextareaBaseProps extends Partial<HTMLTextAreaElement> {
|
|
412
|
+
label?: string | React__default.ReactNode;
|
|
413
|
+
hasError?: boolean;
|
|
414
|
+
textError?: string;
|
|
415
|
+
message?: string;
|
|
416
|
+
hasIcon?: boolean;
|
|
417
|
+
Icon?: React__default.ReactNode;
|
|
418
|
+
textAlign: TextAlignType;
|
|
419
|
+
onChange?: (e: React__default.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
420
|
+
onClick?: (e: React__default.MouseEvent<HTMLTextAreaElement>) => void;
|
|
421
|
+
rows?: number;
|
|
422
|
+
required?: boolean | false;
|
|
423
|
+
showCounter?: boolean;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
declare const TextareaBase: ({ name, label, value, type, Icon, placeholder, message, textAlign, textError, hasError, rows, hasIcon, required, showCounter, ...props }: TextareaBaseProps) => React__default.JSX.Element;
|
|
427
|
+
|
|
428
|
+
interface RadioGroupBaseProps extends Partial<HTMLInputElement> {
|
|
429
|
+
name: string;
|
|
430
|
+
label?: string;
|
|
431
|
+
options: OptionsProps$3[];
|
|
432
|
+
value: string;
|
|
433
|
+
hasError?: boolean;
|
|
434
|
+
textError?: string;
|
|
435
|
+
message?: string;
|
|
436
|
+
onInput: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
437
|
+
customClass?: string;
|
|
438
|
+
orientation?: "horizontal" | "vertical";
|
|
439
|
+
required?: boolean | false;
|
|
440
|
+
disabled?: boolean | false;
|
|
441
|
+
}
|
|
442
|
+
type OptionsProps$3 = {
|
|
443
|
+
value: string;
|
|
444
|
+
label: string;
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
declare const RadioGroupBase: ({ name, label, value, options, message, textError, hasError, orientation, required, disabled, onInput, customClass, ...props }: RadioGroupBaseProps) => React__default.JSX.Element;
|
|
448
|
+
|
|
449
|
+
interface RadioButtonProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "type" | "checked" | "accept" | "alt" | "capture" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "list" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "pattern" | "placeholder" | "readOnly" | "size" | "src" | "step" | "width"> {
|
|
450
|
+
name: string;
|
|
451
|
+
label?: ReactNode;
|
|
452
|
+
value: string;
|
|
453
|
+
checked?: boolean;
|
|
454
|
+
hasError?: boolean;
|
|
455
|
+
textError?: string;
|
|
456
|
+
message?: string;
|
|
457
|
+
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
458
|
+
customClass?: string;
|
|
459
|
+
required?: boolean;
|
|
460
|
+
disabled?: boolean;
|
|
461
|
+
"aria-label"?: string;
|
|
462
|
+
"aria-describedby"?: string;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
declare const RadioButton: ({ name, label, value, checked, message, textError, hasError, required, disabled, onChange, customClass, id, "aria-label": ariaLabel, "aria-describedby": ariaDescribedBy, ...props }: RadioButtonProps) => React__default.JSX.Element;
|
|
466
|
+
|
|
467
|
+
interface HeaderProps$1 {
|
|
468
|
+
isRHDigital?: boolean;
|
|
469
|
+
isHonorarios?: boolean;
|
|
470
|
+
isCASC?: boolean;
|
|
471
|
+
isResponsiveCASC?: boolean;
|
|
472
|
+
optionSelection: (name: string, id: number) => void;
|
|
473
|
+
options: any[];
|
|
474
|
+
name: string;
|
|
475
|
+
userName: string;
|
|
476
|
+
handleLogout: () => void;
|
|
477
|
+
isPortalServidor?: boolean;
|
|
478
|
+
isPortalBeneficios?: boolean;
|
|
479
|
+
extraComponent?: React__default.ReactNode;
|
|
480
|
+
profile?: string;
|
|
481
|
+
hasGestor?: boolean;
|
|
482
|
+
fullName?: string;
|
|
483
|
+
firstName?: string;
|
|
484
|
+
hasLogin?: boolean;
|
|
485
|
+
}
|
|
486
|
+
declare const Header: ({ isRHDigital, isCASC, isResponsiveCASC, optionSelection, options, name, userName, handleLogout, isPortalServidor, isPortalBeneficios, profile, hasGestor, fullName, firstName, isHonorarios, extraComponent, hasLogin, }: HeaderProps$1) => React__default.JSX.Element;
|
|
487
|
+
|
|
488
|
+
interface FooterProps {
|
|
489
|
+
imageFooter: string;
|
|
490
|
+
logoPGE: string;
|
|
491
|
+
}
|
|
492
|
+
declare function FooterPge({ imageFooter, logoPGE }: FooterProps): React__default.JSX.Element;
|
|
493
|
+
|
|
494
|
+
interface AccordionItemProps$1 {
|
|
495
|
+
title: React__default.ReactNode;
|
|
496
|
+
content: React__default.ReactNode;
|
|
497
|
+
id?: string;
|
|
498
|
+
defaultOpen?: boolean;
|
|
499
|
+
}
|
|
500
|
+
declare function AccordionItem({ title, content, id: providedId, defaultOpen, }: AccordionItemProps$1): React__default.JSX.Element;
|
|
501
|
+
declare function Accordion({ children }: {
|
|
502
|
+
children: React__default.ReactNode;
|
|
503
|
+
}): React__default.JSX.Element;
|
|
504
|
+
|
|
505
|
+
interface AccordionItemProps {
|
|
506
|
+
title: string;
|
|
507
|
+
content: React.ReactNode;
|
|
508
|
+
id: string;
|
|
509
|
+
defaultOpen?: boolean;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
type BoxErrorProps = {
|
|
513
|
+
message?: string;
|
|
514
|
+
handleClose?: () => void;
|
|
515
|
+
};
|
|
516
|
+
declare const BoxError: ({ message, handleClose }: BoxErrorProps) => React__default.JSX.Element;
|
|
517
|
+
|
|
518
|
+
type BoxSuccessProps = {
|
|
519
|
+
message?: string;
|
|
520
|
+
handleClose?: () => void;
|
|
521
|
+
};
|
|
522
|
+
declare const BoxSuccess: ({ message, handleClose }: BoxSuccessProps) => React__default.JSX.Element;
|
|
523
|
+
|
|
524
|
+
interface Props$3 {
|
|
525
|
+
isOpen: boolean;
|
|
526
|
+
text?: string;
|
|
527
|
+
}
|
|
528
|
+
declare function LoadingSpinner(props: Readonly<Props$3>): React$1.JSX.Element;
|
|
529
|
+
|
|
530
|
+
interface Props$2 {
|
|
531
|
+
currentPage: number;
|
|
532
|
+
countPage: number;
|
|
533
|
+
itemsVisiblePage?: number;
|
|
534
|
+
handleClickPage?: (page: any) => void;
|
|
535
|
+
}
|
|
536
|
+
declare const PaginationTable: ({ currentPage, countPage, itemsVisiblePage, handleClickPage, }: Omit<Props$2, "header" | "body" | "footer">) => React__default.JSX.Element;
|
|
537
|
+
|
|
538
|
+
interface PaginationProps {
|
|
539
|
+
countPage: number;
|
|
540
|
+
currentPage: number;
|
|
541
|
+
totalItems: number;
|
|
542
|
+
itemsPerPage: number;
|
|
543
|
+
handlePrevious: () => void;
|
|
544
|
+
handleNext: () => void;
|
|
545
|
+
handleItemPorPage: (value: number) => void;
|
|
546
|
+
handlePage: (value: number) => void;
|
|
547
|
+
pagina: number;
|
|
548
|
+
defaultOptions?: {
|
|
549
|
+
value: number;
|
|
550
|
+
label: string;
|
|
551
|
+
}[];
|
|
552
|
+
dropdownDirection?: "down" | "up";
|
|
553
|
+
}
|
|
554
|
+
declare const Pagination: ({ countPage, currentPage, totalItems, itemsPerPage, handleNext, handlePrevious, handleItemPorPage, pagina, handlePage, defaultOptions, dropdownDirection, }: PaginationProps) => React__default.JSX.Element;
|
|
555
|
+
|
|
556
|
+
interface SelectMultProps {
|
|
557
|
+
name?: string;
|
|
558
|
+
optionsSelect: OptionsProps$2[];
|
|
559
|
+
value: any[];
|
|
560
|
+
placeholder?: string;
|
|
561
|
+
className?: string;
|
|
562
|
+
label?: string;
|
|
563
|
+
handleChange: (selectedOptions: any) => void;
|
|
564
|
+
handleInputChange?: (inputValue: string) => void;
|
|
565
|
+
fetchOptions?: (query: string) => Promise<OptionsProps$2[]>;
|
|
566
|
+
isMulti: boolean;
|
|
567
|
+
disabled?: boolean;
|
|
568
|
+
required?: boolean;
|
|
569
|
+
textError?: string;
|
|
570
|
+
hasError?: boolean;
|
|
571
|
+
message?: string;
|
|
572
|
+
Icon?: React.ReactNode;
|
|
573
|
+
isSearchable?: boolean;
|
|
574
|
+
isClearable?: boolean;
|
|
575
|
+
isCheckedAll?: boolean;
|
|
576
|
+
maxMenuHeight?: number;
|
|
577
|
+
}
|
|
578
|
+
type OptionsProps$2 = {
|
|
579
|
+
label: string;
|
|
580
|
+
value: string;
|
|
581
|
+
};
|
|
582
|
+
|
|
583
|
+
declare const SelectMult: ({ name, optionsSelect, value, placeholder, label, handleChange, isMulti, disabled, fetchOptions, required, textError, hasError, message, Icon, isSearchable, isClearable, isCheckedAll, maxMenuHeight, }: SelectMultProps) => React__default.JSX.Element;
|
|
584
|
+
|
|
585
|
+
interface SelectDefaultProps$1 {
|
|
586
|
+
name: string;
|
|
587
|
+
optionsSelect: OptionsProps$1[];
|
|
588
|
+
value: any;
|
|
589
|
+
placeholder?: string;
|
|
590
|
+
className?: string;
|
|
591
|
+
label?: React__default.ReactNode;
|
|
592
|
+
handleChange: (selectedOptions: OptionsProps$1) => void;
|
|
593
|
+
handleInputChange?: (inputValue: string) => void;
|
|
594
|
+
isDisabled?: boolean;
|
|
595
|
+
isRequired?: boolean;
|
|
596
|
+
inputRef?: unknown;
|
|
597
|
+
hasError?: boolean;
|
|
598
|
+
isClearable?: boolean;
|
|
599
|
+
}
|
|
600
|
+
type OptionsProps$1 = {
|
|
601
|
+
label: string;
|
|
602
|
+
value: string;
|
|
603
|
+
};
|
|
604
|
+
|
|
605
|
+
declare const BasicSelect: ({ name, optionsSelect, placeholder, isDisabled, label, hasError, handleChange, isRequired, value, isClearable, }: SelectDefaultProps$1) => React$1.JSX.Element;
|
|
606
|
+
|
|
607
|
+
interface Props$1 {
|
|
608
|
+
isOpen: boolean;
|
|
609
|
+
text?: string;
|
|
610
|
+
mini?: boolean;
|
|
611
|
+
}
|
|
612
|
+
declare function OverlayLoadingSpinner({ isOpen, text, mini, }: Readonly<Props$1>): React$1.JSX.Element;
|
|
613
|
+
|
|
614
|
+
declare const Option: (props: any) => JSX.Element;
|
|
615
|
+
declare const MenuList: (props: any) => JSX.Element;
|
|
616
|
+
declare const Menu: (props: JSX.IntrinsicElements["div"]) => JSX.Element;
|
|
617
|
+
declare const Blanket: (props: JSX.IntrinsicElements["div"]) => JSX.Element;
|
|
618
|
+
declare const Dropdown: ({ children, isOpen, target, onClose, }: {
|
|
619
|
+
children?: ReactNode;
|
|
620
|
+
readonly isOpen: boolean;
|
|
621
|
+
readonly target: ReactNode;
|
|
622
|
+
readonly onClose: () => void;
|
|
623
|
+
readonly selecionados: any[];
|
|
624
|
+
}) => JSX.Element;
|
|
625
|
+
|
|
626
|
+
interface IFuncionalidade {
|
|
627
|
+
id: number;
|
|
628
|
+
nome: string;
|
|
629
|
+
chave: string;
|
|
630
|
+
checked: boolean;
|
|
631
|
+
}
|
|
632
|
+
interface ISubMenuMenuHorizontal {
|
|
633
|
+
id: number;
|
|
634
|
+
nome: string;
|
|
635
|
+
chave: string;
|
|
636
|
+
funcionalidades: IFuncionalidade[];
|
|
637
|
+
checked: boolean;
|
|
638
|
+
}
|
|
639
|
+
interface IFuncoesMenuHorizontal {
|
|
640
|
+
id: number;
|
|
641
|
+
nome: string;
|
|
642
|
+
submenu: ISubMenuMenuHorizontal[];
|
|
643
|
+
checked: boolean;
|
|
644
|
+
chave: string;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
interface HeaderProps {
|
|
648
|
+
isRHDigital: boolean;
|
|
649
|
+
isCASC?: boolean;
|
|
650
|
+
hasGestor?: boolean;
|
|
651
|
+
isPortalServidor?: boolean;
|
|
652
|
+
isResponsiveCASC?: boolean;
|
|
653
|
+
options: IFuncoesMenuHorizontal[];
|
|
654
|
+
optionSelection: (name: string, id: number) => void;
|
|
655
|
+
name: string;
|
|
656
|
+
userName: string;
|
|
657
|
+
handleLogout: () => void;
|
|
658
|
+
handleLogin?: () => void;
|
|
659
|
+
profile?: string;
|
|
660
|
+
fullName?: string;
|
|
661
|
+
firstName?: string;
|
|
662
|
+
brandLogos?: React__default.ReactNode;
|
|
663
|
+
showLoginButton?: boolean;
|
|
664
|
+
}
|
|
665
|
+
declare const HeaderPge: ({ isRHDigital, isCASC, isResponsiveCASC, optionSelection, options, name, userName, handleLogout, handleLogin, isPortalServidor, profile, hasGestor, fullName, firstName, brandLogos, showLoginButton, }: HeaderProps) => React__default.JSX.Element;
|
|
666
|
+
|
|
667
|
+
type TitleProps = {
|
|
668
|
+
title: string;
|
|
669
|
+
};
|
|
670
|
+
declare const Title: ({ title }: TitleProps) => React__default.JSX.Element;
|
|
671
|
+
|
|
672
|
+
interface Column {
|
|
673
|
+
name: string;
|
|
674
|
+
uid: string;
|
|
675
|
+
sortable?: boolean;
|
|
676
|
+
renderCell?: (item: any) => React__default.ReactNode;
|
|
677
|
+
}
|
|
678
|
+
interface TableComponentProps {
|
|
679
|
+
columns: Column[];
|
|
680
|
+
data: any[];
|
|
681
|
+
sortDirection: "asc" | "desc";
|
|
682
|
+
onSort: (uid: string) => void;
|
|
683
|
+
renderCell: (item: any, columnUid: string) => React__default.ReactNode;
|
|
684
|
+
onActionClick?: (item: any) => void;
|
|
685
|
+
actionIcon?: React__default.ReactNode;
|
|
686
|
+
noRecordsMessage?: string;
|
|
687
|
+
hasIcon?: boolean;
|
|
688
|
+
renderActionIconCell: (item: any) => React__default.JSX.Element | null;
|
|
689
|
+
columnIcon?: React__default.ReactNode;
|
|
690
|
+
iconColumnName?: string;
|
|
691
|
+
setBorderTable?: boolean;
|
|
692
|
+
hasBottomRounded?: boolean;
|
|
693
|
+
renderHeaderCell?: (columnName: string, isSortable?: boolean, columnIcon?: React__default.ReactNode) => React__default.ReactNode;
|
|
694
|
+
textAlignment?: "left" | "center" | "right";
|
|
695
|
+
getRowClassName?: (item: any, index: number) => string;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
declare const TableComponent: ({ columns, data, onSort, renderCell, onActionClick, noRecordsMessage, hasIcon, renderActionIconCell, columnIcon, iconColumnName, setBorderTable, hasBottomRounded, renderHeaderCell, textAlignment, getRowClassName, }: TableComponentProps) => React__default.JSX.Element;
|
|
699
|
+
|
|
700
|
+
interface InputBaseProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
701
|
+
customClass?: string;
|
|
702
|
+
restrictionMessage?: string;
|
|
703
|
+
label?: string;
|
|
704
|
+
hasIcon?: boolean;
|
|
705
|
+
Icon?: React.ReactNode;
|
|
706
|
+
inputRef?: unknown;
|
|
707
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
708
|
+
isError?: boolean;
|
|
709
|
+
valueDate?: Date | Date[] | string | null;
|
|
710
|
+
disabled?: boolean;
|
|
711
|
+
isInvalid?: boolean;
|
|
712
|
+
required?: boolean | false;
|
|
713
|
+
inline?: boolean | false;
|
|
714
|
+
selectionMode?: "single" | "multiple" | "range";
|
|
715
|
+
enabledDates?: Date[] | null;
|
|
716
|
+
view?: "date" | "month" | "year";
|
|
717
|
+
dateFormat?: string | "dd/mm/yy";
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
declare const DateInput: ({ restrictionMessage, label, onChange, isError, valueDate, disabled, placeholder, required, inline, selectionMode, enabledDates, view, dateFormat, }: InputBaseProps) => React__default.JSX.Element;
|
|
721
|
+
|
|
722
|
+
interface SelectDefaultProps {
|
|
723
|
+
name: string;
|
|
724
|
+
optionsSelect: OptionsProps[];
|
|
725
|
+
value: any;
|
|
726
|
+
placeholder?: string;
|
|
727
|
+
className?: string;
|
|
728
|
+
label?: string;
|
|
729
|
+
handleChange: (selectedOptions: OptionsProps) => void;
|
|
730
|
+
handleInputChange?: (inputValue: string) => void;
|
|
731
|
+
isDisabled?: boolean;
|
|
732
|
+
isRequired?: boolean;
|
|
733
|
+
inputRef?: unknown;
|
|
734
|
+
hasError?: boolean;
|
|
735
|
+
control?: Control<any>;
|
|
736
|
+
formatOptionLabel?: ((data: any, formatOptionLabelMeta: FormatOptionLabelMeta<any>) => React.ReactNode) | undefined;
|
|
737
|
+
isClearable?: boolean;
|
|
738
|
+
maxMenuHeight?: number;
|
|
739
|
+
noOptionsMessage?: string;
|
|
740
|
+
}
|
|
741
|
+
type OptionsProps = {
|
|
742
|
+
label: string;
|
|
743
|
+
value: string;
|
|
744
|
+
isDisabled?: boolean;
|
|
745
|
+
};
|
|
746
|
+
|
|
747
|
+
declare const SelectDefault: ({ name, control, optionsSelect, placeholder, isDisabled, label, hasError, handleChange, isRequired, value, handleInputChange, formatOptionLabel, isClearable, maxMenuHeight, noOptionsMessage, }: SelectDefaultProps) => React$1.JSX.Element;
|
|
748
|
+
|
|
749
|
+
interface ModalProps$1 {
|
|
750
|
+
isModalOpen: boolean;
|
|
751
|
+
onOpenChange: React__default.Dispatch<React__default.SetStateAction<boolean>>;
|
|
752
|
+
children: React__default.ReactNode;
|
|
753
|
+
title?: string;
|
|
754
|
+
triggerId?: string;
|
|
755
|
+
className?: string;
|
|
756
|
+
style?: React__default.CSSProperties;
|
|
757
|
+
}
|
|
758
|
+
declare const ModalUI: ({ isModalOpen, onOpenChange, children, title, triggerId, className, style, }: ModalProps$1) => React__default.JSX.Element;
|
|
759
|
+
|
|
760
|
+
type ModalProps = HTMLAttributes<HTMLDivElement> & {
|
|
761
|
+
isOpen: boolean;
|
|
762
|
+
onClose: () => void;
|
|
763
|
+
children: ReactNode;
|
|
764
|
+
className?: string;
|
|
765
|
+
closeOnClickOutside?: boolean;
|
|
766
|
+
};
|
|
767
|
+
type ModalHeaderProps = HTMLAttributes<HTMLDivElement> & {
|
|
768
|
+
children: ReactNode;
|
|
769
|
+
onClose: () => void;
|
|
770
|
+
className?: string;
|
|
771
|
+
};
|
|
772
|
+
type ModalBodyProps = HTMLAttributes<HTMLDivElement> & {
|
|
773
|
+
children: ReactNode;
|
|
774
|
+
className?: string;
|
|
775
|
+
};
|
|
776
|
+
type ModalFooterProps = HTMLAttributes<HTMLDivElement> & {
|
|
777
|
+
children: ReactNode;
|
|
778
|
+
className?: string;
|
|
779
|
+
};
|
|
780
|
+
|
|
781
|
+
declare function Modal({ isOpen, onClose, children, className, closeOnClickOutside, }: ModalProps): React__default.JSX.Element | null;
|
|
782
|
+
|
|
783
|
+
declare const ModalFooter: ({ children, className }: ModalFooterProps) => React__default.JSX.Element;
|
|
784
|
+
|
|
785
|
+
declare const ModalHeader: ({ children, onClose, className }: ModalHeaderProps) => React__default.JSX.Element;
|
|
786
|
+
|
|
787
|
+
declare const ModalBody: ({ children, className }: ModalBodyProps) => React__default.JSX.Element;
|
|
788
|
+
|
|
789
|
+
interface Props {
|
|
790
|
+
itens: React__default.ReactNode[];
|
|
791
|
+
}
|
|
792
|
+
declare const MenuAction: ({ itens }: Props) => React__default.JSX.Element;
|
|
793
|
+
|
|
794
|
+
interface SkeletonProps {
|
|
795
|
+
className?: string;
|
|
796
|
+
}
|
|
797
|
+
declare function SkeletonLoader({ className }: SkeletonProps): React__default.JSX.Element;
|
|
798
|
+
|
|
799
|
+
interface TooltipProps {
|
|
800
|
+
text: string;
|
|
801
|
+
children: React.ReactNode;
|
|
802
|
+
forceVisible?: boolean;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
declare const TooltipWithPortal: ({ text, children, forceVisible }: TooltipProps) => React__default.JSX.Element;
|
|
806
|
+
|
|
807
|
+
type TableProps = React.HTMLAttributes<HTMLTableElement> & {
|
|
808
|
+
children: ReactNode;
|
|
809
|
+
className?: string;
|
|
810
|
+
};
|
|
811
|
+
type TableHeaderProps = React.HTMLAttributes<HTMLTableSectionElement> & {
|
|
812
|
+
children: ReactNode;
|
|
813
|
+
};
|
|
814
|
+
type TableBodyProps = React.HTMLAttributes<HTMLTableSectionElement> & {
|
|
815
|
+
children: ReactNode;
|
|
816
|
+
};
|
|
817
|
+
type TableRowProps = React.HTMLAttributes<HTMLTableRowElement> & {
|
|
818
|
+
children: ReactNode;
|
|
819
|
+
};
|
|
820
|
+
type TableCellProps = React.TdHTMLAttributes<HTMLTableCellElement> & {
|
|
821
|
+
children: ReactNode;
|
|
822
|
+
};
|
|
823
|
+
type TableFooterProps = React.HTMLAttributes<HTMLTableSectionElement> & {
|
|
824
|
+
children: ReactNode;
|
|
825
|
+
};
|
|
826
|
+
|
|
827
|
+
declare const Table: ({ children, className, ...props }: TableProps) => React__default.JSX.Element;
|
|
828
|
+
declare const TableHeader: ({ children, ...props }: TableHeaderProps) => React__default.JSX.Element;
|
|
829
|
+
declare const TableBody: ({ children, ...props }: TableBodyProps) => React__default.JSX.Element;
|
|
830
|
+
declare const TableRow: ({ children, ...props }: TableRowProps) => React__default.JSX.Element;
|
|
831
|
+
declare const TableCell: ({ children, ...props }: TableCellProps) => React__default.JSX.Element;
|
|
832
|
+
declare const TableFooter: ({ children, ...props }: TableFooterProps) => React__default.JSX.Element;
|
|
833
|
+
|
|
834
|
+
interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "onChange"> {
|
|
835
|
+
checked: boolean;
|
|
836
|
+
onChange: (newValue: boolean) => void;
|
|
837
|
+
disabled?: boolean;
|
|
838
|
+
className?: string;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* Componente Switch suportado por eventos de mouse e teclado.
|
|
843
|
+
*
|
|
844
|
+
* @description
|
|
845
|
+
* Componente que mostra um estado boolean, informando se a opção está ligada/desligada.
|
|
846
|
+
*
|
|
847
|
+
* @param {boolean} props.checked - Mostra se o componente está marcado (`true`) ou desmarcado (`false`).
|
|
848
|
+
* @param {(newValue: boolean) => void} props.onChange
|
|
849
|
+
* - Função callback chamada no evento de clique e que retorna o novo estado (`true` ou `false`).
|
|
850
|
+
* @param {boolean} [props.disabled=false] - Se estiver como `true` o usuário fica impossibilitado de interagir com o elemento.
|
|
851
|
+
* @param {...any} [props.props] - Quaisquer outras props suportadas pelo elemento HTML do tipo input (e.g. `id`, `name`, `aria-*`).
|
|
852
|
+
*
|
|
853
|
+
* @example
|
|
854
|
+
* ```tsx
|
|
855
|
+
* import React, { useState } from "react";
|
|
856
|
+
* import { Switch } from "pge-front-common";
|
|
857
|
+
*
|
|
858
|
+
* export const Example = () => {
|
|
859
|
+
* const [enabled, setEnabled] = useState(false);
|
|
860
|
+
*
|
|
861
|
+
* return (
|
|
862
|
+
* <div>
|
|
863
|
+
* <Switch
|
|
864
|
+
* checked={enabled}
|
|
865
|
+
* onChange={(newState) => setEnabled(newState)}
|
|
866
|
+
* aria-label="Sim ou não"
|
|
867
|
+
* />
|
|
868
|
+
* <span>{enabled ? "Sim" : "Não"}</span>
|
|
869
|
+
* </div>
|
|
870
|
+
* );
|
|
871
|
+
* };
|
|
872
|
+
* ```
|
|
873
|
+
*/
|
|
874
|
+
declare const Switch: ({ checked, onChange, disabled, className, ...props }: SwitchProps) => React__default.JSX.Element;
|
|
875
|
+
|
|
876
|
+
interface ProgressCircleProps {
|
|
877
|
+
percentage: number;
|
|
878
|
+
message?: string;
|
|
879
|
+
size?: "small" | "medium" | "large";
|
|
880
|
+
onClose: () => void;
|
|
881
|
+
infinite?: boolean;
|
|
882
|
+
isInProgress?: boolean;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
declare function ProgressCircle({ percentage, message, size, infinite, isInProgress, onClose, }: ProgressCircleProps): React__default.JSX.Element | null;
|
|
886
|
+
|
|
887
|
+
type ChipVariant = "primary" | "information" | "success" | "warning" | "error" | "avatar";
|
|
888
|
+
type ChipSize = "small" | "medium" | "large";
|
|
889
|
+
type ChipProps = {
|
|
890
|
+
variant?: ChipVariant;
|
|
891
|
+
size?: ChipSize;
|
|
892
|
+
children: React__default.ReactNode;
|
|
893
|
+
leftIcon?: React__default.ReactNode;
|
|
894
|
+
rightIcon?: React__default.ReactNode;
|
|
895
|
+
className?: string;
|
|
896
|
+
disabled?: boolean;
|
|
897
|
+
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
898
|
+
|
|
899
|
+
declare const Chip: React__default.ForwardRefExoticComponent<{
|
|
900
|
+
variant?: ChipVariant;
|
|
901
|
+
size?: ChipSize;
|
|
902
|
+
children: React__default.ReactNode;
|
|
903
|
+
leftIcon?: React__default.ReactNode;
|
|
904
|
+
rightIcon?: React__default.ReactNode;
|
|
905
|
+
className?: string;
|
|
906
|
+
disabled?: boolean;
|
|
907
|
+
} & React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
908
|
+
|
|
909
|
+
interface FloatingMenuProps {
|
|
910
|
+
anchor?: HTMLElement | null;
|
|
911
|
+
anchorContent?: React.ReactNode;
|
|
912
|
+
isOpen?: boolean;
|
|
913
|
+
onClose?: () => void;
|
|
914
|
+
children: React.ReactNode;
|
|
915
|
+
className?: string;
|
|
916
|
+
style?: React.CSSProperties;
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
declare const FloatingMenu: ({ anchor, anchorContent, isOpen, onClose, children, className, style, }: FloatingMenuProps) => React__default.JSX.Element | null;
|
|
920
|
+
|
|
921
|
+
interface FieldsetProps {
|
|
922
|
+
legend?: string;
|
|
923
|
+
children: React__default.ReactNode;
|
|
924
|
+
className?: string;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
declare function Fieldset({ legend, children, className, }: FieldsetProps): React__default.JSX.Element;
|
|
928
|
+
|
|
929
|
+
interface TreeSelectProps {
|
|
930
|
+
customClass?: string;
|
|
931
|
+
restrictionMessage?: string;
|
|
932
|
+
label?: string;
|
|
933
|
+
value?: string | TreeSelectSelectionKeysType | TreeSelectSelectionKeysType[] | null;
|
|
934
|
+
onChange?: (e: TreeSelectChangeEvent) => void;
|
|
935
|
+
isError?: boolean;
|
|
936
|
+
disabled?: boolean;
|
|
937
|
+
placeholder?: string;
|
|
938
|
+
required?: boolean | false;
|
|
939
|
+
options?: any;
|
|
940
|
+
display?: "comma" | "chip" | undefined;
|
|
941
|
+
filter?: boolean | undefined;
|
|
942
|
+
selectionMode?: "checkbox" | "multiple" | "single";
|
|
943
|
+
}
|
|
944
|
+
type TreeSelectOptions = {
|
|
945
|
+
label: string;
|
|
946
|
+
value: string;
|
|
947
|
+
icon?: string;
|
|
948
|
+
children?: TreeSelectOptions[];
|
|
949
|
+
};
|
|
950
|
+
|
|
951
|
+
declare const TreeSelect: ({ label, value, restrictionMessage, onChange, isError, disabled, placeholder, required, display, filter, options, selectionMode, }: TreeSelectProps) => React__default.JSX.Element;
|
|
952
|
+
|
|
953
|
+
declare const IconDownload: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
954
|
+
|
|
955
|
+
declare const IconVisibility: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
956
|
+
|
|
957
|
+
declare const IconEdit: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
958
|
+
|
|
959
|
+
declare const IconDelete: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
960
|
+
|
|
961
|
+
declare const IconDotsVertical: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
962
|
+
|
|
963
|
+
declare const IconCalendar: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
964
|
+
|
|
965
|
+
declare const IconProfile: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
966
|
+
|
|
967
|
+
declare const IconUpload: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
968
|
+
|
|
969
|
+
declare const IconNewTab: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
970
|
+
|
|
971
|
+
declare const IconWarning: ({ className, ...props }: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
972
|
+
|
|
973
|
+
declare const IconCheckCircle: ({ className, ...props }: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
974
|
+
|
|
975
|
+
declare const IconEventAvaliable: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
976
|
+
|
|
977
|
+
declare const IconLogout: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
978
|
+
|
|
979
|
+
declare const IconCLose: ({ className, ...props }: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
980
|
+
|
|
981
|
+
declare const IconAdd: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
982
|
+
|
|
983
|
+
declare const IconRemove: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
984
|
+
|
|
985
|
+
declare const IconCircleExpland: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
986
|
+
|
|
987
|
+
declare const IconCircleRecall: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
988
|
+
|
|
989
|
+
declare const IconArrowExpland: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
990
|
+
|
|
991
|
+
declare const IconArrowRecall: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
992
|
+
|
|
993
|
+
declare const IconTriangleExpand: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
994
|
+
|
|
995
|
+
declare const IconTriangleRecall: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
996
|
+
|
|
997
|
+
declare const IconSwap: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
998
|
+
|
|
999
|
+
declare const IconAddCell: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1000
|
+
|
|
1001
|
+
declare const IconInvisibility: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1002
|
+
|
|
1003
|
+
declare const IconPdf: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1004
|
+
|
|
1005
|
+
declare const IconHourglass: (props: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1006
|
+
|
|
1007
|
+
declare const IconSearch: ({ className, ...props }: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1008
|
+
|
|
1009
|
+
declare const IconUpAndDownArror: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1010
|
+
|
|
1011
|
+
declare const IconCheck: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1012
|
+
|
|
1013
|
+
declare const IconPrint: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1014
|
+
|
|
1015
|
+
declare const IconUploadFile: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1016
|
+
|
|
1017
|
+
declare const IconUploadV2: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1018
|
+
|
|
1019
|
+
declare const IconQuestionMark: ({ className, ...props }: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1020
|
+
|
|
1021
|
+
declare const CommonDotIcon: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1022
|
+
|
|
1023
|
+
declare const IconExclude: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1024
|
+
|
|
1025
|
+
declare const IconView: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1026
|
+
|
|
1027
|
+
declare const IconUploadFile2: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1028
|
+
|
|
1029
|
+
declare const IconInfoRound: ({ className, ...props }: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1030
|
+
|
|
1031
|
+
declare const IconMail: ({ className, ...props }: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1032
|
+
|
|
1033
|
+
declare const IconRightDirection: ({ className, ...props }: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1034
|
+
|
|
1035
|
+
declare const IconLeftDirection: ({ className, ...props }: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1036
|
+
|
|
1037
|
+
declare const IconUsers: ({ className, ...props }: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1038
|
+
|
|
1039
|
+
declare const IconDebitoFiscal: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1040
|
+
|
|
1041
|
+
declare const IconEmissaoDarj: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1042
|
+
|
|
1043
|
+
declare const IconCertidaoRegularidade: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1044
|
+
|
|
1045
|
+
declare const IconParcelamento: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1046
|
+
|
|
1047
|
+
declare const IconArrowRight: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1048
|
+
|
|
1049
|
+
declare const IconArrowLeft: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1050
|
+
|
|
1051
|
+
declare const IconPayment: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1052
|
+
|
|
1053
|
+
declare const IconTwoUsers: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1054
|
+
|
|
1055
|
+
declare const IconTwoUsersSearch: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1056
|
+
|
|
1057
|
+
declare const IconCalculate: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1058
|
+
|
|
1059
|
+
declare const IconUpArrow: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
1060
|
+
|
|
1061
|
+
declare function installPrimeReactStyles(): void;
|
|
1062
|
+
|
|
1063
|
+
export { Accordion, AccordionItem, type AccordionItemProps, BasicSelect, Blanket, BoxError, BoxSuccess, Button, type ButtonProps, Checkbox, Chip, type ChipProps, type Column, CommonDotIcon, DateInput, Dropdown, Fieldset, type FieldsetProps, FileUpload, FloatingMenu, FooterPge as Footer, Header, HeaderPge, IconAdd, IconAddCell, IconArrowExpland, IconArrowLeft, IconArrowRecall, IconArrowRight, IconCLose, IconCalculate, IconCalendar, IconCertidaoRegularidade, IconCheck, IconCheckCircle, IconCircleExpland, IconCircleRecall, IconDebitoFiscal, IconDelete, IconDotsVertical, IconDownload, IconEdit, IconEmissaoDarj, IconEventAvaliable, IconExclude, IconHourglass, IconInfoRound, IconInvisibility, IconLeftDirection, IconLogout, IconMail, IconNewTab, IconParcelamento, IconPayment, IconPdf, IconPrint, IconProfile, IconQuestionMark, IconRemove, IconRightDirection, IconSearch, IconSwap, IconTriangleExpand, IconTriangleRecall, IconTwoUsers, IconTwoUsersSearch, IconUpAndDownArror, IconUpArrow, IconUpload, IconUploadFile, IconUploadFile2, IconUploadV2, IconUsers, IconView, IconVisibility, IconWarning, InformativeBox, type InformativeBoxProps, InputBase, type InputProps, LoadingSpinner, Menu, MenuAction, MenuList, Modal, ModalBody, ModalFooter, ModalHeader, ModalUI, Option, type OptionsProps$2 as OptionsProps, OverlayLoadingSpinner, PaginationTable, Pagination as PaginationV2, PasswordInput, PgeButton, ProgressCircle, type ProgressCircleProps, RadioButton, type RadioButtonProps, RadioGroupBase, type RadioGroupBaseProps, SelectDefault, type SelectDefaultProps, SelectMult, type SelectMultProps, SkeletonLoader, Switch, Table, TableBody, TableCell, TableComponent, type TableComponentProps, TableFooter, TableHeader, TableRow, TextareaBase, type TextareaBaseProps, Title, Tooltip, TooltipWithPortal, TreeSelect, type TreeSelectOptions, type TreeSelectProps, installPrimeReactStyles };
|