pge-front-common 14.2.34 → 14.2.36

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/index.d.ts CHANGED
@@ -296,7 +296,12 @@ type OptionsProps$2 = {
296
296
 
297
297
  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;
298
298
 
299
- interface SelectDefaultProps$1 {
299
+ interface ReactSelectMenuPortalProps {
300
+ usarMenuPortal?: boolean;
301
+ zIndexMenuPortal?: number;
302
+ }
303
+
304
+ interface SelectDefaultProps$1 extends ReactSelectMenuPortalProps {
300
305
  name: string;
301
306
  optionsSelect: OptionsProps$1[];
302
307
  value: any;
@@ -316,7 +321,7 @@ type OptionsProps$1 = {
316
321
  value: string;
317
322
  };
318
323
 
319
- declare const BasicSelect: ({ name, optionsSelect, placeholder, isDisabled, label, hasError, handleChange, isRequired, value, isClearable, }: SelectDefaultProps$1) => React$1.JSX.Element;
324
+ declare const BasicSelect: ({ name, optionsSelect, placeholder, isDisabled, label, hasError, handleChange, isRequired, value, isClearable, usarMenuPortal, zIndexMenuPortal, }: SelectDefaultProps$1) => React$1.JSX.Element;
320
325
 
321
326
  interface Props {
322
327
  isOpen: boolean;
@@ -460,10 +465,10 @@ interface TimeInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "ty
460
465
 
461
466
  declare const TimeInput: ({ restrictionMessage, label, onChange, isError, valueTime, disabled, placeholder, required, minutesStep, hoursRange: hoursRangeProp, textoCancelar, textoConfirmar, ...inputProps }: TimeInputProps) => React__default.JSX.Element;
462
467
 
463
- interface SelectDefaultProps {
468
+ interface SelectDefaultProps extends ReactSelectMenuPortalProps {
464
469
  name: string;
465
470
  optionsSelect: OptionsProps[];
466
- value: any;
471
+ value?: any;
467
472
  placeholder?: string;
468
473
  className?: string;
469
474
  label?: string;
@@ -485,7 +490,7 @@ type OptionsProps = {
485
490
  isDisabled?: boolean;
486
491
  };
487
492
 
488
- declare const SelectDefault: ({ name, control, optionsSelect, placeholder, isDisabled, label, hasError, handleChange, isRequired, value, handleInputChange, formatOptionLabel, isClearable, maxMenuHeight, noOptionsMessage, }: SelectDefaultProps) => React$1.JSX.Element;
493
+ declare const SelectDefault: ({ name, control, optionsSelect, placeholder, isDisabled, label, hasError, handleChange, isRequired, value, handleInputChange, formatOptionLabel, isClearable, maxMenuHeight, noOptionsMessage, usarMenuPortal, zIndexMenuPortal, }: SelectDefaultProps) => React$1.JSX.Element;
489
494
 
490
495
  interface ModalProps$1 {
491
496
  isModalOpen: boolean;
@@ -683,6 +688,7 @@ interface TreeSelectProps {
683
688
  display?: "comma" | "chip" | undefined;
684
689
  filter?: boolean | undefined;
685
690
  selectionMode?: "checkbox" | "multiple" | "single";
691
+ showSelectAll?: boolean;
686
692
  }
687
693
  type TreeSelectOptions = {
688
694
  label: string;
@@ -691,7 +697,7 @@ type TreeSelectOptions = {
691
697
  children?: TreeSelectOptions[];
692
698
  };
693
699
 
694
- declare const TreeSelect: ({ label, value, restrictionMessage, onChange, isError, disabled, placeholder, required, display, filter, options, selectionMode, }: TreeSelectProps) => React__default.JSX.Element;
700
+ declare const TreeSelect: ({ label, value, restrictionMessage, onChange, isError, disabled, placeholder, required, display, filter, options, selectionMode, showSelectAll, }: TreeSelectProps) => React__default.JSX.Element;
695
701
 
696
702
  declare const IconDownload: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
697
703