blixify-ui-web 0.3.81 → 0.3.83
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/lib/components/data/dataTemplate/index.d.ts.map +1 -1
- package/lib/components/data/dataTemplate/index.js +11 -13
- package/lib/components/data/dataTemplate/index.js.map +1 -1
- package/lib/components/data/updateModule.d.ts.map +1 -1
- package/lib/components/data/updateModule.js +6 -1
- package/lib/components/data/updateModule.js.map +1 -1
- package/lib/components/design/imageGallery/index.d.ts +4 -0
- package/lib/components/design/imageGallery/index.d.ts.map +1 -1
- package/lib/components/design/imageGallery/index.js +5 -3
- package/lib/components/design/imageGallery/index.js.map +1 -1
- package/lib/components/design/imageZoom/index.d.ts +3 -5
- package/lib/components/design/imageZoom/index.d.ts.map +1 -1
- package/lib/components/design/imageZoom/index.js +127 -56
- package/lib/components/design/imageZoom/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAQN,MAAM,OAAO,CAAC;AA+Df,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AAmB1B,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAQN,MAAM,OAAO,CAAC;AA+Df,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AAmB1B,eAAO,MAAM,YAAY,mFAizLvB,CAAC"}
|
|
@@ -358,20 +358,18 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
358
358
|
/* eslint-enable */
|
|
359
359
|
(0, react_1.useEffect)(function () {
|
|
360
360
|
var _a, _b, _c;
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
}, 50);
|
|
372
|
-
}
|
|
373
|
-
previousSelectedData.current = selectedData;
|
|
361
|
+
var updatedFields = (0, updateModule_1.compareUpdatedFields)((_a = previousSelectedData === null || previousSelectedData === void 0 ? void 0 : previousSelectedData.current) !== null && _a !== void 0 ? _a : {}, selectedData);
|
|
362
|
+
if (updatedFields) {
|
|
363
|
+
(_c = (_b = props.bareSettings) === null || _b === void 0 ? void 0 : _b.bareUpdateListener) === null || _c === void 0 ? void 0 : _c.call(_b, updatedFields).map(function (eachField) {
|
|
364
|
+
var key = eachField.key, value = eachField.value;
|
|
365
|
+
selectedData[key] = value;
|
|
366
|
+
return null;
|
|
367
|
+
});
|
|
368
|
+
setTimeout(function () {
|
|
369
|
+
setPrefillTrigger(!prefillTrigger);
|
|
370
|
+
}, 50);
|
|
374
371
|
}
|
|
372
|
+
previousSelectedData.current = selectedData;
|
|
375
373
|
}, [selectedData, props.id]);
|
|
376
374
|
//INFO : Change Data Type & ID Refresh
|
|
377
375
|
(0, react_1.useEffect)(function () {
|