oolib 2.181.0 → 2.182.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.
|
@@ -32,7 +32,6 @@ var PDFEmbedClass = /** @class */ (function () {
|
|
|
32
32
|
// ? process.env[`REACT_APP_ADOBE_EMBED_API_KEY__${this.theme?.getTenant()}`]
|
|
33
33
|
// : process.env.REACT_APP_ADOBE_EMBED_API_KEY //staging & dev
|
|
34
34
|
};
|
|
35
|
-
console.log({ config: config });
|
|
36
35
|
if (divId) {
|
|
37
36
|
/* Optional only for Light Box embed mode */
|
|
38
37
|
/* Pass the div id in which PDF should be rendered */
|
|
@@ -195,7 +195,9 @@ function TextInput(_a) {
|
|
|
195
195
|
var localize = (0, utilsOolib_1.useLocale)();
|
|
196
196
|
return (react_1.default.createElement("div", { className: className },
|
|
197
197
|
react_1.default.createElement(BlockLabel_1.BlockLabel, __assign({}, (0, _EXPORTS_1.getBlockLabelProps)(props))),
|
|
198
|
-
readOnly ? (
|
|
198
|
+
readOnly ? (type === "url"
|
|
199
|
+
? react_1.default.createElement(OKELink_1.OKELink, { text: value, to: value })
|
|
200
|
+
: react_1.default.createElement(Typo2_1.UI_BODY_SM, null, type === "password" ? "********" : value)) : (react_1.default.createElement(react_1.default.Fragment, null,
|
|
199
201
|
react_1.default.createElement(index_styled_1.InputContainerStyled, { type: type, disabled: disabled, iconAfter: iconAfter, onClick: function () { return inputRef.current.focus(); }, size: size },
|
|
200
202
|
icon && (react_1.default.createElement(DisplayIcon_1.DisplayIcon, { icon: icon, color: disabled ? themes_1.colors.grey40 : themes_1.colors.grey80, size: screenWidth >= (0, mixins_1.getBreakPoint)('md') ? 16 : 18, onClick: !disabled ? iconOnClick || null : undefined, style: { zIndex: 1 } /** so that it stays ahead of the before element inside InputContainerStyled */ })),
|
|
201
203
|
react_1.default.createElement(index_styled_1.InputStyled, { ref: inputRef, className: "UI_BODY_SM_DF", id: id, type: type, name: type, disabled: disabled, placeholder: localize(placeholder), value: value, onChange: handleOnChange, maxLength: maxLength || DEPRECATED_maxNumLimiter, onBlur: validateOnlyOnBlur ? function (e) { return handleValidate(e, onBlur); } : onBlur, size: size, onFocus: onFocus, autoComplete: "off" }),
|