@ahmadmubarak98/namozaj 1.16.17 → 1.16.20
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/main.d.ts +1 -0
- package/dist/namozaj.js +10 -12
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -393,6 +393,7 @@ export declare type NamozajFormMethods = RHFFormMethods & {
|
|
|
393
393
|
setFieldOptions: (name: string, options: FieldOption[]) => void;
|
|
394
394
|
markAsClean: () => void;
|
|
395
395
|
markAsDirty: () => void;
|
|
396
|
+
scrollToFirstError: () => void;
|
|
396
397
|
};
|
|
397
398
|
|
|
398
399
|
export declare interface NamozajLocalizationOptions {
|
package/dist/namozaj.js
CHANGED
|
@@ -51801,15 +51801,12 @@ const goe = ({
|
|
|
51801
51801
|
children: /* @__PURE__ */ S(hu, { fontSize: "small" })
|
|
51802
51802
|
}
|
|
51803
51803
|
),
|
|
51804
|
-
/* @__PURE__ */ S(
|
|
51804
|
+
!m && /* @__PURE__ */ S(
|
|
51805
51805
|
dr,
|
|
51806
51806
|
{
|
|
51807
51807
|
className: "namozaj_delete_file_button",
|
|
51808
51808
|
size: "small",
|
|
51809
|
-
onClick: () =>
|
|
51810
|
-
m || l0(Ge);
|
|
51811
|
-
},
|
|
51812
|
-
disabled: m,
|
|
51809
|
+
onClick: () => l0(Ge),
|
|
51813
51810
|
children: /* @__PURE__ */ S(Vh, { fontSize: "small" })
|
|
51814
51811
|
}
|
|
51815
51812
|
)
|
|
@@ -51910,15 +51907,12 @@ const goe = ({
|
|
|
51910
51907
|
children: /* @__PURE__ */ S(hu, { fontSize: "small" })
|
|
51911
51908
|
}
|
|
51912
51909
|
),
|
|
51913
|
-
/* @__PURE__ */ S(
|
|
51910
|
+
!m && /* @__PURE__ */ S(
|
|
51914
51911
|
dr,
|
|
51915
51912
|
{
|
|
51916
51913
|
className: "namozaj_delete_file_button",
|
|
51917
51914
|
size: "small",
|
|
51918
|
-
onClick: () =>
|
|
51919
|
-
m || l0(M1);
|
|
51920
|
-
},
|
|
51921
|
-
disabled: m,
|
|
51915
|
+
onClick: () => l0(M1),
|
|
51922
51916
|
sx: { color: "#94a3b8" },
|
|
51923
51917
|
children: /* @__PURE__ */ S(Vh, { fontSize: "small" })
|
|
51924
51918
|
}
|
|
@@ -51992,7 +51986,7 @@ const goe = ({
|
|
|
51992
51986
|
children: /* @__PURE__ */ S(hu, { fontSize: "small" })
|
|
51993
51987
|
}
|
|
51994
51988
|
),
|
|
51995
|
-
/* @__PURE__ */ S(
|
|
51989
|
+
!m && /* @__PURE__ */ S(
|
|
51996
51990
|
dr,
|
|
51997
51991
|
{
|
|
51998
51992
|
className: "namozaj_delete_file_button",
|
|
@@ -89688,9 +89682,13 @@ const Kb = fe.forwardRef(
|
|
|
89688
89682
|
},
|
|
89689
89683
|
markAsDirty: () => {
|
|
89690
89684
|
v(!0);
|
|
89685
|
+
},
|
|
89686
|
+
scrollToFirstError: () => {
|
|
89687
|
+
const G = M.formState.errors, Q = L(G);
|
|
89688
|
+
Q && E(Q);
|
|
89691
89689
|
}
|
|
89692
89690
|
}),
|
|
89693
|
-
[M]
|
|
89691
|
+
[M, L, E]
|
|
89694
89692
|
);
|
|
89695
89693
|
const D = e.isNested ? "div" : "form", F = He(
|
|
89696
89694
|
(G) => {
|