shineout 3.6.0-beta.2 → 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.2');
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,
@@ -21777,7 +21909,7 @@ var popoverStyle = {
21777
21909
  },
21778
21910
  '&::after': {
21779
21911
  // left: arrowGap * -1,
21780
- left: "calc(".concat(hideArrowGap, " * -1)"),
21912
+ right: "calc(".concat(hideArrowGap, " * -1)"),
21781
21913
  top: '0',
21782
21914
  bottom: '0',
21783
21915
  content: '" "',
@@ -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: {
@@ -23529,10 +23664,9 @@ var scale_circle_loop = function loop() {
23529
23664
  boxSizing: 'border-box',
23530
23665
  position: 'relative',
23531
23666
  borderStyle: 'solid',
23532
- borderColor: src.spinColor,
23667
+ borderColor: "transparent ".concat(src.spinColor, " ").concat(src.spinColor, " ").concat(src.spinColor),
23533
23668
  borderRadius: '50%',
23534
- animation: '$ring 1s linear infinite',
23535
- borderTopColor: 'transparent'
23669
+ animation: '$ring 1s linear infinite'
23536
23670
  });
23537
23671
  ;// CONCATENATED MODULE: ../shineout-style/src/spin/tree-bounce.ts
23538
23672
 
@@ -23959,16 +24093,66 @@ var stepsStyle = {
23959
24093
  small: {
23960
24094
  fontSize: src.stepsIconFontSize,
23961
24095
  '&$arrow': {
24096
+ '& $step[dir=rtl]:after': {
24097
+ left: -12
24098
+ },
23962
24099
  '& $step:not(:last-child)': {
24100
+ '&$widthDescription': {
24101
+ '&:after': {
24102
+ borderLeftWidth: 22,
24103
+ borderTopWidth: 28,
24104
+ borderBottomWidth: 28
24105
+ },
24106
+ '&:before': {
24107
+ borderLeftWidth: 22,
24108
+ borderTopWidth: 28,
24109
+ borderBottomWidth: 28
24110
+ },
24111
+ '&[dir=ltr]:after': {
24112
+ right: -22
24113
+ },
24114
+ '&[dir=rtl]:after': {
24115
+ left: -22
24116
+ }
24117
+ },
24118
+ '&[dir=rtl]:after': {
24119
+ left: -12,
24120
+ right: 'auto'
24121
+ },
23963
24122
  '&:after': {
23964
- top: "calc(100% - 28px)",
23965
- width: 56,
23966
- height: 56
24123
+ top: 0,
24124
+ right: -12,
24125
+ width: 12,
24126
+ height: 32,
24127
+ borderLeftWidth: 12,
24128
+ borderTopWidth: 16,
24129
+ borderBottomWidth: 16
23967
24130
  },
23968
24131
  '&:before': {
23969
- top: "calc(100% - 28px)",
23970
- width: 56,
23971
- height: 56
24132
+ top: 0,
24133
+ width: 12,
24134
+ height: 32,
24135
+ borderLeftWidth: 12,
24136
+ borderTopWidth: 16,
24137
+ borderBottomWidth: 16,
24138
+ right: -12
24139
+ },
24140
+ '&[dir=rtl]:before': {
24141
+ right: 0
24142
+ }
24143
+ },
24144
+ '& $step:last-child': {
24145
+ '&$widthDescription': {
24146
+ '&:before': {
24147
+ borderLeftWidth: 22,
24148
+ borderTopWidth: 28,
24149
+ borderBottomWidth: 28
24150
+ }
24151
+ },
24152
+ '&:before': {
24153
+ borderLeftWidth: 12,
24154
+ borderTopWidth: 16,
24155
+ borderBottomWidth: 16
23972
24156
  }
23973
24157
  },
23974
24158
  '& $content': {
@@ -24057,9 +24241,67 @@ var stepsStyle = {
24057
24241
  },
24058
24242
  large: {
24059
24243
  '&$arrow': {
24060
- '& $step': {
24061
- '&:after': {},
24062
- '&:before': {}
24244
+ '& $step:not(:last-child)': {
24245
+ '&$widthDescription': {
24246
+ '&:after': {
24247
+ top: 0,
24248
+ width: 30,
24249
+ height: 72,
24250
+ borderLeftWidth: 30,
24251
+ borderTopWidth: 36,
24252
+ borderBottomWidth: 36
24253
+ },
24254
+ '&:before': {
24255
+ borderLeftWidth: 30,
24256
+ borderTopWidth: 36,
24257
+ borderBottomWidth: 36
24258
+ },
24259
+ '&[dir=ltr]:after': {
24260
+ right: -30
24261
+ },
24262
+ '&[dir=rtl]:after': {
24263
+ left: -30
24264
+ }
24265
+ },
24266
+ '&[dir=rtl]:after': {
24267
+ left: -20,
24268
+ right: 'auto'
24269
+ },
24270
+ '&[dir=rtl]:before': {
24271
+ right: 0
24272
+ },
24273
+ '&:after': {
24274
+ top: 0,
24275
+ width: 20,
24276
+ height: 48,
24277
+ borderLeftWidth: 20,
24278
+ borderTopWidth: 24,
24279
+ borderBottomWidth: 24,
24280
+ right: -20
24281
+ },
24282
+ '&:before': {
24283
+ top: 0,
24284
+ width: 20,
24285
+ height: 48,
24286
+ borderLeftWidth: 20,
24287
+ borderTopWidth: 24,
24288
+ borderBottomWidth: 24,
24289
+ right: -20
24290
+ }
24291
+ },
24292
+ '& $step:last-child': {
24293
+ '&$widthDescription': {
24294
+ '&:before': {
24295
+ borderLeftWidth: 30,
24296
+ borderTopWidth: 36,
24297
+ borderBottomWidth: 36
24298
+ }
24299
+ },
24300
+ '&:before': {
24301
+ borderLeftWidth: 20,
24302
+ borderTopWidth: 24,
24303
+ borderBottomWidth: 24
24304
+ }
24063
24305
  },
24064
24306
  '& $content': {
24065
24307
  padding: "".concat(src.stepsLargeArrowPaddingY, " ").concat(src.stepsLargeArrowPaddingX),
@@ -25154,7 +25396,8 @@ var tableStyle = objectSpread2_default()(objectSpread2_default()({
25154
25396
  position: 'absolute',
25155
25397
  top: 0,
25156
25398
  bottom: -1,
25157
- width: '5px'
25399
+ width: '5px',
25400
+ pointerEvents: 'none'
25158
25401
  },
25159
25402
  '&[dir=ltr]::after': {
25160
25403
  right: '-5px',
@@ -25186,7 +25429,8 @@ var tableStyle = objectSpread2_default()(objectSpread2_default()({
25186
25429
  position: 'absolute',
25187
25430
  top: 0,
25188
25431
  bottom: 0,
25189
- width: '5px'
25432
+ width: '5px',
25433
+ pointerEvents: 'none'
25190
25434
  },
25191
25435
  '&[dir=rtl]::before': {
25192
25436
  right: '-5px',
@@ -27024,6 +27268,7 @@ var useTransferStyle = styled(transfer_transfer, 'transfer');
27024
27268
  var treeStyle = {
27025
27269
  rootClass: {},
27026
27270
  tree: {},
27271
+ virtual: {},
27027
27272
  line: {
27028
27273
  '& $node': {
27029
27274
  '&[dir=ltr]::before': {
@@ -27631,7 +27876,7 @@ var treeSelectStyle = objectSpread2_default()(objectSpread2_default()({
27631
27876
  paddingBottom: 3
27632
27877
  },
27633
27878
  tree: {
27634
- padding: 4,
27879
+ // padding: 4,
27635
27880
  overflow: 'auto'
27636
27881
  },
27637
27882
  treeOption: {
@@ -28610,6 +28855,9 @@ function isDomElement(element) {
28610
28855
  return (typeof HTMLElement === "undefined" ? "undefined" : typeof_default()(HTMLElement)) === 'object' ? element instanceof HTMLElement // DOM2
28611
28856
  : element && typeof_default()(element) === 'object' && element !== null && element.nodeType === 1 && typeof element.nodeName === 'string';
28612
28857
  }
28858
+ var isOptionalDisabled = function isOptionalDisabled(disabled) {
28859
+ return is_isObject(disabled) && disabled.hasOwnProperty('isRealtime');
28860
+ };
28613
28861
  ;// CONCATENATED MODULE: ../hooks/src/utils/document.ts
28614
28862
 
28615
28863
  var docSize = {
@@ -32476,7 +32724,13 @@ var FormFooterProvider = function FormFooterProvider(props) {
32476
32724
  if (!context.hasSubmit) {
32477
32725
  context.submit = info.submit;
32478
32726
  context.hasSubmit = true;
32727
+ return true;
32479
32728
  }
32729
+ return false;
32730
+ });
32731
+ var deleteFormInfo = usePersistFn(function () {
32732
+ context.hasSubmit = false;
32733
+ context.submit = function () {};
32480
32734
  });
32481
32735
  var setFormStats = usePersistFn(function (disabled) {
32482
32736
  if (disabled !== formStats) {
@@ -32487,6 +32741,7 @@ var FormFooterProvider = function FormFooterProvider(props) {
32487
32741
  return {
32488
32742
  setFormStats: setFormStats,
32489
32743
  setFormInfo: setFormInfo,
32744
+ deleteFormInfo: deleteFormInfo,
32490
32745
  formStats: formStats,
32491
32746
  func: context
32492
32747
  };
@@ -33809,7 +34064,7 @@ var useInputFormat = function useInputFormat(props) {
33809
34064
  autoFix = props.autoFix,
33810
34065
  coin = props.coin,
33811
34066
  cancelBlurChange = props.cancelBlurChange;
33812
- 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),
33813
34068
  _React$useState2 = slicedToArray_default()(_React$useState, 2),
33814
34069
  showCoin = _React$useState2[0],
33815
34070
  setShowCoin = _React$useState2[1];
@@ -33836,6 +34091,13 @@ var useInputFormat = function useInputFormat(props) {
33836
34091
  var noNeg = numType === 'non-negative' || numType === 'positive';
33837
34092
  var regExp = new RegExp("^(".concat(noNeg ? '' : '-', ")?(\\d").concat(regLength(integerLimit), ")(").concat(digits !== 0 ? "\\.\\d".concat(regLength(digits)) : '', ")?.*$"), 'g');
33838
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
+ }
33839
34101
  }
33840
34102
  onChange(value);
33841
34103
  });
@@ -33893,14 +34155,15 @@ var useInputFormat = function useInputFormat(props) {
33893
34155
  });
33894
34156
  function getValue(str) {
33895
34157
  if (type === 'number' && coin) {
33896
- if (showCoin && str) {
33897
- return "".concat(str).replace(/\d+/, function (n) {
34158
+ var _str = str;
34159
+ if (showCoin && _str) {
34160
+ return "".concat(_str).replace(/\d+/, function (n) {
33898
34161
  return n.replace(/(\d)(?=(\d{3})+$)/g, function ($1) {
33899
34162
  return "".concat($1, ",");
33900
34163
  });
33901
34164
  });
33902
34165
  }
33903
- return "".concat(str || '').replace(/,/g, '');
34166
+ return "".concat(_str === 0 ? _str : _str || '').replace(/,/g, '');
33904
34167
  }
33905
34168
  return str;
33906
34169
  }
@@ -34201,6 +34464,39 @@ var getAllKeyPaths = function getAllKeyPaths(obj) {
34201
34464
  return keys.concat(obj[key] !== null && typeof_default()(obj[key]) === 'object' ? getAllKeyPaths(obj[key], newKey) : newKey);
34202
34465
  }, []);
34203
34466
  };
34467
+
34468
+ /**
34469
+ * 获取完整的字段key
34470
+ * @param fields 字段key
34471
+ * @param allFields 所有字段key
34472
+ * @returns 完整的字段key
34473
+ * @example
34474
+ * const fields = ['user']
34475
+ * const allFields = ['user', 'user.name', 'user.age', 'user[0].name', 'user[0].age', 'user[1].name', 'user[1].age']
34476
+ * const completeFields = getCompleteFieldKeys(fields, allFields)
34477
+ * console.log(completeFields) // ['user', 'user.name', 'user.age', 'user[0].name', 'user[0].age', 'user[1].name', 'user[1].age']
34478
+ */
34479
+ var getCompleteFieldKeys = function getCompleteFieldKeys(fields, allFields) {
34480
+ var fieldsArray = isArray(fields) ? fields : [fields];
34481
+ var completeFields = [];
34482
+ fieldsArray.forEach(function (field) {
34483
+ var na = "".concat(field, "[");
34484
+ if (field.endsWith(']')) {
34485
+ na = field;
34486
+ }
34487
+ var no = "".concat(field, ".");
34488
+ completeFields.push(field);
34489
+ var childFields = allFields.filter(function (f) {
34490
+ return f.startsWith(na) || f.startsWith(no);
34491
+ });
34492
+ if (childFields.length) {
34493
+ completeFields.push.apply(completeFields, toConsumableArray_default()(childFields));
34494
+ }
34495
+ });
34496
+
34497
+ // 返回之前去重
34498
+ return Array.from(new Set(completeFields));
34499
+ };
34204
34500
  ;// CONCATENATED MODULE: ../base/src/common/use-clear.ts
34205
34501
 
34206
34502
  var useClear = function useClear(props) {
@@ -34860,6 +35156,9 @@ var checkbox_Checkbox = function Checkbox(props) {
34860
35156
  if ('value' in props && props.checked === undefined) {
34861
35157
  onInputableCheckboxChange(checked);
34862
35158
  }
35159
+ if (props.onRawChange) {
35160
+ props.onRawChange(checked ? htmlValue : undefined, checked, htmlValue);
35161
+ }
34863
35162
  onChange === null || onChange === void 0 || onChange(checked ? htmlValue : undefined, checked, htmlValue);
34864
35163
  });
34865
35164
  var getChecked = function getChecked() {
@@ -34900,7 +35199,10 @@ var checkbox_Checkbox = function Checkbox(props) {
34900
35199
  var CheckboxWithContext = function CheckboxWithContext(props) {
34901
35200
  return /*#__PURE__*/(0,jsx_runtime.jsx)(group_context.Consumer, {
34902
35201
  children: function children(value) {
34903
- return /*#__PURE__*/(0,jsx_runtime.jsx)(checkbox_Checkbox, objectSpread2_default()(objectSpread2_default()({}, props), value));
35202
+ return /*#__PURE__*/(0,jsx_runtime.jsx)(checkbox_Checkbox, objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({}, props), value), {}, {
35203
+ onRawChange: value.onChange && props.onChange ? props.onChange : undefined,
35204
+ checked: 'checked' in props ? props.checked : value.checked
35205
+ }));
34904
35206
  }
34905
35207
  });
34906
35208
  };
@@ -36746,6 +37048,196 @@ var useFilter = function useFilter(props) {
36746
37048
  };
36747
37049
  };
36748
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);
36749
37241
  ;// CONCATENATED MODULE: ../hooks/src/components/use-tree/use-tree.ts
36750
37242
 
36751
37243
 
@@ -36755,12 +37247,13 @@ var useFilter = function useFilter(props) {
36755
37247
 
36756
37248
 
36757
37249
 
37250
+
37251
+
36758
37252
  function use_tree_toArray(value) {
36759
37253
  if (!value) return [];
36760
37254
  if (!Array.isArray(value)) return [value];
36761
37255
  return value;
36762
37256
  }
36763
- var global_tree_map = new Map();
36764
37257
  var MODE = {
36765
37258
  /**
36766
37259
  * 返回全选数据,包含父节点和子节点
@@ -36793,6 +37286,7 @@ var useTree = function useTree(props) {
36793
37286
  childrenKey = _props$childrenKey === void 0 ? 'children' : _props$childrenKey,
36794
37287
  keygen = props.keygen,
36795
37288
  mode = props.mode,
37289
+ virtual = props.virtual,
36796
37290
  activeProp = props.active,
36797
37291
  expandedProp = props.expanded,
36798
37292
  _props$dataUpdate = props.dataUpdate,
@@ -36800,14 +37294,19 @@ var useTree = function useTree(props) {
36800
37294
  _props$defaultExpande = props.defaultExpanded,
36801
37295
  defaultExpanded = _props$defaultExpande === void 0 ? [] : _props$defaultExpande,
36802
37296
  defaultExpandAll = props.defaultExpandAll,
36803
- disabledProps = props.disabled,
36804
37297
  unmatch = props.unmatch,
36805
37298
  isControlled = props.isControlled,
36806
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;
36807
37302
  var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(false),
36808
37303
  _useState2 = slicedToArray_default()(_useState, 2),
36809
37304
  inited = _useState2[0],
36810
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];
36811
37310
  var _useInputAble = useInputAble({
36812
37311
  value: expandedProp,
36813
37312
  defaultValue: defaultExpanded,
@@ -36820,6 +37319,8 @@ var useTree = function useTree(props) {
36820
37319
  var _useRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)({
36821
37320
  pathMap: new Map(),
36822
37321
  dataMap: new Map(),
37322
+ dataFlatStatusMap: new Map(),
37323
+ dataFlat: [],
36823
37324
  forceUpdateMap: new Map(),
36824
37325
  valueMap: new Map(),
36825
37326
  updateMap: new Map(),
@@ -36851,11 +37352,27 @@ var useTree = function useTree(props) {
36851
37352
  expanded: shouldDefaultExpand
36852
37353
  };
36853
37354
  }
37355
+ if (virtual) {
37356
+ return {
37357
+ active: isActive,
37358
+ expanded: context.dataFlatStatusMap.get(id).expanded
37359
+ };
37360
+ }
36854
37361
  return {
36855
37362
  active: isActive,
36856
37363
  expanded: !!(expandeds && expandeds.indexOf(id) >= 0)
36857
37364
  };
36858
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
+ };
36859
37376
  var get = function get(id) {
36860
37377
  return context.valueMap.get(id);
36861
37378
  };
@@ -36868,7 +37385,6 @@ var useTree = function useTree(props) {
36868
37385
  if (keygen && (isString(keygen) || isNumber(keygen))) {
36869
37386
  return item[keygen];
36870
37387
  }
36871
-
36872
37388
  // 降级处理
36873
37389
  return id + (id ? ',' : '') + index;
36874
37390
  };
@@ -36966,6 +37482,8 @@ var useTree = function useTree(props) {
36966
37482
  };
36967
37483
  var initData = function initData(data, path, disabled) {
36968
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;
36969
37487
  var ids = [];
36970
37488
  for (var i = 0; i < data.length; i++) {
36971
37489
  var item = data[i];
@@ -36977,6 +37495,28 @@ var useTree = function useTree(props) {
36977
37495
  }
36978
37496
  // 制作 data mapping
36979
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
+ }
36980
37520
  var _isDisabled = !!disabled;
36981
37521
  if (_isDisabled === false) {
36982
37522
  _isDisabled = getDisabled()(item);
@@ -36985,7 +37525,7 @@ var useTree = function useTree(props) {
36985
37525
  ids.push(id);
36986
37526
  var children = [];
36987
37527
  if (Array.isArray(item[childrenKey])) {
36988
- 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);
36989
37529
  if (_children) children = _children;
36990
37530
  }
36991
37531
  context.pathMap.set(id, {
@@ -37063,7 +37603,15 @@ var useTree = function useTree(props) {
37063
37603
  var isDisabled = function isDisabled(id) {
37064
37604
  if (isFunc(disabledProps)) {
37065
37605
  var node = context.pathMap.get(id);
37066
- 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
+ }
37067
37615
  return false;
37068
37616
  }
37069
37617
  return !!disabledProps;
@@ -37093,11 +37641,20 @@ var useTree = function useTree(props) {
37093
37641
  context.cachedValue = [];
37094
37642
  context.pathMap = new Map();
37095
37643
  context.dataMap = new Map();
37644
+ context.dataFlat = [];
37645
+ context.dataFlatStatusMap = new Map();
37096
37646
  context.valueMap = new Map();
37097
37647
  context.unmatchedValueMap = new Map();
37098
37648
  context.data = use_tree_toArray(data);
37649
+ if (virtual) {
37650
+ context.dataFlat = [];
37651
+ setDataFlat([]);
37652
+ }
37099
37653
  if (!data) return;
37100
37654
  initData(context.data, []);
37655
+ if (virtual) {
37656
+ setDataFlat(context.dataFlat);
37657
+ }
37101
37658
  initValue();
37102
37659
  setValue(prevValue);
37103
37660
 
@@ -37143,6 +37700,101 @@ var useTree = function useTree(props) {
37143
37700
  }
37144
37701
  return current;
37145
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
+ };
37146
37798
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
37147
37799
  if (defaultExpandAll) {
37148
37800
  var nextExpanded = [];
@@ -37153,7 +37805,7 @@ var useTree = function useTree(props) {
37153
37805
  });
37154
37806
  onExpand(nextExpanded);
37155
37807
  }
37156
- }, []);
37808
+ }, [context.dataMap]);
37157
37809
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
37158
37810
  if (props.datum) return;
37159
37811
  if (!dataUpdate) return;
@@ -37169,25 +37821,32 @@ var useTree = function useTree(props) {
37169
37821
  var datum = use_latest_obj({
37170
37822
  get: get,
37171
37823
  set: set,
37824
+ insertFlat: insertFlat,
37825
+ removeFlat: removeFlat,
37826
+ expandedFlat: expandedFlat,
37172
37827
  getPath: getPath,
37173
37828
  getValue: getValue,
37174
37829
  getChecked: getChecked,
37175
37830
  getKey: getKey,
37831
+ getFlatData: getFlatData,
37176
37832
  getDataByValues: getDataByValues,
37177
37833
  setValue: setValue,
37178
37834
  setData: setData,
37179
37835
  isDisabled: isDisabled,
37180
37836
  bindNode: bindNode,
37837
+ bindVirtualNode: bindVirtualNode,
37181
37838
  getDataById: getDataById,
37182
37839
  bindUpdate: bindUpdate,
37183
37840
  unBindUpdate: unBindUpdate,
37184
37841
  isUnMatched: isUnMatched,
37185
37842
  childrenKey: childrenKey,
37186
37843
  data: data,
37844
+ dataFlat: dataFlat,
37187
37845
  pathMap: context.pathMap,
37188
37846
  dataMap: context.dataMap,
37189
37847
  valueMap: context.valueMap,
37190
- updateMap: context.updateMap
37848
+ updateMap: context.updateMap,
37849
+ dataFlatStatusMap: context.dataFlatStatusMap
37191
37850
  });
37192
37851
  return {
37193
37852
  inited: inited,
@@ -37444,6 +38103,7 @@ var VirtualList = function VirtualList(props) {
37444
38103
  className = props.className,
37445
38104
  lineHeight = props.lineHeight,
37446
38105
  height = props.height,
38106
+ keepScrollHeight = props.keepScrollHeight,
37447
38107
  renderItem = props.renderItem,
37448
38108
  customRenderItem = props.customRenderItem,
37449
38109
  _props$tag = props.tag,
@@ -37451,6 +38111,7 @@ var VirtualList = function VirtualList(props) {
37451
38111
  tagClassName = props.tagClassName,
37452
38112
  dynamicVirtual = props.dynamicVirtual,
37453
38113
  virtualRef = props.virtualRef,
38114
+ scrollerStyle = props.scrollerStyle,
37454
38115
  onControlTypeChange = props.onControlTypeChange;
37455
38116
  var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(0),
37456
38117
  _useState2 = slicedToArray_default()(_useState, 2),
@@ -37596,6 +38257,7 @@ var VirtualList = function VirtualList(props) {
37596
38257
  style: nextStyle,
37597
38258
  height: height,
37598
38259
  scrollWidth: 0,
38260
+ scrollerStyle: scrollerStyle,
37599
38261
  scrollHeight: scrollHeight,
37600
38262
  childrenStyle: {
37601
38263
  width: '100%'
@@ -37627,6 +38289,7 @@ var VirtualList = function VirtualList(props) {
37627
38289
  }, [startIndex]);
37628
38290
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
37629
38291
  // 数据变化的时候清空掉 preIndex, 如果之前有缓存的index, setRowHeight 会有问题
38292
+ if (keepScrollHeight) return;
37630
38293
  setTop(0);
37631
38294
  setStartIndex(0);
37632
38295
  return function () {
@@ -37730,6 +38393,7 @@ var CascaderNode = function CascaderNode(props) {
37730
38393
  handleChange(null, !checked);
37731
38394
  };
37732
38395
  var isHoverAble = expandTrigger === 'hover' || expandTrigger === 'hover-only';
38396
+ var isRealLeafNode = !hasChildren && !uncertainChildren;
37733
38397
  var getEvents = function getEvents() {
37734
38398
  var events = {};
37735
38399
  if (expandTrigger !== 'hover-only' || !hasChildren) {
@@ -37738,6 +38402,9 @@ var CascaderNode = function CascaderNode(props) {
37738
38402
  if (isHoverAble) {
37739
38403
  events.onMouseEnter = handlePathChange;
37740
38404
  if (multiple) events.onClick = handleSelect;
38405
+ } else if (isRealLeafNode && multiple) {
38406
+ // 非hover模式下: 末级节点支持整个节点区域点击选中checkbox
38407
+ events.onClick = handleSelect;
37741
38408
  }
37742
38409
  return events;
37743
38410
  };
@@ -37770,9 +38437,10 @@ var CascaderNode = function CascaderNode(props) {
37770
38437
  }
37771
38438
  return null;
37772
38439
  };
38440
+ var events = getEvents();
37773
38441
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", objectSpread2_default()(objectSpread2_default()({
37774
38442
  className: rootClass
37775
- }, getEvents()), {}, {
38443
+ }, events), {}, {
37776
38444
  children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
37777
38445
  className: classnames_default()(styles.optionInner),
37778
38446
  children: [multiple && !(shouldFinal && hasChildren) && /*#__PURE__*/(0,jsx_runtime.jsx)(base_src_checkbox_checkbox
@@ -37783,7 +38451,7 @@ var CascaderNode = function CascaderNode(props) {
37783
38451
  className: styles.optionCheckbox,
37784
38452
  checked: datum.getChecked(id),
37785
38453
  disabled: isDisabled,
37786
- onChange: isHoverAble && multiple ? undefined : handleChange
38454
+ onChange: events.onClick === handleSelect ? undefined : handleChange
37787
38455
  }), renderContent(), renderIcon()]
37788
38456
  })
37789
38457
  }));
@@ -37910,7 +38578,7 @@ var FilterNode = function FilterNode(props) {
37910
38578
  onChange = props.onChange,
37911
38579
  onPathChange = props.onPathChange;
37912
38580
  var styles = jssStyle === null || jssStyle === void 0 || (_jssStyle$cascader = jssStyle.cascader) === null || _jssStyle$cascader === void 0 ? void 0 : _jssStyle$cascader.call(jssStyle);
37913
- var handleSelectItem = function handleSelectItem(index, e) {
38581
+ var handleSelectItem = function handleSelectItem(index, d, e) {
37914
38582
  var isFinal = data && index === data.length - 1;
37915
38583
  if (shouldFinal && !isFinal) return;
37916
38584
  if (e) e.stopPropagation();
@@ -37920,13 +38588,13 @@ var FilterNode = function FilterNode(props) {
37920
38588
  var keys = data.slice(0, index + 1).map(function (i) {
37921
38589
  return datum.getKey(i);
37922
38590
  });
37923
- if (onChange) onChange(keys);
38591
+ if (onChange) onChange(keys, d);
37924
38592
  onPathChange(datum.getKey(item), item, keys.slice(0, keys.length - 1), true);
37925
38593
  setInputText('');
37926
38594
  setFilterText('');
37927
38595
  };
37928
38596
  var handleSelect = function handleSelect() {
37929
- handleSelectItem(data.length - 1);
38597
+ handleSelectItem(data.length - 1, data === null || data === void 0 ? void 0 : data[data.length - 1]);
37930
38598
  };
37931
38599
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
37932
38600
  className: classnames_default()(styles.option, styles.filterOption),
@@ -37935,7 +38603,7 @@ var FilterNode = function FilterNode(props) {
37935
38603
  className: classnames_default()(styles.optionInner),
37936
38604
  children: data.map(function (item, index) {
37937
38605
  var handleClick = function handleClick(e) {
37938
- handleSelectItem(index, e);
38606
+ handleSelectItem(index, item, e);
37939
38607
  };
37940
38608
  var isDisabled = datum.isDisabled(datum.getKey(item));
37941
38609
  var content = /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@@ -39154,6 +39822,13 @@ var result_Result = function Result(props) {
39154
39822
  }
39155
39823
  mounted.current = true;
39156
39824
  }, [focus, placeholder, multiple]);
39825
+
39826
+ // Select多选模式下,且开启了onFilter,自动聚焦
39827
+ (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
39828
+ if (multiple && focus && inputRef !== null && inputRef !== void 0 && inputRef.current) {
39829
+ inputRef.current.focus();
39830
+ }
39831
+ }, [focus, multiple]);
39157
39832
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
39158
39833
  handleResetMore();
39159
39834
  }, [valueProp, data]);
@@ -39250,7 +39925,7 @@ var Cascader = function Cascader(props0) {
39250
39925
  mode = props.mode,
39251
39926
  innerTitle = props.innerTitle,
39252
39927
  multiple = props.multiple,
39253
- disabled = props.disabled,
39928
+ disabledProp = props.disabled,
39254
39929
  clearable = props.clearable,
39255
39930
  underline = props.underline,
39256
39931
  loading = props.loading,
@@ -39291,6 +39966,7 @@ var Cascader = function Cascader(props0) {
39291
39966
  virtual = props.virtual,
39292
39967
  filterSameChange = props.filterSameChange;
39293
39968
  var showInput = isFunc(onFilterProp);
39969
+ var disabled = isOptionalDisabled(disabledProp) ? disabledProp.disabled : disabledProp;
39294
39970
  var styles = jssStyle === null || jssStyle === void 0 || (_jssStyle$cascader = jssStyle.cascader) === null || _jssStyle$cascader === void 0 ? void 0 : _jssStyle$cascader.call(jssStyle);
39295
39971
  var rootStyle = Object.assign({
39296
39972
  width: width
@@ -39337,7 +40013,7 @@ var Cascader = function Cascader(props0) {
39337
40013
  control: 'value' in props,
39338
40014
  keygen: keygen,
39339
40015
  unmatch: unmatch,
39340
- disabled: disabled,
40016
+ disabled: disabledProp,
39341
40017
  mode: mode,
39342
40018
  defaultValue: defaultValue,
39343
40019
  childrenKey: childrenKey,
@@ -39557,12 +40233,13 @@ var Cascader = function Cascader(props0) {
39557
40233
  onClick: handleResultClick,
39558
40234
  children: defaultIcon
39559
40235
  });
40236
+ var close = /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
40237
+ className: styles.clearIcon,
40238
+ onClick: handleClear,
40239
+ children: icons_config.cascader.Close
40240
+ });
39560
40241
  return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
39561
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
39562
- className: styles.clearIcon,
39563
- onClick: handleClear,
39564
- children: icons_config.cascader.Close
39565
- }), !open && !isEmpty && arrow]
40242
+ children: [close, !open && !isEmpty && !focused && arrow]
39566
40243
  });
39567
40244
  };
39568
40245
  var renderIcon = function renderIcon() {
@@ -39786,7 +40463,7 @@ var Cascader = function Cascader(props0) {
39786
40463
  if (filterText !== undefined) {
39787
40464
  updatePath();
39788
40465
  }
39789
- }, [filterText]);
40466
+ }, [filterText, firstMatchNode]);
39790
40467
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
39791
40468
  updatePathByValue();
39792
40469
 
@@ -45076,11 +45753,23 @@ var DatePicker = function DatePicker(props0) {
45076
45753
  }
45077
45754
  } else {
45078
45755
  func.finishEdit();
45756
+
45757
+ // 如果是通过 props.open 控制的,那么需要在关闭时,将组件再次进入编辑状态
45758
+ if (props.open === true) {
45759
+ func.startEdit();
45760
+ }
45079
45761
  }
45080
45762
  setIsCloseFromConfirm(false);
45081
45763
  }
45082
45764
  (_props$onCollapse = props.onCollapse) === null || _props$onCollapse === void 0 || _props$onCollapse.call(props, isOpen);
45083
45765
  });
45766
+
45767
+ // 如果一开始就打开了板子,那么需要初始化让组件进入编辑状态
45768
+ (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
45769
+ if (props.open) {
45770
+ func.startEdit();
45771
+ }
45772
+ }, []);
45084
45773
  var _usePopup = use_popup({
45085
45774
  open: props.open,
45086
45775
  onCollapse: onCollapse,
@@ -46729,7 +47418,7 @@ var useTextarea = function useTextarea(props) {
46729
47418
 
46730
47419
 
46731
47420
 
46732
- 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"];
46733
47422
 
46734
47423
 
46735
47424
 
@@ -46746,6 +47435,7 @@ var Textarea = function Textarea(props) {
46746
47435
  prefix = props.prefix,
46747
47436
  suffix = props.suffix,
46748
47437
  underline = props.underline,
47438
+ autosize = props.autosize,
46749
47439
  _props$border = props.border,
46750
47440
  border = _props$border === void 0 ? true : _props$border,
46751
47441
  _props$resize = props.resize,
@@ -46774,7 +47464,7 @@ var Textarea = function Textarea(props) {
46774
47464
  keyHandler(e);
46775
47465
  });
46776
47466
  var textareaProps = getTextAreaProps({
46777
- 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)),
46778
47468
  onKeyUp: onKeyUp
46779
47469
  });
46780
47470
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
@@ -47029,7 +47719,8 @@ var textarea_Textarea = function Textarea(props0) {
47029
47719
  popover: resetProps.popover || (typeof_default()(info) === 'object' ? info.position : 'bottom-right'),
47030
47720
  popoverProps: Object.assign({
47031
47721
  style: {
47032
- width: 'auto'
47722
+ width: 'auto',
47723
+ fontSize: 12
47033
47724
  }
47034
47725
  }, resetProps.popoverProps),
47035
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,
@@ -47068,7 +47759,8 @@ var textarea_Textarea = function Textarea(props0) {
47068
47759
  suffix: mergeSuffix,
47069
47760
  style: mergeStyle,
47070
47761
  getStatus: onStatusChange,
47071
- rootRef: rootRef
47762
+ rootRef: rootRef,
47763
+ autosize: props.autosize
47072
47764
  }));
47073
47765
  };
47074
47766
  /* harmony default export */ var base_src_textarea_textarea = (/*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().memo(textarea_Textarea));
@@ -47658,6 +48350,7 @@ var useForm = function useForm(props) {
47658
48350
  var _React$useRef = external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef({
47659
48351
  defaultValues: {},
47660
48352
  validateMap: {},
48353
+ ignoreValidateFields: [],
47661
48354
  updateMap: {},
47662
48355
  flowMap: {},
47663
48356
  removeArr: new Set(),
@@ -47690,10 +48383,21 @@ var useForm = function useForm(props) {
47690
48383
  } else {
47691
48384
  var names = isArray(name) ? name : [name];
47692
48385
  names.forEach(function (key) {
47693
- var _context$updateMap$ke2, _context$flowMap$key;
47694
- (_context$updateMap$ke2 = context.updateMap[key]) === null || _context$updateMap$ke2 === void 0 || _context$updateMap$ke2.forEach(function (update) {
47695
- update(context.value, context.errors, context.serverErrors);
47696
- });
48386
+ var _context$flowMap$key;
48387
+ // 外部直接设置user.name这种格式的,但是又没有显性的声明user.name绑定的表单元素;
48388
+ // 这里需要手动触发,否则会导致Input输入过程中光标跳到末尾的异常
48389
+ if (!context.updateMap[key]) {
48390
+ var _context$updateMap$pa;
48391
+ var parentKey = key.split('.')[0];
48392
+ (_context$updateMap$pa = context.updateMap[parentKey]) === null || _context$updateMap$pa === void 0 || _context$updateMap$pa.forEach(function (update) {
48393
+ update(context.value, context.errors, context.serverErrors);
48394
+ });
48395
+ } else {
48396
+ var _context$updateMap$ke2;
48397
+ (_context$updateMap$ke2 = context.updateMap[key]) === null || _context$updateMap$ke2 === void 0 || _context$updateMap$ke2.forEach(function (update) {
48398
+ update(context.value, context.errors, context.serverErrors);
48399
+ });
48400
+ }
47697
48401
  (_context$flowMap$key = context.flowMap[key]) === null || _context$flowMap$key === void 0 || _context$flowMap$key.forEach(function (update) {
47698
48402
  update();
47699
48403
  });
@@ -47750,11 +48454,28 @@ var useForm = function useForm(props) {
47750
48454
  var validateFields = use_persist_fn(function (fields) {
47751
48455
  var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
47752
48456
  return new Promise(function (resolve, reject) {
47753
- var finalFields = fields ? (isArray(fields) ? fields : [fields]).filter(function (key) {
47754
- return context.validateMap[key];
47755
- }) : Object.keys(context.validateMap);
48457
+ var finalFields = Object.keys(context.validateMap);
48458
+ if (fields) {
48459
+ if (config.ignoreChildren || config.ignoreBind) {
48460
+ // 旧行为:仅校验当前字段
48461
+ finalFields = (isArray(fields) ? fields : [fields]).filter(function (key) {
48462
+ return context.validateMap[key];
48463
+ });
48464
+ } else {
48465
+ // 新行为:校验当前字段及其所有子字段
48466
+ // 假设进去的是['user'],那么最终的finalFields是['user', 'user.name', 'user.age']
48467
+ // 假设进去的是['users'],那么最终的finalFields是['users', 'users[0].name', 'users[0].age', 'users[1].name', 'users[1].age']
48468
+ finalFields = getCompleteFieldKeys(fields, finalFields);
48469
+ }
48470
+ }
48471
+ if (context.ignoreValidateFields.length > 0) {
48472
+ finalFields = finalFields.filter(function (key) {
48473
+ return !context.ignoreValidateFields.includes(key);
48474
+ });
48475
+ }
47756
48476
  var validates = finalFields.map(function (key) {
47757
48477
  var validateField = context.validateMap[key];
48478
+ if (!validateField) return [];
47758
48479
  return Array.from(validateField).map(function (validate) {
47759
48480
  return validate(key, deepGet(context.value, key), context.value, config);
47760
48481
  });
@@ -47987,7 +48708,7 @@ var useForm = function useForm(props) {
47987
48708
  }, 10);
47988
48709
  };
47989
48710
  };
47990
- var validateFieldset = function validateFieldset(name) {
48711
+ var validateFieldset = function validateFieldset(name, config) {
47991
48712
  var na = "".concat(name, "[");
47992
48713
  var no = "".concat(name, ".");
47993
48714
  var fields = [];
@@ -47996,6 +48717,15 @@ var useForm = function useForm(props) {
47996
48717
  fields.push(key);
47997
48718
  }
47998
48719
  });
48720
+
48721
+ // 用户声明了跳过校验子字段
48722
+ if (config !== null && config !== void 0 && config.ignoreChildren) {
48723
+ var parentName = name.split('[')[0];
48724
+ context.ignoreValidateFields = getCompleteFieldKeys(parentName, Array.from(context.names));
48725
+ setTimeout(function () {
48726
+ context.ignoreValidateFields = [];
48727
+ });
48728
+ }
47999
48729
  validateFields(fields).catch(function () {});
48000
48730
  };
48001
48731
  var getDefaultValue = function getDefaultValue() {
@@ -48284,6 +49014,10 @@ var Form = function Form(props) {
48284
49014
  props.setForm(formRefObj);
48285
49015
  }
48286
49016
  }, [formRefObj]);
49017
+ var _React$useRef = external_root_React_commonjs2_react_commonjs_react_amd_react_default().useRef({
49018
+ bindindModalFormContextSuccess: false
49019
+ }),
49020
+ context = _React$useRef.current;
48287
49021
  var handleFormModalInfo = function handleFormModalInfo() {
48288
49022
  var status = undefined;
48289
49023
  if (props.disabled) {
@@ -48296,11 +49030,17 @@ var Form = function Form(props) {
48296
49030
  modalFormContext === null || modalFormContext === void 0 || modalFormContext.setFormStats(status);
48297
49031
  }
48298
49032
  if (props.onSubmit) {
48299
- modalFormContext === null || modalFormContext === void 0 || modalFormContext.setFormInfo(formRefObj);
49033
+ var ok = modalFormContext === null || modalFormContext === void 0 ? void 0 : modalFormContext.setFormInfo(formRefObj);
49034
+ context.bindindModalFormContextSuccess = !!ok;
48300
49035
  }
48301
49036
  };
48302
49037
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
48303
49038
  handleFormModalInfo();
49039
+ return function () {
49040
+ if (context.bindindModalFormContextSuccess) {
49041
+ modalFormContext === null || modalFormContext === void 0 || modalFormContext.deleteFormInfo();
49042
+ }
49043
+ };
48304
49044
  }, [props.disabled, props.pending]);
48305
49045
  var rootClass = classnames_default()([formClasses === null || formClasses === void 0 ? void 0 : formClasses.rootClass, formClasses === null || formClasses === void 0 ? void 0 : formClasses.wrapper, className, props.inline && (formClasses === null || formClasses === void 0 ? void 0 : formClasses.wrapperInline)]);
48306
49046
  var formProps = getFormProps({
@@ -48706,13 +49446,13 @@ var form_fieldset_produce = utils_immer_produce;
48706
49446
  var FormFieldSet = function FormFieldSet(props) {
48707
49447
  var children = props.children,
48708
49448
  empty = props.empty;
48709
- var _React$useRef = external_root_React_commonjs2_react_commonjs_react_amd_react_default().useRef({
48710
- ids: []
48711
- }),
48712
- context = _React$useRef.current;
49449
+ // const { current: context } = React.useRef<{ ids: string[] }>({ ids: [] });
49450
+
48713
49451
  var formFunc = useFormFunc();
48714
49452
  var validateFieldSet = function validateFieldSet() {
48715
- formFunc === null || formFunc === void 0 || formFunc.validateFields(props.name).catch(function (e) {
49453
+ formFunc === null || formFunc === void 0 || formFunc.validateFields(props.name, {
49454
+ ignoreChildren: true
49455
+ }).catch(function (e) {
48716
49456
  return e;
48717
49457
  });
48718
49458
  };
@@ -48749,19 +49489,17 @@ var FormFieldSet = function FormFieldSet(props) {
48749
49489
  draft.push(val);
48750
49490
  });
48751
49491
  _onChange(newValue);
48752
- context.ids.push(generateUUID());
49492
+ // context.ids.push(util.generateUUID());
48753
49493
  formFunc === null || formFunc === void 0 || formFunc.insertError(name, 0);
48754
49494
  })
48755
49495
  }, 'empty');
48756
49496
  }
48757
49497
  var errorList = (Array.isArray(error) ? error : [error]).filter(Boolean);
48758
- if (context.ids.length !== valueArr.length) {
48759
- context.ids = valueArr.map(function () {
48760
- return generateUUID();
48761
- });
48762
- }
49498
+ // if (context.ids.length !== valueArr.length) {
49499
+ // context.ids = valueArr.map(() => util.generateUUID());
49500
+ // }
49501
+
48763
49502
  return valueArr.map(function (v, i) {
48764
- var _context$ids$i;
48765
49503
  return /*#__PURE__*/(0,jsx_runtime.jsx)(Provider, {
48766
49504
  value: {
48767
49505
  path: "".concat(ProviderValue.path, "[").concat(i, "]"),
@@ -48772,13 +49510,15 @@ var FormFieldSet = function FormFieldSet(props) {
48772
49510
  value: v,
48773
49511
  index: i,
48774
49512
  error: errorList,
48775
- onChange: function onChange(val) {
49513
+ onChange: function onChange(val, options) {
48776
49514
  var oldValue = formFunc === null || formFunc === void 0 ? void 0 : formFunc.getValue(name);
48777
49515
  var newValue = form_fieldset_produce(oldValue, function (draft) {
48778
49516
  draft[i] = val;
48779
49517
  });
48780
49518
  _onChange(newValue);
48781
- formFunc === null || formFunc === void 0 || formFunc.validateFieldset("".concat(name, "[").concat(i, "]"));
49519
+ formFunc === null || formFunc === void 0 || formFunc.validateFieldset("".concat(name, "[").concat(i, "]"), {
49520
+ ignoreChildren: (options === null || options === void 0 ? void 0 : options.validate) === false
49521
+ });
48782
49522
  },
48783
49523
  onInsert: function onInsert(val) {
48784
49524
  var oldValue = formFunc === null || formFunc === void 0 ? void 0 : formFunc.getValue(name);
@@ -48786,7 +49526,7 @@ var FormFieldSet = function FormFieldSet(props) {
48786
49526
  draft.splice(i, 0, val);
48787
49527
  });
48788
49528
  _onChange(newValue);
48789
- context.ids.splice(i, 0, generateUUID());
49529
+ // context.ids.splice(i, 0, util.generateUUID());
48790
49530
  formFunc === null || formFunc === void 0 || formFunc.insertError(name, i);
48791
49531
  },
48792
49532
  onAppend: function onAppend(val) {
@@ -48795,7 +49535,7 @@ var FormFieldSet = function FormFieldSet(props) {
48795
49535
  draft.splice(i + 1, 0, val);
48796
49536
  });
48797
49537
  _onChange(newValue);
48798
- context.ids.splice(i + 1, 0, generateUUID());
49538
+ // context.ids.splice(i + 1, 0, util.generateUUID());
48799
49539
  formFunc === null || formFunc === void 0 || formFunc.insertError(name, i + 1);
48800
49540
  },
48801
49541
  onRemove: function onRemove() {
@@ -48804,11 +49544,11 @@ var FormFieldSet = function FormFieldSet(props) {
48804
49544
  draft.splice(i, 1);
48805
49545
  });
48806
49546
  _onChange(newValue);
48807
- context.ids.splice(i, 1);
49547
+ // context.ids.splice(i, 1);
48808
49548
  formFunc === null || formFunc === void 0 || formFunc.spliceError(name, i);
48809
49549
  }
48810
49550
  })
48811
- }, (_context$ids$i = context.ids[i]) !== null && _context$ids$i !== void 0 ? _context$ids$i : i);
49551
+ }, i);
48812
49552
  });
48813
49553
  };
