akeyless-client-commons 1.0.34 → 1.0.35
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/index.js
CHANGED
|
@@ -4244,6 +4244,11 @@ function SearchSelect(param) {
|
|
|
4244
4244
|
allOptions,
|
|
4245
4245
|
selectPlaceholder
|
|
4246
4246
|
]);
|
|
4247
|
+
(0, import_react6.useEffect)(function() {
|
|
4248
|
+
console.log("selectLabel", selectLabel);
|
|
4249
|
+
}, [
|
|
4250
|
+
selectLabel
|
|
4251
|
+
]);
|
|
4247
4252
|
var addNewOption = (0, import_react6.useCallback)(function() {
|
|
4248
4253
|
var newOption = {
|
|
4249
4254
|
value: searchQuery,
|
|
@@ -4015,7 +4015,7 @@ function PopoverContent(_param) {
|
|
|
4015
4015
|
}
|
|
4016
4016
|
// src/components/ui/SearchSelect.tsx
|
|
4017
4017
|
import { CheckIcon, ChevronDownIcon } from "lucide-react";
|
|
4018
|
-
import { useCallback as useCallback3, useId, useMemo as useMemo5, useState as useState5 } from "react";
|
|
4018
|
+
import { useCallback as useCallback3, useEffect as useEffect5, useId, useMemo as useMemo5, useState as useState5 } from "react";
|
|
4019
4019
|
import { jsx as jsx15, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
4020
4020
|
function SearchSelect(param) {
|
|
4021
4021
|
var options = param.options, name = param.name, _param_selectPlaceholder = param.selectPlaceholder, selectPlaceholder = _param_selectPlaceholder === void 0 ? "Select" : _param_selectPlaceholder, defaultValue = param.defaultValue, _param_searchPlaceholder = param.searchPlaceholder, searchPlaceholder = _param_searchPlaceholder === void 0 ? "Search" : _param_searchPlaceholder, dropdownClassName = param.dropdownClassName, dropdownOptionClassName = param.dropdownOptionClassName, notFoundLabel = param.notFoundLabel, notFoundLabelClassName = param.notFoundLabelClassName, elementClassName = param.elementClassName, searchClassName = param.searchClassName, selectButtonClassName = param.selectButtonClassName, value = param.value, disabled = param.disabled, onChange = param.onChange, direction = param.direction, createNewOptionLabel = param.createNewOptionLabel;
|
|
@@ -4049,6 +4049,11 @@ function SearchSelect(param) {
|
|
|
4049
4049
|
allOptions,
|
|
4050
4050
|
selectPlaceholder
|
|
4051
4051
|
]);
|
|
4052
|
+
useEffect5(function() {
|
|
4053
|
+
console.log("selectLabel", selectLabel);
|
|
4054
|
+
}, [
|
|
4055
|
+
selectLabel
|
|
4056
|
+
]);
|
|
4052
4057
|
var addNewOption = useCallback3(function() {
|
|
4053
4058
|
var newOption = {
|
|
4054
4059
|
value: searchQuery,
|
|
@@ -4660,7 +4665,7 @@ import { cloneElement, useState as useState8 } from "react";
|
|
|
4660
4665
|
import { useCallback as useCallback4, useMemo as useMemo8, useState as useState7 } from "react";
|
|
4661
4666
|
// src/components/forms/ModularForm/InternationalPhonePicker.tsx
|
|
4662
4667
|
import { ChevronDown, Phone } from "lucide-react";
|
|
4663
|
-
import { forwardRef as forwardRef7, useEffect as
|
|
4668
|
+
import { forwardRef as forwardRef7, useEffect as useEffect6, useMemo as useMemo7, useRef as useRef4, useState as useState6 } from "react";
|
|
4664
4669
|
import * as RPNInput from "react-phone-number-input";
|
|
4665
4670
|
import flags from "react-phone-number-input/flags";
|
|
4666
4671
|
import { jsx as jsx17, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
@@ -4674,7 +4679,7 @@ function InternationalPhonePicker(param) {
|
|
|
4674
4679
|
}
|
|
4675
4680
|
};
|
|
4676
4681
|
var _useState6 = _sliced_to_array(useState6(""), 2), tempPhoneValue = _useState6[0], setTempPhoneValue = _useState6[1];
|
|
4677
|
-
|
|
4682
|
+
useEffect6(function() {
|
|
4678
4683
|
if (defaultValue) {
|
|
4679
4684
|
if (setPhoneValue) {
|
|
4680
4685
|
setPhoneValue(defaultValue);
|
|
@@ -4747,7 +4752,7 @@ var PhoneInput = forwardRef7(function(_param, ref) {
|
|
|
4747
4752
|
"style"
|
|
4748
4753
|
]);
|
|
4749
4754
|
var inputRef = useRef4(null);
|
|
4750
|
-
|
|
4755
|
+
useEffect6(function() {
|
|
4751
4756
|
if (inputRef.current) {
|
|
4752
4757
|
inputRef.current.focus();
|
|
4753
4758
|
}
|
|
@@ -5432,12 +5437,12 @@ var DatePicker = function(param) {
|
|
|
5432
5437
|
};
|
|
5433
5438
|
// src/components/CodeInput.tsx
|
|
5434
5439
|
import { OTPInput } from "input-otp";
|
|
5435
|
-
import { useEffect as
|
|
5440
|
+
import { useEffect as useEffect7, useRef as useRef5 } from "react";
|
|
5436
5441
|
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
5437
5442
|
function CodeInput(param) {
|
|
5438
5443
|
var codeValue = param.codeValue, setCodeValue = param.setCodeValue, _param_className = param.className, className = _param_className === void 0 ? "" : _param_className, _param_slotContainerClassName = param.slotContainerClassName, slotContainerClassName = _param_slotContainerClassName === void 0 ? "" : _param_slotContainerClassName;
|
|
5439
5444
|
var firstInputRef = useRef5(null);
|
|
5440
|
-
|
|
5445
|
+
useEffect7(function() {
|
|
5441
5446
|
if (firstInputRef.current) {
|
|
5442
5447
|
firstInputRef.current.focus();
|
|
5443
5448
|
}
|