jclib-ui 1.0.296 → 1.0.297
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import React__default, { useEffect, createContext, useContext, useState, useCallback, useRef, useMemo, useLayoutEffect, useImperativeHandle } from "react";
|
|
3
|
-
import { isDarkMode, random,
|
|
3
|
+
import { isMobile, isDarkMode, random, formatData, formatDataHora, formatValor, isDesktop, getDateTimeStr, getHash, validarCNPJ, validarCPF } from "jcinfo-utils";
|
|
4
4
|
import { useDragControls, motion } from "framer-motion";
|
|
5
5
|
import styled from "styled-components";
|
|
6
6
|
import { Dropdown, DropdownMenu, DropdownItem, DropdownToggle, Spinner, Button, InputGroup, Input as Input$1 } from "reactstrap";
|
|
@@ -3897,12 +3897,12 @@ if (process.env.NODE_ENV === "production") {
|
|
|
3897
3897
|
var jsxRuntimeExports = jsxRuntime.exports;
|
|
3898
3898
|
const BorderTestServer = styled.div`
|
|
3899
3899
|
position: fixed;
|
|
3900
|
-
top:
|
|
3901
|
-
|
|
3902
|
-
width:
|
|
3900
|
+
top: 3px;
|
|
3901
|
+
left: 3px;
|
|
3902
|
+
width: 12px;
|
|
3903
3903
|
aspect-ratio: 1/1;
|
|
3904
3904
|
box-sizing: border-box;
|
|
3905
|
-
background-color: #
|
|
3905
|
+
background-color: #2cbd64;
|
|
3906
3906
|
border-radius: 99px;
|
|
3907
3907
|
pointer-events: none;
|
|
3908
3908
|
z-index: 9999999;
|
|
@@ -3929,7 +3929,9 @@ function useTestDomainBadge(testDomain) {
|
|
|
3929
3929
|
document.title = `${MARCADOR_TESTE}${document.title}`;
|
|
3930
3930
|
}
|
|
3931
3931
|
}, [testDomain]);
|
|
3932
|
-
|
|
3932
|
+
if (inTestServer() && isMobile()) {
|
|
3933
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(BorderTestServer, {});
|
|
3934
|
+
}
|
|
3933
3935
|
}
|
|
3934
3936
|
const LibContext = createContext({
|
|
3935
3937
|
modalList: [],
|