@oceanbase/ui 0.2.24 → 0.2.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/dist/ui.min.css +1 -1
  2. package/dist/ui.min.js +1 -1
  3. package/es/Action/Group.js +3 -3
  4. package/es/Action/Item.js +1 -1
  5. package/es/BackgroundTaskManager/RefreshMan.js +1 -1
  6. package/es/BackgroundTaskManager/index.d.ts +1 -0
  7. package/es/BackgroundTaskManager/index.js +11 -7
  8. package/es/BasicLayout/Header.d.ts +1 -1
  9. package/es/BasicLayout/Header.js +62 -71
  10. package/es/BasicLayout/index.d.ts +0 -1
  11. package/es/BasicLayout/index.js +58 -66
  12. package/es/BasicLayout/style/Header.d.ts +9 -0
  13. package/es/BasicLayout/style/Header.js +94 -0
  14. package/es/BasicLayout/style/index.js +307 -6
  15. package/es/BatchOperationBar/index.js +5 -5
  16. package/es/Boundary/Components/Exception.js +1 -1
  17. package/es/ContentWithIcon/index.js +3 -3
  18. package/es/ContentWithQuestion/index.js +3 -3
  19. package/es/ContentWithQuestion/index.less +1 -2
  20. package/es/Dialog/Anchor.js +4 -4
  21. package/es/Dialog/EventProxy.js +1 -1
  22. package/es/Dialog/index.js +5 -5
  23. package/es/DocDialog/index.js +4 -4
  24. package/es/FullscreenBox/index.js +2 -2
  25. package/es/GraphToolbar/index.js +7 -7
  26. package/es/Highlight/DiffView/DiffCells.js +1 -1
  27. package/es/Highlight/DiffView/index.js +9 -9
  28. package/es/Highlight/JsonView.js +1 -1
  29. package/es/Highlight/index.d.ts +1 -1
  30. package/es/Highlight/index.js +7 -5
  31. package/es/Highlight/useKeyDownCopyEvent.js +1 -1
  32. package/es/IconFont/index.js +3 -3
  33. package/es/LocaleDropdown/index.js +7 -7
  34. package/es/Login/ActivateForm.js +4 -4
  35. package/es/Login/LoginForm.js +7 -5
  36. package/es/Login/RegisterForm.js +6 -6
  37. package/es/Login/index.js +7 -9
  38. package/es/Lottie/index.js +4 -4
  39. package/es/NavMenu/index.js +2 -2
  40. package/es/PageContainer/ItemRender.js +1 -1
  41. package/es/PageContainer/index.js +3 -3
  42. package/es/PageContainer/style/index.js +12 -9
  43. package/es/Password/Content.js +3 -1
  44. package/es/Password/index.js +10 -8
  45. package/es/Ranger/QuickPicker.js +5 -5
  46. package/es/Ranger/Ranger.js +5 -5
  47. package/es/Ranger/constant/index.js +1 -1
  48. package/es/SideTip/Dragger.js +3 -3
  49. package/es/SideTip/IconLoading.js +3 -3
  50. package/es/SideTip/index.js +4 -4
  51. package/es/TagSelect/Group.js +2 -2
  52. package/es/TagSelect/Item.js +4 -4
  53. package/es/TagSelect/style/index.js +3 -3
  54. package/es/TaskGraph/Graph.js +1 -1
  55. package/es/TaskGraph/index.js +6 -6
  56. package/es/TaskGraph/register.js +3 -3
  57. package/es/TreeSearch/index.js +2 -2
  58. package/es/TreeSearch/util.js +5 -5
  59. package/es/Welcome/index.js +4 -3
  60. package/es/Welcome/index.less +4 -5
  61. package/es/_util/genComponentStyleHook.js +3 -3
  62. package/es/locale/LocaleWrapper.js +3 -3
  63. package/es/locale/en-US.js +3 -3
  64. package/es/locale/zh-CN.js +3 -3
  65. package/es/locale/zh-TW.js +3 -3
  66. package/lib/BackgroundTaskManager/index.d.ts +1 -0
  67. package/lib/BackgroundTaskManager/index.js +5 -1
  68. package/lib/BasicLayout/Header.d.ts +1 -1
  69. package/lib/BasicLayout/Header.js +58 -69
  70. package/lib/BasicLayout/index.d.ts +0 -1
  71. package/lib/BasicLayout/index.js +50 -45
  72. package/lib/BasicLayout/style/Header.d.ts +9 -0
  73. package/lib/BasicLayout/style/Header.js +139 -0
  74. package/lib/BasicLayout/style/index.js +399 -2
  75. package/lib/ContentWithQuestion/index.less +1 -2
  76. package/lib/Highlight/index.d.ts +1 -1
  77. package/lib/Highlight/index.js +3 -2
  78. package/lib/LocaleDropdown/index.js +7 -3
  79. package/lib/Login/LoginForm.js +4 -3
  80. package/lib/Login/index.js +1 -1
  81. package/lib/PageContainer/style/index.js +11 -7
  82. package/lib/Password/Content.js +8 -7
  83. package/lib/Password/index.js +2 -1
  84. package/lib/Welcome/index.js +11 -1
  85. package/lib/Welcome/index.less +4 -5
  86. package/package.json +7 -7
  87. package/es/BasicLayout/Header.less +0 -134
  88. package/es/BasicLayout/index.less +0 -396
  89. package/es/assets/user.svg +0 -16
  90. package/lib/BasicLayout/Header.less +0 -134
  91. package/lib/BasicLayout/index.less +0 -396
  92. package/lib/assets/user.svg +0 -16
