@erpsquad/common 1.10.38 → 1.10.39
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/chunks/{android-12-switch-BbmL-ddJ.esm.js → android-12-switch-B2C7CzcW.esm.js} +5 -3
- package/dist/chunks/{android-12-switch-BbmL-ddJ.esm.js.map → android-12-switch-B2C7CzcW.esm.js.map} +1 -1
- package/dist/chunks/{android-12-switch-Ha1ZSmun.js → android-12-switch-DrJgnO8K.js} +5 -3
- package/dist/chunks/{android-12-switch-Ha1ZSmun.js.map → android-12-switch-DrJgnO8K.js.map} +1 -1
- package/dist/chunks/{appbar-C5gby-J8.esm.js → appbar-DAZcdYan.esm.js} +4 -3
- package/dist/chunks/appbar-DAZcdYan.esm.js.map +1 -0
- package/dist/chunks/{appbar-DbpnfY9k.js → appbar-DHhRhH5G.js} +4 -3
- package/dist/chunks/appbar-DHhRhH5G.js.map +1 -0
- package/dist/chunks/{default-data-i-UwRxj_.js → default-data-BRdH1LtG.js} +3 -3
- package/dist/chunks/{default-data-i-UwRxj_.js.map → default-data-BRdH1LtG.js.map} +1 -1
- package/dist/chunks/{default-data-ByL0Nqy0.esm.js → default-data-CZvRlEo7.esm.js} +3 -3
- package/dist/chunks/{default-data-ByL0Nqy0.esm.js.map → default-data-CZvRlEo7.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-BVbTUx7D.esm.js → fullScreen-BN_wx3wQ.esm.js} +2 -2
- package/dist/chunks/{fullScreen-BVbTUx7D.esm.js.map → fullScreen-BN_wx3wQ.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-DmASy_Tr.js → fullScreen-C7a2t0iI.js} +2 -2
- package/dist/chunks/{fullScreen-DmASy_Tr.js.map → fullScreen-C7a2t0iI.js.map} +1 -1
- package/dist/chunks/{sidebar-tTJhKuBG.js → sidebar-B7h4qdAt.js} +2 -2
- package/dist/chunks/{sidebar-tTJhKuBG.js.map → sidebar-B7h4qdAt.js.map} +1 -1
- package/dist/chunks/{sidebar-B5ZTfQ88.esm.js → sidebar-C8YysLaN.esm.js} +2 -2
- package/dist/chunks/{sidebar-B5ZTfQ88.esm.js.map → sidebar-C8YysLaN.esm.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-lg8H2DEj.esm.js → sidebarScreen-CdP8wYRl.esm.js} +3 -3
- package/dist/chunks/{sidebarScreen-lg8H2DEj.esm.js.map → sidebarScreen-CdP8wYRl.esm.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-CHx5qvGV.js → sidebarScreen-DcLaxKV7.js} +3 -3
- package/dist/chunks/{sidebarScreen-CHx5qvGV.js.map → sidebarScreen-DcLaxKV7.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-DHy6T6L1.js → uom-field-wrapper-8C0zSlM4.js} +4 -4
- package/dist/chunks/{uom-field-wrapper-DHy6T6L1.js.map → uom-field-wrapper-8C0zSlM4.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-8wjDtKnZ.esm.js → uom-field-wrapper-D1bblntX.esm.js} +4 -4
- package/dist/chunks/{uom-field-wrapper-8wjDtKnZ.esm.js.map → uom-field-wrapper-D1bblntX.esm.js.map} +1 -1
- package/dist/components/chat-bot/chat-bot-launcher.d.ts +1 -3
- package/dist/components/index.esm.js +4 -4
- package/dist/components/index.js +4 -4
- package/dist/index.esm.js +7 -7
- package/dist/index.js +7 -7
- package/dist/layout/index.esm.js +2 -2
- package/dist/layout/index.js +2 -2
- package/dist/src/components/chat-bot/chat-bot-launcher.d.ts +1 -3
- package/dist/style.css +79 -35
- package/dist/views/index.esm.js +5 -5
- package/dist/views/index.js +4 -4
- package/package.json +2 -2
- package/dist/chunks/appbar-C5gby-J8.esm.js.map +0 -1
- package/dist/chunks/appbar-DbpnfY9k.js.map +0 -1
|
@@ -5635,7 +5635,7 @@ const DynamicInput = React__default.memo((props) => {
|
|
|
5635
5635
|
minRows: 4,
|
|
5636
5636
|
required: props.formType === "builder" ? false : props.required,
|
|
5637
5637
|
onChange: (e) => {
|
|
5638
|
-
if (props.
|
|
5638
|
+
if (props.onlyNumbers) {
|
|
5639
5639
|
let numericValue = e.target.value.replace(/[^0-9]/g, "");
|
|
5640
5640
|
const maxLen = props.max_length || props.max;
|
|
5641
5641
|
if (maxLen) numericValue = numericValue.slice(0, maxLen);
|
|
@@ -5708,7 +5708,8 @@ DynamicInput.propTypes = {
|
|
|
5708
5708
|
// This should be optional
|
|
5709
5709
|
hidden: PropTypes.bool,
|
|
5710
5710
|
InputProps: PropTypes.object,
|
|
5711
|
-
shouldApplyPrecission: PropTypes.bool
|
|
5711
|
+
shouldApplyPrecission: PropTypes.bool,
|
|
5712
|
+
onlyNumbers: PropTypes.bool
|
|
5712
5713
|
};
|
|
5713
5714
|
DynamicInput.defaultProps = {
|
|
5714
5715
|
onBlur: () => {
|
|
@@ -8239,4 +8240,4 @@ export {
|
|
|
8239
8240
|
default_1$5 as y,
|
|
8240
8241
|
List as z
|
|
8241
8242
|
};
|
|
8242
|
-
//# sourceMappingURL=appbar-
|
|
8243
|
+
//# sourceMappingURL=appbar-DAZcdYan.esm.js.map
|