shineout 3.6.0-beta.3 → 3.6.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/shineout.js CHANGED
@@ -6679,6 +6679,7 @@ var jsx_runtime = __webpack_require__(3428);
6679
6679
  ;// CONCATENATED MODULE: ../base/src/icons/icons.tsx
6680
6680
 
6681
6681
 
6682
+
6682
6683
  function icon(paths) {
6683
6684
  return /*#__PURE__*/(0,jsx_runtime.jsx)("svg", {
6684
6685
  viewBox: "0 0 24 24",
@@ -6693,7 +6694,7 @@ function icon(paths) {
6693
6694
  })
6694
6695
  });
6695
6696
  }
6696
- var TableSortIconUp = /*#__PURE__*/(0,jsx_runtime.jsx)("svg", {
6697
+ var SortAsc = /*#__PURE__*/(0,jsx_runtime.jsx)("svg", {
6697
6698
  width: "8",
6698
6699
  height: "5",
6699
6700
  viewBox: "0 0 8 5",
@@ -6705,7 +6706,7 @@ var TableSortIconUp = /*#__PURE__*/(0,jsx_runtime.jsx)("svg", {
6705
6706
  d: "M0.656815 3.87248L3.6396 0.192827C3.84802 -0.064284 4.18544 -0.0642746 4.39384 0.192848L7.3432 3.83158C7.55194 4.08911 7.55231 4.50711 7.34403 4.76521C7.2446 4.88842 7.10983 4.9581 6.96905 4.95907L1.03691 4.99999C0.742031 5.00202 0.501653 4.70811 0.500008 4.34351C0.499211 4.16689 0.555689 3.99723 0.656815 3.87248Z"
6706
6707
  })
6707
6708
  });
6708
- var TableSortIconDown = /*#__PURE__*/(0,jsx_runtime.jsx)("svg", {
6709
+ var SortDesc = /*#__PURE__*/(0,jsx_runtime.jsx)("svg", {
6709
6710
  width: "8",
6710
6711
  height: "5",
6711
6712
  viewBox: "0 0 8 5",
@@ -6718,22 +6719,14 @@ var TableSortIconDown = /*#__PURE__*/(0,jsx_runtime.jsx)("svg", {
6718
6719
  })
6719
6720
  });
6720
6721
  var clock = ['M12 23C5.925 23 1 18.075 1 12C1 5.925 5.925 1 12 1C18.075 1 23 5.925 23 12C23 18.075 18.075 23 12 23ZM12 21C15.2154 21 18.1865 19.2846 19.7942 16.5C21.4019 13.7154 21.4019 10.2846 19.7942 7.5C18.1865 4.71539 15.2154 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21ZM13 11H18C18.5523 11 19 11.4477 19 12C19 12.5523 18.5523 13 18 13H12C11.4477 13 11 12.5523 11 12V6C11 5.44772 11.4477 5 12 5C12.5523 5 13 5.44772 13 6V11Z'];
6721
- var closeCircle = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6722
- d: "M12 23C5.924 23 1 18.076 1 12C1 5.924 5.924 1 12 1C18.076 1 23 5.924 23 12C23 18.076 18.076 23 12 23Z",
6723
- fill: "currentColor"
6724
- }, '1'), /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6725
- d: "M9.6129 8.2097C9.22061 7.90468 8.65338 7.93241 8.29289 8.29289C7.90237 8.68342 7.90237 9.31658 8.29289 9.70711L10.413 11.828L8.29289 13.9497L8.2097 14.044C7.90468 14.4362 7.93241 15.0035 8.29289 15.364C8.68342 15.7545 9.31658 15.7545 9.70711 15.364L11.828 13.242L13.9497 15.364L14.044 15.4471C14.4362 15.7522 15.0035 15.7244 15.364 15.364C15.7545 14.9734 15.7545 14.3403 15.364 13.9497L13.242 11.828L15.364 9.70711L15.4471 9.6129C15.7522 9.22061 15.7244 8.65338 15.364 8.29289C14.9734 7.90237 14.3403 7.90237 13.9497 8.29289L11.828 10.413L9.70711 8.29289L9.6129 8.2097Z",
6726
- fill: "white"
6727
- }, '2')];
6728
6722
  var recoverCircle = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6729
6723
  d: "M12 23C5.924 23 1 18.076 1 12C1 5.924 5.924 1 12 1C18.076 1 23 5.924 23 12C23 18.076 18.076 23 12 23Z",
6730
6724
  fill: "currentColor"
6731
6725
  }, '1'), /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6732
- d: "M9 9.00001H14C16.2091 9.00001 18 10.7909 18 13C18 15.2092 16.2091 17 14 17H9M10.5004 12.5711L6.96484 9.03553L10.5004 5.5",
6733
- stroke: "white",
6734
- strokeWidth: "2",
6735
- strokeLinecap: "round",
6736
- strokeLinejoin: "round"
6726
+ fillRule: "evenodd",
6727
+ clipRule: "evenodd",
6728
+ d: "M10.1967 6.28261C10.5929 6.66737 10.6022 7.30046 10.2174 7.69667L9.39504 8.54349H13.3752C15.8901 8.54349 18 10.51 18 13.0217C18 15.5335 15.8901 17.5 13.3752 17.5H8.84425C8.29196 17.5 7.84425 17.0523 7.84425 16.5C7.84425 15.9477 8.29196 15.5 8.84425 15.5H13.3752C14.8641 15.5 16 14.352 16 13.0217C16 11.6915 14.8641 10.5435 13.3752 10.5435H9.43488L10.1964 11.2823C10.5927 11.6669 10.6023 12.3 10.2177 12.6964C9.83312 13.0927 9.20003 13.1023 8.80365 12.7177L6.30365 10.2921C6.11325 10.1073 6.00406 9.85452 6.00011 9.58925C5.99616 9.32399 6.09779 9.06803 6.28261 8.87771L8.78261 6.30333C9.16737 5.90713 9.80046 5.89785 10.1967 6.28261Z",
6729
+ fill: "white"
6737
6730
  }, '2')];
6738
6731
  var arrowDown = ['M11.2929 15.7071C11.6534 16.0676 12.2206 16.0953 12.6129 15.7903L12.7071 15.7071L18.7071 9.70711C19.0976 9.31658 19.0976 8.68342 18.7071 8.29289C18.3466 7.93241 17.7794 7.90468 17.3871 8.2097L17.2929 8.29289L12.7072 12.8779C12.3165 13.2683 11.6835 13.2683 11.2928 12.8779L6.70711 8.29289C6.34662 7.93241 5.77939 7.90468 5.3871 8.2097L5.29289 8.29289C4.93241 8.65338 4.90468 9.22061 5.2097 9.6129L5.29289 9.70711L11.2929 15.7071Z'];
6739
6732
  var arrowLeft = ['M7.29289 12.7071C6.93241 12.3466 6.90468 11.7794 7.2097 11.3871L7.29289 11.2929L13.2929 5.29289C13.6834 4.90237 14.3166 4.90237 14.7071 5.29289C15.0676 5.65338 15.0953 6.22061 14.7903 6.6129L14.7071 6.70711L10.1221 11.2928C9.7317 11.6835 9.7317 12.3165 10.1221 12.7072L14.7071 17.2929C15.0676 17.6534 15.0953 18.2206 14.7903 18.6129L14.7071 18.7071C14.3466 19.0676 13.7794 19.0953 13.3871 18.7903L13.2929 18.7071L7.29289 12.7071Z'];
@@ -6751,20 +6744,59 @@ var display = ['M20.41 11.536C19.7483 10.8368 19.0313 10.1921 18.266 9.608C16.14
6751
6744
  // const info = [
6752
6745
  // 'M12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23ZM12 8C12.5523 8 13 7.55228 13 7C13 6.44772 12.5523 6 12 6C11.4477 6 11 6.44772 11 7C11 7.55228 11.4477 8 12 8ZM12 19C12.5523 19 13 18.5523 13 18V10C13 9.44772 12.5523 9 12 9C11.4477 9 11 9.44772 11 10V18C11 18.5523 11.4477 19 12 19Z',
6753
6746
  // ];
6754
-
6755
- var pcAttentionCircleFill = ['M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM12 16C12.5523 16 13 16.4477 13 17C13 17.5523 12.5523 18 12 18C11.4477 18 11 17.5523 11 17C11 16.4477 11.4477 16 12 16ZM12 5C12.5523 5 13 5.44772 13 6V14C13 14.5523 12.5523 15 12 15C11.4477 15 11 14.5523 11 14V6C11 5.44772 11.4477 5 12 5Z'];
6747
+ var pcAttentionCircleFill = /*#__PURE__*/(0,jsx_runtime.jsxs)("svg", {
6748
+ viewBox: "0 0 16 16",
6749
+ xmlns: "http://www.w3.org/2000/svg",
6750
+ focusable: "false",
6751
+ fill: "currentColor",
6752
+ "aria-hidden": "true",
6753
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("g", {
6754
+ clipPath: "url(#clip0_20849_13086)",
6755
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6756
+ fillRule: "evenodd",
6757
+ clipRule: "evenodd",
6758
+ d: "M8.00022 15.3271C12.0469 15.3271 15.3273 12.0466 15.3273 7.99997C15.3273 3.95332 12.0469 0.672852 8.00022 0.672852C3.95356 0.672852 0.673096 3.95332 0.673096 7.99997C0.673096 12.0466 3.95356 15.3271 8.00022 15.3271ZM7.62464 2.75198C7.24203 2.75198 6.93793 3.07331 6.95899 3.45533L7.2855 9.37921C7.30497 9.73261 7.59722 10.0092 7.95115 10.0092H8.04928C8.40322 10.0092 8.69546 9.73261 8.71494 9.37921L9.04145 3.45533C9.06251 3.07331 8.7584 2.75198 8.37579 2.75198H7.62464ZM8.88822 11.2566C8.64822 11.0326 8.34422 10.9206 7.99222 10.9206C7.64022 10.9206 7.35222 11.0326 7.12822 11.2566C6.87222 11.4806 6.76022 11.7686 6.76022 12.1206C6.76022 12.4726 6.87222 12.7606 7.12822 12.9846C7.35222 13.2086 7.64022 13.3366 7.99222 13.3366C8.34422 13.3366 8.63222 13.2246 8.88822 13.0006C9.11222 12.7766 9.24022 12.4726 9.24022 12.1206C9.24022 11.7686 9.11222 11.4806 8.88822 11.2566Z"
6759
+ })
6760
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("defs", {
6761
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("clipPath", {
6762
+ id: "clip0_20849_13086",
6763
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("rect", {
6764
+ width: "16",
6765
+ height: "16",
6766
+ fill: "white"
6767
+ })
6768
+ })
6769
+ })]
6770
+ });
6756
6771
  var success = ['M12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23ZM6.34315 13.8284L8.46305 15.9483C9.24511 16.7304 10.5122 16.7304 11.2943 15.9483L17.6569 9.58579C18.0472 9.19546 18.0472 8.5619 17.6569 8.17157C17.2665 7.78125 16.633 7.78125 16.2426 8.17157L10.5872 13.827C10.1962 14.218 9.56119 14.218 9.17016 13.827L7.75736 12.4142C7.36704 12.0239 6.73347 12.0239 6.34315 12.4142C5.95282 12.8045 5.95282 13.4381 6.34315 13.8284Z'];
6757
- var danger = ['M12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1ZM9.7845 8.38125C9.39221 8.07623 8.82498 8.10396 8.46449 8.46444C8.07397 8.85497 8.07397 9.48813 8.46449 9.87866L10.5846 11.9995L8.46449 14.1213L8.3813 14.2155C8.07628 14.6078 8.10401 15.175 8.46449 15.5355C8.85502 15.926 9.48818 15.926 9.87871 15.5355L11.9996 13.4136L14.1213 15.5355L14.2156 15.6187C14.6078 15.9237 15.1751 15.896 15.5356 15.5355C15.9261 15.145 15.9261 14.5118 15.5356 14.1213L13.4136 11.9995L15.5356 9.87866L15.6187 9.78445C15.9238 9.39216 15.896 8.82493 15.5356 8.46444C15.145 8.07392 14.5119 8.07392 14.1213 8.46444L11.9996 10.5845L9.87871 8.46444L9.7845 8.38125Z'];
6758
- var angleDoubleLeft = ['M11.3871 5.2097C11.7794 4.90468 12.3466 4.93241 12.7071 5.29289L12.7903 5.3871C13.0953 5.77939 13.0676 6.34662 12.7071 6.70711L8.12205 11.2928C7.7317 11.6835 7.7317 12.3165 8.12205 12.7072L12.7071 17.2929L12.7903 17.3871C13.0953 17.7794 13.0676 18.3466 12.7071 18.7071C12.3166 19.0976 11.6834 19.0976 11.2929 18.7071L5.29289 12.7071L5.2097 12.6129C4.90468 12.2206 4.93241 11.6534 5.29289 11.2929L11.2929 5.29289L11.3871 5.2097ZM17.3871 5.2097C17.7794 4.90468 18.3466 4.93241 18.7071 5.29289L18.7903 5.3871C19.0953 5.77939 19.0676 6.34662 18.7071 6.70711L14.1221 11.2928C13.7317 11.6835 13.7317 12.3165 14.1221 12.7072L18.7071 17.2929L18.7903 17.3871C19.0953 17.7794 19.0676 18.3466 18.7071 18.7071C18.3166 19.0976 17.6834 19.0976 17.2929 18.7071L11.2929 12.7071L11.2097 12.6129C10.9047 12.2206 10.9324 11.6534 11.2929 11.2929L17.2929 5.29289L17.3871 5.2097Z'];
6759
- var angleDoubleRight = ['M11.2929 5.29289C11.6834 4.90237 12.3166 4.90237 12.7071 5.29289L18.7071 11.2929L18.7903 11.3871C19.0953 11.7794 19.0676 12.3466 18.7071 12.7071L12.7071 18.7071L12.6129 18.7903C12.2206 19.0953 11.6534 19.0676 11.2929 18.7071L11.2097 18.6129C10.9047 18.2206 10.9324 17.6534 11.2929 17.2929L15.8779 12.7072C16.2683 12.3165 16.2683 11.6835 15.8779 11.2928L11.2929 6.70711L11.2097 6.6129C10.9047 6.22061 10.9324 5.65338 11.2929 5.29289ZM5.29289 5.29289C5.68342 4.90237 6.31658 4.90237 6.70711 5.29289L12.7071 11.2929L12.7903 11.3871C13.0953 11.7794 13.0676 12.3466 12.7071 12.7071L6.70711 18.7071L6.6129 18.7903C6.22061 19.0953 5.65338 19.0676 5.29289 18.7071L5.2097 18.6129C4.90468 18.2206 4.93241 17.6534 5.29289 17.2929L9.87795 12.7072C10.2683 12.3165 10.2683 11.6835 9.87795 11.2928L5.29289 6.70711L5.2097 6.6129C4.90468 6.22061 4.93241 5.65338 5.29289 5.29289Z'];
6760
6772
  var calendar1 = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6761
6773
  fillRule: "evenodd",
6762
6774
  clipRule: "evenodd",
6763
6775
  d: "M17 1C17.5523 1 18 1.44772 18 2V3H21C22.1046 3 23 3.89543 23 5V20C23 21.1046 22.1046 22 21 22H3C1.89543 22 1 21.1046 1 20V5C1 3.89543 1.89543 3 3 3H6V2C6 1.44772 6.44772 1 7 1C7.55228 1 8 1.44772 8 2V3H16V2C16 1.44772 16.4477 1 17 1ZM21 10H3V20H21V10ZM7 16C7.82843 16 8.5 16.6716 8.5 17.5C8.5 18.3284 7.82843 19 7 19C6.17157 19 5.5 18.3284 5.5 17.5C5.5 16.6716 6.17157 16 7 16ZM12 16C12.8284 16 13.5 16.6716 13.5 17.5C13.5 18.3284 12.8284 19 12 19C11.1716 19 10.5 18.3284 10.5 17.5C10.5 16.6716 11.1716 16 12 16ZM17 16C17.8284 16 18.5 16.6716 18.5 17.5C18.5 18.3284 17.8284 19 17 19C16.1716 19 15.5 18.3284 15.5 17.5C15.5 16.6716 16.1716 16 17 16ZM7 11C7.82843 11 8.5 11.6716 8.5 12.5C8.5 13.3284 7.82843 14 7 14C6.17157 14 5.5 13.3284 5.5 12.5C5.5 11.6716 6.17157 11 7 11ZM12 11C12.8284 11 13.5 11.6716 13.5 12.5C13.5 13.3284 12.8284 14 12 14C11.1716 14 10.5 13.3284 10.5 12.5C10.5 11.6716 11.1716 11 12 11ZM17 11C17.8284 11 18.5 11.6716 18.5 12.5C18.5 13.3284 17.8284 14 17 14C16.1716 14 15.5 13.3284 15.5 12.5C15.5 11.6716 16.1716 11 17 11ZM6 5H3V8H21V5H18C18 5.55228 17.5523 6 17 6C16.4477 6 16 5.55228 16 5H8C8 5.55228 7.55228 6 7 6C6.44772 6 6 5.55228 6 5Z"
6764
6776
  }, 'calendar')];
6765
- var icons_close = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6766
- d: "M4.6129 3.2097L4.70711 3.29289L12 10.585L19.2929 3.29289C19.6834 2.90237 20.3166 2.90237 20.7071 3.29289C21.0676 3.65338 21.0953 4.22061 20.7903 4.6129L20.7071 4.70711L13.415 12L20.7071 19.2929C21.0976 19.6834 21.0976 20.3166 20.7071 20.7071C20.3466 21.0676 19.7794 21.0953 19.3871 20.7903L19.2929 20.7071L12 13.415L4.70711 20.7071C4.31658 21.0976 3.68342 21.0976 3.29289 20.7071C2.93241 20.3466 2.90468 19.7794 3.2097 19.3871L3.29289 19.2929L10.585 12L3.29289 4.70711C2.90237 4.31658 2.90237 3.68342 3.29289 3.29289C3.65338 2.93241 4.22061 2.90468 4.6129 3.2097Z"
6767
- }, 'close')];
6777
+ var icons_close = /*#__PURE__*/(0,jsx_runtime.jsx)("svg", {
6778
+ viewBox: "0 0 16 16",
6779
+ focusable: "false",
6780
+ fill: "currentColor",
6781
+ "aria-hidden": "true",
6782
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6783
+ d: "M3.73895 2.81241L3.80175 2.86787L8 7.05665L12.2379 2.81922C12.4983 2.55888 12.9204 2.55888 13.1808 2.81922C13.4211 3.05955 13.4396 3.4377 13.2362 3.69923L13.1808 3.76203L8.94334 7.99998L13.1376 12.1948C13.398 12.4552 13.398 12.8773 13.1376 13.1376C12.8973 13.3779 12.5192 13.3964 12.2576 13.1931L12.1948 13.1376L8 8.94332L3.78745 13.1553C3.5271 13.4156 3.10499 13.4156 2.84464 13.1553C2.60432 12.9149 2.58583 12.5368 2.78918 12.2753L2.84464 12.2124L7.05667 7.99998L2.85894 3.81068C2.59859 3.55033 2.59859 3.12822 2.85894 2.86787C3.09927 2.62755 3.47742 2.60906 3.73895 2.81241Z",
6784
+ fill: "currentColor"
6785
+ })
6786
+ });
6787
+ var closeFill = /*#__PURE__*/(0,jsx_runtime.jsxs)("svg", {
6788
+ viewBox: "0 0 24 24",
6789
+ focusable: "false",
6790
+ fill: "currentColor",
6791
+ "aria-hidden": "true",
6792
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6793
+ d: "M12 23C5.924 23 1 18.076 1 12C1 5.924 5.924 1 12 1C18.076 1 23 5.924 23 12C23 18.076 18.076 23 12 23Z",
6794
+ fill: "currentColor"
6795
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6796
+ d: "M9.6129 8.2097C9.22061 7.90468 8.65338 7.93241 8.29289 8.29289C7.90237 8.68342 7.90237 9.31658 8.29289 9.70711L10.413 11.828L8.29289 13.9497L8.2097 14.044C7.90468 14.4362 7.93241 15.0035 8.29289 15.364C8.68342 15.7545 9.31658 15.7545 9.70711 15.364L11.828 13.242L13.9497 15.364L14.044 15.4471C14.4362 15.7522 15.0035 15.7244 15.364 15.364C15.7545 14.9734 15.7545 14.3403 15.364 13.9497L13.242 11.828L15.364 9.70711L15.4471 9.6129C15.7522 9.22061 15.7244 8.65338 15.364 8.29289C14.9734 7.90237 14.3403 7.90237 13.9497 8.29289L11.828 10.413L9.70711 8.29289L9.6129 8.2097Z",
6797
+ fill: "white"
6798
+ })]
6799
+ });
6768
6800
  var file = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6769
6801
  d: "M16 2L22 7.5V20C22 21.1046 21.1046 22 20 22H4C2.89543 22 2 21.1046 2 20V4C2 2.89543 2.89543 2 4 2H16ZM15.2 4H5C4.48716 4 4.06449 4.38604 4.00673 4.88338L4 5V19C4 19.5128 4.38604 19.9355 4.88338 19.9933L5 20H19C19.5128 20 19.9355 19.614 19.9933 19.1166L20 19V8.4L15.2 4ZM13.1111 15C13.602 15 14 15.4477 14 16C14 16.5128 13.6569 16.9355 13.2148 16.9933L13.1111 17H6.88889C6.39797 17 6 16.5523 6 16C6 15.4872 6.34315 15.0645 6.78523 15.0067L6.88889 15H13.1111ZM17.0769 10C17.5867 10 18 10.4477 18 11C18 11.5128 17.6437 11.9355 17.1846 11.9933L17.0769 12H6.92308C6.41328 12 6 11.5523 6 11C6 10.4872 6.35635 10.0645 6.81543 10.0067L6.92308 10H17.0769Z"
6770
6802
  }, 'file')];
@@ -6775,16 +6807,21 @@ var del = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6775
6807
  }, 'del')];
