nexaas-ui-components 1.0.101 → 1.0.103
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 +21 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.cts +60 -46
- package/dist/index.d.ts +60 -46
- package/dist/index.js +22 -13
- 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;
|
|
@@ -394,8 +395,21 @@ interface Props$4 {
|
|
|
394
395
|
selectAllLabel?: string;
|
|
395
396
|
/** Mostra o botão de limpar (X) no chip fechado, sobre o filtro já selecionado. Padrão: true. */
|
|
396
397
|
clearButton?: boolean;
|
|
398
|
+
/**
|
|
399
|
+
* Carrega a lista com o filtro VAZIO, para o dropdown já abrir populado em vez de mostrar
|
|
400
|
+
* apenas o `initialMessage` até o usuário digitar.
|
|
401
|
+
*
|
|
402
|
+
* Por padrão o componente só chama `fetch` quando há algo digitado ou quando `options` já veio
|
|
403
|
+
* preenchido — com `options={[]}` e busca vazia ele nunca buscava nada. Isso é o certo para
|
|
404
|
+
* filtros de base grande (cliente, produto), onde uma busca sem termo traria a base inteira,
|
|
405
|
+
* e errado para listas curtas e fechadas (vendedor, canal), onde o usuário espera ver as
|
|
406
|
+
* opções ao abrir. Daí ser opt-in, e não o padrão.
|
|
407
|
+
*
|
|
408
|
+
* Requer `fetch`. Padrão: false.
|
|
409
|
+
*/
|
|
410
|
+
preloadOptions?: boolean;
|
|
397
411
|
}
|
|
398
|
-
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, }: 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;
|
|
399
413
|
|
|
400
414
|
type InputMoneyProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
|
|
401
415
|
label?: string;
|
|
@@ -412,7 +426,7 @@ type InputMoneyProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>,
|
|
|
412
426
|
isWeightField?: boolean;
|
|
413
427
|
minFractionDigits?: number;
|
|
414
428
|
};
|
|
415
|
-
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;
|
|
416
430
|
declare namespace InputMoney {
|
|
417
431
|
var displayName: string;
|
|
418
432
|
}
|
|
@@ -434,7 +448,7 @@ type InputNumberProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>,
|
|
|
434
448
|
showZero?: boolean;
|
|
435
449
|
maxValue?: number;
|
|
436
450
|
};
|
|
437
|
-
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;
|
|
438
452
|
declare namespace InputNumber {
|
|
439
453
|
var displayName: string;
|
|
440
454
|
}
|
|
@@ -454,7 +468,7 @@ type InputPercentageProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputEleme
|
|
|
454
468
|
minFractionDigits?: number;
|
|
455
469
|
onChangeValue?: (e: any) => void;
|
|
456
470
|
};
|
|
457
|
-
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;
|
|
458
472
|
declare namespace InputPercentage {
|
|
459
473
|
var displayName: string;
|
|
460
474
|
}
|
|
@@ -474,7 +488,7 @@ type MaskedInputProps = {
|
|
|
474
488
|
defaultValue?: any;
|
|
475
489
|
disabled?: boolean;
|
|
476
490
|
};
|
|
477
|
-
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;
|
|
478
492
|
|
|
479
493
|
type ModalProps = {
|
|
480
494
|
open?: boolean;
|
|
@@ -511,14 +525,14 @@ declare const sizes: {
|
|
|
511
525
|
lg: string;
|
|
512
526
|
null: string;
|
|
513
527
|
};
|
|
514
|
-
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;
|
|
515
529
|
|
|
516
530
|
interface Props$3 {
|
|
517
531
|
id: string;
|
|
518
532
|
displayArrow?: boolean;
|
|
519
533
|
openOnClick?: boolean;
|
|
520
534
|
}
|
|
521
|
-
declare const Popover: ({ id, displayArrow, openOnClick, }: Props$3) =>
|
|
535
|
+
declare const Popover: ({ id, displayArrow, openOnClick, }: Props$3) => react_jsx_runtime.JSX.Element;
|
|
522
536
|
|
|
523
537
|
type OptionType$3 = {
|
|
524
538
|
value: number | string;
|
|
@@ -554,7 +568,7 @@ type SelectFieldProps$3 = {
|
|
|
554
568
|
menuIsEverOpen?: boolean;
|
|
555
569
|
showArrow?: boolean;
|
|
556
570
|
};
|
|
557
|
-
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;
|
|
558
572
|
|
|
559
573
|
type FieldWrapperProps = {
|
|
560
574
|
label?: string;
|
|
@@ -608,7 +622,7 @@ interface Props$2 {
|
|
|
608
622
|
value?: string | number;
|
|
609
623
|
onChange?: (value: string | number) => void;
|
|
610
624
|
}
|
|
611
|
-
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;
|
|
612
626
|
|
|
613
627
|
type ToggleProps = {
|
|
614
628
|
name: string;
|
|
@@ -617,13 +631,13 @@ type ToggleProps = {
|
|
|
617
631
|
control: Control<any>;
|
|
618
632
|
disabled?: boolean;
|
|
619
633
|
};
|
|
620
|
-
declare const Toggle: ({ name, label, subLabel, control, disabled, }: ToggleProps) =>
|
|
634
|
+
declare const Toggle: ({ name, label, subLabel, control, disabled, }: ToggleProps) => react_jsx_runtime.JSX.Element;
|
|
621
635
|
|
|
622
636
|
interface Props$1<TData> {
|
|
623
637
|
pageSizeOptions?: number[];
|
|
624
638
|
table: Table$1<TData>;
|
|
625
639
|
}
|
|
626
|
-
declare function PaginationSelect<TData>({ pageSizeOptions, table, }: Props$1<TData>):
|
|
640
|
+
declare function PaginationSelect<TData>({ pageSizeOptions, table, }: Props$1<TData>): react_jsx_runtime.JSX.Element;
|
|
627
641
|
|
|
628
642
|
type CustomTData = {
|
|
629
643
|
_destroy?: string;
|
|
@@ -675,7 +689,7 @@ interface DataTableProps<TData extends CustomTData, TValue> {
|
|
|
675
689
|
pageSizeOptions?: number[];
|
|
676
690
|
onFinishFetch?: () => void;
|
|
677
691
|
}
|
|
678
|
-
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;
|
|
679
693
|
|
|
680
694
|
declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
|
|
681
695
|
declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -698,26 +712,26 @@ interface DataTablePaginationProps<TData> {
|
|
|
698
712
|
paginationScroll?: number;
|
|
699
713
|
pageSizeOptions?: number[];
|
|
700
714
|
}
|
|
701
|
-
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;
|
|
702
716
|
|
|
703
717
|
interface Props {
|
|
704
718
|
title: string;
|
|
705
719
|
children: ReactNode;
|
|
706
720
|
open: boolean;
|
|
707
721
|
}
|
|
708
|
-
declare const Accordion: ({ title, children, open }: Props) =>
|
|
722
|
+
declare const Accordion: ({ title, children, open }: Props) => react_jsx_runtime.JSX.Element;
|
|
709
723
|
|
|
710
724
|
declare function CopyPopover({ children, valueToCopy }: {
|
|
711
725
|
children: any;
|
|
712
726
|
valueToCopy: any;
|
|
713
|
-
}):
|
|
727
|
+
}): react_jsx_runtime.JSX.Element;
|
|
714
728
|
|
|
715
729
|
type MenuProps = {
|
|
716
730
|
triggerElement?: ReactNode;
|
|
717
731
|
children?: ReactNode;
|
|
718
732
|
className?: string;
|
|
719
733
|
};
|
|
720
|
-
declare const Menu: ({ triggerElement, children, className }: MenuProps) =>
|
|
734
|
+
declare const Menu: ({ triggerElement, children, className }: MenuProps) => react_jsx_runtime.JSX.Element;
|
|
721
735
|
|
|
722
736
|
type ItemProps = {
|
|
723
737
|
index?: number;
|
|
@@ -725,14 +739,14 @@ type ItemProps = {
|
|
|
725
739
|
onClick?: (event: any) => void;
|
|
726
740
|
children?: ReactNode;
|
|
727
741
|
};
|
|
728
|
-
declare const Item: ({ index, isActive, onClick, children }: ItemProps) =>
|
|
742
|
+
declare const Item: ({ index, isActive, onClick, children }: ItemProps) => react_jsx_runtime.JSX.Element;
|
|
729
743
|
|
|
730
744
|
type EditableTextProps$2 = {
|
|
731
745
|
children?: ReactNode;
|
|
732
746
|
button?: ReactNode;
|
|
733
747
|
onClose?: Function;
|
|
734
748
|
};
|
|
735
|
-
declare const EditableButton: ({ children, button, onClose, }: EditableTextProps$2) =>
|
|
749
|
+
declare const EditableButton: ({ children, button, onClose, }: EditableTextProps$2) => react_jsx_runtime.JSX.Element;
|
|
736
750
|
|
|
737
751
|
type EditableTextProps$1 = {
|
|
738
752
|
control?: any;
|
|
@@ -744,7 +758,7 @@ type EditableTextProps$1 = {
|
|
|
744
758
|
hideEditIcon?: boolean;
|
|
745
759
|
truncate?: boolean;
|
|
746
760
|
};
|
|
747
|
-
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;
|
|
748
762
|
|
|
749
763
|
type EditableTextProps = {
|
|
750
764
|
control?: any;
|
|
@@ -757,7 +771,7 @@ type EditableTextProps = {
|
|
|
757
771
|
showInputSeach?: boolean;
|
|
758
772
|
onChangeValue?: (value: any) => void;
|
|
759
773
|
};
|
|
760
|
-
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;
|
|
761
775
|
|
|
762
776
|
type FileUploadProps = {
|
|
763
777
|
icon?: "file" | "image";
|
|
@@ -772,12 +786,12 @@ type FileUploadProps = {
|
|
|
772
786
|
name?: string;
|
|
773
787
|
limitMessage?: string;
|
|
774
788
|
};
|
|
775
|
-
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;
|
|
776
790
|
|
|
777
791
|
declare function InfoIcon({ content, id, }: {
|
|
778
792
|
content?: string;
|
|
779
793
|
id?: string;
|
|
780
|
-
}):
|
|
794
|
+
}): react_jsx_runtime.JSX.Element;
|
|
781
795
|
|
|
782
796
|
type OptionType$2 = {
|
|
783
797
|
value: number | string;
|
|
@@ -794,7 +808,7 @@ interface SelectFieldProps$2 {
|
|
|
794
808
|
error?: Merge<FieldError, FieldErrorsImpl<any>>;
|
|
795
809
|
disabled?: boolean;
|
|
796
810
|
}
|
|
797
|
-
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;
|
|
798
812
|
|
|
799
813
|
type OptionType$1 = {
|
|
800
814
|
value: number | string;
|
|
@@ -812,10 +826,10 @@ interface SelectFieldProps$1 {
|
|
|
812
826
|
blockSpaces?: boolean;
|
|
813
827
|
}
|
|
814
828
|
declare const InputTag: {
|
|
815
|
-
({ 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;
|
|
816
830
|
displayName: string;
|
|
817
831
|
};
|
|
818
|
-
declare const ValueContainer: ({ children, ...props }: ValueContainerProps) =>
|
|
832
|
+
declare const ValueContainer: ({ children, ...props }: ValueContainerProps) => react_jsx_runtime.JSX.Element;
|
|
819
833
|
|
|
820
834
|
type OptionType = {
|
|
821
835
|
value: number | string;
|
|
@@ -837,14 +851,14 @@ interface SelectFieldProps {
|
|
|
837
851
|
debounce?: number;
|
|
838
852
|
}
|
|
839
853
|
declare const MultiSelectBottom: {
|
|
840
|
-
({ 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;
|
|
841
855
|
displayName: string;
|
|
842
856
|
};
|
|
843
857
|
|
|
844
858
|
declare function PageBox(props: {
|
|
845
859
|
title?: string;
|
|
846
860
|
children?: React__default.ReactNode;
|
|
847
|
-
}):
|
|
861
|
+
}): react_jsx_runtime.JSX.Element;
|
|
848
862
|
|
|
849
863
|
type PageHeaderProps = {
|
|
850
864
|
title: JSX.Element | string;
|
|
@@ -855,14 +869,14 @@ type PageHeaderProps = {
|
|
|
855
869
|
children?: JSX.Element;
|
|
856
870
|
description?: JSX.Element | string;
|
|
857
871
|
};
|
|
858
|
-
declare const PageHeader: ({ title, breadcrumbs, children, description, }: PageHeaderProps) => JSX.Element;
|
|
872
|
+
declare const PageHeader: ({ title, breadcrumbs, children, description, }: PageHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
859
873
|
|
|
860
874
|
type ProgressBarProps = {
|
|
861
875
|
percentage: number;
|
|
862
876
|
variant: "primary" | "success" | "danger" | "info";
|
|
863
877
|
status: string;
|
|
864
878
|
};
|
|
865
|
-
declare const ProgressBar: ({ percentage, variant, status, }: ProgressBarProps) =>
|
|
879
|
+
declare const ProgressBar: ({ percentage, variant, status, }: ProgressBarProps) => react_jsx_runtime.JSX.Element;
|
|
866
880
|
|
|
867
881
|
type TabsProps = {
|
|
868
882
|
tabs: {
|
|
@@ -874,22 +888,22 @@ type TabsProps = {
|
|
|
874
888
|
}[];
|
|
875
889
|
onClick?: (current: any) => void;
|
|
876
890
|
};
|
|
877
|
-
declare function SimpleTab({ tabs, onClick }: TabsProps): JSX.Element;
|
|
891
|
+
declare function SimpleTab({ tabs, onClick }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
878
892
|
|
|
879
893
|
declare const SkeletonDetails: ({ loading, ...props }: {
|
|
880
894
|
[x: string]: any;
|
|
881
895
|
loading: any;
|
|
882
|
-
}) =>
|
|
896
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
883
897
|
|
|
884
898
|
declare const SkeletonList: ({ loading, ...props }: {
|
|
885
899
|
[x: string]: any;
|
|
886
900
|
loading: any;
|
|
887
|
-
}) =>
|
|
901
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
888
902
|
|
|
889
903
|
declare const SkeletonRegister: ({ loading, ...props }: {
|
|
890
904
|
[x: string]: any;
|
|
891
905
|
loading: any;
|
|
892
|
-
}) =>
|
|
906
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
893
907
|
|
|
894
908
|
type StatusBallProps = {
|
|
895
909
|
label?: string;
|
|
@@ -918,7 +932,7 @@ declare const variants: {
|
|
|
918
932
|
big: string;
|
|
919
933
|
};
|
|
920
934
|
};
|
|
921
|
-
declare const StatusBall: ({ label, variant, labelPosition, }: StatusBallProps) =>
|
|
935
|
+
declare const StatusBall: ({ label, variant, labelPosition, }: StatusBallProps) => react_jsx_runtime.JSX.Element;
|
|
922
936
|
|
|
923
937
|
type tab = {
|
|
924
938
|
key: string;
|
|
@@ -942,7 +956,7 @@ type TabProps = {
|
|
|
942
956
|
showNextStep?: boolean;
|
|
943
957
|
};
|
|
944
958
|
declare const Tabs: {
|
|
945
|
-
({ 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;
|
|
946
960
|
displayName: string;
|
|
947
961
|
};
|
|
948
962
|
|
|
@@ -952,7 +966,7 @@ type TextAreaProps = DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElemen
|
|
|
952
966
|
error?: FieldError;
|
|
953
967
|
inputProps?: any;
|
|
954
968
|
};
|
|
955
|
-
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;
|
|
956
970
|
|
|
957
971
|
type TimelineProps = {
|
|
958
972
|
data: {
|
|
@@ -967,7 +981,7 @@ type TimelineProps = {
|
|
|
967
981
|
};
|
|
968
982
|
declare const translateVariant: (variant: any) => "gray" | "success" | "warning" | "info" | "dangerous";
|
|
969
983
|
declare const Timeline: {
|
|
970
|
-
({ data }: TimelineProps): JSX.Element;
|
|
984
|
+
({ data }: TimelineProps): react_jsx_runtime.JSX.Element;
|
|
971
985
|
displayName: string;
|
|
972
986
|
};
|
|
973
987
|
|
|
@@ -988,7 +1002,7 @@ type InputFieldProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>,
|
|
|
988
1002
|
control: Control<unknown> | any;
|
|
989
1003
|
searchOnClick?: () => void;
|
|
990
1004
|
};
|
|
991
|
-
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;
|
|
992
1006
|
declare namespace ControlledInput {
|
|
993
1007
|
var displayName: string;
|
|
994
1008
|
}
|