jclib-ui 1.0.83 → 1.0.85
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/jclib-ui.es.js
CHANGED
|
@@ -3,7 +3,7 @@ import t__default, { createContext, useState, useCallback, useEffect, useContext
|
|
|
3
3
|
import { isDarkMode, random, isMobile, isDesktop, getDateTimeStr, getHash, formatValor } from "jcinfo-utils";
|
|
4
4
|
import { useDragControls, motion } from "framer-motion";
|
|
5
5
|
import styled from "styled-components";
|
|
6
|
-
import { Dropdown, DropdownMenu, DropdownItem, DropdownToggle,
|
|
6
|
+
import { Dropdown, DropdownMenu, DropdownItem, DropdownToggle, Button, InputGroup, Input as Input$1 } from "reactstrap";
|
|
7
7
|
import { useHistory, useParams, useLocation, Link } from "react-router-dom";
|
|
8
8
|
import fileDownload from "js-file-download";
|
|
9
9
|
import axios, { AxiosError } from "axios";
|
|
@@ -4107,7 +4107,7 @@ function JCAlert({
|
|
|
4107
4107
|
{
|
|
4108
4108
|
dangerouslySetInnerHTML: { __html: text.replaceAll("\n", "<br/>") }
|
|
4109
4109
|
}
|
|
4110
|
-
) : /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children }) }),
|
|
4110
|
+
) : /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: text || children }) }),
|
|
4111
4111
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "jc-alert-buttons", children: [
|
|
4112
4112
|
(type === AlertTypes.Alerta || type === AlertTypes.Aviso) && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4113
4113
|
"button",
|
|
@@ -4524,7 +4524,7 @@ function Table({
|
|
|
4524
4524
|
});
|
|
4525
4525
|
}
|
|
4526
4526
|
if (!dados || dados.length === 0)
|
|
4527
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
4527
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "alert alert-secondary", children: "Nenhum registro encontrado!" });
|
|
4528
4528
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Container$7, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(TableContainer, { alignTop, sizeBreak, hasBorder: border, children: [
|
|
4529
4529
|
/* @__PURE__ */ jsxRuntimeExports.jsx(TableHead, { colunas, incColActions: acoes ? true : false }),
|
|
4530
4530
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|