6776
6808
  var ireturn = ['M7.20702 9.79292C7.5675 10.1534 7.59522 10.7206 7.29019 11.1129L7.207 11.2071C6.84651 11.5676 6.27928 11.5953 5.88699 11.2903L5.79278 11.2071L2.29288 7.70711C2.25484 7.66908 2.22054 7.62879 2.18995 7.5867C2.17548 7.56659 2.16126 7.54536 2.14785 7.52359C2.14086 7.51251 2.13445 7.50164 2.12827 7.49068C2.1164 7.46937 2.10484 7.44697 2.09412 7.4241C2.08688 7.40894 2.08035 7.39401 2.0742 7.37896C2.0665 7.35996 2.0592 7.34043 2.0525 7.32062C2.0466 7.30329 2.04118 7.28562 2.03626 7.26784C2.03061 7.24742 2.02557 7.2267 2.02118 7.20575C2.01805 7.19068 2.01528 7.17566 2.01284 7.1606C2.00957 7.14048 2.00687 7.11973 2.00482 7.09878C2.00225 7.07259 2.00072 7.04657 2.0002 7.02054C2.00007 7.01361 2 7.00682 2 7.00002L2.00004 6.99059C2.00028 6.96616 2.0014 6.94175 2.00341 6.91741L2 7.00002C2 6.95394 2.00312 6.90858 2.00915 6.86416C2.01177 6.84557 2.01486 6.82687 2.01847 6.80826C2.02191 6.79005 2.02591 6.77214 2.03038 6.75442C2.03547 6.73462 2.04111 6.71483 2.04736 6.69519C2.0528 6.67801 2.05875 6.66102 2.06514 6.64425C2.07174 6.62683 2.07876 6.60977 2.08627 6.59288C2.09441 6.57484 2.10293 6.5572 2.11193 6.53985C2.11958 6.52474 2.12804 6.50938 2.13693 6.49422C2.1487 6.47459 2.16074 6.45561 2.17339 6.43707C2.18153 6.42473 2.19041 6.41232 2.19961 6.40008C2.21368 6.38171 2.22796 6.364 2.24281 6.34679C2.24857 6.3399 2.25464 6.33309 2.26081 6.32634L2.27239 6.31402C2.29136 6.29391 2.31115 6.27458 2.33172 6.2561L2.3492 6.24077L5.8491 3.24077C6.26842 2.88134 6.89972 2.9299 7.25915 3.34922C7.59093 3.73628 7.57508 4.30397 7.24087 4.67171L7.1507 4.75927L5.703 6L14.4969 6.00002C18.4758 6.00002 21.8394 9.2348 21.9944 13.2111C22.1552 17.3326 18.8314 20.8644 14.7341 20.9962L14.4969 21H5.9992C5.44692 21 4.9992 20.5523 4.9992 20C4.9992 19.4872 5.38524 19.0645 5.88258 19.0067L5.9992 19H14.4969C17.5678 19 20.1155 16.3548 19.996 13.289C19.8856 10.4588 17.5241 8.11965 14.7139 8.00446L14.4969 8.00002L5.415 8L7.20702 9.79292Z'];
6777
6809
  var add = ['M12.0317 4C12.5445 4.00067 12.9667 4.38727 13.0238 4.88468L13.0303 5.00131L13.022 11H19C19.5523 11 20 11.4477 20 12C20 12.5128 19.614 12.9355 19.1166 12.9933L19 13H13.02L13.012 19.0013C13.0113 19.5536 12.563 20.0007 12.0107 20C11.4979 19.9993 11.0757 19.6127 11.0186 19.1153L11.012 18.9987L11.02 13H5C4.44772 13 4 12.5523 4 12C4 11.4872 4.38604 11.0645 4.88338 11.0067L5 11H11.022L11.0304 4.99869C11.0311 4.44641 11.4794 3.99928 12.0317 4Z'];
6810
+ var minus = [/*#__PURE__*/(0,jsx_runtime.jsx)("g", {
6811
+ stroke: "none",
6812
+ strokeWidth: "1",
6813
+ fillRule: "evenodd",
6814
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6815
+ d: "M19.25,11 C19.8022847,11 20.25,11.4477153 20.25,12 C20.25,12.5128358 19.8639598,12.9355072 19.3666211,12.9932723 L19.25,13 L5.25,13 C4.69771525,13 4.25,12.5522847 4.25,12 C4.25,11.4871642 4.63604019,11.0644928 5.13337887,11.0067277 L5.25,11 L19.25,11 Z"
6816
+ })
6817
+ }, "minus")];
6778
6818
  var more = ['M5 10C6.10457 10 7 10.8954 7 12C7 13.1046 6.10457 14 5 14C3.89543 14 3 13.1046 3 12C3 10.8954 3.89543 10 5 10ZM12 10C13.1046 10 14 10.8954 14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10ZM19 10C20.1046 10 21 10.8954 21 12C21 13.1046 20.1046 14 19 14C17.8954 14 17 13.1046 17 12C17 10.8954 17.8954 10 19 10Z'];
6779
6819
  var warningSimple = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6780
- fillRule: "evenodd",
6781
- clipRule: "evenodd",
6782
- d: "M12 3C11.4477 3 11 3.44772 11 4V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V4C13 3.44772 12.5523 3 12 3ZM12 19C11.4477 19 11 19.4477 11 20C11 20.5523 11.4477 21 12 21C12.5523 21 13 20.5523 13 20C13 19.4477 12.5523 19 12 19Z"
6820
+ d: "M10.4312 4.48155C10.4031 3.91069 10.8584 3.4325 11.43 3.4325H12.5693C13.1409 3.4325 13.5962 3.91069 13.5681 4.48155L13.0664 14.6976C13.0402 15.2301 12.6008 15.6485 12.0676 15.6485H11.9317C11.3985 15.6485 10.9591 15.2301 10.9329 14.6976L10.4312 4.48155ZM11.9876 16.9445C12.5156 16.9445 12.9716 17.1125 13.3316 17.4485C13.6676 17.7845 13.8596 18.2165 13.8596 18.7445C13.8596 19.2725 13.6676 19.7285 13.3316 20.0645C12.9476 20.4005 12.5156 20.5685 11.9876 20.5685C11.4596 20.5685 11.0276 20.3765 10.6916 20.0405C10.3076 19.7045 10.1396 19.2725 10.1396 18.7445C10.1396 18.2165 10.3076 17.7845 10.6916 17.4485C11.0276 17.1125 11.4596 16.9445 11.9876 16.9445Z",
6821
+ fill: "currentColor"
6783
6822
  }, 'warning')];
6784
6823
  var tip = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6785
- fillRule: "evenodd",
6786
- clipRule: "evenodd",
6787
- d: "M12 3.00049C11.4477 3.00049 11 3.4482 11 4.00049C11 4.55277 11.4477 5.00049 12 5.00049C12.5523 5.00049 13 4.55277 13 4.00049C13 3.4482 12.5523 3.00049 12 3.00049ZM12 7.00049C11.4477 7.00049 11 7.4482 11 8.00049V20.0005C11 20.5528 11.4477 21.0005 12 21.0005C12.5523 21.0005 13 20.5528 13 20.0005V8.00049C13 7.4482 12.5523 7.00049 12 7.00049Z"
6824
+ d: "M12.002 6.5C12.8304 6.5 13.502 5.82843 13.502 5C13.502 4.17157 12.8304 3.5 12.002 3.5C11.1736 3.5 10.502 4.17157 10.502 5C10.502 5.82843 11.1736 6.5 12.002 6.5ZM9.00195 9.5C9.00195 10.0523 9.44967 10.5 10.002 10.5H11.002V18.5H10.002C9.44967 18.5 9.00195 18.9477 9.00195 19.5C9.00195 20.0523 9.44967 20.5 10.002 20.5H14.002C14.5542 20.5 15.002 20.0523 15.002 19.5C15.002 18.9477 14.5542 18.5 14.002 18.5H13.002V9.5C13.002 8.94772 12.5542 8.5 12.002 8.5H10.002C9.44967 8.5 9.00195 8.94772 9.00195 9.5Z"
6788
6825
  }, 'tip')];
6789
6826
  var check = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6790
6827
  fillRule: "evenodd",
@@ -6794,32 +6831,51 @@ var check = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6794
6831
  var pcStarFill = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6795
6832
  d: "M8.27612 7.825L1.85661 8.7559L1.7429 8.77878C1.00773 8.96968 0.736981 9.90915 1.30105 10.4606L5.95312 15.008L4.84243 21.3268L4.82923 21.4327C4.773 22.2003 5.59427 22.7575 6.29775 22.3824L11.9991 19.343L17.7025 22.3825L17.799 22.4279C18.5106 22.7194 19.2949 22.1128 19.1579 21.3281L18.0541 15.008L22.6998 10.46L22.7781 10.3745C23.2587 9.78723 22.9243 8.86973 22.1444 8.75601L15.7581 7.825L12.8952 2.05544C12.5266 1.31273 11.4662 1.31545 11.1014 2.06004L8.27612 7.825Z"
6796
6833
  }, 'star')];
6797
- var odecShrink = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6834
+ var ShineoutShrink = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6798
6835
  fillRule: "evenodd",
6799
6836
  clipRule: "evenodd",
6800
- d: "M19.5 2C20.8807 2 22 3.11929 22 4.5V19.5C22 20.8807 20.8807 22 19.5 22H4.5C3.11929 22 2 20.8807 2 19.5V4.5C2 3.11929 3.11929 2 4.5 2H19.5ZM19.5 4H4.5C4.22386 4 4 4.22386 4 4.5V19.5C4 19.7761 4.22386 20 4.5 20H19.5C19.7761 20 20 19.7761 20 19.5V4.5C20 4.22386 19.7761 4 19.5 4ZM12 7C12.5128 7 12.9355 7.38604 12.9933 7.88338L13 8V11H16C16.5523 11 17 11.4477 17 12C17 12.5128 16.614 12.9355 16.1166 12.9933L16 13H13V16C13 16.5523 12.5523 17 12 17C11.4872 17 11.0645 16.614 11.0067 16.1166L11 16V13H8C7.44772 13 7 12.5523 7 12C7 11.4872 7.38604 11.0645 7.88338 11.0067L8 11H11V8C11 7.44772 11.4477 7 12 7Z"
6801
- }, 'odec-shrink')];
6837
+ d: "M19.502 2C20.8827 2 22.002 3.11929 22.002 4.5V19.5C22.002 20.8807 20.8827 22 19.502 22H4.50195C3.12124 22 2.00195 20.8807 2.00195 19.5V4.5C2.00195 3.11929 3.12124 2 4.50195 2H19.502ZM19.502 4H4.50195C4.22581 4 4.00195 4.22386 4.00195 4.5V19.5C4.00195 19.7761 4.22581 20 4.50195 20H19.502C19.7781 20 20.002 19.7761 20.002 19.5V4.5C20.002 4.22386 19.7781 4 19.502 4ZM12.002 7C12.5148 7 12.9375 7.38604 12.9952 7.88338L13.002 8V11H16.002C16.5542 11 17.002 11.4477 17.002 12C17.002 12.5128 16.6159 12.9355 16.1186 12.9933L16.002 13H13.002V16C13.002 16.5523 12.5542 17 12.002 17C11.4891 17 11.0664 16.614 11.0087 16.1166L11.002 16V13H8.00195C7.44967 13 7.00195 12.5523 7.00195 12C7.00195 11.4872 7.38799 11.0645 7.88533 11.0067L8.00195 11H11.002V8C11.002 7.44772 11.4497 7 12.002 7Z"
6838
+ }, 'shrink')];
6802
6839
  var expand = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6803
6840
  fillRule: "evenodd",
6804
6841
  clipRule: "evenodd",
6805
- d: "M22 4.5C22 3.11929 20.8807 2 19.5 2H4.5C3.11929 2 2 3.11929 2 4.5V19.5C2 20.8807 3.11929 22 4.5 22H19.5C20.8807 22 22 20.8807 22 19.5V4.5ZM4.5 4H19.5C19.7761 4 20 4.22386 20 4.5V19.5C20 19.7761 19.7761 20 19.5 20H4.5C4.22386 20 4 19.7761 4 19.5V4.5C4 4.22386 4.22386 4 4.5 4ZM8 11C7.44772 11 7 11.4477 7 12C7 12.5523 7.44772 13 8 13H16C16.5523 13 17 12.5523 17 12C17 11.4477 16.5523 11 16 11H8Z"
6842
+ d: "M19.5 2C20.8807 2 22 3.11929 22 4.5V19.5C22 20.8807 20.8807 22 19.5 22H4.5C3.11929 22 2 20.8807 2 19.5V4.5C2 3.11929 3.11929 2 4.5 2H19.5ZM19.5 4H4.5C4.22386 4 4 4.22386 4 4.5V19.5C4 19.7761 4.22386 20 4.5 20H19.5C19.7761 20 20 19.7761 20 19.5V4.5C20 4.22386 19.7761 4 19.5 4ZM16 11C16.5523 11 17 11.4477 17 12C17 12.5128 16.614 12.9355 16.1166 12.9933L16 13C10.701 13 12.6557 13 8 13C7.44772 13 7 12.5523 7 12C7 11.4872 7.38604 11.0645 7.88338 11.0067L8 11C12.5606 11 10.8111 11 16 11Z"
6806
6843
  }, 0)];
6807
- var treeArrow = ['M18.2209 9.72141L12.6344 15.2952C12.2441 15.6847 11.6121 15.6846 11.2218 15.2952L5.6979 9.78337C5.30695 9.39327 5.30625 8.76011 5.69635 8.36915C5.88258 8.18251 6.13499 8.07697 6.39865 8.0755L17.5091 8.01351C18.0613 8.01043 18.5116 8.45564 18.5146 9.00792C18.5161 9.27546 18.4103 9.53244 18.2209 9.72141Z'];
6808
- var treePlus = ['M19.5 2C20.8807 2 22 3.11929 22 4.5V19.5C22 20.8807 20.8807 22 19.5 22H4.5C3.11929 22 2 20.8807 2 19.5V4.5C2 3.11929 3.11929 2 4.5 2H19.5ZM19.5 4H4.5C4.22386 4 4 4.22386 4 4.5V19.5C4 19.7761 4.22386 20 4.5 20H19.5C19.7761 20 20 19.7761 20 19.5V4.5C20 4.22386 19.7761 4 19.5 4ZM12 7C12.5128 7 12.9355 7.38604 12.9933 7.88338L13 8V11H16C16.5523 11 17 11.4477 17 12C17 12.5128 16.614 12.9355 16.1166 12.9933L16 13H13V16C13 16.5523 12.5523 17 12 17C11.4872 17 11.0645 16.614 11.0067 16.1166L11 16V13H8C7.44772 13 7 12.5523 7 12C7 11.4872 7.38604 11.0645 7.88338 11.0067L8 11H11V8C11 7.44772 11.4477 7 12 7Z'];
6809
- var treeMinus = ['M22 4.5C22 3.11929 20.8807 2 19.5 2H4.5C3.11929 2 2 3.11929 2 4.5V19.5C2 20.8807 3.11929 22 4.5 22H19.5C20.8807 22 22 20.8807 22 19.5V4.5ZM4.5 4H19.5C19.7761 4 20 4.22386 20 4.5V19.5C20 19.7761 19.7761 20 19.5 20H4.5C4.22386 20 4 19.7761 4 19.5V4.5C4 4.22386 4.22386 4 4.5 4ZM8 11C7.44772 11 7 11.4477 7 12C7 12.5523 7.44772 13 8 13H16C16.5523 13 17 12.5523 17 12C17 11.4477 16.5523 11 16 11H8Z'];
6810
6844
  var pcHelpCircleFill = ['M11 0C13.9562 0 16.7292 1.17289 18.7782 3.22183C20.8271 5.27079 22 8.04381 22 11C22 13.9562 20.8271 16.7292 18.7782 18.7782C16.7292 20.8271 13.9562 22 11 22C8.04381 22 5.27079 20.8271 3.22182 18.7782C1.17289 16.7292 0 13.9562 0 11C0 8.04381 1.17289 5.27079 3.22183 3.22182C5.27079 1.17289 8.04381 0 11 0ZM11 15.3125C10.3097 15.3125 9.75 15.8721 9.75 16.5625C9.75 17.2528 10.3097 17.8125 11 17.8125C11.6903 17.8125 12.25 17.2528 12.25 16.5625C12.25 15.8721 11.6903 15.3125 11 15.3125ZM11 4.31245C8.79086 4.31245 7 6.10332 7 8.31245C7 8.86474 7.44772 9.31245 8 9.31245C8.55229 9.31245 9 8.86474 9 8.31245C9 7.20789 9.89543 6.31245 11 6.31245C12.1046 6.31245 13 7.20789 13 8.31245C13 9.41702 12.1046 10.3125 11 10.3125L10.8834 10.3192C10.386 10.3769 10 10.7996 10 11.3125V13.3125L10.0067 13.4291C10.0645 13.9264 10.4872 14.3125 11 14.3125L11.1166 14.3057C11.614 14.248 12 13.8253 12 13.3125V12.185L12.1553 12.1431C13.8012 11.6474 15 10.1199 15 8.31245C15 6.10332 13.2091 4.31245 11 4.31245Z'];
6811
6845
  var pcHelpCircleOutline = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6812
6846
  fillRule: "evenodd",
6813
6847
  clipRule: "evenodd",
6814
6848
  d: "M12.002 1C18.0771 1 23.002 5.92487 23.002 12C23.002 18.0751 18.0771 23 12.002 23C5.92682 23 1.00195 18.0751 1.00195 12C1.00195 5.92487 5.92682 1 12.002 1ZM12.002 3C7.03139 3 3.00195 7.02944 3.00195 12C3.00195 16.9706 7.03139 21 12.002 21C16.9725 21 21.002 16.9706 21.002 12C21.002 7.02944 16.9725 3 12.002 3ZM12.002 16.0263C12.7225 16.0263 13.3066 16.6105 13.3066 17.331C13.3066 18.0516 12.7225 18.6357 12.002 18.6357C11.2814 18.6357 10.6973 18.0516 10.6973 17.331C10.6973 16.6105 11.2814 16.0263 12.002 16.0263ZM12.002 5.36428C14.0358 5.36428 15.6895 7.02546 15.6895 9.06758C15.6895 9.99304 15.2656 10.622 14.1552 11.7338C14.1184 11.7707 14.1184 11.7707 14.0815 11.8076C13.2372 12.65 12.9395 13.0376 12.9395 13.3995V14.5621C12.9395 15.0797 12.5195 15.5003 12.002 15.5003C11.4844 15.5003 11.0644 15.0803 11.0644 14.5628V13.4002C11.0644 12.3785 11.5209 11.715 12.7559 10.4811C12.783 10.454 12.783 10.454 12.81 10.4269L12.8599 10.3769L12.9277 10.3087C12.9406 10.2956 12.9562 10.2798 12.9769 10.2589C13.5549 9.67191 13.8144 9.31374 13.8144 9.06758C13.8144 8.05926 13.0006 7.23928 12.002 7.23928C10.9828 7.23928 10.1895 8.02064 10.1895 9.02083C10.1895 9.53842 9.76954 9.95831 9.25195 9.95831C8.73437 9.95831 8.31444 9.53839 8.31444 9.02083C8.31444 7.00396 9.96896 5.36428 12.002 5.36428Z"
6815
6849
  }, 0)];
6816
- var pcInfoCircleFill = ['M12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23ZM12 8C12.5523 8 13 7.55228 13 7C13 6.44772 12.5523 6 12 6C11.4477 6 11 6.44772 11 7C11 7.55228 11.4477 8 12 8ZM12 19C12.5523 19 13 18.5523 13 18V10C13 9.44772 12.5523 9 12 9C11.4477 9 11 9.44772 11 10V18C11 18.5523 11.4477 19 12 19Z'];
6850
+ var pcInfoCircleFill = /*#__PURE__*/(0,jsx_runtime.jsxs)("svg", {
6851
+ viewBox: "0 0 16 16",
6852
+ focusable: "false",
6853
+ fill: "currentColor",
6854
+ "aria-hidden": "true",
6855
+ children: [/*#__PURE__*/(0,jsx_runtime.jsx)("g", {
6856
+ clipPath: "url(#clip0_20849_13152)",
6857
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6858
+ fillRule: "evenodd",
6859
+ clipRule: "evenodd",
6860
+ d: "M8.00008 15.3333C12.0502 15.3333 15.3334 12.0501 15.3334 7.99999C15.3334 3.9499 12.0502 0.666656 8.00008 0.666656C3.94999 0.666656 0.666748 3.9499 0.666748 7.99999C0.666748 12.0501 3.94999 15.3333 8.00008 15.3333ZM7.62492 13.3366C7.24231 13.3366 6.9382 13.0153 6.95926 12.6332L7.28577 6.70934C7.30525 6.35594 7.59749 6.07937 7.95143 6.07937H8.04956C8.40349 6.07937 8.69574 6.35594 8.71521 6.70934L9.04173 12.6332C9.06278 13.0153 8.75868 13.3366 8.37607 13.3366H7.62492ZM8.8885 4.83196C8.6485 5.05596 8.3445 5.16796 7.9925 5.16796C7.6405 5.16796 7.3525 5.05596 7.1285 4.83196C6.8725 4.60796 6.7605 4.31996 6.7605 3.96796C6.7605 3.61596 6.8725 3.32796 7.1285 3.10396C7.3525 2.87996 7.6405 2.75196 7.9925 2.75196C8.3445 2.75196 8.6325 2.86396 8.8885 3.08796C9.1125 3.31196 9.2405 3.61596 9.2405 3.96796C9.2405 4.31996 9.1125 4.60796 8.8885 4.83196Z"
6861
+ })
6862
+ }), /*#__PURE__*/(0,jsx_runtime.jsx)("defs", {
6863
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("clipPath", {
6864
+ id: "clip0_20849_13152",
6865
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("rect", {
6866
+ width: "16",
6867
+ height: "16",
6868
+ fill: "white"
6869
+ })
6870
+ })
6871
+ })]
6872
+ });
6817
6873
  var search = ['M11 2C15.9706 2 20 6.02944 20 11C20 13.1248 19.2637 15.0776 18.0323 16.6172L21.1213 19.7071C21.5118 20.0976 21.5118 20.7308 21.1213 21.1213C20.7308 21.5118 20.0976 21.5118 19.7071 21.1213L16.6172 18.0323C15.0776 19.2637 13.1248 20 11 20C6.02944 20 2 15.9706 2 11C2 6.02944 6.02944 2 11 2ZM11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18C14.866 18 18 14.866 18 11C18 7.13401 14.866 4 11 4Z'];
