tp-react-elements-dev 1.4.15 → 1.4.16
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/components/Form/FormRender.d.ts +3 -0
- package/dist/index.esm.js +15 -32
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +15 -32
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -52060,14 +52060,11 @@ const SingleSelect = ({ props }) => {
|
|
|
52060
52060
|
}, onBlur: (e) => {
|
|
52061
52061
|
var _a, _b;
|
|
52062
52062
|
((_a = props === null || props === void 0 ? void 0 : props.item) === null || _a === void 0 ? void 0 : _a.onBlurFn) && ((_b = props === null || props === void 0 ? void 0 : props.item) === null || _b === void 0 ? void 0 : _b.onBlurFn(e));
|
|
52063
|
-
}, size: "small", sx: {
|
|
52064
|
-
"& .MuiAutocomplete-input": {
|
|
52063
|
+
}, size: "small", sx: Object.assign({ "& .MuiAutocomplete-input": {
|
|
52065
52064
|
padding: "0px 0px 0px 5px !important",
|
|
52066
|
-
},
|
|
52067
|
-
"& .css-erkti9-MuiFormLabel-root-MuiInputLabel-root,.css-8edmr2-MuiFormLabel-root-MuiInputLabel-root": {
|
|
52065
|
+
}, "& .css-erkti9-MuiFormLabel-root-MuiInputLabel-root,.css-8edmr2-MuiFormLabel-root-MuiInputLabel-root": {
|
|
52068
52066
|
top: "-3px",
|
|
52069
|
-
},
|
|
52070
|
-
}, ListboxProps: {
|
|
52067
|
+
} }, props.item.sx), ListboxProps: {
|
|
52071
52068
|
onScroll: (event) => {
|
|
52072
52069
|
const listboxNode = event.currentTarget;
|
|
52073
52070
|
if (listboxNode.scrollTop + listboxNode.clientHeight ===
|
|
@@ -52321,28 +52318,21 @@ const RenderForm = (props) => {
|
|
|
52321
52318
|
fontFamily: "Roboto-Reg",
|
|
52322
52319
|
border: "none",
|
|
52323
52320
|
},
|
|
52324
|
-
}, sx: {
|
|
52325
|
-
fontFamily: "Roboto-Reg",
|
|
52326
|
-
"& .css-1holvmy,.css-lqj8pz-MuiFormLabel-root-MuiInputLabel-root, .css-kichxs-MuiFormLabel-root-MuiInputLabel-root": {
|
|
52321
|
+
}, sx: Object.assign({ fontFamily: "Roboto-Reg", "& .css-1holvmy,.css-lqj8pz-MuiFormLabel-root-MuiInputLabel-root, .css-kichxs-MuiFormLabel-root-MuiInputLabel-root": {
|
|
52327
52322
|
top: "-10px",
|
|
52328
52323
|
// fontSize:'14px !important'
|
|
52329
|
-
},
|
|
52330
|
-
"& .css-2rul56-MuiFormLabel-root-MuiInputLabel-root": {
|
|
52324
|
+
}, "& .css-2rul56-MuiFormLabel-root-MuiInputLabel-root": {
|
|
52331
52325
|
top: "-10px",
|
|
52332
52326
|
fontFamily: "Roboto-Reg",
|
|
52333
|
-
},
|
|
52334
|
-
"& .css-12ciryo-MuiFormLabel-root-MuiInputLabel-root ": {
|
|
52327
|
+
}, "& .css-12ciryo-MuiFormLabel-root-MuiInputLabel-root ": {
|
|
52335
52328
|
fontFamily: "Roboto-Reg",
|
|
52336
|
-
},
|
|
52337
|
-
"& .css-1gq5vhi-MuiInputBase-root-MuiOutlinedInput-root input ": {
|
|
52329
|
+
}, "& .css-1gq5vhi-MuiInputBase-root-MuiOutlinedInput-root input ": {
|
|
52338
52330
|
outline: "none",
|
|
52339
52331
|
border: "1px solid #ced4da", // Add this line to set border to none
|
|
52340
|
-
},
|
|
52341
|
-
"& .css-1gq5vhi-MuiInputBase-root-MuiOutlinedInput-root input:focus ": {
|
|
52332
|
+
}, "& .css-1gq5vhi-MuiInputBase-root-MuiOutlinedInput-root input:focus ": {
|
|
52342
52333
|
outline: "none",
|
|
52343
52334
|
border: "none", // Set border to none when input is focused
|
|
52344
|
-
},
|
|
52345
|
-
},
|
|
52335
|
+
} }, props.item.sx),
|
|
52346
52336
|
// classes={{ option: { color: "red !important" } }}
|
|
52347
52337
|
value: field.value || "", size: "small", disabled: props.item.disable, onBlur: (e) => {
|
|
52348
52338
|
var _a, _b;
|
|
@@ -52381,28 +52371,21 @@ const RenderForm = (props) => {
|
|
|
52381
52371
|
e.target.value = e.target.value
|
|
52382
52372
|
.replace(/\s/g, "")
|
|
52383
52373
|
.replace(/[^a-zA-Z0-9!@#$%^&*()_+{}\[\]:;<>,.?/~`|\\-]/g, "");
|
|
52384
|
-
}, sx: {
|
|
52385
|
-
fontFamily: "Roboto-Reg",
|
|
52386
|
-
"& .css-1holvmy,.css-lqj8pz-MuiFormLabel-root-MuiInputLabel-root, .css-kichxs-MuiFormLabel-root-MuiInputLabel-root": {
|
|
52374
|
+
}, sx: Object.assign({ fontFamily: "Roboto-Reg", "& .css-1holvmy,.css-lqj8pz-MuiFormLabel-root-MuiInputLabel-root, .css-kichxs-MuiFormLabel-root-MuiInputLabel-root": {
|
|
52387
52375
|
top: "-10px",
|
|
52388
52376
|
// fontSize:'14px !important'
|
|
52389
|
-
},
|
|
52390
|
-
"& .css-2rul56-MuiFormLabel-root-MuiInputLabel-root": {
|
|
52377
|
+
}, "& .css-2rul56-MuiFormLabel-root-MuiInputLabel-root": {
|
|
52391
52378
|
top: "-10px",
|
|
52392
52379
|
fontFamily: "Roboto-Reg",
|
|
52393
|
-
},
|
|
52394
|
-
"& .css-12ciryo-MuiFormLabel-root-MuiInputLabel-root ": {
|
|
52380
|
+
}, "& .css-12ciryo-MuiFormLabel-root-MuiInputLabel-root ": {
|
|
52395
52381
|
fontFamily: "Roboto-Reg",
|
|
52396
|
-
},
|
|
52397
|
-
"& .css-1gq5vhi-MuiInputBase-root-MuiOutlinedInput-root input ": {
|
|
52382
|
+
}, "& .css-1gq5vhi-MuiInputBase-root-MuiOutlinedInput-root input ": {
|
|
52398
52383
|
outline: "none",
|
|
52399
52384
|
border: "1px solid #ced4da", // Add this line to set border to none
|
|
52400
|
-
},
|
|
52401
|
-
"& .css-1gq5vhi-MuiInputBase-root-MuiOutlinedInput-root input:focus ": {
|
|
52385
|
+
}, "& .css-1gq5vhi-MuiInputBase-root-MuiOutlinedInput-root input:focus ": {
|
|
52402
52386
|
outline: "none",
|
|
52403
52387
|
border: "none", // Set border to none when input is focused
|
|
52404
|
-
},
|
|
52405
|
-
},
|
|
52388
|
+
} }, props.item.sx),
|
|
52406
52389
|
// classes={{ option: { color: "red !important" } }}
|
|
52407
52390
|
value: field.value || "", disabled: props.item.disable })), ((_a = props === null || props === void 0 ? void 0 : props.item) === null || _a === void 0 ? void 0 : _a.helperText) && (jsxRuntimeExports.jsxs("span", Object.assign({ style: {
|
|
52408
52391
|
fontFamily: "Roboto-Reg",
|