@pnkx-lib/ui 1.9.180 → 1.9.181

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.
Files changed (75) hide show
  1. package/es/fields/CascaderField.js +5 -5
  2. package/es/fields/Checkbox.js +5 -5
  3. package/es/fields/DatePicker.js +5 -5
  4. package/es/fields/DateRangePicker.js +5 -5
  5. package/es/fields/Input.js +10 -10
  6. package/es/fields/PnkxField.js +3 -3
  7. package/es/fields/Radio.js +5 -5
  8. package/es/fields/Select.js +5 -5
  9. package/es/fields/SliderRanger.js +5 -5
  10. package/es/fields/SliderSingle.js +5 -5
  11. package/es/fields/Switch.js +5 -5
  12. package/es/fields/Textarea.js +5 -5
  13. package/es/fields/TinyMCE.js +5 -5
  14. package/es/fields/Upload.js +9 -9
  15. package/es/ui/Alert.js +2 -2
  16. package/es/ui/Anchor.js +2 -2
  17. package/es/ui/Appfix.js +2 -2
  18. package/es/ui/AutoComplete.js +2 -2
  19. package/es/ui/Badge.js +2 -2
  20. package/es/ui/BottomPagination.js +10 -10
  21. package/es/ui/Breadcrumb.js +2 -2
  22. package/es/ui/BreadcrumbHeading.js +5 -5
  23. package/es/ui/Button.js +2 -2
  24. package/es/ui/Card.js +2 -2
  25. package/es/ui/Cascader.js +2 -2
  26. package/es/ui/CategoryStatus.js +5 -5
  27. package/es/ui/Col.js +2 -2
  28. package/es/ui/Collapse.js +2 -2
  29. package/es/ui/ColorPicker.js +2 -2
  30. package/es/ui/ConfigProvider.js +2 -2
  31. package/es/ui/ConfirmModal.js +22 -22
  32. package/es/ui/Container.js +2 -2
  33. package/es/ui/Divider.js +2 -2
  34. package/es/ui/Drawer.js +2 -2
  35. package/es/ui/Dropdown.js +2 -2
  36. package/es/ui/Empty.js +2 -2
  37. package/es/ui/ErrorBoundary.js +9 -9
  38. package/es/ui/ErrorMessage.js +2 -2
  39. package/es/ui/Flex.js +2 -2
  40. package/es/ui/Footer.js +2 -2
  41. package/es/ui/Heading.js +7 -7
  42. package/es/ui/Image.js +2 -2
  43. package/es/ui/Label.js +4 -4
  44. package/es/ui/Layout.js +2 -2
  45. package/es/ui/Menu.js +4 -4
  46. package/es/ui/Modal.js +2 -2
  47. package/es/ui/PageNotFound.js +81 -81
  48. package/es/ui/Pagination.js +2 -2
  49. package/es/ui/Popconfirm.js +2 -2
  50. package/es/ui/Popover.js +2 -2
  51. package/es/ui/QRCode.js +2 -2
  52. package/es/ui/Rate.js +2 -2
  53. package/es/ui/Result.js +2 -2
  54. package/es/ui/Row.js +2 -2
  55. package/es/ui/SearchFilterForm.js +8 -8
  56. package/es/ui/Segmented.js +2 -2
  57. package/es/ui/Sidebar.js +31 -31
  58. package/es/ui/Skeleton.js +8 -8
  59. package/es/ui/Space.js +2 -2
  60. package/es/ui/Spin.js +2 -2
  61. package/es/ui/Splitter.js +2 -2
  62. package/es/ui/Statistic.js +2 -2
  63. package/es/ui/Steps.js +2 -2
  64. package/es/ui/Tabs.js +2 -2
  65. package/es/ui/Tag.js +2 -2
  66. package/es/ui/Timeline.js +2 -2
  67. package/es/ui/Tooltip.js +2 -2
  68. package/es/ui/Tour.js +2 -2
  69. package/es/ui/Tree.js +2 -2
  70. package/es/ui/Typography.js +4 -4
  71. package/es/ui/UploadImage.js +9 -9
  72. package/es/ui/Watermark.js +7 -7
  73. package/es/ui/index.js +97 -97
  74. package/package.json +1 -1
  75. package/es/chunks/jsx-runtime-DFKOoQSG.js +0 -430
package/es/ui/index.js CHANGED
@@ -2,7 +2,7 @@ import { Button } from './Button.js';
2
2
  export { CascaderField } from './Cascader.js';
3
3
  export { ErrorMessage } from './ErrorMessage.js';
4
4
  export { Typography } from './Typography.js';
5
- import { j as jsxRuntimeExports } from '../chunks/jsx-runtime-DFKOoQSG.js';
5
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
6
  import React__default, { useLayoutEffect, useEffect, useRef, useMemo, useCallback, useState, memo, useReducer, createContext, useContext } from 'react';
7
7
  import { Table as Table$1 } from 'antd';
8
8
  import { Modal } from './Modal.js';
@@ -71,7 +71,7 @@ export { UploadImage } from './UploadImage.js';
71
71
  export { T as TINY_API } from '../chunks/common-CocKiHtC.js';
72
72
 