48814
49554
  /* harmony default export */ var form_fieldset = (FormFieldSet);
@@ -49755,12 +50495,14 @@ var useImageMagnify = function useImageMagnify(props) {
49755
50495
  ;// CONCATENATED MODULE: ../base/src/image/image-magnify.tsx
49756
50496
 
49757
50497
 
49758
- var image_magnify_excluded = ["className"];
50498
+ var image_magnify_excluded = ["jssStyle"];
50499
+
49759
50500
 
49760
50501
 
49761
50502
 
49762
50503
  var ImageMagnify = function ImageMagnify(props) {
49763
- var className = props.className,
50504
+ var _jssStyle$image;
50505
+ var jssStyle = props.jssStyle,
49764
50506
  rest = objectWithoutProperties_default()(props, image_magnify_excluded);
49765
50507
  var _useImageMagnify = use_image_magnify(rest),
49766
50508
  loading = _useImageMagnify.loading,
@@ -49770,6 +50512,7 @@ var ImageMagnify = function ImageMagnify(props) {
49770
50512
  maxHeight = _useImageMagnify.maxHeight,
49771
50513
  getRootProps = _useImageMagnify.getRootProps;
49772
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);
49773
50516
  var renderLoading = function renderLoading() {
49774
50517
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {});
49775
50518
  };
@@ -49783,7 +50526,7 @@ var ImageMagnify = function ImageMagnify(props) {
49783
50526
  maxHeight: status === 1 ? undefined : maxHeight
49784
50527
  };
49785
50528
  return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()({
49786
- 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)),
49787
50530
  style: rootStyle
49788
50531
  }, rootProps), {}, {
49789
50532
  children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
@@ -49825,7 +50568,6 @@ var ImageModal = function ImageModal(props) {
49825
50568
  getCloseIconProps = _useImageGallery.getCloseIconProps;
49826
50569
  var galleryStyle = (jssStyle === null || jssStyle === void 0 || (_jssStyle$image = jssStyle.image) === null || _jssStyle$image === void 0 ? void 0 : _jssStyle$image.call(jssStyle)) || {};
49827
50570
  var overlayClass = classnames_default()(galleryStyle === null || galleryStyle === void 0 ? void 0 : galleryStyle.overlay);
49828
- var magnifyClass = classnames_default()(galleryStyle === null || galleryStyle === void 0 ? void 0 : galleryStyle.magnify);
49829
50571
  var closeClass = classnames_default()(galleryStyle === null || galleryStyle === void 0 ? void 0 : galleryStyle.close);
49830
50572
  var closeIconProps = getCloseIconProps();
49831
50573
  var renderColseIcon = function renderColseIcon() {
@@ -49843,7 +50585,7 @@ var ImageModal = function ImageModal(props) {
49843
50585
  className: classnames_default()(galleryClass)
49844
50586
  });
49845
50587
  var magnifyProps = getMaginfyProps(position, {
49846
- className: magnifyClass,
50588
+ jssStyle: jssStyle,
49847
50589
  src: image.src
49848
50590
  });
49849
50591
  return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()({}, galleryProps), {}, {
@@ -51496,7 +52238,8 @@ var TreeCheckbox = function TreeCheckbox(props) {
51496
52238
  className = props.className,
51497
52239
  id = props.id,
51498
52240
  onChange = props.onChange,
51499
- disabled = props.disabled;
52241
+ disabled = props.disabled,
52242
+ onClick = props.onClick;
51500
52243
  var _useTreeContext = useTreeContext(),
51501
52244
  getValue = _useTreeContext.getValue,
51502
52245
  set = _useTreeContext.set,
@@ -51508,6 +52251,9 @@ var TreeCheckbox = function TreeCheckbox(props) {
51508
52251
  onChange(getValue(), id);
51509
52252
  }
51510
52253
  };
52254
+ var handleClick = function handleClick(e) {
52255
+ onClick === null || onClick === void 0 || onClick(e);
52256
+ };
51511
52257
  var checked = getChecked(id);
51512
52258
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
51513
52259
  return function () {
@@ -51522,7 +52268,8 @@ var TreeCheckbox = function TreeCheckbox(props) {
51522
52268
  jssStyle: jssStyle,
51523
52269
  checked: checked,
51524
52270
  disabled: disabled,
51525
- onChange: handleChange
52271
+ onChange: handleChange,
52272
+ onClick: handleClick
51526
52273
  });
51527
52274
  };
51528
52275
  /* harmony default export */ var tree_checkbox = (TreeCheckbox);
@@ -51744,11 +52491,7 @@ var useTreeNode = function useTreeNode(props) {
51744
52491
  break;
51745
52492
  }
51746
52493
  });
