@pnkx-lib/ui 1.9.180 → 1.9.182

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