@data-c/ui 0.2.85 → 0.2.88
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 +7 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.mjs
CHANGED
|
@@ -5054,7 +5054,7 @@ var TupleSchema = class extends Schema {
|
|
|
5054
5054
|
create$1.prototype = TupleSchema.prototype;
|
|
5055
5055
|
|
|
5056
5056
|
// src/AlterarSenha/index.tsx
|
|
5057
|
-
import
|
|
5057
|
+
import InfoOutlined from "@mui/icons-material/InfoOutlined";
|
|
5058
5058
|
import { Alert as Alert3, Box as Box17, Divider as Divider3, Grid, Typography as Typography20 } from "@mui/material";
|
|
5059
5059
|
import { useState as useState17 } from "react";
|
|
5060
5060
|
import {
|
|
@@ -5069,7 +5069,7 @@ import isStrongPassword from "validator/lib/isStrongPassword";
|
|
|
5069
5069
|
// src/PasswordTextField/index.tsx
|
|
5070
5070
|
import Visibility from "@mui/icons-material/Visibility";
|
|
5071
5071
|
import VisibilityOff from "@mui/icons-material/VisibilityOff";
|
|
5072
|
-
import { IconButton as
|
|
5072
|
+
import { IconButton as IconButton13, InputAdornment as InputAdornment4 } from "@mui/material";
|
|
5073
5073
|
import { useState as useState16 } from "react";
|
|
5074
5074
|
|
|
5075
5075
|
// src/v2/Header/HeaderContent.tsx
|
|
@@ -9313,11 +9313,13 @@ function TransporterRoot(props) {
|
|
|
9313
9313
|
}
|
|
9314
9314
|
|
|
9315
9315
|
// src/v2/Transporter/TransporterTextField.tsx
|
|
9316
|
+
import { IconButton as IconButton11 } from "@mui/material";
|
|
9316
9317
|
import { jsx as jsx141 } from "react/jsx-runtime";
|
|
9317
9318
|
function TransporterTextField(props) {
|
|
9318
|
-
const { disableLocalFiltering, renderOption, ...rest } = props;
|
|
9319
|
+
const { disableLocalFiltering, renderOption, endAdornment, ...rest } = props;
|
|
9319
9320
|
const scope = useTransporterScope();
|
|
9320
9321
|
const { openTransporter, triggerOnChange, value } = useTransporter(scope);
|
|
9322
|
+
const defaultEndAdornment = /* @__PURE__ */ jsx141(IconButton11, { onClick: () => openTransporter(), edge: "end", children: /* @__PURE__ */ jsx141(LucidIcon_default, { name: "ArrowUpRight", size: 18 }) });
|
|
9321
9323
|
return /* @__PURE__ */ jsx141(
|
|
9322
9324
|
Autocomplete,
|
|
9323
9325
|
{
|
|
@@ -9332,6 +9334,7 @@ function TransporterTextField(props) {
|
|
|
9332
9334
|
}
|
|
9333
9335
|
},
|
|
9334
9336
|
renderOption,
|
|
9337
|
+
endAdornment: { ...defaultEndAdornment, ...endAdornment },
|
|
9335
9338
|
...rest
|
|
9336
9339
|
}
|
|
9337
9340
|
);
|
|
@@ -9826,7 +9829,7 @@ function DatePickerProvider({
|
|
|
9826
9829
|
|
|
9827
9830
|
// src/v2/DateRangePicker/index.tsx
|
|
9828
9831
|
import {
|
|
9829
|
-
IconButton as
|
|
9832
|
+
IconButton as IconButton12,
|
|
9830
9833
|
InputAdornment as InputAdornment3,
|
|
9831
9834
|
MenuItem as MenuItem5,
|
|
9832
9835
|
Stack as Stack37,
|
|
@@ -10046,8 +10049,8 @@ function DateRangePicker(props) {
|
|
|
10046
10049
|
variant: "outlined",
|
|
10047
10050
|
InputProps: {
|
|
10048
10051
|
startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs65(InputAdornment3, { position: "start", children: [
|
|
10049
|
-
/* @__PURE__ */ jsx150(
|
|
10050
|
-
/* @__PURE__ */ jsx150(
|
|
10052
|
+
/* @__PURE__ */ jsx150(IconButton12, { size: "small", onClick: handleBackToPrevious, children: /* @__PURE__ */ jsx150(ArrowLeftIcon, { fontSize: "small" }) }),
|
|
10053
|
+
/* @__PURE__ */ jsx150(IconButton12, { size: "small", onClick: handleGoToNext, children: /* @__PURE__ */ jsx150(ArrowRightIcon, { fontSize: "small" }) })
|
|
10051
10054
|
] })
|
|
10052
10055
|
},
|
|
10053
10056
|
children: [
|
|
@@ -10115,8 +10118,8 @@ function DateRangePicker(props) {
|
|
|
10115
10118
|
variant: "outlined",
|
|
10116
10119
|
InputProps: {
|
|
10117
10120
|
startAdornment: dates?.tipo !== "livre" && /* @__PURE__ */ jsxs65(InputAdornment3, { position: "start", children: [
|
|
10118
|
-
/* @__PURE__ */ jsx150(
|
|
10119
|
-
/* @__PURE__ */ jsx150(
|
|
10121
|
+
/* @__PURE__ */ jsx150(IconButton12, { size: "small", onClick: handleBackToPrevious, children: /* @__PURE__ */ jsx150(ArrowLeftIcon, { fontSize: "small" }) }),
|
|
10122
|
+
/* @__PURE__ */ jsx150(IconButton12, { size: "small", onClick: handleGoToNext, children: /* @__PURE__ */ jsx150(ArrowRightIcon, { fontSize: "small" }) })
|
|
10120
10123
|
] })
|
|
10121
10124
|
},
|
|
10122
10125
|
children: [
|
|
@@ -10271,7 +10274,7 @@ function PasswordTextField(props) {
|
|
|
10271
10274
|
slotProps: {
|
|
10272
10275
|
input: {
|
|
10273
10276
|
endAdornment: /* @__PURE__ */ jsx152(InputAdornment4, { position: "end", children: /* @__PURE__ */ jsx152(
|
|
10274
|
-
|
|
10277
|
+
IconButton13,
|
|
10275
10278
|
{
|
|
10276
10279
|
tabIndex: -1,
|
|
10277
10280
|
onClick: handleClickShowPassword,
|
|
@@ -10629,7 +10632,6 @@ function LoginForm(props) {
|
|
|
10629
10632
|
{
|
|
10630
10633
|
name: "password",
|
|
10631
10634
|
label: "Senha",
|
|
10632
|
-
placeholder: "Sua senha",
|
|
10633
10635
|
value: password || "",
|
|
10634
10636
|
onChange: (e) => setPassword(e.target.value),
|
|
10635
10637
|
onKeyDown: (e) => e.key === "Enter" && handleLogin(),
|
|
@@ -10907,7 +10909,7 @@ import {
|
|
|
10907
10909
|
useForm as useForm2
|
|
10908
10910
|
} from "@data-c/hooks";
|
|
10909
10911
|
import HelpOutline from "@mui/icons-material/HelpOutline";
|
|
10910
|
-
import { Alert as Alert7, IconButton as
|
|
10912
|
+
import { Alert as Alert7, IconButton as IconButton14, Stack as Stack40, TextField as TextField11, Typography as Typography23 } from "@mui/material";
|
|
10911
10913
|
import { useState as useState23 } from "react";
|
|
10912
10914
|
|
|
10913
10915
|
// src/WhastappTextField/index.tsx
|
|
@@ -11212,7 +11214,7 @@ function OtpForm(props) {
|
|
|
11212
11214
|
href: "https://datacsistemashelp.zendesk.com/hc/pt-br/articles/36489079108756-Login-OTP-via-WhatsApp",
|
|
11213
11215
|
target: "_blank",
|
|
11214
11216
|
rel: "noopener noreferrer",
|
|
11215
|
-
children: /* @__PURE__ */ jsx161(
|
|
11217
|
+
children: /* @__PURE__ */ jsx161(IconButton14, { children: /* @__PURE__ */ jsx161(HelpOutline, { color: "primary" }) })
|
|
11216
11218
|
}
|
|
11217
11219
|
)
|
|
11218
11220
|
]
|