@zydon/common 1.3.61 → 1.3.63
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/components/hook-form/Autocomplete/props.d.ts +1 -1
- package/dist/components/hook-form/Autocomplete/props.d.ts.map +1 -1
- package/dist/{features-a9929254.js → features-254bc1ab.js} +1 -1
- package/dist/hooks/useUploadImage.d.ts +2 -1
- package/dist/hooks/useUploadImage.d.ts.map +1 -1
- package/dist/{index-82af911b.js → index-6d04c1b0.js} +2103 -2100
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +3955 -3955
- package/package.json +1 -1
|
@@ -2,6 +2,6 @@ import { BaseField } from '../../../types/baseField';
|
|
|
2
2
|
import { BaseAutoComplete } from '../../../types/autoComplete';
|
|
3
3
|
import { Option } from '../../../types/option';
|
|
4
4
|
export type AutocompleteProps = BaseField<BaseAutoComplete> & {
|
|
5
|
-
onSelectOption?(
|
|
5
|
+
onSelectOption?(newValue: NonNullable<string | Option> | (string | Option)[] | null | undefined, oldValue?: NonNullable<string | Option> | (string | Option)[] | null | undefined): void;
|
|
6
6
|
};
|
|
7
7
|
//# sourceMappingURL=props.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/components/hook-form/Autocomplete/props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAC,gBAAgB,CAAC,GAAG;IAC5D,cAAc,CAAC,CACb,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/components/hook-form/Autocomplete/props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,MAAM,MAAM,iBAAiB,GAAG,SAAS,CAAC,gBAAgB,CAAC,GAAG;IAC5D,cAAc,CAAC,CACb,QAAQ,EACJ,WAAW,CAAC,MAAM,GAAG,MAAM,CAAC,GAC5B,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,GACnB,IAAI,GACJ,SAAS,EACb,QAAQ,CAAC,EACL,WAAW,CAAC,MAAM,GAAG,MAAM,CAAC,GAC5B,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,GACnB,IAAI,GACJ,SAAS,GACZ,IAAI,CAAC;CACT,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as rt, f as C, n as B, r as mn, c as gn, i as tt, d as Ts, a as yn, v as Vs, w as ie, b as yt, e as K, g as R, t as Pt, h as et, j as Ss, k as bs, l as k, m as nt, o as vn, q as xt, s as vt, u as As, x as Ds, y as Cs, z as at, A as Ms, B as Pn, C as Kt, D as xn, E as Tn, F as w, G as zt, H as dt, P as ws, I as Ls, L as Rs, S as Bs, J as Vn, K as Sn, M as bn, N as Et, O as jt, Q as ye, R as Ht, T as Fs, U as An, V as Dn, W as Es, X as js, Y as Cn, Z as Mn, _ as ks, $ as Is, a0 as Os, a1 as Us, a2 as Ns, a3 as Gs, a4 as $s, a5 as Ks, a6 as zs, a7 as Hs } from "./index-
|
|
1
|
+
import { p as rt, f as C, n as B, r as mn, c as gn, i as tt, d as Ts, a as yn, v as Vs, w as ie, b as yt, e as K, g as R, t as Pt, h as et, j as Ss, k as bs, l as k, m as nt, o as vn, q as xt, s as vt, u as As, x as Ds, y as Cs, z as at, A as Ms, B as Pn, C as Kt, D as xn, E as Tn, F as w, G as zt, H as dt, P as ws, I as Ls, L as Rs, S as Bs, J as Vn, K as Sn, M as bn, N as Et, O as jt, Q as ye, R as Ht, T as Fs, U as An, V as Dn, W as Es, X as js, Y as Cn, Z as Mn, _ as ks, $ as Is, a0 as Os, a1 as Us, a2 as Ns, a3 as Gs, a4 as $s, a5 as Ks, a6 as zs, a7 as Hs } from "./index-6d04c1b0.js";
|
|
2
2
|
import wn, { useContext as _t, useId as _s, useEffect as Ws } from "react";
|
|
3
3
|
import "@mui/material";
|
|
4
4
|
import "@emotion/react";
|
|
@@ -3,8 +3,9 @@ interface Props {
|
|
|
3
3
|
onFileCropped(file?: File): void;
|
|
4
4
|
onImageUploaded(image?: string): void;
|
|
5
5
|
onCancel?: VoidFunction;
|
|
6
|
+
aspect: number;
|
|
6
7
|
}
|
|
7
|
-
declare const useUploadImage: ({ onFileCropped, onImageUploaded, onCancel, }: Props) => {
|
|
8
|
+
declare const useUploadImage: ({ onFileCropped, onImageUploaded, onCancel, aspect, }: Props) => {
|
|
8
9
|
id: string;
|
|
9
10
|
setCropModalOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
10
11
|
handleRemove: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUploadImage.d.ts","sourceRoot":"","sources":["../../src/hooks/useUploadImage.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"useUploadImage.d.ts","sourceRoot":"","sources":["../../src/hooks/useUploadImage.ts"],"names":[],"mappings":";AAIA,UAAU,KAAK;IACb,aAAa,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACjC,eAAe,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,cAAc,0DAKjB,KAAK;;;;;;;;;;;;CA+DP,CAAC;AAEF,eAAe,cAAc,CAAC"}
|