drf-react-by-schema 0.12.5 → 0.12.6
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.
|
@@ -104,11 +104,13 @@ function FormBySchema(_a) {
|
|
|
104
104
|
const populateOptionsAC = (optionsACModels) => __awaiter(this, void 0, void 0, function* () {
|
|
105
105
|
const newOptionsAC = {};
|
|
106
106
|
for (const model of optionsACModels) {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
107
|
+
if (!optionsAC || !optionsAC[model]) {
|
|
108
|
+
const ret = isolatedGetAutoComplete
|
|
109
|
+
? yield isolatedGetAutoComplete(model)
|
|
110
|
+
: yield getAutoComplete(model);
|
|
111
|
+
if (ret !== false) {
|
|
112
|
+
newOptionsAC[model] = ret;
|
|
113
|
+
}
|
|
112
114
|
}
|
|
113
115
|
}
|
|
114
116
|
if (setOptionsAC) {
|
package/dist/context/Overlays.js
CHANGED
|
@@ -71,7 +71,7 @@ function Overlays({ children }) {
|
|
|
71
71
|
};
|
|
72
72
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
73
73
|
react_1.default.createElement(APIWrapper_1.default, { setLoading: setLoading, handleLoading: handleLoading, setSnackBar: setSnackBar, setDialog: setDialog, children: children }),
|
|
74
|
-
react_1.default.createElement(Backdrop_1.default, { sx: { color: '#fff', zIndex: (theme) => theme.zIndex.drawer + 1 }, open: loading },
|
|
74
|
+
react_1.default.createElement(Backdrop_1.default, { invisible: true, sx: { color: '#fff', zIndex: (theme) => theme.zIndex.drawer + 1 }, open: loading },
|
|
75
75
|
react_1.default.createElement(CircularProgress_1.default, null)),
|
|
76
76
|
snackBar && (react_1.default.createElement(Snackbar_1.default, { open: snackBar.open, autoHideDuration: 3000, onClose: () => {
|
|
77
77
|
setSnackBar({ open: false });
|
package/package.json
CHANGED