impaktapps-ui-builder 1.0.221 → 1.0.222
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/impaktapps-ui-builder.es.js +5 -3
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.ts +4 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +1 -1
|
@@ -7946,7 +7946,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7946
7946
|
uiSchema.elements = [
|
|
7947
7947
|
getInputField("seperator", "Seperator"),
|
|
7948
7948
|
getInputField("length", "OTP Length"),
|
|
7949
|
-
|
|
7949
|
+
getRadioInputField("masking", "OTP Masking", ["YES", "NO"]),
|
|
7950
7950
|
emptyBox$1("empty1", { xs: 12, sm: 6, md: 4, lg: 3 })
|
|
7951
7951
|
];
|
|
7952
7952
|
break;
|
|
@@ -12962,7 +12962,8 @@ const OTPSchema = {
|
|
|
12962
12962
|
main: {
|
|
12963
12963
|
seperator: "",
|
|
12964
12964
|
length: 4,
|
|
12965
|
-
type: "number"
|
|
12965
|
+
type: "number",
|
|
12966
|
+
masking: true
|
|
12966
12967
|
}
|
|
12967
12968
|
}
|
|
12968
12969
|
};
|
|
@@ -12981,9 +12982,10 @@ const buildOTP_Input = (config2, componentScope2) => {
|
|
|
12981
12982
|
if (config2.toolTip) {
|
|
12982
12983
|
OTP.config.main.toolTip = config2.toolTip;
|
|
12983
12984
|
}
|
|
12985
|
+
OTP.config.main.masking = config2.masking === "YES" ? true : false;
|
|
12984
12986
|
OTP.config.main.type = config2.OTP_Format;
|
|
12985
12987
|
OTP.config.main.seperator = config2.seperator;
|
|
12986
|
-
OTP.config.main.length = config2.length;
|
|
12988
|
+
OTP.config.main.length = +config2.length;
|
|
12987
12989
|
return OTP;
|
|
12988
12990
|
};
|
|
12989
12991
|
let schema = {
|