dynamic-mui 1.0.12 → 1.0.13
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-modules/components/FormGenerator.js +1 -1
- package/dist-modules/util/helper.js +1 -2
- package/docs/asset-manifest.json +5 -5
- package/docs/build/{2.c7ab203b.js → 2.2a830d23.js} +2 -2
- package/docs/build/main.122faaaf.js +1 -0
- package/docs/index.html +2 -2
- package/package.json +1 -1
- package/docs/build/main.125a1037.js +0 -1
- /package/docs/build/{2.c7ab203b.js.LICENSE.txt → 2.2a830d23.js.LICENSE.txt} +0 -0
|
@@ -53,7 +53,7 @@ function FormGenerator(props) {
|
|
|
53
53
|
} : _props$MuiGridAttribu;
|
|
54
54
|
var config = LIBMap.MUI;
|
|
55
55
|
var dataObj = JSON.parse(JSON.stringify(data));
|
|
56
|
-
var layout = (0, _helper.generateLayout)((0, _helper.updatePatchData)(JSON.parse(JSON.stringify(dataObj)), patch, guid));
|
|
56
|
+
var layout = (0, _helper.generateLayout)((0, _helper.updatePatchData)(JSON.parse(JSON.stringify(dataObj)), patch, guid, response));
|
|
57
57
|
var onUpdate = function onUpdate(_ref) {
|
|
58
58
|
var id = _ref.id,
|
|
59
59
|
value = _ref.value,
|
|
@@ -19,7 +19,6 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
19
19
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
20
20
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
21
21
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
22
|
-
var response = {};
|
|
23
22
|
function generateLayout(data) {
|
|
24
23
|
var layout = {
|
|
25
24
|
wrows: [],
|
|
@@ -73,7 +72,7 @@ var generateKey = exports.generateKey = function generateKey() {
|
|
|
73
72
|
var currentTime = new Date().toLocaleTimeString('en').trim();
|
|
74
73
|
return "".concat(prefix, "_").concat(index, "_").concat(random, "_").concat(currentTime);
|
|
75
74
|
};
|
|
76
|
-
var updatePatchData = exports.updatePatchData = function updatePatchData(fields, patch, guid) {
|
|
75
|
+
var updatePatchData = exports.updatePatchData = function updatePatchData(fields, patch, guid, response) {
|
|
77
76
|
response[guid] = patch;
|
|
78
77
|
var formData = Object.assign([], fields);
|
|
79
78
|
// if (isEmpty(patch)) return fields;
|
package/docs/asset-manifest.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": {
|
|
3
|
-
"main.js": "/DinakaranS/-dynamic-mui/build/main.
|
|
3
|
+
"main.js": "/DinakaranS/-dynamic-mui/build/main.122faaaf.js",
|
|
4
4
|
"runtime-main.js": "/DinakaranS/-dynamic-mui/build/bundle.039d7aef.js",
|
|
5
|
-
"build/2.
|
|
6
|
-
"build/2.
|
|
5
|
+
"build/2.2a830d23.js": "/DinakaranS/-dynamic-mui/build/2.2a830d23.js",
|
|
6
|
+
"build/2.2a830d23.js.LICENSE.txt": "/DinakaranS/-dynamic-mui/build/2.2a830d23.js.LICENSE.txt",
|
|
7
7
|
"index.html": "/DinakaranS/-dynamic-mui/index.html"
|
|
8
8
|
},
|
|
9
9
|
"entrypoints": [
|
|
10
10
|
"build/bundle.039d7aef.js",
|
|
11
|
-
"build/2.
|
|
12
|
-
"build/main.
|
|
11
|
+
"build/2.2a830d23.js",
|
|
12
|
+
"build/main.122faaaf.js"
|
|
13
13
|
]
|
|
14
14
|
}
|