@data-c/ui 0.2.88 → 0.2.90
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 +30 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +152 -125
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -9316,10 +9316,36 @@ function TransporterRoot(props) {
|
|
|
9316
9316
|
|
|
9317
9317
|
|
|
9318
9318
|
function TransporterTextField(props) {
|
|
9319
|
-
const {
|
|
9319
|
+
const {
|
|
9320
|
+
disableLocalFiltering,
|
|
9321
|
+
renderOption,
|
|
9322
|
+
endAdornment,
|
|
9323
|
+
disabled,
|
|
9324
|
+
...rest
|
|
9325
|
+
} = props;
|
|
9320
9326
|
const scope = useTransporterScope();
|
|
9321
9327
|
const { openTransporter, triggerOnChange, value } = useTransporter(scope);
|
|
9322
|
-
const defaultEndAdornment = /* @__PURE__ */ _jsxruntime.
|
|
9328
|
+
const defaultEndAdornment = endAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _material.Stack, { direction: "row", spacing: 0, alignItems: "center", mr: 1, children: [
|
|
9329
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Tooltip, { title: "Clique no \xEDcone ou d\xEA dois cliques no campo para abrir a busca avan\xE7ada", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9330
|
+
_material.IconButton,
|
|
9331
|
+
{
|
|
9332
|
+
disabled,
|
|
9333
|
+
onClick: () => openTransporter(),
|
|
9334
|
+
edge: "end",
|
|
9335
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LucidIcon_default, { name: "ArrowUpRight", size: 18 })
|
|
9336
|
+
}
|
|
9337
|
+
) }),
|
|
9338
|
+
endAdornment
|
|
9339
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Tooltip, { title: "Clique no \xEDcone ou d\xEA dois cliques no campo para abrir a busca avan\xE7ada", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9340
|
+
_material.IconButton,
|
|
9341
|
+
{
|
|
9342
|
+
disabled,
|
|
9343
|
+
onClick: () => openTransporter(),
|
|
9344
|
+
edge: "end",
|
|
9345
|
+
sx: { mr: 1 },
|
|
9346
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LucidIcon_default, { name: "ArrowUpRight", size: 18 })
|
|
9347
|
+
}
|
|
9348
|
+
) });
|
|
9323
9349
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9324
9350
|
Autocomplete,
|
|
9325
9351
|
{
|
|
@@ -9334,7 +9360,8 @@ function TransporterTextField(props) {
|
|
|
9334
9360
|
}
|
|
9335
9361
|
},
|
|
9336
9362
|
renderOption,
|
|
9337
|
-
endAdornment:
|
|
9363
|
+
endAdornment: defaultEndAdornment,
|
|
9364
|
+
disabled,
|
|
9338
9365
|
...rest
|
|
9339
9366
|
}
|
|
9340
9367
|
);
|