@pnkx-lib/ui 1.9.27 → 1.9.29

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.
@@ -1,10 +1,10 @@
1
- import { j as jsxRuntimeExports, b as Icon, _ as _extends, c as _typeof, P as PnkxField, C as CheckboxField, u as useForm, I as Input, d as classNames, e as _arrayLikeToArray, f as _unsupportedIterableToArray, w as warningOnce, h as _createClass, i as _classCallCheck, k as _defineProperty, l as _slicedToArray, m as warning$1, n as canUseDom, o as _objectSpread2, p as updateCSS, r as removeCSS, q as _arrayWithHoles, s as _nonIterableRest, t as resetWarned$1, F as FastColor, v as generate, x as presetPrimaryColors, y as presetPalettes, z as _inherits, A as _createSuper, B as _assertThisInitialized, G as _objectWithoutProperties, H as IconContext } from './Switch-H8GzjkR9.js';
1
+ import { j as jsxRuntimeExports, b as Icon, _ as _extends, c as _typeof, P as PnkxField, C as CheckboxField, u as useForm, I as Input, d as classNames, e as _arrayLikeToArray, f as _unsupportedIterableToArray, w as warningOnce, h as _createClass, i as _classCallCheck, k as _defineProperty, l as _slicedToArray, m as warning$1, n as canUseDom, o as _objectSpread2, p as updateCSS, r as removeCSS, q as _arrayWithHoles, s as _nonIterableRest, t as resetWarned$1, F as FastColor, v as generate, x as presetPrimaryColors, y as presetPalettes, z as _inherits, A as _createSuper, B as _assertThisInitialized, G as _objectWithoutProperties, H as IconContext } from './Switch-za5Skgtp.js';
2
2
  import { Button as Button$1, Cascader, Space as Space$1, Card, Skeleton as Skeleton$1, Modal as Modal$1, Tooltip as Tooltip$1, Popconfirm as Popconfirm$1, Typography, Table as Table$1, Tabs as Tabs$1, Popover as Popover$1, Badge as Badge$1, Col as Col$1, Row as Row$1, Dropdown as Dropdown$1, Breadcrumb as Breadcrumb$1, Flex as Flex$1, Splitter as Splitter$1, Menu as Menu$1, Pagination as Pagination$1, Steps as Steps$1, Tag as Tag$1, Divider as Divider$2, Alert as Alert$1, Spin as Spin$1, Drawer as Drawer$1, QRCode as QRCode$1, Result as Result$1, Rate as Rate$1, Segmented as Segmented$1, Statistic as Statistic$1, Timeline as Timeline$1, Tour as Tour$1, Tree as Tree$1, Watermark as Watermark$1, Anchor as Anchor$1, Affix, AutoComplete as AutoComplete$1, Input as Input$1, Collapse, ColorPicker, Empty as Empty$2, Image as Image$1 } from 'antd';
3
3
  import * as React from 'react';
4
4
  import React__default, { version as version$1, isValidElement, useLayoutEffect as useLayoutEffect$1, useEffect, useRef, useMemo as useMemo$1, useCallback, useState, createContext, memo, useReducer, useContext, Component } from 'react';
5
5
  import ReactDOM__default, { unstable_batchedUpdates, createPortal } from 'react-dom';
6
6
  import { useNavigate, useLocation } from 'react-router';
7
- import { u as useToast } from './cloneDeep-xYGaHZ-t.js';
7
+ import { u as useToast } from './cloneDeep-BLYi2V0G.js';
8
8
 
9
9
  const Button = (props) => {
10
10
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { ...props });
@@ -6530,42 +6530,141 @@ function normalizeLocalDisabled(localDisabled, globalDisabled) {
6530
6530
 
6531
6531
  [KeyboardCode.Down, KeyboardCode.Right, KeyboardCode.Up, KeyboardCode.Left];
6532
6532
 
6533
- const SettingIcon = (props) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
6534
- "svg",
6533
+ 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(
6534
+ "path",
6535
6535
  {
6536
- xmlns: "http://www.w3.org/2000/svg",
6537
- width: 30,
6538
- height: 30,
6539
- fill: "none",
6540
- ...props,
6541
- children: [
6542
- /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { width: 29, height: 29, x: 0.5, y: 0.5, fill: "#fff", rx: 14.5 }),
6543
- /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { width: 29, height: 29, x: 0.5, y: 0.5, stroke: "#D6E6FE", rx: 14.5 }),
6544
- /* @__PURE__ */ jsxRuntimeExports.jsx(
6545
- "path",
6546
- {
6547
- fill: "#116DFF",
6548
- d: "M16.085 11a1.5 1.5 0 0 1 2.83 0H21v1h-2.085a1.5 1.5 0 0 1-2.83 0H9v-1h5.987M17 11v1h1v-1h-1Zm.5 7a1.5 1.5 0 0 1 1.415 1H21v1h-2.085a1.5 1.5 0 0 1-2.83 0H9v-1h7.085a1.5 1.5 0 0 1 1.415-1Zm-.5 1v1h1v-1h-1Zm4-4v1h-7.085a1.5 1.5 0 0 1-2.83 0H9v-1h2.085a1.5 1.5 0 0 1 2.83 0H21Zm-9 0v1h1v-1h-1Z"
6549
- }
6550
- )
6551
- ]
6536
+ stroke,
6537
+ fill,
6538
+ strokeLinecap: "round",
6539
+ strokeLinejoin: "round",
6540
+ strokeWidth: 1.5,
6541
+ d: "M3.405 6.611a8.824 8.824 0 0 1 7.64-4.388c3.701 0 6.87 2.269 8.179 5.486m-13.14 0h-4.41V3.32m16.92 12.069a8.824 8.824 0 0 1-7.64 4.388 8.822 8.822 0 0 1-8.178-5.486m13.14 0h4.41v4.389"
6552
6542
  }