51747
- var handleToggle = function handleToggle() {
51748
- // const newExpand = !expanded;
51749
- // setExpanded(newExpand);
51750
- // if (onToggle) onToggle(id, newExpand);
51751
- };
52494
+ var handleToggle = function handleToggle() {};
51752
52495
  var isLeaf = function isLeaf() {
51753
52496
  var children = data[childrenKey];
51754
52497
  if (children && children.length > 0) return false;
@@ -51776,7 +52519,7 @@ var useTreeNode = function useTreeNode(props) {
51776
52519
  };
51777
52520
  };
51778
52521
  /* harmony default export */ var use_tree_node = (useTreeNode);
51779
- ;// CONCATENATED MODULE: ../base/src/tree/tree-node.tsx
52522
+ ;// CONCATENATED MODULE: ../base/src/tree/tree-simple-node.tsx
51780
52523
 
51781
52524
 
51782
52525
 
@@ -51996,7 +52739,7 @@ var Node = function Node(props) {
51996
52739
  onDragStart: onDragStart,
51997
52740
  onDragEnd: onDragEnd,
51998
52741
  bindNode: bindNode,
51999
- childrenClassName: childrenClass(data),
52742
+ childrenClassName: isFunc(childrenClass) ? childrenClass === null || childrenClass === void 0 ? void 0 : childrenClass(data) : childrenClass,
52000
52743
  childrenKey: childrenKey,
52001
52744
  childrenClass: childrenClass,
52002
52745
  dragSibling: dragSibling,
@@ -52054,7 +52797,411 @@ var Node = function Node(props) {
52054
52797
  }), hasChildren && /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.createElement)(List, getChildrenListProps())]
