@esvndev/es-react-config-setting 1.0.48 → 1.0.49

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/index.js CHANGED
@@ -18824,9 +18824,11 @@ const SettingApp = (props) => {
18824
18824
  };
18825
18825
  //Sự kiện giá trị thay đổi
18826
18826
  const _eventChange = (data) => {
18827
- console.log("new data", data);
18828
- if (eventChange)
18829
- eventChange([{ key: "x", value: "x", state: "update" }]);
18827
+ if (data.target) {
18828
+ console.log("new data", data.target.value);
18829
+ if (eventChange)
18830
+ eventChange([{ key: "x", value: "x", state: "update" }]);
18831
+ }
18830
18832
  };
18831
18833
  const DynamicIcon = ({ name, className }) => {
18832
18834
  const LucideIcon = Icon[name];
@@ -18873,7 +18875,6 @@ const SettingApp = (props) => {
18873
18875
  };
18874
18876
  //Hàm sử dụng tạo theo loại giá trị
18875
18877
  const _renderInput = (root, data) => {
18876
- console.log((new Date()).getTime(), 111);
18877
18878
  switch (data.type) {
18878
18879
  case "switch":
18879
18880
  case "checkbox":