intelicoreact 0.2.72 → 0.2.75
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.
|
@@ -604,7 +604,7 @@ function InputMask2() {
|
|
|
604
604
|
'input-mask_value_item--digit': (0, _functions.isDigitMaskChar)(obj.maskChar),
|
|
605
605
|
'input-mask_value_item--letter': (0, _functions.isLetterMaskChar)(obj.maskChar),
|
|
606
606
|
'input-mask_value_item--spec': obj.isSpecialSymbol,
|
|
607
|
-
'input-mask_value_item--hidden':
|
|
607
|
+
'input-mask_value_item--hidden': i < inputValue.length
|
|
608
608
|
}),
|
|
609
609
|
ref: ref
|
|
610
610
|
}, !isFocused && hideMaskOnBlur && getClearInnerValueAsString().length === 0 ? _config.SPACE_CHAR : isSpecialSymbol ? maskChar : char === '' ? getPlaceholderCharByIndex(i) : char);
|
|
@@ -50,7 +50,7 @@ var UserContacts = function UserContacts(props) {
|
|
|
50
50
|
} : _ref$Lng,
|
|
51
51
|
className = _ref.className;
|
|
52
52
|
|
|
53
|
-
var isContact = isDisputeContact || isSalesContact || isAccountingContact;
|
|
53
|
+
var isContact = !!isDisputeContact || !!isSalesContact || !!isAccountingContact;
|
|
54
54
|
var typeContactCount = isSalesContact + isDisputeContact + isAccountingContact;
|
|
55
55
|
var mainRef = (0, _react.useRef)(null);
|
|
56
56
|
var emailRef = (0, _react.useRef)(null);
|
|
@@ -105,13 +105,13 @@ var UserContacts = function UserContacts(props) {
|
|
|
105
105
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
106
106
|
ref: mainRef,
|
|
107
107
|
className: (0, _classnames.default)('j4', RC, className)
|
|
108
|
-
}, email && /*#__PURE__*/_react.default.createElement("a", {
|
|
108
|
+
}, !!email && /*#__PURE__*/_react.default.createElement("a", {
|
|
109
109
|
ref: emailRef,
|
|
110
110
|
href: "mailto:".concat(email.trim()),
|
|
111
111
|
target: "_blank",
|
|
112
112
|
rel: "noreferrer",
|
|
113
113
|
className: (0, _classnames.default)('no-wrap', "".concat(RC, "__email"), (0, _defineProperty2.default)({}, "".concat(RC, "__email_icon-mode"), isUseEmailIcon))
|
|
114
|
-
}, isUseEmailIcon ? EIcon : "".concat(email).concat(phone ? ',' : '')), phone && /*#__PURE__*/_react.default.createElement("a", {
|
|
114
|
+
}, isUseEmailIcon ? EIcon : "".concat(email).concat(phone ? ',' : '')), !!phone && /*#__PURE__*/_react.default.createElement("a", {
|
|
115
115
|
ref: phoneRef,
|
|
116
116
|
href: "tel:+".concat((0, _fieldValueFormatters.formatOnlyNumbers)(phone).trim()),
|
|
117
117
|
target: "_blank",
|