52055
52798
  }));
52056
52799
  };
52057
- /* 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);
52058
53205
  ;// CONCATENATED MODULE: ../base/src/tree/tree-list.tsx
52059
53206
 
52060
53207
 
@@ -52081,6 +53228,8 @@ var tree_list_List = function List(props) {
52081
53228
  iconClass = props.iconClass,
52082
53229
  leafClass = props.leafClass,
52083
53230
  nodeClass = props.nodeClass,
53231
+ _props$rootStyle = props.rootStyle,
53232
+ rootStyle = _props$rootStyle === void 0 ? {} : _props$rootStyle,
52084
53233
  contentClass = props.contentClass,
52085
53234
  expandIcons = props.expandIcons,
52086
53235
  childrenKey = props.childrenKey,
@@ -52159,7 +53308,7 @@ var tree_list_List = function List(props) {
52159
53308
  };
52160
53309
  if (!expanded && !hasExpanded.current) return null;
52161
53310
  hasExpanded.current = true;
52162
- var newStyle = Object.assign({}, style, {
53311
+ var newStyle = Object.assign(rootStyle, style, {
52163
53312
  display: expanded ? 'block' : 'none'
52164
53313
  });
52165
53314
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@@ -52174,29 +53323,118 @@ var tree_list_List = function List(props) {
52174
53323
  ;// CONCATENATED MODULE: ../base/src/tree/tree-root.tsx
52175
53324
 
52176
53325
 
52177
- var tree_root_excluded = ["jssStyle"];
53326
+ var tree_root_excluded = ["jssStyle", "rootStyle"];
52178
53327
 
52179
53328
 
52180
53329
 
52181
53330
  var Root = function Root(props) {
52182
53331
  var jssStyle = props.jssStyle,
53332
+ _props$rootStyle = props.rootStyle,
53333
+ rootStyle = _props$rootStyle === void 0 ? {} : _props$rootStyle,
52183
53334
  rest = objectWithoutProperties_default()(props, tree_root_excluded);
52184
53335
  var treeStyle = (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.tree()) || {};
52185
53336
  var rootClass = classnames_default()(treeStyle.root);
52186
53337
  return /*#__PURE__*/(0,jsx_runtime.jsx)(tree_list, objectSpread2_default()(objectSpread2_default()({}, rest), {}, {
52187
53338
  expanded: true,
52188
53339
  className: rootClass,
52189
- jssStyle: jssStyle
53340
+ jssStyle: jssStyle,
53341
+ style: rootStyle
52190
53342
  }));
