@oliasoft-open-source/react-ui-library 4.15.7-beta-4 → 4.15.7-beta-5

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.d.ts CHANGED
@@ -502,6 +502,7 @@ declare interface IInputCell extends TCommonCell {
502
502
  warning?: string;
503
503
  disabled?: boolean;
504
504
  maxTooltipWidth?: TStringOrNumber;
505
+ selectOnFocus?: boolean;
505
506
  tooltip?: StringNumberOrNode;
506
507
  }
507
508
 
@@ -528,6 +529,7 @@ export declare interface IInputProps {
528
529
  onFocus?: (evt: FocusEvent_2<HTMLInputElement>) => void;
529
530
  onBlur?: (evt: FocusEvent_2<HTMLInputElement>) => void;
530
531
  onPaste?: default_2.ClipboardEventHandler<HTMLInputElement>;
532
+ selectOnFocus?: boolean;
531
533
  small?: boolean;
532
534
  placeholder?: string | null;
533
535
  tabIndex?: number;
@@ -907,6 +909,7 @@ declare interface INumberInputCell extends TCommonCell {
907
909
  enableCosmeticRounding: boolean;
908
910
  enableDisplayRounding: boolean;
909
911
  roundDisplayValue: (value: TStringOrNumber) => TStringOrNumber;
912
+ selectOnFocus?: boolean;
910
913
  }
911
914
 
912
915
  export declare interface INumberInputProps {
@@ -923,6 +926,7 @@ export declare interface INumberInputProps {
923
926
  onChange?: TChangeEventHandler;
924
927
  onFocus?: (evt: FocusEvent_2<HTMLInputElement>) => void;
925
928
  onBlur?: (evt: FocusEvent_2<HTMLInputElement>) => void;
929
+ selectOnFocus?: boolean;
926
930
  tabIndex?: number;
927
931
  testId?: string;
928
932
  tooltip?: TStringOrNumber | default_2.ReactNode;
@@ -1588,6 +1592,7 @@ export declare interface IUnitInputProps {
1588
1592
  enableCosmeticRounding?: boolean;
1589
1593
  enableDisplayRounding?: boolean;
1590
1594
  roundDisplayValue?: (args: TStringOrNumber) => TStringOrNumber;
1595
+ selectOnFocus?: boolean;
1591
1596
  }
1592
1597
 
1593
1598
  declare interface IUnitTable extends Omit<ITableProps['table'], 'rows'> {
@@ -1669,7 +1674,7 @@ export declare const Modal: ({ children, visible, centered, width, onEnter, onEs
1669
1674
 
1670
1675
  export declare const NativeSelect: ({ disabled, error, warning, tooltip, options, onChange, onFocus, onBlur, right, small, tabIndex, selectedOption, width, groupOrder, testId, isInTable, clearable, placeholder, hasNonExistentValue, maxTooltipWidth, borderRadius, }: INativeSelectProps) => JSX_2.Element;
1671
1676
 
1672
- export declare const NumberInput: ({ name, placeholder, disabled, error, left, small, width, value, onChange, onFocus, onBlur, tabIndex, testId, tooltip, warning, validationCallback, allowEmpty, isInTable, groupOrder, enableCosmeticRounding, enableDisplayRounding, roundDisplayValue, disableInternalErrorValidationMessages, }: INumberInputProps) => JSX_2.Element;
1677
+ export declare const NumberInput: ({ name, placeholder, disabled, error, left, small, width, value, onChange, onFocus, onBlur, selectOnFocus, tabIndex, testId, tooltip, warning, validationCallback, allowEmpty, isInTable, groupOrder, enableCosmeticRounding, enableDisplayRounding, roundDisplayValue, disableInternalErrorValidationMessages, }: INumberInputProps) => JSX_2.Element;
1673
1678
 
1674
1679
  export declare const OptionDropdown: ({ name, label, options, onChange, small, showHeader, maxHeight, }: IOptionDropdownProps) => ReactElement;
1675
1680
 
@@ -1885,7 +1890,7 @@ declare type TUnitTableCellShape = TCellShape | IUnitTableStaticCell | IUnitTabl
1885
1890
 
1886
1891
  declare type UnitContextType = any;
1887
1892
 
1888
- export declare const UnitInput: ({ name, placeholder, disabled, disabledUnit, error, left, small, width, value, unitkey, initUnit, noConversion, onChange, onClick, onFocus, onSwitchUnit, unitTemplate, testId, warning, predefinedOptions, initialPredefinedOption, shouldLinkAutomaticly, selectedPredefinedOptionKey, validationCallback, disabledValidation, allowEmpty, convertBackToStorageUnit, enableCosmeticRounding, enableDisplayRounding, roundDisplayValue, }: IUnitInputProps) => JSX_2.Element;
1893
+ export declare const UnitInput: ({ name, placeholder, disabled, disabledUnit, error, left, small, width, value, unitkey, initUnit, noConversion, onChange, onClick, onFocus, onSwitchUnit, unitTemplate, testId, warning, predefinedOptions, initialPredefinedOption, shouldLinkAutomaticly, selectedPredefinedOptionKey, validationCallback, disabledValidation, allowEmpty, convertBackToStorageUnit, enableCosmeticRounding, enableDisplayRounding, roundDisplayValue, selectOnFocus, }: IUnitInputProps) => JSX_2.Element;
1889
1894
 
1890
1895
  export declare const UnitTable: ({ table, unitConfig, convertBackToStorageUnit, enableCosmeticRounding, enableDisplayRounding, }: IUnitTableProps) => JSX_2.Element;
1891
1896