@@ -1,14 +1,22 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
5
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
6
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
7
  import { genComponentStyleHook } from "../../_util/genComponentStyleHook";
8
8
  export var genBasicLayoutStyle = function genBasicLayoutStyle(token) {
9
- var componentCls = token.componentCls,
9
+ var _objectSpread2, _$concat2, _$concat5, _$concat8, _$concat$concat$conca2, _$concat9, _$concat12, _$concat13, _$concat14, _$concat16, _$concat17, _$concat18, _$concat19, _mediaMinWidth$, _$concat22, _objectSpread3;
10
+ var antCls = token.antCls,
11
+ componentCls = token.componentCls,
10
12
  proComponentsCls = token.proComponentsCls,
13
+ colorBgLayout = token.colorBgLayout,
14
+ colorText = token.colorText,
15
+ colorBorder = token.colorBorder,
16
+ colorPrimaryBorder = token.colorPrimaryBorder,
17
+ colorPrimary = token.colorPrimary,
11
18
  motionDurationSlow = token.motionDurationSlow;
19
+ var maxWidth = '8192px';
12
20
  var siderWidthList = [0, 52, 52 * 2, 192, 208];
13
21
  var footerBarStyle = {};
14
22
  siderWidthList.forEach(function (width) {
@@ -18,10 +26,303 @@ export var genBasicLayoutStyle = function genBasicLayoutStyle(token) {
18
26
  transition: "width ".concat(motionDurationSlow)
19
27
  });
20
28
  });
