nexaas-ui-components 1.0.102 → 1.0.104
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/dist/index.cjs +37 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.cts +47 -46
- package/dist/index.d.ts +47 -46
- package/dist/index.js +38 -19
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import * as React from 'react';
|
|
2
|
-
import React__default, { JSX,
|
|
3
|
+
import React__default, { JSX, AnchorHTMLAttributes, ComponentType, DetailedHTMLProps, InputHTMLAttributes, HTMLInputTypeAttribute, ReactNode, KeyboardEventHandler, MutableRefObject, TextareaHTMLAttributes } from 'react';
|
|
3
4
|
import { UseFormRegisterReturn, Merge, FieldError, FieldErrorsImpl, Control } from 'react-hook-form';
|
|
4
5
|
import { Table as Table$1 } from '@tanstack/react-table';
|
|
5
6
|
import { ValueContainerProps } from 'react-select';
|
|
@@ -111,7 +112,7 @@ declare const variants$3: {
|
|
|
111
112
|
text: string;
|
|
112
113
|
};
|
|
113
114
|
};
|
|
114
|
-
declare const Button: ({ variant, size, hotkey, hotkeyPosition, ...props }: ButtonProps) => JSX.Element;
|
|
115
|
+
declare const Button: ({ variant, size, hotkey, hotkeyPosition, ...props }: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
115
116
|
|
|
116
117
|
type LinkProp = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
117
118
|
icon?: JSX.Element;
|
|
@@ -224,7 +225,7 @@ type InputFieldProps$1 = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>
|
|
|
224
225
|
onClear?: () => void;
|
|
225
226
|
hideInput?: boolean;
|
|
226
227
|
};
|
|
227
|
-
declare const Input: ({ label, type, registration, onClick, error, onBlur, inputProps, icon, clearField, name, required, disabled, value, placeholder, defaultValue, onKeyUp, onKeyDown, onClear, hideInput, onChange, ref, }: InputFieldProps$1) => JSX.Element;
|
|
228
|
+
declare const Input: ({ label, type, registration, onClick, error, onBlur, inputProps, icon, clearField, name, required, disabled, value, placeholder, defaultValue, onKeyUp, onKeyDown, onClear, hideInput, onChange, ref, }: InputFieldProps$1) => react_jsx_runtime.JSX.Element;
|
|
228
229
|
|
|
229
230
|
declare const Logo: React__default.FC<{
|
|
230
231
|
className?: string;
|
|
@@ -277,7 +278,7 @@ declare const variants$1: {
|
|
|
277
278
|
outline: string;
|
|
278
279
|
"dark-gray": string;
|
|
279
280
|
};
|
|
280
|
-
declare const Badge: ({ variant, children, className, style, }: BadgeProps) => JSX.Element;
|
|
281
|
+
declare const Badge: ({ variant, children, className, style, }: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
281
282
|
|
|
282
283
|
interface Props$7 {
|
|
283
284
|
registration?: UseFormRegisterReturn;
|
|
@@ -291,7 +292,7 @@ interface Props$7 {
|
|
|
291
292
|
maxDate?: Date;
|
|
292
293
|
singleMonth?: boolean;
|
|
293
294
|
}
|
|
294
|
-
declare const Calendar: ({ registration, error, control, name, rangeCalendar, shortcutsChange, selectedShortcut, setSelectedShortcut, maxDate, singleMonth, }: Props$7) =>
|
|
295
|
+
declare const Calendar: ({ registration, error, control, name, rangeCalendar, shortcutsChange, selectedShortcut, setSelectedShortcut, maxDate, singleMonth, }: Props$7) => react_jsx_runtime.JSX.Element;
|
|
295
296
|
|
|
296
297
|
type CheckboxProps = {
|
|
297
298
|
key?: string;
|
|
@@ -299,7 +300,7 @@ type CheckboxProps = {
|
|
|
299
300
|
registration?: UseFormRegisterReturn;
|
|
300
301
|
disabled?: boolean;
|
|
301
302
|
};
|
|
302
|
-
declare const Checkbox: ({ key, label, registration, disabled, }: CheckboxProps) =>
|
|
303
|
+
declare const Checkbox: ({ key, label, registration, disabled, }: CheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
303
304
|
|
|
304
305
|
interface Props$6 {
|
|
305
306
|
icon?: JSX.Element;
|
|
@@ -318,7 +319,7 @@ interface Props$6 {
|
|
|
318
319
|
/** Mostra o botão de limpar (X) no chip fechado, sobre o filtro já selecionado. Padrão: true. */
|
|
319
320
|
clearButton?: boolean;
|
|
320
321
|
}
|
|
321
|
-
declare const FilterCalendar: ({ icon, label, onApply, onClear, control, name, rangeCalendar, defaultShortcut, shortcutsChange, singleMonth, maxDate, labelClassName, clearButton, }: Props$6) => JSX.Element;
|
|
322
|
+
declare const FilterCalendar: ({ icon, label, onApply, onClear, control, name, rangeCalendar, defaultShortcut, shortcutsChange, singleMonth, maxDate, labelClassName, clearButton, }: Props$6) => react_jsx_runtime.JSX.Element;
|
|
322
323
|
|
|
323
324
|
interface Options {
|
|
324
325
|
id: any;
|
|
@@ -359,7 +360,7 @@ interface Props$5 {
|
|
|
359
360
|
clearLabel?: string;
|
|
360
361
|
selectAllLabel?: string;
|
|
361
362
|
}
|
|
362
|
-
declare const FilterOptions: ({ icon, label, isMulti, options, onApply, onClear, onSelectAll, control, name, fetch, subFilters, emptyMessage, initialMessage, initialMessageClassName, applyOnClick, showFilter, renderOption, searchPlaceholder, panelClassName, applyLabel, cancelLabel, clearLabel, selectAllLabel, }: Props$5) => JSX.Element;
|
|
363
|
+
declare const FilterOptions: ({ icon, label, isMulti, options, onApply, onClear, onSelectAll, control, name, fetch, subFilters, emptyMessage, initialMessage, initialMessageClassName, applyOnClick, showFilter, renderOption, searchPlaceholder, panelClassName, applyLabel, cancelLabel, clearLabel, selectAllLabel, }: Props$5) => react_jsx_runtime.JSX.Element;
|
|
363
364
|
|
|
364
365
|
interface Props$4 {
|
|
365
366
|
icon?: JSX.Element;
|
|
@@ -408,7 +409,7 @@ interface Props$4 {
|
|
|
408
409
|
*/
|
|
409
410
|
preloadOptions?: boolean;
|
|
410
411
|
}
|
|
411
|
-
declare const FilterSelect: ({ icon, label, isMulti, options, onApply, onClear, onSelectAll, control, name, fetch, subFilters, emptyMessage, initialMessage, initialMessageClassName, applyOnClick, showFilter, renderOption, searchPlaceholder, panelClassName, applyLabel, cancelLabel, clearLabel, selectAllLabel, clearButton, preloadOptions, }: Props$4) => JSX.Element;
|
|
412
|
+
declare const FilterSelect: ({ icon, label, isMulti, options, onApply, onClear, onSelectAll, control, name, fetch, subFilters, emptyMessage, initialMessage, initialMessageClassName, applyOnClick, showFilter, renderOption, searchPlaceholder, panelClassName, applyLabel, cancelLabel, clearLabel, selectAllLabel, clearButton, preloadOptions, }: Props$4) => react_jsx_runtime.JSX.Element;
|
|
412
413
|
|
|
413
414
|
type InputMoneyProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
|
|
414
415
|
label?: string;
|
|
@@ -425,7 +426,7 @@ type InputMoneyProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>,
|
|
|
425
426
|
isWeightField?: boolean;
|
|
426
427
|
minFractionDigits?: number;
|
|
427
428
|
};
|
|
428
|
-
declare function InputMoney({ label, type, onClick, error, onBlur, onChangeValue, inputProps, icon, clearField, name, required, disabled, value, placeholder, control, defaultValue, isWeightField, minFractionDigits, }: InputMoneyProps): JSX.Element;
|
|
429
|
+
declare function InputMoney({ label, type, onClick, error, onBlur, onChangeValue, inputProps, icon, clearField, name, required, disabled, value, placeholder, control, defaultValue, isWeightField, minFractionDigits, }: InputMoneyProps): react_jsx_runtime.JSX.Element;
|
|
429
430
|
declare namespace InputMoney {
|
|
430
431
|
var displayName: string;
|
|
431
432
|
}
|
|
@@ -447,7 +448,7 @@ type InputNumberProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>,
|
|
|
447
448
|
showZero?: boolean;
|
|
448
449
|
maxValue?: number;
|
|
449
450
|
};
|
|
450
|
-
declare function InputNumber({ label, type, onClick, error, onBlur, onChangeValue, inputProps, icon, clearField, name, required, disabled, value, placeholder, control, defaultValue, hideArrows, maxLength, onlyNumbers, showZero, maxValue, }: InputNumberProps): JSX.Element;
|
|
451
|
+
declare function InputNumber({ label, type, onClick, error, onBlur, onChangeValue, inputProps, icon, clearField, name, required, disabled, value, placeholder, control, defaultValue, hideArrows, maxLength, onlyNumbers, showZero, maxValue, }: InputNumberProps): react_jsx_runtime.JSX.Element;
|
|
451
452
|
declare namespace InputNumber {
|
|
452
453
|
var displayName: string;
|
|
453
454
|
}
|
|
@@ -467,7 +468,7 @@ type InputPercentageProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputEleme
|
|
|
467
468
|
minFractionDigits?: number;
|
|
468
469
|
onChangeValue?: (e: any) => void;
|
|
469
470
|
};
|
|
470
|
-
declare function InputPercentage({ label, onClick, error, onBlur, inputProps, icon, clearField, name, required, disabled, placeholder, control, defaultValue, minFractionDigits, onChangeValue, maxLength, }: InputPercentageProps): JSX.Element;
|
|
471
|
+
declare function InputPercentage({ label, onClick, error, onBlur, inputProps, icon, clearField, name, required, disabled, placeholder, control, defaultValue, minFractionDigits, onChangeValue, maxLength, }: InputPercentageProps): react_jsx_runtime.JSX.Element;
|
|
471
472
|
declare namespace InputPercentage {
|
|
472
473
|
var displayName: string;
|
|
473
474
|
}
|
|
@@ -487,7 +488,7 @@ type MaskedInputProps = {
|
|
|
487
488
|
defaultValue?: any;
|
|
488
489
|
disabled?: boolean;
|
|
489
490
|
};
|
|
490
|
-
declare const MaskedInput: ({ type, name, label, placeholder, error, mask, control, required, onKeyUp, maskChar, alwaysShowMask, defaultValue, disabled, }: MaskedInputProps) =>
|
|
491
|
+
declare const MaskedInput: ({ type, name, label, placeholder, error, mask, control, required, onKeyUp, maskChar, alwaysShowMask, defaultValue, disabled, }: MaskedInputProps) => react_jsx_runtime.JSX.Element;
|
|
491
492
|
|
|
492
493
|
type ModalProps = {
|
|
493
494
|
open?: boolean;
|
|
@@ -524,14 +525,14 @@ declare const sizes: {
|
|
|
524
525
|
lg: string;
|
|
525
526
|
null: string;
|
|
526
527
|
};
|
|
527
|
-
declare const ModalDialog: ({ open, onOpen, onClose, onCancel, triggerButton, confirmButton, title, cancelButton, icon, alertType, size, info, description, children, showFooter, showHeader, headerBorder, closeOnOverlayClick, }: ModalProps) => JSX.Element;
|
|
528
|
+
declare const ModalDialog: ({ open, onOpen, onClose, onCancel, triggerButton, confirmButton, title, cancelButton, icon, alertType, size, info, description, children, showFooter, showHeader, headerBorder, closeOnOverlayClick, }: ModalProps) => react_jsx_runtime.JSX.Element;
|
|
528
529
|
|
|
529
530
|
interface Props$3 {
|
|
530
531
|
id: string;
|
|
531
532
|
displayArrow?: boolean;
|
|
532
533
|
openOnClick?: boolean;
|
|
533
534
|
}
|
|
534
|
-
declare const Popover: ({ id, displayArrow, openOnClick, }: Props$3) =>
|
|
535
|
+
declare const Popover: ({ id, displayArrow, openOnClick, }: Props$3) => react_jsx_runtime.JSX.Element;
|
|
535
536
|
|
|
536
537
|
type OptionType$3 = {
|
|
537
538
|
value: number | string;
|
|
@@ -567,7 +568,7 @@ type SelectFieldProps$3 = {
|
|
|
567
568
|
menuIsEverOpen?: boolean;
|
|
568
569
|
showArrow?: boolean;
|
|
569
570
|
};
|
|
570
|
-
declare const SelectField: ({ name, error, label, defaultValue, control, placeholder, isSearchable, isClearable, onChange, required, debounce, filterOptions, optionsList, disabled, onChangeValue, resize, optionStyle, valueStyle, icon, emptyMessage, small, initialMessage, menuIsEverOpen, clearOnBlur, onMenuClose, clearOnMenuClose, showArrow, }: SelectFieldProps$3) => JSX.Element;
|
|
571
|
+
declare const SelectField: ({ name, error, label, defaultValue, control, placeholder, isSearchable, isClearable, onChange, required, debounce, filterOptions, optionsList, disabled, onChangeValue, resize, optionStyle, valueStyle, icon, emptyMessage, small, initialMessage, menuIsEverOpen, clearOnBlur, onMenuClose, clearOnMenuClose, showArrow, }: SelectFieldProps$3) => react_jsx_runtime.JSX.Element;
|
|
571
572
|
|
|
572
573
|
type FieldWrapperProps = {
|
|
573
574
|
label?: string;
|
|
@@ -621,7 +622,7 @@ interface Props$2 {
|
|
|
621
622
|
value?: string | number;
|
|
622
623
|
onChange?: (value: string | number) => void;
|
|
623
624
|
}
|
|
624
|
-
declare const Radio: ({ disabled, control, name, label, defaultChecked, value, onChange, }: Props$2) =>
|
|
625
|
+
declare const Radio: ({ disabled, control, name, label, defaultChecked, value, onChange, }: Props$2) => react_jsx_runtime.JSX.Element;
|
|
625
626
|
|
|
626
627
|
type ToggleProps = {
|
|
627
628
|
name: string;
|
|
@@ -630,13 +631,13 @@ type ToggleProps = {
|
|
|
630
631
|
control: Control<any>;
|
|
631
632
|
disabled?: boolean;
|
|
632
633
|
};
|
|
633
|
-
declare const Toggle: ({ name, label, subLabel, control, disabled, }: ToggleProps) =>
|
|
634
|
+
declare const Toggle: ({ name, label, subLabel, control, disabled, }: ToggleProps) => react_jsx_runtime.JSX.Element;
|
|
634
635
|
|
|
635
636
|
interface Props$1<TData> {
|
|
636
637
|
pageSizeOptions?: number[];
|
|
637
638
|
table: Table$1<TData>;
|
|
638
639
|
}
|
|
639
|
-
declare function PaginationSelect<TData>({ pageSizeOptions, table, }: Props$1<TData>):
|
|
640
|
+
declare function PaginationSelect<TData>({ pageSizeOptions, table, }: Props$1<TData>): react_jsx_runtime.JSX.Element;
|
|
640
641
|
|
|
641
642
|
type CustomTData = {
|
|
642
643
|
_destroy?: string;
|
|
@@ -688,7 +689,7 @@ interface DataTableProps<TData extends CustomTData, TValue> {
|
|
|
688
689
|
pageSizeOptions?: number[];
|
|
689
690
|
onFinishFetch?: () => void;
|
|
690
691
|
}
|
|
691
|
-
declare function DataTable<TData extends CustomTData, TValue>({ columns, tableClass, data, hidePagination, emptyButtonAction, hideBlankState, renderSubComponent, footer, borderFull, withShadow, actionsSelection, backgroundColor, emptyState, totalData, showFilter, placeholder, fetchData, openedSubComponent, getRowCanExpand, enableRowSelection, onScroll, tableContainerRef, setRows, selectAllOption, autoPagination, rowClassName, listUpdate, setRowSelection, rowSelection, perPage, pageSizeOptions, onFinishFetch, }: DataTableProps<TData, TValue>): JSX.Element;
|
|
692
|
+
declare function DataTable<TData extends CustomTData, TValue>({ columns, tableClass, data, hidePagination, emptyButtonAction, hideBlankState, renderSubComponent, footer, borderFull, withShadow, actionsSelection, backgroundColor, emptyState, totalData, showFilter, placeholder, fetchData, openedSubComponent, getRowCanExpand, enableRowSelection, onScroll, tableContainerRef, setRows, selectAllOption, autoPagination, rowClassName, listUpdate, setRowSelection, rowSelection, perPage, pageSizeOptions, onFinishFetch, }: DataTableProps<TData, TValue>): react_jsx_runtime.JSX.Element;
|
|
692
693
|
|
|
693
694
|
declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
|
|
694
695
|
declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -711,26 +712,26 @@ interface DataTablePaginationProps<TData> {
|
|
|
711
712
|
paginationScroll?: number;
|
|
712
713
|
pageSizeOptions?: number[];
|
|
713
714
|
}
|
|
714
|
-
declare function DataTablePagination<TData>({ table, footer, totalData, selectAllOption, onSelectAll, rowsSelected, onRemoveAll, tableRef, paginationScroll, pageSizeOptions, }: DataTablePaginationProps<TData>): JSX.Element;
|
|
715
|
+
declare function DataTablePagination<TData>({ table, footer, totalData, selectAllOption, onSelectAll, rowsSelected, onRemoveAll, tableRef, paginationScroll, pageSizeOptions, }: DataTablePaginationProps<TData>): react_jsx_runtime.JSX.Element;
|
|
715
716
|
|
|
716
717
|
interface Props {
|
|
717
718
|
title: string;
|
|
718
719
|
children: ReactNode;
|
|
719
720
|
open: boolean;
|
|
720
721
|
}
|
|
721
|
-
declare const Accordion: ({ title, children, open }: Props) =>
|
|
722
|
+
declare const Accordion: ({ title, children, open }: Props) => react_jsx_runtime.JSX.Element;
|
|
722
723
|
|
|
723
724
|
declare function CopyPopover({ children, valueToCopy }: {
|
|
724
725
|
children: any;
|
|
725
726
|
valueToCopy: any;
|
|
726
|
-
}):
|
|
727
|
+
}): react_jsx_runtime.JSX.Element;
|
|
727
728
|
|
|
728
729
|
type MenuProps = {
|
|
729
730
|
triggerElement?: ReactNode;
|
|
730
731
|
children?: ReactNode;
|
|
731
732
|
className?: string;
|
|
732
733
|
};
|
|
733
|
-
declare const Menu: ({ triggerElement, children, className }: MenuProps) =>
|
|
734
|
+
declare const Menu: ({ triggerElement, children, className }: MenuProps) => react_jsx_runtime.JSX.Element;
|
|
734
735
|
|
|
735
736
|
type ItemProps = {
|
|
736
737
|
index?: number;
|
|
@@ -738,14 +739,14 @@ type ItemProps = {
|
|
|
738
739
|
onClick?: (event: any) => void;
|
|
739
740
|
children?: ReactNode;
|
|
740
741
|
};
|
|
741
|
-
declare const Item: ({ index, isActive, onClick, children }: ItemProps) =>
|
|
742
|
+
declare const Item: ({ index, isActive, onClick, children }: ItemProps) => react_jsx_runtime.JSX.Element;
|
|
742
743
|
|
|
743
744
|
type EditableTextProps$2 = {
|
|
744
745
|
children?: ReactNode;
|
|
745
746
|
button?: ReactNode;
|
|
746
747
|
onClose?: Function;
|
|
747
748
|
};
|
|
748
|
-
declare const EditableButton: ({ children, button, onClose, }: EditableTextProps$2) =>
|
|
749
|
+
declare const EditableButton: ({ children, button, onClose, }: EditableTextProps$2) => react_jsx_runtime.JSX.Element;
|
|
749
750
|
|
|
750
751
|
type EditableTextProps$1 = {
|
|
751
752
|
control?: any;
|
|
@@ -757,7 +758,7 @@ type EditableTextProps$1 = {
|
|
|
757
758
|
hideEditIcon?: boolean;
|
|
758
759
|
truncate?: boolean;
|
|
759
760
|
};
|
|
760
|
-
declare const EditableText: ({ control, name, emptyLabel, children, onApply, value, hideEditIcon, truncate, }: EditableTextProps$1) => JSX.Element;
|
|
761
|
+
declare const EditableText: ({ control, name, emptyLabel, children, onApply, value, hideEditIcon, truncate, }: EditableTextProps$1) => react_jsx_runtime.JSX.Element;
|
|
761
762
|
|
|
762
763
|
type EditableTextProps = {
|
|
763
764
|
control?: any;
|
|
@@ -770,7 +771,7 @@ type EditableTextProps = {
|
|
|
770
771
|
showInputSeach?: boolean;
|
|
771
772
|
onChangeValue?: (value: any) => void;
|
|
772
773
|
};
|
|
773
|
-
declare const EditableTextSelect: ({ control, name, emptyLabel, options, optionStyle, valueStyle, showInputSeach, onChangeValue, }: EditableTextProps) => JSX.Element;
|
|
774
|
+
declare const EditableTextSelect: ({ control, name, emptyLabel, options, optionStyle, valueStyle, showInputSeach, onChangeValue, }: EditableTextProps) => react_jsx_runtime.JSX.Element;
|
|
774
775
|
|
|
775
776
|
type FileUploadProps = {
|
|
776
777
|
icon?: "file" | "image";
|
|
@@ -785,12 +786,12 @@ type FileUploadProps = {
|
|
|
785
786
|
name?: string;
|
|
786
787
|
limitMessage?: string;
|
|
787
788
|
};
|
|
788
|
-
declare const FileUpload: ({ icon, multiple, direction, isImage, setFiles, supportedFormats, validationFunction, files, error, name, limitMessage, }: FileUploadProps) =>
|
|
789
|
+
declare const FileUpload: ({ icon, multiple, direction, isImage, setFiles, supportedFormats, validationFunction, files, error, name, limitMessage, }: FileUploadProps) => react_jsx_runtime.JSX.Element;
|
|
789
790
|
|
|
790
791
|
declare function InfoIcon({ content, id, }: {
|
|
791
792
|
content?: string;
|
|
792
793
|
id?: string;
|
|
793
|
-
}):
|
|
794
|
+
}): react_jsx_runtime.JSX.Element;
|
|
794
795
|
|
|
795
796
|
type OptionType$2 = {
|
|
796
797
|
value: number | string;
|
|
@@ -807,7 +808,7 @@ interface SelectFieldProps$2 {
|
|
|
807
808
|
error?: Merge<FieldError, FieldErrorsImpl<any>>;
|
|
808
809
|
disabled?: boolean;
|
|
809
810
|
}
|
|
810
|
-
declare const MultiSelect: ({ name, options, label, error, defaultValue, control, isSearchable, required, disabled, }: SelectFieldProps$2) =>
|
|
811
|
+
declare const MultiSelect: ({ name, options, label, error, defaultValue, control, isSearchable, required, disabled, }: SelectFieldProps$2) => react_jsx_runtime.JSX.Element;
|
|
811
812
|
|
|
812
813
|
type OptionType$1 = {
|
|
813
814
|
value: number | string;
|
|
@@ -825,10 +826,10 @@ interface SelectFieldProps$1 {
|
|
|
825
826
|
blockSpaces?: boolean;
|
|
826
827
|
}
|
|
827
828
|
declare const InputTag: {
|
|
828
|
-
({ name, label, error, defaultValue, control, required, placeholder, blockSpaces, }: SelectFieldProps$1):
|
|
829
|
+
({ name, label, error, defaultValue, control, required, placeholder, blockSpaces, }: SelectFieldProps$1): react_jsx_runtime.JSX.Element;
|
|
829
830
|
displayName: string;
|
|
830
831
|
};
|
|
831
|
-
declare const ValueContainer: ({ children, ...props }: ValueContainerProps) =>
|
|
832
|
+
declare const ValueContainer: ({ children, ...props }: ValueContainerProps) => react_jsx_runtime.JSX.Element;
|
|
832
833
|
|
|
833
834
|
type OptionType = {
|
|
834
835
|
value: number | string;
|
|
@@ -850,14 +851,14 @@ interface SelectFieldProps {
|
|
|
850
851
|
debounce?: number;
|
|
851
852
|
}
|
|
852
853
|
declare const MultiSelectBottom: {
|
|
853
|
-
({ name, options, label, error, defaultValue, control, isSearchable, required, disabled, emptyMessage, filterOptions, debounce, }: SelectFieldProps):
|
|
854
|
+
({ name, options, label, error, defaultValue, control, isSearchable, required, disabled, emptyMessage, filterOptions, debounce, }: SelectFieldProps): react_jsx_runtime.JSX.Element;
|
|
854
855
|
displayName: string;
|
|
855
856
|
};
|
|
856
857
|
|
|
857
858
|
declare function PageBox(props: {
|
|
858
859
|
title?: string;
|
|
859
860
|
children?: React__default.ReactNode;
|
|
860
|
-
}):
|
|
861
|
+
}): react_jsx_runtime.JSX.Element;
|
|
861
862
|
|
|
862
863
|
type PageHeaderProps = {
|
|
863
864
|
title: JSX.Element | string;
|
|
@@ -868,14 +869,14 @@ type PageHeaderProps = {
|
|
|
868
869
|
children?: JSX.Element;
|
|
869
870
|
description?: JSX.Element | string;
|
|
870
871
|
};
|
|
871
|
-
declare const PageHeader: ({ title, breadcrumbs, children, description, }: PageHeaderProps) => JSX.Element;
|
|
872
|
+
declare const PageHeader: ({ title, breadcrumbs, children, description, }: PageHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
872
873
|
|
|
873
874
|
type ProgressBarProps = {
|
|
874
875
|
percentage: number;
|
|
875
876
|
variant: "primary" | "success" | "danger" | "info";
|
|
876
877
|
status: string;
|
|
877
878
|
};
|
|
878
|
-
declare const ProgressBar: ({ percentage, variant, status, }: ProgressBarProps) =>
|
|
879
|
+
declare const ProgressBar: ({ percentage, variant, status, }: ProgressBarProps) => react_jsx_runtime.JSX.Element;
|
|
879
880
|
|
|
880
881
|
type TabsProps = {
|
|
881
882
|
tabs: {
|
|
@@ -887,22 +888,22 @@ type TabsProps = {
|
|
|
887
888
|
}[];
|
|
888
889
|
onClick?: (current: any) => void;
|
|
889
890
|
};
|
|
890
|
-
declare function SimpleTab({ tabs, onClick }: TabsProps): JSX.Element;
|
|
891
|
+
declare function SimpleTab({ tabs, onClick }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
891
892
|
|
|
892
893
|
declare const SkeletonDetails: ({ loading, ...props }: {
|
|
893
894
|
[x: string]: any;
|
|
894
895
|
loading: any;
|
|
895
|
-
}) =>
|
|
896
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
896
897
|
|
|
897
898
|
declare const SkeletonList: ({ loading, ...props }: {
|
|
898
899
|
[x: string]: any;
|
|
899
900
|
loading: any;
|
|
900
|
-
}) =>
|
|
901
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
901
902
|
|
|
902
903
|
declare const SkeletonRegister: ({ loading, ...props }: {
|
|
903
904
|
[x: string]: any;
|
|
904
905
|
loading: any;
|
|
905
|
-
}) =>
|
|
906
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
906
907
|
|
|
907
908
|
type StatusBallProps = {
|
|
908
909
|
label?: string;
|
|
@@ -931,7 +932,7 @@ declare const variants: {
|
|
|
931
932
|
big: string;
|
|
932
933
|
};
|
|
933
934
|
};
|
|
934
|
-
declare const StatusBall: ({ label, variant, labelPosition, }: StatusBallProps) =>
|
|
935
|
+
declare const StatusBall: ({ label, variant, labelPosition, }: StatusBallProps) => react_jsx_runtime.JSX.Element;
|
|
935
936
|
|
|
936
937
|
type tab = {
|
|
937
938
|
key: string;
|
|
@@ -955,7 +956,7 @@ type TabProps = {
|
|
|
955
956
|
showNextStep?: boolean;
|
|
956
957
|
};
|
|
957
958
|
declare const Tabs: {
|
|
958
|
-
({ tabs, cancelButton, buttonDisabled, createButtonLabel, buttonLoading, saveButton, onClick, onSave, showNextStep, }: TabProps): JSX.Element;
|
|
959
|
+
({ tabs, cancelButton, buttonDisabled, createButtonLabel, buttonLoading, saveButton, onClick, onSave, showNextStep, }: TabProps): react_jsx_runtime.JSX.Element;
|
|
959
960
|
displayName: string;
|
|
960
961
|
};
|
|
961
962
|
|
|
@@ -965,7 +966,7 @@ type TextAreaProps = DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElemen
|
|
|
965
966
|
error?: FieldError;
|
|
966
967
|
inputProps?: any;
|
|
967
968
|
};
|
|
968
|
-
declare const TextArea: ({ label, registration, disabled, error, inputProps, name, }: TextAreaProps) =>
|
|
969
|
+
declare const TextArea: ({ label, registration, disabled, error, inputProps, name, }: TextAreaProps) => react_jsx_runtime.JSX.Element;
|
|
969
970
|
|
|
970
971
|
type TimelineProps = {
|
|
971
972
|
data: {
|
|
@@ -980,7 +981,7 @@ type TimelineProps = {
|
|
|
980
981
|
};
|
|
981
982
|
declare const translateVariant: (variant: any) => "gray" | "success" | "warning" | "info" | "dangerous";
|
|
982
983
|
declare const Timeline: {
|
|
983
|
-
({ data }: TimelineProps): JSX.Element;
|
|
984
|
+
({ data }: TimelineProps): react_jsx_runtime.JSX.Element;
|
|
984
985
|
displayName: string;
|
|
985
986
|
};
|
|
986
987
|
|
|
@@ -1001,7 +1002,7 @@ type InputFieldProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>,
|
|
|
1001
1002
|
control: Control<unknown> | any;
|
|
1002
1003
|
searchOnClick?: () => void;
|
|
1003
1004
|
};
|
|
1004
|
-
declare function ControlledInput({ label, type, registration, onClick, error, onBlur, onChange, inputProps, icon, clearField, name, required, disabled, value, placeholder, defaultValue, onKeyUp, onKeyDown, onClear, hideInput, control, searchOnClick, }: InputFieldProps): JSX.Element;
|
|
1005
|
+
declare function ControlledInput({ label, type, registration, onClick, error, onBlur, onChange, inputProps, icon, clearField, name, required, disabled, value, placeholder, defaultValue, onKeyUp, onKeyDown, onClear, hideInput, control, searchOnClick, }: InputFieldProps): react_jsx_runtime.JSX.Element;
|
|
1005
1006
|
declare namespace ControlledInput {
|
|
1006
1007
|
var displayName: string;
|
|
1007
1008
|
}
|