52191
53343
  };
52192
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);
52193
53430
  ;// CONCATENATED MODULE: ../base/src/tree/tree.tsx
52194
53431
 
52195
53432
 
52196
53433
 
52197
53434
 
52198
53435
 
52199
- 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
+
52200
53438
 
52201
53439
 
52202
53440
 
@@ -52216,12 +53454,14 @@ var Tree = function Tree(props) {
52216
53454
  _props$mode = props.mode,
52217
53455
  mode = _props$mode === void 0 ? 1 : _props$mode,
52218
53456
  keygen = props.keygen,
53457
+ virtual = props.virtual,
52219
53458
  expandedProp = props.expanded,
52220
53459
  expandIcons = props.expandIcons,
52221
53460
  iconClass = props.iconClass,
52222
53461
  leafClass = props.leafClass,
52223
53462
  nodeClass = props.nodeClass,
52224
53463
  contentClass = props.contentClass,
53464
+ rootStyle = props.rootStyle,
52225
53465
  renderItem = props.renderItem,
52226
53466
  defaultValue = props.defaultValue,
52227
53467
  _props$dataUpdate = props.dataUpdate,
@@ -52265,6 +53505,7 @@ var Tree = function Tree(props) {
52265
53505
  setActive(propActive);
52266
53506
  }
52267
53507
  }, [active, propActive]);
