@esvndev/es-react-config-setting 1.0.2 → 1.0.3

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/README.md CHANGED
@@ -1 +1,3 @@
1
- ## ESVN
1
+ ## ESVN
2
+ npm run build
3
+ npm publish
package/dist/index.js CHANGED
@@ -6209,23 +6209,29 @@ const SettingApp = (props) => {
6209
6209
  return l;
6210
6210
  };
6211
6211
  const [dataSetting, setDataSetting] = React.useState([{
6212
+ id: 1,
6212
6213
  name: 'Cài đặt chung'
6213
6214
  }, {
6215
+ id: 2,
6214
6216
  name: 'Quyền riêng tư'
6215
6217
  }, {
6218
+ id: 3,
6216
6219
  name: 'Giao diện'
6217
6220
  }, {
6221
+ id: 4,
6218
6222
  name: 'Thông báo'
6219
6223
  }, {
6224
+ id: 5,
6220
6225
  name: 'Tin nhắn'
6221
6226
  }, {
6227
+ id: 6,
6222
6228
  name: 'Tiện ích'
6223
6229
  }]);
6224
6230
  return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: isOpen ?
6225
- jsxRuntime.jsx(Modal$1, { isOpen: true, toggle: handleModal, className: 'modal-dialog-centered modal-lg', contentClassName: 'p-0', onOpened: handleFormOpened, onClosed: handleFormClosed, backdrop: backdrop, children: jsxRuntime.jsx(Form$1, { id: 'form-modal-globalzone', className: 'todo-modal', onSubmit: handleSubmit, children: jsxRuntime.jsxs("div", { className: "", children: [jsxRuntime.jsx(ModalHeader, { handleModal: handleModal, typeModal: "typeModal", title: 'C\u00E0i \u0111\u1EB7t' }), jsxRuntime.jsxs(Row, { className: "m-0 gy-1 mb-2 me-1", children: [jsxRuntime.jsx(Col, { md: 4, xs: 12, children: jsxRuntime.jsx(lib.Scrollbars, { autoHide: true, autoHeight: true, autoHeightMax: windowSize.innerHeight - 180, children: jsxRuntime.jsx(ModalBody, { children: jsxRuntime.jsx(Row, { className: "m-0 gy-1 mb-2 me-1", children: dataSetting && dataSetting.length > 0 ?
6226
- dataSetting.map((item) => {
6227
- jsxRuntime.jsx(Col, { md: 12, xs: 12, children: jsxRuntime.jsx("label", { children: item.name }) });
6228
- }) : null }) }) }) }), jsxRuntime.jsx(Col, { md: 8, xs: 12, children: jsxRuntime.jsx(lib.Scrollbars, { autoHide: true, autoHeight: true, autoHeightMax: windowSize.innerHeight - 180, children: jsxRuntime.jsx(ModalBody, { children: jsxRuntime.jsx("div", { children: jsxRuntime.jsxs("div", { className: 'box form-box__border mb-2', children: [jsxRuntime.jsx("h5", { className: "m-0 form-box__border--title", children: t('General information') }), jsxRuntime.jsx(Row, { className: "m-0 gy-1 mb-2 me-1" })] }) }) }) }) })] })] }) }) })
6231
+ jsxRuntime.jsx(Modal$1, { isOpen: true, toggle: handleModal, className: 'modal-dialog-centered modal-lg', contentClassName: 'p-0', onOpened: handleFormOpened, onClosed: handleFormClosed, backdrop: backdrop, children: jsxRuntime.jsx(Form$1, { id: 'form-modal-globalzone', className: 'todo-modal', onSubmit: handleSubmit, children: jsxRuntime.jsxs("div", { className: "", children: [jsxRuntime.jsx(ModalHeader, { handleModal: handleModal, typeModal: "typeModal", title: 'C\u00E0i \u0111\u1EB7t' }), jsxRuntime.jsxs(Row, { className: "m-0 gy-1 mb-2 me-1", children: [jsxRuntime.jsx(Col, { md: 4, xs: 12, children: jsxRuntime.jsx(lib.Scrollbars, { autoHide: true, autoHeight: true, autoHeightMax: windowSize.innerHeight - 180, children: jsxRuntime.jsx(Row, { className: "m-0 gy-1 mb-2 me-1", children: dataSetting && dataSetting.length > 0 ?
6232
+ dataSetting.map((item) => {
6233
+ jsxRuntime.jsx(Col, { md: 12, xs: 12, children: jsxRuntime.jsx("label", { children: item.name }) }, item.id);
6234
+ }) : null }) }) }), jsxRuntime.jsx(Col, { md: 8, xs: 12, children: jsxRuntime.jsx(lib.Scrollbars, { autoHide: true, autoHeight: true, autoHeightMax: windowSize.innerHeight - 180, children: jsxRuntime.jsx(ModalBody, { children: jsxRuntime.jsx("div", { children: jsxRuntime.jsxs("div", { className: 'box form-box__border mb-2', children: [jsxRuntime.jsx("h5", { className: "m-0 form-box__border--title", children: t('General information') }), jsxRuntime.jsx(Row, { className: "m-0 gy-1 mb-2 me-1" })] }) }) }) }) })] })] }) }) })
6229
6235
  : null }));
6230
6236
  };
6231
6237