@data-c/ui 0.2.66 → 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 +10 -5
package/dist/index.js
CHANGED
|
@@ -1735,13 +1735,11 @@ function ColorsGrid() {
|
|
|
1735
1735
|
}
|
|
1736
1736
|
|
|
1737
1737
|
// src/DataTableOptions/index.tsx
|
|
1738
|
+
var _Delete = require('@mui/icons-material/Delete'); var _Delete2 = _interopRequireDefault(_Delete);
|
|
1739
|
+
var _Edit = require('@mui/icons-material/Edit'); var _Edit2 = _interopRequireDefault(_Edit);
|
|
1740
|
+
var _GetApp = require('@mui/icons-material/GetApp'); var _GetApp2 = _interopRequireDefault(_GetApp);
|
|
1738
1741
|
|
|
1739
1742
|
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
var _iconsmaterial = require('@mui/icons-material');
|
|
1744
|
-
|
|
1745
1743
|
// src/Tooltip/index.tsx
|
|
1746
1744
|
|
|
1747
1745
|
|
|
@@ -1869,13 +1867,13 @@ function DataTableOptions(props) {
|
|
|
1869
1867
|
color: "primary",
|
|
1870
1868
|
disabled: disabled || disabledTransporterButton,
|
|
1871
1869
|
children: [
|
|
1872
|
-
disableTooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1870
|
+
disableTooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _GetApp2.default, { fontSize: "small" }),
|
|
1873
1871
|
!disableTooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1874
1872
|
Tooltip_default,
|
|
1875
1873
|
{
|
|
1876
1874
|
type: "warning",
|
|
1877
1875
|
title: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Box, { children: "Clique para transportar este registro." }),
|
|
1878
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1876
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _GetApp2.default, { fontSize: "small" })
|
|
1879
1877
|
}
|
|
1880
1878
|
)
|
|
1881
1879
|
]
|
|
@@ -1889,13 +1887,13 @@ function DataTableOptions(props) {
|
|
|
1889
1887
|
onClick: (e) => onClick("edit", value, e),
|
|
1890
1888
|
disabled: disabled || disabledUpdateButton,
|
|
1891
1889
|
children: [
|
|
1892
|
-
disableTooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1890
|
+
disableTooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Edit2.default, { fontSize: "small" }),
|
|
1893
1891
|
!disableTooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1894
1892
|
Tooltip_default,
|
|
1895
1893
|
{
|
|
1896
1894
|
type: "info",
|
|
1897
1895
|
title: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Box, { children: "Clique para editar este registro." }),
|
|
1898
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1896
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Edit2.default, { fontSize: "small" })
|
|
1899
1897
|
}
|
|
1900
1898
|
)
|
|
1901
1899
|
]
|
|
@@ -1909,13 +1907,13 @@ function DataTableOptions(props) {
|
|
|
1909
1907
|
color: "primary",
|
|
1910
1908
|
disabled: disabled || disabledDeleteButton,
|
|
1911
1909
|
children: [
|
|
1912
|
-
disableTooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1910
|
+
disableTooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Delete2.default, { fontSize: "small" }),
|
|
1913
1911
|
!disableTooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1914
1912
|
Tooltip_default,
|
|
1915
1913
|
{
|
|
1916
1914
|
type: "warning",
|
|
1917
1915
|
title: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Box, { children: "Clique para excluir este registro." }),
|
|
1918
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1916
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Delete2.default, { fontSize: "small" })
|
|
1919
1917
|
}
|
|
1920
1918
|
)
|
|
1921
1919
|
]
|
|
@@ -1931,7 +1929,7 @@ DataTableOptions.defaultProps = {
|
|
|
1931
1929
|
};
|
|
1932
1930
|
|
|
1933
1931
|
// src/FilterControl/index.tsx
|
|
1934
|
-
|
|
1932
|
+
var _RestartAlt = require('@mui/icons-material/RestartAlt'); var _RestartAlt2 = _interopRequireDefault(_RestartAlt);
|
|
1935
1933
|
|
|
1936
1934
|
var _providers = require('@data-c/providers');
|
|
1937
1935
|
var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
@@ -2042,7 +2040,7 @@ function FilterControl(props) {
|
|
|
2042
2040
|
if (deleteAllFilterValues)
|
|
2043
2041
|
deleteAllFilterValues();
|
|
2044
2042
|
},
|
|
2045
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2043
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _RestartAlt2.default, { fontSize: "small", color: "error" })
|
|
2046
2044
|
}
|
|
2047
2045
|
)
|
|
2048
2046
|
}
|
|
@@ -2056,10 +2054,11 @@ function FilterControl(props) {
|
|
|
2056
2054
|
|
|
2057
2055
|
|
|
2058
2056
|
|
|
2057
|
+
var _Search = require('@mui/icons-material/Search'); var _Search2 = _interopRequireDefault(_Search);
|
|
2059
2058
|
|
|
2060
2059
|
|
|
2061
2060
|
// src/DrawerContainer/index.tsx
|
|
2062
|
-
|
|
2061
|
+
var _Cancel = require('@mui/icons-material/Cancel'); var _Cancel2 = _interopRequireDefault(_Cancel);
|
|
2063
2062
|
|
|
2064
2063
|
|
|
2065
2064
|
|
|
@@ -2116,7 +2115,7 @@ function DrawerContainer(props) {
|
|
|
2116
2115
|
children: drawerTitle
|
|
2117
2116
|
}
|
|
2118
2117
|
),
|
|
2119
|
-
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.IconButton, { onClick: onClose, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2118
|
+
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.IconButton, { onClick: onClose, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Cancel2.default, { color: "error" }) })
|
|
2120
2119
|
]
|
|
2121
2120
|
}
|
|
2122
2121
|
),
|
|
@@ -2175,11 +2174,11 @@ var FilterDrawerActions = () => {
|
|
|
2175
2174
|
},
|
|
2176
2175
|
children: [
|
|
2177
2176
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _material.Button, { fullWidth: true, onClick: handleResetAllFilters, color: "error", children: [
|
|
2178
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2177
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _RestartAlt2.default, {}),
|
|
2179
2178
|
" Redefinir Padr\xE3o"
|
|
2180
2179
|
] }),
|
|
2181
2180
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _material.Button, { fullWidth: true, variant: "contained", onClick: handleApplyFilter, children: [
|
|
2182
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2181
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Search2.default, {}),
|
|
2183
2182
|
" Aplicar"
|
|
2184
2183
|
] })
|
|
2185
2184
|
]
|
|
@@ -2264,18 +2263,18 @@ FilterContainer.defaultProps = {
|
|
|
2264
2263
|
triggerButtonLabel: "Aplicar",
|
|
2265
2264
|
triggerButtonProps: {
|
|
2266
2265
|
variant: "contained",
|
|
2267
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2266
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Search2.default, {})
|
|
2268
2267
|
},
|
|
2269
2268
|
title: "Aplicar"
|
|
2270
2269
|
};
|
|
2271
2270
|
|
|
2272
2271
|
// src/Flag/index.tsx
|
|
2273
|
-
|
|
2272
|
+
var _Circle = require('@mui/icons-material/Circle'); var _Circle2 = _interopRequireDefault(_Circle);
|
|
2274
2273
|
|
|
2275
2274
|
function Flag(props) {
|
|
2276
2275
|
const { isFlagged, type } = props;
|
|
2277
2276
|
if (isFlagged)
|
|
2278
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2277
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Circle2.default, { color: type, sx: { fontSize: "10pt" } });
|
|
2279
2278
|
return null;
|
|
2280
2279
|
}
|
|
2281
2280
|
|
|
@@ -2310,7 +2309,8 @@ function LabelValue(props) {
|
|
|
2310
2309
|
}
|
|
2311
2310
|
|
|
2312
2311
|
// src/PageTitle/index.tsx
|
|
2313
|
-
|
|
2312
|
+
var _ArrowBack = require('@mui/icons-material/ArrowBack'); var _ArrowBack2 = _interopRequireDefault(_ArrowBack);
|
|
2313
|
+
var _Close = require('@mui/icons-material/Close'); var _Close2 = _interopRequireDefault(_Close);
|
|
2314
2314
|
|
|
2315
2315
|
|
|
2316
2316
|
|
|
@@ -2324,6 +2324,8 @@ function LabelValue(props) {
|
|
|
2324
2324
|
// src/Editable/index.tsx
|
|
2325
2325
|
|
|
2326
2326
|
|
|
2327
|
+
var _Save = require('@mui/icons-material/Save'); var _Save2 = _interopRequireDefault(_Save);
|
|
2328
|
+
|
|
2327
2329
|
|
|
2328
2330
|
|
|
2329
2331
|
|
|
@@ -2393,7 +2395,7 @@ function Editable(props) {
|
|
|
2393
2395
|
onClick: () => {
|
|
2394
2396
|
setIsEditing(true);
|
|
2395
2397
|
},
|
|
2396
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2398
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Edit2.default, {})
|
|
2397
2399
|
}
|
|
2398
2400
|
)
|
|
2399
2401
|
]
|
|
@@ -2437,7 +2439,7 @@ function Editable(props) {
|
|
|
2437
2439
|
setIsEditing(false);
|
|
2438
2440
|
},
|
|
2439
2441
|
edge: "end",
|
|
2440
|
-
children: value != textValue ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2442
|
+
children: value != textValue ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Save2.default, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Cancel2.default, {})
|
|
2441
2443
|
}
|
|
2442
2444
|
)
|
|
2443
2445
|
] })
|
|
@@ -2466,7 +2468,7 @@ function SearchTextField(props) {
|
|
|
2466
2468
|
onChange: handleChange,
|
|
2467
2469
|
autoFocus: true,
|
|
2468
2470
|
InputProps: {
|
|
2469
|
-
startAdornment: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.InputAdornment, { position: "start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2471
|
+
startAdornment: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.InputAdornment, { position: "start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Search2.default, {}) })
|
|
2470
2472
|
},
|
|
2471
2473
|
...rest
|
|
2472
2474
|
}
|
|
@@ -2536,7 +2538,7 @@ function PageTitle(props) {
|
|
|
2536
2538
|
flexDirection: "row"
|
|
2537
2539
|
},
|
|
2538
2540
|
children: [
|
|
2539
|
-
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.IconButton, { sx: { mr: 1 }, onClick: onBack, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2541
|
+
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.IconButton, { sx: { mr: 1 }, onClick: onBack, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _ArrowBack2.default, {}) }),
|
|
2540
2542
|
onUpdate && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2541
2543
|
Editable,
|
|
2542
2544
|
{
|
|
@@ -2552,7 +2554,7 @@ function PageTitle(props) {
|
|
|
2552
2554
|
]
|
|
2553
2555
|
}
|
|
2554
2556
|
),
|
|
2555
|
-
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.IconButton, { sx: { marginLeft: "auto" }, onClick: onClose, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2557
|
+
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.IconButton, { sx: { marginLeft: "auto" }, onClick: onClose, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Close2.default, { fontSize: "medium" }) }),
|
|
2556
2558
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _material.Stack, { spacing: 1, direction: "row", children: [
|
|
2557
2559
|
onSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2558
2560
|
SearchTextField,
|
|
@@ -2637,12 +2639,14 @@ function Header(props) {
|
|
|
2637
2639
|
// src/MioAuth/components/LoginForm/index.tsx
|
|
2638
2640
|
|
|
2639
2641
|
|
|
2640
|
-
var _axios = require('axios'); var _axios2 = _interopRequireDefault(_axios);
|
|
2641
|
-
|
|
2642
2642
|
|
|
2643
2643
|
|
|
2644
2644
|
var _hooks = require('@data-c/hooks');
|
|
2645
2645
|
|
|
2646
|
+
var _axios = require('axios'); var _axios2 = _interopRequireDefault(_axios);
|
|
2647
|
+
var _Mail = require('@mui/icons-material/Mail'); var _Mail2 = _interopRequireDefault(_Mail);
|
|
2648
|
+
var _WhatsApp = require('@mui/icons-material/WhatsApp'); var _WhatsApp2 = _interopRequireDefault(_WhatsApp);
|
|
2649
|
+
|
|
2646
2650
|
// ../../node_modules/yup/index.esm.js
|
|
2647
2651
|
var import_property_expr = __toESM(require_property_expr());
|
|
2648
2652
|
var import_tiny_case = __toESM(require_tiny_case());
|
|
@@ -5059,7 +5063,8 @@ create$1.prototype = TupleSchema.prototype;
|
|
|
5059
5063
|
var _isStrongPassword = require('validator/lib/isStrongPassword'); var _isStrongPassword2 = _interopRequireDefault(_isStrongPassword);
|
|
5060
5064
|
|
|
5061
5065
|
// src/PasswordTextField/index.tsx
|
|
5062
|
-
|
|
5066
|
+
var _Visibility = require('@mui/icons-material/Visibility'); var _Visibility2 = _interopRequireDefault(_Visibility);
|
|
5067
|
+
var _VisibilityOff = require('@mui/icons-material/VisibilityOff'); var _VisibilityOff2 = _interopRequireDefault(_VisibilityOff);
|
|
5063
5068
|
|
|
5064
5069
|
|
|
5065
5070
|
|
|
@@ -5089,7 +5094,7 @@ function PasswordTextField(props) {
|
|
|
5089
5094
|
tabIndex: -1,
|
|
5090
5095
|
onClick: handleClickShowPassword,
|
|
5091
5096
|
edge: "end",
|
|
5092
|
-
children: showPassword ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5097
|
+
children: showPassword ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _VisibilityOff2.default, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Visibility2.default, {})
|
|
5093
5098
|
}
|
|
5094
5099
|
) })
|
|
5095
5100
|
}
|
|
@@ -5119,7 +5124,7 @@ function DialogActionClose({ onClose }) {
|
|
|
5119
5124
|
{
|
|
5120
5125
|
onClick: () => onClose(),
|
|
5121
5126
|
sx: { position: "absolute", right: "11px" },
|
|
5122
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5127
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Close2.default, {})
|
|
5123
5128
|
}
|
|
5124
5129
|
);
|
|
5125
5130
|
}
|
|
@@ -5404,7 +5409,7 @@ function ValidatorMessage(props) {
|
|
|
5404
5409
|
},
|
|
5405
5410
|
children: [
|
|
5406
5411
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5407
|
-
|
|
5412
|
+
_Circle2.default,
|
|
5408
5413
|
{
|
|
5409
5414
|
color: isValid ? "success" : "inherit",
|
|
5410
5415
|
sx: { fontSize: "8pt" }
|
|
@@ -5615,7 +5620,6 @@ function AlterarSenha(props) {
|
|
|
5615
5620
|
|
|
5616
5621
|
// src/MioAuth/components/LoginForm/index.tsx
|
|
5617
5622
|
|
|
5618
|
-
|
|
5619
5623
|
var schema2 = create$3().shape({
|
|
5620
5624
|
email: create$6().required("Informe o e-mail"),
|
|
5621
5625
|
password: create$6().required("Informe a senha")
|
|
@@ -5753,7 +5757,7 @@ function LoginForm(props) {
|
|
|
5753
5757
|
Button_default,
|
|
5754
5758
|
{
|
|
5755
5759
|
onClick: () => onOptionsClick("otp-email"),
|
|
5756
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5760
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Mail2.default, {}),
|
|
5757
5761
|
children: "Entrar com senha tempor\xE1ria"
|
|
5758
5762
|
}
|
|
5759
5763
|
),
|
|
@@ -5761,7 +5765,7 @@ function LoginForm(props) {
|
|
|
5761
5765
|
Button_default,
|
|
5762
5766
|
{
|
|
5763
5767
|
onClick: () => onOptionsClick("otp-whatsapp"),
|
|
5764
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5768
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _WhatsApp2.default, {}),
|
|
5765
5769
|
children: "Entrar com senha tempor\xE1ria"
|
|
5766
5770
|
}
|
|
5767
5771
|
)
|
|
@@ -5958,6 +5962,9 @@ function LicencaForm(props) {
|
|
|
5958
5962
|
|
|
5959
5963
|
|
|
5960
5964
|
|
|
5965
|
+
var _HelpOutline = require('@mui/icons-material/HelpOutline'); var _HelpOutline2 = _interopRequireDefault(_HelpOutline);
|
|
5966
|
+
|
|
5967
|
+
|
|
5961
5968
|
|
|
5962
5969
|
// src/WhastappTextField/index.tsx
|
|
5963
5970
|
|
|
@@ -6010,10 +6017,6 @@ function WhatsAppTextField(props) {
|
|
|
6010
6017
|
);
|
|
6011
6018
|
}
|
|
6012
6019
|
|
|
6013
|
-
// src/MioAuth/components/OtpForm/index.tsx
|
|
6014
|
-
|
|
6015
|
-
|
|
6016
|
-
|
|
6017
6020
|
// src/MioAuth/components/OtpForm/DialogVerificarOtp.tsx
|
|
6018
6021
|
|
|
6019
6022
|
|
|
@@ -6162,7 +6165,6 @@ function DialogVerificarOtp(props) {
|
|
|
6162
6165
|
|
|
6163
6166
|
// src/MioAuth/components/OtpForm/index.tsx
|
|
6164
6167
|
|
|
6165
|
-
|
|
6166
6168
|
var contatoSchema = create$3().shape({
|
|
6167
6169
|
contato: create$6().when("$tipo", ([tipo], schema6) => {
|
|
6168
6170
|
return tipo === "otp-email" ? schema6.email("E-mail inv\xE1lido").required("Informe o e-mail") : schema6.matches(/^\+?[1-9]\d{7,14}$/, "N\xFAmero de WhatsApp inv\xE1lido").required("Informe o WhatsApp");
|
|
@@ -6266,7 +6268,7 @@ function OtpForm(props) {
|
|
|
6266
6268
|
href: "https://datacsistemashelp.zendesk.com/hc/pt-br/articles/36489079108756-Login-OTP-via-WhatsApp",
|
|
6267
6269
|
target: "_blank",
|
|
6268
6270
|
rel: "noopener noreferrer",
|
|
6269
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.IconButton, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6271
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.IconButton, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _HelpOutline2.default, { color: "primary" }) })
|
|
6270
6272
|
}
|
|
6271
6273
|
)
|
|
6272
6274
|
]
|
|
@@ -6403,7 +6405,7 @@ function LoginSection(props) {
|
|
|
6403
6405
|
}
|
|
6404
6406
|
|
|
6405
6407
|
// src/MioAuth/components/DefaultBanner/index.tsx
|
|
6406
|
-
|
|
6408
|
+
var _ArrowRight = require('@mui/icons-material/ArrowRight'); var _ArrowRight2 = _interopRequireDefault(_ArrowRight);
|
|
6407
6409
|
|
|
6408
6410
|
|
|
6409
6411
|
function DefaultBanner() {
|
|
@@ -6490,7 +6492,7 @@ function DefaultBanner() {
|
|
|
6490
6492
|
children: [
|
|
6491
6493
|
"Conhe\xE7a nossos produtos",
|
|
6492
6494
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6493
|
-
|
|
6495
|
+
_ArrowRight2.default,
|
|
6494
6496
|
{
|
|
6495
6497
|
fontSize: "medium",
|
|
6496
6498
|
sx: { color: (theme3) => theme3.palette.success.light }
|
|
@@ -6554,6 +6556,9 @@ function MioAuth(props) {
|
|
|
6554
6556
|
|
|
6555
6557
|
// src/AlterarLicenca/index.tsx
|
|
6556
6558
|
|
|
6559
|
+
var _ArrowDropDown = require('@mui/icons-material/ArrowDropDown'); var _ArrowDropDown2 = _interopRequireDefault(_ArrowDropDown);
|
|
6560
|
+
|
|
6561
|
+
|
|
6557
6562
|
|
|
6558
6563
|
// src/v2/Header/HeaderContent.tsx
|
|
6559
6564
|
|
|
@@ -9087,8 +9092,8 @@ function Table(props) {
|
|
|
9087
9092
|
setRowsSelectedId(rowSelectionModel);
|
|
9088
9093
|
},
|
|
9089
9094
|
slots: {
|
|
9090
|
-
booleanCellFalseIcon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9091
|
-
booleanCellTrueIcon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9095
|
+
booleanCellFalseIcon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Circle2.default, { color: "error", sx: { fontSize: "10pt" } }),
|
|
9096
|
+
booleanCellTrueIcon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Circle2.default, { color: "success", sx: { fontSize: "10pt" } }),
|
|
9092
9097
|
noRowsOverlay: () => !isLoading && !!error ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTableError, { errorMessage: error }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTableEmptyData, {}),
|
|
9093
9098
|
...slots
|
|
9094
9099
|
},
|
|
@@ -9365,7 +9370,7 @@ function CellActionDelete({
|
|
|
9365
9370
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9366
9371
|
_xdatagrid.GridActionsCellItem,
|
|
9367
9372
|
{
|
|
9368
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9373
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Delete2.default, {}),
|
|
9369
9374
|
label: "Delete",
|
|
9370
9375
|
color: "primary",
|
|
9371
9376
|
onClick: () => {
|
|
@@ -9388,7 +9393,7 @@ function CellActionEdit({
|
|
|
9388
9393
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9389
9394
|
_xdatagrid.GridActionsCellItem,
|
|
9390
9395
|
{
|
|
9391
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9396
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Edit2.default, {}),
|
|
9392
9397
|
label: "Edit",
|
|
9393
9398
|
color: "primary",
|
|
9394
9399
|
onClick: () => onClick && onClick("edit"),
|
|
@@ -9422,7 +9427,7 @@ function CellActionTransport({
|
|
|
9422
9427
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9423
9428
|
_xdatagrid.GridActionsCellItem,
|
|
9424
9429
|
{
|
|
9425
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9430
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _GetApp2.default, {}),
|
|
9426
9431
|
label: "Transport",
|
|
9427
9432
|
color: "primary",
|
|
9428
9433
|
onClick: () => onClick && onClick("transport"),
|
|
@@ -9450,7 +9455,7 @@ function Content(props) {
|
|
|
9450
9455
|
}
|
|
9451
9456
|
|
|
9452
9457
|
// src/v2/DataTable/DataTableExportCsvButton.tsx
|
|
9453
|
-
|
|
9458
|
+
var _FileDownload = require('@mui/icons-material/FileDownload'); var _FileDownload2 = _interopRequireDefault(_FileDownload);
|
|
9454
9459
|
|
|
9455
9460
|
|
|
9456
9461
|
|
|
@@ -9466,7 +9471,7 @@ function ExportCsvButton() {
|
|
|
9466
9471
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9467
9472
|
DataTableButton,
|
|
9468
9473
|
{
|
|
9469
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9474
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _FileDownload2.default, {}),
|
|
9470
9475
|
onClick: () => handleExport({ getRowsToExport: getFilteredRows2 }),
|
|
9471
9476
|
children: "Exportar CSV"
|
|
9472
9477
|
}
|
|
@@ -10538,7 +10543,7 @@ var Transporter_default = Transporter;
|
|
|
10538
10543
|
|
|
10539
10544
|
|
|
10540
10545
|
|
|
10541
|
-
function
|
|
10546
|
+
function TextField12(props) {
|
|
10542
10547
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10543
10548
|
_material.TextField,
|
|
10544
10549
|
{
|
|
@@ -10621,7 +10626,7 @@ function DocumentoTextField(props) {
|
|
|
10621
10626
|
};
|
|
10622
10627
|
const maxLen = formattedMaxLength(tipoDocumento, propValue || internalValue);
|
|
10623
10628
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
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__ */ _jsxruntime.jsx.call(void 0,
|
|
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__ */ _jsxruntime.jsx.call(void 0,
|
|
10797
|
-
|
|
10802
|
+
TextField12,
|
|
10798
10803
|
{
|
|
10799
10804
|
value: displayedValue,
|
|
10800
10805
|
onChange: handleChange,
|
|
@@ -11221,7 +11226,7 @@ function DateRangePicker(props) {
|
|
|
11221
11226
|
),
|
|
11222
11227
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _material.Stack, { spacing: 2, children: [
|
|
11223
11228
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11224
|
-
|
|
11229
|
+
TextField12,
|
|
11225
11230
|
{
|
|
11226
11231
|
value: dates.tipo,
|
|
11227
11232
|
onChange: (e) => {
|
|
@@ -11290,7 +11295,7 @@ function DateRangePicker(props) {
|
|
|
11290
11295
|
}
|
|
11291
11296
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _material.Stack, { spacing: 2, children: [
|
|
11292
11297
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11293
|
-
|
|
11298
|
+
TextField12,
|
|
11294
11299
|
{
|
|
11295
11300
|
value: dates.tipo,
|
|
11296
11301
|
onChange: (e) => {
|
|
@@ -11408,7 +11413,7 @@ var CurrencyTextField = _react.forwardRef.call(void 0,
|
|
|
11408
11413
|
}
|
|
11409
11414
|
}, []);
|
|
11410
11415
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11411
|
-
|
|
11416
|
+
TextField12,
|
|
11412
11417
|
{
|
|
11413
11418
|
onKeyDown: (e) => {
|
|
11414
11419
|
key = e.key;
|
|
@@ -11441,9 +11446,6 @@ var CurrencyTextField_default = CurrencyTextField;
|
|
|
11441
11446
|
|
|
11442
11447
|
// src/AlterarLicenca/index.tsx
|
|
11443
11448
|
|
|
11444
|
-
|
|
11445
|
-
|
|
11446
|
-
|
|
11447
11449
|
function AlterarLicenca(props) {
|
|
11448
11450
|
const { licencas, licencaSelecionada, onAlterarLicenca } = props;
|
|
11449
11451
|
const [query, setQuery] = _react.useState.call(void 0, "");
|
|
@@ -11470,7 +11472,7 @@ function AlterarLicenca(props) {
|
|
|
11470
11472
|
variant: "text",
|
|
11471
11473
|
children: [
|
|
11472
11474
|
licencaSelecionada.nome,
|
|
11473
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11475
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _ArrowDropDown2.default, {})
|
|
11474
11476
|
]
|
|
11475
11477
|
}
|
|
11476
11478
|
) }),
|
|
@@ -11526,7 +11528,8 @@ function AlterarLicenca(props) {
|
|
|
11526
11528
|
|
|
11527
11529
|
// src/DrawerMenu/components/FullMenu/components/FullMenuItem/index.tsx
|
|
11528
11530
|
|
|
11529
|
-
|
|
11531
|
+
var _ExpandLess = require('@mui/icons-material/ExpandLess'); var _ExpandLess2 = _interopRequireDefault(_ExpandLess);
|
|
11532
|
+
var _ExpandMore = require('@mui/icons-material/ExpandMore'); var _ExpandMore2 = _interopRequireDefault(_ExpandMore);
|
|
11530
11533
|
|
|
11531
11534
|
|
|
11532
11535
|
// src/DrawerMenu/components/MenuItem/index.tsx
|
|
@@ -11599,8 +11602,8 @@ function FullMenuItem2(props) {
|
|
|
11599
11602
|
children: [
|
|
11600
11603
|
!!menuItem.icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Icon, { children: menuItem.icon }),
|
|
11601
11604
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.ListItemText, { primary: menuItem.label }),
|
|
11602
|
-
isExpandable && !expanded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11603
|
-
isExpandable && expanded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11605
|
+
isExpandable && !expanded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _ExpandMore2.default, {}),
|
|
11606
|
+
isExpandable && expanded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _ExpandLess2.default, {})
|
|
11604
11607
|
]
|
|
11605
11608
|
}
|
|
11606
11609
|
),
|
|
@@ -12117,6 +12120,7 @@ function MinhaConta(props) {
|
|
|
12117
12120
|
|
|
12118
12121
|
|
|
12119
12122
|
|
|
12123
|
+
var _Verified = require('@mui/icons-material/Verified'); var _Verified2 = _interopRequireDefault(_Verified);
|
|
12120
12124
|
|
|
12121
12125
|
|
|
12122
12126
|
|
|
@@ -12210,7 +12214,6 @@ function DialogVerificarWhastapp(props) {
|
|
|
12210
12214
|
|
|
12211
12215
|
// src/Profile/LoginSeguranca.tsx
|
|
12212
12216
|
|
|
12213
|
-
|
|
12214
12217
|
var schema5 = create$3().shape({
|
|
12215
12218
|
whatsappNumber: create$6().required("Informe o n\xFAmero do whastapp").length(15)
|
|
12216
12219
|
});
|
|
@@ -12294,7 +12297,7 @@ function LoginSeguranca(props) {
|
|
|
12294
12297
|
justifyContent: "center",
|
|
12295
12298
|
alignItems: "center",
|
|
12296
12299
|
children: [
|
|
12297
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12300
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _Verified2.default, { color: "success" }),
|
|
12298
12301
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Typography, { variant: "body2", children: "N\xFAmero Verificado" })
|
|
12299
12302
|
]
|
|
12300
12303
|
}
|
|
@@ -12460,5 +12463,5 @@ var _CssBaseline = require('@mui/material/CssBaseline'); var _CssBaseline2 = _in
|
|
|
12460
12463
|
|
|
12461
12464
|
|
|
12462
12465
|
|
|
12463
|
-
exports.AlterarLicenca = AlterarLicenca; exports.AlterarSenha = AlterarSenha; exports.Autocomplete = Autocomplete; exports.Avatar = Avatar; exports.Breadcrumbs = Breadcrumbs; exports.Button = Button_default; exports.ButtonContainer = ButtonContainer; exports.ButtonGroup = ButtonGroup_default; exports.CEPTextField = CEPTextField; exports.Card = Card_default; exports.Checkbox = Checkbox; exports.ColorsGrid = ColorsGrid; exports.Content = Content2; exports.ContentTitle = ContentTitle_default; exports.CssBaseline = _CssBaseline2.default; exports.CurrencyCellStyle = CurrencyCellStyle; exports.CurrencyTextField = CurrencyTextField_default; exports.DataTable = DataTable_default; exports.DataTableOptions = DataTableOptions; exports.DatePicker = DatePicker; exports.DatePickerProvider = DatePickerProvider; exports.DateRangePicker = DateRangePicker; exports.Dialog = Dialog_default; exports.DocumentoTextField = DocumentoTextField; exports.DrawerMenu = DrawerMenu; exports.Editable = Editable; exports.Filter = Filter_default; exports.FilterApiContext = FilterApiContext; exports.FilterContainer = FilterContainer; exports.FilterControl = FilterControl; exports.FilterDataContext = FilterDataContext; exports.FilterProvider = FilterProvider; exports.Flag = Flag; exports.Header = Header_default; exports.Icon = Icon_default; exports.LabelValue = LabelValue; exports.List = List_default; exports.LucidIcon = LucidIcon_default; exports.Menu = Menu_default; exports.MioAuth = MioAuth; exports.NotaVersao = NotaVersao; exports.OptionStyles = OptionStyles; exports.Page = Page_default; exports.PageTitle = PageTitle; exports.PasswordTextField = PasswordTextField; exports.Popover = Popover_default; exports.Profile = Profile; exports.SearchTextField = SearchTextField; exports.Surface = Surface; exports.TelefoneTextField = TelefoneTextField; exports.TextField =
|
|
12466
|
+
exports.AlterarLicenca = AlterarLicenca; exports.AlterarSenha = AlterarSenha; exports.Autocomplete = Autocomplete; exports.Avatar = Avatar; exports.Breadcrumbs = Breadcrumbs; exports.Button = Button_default; exports.ButtonContainer = ButtonContainer; exports.ButtonGroup = ButtonGroup_default; exports.CEPTextField = CEPTextField; exports.Card = Card_default; exports.Checkbox = Checkbox; exports.ColorsGrid = ColorsGrid; exports.Content = Content2; exports.ContentTitle = ContentTitle_default; exports.CssBaseline = _CssBaseline2.default; exports.CurrencyCellStyle = CurrencyCellStyle; exports.CurrencyTextField = CurrencyTextField_default; exports.DataTable = DataTable_default; exports.DataTableOptions = DataTableOptions; exports.DatePicker = DatePicker; exports.DatePickerProvider = DatePickerProvider; exports.DateRangePicker = DateRangePicker; exports.Dialog = Dialog_default; exports.DocumentoTextField = DocumentoTextField; exports.DrawerMenu = DrawerMenu; exports.Editable = Editable; exports.Filter = Filter_default; exports.FilterApiContext = FilterApiContext; exports.FilterContainer = FilterContainer; exports.FilterControl = FilterControl; exports.FilterDataContext = FilterDataContext; exports.FilterProvider = FilterProvider; exports.Flag = Flag; exports.Header = Header_default; exports.Icon = Icon_default; exports.LabelValue = LabelValue; exports.List = List_default; exports.LucidIcon = LucidIcon_default; exports.Menu = Menu_default; exports.MioAuth = MioAuth; exports.NotaVersao = NotaVersao; exports.OptionStyles = OptionStyles; exports.Page = Page_default; exports.PageTitle = PageTitle; exports.PasswordTextField = PasswordTextField; exports.Popover = Popover_default; exports.Profile = Profile; exports.SearchTextField = SearchTextField; exports.Surface = Surface; exports.TelefoneTextField = TelefoneTextField; exports.TextField = TextField12; exports.ThemeProvider = _styles.ThemeProvider; exports.Title = Title4; exports.Tooltip = Tooltip_default; exports.Transporter = Transporter_default; exports.createTheme = _styles.createTheme; exports.renderMenuItems = renderMenuItems; exports.styled = _styles.styled; exports.theme = theme_default; exports.useDialogs = _core.useDialogs; exports.useFilter = useFilter; exports.useFilterApi = useFilterApi3; exports.useMenu = useMenu; exports.useTheme = _styles.useTheme; exports.useTransporter = useTransporter;
|
|
12464
12467
|
//# sourceMappingURL=index.js.map
|