@gustavo-valsechi/client 1.4.366 → 1.4.367
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.
|
@@ -39,10 +39,10 @@ var import_styles = require("./styles");
|
|
|
39
39
|
var import_label = require("../label");
|
|
40
40
|
var import_error = require("../error");
|
|
41
41
|
var import_contexts = require("../../../../../contexts");
|
|
42
|
+
var import_utils = __toESM(require("@gustavo-valsechi/utils"));
|
|
42
43
|
var import_lodash = __toESM(require("lodash"));
|
|
43
44
|
var import_options = __toESM(require("./options"));
|
|
44
45
|
var import_option = __toESM(require("./options/option"));
|
|
45
|
-
var import_utils = __toESM(require("@gustavo-valsechi/utils"));
|
|
46
46
|
function InputSelect(props) {
|
|
47
47
|
var _a, _b;
|
|
48
48
|
const containerRef = (0, import_react.useRef)(null);
|
|
@@ -56,7 +56,6 @@ function InputSelect(props) {
|
|
|
56
56
|
(0, import_react.useEffect)(() => {
|
|
57
57
|
var _a2;
|
|
58
58
|
if (!(inputRef == null ? void 0 : inputRef.current) || !(containerRef == null ? void 0 : containerRef.current)) return;
|
|
59
|
-
console.log("props.options", props.options);
|
|
60
59
|
target.save({
|
|
61
60
|
ref: inputRef,
|
|
62
61
|
component: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
@@ -6,10 +6,10 @@ import { Container } from "./styles";
|
|
|
6
6
|
import { InputLabel } from "../label";
|
|
7
7
|
import { InputError } from "../error";
|
|
8
8
|
import { useTarget } from "../../../../../contexts";
|
|
9
|
+
import Utils from "@gustavo-valsechi/utils";
|
|
9
10
|
import _ from "lodash";
|
|
10
11
|
import InputSelectOptions from "./options";
|
|
11
12
|
import InputSelectOption from "./options/option";
|
|
12
|
-
import Utils from "@gustavo-valsechi/utils";
|
|
13
13
|
function InputSelect(props) {
|
|
14
14
|
var _a, _b;
|
|
15
15
|
const containerRef = useRef(null);
|
|
@@ -23,7 +23,6 @@ function InputSelect(props) {
|
|
|
23
23
|
useEffect(() => {
|
|
24
24
|
var _a2;
|
|
25
25
|
if (!(inputRef == null ? void 0 : inputRef.current) || !(containerRef == null ? void 0 : containerRef.current)) return;
|
|
26
|
-
console.log("props.options", props.options);
|
|
27
26
|
target.save({
|
|
28
27
|
ref: inputRef,
|
|
29
28
|
component: /* @__PURE__ */ jsx(
|