@eliseubatista99/react-scaffold-core 0.1.65 → 0.1.66
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/index.cjs.js +21 -6
- package/dist/index.es.js +101 -90
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -308,7 +308,7 @@ function Rn() {
|
|
|
308
308
|
return ir || (ir = 1, process.env.NODE_ENV === "production" ? nt.exports = Pn() : nt.exports = En()), nt.exports;
|
|
309
309
|
}
|
|
310
310
|
var K = Rn();
|
|
311
|
-
const
|
|
311
|
+
const Qo = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ K.jsx(
|
|
312
312
|
"button",
|
|
313
313
|
{
|
|
314
314
|
style: {
|
|
@@ -772,7 +772,7 @@ function Ke() {
|
|
|
772
772
|
if (!S) {
|
|
773
773
|
if ($) return g(n);
|
|
774
774
|
L && H && F && g(n);
|
|
775
|
-
var pe,
|
|
775
|
+
var pe, Ee = {}, tt = d(f);
|
|
776
776
|
Q.curX = n.touches ? n.touches[0].pageX : n.clientX, Q.curY = n.touches ? n.touches[0].pageY : n.clientY, Q.swipeLength = Math.round(Math.sqrt(Math.pow(Q.curX - Q.startX, 2)));
|
|
777
777
|
var tr = Math.round(Math.sqrt(Math.pow(Q.curY - Q.startY, 2)));
|
|
778
778
|
if (!F && !Z && tr > 10)
|
|
@@ -783,13 +783,13 @@ function Ke() {
|
|
|
783
783
|
var Ie = (W ? -1 : 1) * (Q.curX > Q.startX ? 1 : -1);
|
|
784
784
|
F && (Ie = Q.curY > Q.startY ? 1 : -1);
|
|
785
785
|
var On = Math.ceil(ee / ie), Ce = N(f.touchObject, F), Ae = Q.swipeLength;
|
|
786
|
-
return le || (B === 0 && (Ce === "right" || Ce === "down") || B + 1 >= On && (Ce === "left" || Ce === "up") || !U(f) && (Ce === "left" || Ce === "up")) && (Ae = Q.swipeLength * G, X === !1 && J && (J(Ce),
|
|
786
|
+
return le || (B === 0 && (Ce === "right" || Ce === "down") || B + 1 >= On && (Ce === "left" || Ce === "up") || !U(f) && (Ce === "left" || Ce === "up")) && (Ae = Q.swipeLength * G, X === !1 && J && (J(Ce), Ee.edgeDragged = !0)), !te && oe && (oe(Ce), Ee.swiped = !0), L ? pe = tt + Ae * (ue / ce) * Ie : W ? pe = tt - Ae * Ie : pe = tt + Ae * Ie, F && (pe = tt + Ae * Ie), Ee = s(s({}, Ee), {}, {
|
|
787
787
|
touchObject: Q,
|
|
788
788
|
swipeLeft: pe,
|
|
789
789
|
trackStyle: E(s(s({}, f), {}, {
|
|
790
790
|
left: pe
|
|
791
791
|
}))
|
|
792
|
-
}), Math.abs(Q.curX - Q.startX) < Math.abs(Q.curY - Q.startY) * 0.8 || Q.swipeLength > 10 && (
|
|
792
|
+
}), Math.abs(Q.curX - Q.startX) < Math.abs(Q.curY - Q.startY) * 0.8 || Q.swipeLength > 10 && (Ee.swiping = !0, g(n)), Ee;
|
|
793
793
|
}
|
|
794
794
|
}, Y.swipeEnd = function(n, f) {
|
|
795
795
|
var S = f.dragging, $ = f.swipe, L = f.touchObject, H = f.listWidth, F = f.touchThreshold, W = f.verticalSwiping, B = f.listHeight, G = f.swipeToSlide, X = f.scrolling, J = f.onSwipe, te = f.targetSlide, Z = f.currentSlide, ee = f.infinite;
|
|
@@ -1340,9 +1340,9 @@ function Ln() {
|
|
|
1340
1340
|
}]), w;
|
|
1341
1341
|
}(t.default.PureComponent), We;
|
|
1342
1342
|
}
|
|
1343
|
-
var
|
|
1343
|
+
var Re = {}, dr;
|
|
1344
1344
|
function Dn() {
|
|
1345
|
-
if (dr) return
|
|
1345
|
+
if (dr) return Re;
|
|
1346
1346
|
dr = 1;
|
|
1347
1347
|
function e(v) {
|
|
1348
1348
|
"@babel/helpers - typeof";
|
|
@@ -1352,9 +1352,9 @@ function Dn() {
|
|
|
1352
1352
|
return b && typeof Symbol == "function" && b.constructor === Symbol && b !== Symbol.prototype ? "symbol" : typeof b;
|
|
1353
1353
|
}, e(v);
|
|
1354
1354
|
}
|
|
1355
|
-
Object.defineProperty(
|
|
1355
|
+
Object.defineProperty(Re, "__esModule", {
|
|
1356
1356
|
value: !0
|
|
1357
|
-
}),
|
|
1357
|
+
}), Re.PrevArrow = Re.NextArrow = void 0;
|
|
1358
1358
|
var t = a(q), r = a(yt()), i = Ke();
|
|
1359
1359
|
function a(v) {
|
|
1360
1360
|
return v && v.__esModule ? v : { default: v };
|
|
@@ -1463,7 +1463,7 @@ function Dn() {
|
|
|
1463
1463
|
return b.__proto__ || Object.getPrototypeOf(b);
|
|
1464
1464
|
}, V(v);
|
|
1465
1465
|
}
|
|
1466
|
-
return
|
|
1466
|
+
return Re.PrevArrow = /* @__PURE__ */ function(v) {
|
|
1467
1467
|
P(w, v);
|
|
1468
1468
|
var b = I(w);
|
|
1469
1469
|
function w() {
|
|
@@ -1502,7 +1502,7 @@ function Dn() {
|
|
|
1502
1502
|
}, O), " ", "Previous"), R;
|
|
1503
1503
|
}
|
|
1504
1504
|
}]), w;
|
|
1505
|
-
}(t.default.PureComponent),
|
|
1505
|
+
}(t.default.PureComponent), Re.NextArrow = /* @__PURE__ */ function(v) {
|
|
1506
1506
|
P(w, v);
|
|
1507
1507
|
var b = I(w);
|
|
1508
1508
|
function w() {
|
|
@@ -1541,7 +1541,7 @@ function Dn() {
|
|
|
1541
1541
|
}, O), " ", "Next"), R;
|
|
1542
1542
|
}
|
|
1543
1543
|
}]), w;
|
|
1544
|
-
}(t.default.PureComponent),
|
|
1544
|
+
}(t.default.PureComponent), Re;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Nr = function() {
|
|
1547
1547
|
if (typeof Map < "u")
|
|
@@ -3738,11 +3738,11 @@ var Xi = function(t) {
|
|
|
3738
3738
|
"svg",
|
|
3739
3739
|
"text",
|
|
3740
3740
|
"tspan"
|
|
3741
|
-
],
|
|
3741
|
+
], Pe = ta.bind(null);
|
|
3742
3742
|
ra.forEach(function(e) {
|
|
3743
|
-
|
|
3743
|
+
Pe[e] = Pe(e);
|
|
3744
3744
|
});
|
|
3745
|
-
const na =
|
|
3745
|
+
const na = Pe.div`
|
|
3746
3746
|
width: 100%;
|
|
3747
3747
|
height: fit-content;
|
|
3748
3748
|
|
|
@@ -3818,7 +3818,7 @@ const na = Re.div`
|
|
|
3818
3818
|
opacity: 0.75;
|
|
3819
3819
|
color: black;
|
|
3820
3820
|
}
|
|
3821
|
-
`, ia =
|
|
3821
|
+
`, ia = Pe.div`
|
|
3822
3822
|
box-sizing: border-box;
|
|
3823
3823
|
display: flex;
|
|
3824
3824
|
flex-direction: column;
|
|
@@ -3831,7 +3831,7 @@ const na = Re.div`
|
|
|
3831
3831
|
box-sizing: border-box;
|
|
3832
3832
|
display: flex;
|
|
3833
3833
|
}
|
|
3834
|
-
`,
|
|
3834
|
+
`, es = ({
|
|
3835
3835
|
styles: e,
|
|
3836
3836
|
content: t,
|
|
3837
3837
|
settings: r,
|
|
@@ -3877,7 +3877,7 @@ const na = Re.div`
|
|
|
3877
3877
|
return q.useEffect(() => {
|
|
3878
3878
|
g();
|
|
3879
3879
|
}, [c, u]), /* @__PURE__ */ K.jsx(na, { ref: c, styles: { ...e }, children: h.length > 0 && /* @__PURE__ */ K.jsx(oi, { ...l, slidesToShow: a, children: h }) });
|
|
3880
|
-
},
|
|
3880
|
+
}, ts = ({
|
|
3881
3881
|
checked: e,
|
|
3882
3882
|
onToggle: t,
|
|
3883
3883
|
styles: r,
|
|
@@ -3911,7 +3911,7 @@ const na = Re.div`
|
|
|
3911
3911
|
]
|
|
3912
3912
|
}
|
|
3913
3913
|
);
|
|
3914
|
-
},
|
|
3914
|
+
}, rs = (e) => Ir(e, []), aa = () => {
|
|
3915
3915
|
const [e, t] = q.useState(
|
|
3916
3916
|
{}
|
|
3917
3917
|
), [r, i] = q.useState(!1);
|
|
@@ -3985,7 +3985,7 @@ const na = Re.div`
|
|
|
3985
3985
|
}, [c]), q.useEffect(() => {
|
|
3986
3986
|
u !== s.current && (s.current = u, u || x());
|
|
3987
3987
|
}, [u, s.current]);
|
|
3988
|
-
},
|
|
3988
|
+
}, ns = () => {
|
|
3989
3989
|
const e = (u, l) => {
|
|
3990
3990
|
let h = 0, g = `${u}`;
|
|
3991
3991
|
for (const x in l) {
|
|
@@ -4028,7 +4028,7 @@ const na = Re.div`
|
|
|
4028
4028
|
}
|
|
4029
4029
|
};
|
|
4030
4030
|
};
|
|
4031
|
-
function
|
|
4031
|
+
function is(e) {
|
|
4032
4032
|
const [t, r] = Ar(!1), i = q.useMemo(
|
|
4033
4033
|
() => new IntersectionObserver(
|
|
4034
4034
|
([a]) => r(a.isIntersecting)
|
|
@@ -4044,7 +4044,7 @@ const sa = {
|
|
|
4044
4044
|
lg: 991,
|
|
4045
4045
|
xl: 1200,
|
|
4046
4046
|
xxl: 1440
|
|
4047
|
-
},
|
|
4047
|
+
}, as = (e) => {
|
|
4048
4048
|
const t = {
|
|
4049
4049
|
...sa,
|
|
4050
4050
|
...e?.breakpointConfiguration
|
|
@@ -4059,7 +4059,7 @@ const sa = {
|
|
|
4059
4059
|
}, la = (e, t) => e < t.sm ? "xs" : e < t.md ? "sm" : e < t.lg ? "md" : e < t.xl ? "lg" : e < t.xxl ? "xl" : "xxl", ua = (e, t) => e <= t.sm ? "mobile" : e <= t.md ? "tablet" : "desktop", Er = (e) => {
|
|
4060
4060
|
const t = window.innerWidth, r = window.innerHeight, i = la(t, e), a = ua(t, e);
|
|
4061
4061
|
return { currentWidth: t, currentHeight: r, currentBreakpoint: i, currentSize: a };
|
|
4062
|
-
},
|
|
4062
|
+
}, os = (e) => {
|
|
4063
4063
|
const t = e.translations, r = e.language, i = (s, c) => {
|
|
4064
4064
|
if (!s)
|
|
4065
4065
|
return;
|
|
@@ -5855,7 +5855,7 @@ const Sn = q.createContext({
|
|
|
5855
5855
|
remove: u,
|
|
5856
5856
|
removeMany: l
|
|
5857
5857
|
};
|
|
5858
|
-
},
|
|
5858
|
+
}, ss = () => {
|
|
5859
5859
|
const e = Kt(), t = ke(), r = Ao(), i = Yt(Sn), a = (u) => {
|
|
5860
5860
|
const l = new URL(u.path, "http://dummy-base");
|
|
5861
5861
|
return u.params && Object.entries(u.params).forEach(([h, g]) => {
|
|
@@ -5881,7 +5881,7 @@ const Sn = q.createContext({
|
|
|
5881
5881
|
goBack: c,
|
|
5882
5882
|
goTo: s
|
|
5883
5883
|
};
|
|
5884
|
-
},
|
|
5884
|
+
}, ls = ({
|
|
5885
5885
|
isReady: e = !0,
|
|
5886
5886
|
routes: t,
|
|
5887
5887
|
children: r
|
|
@@ -5924,7 +5924,7 @@ const Sn = q.createContext({
|
|
|
5924
5924
|
hideItem: () => {
|
|
5925
5925
|
}
|
|
5926
5926
|
}
|
|
5927
|
-
),
|
|
5927
|
+
), us = ({ children: e }) => {
|
|
5928
5928
|
const t = q.useRef([]), [r, i] = q.useState([]), a = q.useCallback((l) => {
|
|
5929
5929
|
t.current = l, i(l);
|
|
5930
5930
|
}, []), s = q.useCallback((l) => t.current.some((h) => h === l), []), c = q.useCallback(
|
|
@@ -5992,7 +5992,7 @@ const Sn = q.createContext({
|
|
|
5992
5992
|
drawerBottomDistance: h,
|
|
5993
5993
|
handleRef: l
|
|
5994
5994
|
};
|
|
5995
|
-
},
|
|
5995
|
+
}, cs = (e) => {
|
|
5996
5996
|
const { children: t, backgroundStyles: r, contentStyles: i, handle: a } = e, {
|
|
5997
5997
|
isVisible: s,
|
|
5998
5998
|
drawerParentRef: c,
|
|
@@ -6087,7 +6087,7 @@ const Sn = q.createContext({
|
|
|
6087
6087
|
[e]
|
|
6088
6088
|
), a = q.useCallback(
|
|
6089
6089
|
(c) => {
|
|
6090
|
-
c.preventDefault();
|
|
6090
|
+
c.preventDefault(), c.stopPropagation();
|
|
6091
6091
|
const u = i(c);
|
|
6092
6092
|
e?.(u);
|
|
6093
6093
|
},
|
|
@@ -6100,7 +6100,22 @@ const Sn = q.createContext({
|
|
|
6100
6100
|
},
|
|
6101
6101
|
handleFormSubmission: a
|
|
6102
6102
|
};
|
|
6103
|
-
},
|
|
6103
|
+
}, No = Pe.div`
|
|
6104
|
+
display: flex;
|
|
6105
|
+
width: 100%;
|
|
6106
|
+
align-items: center;
|
|
6107
|
+
justify-content: center;
|
|
6108
|
+
background: none;
|
|
6109
|
+
border: none;
|
|
6110
|
+
margin: 0;
|
|
6111
|
+
padding: 0;
|
|
6112
|
+
|
|
6113
|
+
${({ styles: e }) => e && { ...e }}
|
|
6114
|
+
|
|
6115
|
+
> * {
|
|
6116
|
+
pointer-events: none;
|
|
6117
|
+
}
|
|
6118
|
+
`, fs = (e) => {
|
|
6104
6119
|
const { fields: t, styles: r, submitButton: i } = e, { ref: a, handleFormSubmission: s, submitForm: c } = Ho(e), u = q.useCallback(() => t.map((l) => ({ ...l.content, key: l.name })), [t]);
|
|
6105
6120
|
return /* @__PURE__ */ K.jsxs(
|
|
6106
6121
|
"form",
|
|
@@ -6118,14 +6133,10 @@ const Sn = q.createContext({
|
|
|
6118
6133
|
children: [
|
|
6119
6134
|
u(),
|
|
6120
6135
|
/* @__PURE__ */ K.jsx(
|
|
6121
|
-
|
|
6136
|
+
No,
|
|
6122
6137
|
{
|
|
6123
6138
|
onClick: c,
|
|
6124
|
-
|
|
6125
|
-
display: "flex",
|
|
6126
|
-
width: "100%",
|
|
6127
|
-
alignItems: "center",
|
|
6128
|
-
justifyContent: "center",
|
|
6139
|
+
styles: {
|
|
6129
6140
|
...i.styles
|
|
6130
6141
|
},
|
|
6131
6142
|
children: i.content
|
|
@@ -6134,7 +6145,7 @@ const Sn = q.createContext({
|
|
|
6134
6145
|
]
|
|
6135
6146
|
}
|
|
6136
6147
|
);
|
|
6137
|
-
},
|
|
6148
|
+
}, ds = ({ src: e, alt: t = "", onClick: r, styles: i }) => /* @__PURE__ */ K.jsx(
|
|
6138
6149
|
"img",
|
|
6139
6150
|
{
|
|
6140
6151
|
src: e,
|
|
@@ -6153,7 +6164,7 @@ const Sn = q.createContext({
|
|
|
6153
6164
|
r?.();
|
|
6154
6165
|
}
|
|
6155
6166
|
}
|
|
6156
|
-
),
|
|
6167
|
+
), Fo = Pe.div`
|
|
6157
6168
|
display: flex;
|
|
6158
6169
|
flex-direction: column;
|
|
6159
6170
|
font-family: inherit;
|
|
@@ -6171,7 +6182,7 @@ const Sn = q.createContext({
|
|
|
6171
6182
|
input:-webkit-autofill {
|
|
6172
6183
|
background-color: #00000000;
|
|
6173
6184
|
}
|
|
6174
|
-
`,
|
|
6185
|
+
`, hs = ({
|
|
6175
6186
|
name: e,
|
|
6176
6187
|
label: t,
|
|
6177
6188
|
leftIcon: r,
|
|
@@ -6195,7 +6206,7 @@ const Sn = q.createContext({
|
|
|
6195
6206
|
N.preventDefault(), N.stopPropagation(), x?.();
|
|
6196
6207
|
};
|
|
6197
6208
|
return /* @__PURE__ */ K.jsxs(
|
|
6198
|
-
|
|
6209
|
+
Fo,
|
|
6199
6210
|
{
|
|
6200
6211
|
style: {
|
|
6201
6212
|
width: "100%",
|
|
@@ -6265,7 +6276,7 @@ const Sn = q.createContext({
|
|
|
6265
6276
|
]
|
|
6266
6277
|
}
|
|
6267
6278
|
);
|
|
6268
|
-
},
|
|
6279
|
+
}, ps = ({ id: e, styles: t, children: r }) => {
|
|
6269
6280
|
const { isItemVisible: i } = Ct();
|
|
6270
6281
|
return /* @__PURE__ */ K.jsx(K.Fragment, { children: i(e) && /* @__PURE__ */ K.jsx(
|
|
6271
6282
|
"div",
|
|
@@ -6286,7 +6297,7 @@ const Sn = q.createContext({
|
|
|
6286
6297
|
children: r
|
|
6287
6298
|
}
|
|
6288
6299
|
) });
|
|
6289
|
-
},
|
|
6300
|
+
}, ms = ({
|
|
6290
6301
|
id: e,
|
|
6291
6302
|
children: t,
|
|
6292
6303
|
backgroundStyles: r,
|
|
@@ -6344,7 +6355,7 @@ const Sn = q.createContext({
|
|
|
6344
6355
|
)
|
|
6345
6356
|
}
|
|
6346
6357
|
) });
|
|
6347
|
-
},
|
|
6358
|
+
}, Wo = (e) => {
|
|
6348
6359
|
const t = q.useRef(null), r = q.useRef(null), [i, a] = q.useState(24), [s, c] = q.useState(24), u = q.useCallback(() => {
|
|
6349
6360
|
t.current && a(t.current.clientHeight);
|
|
6350
6361
|
}, [t, t.current]), l = q.useCallback(() => {
|
|
@@ -6374,7 +6385,7 @@ const Sn = q.createContext({
|
|
|
6374
6385
|
extraHeight: h()
|
|
6375
6386
|
}
|
|
6376
6387
|
};
|
|
6377
|
-
},
|
|
6388
|
+
}, Uo = Pe.div`
|
|
6378
6389
|
min-height: 100%;
|
|
6379
6390
|
max-height: 100%;
|
|
6380
6391
|
width: 100%;
|
|
@@ -6394,7 +6405,7 @@ const Sn = q.createContext({
|
|
|
6394
6405
|
box-sizing: border-box;
|
|
6395
6406
|
position: relative;
|
|
6396
6407
|
}
|
|
6397
|
-
`,
|
|
6408
|
+
`, vs = (e) => {
|
|
6398
6409
|
const {
|
|
6399
6410
|
containerStyles: t,
|
|
6400
6411
|
pageStyles: r,
|
|
@@ -6402,9 +6413,9 @@ const Sn = q.createContext({
|
|
|
6402
6413
|
allowScroll: a = !0,
|
|
6403
6414
|
floatingContent: s,
|
|
6404
6415
|
reserveSpaceForScrollbar: c
|
|
6405
|
-
} = e, { footer: u, header: l } =
|
|
6416
|
+
} = e, { footer: u, header: l } = Wo(e);
|
|
6406
6417
|
return /* @__PURE__ */ K.jsxs(
|
|
6407
|
-
|
|
6418
|
+
Uo,
|
|
6408
6419
|
{
|
|
6409
6420
|
id: "page-container",
|
|
6410
6421
|
styles: {
|
|
@@ -6492,7 +6503,7 @@ const Sn = q.createContext({
|
|
|
6492
6503
|
]
|
|
6493
6504
|
}
|
|
6494
6505
|
);
|
|
6495
|
-
},
|
|
6506
|
+
}, gs = ({
|
|
6496
6507
|
src: e,
|
|
6497
6508
|
width: t = "22",
|
|
6498
6509
|
height: r = "28",
|
|
@@ -6530,7 +6541,7 @@ const Sn = q.createContext({
|
|
|
6530
6541
|
}
|
|
6531
6542
|
)
|
|
6532
6543
|
}
|
|
6533
|
-
),
|
|
6544
|
+
), Yo = Pe.div`
|
|
6534
6545
|
display: flex;
|
|
6535
6546
|
flex-direction: column;
|
|
6536
6547
|
font-family: inherit;
|
|
@@ -6552,7 +6563,7 @@ const Sn = q.createContext({
|
|
|
6552
6563
|
textarea::-webkit-scrollbar-thumb:hover {
|
|
6553
6564
|
background: #555; /* hover */
|
|
6554
6565
|
}
|
|
6555
|
-
`,
|
|
6566
|
+
`, ys = ({
|
|
6556
6567
|
name: e,
|
|
6557
6568
|
label: t,
|
|
6558
6569
|
leftIcon: r,
|
|
@@ -6573,7 +6584,7 @@ const Sn = q.createContext({
|
|
|
6573
6584
|
p.preventDefault(), p.stopPropagation(), h?.();
|
|
6574
6585
|
};
|
|
6575
6586
|
return /* @__PURE__ */ K.jsxs(
|
|
6576
|
-
|
|
6587
|
+
Yo,
|
|
6577
6588
|
{
|
|
6578
6589
|
style: {
|
|
6579
6590
|
width: "100%",
|
|
@@ -6638,7 +6649,7 @@ const Sn = q.createContext({
|
|
|
6638
6649
|
]
|
|
6639
6650
|
}
|
|
6640
6651
|
);
|
|
6641
|
-
},
|
|
6652
|
+
}, bs = ({
|
|
6642
6653
|
id: e,
|
|
6643
6654
|
children: t,
|
|
6644
6655
|
styles: r,
|
|
@@ -6675,7 +6686,7 @@ const Sn = q.createContext({
|
|
|
6675
6686
|
children: t
|
|
6676
6687
|
}
|
|
6677
6688
|
) });
|
|
6678
|
-
},
|
|
6689
|
+
}, ws = ({
|
|
6679
6690
|
overflowEllipsis: e,
|
|
6680
6691
|
maxNumberOfLines: t,
|
|
6681
6692
|
children: r,
|
|
@@ -6704,7 +6715,7 @@ const Sn = q.createContext({
|
|
|
6704
6715
|
children: r
|
|
6705
6716
|
}
|
|
6706
6717
|
);
|
|
6707
|
-
class
|
|
6718
|
+
class Ss {
|
|
6708
6719
|
static isScrollEnabled = () => document.body.style.overflow === "unset" || document.body.style.overflow === "auto";
|
|
6709
6720
|
static disableScroll = () => {
|
|
6710
6721
|
document.body.style.overflow = "hidden";
|
|
@@ -6713,18 +6724,18 @@ class ws {
|
|
|
6713
6724
|
document.body.style.overflow = "unset";
|
|
6714
6725
|
};
|
|
6715
6726
|
}
|
|
6716
|
-
class
|
|
6727
|
+
class xs {
|
|
6717
6728
|
static getPascalCase = (t) => t.replace(/\w+/g, function(r) {
|
|
6718
6729
|
return r[0].toUpperCase() + r.slice(1).toLowerCase();
|
|
6719
6730
|
});
|
|
6720
6731
|
static isEqual = (t, r, i = !0) => i ? t === r : t.toUpperCase() === r.toUpperCase();
|
|
6721
6732
|
}
|
|
6722
|
-
var ft = { exports: {} },
|
|
6723
|
-
function
|
|
6733
|
+
var ft = { exports: {} }, qo = ft.exports, Mr;
|
|
6734
|
+
function Bo() {
|
|
6724
6735
|
return Mr || (Mr = 1, function(e, t) {
|
|
6725
6736
|
(function(r, i) {
|
|
6726
6737
|
e.exports = i();
|
|
6727
|
-
})(
|
|
6738
|
+
})(qo, function() {
|
|
6728
6739
|
var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", u = "minute", l = "hour", h = "day", g = "week", x = "month", j = "quarter", M = "year", P = "date", p = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, C = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, N = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
|
|
6729
6740
|
var k = ["th", "st", "nd", "rd"], T = _ % 100;
|
|
6730
6741
|
return "[" + _ + (k[(T - 20) % 10] || k[T] || k[0]) + "]";
|
|
@@ -6997,14 +7008,14 @@ function qo() {
|
|
|
6997
7008
|
});
|
|
6998
7009
|
}(ft)), ft.exports;
|
|
6999
7010
|
}
|
|
7000
|
-
var
|
|
7001
|
-
const dt = /* @__PURE__ */ qt(
|
|
7002
|
-
var ht = { exports: {} },
|
|
7003
|
-
function
|
|
7011
|
+
var Vo = Bo();
|
|
7012
|
+
const dt = /* @__PURE__ */ qt(Vo);
|
|
7013
|
+
var ht = { exports: {} }, Xo = ht.exports, $r;
|
|
7014
|
+
function Go() {
|
|
7004
7015
|
return $r || ($r = 1, function(e, t) {
|
|
7005
7016
|
(function(r, i) {
|
|
7006
7017
|
e.exports = i();
|
|
7007
|
-
})(
|
|
7018
|
+
})(Xo, function() {
|
|
7008
7019
|
var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, a = /([+-]|\d\d)/g;
|
|
7009
7020
|
return function(s, c, u) {
|
|
7010
7021
|
var l = c.prototype;
|
|
@@ -7074,10 +7085,10 @@ function Xo() {
|
|
|
7074
7085
|
});
|
|
7075
7086
|
}(ht)), ht.exports;
|
|
7076
7087
|
}
|
|
7077
|
-
var
|
|
7078
|
-
const
|
|
7079
|
-
dt.extend(
|
|
7080
|
-
class
|
|
7088
|
+
var Ko = Go();
|
|
7089
|
+
const Jo = /* @__PURE__ */ qt(Ko);
|
|
7090
|
+
dt.extend(Jo);
|
|
7091
|
+
class Os {
|
|
7081
7092
|
static waitForMilliseconds = (t) => new Promise((r) => setTimeout(r, t));
|
|
7082
7093
|
static waitForCondition = (t) => new Promise((r) => {
|
|
7083
7094
|
const i = () => {
|
|
@@ -7115,33 +7126,33 @@ class xs {
|
|
|
7115
7126
|
static formatDateUTC = (t, r) => t ? dt.utc(t).format(r || "DD/MM/YYYYㆍHH:mm") : "";
|
|
7116
7127
|
}
|
|
7117
7128
|
export {
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7129
|
+
Qo as Button,
|
|
7130
|
+
es as Carousel,
|
|
7131
|
+
ts as Checkbox,
|
|
7132
|
+
cs as Drawer,
|
|
7133
|
+
us as FeedbackProvider,
|
|
7134
|
+
fs as Form,
|
|
7135
|
+
ds as Image,
|
|
7136
|
+
hs as InputField,
|
|
7137
|
+
ps as Loader,
|
|
7138
|
+
ms as Modal,
|
|
7139
|
+
ls as NavigationProvider,
|
|
7140
|
+
vs as PageLayout,
|
|
7141
|
+
Ss as ScrollHelper,
|
|
7142
|
+
gs as SvgImage,
|
|
7143
|
+
ys as TextAreaField,
|
|
7144
|
+
xs as TextHelper,
|
|
7145
|
+
Os as TimeHelper,
|
|
7146
|
+
bs as Toast,
|
|
7147
|
+
ws as Typography,
|
|
7137
7148
|
sa as defaultBreakpoints,
|
|
7138
|
-
|
|
7149
|
+
rs as useDidMount,
|
|
7139
7150
|
oa as useDrag,
|
|
7140
7151
|
Ct as useFeedback,
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7152
|
+
ns as useFetch,
|
|
7153
|
+
ss as useNavigation,
|
|
7154
|
+
is as useOnScreen,
|
|
7144
7155
|
aa as usePointer,
|
|
7145
|
-
|
|
7146
|
-
|
|
7156
|
+
as as useResponsive,
|
|
7157
|
+
os as useTranslations
|
|
7147
7158
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eliseubatista99/react-scaffold-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.66",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A library which provides basic components, hooks, helpers and providers to easily build a React application and avoid repeating the usual code.",
|
|
6
6
|
"main": "dist/index.cjs.js",
|