@data-c/ui 0.2.69 → 0.2.81
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.js +70 -67
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +89 -86
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -3
package/dist/index.mjs
CHANGED
|
@@ -1735,12 +1735,10 @@ function ColorsGrid() {
|
|
|
1735
1735
|
}
|
|
1736
1736
|
|
|
1737
1737
|
// src/DataTableOptions/index.tsx
|
|
1738
|
-
import
|
|
1739
|
-
import
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
GetApp
|
|
1743
|
-
} from "@mui/icons-material";
|
|
1738
|
+
import DeleteIcon from "@mui/icons-material/Delete";
|
|
1739
|
+
import Editicon from "@mui/icons-material/Edit";
|
|
1740
|
+
import GetApp from "@mui/icons-material/GetApp";
|
|
1741
|
+
import { Badge, Box as Box3, Icon as Icon2, IconButton } from "@mui/material";
|
|
1744
1742
|
|
|
1745
1743
|
// src/Tooltip/index.tsx
|
|
1746
1744
|
import {
|
|
@@ -1931,9 +1929,9 @@ DataTableOptions.defaultProps = {
|
|
|
1931
1929
|
};
|
|
1932
1930
|
|
|
1933
1931
|
// src/FilterControl/index.tsx
|
|
1932
|
+
import RestartAlt from "@mui/icons-material/RestartAlt";
|
|
1934
1933
|
import { Box as Box4, Chip, IconButton as IconButton2 } from "@mui/material";
|
|
1935
|
-
import {
|
|
1936
|
-
import { useFilterData, useFilterApi } from "@data-c/providers";
|
|
1934
|
+
import { useFilterApi, useFilterData } from "@data-c/providers";
|
|
1937
1935
|
import { useCallback, useMemo } from "react";
|
|
1938
1936
|
import { jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
1939
1937
|
function FilterControl(props) {
|
|
@@ -2055,19 +2053,20 @@ function FilterControl(props) {
|
|
|
2055
2053
|
// src/FilterContainer/index.tsx
|
|
2056
2054
|
import { useEffect } from "react";
|
|
2057
2055
|
import { useFilterApi as useFilterApi2, useFilterData as useFilterData2 } from "@data-c/providers";
|
|
2058
|
-
import
|
|
2056
|
+
import RestartAlt2 from "@mui/icons-material/RestartAlt";
|
|
2057
|
+
import SearchIcon from "@mui/icons-material/Search";
|
|
2059
2058
|
import { Box as Box6, Button as Button2, Stack as Stack3 } from "@mui/material";
|
|
2060
2059
|
|
|
2061
2060
|
// src/DrawerContainer/index.tsx
|
|
2061
|
+
import CancelIcon from "@mui/icons-material/Cancel";
|
|
2062
2062
|
import {
|
|
2063
2063
|
Box as Box5,
|
|
2064
|
-
Stack as Stack2,
|
|
2065
|
-
Drawer as MuiDrawer,
|
|
2066
|
-
Typography as Typography2,
|
|
2067
2064
|
IconButton as IconButton3,
|
|
2068
|
-
|
|
2065
|
+
Drawer as MuiDrawer,
|
|
2066
|
+
Stack as Stack2,
|
|
2067
|
+
Toolbar,
|
|
2068
|
+
Typography as Typography2
|
|
2069
2069
|
} from "@mui/material";
|
|
2070
|
-
import { Cancel as CancelIcon2 } from "@mui/icons-material";
|
|
2071
2070
|
import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
2072
2071
|
function DrawerContainer(props) {
|
|
2073
2072
|
const { drawerTitle, actions, onClose, children, ...rest } = props;
|
|
@@ -2116,7 +2115,7 @@ function DrawerContainer(props) {
|
|
|
2116
2115
|
children: drawerTitle
|
|
2117
2116
|
}
|
|
2118
2117
|
),
|
|
2119
|
-
onClose && /* @__PURE__ */ jsx8(IconButton3, { onClick: onClose, children: /* @__PURE__ */ jsx8(
|
|
2118
|
+
onClose && /* @__PURE__ */ jsx8(IconButton3, { onClick: onClose, children: /* @__PURE__ */ jsx8(CancelIcon, { color: "error" }) })
|
|
2120
2119
|
]
|
|
2121
2120
|
}
|
|
2122
2121
|
),
|
|
@@ -2270,7 +2269,7 @@ FilterContainer.defaultProps = {
|
|
|
2270
2269
|
};
|
|
2271
2270
|
|
|
2272
2271
|
// src/Flag/index.tsx
|
|
2273
|
-
import
|
|
2272
|
+
import Circle from "@mui/icons-material/Circle";
|
|
2274
2273
|
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
2275
2274
|
function Flag(props) {
|
|
2276
2275
|
const { isFlagged, type } = props;
|
|
@@ -2310,27 +2309,30 @@ function LabelValue(props) {
|
|
|
2310
2309
|
}
|
|
2311
2310
|
|
|
2312
2311
|
// src/PageTitle/index.tsx
|
|
2313
|
-
import
|
|
2312
|
+
import ArrowBack from "@mui/icons-material/ArrowBack";
|
|
2313
|
+
import Close from "@mui/icons-material/Close";
|
|
2314
2314
|
import {
|
|
2315
2315
|
Box as Box8,
|
|
2316
2316
|
IconButton as IconButton5,
|
|
2317
2317
|
Stack as Stack6,
|
|
2318
|
+
Toolbar as Toolbar2,
|
|
2318
2319
|
Typography as Typography5,
|
|
2319
|
-
useMediaQuery
|
|
2320
|
-
Toolbar as Toolbar2
|
|
2320
|
+
useMediaQuery
|
|
2321
2321
|
} from "@mui/material";
|
|
2322
|
-
import {
|
|
2322
|
+
import { useEffect as useEffect3, useRef, useState as useState2 } from "react";
|
|
2323
2323
|
|
|
2324
2324
|
// src/Editable/index.tsx
|
|
2325
|
-
import
|
|
2325
|
+
import Cancel from "@mui/icons-material/Cancel";
|
|
2326
|
+
import Edit from "@mui/icons-material/Edit";
|
|
2327
|
+
import Save from "@mui/icons-material/Save";
|
|
2326
2328
|
import {
|
|
2327
|
-
|
|
2328
|
-
TextField,
|
|
2329
|
-
Typography as Typography4,
|
|
2330
|
-
IconButton as IconButton4,
|
|
2329
|
+
CircularProgress as CircularProgress2,
|
|
2331
2330
|
ClickAwayListener,
|
|
2331
|
+
IconButton as IconButton4,
|
|
2332
2332
|
InputAdornment,
|
|
2333
|
-
|
|
2333
|
+
Stack as Stack5,
|
|
2334
|
+
TextField,
|
|
2335
|
+
Typography as Typography4
|
|
2334
2336
|
} from "@mui/material";
|
|
2335
2337
|
import { useEffect as useEffect2, useState } from "react";
|
|
2336
2338
|
import { Fragment as Fragment3, jsx as jsx12, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
@@ -2449,8 +2451,8 @@ function Editable(props) {
|
|
|
2449
2451
|
}
|
|
2450
2452
|
|
|
2451
2453
|
// src/SearchTextField/index.tsx
|
|
2454
|
+
import Search from "@mui/icons-material/Search";
|
|
2452
2455
|
import { InputAdornment as InputAdornment2, TextField as TextField2 } from "@mui/material";
|
|
2453
|
-
import { Search } from "@mui/icons-material";
|
|
2454
2456
|
import _ from "lodash";
|
|
2455
2457
|
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
2456
2458
|
function SearchTextField(props) {
|
|
@@ -2636,12 +2638,14 @@ function Header(props) {
|
|
|
2636
2638
|
|
|
2637
2639
|
// src/MioAuth/components/LoginForm/index.tsx
|
|
2638
2640
|
import { useState as useState5 } from "react";
|
|
2639
|
-
import { Alert as Alert3, Divider as Divider3, Stack as Stack14, TextField as TextField5, Typography as Typography10 } from "@mui/material";
|
|
2640
|
-
import { isAxiosError as isAxiosError2 } from "axios";
|
|
2641
2641
|
import {
|
|
2642
|
-
|
|
2643
|
-
|
|
2642
|
+
useCredentials as useCredentials2,
|
|
2643
|
+
useValidations as useValidations2
|
|
2644
2644
|
} from "@data-c/hooks";
|
|
2645
|
+
import { Alert as Alert3, Divider as Divider3, Stack as Stack14, TextField as TextField4, Typography as Typography10 } from "@mui/material";
|
|
2646
|
+
import { isAxiosError as isAxiosError2 } from "axios";
|
|
2647
|
+
import Mail from "@mui/icons-material/Mail";
|
|
2648
|
+
import WhatsApp from "@mui/icons-material/WhatsApp";
|
|
2645
2649
|
|
|
2646
2650
|
// ../../node_modules/yup/index.esm.js
|
|
2647
2651
|
var import_property_expr = __toESM(require_property_expr());
|
|
@@ -5059,13 +5063,14 @@ import { useEffect as useEffect4 } from "react";
|
|
|
5059
5063
|
import isStrongPassword from "validator/lib/isStrongPassword";
|
|
5060
5064
|
|
|
5061
5065
|
// src/PasswordTextField/index.tsx
|
|
5062
|
-
import
|
|
5063
|
-
import
|
|
5066
|
+
import Visibility from "@mui/icons-material/Visibility";
|
|
5067
|
+
import VisibilityOff from "@mui/icons-material/VisibilityOff";
|
|
5064
5068
|
import {
|
|
5065
5069
|
IconButton as IconButton6,
|
|
5066
|
-
InputAdornment as
|
|
5067
|
-
TextField as
|
|
5070
|
+
InputAdornment as InputAdornment3,
|
|
5071
|
+
TextField as TextField3
|
|
5068
5072
|
} from "@mui/material";
|
|
5073
|
+
import { useState as useState3 } from "react";
|
|
5069
5074
|
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
5070
5075
|
function PasswordTextField(props) {
|
|
5071
5076
|
const { name, label, value, onChange, onKeyDown } = props;
|
|
@@ -5074,7 +5079,7 @@ function PasswordTextField(props) {
|
|
|
5074
5079
|
setShowPassword(!showPassword);
|
|
5075
5080
|
}
|
|
5076
5081
|
return /* @__PURE__ */ jsx17(
|
|
5077
|
-
|
|
5082
|
+
TextField3,
|
|
5078
5083
|
{
|
|
5079
5084
|
name,
|
|
5080
5085
|
label,
|
|
@@ -5083,7 +5088,7 @@ function PasswordTextField(props) {
|
|
|
5083
5088
|
onKeyDown,
|
|
5084
5089
|
type: showPassword ? "text" : "password",
|
|
5085
5090
|
InputProps: {
|
|
5086
|
-
endAdornment: /* @__PURE__ */ jsx17(
|
|
5091
|
+
endAdornment: /* @__PURE__ */ jsx17(InputAdornment3, { position: "end", children: /* @__PURE__ */ jsx17(
|
|
5087
5092
|
IconButton6,
|
|
5088
5093
|
{
|
|
5089
5094
|
tabIndex: -1,
|
|
@@ -5110,7 +5115,7 @@ function DialogActionCancelar({
|
|
|
5110
5115
|
}
|
|
5111
5116
|
|
|
5112
5117
|
// src/v2/Dialog/DialogActionClose.tsx
|
|
5113
|
-
import
|
|
5118
|
+
import CloseIcon from "@mui/icons-material/Close";
|
|
5114
5119
|
import { IconButton as IconButton7 } from "@mui/material";
|
|
5115
5120
|
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
5116
5121
|
function DialogActionClose({ onClose }) {
|
|
@@ -5388,8 +5393,8 @@ var Dialog2 = {
|
|
|
5388
5393
|
var Dialog_default = Dialog2;
|
|
5389
5394
|
|
|
5390
5395
|
// src/AlterarSenha/components/ValidatorMessage/index.tsx
|
|
5396
|
+
import Circle2 from "@mui/icons-material/Circle";
|
|
5391
5397
|
import { Box as Box9, Typography as Typography9, useTheme as useTheme5 } from "@mui/material";
|
|
5392
|
-
import { Circle as Circle2 } from "@mui/icons-material";
|
|
5393
5398
|
import { jsx as jsx31, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
5394
5399
|
function ValidatorMessage(props) {
|
|
5395
5400
|
const { isValid, message } = props;
|
|
@@ -5614,7 +5619,6 @@ function AlterarSenha(props) {
|
|
|
5614
5619
|
}
|
|
5615
5620
|
|
|
5616
5621
|
// src/MioAuth/components/LoginForm/index.tsx
|
|
5617
|
-
import { Mail, WhatsApp } from "@mui/icons-material";
|
|
5618
5622
|
import { jsx as jsx33, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
5619
5623
|
var schema2 = create$3().shape({
|
|
5620
5624
|
email: create$6().required("Informe o e-mail"),
|
|
@@ -5664,7 +5668,7 @@ function LoginForm(props) {
|
|
|
5664
5668
|
spacing: 2,
|
|
5665
5669
|
children: [
|
|
5666
5670
|
/* @__PURE__ */ jsx33(
|
|
5667
|
-
|
|
5671
|
+
TextField4,
|
|
5668
5672
|
{
|
|
5669
5673
|
name: "email",
|
|
5670
5674
|
label: "E-mail",
|
|
@@ -5787,7 +5791,7 @@ function LoginForm(props) {
|
|
|
5787
5791
|
|
|
5788
5792
|
// src/MioAuth/components/EsqueciSenhaForm/index.tsx
|
|
5789
5793
|
import { useState as useState6 } from "react";
|
|
5790
|
-
import { Alert as Alert4, Box as Box10, TextField as
|
|
5794
|
+
import { Alert as Alert4, Box as Box10, TextField as TextField5 } from "@mui/material";
|
|
5791
5795
|
import { useCredentials as useCredentials3, useValidations as useValidations3 } from "@data-c/hooks";
|
|
5792
5796
|
import { jsx as jsx34, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
5793
5797
|
var schema3 = create$3().shape({
|
|
@@ -5819,7 +5823,7 @@ function EsqueciSenhaForm(props) {
|
|
|
5819
5823
|
}
|
|
5820
5824
|
return /* @__PURE__ */ jsxs16(Box10, { component: "form", children: [
|
|
5821
5825
|
/* @__PURE__ */ jsx34(
|
|
5822
|
-
|
|
5826
|
+
TextField5,
|
|
5823
5827
|
{
|
|
5824
5828
|
name: "email",
|
|
5825
5829
|
label: "E-mail",
|
|
@@ -5893,7 +5897,7 @@ function EsqueciSenhaForm(props) {
|
|
|
5893
5897
|
|
|
5894
5898
|
// src/MioAuth/components/LicencaForm/index.tsx
|
|
5895
5899
|
import { useEffect as useEffect5, useState as useState7 } from "react";
|
|
5896
|
-
import { Box as Box11, MenuItem, TextField as
|
|
5900
|
+
import { Box as Box11, MenuItem, TextField as TextField6 } from "@mui/material";
|
|
5897
5901
|
import { useCredentials as useCredentials4 } from "@data-c/hooks";
|
|
5898
5902
|
import { jsx as jsx35, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
5899
5903
|
function LicencaForm(props) {
|
|
@@ -5920,7 +5924,7 @@ function LicencaForm(props) {
|
|
|
5920
5924
|
}
|
|
5921
5925
|
return /* @__PURE__ */ jsxs17(Box11, { component: "form", sx: { minWidth: "290px" }, children: [
|
|
5922
5926
|
/* @__PURE__ */ jsx35(
|
|
5923
|
-
|
|
5927
|
+
TextField6,
|
|
5924
5928
|
{
|
|
5925
5929
|
label: "Licen\xE7as",
|
|
5926
5930
|
margin: "normal",
|
|
@@ -5954,14 +5958,17 @@ import {
|
|
|
5954
5958
|
} from "@data-c/hooks";
|
|
5955
5959
|
|
|
5956
5960
|
// src/MioAuth/components/OtpForm/index.tsx
|
|
5957
|
-
import { Alert as Alert6, IconButton as IconButton8, Stack as Stack16, TextField as TextField10, Typography as Typography12 } from "@mui/material";
|
|
5958
5961
|
import {
|
|
5962
|
+
useCredentials as useCredentials6,
|
|
5959
5963
|
useForm as useForm2
|
|
5960
5964
|
} from "@data-c/hooks";
|
|
5965
|
+
import HelpOutline from "@mui/icons-material/HelpOutline";
|
|
5966
|
+
import { Alert as Alert6, IconButton as IconButton8, Stack as Stack16, TextField as TextField9, Typography as Typography12 } from "@mui/material";
|
|
5967
|
+
import { useState as useState10 } from "react";
|
|
5961
5968
|
|
|
5962
5969
|
// src/WhastappTextField/index.tsx
|
|
5963
5970
|
import { useState as useState8, useMemo as useMemo2 } from "react";
|
|
5964
|
-
import
|
|
5971
|
+
import TextField7 from "@mui/material/TextField";
|
|
5965
5972
|
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
5966
5973
|
var formatPhone = (value) => {
|
|
5967
5974
|
const digits = value.replace(/\D/g, "");
|
|
@@ -6000,7 +6007,7 @@ function WhatsAppTextField(props) {
|
|
|
6000
6007
|
}
|
|
6001
6008
|
};
|
|
6002
6009
|
return /* @__PURE__ */ jsx36(
|
|
6003
|
-
|
|
6010
|
+
TextField7,
|
|
6004
6011
|
{
|
|
6005
6012
|
value: displayedValue,
|
|
6006
6013
|
onChange: handleChange,
|
|
@@ -6010,10 +6017,6 @@ function WhatsAppTextField(props) {
|
|
|
6010
6017
|
);
|
|
6011
6018
|
}
|
|
6012
6019
|
|
|
6013
|
-
// src/MioAuth/components/OtpForm/index.tsx
|
|
6014
|
-
import { useCredentials as useCredentials6 } from "@data-c/hooks";
|
|
6015
|
-
import { useState as useState10 } from "react";
|
|
6016
|
-
|
|
6017
6020
|
// src/MioAuth/components/OtpForm/DialogVerificarOtp.tsx
|
|
6018
6021
|
import {
|
|
6019
6022
|
useCredentials as useCredentials5
|
|
@@ -6023,7 +6026,7 @@ import { useEffect as useEffect6, useState as useState9 } from "react";
|
|
|
6023
6026
|
|
|
6024
6027
|
// src/VerificationCodeInput/index.tsx
|
|
6025
6028
|
import { useRef as useRef2 } from "react";
|
|
6026
|
-
import { Box as Box12, TextField as
|
|
6029
|
+
import { Box as Box12, TextField as TextField8 } from "@mui/material";
|
|
6027
6030
|
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
6028
6031
|
function VerificationCodeInput({
|
|
6029
6032
|
length = 6,
|
|
@@ -6048,7 +6051,7 @@ function VerificationCodeInput({
|
|
|
6048
6051
|
}
|
|
6049
6052
|
};
|
|
6050
6053
|
return /* @__PURE__ */ jsx37(Box12, { display: "flex", gap: 1, children: Array.from({ length }).map((_5, i) => /* @__PURE__ */ jsx37(
|
|
6051
|
-
|
|
6054
|
+
TextField8,
|
|
6052
6055
|
{
|
|
6053
6056
|
autoFocus: i === 0,
|
|
6054
6057
|
inputRef: (el) => inputsRef.current[i] = el,
|
|
@@ -6161,7 +6164,6 @@ function DialogVerificarOtp(props) {
|
|
|
6161
6164
|
}
|
|
6162
6165
|
|
|
6163
6166
|
// src/MioAuth/components/OtpForm/index.tsx
|
|
6164
|
-
import { HelpOutline } from "@mui/icons-material";
|
|
6165
6167
|
import { Fragment as Fragment4, jsx as jsx39, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
6166
6168
|
var contatoSchema = create$3().shape({
|
|
6167
6169
|
contato: create$6().when("$tipo", ([tipo], schema6) => {
|
|
@@ -6200,7 +6202,7 @@ function OtpForm(props) {
|
|
|
6200
6202
|
/* @__PURE__ */ jsx39("form", { onSubmit: handleSubmit, children: /* @__PURE__ */ jsxs19(Stack16, { spacing: 2, children: [
|
|
6201
6203
|
/* @__PURE__ */ jsx39(Typography12, { variant: "subtitle2", children: tipo === "otp-email" ? " Informe seu e-mail para receber um c\xF3digo de acesso" : "Informe seu n\xFAmero de WhatsApp para receber um c\xF3digo de acesso" }),
|
|
6202
6204
|
tipo === "otp-email" && /* @__PURE__ */ jsx39(
|
|
6203
|
-
|
|
6205
|
+
TextField9,
|
|
6204
6206
|
{
|
|
6205
6207
|
autoFocus: true,
|
|
6206
6208
|
name: "contato",
|
|
@@ -6403,7 +6405,7 @@ function LoginSection(props) {
|
|
|
6403
6405
|
}
|
|
6404
6406
|
|
|
6405
6407
|
// src/MioAuth/components/DefaultBanner/index.tsx
|
|
6406
|
-
import
|
|
6408
|
+
import ArrowRight from "@mui/icons-material/ArrowRight";
|
|
6407
6409
|
import { Link, Stack as Stack18, Typography as Typography14, useMediaQuery as useMediaQuery4, useTheme as useTheme7 } from "@mui/material";
|
|
6408
6410
|
import { jsx as jsx41, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
6409
6411
|
function DefaultBanner() {
|
|
@@ -6554,6 +6556,9 @@ function MioAuth(props) {
|
|
|
6554
6556
|
|
|
6555
6557
|
// src/AlterarLicenca/index.tsx
|
|
6556
6558
|
import { formatDocumento as formatDocumento2, normalizeText } from "@data-c/hooks";
|
|
6559
|
+
import ArrowDropDown from "@mui/icons-material/ArrowDropDown";
|
|
6560
|
+
import { Button as Button12, Stack as Stack44, Typography as Typography26 } from "@mui/material";
|
|
6561
|
+
import { useState as useState25 } from "react";
|
|
6557
6562
|
|
|
6558
6563
|
// src/v2/Header/HeaderContent.tsx
|
|
6559
6564
|
import { Stack as Stack20 } from "@mui/material";
|
|
@@ -8803,7 +8808,7 @@ import { ColumnsPanelTrigger, useGridApiRef as useGridApiRef2 } from "@mui/x-dat
|
|
|
8803
8808
|
|
|
8804
8809
|
// src/v2/DataTable/DataTable.tsx
|
|
8805
8810
|
import { useEffect as useEffect11, useMemo as useMemo4 } from "react";
|
|
8806
|
-
import
|
|
8811
|
+
import Circle3 from "@mui/icons-material/Circle";
|
|
8807
8812
|
import { LinearProgress, Stack as Stack29 } from "@mui/material";
|
|
8808
8813
|
import {
|
|
8809
8814
|
DataGrid,
|
|
@@ -9355,7 +9360,7 @@ function CellAction(props) {
|
|
|
9355
9360
|
}
|
|
9356
9361
|
|
|
9357
9362
|
// src/v2/DataTable/DataTableCellActionDelete.tsx
|
|
9358
|
-
import
|
|
9363
|
+
import DeleteIcon2 from "@mui/icons-material/Delete";
|
|
9359
9364
|
import { GridActionsCellItem as GridActionsCellItem6 } from "@mui/x-data-grid";
|
|
9360
9365
|
import { jsx as jsx119 } from "react/jsx-runtime";
|
|
9361
9366
|
function CellActionDelete({
|
|
@@ -9378,7 +9383,7 @@ function CellActionDelete({
|
|
|
9378
9383
|
}
|
|
9379
9384
|
|
|
9380
9385
|
// src/v2/DataTable/DataTableCellActionEdit.tsx
|
|
9381
|
-
import
|
|
9386
|
+
import EditIcon from "@mui/icons-material/Edit";
|
|
9382
9387
|
import { GridActionsCellItem as GridActionsCellItem7 } from "@mui/x-data-grid";
|
|
9383
9388
|
import { jsx as jsx120 } from "react/jsx-runtime";
|
|
9384
9389
|
function CellActionEdit({
|
|
@@ -9412,7 +9417,7 @@ function CellActions(props) {
|
|
|
9412
9417
|
}
|
|
9413
9418
|
|
|
9414
9419
|
// src/v2/DataTable/DataTableCellActionTransport.tsx
|
|
9415
|
-
import
|
|
9420
|
+
import TransportIcon from "@mui/icons-material/GetApp";
|
|
9416
9421
|
import { GridActionsCellItem as GridActionsCellItem8 } from "@mui/x-data-grid";
|
|
9417
9422
|
import { jsx as jsx122 } from "react/jsx-runtime";
|
|
9418
9423
|
function CellActionTransport({
|
|
@@ -9450,7 +9455,7 @@ function Content(props) {
|
|
|
9450
9455
|
}
|
|
9451
9456
|
|
|
9452
9457
|
// src/v2/DataTable/DataTableExportCsvButton.tsx
|
|
9453
|
-
import
|
|
9458
|
+
import FileDownloadIcon from "@mui/icons-material/FileDownload";
|
|
9454
9459
|
import {
|
|
9455
9460
|
gridFilteredSortedRowIdsSelector as gridFilteredSortedRowIdsSelector2
|
|
9456
9461
|
} from "@mui/x-data-grid";
|
|
@@ -9499,7 +9504,7 @@ function Footer2(props) {
|
|
|
9499
9504
|
// src/v2/DataTable/DataTablePagination.tsx
|
|
9500
9505
|
import { useMemo as useMemo5 } from "react";
|
|
9501
9506
|
import {
|
|
9502
|
-
TextField as
|
|
9507
|
+
TextField as TextField10,
|
|
9503
9508
|
Pagination as MuiPagination,
|
|
9504
9509
|
MenuItem as MenuItem3,
|
|
9505
9510
|
Stack as Stack32,
|
|
@@ -9566,7 +9571,7 @@ function Pagination(props) {
|
|
|
9566
9571
|
),
|
|
9567
9572
|
showPagination && /* @__PURE__ */ jsxs68(Stack32, { direction: "row", alignItems: "center", gap: 2, marginLeft: "auto", children: [
|
|
9568
9573
|
/* @__PURE__ */ jsx126(
|
|
9569
|
-
|
|
9574
|
+
TextField10,
|
|
9570
9575
|
{
|
|
9571
9576
|
sx: {
|
|
9572
9577
|
width: "78px",
|
|
@@ -10242,7 +10247,7 @@ import {
|
|
|
10242
10247
|
IconButton as IconButton12,
|
|
10243
10248
|
Autocomplete as MuiAutocomplete,
|
|
10244
10249
|
Stack as Stack41,
|
|
10245
|
-
TextField as
|
|
10250
|
+
TextField as TextField11,
|
|
10246
10251
|
Typography as Typography24
|
|
10247
10252
|
} from "@mui/material";
|
|
10248
10253
|
import _4 from "lodash";
|
|
@@ -10359,7 +10364,7 @@ function Autocomplete(props) {
|
|
|
10359
10364
|
renderOption,
|
|
10360
10365
|
renderInput: (params) => {
|
|
10361
10366
|
return /* @__PURE__ */ jsx151(
|
|
10362
|
-
|
|
10367
|
+
TextField11,
|
|
10363
10368
|
{
|
|
10364
10369
|
slotProps: {
|
|
10365
10370
|
inputLabel: { shrink: true },
|
|
@@ -10538,7 +10543,7 @@ import {
|
|
|
10538
10543
|
TextField as MUITextField
|
|
10539
10544
|
} from "@mui/material";
|
|
10540
10545
|
import { jsx as jsx155 } from "react/jsx-runtime";
|
|
10541
|
-
function
|
|
10546
|
+
function TextField12(props) {
|
|
10542
10547
|
return /* @__PURE__ */ jsx155(
|
|
10543
10548
|
MUITextField,
|
|
10544
10549
|
{
|
|
@@ -10621,7 +10626,7 @@ function DocumentoTextField(props) {
|
|
|
10621
10626
|
};
|
|
10622
10627
|
const maxLen = formattedMaxLength(tipoDocumento, propValue || internalValue);
|
|
10623
10628
|
return /* @__PURE__ */ jsx156(
|
|
10624
|
-
|
|
10629
|
+
TextField12,
|
|
10625
10630
|
{
|
|
10626
10631
|
value: displayedValue,
|
|
10627
10632
|
onChange: handleChange,
|
|
@@ -10669,7 +10674,7 @@ function CEPTextField(props) {
|
|
|
10669
10674
|
}
|
|
10670
10675
|
};
|
|
10671
10676
|
return /* @__PURE__ */ jsx157(
|
|
10672
|
-
|
|
10677
|
+
TextField12,
|
|
10673
10678
|
{
|
|
10674
10679
|
value: displayedValue,
|
|
10675
10680
|
onChange: handleChange,
|
|
@@ -10794,7 +10799,7 @@ function TelefoneTextField(props) {
|
|
|
10794
10799
|
};
|
|
10795
10800
|
const maxLen = formattedMaxLength2(tipoTelefone, allowDDI);
|
|
10796
10801
|
return /* @__PURE__ */ jsx158(
|
|
10797
|
-
|
|
10802
|
+
TextField12,
|
|
10798
10803
|
{
|
|
10799
10804
|
value: displayedValue,
|
|
10800
10805
|
onChange: handleChange,
|
|
@@ -11015,7 +11020,7 @@ function DatePickerProvider({
|
|
|
11015
11020
|
// src/v2/DateRangePicker/index.tsx
|
|
11016
11021
|
import {
|
|
11017
11022
|
IconButton as IconButton13,
|
|
11018
|
-
InputAdornment as
|
|
11023
|
+
InputAdornment as InputAdornment4,
|
|
11019
11024
|
MenuItem as MenuItem6,
|
|
11020
11025
|
Stack as Stack43,
|
|
11021
11026
|
styled as styled7
|
|
@@ -11221,7 +11226,7 @@ function DateRangePicker(props) {
|
|
|
11221
11226
|
),
|
|
11222
11227
|
/* @__PURE__ */ jsxs75(Stack43, { spacing: 2, children: [
|
|
11223
11228
|
/* @__PURE__ */ jsxs75(
|
|
11224
|
-
|
|
11229
|
+
TextField12,
|
|
11225
11230
|
{
|
|
11226
11231
|
value: dates.tipo,
|
|
11227
11232
|
onChange: (e) => {
|
|
@@ -11233,7 +11238,7 @@ function DateRangePicker(props) {
|
|
|
11233
11238
|
size: "small",
|
|
11234
11239
|
variant: "outlined",
|
|
11235
11240
|
InputProps: {
|
|
11236
|
-
startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs75(
|
|
11241
|
+
startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs75(InputAdornment4, { position: "start", children: [
|
|
11237
11242
|
/* @__PURE__ */ jsx163(IconButton13, { size: "small", onClick: handleBackToPrevious, children: /* @__PURE__ */ jsx163(ArrowLeftIcon, { fontSize: "small" }) }),
|
|
11238
11243
|
/* @__PURE__ */ jsx163(IconButton13, { size: "small", onClick: handleGoToNext, children: /* @__PURE__ */ jsx163(ArrowRightIcon, { fontSize: "small" }) })
|
|
11239
11244
|
] })
|
|
@@ -11290,7 +11295,7 @@ function DateRangePicker(props) {
|
|
|
11290
11295
|
}
|
|
11291
11296
|
return /* @__PURE__ */ jsxs75(Stack43, { spacing: 2, children: [
|
|
11292
11297
|
/* @__PURE__ */ jsxs75(
|
|
11293
|
-
|
|
11298
|
+
TextField12,
|
|
11294
11299
|
{
|
|
11295
11300
|
value: dates.tipo,
|
|
11296
11301
|
onChange: (e) => {
|
|
@@ -11302,7 +11307,7 @@ function DateRangePicker(props) {
|
|
|
11302
11307
|
size: "small",
|
|
11303
11308
|
variant: "outlined",
|
|
11304
11309
|
InputProps: {
|
|
11305
|
-
startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs75(
|
|
11310
|
+
startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs75(InputAdornment4, { position: "start", children: [
|
|
11306
11311
|
/* @__PURE__ */ jsx163(IconButton13, { size: "small", onClick: handleBackToPrevious, children: /* @__PURE__ */ jsx163(ArrowLeftIcon, { fontSize: "small" }) }),
|
|
11307
11312
|
/* @__PURE__ */ jsx163(IconButton13, { size: "small", onClick: handleGoToNext, children: /* @__PURE__ */ jsx163(ArrowRightIcon, { fontSize: "small" }) })
|
|
11308
11313
|
] })
|
|
@@ -11408,7 +11413,7 @@ var CurrencyTextField = forwardRef2(
|
|
|
11408
11413
|
}
|
|
11409
11414
|
}, []);
|
|
11410
11415
|
return /* @__PURE__ */ jsx164(
|
|
11411
|
-
|
|
11416
|
+
TextField12,
|
|
11412
11417
|
{
|
|
11413
11418
|
onKeyDown: (e) => {
|
|
11414
11419
|
key = e.key;
|
|
@@ -11440,9 +11445,6 @@ var CurrencyTextField = forwardRef2(
|
|
|
11440
11445
|
var CurrencyTextField_default = CurrencyTextField;
|
|
11441
11446
|
|
|
11442
11447
|
// src/AlterarLicenca/index.tsx
|
|
11443
|
-
import { Button as Button12, Stack as Stack44, Typography as Typography26 } from "@mui/material";
|
|
11444
|
-
import { ArrowDropDown } from "@mui/icons-material";
|
|
11445
|
-
import { useState as useState25 } from "react";
|
|
11446
11448
|
import { jsx as jsx165, jsxs as jsxs76 } from "react/jsx-runtime";
|
|
11447
11449
|
function AlterarLicenca(props) {
|
|
11448
11450
|
const { licencas, licencaSelecionada, onAlterarLicenca } = props;
|
|
@@ -11526,8 +11528,9 @@ import { List as List5 } from "@mui/material";
|
|
|
11526
11528
|
|
|
11527
11529
|
// src/DrawerMenu/components/FullMenu/components/FullMenuItem/index.tsx
|
|
11528
11530
|
import { useState as useState26 } from "react";
|
|
11531
|
+
import ExpandLess from "@mui/icons-material/ExpandLess";
|
|
11532
|
+
import ExpandMore from "@mui/icons-material/ExpandMore";
|
|
11529
11533
|
import { Box as Box21, Collapse as Collapse3, Icon as Icon4, ListItemText as ListItemText3 } from "@mui/material";
|
|
11530
|
-
import { ExpandMore, ExpandLess } from "@mui/icons-material";
|
|
11531
11534
|
|
|
11532
11535
|
// src/DrawerMenu/components/MenuItem/index.tsx
|
|
11533
11536
|
import { MenuItem as MuiMenuItem } from "@mui/material";
|
|
@@ -11853,7 +11856,7 @@ import {
|
|
|
11853
11856
|
Divider as Divider4,
|
|
11854
11857
|
Grid as Grid2,
|
|
11855
11858
|
Stack as Stack46,
|
|
11856
|
-
TextField as
|
|
11859
|
+
TextField as TextField13,
|
|
11857
11860
|
Typography as Typography27
|
|
11858
11861
|
} from "@mui/material";
|
|
11859
11862
|
import { useEffect as useEffect19, useState as useState29 } from "react";
|
|
@@ -12068,7 +12071,7 @@ function MinhaConta(props) {
|
|
|
12068
12071
|
/* @__PURE__ */ jsx175(Typography27, { variant: "h6", children: "Informa\xE7\xF5es da Conta" }),
|
|
12069
12072
|
/* @__PURE__ */ jsxs81(Grid2, { container: true, spacing: 1.5, children: [
|
|
12070
12073
|
/* @__PURE__ */ jsx175(Grid2, { size: { xl: 4, lg: 4, md: 4, sm: 12, xs: 12 }, children: /* @__PURE__ */ jsx175(
|
|
12071
|
-
|
|
12074
|
+
TextField13,
|
|
12072
12075
|
{
|
|
12073
12076
|
disabled: true,
|
|
12074
12077
|
fullWidth: true,
|
|
@@ -12077,7 +12080,7 @@ function MinhaConta(props) {
|
|
|
12077
12080
|
}
|
|
12078
12081
|
) }),
|
|
12079
12082
|
/* @__PURE__ */ jsx175(Grid2, { size: { xl: 4, lg: 4, md: 4, sm: 12, xs: 12 }, children: /* @__PURE__ */ jsx175(
|
|
12080
|
-
|
|
12083
|
+
TextField13,
|
|
12081
12084
|
{
|
|
12082
12085
|
name: "name",
|
|
12083
12086
|
fullWidth: true,
|
|
@@ -12088,7 +12091,7 @@ function MinhaConta(props) {
|
|
|
12088
12091
|
}
|
|
12089
12092
|
) }),
|
|
12090
12093
|
/* @__PURE__ */ jsx175(Grid2, { size: { xl: 4, lg: 4, md: 4, sm: 12, xs: 12 }, children: /* @__PURE__ */ jsx175(
|
|
12091
|
-
|
|
12094
|
+
TextField13,
|
|
12092
12095
|
{
|
|
12093
12096
|
name: "surname",
|
|
12094
12097
|
fullWidth: true,
|
|
@@ -12117,6 +12120,7 @@ import {
|
|
|
12117
12120
|
useCredentials as useCredentials10,
|
|
12118
12121
|
useForm as useForm4
|
|
12119
12122
|
} from "@data-c/hooks";
|
|
12123
|
+
import Verified from "@mui/icons-material/Verified";
|
|
12120
12124
|
import { Alert as Alert10, Divider as Divider5, Stack as Stack48, Typography as Typography29 } from "@mui/material";
|
|
12121
12125
|
import { useEffect as useEffect21, useState as useState31 } from "react";
|
|
12122
12126
|
|
|
@@ -12209,7 +12213,6 @@ function DialogVerificarWhastapp(props) {
|
|
|
12209
12213
|
}
|
|
12210
12214
|
|
|
12211
12215
|
// src/Profile/LoginSeguranca.tsx
|
|
12212
|
-
import { Verified } from "@mui/icons-material";
|
|
12213
12216
|
import { jsx as jsx177, jsxs as jsxs83 } from "react/jsx-runtime";
|
|
12214
12217
|
var schema5 = create$3().shape({
|
|
12215
12218
|
whatsappNumber: create$6().required("Informe o n\xFAmero do whastapp").length(15)
|
|
@@ -12445,7 +12448,7 @@ export {
|
|
|
12445
12448
|
SearchTextField,
|
|
12446
12449
|
Surface,
|
|
12447
12450
|
TelefoneTextField,
|
|
12448
|
-
|
|
12451
|
+
TextField12 as TextField,
|
|
12449
12452
|
ThemeProvider,
|
|
12450
12453
|
Title4 as Title,
|
|
12451
12454
|
Tooltip_default as Tooltip,
|