73
73
  const SettingColumnItem = ({ lable, name, control }) => {
74
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-full pt-2 pb-2 inline-flex", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
74
+ return /* @__PURE__ */ jsx("div", { className: "w-full pt-2 pb-2 inline-flex", children: /* @__PURE__ */ jsx(
75
75
  PnkxField,
76
76
  {
77
77
  label: lable,
@@ -4404,7 +4404,7 @@ function normalizeLocalDisabled(localDisabled, globalDisabled) {
4404
4404
  };
4405
4405
  }
4406
4406
 
4407
- const RestoreIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, fill: "none", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4407
+ const RestoreIcon = ({ stroke, fill }) => /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, fill: "none", children: /* @__PURE__ */ jsx(
4408
4408
  "path",
4409
4409
  {
4410
4410
  stroke,
@@ -4416,7 +4416,7 @@ const RestoreIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsx(
4416
4416
  }
4417
4417
  ) });
4418
4418
 
4419
- const DragIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 24, fill: "none", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4419
+ const DragIcon = ({ stroke, fill }) => /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 24, fill: "none", children: /* @__PURE__ */ jsx(
4420
4420
  "path",
4421
4421
  {
4422
4422
  fill: fill || "#116DFF",
@@ -4427,7 +4427,7 @@ const DragIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsx("sv
4427
4427
  }
4428
4428
  ) });
4429
4429
 
4430
- const SettingIcon = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
4430
+ const SettingIcon = (props) => /* @__PURE__ */ jsxs(
4431
4431
  "svg",
4432
4432
  {
4433
4433
  width: "30",
@@ -4437,8 +4437,8 @@ const SettingIcon = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
4437
4437
  xmlns: "http://www.w3.org/2000/svg",
4438
4438
  ...props,
4439
4439
  children: [
4440
- /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { x: "0.5", y: "0.5", width: "29", height: "29", rx: "14.5", fill: "white" }),
4441
- /* @__PURE__ */ jsxRuntimeExports.jsx(
4440
+ /* @__PURE__ */ jsx("rect", { x: "0.5", y: "0.5", width: "29", height: "29", rx: "14.5", fill: "white" }),
4441
+ /* @__PURE__ */ jsx(
4442
4442
  "rect",
4443
4443
  {
4444
4444
  x: "0.5",
@@ -4449,7 +4449,7 @@ const SettingIcon = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
4449
4449
  stroke: props?.stroke || "#D6E6FE"
4450
4450
  }
4451
4451
  ),
4452
- /* @__PURE__ */ jsxRuntimeExports.jsx(
4452
+ /* @__PURE__ */ jsx(
4453
4453
  "path",
4454
4454
  {
4455
4455
  d: "M16.0854 11C16.2913 10.4174 16.8469 10 17.5 10C18.1531 10 18.7087 10.4174 18.9146 11H21V12H18.9146C18.7087 12.5826 18.1531 13 17.5 13C16.8469 13 16.2913 12.5826 16.0854 12C15.6004 12 15.2368 12 14.9943 12C13.6622 12 11.6641 12 9 12V11C11.6611 11 13.6569 11 14.9874 11M17 11V12H18V11H17ZM17.5 18C18.1531 18 18.7087 18.4174 18.9146 19H21V20H18.9146C18.7087 20.5826 18.1531 21 17.5 21C16.8469 21 16.2913 20.5826 16.0854 20H9V19H16.0854C16.2913 18.4174 16.8469 18 17.5 18ZM17 19V20H18V19H17ZM21 15V16H13.9146C13.7087 16.5826 13.1531 17 12.5 17C11.8469 17 11.2913 16.5826 11.0854 16H9V15H11.0854C11.2913 14.4174 11.8469 14 12.5 14C13.1531 14 13.7087 14.4174 13.9146 15H21ZM12 15V16H13V15H12Z",
@@ -4460,7 +4460,7 @@ const SettingIcon = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
4460
4460
  }
4461
4461
  );
4462
4462
 
4463
- const SendApprovalIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, fill: "none", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4463
+ const SendApprovalIcon = ({ stroke, fill }) => /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, fill: "none", children: /* @__PURE__ */ jsx(
4464
4464
  "path",
4465
4465
  {
4466
4466
  fill,
@@ -4471,7 +4471,7 @@ const SendApprovalIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports
4471
4471
  }
4472
4472
  ) });
4473
4473
 
4474
- const CancelSendApprovalIcon = ({ fill, stroke }) => /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, fill: "none", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4474
+ const CancelSendApprovalIcon = ({ fill, stroke }) => /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, fill: "none", children: /* @__PURE__ */ jsx(
4475
4475
  "path",
4476
4476
  {
4477
4477
  fill,
@@ -4482,7 +4482,7 @@ const CancelSendApprovalIcon = ({ fill, stroke }) => /* @__PURE__ */ jsxRuntimeE
4482
4482
  }
4483
4483
  ) });
4484
4484
 
4485
- const ApprovalIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, fill: "none", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4485
+ const ApprovalIcon = ({ stroke, fill }) => /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, fill: "none", children: /* @__PURE__ */ jsx(
4486
4486
  "path",
4487
4487
  {
4488
4488
  fill,
@@ -4493,7 +4493,7 @@ const ApprovalIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsx
4493
4493
  }
4494
4494
  ) });
4495
4495
 
