ebaoferc 0.0.2-beta.2 → 0.0.3-beta.1
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/components/FlexRowCol/index.d.ts +3 -0
- package/dist/components/FlexRowCol/index.js +33 -3
- package/dist/components/MindGraph/react/component/index.js +10 -11
- package/dist/components/StyledQueryFilter/index.d.ts +8 -2
- package/dist/components/StyledQueryFilter/index.js +105 -9
- package/dist/components/StyledQueryFilter/index.less +19 -15
- package/package.json +1 -1
|
@@ -5,4 +5,7 @@ export default function (props: PropsWithChildren<{
|
|
|
5
5
|
colProps?: ColProps;
|
|
6
6
|
width?: number;
|
|
7
7
|
gutter?: number[];
|
|
8
|
+
lineCountChange?: (count: number) => void;
|
|
9
|
+
collapsed?: boolean;
|
|
10
|
+
collapsedLineCount?: number;
|
|
8
11
|
} & RowProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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
|
-
var _excluded = ["colProps", "width", "gutter"];
|
|
2
|
+
var _excluded = ["colProps", "width", "gutter", "collapsedLineCount"];
|
|
3
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
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; }
|
|
@@ -9,10 +9,11 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
9
9
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
10
10
|
import { useSize } from 'ahooks';
|
|
11
11
|
import { Col, Row } from 'antd';
|
|
12
|
-
import { Children, isValidElement, useRef } from 'react';
|
|
12
|
+
import React, { Children, isValidElement, useEffect, useRef } from 'react';
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
14
|
export var Gutter = [24, 0];
|
|
15
15
|
export default function (props) {
|
|
16
|
+
var _Children$map;
|
|
16
17
|
var _props$colProps = props.colProps,
|
|
17
18
|
colProps = _props$colProps === void 0 ? {
|
|
18
19
|
span: 12
|
|
@@ -21,16 +22,41 @@ export default function (props) {
|
|
|
21
22
|
width = _props$width === void 0 ? 250 : _props$width,
|
|
22
23
|
_props$gutter = props.gutter,
|
|
23
24
|
gutter = _props$gutter === void 0 ? Gutter : _props$gutter,
|
|
25
|
+
_props$collapsedLineC = props.collapsedLineCount,
|
|
26
|
+
collapsedLineCount = _props$collapsedLineC === void 0 ? Number.POSITIVE_INFINITY : _props$collapsedLineC,
|
|
24
27
|
rest = _objectWithoutProperties(props, _excluded);
|
|
25
28
|
var ref = useRef(null);
|
|
26
29
|
var size = useSize(ref);
|
|
30
|
+
|
|
31
|
+
// 横向间隔
|
|
27
32
|
var gapX = (gutter === null || gutter === void 0 ? void 0 : gutter[0]) || 0;
|
|
33
|
+
|
|
34
|
+
// 包含间隔的宽度
|
|
28
35
|
var itemWidth = width + gapX;
|
|
36
|
+
|
|
37
|
+
// 一行能放下的个数
|
|
29
38
|
var colCount = Math.floor(((size === null || size === void 0 ? void 0 : size.width) || 0) / itemWidth);
|
|
39
|
+
|
|
40
|
+
// 展示的个数
|
|
41
|
+
var renderItemCount = ((_Children$map = Children.map(props.children, function (child) {
|
|
42
|
+
if ( /*#__PURE__*/isValidElement(child) && !child.props.hidden) {
|
|
43
|
+
return child;
|
|
44
|
+
}
|
|
45
|
+
})) === null || _Children$map === void 0 ? void 0 : _Children$map.length) || 0;
|
|
46
|
+
|
|
47
|
+
// 行数
|
|
48
|
+
var lineCount = colCount && Math.ceil(renderItemCount / colCount);
|
|
49
|
+
|
|
50
|
+
// 根据一行能放下的个数,计算每个子元素的宽度
|
|
30
51
|
var span = Math.floor(24 / colCount);
|
|
52
|
+
var count = 0;
|
|
31
53
|
var _colProps = _objectSpread(_objectSpread({}, colProps), {}, {
|
|
32
54
|
span: span > 24 ? 24 : span
|
|
33
55
|
});
|
|
56
|
+
useEffect(function () {
|
|
57
|
+
var _props$lineCountChang;
|
|
58
|
+
(_props$lineCountChang = props.lineCountChange) === null || _props$lineCountChang === void 0 || _props$lineCountChang.call(props, lineCount);
|
|
59
|
+
}, [lineCount]);
|
|
34
60
|
return /*#__PURE__*/_jsx(Row, _objectSpread(_objectSpread({
|
|
35
61
|
gutter: gutter
|
|
36
62
|
}, rest), {}, {
|
|
@@ -43,8 +69,12 @@ export default function (props) {
|
|
|
43
69
|
return child;
|
|
44
70
|
}
|
|
45
71
|
var childColProps = child.props.colProps || _colProps;
|
|
72
|
+
count++;
|
|
73
|
+
var hidden = count > colCount * collapsedLineCount && props.collapsed;
|
|
46
74
|
return /*#__PURE__*/_jsx(Col, _objectSpread(_objectSpread({}, childColProps), {}, {
|
|
47
|
-
children: child
|
|
75
|
+
children: /*#__PURE__*/React.cloneElement(child, _objectSpread(_objectSpread({}, child.props), {}, {
|
|
76
|
+
hidden: hidden
|
|
77
|
+
}))
|
|
48
78
|
}));
|
|
49
79
|
})
|
|
50
80
|
}));
|
|
@@ -11,8 +11,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
11
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 React, { forwardRef, useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
|
|
14
|
-
import { Mind } from "../../core";
|
|
15
14
|
import Classnames from 'classnames';
|
|
15
|
+
import { Mind } from "../../core";
|
|
16
16
|
import { Scrollbar } from "../scrollbar";
|
|
17
17
|
import { classNameWrapper } from "../tools/class-name-wrapper";
|
|
18
18
|
import { Nodes } from "./nodes";
|
|
@@ -30,8 +30,6 @@ export var View = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
30
30
|
render = props.render,
|
|
31
31
|
onUpdated = props.onUpdated,
|
|
32
32
|
scrollbar = props.scrollbar,
|
|
33
|
-
_props$wheelMoveSpeed = props.wheelMoveSpeed,
|
|
34
|
-
wheelMoveSpeed = _props$wheelMoveSpeed === void 0 ? 0.5 : _props$wheelMoveSpeed,
|
|
35
33
|
onDragEnd = props.onDragEnd,
|
|
36
34
|
onDragStart = props.onDragStart,
|
|
37
35
|
onDrag = props.onDrag;
|
|
@@ -75,7 +73,7 @@ export var View = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
75
73
|
// 组件销毁,脑图注销事件绑定
|
|
76
74
|
useEffect(function () {
|
|
77
75
|
return function () {
|
|
78
|
-
mind
|
|
76
|
+
mind === null || mind === void 0 || mind.unbind();
|
|
79
77
|
};
|
|
80
78
|
}, [mind]);
|
|
81
79
|
|
|
@@ -91,7 +89,7 @@ export var View = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
91
89
|
}, []);
|
|
92
90
|
|
|
93
91
|
// 可视节点变化事件
|
|
94
|
-
var onNodeVisibleChange = useCallback(function (
|
|
92
|
+
var onNodeVisibleChange = useCallback(function () {
|
|
95
93
|
// 可渲染节点变化,引起node内容重渲染
|
|
96
94
|
setRenderChangeToggle(function (pre) {
|
|
97
95
|
return pre + 1;
|
|
@@ -123,22 +121,22 @@ export var View = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
123
121
|
// 包裹事件处理
|
|
124
122
|
wrapper.callback.onTransformChange = function (t) {
|
|
125
123
|
onTransformChange(t);
|
|
126
|
-
onTransformChangeOutside
|
|
124
|
+
onTransformChangeOutside === null || onTransformChangeOutside === void 0 || onTransformChangeOutside(t);
|
|
127
125
|
};
|
|
128
126
|
wrapper.callback.onNodeVisibleChange = function (n) {
|
|
129
|
-
onNodeVisibleChange(
|
|
130
|
-
onNodeVisibleChangeOutside
|
|
127
|
+
onNodeVisibleChange();
|
|
128
|
+
onNodeVisibleChangeOutside === null || onNodeVisibleChangeOutside === void 0 || onNodeVisibleChangeOutside(n);
|
|
131
129
|
};
|
|
132
130
|
|
|
133
131
|
// 注入 zoom 事件触发器
|
|
134
132
|
// 因为 zoom 相关手势会被立刻 stopImmediatePropagation,故而外部无法通过事件注册监听到
|
|
135
133
|
wrapper.event.onZoomEventTrigger = {
|
|
136
134
|
end: function end(e) {
|
|
137
|
-
endOutside
|
|
135
|
+
endOutside === null || endOutside === void 0 || endOutside(e);
|
|
138
136
|
onZoomEnd(e);
|
|
139
137
|
},
|
|
140
138
|
start: function start(e) {
|
|
141
|
-
startOutside
|
|
139
|
+
startOutside === null || startOutside === void 0 || startOutside(e);
|
|
142
140
|
onZoomStart(e);
|
|
143
141
|
},
|
|
144
142
|
zoom: function zoom(e) {
|
|
@@ -165,11 +163,12 @@ export var View = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
165
163
|
// 同步 data,options(引动重渲染)
|
|
166
164
|
useEffect(function () {
|
|
167
165
|
if (mind && data) {
|
|
166
|
+
var _onUpdatedRef$current;
|
|
168
167
|
mind.setOptions(options);
|
|
169
168
|
// 启动重新渲染操作
|
|
170
169
|
mind.setData(data);
|
|
171
170
|
// 通知外部,数据更新已经完成
|
|
172
|
-
onUpdatedRef.current
|
|
171
|
+
(_onUpdatedRef$current = onUpdatedRef.current) === null || _onUpdatedRef$current === void 0 || _onUpdatedRef$current.call(onUpdatedRef, mind);
|
|
173
172
|
}
|
|
174
173
|
}, [mind, data, options]);
|
|
175
174
|
useEffect(function () {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ProFormProps } from '@ant-design/pro-components';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import './index.less';
|
|
3
|
-
export default function StyledQueryFilter(props:
|
|
4
|
+
export default function StyledQueryFilter(props: ProFormProps & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
labelWidth?: number;
|
|
7
|
+
itemWith?: number;
|
|
8
|
+
collapsedLineCount?: number;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,23 +1,119 @@
|
|
|
1
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
|
-
var _excluded = ["children"];
|
|
2
|
+
var _excluded = ["children", "labelWidth", "form", "submitter", "className", "itemWith", "collapsedLineCount"];
|
|
3
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
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(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
9
|
+
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."); }
|
|
10
|
+
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); }
|
|
11
|
+
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; }
|
|
12
|
+
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; } }
|
|
13
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
8
14
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
9
15
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
10
|
-
import {
|
|
16
|
+
import { DownOutlined } from '@ant-design/icons';
|
|
17
|
+
import { ProForm } from '@ant-design/pro-components';
|
|
18
|
+
import { Button, Form } from 'antd';
|
|
19
|
+
import classNames from 'classnames';
|
|
20
|
+
import React from 'react';
|
|
21
|
+
import FlexRowCol from "../FlexRowCol";
|
|
11
22
|
import "./index.less";
|
|
12
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
25
|
export default function StyledQueryFilter(props) {
|
|
26
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
14
27
|
var children = props.children,
|
|
28
|
+
labelWidth = props.labelWidth,
|
|
29
|
+
form = props.form,
|
|
30
|
+
submitter = props.submitter,
|
|
31
|
+
className = props.className,
|
|
32
|
+
itemWith = props.itemWith,
|
|
33
|
+
_props$collapsedLineC = props.collapsedLineCount,
|
|
34
|
+
collapsedLineCount = _props$collapsedLineC === void 0 ? 2 : _props$collapsedLineC,
|
|
15
35
|
rest = _objectWithoutProperties(props, _excluded);
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
36
|
+
var _Form$useForm = Form.useForm(form),
|
|
37
|
+
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
38
|
+
_form = _Form$useForm2[0];
|
|
39
|
+
var _React$useState = React.useState(false),
|
|
40
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
41
|
+
collapsed = _React$useState2[0],
|
|
42
|
+
setCollapsed = _React$useState2[1];
|
|
43
|
+
var _React$useState3 = React.useState(1),
|
|
44
|
+
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
45
|
+
lineCount = _React$useState4[0],
|
|
46
|
+
setLineCount = _React$useState4[1];
|
|
47
|
+
if (labelWidth) {
|
|
48
|
+
rest.labelCol = {
|
|
49
|
+
flex: "0 0 ".concat(labelWidth, "px")
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
return /*#__PURE__*/_jsxs("div", {
|
|
53
|
+
className: "custom-styled-query-filter",
|
|
54
|
+
children: [/*#__PURE__*/_jsx(ProForm, _objectSpread(_objectSpread({
|
|
55
|
+
layout: "horizontal",
|
|
56
|
+
className: classNames('custom-styled-query-filter__form', className),
|
|
57
|
+
submitter: false,
|
|
58
|
+
form: _form,
|
|
59
|
+
colon: false
|
|
60
|
+
}, rest), {}, {
|
|
61
|
+
children: /*#__PURE__*/_jsx(FlexRowCol, {
|
|
62
|
+
collapsed: collapsed,
|
|
63
|
+
lineCountChange: function lineCountChange(lineCount) {
|
|
64
|
+
setLineCount(lineCount);
|
|
65
|
+
if (lineCount > collapsedLineCount) {
|
|
66
|
+
setCollapsed(true);
|
|
67
|
+
} else {
|
|
68
|
+
setCollapsed(false);
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
width: itemWith,
|
|
72
|
+
children: children
|
|
73
|
+
})
|
|
74
|
+
})), /*#__PURE__*/_jsxs("div", {
|
|
75
|
+
className: "custom-styled-query-filter__right",
|
|
76
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
77
|
+
className: "custom-styled-query-filter__submitter",
|
|
78
|
+
children: [/*#__PURE__*/_jsx(Button, {
|
|
79
|
+
onClick: function onClick() {
|
|
80
|
+
return _form.resetFields();
|
|
81
|
+
},
|
|
82
|
+
children: "\u91CD\u7F6E"
|
|
83
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
84
|
+
type: "primary",
|
|
85
|
+
onClick: function onClick() {
|
|
86
|
+
return _form.submit();
|
|
87
|
+
},
|
|
88
|
+
children: "\u67E5\u8BE2"
|
|
89
|
+
})]
|
|
90
|
+
}), /*#__PURE__*/_jsx("div", {
|
|
91
|
+
children: lineCount > collapsedLineCount && collapsed ? /*#__PURE__*/_jsxs(Button, {
|
|
92
|
+
type: "link",
|
|
93
|
+
onClick: function onClick() {
|
|
94
|
+
return setCollapsed(false);
|
|
95
|
+
},
|
|
96
|
+
children: ["\u5C55\u5F00", /*#__PURE__*/_jsx(DownOutlined, {
|
|
97
|
+
style: {
|
|
98
|
+
marginInlineStart: '0.5em',
|
|
99
|
+
transition: '0.3s all',
|
|
100
|
+
transform: "rotate(".concat(collapsed ? 0 : 0.5, "turn)")
|
|
101
|
+
}
|
|
102
|
+
})]
|
|
103
|
+
}) : /*#__PURE__*/_jsxs(Button, {
|
|
104
|
+
type: "link",
|
|
105
|
+
onClick: function onClick() {
|
|
106
|
+
return setCollapsed(true);
|
|
107
|
+
},
|
|
108
|
+
children: ["\u6536\u8D77", /*#__PURE__*/_jsx(DownOutlined, {
|
|
109
|
+
style: {
|
|
110
|
+
marginInlineStart: '0.5em',
|
|
111
|
+
transition: '0.3s all',
|
|
112
|
+
transform: "rotate(".concat(collapsed ? 0 : 0.5, "turn)")
|
|
113
|
+
}
|
|
114
|
+
})]
|
|
115
|
+
})
|
|
116
|
+
})]
|
|
117
|
+
})]
|
|
118
|
+
});
|
|
23
119
|
}
|
|
@@ -1,22 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
1
|
+
.custom-styled-query-filter {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: space-between;
|
|
4
|
+
column-gap: 16px;
|
|
5
|
+
|
|
6
|
+
&__form {
|
|
7
|
+
flex: 1;
|
|
8
|
+
}
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
&__right {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
justify-content: space-between;
|
|
14
|
+
align-items: flex-end;
|
|
12
15
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
.ant-btn-link {
|
|
17
|
+
padding-right: 0;
|
|
18
|
+
margin-bottom: 28px;
|
|
16
19
|
}
|
|
17
20
|
}
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
&__submitter {
|
|
23
|
+
display: flex;
|
|
24
|
+
column-gap: 8px;
|
|
21
25
|
}
|
|
22
26
|
}
|