@ahmadmubarak98/namozaj 1.5.0 → 1.5.1
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 +19 -18
- package/package.json +1 -1
package/dist/namozaj.js
CHANGED
|
@@ -9052,17 +9052,18 @@ const VisibilityIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
|
|
|
9052
9052
|
}), "Info"), Tooltip = ({ text: e, placement: t }) => /* @__PURE__ */ jsx(Tooltip$1, { title: e, placement: t || "bottom", arrow: !0, children: /* @__PURE__ */ jsx(IconButton$1, { size: "small", sx: { padding: 0 }, children: /* @__PURE__ */ jsx(InfoIcon, { fontSize: "small" }) }) }), CheckboxField = ({
|
|
9053
9053
|
id: e,
|
|
9054
9054
|
config: t,
|
|
9055
|
-
onChange: a
|
|
9055
|
+
onChange: a,
|
|
9056
|
+
value: l
|
|
9056
9057
|
}) => {
|
|
9057
|
-
const { name:
|
|
9058
|
-
label:
|
|
9059
|
-
style:
|
|
9060
|
-
className:
|
|
9061
|
-
disabled:
|
|
9062
|
-
checked:
|
|
9063
|
-
defaultValue:
|
|
9064
|
-
tooltip:
|
|
9065
|
-
} =
|
|
9058
|
+
const { name: c, meta: p } = t, {
|
|
9059
|
+
label: d,
|
|
9060
|
+
style: u,
|
|
9061
|
+
className: b,
|
|
9062
|
+
disabled: h,
|
|
9063
|
+
checked: g,
|
|
9064
|
+
defaultValue: m,
|
|
9065
|
+
tooltip: y
|
|
9066
|
+
} = p;
|
|
9066
9067
|
return /* @__PURE__ */ jsx(
|
|
9067
9068
|
FormControlLabel,
|
|
9068
9069
|
{
|
|
@@ -9070,19 +9071,19 @@ const VisibilityIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
|
|
|
9070
9071
|
Checkbox,
|
|
9071
9072
|
{
|
|
9072
9073
|
id: e,
|
|
9073
|
-
name:
|
|
9074
|
-
defaultChecked:
|
|
9075
|
-
checked:
|
|
9076
|
-
disabled:
|
|
9074
|
+
name: c,
|
|
9075
|
+
defaultChecked: m ?? !1,
|
|
9076
|
+
checked: typeof l == "boolean" ? l : g,
|
|
9077
|
+
disabled: h,
|
|
9077
9078
|
onChange: a
|
|
9078
9079
|
}
|
|
9079
9080
|
),
|
|
9080
9081
|
label: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Stack, { direction: "row", alignItems: "center", gap: 0.5, children: [
|
|
9081
|
-
|
|
9082
|
-
(
|
|
9082
|
+
d,
|
|
9083
|
+
(y == null ? void 0 : y.text) && /* @__PURE__ */ jsx(Tooltip, { ...y })
|
|
9083
9084
|
] }) }),
|
|
9084
|
-
style:
|
|
9085
|
-
className:
|
|
9085
|
+
style: u,
|
|
9086
|
+
className: b
|
|
9086
9087
|
}
|
|
9087
9088
|
);
|
|
9088
9089
|
}, CheckboxGroupField = ({
|