6553
- );
6554
- const DragIcon = (props) => /* @__PURE__ */ jsxRuntimeExports.jsx(
6543
+ ) });
6544
+
6545
+ 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(
6546
+ "path",
6547
+ {
6548
+ fill,
6549
+ stroke,
6550
+ fillRule: "evenodd",
6551
+ d: "M6 1h2v2H6V1Zm0 5h2v2H6V6Zm4-5h2v2h-2V1Zm0 5h2v2h-2V6Zm-4 5h2v2H6v-2Zm4 0h2v2h-2v-2Zm-4 5h2v2H6v-2Zm4 0h2v2h-2v-2Zm-4 5h2v2H6v-2Zm4 0h2v2h-2v-2Z",
6552
+ clipRule: "evenodd"
6553
+ }
6554
+ ) });
6555
+
6556
+ const SettingIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 30, height: 30, fill: "none", children: [
6557
+ /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { width: 29, height: 29, x: 0.5, y: 0.5, fill: "#fff", rx: 14.5 }),
6558
+ /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { width: 29, height: 29, x: 0.5, y: 0.5, stroke: "#D6E6FE", rx: 14.5 }),
6559
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
6560
+ "path",
6561
+ {
6562
+ fill,
6563
+ stroke,
6564
+ d: "M16.085 11a1.5 1.5 0 0 1 2.83 0H21v1h-2.085a1.5 1.5 0 0 1-2.83 0H9v-1h5.987M17 11v1h1v-1h-1Zm.5 7a1.5 1.5 0 0 1 1.415 1H21v1h-2.085a1.5 1.5 0 0 1-2.83 0H9v-1h7.085a1.5 1.5 0 0 1 1.415-1Zm-.5 1v1h1v-1h-1Zm4-4v1h-7.085a1.5 1.5 0 0 1-2.83 0H9v-1h2.085a1.5 1.5 0 0 1 2.83 0H21Zm-9 0v1h1v-1h-1Z"
6565
+ }
6566
+ )
6567
+ ] });
6568
+
6569
+ 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(
6570
+ "path",
6571
+ {
6572
+ fill,
6573
+ stroke,
6574
+ strokeLinecap: "round",
6575
+ strokeWidth: 1.714,
6576
+ d: "M6.44 11h4.45m-4.584-.521L2.912 4.37c-.513-.922.474-1.953 1.419-1.481l14.304 7.15a1.073 1.073 0 0 1 0 1.92L4.33 19.11c-.945.472-1.932-.559-1.42-1.482l3.395-6.107c.18-.324.18-.718 0-1.042Z"
6577
+ }
6578
+ ) });
6579
+
6580
+ 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(
6581
+ "path",
6582
+ {
6583
+ fill,
6584
+ stroke,
6585
+ strokeLinecap: "round",
6586
+ strokeWidth: 1.5,
6587
+ d: "M12.829 7.343 9.17 14.657M20.143 11a9.143 9.143 0 1 1-18.286 0 9.143 9.143 0 0 1 18.286 0Z"
6588
+ }
6589
+ ) });
6590
+
6591
+ 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(
6592
+ "path",
6593
+ {
6594
+ fill,
6595
+ stroke,
6596
+ strokeLinecap: "round",
6597
+ strokeWidth: 1.714,
6598
+ d: "m15.33 6.429-8.667 8.89a.827.827 0 0 1-1.19 0L1.856 11.61m9.618 3.707 8.668-8.89"
6599
+ }
6600
+ ) });
6601
+
6602
+ 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(
6603
+ "path",
6604
+ {
6605
+ fill,
6606
+ stroke,
6607
+ strokeLinecap: "round",
6608
+ strokeWidth: 1.5,
6609
+ d: "M13.743 8.257 11 11m0 0-2.743 2.743M11 11l2.743 2.743M11 11 8.257 8.257M20.143 11a9.143 9.143 0 1 1-18.286 0 9.143 9.143 0 0 1 18.286 0Z"
6610
+ }
6611
+ ) });
6612
+
6613
+ const RefuseApprovalIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, fill: "none", children: [
6614
+ /* @__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" }) }),
6615
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
6616
+ "path",
6617
+ {
6618
+ fill: "#fff",
6619
+ 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"
6620
+ }
6621
+ ),
6622
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
6623
+ "path",
6624
+ {
6625
+ fill,
6626
+ stroke,
6627
+ d: "m11 2.086.002-1.714H11v1.714ZM19.914 11h1.715v-.002L19.914 11Zm-1.371 0-1.714.001h1.714Zm-1.75 4.824-1.212 1.212 1.325 1.325 1.202-1.437-1.315-1.1ZM6.176 5.206 5.08 3.888 3.635 5.089l1.329 1.329 1.212-1.212ZM3.457 11h1.714v-.002L3.457 11Zm1.75-4.824 1.212-1.212-1.325-1.325-1.202 1.437 1.315 1.1Zm10.617 10.618 1.096 1.318 1.445-1.201-1.329-1.329-1.212 1.212ZM11 2.086V.372c-2.102 0-4.157.623-5.905 1.79l.952 1.426L7 5.014A7.2 7.2 0 0 1 11 3.8V2.086ZM6.047 3.588l-.952-1.425a10.629 10.629 0 0 0-3.915 4.77l1.584.656 1.584.656A7.2 7.2 0 0 1 7 5.014l-.953-1.426Zm-3.283 4L1.18 6.934a10.629 10.629 0 0 0-.604 6.14l1.681-.334 1.681-.334a7.2 7.2 0 0 1 .41-4.16l-1.584-.656Zm-.507 5.151-1.681.335a10.628 10.628 0 0 0 2.908 5.442l1.213-1.212 1.212-1.213a7.2 7.2 0 0 1-1.97-3.686l-1.682.334Zm2.44 4.564-1.213 1.213a10.628 10.628 0 0 0 5.442 2.908l.335-1.68.334-1.682a7.201 7.201 0 0 1-3.686-1.97l-1.212 1.212Zm4.564 2.44-.335 1.681c2.062.41 4.2.2 6.141-.604l-.656-1.584-.656-1.584a7.2 7.2 0 0 1-4.16.41l-.334 1.681Zm5.15-.507.656 1.584a10.628 10.628 0 0 0 4.77-3.915l-1.425-.952L16.987 15a7.2 7.2 0 0 1-3.232 2.652l.656 1.584Zm4-3.283 1.426.952A10.628 10.628 0 0 0 21.63 11H18.2a7.2 7.2 0 0 1-1.213 4l1.425.953ZM19.915 11l1.715-.002a10.638 10.638 0 0 0-3.116-7.51L17.3 4.7l-1.213 1.212a7.21 7.21 0 0 1 2.112 5.09L19.914 11Zm-2.613-6.3 1.212-1.213A10.638 10.638 0 0 0 11.002.372L11 2.086 10.998 3.8a7.21 7.21 0 0 1 5.09 2.112L17.301 4.7Zm1.242 6.3-1.714.002a5.79 5.79 0 0 1-1.35 3.722l1.314 1.1 1.315 1.1a9.22 9.22 0 0 0 2.15-5.926L18.542 11Zm-1.75 4.824 1.213-1.212L7.388 3.994 6.176 5.206 4.964 6.418 15.58 17.036l1.212-1.212ZM6.176 5.206l1.096 1.318a5.828 5.828 0 0 1 2.985-1.3l-.219-1.7-.219-1.701a9.257 9.257 0 0 0-4.74 2.065l1.097 1.318Zm3.862-1.683.219 1.7a5.828 5.828 0 0 1 3.216.503l.727-1.552.728-1.552a9.257 9.257 0 0 0-5.109-.8l.22 1.701Zm4.162.651-.727 1.552a5.829 5.829 0 0 1 2.445 2.15l1.446-.92 1.447-.92a9.257 9.257 0 0 0-3.883-3.414L14.2 4.174Zm3.164 2.782-1.446.92c.594.934.91 2.018.91 3.125h1.715l1.714-.002a9.257 9.257 0 0 0-1.447-4.964l-1.446.92ZM3.457 11l1.714-.002a5.79 5.79 0 0 1 1.35-3.722l-1.314-1.1-1.315-1.1a9.22 9.22 0 0 0-2.15 5.926L3.458 11Zm1.75-4.824L3.994 7.388l10.618 10.618 1.212-1.212 1.212-1.212L6.42 4.964 5.207 6.176Zm10.617 10.618-1.096-1.318a5.828 5.828 0 0 1-2.985 1.3l.219 1.701.219 1.7a9.257 9.257 0 0 0 4.74-2.065l-1.097-1.318Zm-3.862 1.683-.219-1.7a5.829 5.829 0 0 1-3.216-.503L7.8 17.826l-.728 1.552a9.257 9.257 0 0 0 5.109.8l-.22-1.7Zm-4.162-.65.727-1.553a5.83 5.83 0 0 1-2.445-2.15l-1.446.92-1.447.92a9.257 9.257 0 0 0 3.883 3.414l.728-1.552Zm-3.164-2.782 1.446-.92a5.829 5.829 0 0 1-.91-3.126L3.456 11l-1.714.001a9.257 9.257 0 0 0 1.446 4.964l1.447-.92Z",
6628
+ mask: "url(#a)"
6629
+ }
6630
+ )
6631
+ ] });
6632
+
6633
+ 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(
6634
+ "path",
6635
+ {
6636
+ fill,
6637
+ stroke,
6638
+ strokeLinecap: "round",
6639
+ strokeWidth: 1.714,
6640
+ d: "M14.657 8.257V6.43a3.657 3.657 0 0 0-6.076-2.743M7.526 19.229h6.948c1.024 0 1.536 0 1.927-.2.345-.175.624-.455.8-.799.199-.391.199-.903.199-1.927v-5.12c0-1.024 0-1.536-.2-1.928a1.83 1.83 0 0 0-.799-.799c-.39-.199-.903-.199-1.927-.199H7.526c-1.025 0-1.537 0-1.928.2a1.829 1.829 0 0 0-.799.798c-.2.392-.2.904-.2 1.928v5.12c0 1.024 0 1.536.2 1.927.175.344.455.624.8.8.39.198.902.198 1.927.198Z"
6641
+ }
6642
+ ) });
6643
+
6644
+ const DeleteIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, fill: "none", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
6645
+ "path",
6646
+ {
6647
+ fill,
6648
+ stroke,
6649
+ d: "m17.302 16.518.75.007-.75-.007ZM3.686 4.764a.75.75 0 0 0 0 1.5v-1.5Zm14.628 1.5a.75.75 0 0 0 0-1.5v1.5ZM9.921 9.171a.75.75 0 1 0-1.5 0h1.5Zm-1.5 7.315a.75.75 0 1 0 1.5 0h-1.5ZM13.58 9.17a.75.75 0 1 0-1.5 0h1.5Zm-1.5 7.315a.75.75 0 1 0 1.5 0h-1.5ZM17.4 5.514l-.75-.006-.098 11.004.75.006.75.007.098-11.004-.75-.007Zm-3.755 14.629v-.75H8.257v1.5h5.388v-.75ZM4.6 5.514h-.75v10.972h1.5V5.514H4.6Zm-.914 0v.75H4.6v-1.5h-.914v.75Zm.914 0v.75h2.743v-1.5H4.6v.75Zm2.743 0v.75h7.314v-1.5H7.343v.75Zm7.314 0v.75H17.4v-1.5h-2.743v.75Zm2.743 0v.75h.914v-1.5H17.4v.75ZM7.343 5.108h.75c0-1.3 1.216-2.5 2.907-2.5v-1.5c-2.348 0-4.407 1.71-4.407 4h.75ZM11 1.858v.75c1.691 0 2.907 1.2 2.907 2.5h1.5c0-2.29-2.058-4-4.407-4v.75Zm-3.657 3.25h-.75v.406h1.5v-.406h-.75Zm7.314 0h-.75v.406h1.5v-.406h-.75Zm-6.4 15.035v-.75a2.907 2.907 0 0 1-2.907-2.907h-1.5a4.407 4.407 0 0 0 4.407 4.407v-.75Zm9.045-3.625-.75-.006a2.907 2.907 0 0 1-2.907 2.88v1.5a4.407 4.407 0 0 0 4.407-4.367l-.75-.007Zm-8.13-7.347h-.75v7.315h1.5V9.17h-.75Zm3.657 0h-.75v7.315h1.5V9.17h-.75Z"
6650
+ }
6651
+ ) });
6652
+
6653
+ const InActiveIcon = ({ stroke, fill }) => /* @__PURE__ */ jsxRuntimeExports.jsx(
6555
6654
  "svg",
6556
6655
  {
6557
6656
  xmlns: "http://www.w3.org/2000/svg",
6558
- width: 18,
6559
- height: 24,
6657
+ width: 22,
6658
+ height: 22,
6560
6659
  fill: "none",
6561
- ...props,
6562
6660
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
6563
6661
  "path",
6564
6662
  {
6565
- fill: "#116DFF",
6566
- fillRule: "evenodd",
6567
- d: "M6 1h2v2H6V1Zm0 5h2v2H6V6Zm4-5h2v2h-2V1Zm0 5h2v2h-2V6Zm-4 5h2v2H6v-2Zm4 0h2v2h-2v-2Zm-4 5h2v2H6v-2Zm4 0h2v2h-2v-2Zm-4 5h2v2H6v-2Zm4 0h2v2h-2v-2Z",
6568
- clipRule: "evenodd"
6663
+ fill,
6664
+ stroke,
6665
+ strokeLinecap: "round",
6666
+ strokeWidth: 1.714,
6667
+ d: "M7.343 8.257V6.43a3.657 3.657 0 0 1 7.314 0v1.828M7.526 19.23h6.948c1.024 0 1.536 0 1.927-.2.345-.175.624-.455.8-.799.199-.391.199-.903.199-1.927v-5.12c0-1.024 0-1.536-.2-1.928a1.83 1.83 0 0 0-.799-.799c-.39-.199-.903-.199-1.927-.199H7.526c-1.025 0-1.537 0-1.928.2a1.829 1.829 0 0 0-.799.798c-.2.392-.2.904-.2 1.928v5.12c0 1.024 0 1.536.2 1.927.175.344.455.624.8.8.39.198.902.198 1.927.198Z"
6569
6668
  }
6570
6669
  )
6571
6670
  }
@@ -16925,51 +17024,14 @@ const BulkAction = ({
16925
17024
  //! State
16926
17025
  const listIcon = [
16927
17026
  {
16928
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(
16929
- "svg",
16930
- {
16931
- xmlns: "http://www.w3.org/2000/svg",
16932
- width: "22",
16933
- height: "22",
16934
- viewBox: "0 0 22 22",
16935
- fill: "none",
16936
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
16937
- "path",
16938
- {
16939
- d: "M3.40522 6.61147C4.93019 3.98798 7.78047 2.2229 11.045 2.2229C14.7464 2.2229 17.9152 4.49198 19.2236 7.70862M6.08392 7.70862H1.67407V3.32004M18.5944 15.3886C17.0694 18.0121 14.2191 19.7772 10.9546 19.7772C7.25319 19.7772 4.08434 17.5081 2.77597 14.2915M15.9157 14.2915H20.3255V18.68",
16940
- stroke: "white",
16941
- "stroke-width": "1.5",
16942
- "stroke-linecap": "round",
16943
- "stroke-linejoin": "round"
16944
- }
16945
- )
16946
- }
16947
- ),
17027
+ icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RestoreIcon, { stroke: "white" }),
16948
17028
  action: handleRestore,
16949
17029
  showConfirmModal: false,
16950
17030
  title: "Khôi phục",
16951
17031
  arrShow: [CATEGORY_LIST_ENUM?.DELETE, CATEGORY_LIST_ENUM?.REJECT]
16952
17032
  },
16953
17033
  {
16954
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(
16955
- "svg",
16956
- {
16957
- xmlns: "http://www.w3.org/2000/svg",
16958
- width: "22",
16959
- height: "22",
16960
- viewBox: "0 0 22 22",
16961
- fill: "none",
16962
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
16963
- "path",
16964
- {
16965
- d: "M6.44067 10.9999L10.8908 10.9999M6.30553 10.4786L2.91164 4.37135C2.39887 3.44865 3.38626 2.4177 4.33064 2.88975L18.6348 10.0397C19.4263 10.4353 19.4263 11.5645 18.6348 11.9602L4.33063 19.1101C3.38626 19.5822 2.39887 18.5512 2.91163 17.6285L6.30553 11.5213C6.48572 11.1971 6.48572 10.8028 6.30553 10.4786Z",
16966
- stroke: "white",
16967
- "stroke-width": "1.71429",
16968
- "stroke-linecap": "round"
16969
- }
16970
- )
16971
- }
16972
- ),
17034
+ icon: /* @__PURE__ */ jsxRuntimeExports.jsx(SendApprovalIcon, { stroke: "white" }),
16973
17035
  action: handleSendApproval,
16974
17036
  showConfirmModal: true,
16975
17037
  typeIcon: "info",
@@ -16978,25 +17040,7 @@ const BulkAction = ({
16978
17040
  arrShow: [CATEGORY_LIST_ENUM?.DRAFT]
16979
17041
  },
16980
17042
  {
16981
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(
16982
- "svg",
16983
- {
16984
- xmlns: "http://www.w3.org/2000/svg",
16985
- width: "22",
16986
- height: "22",
16987
- viewBox: "0 0 22 22",
16988
- fill: "none",
16989
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
16990
- "path",
16991
- {
16992
- d: "M12.8286 7.34289L9.17146 14.6572M20.1429 11C20.1429 16.0495 16.0495 20.1429 11 20.1429C5.95057 20.1429 1.85718 16.0495 1.85718 11C1.85718 5.95057 5.95057 1.85718 11 1.85718C16.0495 1.85718 20.1429 5.95057 20.1429 11Z",
16993
- stroke: "white",
16994
- "stroke-width": "1.5",
16995
- "stroke-linecap": "round"
16996
- }
16997
- )
16998
- }
16999
- ),
17043
+ icon: /* @__PURE__ */ jsxRuntimeExports.jsx(CancelSendApprovalIcon, { stroke: "white" }),
17000
17044
  action: handleCancelSendApproval,
17001
17045
  showConfirmModal: true,
17002
17046
  typeIcon: "error",
@@ -17005,34 +17049,7 @@ const BulkAction = ({
17005
17049
  arrShow: [CATEGORY_LIST_ENUM?.WATING_APPROVAL]
17006
17050
  },
17007
17051
  {
17008
- icon: /* @__PURE__ */ jsxRuntimeExports.jsxs(
17009
- "svg",
17010
- {
17011
- xmlns: "http://www.w3.org/2000/svg",
17012
- width: "22",
17013
- height: "22",
17014
- viewBox: "0 0 22 22",
17015
- fill: "none",
17016
- children: [
17017
- /* @__PURE__ */ jsxRuntimeExports.jsx("mask", { id: "path-1-inside-1_2166_37966", fill: "white", children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M11 2.08582C9.2369 2.08582 7.51342 2.60863 6.04747 3.58814C4.58152 4.56766 3.43896 5.95988 2.76426 7.58875C2.08956 9.21762 1.91302 11.01 2.25698 12.7392C2.60094 14.4684 3.44995 16.0568 4.69663 17.3035C5.94332 18.5501 7.53169 19.3991 9.26089 19.7431C10.9901 20.0871 12.7825 19.9105 14.4113 19.2358C16.0402 18.5611 17.4324 17.4186 18.4119 15.9526C19.3915 14.4867 19.9143 12.7632 19.9143 11.0001C19.9118 8.63665 18.9718 6.37072 17.3006 4.69951C15.6294 3.02829 13.3634 2.08831 11 2.08582ZM18.5428 11.0001C18.5446 12.7637 17.9252 14.4716 16.7934 15.8241L6.17598 5.20582C7.27741 4.28951 8.61703 3.70585 10.0381 3.52314C11.4591 3.34043 12.9028 3.56622 14.2002 4.17409C15.4976 4.78197 16.5951 5.74678 17.3641 6.95563C18.1332 8.16448 18.542 9.56736 18.5428 11.0001ZM3.45713 11.0001C3.45537 9.2365 4.07474 7.52861 5.20655 6.1761L15.824 16.7944C14.7226 17.7107 13.3829 18.2943 11.9619 18.4771C10.5408 18.6598 9.09715 18.434 7.79975 17.8261C6.50235 17.2182 5.40491 16.2534 4.63586 15.0446C3.8668 13.8357 3.45794 12.4328 3.45713 11.0001Z" }) }),
17018
- /* @__PURE__ */ jsxRuntimeExports.jsx(
17019
- "path",
17020
- {
17021
- d: "M11 2.08582C9.2369 2.08582 7.51342 2.60863 6.04747 3.58814C4.58152 4.56766 3.43896 5.95988 2.76426 7.58875C2.08956 9.21762 1.91302 11.01 2.25698 12.7392C2.60094 14.4684 3.44995 16.0568 4.69663 17.3035C5.94332 18.5501 7.53169 19.3991 9.26089 19.7431C10.9901 20.0871 12.7825 19.9105 14.4113 19.2358C16.0402 18.5611 17.4324 17.4186 18.4119 15.9526C19.3915 14.4867 19.9143 12.7632 19.9143 11.0001C19.9118 8.63665 18.9718 6.37072 17.3006 4.69951C15.6294 3.02829 13.3634 2.08831 11 2.08582ZM18.5428 11.0001C18.5446 12.7637 17.9252 14.4716 16.7934 15.8241L6.17598 5.20582C7.27741 4.28951 8.61703 3.70585 10.0381 3.52314C11.4591 3.34043 12.9028 3.56622 14.2002 4.17409C15.4976 4.78197 16.5951 5.74678 17.3641 6.95563C18.1332 8.16448 18.542 9.56736 18.5428 11.0001ZM3.45713 11.0001C3.45537 9.2365 4.07474 7.52861 5.20655 6.1761L15.824 16.7944C14.7226 17.7107 13.3829 18.2943 11.9619 18.4771C10.5408 18.6598 9.09715 18.434 7.79975 17.8261C6.50235 17.2182 5.40491 16.2534 4.63586 15.0446C3.8668 13.8357 3.45794 12.4328 3.45713 11.0001Z",
17022
- fill: "white"
17023
- }
17024
- ),
17025
- /* @__PURE__ */ jsxRuntimeExports.jsx(
17026
- "path",
17027
- {
17028
- d: "M11 2.08582L11.0018 0.37153H11V2.08582ZM19.9143 11.0001H21.6286L21.6286 10.9983L19.9143 11.0001ZM18.5428 11.0001L16.8286 11.0011L16.8286 11.0018L18.5428 11.0001ZM16.7934 15.8241L15.5812 17.0362L16.9058 18.361L18.1081 16.9243L16.7934 15.8241ZM6.17598 5.20582L5.07962 3.88795L3.63537 5.08946L4.96375 6.41795L6.17598 5.20582ZM3.45713 11.0001L5.17141 10.9991L5.17141 10.9984L3.45713 11.0001ZM5.20655 6.1761L6.41879 4.96397L5.09415 3.63922L3.89187 5.07593L5.20655 6.1761ZM15.824 16.7944L16.9203 18.1122L18.3646 16.9107L17.0362 15.5823L15.824 16.7944ZM11 2.08582V0.37153C8.89785 0.37153 6.84293 0.994885 5.09507 2.16277L6.04747 3.58814L6.99988 5.01352C8.18391 4.22237 9.57596 3.8001 11 3.8001V2.08582ZM6.04747 3.58814L5.09507 2.16277C3.34721 3.33065 1.98492 4.9906 1.18046 6.93272L2.76426 7.58875L4.34805 8.24478C4.893 6.92915 5.81584 5.80467 6.99988 5.01352L6.04747 3.58814ZM2.76426 7.58875L1.18046 6.93272C0.376012 8.87484 0.165531 11.0119 0.575637 13.0736L2.25698 12.7392L3.93833 12.4047C3.66052 11.0081 3.8031 9.56041 4.34805 8.24478L2.76426 7.58875ZM2.25698 12.7392L0.575637 13.0736C0.985743 15.1354 1.99802 17.0292 3.48445 18.5156L4.69663 17.3035L5.90881 16.0913C4.90188 15.0843 4.21614 13.8014 3.93833 12.4047L2.25698 12.7392ZM4.69663 17.3035L3.48445 18.5156C4.97088 20.0021 6.86471 21.0143 8.92645 21.4244L9.26089 19.7431L9.59533 18.0618C8.19867 17.7839 6.91575 17.0982 5.90881 16.0913L4.69663 17.3035ZM9.26089 19.7431L8.92645 21.4244C10.9882 21.8346 13.1252 21.6241 15.0674 20.8196L14.4113 19.2358L13.7553 17.652C12.4397 18.197 10.992 18.3396 9.59533 18.0618L9.26089 19.7431ZM14.4113 19.2358L15.0674 20.8196C17.0095 20.0152 18.6694 18.6529 19.8373 16.905L18.4119 15.9526L16.9866 15.0002C16.1954 16.1842 15.0709 17.1071 13.7553 17.652L14.4113 19.2358ZM18.4119 15.9526L19.8373 16.905C21.0052 15.1572 21.6286 13.1022 21.6286 11.0001H19.9143H18.2C18.2 12.4241 17.7777 13.8162 16.9866 15.0002L18.4119 15.9526ZM19.9143 11.0001L21.6286 10.9983C21.6256 8.18081 20.505 5.47958 18.5128 3.48732L17.3006 4.69951L16.0884 5.91169C17.4386 7.26185 18.198 9.09249 18.2 11.0019L19.9143 11.0001ZM17.3006 4.69951L18.5128 3.48732C16.5205 1.49506 13.8193 0.374506 11.0018 0.371531L11 2.08582L10.9982 3.8001C12.9076 3.80212 14.7382 4.56152 16.0884 5.91169L17.3006 4.69951ZM18.5428 11.0001L16.8286 11.0018C16.8299 12.3626 16.352 13.6804 15.4787 14.7239L16.7934 15.8241L18.1081 16.9243C19.4984 15.2628 20.2593 13.1648 20.2571 10.9984L18.5428 11.0001ZM16.7934 15.8241L18.0056 14.612L7.38822 3.99368L6.17598 5.20582L4.96375 6.41795L15.5812 17.0362L16.7934 15.8241ZM6.17598 5.20582L7.27235 6.52368C8.12345 5.81562 9.15861 5.36461 10.2567 5.22343L10.0381 3.52314L9.81946 1.82285C8.07545 2.04709 6.43137 2.7634 5.07962 3.88795L6.17598 5.20582ZM10.0381 3.52314L10.2567 5.22343C11.3548 5.08224 12.4704 5.25672 13.4729 5.72644L14.2002 4.17409L14.9275 2.62175C13.3353 1.87572 11.5635 1.59861 9.81946 1.82285L10.0381 3.52314ZM14.2002 4.17409L13.4729 5.72644C14.4754 6.19616 15.3234 6.9417 15.9177 7.87581L17.3641 6.95563L18.8105 6.03545C17.8667 4.55187 16.5198 3.36778 14.9275 2.62175L14.2002 4.17409ZM17.3641 6.95563L15.9177 7.87581C16.512 8.80992 16.8279 9.89396 16.8286 11.0011L18.5428 11.0001L20.2571 10.9991C20.2561 9.24075 19.7543 7.51904 18.8105 6.03545L17.3641 6.95563ZM3.45713 11.0001L5.17141 10.9984C5.17006 9.63763 5.64795 8.31984 6.52124 7.27627L5.20655 6.1761L3.89187 5.07593C2.50153 6.73738 1.74069 8.83537 1.74284 11.0018L3.45713 11.0001ZM5.20655 6.1761L3.99432 7.38823L14.6118 18.0065L15.824 16.7944L17.0362 15.5823L6.41879 4.96397L5.20655 6.1761ZM15.824 16.7944L14.7276 15.4765C13.8765 16.1846 12.8414 16.6356 11.7433 16.7768L11.9619 18.4771L12.1805 20.1774C13.9245 19.9531 15.5686 19.2368 16.9203 18.1122L15.824 16.7944ZM11.9619 18.4771L11.7433 16.7768C10.6452 16.918 9.52961 16.7435 8.52708 16.2738L7.79975 17.8261L7.07243 19.3784C8.66469 20.1245 10.4365 20.4016 12.1805 20.1774L11.9619 18.4771ZM7.79975 17.8261L8.52708 16.2738C7.52454 15.804 6.67652 15.0585 6.08225 14.1244L4.63586 15.0446L3.18947 15.9647C4.13331 17.4483 5.48016 18.6324 7.07243 19.3784L7.79975 17.8261ZM4.63586 15.0446L6.08225 14.1244C5.48798 13.1903 5.17204 12.1062 5.17141 10.9991L3.45713 11.0001L1.74284 11.0011C1.74385 12.7594 2.24563 14.4812 3.18947 15.9647L4.63586 15.0446Z",
17029
- fill: "white",
17030
- mask: "url(#path-1-inside-1_2166_37966)"
17031
- }
17032
- )
17033
- ]
17034
- }
17035
- ),
17052
+ icon: /* @__PURE__ */ jsxRuntimeExports.jsx(RefuseApprovalIcon, { stroke: "white" }),
17036
17053
  action: handleRefuseApproval,
17037
17054
  showConfirmModal: true,
17038
17055
  typeIcon: "error",
@@ -17041,25 +17058,7 @@ const BulkAction = ({
17041
17058
  arrShow: [CATEGORY_LIST_ENUM?.WATING_APPROVAL]
17042
17059
  },
17043
17060
  {
17044
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(
17045
- "svg",
17046
- {
17047
- xmlns: "http://www.w3.org/2000/svg",
17048
- width: "22",
17049
- height: "22",
17050
- viewBox: "0 0 22 22",
17051
- fill: "none",
17052
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
17053
- "path",
17054
- {
17055
- d: "M15.3306 6.42859L6.66306 15.3185C6.3342 15.6558 5.80102 15.6558 5.47217 15.3185L1.85718 11.6107M11.4754 15.3185L20.1429 6.42859",
17056
- stroke: "white",
17057
- "stroke-width": "1.71429",
17058
- "stroke-linecap": "round"
17059
- }
17060
- )
17061
- }
17062
- ),
17061
+ icon: /* @__PURE__ */ jsxRuntimeExports.jsx(ApprovalIcon, { stroke: "white" }),
17063
17062
  action: handleApproval,
17064
17063
  showConfirmModal: true,
17065
17064
  typeIcon: "info",
@@ -17068,25 +17067,7 @@ const BulkAction = ({
17068
17067
  arrShow: [CATEGORY_LIST_ENUM?.WATING_APPROVAL]
17069
17068
  },
17070
17069
  {
17071
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(
17072
- "svg",
17073
- {
17074
- xmlns: "http://www.w3.org/2000/svg",
17075
- width: "22",
17076
- height: "22",
17077
- viewBox: "0 0 22 22",
17078
- fill: "none",
17079
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
17080
- "path",
17081
- {
17082
- d: "M13.7429 8.25718L11 11M11 11L8.25718 13.7429M11 11L13.7429 13.7429M11 11L8.25718 8.25718M20.1429 11C20.1429 16.0495 16.0495 20.1429 11 20.1429C5.95057 20.1429 1.85718 16.0495 1.85718 11C1.85718 5.95057 5.95057 1.85718 11 1.85718C16.0495 1.85718 20.1429 5.95057 20.1429 11Z",
17083
- stroke: "white",
17084
- "stroke-width": "1.5",
17085
- "stroke-linecap": "round"
17086
- }
17087
- )
17088
- }
17089
- ),
17070
+ icon: /* @__PURE__ */ jsxRuntimeExports.jsx(CancelApprovalIcon, { stroke: "white" }),
17090
17071
  action: handleCancelApproval,
17091
17072
  showConfirmModal: true,
17092
17073
  typeIcon: "error",
@@ -17095,23 +17076,7 @@ const BulkAction = ({
17095
17076
  arrShow: [CATEGORY_LIST_ENUM?.ACTIVE]
17096
17077
  },
17097
17078
  {
17098
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(
17099
- "svg",
17100
- {
17101
- xmlns: "http://www.w3.org/2000/svg",
17102
- width: "22",
17103
- height: "22",
17104
- viewBox: "0 0 22 22",
17105
- fill: "none",
17106
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
17107
- "path",
17108
- {
17109
- d: "M17.3018 16.5184L18.0518 16.5251L17.3018 16.5184ZM3.68579 4.76432C3.27158 4.76432 2.93579 5.10011 2.93579 5.51432C2.93579 5.92853 3.27158 6.26432 3.68579 6.26432V4.76432ZM18.3144 6.26432C18.7286 6.26432 19.0644 5.92853 19.0644 5.51432C19.0644 5.10011 18.7286 4.76432 18.3144 4.76432V6.26432ZM9.9215 9.17146C9.9215 8.75725 9.58572 8.42146 9.1715 8.42146C8.75729 8.42146 8.4215 8.75725 8.4215 9.17146H9.9215ZM8.4215 16.4857C8.4215 16.9 8.75729 17.2357 9.1715 17.2357C9.58572 17.2357 9.9215 16.9 9.9215 16.4857H8.4215ZM13.5786 9.17146C13.5786 8.75725 13.2429 8.42146 12.8286 8.42146C12.4144 8.42146 12.0786 8.75725 12.0786 9.17146H13.5786ZM12.0786 16.4857C12.0786 16.9 12.4144 17.2357 12.8286 17.2357C13.2429 17.2357 13.5786 16.9 13.5786 16.4857H12.0786ZM17.4001 5.51432L16.6501 5.50762L16.5519 16.5117L17.3018 16.5184L18.0518 16.5251L18.15 5.52102L17.4001 5.51432ZM13.6448 20.1429V19.3929H8.25722V20.1429V20.8929H13.6448V20.1429ZM4.60008 5.51432H3.85008V16.4857H4.60008H5.35008V5.51432H4.60008ZM3.68579 5.51432V6.26432H4.60008V5.51432V4.76432H3.68579V5.51432ZM4.60008 5.51432V6.26432H7.34293V5.51432V4.76432H4.60008V5.51432ZM7.34293 5.51432V6.26432H14.6572V5.51432V4.76432H7.34293V5.51432ZM14.6572 5.51432V6.26432H17.4001V5.51432V4.76432H14.6572V5.51432ZM17.4001 5.51432V6.26432H18.3144V5.51432V4.76432H17.4001V5.51432ZM7.34293 5.10797H8.09293C8.09293 3.80743 9.30902 2.60718 11.0001 2.60718V1.85718V1.10718C8.65156 1.10718 6.59293 2.81779 6.59293 5.10797H7.34293ZM11.0001 1.85718V2.60718C12.6911 2.60718 13.9072 3.80743 13.9072 5.10797H14.6572H15.4072C15.4072 2.81779 13.3486 1.10718 11.0001 1.10718V1.85718ZM7.34293 5.10797H6.59293V5.51432H7.34293H8.09293V5.10797H7.34293ZM14.6572 5.10797H13.9072V5.51432H14.6572H15.4072V5.10797H14.6572ZM8.25722 20.1429V19.3929C6.65165 19.3929 5.35008 18.0913 5.35008 16.4857H4.60008H3.85008C3.85008 18.9197 5.82322 20.8929 8.25722 20.8929V20.1429ZM17.3018 16.5184L16.5519 16.5117C16.5376 18.1071 15.2403 19.3929 13.6448 19.3929V20.1429V20.8929C16.0635 20.8929 18.0302 18.9436 18.0518 16.5251L17.3018 16.5184ZM9.1715 9.17146H8.4215V16.4857H9.1715H9.9215V9.17146H9.1715ZM12.8286 9.17146H12.0786V16.4857H12.8286H13.5786V9.17146H12.8286Z",
17110
- fill: "white"
17111
- }
17112
- )
17113
- }
17114
- ),
17079
+ icon: /* @__PURE__ */ jsxRuntimeExports.jsx(DeleteIcon, { fill: "white" }),
17115
17080
  action: handleDelete,
17116
17081
  showConfirmModal: true,
17117
17082
  typeIcon: "error",
@@ -17124,25 +17089,7 @@ const BulkAction = ({
17124
17089
  ]
17125
17090
  },
17126
17091
  {
17127
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(
17128
- "svg",
17129
- {
17130
- xmlns: "http://www.w3.org/2000/svg",
17131
- width: "22",
17132
- height: "22",
17133
- viewBox: "0 0 22 22",
17134
- fill: "none",
17135
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
17136
- "path",
17137
- {
17138
- d: "M14.657 8.25708V6.42851C14.657 4.40872 13.0196 2.77136 10.9998 2.77136C10.0723 2.77136 9.22546 3.11663 8.58077 3.68565M7.52557 19.2285H14.4741C15.4982 19.2285 16.0103 19.2285 16.4014 19.0292C16.7455 18.8539 17.0252 18.5742 17.2006 18.2301C17.3999 17.8389 17.3999 17.3269 17.3999 16.3028V11.1828C17.3999 10.1587 17.3999 9.64665 17.2006 9.25549C17.0252 8.91143 16.7455 8.63169 16.4014 8.45638C16.0103 8.25708 15.4982 8.25708 14.4741 8.25708H7.52557C6.50147 8.25708 5.98942 8.25708 5.59827 8.45638C5.2542 8.63169 4.97447 8.91143 4.79916 9.25549C4.59985 9.64665 4.59985 10.1587 4.59985 11.1828V16.3028C4.59985 17.3269 4.59985 17.8389 4.79916 18.2301C4.97447 18.5742 5.2542 18.8539 5.59827 19.0292C5.98942 19.2285 6.50147 19.2285 7.52557 19.2285Z",
17139
- stroke: "white",
17140
- "stroke-width": "1.71429",
17141
- "stroke-linecap": "round"
17142
- }
17143
- )
17144
- }
17145
- ),
17092
+ icon: /* @__PURE__ */ jsxRuntimeExports.jsx(ActivateIcon, { stroke: "white" }),
17146
17093
  action: handleActivate,
17147
17094
  showConfirmModal: true,
17148
17095
  typeIcon: "info",
@@ -17151,25 +17098,7 @@ const BulkAction = ({
17151
17098
  arrShow: [CATEGORY_LIST_ENUM?.INACTIVE]
17152
17099
  },
17153
17100
  {
17154
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(
17155
- "svg",
17156
- {
17157
- xmlns: "http://www.w3.org/2000/svg",
17158
- width: "22",
17159
- height: "22",
17160
- viewBox: "0 0 22 22",
17161
- fill: "none",
17162
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
17163
- "path",
17164
- {
17165
- d: "M7.34271 8.25708V6.42851C7.34271 4.40872 8.98007 2.77136 10.9999 2.77136C13.0196 2.77136 14.657 4.40872 14.657 6.42851V8.25708M7.52557 19.2285H14.4741C15.4982 19.2285 16.0103 19.2285 16.4014 19.0292C16.7455 18.8539 17.0252 18.5742 17.2006 18.2301C17.3999 17.8389 17.3999 17.3269 17.3999 16.3028V11.1828C17.3999 10.1587 17.3999 9.64665 17.2006 9.25549C17.0252 8.91143 16.7455 8.63169 16.4014 8.45638C16.0103 8.25708 15.4982 8.25708 14.4741 8.25708H7.52557C6.50147 8.25708 5.98942 8.25708 5.59827 8.45638C5.2542 8.63169 4.97447 8.91143 4.79916 9.25549C4.59985 9.64665 4.59985 10.1587 4.59985 11.1828V16.3028C4.59985 17.3269 4.59985 17.8389 4.79916 18.2301C4.97447 18.5742 5.2542 18.8539 5.59827 19.0292C5.98942 19.2285 6.50147 19.2285 7.52557 19.2285Z",
17166
- stroke: "white",
17167
- "stroke-width": "1.71429",
17168
- "stroke-linecap": "round"
17169
- }
17170
- )
17171
- }
17172
- ),
17101
+ icon: /* @__PURE__ */ jsxRuntimeExports.jsx(InActiveIcon, { stroke: "white" }),
17173
17102
  action: handleInActivate,
17174
17103
  showConfirmModal: true,
17175
17104
  typeIcon: "info",
@@ -17350,88 +17279,4 @@ const CategoryStatus = ({ status }) => {
17350
17279
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ItemStatus, { color: bagde.color, statusName: bagde.text }) });
17351
17280
  };
17352
17281
 
17353
- var TypeActionRowTable = /* @__PURE__ */ ((TypeActionRowTable2) => {
17354
- TypeActionRowTable2["DELETE"] = "DELETE";
17355
- TypeActionRowTable2["EDIT"] = "EDIT";
17356
- TypeActionRowTable2["UNDO"] = "UNDO";
17357
- TypeActionRowTable2["CANCELUNDO"] = "CANCELUNDO";
17358
- TypeActionRowTable2["CHECKIN"] = "CHECKIN";
17359
- TypeActionRowTable2["PRINT"] = "PRINT";
17360
- TypeActionRowTable2["PAYMENT"] = "PAYMENT";
17361
- TypeActionRowTable2["PLAY"] = "PLAY";
17362
- TypeActionRowTable2["PAUSE"] = "PAUSE";
17363
- TypeActionRowTable2["DOWNLOAD"] = "DOWNLOAD";
17364
- TypeActionRowTable2["VIEW"] = "VIEW";
17365
- return TypeActionRowTable2;
17366
- })(TypeActionRowTable || {});
17367
-
17368
- const ActionRowTable = ({
17369
- type,
17370
- contentTooltip,
17371
- handleClick
17372
- }) => {
17373
- //! State
17374
- //! Function
17375
- const renderAction = () => {
17376
- switch (type) {
17377
- case TypeActionRowTable.EDIT:
17378
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { title: contentTooltip, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
17379
- Button,
17380
- {
17381
- onClick: handleClick,
17382
- type: "text",
17383
- className: "cursor-pointer",
17384
- shape: "circle",
17385
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(
17386
- "svg",
17387
- {
17388
- xmlns: "http://www.w3.org/2000/svg",
17389
- width: "20",
17390
- height: "20",
17391
- viewBox: "0 0 20 20",
17392
- fill: "none",
17393
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
17394
- "path",
17395
- {
17396
- d: "M4.17657 14.1368L4.88808 14.374L4.17657 14.1368ZM4.80089 12.2639L4.08938 12.0267L4.08938 12.0267L4.80089 12.2639ZM5.44509 11.2215L5.97542 11.7519L5.97542 11.7519L5.44509 11.2215ZM11.6666 4.99999L11.1363 4.46966V4.46966L11.6666 4.99999ZM15 8.33333L15.5303 8.86366V8.86366L15 8.33333ZM8.77843 14.5549L8.2481 14.0245L8.2481 14.0245L8.77843 14.5549ZM7.73608 15.1991L7.97325 15.9106H7.97326L7.73608 15.1991ZM5.86312 15.8234L6.10029 16.5349L6.10029 16.5349L5.86312 15.8234ZM8.43672 14.8738L7.98504 14.2751L7.98504 14.2751L8.43672 14.8738ZM8.17417 15.0361L7.84064 14.3643L8.17417 15.0361ZM15.803 5.92663L15.131 6.25964V6.25964L15.803 5.92663ZM15.803 7.40669L15.131 7.07367V7.07367L15.803 7.40669ZM12.5933 4.19698L12.9263 4.869L12.9263 4.869L12.5933 4.19698ZM14.0733 4.19698L13.7403 4.869V4.869L14.0733 4.19698ZM4.96388 11.8258L5.63564 12.1593L5.63564 12.1593L4.96388 11.8258ZM5.12615 11.5632L4.52742 11.1115L4.52742 11.1115L5.12615 11.5632ZM3.86599 15.6289L3.15956 15.8809L3.86599 15.6289ZM4.37101 16.134L4.1191 16.8404L4.1191 16.8404L4.37101 16.134ZM11.3636 5.30302C11.0707 5.01013 10.5959 5.01013 10.303 5.30302C10.0101 5.59592 10.0101 6.07079 10.303 6.36368L11.3636 5.30302ZM13.6363 9.69702C13.9292 9.98991 14.4041 9.98991 14.697 9.69702C14.9898 9.40412 14.9898 8.92925 14.697 8.63636L13.6363 9.69702ZM9.99996 15.9167C9.58575 15.9167 9.24996 16.2524 9.24996 16.6667C9.24996 17.0809 9.58575 17.4167 9.99996 17.4167V15.9167ZM15.8333 17.4167C16.2475 17.4167 16.5833 17.0809 16.5833 16.6667C16.5833 16.2524 16.2475 15.9167 15.8333 15.9167V17.4167ZM4.17657 14.1368L4.88808 14.374L5.5124 12.501L4.80089 12.2639L4.08938 12.0267L3.46506 13.8997L4.17657 14.1368ZM5.44509 11.2215L5.97542 11.7519L12.197 5.53032L11.6666 4.99999L11.1363 4.46966L4.91476 10.6912L5.44509 11.2215ZM15 8.33333L14.4696 7.803L8.2481 14.0245L8.77843 14.5549L9.30876 15.0852L15.5303 8.86366L15 8.33333ZM7.73608 15.1991L7.49891 14.4875L5.62594 15.1119L5.86312 15.8234L6.10029 16.5349L7.97325 15.9106L7.73608 15.1991ZM8.77843 14.5549L8.2481 14.0245C8.06793 14.2047 8.02648 14.2438 7.98504 14.2751L8.43672 14.8738L8.8884 15.4725C9.03233 15.364 9.1569 15.237 9.30876 15.0852L8.77843 14.5549ZM7.73608 15.1991L7.97326 15.9106C8.17699 15.8427 8.34621 15.788 8.50769 15.7078L8.17417 15.0361L7.84064 14.3643C7.79415 14.3874 7.74063 14.407 7.49891 14.4875L7.73608 15.1991ZM8.43672 14.8738L7.98504 14.2751C7.93977 14.3092 7.89143 14.3391 7.84064 14.3643L8.17417 15.0361L8.50769 15.7078C8.6416 15.6413 8.76905 15.5626 8.88841 15.4725L8.43672 14.8738ZM15 4.99999L14.4696 5.53032C14.9668 6.02752 15.0779 6.15265 15.131 6.25964L15.803 5.92663L16.475 5.59362C16.2851 5.21046 15.9418 4.88122 15.5303 4.46966L15 4.99999ZM15 8.33333L15.5303 8.86366C15.9418 8.4521 16.2851 8.12286 16.475 7.7397L15.803 7.40669L15.131 7.07367C15.0779 7.18067 14.9668 7.3058 14.4696 7.803L15 8.33333ZM15.803 5.92663L15.131 6.25964C15.258 6.51611 15.258 6.81721 15.131 7.07367L15.803 7.40669L16.475 7.7397C16.81 7.06357 16.81 6.26975 16.475 5.59362L15.803 5.92663ZM11.6666 4.99999L12.197 5.53032C12.6941 5.03313 12.8193 4.92202 12.9263 4.869L12.5933 4.19698L12.2603 3.52497C11.8771 3.71484 11.5479 4.05811 11.1363 4.46966L11.6666 4.99999ZM15 4.99999L15.5303 4.46966C15.1187 4.05811 14.7895 3.71484 14.4063 3.52497L14.0733 4.19698L13.7403 4.869C13.8473 4.92202 13.9724 5.03313 14.4696 5.53032L15 4.99999ZM12.5933 4.19698L12.9263 4.869C13.1827 4.74191 13.4838 4.74191 13.7403 4.869L14.0733 4.19698L14.4063 3.52497C13.7302 3.18992 12.9364 3.18992 12.2603 3.52497L12.5933 4.19698ZM4.80089 12.2639L5.5124 12.501C5.59298 12.2593 5.61256 12.2058 5.63564 12.1593L4.96388 11.8258L4.29213 11.4923C4.21195 11.6537 4.15729 11.823 4.08938 12.0267L4.80089 12.2639ZM5.44509 11.2215L4.91477 10.6912C4.76291 10.8431 4.636 10.9676 4.52742 11.1115L5.12615 11.5632L5.72489 12.0149C5.75615 11.9735 5.79526 11.932 5.97542 11.7519L5.44509 11.2215ZM4.96388 11.8258L5.63564 12.1593C5.66086 12.1085 5.69074 12.0602 5.72489 12.0149L5.12615 11.5632L4.52742 11.1115C4.43738 11.2309 4.35861 11.3583 4.29213 11.4923L4.96388 11.8258ZM4.17657 14.1368L3.46506 13.8997C3.33407 14.2926 3.21866 14.6365 3.15318 14.9151C3.09031 15.1827 3.03521 15.5321 3.15956 15.8809L3.86599 15.6289L4.57242 15.377C4.60023 15.455 4.5647 15.4655 4.61341 15.2583C4.6595 15.0621 4.74764 14.7953 4.88808 14.374L4.17657 14.1368ZM5.86312 15.8234L5.62595 15.1119C5.20464 15.2523 4.93782 15.3405 4.74168 15.3865C4.53442 15.4352 4.54493 15.3997 4.62292 15.4275L4.37101 16.134L4.1191 16.8404C4.46782 16.9647 4.81727 16.9096 5.08481 16.8468C5.36348 16.7813 5.70735 16.6659 6.10029 16.5349L5.86312 15.8234ZM3.86599 15.6289L3.15956 15.8809C3.31919 16.3285 3.67145 16.6808 4.1191 16.8404L4.37101 16.134L4.62292 15.4275C4.59936 15.4191 4.58082 15.4006 4.57242 15.377L3.86599 15.6289ZM10.8333 5.83335L10.303 6.36368L13.6363 9.69702L14.1666 9.16669L14.697 8.63636L11.3636 5.30302L10.8333 5.83335ZM9.99996 16.6667V17.4167H15.8333V16.6667V15.9167H9.99996V16.6667Z",
17397
- fill: "#007BE5"
17398
- }
17399
- )
17400
- }
17401
- )
17402
- }
17403
- ) }) });
17404
- case TypeActionRowTable.DELETE:
17405
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { title: contentTooltip, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
17406
- Button,
17407
- {
17408
- onClick: handleClick,
17409
- type: "text",
17410
- className: "cursor-pointer p-2",
17411
- shape: "circle",
17412
- icon: /* @__PURE__ */ jsxRuntimeExports.jsx(
17413
- "svg",
17414
- {
17415
- xmlns: "http://www.w3.org/2000/svg",
17416
- width: "20",
17417
- height: "20",
17418
- viewBox: "0 0 20 20",
17419
- fill: "none",
17420
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
17421
- "path",
17422
- {
17423
- d: "M15.7438 15.0298L16.4938 15.0364L15.7438 15.0298ZM3.33337 4.24999C2.91916 4.24999 2.58337 4.58578 2.58337 4.99999C2.58337 5.4142 2.91916 5.74999 3.33337 5.74999V4.24999ZM16.6667 5.74999C17.0809 5.74999 17.4167 5.4142 17.4167 4.99999C17.4167 4.58578 17.0809 4.24999 16.6667 4.24999V5.74999ZM9.08337 8.33332C9.08337 7.91911 8.74759 7.58332 8.33337 7.58332C7.91916 7.58332 7.58337 7.91911 7.58337 8.33332H9.08337ZM7.58337 15C7.58337 15.4142 7.91916 15.75 8.33337 15.75C8.74759 15.75 9.08337 15.4142 9.08337 15H7.58337ZM12.4167 8.33332C12.4167 7.91911 12.0809 7.58332 11.6667 7.58332C11.2525 7.58332 10.9167 7.91911 10.9167 8.33332H12.4167ZM10.9167 15C10.9167 15.4142 11.2525 15.75 11.6667 15.75C12.0809 15.75 12.4167 15.4142 12.4167 15H10.9167ZM15.8334 4.99999L15.0834 4.99329L14.9939 15.0231L15.7438 15.0298L16.4938 15.0364L16.5833 5.00669L15.8334 4.99999ZM12.4106 18.3333V17.5833H7.50004V18.3333V19.0833H12.4106V18.3333ZM4.16671 4.99999H3.41671V15H4.16671H4.91671V4.99999H4.16671ZM3.33337 4.99999V5.74999H4.16671V4.99999V4.24999H3.33337V4.99999ZM4.16671 4.99999V5.74999H6.66671V4.99999V4.24999H4.16671V4.99999ZM6.66671 4.99999V5.74999H13.3334V4.99999V4.24999H6.66671V4.99999ZM13.3334 4.99999V5.74999H15.8334V4.99999V4.24999H13.3334V4.99999ZM15.8334 4.99999V5.74999H16.6667V4.99999V4.24999H15.8334V4.99999ZM6.66671 4.62962H7.41671C7.41671 3.48804 8.48782 2.41666 10 2.41666V1.66666V0.916656C7.83036 0.916656 5.91671 2.4984 5.91671 4.62962H6.66671ZM10 1.66666V2.41666C11.5123 2.41666 12.5834 3.48804 12.5834 4.62962H13.3334H14.0834C14.0834 2.4984 12.1697 0.916656 10 0.916656V1.66666ZM6.66671 4.62962H5.91671V4.99999H6.66671H7.41671V4.62962H6.66671ZM13.3334 4.62962H12.5834V4.99999H13.3334H14.0834V4.62962H13.3334ZM7.50004 18.3333V17.5833C6.0733 17.5833 4.91671 16.4267 4.91671 15H4.16671H3.41671C3.41671 17.2552 5.24488 19.0833 7.50004 19.0833V18.3333ZM15.7438 15.0298L14.9939 15.0231C14.9812 16.4407 13.8284 17.5833 12.4106 17.5833V18.3333V19.0833C14.6516 19.0833 16.4738 17.2773 16.4938 15.0364L15.7438 15.0298ZM8.33337 8.33332H7.58337V15H8.33337H9.08337V8.33332H8.33337ZM11.6667 8.33332H10.9167V15H11.6667H12.4167V8.33332H11.6667Z",
17424
- fill: "#DD4338"
17425
- }
17426
- )
17427
- }
17428
- )
17429
- }
17430
- ) });
17431
- }
17432
- };
17433
- //! Render
17434
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: renderAction() });
17435
- };
17436
-
17437
- export { Alert as A, Button as B, CascaderField as C, Dropdown as D, Anchor as E, Flex as F, Appfix as G, Heading as H, AutoComplete as I, PnkxCollapse as J, PnkxColorPicker as K, Layout as L, Modal as M, Empty as N, Image as O, Popover as P, QRCode as Q, Row as R, Skeleton as S, Table as T, BulkAction as U, ConfirmModal as V, Watermark as W, ErrorBoundary as X, CategoryStatus as Y, ActionRowTable as Z, TypeActionRowTable as _, Tooltip as a, Tabs as b, SearchFiltersForm as c, Container as d, Badge as e, Col as f, Breadcrumb as g, Space as h, Splitter as i, Menu as j, Pagination as k, Steps as l, Sidebar as m, Tag as n, Divider as o, Spin as p, Drawer as q, Popconfirm as r, Result as s, typeColorMap as t, Rate as u, Segmented as v, Statistic as w, Timeline as x, Tour as y, Tree as z };
17282
+ export { Alert as A, Button as B, CascaderField as C, Dropdown as D, Anchor as E, Flex as F, Appfix as G, Heading as H, AutoComplete as I, PnkxCollapse as J, PnkxColorPicker as K, Layout as L, Modal as M, Empty as N, Image as O, Popover as P, QRCode as Q, Row as R, Skeleton as S, Table as T, BulkAction as U, ConfirmModal as V, Watermark as W, ErrorBoundary as X, CategoryStatus as Y, Tooltip as a, Tabs as b, SearchFiltersForm as c, Container as d, Badge as e, Col as f, Breadcrumb as g, Space as h, Splitter as i, Menu as j, Pagination as k, Steps as l, Sidebar as m, Tag as n, Divider as o, Spin as p, Drawer as q, Popconfirm as r, Result as s, typeColorMap as t, Rate as u, Segmented as v, Statistic as w, Timeline as x, Tour as y, Tree as z };
@@ -1,4 +1,4 @@
1
- import { g as get, j as jsxRuntimeExports, L as Label, E as ErrorMessage, T as Typography } from './Switch-H8GzjkR9.js';
1
+ import { g as get, j as jsxRuntimeExports, L as Label, E as ErrorMessage, T as Typography } from './Switch-za5Skgtp.js';
2
2
  import { Select as Select$1, Radio } from 'antd';
