@pnkx-lib/ui 1.9.531 → 1.9.533

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.
@@ -18,6 +18,7 @@ var TypeActionRowTable = /* @__PURE__ */ ((TypeActionRowTable2) => {
18
18
  TypeActionRowTable2["DOWNLOAD"] = "DOWNLOAD";
19
19
  TypeActionRowTable2["VIEW"] = "VIEW";
20
20
  TypeActionRowTable2["EDIT_FORM"] = "EDIT_FORM";
21
+ TypeActionRowTable2["SWAP"] = "SWAP";
21
22
  return TypeActionRowTable2;
22
23
  })(TypeActionRowTable || {});
23
24
  var TypeBulkActions = /* @__PURE__ */ ((TypeBulkActions2) => {
package/es/ui/index.js CHANGED
@@ -617,7 +617,7 @@ const MoreIcon = ({ stroke, fill }) => /* @__PURE__ */ jsx("svg", { xmlns: "http
617
617
  ) });
618
618
 
619
619
  const CategoryIcon = ({
620
- size = 20,
620
+ size = 24,
621
621
  color = "currentColor",
622
622
  className,
623
623
  style,
@@ -645,13 +645,13 @@ const CategoryIcon = ({
645
645
  {
646
646
  width: "100%",
647
647
  height: "100%",
648
- viewBox: "0 0 20 20",
648
+ viewBox: "0 0 24 24",
649
649
  fill: "none",
650
650
  xmlns: "http://www.w3.org/2000/svg",
651
651
  children: /* @__PURE__ */ jsx(
652
652
  "path",
653
653
  {
654
- d: "M6.66659 10.917C6.25237 10.917 5.91659 11.2528 5.91659 11.667C5.91659 12.0812 6.25237 12.417 6.66659 12.417V10.917ZM13.3333 12.417C13.7475 12.417 14.0833 12.0812 14.0833 11.667C14.0833 11.2528 13.7475 10.917 13.3333 10.917V12.417ZM6.66659 7.58366C6.25237 7.58366 5.91659 7.91945 5.91659 8.33366C5.91659 8.74787 6.25237 9.08366 6.66659 9.08366V7.58366ZM13.3333 9.08366C13.7475 9.08366 14.0833 8.74787 14.0833 8.33366C14.0833 7.91945 13.7475 7.58366 13.3333 7.58366V9.08366ZM6.66659 4.25033C6.25237 4.25033 5.91659 4.58611 5.91659 5.00033C5.91659 5.41454 6.25237 5.75033 6.66659 5.75033V4.25033ZM13.3333 5.75033C13.7475 5.75033 14.0833 5.41454 14.0833 5.00033C14.0833 4.58611 13.7475 4.25033 13.3333 4.25033V5.75033ZM6.66659 14.2503C6.25237 14.2503 5.91659 14.5861 5.91659 15.0003C5.91659 15.4145 6.25237 15.7503 6.66659 15.7503V14.2503ZM9.99992 15.7503C10.4141 15.7503 10.7499 15.4145 10.7499 15.0003C10.7499 14.5861 10.4141 14.2503 9.99992 14.2503V15.7503ZM4.23163 18.146L3.8859 18.8116L4.23163 18.146ZM3.5209 17.4353L2.85534 17.781L3.5209 17.4353ZM16.4789 17.4353L17.1445 17.781L16.4789 17.4353ZM15.7682 18.146L16.1139 18.8116L15.7682 18.146ZM15.7682 1.85464L16.1139 1.18908L15.7682 1.85464ZM16.4789 2.56537L17.1445 2.21964L16.4789 2.56537ZM4.23163 1.85464L3.8859 1.18908L4.23163 1.85464ZM3.5209 2.56537L2.85534 2.21964L3.5209 2.56537ZM6.66659 11.667V12.417H13.3333V11.667V10.917H6.66659V11.667ZM6.66659 8.33366V9.08366H13.3333V8.33366V7.58366H6.66659V8.33366ZM6.66659 5.00033V5.75033H13.3333V5.00033V4.25033H6.66659V5.00033ZM6.66659 15.0003V15.7503H9.99992V15.0003V14.2503H6.66659V15.0003ZM6.01659 1.66699V2.41699H13.9833V1.66699V0.916992H6.01659V1.66699ZM16.6666 4.35033H15.9166V15.6503H16.6666H17.4166V4.35033H16.6666ZM13.9833 18.3337V17.5837H6.01659V18.3337V19.0837H13.9833V18.3337ZM3.33325 15.6503H4.08325V4.35032H3.33325H2.58325V15.6503H3.33325ZM6.01659 18.3337V17.5837C5.52942 17.5837 5.20991 17.5831 4.96571 17.5628C4.73048 17.5432 4.63308 17.5094 4.57736 17.4805L4.23163 18.146L3.8859 18.8116C4.19141 18.9703 4.51191 19.0303 4.84157 19.0576C5.16225 19.0843 5.5546 19.0837 6.01659 19.0837V18.3337ZM3.33325 15.6503H2.58325C2.58325 16.1123 2.58265 16.5047 2.60928 16.8253C2.63666 17.155 2.69664 17.4755 2.85534 17.781L3.5209 17.4353L4.18646 17.0896C4.15751 17.0338 4.12367 16.9364 4.10413 16.7012C4.08385 16.457 4.08325 16.1375 4.08325 15.6503H3.33325ZM4.23163 18.146L4.57736 17.4805C4.40993 17.3935 4.27342 17.257 4.18646 17.0896L3.5209 17.4353L2.85534 17.781C3.08462 18.2224 3.44451 18.5823 3.8859 18.8116L4.23163 18.146ZM16.6666 15.6503H15.9166C15.9166 16.1375 15.916 16.457 15.8957 16.7012C15.8762 16.9364 15.8423 17.0338 15.8134 17.0896L16.4789 17.4353L17.1445 17.781C17.3032 17.4755 17.3632 17.155 17.3906 16.8253C17.4172 16.5047 17.4166 16.1123 17.4166 15.6503H16.6666ZM13.9833 18.3337V19.0837C14.4452 19.0837 14.8376 19.0843 15.1583 19.0576C15.4879 19.0303 15.8084 18.9703 16.1139 18.8116L15.7682 18.146L15.4225 17.4805C15.3668 17.5094 15.2694 17.5432 15.0341 17.5628C14.7899 17.5831 14.4704 17.5837 13.9833 17.5837V18.3337ZM16.4789 17.4353L15.8134 17.0896C15.7264 17.257 15.5899 17.3935 15.4225 17.4805L15.7682 18.146L16.1139 18.8116C16.5553 18.5823 16.9152 18.2224 17.1445 17.781L16.4789 17.4353ZM13.9833 1.66699V2.41699C14.4704 2.41699 14.7899 2.41759 15.0341 2.43787C15.2694 2.45741 15.3668 2.49125 15.4225 2.5202L15.7682 1.85464L16.1139 1.18908C15.8084 1.03038 15.4879 0.970397 15.1583 0.943021C14.8376 0.916389 14.4452 0.916992 13.9833 0.916992V1.66699ZM16.6666 4.35033H17.4166C17.4166 3.88834 17.4172 3.49599 17.3906 3.17531C17.3632 2.84565 17.3032 2.52515 17.1445 2.21964L16.4789 2.56537L15.8134 2.9111C15.8423 2.96682 15.8762 3.06422 15.8957 3.29945C15.916 3.54365 15.9166 3.86316 15.9166 4.35033H16.6666ZM15.7682 1.85464L15.4225 2.5202C15.5899 2.60717 15.7264 2.74368 15.8134 2.9111L16.4789 2.56537L17.1445 2.21964C16.9152 1.77825 16.5553 1.41836 16.1139 1.18908L15.7682 1.85464ZM6.01659 1.66699V0.916992C5.5546 0.916992 5.16225 0.916389 4.84157 0.943021C4.51191 0.970397 4.19141 1.03038 3.8859 1.18908L4.23163 1.85464L4.57736 2.5202C4.63308 2.49125 4.73048 2.45741 4.96571 2.43787C5.20991 2.41759 5.52942 2.41699 6.01659 2.41699V1.66699ZM3.33325 4.35032H4.08325C4.08325 3.86316 4.08385 3.54365 4.10413 3.29945C4.12367 3.06422 4.15751 2.96682 4.18646 2.9111L3.5209 2.56537L2.85534 2.21964C2.69664 2.52515 2.63666 2.84565 2.60928 3.17531C2.58265 3.49599 2.58325 3.88834 2.58325 4.35032H3.33325ZM4.23163 1.85464L3.8859 1.18908C3.44451 1.41836 3.08462 1.77825 2.85534 2.21964L3.5209 2.56537L4.18646 2.9111C4.27343 2.74368 4.40994 2.60717 4.57736 2.5202L4.23163 1.85464Z",
654
+ d: "M20.0306 6.21938L16.2806 2.46938C16.2109 2.39975 16.1282 2.34454 16.0371 2.3069C15.9461 2.26926 15.8485 2.24992 15.75 2.25H8.25C7.85218 2.25 7.47064 2.40804 7.18934 2.68934C6.90804 2.97064 6.75 3.35218 6.75 3.75V5.25H5.25C4.85218 5.25 4.47064 5.40804 4.18934 5.68934C3.90804 5.97064 3.75 6.35218 3.75 6.75V20.25C3.75 20.6478 3.90804 21.0294 4.18934 21.3107C4.47064 21.592 4.85218 21.75 5.25 21.75H15.75C16.1478 21.75 16.5294 21.592 16.8107 21.3107C17.092 21.0294 17.25 20.6478 17.25 20.25V18.75H18.75C19.1478 18.75 19.5294 18.592 19.8107 18.3107C20.092 18.0294 20.25 17.6478 20.25 17.25V6.75C20.2501 6.65148 20.2307 6.55391 20.1931 6.46286C20.1555 6.37182 20.1003 6.28908 20.0306 6.21938ZM15.75 20.25H5.25V6.75H12.4397L15.75 10.0603V17.985C15.75 17.9906 15.75 17.9953 15.75 18C15.75 18.0047 15.75 18.0094 15.75 18.015V20.25ZM18.75 17.25H17.25V9.75C17.2501 9.65148 17.2307 9.55391 17.1931 9.46286C17.1555 9.37182 17.1003 9.28908 17.0306 9.21937L13.2806 5.46938C13.2109 5.39975 13.1282 5.34454 13.0371 5.3069C12.9461 5.26926 12.8485 5.24992 12.75 5.25H8.25V3.75H15.4397L18.75 7.06031V17.25ZM13.5 14.25C13.5 14.4489 13.421 14.6397 13.2803 14.7803C13.1397 14.921 12.9489 15 12.75 15H8.25C8.05109 15 7.86032 14.921 7.71967 14.7803C7.57902 14.6397 7.5 14.4489 7.5 14.25C7.5 14.0511 7.57902 13.8603 7.71967 13.7197C7.86032 13.579 8.05109 13.5 8.25 13.5H12.75C12.9489 13.5 13.1397 13.579 13.2803 13.7197C13.421 13.8603 13.5 14.0511 13.5 14.25ZM13.5 17.25C13.5 17.4489 13.421 17.6397 13.2803 17.7803C13.1397 17.921 12.9489 18 12.75 18H8.25C8.05109 18 7.86032 17.921 7.71967 17.7803C7.57902 17.6397 7.5 17.4489 7.5 17.25C7.5 17.0511 7.57902 16.8603 7.71967 16.7197C7.86032 16.579 8.05109 16.5 8.25 16.5H12.75C12.9489 16.5 13.1397 16.579 13.2803 16.7197C13.421 16.8603 13.5 17.0511 13.5 17.25Z",
655
655
  fill: color
656
656
  }
657
657
  )
@@ -661,7 +661,7 @@ const CategoryIcon = ({
661
661
  );
662
662
 
663
663
  const SettingIcon = ({
664
- size = 22,
664
+ size = 24,
665
665
  color = "currentColor",
666
666
  className,
667
667
  style,
@@ -684,32 +684,21 @@ const SettingIcon = ({
684
684
  "aria-label": ariaLabel,
685
685
  title,
686
686
  ...props,
687
- children: /* @__PURE__ */ jsxs(
687
+ children: /* @__PURE__ */ jsx(
688
688
  "svg",
689
689
  {
690
690
  width: "100%",
691
691
  height: "100%",
692
- viewBox: "0 0 22 22",
692
+ viewBox: "0 0 24 24",
693
693
  fill: "none",
694
694
  xmlns: "http://www.w3.org/2000/svg",
695
- children: [
696
- /* @__PURE__ */ jsx(
697
- "path",
698
- {
699
- d: "M15 11C15 13.2091 13.2091 15 11 15C8.79086 15 7 13.2091 7 11C7 8.79086 8.79086 7 11 7C13.2091 7 15 8.79086 15 11Z",
700
- stroke: color,
701
- strokeWidth: "1.5"
702
- }
703
- ),
704
- /* @__PURE__ */ jsx(
705
- "path",
706
- {
707
- d: "M13 2.5147C13 1.67815 12.3218 1 11.4853 1H10.5147C9.67814 1 9 1.67814 9 2.51466C9 3.86408 7.36846 4.53985 6.41428 3.58566C5.82275 2.99414 4.86369 2.99413 4.27217 3.58565L3.58589 4.27193C2.99434 4.86348 2.99434 5.82258 3.58589 6.41413C4.54014 7.36838 3.86429 9 2.51478 9C1.67819 9 1 9.67819 1 10.5148V11.4853C1 12.3218 1.67816 13 2.51471 13C3.86415 13 4.53997 14.6315 3.58577 15.5857C2.99425 16.1773 2.99425 17.1363 3.58577 17.7278L4.27209 18.4141C4.86362 19.0057 5.82268 19.0057 6.41422 18.4141C7.36844 17.4599 9 18.1358 9 19.4852C9 20.3218 9.67817 21 10.5147 21H11.4852C12.3218 21 13 20.3218 13 19.4852C13 18.1357 14.6316 17.4598 15.5858 18.4141C16.1774 19.0056 17.1365 19.0056 17.728 18.4141L18.4143 17.7278C19.0058 17.1363 19.0058 16.1772 18.4143 15.5857C17.4601 14.6315 18.1359 13 19.4853 13C20.3219 13 21 12.3219 21 11.4853V10.5147C21 9.67817 20.3218 9 19.4853 9C18.1358 9 17.46 7.3684 18.4142 6.41417C19.0057 5.82262 19.0057 4.86353 18.4142 4.27199L17.7279 3.58572C17.1364 2.99418 16.1773 2.99419 15.5858 3.58573C14.6316 4.53994 13 3.86415 13 2.5147Z",
708
- stroke: color,
709
- strokeWidth: "1.5"
710
- }
711
- )
712
- ]
695
+ children: /* @__PURE__ */ jsx(
696
+ "path",
697
+ {
698
+ d: "M11.9997 7.49998C11.1097 7.49998 10.2396 7.7639 9.49962 8.25837C8.7596 8.75284 8.18283 9.45564 7.84223 10.2779C7.50164 11.1002 7.41252 12.005 7.58616 12.8779C7.75979 13.7508 8.18837 14.5526 8.81771 15.182C9.44705 15.8113 10.2489 16.2399 11.1218 16.4135C11.9947 16.5872 12.8995 16.498 13.7218 16.1574C14.544 15.8168 15.2468 15.2401 15.7413 14.5C16.2358 13.76 16.4997 12.89 16.4997 12C16.4984 10.8069 16.0239 9.66302 15.1803 8.81937C14.3367 7.97573 13.1928 7.50122 11.9997 7.49998ZM11.9997 15C11.4063 15 10.8263 14.824 10.333 14.4944C9.83963 14.1647 9.45511 13.6962 9.22805 13.148C9.00099 12.5999 8.94158 11.9967 9.05733 11.4147C9.17309 10.8328 9.45881 10.2982 9.87837 9.87866C10.2979 9.45911 10.8325 9.17338 11.4144 9.05763C11.9964 8.94187 12.5996 9.00128 13.1477 9.22834C13.6959 9.45541 14.1645 9.83993 14.4941 10.3333C14.8237 10.8266 14.9997 11.4066 14.9997 12C14.9997 12.7956 14.6836 13.5587 14.121 14.1213C13.5584 14.6839 12.7953 15 11.9997 15ZM22.3066 10.0509C22.2857 9.94531 22.2423 9.84543 22.1794 9.75807C22.1164 9.67072 22.0354 9.59793 21.9419 9.54467L19.1453 7.95092L19.1341 4.79904C19.1337 4.6905 19.1098 4.58331 19.064 4.4849C19.0182 4.38649 18.9516 4.29919 18.8688 4.22904C17.8543 3.37095 16.6861 2.71336 15.4263 2.29123C15.327 2.25765 15.2219 2.24522 15.1176 2.25475C15.0133 2.26428 14.9121 2.29555 14.8206 2.34654L11.9997 3.92342L9.17594 2.34373C9.0844 2.29245 8.98311 2.26094 8.87863 2.25125C8.77414 2.24156 8.66879 2.2539 8.56938 2.28748C7.31045 2.71269 6.14359 3.37279 5.13063 4.23279C5.04791 4.30284 4.98136 4.38999 4.93556 4.48823C4.88975 4.58647 4.86579 4.69347 4.86532 4.80186L4.85125 7.95655L2.05469 9.5503C1.96113 9.60356 1.88013 9.67634 1.8172 9.7637C1.75428 9.85105 1.71089 9.95093 1.69 10.0565C1.43406 11.3427 1.43406 12.6667 1.69 13.9528C1.71089 14.0584 1.75428 14.1583 1.8172 14.2456C1.88013 14.333 1.96113 14.4058 2.05469 14.459L4.85125 16.0528L4.8625 19.2047C4.86284 19.3132 4.88674 19.4204 4.93255 19.5188C4.97835 19.6172 5.04498 19.7045 5.12782 19.7747C6.14226 20.6328 7.31046 21.2904 8.57031 21.7125C8.66953 21.7461 8.77468 21.7585 8.87899 21.749C8.98329 21.7394 9.08445 21.7082 9.17594 21.6572L11.9997 20.0765L14.8234 21.6562C14.9352 21.7185 15.0611 21.7508 15.1891 21.75C15.271 21.75 15.3523 21.7367 15.43 21.7106C16.6888 21.286 17.8556 20.6265 18.8688 19.7672C18.9515 19.6971 19.018 19.61 19.0638 19.5117C19.1096 19.4135 19.1336 19.3065 19.1341 19.1981L19.1481 16.0434L21.9447 14.4497C22.0383 14.3964 22.1192 14.3236 22.1822 14.2363C22.2451 14.1489 22.2885 14.049 22.3094 13.9434C22.5639 12.6583 22.5629 11.3357 22.3066 10.0509ZM20.9003 13.3237L18.2219 14.8472C18.1045 14.9139 18.0074 15.0111 17.9406 15.1284C17.8863 15.2222 17.8291 15.3215 17.7709 15.4153C17.6965 15.5335 17.6569 15.6703 17.6566 15.81L17.6425 18.8334C16.9226 19.3988 16.1205 19.8509 15.2641 20.174L12.5622 18.6684C12.45 18.6064 12.3238 18.5741 12.1956 18.5747H12.1778C12.0644 18.5747 11.95 18.5747 11.8366 18.5747C11.7024 18.5713 11.5697 18.6037 11.4522 18.6684L8.74844 20.1778C7.89017 19.8571 7.0859 19.4072 6.36344 18.8437L6.35313 15.825C6.35266 15.685 6.31305 15.548 6.23875 15.4294C6.18063 15.3356 6.12344 15.2419 6.07 15.1425C6.00374 15.0233 5.90659 14.9242 5.78875 14.8556L3.1075 13.3284C2.96875 12.4507 2.96875 11.5567 3.1075 10.679L5.78125 9.1528C5.89861 9.08607 5.99577 8.9889 6.0625 8.87155C6.11688 8.7778 6.17407 8.67842 6.23219 8.58467C6.30659 8.46645 6.34623 8.32967 6.34656 8.18998L6.36063 5.16654C7.08056 4.60118 7.88262 4.14909 8.73907 3.82592L11.4372 5.33154C11.5546 5.39664 11.6874 5.42901 11.8216 5.42529C11.935 5.42529 12.0494 5.42529 12.1628 5.42529C12.297 5.42865 12.4296 5.39629 12.5472 5.33154L15.2509 3.82217C16.1092 4.14286 16.9135 4.59274 17.6359 5.15623L17.6463 8.17498C17.6467 8.31495 17.6863 8.45199 17.7606 8.57061C17.8188 8.66436 17.8759 8.75811 17.9294 8.85748C17.9956 8.97665 18.0928 9.07575 18.2106 9.14436L20.8919 10.6715C21.0325 11.5499 21.0341 12.4449 20.8966 13.3237H20.9003Z",
699
+ fill: color
700
+ }
701
+ )
713
702
  }
714
703
  )
715
704
  }
@@ -1333,6 +1322,94 @@ const ApproveIcon = ({
1333
1322
  }
1334
1323
  );
1335
1324
 
1325
+ const PrinterIcon = ({
1326
+ size = 20,
1327
+ color = "currentColor",
1328
+ className,
1329
+ style,
1330
+ onClick,
1331
+ "aria-label": ariaLabel,
1332
+ title,
1333
+ ...props
1334
+ }) => /* @__PURE__ */ jsx(
1335
+ "div",
1336
+ {
1337
+ className,
1338
+ style: {
1339
+ width: size,
1340
+ height: size,
1341
+ cursor: onClick ? "pointer" : "default",
1342
+ ...style
1343
+ },
1344
+ onClick,
1345
+ role: onClick ? "button" : void 0,
1346
+ "aria-label": ariaLabel,
1347
+ title,
1348
+ ...props,
1349
+ children: /* @__PURE__ */ jsx(
1350
+ "svg",
1351
+ {
1352
+ width: "100%",
1353
+ height: "100%",
1354
+ viewBox: "0 0 20 20",
1355
+ fill: "none",
1356
+ xmlns: "http://www.w3.org/2000/svg",
1357
+ children: /* @__PURE__ */ jsx(
1358
+ "path",
1359
+ {
1360
+ d: "M16.7711 5.625H15.625V3.125C15.625 2.95924 15.5592 2.80027 15.4419 2.68306C15.3247 2.56585 15.1658 2.5 15 2.5H5C4.83424 2.5 4.67527 2.56585 4.55806 2.68306C4.44085 2.80027 4.375 2.95924 4.375 3.125V5.625H3.22891C2.1375 5.625 1.25 6.46641 1.25 7.5V13.75C1.25 13.9158 1.31585 14.0747 1.43306 14.1919C1.55027 14.3092 1.70924 14.375 1.875 14.375H4.375V16.875C4.375 17.0408 4.44085 17.1997 4.55806 17.3169C4.67527 17.4342 4.83424 17.5 5 17.5H15C15.1658 17.5 15.3247 17.4342 15.4419 17.3169C15.5592 17.1997 15.625 17.0408 15.625 16.875V14.375H18.125C18.2908 14.375 18.4497 14.3092 18.5669 14.1919C18.6842 14.0747 18.75 13.9158 18.75 13.75V7.5C18.75 6.46641 17.8625 5.625 16.7711 5.625ZM5.625 3.75H14.375V5.625H5.625V3.75ZM14.375 16.25H5.625V12.5H14.375V16.25ZM17.5 13.125H15.625V11.875C15.625 11.7092 15.5592 11.5503 15.4419 11.4331C15.3247 11.3158 15.1658 11.25 15 11.25H5C4.83424 11.25 4.67527 11.3158 4.55806 11.4331C4.44085 11.5503 4.375 11.7092 4.375 11.875V13.125H2.5V7.5C2.5 7.15547 2.82734 6.875 3.22891 6.875H16.7711C17.1727 6.875 17.5 7.15547 17.5 7.5V13.125ZM15.625 9.0625C15.625 9.24792 15.57 9.42918 15.467 9.58335C15.364 9.73752 15.2176 9.85768 15.0463 9.92864C14.875 9.99959 14.6865 10.0182 14.5046 9.98199C14.3227 9.94581 14.1557 9.85652 14.0246 9.72541C13.8935 9.5943 13.8042 9.42725 13.768 9.2454C13.7318 9.06354 13.7504 8.87504 13.8214 8.70373C13.8923 8.53243 14.0125 8.38601 14.1667 8.283C14.3208 8.17998 14.5021 8.125 14.6875 8.125C14.9361 8.125 15.1746 8.22377 15.3504 8.39959C15.5262 8.5754 15.625 8.81386 15.625 9.0625Z",
1361
+ fill: color
1362
+ }
1363
+ )
1364
+ }
1365
+ )
1366
+ }
1367
+ );
1368
+
1369
+ const RepeatIcon = ({
1370
+ size = 20,
1371
+ color = "currentColor",
1372
+ className,
1373
+ style,
1374
+ onClick,
1375
+ "aria-label": ariaLabel,
1376
+ title,
1377
+ ...props
1378
+ }) => /* @__PURE__ */ jsx(
1379
+ "div",
1380
+ {
1381
+ className,
1382
+ style: {
1383
+ width: size,
1384
+ height: size,
1385
+ cursor: onClick ? "pointer" : "default",
1386
+ ...style
1387
+ },
1388
+ onClick,
1389
+ role: onClick ? "button" : void 0,
1390
+ "aria-label": ariaLabel,
1391
+ title,
1392
+ ...props,
1393
+ children: /* @__PURE__ */ jsx(
1394
+ "svg",
1395
+ {
1396
+ width: "100%",
1397
+ height: "100%",
1398
+ viewBox: "0 0 20 20",
1399
+ fill: "none",
1400
+ xmlns: "http://www.w3.org/2000/svg",
1401
+ children: /* @__PURE__ */ jsx(
1402
+ "path",
1403
+ {
1404
+ d: "M1.875 10.0003C1.87666 8.50901 2.46982 7.07923 3.52435 6.0247C4.57889 4.97017 6.00867 4.377 7.5 4.37535H15.9914L15.1828 3.56753C15.0655 3.45026 14.9997 3.2912 14.9997 3.12535C14.9997 2.9595 15.0655 2.80044 15.1828 2.68316C15.3001 2.56588 15.4592 2.5 15.625 2.5C15.7909 2.5 15.9499 2.56588 16.0672 2.68316L17.9422 4.55816C18.0003 4.61621 18.0464 4.68514 18.0779 4.76101C18.1093 4.83688 18.1255 4.91821 18.1255 5.00035C18.1255 5.08248 18.1093 5.16381 18.0779 5.23969C18.0464 5.31556 18.0003 5.38449 17.9422 5.44254L16.0672 7.31754C15.9499 7.43481 15.7909 7.5007 15.625 7.5007C15.4592 7.50069 15.3001 7.43481 15.1828 7.31754C15.0655 7.20026 14.9997 7.0412 14.9997 6.87535C14.9997 6.7095 15.0655 6.55044 15.1828 6.43316L15.9914 5.62535H7.5C6.34006 5.62659 5.22798 6.08792 4.40778 6.90813C3.58758 7.72833 3.12624 8.84041 3.125 10.0003C3.125 10.1661 3.05916 10.3251 2.94194 10.4423C2.82473 10.5595 2.66576 10.6253 2.5 10.6253C2.33424 10.6253 2.17527 10.5595 2.05806 10.4423C1.94085 10.3251 1.875 10.1661 1.875 10.0003ZM17.5 9.37535C17.3342 9.37535 17.1753 9.4412 17.0581 9.55841C16.9409 9.67562 16.875 9.83459 16.875 10.0003C16.8738 11.1603 16.4124 12.2724 15.5922 13.0926C14.772 13.9128 13.6599 14.3741 12.5 14.3753H4.0086L4.81719 13.5675C4.87526 13.5095 4.92132 13.4405 4.95275 13.3647C4.98418 13.2888 5.00035 13.2075 5.00035 13.1253C5.00035 13.0432 4.98418 12.9619 4.95275 12.886C4.92132 12.8102 4.87526 12.7412 4.81719 12.6832C4.75912 12.6251 4.69018 12.579 4.61431 12.5476C4.53844 12.5162 4.45713 12.5 4.375 12.5C4.29288 12.5 4.21156 12.5162 4.13569 12.5476C4.05982 12.579 3.99088 12.6251 3.93282 12.6832L2.05782 14.5582C1.99971 14.6162 1.95361 14.6851 1.92215 14.761C1.8907 14.8369 1.87451 14.9182 1.87451 15.0003C1.87451 15.0825 1.8907 15.1638 1.92215 15.2397C1.95361 15.3156 1.99971 15.3845 2.05782 15.4425L3.93282 17.3175C3.99088 17.3756 4.05982 17.4217 4.13569 17.4531C4.21156 17.4845 4.29288 17.5007 4.375 17.5007C4.45713 17.5007 4.53844 17.4845 4.61431 17.4531C4.69018 17.4217 4.75912 17.3756 4.81719 17.3175C4.87526 17.2595 4.92132 17.1905 4.95275 17.1147C4.98418 17.0388 5.00035 16.9575 5.00035 16.8753C5.00035 16.7932 4.98418 16.7119 4.95275 16.636C4.92132 16.5602 4.87526 16.4912 4.81719 16.4332L4.0086 15.6253H12.5C13.9913 15.6237 15.4211 15.0305 16.4757 13.976C17.5302 12.9215 18.1233 11.4917 18.125 10.0003C18.125 9.83459 18.0592 9.67562 17.9419 9.55841C17.8247 9.4412 17.6658 9.37535 17.5 9.37535Z",
1405
+ fill: color
1406
+ }
1407
+ )
1408
+ }
1409
+ )
1410
+ }
1411
+ );
1412
+
1336
1413
  const ActionRowTable = ({
1337
1414
  type,
1338
1415
  contentTooltip,
@@ -1366,6 +1443,30 @@ const ActionRowTable = ({
1366
1443
  disabled
1367
1444
  }
1368
1445
  ) }) });
1446
+ case TypeActionRowTable.PRINT:
1447
+ return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Tooltip, { title: contentTooltip, children: /* @__PURE__ */ jsx(
1448
+ Button,
1449
+ {
1450
+ onClick: handleClick,
1451
+ type: "text",
1452
+ className: "cursor-pointer",
1453
+ shape: "circle",
1454
+ icon: /* @__PURE__ */ jsx(PrinterIcon, { color: "#007BE5" }),
1455
+ disabled
1456
+ }
1457
+ ) }) });
1458
+ case TypeActionRowTable.SWAP:
1459
+ return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Tooltip, { title: contentTooltip, children: /* @__PURE__ */ jsx(
1460
+ Button,
1461
+ {
1462
+ onClick: handleClick,
1463
+ type: "text",
1464
+ className: "cursor-pointer",
1465
+ shape: "circle",
1466
+ icon: /* @__PURE__ */ jsx(RepeatIcon, { color: "#007BE5" }),
1467
+ disabled
1468
+ }
1469
+ ) }) });
1369
1470
  case TypeActionRowTable.EDIT:
1370
1471
  return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Tooltip, { title: contentTooltip, children: /* @__PURE__ */ jsx(
1371
1472
  Button,
@@ -6700,7 +6801,7 @@ const ListDataConvert = ({
6700
6801
  icon: /* @__PURE__ */ jsx(ConfirmIcon, { className: "w-6 -h-6", size: 22, color: "#B2B7C2" }),
6701
6802
  iconDropList: /* @__PURE__ */ jsx(ConfirmIcon, { className: "w-6 -h-6", size: 22, color: "#0F1D40" }),
6702
6803
  iconDisable: /* @__PURE__ */ jsx(ConfirmIcon, { className: "w-6 -h-6", size: 22, color: "#B2B7C2" }),
6703
- action: handleBulkActionPrice?.handleCancelSendConfirm,
6804
+ action: handleBulkActionPrice?.handleConfirm,
6704
6805
  name: "Xác nhận",
6705
6806
  typeIcon: "info",
6706
6807
  title: "Xác nhận",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pnkx-lib/ui",
3
3
  "private": false,
4
- "version": "1.9.531",
4
+ "version": "1.9.533",
5
5
  "type": "module",
6
6
  "main": "./es/index.js",
7
7
  "module": "./es/index.js",
@@ -136,7 +136,7 @@
136
136
  "@headlessui/react": "^2.2.2",
137
137
  "@heroicons/react": "^2.2.0",
138
138
  "@hookform/resolvers": "^5.1.1",
139
- "@pnkx-lib/icon": "^0.0.78",
139
+ "@pnkx-lib/icon": "^0.0.84",
140
140
  "@react-pdf-viewer/core": "^3.12.0",
141
141
  "@react-pdf-viewer/default-layout": "^3.12.0",
142
142
  "@tailwindcss/cli": "^4.1.6",
@@ -15,7 +15,8 @@ export declare enum TypeActionRowTable {
15
15
  PAUSE = "PAUSE",
16
16
  DOWNLOAD = "DOWNLOAD",
17
17
  VIEW = "VIEW",
18
- EDIT_FORM = "EDIT_FORM"
18
+ EDIT_FORM = "EDIT_FORM",
19
+ SWAP = "SWAP"
19
20
  }
20
21
  export declare enum TypeBulkActions {
21
22
  BULKACTION = "bulkaction",