@gnwebsoft/ui 2.18.33 → 2.18.34
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/{chunk-MRZZQRKX.mjs → chunk-KTFNE7FP.mjs} +47 -21
- package/dist/{chunk-4E6AXVK7.js → chunk-TYB6OIU3.js} +39 -13
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/wrappers/index.d.mts +2 -0
- package/dist/wrappers/index.d.ts +2 -0
- package/dist/wrappers/index.js +2 -2
- package/dist/wrappers/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -455,12 +455,12 @@ var Component4 = function TextFieldElement(props) {
|
|
|
455
455
|
variant: variant ? variant : "outlined",
|
|
456
456
|
size: "small",
|
|
457
457
|
sx: {
|
|
458
|
-
...sx,
|
|
459
458
|
"& .MuiInputLabel-asterisk": { color: "red" },
|
|
460
459
|
"& .MuiInputBase-input": {
|
|
461
460
|
cursor: disabled ? "not-allowed" : "default"
|
|
462
461
|
},
|
|
463
|
-
bgcolor: disabled ? theme.palette.action.disabledBackground : "transparent"
|
|
462
|
+
bgcolor: disabled ? theme.palette.action.disabledBackground : "transparent",
|
|
463
|
+
...sx
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
466
|
);
|
|
@@ -582,7 +582,7 @@ import {
|
|
|
582
582
|
useState as useState2
|
|
583
583
|
} from "react";
|
|
584
584
|
import { useController as useController6 } from "react-hook-form";
|
|
585
|
-
import { CircularProgress, Grid2 as Grid26 } from "@mui/material";
|
|
585
|
+
import { CircularProgress, Grid2 as Grid26, useTheme as useTheme3 } from "@mui/material";
|
|
586
586
|
import { jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
587
587
|
var Component6 = function AsyncSelectElement(props) {
|
|
588
588
|
const {
|
|
@@ -606,6 +606,7 @@ var Component6 = function AsyncSelectElement(props) {
|
|
|
606
606
|
name,
|
|
607
607
|
control
|
|
608
608
|
});
|
|
609
|
+
const theme = useTheme3();
|
|
609
610
|
const [loading, setLoading] = useState2(false);
|
|
610
611
|
const [selectedOption, setSelectedOption] = useState2(null);
|
|
611
612
|
const [inputValue, setInputValue] = useState2("");
|
|
@@ -753,10 +754,11 @@ var Component6 = function AsyncSelectElement(props) {
|
|
|
753
754
|
},
|
|
754
755
|
variant: variant ? variant : "outlined",
|
|
755
756
|
sx: {
|
|
756
|
-
...sx,
|
|
757
757
|
"& .MuiInputBase-input": {
|
|
758
758
|
cursor: disabled ? "not-allowed" : "default"
|
|
759
|
-
}
|
|
759
|
+
},
|
|
760
|
+
bgcolor: disabled ? theme.palette.action.disabledBackground : "transparent",
|
|
761
|
+
...sx
|
|
760
762
|
}
|
|
761
763
|
}
|
|
762
764
|
),
|
|
@@ -794,7 +796,8 @@ import {
|
|
|
794
796
|
Autocomplete as Autocomplete2,
|
|
795
797
|
CircularProgress as CircularProgress2,
|
|
796
798
|
Grid2 as Grid27,
|
|
797
|
-
TextField as TextField4
|
|
799
|
+
TextField as TextField4,
|
|
800
|
+
useTheme as useTheme4
|
|
798
801
|
} from "@mui/material";
|
|
799
802
|
import { useController as useController7 } from "react-hook-form";
|
|
800
803
|
import match from "autosuggest-highlight/match";
|
|
@@ -822,6 +825,7 @@ var Component7 = function AsyncSelectMultiElement(props) {
|
|
|
822
825
|
name,
|
|
823
826
|
control
|
|
824
827
|
});
|
|
828
|
+
const theme = useTheme4();
|
|
825
829
|
const multiSelectRef = useRef2(null);
|
|
826
830
|
const [selectedOptions, setSelectedOptions] = useState3([]);
|
|
827
831
|
const [inputValue, setInputValue] = useState3("");
|
|
@@ -946,10 +950,11 @@ var Component7 = function AsyncSelectMultiElement(props) {
|
|
|
946
950
|
},
|
|
947
951
|
variant: variant ? variant : "outlined",
|
|
948
952
|
sx: {
|
|
949
|
-
...sx,
|
|
950
953
|
"& .MuiInputBase-input": {
|
|
951
954
|
cursor: disabled ? "not-allowed" : "default"
|
|
952
|
-
}
|
|
955
|
+
},
|
|
956
|
+
bgcolor: disabled ? theme.palette.action.disabledBackground : "transparent",
|
|
957
|
+
...sx
|
|
953
958
|
}
|
|
954
959
|
}
|
|
955
960
|
),
|
|
@@ -989,7 +994,7 @@ import {
|
|
|
989
994
|
Autocomplete as Autocomplete3,
|
|
990
995
|
Grid2 as Grid28,
|
|
991
996
|
TextField as TextField5,
|
|
992
|
-
useTheme as
|
|
997
|
+
useTheme as useTheme5
|
|
993
998
|
} from "@mui/material";
|
|
994
999
|
import {
|
|
995
1000
|
useController as useController8
|
|
@@ -1010,6 +1015,7 @@ var Component8 = function SelectElement(props) {
|
|
|
1010
1015
|
label,
|
|
1011
1016
|
variant,
|
|
1012
1017
|
sx,
|
|
1018
|
+
isEdit = false,
|
|
1013
1019
|
...rest
|
|
1014
1020
|
} = props;
|
|
1015
1021
|
const {
|
|
@@ -1019,12 +1025,16 @@ var Component8 = function SelectElement(props) {
|
|
|
1019
1025
|
name,
|
|
1020
1026
|
control
|
|
1021
1027
|
});
|
|
1022
|
-
const theme =
|
|
1028
|
+
const theme = useTheme5();
|
|
1023
1029
|
const [hasAutoSelected, setHasAutoSelected] = useState4(false);
|
|
1024
1030
|
useEffect4(() => {
|
|
1025
|
-
if (
|
|
1026
|
-
|
|
1027
|
-
|
|
1031
|
+
if (isEdit) {
|
|
1032
|
+
return;
|
|
1033
|
+
} else {
|
|
1034
|
+
if (options.length === 1 && field.value == null && !hasAutoSelected) {
|
|
1035
|
+
field.onChange(options[0].Value);
|
|
1036
|
+
setHasAutoSelected(true);
|
|
1037
|
+
}
|
|
1028
1038
|
}
|
|
1029
1039
|
}, [options, field.value, field.onChange, hasAutoSelected]);
|
|
1030
1040
|
return /* @__PURE__ */ jsx8(
|
|
@@ -1068,11 +1078,11 @@ var Component8 = function SelectElement(props) {
|
|
|
1068
1078
|
label,
|
|
1069
1079
|
variant: variant ? variant : "outlined",
|
|
1070
1080
|
sx: {
|
|
1071
|
-
...sx,
|
|
1072
1081
|
"& .MuiInputBase-input": {
|
|
1073
1082
|
cursor: disabled ? "not-allowed" : "default"
|
|
1074
1083
|
},
|
|
1075
|
-
bgcolor: disabled ? theme.palette.action.disabledBackground : "transparent"
|
|
1084
|
+
bgcolor: disabled ? theme.palette.action.disabledBackground : "transparent",
|
|
1085
|
+
...sx
|
|
1076
1086
|
}
|
|
1077
1087
|
}
|
|
1078
1088
|
)
|
|
@@ -1196,9 +1206,10 @@ var SelectMultiElement_default = SelectMultiElement2;
|
|
|
1196
1206
|
import {
|
|
1197
1207
|
Autocomplete as Autocomplete5,
|
|
1198
1208
|
Grid2 as Grid210,
|
|
1199
|
-
TextField as TextField7
|
|
1209
|
+
TextField as TextField7,
|
|
1210
|
+
useTheme as useTheme6
|
|
1200
1211
|
} from "@mui/material";
|
|
1201
|
-
import { useEffect as useEffect5, useRef as useRef3 } from "react";
|
|
1212
|
+
import { useEffect as useEffect5, useRef as useRef3, useState as useState6 } from "react";
|
|
1202
1213
|
import {
|
|
1203
1214
|
useController as useController10
|
|
1204
1215
|
} from "react-hook-form";
|
|
@@ -1219,6 +1230,7 @@ var Component10 = function SelectCascadeElement(props) {
|
|
|
1219
1230
|
initialValue,
|
|
1220
1231
|
variant,
|
|
1221
1232
|
sx,
|
|
1233
|
+
isEdit = false,
|
|
1222
1234
|
...rest
|
|
1223
1235
|
} = props;
|
|
1224
1236
|
const {
|
|
@@ -1228,6 +1240,7 @@ var Component10 = function SelectCascadeElement(props) {
|
|
|
1228
1240
|
name,
|
|
1229
1241
|
control
|
|
1230
1242
|
});
|
|
1243
|
+
const theme = useTheme6();
|
|
1231
1244
|
const { field: dependentField } = useController10({
|
|
1232
1245
|
name: dependsOn,
|
|
1233
1246
|
control
|
|
@@ -1243,6 +1256,18 @@ var Component10 = function SelectCascadeElement(props) {
|
|
|
1243
1256
|
field.onChange(initialValue);
|
|
1244
1257
|
}
|
|
1245
1258
|
}, [initialValue]);
|
|
1259
|
+
const [hasAutoSelected, setHasAutoSelected] = useState6(false);
|
|
1260
|
+
useEffect5(() => {
|
|
1261
|
+
if (isEdit && !disabled && options.length === 1 && field.value == null && !hasAutoSelected) {
|
|
1262
|
+
field.onChange(options[0].Value);
|
|
1263
|
+
setHasAutoSelected(true);
|
|
1264
|
+
} else {
|
|
1265
|
+
if (options.length === 1 && field.value == null && !hasAutoSelected) {
|
|
1266
|
+
field.onChange(options[0].Value);
|
|
1267
|
+
setHasAutoSelected(true);
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
}, [options, field.value, field.onChange, hasAutoSelected, isEdit]);
|
|
1246
1271
|
return /* @__PURE__ */ jsx10(
|
|
1247
1272
|
Autocomplete5,
|
|
1248
1273
|
{
|
|
@@ -1281,10 +1306,11 @@ var Component10 = function SelectCascadeElement(props) {
|
|
|
1281
1306
|
label,
|
|
1282
1307
|
variant: variant ? variant : "outlined",
|
|
1283
1308
|
sx: {
|
|
1284
|
-
...sx,
|
|
1285
1309
|
"& .MuiInputBase-input": {
|
|
1286
1310
|
cursor: disabled ? "not-allowed" : "default"
|
|
1287
|
-
}
|
|
1311
|
+
},
|
|
1312
|
+
bgcolor: disabled ? theme.palette.action.disabledBackground : "transparent",
|
|
1313
|
+
...sx
|
|
1288
1314
|
}
|
|
1289
1315
|
}
|
|
1290
1316
|
)
|
|
@@ -1379,7 +1405,7 @@ import {
|
|
|
1379
1405
|
FormHelperText as FormHelperText3,
|
|
1380
1406
|
Grid2 as Grid212
|
|
1381
1407
|
} from "@mui/material";
|
|
1382
|
-
import { useEffect as useEffect6, useState as
|
|
1408
|
+
import { useEffect as useEffect6, useState as useState7 } from "react";
|
|
1383
1409
|
import {
|
|
1384
1410
|
useController as useController12
|
|
1385
1411
|
} from "react-hook-form";
|
|
@@ -1394,7 +1420,7 @@ var Component12 = function CheckboxGroup(props) {
|
|
|
1394
1420
|
control,
|
|
1395
1421
|
disabled: rest.disabled
|
|
1396
1422
|
});
|
|
1397
|
-
const [selectedValues, setSelectedValues] =
|
|
1423
|
+
const [selectedValues, setSelectedValues] = useState7(
|
|
1398
1424
|
options.filter((c) => field.value?.includes(c.Value)).map((c) => c.Value) || []
|
|
1399
1425
|
);
|
|
1400
1426
|
useEffect6(() => {
|
|
@@ -455,12 +455,12 @@ var Component4 = function TextFieldElement(props) {
|
|
|
455
455
|
variant: variant ? variant : "outlined",
|
|
456
456
|
size: "small",
|
|
457
457
|
sx: {
|
|
458
|
-
...sx,
|
|
459
458
|
"& .MuiInputLabel-asterisk": { color: "red" },
|
|
460
459
|
"& .MuiInputBase-input": {
|
|
461
460
|
cursor: disabled ? "not-allowed" : "default"
|
|
462
461
|
},
|
|
463
|
-
bgcolor: disabled ? theme.palette.action.disabledBackground : "transparent"
|
|
462
|
+
bgcolor: disabled ? theme.palette.action.disabledBackground : "transparent",
|
|
463
|
+
...sx
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
466
|
);
|
|
@@ -606,6 +606,7 @@ var Component6 = function AsyncSelectElement(props) {
|
|
|
606
606
|
name,
|
|
607
607
|
control
|
|
608
608
|
});
|
|
609
|
+
const theme = _material.useTheme.call(void 0, );
|
|
609
610
|
const [loading, setLoading] = _react.useState.call(void 0, false);
|
|
610
611
|
const [selectedOption, setSelectedOption] = _react.useState.call(void 0, null);
|
|
611
612
|
const [inputValue, setInputValue] = _react.useState.call(void 0, "");
|
|
@@ -753,10 +754,11 @@ var Component6 = function AsyncSelectElement(props) {
|
|
|
753
754
|
},
|
|
754
755
|
variant: variant ? variant : "outlined",
|
|
755
756
|
sx: {
|
|
756
|
-
...sx,
|
|
757
757
|
"& .MuiInputBase-input": {
|
|
758
758
|
cursor: disabled ? "not-allowed" : "default"
|
|
759
|
-
}
|
|
759
|
+
},
|
|
760
|
+
bgcolor: disabled ? theme.palette.action.disabledBackground : "transparent",
|
|
761
|
+
...sx
|
|
760
762
|
}
|
|
761
763
|
}
|
|
762
764
|
),
|
|
@@ -797,6 +799,7 @@ var _lodash = require('lodash'); var _lodash2 = _interopRequireDefault(_lodash);
|
|
|
797
799
|
|
|
798
800
|
|
|
799
801
|
|
|
802
|
+
|
|
800
803
|
var _match = require('autosuggest-highlight/match'); var _match2 = _interopRequireDefault(_match);
|
|
801
804
|
var _parse = require('autosuggest-highlight/parse'); var _parse2 = _interopRequireDefault(_parse);
|
|
802
805
|
|
|
@@ -822,6 +825,7 @@ var Component7 = function AsyncSelectMultiElement(props) {
|
|
|
822
825
|
name,
|
|
823
826
|
control
|
|
824
827
|
});
|
|
828
|
+
const theme = _material.useTheme.call(void 0, );
|
|
825
829
|
const multiSelectRef = _react.useRef.call(void 0, null);
|
|
826
830
|
const [selectedOptions, setSelectedOptions] = _react.useState.call(void 0, []);
|
|
827
831
|
const [inputValue, setInputValue] = _react.useState.call(void 0, "");
|
|
@@ -946,10 +950,11 @@ var Component7 = function AsyncSelectMultiElement(props) {
|
|
|
946
950
|
},
|
|
947
951
|
variant: variant ? variant : "outlined",
|
|
948
952
|
sx: {
|
|
949
|
-
...sx,
|
|
950
953
|
"& .MuiInputBase-input": {
|
|
951
954
|
cursor: disabled ? "not-allowed" : "default"
|
|
952
|
-
}
|
|
955
|
+
},
|
|
956
|
+
bgcolor: disabled ? theme.palette.action.disabledBackground : "transparent",
|
|
957
|
+
...sx
|
|
953
958
|
}
|
|
954
959
|
}
|
|
955
960
|
),
|
|
@@ -1010,6 +1015,7 @@ var Component8 = function SelectElement(props) {
|
|
|
1010
1015
|
label,
|
|
1011
1016
|
variant,
|
|
1012
1017
|
sx,
|
|
1018
|
+
isEdit = false,
|
|
1013
1019
|
...rest
|
|
1014
1020
|
} = props;
|
|
1015
1021
|
const {
|
|
@@ -1022,9 +1028,13 @@ var Component8 = function SelectElement(props) {
|
|
|
1022
1028
|
const theme = _material.useTheme.call(void 0, );
|
|
1023
1029
|
const [hasAutoSelected, setHasAutoSelected] = _react.useState.call(void 0, false);
|
|
1024
1030
|
_react.useEffect.call(void 0, () => {
|
|
1025
|
-
if (
|
|
1026
|
-
|
|
1027
|
-
|
|
1031
|
+
if (isEdit) {
|
|
1032
|
+
return;
|
|
1033
|
+
} else {
|
|
1034
|
+
if (options.length === 1 && field.value == null && !hasAutoSelected) {
|
|
1035
|
+
field.onChange(options[0].Value);
|
|
1036
|
+
setHasAutoSelected(true);
|
|
1037
|
+
}
|
|
1028
1038
|
}
|
|
1029
1039
|
}, [options, field.value, field.onChange, hasAutoSelected]);
|
|
1030
1040
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1068,11 +1078,11 @@ var Component8 = function SelectElement(props) {
|
|
|
1068
1078
|
label,
|
|
1069
1079
|
variant: variant ? variant : "outlined",
|
|
1070
1080
|
sx: {
|
|
1071
|
-
...sx,
|
|
1072
1081
|
"& .MuiInputBase-input": {
|
|
1073
1082
|
cursor: disabled ? "not-allowed" : "default"
|
|
1074
1083
|
},
|
|
1075
|
-
bgcolor: disabled ? theme.palette.action.disabledBackground : "transparent"
|
|
1084
|
+
bgcolor: disabled ? theme.palette.action.disabledBackground : "transparent",
|
|
1085
|
+
...sx
|
|
1076
1086
|
}
|
|
1077
1087
|
}
|
|
1078
1088
|
)
|
|
@@ -1203,6 +1213,7 @@ var SelectMultiElement_default = SelectMultiElement2;
|
|
|
1203
1213
|
|
|
1204
1214
|
|
|
1205
1215
|
|
|
1216
|
+
|
|
1206
1217
|
var Component10 = function SelectCascadeElement(props) {
|
|
1207
1218
|
const {
|
|
1208
1219
|
name,
|
|
@@ -1219,6 +1230,7 @@ var Component10 = function SelectCascadeElement(props) {
|
|
|
1219
1230
|
initialValue,
|
|
1220
1231
|
variant,
|
|
1221
1232
|
sx,
|
|
1233
|
+
isEdit = false,
|
|
1222
1234
|
...rest
|
|
1223
1235
|
} = props;
|
|
1224
1236
|
const {
|
|
@@ -1228,6 +1240,7 @@ var Component10 = function SelectCascadeElement(props) {
|
|
|
1228
1240
|
name,
|
|
1229
1241
|
control
|
|
1230
1242
|
});
|
|
1243
|
+
const theme = _material.useTheme.call(void 0, );
|
|
1231
1244
|
const { field: dependentField } = _reacthookform.useController.call(void 0, {
|
|
1232
1245
|
name: dependsOn,
|
|
1233
1246
|
control
|
|
@@ -1243,6 +1256,18 @@ var Component10 = function SelectCascadeElement(props) {
|
|
|
1243
1256
|
field.onChange(initialValue);
|
|
1244
1257
|
}
|
|
1245
1258
|
}, [initialValue]);
|
|
1259
|
+
const [hasAutoSelected, setHasAutoSelected] = _react.useState.call(void 0, false);
|
|
1260
|
+
_react.useEffect.call(void 0, () => {
|
|
1261
|
+
if (isEdit && !disabled && options.length === 1 && field.value == null && !hasAutoSelected) {
|
|
1262
|
+
field.onChange(options[0].Value);
|
|
1263
|
+
setHasAutoSelected(true);
|
|
1264
|
+
} else {
|
|
1265
|
+
if (options.length === 1 && field.value == null && !hasAutoSelected) {
|
|
1266
|
+
field.onChange(options[0].Value);
|
|
1267
|
+
setHasAutoSelected(true);
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
}, [options, field.value, field.onChange, hasAutoSelected, isEdit]);
|
|
1246
1271
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1247
1272
|
_material.Autocomplete,
|
|
1248
1273
|
{
|
|
@@ -1281,10 +1306,11 @@ var Component10 = function SelectCascadeElement(props) {
|
|
|
1281
1306
|
label,
|
|
1282
1307
|
variant: variant ? variant : "outlined",
|
|
1283
1308
|
sx: {
|
|
1284
|
-
...sx,
|
|
1285
1309
|
"& .MuiInputBase-input": {
|
|
1286
1310
|
cursor: disabled ? "not-allowed" : "default"
|
|
1287
|
-
}
|
|
1311
|
+
},
|
|
1312
|
+
bgcolor: disabled ? theme.palette.action.disabledBackground : "transparent",
|
|
1313
|
+
...sx
|
|
1288
1314
|
}
|
|
1289
1315
|
}
|
|
1290
1316
|
)
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ require('./chunk-7M2VOCYN.js');
|
|
|
13
13
|
require('./chunk-6BGQA4BQ.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkTYB6OIU3js = require('./chunk-TYB6OIU3.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunkSTC2BZ2Ljs = require('./chunk-STC2BZ2L.js');
|
|
@@ -53,4 +53,4 @@ var _chunkDKBPCLECjs = require('./chunk-DKBPCLEC.js');
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
exports.AuthorizedView = _chunkWEPRO2OOjs.AuthorizedView_default; exports.ClearButton = _chunkWEPRO2OOjs.ClearButton_default; exports.Field =
|
|
56
|
+
exports.AuthorizedView = _chunkWEPRO2OOjs.AuthorizedView_default; exports.ClearButton = _chunkWEPRO2OOjs.ClearButton_default; exports.Field = _chunkTYB6OIU3js.Field_default; exports.Field2 = _chunkSTC2BZ2Ljs.Field_default; exports.FilterButton = _chunkWEPRO2OOjs.FilterButton_default; exports.FilterWrapper = _chunkWEPRO2OOjs.FilterWrapper_default; exports.FormWrapper = _chunkWEPRO2OOjs.FormWrapper_default; exports.LabelText = _chunkWEPRO2OOjs.LabelText_default; exports.ListWrapper = _chunkWEPRO2OOjs.ListWrapper_default; exports.SimpleButton = _chunkWEPRO2OOjs.SimpleButton_default; exports.SimpleToolbar = _chunkWEPRO2OOjs.SimpleToolbar_default; exports.api = _chunkDKBPCLECjs.api; exports.api2 = _chunkDKBPCLECjs.api2; exports.flattenObjectKeys = _chunkDKBPCLECjs.flattenObjectKeys; exports.getTimezone = _chunkDKBPCLECjs.getTimezone; exports.handleServerErrors = _chunkDKBPCLECjs.handleServerErrors; exports.propertyExists = _chunkDKBPCLECjs.propertyExists; exports.readValueAsDate = _chunkDKBPCLECjs.readValueAsDate; exports.removeLeadingTrailingSlashes = _chunkDKBPCLECjs.removeLeadingTrailingSlashes; exports.schemaTools = _chunkDKBPCLECjs.schemaTools; exports.useTransform = _chunk6JZ35VQJjs.useTransform;
|
package/dist/index.mjs
CHANGED
|
@@ -73,6 +73,7 @@ type SelectCascadeElementProps<TFieldValues extends FieldValues = FieldValues, T
|
|
|
73
73
|
initialValue?: number | null;
|
|
74
74
|
variant?: TextFieldVariants$1;
|
|
75
75
|
sx?: SxProps$1;
|
|
76
|
+
isEdit?: boolean;
|
|
76
77
|
};
|
|
77
78
|
|
|
78
79
|
type SelectMultiElementProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TValue extends {
|
|
@@ -107,6 +108,7 @@ type SelectElementProps<TFieldValues extends FieldValues = FieldValues, TName ex
|
|
|
107
108
|
label?: string;
|
|
108
109
|
variant?: TextFieldVariants$1;
|
|
109
110
|
sx?: SxProps$1;
|
|
111
|
+
isEdit?: boolean;
|
|
110
112
|
};
|
|
111
113
|
|
|
112
114
|
type TimePickerElementProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TValue extends PickerValidDate = PickerValidDate, TEnableAccessibleFieldDOMStructure extends boolean = false> = Omit<TimePickerProps<TValue>, "value" | "renderInput"> & {
|
package/dist/wrappers/index.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ type SelectCascadeElementProps<TFieldValues extends FieldValues = FieldValues, T
|
|
|
73
73
|
initialValue?: number | null;
|
|
74
74
|
variant?: TextFieldVariants$1;
|
|
75
75
|
sx?: SxProps$1;
|
|
76
|
+
isEdit?: boolean;
|
|
76
77
|
};
|
|
77
78
|
|
|
78
79
|
type SelectMultiElementProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TValue extends {
|
|
@@ -107,6 +108,7 @@ type SelectElementProps<TFieldValues extends FieldValues = FieldValues, TName ex
|
|
|
107
108
|
label?: string;
|
|
108
109
|
variant?: TextFieldVariants$1;
|
|
109
110
|
sx?: SxProps$1;
|
|
111
|
+
isEdit?: boolean;
|
|
110
112
|
};
|
|
111
113
|
|
|
112
114
|
type TimePickerElementProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TValue extends PickerValidDate = PickerValidDate, TEnableAccessibleFieldDOMStructure extends boolean = false> = Omit<TimePickerProps<TValue>, "value" | "renderInput"> & {
|
package/dist/wrappers/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkTYB6OIU3js = require('../chunk-TYB6OIU3.js');
|
|
4
4
|
require('../chunk-6JZ35VQJ.js');
|
|
5
5
|
require('../chunk-DKBPCLEC.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.Field =
|
|
8
|
+
exports.Field = _chunkTYB6OIU3js.Field_default;
|
package/dist/wrappers/index.mjs
CHANGED