6818
6874
  var icons_link = ['M8.83231 20.7322C7.27024 22.2943 4.73759 22.2943 3.17546 20.7322C1.66545 19.2222 1.61512 16.8053 3.02446 15.2347L3.17546 15.0754L12.6109 3.70711C14.7588 1.55923 18.2412 1.55923 20.3891 3.70711C22.4773 5.79532 22.5353 9.14496 20.5631 11.3032L20.3891 11.4853L12.3679 21.4393C11.9773 21.8299 11.3442 21.8299 10.9536 21.4394C10.5932 21.0789 10.5654 20.5116 10.8705 20.1193L10.9536 20.0251L18.9749 10.0711C20.3417 8.70423 20.3417 6.48814 18.9749 5.12132C17.6569 3.8033 15.5492 3.75623 14.1747 4.9801L14.0251 5.12132L4.58968 16.4896C3.80864 17.2706 3.80864 18.537 4.58966 19.318C5.32963 20.058 6.5051 20.0969 7.29088 19.4348L7.41809 19.318L16.8535 7.94978C17.0488 7.7545 17.0488 7.43787 16.8536 7.24262C16.68 7.06904 16.4106 7.04975 16.2157 7.18476L16.1464 7.24261L8.12521 17.1967C7.73468 17.5873 7.10152 17.5873 6.71099 17.1967C6.35051 16.8362 6.32277 16.269 6.6278 15.8767L6.71099 15.7825L14.7322 5.8284C15.7085 4.85208 17.2915 4.85208 18.2678 5.82843C19.2016 6.7623 19.2422 8.25112 18.3896 9.23328L18.2678 9.36397L8.83231 20.7322Z'];
