ns-base-module 1.0.26 → 1.0.28

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.
@@ -13,7 +13,7 @@ interface Iprops {
13
13
  handleView?: (str: string) => void;
14
14
  onReset?: () => void;
15
15
  commonRequest?: any;
16
- checkShare?: boolean;
16
+ permsType?: "public" | "private";
17
17
  }
18
18
  declare const _default: React.ForwardRefExoticComponent<Iprops & React.RefAttributes<unknown>>;
19
19
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"addSubtotals.d.ts","sourceRoot":"","sources":["addSubtotals.tsx"],"names":[],"mappings":"AACA,OAAO,KAMN,MAAM,OAAO,CAAC;AAGf,OAAO,4CAA4C,CAAC;AAKpD,UAAU,MAAM;IACd,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC5C,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IAEtC,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,aAAa,CAAC,EAAE,GAAG,CAAC;IAEpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;;AAuFD,wBAAiC"}
1
+ {"version":3,"file":"addSubtotals.d.ts","sourceRoot":"","sources":["addSubtotals.tsx"],"names":[],"mappings":"AACA,OAAO,KAMN,MAAM,OAAO,CAAC;AAGf,OAAO,4CAA4C,CAAC;AAKpD,UAAU,MAAM;IACd,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC5C,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IAEtC,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,aAAa,CAAC,EAAE,GAAG,CAAC;IAEpB,SAAS,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAClC;;AAuFD,wBAAiC"}
@@ -22,7 +22,7 @@ var Index = function Index(props, ref) {
22
22
  menuCode = props.menuCode,
23
23
  formTemplateCode = props.formTemplateCode,
24
24
  commonRequest = props.commonRequest,
25
- checkShare = props.checkShare;
25
+ permsType = props.permsType;
26
26
  var _useState = useState(),
27
27
  _useState2 = _slicedToArray(_useState, 2),
28
28
  name = _useState2[0],
@@ -58,7 +58,7 @@ var Index = function Index(props, ref) {
58
58
  code: ((_props$editItem3 = props.editItem) === null || _props$editItem3 === void 0 ? void 0 : _props$editItem3.value) || null,
59
59
  configs: configsStr,
60
60
  name: name,
61
- perms_type: checkShare ? "public" : "private",
61
+ perms_type: permsType || "private",
62
62
  query_type: "list",
63
63
  type: "QUOTA_TMP" //'FORM_TMP' 列表模板,'QUOTA_TMP' 分类汇总模板
64
64
  });