53508
+ var treeRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
52268
53509
  var _useRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)({
52269
53510
  mounted: false
52270
53511
  }),
@@ -52280,10 +53521,11 @@ var Tree = function Tree(props) {
52280
53521
  expanded: expandedProp,
52281
53522
  disabled: disabled,
52282
53523
  defaultValue: defaultValue,
52283
- defaultExpandAll: defaultExpandAll,
52284
- defaultExpanded: defaultExpanded,
53524
+ defaultExpandAll: expandedProp ? undefined : defaultExpandAll,
53525
+ defaultExpanded: expandedProp ? undefined : defaultExpanded,
52285
53526
  childrenKey: childrenKey,
52286
53527
  keygen: keygen,
53528
+ virtual: virtual,
52287
53529
  onExpand: onExpandProp,
52288
53530
  datum: propsDatum
52289
53531
  }),
@@ -52291,13 +53533,27 @@ var Tree = function Tree(props) {
52291
53533
  expanded = _useTree.expanded,
52292
53534
  onExpand = _useTree.onExpand;
52293
53535
  var treeStyle = (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.tree()) || {};
52294
- 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));
52295
53537
  var getDragImageSelector = function getDragImageSelector(data) {
52296
53538
  if (isFunc(dragImageSelector)) return dragImageSelector(data);
52297
53539
  return dragImageSelector;
52298
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
+ };
52299
53551
  var handleUpdateExpanded = function handleUpdateExpanded(expanded) {
52300
53552
  var tempExpandMap = new Set(expanded);
53553
+ if (!expanded) return;
53554
+ if (virtual) {
53555
+ datum.expandedFlat(expanded);
53556
+ }
52301
53557
  datum.updateMap.forEach(function (update, id) {
52302
53558
  update('expanded', tempExpandMap.has(id));
52303
53559
  });
@@ -52328,8 +53584,10 @@ var Tree = function Tree(props) {
52328
53584
  newExpanded = expandedArr.filter(function (e) {
52329
53585
  return e !== id;
52330
53586
  });
53587
+ if (virtual) datum.removeFlat(id);
52331
53588
  } else {
52332
53589
  newExpanded = [].concat(toConsumableArray_default()(expandedArr), [id]);
53590
+ if (virtual) datum.insertFlat(id);
52333
53591
  }
52334
53592
  if (onExpand) onExpand(newExpanded);
52335
53593
  };
@@ -52385,6 +53643,60 @@ var Tree = function Tree(props) {
52385
53643
  onDrop(newData, id, targetId, position);
52386
53644
  }
52387
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
+ };
52388
53700
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
52389
53701
  // 首次渲染不更新
52390
53702
  if (!context.mounted) {
@@ -52404,49 +53716,13 @@ var Tree = function Tree(props) {
52404
53716
  var _useContext = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useContext)(FormFieldContext),
52405
53717
  fieldId = _useContext.fieldId;
52406
53718
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", objectSpread2_default()(objectSpread2_default()({
53719
+ ref: treeRef,
52407
53720
  className: rootClass,
52408
53721
  id: fieldId
52409
53722
  }, rest), {}, {
52410
53723
  children: /*#__PURE__*/(0,jsx_runtime.jsx)(tree_context_Provider, {
52411
53724
  value: datum,
52412
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(tree_root, {
52413
- isControlled: 'expanded' in props,
52414
- jssStyle: jssStyle,
52415
- data: data,
52416
- mode: mode,
52417
- line: line,
52418
- keygen: keygen,
52419
- onChange: onChange,
52420
- iconClass: iconClass,
52421
- leafClass: leafClass,
52422
- nodeClass: nodeClass,
52423
- contentClass: contentClass,
52424
- expanded: expanded,
52425
- expandIcons: expandIcons,
52426
- defaultExpandAll: defaultExpandAll,
52427
- childrenClass: isFunc(childrenClass) ? childrenClass : function () {
52428
- return childrenClass;
52429
- },
52430
- bindNode: datum.bindNode,
52431
- childrenKey: childrenKey,
52432
- onNodeClick: handleNodeClick,
52433
- renderItem: renderItem,
52434
- loader: loader,
52435
- inlineNode: inlineNode,
52436
- highlight: highlight,
52437
- onToggle: handleToggle,
52438
- onDrop: onDrop && handleDrop,
52439
- onDragOver: onDragOver,
52440
- onDragStart: onDragStart,
52441
- onDragEnd: onDragEnd,
52442
- onDragLeave: onDragLeave,
52443
- dragSibling: dragSibling,
52444
- dragHoverExpand: dragHoverExpand,
52445
- parentClickExpand: parentClickExpand,
52446
- doubleClickExpand: doubleClickExpand,
52447
- dragImageSelector: getDragImageSelector,
52448
- dragImageStyle: dragImageStyle
52449
- })
53725
+ children: renderList()
52450
53726
  })
52451
53727
  }));
52452
53728
  };
@@ -53136,7 +54412,7 @@ function Select(props0) {
53136
54412
  });
53137
54413
  var rootClass = classnames_default()(className, styles === null || styles === void 0 ? void 0 : styles.rootClass, styles === null || styles === void 0 ? void 0 : styles.wrapper, isEmpty && styles.wrapperEmpty, open && (styles === null || styles === void 0 ? void 0 : styles.wrapperOpen), open && trigger === 'hover' && (styles === null || styles === void 0 ? void 0 : styles.triggerHover), disabled === true && (styles === null || styles === void 0 ? void 0 : styles.wrapperDisabled), disabled !== true && focused && (styles === null || styles === void 0 ? void 0 : styles.wrapperFocus), innerTitle && (styles === null || styles === void 0 ? void 0 : styles.wrapperInnerTitle), size === 'small' && (styles === null || styles === void 0 ? void 0 : styles.wrapperSmall), size === 'large' && (styles === null || styles === void 0 ? void 0 : styles.wrapperLarge), (!!props.error || props.status === 'error') && (styles === null || styles === void 0 ? void 0 : styles.wrapperError), clearable && (styles === null || styles === void 0 ? void 0 : styles.clearable), !border && (styles === null || styles === void 0 ? void 0 : styles.wrapperNoBorder), !!underline && (styles === null || styles === void 0 ? void 0 : styles.wrapperUnderline), defineProperty_default()({}, styles === null || styles === void 0 ? void 0 : styles.multiple, multiple));
53138
54414
  var getRenderItem = function getRenderItem(data, index) {
53139
- return typeof renderItemProp === 'function' ? renderItemProp(data, index) : data[renderItemProp];
54415
+ return typeof renderItemProp === 'function' ? renderItemProp(data, index) : (data === null || data === void 0 ? void 0 : data[renderItemProp]) || '';
53140
54416
  };
53141
54417
  var renderItem = getRenderItem;