4496
- const CancelApprovalIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, fill: "none", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4496
+ const CancelApprovalIcon = ({ stroke, fill }) => /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, fill: "none", children: /* @__PURE__ */ jsx(
4497
4497
  "path",
4498
4498
  {
4499
4499
  fill,
@@ -4504,16 +4504,16 @@ const CancelApprovalIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExpor
4504
4504
  }
4505
4505
  ) });
4506
4506
 
4507
- const RefuseApprovalIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, fill: "none", children: [
4508
- /* @__PURE__ */ jsxRuntimeExports.jsx("mask", { id: "a", fill: "#fff", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M11 2.086A8.914 8.914 0 1 0 19.914 11 8.924 8.924 0 0 0 11 2.086ZM18.543 11a7.505 7.505 0 0 1-1.75 4.824L6.176 5.206A7.543 7.543 0 0 1 18.543 11ZM3.457 11a7.505 7.505 0 0 1 1.75-4.824l10.617 10.618A7.544 7.544 0 0 1 3.457 11Z" }) }),
4509
- /* @__PURE__ */ jsxRuntimeExports.jsx(
4507
+ const RefuseApprovalIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, fill: "none", children: [
4508
+ /* @__PURE__ */ jsx("mask", { id: "a", fill: "#fff", children: /* @__PURE__ */ jsx("path", { d: "M11 2.086A8.914 8.914 0 1 0 19.914 11 8.924 8.924 0 0 0 11 2.086ZM18.543 11a7.505 7.505 0 0 1-1.75 4.824L6.176 5.206A7.543 7.543 0 0 1 18.543 11ZM3.457 11a7.505 7.505 0 0 1 1.75-4.824l10.617 10.618A7.544 7.544 0 0 1 3.457 11Z" }) }),
4509
+ /* @__PURE__ */ jsx(
4510
4510
  "path",
4511
4511
  {
4512
4512
  fill: "#fff",
4513
4513
  d: "M11 2.086A8.914 8.914 0 1 0 19.914 11 8.924 8.924 0 0 0 11 2.086ZM18.543 11a7.505 7.505 0 0 1-1.75 4.824L6.176 5.206A7.543 7.543 0 0 1 18.543 11ZM3.457 11a7.505 7.505 0 0 1 1.75-4.824l10.617 10.618A7.544 7.544 0 0 1 3.457 11Z"
4514
4514
  }
4515
4515
  ),
4516
- /* @__PURE__ */ jsxRuntimeExports.jsx(
4516
+ /* @__PURE__ */ jsx(
4517
4517
  "path",
4518
4518
  {
4519
4519
  fill,
@@ -4524,7 +4524,7 @@ const RefuseApprovalIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExpor
4524
4524
  )
4525
4525
  ] });
4526
4526
 
4527
- const ActivateIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, fill: "none", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4527
+ const ActivateIcon = ({ stroke, fill }) => /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, fill: "none", children: /* @__PURE__ */ jsx(
4528
4528
  "path",
4529
4529
  {
4530
4530
  fill,
@@ -4535,7 +4535,7 @@ const ActivateIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsx
4535
4535
  }
4536
4536
  ) });
4537
4537
 
4538
- const DeleteIcon = ({ stroke, fill = "#DD4338" }) => /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 23, height: 24, fill: "none", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4538
+ const DeleteIcon = ({ stroke, fill = "#DD4338" }) => /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 23, height: 24, fill: "none", children: /* @__PURE__ */ jsx(
4539
4539
  "path",
4540
4540
  {
4541
4541
  fill,
@@ -4544,14 +4544,14 @@ const DeleteIcon = ({ stroke, fill = "#DD4338" }) => /* @__PURE__ */ jsxRuntimeE
4544
4544
  }
4545
4545
  ) });
4546
4546
 