@@ -1 +1 @@
1
- {"version":3,"file":"dndQuota.d.ts","sourceRoot":"","sources":["dndQuota.tsx"],"names":[],"mappings":"AAeA,OAAO,KAKN,MAAM,OAAO,CAAC;AAEf,OAAO,4CAA4C,CAAC;AAapD,UAAU,QAAQ;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AACD,UAAU,MAAM;IACd,OAAO,EAAE,QAAQ,EAAE,CAAC;IACpB,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ,EAAE,CAAC;QACjB,UAAU,EAAE,QAAQ,EAAE,CAAC;QACvB,aAAa,EAAE,QAAQ,EAAE,CAAC;QAC1B,SAAS,EAAE,QAAQ,EAAE,CAAC;KACvB,CAAC;CACH;;AA6kBD,wBAAiC"}
1
+ {"version":3,"file":"dndQuota.d.ts","sourceRoot":"","sources":["dndQuota.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAMN,MAAM,OAAO,CAAC;AAEf,OAAO,4CAA4C,CAAC;AAapD,UAAU,QAAQ;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AACD,UAAU,MAAM;IACd,OAAO,EAAE,QAAQ,EAAE,CAAC;IACpB,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ,EAAE,CAAC;QACjB,UAAU,EAAE,QAAQ,EAAE,CAAC;QACvB,aAAa,EAAE,QAAQ,EAAE,CAAC;QAC1B,SAAS,EAAE,QAAQ,EAAE,CAAC;KACvB,CAAC;CACH;;AA4lBD,wBAAiC"}
@@ -16,10 +16,10 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
16
16
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
17
17
  /* eslint-disable no-case-declarations */
18
18
  /* eslint-disable react/no-unknown-property */
19
- import { ArrowDownOutlined, ArrowUpOutlined, CalculatorOutlined, CalendarOutlined, DeleteOutlined, DownOutlined, FieldNumberOutlined, FieldStringOutlined, SortAscendingOutlined } from "@ant-design/icons";
19
+ import { ArrowDownOutlined, ArrowUpOutlined, CalculatorOutlined, CalendarOutlined, DeleteOutlined, DownOutlined, FieldNumberOutlined, FieldStringOutlined, SortAscendingOutlined, SortDescendingOutlined, SwapOutlined } from "@ant-design/icons";
20
20
  import { Dropdown, Input, Popover, Radio, Space, Tooltip } from "antd";
21
21
  import { find, get, isEmpty } from "lodash";
22
- import React, { forwardRef, useEffect, useImperativeHandle, useState } from "react";
22
+ import React, { forwardRef, useEffect, useImperativeHandle, useRef, useState } from "react";
23
23
  import { ReactSortable } from "react-sortablejs";
24
24
  import "../../style/components/SubtotalsModal.scss";
25
25
  import IconFont from "../Icon";
@@ -111,7 +111,7 @@ var Index = function Index(props, ref) {
111
111
  numberList: numberList,
112
112
  dimensionList: dimensionList,
113
113
  quotaList: quotaList,
114
- chartColumns: chartColumns,
114
+ chartColumns: valueRadio === "cross" ? chartColumns : [],
115
115
  valueRadio: valueRadio,
116
116
  sumColPosition: sumColPosition,
117
117
  sumRow: sumRow
@@ -213,7 +213,12 @@ var Index = function Index(props, ref) {
213
213
  setSumColPosition(_sumColPosition);
214
214
  setSumRow(_sumRow);
215
215
  };
216
+ var refColumns = useRef();
216
217
  useEffect(function () {
218
+ if (JSON.stringify(props.columns) === refColumns.current) {
219
+ return;
220
+ }
221
+ refColumns.current = JSON.stringify(props.columns);
217
222
  initList();
218
223
  }, [props.columns, props.initConfig]);
219
224
 
@@ -327,6 +332,10 @@ var Index = function Index(props, ref) {
327
332
  value: item === null || item === void 0 ? void 0 : item.expression,
328
333
  onChange: function onChange(e) {
329
334
  return changeExpress(e, item);
335
+ },
336
+ style: {
337
+ width: 300,
338
+ height: 120
330
339
  }
331
340
  })
332
341
  }, /*#__PURE__*/React.createElement(CalculatorOutlined, {
@@ -372,12 +381,16 @@ var Index = function Index(props, ref) {
372
381
  title: initLang({
373
382
  id: "list.column.sort"
374
383
  })
375
- }, /*#__PURE__*/React.createElement(SortAscendingOutlined, {
384
+ }, /*#__PURE__*/React.createElement("span", {
376
385
  style: {
377
386
  cursor: "pointer",
378
387
  marginLeft: 6
379
388
  }
380
- }))), /*#__PURE__*/React.createElement(Tooltip, {
389
+ }, (item === null || item === void 0 ? void 0 : item.sort) === "asc" ? /*#__PURE__*/React.createElement(SortDescendingOutlined, null) : (item === null || item === void 0 ? void 0 : item.sort) === "desc" ? /*#__PURE__*/React.createElement(SortAscendingOutlined, null) : /*#__PURE__*/React.createElement(SwapOutlined, {
390
+ style: {
391
+ transform: "rotate(90deg)"
392
+ }
393
+ })))), /*#__PURE__*/React.createElement(Tooltip, {
381
394
  title: initLang({
382
395
  id: "button.delete"
383
396
  })
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAMA;;GAEG;AAIH,OAAO,KAA2B,MAAM,OAAO,CAAC;AAChD,OAAO,4CAA4C,CAAC;AAOpD,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;IACjD,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAE5C,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IAErC,aAAa,EAAE,GAAG,CAAC;IAEnB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACtC;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAoLxC,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAMA;;GAEG;AAIH,OAAO,KAA2B,MAAM,OAAO,CAAC;AAChD,OAAO,4CAA4C,CAAC;AAOpD,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;IACjD,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAE5C,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IAErC,aAAa,EAAE,GAAG,CAAC;IAEnB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACtC;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAuLxC,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -15,7 +15,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
15
15
  */
16
16
 
17
17
  import { PlusOutlined } from "@ant-design/icons";
18
- import { Button, Checkbox, Popover, Tooltip } from "antd";
18
+ import { Button, Popover, Radio, Tooltip } from "antd";
19
19
  import React, { useRef, useState } from "react";
20
20
  import "../../style/components/SubtotalsModal.scss";
21
21
  import ChooseModal from "../ChooseModal";
@@ -54,16 +54,16 @@ var Index = function Index(_ref) {
54
54
  _useState10 = _slicedToArray(_useState9, 2),
55
55
  updateTable = _useState10[0],
56
56
  setUpdateTable = _useState10[1];
57
- var _useState11 = useState(false),
57
+ var _useState11 = useState("private"),
58
58
  _useState12 = _slicedToArray(_useState11, 2),
59
- checkShare = _useState12[0],
60
- setCheckShare = _useState12[1]; // 分享其他同事
59
+ permsType = _useState12[0],
60
+ setPermsType = _useState12[1]; // 分享其他同事public,private
61
61
 
62
62
  var handleAdd = function handleAdd() {
63
63
  setInitConfig({});
64
64
  setEditItem(null);
65
65
  setJsons("");
66
- setCheckShare(false);
66
+ setPermsType("private");
67
67
  };
68
68
  var handleSet = function handleSet(item) {
69
69
  try {
@@ -73,18 +73,14 @@ var Index = function Index(_ref) {
73
73
  setEditItem(item);
74
74
  setJsons("");
75
75
  (_modalRef$current = modalRef.current) === null || _modalRef$current === void 0 || (_modalRef$current$onS = _modalRef$current.onShow) === null || _modalRef$current$onS === void 0 || _modalRef$current$onS.call(_modalRef$current);
76
- if (item.perms_type === "public") {
77
- setCheckShare(true);
78
- } else {
79
- setCheckShare(false);
80
- }
76
+ setPermsType(item.perms_type || "private");
81
77
  } catch (error) {
82
78
  var _modalRef$current2, _modalRef$current2$on;
83
79
  setInitConfig({});
84
80
  setEditItem(null);
85
81
  setJsons("");
86
82
  (_modalRef$current2 = modalRef.current) === null || _modalRef$current2 === void 0 || (_modalRef$current2$on = _modalRef$current2.onShow) === null || _modalRef$current2$on === void 0 || _modalRef$current2$on.call(_modalRef$current2);
87
- setCheckShare(false);
83
+ setPermsType("private");
88
84
  }
89
85
  };
90
86
 
@@ -168,27 +164,33 @@ var Index = function Index(_ref) {
168
164
  initConfig: initConfig,
169
165
  editItem: editItem,
170
166
  handleView: handleView,
171
- checkShare: checkShare
167
+ permsType: permsType
172
168
  // onReset={onReset}
173
169
  })), /*#__PURE__*/React.createElement("div", {
174
170
  className: "subtotals-modal-right"
175
171
  }, /*#__PURE__*/React.createElement("div", {
176
- style: {
177
- textAlign: "right",
178
- marginTop: 4,
179
- marginBottom: 16
180
- }
181
- }, /*#__PURE__*/React.createElement(Checkbox, {
182
- checked: checkShare,
172
+ className: "subtotals-modal-table-top"
173
+ }, /*#__PURE__*/React.createElement("div", {
174
+ className: "subtotals-modal-radio-wrap"
175
+ }, /*#__PURE__*/React.createElement(Radio.Group, {
183
176
  onChange: function onChange(e) {
184
- setCheckShare(e.target.checked);
177
+ setPermsType(e.target.value);
185
178
  },
179
+ value: permsType
180
+ }, /*#__PURE__*/React.createElement(Radio, {
181
+ value: "private"
182
+ }, initLang({
183
+ id: "prompt.personalTemplate"
184
+ })), /*#__PURE__*/React.createElement(Radio, {
185
+ value: "public"
186
+ }, initLang({
187
+ id: "prompt.publicTemplate"
188
+ })))), /*#__PURE__*/React.createElement("div", {
186
189
  style: {
187
- paddingTop: 6
190
+ textAlign: "right",
191
+ width: 100
188
192
  }
189
- }, initLang({
190
- id: "prompt.shareTemplate"
191
- })), /*#__PURE__*/React.createElement(Button, {
193
+ }, /*#__PURE__*/React.createElement(Button, {
192
194
  onClick: onCancel,
193
195
  style: {
194
196
  marginRight: 8
@@ -202,7 +204,7 @@ var Index = function Index(_ref) {
202
204
  size: "small"
203
205
  }, initLang({
204
206
  id: "button.save"
205
- }))), /*#__PURE__*/React.createElement(ViewSubtotals, {
207
+ })))), /*#__PURE__*/React.createElement(ViewSubtotals, {
206
208
  key: updateTable,
207
209
  jsons: jsons,
208
210
  columns: columns,
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAKlE,OAAO,sDAAsD,CAAC;AAK9D,UAAU,QAAQ;IAChB,OAAO,EAAE,GAAG,CAAC;IACb,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IACtC,aAAa,EAAE,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,IAAI,CAAC;IAC5D,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,OAAO,EAAE,GAAG,CAAC;IACb,UAAU,EAAE,GAAG,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;CACf;AACD,UAAU,MAAO,SAAQ,QAAQ;IAC/B,QAAQ,EAAE,MAAM,CAAC;CAClB;AA0+BD,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAmD3B,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAKlE,OAAO,sDAAsD,CAAC;AAK9D,UAAU,QAAQ;IAChB,OAAO,EAAE,GAAG,CAAC;IACb,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IACtC,aAAa,EAAE,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,IAAI,CAAC;IAC5D,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,OAAO,EAAE,GAAG,CAAC;IACb,UAAU,EAAE,GAAG,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;CACf;AACD,UAAU,MAAO,SAAQ,QAAQ;IAC/B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAy/BD,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAmD3B,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -53,23 +53,28 @@ var ColumnsToolbarRender = /*#__PURE__*/memo(function (props) {
53
53
  setColumnsTree = _useState2[1];
54
54
  // const [checkAll, setCheckAll] = useState<boolean>(true);
55
55
  // const [indeterminate, setIndeterminate] = useState<boolean>(false); // 半选
56
- var _useState3 = useState(false),
56
+ // const [checkShare, setCheckShare] = useState<boolean>(false); // 分享其他同事
57
+ var _useState3 = useState("private"),
57
58
  _useState4 = _slicedToArray(_useState3, 2),
58
- checkShare = _useState4[0],
59
- setCheckShare = _useState4[1]; // 分享其他同事
59
+ permsType = _useState4[0],
60
+ setPermsType = _useState4[1]; // 分享其他同事public,private
60
61
 
61
62
  var _useState5 = useState(),
62
63
  _useState6 = _slicedToArray(_useState5, 2),
63
64
  templateName = _useState6[0],
64
65
  setTemplateName = _useState6[1];
65
66
  useEffect(function () {
66
- var _props$editItem, _props$editItem2, _props$editItem3;
67
+ var _props$editItem, _props$editItem2;
67
68
  setTemplateName((_props$editItem = props.editItem) === null || _props$editItem === void 0 ? void 0 : _props$editItem.label);
68
- if (((_props$editItem2 = props.editItem) === null || _props$editItem2 === void 0 ? void 0 : _props$editItem2.owner) === "Y" && ((_props$editItem3 = props.editItem) === null || _props$editItem3 === void 0 ? void 0 : _props$editItem3.perms_type) === "public") {
69
- setCheckShare(true);
70
- } else {
71
- setCheckShare(false);
72
- }
69
+ setPermsType(((_props$editItem2 = props.editItem) === null || _props$editItem2 === void 0 ? void 0 : _props$editItem2.perms_type) || "private");
70
+ // if (
71
+ // props.editItem?.owner === "Y" &&
72
+ // props.editItem?.perms_type === "public"
73
+ // ) {
74
+ // setCheckShare(true);
75
+ // } else {
76
+ // setCheckShare(false);
77
+ // }
73
78
  }, [props.editItem]);
74
79
  var saveTempale = /*#__PURE__*/function () {
75
80
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
@@ -424,7 +429,7 @@ var ColumnsToolbarRender = /*#__PURE__*/memo(function (props) {
424
429
  };
425
430
  var saveColums = /*#__PURE__*/function () {
426
431
  var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
427
- var _props$editItem4, _props$editItem5, _props$handleSaveCall;
432
+ var _props$editItem3, _props$editItem4, _props$handleSaveCall;
428
433
  var params;
429
434
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
430
435
  while (1) switch (_context2.prev = _context2.next) {
@@ -440,13 +445,13 @@ var ColumnsToolbarRender = /*#__PURE__*/memo(function (props) {
440
445
  case 3:
441
446
  params = {
442
447
  name: templateName,
443
- is_default: ((_props$editItem4 = props.editItem) === null || _props$editItem4 === void 0 ? void 0 : _props$editItem4.is_default) || "N",
448
+ is_default: ((_props$editItem3 = props.editItem) === null || _props$editItem3 === void 0 ? void 0 : _props$editItem3.is_default) || "N",
444
449
  configs: JSON.stringify(columnsTree),
445
450
  menu_code: props.menuCode,
446
451
  form_template_code: props.formTemplateCode,
447
- perms_type: checkShare ? "public" : "private",
452
+ perms_type: permsType || "private",
448
453
  // public
449
- code: ((_props$editItem5 = props.editItem) === null || _props$editItem5 === void 0 ? void 0 : _props$editItem5.value) || null,
454
+ code: ((_props$editItem4 = props.editItem) === null || _props$editItem4 === void 0 ? void 0 : _props$editItem4.value) || null,
450
455
  query_type: props.crossQuery ? "cross" : "list"
451
456
  };
452
457
  _context2.next = 6;
@@ -521,17 +526,23 @@ var ColumnsToolbarRender = /*#__PURE__*/memo(function (props) {
521
526
  }),
522
527
  value: templateName,
523
528
  onChange: changeInput
524
- }), /*#__PURE__*/React.createElement(Checkbox, {
525
- checked: checkShare,
526
- onChange: function onChange(e) {
527
- setCheckShare(e.target.checked);
528
- },
529
+ }), /*#__PURE__*/React.createElement(Radio.Group, {
529
530
  style: {
530
531
  paddingTop: 6
531
- }
532
+ },
533
+ onChange: function onChange(e) {
534
+ setPermsType(e.target.value);
535
+ },
536
+ value: permsType
537
+ }, /*#__PURE__*/React.createElement(Radio, {
538
+ value: "private"
539
+ }, initLang({
540
+ id: "prompt.personalTemplate"
541
+ })), /*#__PURE__*/React.createElement(Radio, {
542
+ value: "public"
532
543
  }, initLang({
533
- id: "prompt.shareTemplate"
534
- }))), /*#__PURE__*/React.createElement(DndProvider, {
544
+ id: "prompt.publicTemplate"
545
+ })))), /*#__PURE__*/React.createElement(DndProvider, {
535
546
  backend: HTML5Backend
536
547
  }, /*#__PURE__*/React.createElement("div", {
537
548
  style: {
@@ -1013,16 +1024,6 @@ var ColumnsToolbar = function ColumnsToolbar(_ref4) {
1013
1024
  className: "set-text-default"
1014
1025
  }, initLang({
1015
1026
  id: "prompt.text.default"
1016
- })), /*#__PURE__*/React.createElement(Tooltip, {
1017
- placement: "top",
1018
- title: initLang({
1019
- id: "prompt.setTemplate"
1020
- })
1021
- }, /*#__PURE__*/React.createElement(SettingOutlined, {
1022
- className: "set-icon",
1023
- onClick: function onClick() {
1024
- return handleSet(item);
1025
- }
1026
1027
  })), /*#__PURE__*/React.createElement(Popconfirm, {
1027
1028
  title: initLang({
1028
1029
  id: "message.confirm.delete"
@@ -1045,7 +1046,17 @@ var ColumnsToolbar = function ColumnsToolbar(_ref4) {
1045
1046
  onClick: function onClick() {
1046
1047
  return handleDel(item);
1047
1048
  }
1048
- })))));
1049
+ }))), /*#__PURE__*/React.createElement(Tooltip, {
1050
+ placement: "top",
1051
+ title: initLang({
1052
+ id: "prompt.setTemplate"
1053
+ })
1054
+ }, /*#__PURE__*/React.createElement(SettingOutlined, {
1055
+ className: "set-icon",
1056
+ onClick: function onClick() {
1057
+ return handleSet(item);
1058
+ }
1059
+ }))));
1049
1060
  })), /*#__PURE__*/React.createElement("div", {
1050
1061
  className: "list-title"
1051
1062
  }, /*#__PURE__*/React.createElement(ShareAltOutlined, {
@@ -1073,17 +1084,7 @@ var ColumnsToolbar = function ColumnsToolbar(_ref4) {
1073
1084
  onClick: function onClick() {
1074
1085
  return handleCopy(item);
1075
1086
  }
1076
- }))), item.owner === "Y" && /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(Tooltip, {
1077
- placement: "top",
1078
- title: initLang({
1079
- id: "prompt.setTemplate"
1080
- })
1081
- }, /*#__PURE__*/React.createElement(SettingOutlined, {
1082
- className: "set-icon",
1083
- onClick: function onClick() {
1084
- return handleSet(item);
1085
- }
1086
- })), /*#__PURE__*/React.createElement(Popconfirm, {
1087
+ }))), item.owner === "Y" && /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(Popconfirm, {
1087
1088
  title: initLang({
1088
1089
  id: "message.confirm.delete"
1089
1090
  }),
@@ -1105,7 +1106,17 @@ var ColumnsToolbar = function ColumnsToolbar(_ref4) {
1105
1106
  onClick: function onClick() {
1106
1107
  return handleDel(item);
1107
1108
  }
1108
- })))));
1109
+ }))), /*#__PURE__*/React.createElement(Tooltip, {
1110
+ placement: "top",
1111
+ title: initLang({
1112
+ id: "prompt.setTemplate"
1113
+ })
1114
+ }, /*#__PURE__*/React.createElement(SettingOutlined, {
1115
+ className: "set-icon",
1116
+ onClick: function onClick() {
1117
+ return handleSet(item);
1118
+ }
1119
+ }))));
1109
1120
  }))), (curItem === null || curItem === void 0 ? void 0 : curItem.perms_type) !== "public" && /*#__PURE__*/React.createElement("div", {
1110
1121
  style: {
1111
1122
  position: "absolute",
@@ -1 +1 @@
1
- .class-filter-component.tags-wrap{flex:1 1;z-index:2}.class-filter-component.tags-wrap .tags-list{cursor:pointer;display:inline-block;margin-left:8px;padding:2.5px 8px}.class-filter-component.tags-wrap .tags-list.action{background-color:var(--w-e-textarea-selected-border-color);color:var(--antd-wave-shadow-color)}.class-filter-component .filter-component-tree-content .tags-list{font-size:12px;margin-left:0}.class-filter-component .filter-component-tree-content :global .ant-tree-node-content-wrapper{padding:0}.class-filter-component .filter-component-tree-content :global .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:transparent}.class-filter-component .num-txt{background:red;border-radius:8px;color:#fff;margin-left:2px;padding:0 4px}.class-filter-component .actionMenu{background-color:var(--w-e-textarea-selected-border-color);color:var(--antd-wave-shadow-color)}.dropdownWrap :global .ant-dropdown-menu-submenu-vertical{width:120px}.dropdownWrap :global .ant-dropdown-menu-item,.dropdownWrap :global .ant-dropdown-menu-submenu-title{align-items:center;display:flex;padding:0}.dropdownWrap :global .ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon,.dropdownWrap :global .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon{padding-left:18px}.dropdownWrap .actionMenu{background-color:var(--w-e-textarea-selected-border-color);color:var(--antd-wave-shadow-color)}.dropdownWrap .num-txt{background:red;border-radius:8px;color:#fff;margin-left:2px;padding:0 4px}.filter-wrapper-body{width:260px}.filter-wrapper-body .sort{border-bottom:1px solid #eee;width:100%}.filter-wrapper-body .sort>span{cursor:pointer;display:inline-block;padding:5px 0;text-align:center;width:33%}.filter-wrapper-body .sort>span:hover{background-color:#eee}.filter-wrapper-body .filter{padding:10px 20px}.filter-wrapper-body .filter .search{margin-bottom:10px}.filter-wrapper-body .filter .search :global .ant-input-sm{padding:.2px 7px}.filter-wrapper-body .filter .filter-group{margin-bottom:10px;max-height:400px;overflow:auto;width:100%}.dnd_quota_main{display:flex;height:100%}.dnd_quota_main .dnd_quota_left{flex:1 1;height:100%}.dnd_quota_main .dnd_quota_left::-webkit-scrollbar{background-color:#f5f5f5;width:4px}.dnd_quota_main .dnd_quota_left::-webkit-scrollbar-track{background-color:#f5f5f5;border-radius:3px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.2)}.dnd_quota_main .dnd_quota_left::-webkit-scrollbar-thumb{background-color:#959595;border-radius:3px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.2)}.dnd_quota_main .dnd_quota_block_top{border:1px solid #eee;border-radius:8px;height:50%;margin-bottom:8px;padding:8px}.dnd_quota_main .dnd_quota_block_top.classify-type{border-bottom:none;border-radius:8px 8px 0 0;margin-bottom:0;padding-bottom:0}.dnd_quota_main .dnd_quota_block_bottom{border:1px solid #eee;border-radius:8px;height:50%;margin-bottom:8px;padding:8px}.dnd_quota_main .dnd_quota_block_bottom.number-type{border-radius:0 0 8px 8px;border-top:none;margin-top:0}.dnd_quota_main .dnd_quota_left-title{margin-bottom:6px}.dnd_quota_main .dnd_quota__item{background-color:#f5f5f5;border-radius:4px;cursor:grab;display:flex;margin-bottom:4px;padding:8px}.dnd_quota_main .dnd_quota__item .item-icon{line-height:1;margin-right:4px;padding-top:1px}.dnd_quota_main .dnd_quota__item .dnd_quota__item_label{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dnd_quota_main .dnd_quota__item .dnd_quota__item_txt{cursor:pointer}.dnd_quota_main .dnd-quota-sortable-wrap{height:calc(100% - 20px);overflow:auto}.dnd_quota_main .dnd-quota-sortable-wrap::-webkit-scrollbar{background-color:#f5f5f5;width:4px}.dnd_quota_main .dnd-quota-sortable-wrap::-webkit-scrollbar-track{background-color:#f5f5f5;border-radius:3px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.2)}.dnd_quota_main .dnd-quota-sortable-wrap::-webkit-scrollbar-thumb{background-color:#959595;border-radius:3px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.2)}.dnd_quota_main .dnd-quota-sortable-wrap.init .dnd_quota__item:hover{background-color:#0273b0;color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.init .dnd_quota__item:hover .item-icon{color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.init .dnd_quota__item .item-icon{color:#0273b0}.dnd_quota_main .dnd-quota-sortable-wrap.number .dnd_quota__item:hover{background-color:#97c95d;color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.number .dnd_quota__item:hover .item-icon{color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.number .dnd_quota__item .item-icon{color:#97c95d}.dnd_quota_main .dnd-quota-sortable-wrap.dimension .dnd_quota__item{background-color:#0273b0;color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.dimension .dnd_quota_right_payground.empty:after{content:"拖拽分类型字段维度"}.dnd_quota_main .dnd-quota-sortable-wrap.list .dnd_quota__item{background-color:#0273b0;color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.list .dnd_quota_right_payground.empty:after{content:"拖拽分类型字段列"}.dnd_quota_main .dnd-quota-sortable-wrap.quota .dnd_quota__item{background-color:#97c95d;color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.quota .dnd_quota_right_payground.empty:after{content:"拖拽数量型字段指标"}.dnd_quota_main .dnd-quota-spce{margin:0 4px}.dnd_quota_main .dnd_quota_right{flex:1 1}.dnd_quota_main .dnd_quota_right .dnd_quota_block_bottom,.dnd_quota_main .dnd_quota_right .dnd_quota_block_top{height:auto}.dnd_quota_main .dnd_quota_right .dnd_quota_right_payground{min-height:140px}.dnd_quota_main .dnd_quota_right_payground{height:100%}.dnd_quota_main .dnd_quota_right_payground.empty{background:rgba(0,0,0,.08);position:relative}.dnd_quota_main .dnd_quota_right_payground.empty:after{content:"拖到此处";left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);white-space:nowrap}.modal-wrap{z-index:1040!important}.subtotals-modal-wrap{display:flex;height:100%}.subtotals-modal-wrap .subtotals-modal-left{height:100%;width:420px}.subtotals-modal-wrap .subtotals-modal-right{flex:1 1;height:100%;margin-left:16px;width:0}.add-subtotals-wrap{height:100%}.add-subtotals-bot{height:calc(100% - 50px)}.popover-sum-content .ant-popover-inner-content{padding:0}.popover-sum-content .popover-sum-wrap .popover-sum-list:last-child{border-top:1px solid #e4e4e4}.popover-sum-content .popover-sum-wrap .popover-sum-title{font-weight:700;padding:8px 12px}.popover-sum-content .popover-sum-wrap .popover-sum-li{cursor:pointer;margin:0;padding:8px 12px}.popover-sum-content .popover-sum-wrap .popover-sum-li:hover{background-color:#f5f5f5}.popover-sum-content .popover-sum-wrap .popover-sum-li.action{background-color:#0273b0;color:#fff}.popover-body{min-height:340px;width:260px}.popover-body .top-wrap{align-items:center;display:flex;justify-content:space-between}.popover-body .title{font-size:12px;font-weight:700}.popover-body .add-icon{cursor:pointer;font-weight:700}.popover-body .list-title{font-size:12px;margin:10px 0}.popover-body .list-title-icon{margin-right:6px}.popover-body .list-radio{align-items:center;display:flex;margin-bottom:10px;width:100%}.popover-body .list-radio-label{flex:1 1;font-weight:700}.popover-body .set-text-default{color:var(--antd-wave-shadow-color);font-size:10px}.popover-body .set-icon{cursor:pointer;font-size:12px;text-align:right;width:20px}.mode-name-wrap{padding:10px 0}.icon-button-wrapper{cursor:pointer;margin-left:10px}.columns-fixed-title{color:rgba(0,0,0,.45);font-size:12px;margin-bottom:6px;margin-top:6px;padding-left:24px}.tree_selectall{-ms-user-select:none;user-select:none}.tree_selectall>span:first-child{margin:4px 0 10px 24px!important}.tree_selectall>span:nth-child(2){padding-left:12px}.columns-tree-main{align-items:center;display:flex}.columns-tree-main .drag-title{margin:0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:50px}.columns-tree-main .columns-tree-icon{color:var(--antd-wave-shadow-color);font-size:14px;text-align:right;visibility:hidden}.columns-tree-main:hover .columns-tree-icon{visibility:visible}
1
+ .class-filter-component.tags-wrap{flex:1 1;z-index:2}.class-filter-component.tags-wrap .tags-list{cursor:pointer;display:inline-block;margin-left:8px;padding:2.5px 8px}.class-filter-component.tags-wrap .tags-list.action{background-color:var(--w-e-textarea-selected-border-color);color:var(--antd-wave-shadow-color)}.class-filter-component .filter-component-tree-content .tags-list{font-size:12px;margin-left:0}.class-filter-component .filter-component-tree-content :global .ant-tree-node-content-wrapper{padding:0}.class-filter-component .filter-component-tree-content :global .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:transparent}.class-filter-component .num-txt{background:red;border-radius:8px;color:#fff;margin-left:2px;padding:0 4px}.class-filter-component .actionMenu{background-color:var(--w-e-textarea-selected-border-color);color:var(--antd-wave-shadow-color)}.dropdownWrap :global .ant-dropdown-menu-submenu-vertical{width:120px}.dropdownWrap :global .ant-dropdown-menu-item,.dropdownWrap :global .ant-dropdown-menu-submenu-title{align-items:center;display:flex;padding:0}.dropdownWrap :global .ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon,.dropdownWrap :global .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon{padding-left:18px}.dropdownWrap .actionMenu{background-color:var(--w-e-textarea-selected-border-color);color:var(--antd-wave-shadow-color)}.dropdownWrap .num-txt{background:red;border-radius:8px;color:#fff;margin-left:2px;padding:0 4px}.filter-wrapper-body{width:260px}.filter-wrapper-body .sort{border-bottom:1px solid #eee;width:100%}.filter-wrapper-body .sort>span{cursor:pointer;display:inline-block;padding:5px 0;text-align:center;width:33%}.filter-wrapper-body .sort>span:hover{background-color:#eee}.filter-wrapper-body .filter{padding:10px 20px}.filter-wrapper-body .filter .search{margin-bottom:10px}.filter-wrapper-body .filter .search :global .ant-input-sm{padding:.2px 7px}.filter-wrapper-body .filter .filter-group{margin-bottom:10px;max-height:400px;overflow:auto;width:100%}.dnd_quota_main{display:flex;height:100%}.dnd_quota_main .dnd_quota_left{flex:1 1;height:100%}.dnd_quota_main .dnd_quota_left::-webkit-scrollbar{background-color:#f5f5f5;width:4px}.dnd_quota_main .dnd_quota_left::-webkit-scrollbar-track{background-color:#f5f5f5;border-radius:3px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.2)}.dnd_quota_main .dnd_quota_left::-webkit-scrollbar-thumb{background-color:#959595;border-radius:3px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.2)}.dnd_quota_main .dnd_quota_block_top{border:1px solid #eee;border-radius:8px;height:50%;margin-bottom:8px;padding:8px}.dnd_quota_main .dnd_quota_block_top.classify-type{border-bottom:none;border-radius:8px 8px 0 0;margin-bottom:0;padding-bottom:0}.dnd_quota_main .dnd_quota_block_bottom{border:1px solid #eee;border-radius:8px;height:50%;margin-bottom:8px;padding:8px}.dnd_quota_main .dnd_quota_block_bottom.number-type{border-radius:0 0 8px 8px;border-top:none;margin-top:0}.dnd_quota_main .dnd_quota_left-title{margin-bottom:6px}.dnd_quota_main .dnd_quota__item{background-color:#f5f5f5;border-radius:4px;cursor:grab;display:flex;margin-bottom:4px;padding:8px}.dnd_quota_main .dnd_quota__item .item-icon{line-height:1;margin-right:4px;padding-top:1px}.dnd_quota_main .dnd_quota__item .dnd_quota__item_label{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dnd_quota_main .dnd_quota__item .dnd_quota__item_txt{cursor:pointer}.dnd_quota_main .dnd-quota-sortable-wrap{height:calc(100% - 20px);overflow:auto}.dnd_quota_main .dnd-quota-sortable-wrap::-webkit-scrollbar{background-color:#f5f5f5;width:4px}.dnd_quota_main .dnd-quota-sortable-wrap::-webkit-scrollbar-track{background-color:#f5f5f5;border-radius:3px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.2)}.dnd_quota_main .dnd-quota-sortable-wrap::-webkit-scrollbar-thumb{background-color:#959595;border-radius:3px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.2)}.dnd_quota_main .dnd-quota-sortable-wrap.init .dnd_quota__item:hover{background-color:#0273b0;color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.init .dnd_quota__item:hover .item-icon{color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.init .dnd_quota__item .item-icon{color:#0273b0}.dnd_quota_main .dnd-quota-sortable-wrap.number .dnd_quota__item:hover{background-color:#97c95d;color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.number .dnd_quota__item:hover .item-icon{color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.number .dnd_quota__item .item-icon{color:#97c95d}.dnd_quota_main .dnd-quota-sortable-wrap.dimension .dnd_quota__item{background-color:#0273b0;color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.dimension .dnd_quota_right_payground.empty:after{content:"拖拽分类型字段维度"}.dnd_quota_main .dnd-quota-sortable-wrap.list .dnd_quota__item{background-color:#0273b0;color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.list .dnd_quota_right_payground.empty:after{content:"拖拽分类型字段列"}.dnd_quota_main .dnd-quota-sortable-wrap.quota .dnd_quota__item{background-color:#97c95d;color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.quota .dnd_quota_right_payground.empty:after{content:"拖拽数量型字段指标"}.dnd_quota_main .dnd-quota-spce{margin:0 4px}.dnd_quota_main .dnd_quota_right{flex:1 1}.dnd_quota_main .dnd_quota_right .dnd_quota_block_bottom,.dnd_quota_main .dnd_quota_right .dnd_quota_block_top{height:auto}.dnd_quota_main .dnd_quota_right .dnd_quota_right_payground{min-height:140px}.dnd_quota_main .dnd_quota_right_payground{height:100%}.dnd_quota_main .dnd_quota_right_payground.empty{background:rgba(0,0,0,.08);position:relative}.dnd_quota_main .dnd_quota_right_payground.empty:after{content:"拖到此处";left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);white-space:nowrap}.modal-wrap{z-index:1040!important}.subtotals-modal-wrap{display:flex;height:100%}.subtotals-modal-wrap .subtotals-modal-left{height:100%;width:420px}.subtotals-modal-wrap .subtotals-modal-right{flex:1 1;height:100%;margin-left:16px;width:0}.subtotals-modal-wrap .subtotals-modal-table-top{align-items:center;display:flex;margin-bottom:16px;margin-top:4px;min-width:400px}.subtotals-modal-wrap .subtotals-modal-table-top .subtotals-modal-radio-wrap{flex:1 1;margin-right:-100px;text-align:center;width:0}.add-subtotals-wrap{height:100%}.add-subtotals-bot{height:calc(100% - 50px)}.popover-sum-content .ant-popover-inner-content{padding:0}.popover-sum-content .popover-sum-wrap .popover-sum-list:last-child{border-top:1px solid #e4e4e4}.popover-sum-content .popover-sum-wrap .popover-sum-title{font-weight:700;padding:8px 12px}.popover-sum-content .popover-sum-wrap .popover-sum-li{cursor:pointer;margin:0;padding:8px 12px}.popover-sum-content .popover-sum-wrap .popover-sum-li:hover{background-color:#f5f5f5}.popover-sum-content .popover-sum-wrap .popover-sum-li.action{background-color:#0273b0;color:#fff}.popover-body{min-height:340px;width:260px}.popover-body .top-wrap{align-items:center;display:flex;justify-content:space-between}.popover-body .title{font-size:12px;font-weight:700}.popover-body .add-icon{cursor:pointer;font-weight:700}.popover-body .list-title{font-size:12px;margin:10px 0}.popover-body .list-title-icon{margin-right:6px}.popover-body .list-radio{align-items:center;display:flex;margin-bottom:10px;width:100%}.popover-body .list-radio-label{flex:1 1;font-weight:700}.popover-body .set-text-default{color:var(--antd-wave-shadow-color);font-size:10px}.popover-body .set-icon{cursor:pointer;font-size:12px;text-align:right;width:20px}.mode-name-wrap{padding:10px 0}.icon-button-wrapper{cursor:pointer;margin-left:10px}.columns-fixed-title{color:rgba(0,0,0,.45);font-size:12px;margin-bottom:6px;margin-top:6px;padding-left:24px}.tree_selectall{-ms-user-select:none;user-select:none}.tree_selectall>span:first-child{margin:4px 0 10px 24px!important}.tree_selectall>span:nth-child(2){padding-left:12px}.columns-tree-main{align-items:center;display:flex}.columns-tree-main .drag-title{margin:0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:50px}.columns-tree-main .columns-tree-icon{color:var(--antd-wave-shadow-color);font-size:14px;text-align:right;visibility:hidden}.columns-tree-main:hover .columns-tree-icon{visibility:visible}