21
- return _objectSpread(_defineProperty({}, "".concat(componentCls), _defineProperty({}, "".concat(proComponentsCls, "-page-container"), {
29
+ return _objectSpread(_objectSpread((_objectSpread2 = {}, _defineProperty(_objectSpread2, "".concat(componentCls, "-banner-wrapper"), {
30
+ position: 'fixed',
31
+ top: 0,
32
+ zIndex: 20,
33
+ width: '100%'
34
+ }), _defineProperty(_objectSpread2, "".concat(componentCls, "-with-banner"), {
35
+ marginTop: '38px'
36
+ }), _objectSpread2), footerBarStyle), {}, (_objectSpread3 = {}, _defineProperty(_objectSpread3, "".concat(componentCls), (_$concat19 = {
37
+ height: '100%',
38
+ backgroundColor: colorBgLayout,
39
+ transition: 'all 0.1s'
40
+ }, _defineProperty(_$concat19, "".concat(proComponentsCls, "-page-container"), {
22
41
  // 48px is the height of BasicLayout header
23
42
  minHeight: 'calc(100vh - 48px)'
24
- })), footerBarStyle);
43
+ }), _defineProperty(_$concat19, "".concat(componentCls, "-content-layout"), (_$concat18 = {
44
+ maxWidth: maxWidth,
45
+ // 居中对齐
46
+ margin: '0 auto'
47
+ }, _defineProperty(_$concat18, "".concat(componentCls, "-sider"), (_$concat14 = {
48
+ position: 'fixed',
49
+ zIndex: 10,
50
+ padding: '16px 0 16px 16px',
51
+ backgroundColor: colorBgLayout,
52
+ transition: 'all 0.3s'
53
+ }, _defineProperty(_$concat14, "".concat(componentCls, "-sider-border"), (_$concat2 = {
54
+ position: 'relative',
55
+ top: '-16px',
56
+ width: 1,
57
+ height: '100%',
58
+ backgroundColor: '#e2e8f3',
59
+ cursor: 'pointer',
60
+ opacity: 0
61
+ }, _defineProperty(_$concat2, '&::after', {
62
+ position: 'absolute',
63
+ top: 0,
64
+ right: '-10px',
65
+ bottom: 0,
66
+ left: '-10px',
67
+ content: '""'
68
+ }), _defineProperty(_$concat2, '&:hover', _defineProperty({
69
+ opacity: 1,
70
+ // 仅在 hover 时增加过渡动画,避免展开/收起时 border 和 collapse 没有及时消失、影响整体效果
71
+ transition: 'opacity 0.3s'
72
+ }, "".concat(componentCls, "-sider-collapse"), {
73
+ opacity: 1,
74
+ transition: 'opacity 0.3s'
75
+ })), _defineProperty(_$concat2, "".concat(componentCls, "-sider-collapse"), _defineProperty({
76
+ position: 'relative',
77
+ top: '245px',
78
+ right: 10,
79
+ // 需要设置 z-index 以便叠加在分隔线上,否则点击的是分隔线的热区,无法触发 collapse 的点击事件
80
+ zIndex: 1,
81
+ width: '20px',
82
+ height: '42px',
83
+ lineHeight: '42px',
84
+ textAlign: 'center',
85
+ backgroundColor: '#fff',
86
+ border: "1px solid ".concat(colorBorder),
87
+ borderRadius: '10px',
88
+ cursor: 'pointer',
89
+ opacity: 0
90
+ }, '.anticon', {
91
+ fontSize: 'px',
92
+ display: 'block',
93
+ lineHeight: '42px'
94
+ })), _$concat2)), _defineProperty(_$concat14, "".concat(componentCls, "-sider-wrapper"), (_$concat13 = {
95
+ display: 'flex',
96
+ height: 'calc(100vh - 48px)'
97
+ }, _defineProperty(_$concat13, "".concat(antCls, "-menu"), (_$concat5 = {
98
+ backgroundColor: 'transparent',
99
+ borderRight: 'none'
100
+ }, _defineProperty(_$concat5, "".concat(antCls, "-menu-item"), _defineProperty({
101
+ width: '100%',
102
+ marginTop: 0,
103
+ marginRight: 'auto',
104
+ marginLeft: 'auto',
105
+ color: colorText,
106
+ backgroundColor: 'transparent'
107
+ }, ".anticon", {
108
+ // 图标尺寸设为 18px,因为设计侧给到的图标内侧有间距,需要适当加大尺寸
109
+ width: '18px',
110
+ height: '18px',
111
+ fontSize: '18px'
112
+ })), _defineProperty(_$concat5, "".concat(antCls, "-menu-submenu"), _defineProperty({
113
+ width: '100%',
114
+ marginTop: 0,
115
+ marginRight: 'auto',
116
+ marginLeft: 'auto',
117
+ color: colorText,
118
+ backgroundColor: 'transparent'
119
+ }, ".anticon", {
120
+ // 图标尺寸设为 18px,因为设计侧给到的图标内侧有间距,需要适当加大尺寸
121
+ width: '18px',
122
+ height: '18px',
123
+ fontSize: '18px'
124
+ })), _defineProperty(_$concat5, "".concat(antCls, "-menu-submenu > ").concat(antCls, "-menu-submenu-title"), {
125
+ width: '100%',
126
+ marginBottom: '4px !important',
127
+ marginInline: 0,
128
+ marginBlock: 0
129
+ }), _$concat5)), _defineProperty(_$concat13, "".concat(antCls, "-menu-inline"), (_$concat8 = {}, _defineProperty(_$concat8, "".concat(antCls, "-menu-item, ").concat(antCls, "-menu-submenu"), {
130
+ '&:not(:last-child)': {
131
+ marginBottom: '16px',
132
+ // 子菜单展开时 marginBottom 会变小,为了避免效果突兀,增加过渡效果
133
+ transition: 'marginBottom 0.2s'
134
+ }
135
+ }), _defineProperty(_$concat8, "".concat(antCls, "-menu-submenu-open"), {
136
+ '&:not(:last-childantCls)': {
137
+ // 子菜单展开时,减小 marginBottom
138
+ marginBottom: 4
139
+ }
140
+ }), _defineProperty(_$concat8, "".concat(antCls, "-menu-submenu"), _defineProperty({}, "".concat(antCls, "-menu-item:not(:last-child)"), {
141
+ marginBottom: 4
142
+ })), _defineProperty(_$concat8, "".concat(antCls, "-menu-item, ").concat(antCls, "-menu-submenu > ").concat(antCls, "-menu-submenu-title"), _defineProperty({
143
+ paddingLeft: '16px !important'
144
+ }, "".concat(antCls, "-menu-title-content"), {
145
+ width: '108px'
146
+ })), _defineProperty(_$concat8, "".concat(antCls, "-menu-sub"), _defineProperty({}, "".concat(antCls, "-menu-item"), {
147
+ marginLeft: '16px',
148
+ paddingLeft: '28px !important'
149
+ })), _defineProperty(_$concat8, "".concat(antCls, "-menu-item-active, ").concat(antCls, "-menu-submenu-active > ").concat(antCls, "-menu-submenu-title"), {
150
+ color: "".concat(colorText, " !important"),
151
+ fontWeight: 600,
152
+ animation: 'activeGradientAnimation 0.1s',
153
+ // .border-gradient(linear-gradient(to right, #E9EDF6, @colorBgLayout), linear-gradient(90deg, #C6CDD9, @colorBgLayout), 0.5px, solid, 8px 0 0 8px),
154
+ backgroundImage: "linear-gradient(to right,#E9EDF6, ".concat(colorBgLayout, "),linear-gradient(90deg,#C6CDD9,").concat(colorBgLayout, ")"),
155
+ backgroundClip: 'padding-box,border-box',
156
+ backgroundOrigin: 'padding-box,border-box',
157
+ border: '.5px solid transparent',
158
+ borderRadius: '8px 0 0 8px',
159
+ transition: 'border-width .3s'
160
+ }), _defineProperty(_$concat8, "".concat(antCls, "-menu-item-selected"), {
161
+ color: "".concat(colorPrimary, " !important"),
162
+ fontWeight: 600,
163
+ animation: 'selectedGradientAnimation 0.5s',
164
+ // .border-gradient(linear-gradient(to right, #E5EEFF, #F4F8FF), linear-gradient(90deg, @colorPrimaryBorder, @colorBgLayout), 0.5px, solid, 8px 0 0 8px),
165
+ backgroundImage: "linear-gradient(to right,#E5EEFF,#F4F8FF),linear-gradient(90deg,".concat(colorPrimaryBorder, ",").concat(colorBgLayout, ")"),
166
+ backgroundClip: 'padding-box,border-box',
167
+ backgroundOrigin: 'padding-box,border-box',
168
+ border: '.5px solid transparent',
169
+ borderRadius: '8px 0 0 8px',
170
+ transition: 'border-width .3s',
171
+ '&::after': {
172
+ // content: '""',
173
+ // 去掉菜单项的选中标记
174
+ display: 'none'
175
+ }
176
+ }), _defineProperty(_$concat8, "".concat(antCls, "-menu-submenu-selected > ").concat(antCls, "-menu-submenu-title"), {
177
+ color: "".concat(colorPrimary, " !important")
178
+ }), _defineProperty(_$concat8, "".concat(antCls, "-divider"), {
179
+ margin: '0 0 16px 0'
180
+ }), _$concat8)), _defineProperty(_$concat13, "".concat(antCls, "-menu-vertical"), (_$concat9 = {
181
+ overflowX: 'hidden',
182
+ overflowY: 'auto',
183
+ borderRight: 'none'
184
+ }, _defineProperty(_$concat9, "".concat(antCls, "-menu-item, ").concat(antCls, "-menu-submenu"), {
185
+ '&:not(:last-child)': {
186
+ marginBottom: 4
187
+ }
188
+ }), _defineProperty(_$concat9, "".concat(antCls, "-menu-item, ").concat(antCls, "-menu-submenu > ").concat(antCls, "-menu-submenu-title"), (_$concat$concat$conca2 = {
189
+ width: '52px',
190
+ height: '52px',
191
+ padding: 0,
192
+ lineHeight: '52px',
193
+ textAlign: 'center'
194
+ }, _defineProperty(_$concat$concat$conca2, "".concat(antCls, "-menu-title-content"), {
195
+ display: 'inline-block',
196
+ width: '40px',
197
+ height: '40px',
198
+ lineHeight: '40px',
199
+ borderRadius: '8px'
200
+ }), _defineProperty(_$concat$concat$conca2, "".concat(antCls, "-menu-submenu-arrow"), {
201
+ display: 'none'
202
+ }), _$concat$concat$conca2)), _defineProperty(_$concat9, "".concat(antCls, "-menu-item-active, ").concat(antCls, "-menu-submenu-active > ").concat(antCls, "-menu-submenu-title"), _defineProperty({}, "".concat(antCls, "-menu-title-content"), {
203
+ backgroundColor: '#e9edf6',
204
+ border: '0.5px solid #c6cdd9'
205
+ })), _defineProperty(_$concat9, "".concat(antCls, "-menu-item-selected, ").concat(antCls, "-menu-submenu-selected > ").concat(antCls, "-menu-submenu-title"), _defineProperty({}, "".concat(antCls, "-menu-title-content"), {
206
+ backgroundColor: '#e5eeff',
207
+ border: "0.5px solid ".concat(colorPrimaryBorder)
208
+ })), _$concat9)), _defineProperty(_$concat13, "".concat(componentCls, "-sub-sider"), _defineProperty({
209
+ borderRight: '1px solid #e2e8f3'
210
+ }, "".concat(antCls, "-divider"), {
211
+ margin: '0 0 4px 0'
212
+ })), _defineProperty(_$concat13, "".concat(componentCls, "-sub-sider, ").concat(componentCls, "-menu-collapsed"), _defineProperty({
213
+ width: '52px'
214
+ }, "".concat(antCls, "-divider"), {
215
+ margin: '0 0 4px 0'
216
+ })), _defineProperty(_$concat13, "".concat(componentCls, "-sider-content"), (_$concat12 = {
217
+ display: 'flex',
218
+ flex: 1,
219
+ // 纵向排列
220
+ flexDirection: 'column',
221
+ // 纵向两端对齐
222
+ justifyContent: 'space-between',
223
+ height: '100%'
224
+ }, _defineProperty(_$concat12, "".concat(componentCls, "-sider-header"), {
225
+ paddingTop: '16px'
226
+ }), _defineProperty(_$concat12, "".concat(componentCls, "-menu-wrapper"), _defineProperty({
227
+ display: 'flex',
228
+ flexDirection: 'column',
229
+ // 保证垂直方向超出高度出现滚动
230
+ flexGrow: 1,
231
+ justifyContent: 'space-between',
232
+ overflowX: 'hidden',
233
+ overflowY: 'auto'
234
+ }, "".concat(componentCls, "-menu"), {
235
+ backgroundColor: 'transparent',
236
+ borderRight: 'none',
237
+ marginBottom: '32px'
238
+ })), _$concat12)), _$concat13)), _$concat14)), _defineProperty(_$concat18, "".concat(componentCls, "-sider-collapsed"), {
239
+ paddingLeft: 0
240
+ }), _defineProperty(_$concat18, "".concat(componentCls, "-sider-has-sub-sider"), (_$concat17 = {
241
+ padding: 0
242
+ }, _defineProperty(_$concat17, "".concat(componentCls, "-sider-border"), _defineProperty({
243
+ display: 'none'
244
+ }, "".concat(componentCls, "-sider-collapse"), {
245
+ display: 'none'
246
+ })), _defineProperty(_$concat17, "".concat(antCls, "-menu-inline"), (_$concat16 = {
247
+ paddingTop: '16px'
248
+ }, _defineProperty(_$concat16, "".concat(antCls, "-menu-item, ").concat(antCls, "-menu-submenu"), {
249
+ '&:not(:last-child)': {
250
+ marginBottom: '16px !important'
251
+ }
252
+ }), _defineProperty(_$concat16, "".concat(antCls, "-divider"), {
253
+ width: '60%',
254
+ minWidth: '60%',
255
+ margin: '-8px 0 8px 16px !important'
256
+ }), _$concat16)), _defineProperty(_$concat17, "".concat(antCls, "-menu-vertical"), {
257
+ paddingTop: '10px'
258
+ }), _defineProperty(_$concat17, "".concat(componentCls, "-sider-content"), {
259
+ paddingLeft: '6px'
260
+ }), _$concat17)), _defineProperty(_$concat18, "".concat(componentCls, "-content"), {
261
+ backgroundColor: colorBgLayout,
262
+ transition: 'all 0.3s'
263
+ }), _$concat18)), _$concat19)), _defineProperty(_objectSpread3, "@media (min-width: ".concat(maxWidth, ")"), (_mediaMinWidth$ = {}, _defineProperty(_mediaMinWidth$, "".concat(componentCls), _defineProperty({}, "".concat(componentCls, "-content-layout"), _defineProperty({}, "".concat(componentCls, "-sider"), {
264
+ paddingLeft: 0
265
+ }))), _defineProperty(_mediaMinWidth$, "".concat(proComponentsCls, "-footer-bar"), {
266
+ right: "calc((100% - ".concat(maxWidth, ") / 2 + 24px)"),
267
+ width: "calc(".concat(maxWidth, " - 192px - 24px - 24px)"),
268
+ maxWidth: "calc(".concat(maxWidth, " - 192px - 24px - 24px)")
269
+ }), _mediaMinWidth$)), _defineProperty(_objectSpread3, "".concat(antCls, "-menu-submenu-popup"), _defineProperty({}, "".concat(antCls, "-menu"), (_$concat22 = {
270
+ paddingLeft: '6px !important',
271
+ backgroundColor: "".concat(colorBgLayout, " !important")
272
+ }, _defineProperty(_$concat22, "".concat(antCls, "-menu-item"), {
273
+ width: '100%',
274
+ backgroundColor: 'transparent',
275
+ border: 'none',
276
+ marginInline: 0,
277
+ '&:not(:last-child):': {
278
+ marginBottom: '8px !important'
279
+ }
280
+ }), _defineProperty(_$concat22, "".concat(antCls, "-menu-submenu"), {
281
+ width: '100%',
282
+ backgroundColor: 'transparent',
283
+ border: 'none',
284
+ marginInline: 0,
285
+ '&:not(:last-child):': {
286
+ marginBottom: '8px !important'
287
+ }
288
+ }), _defineProperty(_$concat22, "".concat(antCls, "-menu-item-active"), {
289
+ color: 'colorText !important',
290
+ fontWeight: 600,
291
+ animation: 'activeGradientAnimation 0.1s',
292
+ // .border-gradient(linear-gradient(to right, #E9EDF6, colorBgLayout), linear-gradient(90deg, #C6CDD9, colorBgLayout), 0.5px, solid, 8px 0 0 8px),
293
+ backgroundImage: "linear-gradient(to right, #E9EDF6, ".concat(colorBgLayout, "), linear-gradient(90deg, #C6CDD9, ").concat(colorBgLayout, ")"),
294
+ backgroundClip: 'padding-box,border-box',
295
+ backgroundOrigin: 'padding-box,border-box',
296
+ border: '.5px solid transparent',
297
+ borderRadius: '8px 0 0 8px',
298
+ transition: 'border-width .3s'
299
+ }), _defineProperty(_$concat22, "".concat(antCls, "-menu-submenu-active > & ").concat(antCls, "-menu-submenu-title"), {
300
+ color: 'colorText !important',
301
+ fontWeight: 600,
302
+ animation: 'activeGradientAnimation 0.1s',
303
+ // .border-gradient(linear-gradient(to right, #E9EDF6, colorBgLayout), linear-gradient(90deg, #C6CDD9, colorBgLayout), 0.5px, solid, 8px 0 0 8px),
304
+ backgroundImage: "linear-gradient(to right, #E9EDF6, ".concat(colorBgLayout, "), linear-gradient(90deg, #C6CDD9, ").concat(colorBgLayout, ")"),
305
+ backgroundClip: 'padding-box,border-box',
306
+ backgroundOrigin: 'padding-box,border-box',
307
+ border: '.5px solid transparent',
308
+ borderRadius: '8px 0 0 8px',
309
+ transition: 'border-width .3s'
310
+ }), _defineProperty(_$concat22, "".concat(antCls, "-menu-item-selected"), {
311
+ color: "".concat(colorPrimary, " !important"),
312
+ fontWeight: 600,
313
+ animation: 'selectedGradientAnimation 0.1s',
314
+ // .border-gradient(linear-gradient(to right, #E5EEFF, #F4F8FF), linear-gradient(90deg, @colorPrimaryBorder, colorBgLayout), 0.5px, solid, 8px 0 0 8px),
315
+ backgroundImage: "linear-gradient(to right,#E5EEFF,#F4F8FF),linear-gradient(90deg,".concat(colorPrimaryBorder, ",").concat(colorBgLayout, ")"),
316
+ backgroundClip: 'padding-box,border-box',
317
+ backgroundOrigin: 'padding-box,border-box',
318
+ border: '.5px solid transparent',
319
+ borderRadius: '8px 0 0 8px',
320
+ transition: 'border-width .3s'
321
+ }), _defineProperty(_$concat22, "".concat(antCls, "-divider"), {
322
+ width: "'60%'",
323
+ minWidth: '60%',
324
+ margin: '0 0 8px 16px !important'
325
+ }), _$concat22))), _objectSpread3));
25
326
  };
