@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
|
@@ -5653,7 +5653,7 @@ const DynamicInput = React.memo((props) => {
|
|
|
5653
5653
|
minRows: 4,
|
|
5654
5654
|
required: props.formType === "builder" ? false : props.required,
|
|
5655
5655
|
onChange: (e) => {
|
|
5656
|
-
if (props.
|
|
5656
|
+
if (props.onlyNumbers) {
|
|
5657
5657
|
let numericValue = e.target.value.replace(/[^0-9]/g, "");
|
|
5658
5658
|
const maxLen = props.max_length || props.max;
|
|
5659
5659
|
if (maxLen) numericValue = numericValue.slice(0, maxLen);
|
|
@@ -5726,7 +5726,8 @@ DynamicInput.propTypes = {
|
|
|
5726
5726
|
// This should be optional
|
|
5727
5727
|
hidden: identifier.PropTypes.bool,
|
|
5728
5728
|
InputProps: identifier.PropTypes.object,
|
|
5729
|
-
shouldApplyPrecission: identifier.PropTypes.bool
|
|
5729
|
+
shouldApplyPrecission: identifier.PropTypes.bool,
|
|
5730
|
+
onlyNumbers: identifier.PropTypes.bool
|
|
5730
5731
|
};
|
|
5731
5732
|
DynamicInput.defaultProps = {
|
|
5732
5733
|
onBlur: () => {
|
|
@@ -8252,4 +8253,4 @@ exports.resolveComponentProps = resolveComponentProps;
|
|
|
8252
8253
|
exports.useRtl = useRtl;
|
|
8253
8254
|
exports.useSlotProps = useSlotProps;
|
|
8254
8255
|
exports.useTheme = useTheme;
|
|
8255
|
-
//# sourceMappingURL=appbar-
|
|
8256
|
+
//# sourceMappingURL=appbar-DHhRhH5G.js.map
|