53142
54418
  var handleFocus = usePersistFn(function (e) {
@@ -53277,7 +54553,8 @@ function Select(props0) {
53277
54553
  };
53278
54554
  var getRenderResult = function getRenderResult(data, index) {
53279
54555
  if (!renderResultProp) return renderItem(data, index);
53280
- return typeof renderResultProp === 'function' ? renderResultProp(data, index) : data[renderResultProp];
54556
+ var result = typeof renderResultProp === 'function' ? renderResultProp(data, index) : data[renderResultProp];
54557
+ return result !== null && result !== void 0 ? result : null;
53281
54558
  };
53282
54559
  var getDataByValues = function getDataByValues(values) {
53283
54560
  return datum.getDataByValues(values, {
@@ -54335,6 +55612,7 @@ var list_list_List = function List(props) {
54335
55612
  children: [/*#__PURE__*/(0,jsx_runtime.jsx)(base_src_checkbox_checkbox, {
54336
55613
  jssStyle: props.jssStyle,
54337
55614
  checked: datum.check(item),
55615
+ size: props.size,
54338
55616
  disabled: datum.disabledCheck(item),
54339
55617
  onChange: function onChange(_value, checked) {
54340
55618
  if (checked) {
@@ -55799,6 +57077,9 @@ var confirm_Confirm = function Confirm(props) {
55799
57077
  jssStyle: jssStyle,
55800
57078
  type: type,
55801
57079
  title: title,
57080
+ titleStyle: {
57081
+ fontSize: 14
57082
+ },
55802
57083
  icon: icon,
55803
57084
  children: _children
55804
57085
  }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@@ -56024,6 +57305,11 @@ var Circle = function Circle(props) {
56024
57305
  var width = value === 0 && strokeLinecap === 'round' ? 0 : strokeWidth;
56025
57306
  var objColor = color && typeof_default()(color) === 'object';
56026
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('======================');
56027
57313
  return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
56028
57314
  className: mc,
56029
57315
  style: style,
@@ -56332,6 +57618,7 @@ var radio_group_Group = function Group(props0) {
56332
57618
  checked: datum.check(d),
56333
57619
  disabled: datum.disabledCheck(d),
56334
57620
  htmlValue: i,
57621
+ size: size,
56335
57622
  onChange: handleIndexChange,
56336
57623
  renderRadio: renderRadio,
56337
57624
  children: getContent(d, i)
@@ -58623,6 +59910,9 @@ var useTableSort = function useTableSort(props) {
58623
59910
  }
58624
59911
  }
58625
59912
  });
59913
+ var sortByColumn = use_persist_fn(function (params) {
59914
+ onSorterChange(params.columnKey, params.direction, true, params.columnSorter);
59915
+ });
58626
59916
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
58627
59917
  if (context.mounted) return;
58628
59918
  var hasSingleDefaultOrder = false;
@@ -58644,133 +59934,11 @@ var useTableSort = function useTableSort(props) {
58644
59934
  return {
58645
59935
  sortInfo: sortInfo,
58646
59936
  onSorterChange: onSorterChange,
58647
- sortedData: sortedData
59937
+ sortedData: sortedData,
59938
+ sortByColumn: sortByColumn
58648
59939
  };
58649
59940
  };
58650
59941
  /* harmony default export */ var use_table_sort = (useTableSort);
58651
- ;// CONCATENATED MODULE: ../hooks/src/components/use-table/use-table-tree.tsx
58652
-
58653
-
58654
-
58655
-
58656
-
58657
-
58658
-
58659
-
58660
- var getExpandData = function getExpandData(_treeData, keys, keygen, treeColumnsName) {
58661
- var expandKeys = keys;
58662
- var expandSet = new Set(expandKeys);
58663
- var unmatchExpandKeys = [];
58664
- var treeExpandLevel = new Map();
58665
- if (expandSet.size === 0 || !treeColumnsName) {
58666
- return {
58667
- treeData: _treeData,
58668
- treeExpandLevel: treeExpandLevel,
58669
- unmatchExpandKeys: unmatchExpandKeys
58670
- };
58671
- }
58672
- var treeData = toConsumableArray_default()(_treeData || []);
58673
- var _loop = function _loop() {
58674
- if (expandSet.size === 0) return 1; // break
58675
- var item = treeData[i];
58676
- var key = getKey(keygen, item, i);
58677
- var parentLevel = treeExpandLevel.get(key) || 0;
58678
- var children = is_isObject(item) && item[treeColumnsName];
58679
- if (expandSet.has(key)) {
58680
- if (children && children.length > 0) {
58681
- children.forEach(function (child) {
58682
- treeExpandLevel.set(getKey(keygen, child), parentLevel + 1);
58683
- });
58684
- treeData.splice.apply(treeData, [i + 1, 0].concat(toConsumableArray_default()(children)));
58685
- expandSet.delete(key);
58686
- } else {
58687
- unmatchExpandKeys.push(key);
58688
- }
58689
- }
58690
- };
58691
- for (var i = 0; i < treeData.length; i++) {
58692
- if (_loop()) break;
58693
- }
58694
- return {
58695
- treeData: treeData,
58696
- treeExpandLevel: treeExpandLevel,
58697
- unmatchExpandKeys: unmatchExpandKeys
58698
- };
58699
- };
58700
- var useTableTree = function useTableTree(props) {
58701
- var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(props.defaultTreeExpandKeys || []),
58702
- _useState2 = slicedToArray_default()(_useState, 2),
58703
- expandKeysState = _useState2[0],
58704
- setExpandKeysState = _useState2[1];
58705
- var _useRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)({
58706
- changedByExpand: false
58707
- }),
58708
- context = _useRef.current;
58709
- (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
58710
- context.changedByExpand = false;
58711
- }, [expandKeysState, props.treeExpandKeys]);
58712
- var expandKeys = props.treeExpandKeys === undefined ? expandKeysState : props.treeExpandKeys;
58713
- var handleTreeExpand = usePersistFn(function (data, index) {
58714
- var key = getKey(props.keygen, data, index);
58715
- var changeKeys = new Set(expandKeys);
58716
- if (changeKeys.has(key)) {
58717
- changeKeys.delete(key);
58718
- } else {
58719
- changeKeys.add(key);
58720
- }
58721
- if (props.treeExpandKeys === undefined) {
58722
- setExpandKeysState(Array.from(changeKeys));
58723
- } else if (props.onTreeExpand) {
58724
- var _props$onTreeExpand;
58725
- (_props$onTreeExpand = props.onTreeExpand) === null || _props$onTreeExpand === void 0 || _props$onTreeExpand.call(props, Array.from(changeKeys), data, changeKeys.has(key), index);
58726
- }
58727
- context.changedByExpand = true;
58728
- });
58729
- var isTreeExpanded = usePersistFn(function (data, index) {
58730
- if (!props.treeColumnsName) return false;
58731
- var key = getKey(props.keygen, data, index);
58732
- return expandKeys.includes(key);
58733
- });
58734
- var func = useLatestObj({
58735
- isTreeExpanded: isTreeExpanded,
58736
- handleTreeExpand: handleTreeExpand
58737
- });
58738
- var _useMemo = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
58739
- return getExpandData(props.data, expandKeys, props.keygen, props.treeColumnsName);
58740
- }, [props.data, expandKeys, props.treeColumnsName]),
58741
- treeData = _useMemo.treeData,
58742
- treeExpandLevel = _useMemo.treeExpandLevel,
58743
- unmatchExpandKeys = _useMemo.unmatchExpandKeys;
58744
- var isEmptyTree = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
58745
- var _props$data$filter;
58746
- return ((_props$data$filter = props.data.filter(function (item) {
58747
- var _item;
58748
- return (_item = item[props.treeColumnsName]) === null || _item === void 0 ? void 0 : _item.length;
58749
- })) === null || _props$data$filter === void 0 ? void 0 : _props$data$filter.length) === 0;
58750
- }, [props.data, props.treeColumnsName]);
58751
- (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
58752
- if (!unmatchExpandKeys.length || !expandKeysState.length) {
58753
- return;
58754
- }
58755
-
58756
- // 检查treeData中的每一项,对比expandKeysState,如果expandKeysState有但是children是空的,则需要修正expandKeysState
58757
- var newExpandKeys = expandKeysState.filter(function (key) {
58758
- return !unmatchExpandKeys.includes(key);
58759
- });
58760
- if (shallowEqual(newExpandKeys, expandKeysState)) {
58761
- return;
58762
- }
58763
- setExpandKeysState(newExpandKeys);
58764
- }, [unmatchExpandKeys, expandKeysState]);
58765
- return {
58766
- data: treeData,
58767
- treeExpandLevel: treeExpandLevel,
58768
- changedByExpand: context.changedByExpand,
58769
- isEmptyTree: isEmptyTree,
58770
- func: func
58771
- };
58772
- };
58773
- /* harmony default export */ var use_table_tree = (useTableTree);
58774
59942
  ;// CONCATENATED MODULE: ../hooks/src/components/use-table/use-table-virtual.tsx
58775
59943
 
58776
59944
 
@@ -58929,7 +60097,7 @@ var useTableVirtual = function useTableVirtual(props) {
58929
60097
  });
58930
60098
  }
58931
60099
  });
58932
- var updateIndexAndTopFromTop = function updateIndexAndTopFromTop(scrollTop) {
60100
+ var updateIndexAndTopFromTop = function updateIndexAndTopFromTop(scrollTop, fromDrag) {
58933
60101
  var _props$scrollRef$curr;
58934
60102
  if (props.disabled) return;
58935
60103
  var sum = 0;
@@ -58969,7 +60137,7 @@ var useTableVirtual = function useTableVirtual(props) {
58969
60137
  setStartIndex(currentIndex);
58970
60138
 
58971
60139
  // startIndex处于上方某个合并行的中间一行时,可能引起translate闪烁
58972
- if (startIndex < currentIndex) {
60140
+ if (rowSpanInfo && !fromDrag && startIndex < currentIndex) {
58973
60141
  context.autoAddRows = currentIndex - startIndex;
58974
60142
  setTimeout(function () {
58975
60143
  context.autoAddRows = 0;
@@ -59029,7 +60197,7 @@ var useTableVirtual = function useTableVirtual(props) {
59029
60197
  // 拖动滚动条
59030
60198
  if (fromDrag) {
59031
60199
  var top = y * max;
59032
- updateIndexAndTopFromTop(top);
60200
+ updateIndexAndTopFromTop(top, fromDrag);
59033
60201
  if (context.rateTimer) clearTimeout(context.rateTimer);
59034
60202
  context.rateTimer = setTimeout(function () {
59035
60203
  updateRateScroll(y);
@@ -60616,7 +61784,8 @@ var emptyRef = {
60616
61784
  }),
60617
61785
  sortedData = _useTableSort.sortedData,
60618
61786
  sortInfo = _useTableSort.sortInfo,
60619
- onSorterChange = _useTableSort.onSorterChange;
61787
+ onSorterChange = _useTableSort.onSorterChange,
61788
+ sortByColumn = _useTableSort.sortByColumn;
60620
61789
  var _usePaginationList = usePaginationList({
60621
61790
  data: sortedData,
60622
61791
  shouldPage: !!props.pagination,
@@ -60977,6 +62146,7 @@ var emptyRef = {
60977
62146
  return index;
60978
62147
  };
60979
62148
  var tableFunc = useLatestObj({
62149
+ sortByColumn: sortByColumn,
60980
62150
  scrollToIndex: virtualInfo.scrollToIndex,
60981
62151
  getRenderIndexByData: getRenderIndexByData,
60982
62152
  scrollColumnIntoView: virtualInfo.scrollColumnIntoView,
@@ -61119,6 +62289,7 @@ var TabsPanel = function TabsPanel(props) {
61119
62289
  var _jssStyle$tabs;
61120
62290
  var children = props.children,
61121
62291
  id = props.id,
62292
+ indexInTabs = props.index,
61122
62293
  tab = props.tab,
61123
62294
  className = props.className,
61124
62295
  style = props.style,
@@ -61140,16 +62311,22 @@ var TabsPanel = function TabsPanel(props) {
61140
62311
  color: props.color || (active === id ? color : undefined)
61141
62312
  };
61142
62313
  setTabs(function (prev) {
61143
- var prevTab = prev.find(function (item) {
62314
+ var oldTab = prev.find(function (item) {
61144
62315
  return item.id === id;
61145
62316
  });
61146
- if (prevTab) {
62317
+ if (oldTab) {
61147
62318
  return prev.map(function (item) {
61148
62319
  if (item.id !== id) return item;
61149
62320
  return objectSpread2_default()(objectSpread2_default()({}, item), tabData);
61150
62321
  });
61151
62322
  }
61152
- return [].concat(toConsumableArray_default()(prev), [tabData]);
62323
+ if (indexInTabs === undefined) {
62324
+ return [].concat(toConsumableArray_default()(prev), [tabData]);
62325
+ }
62326
+
62327
+ // 向indexInTabs位置插入tabData
62328
+ var newTabs = [].concat(toConsumableArray_default()(prev.slice(0, indexInTabs)), [tabData], toConsumableArray_default()(prev.slice(indexInTabs)));
62329
+ return newTabs;
61153
62330
  });
61154
62331
  return function () {
61155
62332
  // Panel卸载了通知父组件,去销毁相应的TabsHeader
@@ -61159,7 +62336,7 @@ var TabsPanel = function TabsPanel(props) {
61159
62336
  });
61160
62337
  });
61161
62338
  };
61162
- }, [id, tab, color].concat(toConsumableArray_default()(color ? [active] : []), [props.disabled, props.jssStyle]));
62339
+ }, [id, tab, color, active, props.disabled, props.jssStyle]);
61163
62340
  if (!isActive && lazy && !keekAlive.current) {
61164
62341
  return null;
61165
62342
  }
@@ -61495,8 +62672,7 @@ var TabsHeader = function TabsHeader(props) {
61495
62672
  extra = props.extra,
61496
62673
  splitColor = props.splitColor,
61497
62674
  tabBarStyle = props.tabBarStyle,
61498
- getPosition = props.getPosition,
61499
- sticky = props.sticky;
62675
+ getPosition = props.getPosition;
61500
62676
  var headerRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
61501
62677
  var scrollRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
61502
62678
  var tabRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)({});
@@ -61874,7 +63050,8 @@ var Tabs = function Tabs(props) {
61874
63050
  var Child = child;
61875
63051
  if (tabs_isNamedComponent(Child.type) && Child.type.displayName === 'ShineoutTabsPanel') {
61876
63052
  return /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.cloneElement)(Child, {
61877
- id: Child.props.id !== undefined ? Child.props.id : index
63053
+ id: Child.props.id !== undefined ? Child.props.id : index,
63054
+ index: index
61878
63055
  });
61879
63056
  }
61880
63057
  if (allowNonPanel) {
@@ -62534,7 +63711,7 @@ var TransferList = function TransferList(props) {
62534
63711
  disabled: disabled === true,
62535
63712
  onFilter: handleFilter,
62536
63713
  placeholder: getLocale(locale, 'search'),
62537
- isSrouce: listType === 'source'
63714
+ isSource: listType === 'source'
62538
63715
  })
62539
63716
  });
62540
63717
  }
@@ -62856,10 +64033,10 @@ var Transfer = function Transfer(props) {
62856
64033
  };
62857
64034
  var renderSourceList = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
62858
64035
  return renderList('source');
62859
- }, [source, size, filterSourceText, sourceSelectedKeys]);
64036
+ }, [source, size, filterSourceText, sourceSelectedKeys, renderFilter]);
62860
64037
  var renderTargetList = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
62861
64038
  return renderList('target');
62862
- }, [target, size, filterTargetText, targetSelectedKeys]);
64039
+ }, [target, size, filterTargetText, targetSelectedKeys, renderFilter]);
62863
64040
  var _useContext = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useContext)(FormFieldContext),
