@strapi/plugin-users-permissions 5.0.0-rc.6 → 5.0.0-rc.8
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/_chunks/{index-D05ntp22.js → index-2NkhLDmW.js} +7 -7
- package/dist/_chunks/{index-D05ntp22.js.map → index-2NkhLDmW.js.map} +1 -1
- package/dist/_chunks/{index-EuBu2rv5-BHUgmsKx.mjs → index-4iCJ7_08-BdVTyJ7l.mjs} +4 -4
- package/dist/_chunks/{index-EuBu2rv5-BHUgmsKx.mjs.map → index-4iCJ7_08-BdVTyJ7l.mjs.map} +1 -1
- package/dist/_chunks/{index-EuBu2rv5-qR3QHvSP.js → index-4iCJ7_08-NB2384Tl.js} +4 -4
- package/dist/_chunks/{index-EuBu2rv5-qR3QHvSP.js.map → index-4iCJ7_08-NB2384Tl.js.map} +1 -1
- package/dist/_chunks/{index-BRbIgPYw.mjs → index-B7tUaGva.mjs} +8 -8
- package/dist/_chunks/{index-BRbIgPYw.mjs.map → index-B7tUaGva.mjs.map} +1 -1
- package/dist/_chunks/{index-D0uqAT-F.js → index-Bb_ri-T8.js} +2 -2
- package/dist/_chunks/{index-D0uqAT-F.js.map → index-Bb_ri-T8.js.map} +1 -1
- package/dist/_chunks/{index-ewKhwawg.mjs → index-CCc9ieWH.mjs} +2 -2
- package/dist/_chunks/{index-ewKhwawg.mjs.map → index-CCc9ieWH.mjs.map} +1 -1
- package/dist/_chunks/{index-CBuBGD8n.js → index-CGpGnIc7.js} +8 -8
- package/dist/_chunks/{index-CBuBGD8n.js.map → index-CGpGnIc7.js.map} +1 -1
- package/dist/_chunks/{index-C6KPdzVv.mjs → index-D2uZMaoO.mjs} +3 -3
- package/dist/_chunks/{index-C6KPdzVv.mjs.map → index-D2uZMaoO.mjs.map} +1 -1
- package/dist/_chunks/{index-B1CDmwOh.js → index-D3xNn9Vr.js} +4 -4
- package/dist/_chunks/{index-B1CDmwOh.js.map → index-D3xNn9Vr.js.map} +1 -1
- package/dist/_chunks/{index-C3vZT8dH.js → index-D97H7jHh.js} +2 -2
- package/dist/_chunks/{index-C3vZT8dH.js.map → index-D97H7jHh.js.map} +1 -1
- package/dist/_chunks/{index-DK1i17KF.mjs → index-DsqOkABf.mjs} +3 -3
- package/dist/_chunks/{index-DK1i17KF.mjs.map → index-DsqOkABf.mjs.map} +1 -1
- package/dist/_chunks/{index-CCLKWSgx.mjs → index-fXQ2xpnk.mjs} +2 -2
- package/dist/_chunks/{index-CCLKWSgx.mjs.map → index-fXQ2xpnk.mjs.map} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/package.json +4 -4
|
@@ -10770,7 +10770,7 @@ const EnumerationInput = React.forwardRef(
|
|
|
10770
10770
|
}
|
|
10771
10771
|
);
|
|
10772
10772
|
const MemoizedEnumerationInput = React.memo(EnumerationInput);
|
|
10773
|
-
const JsonInput =
|
|
10773
|
+
const JsonInput = React__namespace.forwardRef(
|
|
10774
10774
|
({ name, required, label, hint, labelAction, ...props }, ref) => {
|
|
10775
10775
|
const field = useField(name);
|
|
10776
10776
|
const fieldRef = useFocusInputField(name);
|
|
@@ -10781,7 +10781,7 @@ const JsonInput = React.forwardRef(
|
|
|
10781
10781
|
designSystem.JSONInput,
|
|
10782
10782
|
{
|
|
10783
10783
|
ref: composedRefs,
|
|
10784
|
-
value: field.value,
|
|
10784
|
+
value: typeof field.value == "object" ? JSON.stringify(field.value, null, 2) : field.value,
|
|
10785
10785
|
onChange: (json) => {
|
|
10786
10786
|
const value = required && !json.length ? null : json;
|
|
10787
10787
|
field.onChange(name, value);
|
|
@@ -10796,7 +10796,7 @@ const JsonInput = React.forwardRef(
|
|
|
10796
10796
|
] });
|
|
10797
10797
|
}
|
|
10798
10798
|
);
|
|
10799
|
-
const MemoizedJsonInput =
|
|
10799
|
+
const MemoizedJsonInput = React__namespace.memo(JsonInput);
|
|
10800
10800
|
const NumberInputImpl = React.forwardRef(
|
|
10801
10801
|
({ name, required, label, hint, labelAction, type, ...props }, ref) => {
|
|
10802
10802
|
const field = useField(name);
|
|
@@ -11510,4 +11510,4 @@ adminApi.enhanceEndpoints({
|
|
|
11510
11510
|
});
|
|
11511
11511
|
exports.Layouts = Layouts;
|
|
11512
11512
|
exports.useTracking = useTracking;
|
|
11513
|
-
//# sourceMappingURL=index-
|
|
11513
|
+
//# sourceMappingURL=index-4iCJ7_08-NB2384Tl.js.map
|