@gustavo-valsechi/client 1.4.61 → 1.4.62
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/components/types/chart/styles.js +1 -0
- package/dist/components/types/chart/styles.mjs +1 -0
- package/dist/components/types/form/types/select/index.js +1 -1
- package/dist/components/types/form/types/select/index.mjs +1 -1
- package/dist/components/types/tooltip/styles.js +1 -0
- package/dist/components/types/tooltip/styles.mjs +1 -0
- package/dist/contexts/modal/styles.js +1 -0
- package/dist/contexts/modal/styles.mjs +1 -0
- package/dist/contexts/target/index.js +1 -2
- package/dist/contexts/target/index.mjs +1 -2
- package/dist/contexts/target/styles.js +1 -0
- package/dist/contexts/target/styles.mjs +1 -0
- package/dist/contexts/theme/styles.js +1 -0
- package/dist/contexts/theme/styles.mjs +1 -0
- package/package.json +1 -1
|
@@ -72,7 +72,7 @@ function InputSelect(props) {
|
|
|
72
72
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
73
73
|
"input",
|
|
74
74
|
{
|
|
75
|
-
...import_lodash.default.omit(props, ["className", "register", "mask", "
|
|
75
|
+
...import_lodash.default.omit(props, ["className", "register", "mask", "setValue"]),
|
|
76
76
|
type: "text",
|
|
77
77
|
maxLength: props.maxLength || 255,
|
|
78
78
|
...register,
|
|
@@ -39,7 +39,7 @@ function InputSelect(props) {
|
|
|
39
39
|
/* @__PURE__ */ jsx(
|
|
40
40
|
"input",
|
|
41
41
|
{
|
|
42
|
-
..._.omit(props, ["className", "register", "mask", "
|
|
42
|
+
..._.omit(props, ["className", "register", "mask", "setValue"]),
|
|
43
43
|
type: "text",
|
|
44
44
|
maxLength: props.maxLength || 255,
|
|
45
45
|
...register,
|
|
@@ -49,9 +49,7 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
49
49
|
const element = (_a = target.ref) == null ? void 0 : _a.current;
|
|
50
50
|
if (!element) return;
|
|
51
51
|
element.addEventListener("click", () => {
|
|
52
|
-
console.log("showMemory", showMemory);
|
|
53
52
|
const isShow = import_lodash.default.find(showMemory, (data) => data.index === index);
|
|
54
|
-
console.log("isShow", isShow);
|
|
55
53
|
if (isShow) {
|
|
56
54
|
const showIndex = import_lodash.default.findIndex(showMemory, (data) => data.index === index);
|
|
57
55
|
showMemory.splice(showIndex, 1);
|
|
@@ -63,6 +61,7 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
63
61
|
});
|
|
64
62
|
});
|
|
65
63
|
}, [targets]);
|
|
64
|
+
console.log(show);
|
|
66
65
|
const getCoords = (target) => {
|
|
67
66
|
const rect = target.getBoundingClientRect();
|
|
68
67
|
const targetTop = rect.top + window.scrollY;
|
|
@@ -15,9 +15,7 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
15
15
|
const element = (_a = target.ref) == null ? void 0 : _a.current;
|
|
16
16
|
if (!element) return;
|
|
17
17
|
element.addEventListener("click", () => {
|
|
18
|
-
console.log("showMemory", showMemory);
|
|
19
18
|
const isShow = _.find(showMemory, (data) => data.index === index);
|
|
20
|
-
console.log("isShow", isShow);
|
|
21
19
|
if (isShow) {
|
|
22
20
|
const showIndex = _.findIndex(showMemory, (data) => data.index === index);
|
|
23
21
|
showMemory.splice(showIndex, 1);
|
|
@@ -29,6 +27,7 @@ const TargetProviderContainer = ({ children }) => {
|
|
|
29
27
|
});
|
|
30
28
|
});
|
|
31
29
|
}, [targets]);
|
|
30
|
+
console.log(show);
|
|
32
31
|
const getCoords = (target) => {
|
|
33
32
|
const rect = target.getBoundingClientRect();
|
|
34
33
|
const targetTop = rect.top + window.scrollY;
|