@zydon/common 1.1.40 → 1.1.42
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/Confirm/index.d.ts +5 -0
- package/dist/components/Confirm/index.d.ts.map +1 -0
- package/dist/components/{ConfirmDelete → Confirm}/props.d.ts +3 -3
- package/dist/components/Confirm/props.d.ts.map +1 -0
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/{features-7374f492.js → features-a4304fe9.js} +1 -1
- package/dist/{index-0e7ceaa1.js → index-bc478f7d.js} +3 -3
- package/dist/index.js +8 -8
- package/dist/index.umd.cjs +2 -2
- package/package.json +1 -1
- package/dist/components/ConfirmDelete/index.d.ts +0 -5
- package/dist/components/ConfirmDelete/index.d.ts.map +0 -1
- package/dist/components/ConfirmDelete/props.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Confirm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAqCnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { DialogProps } from '@mui/material';
|
|
2
|
-
export interface
|
|
2
|
+
export interface ConfirmProps extends DialogProps {
|
|
3
3
|
modalTitle?: string;
|
|
4
4
|
message?: string;
|
|
5
5
|
cancelButtonText?: string;
|
|
6
6
|
confirmButtonText?: string;
|
|
7
7
|
onClose: VoidFunction;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
onConfirm: VoidFunction;
|
|
9
|
+
confirming?: boolean;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/Confirm/props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,YAAa,SAAQ,WAAW;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,YAAY,CAAC;IACtB,SAAS,EAAE,YAAY,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
|
@@ -5,7 +5,7 @@ export * from './snackbar';
|
|
|
5
5
|
export type { AutocompleteProps } from './Autocomplete/props';
|
|
6
6
|
export type { ColorPickerInputProps } from './ColorPickerInput/props';
|
|
7
7
|
export type { CommonProps } from './Common/props';
|
|
8
|
-
export type {
|
|
8
|
+
export type { ConfirmProps } from './Confirm/props';
|
|
9
9
|
export type { CustomAvatarGroupProps, CustomAvatarProps, } from './CustomAvatar/props';
|
|
10
10
|
export type { DataGridProps } from './DataGrid/props';
|
|
11
11
|
export type { DelayedProps } from './Delayed/props';
|
|
@@ -32,7 +32,7 @@ export type { INavItem, NavItemProps, NavListProps, NavSectionProps, } from './n
|
|
|
32
32
|
export { default as Autocomplete } from './Autocomplete';
|
|
33
33
|
export { default as ColorPickerInput } from './ColorPickerInput';
|
|
34
34
|
export { default as Common } from './Common';
|
|
35
|
-
export { default as
|
|
35
|
+
export { default as Confirm } from './Confirm';
|
|
36
36
|
export { default as CustomAvatar } from './CustomAvatar/CustomAvatar';
|
|
37
37
|
export { default as CustomAvatarGroup } from './CustomAvatar/CustomAvatarGroup';
|
|
38
38
|
export { default as DataGrid } from './DataGrid';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AA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AE,OAAO,IAAI,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as D, n as L, r as En, c as jn, i as K, a as jt, s as Xs, b as It, d as xt, e as In, g as Ot, h as it, p as ot, j as On, k as Zs, w as Nt, l as z, m as B, t as Vt, o as Js, q as rt, u as St, v as Qs, x as ti, y as ei, z as ni, A as Nn, B as ne, C as Un, D as Gn, E as yt, P as si, F as ii, L as oi, S as ri, G as Kt, H as zt, I as ke, J as se, K as ai, M as $n, N as li, O as ci, Q as Kn, R as zn, T as ui, U as hi, V as fi, W as di, X as pi, Y as mi, Z as gi, _ as yi, $ as vi, a0 as xi } from "./index-
|
|
1
|
+
import { f as D, n as L, r as En, c as jn, i as K, a as jt, s as Xs, b as It, d as xt, e as In, g as Ot, h as it, p as ot, j as On, k as Zs, w as Nt, l as z, m as B, t as Vt, o as Js, q as rt, u as St, v as Qs, x as ti, y as ei, z as ni, A as Nn, B as ne, C as Un, D as Gn, E as yt, P as si, F as ii, L as oi, S as ri, G as Kt, H as zt, I as ke, J as se, K as ai, M as $n, N as li, O as ci, Q as Kn, R as zn, T as ui, U as hi, V as fi, W as di, X as pi, Y as mi, Z as gi, _ as yi, $ as vi, a0 as xi } from "./index-bc478f7d.js";
|
|
2
2
|
import Hn, { useContext as ie, useId as Pi, useEffect as Ti } from "react";
|
|
3
3
|
import "@mui/material";
|
|
4
4
|
import "@emotion/react";
|
|
@@ -5612,7 +5612,7 @@ const T6 = (t, e, n) => {
|
|
|
5612
5612
|
...r,
|
|
5613
5613
|
children: n
|
|
5614
5614
|
}
|
|
5615
|
-
), C6 = () => import("./features-
|
|
5615
|
+
), C6 = () => import("./features-a4304fe9.js").then((t) => t.default), O6 = ({ children: t }) => /* @__PURE__ */ O.jsx(l5, { strict: !0, features: C6, children: /* @__PURE__ */ O.jsxs(Dr.div, { style: { height: "100%" }, children: [
|
|
5616
5616
|
" ",
|
|
5617
5617
|
t,
|
|
5618
5618
|
" "
|
|
@@ -23006,8 +23006,8 @@ const zOe = ({
|
|
|
23006
23006
|
cancelButtonText: n = "Cancelar",
|
|
23007
23007
|
confirmButtonText: r = "Sim, excluir registro",
|
|
23008
23008
|
onClose: i,
|
|
23009
|
-
|
|
23010
|
-
|
|
23009
|
+
onConfirm: a,
|
|
23010
|
+
confirming: o,
|
|
23011
23011
|
...s
|
|
23012
23012
|
}) => /* @__PURE__ */ O.jsxs(Cv, { fullWidth: !0, maxWidth: "xs", ...s, onClose: i, children: [
|
|
23013
23013
|
/* @__PURE__ */ O.jsx($w, { children: t }),
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a1 as p, aC as u, aD as v, aF as c, aG as C, a2 as k, a3 as S, a4 as P, a5 as F, a6 as g, a7 as A, aH as T, aI as I, aJ as
|
|
1
|
+
import { a1 as p, aC as u, aD as v, aF as c, aG as C, a2 as k, a3 as S, a4 as P, a5 as F, a6 as g, a7 as A, aH as T, aI as I, aJ as E, a8 as M, aV as D, a9 as h, aa as f, aK as B, ab as x, aX as w, aL as y, ac as N, aM as L, aY as R, ad as U, ae as G, af as H, ag as z, ah as V, ai as W, aN as q, bh as Q, aj as j, ak as J, al as K, a_ as O, a$ as Z, aZ as X, aE as Y, av as _, aw as $, ax as aa, am as sa, aO as ea, ao as oa, an as ra, aP as ta, ap as ia, aQ as na, aq as ba, ar as la, bi as da, bj as ma, as as pa, aR as ua, b0 as va, at as ca, aW as Ca, au as ka, aS as Sa, bk as Pa, ay as Fa, az as ga, aU as Aa, aA as Ta, aB as Ia, aT as Ea, bl as Ma, bC as Da, bm as ha, bz as fa, bA as Ba, bB as xa, bJ as wa, bH as ya, bG as Na, bD as La, bE as Ra, bo as Ua, bp as Ga, bq as Ha, br as za, bs as Va, bt as Wa, bu as qa, by as Qa, bv as ja, bn as Ja, bw as Ka, bx as Oa, bI as Za, bF as Xa, be as Ya, bf as _a, bg as $a, b7 as as, ba as ss, b2 as es, b4 as os, b9 as rs, b1 as ts, b8 as is, b6 as ns, b5 as bs, bc as ls, bd as ds, bb as ms, b3 as ps } from "./index-bc478f7d.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "@mui/material";
|
|
4
4
|
import "@emotion/react";
|
|
@@ -17,15 +17,15 @@ export {
|
|
|
17
17
|
C as ColorPickerField,
|
|
18
18
|
k as ColorPickerInput,
|
|
19
19
|
S as Common,
|
|
20
|
-
P as
|
|
20
|
+
P as Confirm,
|
|
21
21
|
F as CustomAvatar,
|
|
22
22
|
g as CustomAvatarGroup,
|
|
23
23
|
A as DataGrid,
|
|
24
24
|
T as DatePicker,
|
|
25
25
|
I as DateRangePicker,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
E as DateTimePicker,
|
|
27
|
+
M as Delayed,
|
|
28
|
+
D as DialogAnimate,
|
|
29
29
|
h as Drawer,
|
|
30
30
|
f as Editor,
|
|
31
31
|
B as EditorField,
|
|
@@ -77,9 +77,9 @@ export {
|
|
|
77
77
|
Aa as UploadAvatarWithCropField,
|
|
78
78
|
Ta as UploadBox,
|
|
79
79
|
Ia as UploadWithCrop,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
Ea as UploadWithCropField,
|
|
81
|
+
Ma as closeSnackbar,
|
|
82
|
+
Da as cssStyles,
|
|
83
83
|
ha as enqueueSnackbar,
|
|
84
84
|
fa as file,
|
|
85
85
|
Ba as formatNumber,
|