@ahmadmubarak98/namozaj 1.4.5 → 1.4.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.
- package/dist/namozaj.js +1 -4
- package/package.json +1 -1
package/dist/namozaj.js
CHANGED
|
@@ -82231,10 +82231,7 @@ const ConfirmationDialog = ({
|
|
|
82231
82231
|
};
|
|
82232
82232
|
return useEffect(() => {
|
|
82233
82233
|
l && Array.isArray(l) && l.length > 0 ? f.replace(l) : L && l.length < L && f.replace(
|
|
82234
|
-
Array.from({ length: L }, (Z, Re) => u.fields.reduce((ye, De) => (ye[De.name] = {
|
|
82235
|
-
...De,
|
|
82236
|
-
id: De.id || generateFieldId()
|
|
82237
|
-
}, ye), {}))
|
|
82234
|
+
Array.from({ length: L }, (Z, Re) => u.fields.reduce((ye, De) => (ye[De.name] = p.watch()[`${a}[${Re}].${De.name}`] || getDefaultValue(De), ye), {}))
|
|
82238
82235
|
);
|
|
82239
82236
|
}, []), /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsxs(Fieldset, { id: e, legend: /* @__PURE__ */ jsx(FieldLabel, { field: t }), children: [
|
|
82240
82237
|
f.fields.length === 0 && /* @__PURE__ */ jsxs(
|