6819
6875
  var Icons = {
6820
- TableSortIconUp: TableSortIconUp,
6821
- TableSortIconDown: TableSortIconDown,
6822
- OdecShrink: icon(odecShrink),
6876
+ SortAsc: SortAsc,
6877
+ SortDesc: SortDesc,
6878
+ Shrink: icon(ShineoutShrink),
6823
6879
  Expand: icon(expand),
6824
6880
  Search: icon(search),
6825
6881
  ArrowLeft: icon(arrowLeft),
@@ -6828,37 +6884,32 @@ var Icons = {
6828
6884
  ArrowRightDouble: icon(arrowRightDouble),
6829
6885
  Delete: icon(del),
6830
6886
  Add: icon(add),
6887
+ Minus: icon(minus),
6831
6888
  More: icon(more),
6832
- Calendar1: icon(calendar1),
6889
+ Calendar: icon(calendar1),
6833
6890
  Display: icon(display),
6834
6891
  Hide: icon(hide),
6835
- AngleDoubleLeft: icon(angleDoubleLeft),
6836
- AngleDoubleRight: icon(angleDoubleRight),
6837
6892
  ArrowDown: icon(arrowDown),
6838
- PcArrowFillDown: icon(caretFill),
6839
- PcHelpCircleFill: icon(pcHelpCircleFill),
6840
- PcHelpCircleOutline: icon(pcHelpCircleOutline),
6841
- PcInfoCircleFill: icon(pcInfoCircleFill),
6842
- PcCloseCircleFill: icon(danger),
6843
- PcWarningCircleFill: icon(pcAttentionCircleFill),
6844
- PcCheckCircleFill: icon(success),
6893
+ ArrowDownFill: icon(caretFill),
6894
+ HelpCircleFill: icon(pcHelpCircleFill),
6895
+ HelpCircleOutline: icon(pcHelpCircleOutline),
6896
+ InfoCircleFill: pcInfoCircleFill,
6897
+ WarningCircleFill: pcAttentionCircleFill,
6898
+ CheckCircleFill: icon(success),
6845
6899
  Info: icon(tip),
6846
6900
  Warning: icon(warningSimple),
6847
6901
  Check: icon(check),
6848
- Close: icon(icons_close),
6849
- CloseOpaqueMultic1: icon(closeCircle),
6850
- Pics2: icon(imageCount),
6851
- LoadingError2: icon(imageError),
6902
+ Close: icons_close,
6903
+ CloseFill: closeFill,
6904
+ ImageCount: icon(imageCount),
6905
+ ImageError: icon(imageError),
6852
6906
  Download: icon(imageDownload),
6853
6907
  Preview: icon(imagePreview),
6854
6908
  Time: icon(clock),
6855
6909
  File: icon(file),
6856
6910
  Return: icon(ireturn),
6857
- UndeleteOpaque: icon(recoverCircle),
6858
- PcStarFill: icon(pcStarFill),
6859
- TreeArrow: icon(treeArrow),
6860
- TreePlus: icon(treePlus),
6861
- TreeMinus: icon(treeMinus),
6911
+ RecoverCircle: icon(recoverCircle),
6912
+ StarFill: icon(pcStarFill),
6862
6913
  Link: icon(icons_link)
6863
6914
  };
6864
6915
  /* harmony default export */ var icons = (Icons);
@@ -6869,16 +6920,16 @@ var Icons = {
6869
6920
  var config = {
6870
6921
  alert: {
6871
6922
  Close: icons.Close,
6872
- Info: icons.PcInfoCircleFill,
6873
- Success: icons.PcCheckCircleFill,
6874
- Warning: icons.PcWarningCircleFill,
6875
- Danger: icons.PcWarningCircleFill,
6876
- ConfirmWarning: icons.PcWarningCircleFill,
6877
- Error: icons.PcWarningCircleFill,
6878
- Confirm: icons.PcHelpCircleFill
6923
+ Info: icons.InfoCircleFill,
6924
+ Success: icons.CheckCircleFill,
6925
+ Warning: icons.WarningCircleFill,
6926
+ Danger: icons.WarningCircleFill,
6927
+ ConfirmWarning: icons.WarningCircleFill,
6928
+ Error: icons.WarningCircleFill,
6929
+ Confirm: icons.HelpCircleFill
6879
6930
  },
6880
6931
  form: {
6881
- Tooltip: icons.PcHelpCircleOutline
6932
+ Tooltip: icons.HelpCircleOutline
6882
6933
  },
6883
6934
  breadcrumb: {
6884
6935
  DropdownArrow: icons.ArrowDown
@@ -6893,47 +6944,47 @@ var config = {
6893
6944
  cascader: {
6894
6945
  More: icons.ArrowDown,
6895
6946
  DropdownArrow: icons.ArrowDown,
6896
- Close: icons.PcCloseCircleFill,
6947
+ Close: icons.CloseFill,
6897
6948
  CollapseArrow: icons.ArrowRight
6898
6949
  },
6899
6950
  collapse: {
6900
6951
  collapseArrow: icons.ArrowRight
6901
6952
  },
6902
6953
  datepicker: {
6903
- Close: icons.CloseOpaqueMultic1,
6954
+ Close: icons.CloseFill,
6904
6955
  Time: icons.Time,
6905
- Calendar: icons.Calendar1,
6906
- ArrowDoubleLeft: icons.AngleDoubleLeft,
6956
+ Calendar: icons.Calendar,
6957
+ ArrowDoubleLeft: icons.ArrowLeftDouble,
6907
6958
  ArrowLeft: icons.ArrowLeft,
6908
- ArrowDoubleRight: icons.AngleDoubleRight,
6959
+ ArrowDoubleRight: icons.ArrowRightDouble,
6909
6960
  ArrowRight: icons.ArrowRight
6910
6961
  },
6911
6962
  dropdown: {
6912
6963
  DropdownArrow: icons.ArrowDown
6913
6964
  },
6914
6965
  editableArea: {
6915
- Close: icons.CloseOpaqueMultic1
6966
+ Close: icons.CloseFill
6916
6967
  },
6917
6968
  image: {
6918
- Close: icons.CloseOpaqueMultic1,
6919
- Pics: icons.Pics2,
6969
+ Close: icons.CloseFill,
6970
+ Pics: icons.ImageCount,
6920
6971
  Download: icons.Download,
6921
6972
  Preview: icons.Preview,
6922
- LoadFail: icons.LoadingError2
6973
+ LoadFail: icons.ImageError
6923
6974
  },
6924
6975
  input: {
6925
6976
  ArrowRight: icons.ArrowRight,
6926
6977
  ArrowLeft: icons.ArrowLeft,
6927
6978
  Hide: icons.Hide,
6928
6979
  Show: icons.Display,
6929
- Close: icons.PcCloseCircleFill
6980
+ Close: icons.CloseFill
6930
6981
  },
6931
6982
  link: {
6932
6983
  prefixIcon: icons.Link
6933
6984
  },
6934
6985
  menu: {
6935
6986
  CollapseArrow: icons.ArrowDown,
6936
- FrontSolidArrowDown: icons.PcArrowFillDown,
6987
+ FrontSolidArrowDown: icons.ArrowDownFill,
6937
6988
  Search: icons.Search
6938
6989
  },
6939
6990
  modal: {
@@ -6951,29 +7002,29 @@ var config = {
6951
7002
  WarningCircle: icons.Warning,
6952
7003
  SuccessCircle: icons.Check,
6953
7004
  DangerCircle: icons.Close,
6954
- InfoLine: icons.PcInfoCircleFill,
6955
- WarningLine: icons.PcWarningCircleFill,
6956
- SuccessLine: icons.PcCheckCircleFill,
6957
- DangerLine: icons.PcCloseCircleFill
7005
+ InfoLine: icons.InfoCircleFill,
7006
+ WarningLine: icons.WarningCircleFill,
7007
+ SuccessLine: icons.CheckCircleFill,
7008
+ DangerLine: icons.Close
6958
7009
  },
6959
7010
  rate: {
6960
- Star: icons.PcStarFill
7011
+ Star: icons.StarFill
6961
7012
  },
6962
7013
  select: {
6963
7014
  Check: icons.Check,
6964
7015
  More: icons.More,
6965
7016
  DropdownArrow: icons.ArrowDown,
6966
- Close: icons.CloseOpaqueMultic1
7017
+ Close: icons.CloseFill
6967
7018
  },
6968
7019
  steps: {
6969
7020
  Finish: icons.Check,
6970
7021
  Error: icons.Close
6971
7022
  },
6972
7023
  table: {
6973
- SortUp: icons.TableSortIconUp,
6974
- SortDown: icons.TableSortIconDown,
7024
+ SortUp: icons.SortAsc,
7025
+ SortDown: icons.SortDesc,
6975
7026
  Expand: icons.Expand,
6976
- Collapse: icons.OdecShrink
7027
+ Collapse: icons.Shrink
6977
7028
  },
6978
7029
  tabs: {
6979
7030
  Pre: icons.ArrowLeft,
@@ -6988,23 +7039,23 @@ var config = {
6988
7039
  Remove: icons.ArrowLeft
6989
7040
  },
6990
7041
  tree: {
6991
- LineExpand: icons.TreeMinus,
6992
- LineCollapse: icons.TreePlus,
6993
- Expand: icons.TreeArrow
7042
+ LineExpand: icons.Expand,
7043
+ LineCollapse: icons.Shrink,
7044
+ Expand: icons.ArrowDownFill
6994
7045
  },
6995
7046
  treeSelect: {
6996
7047
  More: icons.More,
6997
7048
  DropdownArrow: icons.ArrowDown,
6998
- Close: icons.CloseOpaqueMultic1
7049
+ Close: icons.CloseFill
6999
7050
  },
7000
7051
  upload: {
7001
7052
  File: icons.File,
7002
- Success: icons.PcCheckCircleFill,
7003
- Warning: icons.PcWarningCircleFill,
7053
+ Success: icons.CheckCircleFill,
7054
+ Warning: icons.WarningCircleFill,
7004
7055
  Recover: icons.Return,
7005
7056
  Delete: icons.Delete,
7006
- DeleteImage: icons.CloseOpaqueMultic1,
7007
- RecoverImage: icons.UndeleteOpaque,
7057
+ DeleteImage: icons.CloseFill,
7058
+ RecoverImage: icons.RecoverCircle,
7008
7059
  PreviewImage: icons.Preview,
7009
7060
  AddImage: icons.Add
7010
7061
  }
@@ -7075,7 +7126,7 @@ var conflictWarning = function conflictWarning(component, prop1, prop2) {
7075
7126
  };
7076
7127
  var error = function error(message) {
7077
7128
  var msg = new Error("[shineout] ".concat(message));
7078
- shouldShowMessage(msg.message) && console.error(msg);
7129
+ if (shouldShowMessage(msg.message)) console.error(msg);
7079
7130
  };
7080
7131
  var devUseWarning = {
7081
7132
  error: error,
@@ -7089,7 +7140,7 @@ var devUseWarning = {
7089
7140
 
7090
7141
 
7091
7142
 
7092
- var _excluded = ["jssStyle", "type", "className", "children", "icon", "title", "iconSize", "closable", "hideClose", "bordered", "closeItem", "onClose"];
7143
+ var _excluded = ["jssStyle", "type", "className", "children", "icon", "title", "titleStyle", "iconSize", "closable", "hideClose", "bordered", "closeItem", "onClose"];
7093
7144
 
7094
7145
 
7095
7146
 
@@ -7110,6 +7161,7 @@ var Alert = function Alert(props) {
7110
7161
  children = props.children,
7111
7162
  icon = props.icon,
7112
7163
  title = props.title,
7164
+ titleStyle = props.titleStyle,
7113
7165
  iconSize = props.iconSize,
7114
7166
  closable = props.closable,
7115
7167
  hideClose = props.hideClose,
@@ -7156,7 +7208,7 @@ var Alert = function Alert(props) {
7156
7208
  }, 300);
7157
7209
  };
7158
7210
  var renderIcon = function renderIcon() {
7159
- var style = {};
7211
+ var style = titleStyle || {};
7160
7212
  if (iconSize) {
7161
7213
  style.width = iconSize;
7162
7214
  }
@@ -7176,6 +7228,7 @@ var Alert = function Alert(props) {
7176
7228
  var renderTitle = function renderTitle() {
7177
7229
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
7178
7230
  className: alertStyle.title,
7231
+ style: titleStyle,
7179
7232
  children: title
7180
7233
  });
7181
7234
  };
@@ -12040,7 +12093,7 @@ var handleStyle = function handleStyle(style) {
12040
12093
  };
12041
12094
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12042
12095
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12043
- /* harmony default export */ var version = ('3.6.0-beta.3');
12096
+ /* harmony default export */ var version = ('3.6.0-beta.4');
12044
12097
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12045
12098
 
12046
12099
 
@@ -12589,8 +12642,8 @@ var alertTokens = {
12589
12642
  alertNearlyMargin: 'Spacing-8',
12590
12643
  alertTitleFontSize: 'Font-16',
12591
12644
  alertTitleFontWeight: 'Weight-medium',
12592
- alertTitleMarginY: 'Spacing-4',
12593
- alertTitleIconWidth: 'Size-10',
12645
+ alertTitleMarginY: 'Spacing-8',
12646
+ alertTitleIconWidth: 'Size-8',
12594
12647
  alertTitleIconHeight: 'Size-12',
12595
12648
  alertCloseFontColor: 'Neutral-text-4',
12596
12649
  alertCloseHoverColor: 'Neutral-text-5',
@@ -12673,6 +12726,7 @@ var breadcrumbTokens = {
12673
12726
  breadcrumbLinkHoverColor: 'Brand-5',
12674
12727
  breadcrumbDefaultLinkColor: 'Brand-6',
12675
12728
  breadcrumbDefaultLinkHoverColor: 'Brand-5',
12729
+ breadcrumbDefaultLinkActiveColor: 'Brand-7',
12676
12730
  breadcrumbListPaddingY: 'Spacing-4',
12677
12731
  breadcrumbListItemBorderRadius: 'Radius-default',
12678
12732
  breadcrumbListItemWrapperPaddingX: 'Spacing-4',
@@ -13440,7 +13494,7 @@ var datePickerTokens = {
13440
13494
  var descriptionsTokens = {
13441
13495
  descriptionsTitlePaddingBottom: 'Spacing-12',
13442
13496
  descriptionsLabelPaddingBottom: 'Spacing-12',
13443
- descriptionsLabelPaddingRight: 'Spacing-8',
13497
+ descriptionsLabelPaddingRight: 'Spacing-24',
13444
13498
  descriptionsValuePaddingBottom: 'Spacing-12',
13445
13499
  descriptionsTitleSmallSize: 'Font-14',
13446
13500
  descriptionsTitleDefaultSize: 'Font-16',
@@ -13498,7 +13552,7 @@ var dividerTokens = {
13498
13552
  // This file was generated automatically by a script. Please do not modify it directly.
13499
13553
 
13500
13554
  var dropdownTokens = {
13501
- dropdownCaretMarginLeft: 'Spacing-8',
13555
+ dropdownCaretMarginLeft: 'Spacing-4',
13502
13556
  dropdownListBorderRadius: 'Radius-default',
13503
13557
  dropdownListPaddingX: 'Spacing-4',
13504
13558
  dropdownListPaddingY: 'Spacing-4',
@@ -13533,7 +13587,7 @@ var dropdownTokens = {
13533
13587
  dropdownOptionSelectFontColor: 'Brand-6',
13534
13588
  dropdownOptionDisabledBackgroundColor: 'Neutral-fill-1',
13535
13589
  dropdownOptionDisabledFontColor: 'Neutral-text-2',
13536
- dropdownOptionBorderRadius: 'Radius-default',
13590
+ dropdownOptionBorderRadius: 'Radius-2',
13537
13591
  dropdownOptionFontWeight: 'Weight-regular',
13538
13592
  dropdownColumnPaddingX: 'Spacing-4',
13539
13593
  dropdownColumnPaddingY: 'Spacing-4',
@@ -13725,17 +13779,17 @@ var inputTokens = {
13725
13779
  inputInfoErrorBorderColor: 'Danger-6',
13726
13780
  inputInnerPaddingX: 'Spacing-8',
13727
13781
  inputInnerPaddingY: 'Spacing-1',
13728
- inputInnerFontSize: 'Font-12',
13782
+ inputInnerFontSize: 'Font-14',
13729
13783
  inputInnerFontColor: 'Neutral-text-4',
13730
13784
  inputInnerSmallPaddingX: 'Spacing-8',
13731
13785
  inputInnerSmallPaddingY: 'Spacing-1',
13732
13786
  inputInnerSmallFontSize: 'Font-12',
13733
13787
  inputInnerLargePaddingX: 'Spacing-12',
13734
- inputInnerLargePaddingY: 'Spacing-3',
13735
- inputInnerLargeFontSize: 'Font-14',
13788
+ inputInnerLargePaddingY: 'Spacing-4',
13789
+ inputInnerLargeFontSize: 'Font-16',
13736
13790
  inputInnerTopFontSize: 'Font-12',
13737
13791
  inputInnerTopSmallFontSize: 'Font-12',
13738
- inputInnerTopLargeFontSize: 'Font-12'
13792
+ inputInnerTopLargeFontSize: 'Font-14'
13739
13793
  };
13740
13794
  /* harmony default export */ var input = (inputTokens);
13741
13795
  ;// CONCATENATED MODULE: ../theme/src/input/index.ts
@@ -13764,13 +13818,13 @@ var linkTokens = {
13764
13818
  linkDangerHoverFontColor: 'Danger-5',
13765
13819
  linkDangerActiveFontColor: 'Danger-7',
13766
13820
  linkWarningFontColor: 'Warning-6',
13767
- linkWarningDisabledFontColor: 'Warning-5',
13768
- linkWarningHoverFontColor: 'Warning-7',
13769
- linkWarningActiveFontColor: 'Warning-3',
13821
+ linkWarningDisabledFontColor: 'Warning-3',
13822
+ linkWarningHoverFontColor: 'Warning-5',
13823
+ linkWarningActiveFontColor: 'Warning-7',
13770
13824
  linkSuccessFontColor: 'Success-6',
13771
- linkSuccessDisabledFontColor: 'Success-5',
13772
- linkSuccessHoverFontColor: 'Success-7',
13773
- linkSuccessActiveFontColor: 'Success-3'
13825
+ linkSuccessDisabledFontColor: 'Success-3',
13826
+ linkSuccessHoverFontColor: 'Success-5',
13827
+ linkSuccessActiveFontColor: 'Success-7'
13774
13828
  };
13775
13829
  /* harmony default export */ var link_link = (linkTokens);
13776
13830
  ;// CONCATENATED MODULE: ../theme/src/link/index.ts
@@ -13919,7 +13973,7 @@ var modalTokens = {
13919
13973
  modalPanelFontSize: 'Font-14',
13920
13974
  modalHeaderIconMarginEnd: 'Spacing-8',
13921
13975
  modalHeaderIconMarginTop: 'Spacing-2',
13922
- modalHeaderIconSize: 'Size-8',
13976
+ modalHeaderIconSize: 'Size-10',
13923
13977
  modalHeaderCloseMarginXStart: 'Spacing-16',
13924
13978
  modalHeaderCloseSize: 'Size-8',
13925
13979
  modalHeaderCloseTop: 'Size-2',
@@ -14414,7 +14468,7 @@ var tableTokens = {
14414
14468
  tableTfootFontColor: 'Neutral-text-5',
14415
14469
  tableTfootFontWeight: 'Weight-regular',
14416
14470
  tableExpandIconSize: 'Size-7',
14417
- tableExpandIconColor: 'Neutral-text-2',
14471
+ tableExpandIconColor: 'Neutral-text-3',
14418
14472
  tableExpandIconHoverBackgroundColor: 'Neutral-fill-3',
14419
14473
  tableExpandBackgroundColor: 'Neutral-fill-2',
14420
14474
  tableSorterColor: 'Neutral-text-3',
@@ -14839,7 +14893,9 @@ var tagTokens = {
14839
14893
 
14840
14894
  var textareaTokens = {
14841
14895
  textareaFontSize: 'Font-14',
14896
+ textareaFontColor: 'Neutral-text-5',
14842
14897
  textareaBorderRadius: 'Radius-default',
14898
+ textareaBorderColor: 'Neutral-border-2',
14843
14899
  textareaPaddingX: 'Spacing-8',
14844
14900
  textareaPaddingY: 'Spacing-4',
14845
14901
  textareaSmallFontSize: 'Font-12',
@@ -14848,9 +14904,7 @@ var textareaTokens = {
14848
14904
  textareaLargeFontSize: 'Font-16',
14849
14905
  textareaLargePaddingX: 'Spacing-12',
14850
14906
  textareaLargePaddingY: 'Spacing-7',
14851
- textareaFontColor: 'Neutral-text-5',
14852
14907
  textareaPlaceholderColor: 'Neutral-text-2',
14853
- textareaBorderColor: 'Neutral-border-2',
14854
14908
  textareaBackgroundColor: 'Neutral-fill-1',
14855
14909
  textareaHoverBorderColor: 'Brand-6',
14856
14910
  textareaFocusBorderColor: 'Brand-7',
@@ -15235,16 +15289,16 @@ var alertStyle = {
15235
15289
  },
15236
15290
  widthTitle: {
15237
15291
  '& $icon': {
15292
+ fontSize: src.alertTitleFontSize,
15238
15293
  // marginBottom: Token.alertNearlyMargin,
15239
15294
  width: src.alertTitleIconWidth,
15240
- height: src.alertTitleIconHeight
15295
+ height: src.lineHeightDynamic
15241
15296
  },
15242
15297
  '& $title': {
15243
15298
  lineHeight: src.lineHeightDynamic
15244
15299
  },
15245
- '& $close': {
15246
- marginBottom: src.alertNearlyMargin,
15247
- marginTop: 2
15300
+ '& $closeWrapper': {
15301
+ fontSize: src.alertTitleFontSize
15248
15302
  }
15249
15303
  },
15250
15304
  title: {
@@ -15269,7 +15323,7 @@ var alertStyle = {
15269
15323
  display: 'flex',
15270
15324
  alignItems: 'center',
15271
15325
  justifyContent: 'center',
15272
- marginLeft: src.alertNearlyMargin,
15326
+ // marginLeft: Token.alertNearlyMargin,
15273
15327
  '&:hover': {
15274
15328
  color: src.alertCloseHoverColor
15275
15329
  },
@@ -15278,10 +15332,12 @@ var alertStyle = {
15278
15332
  }
15279
15333
  },
15280
15334
  closeWrapper: {
15335
+ fontSize: src.alertFontSize,
15281
15336
  width: src.alertFontSize,
15282
15337
  height: src.lineHeightDynamic,
15283
15338
  display: 'flex',
15284
- alignItems: 'center'
15339
+ alignItems: 'center',
15340
+ marginLeft: src.alertNearlyMargin
15285
15341
  },
15286
15342
  content: {
15287
15343
  flex: '1 1 0',
@@ -15616,6 +15672,9 @@ var breadcrumbStyle = {
15616
15672
  color: src.breadcrumbDefaultLinkColor,
15617
15673
  '&:hover': {
15618
15674
  color: src.breadcrumbDefaultLinkHoverColor
15675
+ },
15676
+ '&:active': {
15677
+ color: src.breadcrumbDefaultLinkActiveColor
15619
15678
  }
15620
15679
  }
15621
15680
  // '&:not(a) svg': {
@@ -16955,7 +17014,7 @@ var cascaderStyle = objectSpread2_default()(objectSpread2_default()({
16955
17014
  }
16956
17015
  },
16957
17016
  wrapperDisabled: objectSpread2_default()(objectSpread2_default()({}, wrapperDisabled), {}, {
16958
- '& $icon': {
17017
+ '& $icon, & $arrowIcon': {
16959
17018
  color: src.cascaderDisabledFontColor
16960
17019
  }
16961
17020
  })
@@ -17333,6 +17392,9 @@ var cascaderStyle = objectSpread2_default()(objectSpread2_default()({
17333
17392
  cursor: 'not-allowed',
17334
17393
  color: src.cascaderOptionDisabledColor,
17335
17394
  backgroundColor: src.cascaderOptionDisabledBackgroundColor
17395
+ },
17396
+ '& $optionIcon': {
17397
+ color: src.cascaderOptionDisabledColor
17336
17398
  }
17337
17399
  }
17338
17400
  });
@@ -18518,6 +18580,11 @@ var descriptionsStyle = {
18518
18580
  },
18519
18581
  '& $item': {
18520
18582
  paddingBottom: 0
18583
+ },
18584
+ '& $row': {
18585
+ '& td:last-child': {
18586
+ borderRight: 'none'
18587
+ }
18521
18588
  }
18522
18589
  }
18523
18590
  };
@@ -18750,7 +18817,12 @@ var dropdown_dropdown = {
18750
18817
  display: 'flex'
18751
18818
  }
18752
18819
  },
18753
- itemWrapper: {},
18820
+ itemWrapper: {
18821
+ marginBottom: 2,
18822
+ '&:last-child': {
18823
+ marginBottom: 0
18824
+ }
18825
+ },
18754
18826
  item: {
18755
18827
  display: 'block',
18756
18828
  borderRadius: src.dropdownOptionBorderRadius,
@@ -19404,6 +19476,9 @@ var ImageStyle = objectSpread2_default()(objectSpread2_default()({
19404
19476
  borderStyle: 'none'
19405
19477
  }
19406
19478
  },
19479
+ magnifyZoomOut: {
19480
+ cursor: 'zoom-out'
19481
+ },
19407
19482
  close: {
19408
19483
  position: 'absolute',
19409
19484
  top: -15,
@@ -19608,18 +19683,62 @@ var moveTime = '120ms';
19608
19683
  var inner_title_animation = {
19609
19684
  '@keyframes movein': {
19610
19685
  from: {
19611
- top: 0
19686
+ top: 0,
19687
+ fontSize: src.inputInnerFontSize
19612
19688
  },
19613
19689
  to: {
19614
- top: moveOffset
19690
+ top: moveOffset,
19691
+ fontSize: src.inputInnerTopFontSize
19615
19692
  }
19616
19693
  },
19617
19694
  '@keyframes moveout': {
19618
19695
  from: {
19619
- top: moveOffset
19696
+ top: moveOffset,
19697
+ fontSize: src.inputInnerTopFontSize
19620
19698
  },
19621
19699
  to: {
19622
- top: 0
19700
+ top: 0,
19701
+ fontSize: src.inputInnerFontSize
19702
+ }
19703
+ },
19704
+ '@keyframes moveinSmall': {
19705
+ from: {
19706
+ top: 0,
19707
+ fontSize: src.inputInnerSmallFontSize
19708
+ },
19709
+ to: {
19710
+ top: moveOffset,
19711
+ fontSize: src.inputInnerTopSmallFontSize
19712
+ }
19713
+ },
19714
+ '@keyframes moveoutSmall': {
19715
+ from: {
19716
+ top: moveOffset,
19717
+ fontSize: src.inputInnerTopSmallFontSize
19718
+ },
19719
+ to: {
19720
+ top: 0,
19721
+ fontSize: src.inputInnerSmallFontSize
19722
+ }
19723
+ },
19724
+ '@keyframes moveinLarge': {
19725
+ from: {
19726
+ top: 0,
19727
+ fontSize: src.inputInnerLargeFontSize
19728
+ },
19729
+ to: {
19730
+ top: moveOffset,
19731
+ fontSize: src.inputInnerTopLargeFontSize
19732
+ }
19733
+ },
19734
+ '@keyframes moveoutLarge': {
19735
+ from: {
19736
+ top: moveOffset,
19737
+ fontSize: src.inputInnerTopLargeFontSize
19738
+ },
19739
+ to: {
19740
+ top: 0,
19741
+ fontSize: src.inputInnerLargeFontSize
19623
19742
  }
19624
19743
  }
19625
19744
  };
@@ -19680,6 +19799,18 @@ var innerTitle = objectSpread2_default()(objectSpread2_default()({
19680
19799
  '$animation:not($wrapperOpen) & $title': {
19681
19800
  animation: "$moveout ".concat(moveTime, " ease-in")
19682
19801
  },
19802
+ '$wrapperLarge$animation$wrapperOpen & $title': {
19803
+ animation: "$moveinLarge ".concat(moveTime, " ease-in")
19804
+ },
19805
+ '$wrapperLarge$animation:not($wrapperOpen) & $title': {
19806
+ animation: "$moveoutLarge ".concat(moveTime, " ease-in")
19807
+ },
19808
+ '$wrapperSmall$animation$wrapperOpen & $title': {
19809
+ animation: "$moveinSmall ".concat(moveTime, " ease-in")
19810
+ },
19811
+ '$wrapperSmall$animation:not($wrapperOpen) & $title': {
19812
+ animation: "$moveoutSmall ".concat(moveTime, " ease-in")
19813
+ },
19683
19814
  position: 'absolute',
19684
19815
  top: '0',
19685
19816
  left: '0',
@@ -20027,12 +20158,14 @@ var linkStyle = {
20027
20158
  },
20028
20159
  underline: {
20029
20160
  textDecoration: 'underline',
20161
+ textUnderlineOffset: '2px',
20030
20162
  '&:hover': {
20031
20163
  textDecoration: 'underline'
20032
20164
  }
20033
20165
  },
20034
20166
  underlineHover: {
20035
20167
  textDecoration: 'none',
20168
+ textUnderlineOffset: '2px',
20036
20169
  '&:hover': {
20037
20170
  textDecoration: 'underline'
20038
20171
  }
@@ -21374,11 +21507,11 @@ var modalStyle = objectSpread2_default()(objectSpread2_default()({
21374
21507
  '$wrapperDrawerRight &': {
21375
21508
  left: '-4px',
21376
21509
  right: 'auto',
21377
- cursor: 'w-resize'
21510
+ cursor: 'col-resize'
21378
21511
  }
21379
21512
  },
21380
21513
  resizeY: {
21381
- cursor: 's-resize',
21514
+ cursor: 'row-resize',
21382
21515
  position: 'absolute',
21383
21516
  left: 0,
21384
21517
  right: 0,
@@ -21692,7 +21825,6 @@ var popoverStyle = {
21692
21825
  rootClass: {},
21693
21826
  wrapper: {
21694
21827
  display: 'none',
21695
- cursor: 'pointer',
21696
21828
  position: 'absolute',
21697
21829
  boxShadow: src.popoverShadow,
21698
21830
  backgroundColor: src.popoverBackgroundColor,
@@ -21986,16 +22118,16 @@ var progressStyle = {
21986
22118
  padding: "0 ".concat(src.progressLineInnerPaddingX),
21987
22119
  fontWeight: src.progressLineFontWeight
21988
22120
  },
21989
- '$wrapperSuccess &': {
22121
+ '$lineInner$wrapperSuccess &': {
21990
22122
  color: src.progressSuccessInnerFontColor
21991
22123
  },
21992
- '$wrapperWarning &': {
22124
+ '$lineInner$wrapperWarning &': {
21993
22125
  color: src.progressWarningInnerFontColor
21994
22126
  },
21995
- '$wrapperInfo &': {
22127
+ '$lineInner$wrapperInfo &': {
21996
22128
  color: src.progressInfoInnerFontColor
21997
22129
  },
21998
- '$wrapperDanger &': {
22130
+ '$lineInner$wrapperDanger &': {
21999
22131
  color: src.progressDangerInnerFontColor
22000
22132
  },
22001
22133
  '$lineInnerRight &&': {
@@ -22073,6 +22205,8 @@ var progressStyle = {
22073
22205
  stroke: src.progressBackground
22074
22206
  },
22075
22207
  circleFront: {
22208
+ transform: 'rotate(-90deg)',
22209
+ transformOrigin: '50% 50%',
22076
22210
  transition: 'stroke-dashoffset .32s ease 0s,stroke-dasharray .32s ease 0s,stroke .32s,stroke-width .06s ease .32s',
22077
22211
  '$wrapperSuccess &': {
22078
22212
  stroke: src.progressSuccessFrontBackgroundColor
@@ -22236,7 +22370,8 @@ var radioStyle = {
22236
22370
  groupBlock: {
22237
22371
  '& $wrapper': {
22238
22372
  display: 'flex',
22239
- marginBottom: src.radioBlockGap
22373
+ marginBottom: src.radioBlockGap,
22374
+ marginRight: 0
22240
22375
  }
22241
22376
  },
22242
22377
  groupButton: {
@@ -25261,7 +25396,8 @@ var tableStyle = objectSpread2_default()(objectSpread2_default()({
25261
25396
  position: 'absolute',
25262
25397
  top: 0,
25263
25398
  bottom: -1,
25264
- width: '5px'
25399
+ width: '5px',
25400
+ pointerEvents: 'none'
25265
25401
  },
25266
25402
  '&[dir=ltr]::after': {
25267
25403
  right: '-5px',
@@ -25293,7 +25429,8 @@ var tableStyle = objectSpread2_default()(objectSpread2_default()({
25293
25429
  position: 'absolute',
25294
25430
  top: 0,
25295
25431
  bottom: 0,
25296
- width: '5px'
25432
+ width: '5px',
25433
+ pointerEvents: 'none'
25297
25434
  },
25298
25435
  '&[dir=rtl]::before': {
25299
25436
  right: '-5px',
@@ -27131,6 +27268,7 @@ var useTransferStyle = styled(transfer_transfer, 'transfer');
27131
27268
  var treeStyle = {
27132
27269
  rootClass: {},
27133
27270
  tree: {},
27271
+ virtual: {},
27134
27272
  line: {
27135
27273
  '& $node': {
27136
27274
  '&[dir=ltr]::before': {
@@ -27738,7 +27876,7 @@ var treeSelectStyle = objectSpread2_default()(objectSpread2_default()({
27738
27876
  paddingBottom: 3
27739
27877
  },
27740
27878
  tree: {
27741
- padding: 4,
27879
+ // padding: 4,
27742
27880
  overflow: 'auto'
27743
27881
  },
27744
27882
  treeOption: {
@@ -28717,6 +28855,9 @@ function isDomElement(element) {
28717
28855
  return (typeof HTMLElement === "undefined" ? "undefined" : typeof_default()(HTMLElement)) === 'object' ? element instanceof HTMLElement // DOM2
28718
28856
  : element && typeof_default()(element) === 'object' && element !== null && element.nodeType === 1 && typeof element.nodeName === 'string';
28719
28857
  }
28858
+ var isOptionalDisabled = function isOptionalDisabled(disabled) {
28859
+ return is_isObject(disabled) && disabled.hasOwnProperty('isRealtime');
28860
+ };
28720
28861
  ;// CONCATENATED MODULE: ../hooks/src/utils/document.ts
28721
28862
 
28722
28863
  var docSize = {
@@ -33923,7 +34064,7 @@ var useInputFormat = function useInputFormat(props) {
33923
34064
  autoFix = props.autoFix,
33924
34065
  coin = props.coin,
33925
34066
  cancelBlurChange = props.cancelBlurChange;
33926
- var _React$useState = external_root_React_commonjs2_react_commonjs_react_amd_react_default().useState(false),
34067
+ var _React$useState = external_root_React_commonjs2_react_commonjs_react_amd_react_default().useState(coin),
33927
34068
  _React$useState2 = slicedToArray_default()(_React$useState, 2),
33928
34069
  showCoin = _React$useState2[0],
33929
34070
  setShowCoin = _React$useState2[1];
@@ -33950,6 +34091,13 @@ var useInputFormat = function useInputFormat(props) {
33950
34091
  var noNeg = numType === 'non-negative' || numType === 'positive';
33951
34092
  var regExp = new RegExp("^(".concat(noNeg ? '' : '-', ")?(\\d").concat(regLength(integerLimit), ")(").concat(digits !== 0 ? "\\.\\d".concat(regLength(digits)) : '', ")?.*$"), 'g');
33952
34093
  value = value.replace(regExp, '$1$2$3');
34094
+
34095
+ // 修正小数位数
34096
+ var _value = v.split('.');
34097
+ var __value = value.split('.');
34098
+ if (_value[1] !== undefined && __value[1] === undefined && digits !== 0) {
34099
+ value = "".concat(value, ".").concat(_value[1]);
34100
+ }
33953
34101
  }
33954
34102
  onChange(value);
33955
34103
  });
@@ -34007,14 +34155,15 @@ var useInputFormat = function useInputFormat(props) {
34007
34155
  });
34008
34156
  function getValue(str) {
34009
34157
  if (type === 'number' && coin) {
34010
- if (showCoin && str) {
34011
- return "".concat(str).replace(/\d+/, function (n) {
34158
+ var _str = str;
34159
+ if (showCoin && _str) {
34160
+ return "".concat(_str).replace(/\d+/, function (n) {
34012
34161
  return n.replace(/(\d)(?=(\d{3})+$)/g, function ($1) {
34013
34162
  return "".concat($1, ",");
34014
34163
  });
34015
34164
  });
34016
34165
  }
34017
- return "".concat(str || '').replace(/,/g, '');
34166
+ return "".concat(_str === 0 ? _str : _str || '').replace(/,/g, '');
34018
34167
  }
34019
34168
  return str;
34020
34169
  }
@@ -34332,6 +34481,9 @@ var getCompleteFieldKeys = function getCompleteFieldKeys(fields, allFields) {
34332
34481
  var completeFields = [];
34333
34482
  fieldsArray.forEach(function (field) {
34334
34483
  var na = "".concat(field, "[");
34484
+ if (field.endsWith(']')) {
34485
+ na = field;
34486
+ }
34335
34487
  var no = "".concat(field, ".");
34336
34488
  completeFields.push(field);
34337
34489
  var childFields = allFields.filter(function (f) {
@@ -34341,7 +34493,9 @@ var getCompleteFieldKeys = function getCompleteFieldKeys(fields, allFields) {
34341
34493
  completeFields.push.apply(completeFields, toConsumableArray_default()(childFields));
34342
34494
  }
34343
34495
  });
34344
- return completeFields;
34496
+
34497
+ // 返回之前去重
34498
+ return Array.from(new Set(completeFields));
34345
34499
  };
34346
34500
  ;// CONCATENATED MODULE: ../base/src/common/use-clear.ts
34347
34501
 
@@ -35046,7 +35200,7 @@ var CheckboxWithContext = function CheckboxWithContext(props) {
35046
35200
  return /*#__PURE__*/(0,jsx_runtime.jsx)(group_context.Consumer, {
35047
35201
  children: function children(value) {
35048
35202
  return /*#__PURE__*/(0,jsx_runtime.jsx)(checkbox_Checkbox, objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({}, props), value), {}, {
35049
- onRawChange: props.onChange,
35203
+ onRawChange: value.onChange && props.onChange ? props.onChange : undefined,
35050
35204
  checked: 'checked' in props ? props.checked : value.checked
35051
35205
  }));
35052
35206
  }
@@ -36894,6 +37048,196 @@ var useFilter = function useFilter(props) {
36894
37048
  };
36895
37049
  };
36896
37050
  /* harmony default export */ var use_filter = (useFilter);
37051
+ ;// CONCATENATED MODULE: ../hooks/src/components/use-table/use-table-tree.tsx
37052
+
37053
+
37054
+
37055
+
37056
+
37057
+
37058
+
37059
+
37060
+ var getExpandData = function getExpandData(_treeData, keys, keygen, treeColumnsName) {
37061
+ var expandKeys = keys;
37062
+ var expandSet = new Set(expandKeys);
37063
+ var unmatchExpandKeys = [];
37064
+ var treeExpandLevel = new Map();
37065
+ if (expandSet.size === 0 || !treeColumnsName) {
37066
+ return {
37067
+ treeData: _treeData,
37068
+ treeExpandLevel: treeExpandLevel,
37069
+ unmatchExpandKeys: unmatchExpandKeys
37070
+ };
37071
+ }
37072
+ var treeData = toConsumableArray_default()(_treeData || []);
37073
+ var _loop = function _loop() {
37074
+ if (expandSet.size === 0) return 1; // break
37075
+ var item = treeData[i];
37076
+ var key = getKey(keygen, item, i);
37077
+ var parentLevel = treeExpandLevel.get(key) || 0;
37078
+ var children = is_isObject(item) && item[treeColumnsName];
37079
+ if (expandSet.has(key)) {
37080
+ if (children && children.length > 0) {
37081
+ children.forEach(function (child) {
37082
+ treeExpandLevel.set(getKey(keygen, child), parentLevel + 1);
37083
+ });
37084
+ treeData.splice.apply(treeData, [i + 1, 0].concat(toConsumableArray_default()(children)));
37085
+ expandSet.delete(key);
37086
+ } else {
37087
+ unmatchExpandKeys.push(key);
37088
+ }
37089
+ }
37090
+ };
37091
+ for (var i = 0; i < treeData.length; i++) {
37092
+ if (_loop()) break;
37093
+ }
37094
+ return {
37095
+ treeData: treeData,
37096
+ treeExpandLevel: treeExpandLevel,
37097
+ unmatchExpandKeys: unmatchExpandKeys
37098
+ };
37099
+ };
37100
+ var getExpandVirtualData = function getExpandVirtualData(_treeData, keys, keygen, treeColumnsName) {
37101
+ var expandKeys = keys;
37102
+ var expandSet = new Set(expandKeys);
37103
+ var unmatchExpandKeys = [];
37104
+ var treeExpandLevel = new Map();
37105
+ if (expandSet.size === 0 || !treeColumnsName) {
37106
+ var _treeDataInfo = _treeData.map(function (item, index) {
37107
+ return {
37108
+ id: getKey(keygen, item, index),
37109
+ level: 1,
37110
+ data: item,
37111
+ pid: null
37112
+ };
37113
+ });
37114
+ return {
37115
+ treeData: _treeData,
37116
+ treeExpandLevel: treeExpandLevel,
37117
+ unmatchExpandKeys: unmatchExpandKeys,
37118
+ treeDataInfo: _treeDataInfo
37119
+ };
37120
+ }
37121
+ var treeData = toConsumableArray_default()(_treeData || []);
37122
+ var treeDataInfo = treeData.map(function (item) {
37123
+ return {
37124
+ id: getKey(keygen, item),
37125
+ level: 1,
37126
+ data: item,
37127
+ pid: null
37128
+ };
37129
+ });
37130
+ var _loop2 = function _loop2() {
37131
+ if (expandSet.size === 0) return 1; // break
37132
+ var item = treeData[i];
37133
+ var key = getKey(keygen, item, i);
37134
+ var parentLevel = treeExpandLevel.get(key) || 0;
37135
+ var children = is_isObject(item) && item[treeColumnsName];
37136
+ if (expandSet.has(key)) {
37137
+ if (children && children.length > 0) {
37138
+ var nodes = [];
37139
+ children.forEach(function (child) {
37140
+ var node = {
37141
+ id: getKey(keygen, child),
37142
+ level: parentLevel + 2,
37143
+ data: child,
37144
+ pid: key
37145
+ };
37146
+ nodes.push(node);
37147
+ treeExpandLevel.set(getKey(keygen, child), parentLevel + 1);
37148
+ });
37149
+ treeData.splice.apply(treeData, [i + 1, 0].concat(toConsumableArray_default()(children)));
37150
+ treeDataInfo.splice.apply(treeDataInfo, [i + 1, 0].concat(nodes));
37151
+ expandSet.delete(key);
37152
+ } else {
37153
+ unmatchExpandKeys.push(key);
37154
+ }
37155
+ }
37156
+ };
37157
+ for (var i = 0; i < treeData.length; i++) {
37158
+ if (_loop2()) break;
37159
+ }
37160
+ return {
37161
+ treeData: treeData,
37162
+ treeExpandLevel: treeExpandLevel,
37163
+ unmatchExpandKeys: unmatchExpandKeys,
37164
+ treeDataInfo: treeDataInfo
37165
+ };
37166
+ };
37167
+ var useTableTree = function useTableTree(props) {
37168
+ var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(props.defaultTreeExpandKeys || []),
37169
+ _useState2 = slicedToArray_default()(_useState, 2),
37170
+ expandKeysState = _useState2[0],
37171
+ setExpandKeysState = _useState2[1];
37172
+ var _useRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)({
37173
+ changedByExpand: false
37174
+ }),
37175
+ context = _useRef.current;
37176
+ (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
37177
+ context.changedByExpand = false;
37178
+ }, [expandKeysState, props.treeExpandKeys]);
37179
+ var expandKeys = props.treeExpandKeys === undefined ? expandKeysState : props.treeExpandKeys;
37180
+ var handleTreeExpand = usePersistFn(function (data, index) {
37181
+ var key = getKey(props.keygen, data, index);
37182
+ var changeKeys = new Set(expandKeys);
37183
+ if (changeKeys.has(key)) {
37184
+ changeKeys.delete(key);
37185
+ } else {
37186
+ changeKeys.add(key);
37187
+ }
37188
+ if (props.treeExpandKeys === undefined) {
37189
+ setExpandKeysState(Array.from(changeKeys));
37190
+ } else if (props.onTreeExpand) {
37191
+ var _props$onTreeExpand;
37192
+ (_props$onTreeExpand = props.onTreeExpand) === null || _props$onTreeExpand === void 0 || _props$onTreeExpand.call(props, Array.from(changeKeys), data, changeKeys.has(key), index);
37193
+ }
37194
+ context.changedByExpand = true;
37195
+ });
37196
+ var isTreeExpanded = usePersistFn(function (data, index) {
37197
+ if (!props.treeColumnsName) return false;
37198
+ var key = getKey(props.keygen, data, index);
37199
+ return expandKeys.includes(key);
37200
+ });
37201
+ var func = useLatestObj({
37202
+ isTreeExpanded: isTreeExpanded,
37203
+ handleTreeExpand: handleTreeExpand
37204
+ });
37205
+ var _useMemo = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
37206
+ return getExpandData(props.data, expandKeys, props.keygen, props.treeColumnsName);
37207
+ }, [props.data, expandKeys, props.treeColumnsName]),
37208
+ treeData = _useMemo.treeData,
37209
+ treeExpandLevel = _useMemo.treeExpandLevel,
37210
+ unmatchExpandKeys = _useMemo.unmatchExpandKeys;
37211
+ var isEmptyTree = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
37212
+ var _props$data$filter;
37213
+ return ((_props$data$filter = props.data.filter(function (item) {
37214
+ var _item;
37215
+ return (_item = item[props.treeColumnsName]) === null || _item === void 0 ? void 0 : _item.length;
37216
+ })) === null || _props$data$filter === void 0 ? void 0 : _props$data$filter.length) === 0;
37217
+ }, [props.data, props.treeColumnsName]);
37218
+ (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
37219
+ if (!unmatchExpandKeys.length || !expandKeysState.length) {
37220
+ return;
37221
+ }
37222
+
37223
+ // 检查treeData中的每一项,对比expandKeysState,如果expandKeysState有但是children是空的,则需要修正expandKeysState
37224
+ var newExpandKeys = expandKeysState.filter(function (key) {
37225
+ return !unmatchExpandKeys.includes(key);
37226
+ });
37227
+ if (shallowEqual(newExpandKeys, expandKeysState)) {
37228
+ return;
37229
+ }
37230
+ setExpandKeysState(newExpandKeys);
37231
+ }, [unmatchExpandKeys, expandKeysState]);
37232
+ return {
37233
+ data: treeData,
37234
+ treeExpandLevel: treeExpandLevel,
37235
+ changedByExpand: context.changedByExpand,
37236
+ isEmptyTree: isEmptyTree,
37237
+ func: func
37238
+ };
37239
+ };
37240
+ /* harmony default export */ var use_table_tree = (useTableTree);
36897
37241
  ;// CONCATENATED MODULE: ../hooks/src/components/use-tree/use-tree.ts
36898
37242
 
36899
37243
 
@@ -36903,12 +37247,13 @@ var useFilter = function useFilter(props) {
36903
37247
 
36904
37248
 
36905
37249
 
37250
+
37251
+
36906
37252
  function use_tree_toArray(value) {
36907
37253
  if (!value) return [];
36908
37254
  if (!Array.isArray(value)) return [value];
36909
37255
  return value;
36910
37256
  }
36911
- var global_tree_map = new Map();
36912
37257
  var MODE = {
36913
37258
  /**
36914
37259
  * 返回全选数据,包含父节点和子节点
@@ -36941,6 +37286,7 @@ var useTree = function useTree(props) {
36941
37286
  childrenKey = _props$childrenKey === void 0 ? 'children' : _props$childrenKey,
36942
37287
  keygen = props.keygen,
36943
37288
  mode = props.mode,
37289
+ virtual = props.virtual,
36944
37290
  activeProp = props.active,
36945
37291
  expandedProp = props.expanded,
36946
37292
  _props$dataUpdate = props.dataUpdate,
@@ -36948,14 +37294,19 @@ var useTree = function useTree(props) {
36948
37294
  _props$defaultExpande = props.defaultExpanded,
36949
37295
  defaultExpanded = _props$defaultExpande === void 0 ? [] : _props$defaultExpande,
36950
37296
  defaultExpandAll = props.defaultExpandAll,
36951
- disabledProps = props.disabled,
36952
37297
  unmatch = props.unmatch,
36953
37298
  isControlled = props.isControlled,
36954
37299
  onExpandProp = props.onExpand;
37300
+ var disabledProps = isOptionalDisabled(props.disabled) ? props.disabled.disabled : props.disabled;
37301
+ var isRealtime = isOptionalDisabled(props.disabled) ? props.disabled.isRealtime : false;
36955
37302
  var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(false),
36956
37303
  _useState2 = slicedToArray_default()(_useState, 2),
36957
37304
  inited = _useState2[0],
36958
37305
  setInited = _useState2[1];
37306
+ var _useState3 = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)([]),
37307
+ _useState4 = slicedToArray_default()(_useState3, 2),
37308
+ dataFlat = _useState4[0],
37309
+ setDataFlat = _useState4[1];
36959
37310
  var _useInputAble = useInputAble({
36960
37311
  value: expandedProp,
36961
37312
  defaultValue: defaultExpanded,
@@ -36968,6 +37319,8 @@ var useTree = function useTree(props) {
36968
37319
  var _useRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)({
36969
37320
  pathMap: new Map(),
36970
37321
  dataMap: new Map(),
37322
+ dataFlatStatusMap: new Map(),
37323
+ dataFlat: [],
36971
37324
  forceUpdateMap: new Map(),
36972
37325
  valueMap: new Map(),
36973
37326
  updateMap: new Map(),
@@ -36999,11 +37352,27 @@ var useTree = function useTree(props) {
36999
37352
  expanded: shouldDefaultExpand
37000
37353
  };
37001
37354
  }
37355
+ if (virtual) {
37356
+ return {
37357
+ active: isActive,
37358
+ expanded: context.dataFlatStatusMap.get(id).expanded
37359
+ };
37360
+ }
37002
37361
  return {
37003
37362
  active: isActive,
37004
37363
  expanded: !!(expandeds && expandeds.indexOf(id) >= 0)
37005
37364
  };
37006
37365
  };
37366
+
37367
+ // 注册节点
37368
+ var bindVirtualNode = function bindVirtualNode(id, update) {
37369
+ context.updateMap.set(id, update);
37370
+ var isActive = activeProp === id;
37371
+ return {
37372
+ active: isActive,
37373
+ expanded: context.dataFlatStatusMap.get(id).expanded
37374
+ };
37375
+ };
37007
37376
  var get = function get(id) {
37008
37377
  return context.valueMap.get(id);
37009
37378
  };
@@ -37016,7 +37385,6 @@ var useTree = function useTree(props) {
37016
37385
  if (keygen && (isString(keygen) || isNumber(keygen))) {
37017
37386
  return item[keygen];
37018
37387
  }
37019
-
37020
37388
  // 降级处理
37021
37389
  return id + (id ? ',' : '') + index;
37022
37390
  };
@@ -37114,6 +37482,8 @@ var useTree = function useTree(props) {
37114
37482
  };
37115
37483
  var initData = function initData(data, path, disabled) {
37116
37484
  var index = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
37485
+ var level = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
37486
+ var pid = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null;
37117
37487
  var ids = [];
37118
37488
  for (var i = 0; i < data.length; i++) {
37119
37489
  var item = data[i];
@@ -37125,6 +37495,28 @@ var useTree = function useTree(props) {
37125
37495
  }
37126
37496
  // 制作 data mapping
37127
37497
  context.dataMap.set(id, item);
37498
+ if (virtual) {
37499
+ context.dataFlatStatusMap.set(id, {
37500
+ active: false,
37501
+ expanded: defaultExpandAll ? true : (expanded === null || expanded === void 0 ? void 0 : expanded.includes(id)) || false,
37502
+ fetching: false
37503
+ });
37504
+ var node = {
37505
+ id: id,
37506
+ level: level,
37507
+ data: item,
37508
+ pid: pid
37509
+ };
37510
+ if (defaultExpandAll) {
37511
+ context.dataFlat.push(node);
37512
+ } else {
37513
+ if (level === 1) {
37514
+ context.dataFlat.push(node);
37515
+ } else if (expanded && pid !== null && expanded.indexOf(pid) >= 0) {
37516
+ context.dataFlat.push(node);
37517
+ }
37518
+ }
37519
+ }
37128
37520
  var _isDisabled = !!disabled;
37129
37521
  if (_isDisabled === false) {
37130
37522
  _isDisabled = getDisabled()(item);
@@ -37133,7 +37525,7 @@ var useTree = function useTree(props) {
37133
37525
  ids.push(id);
37134
37526
  var children = [];
37135
37527
  if (Array.isArray(item[childrenKey])) {
37136
- var _children = initData(item[childrenKey], [].concat(toConsumableArray_default()(path), [id]), mode === MODE.MODE_4 ? disabled : _isDisabled, indexPath);
37528
+ var _children = initData(item[childrenKey], [].concat(toConsumableArray_default()(path), [id]), mode === MODE.MODE_4 ? disabled : _isDisabled, indexPath, level + 1, id);
37137
37529
  if (_children) children = _children;
37138
37530
  }
37139
37531
  context.pathMap.set(id, {
@@ -37211,7 +37603,15 @@ var useTree = function useTree(props) {
37211
37603
  var isDisabled = function isDisabled(id) {
37212
37604
  if (isFunc(disabledProps)) {
37213
37605
  var node = context.pathMap.get(id);
37214
- if (node) return node.isDisabled;
37606
+ if (node) {
37607
+ if (isRealtime) {
37608
+ var item = context.dataMap.get(id);
37609
+ if (!item) return false;
37610
+ return getDisabled()(item);
37611
+ } else {
37612
+ return node.isDisabled;
37613
+ }
37614
+ }
37215
37615
  return false;
37216
37616
  }
37217
37617
  return !!disabledProps;
@@ -37241,11 +37641,20 @@ var useTree = function useTree(props) {
37241
37641
  context.cachedValue = [];
37242
37642
  context.pathMap = new Map();
37243
37643
  context.dataMap = new Map();
37644
+ context.dataFlat = [];
37645
+ context.dataFlatStatusMap = new Map();
37244
37646
  context.valueMap = new Map();
37245
37647
  context.unmatchedValueMap = new Map();
37246
37648
  context.data = use_tree_toArray(data);
37649
+ if (virtual) {
37650
+ context.dataFlat = [];
37651
+ setDataFlat([]);
37652
+ }
37247
37653
  if (!data) return;
37248
37654
  initData(context.data, []);
37655
+ if (virtual) {
37656
+ setDataFlat(context.dataFlat);
37657
+ }
37249
37658
  initValue();
37250
37659
  setValue(prevValue);
37251
37660
 
@@ -37291,6 +37700,101 @@ var useTree = function useTree(props) {
37291
37700
  }
37292
37701
  return current;
37293
37702
  };
37703
+ var appendChildrenExpanded = function appendChildrenExpanded(child, level, pid, insertData) {
37704
+ if (!child) return;
37705
+ child.forEach(function (item, i) {
37706
+ var _context$dataFlatStat;
37707
+ var childId = getKey(item, pid, i);
37708
+ var node = {
37709
+ id: childId,
37710
+ level: level,
37711
+ data: item,
37712
+ pid: pid
37713
+ };
37714
+ insertData.push(node);
37715
+ if ((_context$dataFlatStat = context.dataFlatStatusMap.get(childId)) !== null && _context$dataFlatStat !== void 0 && _context$dataFlatStat.expanded && item[childrenKey]) {
37716
+ appendChildrenExpanded(item[childrenKey], level + 1, childId, insertData);
37717
+ }
37718
+ });
37719
+ };
37720
+ var insertFlat = function insertFlat(id) {
37721
+ var item = getDataById(id);
37722
+ if (isUnMatchedData(item)) return;
37723
+ if (!item) return;
37724
+ var status = context.dataFlatStatusMap.get(id);
37725
+ if (!status) return;
37726
+ var childrenData = item[childrenKey];
37727
+ var insertStartNode = dataFlat.find(function (item) {
37728
+ return item.id === id;
37729
+ });
37730
+ context.dataFlatStatusMap.set(id, objectSpread2_default()(objectSpread2_default()({}, status), {}, {
37731
+ expanded: true,
37732
+ fetching: false
37733
+ }));
37734
+ if (!insertStartNode) return;
37735
+ var insertData = [];
37736
+ appendChildrenExpanded(childrenData, insertStartNode.level + 1, id, insertData);
37737
+ var insertIndex = dataFlat.indexOf(insertStartNode);
37738
+ var nextDataFlat = utils_immer_produce(dataFlat, function (draft) {
37739
+ draft.splice.apply(draft, [insertIndex + 1, 0].concat(toConsumableArray_default()(insertData)));
37740
+ });
37741
+ setDataFlat(nextDataFlat);
37742
+ };
37743
+ var removeFlat = function removeFlat(id) {
37744
+ var item = getDataById(id);
37745
+ if (isUnMatchedData(item)) return;
37746
+ if (!item) return;
37747
+ var removeNode = dataFlat.find(function (item) {
37748
+ return item.id === id;
37749
+ });
37750
+ if (!removeNode) return;
37751
+ var status = context.dataFlatStatusMap.get(id);
37752
+ if (!status) return;
37753
+ context.dataFlatStatusMap.set(id, objectSpread2_default()(objectSpread2_default()({}, status), {}, {
37754
+ fetching: false,
37755
+ expanded: false
37756
+ }));
37757
+ var removeStartIndex = dataFlat.indexOf(removeNode);
37758
+ var removeEndIndex = 0;
37759
+ for (var i = removeStartIndex + 1; i < dataFlat.length; i++) {
37760
+ if (dataFlat[i].level <= removeNode.level) {
37761
+ removeEndIndex = i;
37762
+ break;
37763
+ }
37764
+ if (i === dataFlat.length - 1) {
37765
+ removeEndIndex = i + 1;
37766
+ break;
37767
+ }
37768
+ }
37769
+ var nextDataFlat = utils_immer_produce(dataFlat, function (draft) {
37770
+ draft.splice(removeStartIndex + 1, removeEndIndex - removeStartIndex - 1);
37771
+ });
37772
+ setDataFlat(nextDataFlat);
37773
+ };
37774
+ var expandedFlat = function expandedFlat(expanded) {
37775
+ if (!context.data) return;
37776
+ context.dataFlatStatusMap.forEach(function (status, id) {
37777
+ context.dataFlatStatusMap.set(id, objectSpread2_default()(objectSpread2_default()({}, status), {}, {
37778
+ expanded: false
37779
+ }));
37780
+ });
37781
+ expanded.forEach(function (id) {
37782
+ var status = context.dataFlatStatusMap.get(id);
37783
+ if (!status) return;
37784
+ context.dataFlatStatusMap.set(id, objectSpread2_default()(objectSpread2_default()({}, status), {}, {
37785
+ expanded: true
37786
+ }));
37787
+ });
37788
+ var _getExpandVirtualData = getExpandVirtualData(context.data, expanded, getKey, childrenKey),
37789
+ treeDataInfo = _getExpandVirtualData.treeDataInfo;
37790
+ if (!treeDataInfo) {
37791
+ return;
37792
+ }
37793
+ setDataFlat(treeDataInfo);
37794
+ };
37795
+ var getFlatData = function getFlatData() {
37796
+ return context.dataFlat;
37797
+ };
37294
37798
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
37295
37799
  if (defaultExpandAll) {
37296
37800
  var nextExpanded = [];
@@ -37301,7 +37805,7 @@ var useTree = function useTree(props) {
37301
37805
  });
37302
37806
  onExpand(nextExpanded);
37303
37807
  }
37304
- }, []);
37808
+ }, [context.dataMap]);
37305
37809
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
37306
37810
  if (props.datum) return;
37307
37811
  if (!dataUpdate) return;
@@ -37317,25 +37821,32 @@ var useTree = function useTree(props) {
37317
37821
  var datum = use_latest_obj({
37318
37822
  get: get,
37319
37823
  set: set,
37824
+ insertFlat: insertFlat,
37825
+ removeFlat: removeFlat,
37826
+ expandedFlat: expandedFlat,
37320
37827
  getPath: getPath,
37321
37828
  getValue: getValue,
37322
37829
  getChecked: getChecked,
37323
37830
  getKey: getKey,
37831
+ getFlatData: getFlatData,
37324
37832
  getDataByValues: getDataByValues,
37325
37833
  setValue: setValue,
37326
37834
  setData: setData,
37327
37835
  isDisabled: isDisabled,
37328
37836
  bindNode: bindNode,
37837
+ bindVirtualNode: bindVirtualNode,
37329
37838
  getDataById: getDataById,
37330
37839
  bindUpdate: bindUpdate,
37331
37840
  unBindUpdate: unBindUpdate,
37332
37841
  isUnMatched: isUnMatched,
37333
37842
  childrenKey: childrenKey,
37334
37843
  data: data,
37844
+ dataFlat: dataFlat,
37335
37845
  pathMap: context.pathMap,
37336
37846
  dataMap: context.dataMap,
37337
37847
  valueMap: context.valueMap,
37338
- updateMap: context.updateMap
37848
+ updateMap: context.updateMap,
37849
+ dataFlatStatusMap: context.dataFlatStatusMap
37339
37850
  });
37340
37851
  return {
37341
37852
  inited: inited,
@@ -37592,6 +38103,7 @@ var VirtualList = function VirtualList(props) {
37592
38103
  className = props.className,
37593
38104
  lineHeight = props.lineHeight,
37594
38105
  height = props.height,
38106
+ keepScrollHeight = props.keepScrollHeight,
37595
38107
  renderItem = props.renderItem,
37596
38108
  customRenderItem = props.customRenderItem,
37597
38109
  _props$tag = props.tag,
@@ -37599,6 +38111,7 @@ var VirtualList = function VirtualList(props) {
37599
38111
  tagClassName = props.tagClassName,
37600
38112
  dynamicVirtual = props.dynamicVirtual,
37601
38113
  virtualRef = props.virtualRef,
38114
+ scrollerStyle = props.scrollerStyle,
37602
38115
  onControlTypeChange = props.onControlTypeChange;
37603
38116
  var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(0),
37604
38117
  _useState2 = slicedToArray_default()(_useState, 2),
@@ -37744,6 +38257,7 @@ var VirtualList = function VirtualList(props) {
37744
38257
  style: nextStyle,
37745
38258
  height: height,
37746
38259
  scrollWidth: 0,
38260
+ scrollerStyle: scrollerStyle,
37747
38261
  scrollHeight: scrollHeight,
37748
38262
  childrenStyle: {
37749
38263
  width: '100%'
@@ -37775,6 +38289,7 @@ var VirtualList = function VirtualList(props) {
37775
38289
  }, [startIndex]);
37776
38290
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
37777
38291
  // 数据变化的时候清空掉 preIndex, 如果之前有缓存的index, setRowHeight 会有问题
38292
+ if (keepScrollHeight) return;
37778
38293
  setTop(0);
37779
38294
  setStartIndex(0);
37780
38295
  return function () {
@@ -37878,6 +38393,7 @@ var CascaderNode = function CascaderNode(props) {
37878
38393
  handleChange(null, !checked);
37879
38394
  };
37880
38395
  var isHoverAble = expandTrigger === 'hover' || expandTrigger === 'hover-only';
38396
+ var isRealLeafNode = !hasChildren && !uncertainChildren;
37881
38397
  var getEvents = function getEvents() {
37882
38398
  var events = {};
37883
38399
  if (expandTrigger !== 'hover-only' || !hasChildren) {
@@ -37886,6 +38402,9 @@ var CascaderNode = function CascaderNode(props) {
37886
38402
  if (isHoverAble) {
37887
38403
  events.onMouseEnter = handlePathChange;
37888
38404
  if (multiple) events.onClick = handleSelect;
38405
+ } else if (isRealLeafNode && multiple) {
38406
+ // 非hover模式下: 末级节点支持整个节点区域点击选中checkbox
38407
+ events.onClick = handleSelect;
37889
38408
  }
37890
38409
  return events;
37891
38410
  };
@@ -37918,9 +38437,10 @@ var CascaderNode = function CascaderNode(props) {
37918
38437
  }
37919
38438
  return null;
37920
38439
  };
38440
+ var events = getEvents();
37921
38441
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", objectSpread2_default()(objectSpread2_default()({
37922
38442
  className: rootClass
37923
- }, getEvents()), {}, {
38443
+ }, events), {}, {
37924
38444
  children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
37925
38445
  className: classnames_default()(styles.optionInner),
37926
38446
  children: [multiple && !(shouldFinal && hasChildren) && /*#__PURE__*/(0,jsx_runtime.jsx)(base_src_checkbox_checkbox
@@ -37931,7 +38451,7 @@ var CascaderNode = function CascaderNode(props) {
37931
38451
  className: styles.optionCheckbox,
37932
38452
  checked: datum.getChecked(id),
37933
38453
  disabled: isDisabled,
37934
- onChange: isHoverAble && multiple ? undefined : handleChange
38454
+ onChange: events.onClick === handleSelect ? undefined : handleChange
37935
38455
  }), renderContent(), renderIcon()]
37936
38456
  })
37937
38457
  }));
@@ -39405,7 +39925,7 @@ var Cascader = function Cascader(props0) {
39405
39925
  mode = props.mode,
39406
39926
  innerTitle = props.innerTitle,
39407
39927
  multiple = props.multiple,
39408
- disabled = props.disabled,
39928
+ disabledProp = props.disabled,
39409
39929
  clearable = props.clearable,
39410
39930
  underline = props.underline,
39411
39931
  loading = props.loading,
@@ -39446,6 +39966,7 @@ var Cascader = function Cascader(props0) {
39446
39966
  virtual = props.virtual,
39447
39967
  filterSameChange = props.filterSameChange;
39448
39968
  var showInput = isFunc(onFilterProp);
39969
+ var disabled = isOptionalDisabled(disabledProp) ? disabledProp.disabled : disabledProp;
39449
39970
  var styles = jssStyle === null || jssStyle === void 0 || (_jssStyle$cascader = jssStyle.cascader) === null || _jssStyle$cascader === void 0 ? void 0 : _jssStyle$cascader.call(jssStyle);
39450
39971
  var rootStyle = Object.assign({
39451
39972
  width: width
@@ -39492,7 +40013,7 @@ var Cascader = function Cascader(props0) {
39492
40013
  control: 'value' in props,
39493
40014
  keygen: keygen,
39494
40015
  unmatch: unmatch,
39495
- disabled: disabled,
40016
+ disabled: disabledProp,
39496
40017
  mode: mode,
39497
40018
  defaultValue: defaultValue,
39498
40019
  childrenKey: childrenKey,
@@ -39942,7 +40463,7 @@ var Cascader = function Cascader(props0) {
39942
40463
  if (filterText !== undefined) {
39943
40464
  updatePath();
39944
40465
  }
39945
- }, [filterText]);
40466
+ }, [filterText, firstMatchNode]);
39946
40467
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
39947
40468
  updatePathByValue();
39948
40469
 
@@ -46897,7 +47418,7 @@ var useTextarea = function useTextarea(props) {
46897
47418
 
46898
47419
 
46899
47420
 
46900
- var simple_textarea_excluded = ["jssStyle", "className", "style", "status", "size", "prefix", "suffix", "underline", "border", "resize", "onEnterPress", "getStatus", "renderTextarea"];
47421
+ var simple_textarea_excluded = ["jssStyle", "className", "style", "status", "size", "prefix", "suffix", "underline", "autosize", "border", "resize", "onEnterPress", "getStatus", "renderTextarea"];
46901
47422
 
46902
47423
 
46903
47424
 
@@ -46914,6 +47435,7 @@ var Textarea = function Textarea(props) {
46914
47435
  prefix = props.prefix,
46915
47436
  suffix = props.suffix,
46916
47437
  underline = props.underline,
47438
+ autosize = props.autosize,
46917
47439
  _props$border = props.border,
46918
47440
  border = _props$border === void 0 ? true : _props$border,
46919
47441
  _props$resize = props.resize,
@@ -46942,7 +47464,7 @@ var Textarea = function Textarea(props) {
46942
47464
  keyHandler(e);
46943
47465
  });
46944
47466
  var textareaProps = getTextAreaProps({
46945
- className: classnames_default()(textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.wrapperPaddingBox, textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.wrapperInnerTitleBottom, textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.textarea, !!resize && (textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.resize)),
47467
+ className: classnames_default()(textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.wrapperPaddingBox, textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.wrapperInnerTitleBottom, textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.textarea, (!!resize || autosize) && (textareaClasses === null || textareaClasses === void 0 ? void 0 : textareaClasses.resize)),
46946
47468
  onKeyUp: onKeyUp
46947
47469
  });
46948
47470
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
@@ -47197,7 +47719,8 @@ var textarea_Textarea = function Textarea(props0) {
47197
47719
  popover: resetProps.popover || (typeof_default()(info) === 'object' ? info.position : 'bottom-right'),
47198
47720
  popoverProps: Object.assign({
47199
47721
  style: {
47200
- width: 'auto'
47722
+ width: 'auto',
47723
+ fontSize: 12
47201
47724
  }
47202
47725
  }, resetProps.popoverProps),
47203
47726
  error: infoState !== null && infoState !== void 0 && infoState.error && (infoState === null || infoState === void 0 ? void 0 : infoState.error) instanceof Error ? infoState === null || infoState === void 0 || (_infoState$error = infoState.error) === null || _infoState$error === void 0 ? void 0 : _infoState$error.message : undefined,
@@ -47236,7 +47759,8 @@ var textarea_Textarea = function Textarea(props0) {
47236
47759
  suffix: mergeSuffix,
47237
47760
  style: mergeStyle,
47238
47761
  getStatus: onStatusChange,
47239
- rootRef: rootRef
47762
+ rootRef: rootRef,
47763
+ autosize: props.autosize
47240
47764
  }));
47241
47765
  };
47242
47766
  /* harmony default export */ var base_src_textarea_textarea = (/*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().memo(textarea_Textarea));
@@ -47932,7 +48456,7 @@ var useForm = function useForm(props) {
47932
48456
  return new Promise(function (resolve, reject) {
47933
48457
  var finalFields = Object.keys(context.validateMap);
47934
48458
  if (fields) {
47935
- if (config.ignoreChildren) {
48459
+ if (config.ignoreChildren || config.ignoreBind) {
47936
48460
  // 旧行为:仅校验当前字段
47937
48461
  finalFields = (isArray(fields) ? fields : [fields]).filter(function (key) {
47938
48462
  return context.validateMap[key];
@@ -47951,6 +48475,7 @@ var useForm = function useForm(props) {
47951
48475
  }
47952
48476
  var validates = finalFields.map(function (key) {
47953
48477
  var validateField = context.validateMap[key];
48478
+ if (!validateField) return [];
47954
48479
  return Array.from(validateField).map(function (validate) {
47955
48480
  return validate(key, deepGet(context.value, key), context.value, config);
47956
48481
  });
@@ -49970,12 +50495,14 @@ var useImageMagnify = function useImageMagnify(props) {
49970
50495
  ;// CONCATENATED MODULE: ../base/src/image/image-magnify.tsx
49971
50496
 
49972
50497
 
49973
- var image_magnify_excluded = ["className"];
50498
+ var image_magnify_excluded = ["jssStyle"];
50499
+
49974
50500
 
49975
50501
 
49976
50502
 
49977
50503
  var ImageMagnify = function ImageMagnify(props) {
49978
- var className = props.className,
50504
+ var _jssStyle$image;
50505
+ var jssStyle = props.jssStyle,
49979
50506
  rest = objectWithoutProperties_default()(props, image_magnify_excluded);
49980
50507
  var _useImageMagnify = use_image_magnify(rest),
49981
50508
  loading = _useImageMagnify.loading,
@@ -49985,6 +50512,7 @@ var ImageMagnify = function ImageMagnify(props) {
49985
50512
  maxHeight = _useImageMagnify.maxHeight,
49986
50513
  getRootProps = _useImageMagnify.getRootProps;
49987
50514
  var rootProps = getRootProps();
50515
+ var galleryStyle = jssStyle === null || jssStyle === void 0 || (_jssStyle$image = jssStyle.image) === null || _jssStyle$image === void 0 ? void 0 : _jssStyle$image.call(jssStyle);
49988
50516
  var renderLoading = function renderLoading() {
49989
50517
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {});
49990
50518
  };
@@ -49998,7 +50526,7 @@ var ImageMagnify = function ImageMagnify(props) {
49998
50526
  maxHeight: status === 1 ? undefined : maxHeight
49999
50527
  };
50000
50528
  return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()({
50001
- className: className,
50529
+ className: classnames_default()(galleryStyle === null || galleryStyle === void 0 ? void 0 : galleryStyle.magnify, status === 1 && (galleryStyle === null || galleryStyle === void 0 ? void 0 : galleryStyle.magnifyZoomOut)),
50002
50530
  style: rootStyle
50003
50531
  }, rootProps), {}, {
50004
50532
  children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
@@ -50040,7 +50568,6 @@ var ImageModal = function ImageModal(props) {
50040
50568
  getCloseIconProps = _useImageGallery.getCloseIconProps;
50041
50569
  var galleryStyle = (jssStyle === null || jssStyle === void 0 || (_jssStyle$image = jssStyle.image) === null || _jssStyle$image === void 0 ? void 0 : _jssStyle$image.call(jssStyle)) || {};
50042
50570
  var overlayClass = classnames_default()(galleryStyle === null || galleryStyle === void 0 ? void 0 : galleryStyle.overlay);
50043
- var magnifyClass = classnames_default()(galleryStyle === null || galleryStyle === void 0 ? void 0 : galleryStyle.magnify);
50044
50571
  var closeClass = classnames_default()(galleryStyle === null || galleryStyle === void 0 ? void 0 : galleryStyle.close);
50045
50572
  var closeIconProps = getCloseIconProps();
50046
50573
  var renderColseIcon = function renderColseIcon() {
@@ -50058,7 +50585,7 @@ var ImageModal = function ImageModal(props) {
50058
50585
  className: classnames_default()(galleryClass)
50059
50586
  });
50060
50587
  var magnifyProps = getMaginfyProps(position, {
50061
- className: magnifyClass,
50588
+ jssStyle: jssStyle,
50062
50589
  src: image.src
50063
50590
  });
50064
50591
  return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()({}, galleryProps), {}, {
@@ -51711,7 +52238,8 @@ var TreeCheckbox = function TreeCheckbox(props) {
51711
52238
  className = props.className,
51712
52239
  id = props.id,
51713
52240
  onChange = props.onChange,
51714
- disabled = props.disabled;
52241
+ disabled = props.disabled,
52242
+ onClick = props.onClick;
51715
52243
  var _useTreeContext = useTreeContext(),
51716
52244
  getValue = _useTreeContext.getValue,
51717
52245
  set = _useTreeContext.set,
@@ -51723,6 +52251,9 @@ var TreeCheckbox = function TreeCheckbox(props) {
51723
52251
  onChange(getValue(), id);
51724
52252
  }
51725
52253
  };
52254
+ var handleClick = function handleClick(e) {
52255
+ onClick === null || onClick === void 0 || onClick(e);
52256
+ };
51726
52257
  var checked = getChecked(id);
51727
52258
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
51728
52259
  return function () {
@@ -51737,7 +52268,8 @@ var TreeCheckbox = function TreeCheckbox(props) {
51737
52268
  jssStyle: jssStyle,
51738
52269
  checked: checked,
51739
52270
  disabled: disabled,
51740
- onChange: handleChange
52271
+ onChange: handleChange,
52272
+ onClick: handleClick
51741
52273
  });
51742
52274
  };
51743
52275
  /* harmony default export */ var tree_checkbox = (TreeCheckbox);
@@ -51959,11 +52491,7 @@ var useTreeNode = function useTreeNode(props) {
51959
52491
  break;
51960
52492
  }
51961
52493
  });
51962
- var handleToggle = function handleToggle() {
51963
- // const newExpand = !expanded;
51964
- // setExpanded(newExpand);
51965
- // if (onToggle) onToggle(id, newExpand);
51966
- };
52494
+ var handleToggle = function handleToggle() {};
51967
52495
  var isLeaf = function isLeaf() {
51968
52496
  var children = data[childrenKey];
51969
52497
  if (children && children.length > 0) return false;
@@ -51991,7 +52519,7 @@ var useTreeNode = function useTreeNode(props) {
51991
52519
  };
51992
52520
  };
51993
52521
  /* harmony default export */ var use_tree_node = (useTreeNode);
51994
- ;// CONCATENATED MODULE: ../base/src/tree/tree-node.tsx
52522
+ ;// CONCATENATED MODULE: ../base/src/tree/tree-simple-node.tsx
51995
52523
 
51996
52524
 
51997
52525
 
@@ -52211,7 +52739,7 @@ var Node = function Node(props) {
52211
52739
  onDragStart: onDragStart,
52212
52740
  onDragEnd: onDragEnd,
52213
52741
  bindNode: bindNode,
52214
- childrenClassName: childrenClass(data),
52742
+ childrenClassName: isFunc(childrenClass) ? childrenClass === null || childrenClass === void 0 ? void 0 : childrenClass(data) : childrenClass,
52215
52743
  childrenKey: childrenKey,
52216
52744
  childrenClass: childrenClass,
52217
52745
  dragSibling: dragSibling,
@@ -52269,7 +52797,411 @@ var Node = function Node(props) {
52269
52797
  }), hasChildren && /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.createElement)(List, getChildrenListProps())]
52270
52798
  }));
52271
52799
  };
52272
- /* harmony default export */ var tree_node = (Node);
52800
+ /* harmony default export */ var tree_simple_node = (Node);
52801
+ ;// CONCATENATED MODULE: ../base/src/tree/tree-virtual-content.tsx
52802
+
52803
+
52804
+
52805
+
52806
+
52807
+
52808
+
52809
+
52810
+
52811
+
52812
+
52813
+
52814
+ var NodeVirtualContent = function NodeVirtualContent(props) {
52815
+ var jssStyle = props.jssStyle,
52816
+ id = props.id,
52817
+ level = props.level,
52818
+ active = props.active,
52819
+ data = props.data,
52820
+ line = props.line,
52821
+ iconClass = props.iconClass,
52822
+ contentClassProp = props.contentClass,
52823
+ expandIcons = props.expandIcons,
52824
+ renderItem = props.renderItem,
52825
+ expanded = props.expanded,
52826
+ fetching = props.fetching,
52827
+ inlineNode = props.inlineNode,
52828
+ childrenKey = props.childrenKey,
52829
+ parentClickExpand = props.parentClickExpand,
52830
+ doubleClickExpand = props.doubleClickExpand,
52831
+ bindContent = props.bindContent,
52832
+ highlight = props.highlight,
52833
+ setFetching = props.setFetching,
52834
+ loader = props.loader,
52835
+ onChange = props.onChange,
52836
+ onToggle = props.onToggle,
52837
+ onNodeClick = props.onNodeClick;
52838
+ var forceUpdate = useRender();
52839
+ var _useTreeContext = useTreeContext(),
52840
+ isDisabled = _useTreeContext.isDisabled,
52841
+ bindUpdate = _useTreeContext.bindUpdate;
52842
+ var clickLock = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(false);
52843
+ var config = useConfig();
52844
+ var disabled = isDisabled(id);
52845
+ bindUpdate(id, forceUpdate);
52846
+ var contentStyle = (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.tree()) || {};
52847
+ var rootClass = classnames_default()(contentStyle.contentWrapper, defineProperty_default()(defineProperty_default()(defineProperty_default()({}, contentStyle.childnode, data[childrenKey] && data[childrenKey].length > 0), contentStyle.inlineContent, inlineNode), contentStyle.contentDisabled, disabled));
52848
+ var contentClass = classnames_default()(contentStyle.content, isString(contentClassProp) && contentClassProp, isFunc(contentClassProp) && contentClassProp(data));
52849
+ // const textClass = classNames(contentStyle.text, disabled ? contentStyle.textDisabled : '');
52850
+ var textClass = classnames_default()(contentStyle.text);
52851
+ var hasExpandIcons = expandIcons !== undefined;
52852
+ var children = data[childrenKey];
52853
+ var hasChildren = children && children.length > 0;
52854
+ var contentDataProps = function contentDataProps() {
52855
+ var dataProps = {};
52856
+ if (highlight) {
52857
+ dataProps['data-active'] = active;
52858
+ }
52859
+ // if (disabled) {
52860
+ // dataProps['data-disabled'] = disabled;
52861
+ // }
52862
+ return dataProps;
52863
+ };
52864
+ var handleIndicatorClick = function handleIndicatorClick() {
52865
+ onToggle === null || onToggle === void 0 || onToggle(id);
52866
+ if (data[childrenKey] !== undefined) return;
52867
+ if (loader) {
52868
+ setFetching(true);
52869
+ var result = loader(id, data);
52870
+ if (isPromise(result)) {
52871
+ result.then(function () {
52872
+ setFetching(false);
52873
+ });
52874
+ }
52875
+ }
52876
+ };
52877
+ var handleNodeClick = function handleNodeClick() {
52878
+ if (parentClickExpand && hasChildren) {
52879
+ if (clickLock.current) {
52880
+ clickLock.current = false;
52881
+ return;
52882
+ }
52883
+ handleIndicatorClick();
52884
+ } else {
52885
+ onNodeClick(data, id);
52886
+ }
52887
+ };
52888
+ var handleClick = function handleClick() {
52889
+ clickLock.current = true;
52890
+ };
52891
+ var handleNodeExpand = function handleNodeExpand() {
52892
+ if (!doubleClickExpand) return;
52893
+ if (hasChildren) handleIndicatorClick();
52894
+ };
52895
+ var renderLoading = function renderLoading() {
52896
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
52897
+ style: {
52898
+ left: (level - 1) * 24
52899
+ },
52900
+ className: contentStyle.iconWrapper,
52901
+ "data-expanded": expanded,
52902
+ "data-icon": hasExpandIcons,
52903
+ dir: config.direction,
52904
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(src_spin_spin, {
52905
+ size: 12,
52906
+ jssStyle: jssStyle,
52907
+ ignoreConfig: true,
52908
+ name: "ring"
52909
+ })
52910
+ });
52911
+ };
52912
+ var renderIndicator = function renderIndicator() {
52913
+ var children = data[childrenKey];
52914
+ var icon = expandIcons ? expandIcons[expanded ? 1 : 0] : expanded ? icons_config.tree.LineExpand : icons_config.tree.LineCollapse;
52915
+ var indicator;
52916
+ if (line) {
52917
+ indicator = /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
52918
+ className: contentStyle.iconWrapper,
52919
+ "data-expanded": expanded,
52920
+ "data-icon": hasExpandIcons,
52921
+ dir: config.direction,
52922
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
52923
+ className: classnames_default()(contentStyle.icon, iconClass),
52924
+ onClick: handleIndicatorClick,
52925
+ dir: config.direction,
52926
+ children: isFunc(icon) ? icon(data) : icon
52927
+ })
52928
+ });
52929
+ } else {
52930
+ indicator = /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
52931
+ style: {
52932
+ left: (level - 1) * 24
52933
+ },
52934
+ className: contentStyle.iconWrapper,
52935
+ "data-expanded": expanded,
52936
+ "data-icon": hasExpandIcons,
52937
+ dir: config.direction,
52938
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
52939
+ className: classnames_default()(contentStyle.icon, iconClass),
52940
+ onClick: handleIndicatorClick,
52941
+ dir: config.direction,
52942
+ children: isFunc(icon) ? icon(data) : hasExpandIcons ? icon : icons_config.tree.Expand
52943
+ })
52944
+ });
52945
+ }
52946
+ if (children && children.length > 0) return indicator;
52947
+ if (Array.isArray(children) || children === null) return null;
52948
+ if (fetching && !children) return renderLoading();
52949
+ if (loader && children === undefined) return indicator;
52950
+ return null;
52951
+ };
52952
+ var renderCheckbox = function renderCheckbox() {
52953
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(tree_checkbox, {
52954
+ jssStyle: jssStyle,
52955
+ id: id,
52956
+ disabled: disabled,
52957
+ className: contentStyle.checkbox,
52958
+ onChange: onChange,
52959
+ onClick: handleClick
52960
+ });
52961
+ };
52962
+ var renderNode = function renderNode() {
52963
+ var render = isFunc(renderItem) ? renderItem : function (item) {
52964
+ return item[renderItem];
52965
+ };
52966
+ return render(data, expanded, active, id);
52967
+ };
52968
+ var contentEvent = {
52969
+ onClick: inlineNode ? undefined : handleNodeClick
52970
+ };
52971
+ var textEvent = {
52972
+ onClick: inlineNode ? handleNodeClick : undefined
52973
+ };
52974
+ return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
52975
+ className: rootClass,
52976
+ dir: config.direction,
52977
+ children: [renderIndicator(), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({
52978
+ dir: config.direction,
52979
+ "data-expanded": expanded,
52980
+ ref: bindContent,
52981
+ className: contentClass
52982
+ }, contentDataProps()), contentEvent), {}, {
52983
+ children: [onChange && renderCheckbox(), /*#__PURE__*/(0,jsx_runtime.jsx)("div", objectSpread2_default()(objectSpread2_default()({
52984
+ dir: config.direction,
52985
+ className: textClass,
52986
+ onDoubleClick: handleNodeExpand
52987
+ }, textEvent), {}, {
52988
+ children: renderNode()
52989
+ }))]
52990
+ }))]
52991
+ });
52992
+ };
52993
+ /* harmony default export */ var tree_virtual_content = (NodeVirtualContent);
52994
+ ;// CONCATENATED MODULE: ../hooks/src/components/use-tree/use-tree-virtual-node.ts
52995
+
52996
+
52997
+
52998
+ var useTreeVirtualNode = function useTreeVirtualNode(props) {
52999
+ var _datum$dataFlatStatus, _datum$dataFlatStatus2, _datum$dataFlatStatus3;
53000
+ var id = props.id,
53001
+ data = props.data,
53002
+ childrenKey = props.childrenKey,
53003
+ bindNode = props.bindNode,
53004
+ loader = props.loader,
53005
+ datum = props.datum;
53006
+ var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)((datum === null || datum === void 0 || (_datum$dataFlatStatus = datum.dataFlatStatusMap.get(id)) === null || _datum$dataFlatStatus === void 0 ? void 0 : _datum$dataFlatStatus.active) || false),
53007
+ _useState2 = slicedToArray_default()(_useState, 2),
53008
+ active = _useState2[0],
53009
+ setActive = _useState2[1];
53010
+ var _useState3 = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)((datum === null || datum === void 0 || (_datum$dataFlatStatus2 = datum.dataFlatStatusMap.get(id)) === null || _datum$dataFlatStatus2 === void 0 ? void 0 : _datum$dataFlatStatus2.expanded) || false),
53011
+ _useState4 = slicedToArray_default()(_useState3, 2),
53012
+ expanded = _useState4[0],
53013
+ setExpanded = _useState4[1];
53014
+ var _useState5 = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)((datum === null || datum === void 0 || (_datum$dataFlatStatus3 = datum.dataFlatStatusMap.get(id)) === null || _datum$dataFlatStatus3 === void 0 ? void 0 : _datum$dataFlatStatus3.fetching) || false),
53015
+ _useState6 = slicedToArray_default()(_useState5, 2),
53016
+ fetching = _useState6[0],
53017
+ setFetching = _useState6[1];
53018
+ var update = use_persist_fn(function (key, value) {
53019
+ switch (key) {
53020
+ case 'active':
53021
+ if (value !== active) {
53022
+ setActive(value);
53023
+ }
53024
+ break;
53025
+ case 'expanded':
53026
+ setExpanded(value);
53027
+ break;
53028
+ case 'fetching':
53029
+ if (value !== fetching) {
53030
+ setFetching(value);
53031
+ }
53032
+ break;
53033
+ }
53034
+ });
53035
+ var handleToggle = function handleToggle() {};
53036
+ var handleSetFetchind = function handleSetFetchind(v) {
53037
+ datum === null || datum === void 0 || datum.dataFlatStatusMap.set(id, {
53038
+ active: active,
53039
+ expanded: expanded,
53040
+ fetching: v
53041
+ });
53042
+ setFetching(v);
53043
+ };
53044
+ var handleSetExpanded = function handleSetExpanded(v) {
53045
+ datum === null || datum === void 0 || datum.dataFlatStatusMap.set(id, {
53046
+ active: active,
53047
+ expanded: v,
53048
+ fetching: fetching
53049
+ });
53050
+ setExpanded(v);
53051
+ };
53052
+ var isLeaf = function isLeaf() {
53053
+ var children = data[childrenKey];
53054
+ if (children && children.length > 0) return false;
53055
+ if (Array.isArray(children) || children === null) return true;
53056
+ if (fetching && !children) return false;
53057
+ if (loader && !fetching) return false;
53058
+ return true;
53059
+ };
53060
+ (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
53061
+ bindNode(id, update, data);
53062
+ }, []);
53063
+ return {
53064
+ update: update,
53065
+ active: active,
53066
+ expanded: expanded,
53067
+ fetching: fetching,
53068
+ isLeaf: isLeaf,
53069
+ setFetching: handleSetFetchind,
53070
+ setExpanded: handleSetExpanded,
53071
+ onToggle: handleToggle
53072
+ };
53073
+ };
53074
+ /* harmony default export */ var use_tree_virtual_node = (useTreeVirtualNode);
53075
+ ;// CONCATENATED MODULE: ../base/src/tree/tree-virtual-node.tsx
53076
+
53077
+
53078
+
53079
+
53080
+
53081
+
53082
+
53083
+
53084
+ var tree_virtual_node_placeElement = null;
53085
+ var VirtualNode = function VirtualNode(props) {
53086
+ var jssStyle = props.jssStyle,
53087
+ id = props.id,
53088
+ data = props.data,
53089
+ level = props.level,
53090
+ line = props.line,
53091
+ isControlled = props.isControlled,
53092
+ renderItem = props.renderItem,
53093
+ parentClickExpand = props.parentClickExpand,
53094
+ doubleClickExpand = props.doubleClickExpand,
53095
+ iconClass = props.iconClass,
53096
+ leafClass = props.leafClass,
53097
+ nodeClass = props.nodeClass,
53098
+ contentClass = props.contentClass,
53099
+ expandIcons = props.expandIcons,
53100
+ keygen = props.keygen,
53101
+ mode = props.mode,
53102
+ childrenKey = props.childrenKey,
53103
+ inlineNode = props.inlineNode,
53104
+ highlight = props.highlight,
53105
+ loader = props.loader,
53106
+ onChange = props.onChange,
53107
+ onNodeClick = props.onNodeClick,
53108
+ onToggle = props.onToggle;
53109
+ var config = useConfig();
53110
+ var datum = useTreeContext();
53111
+ var element = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
53112
+ var content = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
53113
+ var _useTreeVirtualNode = use_tree_virtual_node({
53114
+ id: id,
53115
+ data: data,
53116
+ datum: datum,
53117
+ bindNode: datum.bindVirtualNode,
53118
+ loader: loader,
53119
+ onToggle: onToggle,
53120
+ childrenKey: childrenKey,
53121
+ element: element,
53122
+ content: content.current
53123
+ }),
53124
+ active = _useTreeVirtualNode.active,
53125
+ isLeaf = _useTreeVirtualNode.isLeaf,
53126
+ fetching = _useTreeVirtualNode.fetching,
53127
+ setFetching = _useTreeVirtualNode.setFetching,
53128
+ expanded = _useTreeVirtualNode.expanded,
53129
+ setExpanded = _useTreeVirtualNode.setExpanded;
53130
+ var children = data[childrenKey];
53131
+ var hasChildren = children && children.length > 0;
53132
+ var contentStyle = (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.tree()) || {};
53133
+ var rootClass = classnames_default()(contentStyle.node, isLeaf() && (isString(leafClass) ? leafClass : isFunc(leafClass) && leafClass(data)), isString(nodeClass) && nodeClass, isFunc(nodeClass) && nodeClass(data), defineProperty_default()({}, contentStyle.leaf, !hasChildren));
53134
+ if (tree_virtual_node_placeElement) {
53135
+ tree_virtual_node_placeElement.className = contentStyle.placement;
53136
+ }
53137
+ var handleFetch = function handleFetch() {};
53138
+ var handleToggle = function handleToggle() {
53139
+ var nextExpanded = !expanded;
53140
+ setExpanded(nextExpanded);
53141
+ var status = datum.dataFlatStatusMap.get(id);
53142
+ datum.dataFlatStatusMap.set(id, {
53143
+ active: (status === null || status === void 0 ? void 0 : status.active) || false,
53144
+ fetching: (status === null || status === void 0 ? void 0 : status.fetching) || false,
53145
+ expanded: nextExpanded
53146
+ });
53147
+ if (onToggle) onToggle(id, nextExpanded);
53148
+ };
53149
+ return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
53150
+ ref: element,
53151
+ className: rootClass,
53152
+ dir: config.direction,
53153
+ style: {
53154
+ paddingLeft: level * 24
53155
+ },
53156
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)(tree_virtual_content, {
53157
+ jssStyle: jssStyle,
53158
+ isControlled: isControlled,
53159
+ id: id,
53160
+ level: level,
53161
+ line: line,
53162
+ data: data,
53163
+ mode: mode,
53164
+ contentClass: contentClass,
53165
+ active: active,
53166
+ fetching: fetching,
53167
+ expanded: expanded,
53168
+ keygen: keygen,
53169
+ bindContent: content,
53170
+ childrenKey: childrenKey,
53171
+ renderItem: renderItem,
53172
+ iconClass: iconClass,
53173
+ leafClass: leafClass,
53174
+ expandIcons: expandIcons,
53175
+ parentClickExpand: parentClickExpand,
53176
+ doubleClickExpand: doubleClickExpand,
53177
+ loader: loader,
53178
+ inlineNode: inlineNode,
53179
+ highlight: highlight,
53180
+ setFetching: setFetching,
53181
+ onChange: onChange,
53182
+ onFetch: handleFetch,
53183
+ onNodeClick: onNodeClick,
53184
+ onToggle: handleToggle
53185
+ })
53186
+ });
53187
+ };
53188
+ /* harmony default export */ var tree_virtual_node = (VirtualNode);
53189
+ ;// CONCATENATED MODULE: ../base/src/tree/tree-node.tsx
53190
+
53191
+
53192
+
53193
+
53194
+
53195
+ var TreeNode = function TreeNode(props) {
53196
+ var virtual = props.virtual;
53197
+ if (virtual) {
53198
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(tree_virtual_node, objectSpread2_default()(objectSpread2_default()({}, props), {}, {
53199
+ level: 1
53200
+ }));
53201
+ }
53202
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(tree_simple_node, objectSpread2_default()({}, props));
53203
+ };
53204
+ /* harmony default export */ var tree_node = (TreeNode);
52273
53205
  ;// CONCATENATED MODULE: ../base/src/tree/tree-list.tsx
52274
53206
 
52275
53207
 
@@ -52296,6 +53228,8 @@ var tree_list_List = function List(props) {
52296
53228
  iconClass = props.iconClass,
52297
53229
  leafClass = props.leafClass,
52298
53230
  nodeClass = props.nodeClass,
53231
+ _props$rootStyle = props.rootStyle,
53232
+ rootStyle = _props$rootStyle === void 0 ? {} : _props$rootStyle,
52299
53233
  contentClass = props.contentClass,
52300
53234
  expandIcons = props.expandIcons,
52301
53235
  childrenKey = props.childrenKey,
@@ -52374,7 +53308,7 @@ var tree_list_List = function List(props) {
52374
53308
  };
52375
53309
  if (!expanded && !hasExpanded.current) return null;
52376
53310
  hasExpanded.current = true;
52377
- var newStyle = Object.assign({}, style, {
53311
+ var newStyle = Object.assign(rootStyle, style, {
52378
53312
  display: expanded ? 'block' : 'none'
52379
53313
  });
52380
53314
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@@ -52389,29 +53323,118 @@ var tree_list_List = function List(props) {
52389
53323
  ;// CONCATENATED MODULE: ../base/src/tree/tree-root.tsx
52390
53324
 
52391
53325
 
52392
- var tree_root_excluded = ["jssStyle"];
53326
+ var tree_root_excluded = ["jssStyle", "rootStyle"];
52393
53327
 
52394
53328
 
52395
53329
 
52396
53330
  var Root = function Root(props) {
52397
53331
  var jssStyle = props.jssStyle,
53332
+ _props$rootStyle = props.rootStyle,
53333
+ rootStyle = _props$rootStyle === void 0 ? {} : _props$rootStyle,
52398
53334
  rest = objectWithoutProperties_default()(props, tree_root_excluded);
52399
53335
  var treeStyle = (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.tree()) || {};
52400
53336
  var rootClass = classnames_default()(treeStyle.root);
52401
53337
  return /*#__PURE__*/(0,jsx_runtime.jsx)(tree_list, objectSpread2_default()(objectSpread2_default()({}, rest), {}, {
52402
53338
  expanded: true,
52403
53339
  className: rootClass,
52404
- jssStyle: jssStyle
53340
+ jssStyle: jssStyle,
53341
+ style: rootStyle
52405
53342
  }));
52406
53343
  };
52407
53344
  /* harmony default export */ var tree_root = (Root);
53345
+ ;// CONCATENATED MODULE: ../base/src/tree/tree-virtual.tsx
53346
+
53347
+
53348
+
53349
+
53350
+ var TreeVirtual = function TreeVirtual(props) {
53351
+ var jssStyle = props.jssStyle,
53352
+ height = props.height,
53353
+ _props$lineHeight = props.lineHeight,
53354
+ lineHeight = _props$lineHeight === void 0 ? 36 : _props$lineHeight,
53355
+ line = props.line,
53356
+ mode = props.mode,
53357
+ contentClass = props.contentClass,
53358
+ expandIcons = props.expandIcons,
53359
+ loader = props.loader,
53360
+ inlineNode = props.inlineNode,
53361
+ highlight = props.highlight,
53362
+ parentClickExpand = props.parentClickExpand,
53363
+ doubleClickExpand = props.doubleClickExpand,
53364
+ expanded = props.expanded,
53365
+ keygen = props.keygen,
53366
+ defaultExpandAll = props.defaultExpandAll,
53367
+ active = props.active,
53368
+ isControlled = props.isControlled,
53369
+ childrenClass = props.childrenClass,
53370
+ childrenKey = props.childrenKey,
53371
+ iconClass = props.iconClass,
53372
+ leafClass = props.leafClass,
53373
+ nodeClass = props.nodeClass,
53374
+ onNodeClick = props.onNodeClick,
53375
+ onToggle = props.onToggle,
53376
+ onChange = props.onChange;
53377
+ var datum = useTreeContext();
53378
+ var renderItem = function renderItem(item, index) {
53379
+ var id = item.id,
53380
+ data = item.data,
53381
+ level = item.level;
53382
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(tree_virtual_node, {
53383
+ jssStyle: jssStyle,
53384
+ id: id,
53385
+ level: level,
53386
+ data: data,
53387
+ index: index,
53388
+ line: line,
53389
+ keygen: keygen,
53390
+ defaultExpandAll: defaultExpandAll,
53391
+ isControlled: isControlled,
53392
+ mode: mode,
53393
+ active: active,
53394
+ childrenClass: childrenClass,
53395
+ childrenKey: childrenKey,
53396
+ renderItem: props.renderItem,
53397
+ iconClass: iconClass,
53398
+ leafClass: leafClass,
53399
+ nodeClass: nodeClass,
53400
+ contentClass: contentClass,
53401
+ expandIcons: expandIcons,
53402
+ loader: loader,
53403
+ inlineNode: inlineNode,
53404
+ highlight: highlight,
53405
+ parentClickExpand: parentClickExpand,
53406
+ doubleClickExpand: doubleClickExpand,
53407
+ expanded: expanded,
53408
+ onNodeClick: onNodeClick,
53409
+ onToggle: onToggle,
53410
+ onChange: onChange
53411
+ }, id);
53412
+ };
53413
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(virtual_scroll_list, {
53414
+ data: datum.dataFlat,
53415
+ height: height,
53416
+ rowsInView: 10,
53417
+ scrollerStyle: {
53418
+ height: '100%',
53419
+ width: '100%',
53420
+ overflow: 'auto',
53421
+ padding: '0 4px'
53422
+ },
53423
+ keepScrollHeight: true,
53424
+ dynamicVirtual: true,
53425
+ lineHeight: lineHeight,
53426
+ renderItem: renderItem
53427
+ });
53428
+ };
53429
+ /* harmony default export */ var tree_virtual = (TreeVirtual);
52408
53430
  ;// CONCATENATED MODULE: ../base/src/tree/tree.tsx
52409
53431
 
52410
53432
 
52411
53433
 
52412
53434
 
52413
53435
 
52414
- var tree_excluded = ["jssStyle", "line", "childrenKey", "data", "value", "mode", "keygen", "expanded", "expandIcons", "iconClass", "leafClass", "nodeClass", "contentClass", "renderItem", "defaultValue", "dataUpdate", "childrenClass", "defaultExpandAll", "defaultExpanded", "parentClickExpand", "doubleClickExpand", "dragImageSelector", "dragImageStyle", "dragSibling", "unmatch", "dragHoverExpand", "active", "setActive", "disabled", "inlineNode", "highlight", "className", "onClick", "loader", "getDatum", "onDrop", "onExpand", "onChange", "onDragEnd", "onDragLeave", "onDragOver", "onDragStart", "datum"];
53436
+ var tree_excluded = ["jssStyle", "line", "childrenKey", "data", "value", "mode", "keygen", "virtual", "expanded", "expandIcons", "iconClass", "leafClass", "nodeClass", "contentClass", "rootStyle", "renderItem", "defaultValue", "dataUpdate", "childrenClass", "defaultExpandAll", "defaultExpanded", "parentClickExpand", "doubleClickExpand", "dragImageSelector", "dragImageStyle", "dragSibling", "unmatch", "dragHoverExpand", "active", "setActive", "disabled", "inlineNode", "highlight", "className", "onClick", "loader", "getDatum", "onDrop", "onExpand", "onChange", "onDragEnd", "onDragLeave", "onDragOver", "onDragStart", "datum"];
53437
+
52415
53438
 
52416
53439
 
52417
53440
 
@@ -52431,12 +53454,14 @@ var Tree = function Tree(props) {
52431
53454
  _props$mode = props.mode,
52432
53455
  mode = _props$mode === void 0 ? 1 : _props$mode,
52433
53456
  keygen = props.keygen,
53457
+ virtual = props.virtual,
52434
53458
  expandedProp = props.expanded,
52435
53459
  expandIcons = props.expandIcons,
52436
53460
  iconClass = props.iconClass,
52437
53461
  leafClass = props.leafClass,
52438
53462
  nodeClass = props.nodeClass,
52439
53463
  contentClass = props.contentClass,
53464
+ rootStyle = props.rootStyle,
52440
53465
  renderItem = props.renderItem,
52441
53466
  defaultValue = props.defaultValue,
52442
53467
  _props$dataUpdate = props.dataUpdate,
@@ -52480,6 +53505,7 @@ var Tree = function Tree(props) {
52480
53505
  setActive(propActive);
52481
53506
  }
52482
53507
  }, [active, propActive]);
53508
+ var treeRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
52483
53509
  var _useRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)({
52484
53510
  mounted: false
52485
53511
  }),
@@ -52495,10 +53521,11 @@ var Tree = function Tree(props) {
52495
53521
  expanded: expandedProp,
52496
53522
  disabled: disabled,
52497
53523
  defaultValue: defaultValue,
52498
- defaultExpandAll: defaultExpandAll,
52499
- defaultExpanded: defaultExpanded,
53524
+ defaultExpandAll: expandedProp ? undefined : defaultExpandAll,
53525
+ defaultExpanded: expandedProp ? undefined : defaultExpanded,
52500
53526
  childrenKey: childrenKey,
52501
53527
  keygen: keygen,
53528
+ virtual: virtual,
52502
53529
  onExpand: onExpandProp,
52503
53530
  datum: propsDatum
52504
53531
  }),
@@ -52506,13 +53533,27 @@ var Tree = function Tree(props) {
52506
53533
  expanded = _useTree.expanded,
52507
53534
  onExpand = _useTree.onExpand;
52508
53535
  var treeStyle = (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.tree()) || {};
52509
- var rootClass = classnames_default()(treeStyle.rootClass, treeStyle.tree, className, defineProperty_default()(defineProperty_default()({}, treeStyle.line, line), treeStyle.noline, !line));
53536
+ var rootClass = classnames_default()(treeStyle.rootClass, treeStyle.tree, className, defineProperty_default()(defineProperty_default()(defineProperty_default()({}, treeStyle.line, line), treeStyle.noline, !line), treeStyle.virtual, virtual));
52510
53537
  var getDragImageSelector = function getDragImageSelector(data) {
52511
53538
  if (isFunc(dragImageSelector)) return dragImageSelector(data);
52512
53539
  return dragImageSelector;
52513
53540
  };
53541
+ var getHeight = function getHeight() {
53542
+ var _ref = props.style || {},
53543
+ styleHeight = _ref.height;
53544
+ if (!styleHeight && !props.height) {
53545
+ var _treeRef$current;
53546
+ var containerHeight = (_treeRef$current = treeRef.current) === null || _treeRef$current === void 0 || (_treeRef$current = _treeRef$current.parentElement) === null || _treeRef$current === void 0 ? void 0 : _treeRef$current.clientHeight;
53547
+ return containerHeight;
53548
+ }
53549
+ return props.height || styleHeight;
53550
+ };
52514
53551
  var handleUpdateExpanded = function handleUpdateExpanded(expanded) {
52515
53552
  var tempExpandMap = new Set(expanded);
53553
+ if (!expanded) return;
53554
+ if (virtual) {
53555
+ datum.expandedFlat(expanded);
53556
+ }
52516
53557
  datum.updateMap.forEach(function (update, id) {
52517
53558
  update('expanded', tempExpandMap.has(id));
52518
53559
  });
@@ -52543,8 +53584,10 @@ var Tree = function Tree(props) {
52543
53584
  newExpanded = expandedArr.filter(function (e) {
52544
53585
  return e !== id;
52545
53586
  });
53587
+ if (virtual) datum.removeFlat(id);
52546
53588
  } else {
52547
53589
  newExpanded = [].concat(toConsumableArray_default()(expandedArr), [id]);
53590
+ if (virtual) datum.insertFlat(id);
52548
53591
  }
52549
53592
  if (onExpand) onExpand(newExpanded);
52550
53593
  };
@@ -52600,6 +53643,60 @@ var Tree = function Tree(props) {
52600
53643
  onDrop(newData, id, targetId, position);
52601
53644
  }
52602
53645
  };
53646
+ var renderList = function renderList() {
53647
+ if (virtual) {
53648
+ var realHeight = getHeight();
53649
+ if (!realHeight) return null;
53650
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(tree_virtual, objectSpread2_default()(objectSpread2_default()({}, props), {}, {
53651
+ data: data,
53652
+ line: line,
53653
+ expanded: expanded,
53654
+ height: realHeight,
53655
+ childrenKey: props.childrenKey || 'children',
53656
+ isControlled: 'expanded' in props,
53657
+ bindNode: datum.bindNode,
53658
+ onNodeClick: handleNodeClick,
53659
+ onToggle: handleToggle
53660
+ }));
53661
+ }
53662
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(tree_root, {
53663
+ rootStyle: rootStyle,
53664
+ isControlled: 'expanded' in props,
53665
+ jssStyle: jssStyle,
53666
+ data: data,
53667
+ mode: mode,
53668
+ line: line,
53669
+ keygen: keygen,
53670
+ onChange: onChange,
53671
+ iconClass: iconClass,
53672
+ leafClass: leafClass,
53673
+ nodeClass: nodeClass,
53674
+ contentClass: contentClass,
53675
+ expanded: expanded,
53676
+ expandIcons: expandIcons,
53677
+ defaultExpandAll: defaultExpandAll,
53678
+ childrenClass: childrenClass,
53679
+ bindNode: datum.bindNode,
53680
+ childrenKey: childrenKey,
53681
+ onNodeClick: handleNodeClick,
53682
+ renderItem: renderItem,
53683
+ loader: loader,
53684
+ inlineNode: inlineNode,
53685
+ highlight: highlight,
53686
+ onToggle: handleToggle,
53687
+ onDrop: onDrop && handleDrop,
53688
+ onDragOver: onDragOver,
53689
+ onDragStart: onDragStart,
53690
+ onDragEnd: onDragEnd,
53691
+ onDragLeave: onDragLeave,
53692
+ dragSibling: dragSibling,
53693
+ dragHoverExpand: dragHoverExpand,
53694
+ parentClickExpand: parentClickExpand,
53695
+ doubleClickExpand: doubleClickExpand,
53696
+ dragImageSelector: getDragImageSelector,
53697
+ dragImageStyle: dragImageStyle
53698
+ });
53699
+ };
52603
53700
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
52604
53701
  // 首次渲染不更新
52605
53702
  if (!context.mounted) {
@@ -52619,49 +53716,13 @@ var Tree = function Tree(props) {
52619
53716
  var _useContext = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useContext)(FormFieldContext),
52620
53717
  fieldId = _useContext.fieldId;
52621
53718
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", objectSpread2_default()(objectSpread2_default()({
53719
+ ref: treeRef,
52622
53720
  className: rootClass,
52623
53721
  id: fieldId
52624
53722
  }, rest), {}, {
52625
53723
  children: /*#__PURE__*/(0,jsx_runtime.jsx)(tree_context_Provider, {
52626
53724
  value: datum,
52627
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(tree_root, {
52628
- isControlled: 'expanded' in props,
52629
- jssStyle: jssStyle,
52630
- data: data,
52631
- mode: mode,
52632
- line: line,
52633
- keygen: keygen,
52634
- onChange: onChange,
52635
- iconClass: iconClass,
52636
- leafClass: leafClass,
52637
- nodeClass: nodeClass,
52638
- contentClass: contentClass,
52639
- expanded: expanded,
52640
- expandIcons: expandIcons,
52641
- defaultExpandAll: defaultExpandAll,
52642
- childrenClass: isFunc(childrenClass) ? childrenClass : function () {
52643
- return childrenClass;
52644
- },
52645
- bindNode: datum.bindNode,
52646
- childrenKey: childrenKey,
52647
- onNodeClick: handleNodeClick,
52648
- renderItem: renderItem,
52649
- loader: loader,
52650
- inlineNode: inlineNode,
52651
- highlight: highlight,
52652
- onToggle: handleToggle,
52653
- onDrop: onDrop && handleDrop,
52654
- onDragOver: onDragOver,
52655
- onDragStart: onDragStart,
52656
- onDragEnd: onDragEnd,
52657
- onDragLeave: onDragLeave,
52658
- dragSibling: dragSibling,
52659
- dragHoverExpand: dragHoverExpand,
52660
- parentClickExpand: parentClickExpand,
52661
- doubleClickExpand: doubleClickExpand,
52662
- dragImageSelector: getDragImageSelector,
52663
- dragImageStyle: dragImageStyle
52664
- })
53725
+ children: renderList()
52665
53726
  })
52666
53727
  }));
52667
53728
  };
@@ -54551,6 +55612,7 @@ var list_list_List = function List(props) {
54551
55612
  children: [/*#__PURE__*/(0,jsx_runtime.jsx)(base_src_checkbox_checkbox, {
54552
55613
  jssStyle: props.jssStyle,
54553
55614
  checked: datum.check(item),
55615
+ size: props.size,
54554
55616
  disabled: datum.disabledCheck(item),
54555
55617
  onChange: function onChange(_value, checked) {
54556
55618
  if (checked) {
@@ -56015,6 +57077,9 @@ var confirm_Confirm = function Confirm(props) {
56015
57077
  jssStyle: jssStyle,
56016
57078
  type: type,
56017
57079
  title: title,
57080
+ titleStyle: {
57081
+ fontSize: 14
57082
+ },
56018
57083
  icon: icon,
56019
57084
  children: _children
56020
57085
  }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@@ -56240,6 +57305,11 @@ var Circle = function Circle(props) {
56240
57305
  var width = value === 0 && strokeLinecap === 'round' ? 0 : strokeWidth;
56241
57306
  var objColor = color && typeof_default()(color) === 'object';
56242
57307
  var mc = classnames_default()(props.className, progressClasses === null || progressClasses === void 0 ? void 0 : progressClasses.rootClass, progressClasses === null || progressClasses === void 0 ? void 0 : progressClasses.circle, progressClasses === null || progressClasses === void 0 ? void 0 : progressClasses.wrapper, type === 'success' && (progressClasses === null || progressClasses === void 0 ? void 0 : progressClasses.wrapperSuccess), type === 'info' && (progressClasses === null || progressClasses === void 0 ? void 0 : progressClasses.wrapperInfo), type === 'warning' && (progressClasses === null || progressClasses === void 0 ? void 0 : progressClasses.wrapperWarning), type === 'danger' && (progressClasses === null || progressClasses === void 0 ? void 0 : progressClasses.wrapperDanger));
57308
+ console.log('======================');
57309
+ console.log('dasharray: >>', dasharray);
57310
+ console.log('strokeLinecap: >>', strokeLinecap);
57311
+ console.log('width: >>', width);
57312
+ console.log('======================');
56243
57313
  return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
56244
57314
  className: mc,
56245
57315
  style: style,
@@ -58869,129 +59939,6 @@ var useTableSort = function useTableSort(props) {
58869
59939
  };
58870
59940
  };
58871
59941
  /* harmony default export */ var use_table_sort = (useTableSort);
58872
- ;// CONCATENATED MODULE: ../hooks/src/components/use-table/use-table-tree.tsx
58873
-
58874
-
58875
-
58876
-
58877
-
58878
-
58879
-
58880
-
58881
- var getExpandData = function getExpandData(_treeData, keys, keygen, treeColumnsName) {
58882
- var expandKeys = keys;
58883
- var expandSet = new Set(expandKeys);
58884
- var unmatchExpandKeys = [];
58885
- var treeExpandLevel = new Map();
58886
- if (expandSet.size === 0 || !treeColumnsName) {
58887
- return {
58888
- treeData: _treeData,
58889
- treeExpandLevel: treeExpandLevel,
58890
- unmatchExpandKeys: unmatchExpandKeys
58891
- };
58892
- }
58893
- var treeData = toConsumableArray_default()(_treeData || []);
58894
- var _loop = function _loop() {
58895
- if (expandSet.size === 0) return 1; // break
58896
- var item = treeData[i];
58897
- var key = getKey(keygen, item, i);
58898
- var parentLevel = treeExpandLevel.get(key) || 0;
58899
- var children = is_isObject(item) && item[treeColumnsName];
58900
- if (expandSet.has(key)) {
58901
- if (children && children.length > 0) {
58902
- children.forEach(function (child) {
58903
- treeExpandLevel.set(getKey(keygen, child), parentLevel + 1);
58904
- });
58905
- treeData.splice.apply(treeData, [i + 1, 0].concat(toConsumableArray_default()(children)));
58906
- expandSet.delete(key);
58907
- } else {
58908
- unmatchExpandKeys.push(key);
58909
- }
58910
- }
58911
- };
58912
- for (var i = 0; i < treeData.length; i++) {
58913
- if (_loop()) break;
58914
- }
58915
- return {
58916
- treeData: treeData,
58917
- treeExpandLevel: treeExpandLevel,
58918
- unmatchExpandKeys: unmatchExpandKeys
58919
- };
58920
- };
58921
- var useTableTree = function useTableTree(props) {
58922
- var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(props.defaultTreeExpandKeys || []),
58923
- _useState2 = slicedToArray_default()(_useState, 2),
58924
- expandKeysState = _useState2[0],
58925
- setExpandKeysState = _useState2[1];
58926
- var _useRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)({
58927
- changedByExpand: false
58928
- }),
58929
- context = _useRef.current;
58930
- (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
58931
- context.changedByExpand = false;
58932
- }, [expandKeysState, props.treeExpandKeys]);
58933
- var expandKeys = props.treeExpandKeys === undefined ? expandKeysState : props.treeExpandKeys;
58934
- var handleTreeExpand = usePersistFn(function (data, index) {
58935
- var key = getKey(props.keygen, data, index);
58936
- var changeKeys = new Set(expandKeys);
58937
- if (changeKeys.has(key)) {
58938
- changeKeys.delete(key);
58939
- } else {
58940
- changeKeys.add(key);
58941
- }
58942
- if (props.treeExpandKeys === undefined) {
58943
- setExpandKeysState(Array.from(changeKeys));
58944
- } else if (props.onTreeExpand) {
58945
- var _props$onTreeExpand;
58946
- (_props$onTreeExpand = props.onTreeExpand) === null || _props$onTreeExpand === void 0 || _props$onTreeExpand.call(props, Array.from(changeKeys), data, changeKeys.has(key), index);
58947
- }
58948
- context.changedByExpand = true;
58949
- });
58950
- var isTreeExpanded = usePersistFn(function (data, index) {
58951
- if (!props.treeColumnsName) return false;
58952
- var key = getKey(props.keygen, data, index);
58953
- return expandKeys.includes(key);
58954
- });
58955
- var func = useLatestObj({
58956
- isTreeExpanded: isTreeExpanded,
58957
- handleTreeExpand: handleTreeExpand
58958
- });
58959
- var _useMemo = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
58960
- return getExpandData(props.data, expandKeys, props.keygen, props.treeColumnsName);
58961
- }, [props.data, expandKeys, props.treeColumnsName]),
58962
- treeData = _useMemo.treeData,
58963
- treeExpandLevel = _useMemo.treeExpandLevel,
58964
- unmatchExpandKeys = _useMemo.unmatchExpandKeys;
58965
- var isEmptyTree = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
58966
- var _props$data$filter;
58967
- return ((_props$data$filter = props.data.filter(function (item) {
58968
- var _item;
58969
- return (_item = item[props.treeColumnsName]) === null || _item === void 0 ? void 0 : _item.length;
58970
- })) === null || _props$data$filter === void 0 ? void 0 : _props$data$filter.length) === 0;
58971
- }, [props.data, props.treeColumnsName]);
58972
- (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
58973
- if (!unmatchExpandKeys.length || !expandKeysState.length) {
58974
- return;
58975
- }
58976
-
58977
- // 检查treeData中的每一项,对比expandKeysState,如果expandKeysState有但是children是空的,则需要修正expandKeysState
58978
- var newExpandKeys = expandKeysState.filter(function (key) {
58979
- return !unmatchExpandKeys.includes(key);
58980
- });
58981
- if (shallowEqual(newExpandKeys, expandKeysState)) {
58982
- return;
58983
- }
58984
- setExpandKeysState(newExpandKeys);
58985
- }, [unmatchExpandKeys, expandKeysState]);
58986
- return {
58987
- data: treeData,
58988
- treeExpandLevel: treeExpandLevel,
58989
- changedByExpand: context.changedByExpand,
58990
- isEmptyTree: isEmptyTree,
58991
- func: func
58992
- };
58993
- };
58994
- /* harmony default export */ var use_table_tree = (useTableTree);
58995
59942
  ;// CONCATENATED MODULE: ../hooks/src/components/use-table/use-table-virtual.tsx
58996
59943
 
58997
59944
 
@@ -59150,7 +60097,7 @@ var useTableVirtual = function useTableVirtual(props) {
59150
60097
  });
59151
60098
  }
59152
60099
  });
59153
- var updateIndexAndTopFromTop = function updateIndexAndTopFromTop(scrollTop) {
60100
+ var updateIndexAndTopFromTop = function updateIndexAndTopFromTop(scrollTop, fromDrag) {
59154
60101
  var _props$scrollRef$curr;
59155
60102
  if (props.disabled) return;
59156
60103
  var sum = 0;
@@ -59190,7 +60137,7 @@ var useTableVirtual = function useTableVirtual(props) {
59190
60137
  setStartIndex(currentIndex);
59191
60138
 
59192
60139
  // startIndex处于上方某个合并行的中间一行时,可能引起translate闪烁
59193
- if (startIndex < currentIndex) {
60140
+ if (rowSpanInfo && !fromDrag && startIndex < currentIndex) {
59194
60141
  context.autoAddRows = currentIndex - startIndex;
59195
60142
  setTimeout(function () {
59196
60143
  context.autoAddRows = 0;
@@ -59250,7 +60197,7 @@ var useTableVirtual = function useTableVirtual(props) {
59250
60197
  // 拖动滚动条
59251
60198
  if (fromDrag) {
59252
60199
  var top = y * max;
59253
- updateIndexAndTopFromTop(top);
60200
+ updateIndexAndTopFromTop(top, fromDrag);
59254
60201
  if (context.rateTimer) clearTimeout(context.rateTimer);
59255
60202
  context.rateTimer = setTimeout(function () {
59256
60203
  updateRateScroll(y);
@@ -62764,7 +63711,7 @@ var TransferList = function TransferList(props) {
62764
63711
  disabled: disabled === true,
62765
63712
  onFilter: handleFilter,
62766
63713
  placeholder: getLocale(locale, 'search'),
62767
- isSrouce: listType === 'source'
63714
+ isSource: listType === 'source'
62768
63715
  })
62769
63716
  });
62770
63717
  }
@@ -63086,10 +64033,10 @@ var Transfer = function Transfer(props) {
63086
64033
  };
63087
64034
  var renderSourceList = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
63088
64035
  return renderList('source');
63089
- }, [source, size, filterSourceText, sourceSelectedKeys]);
64036
+ }, [source, size, filterSourceText, sourceSelectedKeys, renderFilter]);
63090
64037
  var renderTargetList = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
63091
64038
  return renderList('target');
63092
- }, [target, size, filterTargetText, targetSelectedKeys]);
64039
+ }, [target, size, filterTargetText, targetSelectedKeys, renderFilter]);
63093
64040
  var _useContext = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useContext)(FormFieldContext),
63094
64041
  fieldId = _useContext.fieldId;
63095
64042
  return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@@ -63263,6 +64210,7 @@ var TreeSelect = function TreeSelect(props0) {
63263
64210
  width = props.width,
63264
64211
  _props$height = props.height,
63265
64212
  height = _props$height === void 0 ? 250 : _props$height,
64213
+ virtual = props.virtual,
63266
64214
  childrenKey = props.childrenKey,
63267
64215
  keygen = props.keygen,
63268
64216
  loader = props.loader,
@@ -63311,6 +64259,10 @@ var TreeSelect = function TreeSelect(props0) {
63311
64259
  _useState2 = slicedToArray_default()(_useState, 2),
63312
64260
  focused = _useState2[0],
63313
64261
  setFocused = _useState2[1];
64262
+ var _useState3 = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)([]),
64263
+ _useState4 = slicedToArray_default()(_useState3, 2),
64264
+ virtualExpanded = _useState4[0],
64265
+ setVirtualExpanded = _useState4[1];
63314
64266
  var _useTreeSelect = use_treeselect({
63315
64267
  value: valueProp,
63316
64268
  onChange: onChangeProp,
@@ -63350,23 +64302,6 @@ var TreeSelect = function TreeSelect(props0) {
63350
64302
  onClearCreatedData = _useFilter.onClearCreatedData,
63351
64303
  setInputText = _useFilter.setInputText;
63352
64304
  var controlExpanded = 'expanded' in props || expanded !== null && expanded !== void 0 && expanded.length ? expanded : undefined;
63353
- var _useTree = use_tree({
63354
- mode: mode,
63355
- value: value,
63356
- data: data,
63357
- unmatch: unmatch,
63358
- disabled: disabled,
63359
- active: multiple ? undefined : value[0],
63360
- childrenKey: childrenKey,
63361
- keygen: keygen,
63362
- onExpand: onExpand,
63363
- expanded: controlExpanded,
63364
- defaultExpanded: defaultExpanded,
63365
- defaultExpandAll: defaultExpandAll,
63366
- isControlled: controlExpanded !== undefined
63367
- }),
63368
- datum = _useTree.datum,
63369
- onExpandTree = _useTree.onExpand;
63370
64305
  var renderMoreIcon = function renderMoreIcon() {
63371
64306
  return icons_config.treeSelect.More;
63372
64307
  };
@@ -63380,12 +64315,31 @@ var TreeSelect = function TreeSelect(props0) {
63380
64315
  childrenKey: childrenKey,
63381
64316
  expanded: expanded,
63382
64317
  rawData: rawData,
63383
- onFilter: onFilter,
63384
- rawDatum: datum
64318
+ onFilter: onFilter
64319
+ // rawDatum: datum,
63385
64320
  }),
63386
64321
  tiledData = _useTiled.data,
63387
64322
  onTiledFilter = _useTiled.onFilter,
63388
64323
  tiledExpandIcons = _useTiled.expandIcons;
64324
+ var _useTree = use_tree({
64325
+ mode: mode,
64326
+ value: value,
64327
+ data: tiledData,
64328
+ unmatch: unmatch,
64329
+ virtual: virtual,
64330
+ disabled: disabled,
64331
+ active: multiple ? undefined : value[0],
64332
+ childrenKey: childrenKey,
64333
+ keygen: keygen,
64334
+ onExpand: onExpand,
64335
+ expanded: controlExpanded,
64336
+ defaultExpanded: defaultExpanded,
64337
+ defaultExpandAll: defaultExpandAll,
64338
+ isControlled: controlExpanded !== undefined
64339
+ }),
64340
+ datum = _useTree.datum,
64341
+ onExpandTree = _useTree.onExpand,
64342
+ unControlExpanded = _useTree.expanded;
63389
64343
  var onCollapse = usePersistFn(function (collapse) {
63390
64344
  onCollapseProp === null || onCollapseProp === void 0 || onCollapseProp(collapse);
63391
64345
  if (blurEvent.current && !collapse) {
@@ -63408,10 +64362,10 @@ var TreeSelect = function TreeSelect(props0) {
63408
64362
  closePop = _usePopup.closePop,
63409
64363
  PopupProvider = _usePopup.Provider,
63410
64364
  popupProviderValue = _usePopup.providerValue;
63411
- var _useState3 = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(false),
63412
- _useState4 = slicedToArray_default()(_useState3, 2),
63413
- hadOpened = _useState4[0],
63414
- setHadOpened = _useState4[1];
64365
+ var _useState5 = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(false),
64366
+ _useState6 = slicedToArray_default()(_useState5, 2),
64367
+ hadOpened = _useState6[0],
64368
+ setHadOpened = _useState6[1];
63415
64369
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
63416
64370
  if (open) {
63417
64371
  setHadOpened(true);
@@ -63452,6 +64406,10 @@ var TreeSelect = function TreeSelect(props0) {
63452
64406
  openPop();
63453
64407
  }
63454
64408
  });
64409
+ var handleExpanded = function handleExpanded(id) {
64410
+ setVirtualExpanded(id);
64411
+ onExpandTree(id);
64412
+ };
63455
64413
  var focusAndOpen = function focusAndOpen() {
63456
64414
  if (!focused) {
63457
64415
  var _inputRef$current2;
@@ -63585,6 +64543,7 @@ var TreeSelect = function TreeSelect(props0) {
63585
64543
  if (from !== 'blur') {
63586
64544
  focusAndOpen();
63587
64545
  }
64546
+ setVirtualExpanded([]);
63588
64547
  onTiledFilter === null || onTiledFilter === void 0 || onTiledFilter(trim ? text.trim() : text);
63589
64548
  };
63590
64549
  var handleChange = function handleChange(item, id) {
@@ -63738,26 +64697,32 @@ var TreeSelect = function TreeSelect(props0) {
63738
64697
  if ('expanded' in props) {
63739
64698
  treeProps.expanded = expanded;
63740
64699
  }
64700
+ var style = {
64701
+ maxHeight: height
64702
+ };
63741
64703
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
63742
64704
  className: classnames_default()(styles.tree, styles.treeWrapper),
63743
- style: {
63744
- maxHeight: height
63745
- },
64705
+ style: style,
63746
64706
  children: /*#__PURE__*/(0,jsx_runtime.jsx)(src_tree_tree, objectSpread2_default()(objectSpread2_default()({
64707
+ rootStyle: {
64708
+ padding: '0 4px'
64709
+ },
63747
64710
  jssStyle: jssStyle,
63748
64711
  renderItem: renderItem
63749
64712
  }, treeProps), {}, {
64713
+ virtual: virtual,
63750
64714
  childrenKey: props.childrenKey,
63751
64715
  line: line,
63752
64716
  mode: mode,
64717
+ height: height,
63753
64718
  data: tiledData,
63754
64719
  keygen: keygen,
63755
64720
  unmatch: unmatch,
63756
64721
  value: value,
63757
64722
  highlight: !multiple,
63758
64723
  loader: loader,
63759
- onExpand: onExpandTree,
63760
- expanded: controlExpanded,
64724
+ onExpand: handleExpanded,
64725
+ expanded: virtualExpanded.length > 0 ? virtualExpanded : controlExpanded || unControlExpanded,
63761
64726
  defaultExpandAll: defaultExpandAll,
63762
64727
  expandIcons: tiledExpandIcons,
63763
64728
  disabled: disabled,
@@ -64848,7 +65813,9 @@ var Upload = function Upload(props0) {
64848
65813
  value: value,
64849
65814
  files: files,
64850
65815
  onFileRemove: func.removeFile,
64851
- onValueRemove: func.removeValue
65816
+ onValueRemove: func.removeValue,
65817
+ recoverValue: recycleValues,
65818
+ onValueRecover: func.recoverValue
64852
65819
  }), !shouldRenderLeft && renderHandler()]
64853
65820
  }) : /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
64854
65821
  children: [shouldRenderLeft && renderHandler(), renderValue(), renderFile(), !shouldRenderLeft && renderHandler(), renderRecover()]
@@ -65039,6 +66006,7 @@ var UploadButton = function UploadButton(props) {
65039
66006
  className: classnames_default()(uploadClasses === null || uploadClasses === void 0 ? void 0 : uploadClasses.button, uploading && (uploadClasses === null || uploadClasses === void 0 ? void 0 : uploadClasses.buttonUploading)),
65040
66007
  type: props.type || 'primary',
65041
66008
  size: props.size,
66009
+ mode: props.mode,
65042
66010
  onClick: onClick,
65043
66011
  onKeyDown: button_handleKeyDown,
65044
66012
  children: [uploading && [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@@ -66487,14 +67455,14 @@ function getDirectionIconName() {
66487
67455
  var rtl = true;
66488
67456
  if (mode === 'left') {
66489
67457
  if (rtl) {
66490
- return double ? 'AngleDoubleRight' : 'AngleRight';
67458
+ return double ? 'ArrowRightDouble' : 'AngleRight';
66491
67459
  }
66492
- return double ? 'AngleDoubleLeft' : 'AngleLeft';
67460
+ return double ? 'ArrowLeftDouble' : 'AngleLeft';
66493
67461
  }
66494
67462
  if (rtl) {
66495
- return double ? 'AngleDoubleLeft' : 'AngleLeft';
67463
+ return double ? 'ArrowLeftDouble' : 'AngleLeft';
66496
67464
  }
66497
- return double ? 'AngleDoubleRight' : 'AngleRight';
67465
+ return double ? 'ArrowRightDouble' : 'AngleRight';
66498
67466
  }
66499
67467
  ;// CONCATENATED MODULE: ./src/utils/tree.ts
66500
67468
 
@@ -67422,7 +68390,7 @@ var upload_interface = __webpack_require__(8821);
67422
68390
 
67423
68391
 
67424
68392
  /* harmony default export */ var src_0 = ({
67425
- version: '3.6.0-beta.3'
68393
+ version: '3.6.0-beta.4'
67426
68394
  });
67427
68395
  }();
67428
68396
  /******/ return __webpack_exports__;