4547
- const InActiveIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsx(
4547
+ const InActiveIcon = ({ stroke, fill }) => /* @__PURE__ */ jsx(
4548
4548
  "svg",
4549
4549
  {
4550
4550
  xmlns: "http://www.w3.org/2000/svg",
4551
4551
  width: 22,
4552
4552
  height: 22,
4553
4553
  fill: "none",
4554
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4554
+ children: /* @__PURE__ */ jsx(
4555
4555
  "path",
4556
4556
  {
4557
4557
  fill,
@@ -4564,7 +4564,7 @@ const InActiveIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsx
4564
4564
  }
4565
4565
  );
4566
4566
 
4567
- const EditIcon = ({ stroke, fill = "#007BE5" }) => /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 14, height: 15, fill: "none", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4567
+ const EditIcon = ({ stroke, fill = "#007BE5" }) => /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 14, height: 15, fill: "none", children: /* @__PURE__ */ jsx(
4568
4568
  "path",
4569
4569
  {
4570
4570
  fill,
@@ -4583,7 +4583,7 @@ const SortableItem = ({
4583
4583
  transform: CSS.Transform.toString(transform),
4584
4584
  transition
4585
4585
  };
4586
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(
4586
+ return /* @__PURE__ */ jsxs(
4587
4587
  "div",
4588
4588
  {
4589
4589
  ref: setNodeRef,
@@ -4593,8 +4593,8 @@ const SortableItem = ({
4593
4593
  isLastIndex ? "!border-b-1 !border-b-[#F0F0F0]" : ""
4594
4594
  ),
4595
4595
  children: [
4596
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "pl-2 pr-3.5 cursor-grab", ...attributes, ...listeners, children: /* @__PURE__ */ jsxRuntimeExports.jsx(DragIcon, {}) }),
4597
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-1", children })
4596
+ /* @__PURE__ */ jsx("span", { className: "pl-2 pr-3.5 cursor-grab", ...attributes, ...listeners, children: /* @__PURE__ */ jsx(DragIcon, {}) }),
4597
+ /* @__PURE__ */ jsx("div", { className: "flex-1", children })
4598
4598
  ]
4599
4599
  }
4600
4600
  );
@@ -4635,9 +4635,9 @@ const SettingTable = (props) => {
4635
4635
  setColumns(defaultSettingColumnItems);
4636
4636
  }, [defaultSettingColumnItems]);
4637
4637
  const titleHeader = () => {
4638
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
4639
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { children: "Cài đặt hiển thị bảng" }),
4640
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-[14px] text-[#5C657D] font-normal", children: "Chọn cột muốn hiển thị và kéo thả vị trí muốn hiển thị" })
4638
+ return /* @__PURE__ */ jsxs("div", { children: [
4639
+ /* @__PURE__ */ jsx("p", { children: "Cài đặt hiển thị bảng" }),
4640
+ /* @__PURE__ */ jsx("p", { className: "text-[14px] text-[#5C657D] font-normal", children: "Chọn cột muốn hiển thị và kéo thả vị trí muốn hiển thị" })
4641
4641
  ] });
4642
4642
  };
4643
4643
  const footer = () => {
@@ -4648,8 +4648,8 @@ const SettingTable = (props) => {
4648
4648
  setColumns(defaultSettingColumnItems);
4649
4649
  setOpen(false);
4650
4650
  };
4651
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex justify-end items-end mt-3 pr-6", children: [
4652
- /* @__PURE__ */ jsxRuntimeExports.jsx(
4651
+ return /* @__PURE__ */ jsxs("div", { className: "flex justify-end items-end mt-3 pr-6", children: [
4652
+ /* @__PURE__ */ jsx(
4653
4653
  Button,
4654
4654
  {
4655
4655
  className: " !rounded-3xl !text-[#007BE5] !border-[#BDE3FF]",
@@ -4657,7 +4657,7 @@ const SettingTable = (props) => {
4657
4657
  children: "Về chế độ mặc định"
4658
4658
  }
4659
4659
  ),
4660
- /* @__PURE__ */ jsxRuntimeExports.jsx(
4660
+ /* @__PURE__ */ jsx(
4661
4661
  Button,
4662
4662
  {
4663
4663
  className: "ml-2 !rounded-3xl !bg-[#007BE5] !text-[white] !border-[#007BE5]",
@@ -4667,8 +4667,8 @@ const SettingTable = (props) => {
4667
4667
  )
4668
4668
  ] });
4669
4669
  };
4670
- if (!showSetting) return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {});
4671
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
4670
+ if (!showSetting) return /* @__PURE__ */ jsx(Fragment, {});
4671
+ return /* @__PURE__ */ jsx(
4672
4672
  Modal,
4673
4673
  {
4674
4674
  open,
@@ -4679,24 +4679,24 @@ const SettingTable = (props) => {
4679
4679
  className: "setting-table-modal",
4680
4680
  footer: null,
4681
4681
  onCancel: handleCloseModal,
4682
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs("form", { onSubmit: handleSubmit(onSubmit), children: [
4683
- /* @__PURE__ */ jsxRuntimeExports.jsx(
4682
+ children: /* @__PURE__ */ jsxs("form", { onSubmit: handleSubmit(onSubmit), children: [
4683
+ /* @__PURE__ */ jsx(
4684
4684
  DndContext,
4685
4685
  {
4686
4686
  collisionDetection: closestCenter,
4687
4687
  onDragEnd: handleDragEnd,
4688
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4688
+ children: /* @__PURE__ */ jsx(
4689
4689
  SortableContext,
4690
4690
  {
4691
4691
  items: columns.map((item) => String(item.key)),
4692
4692
  strategy: verticalListSortingStrategy,
4693
4693
  children: columns.filter((i) => i.key).map((item, index) => {
4694
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
4694
+ return /* @__PURE__ */ jsx(
4695
4695
  SortableItem,
4696
4696
  {
4697
4697
  id: String(item.key),
4698
4698
  isLastIndex: index === columns.length - 1,
4699
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4699
+ children: /* @__PURE__ */ jsx(
4700
4700
  SettingColumnItem,
4701
4701
  {
4702
4702
  lable: String(item.title),
@@ -4723,7 +4723,7 @@ const ButtonBadge = (props) => {
4723
4723
  const handleClick = () => {
4724
4724
  setFilters({ ...filters, status: buttonItem?.status });
4725
4725
  };
4726
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(
4726
+ return /* @__PURE__ */ jsxs(
4727
4727
  Button,
4728
4728
  {
4729
4729
  className: twMerge(
@@ -4733,7 +4733,7 @@ const ButtonBadge = (props) => {
4733
4733
  onClick: handleClick,
4734
4734
  children: [
4735
4735
  buttonItem.label,
4736
- /* @__PURE__ */ jsxRuntimeExports.jsx(
4736
+ /* @__PURE__ */ jsx(
4737
4737
  Badge,
4738
4738
  {
4739
4739
  showZero: true,
@@ -4751,7 +4751,7 @@ const ButtonBadge = (props) => {
4751
4751
  };
4752
4752
  const GroupHeadingButton = (props) => {
4753
4753
  const { groupHeadingButtonItems, setFilters, filters } = props;
4754
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "pb-[15px]", children: groupHeadingButtonItems?.map((i, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
4754
+ return /* @__PURE__ */ jsx("div", { className: "pb-[15px]", children: groupHeadingButtonItems?.map((i, index) => /* @__PURE__ */ jsx(
4755
4755
  ButtonBadge,
4756
4756
  {
4757
4757
  buttonItem: i,
@@ -4766,7 +4766,7 @@ const GroupHeadingButton = (props) => {
4766
4766
  const IconSettingTable = (props) => {
4767
4767
  const { showSetting, setOpenStting } = props;
4768
4768
  if (showSetting) {
4769
- return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "w-5 mr-3 ", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { title: "Cài đặt hiển thị bảng", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4769
+ return /* @__PURE__ */ jsx("span", { className: "w-5 mr-3 ", children: /* @__PURE__ */ jsx(Tooltip, { title: "Cài đặt hiển thị bảng", children: /* @__PURE__ */ jsx(
4770
4770
  SettingIcon,
4771
4771
  {
4772
4772
  className: "cursor-pointer",
@@ -4789,7 +4789,7 @@ const HeadingTable = (props) => {
4789
4789
  filters,
4790
4790
  noBreadcum
4791
4791
  } = props;
4792
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(
4792
+ return /* @__PURE__ */ jsxs(
4793
4793
  Heading,
4794
4794
  {
4795
4795
  menu,
@@ -4798,9 +4798,9 @@ const HeadingTable = (props) => {
4798
4798
  noBreadcum,
4799
4799
  children: [
4800
4800
  renderHeadingSearch && renderHeadingSearch(),
4801
- /* @__PURE__ */ jsxRuntimeExports.jsx(Divider, { className: "!my-5 !mb-4" }),
4802
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex justify-between items-center", children: [
4803
- /* @__PURE__ */ jsxRuntimeExports.jsx(
4801
+ /* @__PURE__ */ jsx(Divider, { className: "!my-5 !mb-4" }),
4802
+ /* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center", children: [
4803
+ /* @__PURE__ */ jsx(
4804
4804
  GroupHeadingButton,
4805
4805
  {
4806
4806
  groupHeadingButtonItems,
@@ -4808,7 +4808,7 @@ const HeadingTable = (props) => {
4808
4808
  filters
4809
4809
  }
4810
4810
  ),
4811
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4811
+ /* @__PURE__ */ jsx("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ jsx(
4812
4812
  IconSettingTable,
4813
4813
  {
4814
4814
  setOpenStting,
@@ -4834,14 +4834,14 @@ const BulkAction = ({
4834
4834
  return arrStatus.includes(status);
4835
4835
  };
4836
4836
  //! Render
4837
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "w-full flex justify-center items-center", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-3 px-[10px] py-3 bg-[#2561ED] rounded-lg w-fit", children: [
4838
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "text-white px-3", children: [
4837
+ return /* @__PURE__ */ jsx("div", { className: "w-full flex justify-center items-center", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 px-[10px] py-3 bg-[#2561ED] rounded-lg w-fit", children: [
4838
+ /* @__PURE__ */ jsxs("div", { className: "text-white px-3", children: [
4839
4839
  "Đã chọn: ",
4840
4840
  quantity
4841
4841
  ] }),
4842
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "h-5 border-l border-white mx-1" }),
4843
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-center space-x-3", children: !isEmpty(listIcon) && listIcon?.map(
4844
- (item, index) => IsShow(item?.arrShow) && /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { title: item?.title, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
4842
+ /* @__PURE__ */ jsx("div", { className: "h-5 border-l border-white mx-1" }),
4843
+ /* @__PURE__ */ jsx("div", { className: "flex items-center space-x-3", children: !isEmpty(listIcon) && listIcon?.map(
4844
+ (item, index) => IsShow(item?.arrShow) && /* @__PURE__ */ jsx(Tooltip, { title: item?.title, children: /* @__PURE__ */ jsx(
4845
4845
  "button",
4846
4846
  {
4847
4847
  className: "p-1 rounded-sm transition duration-200 cursor-pointer hover:bg-[#1B4ACB] hover:rounded-sm",
@@ -4886,9 +4886,9 @@ const BulkActions = ({
4886
4886
  //! State
4887
4887
  const listIcon = [
4888
4888
  {
4889
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RestoreIcon, { stroke: "white" }),
4890
- iconDropList: /* @__PURE__ */ jsxRuntimeExports.jsx(RestoreIcon, { stroke: "#0F1D40" }),
4891
- iconDisable: /* @__PURE__ */ jsxRuntimeExports.jsx(RestoreIcon, { stroke: "#B2B7C2" }),
4889
+ icon: /* @__PURE__ */ jsx(RestoreIcon, { stroke: "white" }),
4890
+ iconDropList: /* @__PURE__ */ jsx(RestoreIcon, { stroke: "#0F1D40" }),
4891
+ iconDisable: /* @__PURE__ */ jsx(RestoreIcon, { stroke: "#B2B7C2" }),
4892
4892
  action: handleRestore,
4893
4893
  name: "Khôi phục",
4894
4894
  typeIcon: "info",
@@ -4897,9 +4897,9 @@ const BulkActions = ({
4897
4897
  arrShow: [CATEGORY_LIST_ENUM?.DELETE, CATEGORY_LIST_ENUM?.REJECT]
4898
4898
  },
4899
4899
  {
4900
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(SendApprovalIcon, { stroke: "white" }),
4901
- iconDropList: /* @__PURE__ */ jsxRuntimeExports.jsx(SendApprovalIcon, { stroke: "#0F1D40" }),
4902
- iconDisable: /* @__PURE__ */ jsxRuntimeExports.jsx(SendApprovalIcon, { stroke: "#B2B7C2" }),
4900
+ icon: /* @__PURE__ */ jsx(SendApprovalIcon, { stroke: "white" }),
4901
+ iconDropList: /* @__PURE__ */ jsx(SendApprovalIcon, { stroke: "#0F1D40" }),
4902
+ iconDisable: /* @__PURE__ */ jsx(SendApprovalIcon, { stroke: "#B2B7C2" }),
4903
4903
  action: handleSendApproval,
4904
4904
  name: "Gửi duyệt",
4905
4905
  typeIcon: "info",
@@ -4908,9 +4908,9 @@ const BulkActions = ({
4908
4908
  arrShow: [CATEGORY_LIST_ENUM?.DRAFT]
4909
4909
  },
4910
4910
  {
4911
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(CancelSendApprovalIcon, { stroke: "white" }),
4912
- iconDropList: /* @__PURE__ */ jsxRuntimeExports.jsx(CancelSendApprovalIcon, { stroke: "#0F1D40" }),
4913
- iconDisable: /* @__PURE__ */ jsxRuntimeExports.jsx(CancelSendApprovalIcon, { stroke: "#B2B7C2" }),
4911
+ icon: /* @__PURE__ */ jsx(CancelSendApprovalIcon, { stroke: "white" }),
4912
+ iconDropList: /* @__PURE__ */ jsx(CancelSendApprovalIcon, { stroke: "#0F1D40" }),
4913
+ iconDisable: /* @__PURE__ */ jsx(CancelSendApprovalIcon, { stroke: "#B2B7C2" }),
4914
4914
  action: handleCancelSendApproval,
4915
4915
  name: "Huỷ gửi duyệt",
4916
4916
  typeIcon: "error",
@@ -4919,9 +4919,9 @@ const BulkActions = ({
4919
4919
  arrShow: [CATEGORY_LIST_ENUM?.WATING_APPROVAL]
4920
4920
  },
4921
4921
  {
4922
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefuseApprovalIcon, { stroke: "white" }),
4923
- iconDropList: /* @__PURE__ */ jsxRuntimeExports.jsx(RefuseApprovalIcon, { stroke: "#0F1D40" }),
4924
- iconDisable: /* @__PURE__ */ jsxRuntimeExports.jsx(RefuseApprovalIcon, { stroke: "#B2B7C2" }),
4922
+ icon: /* @__PURE__ */ jsx(RefuseApprovalIcon, { stroke: "white" }),
4923
+ iconDropList: /* @__PURE__ */ jsx(RefuseApprovalIcon, { stroke: "#0F1D40" }),
4924
+ iconDisable: /* @__PURE__ */ jsx(RefuseApprovalIcon, { stroke: "#B2B7C2" }),
4925
4925
  action: handleRefuseApproval,
4926
4926
  name: "Từ chối duyệt",
4927
4927
  typeIcon: "error",
@@ -4930,9 +4930,9 @@ const BulkActions = ({
4930
4930
  arrShow: [CATEGORY_LIST_ENUM?.WATING_APPROVAL]
4931
4931
  },
4932
4932
  {
4933
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(ApprovalIcon, { stroke: "white" }),
4934
- iconDropList: /* @__PURE__ */ jsxRuntimeExports.jsx(ApprovalIcon, { stroke: "#0F1D40" }),
4935
- iconDisable: /* @__PURE__ */ jsxRuntimeExports.jsx(ApprovalIcon, { stroke: "#B2B7C2" }),
4933
+ icon: /* @__PURE__ */ jsx(ApprovalIcon, { stroke: "white" }),
4934
+ iconDropList: /* @__PURE__ */ jsx(ApprovalIcon, { stroke: "#0F1D40" }),
4935
+ iconDisable: /* @__PURE__ */ jsx(ApprovalIcon, { stroke: "#B2B7C2" }),
4936
4936
  action: handleApproval,
4937
4937
  name: "Duyệt",
4938
4938
  typeIcon: "info",
@@ -4941,9 +4941,9 @@ const BulkActions = ({
4941
4941
  arrShow: [CATEGORY_LIST_ENUM?.WATING_APPROVAL]
4942
4942
  },
4943
4943
  {
4944
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(CancelApprovalIcon, { stroke: "white" }),
4945
- iconDropList: /* @__PURE__ */ jsxRuntimeExports.jsx(CancelApprovalIcon, { stroke: "#0F1D40" }),
4946
- iconDisable: /* @__PURE__ */ jsxRuntimeExports.jsx(CancelApprovalIcon, { stroke: "#B2B7C2" }),
4944
+ icon: /* @__PURE__ */ jsx(CancelApprovalIcon, { stroke: "white" }),
4945
+ iconDropList: /* @__PURE__ */ jsx(CancelApprovalIcon, { stroke: "#0F1D40" }),
4946
+ iconDisable: /* @__PURE__ */ jsx(CancelApprovalIcon, { stroke: "#B2B7C2" }),
4947
4947
  action: handleCancelApproval,
4948
4948
  typeIcon: "error",
4949
4949
  name: "Hủy duyệt",
@@ -4952,9 +4952,9 @@ const BulkActions = ({
4952
4952
  arrShow: [CATEGORY_LIST_ENUM?.ACTIVE]
4953
4953
  },
4954
4954
  {
4955
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(DeleteIcon, { fill: "white" }),
4956
- iconDropList: /* @__PURE__ */ jsxRuntimeExports.jsx(DeleteIcon, { fill: "#0F1D40" }),
4957
- iconDisable: /* @__PURE__ */ jsxRuntimeExports.jsx(DeleteIcon, { fill: "#B2B7C2" }),
4955
+ icon: /* @__PURE__ */ jsx(DeleteIcon, { fill: "white" }),
4956
+ iconDropList: /* @__PURE__ */ jsx(DeleteIcon, { fill: "#0F1D40" }),
4957
+ iconDisable: /* @__PURE__ */ jsx(DeleteIcon, { fill: "#B2B7C2" }),
4958
4958
  action: handleDelete,
4959
4959
  typeIcon: "error",
4960
4960
  name: "Xoá",
@@ -4967,9 +4967,9 @@ const BulkActions = ({
4967
4967
  ]
4968
4968
  },
4969
4969
  {
4970
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(ActivateIcon, { stroke: "white" }),
4971
- iconDropList: /* @__PURE__ */ jsxRuntimeExports.jsx(ActivateIcon, { stroke: "#0F1D40" }),
4972
- iconDisable: /* @__PURE__ */ jsxRuntimeExports.jsx(ActivateIcon, { stroke: "#B2B7C2" }),
4970
+ icon: /* @__PURE__ */ jsx(ActivateIcon, { stroke: "white" }),
4971
+ iconDropList: /* @__PURE__ */ jsx(ActivateIcon, { stroke: "#0F1D40" }),
4972
+ iconDisable: /* @__PURE__ */ jsx(ActivateIcon, { stroke: "#B2B7C2" }),
4973
4973
  action: handleActivate,
4974
4974
  typeIcon: "info",
4975
4975
  name: "Kích hoạt",
@@ -4978,9 +4978,9 @@ const BulkActions = ({
4978
4978
  arrShow: [CATEGORY_LIST_ENUM?.INACTIVE]
4979
4979
  },
4980
4980
  {
4981
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(InActiveIcon, { stroke: "white" }),
4982
- iconDropList: /* @__PURE__ */ jsxRuntimeExports.jsx(InActiveIcon, { stroke: "#0F1D40" }),
4983
- iconDisable: /* @__PURE__ */ jsxRuntimeExports.jsx(InActiveIcon, { stroke: "#B2B7C2" }),
4981
+ icon: /* @__PURE__ */ jsx(InActiveIcon, { stroke: "white" }),
4982
+ iconDropList: /* @__PURE__ */ jsx(InActiveIcon, { stroke: "#0F1D40" }),
4983
+ iconDisable: /* @__PURE__ */ jsx(InActiveIcon, { stroke: "#B2B7C2" }),
4984
4984
  action: handleInActivate,
4985
4985
  name: "Vô hiệu hóa",
4986
4986
  typeIcon: "info",
@@ -5001,8 +5001,8 @@ const BulkActions = ({
5001
5001
  });
5002
5002
  //! Function
5003
5003
  //! Render
5004
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
5005
- /* @__PURE__ */ jsxRuntimeExports.jsx(
5004
+ return /* @__PURE__ */ jsxs("div", { children: [
5005
+ /* @__PURE__ */ jsx(
5006
5006
  BulkAction,
5007
5007
  {
5008
5008
  listIcon,
@@ -5012,7 +5012,7 @@ const BulkActions = ({
5012
5012
  status
5013
5013
  }
5014
5014
  ),
5015
- shouldRender && /* @__PURE__ */ jsxRuntimeExports.jsx(
5015
+ shouldRender && /* @__PURE__ */ jsx(
5016
5016
  ConfirmModal,
5017
5017
  {
5018
5018
  title: notifyContent?.title,
@@ -5108,8 +5108,8 @@ const Table = ({
5108
5108
  onRowClick2?.(record);
5109
5109
  };
5110
5110
  //! Render
5111
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: twMerge(showSetting ? "relative" : ""), children: [
5112
- /* @__PURE__ */ jsxRuntimeExports.jsx(
5111
+ return /* @__PURE__ */ jsxs("div", { className: twMerge(showSetting ? "relative" : ""), children: [
5112
+ /* @__PURE__ */ jsx(
5113
5113
  HeadingTable,
5114
5114
  {
5115
5115
  rightHeadingContent,
@@ -5123,7 +5123,7 @@ const Table = ({
5123
5123
  noBreadcum
5124
5124
  }
5125
5125
  ),
5126
- /* @__PURE__ */ jsxRuntimeExports.jsx(
5126
+ /* @__PURE__ */ jsx(
5127
5127
  Table$1,
5128
5128
  {
5129
5129
  rowKey,
@@ -5137,13 +5137,13 @@ const Table = ({
5137
5137
  onClick: handleOnClickRow(record, onRowClick)
5138
5138
  }),
5139
5139
  locale: {
5140
- emptyText: /* @__PURE__ */ jsxRuntimeExports.jsx(EmptyTable, {})
5140
+ emptyText: /* @__PURE__ */ jsx(EmptyTable, {})
5141
5141
  },
5142
5142
  rowClassName: (_, index) => `table-row-${index % 2 === 0 ? "even" : "odd"}`,
5143
5143
  ...rest
5144
5144
  }
5145
5145
  ),
5146
- /* @__PURE__ */ jsxRuntimeExports.jsx(
5146
+ /* @__PURE__ */ jsx(
5147
5147
  SettingTable,
5148
5148
  {
5149
5149
  open: openSetting,
@@ -5154,7 +5154,7 @@ const Table = ({
5154
5154
  setDefaultSettingColumnItems: setColumns
5155
5155
  }
5156
5156
  ),
5157
- rowsSelected && !isEmpty(rowsSelected) && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "fixed bottom-1/100 left-1/2 -translate-x-1/2 -translate-y-1/2", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
5157
+ rowsSelected && !isEmpty(rowsSelected) && /* @__PURE__ */ jsx("div", { className: "fixed bottom-1/100 left-1/2 -translate-x-1/2 -translate-y-1/2", children: /* @__PURE__ */ jsx(
5158
5158
  BulkActions,
5159
5159
  {
5160
5160
  type: TypeBulkActions.BULKACTION,
@@ -5166,10 +5166,10 @@ const Table = ({
5166
5166
  ] });
5167
5167
  };
5168
5168
  const EmptyTable = () => {
5169
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col items-center justify-center text-center", children: [
5170
- /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: "https://i.ibb.co/39C3x4LZ/Component-1.png", alt: "no data" }),
5171
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-lg font-bold text-black", children: "Không có dữ liệu nào phù hợp" }),
5172
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-gray-500", children: "Kiểm tra lại bộ lọc hoặc thêm mới dữ liệu" })
5169
+ return /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-center text-center", children: [
5170
+ /* @__PURE__ */ jsx("img", { src: "https://i.ibb.co/39C3x4LZ/Component-1.png", alt: "no data" }),
5171
+ /* @__PURE__ */ jsx("span", { className: "text-lg font-bold text-black", children: "Không có dữ liệu nào phù hợp" }),
5172
+ /* @__PURE__ */ jsx("p", { className: "text-gray-500", children: "Kiểm tra lại bộ lọc hoặc thêm mới dữ liệu" })
5173
5173
  ] });
5174
5174
  };
5175
5175
 
@@ -5192,32 +5192,32 @@ const ActionRowTable = ({
5192
5192
  const renderAction = () => {
5193
5193
  switch (type) {
5194
5194
  case TypeActionRowTable.EDIT:
5195
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { title: contentTooltip, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
5195
+ return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Tooltip, { title: contentTooltip, children: /* @__PURE__ */ jsx(
5196
5196
  Button,
5197
5197
  {
5198
5198
  onClick: handleClick,
5199
5199
  type: "text",
5200
5200
  className: "cursor-pointer",
5201
5201
  shape: "circle",
5202
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(EditIcon, { fill: "#007BE5" })
5202
+ icon: /* @__PURE__ */ jsx(EditIcon, { fill: "#007BE5" })
5203
5203
  }
5204
5204
  ) }) });
5205
5205
  case TypeActionRowTable.DELETE:
5206
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { title: contentTooltip, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
5206
+ return /* @__PURE__ */ jsx(Tooltip, { title: contentTooltip, children: /* @__PURE__ */ jsx(
5207
5207
  Button,
5208
5208
  {
5209
5209
  onClick: toggleDelete,
5210
5210
  type: "text",
5211
5211
  className: "cursor-pointer",
5212
5212
  shape: "circle",
5213
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(DeleteIcon, { fill: "#DD4338" })
5213
+ icon: /* @__PURE__ */ jsx(DeleteIcon, { fill: "#DD4338" })
5214
5214
  }
5215
5215
  ) });
5216
5216
  }
5217
5217
  };
5218
5218
  //! Render
5219
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
5220
- shouldRenderDelete && /* @__PURE__ */ jsxRuntimeExports.jsx(
5219
+ return /* @__PURE__ */ jsxs("div", { children: [
5220
+ shouldRenderDelete && /* @__PURE__ */ jsx(
5221
5221
  ConfirmModal,
5222
5222
  {
5223
5223
  title: "Xác nhận xóa",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pnkx-lib/ui",
3
3
  "private": false,
4
- "version": "1.9.180",
4
+ "version": "1.9.181",
5
5
  "type": "module",
6
6
  "main": "./es/index.js",
7
7
  "module": "./es/index.js",