3
3
 
4
4
  const Select = (props) => {
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { useRef, useState, useEffect, useLayoutEffect, useMemo, forwardRef, useCallback, createElement, Component, createRef, createContext, useContext } from 'react';
3
3
  import { Typography as Typography$1, Input as Input$1, Checkbox, DatePicker, Upload, Image, Switch } from 'antd';
4
- import { i as require_baseGetTag, j as requireIsObjectLike, m as requireIsArray, f as require_MapCache, q as require_Symbol, s as getDefaultExportFromCjs, t as commonjsGlobal, T as TINY_API } from './common-4_3NhSHz.js';
4
+ import { g as require_baseGetTag, h as requireIsObjectLike, k as requireIsArray, d as require_MapCache, o as require_Symbol, p as getDefaultExportFromCjs, q as commonjsGlobal, T as TINY_API } from './common-b3FKGF0Y.js';
5
5
  import * as ReactDOM from 'react-dom';
6
6
  import ReactDOM__default, { findDOMNode } from 'react-dom';
7
7
 
@@ -1,5 +1,5 @@
1
1
  import { notification } from 'antd';
2
- import { r as require_ListCache, e as require_Map, f as require_MapCache, g as require_getNative, h as requireEq, i as require_baseGetTag, j as requireIsObjectLike, k as require_root, l as require_freeGlobal, m as requireIsArray, n as requireIsFunction, o as requireIsObject, p as require_toSource, q as require_Symbol, s as getDefaultExportFromCjs } from './common-4_3NhSHz.js';
2
+ import { r as require_ListCache, c as require_Map, d as require_MapCache, e as require_getNative, f as requireEq, g as require_baseGetTag, h as requireIsObjectLike, i as require_root, j as require_freeGlobal, k as requireIsArray, l as requireIsFunction, m as requireIsObject, n as require_toSource, o as require_Symbol, p as getDefaultExportFromCjs } from './common-b3FKGF0Y.js';
3
3
 
4
4
  const useToast = (defaultProps) => {
5
5
  return (overrideProps) => {
@@ -1254,10 +1254,8 @@ function require_MapCache () {
1254
1254
 
1255
1255
  const TINY_API = "miai0qn3c79adm555yoxd9kz6j6a323ek760nf7qd81nv1p5";
1256
1256
  const START_PAGE = 1;
1257
- const START_PAGE_SIZE = 10;
1258
1257
  const PAGE_INDEX = "PageIndex";
1259
- const PAGE_SIZE = "PageSize";
1260
1258
  const SORT_BY = "SortBy";
1261
1259
  const SORT_DESC = "SortDesc";
1262
1260
 
1263
- export { PAGE_INDEX as P, START_PAGE as S, TINY_API as T, START_PAGE_SIZE as a, PAGE_SIZE as b, SORT_BY as c, SORT_DESC as d, require_Map as e, require_MapCache as f, require_getNative as g, requireEq as h, require_baseGetTag as i, requireIsObjectLike as j, require_root as k, require_freeGlobal as l, requireIsArray as m, requireIsFunction as n, requireIsObject as o, require_toSource as p, require_Symbol as q, require_ListCache as r, getDefaultExportFromCjs as s, commonjsGlobal as t };
1261
+ export { PAGE_INDEX as P, START_PAGE as S, TINY_API as T, SORT_DESC as a, SORT_BY as b, require_Map as c, require_MapCache as d, require_getNative as e, requireEq as f, require_baseGetTag as g, requireIsObjectLike as h, require_root as i, require_freeGlobal as j, requireIsArray as k, requireIsFunction as l, requireIsObject as m, require_toSource as n, require_Symbol as o, getDefaultExportFromCjs as p, commonjsGlobal as q, require_ListCache as r };
@@ -1,6 +1,6 @@
1
1
  import { useState, useCallback } from 'react';
2
- import { c as cloneDeep } from './cloneDeep-xYGaHZ-t.js';
3
- import { P as PAGE_INDEX, S as START_PAGE, d as SORT_DESC, c as SORT_BY } from './common-4_3NhSHz.js';
2
+ import { c as cloneDeep } from './cloneDeep-BLYi2V0G.js';
3
+ import { P as PAGE_INDEX, S as START_PAGE, a as SORT_DESC, b as SORT_BY } from './common-b3FKGF0Y.js';
4
4
  import { message } from 'antd';
5
5
 
6
6
  const useFiltersHandler = (initialFilters) => {
@@ -1,2 +1,2 @@
1
- export { C as CheckboxField, D as DatePickerField, I as Input, P as PnkxField, R as RangePickerField, a as TinyMCE } from '../chunks/Switch-H8GzjkR9.js';
2
- export { R as RadioGroup, S as Select } from '../chunks/Radio-BE-sL0ho.js';
1
+ export { C as CheckboxField, D as DatePickerField, I as Input, P as PnkxField, R as RangePickerField, a as TinyMCE } from '../chunks/Switch-za5Skgtp.js';
2
+ export { R as RadioGroup, S as Select } from '../chunks/Radio-D2me1zZ-.js';
package/es/hooks/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { u as useToast } from '../chunks/cloneDeep-xYGaHZ-t.js';
2
- export { u as useFiltersHandler, a as useMessage } from '../chunks/useMessage-BeKD7qXq.js';
1
+ export { u as useToast } from '../chunks/cloneDeep-BLYi2V0G.js';
2
+ export { u as useFiltersHandler, a as useMessage } from '../chunks/useMessage-D_-VT5B4.js';
package/es/index.js CHANGED
@@ -1,7 +1,6 @@
1
- export { Z as ActionRowTable, A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, Y as CategoryStatus, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, _ as TypeActionRowTable, W as Watermark, t as typeColorMap } from './chunks/index-CkR8S4vI.js';
2
- export { C as CheckboxField, D as DatePickerField, E as ErrorMessage, I as Input, L as Label, P as PnkxField, R as RangePickerField, a as TinyMCE, T as Typography } from './chunks/Switch-H8GzjkR9.js';
1
+ export { A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, Y as CategoryStatus, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, W as Watermark, t as typeColorMap } from './chunks/CategoryStatus-Lc6fWvbC.js';
2
+ export { C as CheckboxField, D as DatePickerField, E as ErrorMessage, I as Input, L as Label, P as PnkxField, R as RangePickerField, a as TinyMCE, T as Typography } from './chunks/Switch-za5Skgtp.js';
3
3
  import 'react-router';
4
- export { P as PAGE_INDEX, b as PAGE_SIZE, c as SORT_BY, d as SORT_DESC, S as START_PAGE, a as START_PAGE_SIZE, T as TINY_API } from './chunks/common-4_3NhSHz.js';
5
- export { R as RadioGroup, S as Select } from './chunks/Radio-BE-sL0ho.js';
6
- export { u as useToast } from './chunks/cloneDeep-xYGaHZ-t.js';
7
- export { u as useFiltersHandler, a as useMessage } from './chunks/useMessage-BeKD7qXq.js';
4
+ export { R as RadioGroup, S as Select } from './chunks/Radio-D2me1zZ-.js';
5
+ export { u as useToast } from './chunks/cloneDeep-BLYi2V0G.js';
6
+ export { u as useFiltersHandler, a as useMessage } from './chunks/useMessage-D_-VT5B4.js';
package/es/ui/index.js CHANGED
@@ -1,4 +1,3 @@
1
- export { Z as ActionRowTable, A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, Y as CategoryStatus, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, _ as TypeActionRowTable, W as Watermark, t as typeColorMap } from '../chunks/index-CkR8S4vI.js';
2
- export { E as ErrorMessage, L as Label, T as Typography } from '../chunks/Switch-H8GzjkR9.js';
1
+ export { A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, Y as CategoryStatus, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, W as Watermark, t as typeColorMap } from '../chunks/CategoryStatus-Lc6fWvbC.js';
2
+ export { E as ErrorMessage, L as Label, T as Typography } from '../chunks/Switch-za5Skgtp.js';
3
3
  import 'react-router';
4
- export { P as PAGE_INDEX, b as PAGE_SIZE, c as SORT_BY, d as SORT_DESC, S as START_PAGE, a as START_PAGE_SIZE, T as TINY_API } from '../chunks/common-4_3NhSHz.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pnkx-lib/ui",
3
3
  "private": false,
4
- "version": "1.9.27",
4
+ "version": "1.9.29",
5
5
  "type": "module",
6
6
  "main": "./es/index.js",
7
7
  "module": "./es/index.js",
package/types/index.d.ts CHANGED
@@ -92,7 +92,6 @@ import { TitleProps } from 'antd/es/typography/Title';
92
92
  import { TooltipProps as TooltipProps_2 } from 'antd';
93
93
  import { TourProps as TourProps_2 } from 'antd';
94
94
  import { TreeProps as TreeProps_2 } from 'antd';
95
- import { TypeActionRowTable as TypeActionRowTable_2 } from '../../../../../../../../../../../../src/constants/table';
96
95
  import { UploadFile } from 'antd';
97
96
  import { UploadProps } from 'antd';
98
97
  import { UseFormReset } from 'react-hook-form';
@@ -101,16 +100,6 @@ import { UseFormSetValue } from 'react-hook-form';
101
100
  import { UseFormStateReturn } from 'react-hook-form';
102
101
  import { WatermarkProps } from 'antd';
103
102
 
104
- export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) => JSX.Element;
105
-
106
- export declare interface ActionRowTableProps {
107
- type: TypeActionRowTable_2;
108
- handleClick?: () => void;
109
- contentTooltip?: default_2.ReactNode;
110
- content?: default_2.ReactNode;
111
- diabled?: boolean;
112
- }
113
-
114
103
  export declare const Alert: React.FC<AlertProps>;
115
104
 
116
105
  export declare type AlertProps = AlertProps_2;
@@ -470,10 +459,6 @@ export declare type OptionalArgsToast = Partial<ArgsProps> & {
470
459
  message?: React.ReactNode;
471
460
  };
472
461
 
473
- export declare const PAGE_INDEX = "PageIndex";
474
-
475
- export declare const PAGE_SIZE = "PageSize";
476
-
477
462
  export declare const Pagination: typeof Pagination_2;
478
463
 
479
464
  export declare type PaginationConfig = Omit<PaginationProps, "rootClassName"> & {
@@ -642,10 +627,6 @@ export declare interface SkeletonProps extends SkeletonProps_2 {
642
627
  skeletonButtonCount?: number;
643
628
  }
644
629
 
645
- export declare const SORT_BY = "SortBy";
646
-
647
- export declare const SORT_DESC = "SortDesc";
648
-
649
630
  export declare const Space: typeof Space_2;
650
631
 
651
632
  export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
@@ -656,10 +637,6 @@ export declare const Splitter: typeof Splitter_2;
656
637
 
657
638
  export declare type SplitterPropsUnion = BaseProps_10 & SplitterProps;
658
639
 
659
- export declare const START_PAGE = 1;
660
-
661
- export declare const START_PAGE_SIZE = 10;
662
-
663
640
  export declare const Statistic: React.FC<StatisticProps>;
664
641
 
665
642
  export declare type StatisticProps = StatisticProps_2;
@@ -754,8 +731,6 @@ export declare type TimelineProps = TimelineProps_2;
754
731
 
755
732
  declare type TInputNumberType = "number" | "money";
756
733
 
757
- export declare const TINY_API = "miai0qn3c79adm555yoxd9kz6j6a323ek760nf7qd81nv1p5";
758
-
759
734
  export declare const TinyMCE: {
760
735
  (props: TinyProps): JSX.Element;
761
736
  displayName: string;
@@ -793,20 +768,6 @@ export declare type TreeProps = TreeProps_2;
793
768
 
794
769
  declare type TSize = "small" | "medium" | "large";
795
770
 
796
- export declare enum TypeActionRowTable {
797
- DELETE = "DELETE",
798
- EDIT = "EDIT",
799
- UNDO = "UNDO",
800
- CANCELUNDO = "CANCELUNDO",
801
- CHECKIN = "CHECKIN",
802
- PRINT = "PRINT",
803
- PAYMENT = "PAYMENT",
804
- PLAY = "PLAY",
805
- PAUSE = "PAUSE",
806
- DOWNLOAD = "DOWNLOAD",
807
- VIEW = "VIEW"
808
- }
809
-
810
771
  export declare const typeColorMap: Record<NonNullable<BadgeProps["type"]>, string>;
811
772
 
812
773
  export declare const Typography: {
package/types/ui.d.ts CHANGED
@@ -76,22 +76,11 @@ import { TitleProps } from 'antd/es/typography/Title';
76
76
  import { TooltipProps as TooltipProps_2 } from 'antd';
77
77
  import { TourProps as TourProps_2 } from 'antd';
78
78
  import { TreeProps as TreeProps_2 } from 'antd';
79
- import { TypeActionRowTable as TypeActionRowTable_2 } from '../../../../../../../../../../../../src/constants/table';
80
79
  import { UseFormReset } from 'react-hook-form';
81
80
  import { UseFormReturn } from 'react-hook-form';
82
81
  import { UseFormSetValue } from 'react-hook-form';
83
82
  import { WatermarkProps } from 'antd';
84
83
 
85
- export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) => JSX.Element;
86
-
87
- export declare interface ActionRowTableProps {
88
- type: TypeActionRowTable_2;
89
- handleClick?: () => void;
90
- contentTooltip?: default_2.ReactNode;
91
- content?: default_2.ReactNode;
92
- diabled?: boolean;
93
- }
94
-
95
84
  export declare const Alert: React.FC<AlertProps>;
96
85
 
97
86
  export declare type AlertProps = AlertProps_2;
@@ -389,10 +378,6 @@ declare type MultipleCascaderProps = CascaderProps<DefaultOptionType, string, tr
389
378
  multiple: true;
390
379
  };
391
380
 
392
- export declare const PAGE_INDEX = "PageIndex";
393
-
394
- export declare const PAGE_SIZE = "PageSize";
395
-
396
381
  export declare const Pagination: typeof Pagination_2;
397
382
 
398
383
  export declare type PaginationConfig = Omit<PaginationProps, "rootClassName"> & {
@@ -497,10 +482,6 @@ export declare interface SkeletonProps extends SkeletonProps_2 {
497
482
  skeletonButtonCount?: number;
498
483
  }
499
484
 
500
- export declare const SORT_BY = "SortBy";
501
-
502
- export declare const SORT_DESC = "SortDesc";
503
-
504
485
  export declare const Space: typeof Space_2;
505
486
 
506
487
  export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
@@ -511,10 +492,6 @@ export declare const Splitter: typeof Splitter_2;
511
492
 
512
493
  export declare type SplitterPropsUnion = BaseProps_10 & SplitterProps;
513
494
 
514
- export declare const START_PAGE = 1;
515
-
516
- export declare const START_PAGE_SIZE = 10;
517
-
518
495
  export declare const Statistic: React.FC<StatisticProps>;
519
496
 
520
497
  export declare type StatisticProps = StatisticProps_2;
@@ -588,8 +565,6 @@ export declare const Timeline: React.FC<TimelineProps>;
588
565
 
589
566
  export declare type TimelineProps = TimelineProps_2;
590
567
 
591
- export declare const TINY_API = "miai0qn3c79adm555yoxd9kz6j6a323ek760nf7qd81nv1p5";
592
-
593
568
  export declare const Tooltip: default_2.FC<TooltipProps>;
594
569
 
595
570
  export declare type TooltipProps = TooltipProps_2;
@@ -602,20 +577,6 @@ export declare const Tree: React.FC<TreeProps>;
602
577
 
603
578
  export declare type TreeProps = TreeProps_2;
604
579
 
605
- export declare enum TypeActionRowTable {
606
- DELETE = "DELETE",
607
- EDIT = "EDIT",
608
- UNDO = "UNDO",
609
- CANCELUNDO = "CANCELUNDO",
610
- CHECKIN = "CHECKIN",
611
- PRINT = "PRINT",
612
- PAYMENT = "PAYMENT",
613
- PLAY = "PLAY",
614
- PAUSE = "PAUSE",
615
- DOWNLOAD = "DOWNLOAD",
616
- VIEW = "VIEW"
617
- }
618
-
619
580
  export declare const typeColorMap: Record<NonNullable<BadgeProps["type"]>, string>;
620
581
 
621
582
  export declare const Typography: {