62864
64041
  fieldId = _useContext.fieldId;
62865
64042
  return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@@ -63033,6 +64210,7 @@ var TreeSelect = function TreeSelect(props0) {
63033
64210
  width = props.width,
63034
64211
  _props$height = props.height,
63035
64212
  height = _props$height === void 0 ? 250 : _props$height,
64213
+ virtual = props.virtual,
63036
64214
  childrenKey = props.childrenKey,
63037
64215
  keygen = props.keygen,
63038
64216
  loader = props.loader,
@@ -63081,6 +64259,10 @@ var TreeSelect = function TreeSelect(props0) {
63081
64259
  _useState2 = slicedToArray_default()(_useState, 2),
63082
64260
  focused = _useState2[0],
63083
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];
63084
64266
  var _useTreeSelect = use_treeselect({
63085
64267
  value: valueProp,
63086
64268
  onChange: onChangeProp,
@@ -63120,23 +64302,6 @@ var TreeSelect = function TreeSelect(props0) {
63120
64302
  onClearCreatedData = _useFilter.onClearCreatedData,
63121
64303
  setInputText = _useFilter.setInputText;
63122
64304
  var controlExpanded = 'expanded' in props || expanded !== null && expanded !== void 0 && expanded.length ? expanded : undefined;
63123
- var _useTree = use_tree({
63124
- mode: mode,
63125
- value: value,
63126
- data: data,
63127
- unmatch: unmatch,
63128
- disabled: disabled,
63129
- active: multiple ? undefined : value[0],
63130
- childrenKey: childrenKey,
63131
- keygen: keygen,
63132
- onExpand: onExpand,
63133
- expanded: controlExpanded,
63134
- defaultExpanded: defaultExpanded,
63135
- defaultExpandAll: defaultExpandAll,
63136
- isControlled: controlExpanded !== undefined
63137
- }),
63138
- datum = _useTree.datum,
63139
- onExpandTree = _useTree.onExpand;
63140
64305
  var renderMoreIcon = function renderMoreIcon() {
63141
64306
  return icons_config.treeSelect.More;
63142
64307
  };
@@ -63150,12 +64315,31 @@ var TreeSelect = function TreeSelect(props0) {
63150
64315
  childrenKey: childrenKey,
63151
64316
  expanded: expanded,
63152
64317
  rawData: rawData,
63153
- onFilter: onFilter,
63154
- rawDatum: datum
64318
+ onFilter: onFilter
64319
+ // rawDatum: datum,
63155
64320
  }),
63156
64321
  tiledData = _useTiled.data,
63157
64322
  onTiledFilter = _useTiled.onFilter,
63158
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;
63159
64343
  var onCollapse = usePersistFn(function (collapse) {
63160
64344
  onCollapseProp === null || onCollapseProp === void 0 || onCollapseProp(collapse);
63161
64345
  if (blurEvent.current && !collapse) {
@@ -63178,10 +64362,10 @@ var TreeSelect = function TreeSelect(props0) {
63178
64362
  closePop = _usePopup.closePop,
63179
64363
  PopupProvider = _usePopup.Provider,
63180
64364
  popupProviderValue = _usePopup.providerValue;
63181
- var _useState3 = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(false),
63182
- _useState4 = slicedToArray_default()(_useState3, 2),
63183
- hadOpened = _useState4[0],
63184
- 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];
63185
64369
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
63186
64370
  if (open) {
63187
64371
  setHadOpened(true);
@@ -63222,6 +64406,10 @@ var TreeSelect = function TreeSelect(props0) {
63222
64406
  openPop();
63223
64407
  }
63224
64408
  });
64409
+ var handleExpanded = function handleExpanded(id) {
64410
+ setVirtualExpanded(id);
64411
+ onExpandTree(id);
64412
+ };
63225
64413
  var focusAndOpen = function focusAndOpen() {
63226
64414
  if (!focused) {
63227
64415
  var _inputRef$current2;
@@ -63355,6 +64543,7 @@ var TreeSelect = function TreeSelect(props0) {
63355
64543
  if (from !== 'blur') {
63356
64544
  focusAndOpen();
63357
64545
  }
64546
+ setVirtualExpanded([]);
63358
64547
  onTiledFilter === null || onTiledFilter === void 0 || onTiledFilter(trim ? text.trim() : text);
63359
64548
  };
63360
64549
  var handleChange = function handleChange(item, id) {
@@ -63508,26 +64697,32 @@ var TreeSelect = function TreeSelect(props0) {
63508
64697
  if ('expanded' in props) {
63509
64698
  treeProps.expanded = expanded;
63510
64699
  }
64700
+ var style = {
64701
+ maxHeight: height
64702
+ };
63511
64703
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
63512
64704
  className: classnames_default()(styles.tree, styles.treeWrapper),
63513
- style: {
63514
- maxHeight: height
63515
- },
64705
+ style: style,
63516
64706
  children: /*#__PURE__*/(0,jsx_runtime.jsx)(src_tree_tree, objectSpread2_default()(objectSpread2_default()({
64707
+ rootStyle: {
64708
+ padding: '0 4px'
64709
+ },
63517
64710
  jssStyle: jssStyle,
63518
64711
  renderItem: renderItem
63519
64712
  }, treeProps), {}, {
64713
+ virtual: virtual,
63520
64714
  childrenKey: props.childrenKey,
63521
64715
  line: line,
63522
64716
  mode: mode,
64717
+ height: height,
63523
64718
  data: tiledData,
63524
64719
  keygen: keygen,
63525
64720
  unmatch: unmatch,
63526
64721
  value: value,
63527
64722
  highlight: !multiple,
63528
64723
  loader: loader,
63529
- onExpand: onExpandTree,
63530
- expanded: controlExpanded,
64724
+ onExpand: handleExpanded,
64725
+ expanded: virtualExpanded.length > 0 ? virtualExpanded : controlExpanded || unControlExpanded,
63531
64726
  defaultExpandAll: defaultExpandAll,
63532
64727
  expandIcons: tiledExpandIcons,
63533
64728
  disabled: disabled,
@@ -64618,7 +65813,9 @@ var Upload = function Upload(props0) {
64618
65813
  value: value,
64619
65814
  files: files,
64620
65815
  onFileRemove: func.removeFile,
64621
- onValueRemove: func.removeValue
65816
+ onValueRemove: func.removeValue,
65817
+ recoverValue: recycleValues,
65818
+ onValueRecover: func.recoverValue
64622
65819
  }), !shouldRenderLeft && renderHandler()]
64623
65820
  }) : /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
64624
65821
  children: [shouldRenderLeft && renderHandler(), renderValue(), renderFile(), !shouldRenderLeft && renderHandler(), renderRecover()]
@@ -64809,6 +66006,7 @@ var UploadButton = function UploadButton(props) {
64809
66006
  className: classnames_default()(uploadClasses === null || uploadClasses === void 0 ? void 0 : uploadClasses.button, uploading && (uploadClasses === null || uploadClasses === void 0 ? void 0 : uploadClasses.buttonUploading)),
64810
66007
  type: props.type || 'primary',
64811
66008
  size: props.size,
66009
+ mode: props.mode,
64812
66010
  onClick: onClick,
64813
66011
  onKeyDown: button_handleKeyDown,
64814
66012
  children: [uploading && [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@@ -66257,14 +67455,14 @@ function getDirectionIconName() {
66257
67455
  var rtl = true;
66258
67456
  if (mode === 'left') {
66259
67457
  if (rtl) {
66260
- return double ? 'AngleDoubleRight' : 'AngleRight';
67458
+ return double ? 'ArrowRightDouble' : 'AngleRight';
66261
67459
  }
66262
- return double ? 'AngleDoubleLeft' : 'AngleLeft';
67460
+ return double ? 'ArrowLeftDouble' : 'AngleLeft';
66263
67461
  }
66264
67462
  if (rtl) {
66265
- return double ? 'AngleDoubleLeft' : 'AngleLeft';
67463
+ return double ? 'ArrowLeftDouble' : 'AngleLeft';
66266
67464
  }
66267
- return double ? 'AngleDoubleRight' : 'AngleRight';
67465
+ return double ? 'ArrowRightDouble' : 'AngleRight';
66268
67466
  }
66269
67467
  ;// CONCATENATED MODULE: ./src/utils/tree.ts
66270
67468
 
@@ -67192,7 +68390,7 @@ var upload_interface = __webpack_require__(8821);
67192
68390
 
67193
68391
 
67194
68392
  /* harmony default export */ var src_0 = ({
67195
- version: '3.6.0-beta.2'
68393
+ version: '3.6.0-beta.4'
67196
68394
  });
67197
68395
  }();
67198
68396
  /******/ return __webpack_exports__;