@oliasoft-open-source/react-ui-library 4.8.0-beta-6 → 4.8.1
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/404.html +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +56 -53
- package/dist/index.js.map +1 -1
- package/dist/storybook/assets/Color-KGDBMAHA-2ftDGfRC.js +1 -0
- package/dist/storybook/assets/DocsRenderer-PKQXORMH-G3VSiFLs.js +1 -0
- package/dist/storybook/assets/{accordion-BiuI_LCA.js → accordion-6ouB0WTt.js} +1 -1
- package/dist/storybook/assets/{accordion.stories-DxcPNOgs.js → accordion.stories-B3eUVB9V.js} +2 -2
- package/dist/storybook/assets/{actions-D-uVCDzk.js → actions-Tr0wIZve.js} +1 -1
- package/dist/storybook/assets/{actions.stories-gKfuiKQy.js → actions.stories-CQK6PyBH.js} +1 -1
- package/dist/storybook/assets/{afe.stories-Be4Zi8Qk.js → afe.stories-CSYzQy-o.js} +2 -2
- package/dist/storybook/assets/{badge.stories-Dkq_XgEW.js → badge.stories-Blb5k20_.js} +1 -1
- package/dist/storybook/assets/{blowout.stories-DHdofVc-.js → blowout.stories-hdxkqScp.js} +1 -1
- package/dist/storybook/assets/{button-DHevvVBE.js → button-CzvLc2io.js} +1 -1
- package/dist/storybook/assets/{button-group-1DEZPmxq.js → button-group-C1PqMW-H.js} +1 -1
- package/dist/storybook/assets/{button-group.stories-C4V1k0z_.js → button-group.stories-QlYbfeJS.js} +1 -1
- package/dist/storybook/assets/{button.stories-DA9DGYD2.js → button.stories-tM18j4A3.js} +2 -2
- package/dist/storybook/assets/{buttons-and-links-CAoQC4F0.js → buttons-and-links-DgWk5FQt.js} +2 -2
- package/dist/storybook/assets/{card.stories-CsTB0DuM.js → card.stories-Bn6LpucB.js} +1 -1
- package/dist/storybook/assets/{casing-loads.stories-C4UBI5Xe.js → casing-loads.stories-CTf1cpS3.js} +2 -2
- package/dist/storybook/assets/{cell.stories-BSxt9Uy7.js → cell.stories-DXApMBee.js} +2 -2
- package/dist/storybook/assets/{check-box-DPLaOkRR.js → check-box-wCvXxtCz.js} +1 -1
- package/dist/storybook/assets/{check-box.stories-DfbWw6mD.js → check-box.stories-Q_WICJ_2.js} +1 -1
- package/dist/storybook/assets/{chunk-HLWAVYOI-DrFFqdeg.js → chunk-HLWAVYOI-CGp4-QUE.js} +1 -1
- package/dist/storybook/assets/color-JX8P2xFz.js +25 -0
- package/dist/storybook/assets/{column.stories-DDTHFELF.js → column.stories-DATtbLrP.js} +1 -1
- package/dist/storybook/assets/{dialog-BelCA1mt.js → dialog-B55T_62Q.js} +1 -1
- package/dist/storybook/assets/{drawer-DOWJp9T4.js → drawer-CNKfMbq9.js} +1 -1
- package/dist/storybook/assets/drawer.stories-BzVj2VTf.js +113 -0
- package/dist/storybook/assets/{empty.stories-DcwF0pkK.js → empty.stories-CVaJlnv1.js} +1 -1
- package/dist/storybook/assets/extends-CF3RwP-h.js +1 -0
- package/dist/storybook/assets/{field-HrLaMLbx.js → field-C5_fLDpy.js} +1 -1
- package/dist/storybook/assets/{field.stories-DUGMwi1O.js → field.stories-DhiTcelS.js} +1 -1
- package/dist/storybook/assets/{file-button.stories-CU2pZcEO.js → file-button.stories-oe6HKMH2.js} +1 -1
- package/dist/storybook/assets/{file-input-X3BnZaHk.js → file-input-CMP44wlr.js} +1 -1
- package/dist/storybook/assets/{file-input.stories-CWD5XYE9.js → file-input.stories-DTRWZyqS.js} +1 -1
- package/dist/storybook/assets/{flex.stories-BhvJpHpN.js → flex.stories-DtDxXdHB.js} +1 -1
- package/dist/storybook/assets/footer.stories-BobRokDb.js +3 -0
- package/dist/storybook/assets/form.stories-BCg9rFVI.js +49 -0
- package/dist/storybook/assets/formation.stories-xm22XGgs.js +74 -0
- package/dist/storybook/assets/{heading-CRNoBc7q.js → heading-NkLgQYoP.js} +1 -1
- package/dist/storybook/assets/{heading.stories-DahFxeiX.js → heading.stories-nI_cFnAN.js} +1 -1
- package/dist/storybook/assets/{help-icon-Buhx5nl6.js → help-icon-41R-Z9N1.js} +1 -1
- package/dist/storybook/assets/{help-icon.stories-DbmZ1fgP.js → help-icon.stories-DBYh0YX7.js} +1 -1
- package/dist/storybook/assets/icon-BP4BO6-k.js +8 -0
- package/dist/storybook/assets/{icon.stories-fnZUR-LK.js → icon.stories-C4pR7xky.js} +1 -1
- package/dist/storybook/assets/iframe-EHZbBy3L.js +2 -0
- package/dist/storybook/assets/{index-DugqEjCI.js → index-Bh4hgpyc.js} +88 -88
- package/dist/storybook/assets/index-D-0J5wOk.js +1 -0
- package/dist/storybook/assets/{index.es-DazXb-ul.js → index.es-D2piFfFj.js} +4 -4
- package/dist/storybook/assets/inheritsLoose-DR8r8Ogv.js +1 -0
- package/dist/storybook/assets/{input-group.stories-Bqx8op1f.js → input-group.stories-M4a8AYtB.js} +3 -3
- package/dist/storybook/assets/{input-validation-f5uEIzl2.js → input-validation-CRY9hASh.js} +2 -2
- package/dist/storybook/assets/{inputs-CeRKE4Lz.js → inputs-PulLFmNE.js} +2 -2
- package/dist/storybook/assets/{label-CqmyC9he.js → label-hiSz3I8H.js} +1 -1
- package/dist/storybook/assets/{label.stories-C0AO5F1a.js → label.stories-Cyv5jBAO.js} +1 -1
- package/dist/storybook/assets/layout-forms-Dhgne9wj.js +16 -0
- package/dist/storybook/assets/{layout-general-GRQFrkfR.js → layout-general-BS3o8j_a.js} +2 -2
- package/dist/storybook/assets/{list-bKpz6I9Q.js → list-DhjHm8bz.js} +1 -1
- package/dist/storybook/assets/{list.stories-Cgmt29Wv.js → list.stories-2F-UkS1E.js} +2 -2
- package/dist/storybook/assets/{list.stories-data-D_Aj3AN4.js → list.stories-data-DqFECKJF.js} +1 -1
- package/dist/storybook/assets/{loader.stories-pS8zRM4u.js → loader.stories-BMe1zhEL.js} +1 -1
- package/dist/storybook/assets/{menu.stories-xWX80Eh2.js → menu.stories-B_1YsebS.js} +2 -2
- package/dist/storybook/assets/{message-Y48EomV-.js → message-DQ3q8XF9.js} +1 -1
- package/dist/storybook/assets/{message.stories-r_UlbshI.js → message.stories-QYFwbrO0.js} +1 -1
- package/dist/storybook/assets/{meta-content-DWZbURV2.js → meta-content-DCllGQX6.js} +1 -1
- package/dist/storybook/assets/{modal.stories-BcqAhYEy.js → modal.stories-PZXXHpu9.js} +2 -2
- package/dist/storybook/assets/{number-input.stories-UJVpFqsh.js → number-input.stories-DqfU8Xdg.js} +7 -7
- package/dist/storybook/assets/{option-dropdown.stories-CIvqMhQ3.js → option-dropdown.stories-ntKLWycS.js} +1 -1
- package/dist/storybook/assets/{padding-and-spacing-D6XbiS3K.js → padding-and-spacing-B4zeG787.js} +2 -2
- package/dist/storybook/assets/{page.stories-DnCh8h8y.js → page.stories-Dp_z8s1a.js} +1 -1
- package/dist/storybook/assets/{pagination-D6pYWeQM.js → pagination-T__Mixkr.js} +1 -1
- package/dist/storybook/assets/{pagination.stories-ItfGvzb-.js → pagination.stories-C_oRnFX_.js} +2 -2
- package/dist/storybook/assets/{pop-confirm.stories-DCpooB2O.js → pop-confirm.stories-D-iQo6s7.js} +1 -1
- package/dist/storybook/assets/{popover-rq33c1W2.js → popover-9ZnEm5Hy.js} +1 -1
- package/dist/storybook/assets/popover.stories-B9slHpqQ.js +10 -0
- package/dist/storybook/assets/{preview-C0zm9b3L.js → preview-D_pdGeyT.js} +2 -2
- package/dist/storybook/assets/preview-_xr6Jbjy.js +2 -0
- package/dist/storybook/assets/projects.stories-CdvyNFKw.js +47 -0
- package/dist/storybook/assets/{radio-button-C4ljBRED.js → radio-button-C3RuBqEf.js} +1 -1
- package/dist/storybook/assets/{radio-button.stories-BzyW2CtK.js → radio-button.stories-CAHs1mr6.js} +1 -1
- package/dist/storybook/assets/react-router-dom-CMITYWBH.js +8 -0
- package/dist/storybook/assets/{reservoirs.stories-FQuUA3DK.js → reservoirs.stories-zzDr9Zir.js} +2 -2
- package/dist/storybook/assets/{rich-text-input.stories-B5srzxDu.js → rich-text-input.stories-be871WZn.js} +3 -3
- package/dist/storybook/assets/{row.stories-C1XgB_82.js → row.stories-DmNKaTP6.js} +2 -2
- package/dist/storybook/assets/{select-V2ZNp3Pv.js → select-BW0IihoR.js} +2 -2
- package/dist/storybook/assets/{select.stories-CV9h5z0E.js → select.stories-CtbKVF6A.js} +2 -2
- package/dist/storybook/assets/{side-bar-CSx5wI-k.js → side-bar-BApSkmiM.js} +1 -1
- package/dist/storybook/assets/{side-bar.stories-M6FsuCrQ.js → side-bar.stories-BuAIJ8NV.js} +1 -1
- package/dist/storybook/assets/{site.stories-ZGohyW6Z.js → site.stories-lIyAWOdt.js} +2 -2
- package/dist/storybook/assets/{slider-C7vnj_3M.js → slider-CBE03NwD.js} +4 -4
- package/dist/storybook/assets/{slider.stories-BzBb3PkP.js → slider.stories-7oMw2PCp.js} +2 -2
- package/dist/storybook/assets/{smart-upload-modal.stories-Dn7dIsu1.js → smart-upload-modal.stories-CdgsGLvm.js} +1 -1
- package/dist/storybook/assets/{spacer.stories-BBTt2LdE.js → spacer.stories-BC7lirqi.js} +1 -1
- package/dist/storybook/assets/{table-iMn5OU9-.js → table-C0QH08M6.js} +1 -1
- package/dist/storybook/assets/{table.stories-data-D52aKMY1.js → table.stories-data-CYppbCAy.js} +1 -1
- package/dist/storybook/assets/{table.stories-CIsR2u2M.js → table.stories-safUrF3C.js} +2 -2
- package/dist/storybook/assets/text-link.stories-BsuVBOWo.js +14 -0
- package/dist/storybook/assets/{title.stories-BhbnN3vD.js → title.stories-By9nz9a2.js} +3 -3
- package/dist/storybook/assets/{toaster-BoBcvmf9.js → toaster-CDSt-Toh.js} +1 -1
- package/dist/storybook/assets/{toaster.stories-HO4VBTy-.js → toaster.stories-D1XTcQR_.js} +1 -1
- package/dist/storybook/assets/{toggle-BbFVf61v.js → toggle-C0zvrIOF.js} +1 -1
- package/dist/storybook/assets/{toggle.stories-qTHFTXxI.js → toggle.stories-DOc7uN93.js} +1 -1
- package/dist/storybook/assets/{tooltip.test-case.stories-CHibN8rC.js → tooltip.test-case.stories-D2SX9mkM.js} +1 -1
- package/dist/storybook/assets/{top-bar-DkXSzzqt.js → top-bar-BQzmL0IU.js} +1 -1
- package/dist/storybook/assets/top-bar.stories-Czza1RvB.js +21 -0
- package/dist/storybook/assets/{top-bar.testcase.stories-DfmrkEpT.js → top-bar.testcase.stories-DpV-QqfZ.js} +1 -1
- package/dist/storybook/assets/{tree.stories-feLUcTtm.js → tree.stories-CsmZwDmr.js} +1 -1
- package/dist/storybook/assets/{unit-input.stories-DCAfSaYS.js → unit-input.stories-DTP4sTwo.js} +1 -1
- package/dist/storybook/assets/unit-table.stories-CnyzGe3D.js +152 -0
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/project.json +1 -1
- package/package.json +1 -1
- package/dist/storybook/assets/Color-KGDBMAHA-7n9iRx7S.js +0 -1
- package/dist/storybook/assets/DocsRenderer-PKQXORMH-C57lSAQP.js +0 -1
- package/dist/storybook/assets/color-Cj3Jrfqu.js +0 -25
- package/dist/storybook/assets/drawer.stories-DcjyDHEs.js +0 -113
- package/dist/storybook/assets/footer.stories-CMQkKB8p.js +0 -3
- package/dist/storybook/assets/form.stories-CX1WxUVL.js +0 -49
- package/dist/storybook/assets/formation.stories-DdQ8gl9A.js +0 -74
- package/dist/storybook/assets/icon-BSFY3vDO.js +0 -8
- package/dist/storybook/assets/iframe-BGmrP0sW.js +0 -2
- package/dist/storybook/assets/index-C2sXcduN.js +0 -1
- package/dist/storybook/assets/inheritsLoose-DP0QEDDI.js +0 -1
- package/dist/storybook/assets/layout-forms-BxYHgSuN.js +0 -16
- package/dist/storybook/assets/popover.stories-B4sQDryP.js +0 -10
- package/dist/storybook/assets/preview-DGngQ_J0.js +0 -2
- package/dist/storybook/assets/projects.stories-Co_WnKSx.js +0 -47
- package/dist/storybook/assets/react-router-dom-Ck2Y_Fzc.js +0 -8
- package/dist/storybook/assets/text-link.stories-BQAkVO-W.js +0 -14
- package/dist/storybook/assets/top-bar.stories-HDmWT243.js +0 -21
- package/dist/storybook/assets/unit-table.stories-M7pzrM4S.js +0 -152
package/dist/404.html
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!doctype html><head><title>React UI Library</title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1" user-scalable="no"><meta name="apple-mobile-web-app-capable" content="yes"><script type="module" crossorigin src="/react-ui-library/assets/index-CnfDrmnZ.js"></script><link rel="stylesheet" crossorigin href="/react-ui-library/assets/index-BpSdrNXy.css"></head><body><div id="content"></div></body>
|
package/dist/index.d.ts
CHANGED
|
@@ -905,7 +905,7 @@ declare interface INumberInputCell extends TCommonCell {
|
|
|
905
905
|
validationCallback?: TEmpty;
|
|
906
906
|
allowEmpty?: boolean;
|
|
907
907
|
enableDisplayRounding: boolean;
|
|
908
|
-
roundDisplayValue: (value:
|
|
908
|
+
roundDisplayValue: (value: TStringOrNumber) => TStringOrNumber;
|
|
909
909
|
}
|
|
910
910
|
|
|
911
911
|
export declare interface INumberInputProps {
|
|
@@ -933,7 +933,7 @@ export declare interface INumberInputProps {
|
|
|
933
933
|
isInTable?: boolean;
|
|
934
934
|
groupOrder?: any;
|
|
935
935
|
enableDisplayRounding?: boolean;
|
|
936
|
-
roundDisplayValue?: (args:
|
|
936
|
+
roundDisplayValue?: (args: TStringOrNumber) => TStringOrNumber;
|
|
937
937
|
disableInternalErrorValidationMessages?: boolean;
|
|
938
938
|
}
|
|
939
939
|
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ import * as PropTypes from "prop-types";
|
|
|
16
16
|
import PropTypes__default from "prop-types";
|
|
17
17
|
import ReactDOM, { createPortal, unstable_batchedUpdates, render } from "react-dom";
|
|
18
18
|
import { noop as noop$3, set, get as get$2, isString as isString$3, isNumber as isNumber$1, isBoolean as isBoolean$2, isFunction as isFunction$3, isEmpty, isArray as isArray$1, toNumber, debounce as debounce$2, isObject as isObject$5, isEqual as isEqual$4 } from "lodash";
|
|
19
|
-
import { roundToFixed, validateNumber, cleanNumStr, unitFromQuantity, isValueWithUnit, withUnit, convertSamePrecision, getValue as getValue$1, getUnit, KNOWN_UNITS, split as split$1, label as label$b, altUnitsList, getUnitsForQuantity, convertAndGetValue, isScientificStringNum, roundToPrecision, roundByMagnitudeToFixed } from "@oliasoft-open-source/units";
|
|
19
|
+
import { roundToFixed, toString as toString$1, validateNumber, cleanNumStr, stripLeadingZeros, unitFromQuantity, isValueWithUnit, withUnit, convertSamePrecision, getValue as getValue$1, getUnit, KNOWN_UNITS, split as split$1, label as label$b, altUnitsList, getUnitsForQuantity, convertAndGetValue, isScientificStringNum, roundToPrecision, roundByMagnitudeToFixed } from "@oliasoft-open-source/units";
|
|
20
20
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
21
21
|
function getDefaultExportFromCjs(x2) {
|
|
22
22
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
@@ -55696,6 +55696,7 @@ const InputCell = ({
|
|
|
55696
55696
|
}
|
|
55697
55697
|
);
|
|
55698
55698
|
};
|
|
55699
|
+
const safeToString = (value) => String(toString$1(value));
|
|
55699
55700
|
const getStringName$1 = (name2) => {
|
|
55700
55701
|
if (!name2) return "";
|
|
55701
55702
|
if (typeof name2 === "string") {
|
|
@@ -55734,55 +55735,49 @@ const NumberInput = ({
|
|
|
55734
55735
|
disableInternalErrorValidationMessages = false
|
|
55735
55736
|
}) => {
|
|
55736
55737
|
const inputRef = useRef(null);
|
|
55737
|
-
const [displayValue, setDisplayValue] = useState(value);
|
|
55738
|
-
const [validationError, setValidationError] = useState(null);
|
|
55738
|
+
const [displayValue, setDisplayValue] = useState(safeToString(value));
|
|
55739
55739
|
const [focus2, setFocus] = useState(false);
|
|
55740
|
+
const [pristine, setPristine] = useState(true);
|
|
55740
55741
|
const stringName = getStringName$1(name2);
|
|
55741
55742
|
const validateInputValue = (value2) => {
|
|
55742
|
-
|
|
55743
|
+
const validation = validateNumber(value2);
|
|
55743
55744
|
if (allowEmpty && value2 === "" || validation.valid) {
|
|
55744
55745
|
return { ...validation, valid: true, errors: void 0 };
|
|
55745
55746
|
} else {
|
|
55746
55747
|
return validation;
|
|
55747
55748
|
}
|
|
55748
55749
|
};
|
|
55750
|
+
const { valid, errors: errors2 } = validateInputValue(displayValue);
|
|
55751
|
+
const firstError = errors2 && errors2.length && !disableInternalErrorValidationMessages ? errors2[0] : null;
|
|
55749
55752
|
useEffect(() => {
|
|
55750
|
-
|
|
55751
|
-
|
|
55752
|
-
|
|
55753
|
-
|
|
55754
|
-
|
|
55755
|
-
} else {
|
|
55756
|
-
const firstError = errors2 && errors2.length ? errors2[0] : null;
|
|
55757
|
-
setValidationError(firstError);
|
|
55753
|
+
setDisplayValue(safeToString(value));
|
|
55754
|
+
setPristine(true);
|
|
55755
|
+
}, [value, enableDisplayRounding]);
|
|
55756
|
+
useEffect(() => {
|
|
55757
|
+
if (!focus2 && !valid) {
|
|
55758
55758
|
validationCallback(stringName, firstError);
|
|
55759
|
+
} else {
|
|
55760
|
+
validationCallback(stringName, null);
|
|
55759
55761
|
}
|
|
55760
|
-
}, [
|
|
55761
|
-
const
|
|
55762
|
-
|
|
55763
|
-
const
|
|
55762
|
+
}, [focus2, valid, error2]);
|
|
55763
|
+
const onChangeValue = (evt) => {
|
|
55764
|
+
var _a2, _b;
|
|
55765
|
+
const value2 = evt instanceof KeyboardEvent ? displayValue : (_a2 = evt == null ? void 0 : evt.target) == null ? void 0 : _a2.value;
|
|
55766
|
+
setPristine(false);
|
|
55764
55767
|
const inputValue = cleanNumStr(
|
|
55765
55768
|
value2.replaceAll(" ", "").replaceAll("|", "")
|
|
55766
55769
|
);
|
|
55767
|
-
|
|
55768
|
-
if (valid) {
|
|
55769
|
-
const
|
|
55770
|
+
setDisplayValue(inputValue);
|
|
55771
|
+
if (((_b = validateInputValue(inputValue)) == null ? void 0 : _b.valid) && !pristine) {
|
|
55772
|
+
const event = {
|
|
55770
55773
|
...evt,
|
|
55771
55774
|
target: {
|
|
55772
55775
|
...evt.target,
|
|
55773
|
-
value: inputValue,
|
|
55776
|
+
value: stripLeadingZeros(safeToString(inputValue)),
|
|
55774
55777
|
name: stringName
|
|
55775
55778
|
}
|
|
55776
55779
|
};
|
|
55777
|
-
onChange(
|
|
55778
|
-
setDisplayValue(inputValue);
|
|
55779
|
-
setValidationError(null);
|
|
55780
|
-
validationCallback(stringName, null);
|
|
55781
|
-
} else {
|
|
55782
|
-
setDisplayValue(inputValue);
|
|
55783
|
-
const firstError = errors2 && errors2.length ? errors2[0] : null;
|
|
55784
|
-
setValidationError(firstError);
|
|
55785
|
-
validationCallback(stringName, firstError);
|
|
55780
|
+
onChange(event);
|
|
55786
55781
|
}
|
|
55787
55782
|
};
|
|
55788
55783
|
useEffect(() => {
|
|
@@ -55790,7 +55785,7 @@ const NumberInput = ({
|
|
|
55790
55785
|
const textInput = inputRef.current;
|
|
55791
55786
|
if (textInput) {
|
|
55792
55787
|
setTimeout(() => {
|
|
55793
|
-
const { length: length2 } =
|
|
55788
|
+
const { length: length2 } = safeToString(displayValue);
|
|
55794
55789
|
textInput.setSelectionRange(length2, length2);
|
|
55795
55790
|
}, 0);
|
|
55796
55791
|
}
|
|
@@ -55804,31 +55799,39 @@ const NumberInput = ({
|
|
|
55804
55799
|
setFocus(false);
|
|
55805
55800
|
onBlur(evt);
|
|
55806
55801
|
};
|
|
55807
|
-
const
|
|
55802
|
+
const shouldDisplayRound = enableDisplayRounding && !focus2 && valid;
|
|
55803
|
+
const valueWithDisplayRounding = shouldDisplayRound ? roundDisplayValue ? safeToString(roundDisplayValue(displayValue)) : roundToFixed(displayValue, 2) : displayValue;
|
|
55808
55804
|
return /* @__PURE__ */ jsx(
|
|
55809
|
-
|
|
55805
|
+
KeyboardEventHandler,
|
|
55810
55806
|
{
|
|
55811
|
-
|
|
55812
|
-
|
|
55813
|
-
|
|
55814
|
-
|
|
55815
|
-
|
|
55816
|
-
|
|
55817
|
-
|
|
55818
|
-
|
|
55819
|
-
|
|
55820
|
-
|
|
55821
|
-
|
|
55822
|
-
|
|
55823
|
-
|
|
55824
|
-
|
|
55825
|
-
|
|
55826
|
-
|
|
55827
|
-
|
|
55828
|
-
|
|
55829
|
-
|
|
55830
|
-
|
|
55831
|
-
|
|
55807
|
+
handleKeys: [EventKey.ENTER],
|
|
55808
|
+
onKeyEvent: (_key, evt) => onChangeValue(evt),
|
|
55809
|
+
children: /* @__PURE__ */ jsx(
|
|
55810
|
+
Input$1,
|
|
55811
|
+
{
|
|
55812
|
+
type: "text",
|
|
55813
|
+
name: stringName,
|
|
55814
|
+
testId,
|
|
55815
|
+
disabled: disabled2,
|
|
55816
|
+
placeholder: placeholder3,
|
|
55817
|
+
value: valueWithDisplayRounding,
|
|
55818
|
+
onChange: onChangeValue,
|
|
55819
|
+
onFocus: onInputFocus,
|
|
55820
|
+
onBlur: onInputBlur,
|
|
55821
|
+
error: firstError || error2,
|
|
55822
|
+
warning: warning2,
|
|
55823
|
+
right: !left2,
|
|
55824
|
+
small: small2,
|
|
55825
|
+
width: width2,
|
|
55826
|
+
isInTable: isInTable2,
|
|
55827
|
+
groupOrder,
|
|
55828
|
+
tabIndex,
|
|
55829
|
+
tooltip: tooltip2,
|
|
55830
|
+
ref: inputRef
|
|
55831
|
+
},
|
|
55832
|
+
stringName
|
|
55833
|
+
)
|
|
55834
|
+
}
|
|
55832
55835
|
);
|
|
55833
55836
|
};
|
|
55834
55837
|
const NumberInputCell = ({ cell: cell2, testId }) => {
|