@esvndev/es-react-config-setting 1.0.20 → 1.0.22

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
@@ -11506,18 +11506,18 @@ const SettingApp = (props) => {
11506
11506
  ...item,
11507
11507
  active: item.id === data.id
11508
11508
  }));
11509
- settingData(data);
11509
+ setSettingData(data);
11510
11510
  setDataSettingGroup(updated);
11511
11511
  };
11512
11512
  //hàm tạo các thông số cấu hình và cài đặt
11513
11513
  const _renderView = () => {
11514
11514
  return (settingData && settingData.data && settingData.data.length > 0 ? settingData.data.map((item, index) => {
11515
- jsxRuntime.jsxs("div", { className: "setting-section", children: [jsxRuntime.jsx("div", { className: "setting-section-label", children: jsxRuntime.jsx("div", { className: "badge", children: jsxRuntime.jsx("span", { children: item.name }) }) }), item.desrciption ?
11515
+ return (jsxRuntime.jsxs("div", { className: "setting-section", children: [jsxRuntime.jsx("div", { className: "setting-section-label", children: jsxRuntime.jsx("div", { className: "badge", children: jsxRuntime.jsx("span", { children: item.name }) }) }), item.desrciption ?
11516
11516
  jsxRuntime.jsx("div", { className: "setting-section-desc", children: jsxRuntime.jsx("div", { className: "", children: jsxRuntime.jsx("span", { children: item.desrciption }) }) })
11517
11517
  : null, item.data && item.data.length > 0 ? item.data.map((_item, _index) => {
11518
11518
  return (jsxRuntime.jsx("div", { className: "setting-section-content ", children: jsxRuntime.jsxs("div", { className: 'flx flx-al-c flx-sp-btw setting-section-content__item' + (_index === 0 ? 'first' : (_index === _item.data.length - 1 ? 'last' : '')), children: [jsxRuntime.jsxs("div", { className: "flx flx-col", style: { flex: "0 0 fit-content" }, children: [jsxRuntime.jsx("span", { children: _item.name }), jsxRuntime.jsx("span", { className: "setting-section-content__description", children: _item.description })] }), jsxRuntime.jsx("div", { style: { maxWidth: "50%" }, children: jsxRuntime.jsx("div", { style: { width: "100%", boxSizing: "border-box" }, children: jsxRuntime.jsxs("div", { className: "flx flx-al-c z-dropdown-preview --square --l", style: { width: "100%", boxSizing: "border-box" }, children: [jsxRuntime.jsx("div", { className: "truncate flx-1" }), jsxRuntime.jsx("i", { className: "fa fa-Chevron_Down_24_Line margin-left-24" })] }) }) })] }) }));
11519
11519
  })
11520
- : null] });
11520
+ : null] }));
11521
11521
  })
11522
11522
  : null);
11523
11523
  };