26
327
  export default (function (prefixCls) {
27
328
  var useStyle = genComponentStyleHook('BasicLayout', function (token) {
@@ -1,6 +1,6 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
5
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
6
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
@@ -8,7 +8,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
8
8
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9
9
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
10
10
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
11
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
11
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  import { DownOutlined, UpOutlined } from '@oceanbase/icons';
14
14
  import { Space } from '@oceanbase/design';
@@ -111,7 +111,7 @@ var BatchOperationBar = function BatchOperationBar(props) {
111
111
  className: "".concat(prefix, "-title"),
112
112
  children: title
113
113
  }), /*#__PURE__*/_jsx("span", {
114
- children: locale === null || locale === void 0 ? void 0 : (_locale$alertText = locale.alertText) === null || _locale$alertText === void 0 ? void 0 : (_locale$alertText$rep = _locale$alertText.replace) === null || _locale$alertText$rep === void 0 ? void 0 : _locale$alertText$rep.call(_locale$alertText, /\$\{\}/, (selectedData === null || selectedData === void 0 ? void 0 : selectedData.length) || 0)
114
+ children: locale === null || locale === void 0 || (_locale$alertText = locale.alertText) === null || _locale$alertText === void 0 || (_locale$alertText$rep = _locale$alertText.replace) === null || _locale$alertText$rep === void 0 ? void 0 : _locale$alertText$rep.call(_locale$alertText, /\$\{\}/, (selectedData === null || selectedData === void 0 ? void 0 : selectedData.length) || 0)
115
115
  })]
116
116
  }), !!showCancelBtn && /*#__PURE__*/_jsx("span", {
117
117
  className: classnames(_defineProperty({}, "".concat(prefix, "-cancel"), true)),
@@ -1,4 +1,4 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3
3
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
4
4
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
@@ -1,7 +1,7 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  var _excluded = ["content", "tooltip", "prefixIcon", "suffixIcon", "className", "children", "iconType", "color", "tooltipWithLink", "popOver", "textHidden", "size", "infoColor", "exclamationColor"];
3
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
6
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
7
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
@@ -1,7 +1,7 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  var _excluded = ["content", "tooltip", "prefixIcon", "suffixIcon", "className", "children"];
3
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
6
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
7
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
@@ -14,6 +14,5 @@
14
14
  }
15
15
  .@{prefix}-color {
16
16
  color: red;
17
-
18
17
  }
19
- }
18
+ }
@@ -1,6 +1,6 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5
5
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
6
6
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
@@ -43,7 +43,7 @@ export var Anchor = /*#__PURE__*/function (_React$Component) {
43
43
  _this.clientX = event.clientX;
44
44
  _this.clientY = event.clientY;
45
45
  if (onStart) onStart(event);
46
- var cursor = dock === null || dock === void 0 ? void 0 : (_dock$style = dock.style) === null || _dock$style === void 0 ? void 0 : _dock$style.cursor;
46
+ var cursor = dock === null || dock === void 0 || (_dock$style = dock.style) === null || _dock$style === void 0 ? void 0 : _dock$style.cursor;
47
47
  if (cursor) {
48
48
  _this.originBodyStyle = document.body.getAttribute('style') || '';
49
49
  var style = "cursor:".concat(cursor, " !important; ").concat(_this.originBodyStyle);
@@ -6,7 +6,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
6
6
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
7
7
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
8
8
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
9
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
9
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
10
10
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
11
  import { isFunction } from 'lodash';
12
12
  import React, { useCallback, useEffect, useMemo } from 'react';
@@ -1,6 +1,6 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5
5
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
6
6
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
@@ -133,7 +133,7 @@ var DialogComp = /*#__PURE__*/function (_React$PureComponent) {
133
133
  _defineProperty(_assertThisInitialized(_this), "onClose", function (event) {
134
134
  var _this$props$onClose, _this$props2;
135
135
  event.stopPropagation();
136
- (_this$props$onClose = (_this$props2 = _this.props).onClose) === null || _this$props$onClose === void 0 ? void 0 : _this$props$onClose.call(_this$props2);
136
+ (_this$props$onClose = (_this$props2 = _this.props).onClose) === null || _this$props$onClose === void 0 || _this$props$onClose.call(_this$props2);
137
137
  });
138
138
  _defineProperty(_assertThisInitialized(_this), "getBaseStyle", function () {
139
139
  var visible = _this.props.visible;
@@ -194,7 +194,7 @@ var DialogComp = /*#__PURE__*/function (_React$PureComponent) {
194
194
  var setRootWidth = _this.props.setRootWidth;
195
195
  var restWidth = !!newWidth ? newWidth + SCROLL_BAR_WIDTH : 0;
196
196
  var rootWidth = (_this.props.clientWidth - restWidth) / _this.props.clientWidth;
197
- setRootWidth === null || setRootWidth === void 0 ? void 0 : setRootWidth("".concat(rootWidth * 100, "%"));
197
+ setRootWidth === null || setRootWidth === void 0 || setRootWidth("".concat(rootWidth * 100, "%"));
198
198
  });
199
199
  _defineProperty(_assertThisInitialized(_this), "onResizeStart", function () {
200
200
  if (_this.state.minimize || !_this.props.resizable) return;
@@ -1,6 +1,6 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
5
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
6
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
@@ -8,7 +8,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
8
8
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9
9
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
10
10
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
11
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
11
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  import { debounce } from 'lodash';
14
14
  import React, { useEffect, useMemo, useState } from 'react';
@@ -1,4 +1,4 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
3
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
4
4
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
@@ -6,7 +6,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
6
6
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
7
7
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
8
8
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
9
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
9
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
10
10
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
11
  import { FullscreenExitOutlined, FullscreenOutlined } from '@oceanbase/icons';
12
12
  import classnames from 'classnames';