ns-base-module 1.0.13 → 1.0.14
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/ChooseModal/index.js +1 -1
- package/dist/Entry/components/TreeSelect.d.ts +4 -5
- package/dist/Entry/components/TreeSelect.d.ts.map +1 -1
- package/dist/Entry/components/TreeSelect.js +13 -5
- package/dist/IconTools/index.d.ts.map +1 -1
- package/dist/IconTools/index.js +1 -1
- package/dist/SubtotalsModal/addSubtotals.d.ts.map +1 -1
- package/dist/SubtotalsModal/addSubtotals.js +1 -1
- package/dist/SubtotalsModal/index.d.ts.map +1 -1
- package/dist/SubtotalsModal/index.js +1 -1
- package/dist/SubtotalsModal/viewSubtotals.d.ts.map +1 -1
- package/dist/SubtotalsModal/viewSubtotals.js +1 -1
- package/dist/TableHeaderConfigPopover/index.d.ts +2 -0
- package/dist/TableHeaderConfigPopover/index.d.ts.map +1 -1
- package/dist/TableHeaderConfigPopover/index.js +227 -108
- package/dist/TableHeaderConfigPopover/updateColumns.d.ts +10 -0
- package/dist/TableHeaderConfigPopover/updateColumns.d.ts.map +1 -0
- package/dist/TableHeaderConfigPopover/updateColumns.js +26 -0
- package/dist/TableHeaderConfigPopover/utils.d.ts +13 -0
- package/dist/TableHeaderConfigPopover/utils.d.ts.map +1 -1
- package/dist/TableHeaderConfigPopover/utils.js +188 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/umd/ns-base-module.min.js +1 -1
- package/dist/utils/utils.d.ts +6 -7
- package/dist/utils/utils.d.ts.map +1 -1
- package/dist/utils/utils.js +104 -103
- package/package.json +1 -1
|
@@ -20,9 +20,9 @@ import React, { forwardRef, useImperativeHandle, useState } from "react";
|
|
|
20
20
|
// import List from '@/components/v2/Order/List';
|
|
21
21
|
// import type { ListConfigType } from '@/utils/type.d';
|
|
22
22
|
// import { queryConfig } from '@/services/global';
|
|
23
|
+
import FontIcon from "../Icon";
|
|
23
24
|
import { initLang } from "../utils/language";
|
|
24
25
|
import { handlePercentage } from "../utils/utils";
|
|
25
|
-
import FontIcon from "../Icon";
|
|
26
26
|
var Index = function Index(_ref, ref) {
|
|
27
27
|
var _params$config, _params$config2;
|
|
28
28
|
var children = _ref.children,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default index;
|
|
1
|
+
import type { TreeSelectProps } from "antd";
|
|
2
|
+
import React from "react";
|
|
3
|
+
declare const Index: (props: TreeSelectProps) => React.JSX.Element;
|
|
4
|
+
export default Index;
|
|
6
5
|
//# sourceMappingURL=TreeSelect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeSelect.d.ts","sourceRoot":"","sources":["TreeSelect.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TreeSelect.d.ts","sourceRoot":"","sources":["TreeSelect.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAG5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,QAAA,MAAM,KAAK,UAAW,eAAe,sBAYpC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -5,14 +5,22 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
/*
|
|
9
|
+
* @description:
|
|
10
|
+
* @author chenchangfu
|
|
11
|
+
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
12
|
+
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { TreeSelect } from "antd";
|
|
16
|
+
// import type { DefaultValueType } from "rc-tree-select/lib/interface";
|
|
17
|
+
import React from "react";
|
|
18
|
+
var Index = function Index(props) {
|
|
11
19
|
var _style = _objectSpread({
|
|
12
|
-
width:
|
|
20
|
+
width: "100%"
|
|
13
21
|
}, props.style);
|
|
14
22
|
return /*#__PURE__*/React.createElement(TreeSelect, _extends({}, props, {
|
|
15
23
|
style: _style
|
|
16
24
|
}));
|
|
17
25
|
};
|
|
18
|
-
export default
|
|
26
|
+
export default Index;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAwB,EACtB,mBAAmB,EACpB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAK9D,aAAK,aAAa,GAAG;IACnB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAEpC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAC;IAErC,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,IAAI,CAAC;CACtD,GAAG,mBAAmB,GACrB,mBAAmB,CAAC;AAEtB,QAAA,MAAM,KAAK,UAAW,aAAa,sBAuHlC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/dist/IconTools/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ColumnHeightOutlined, PicLeftOutlined, RedoOutlined, SwapOutlined } from "@ant-design/icons";
|
|
2
2
|
import { Dropdown, Tooltip } from "antd";
|
|
3
|
-
import { initLang } from "../utils/language";
|
|
4
3
|
import React, { useMemo } from "react";
|
|
5
4
|
import FilterClearIcon from "../FilterPopover/FilterClearIcon";
|
|
6
5
|
import SubtotalsModal from "../SubtotalsModal";
|
|
7
6
|
import TableHeaderConfigPopover from "../TableHeaderConfigPopover";
|
|
7
|
+
import { initLang } from "../utils/language";
|
|
8
8
|
import { adapterColumns } from "./utils";
|
|
9
9
|
var Index = function Index(props) {
|
|
10
10
|
var filterSearch = props.filterSearch,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addSubtotals.d.ts","sourceRoot":"","sources":["addSubtotals.tsx"],"names":[],"mappings":"AACA,OAAO,KAMN,MAAM,OAAO,CAAC;
|
|
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;CACrB;;AAsFD,wBAAiC"}
|
|
@@ -12,8 +12,8 @@ import { Button, Col, Input, Row, message } from "antd";
|
|
|
12
12
|
import React, { forwardRef, useEffect, useImperativeHandle, useRef, useState } from "react";
|
|
13
13
|
|
|
14
14
|
// import { commonRequest } from '../../../../services/global';
|
|
15
|
-
import { initLang } from "../utils/language";
|
|
16
15
|
import "../../style/components/SubtotalsModal.scss";
|
|
16
|
+
import { initLang } from "../utils/language";
|
|
17
17
|
import { setFormTemplates } from "../utils/services/global";
|
|
18
18
|
import DndQuota from "./dndQuota";
|
|
19
19
|
var Index = function Index(props, ref) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAMA;;GAEG;
|
|
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;CACpC;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgKxC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -16,10 +16,10 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
16
16
|
|
|
17
17
|
import { PlusOutlined } from "@ant-design/icons";
|
|
18
18
|
import { Button, Popover, Tooltip } from "antd";
|
|
19
|
-
import { initLang } from "../utils/language";
|
|
20
19
|
import React, { useRef, useState } from "react";
|
|
21
20
|
import "../../style/components/SubtotalsModal.scss";
|
|
22
21
|
import ChooseModal from "../ChooseModal";
|
|
22
|
+
import { initLang } from "../utils/language";
|
|
23
23
|
import AddSubtotals from "./addSubtotals";
|
|
24
24
|
import SubtotalTemplate from "./subtotalTemplate";
|
|
25
25
|
import ViewSubtotals from "./viewSubtotals";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"viewSubtotals.d.ts","sourceRoot":"","sources":["viewSubtotals.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"viewSubtotals.d.ts","sourceRoot":"","sources":["viewSubtotals.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAO5D,OAAO,4CAA4C,CAAC;AAIpD,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CA6L3B,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -25,8 +25,8 @@ import React, { useEffect, useMemo, useState } from "react";
|
|
|
25
25
|
import { queryData } from "../utils/services/global";
|
|
26
26
|
// import { formatData } from '@/utils/utils';
|
|
27
27
|
import { find, get } from "lodash";
|
|
28
|
-
import { formatData } from "../utils/utils";
|
|
29
28
|
import "../../style/components/SubtotalsModal.scss";
|
|
29
|
+
import { formatData } from "../utils/utils";
|
|
30
30
|
import { getSummaryCol, loopColumns } from "./util";
|
|
31
31
|
var Index = function Index(props) {
|
|
32
32
|
var jsons = props.jsons,
|
|
@@ -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;
|
|
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;CACtB;AACD,UAAU,MAAO,SAAQ,QAAQ;IAC/B,QAAQ,EAAE,MAAM,CAAC;CAClB;AA6+BD,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAc3B,CAAC;AAEF,eAAe,KAAK,CAAC"}
|