@bit-sun/business-component 2.2.34 → 2.2.35
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/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/AllFunc/index.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/RightContent/index.d.ts +2 -2
- package/dist/components/Business/BsLayouts/Components/SearchFunc/index.d.ts +2 -2
- package/dist/components/Business/BsLayouts/index.d.ts +2 -2
- package/dist/components/Business/BsSulaQueryTable/utils.d.ts +2 -2
- package/dist/index.esm.js +79 -100
- package/dist/index.js +86 -107
- package/dist/utils/TableUtils.d.ts +2 -2
- package/package.json +77 -77
- package/src/components/Business/moreTreeTable/index.tsx +365 -363
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './home.less';
|
|
3
|
-
export type SiderTheme = 'light' | 'dark';
|
|
4
|
-
export type GlobalHeaderRightProps = {
|
|
3
|
+
export declare type SiderTheme = 'light' | 'dark';
|
|
4
|
+
export declare type GlobalHeaderRightProps = {
|
|
5
5
|
menu?: boolean;
|
|
6
6
|
};
|
|
7
7
|
declare const GlobalHeaderRight: React.FC<GlobalHeaderRightProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './index.less';
|
|
3
|
-
export type SiderTheme = 'light' | 'dark';
|
|
4
|
-
export type GlobalHeaderRightProps = {
|
|
3
|
+
export declare type SiderTheme = 'light' | 'dark';
|
|
4
|
+
export declare type GlobalHeaderRightProps = {
|
|
5
5
|
menu?: boolean;
|
|
6
6
|
};
|
|
7
7
|
declare const AllFunc: React.FC<GlobalHeaderRightProps>;
|
|
@@ -2,14 +2,14 @@ import type { MenuDataItem, BasicLayoutProps as ProLayoutProps, Settings } from
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import './index.less';
|
|
4
4
|
export declare const RouterContext: React.Context<{}>;
|
|
5
|
-
export type BasicLayoutProps = {
|
|
5
|
+
export declare type BasicLayoutProps = {
|
|
6
6
|
breadcrumbNameMap: Record<string, MenuDataItem>;
|
|
7
7
|
route: ProLayoutProps['route'] & {
|
|
8
8
|
authority: string[];
|
|
9
9
|
};
|
|
10
10
|
settings: Settings;
|
|
11
11
|
} & ProLayoutProps;
|
|
12
|
-
export type BasicLayoutContext = {
|
|
12
|
+
export declare type BasicLayoutContext = {
|
|
13
13
|
[K in 'location']: BasicLayoutProps[K];
|
|
14
14
|
} & {
|
|
15
15
|
breadcrumbNameMap: Record<string, MenuDataItem>;
|
|
@@ -46,13 +46,13 @@ export declare const handleTextLineFeed: (text: string | undefined, width?: numb
|
|
|
46
46
|
export declare const handleTextOverflow: (text: string | undefined, width?: number) => JSX.Element;
|
|
47
47
|
export declare const handleTooltip: (text: any, timeTrue?: boolean) => JSX.Element;
|
|
48
48
|
export declare const handleTooltipHours: (text: any, timeTrue?: boolean) => JSX.Element;
|
|
49
|
-
type tableColumnsImageType = {
|
|
49
|
+
declare type tableColumnsImageType = {
|
|
50
50
|
width?: number | string;
|
|
51
51
|
height?: number | string;
|
|
52
52
|
[key: string]: any;
|
|
53
53
|
};
|
|
54
54
|
export declare const tableColumnsImage: (url?: string, paramsObj?: tableColumnsImageType) => JSX.Element;
|
|
55
|
-
type UserColumnsType = {
|
|
55
|
+
declare type UserColumnsType = {
|
|
56
56
|
name: string;
|
|
57
57
|
department?: string;
|
|
58
58
|
position?: string;
|
package/dist/index.esm.js
CHANGED
|
@@ -10,7 +10,7 @@ import { Resizable } from 'react-resizable';
|
|
|
10
10
|
import { SortableHandle, SortableElement, SortableContainer } from 'react-sortable-hoc';
|
|
11
11
|
import { arrayMoveImmutable } from 'array-move';
|
|
12
12
|
import { history, formatMessage, useLocation, Link, useModel, useIntl } from 'umi';
|
|
13
|
-
import isEqual
|
|
13
|
+
import isEqual from 'lodash/isEqual';
|
|
14
14
|
import { Table as Table$1, request as request$1, QueryTable, Form as Form$1 } from 'bssula';
|
|
15
15
|
import ProLayout from '@ant-design/pro-layout';
|
|
16
16
|
import cloneDeep from 'lodash/cloneDeep';
|
|
@@ -135,33 +135,6 @@ axios.interceptors.request.use(function (config) {
|
|
|
135
135
|
return config;
|
|
136
136
|
});
|
|
137
137
|
|
|
138
|
-
function _iterableToArrayLimit(arr, i) {
|
|
139
|
-
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
140
|
-
if (null != _i) {
|
|
141
|
-
var _s,
|
|
142
|
-
_e,
|
|
143
|
-
_x,
|
|
144
|
-
_r,
|
|
145
|
-
_arr = [],
|
|
146
|
-
_n = !0,
|
|
147
|
-
_d = !1;
|
|
148
|
-
try {
|
|
149
|
-
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
150
|
-
if (Object(_i) !== _i) return;
|
|
151
|
-
_n = !1;
|
|
152
|
-
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
153
|
-
} catch (err) {
|
|
154
|
-
_d = !0, _e = err;
|
|
155
|
-
} finally {
|
|
156
|
-
try {
|
|
157
|
-
if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;
|
|
158
|
-
} finally {
|
|
159
|
-
if (_d) throw _e;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
return _arr;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
138
|
function ownKeys(object, enumerableOnly) {
|
|
166
139
|
var keys = Object.keys(object);
|
|
167
140
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -318,9 +291,14 @@ function _regeneratorRuntime() {
|
|
|
318
291
|
};
|
|
319
292
|
}
|
|
320
293
|
function maybeInvokeDelegate(delegate, context) {
|
|
321
|
-
var
|
|
322
|
-
|
|
323
|
-
|
|
294
|
+
var method = delegate.iterator[context.method];
|
|
295
|
+
if (undefined === method) {
|
|
296
|
+
if (context.delegate = null, "throw" === context.method) {
|
|
297
|
+
if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
|
|
298
|
+
context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
|
|
299
|
+
}
|
|
300
|
+
return ContinueSentinel;
|
|
301
|
+
}
|
|
324
302
|
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
325
303
|
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
326
304
|
var info = record.arg;
|
|
@@ -534,7 +512,7 @@ function _defineProperties(target, props) {
|
|
|
534
512
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
535
513
|
descriptor.configurable = true;
|
|
536
514
|
if ("value" in descriptor) descriptor.writable = true;
|
|
537
|
-
Object.defineProperty(target,
|
|
515
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
538
516
|
}
|
|
539
517
|
}
|
|
540
518
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
@@ -546,7 +524,6 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
546
524
|
return Constructor;
|
|
547
525
|
}
|
|
548
526
|
function _defineProperty(obj, key, value) {
|
|
549
|
-
key = _toPropertyKey(key);
|
|
550
527
|
if (key in obj) {
|
|
551
528
|
Object.defineProperty(obj, key, {
|
|
552
529
|
value: value,
|
|
@@ -675,6 +652,30 @@ function _arrayWithHoles(arr) {
|
|
|
675
652
|
function _iterableToArray(iter) {
|
|
676
653
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
677
654
|
}
|
|
655
|
+
function _iterableToArrayLimit(arr, i) {
|
|
656
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
657
|
+
if (_i == null) return;
|
|
658
|
+
var _arr = [];
|
|
659
|
+
var _n = true;
|
|
660
|
+
var _d = false;
|
|
661
|
+
var _s, _e;
|
|
662
|
+
try {
|
|
663
|
+
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
664
|
+
_arr.push(_s.value);
|
|
665
|
+
if (i && _arr.length === i) break;
|
|
666
|
+
}
|
|
667
|
+
} catch (err) {
|
|
668
|
+
_d = true;
|
|
669
|
+
_e = err;
|
|
670
|
+
} finally {
|
|
671
|
+
try {
|
|
672
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
673
|
+
} finally {
|
|
674
|
+
if (_d) throw _e;
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
return _arr;
|
|
678
|
+
}
|
|
678
679
|
function _unsupportedIterableToArray(o, minLen) {
|
|
679
680
|
if (!o) return;
|
|
680
681
|
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
@@ -694,20 +695,6 @@ function _nonIterableSpread() {
|
|
|
694
695
|
function _nonIterableRest() {
|
|
695
696
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
696
697
|
}
|
|
697
|
-
function _toPrimitive(input, hint) {
|
|
698
|
-
if (typeof input !== "object" || input === null) return input;
|
|
699
|
-
var prim = input[Symbol.toPrimitive];
|
|
700
|
-
if (prim !== undefined) {
|
|
701
|
-
var res = prim.call(input, hint || "default");
|
|
702
|
-
if (typeof res !== "object") return res;
|
|
703
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
704
|
-
}
|
|
705
|
-
return (hint === "string" ? String : Number)(input);
|
|
706
|
-
}
|
|
707
|
-
function _toPropertyKey(arg) {
|
|
708
|
-
var key = _toPrimitive(arg, "string");
|
|
709
|
-
return typeof key === "symbol" ? key : String(key);
|
|
710
|
-
}
|
|
711
698
|
|
|
712
699
|
var checkQuantityAccuracy = function checkQuantityAccuracy(value, accuracy, errorInfo) {
|
|
713
700
|
var errorMessage = _objectSpread2({
|
|
@@ -3675,52 +3662,41 @@ var setInitialShowColumn = function setInitialShowColumn(tableCode, columns, cal
|
|
|
3675
3662
|
callback(showColumns);
|
|
3676
3663
|
};
|
|
3677
3664
|
|
|
3678
|
-
var
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
function
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3665
|
+
var simpleIsEqual = function simpleIsEqual(a, b) {
|
|
3666
|
+
return a === b;
|
|
3667
|
+
};
|
|
3668
|
+
|
|
3669
|
+
function index (resultFn, isEqual) {
|
|
3670
|
+
if (isEqual === void 0) {
|
|
3671
|
+
isEqual = simpleIsEqual;
|
|
3672
|
+
}
|
|
3673
|
+
|
|
3674
|
+
var lastThis;
|
|
3675
|
+
var lastArgs = [];
|
|
3676
|
+
var lastResult;
|
|
3677
|
+
var calledOnce = false;
|
|
3678
|
+
|
|
3679
|
+
var isNewArgEqualToLast = function isNewArgEqualToLast(newArg, index) {
|
|
3680
|
+
return isEqual(newArg, lastArgs[index], index);
|
|
3681
|
+
};
|
|
3682
|
+
|
|
3683
|
+
var result = function result() {
|
|
3684
|
+
for (var _len = arguments.length, newArgs = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
3685
|
+
newArgs[_key] = arguments[_key];
|
|
3699
3686
|
}
|
|
3700
|
-
return true;
|
|
3701
|
-
}
|
|
3702
3687
|
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
var lastThis;
|
|
3706
|
-
var lastArgs = [];
|
|
3707
|
-
var lastResult;
|
|
3708
|
-
var calledOnce = false;
|
|
3709
|
-
function memoized() {
|
|
3710
|
-
var newArgs = [];
|
|
3711
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
3712
|
-
newArgs[_i] = arguments[_i];
|
|
3713
|
-
}
|
|
3714
|
-
if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {
|
|
3715
|
-
return lastResult;
|
|
3716
|
-
}
|
|
3717
|
-
lastResult = resultFn.apply(this, newArgs);
|
|
3718
|
-
calledOnce = true;
|
|
3719
|
-
lastThis = this;
|
|
3720
|
-
lastArgs = newArgs;
|
|
3721
|
-
return lastResult;
|
|
3688
|
+
if (calledOnce && lastThis === this && newArgs.length === lastArgs.length && newArgs.every(isNewArgEqualToLast)) {
|
|
3689
|
+
return lastResult;
|
|
3722
3690
|
}
|
|
3723
|
-
|
|
3691
|
+
|
|
3692
|
+
lastResult = resultFn.apply(this, newArgs);
|
|
3693
|
+
calledOnce = true;
|
|
3694
|
+
lastThis = this;
|
|
3695
|
+
lastArgs = newArgs;
|
|
3696
|
+
return lastResult;
|
|
3697
|
+
};
|
|
3698
|
+
|
|
3699
|
+
return result;
|
|
3724
3700
|
}
|
|
3725
3701
|
|
|
3726
3702
|
//! moment.js
|
|
@@ -9680,7 +9656,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
|
|
|
9680
9656
|
return item;
|
|
9681
9657
|
});
|
|
9682
9658
|
};
|
|
9683
|
-
var memoizeOneFormatter =
|
|
9659
|
+
var memoizeOneFormatter = index(formatter, isEqual);
|
|
9684
9660
|
var go2BackAndClose = function go2BackAndClose() {
|
|
9685
9661
|
localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
|
|
9686
9662
|
history.goBack();
|
|
@@ -15223,7 +15199,7 @@ var CommodityEntry = function CommodityEntry(props) {
|
|
|
15223
15199
|
* @LastEditTime: 2022-01-14 17:17:26
|
|
15224
15200
|
* @LastEditors: rodchen
|
|
15225
15201
|
*/
|
|
15226
|
-
var index = (function (storageKeyString) {
|
|
15202
|
+
var index$1 = (function (storageKeyString) {
|
|
15227
15203
|
var seconds = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
|
|
15228
15204
|
var tipsCallFunction = arguments.length > 2 ? arguments[2] : undefined;
|
|
15229
15205
|
if (typeof seconds !== 'number') throw new Error('seconds should be number');
|
|
@@ -15566,7 +15542,7 @@ var BusinessTreeSearchSelect = function BusinessTreeSearchSelect(props) {
|
|
|
15566
15542
|
}, [props === null || props === void 0 ? void 0 : props.value]);
|
|
15567
15543
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(MemoTreeSearchSelect, _objectSpread2({}, currentProps)));
|
|
15568
15544
|
};
|
|
15569
|
-
var index$
|
|
15545
|
+
var index$2 = /*#__PURE__*/React.memo(BusinessTreeSearchSelect, function (props, nextProps) {
|
|
15570
15546
|
if (props && props.labelInValue && props.value && JSON.stringify(props.value) !== JSON.stringify(nextProps.value)) {
|
|
15571
15547
|
return false;
|
|
15572
15548
|
}
|
|
@@ -15579,7 +15555,7 @@ var index$1 = /*#__PURE__*/React.memo(BusinessTreeSearchSelect, function (props,
|
|
|
15579
15555
|
var css_248z$8 = ".form-status-label {\n height: 48px;\n margin-right: 12px;\n display: inline-block;\n position: relative;\n background-color: #B0B4B7;\n align-items: center;\n}\n.choosed-status-label.form-status-label {\n background-color: #005CFF;\n}\n.form-status-label:last-child {\n margin-right: 0px;\n}\n.form-status-label:first-child::after {\n position: absolute;\n display: block;\n content: '';\n right: -48px;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.choosed-status-label.form-status-label::after {\n border-left: 12px solid #005CFF;\n}\n.choosed-status-label.form-status-label:not(:first-child):not(:last-child)::after {\n border-left: 12px solid #005CFF;\n}\n.form-status-label:last-child::after {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::before {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::after {\n position: absolute;\n display: block;\n content: '';\n right: -48px;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.status-label-index {\n display: inline-block;\n width: 24px;\n height: 24px;\n border: 1px solid #FFFFFF;\n color: #FFFFFF;\n border-radius: 50%;\n font-family: Montserrat;\n font-size: 14px;\n line-height: 24px;\n text-align: center;\n margin: 0 6px 0 20px;\n}\n.status-label-key {\n width: 50px;\n height: 100%;\n display: inline-flex;\n float: left;\n align-items: center;\n justify-content: center;\n}\n.status-label-operate {\n float: left;\n width: calc(100% - 50px);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 100%;\n margin: 4px 0;\n}\n.status-label-operate > div {\n font-size: 12px;\n height: 20px;\n line-height: 20px;\n color: #FFFFFF;\n font-family: PingFangSC;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.status-label-operate > div:first-child {\n font-size: 14px;\n font-weight: 600;\n}\n.only-one-child.form-status-label::after,\n.only-one-child.form-status-label::before {\n border-left: 0px;\n}\n";
|
|
15580
15556
|
styleInject(css_248z$8);
|
|
15581
15557
|
|
|
15582
|
-
var index$
|
|
15558
|
+
var index$3 = (function (props) {
|
|
15583
15559
|
var _props$formStatusMapp = props.formStatusMapping,
|
|
15584
15560
|
formStatusMapping = _props$formStatusMapp === void 0 ? [] : _props$formStatusMapp;
|
|
15585
15561
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -17003,7 +16979,7 @@ var iconMap = {
|
|
|
17003
16979
|
src: moreIcon
|
|
17004
16980
|
})
|
|
17005
16981
|
};
|
|
17006
|
-
var index$
|
|
16982
|
+
var index$4 = (function (props) {
|
|
17007
16983
|
var _useLocation = useLocation(),
|
|
17008
16984
|
pathname = _useLocation.pathname;
|
|
17009
16985
|
var _useState = useState(pathname + 'id'),
|
|
@@ -17220,7 +17196,7 @@ var css_248z$d = ".home_page_head {\n height: 54px;\n display: flex;\n justif
|
|
|
17220
17196
|
styleInject(css_248z$d);
|
|
17221
17197
|
|
|
17222
17198
|
var _excluded$c = ["children"];
|
|
17223
|
-
var index$
|
|
17199
|
+
var index$5 = (function (props) {
|
|
17224
17200
|
var _useLocation = useLocation(),
|
|
17225
17201
|
pathname = _useLocation.pathname;
|
|
17226
17202
|
var _useState = useState(pathname + 'id'),
|
|
@@ -22236,7 +22212,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
22236
22212
|
}]);
|
|
22237
22213
|
return WrapperComponent;
|
|
22238
22214
|
}(React.Component);
|
|
22239
|
-
var index$
|
|
22215
|
+
var index$6 = (function (props) {
|
|
22240
22216
|
var _useModel = useModel('@@initialState'),
|
|
22241
22217
|
_useModel$initialStat = _useModel.initialState,
|
|
22242
22218
|
initialState = _useModel$initialStat === void 0 ? {} : _useModel$initialStat;
|
|
@@ -22379,7 +22355,7 @@ var headersToRows = function headersToRows(originColumns) {
|
|
|
22379
22355
|
var css_248z$n = ".editTableWrapper {\n width: 1000px;\n height: 500px;\n overflow: auto;\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.editTableWrapper table {\n table-layout: fixed;\n}\n.editTableWrapper .editTable {\n position: relative;\n overflow: hidden;\n border-top: 0;\n background: #fff;\n}\n.editTableWrapper .north__west {\n position: sticky;\n background-color: #f7f8fb;\n left: 0px;\n top: 0px;\n font-size: 14px;\n color: #606266;\n z-index: 5;\n}\n.editTableWrapper .north__west th {\n background: #fff;\n font-size: 14px;\n color: #606266;\n z-index: 5;\n}\n.editTableWrapper .south__west {\n z-index: 4;\n position: absolute;\n left: 0px;\n top: 0;\n}\n.editTableWrapper .south__west th {\n background: #fff;\n font-size: 14px;\n color: #606266;\n z-index: 4;\n}\n.editTableWrapper .south__west td {\n font-size: 12px;\n background: #fff;\n color: #6a6a6a;\n}\n.editTableWrapper .south__west td svg {\n width: 20px;\n height: 20px;\n vertical-align: middle;\n}\n.editTableWrapper .editTable__block {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n position: absolute;\n border-collapse: collapse;\n padding: 0;\n}\n.editTableWrapper .editTable__block th,\n.editTableWrapper .editTable__block td {\n box-sizing: border-box;\n font-size: 11px;\n color: #6a6a6a;\n}\n.editTableWrapper .value_table table {\n table-layout: fixed;\n min-width: 100%;\n}\n.editTableWrapper .table_border_style {\n border-collapse: separate;\n border-spacing: 0;\n border-left: 1px solid #f0f0f0;\n border-top: 1px solid #f0f0f0;\n}\n.editTableWrapper .table_border_style td {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n box-sizing: border-box;\n border-right: 1px solid #f0f0f0;\n border-bottom: 1px solid #f0f0f0;\n padding: 0 10px;\n font-size: 14px;\n line-height: 28px;\n}\n";
|
|
22380
22356
|
styleInject(css_248z$n);
|
|
22381
22357
|
|
|
22382
|
-
var index$
|
|
22358
|
+
var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
22383
22359
|
var _useState = useState(false),
|
|
22384
22360
|
_useState2 = _slicedToArray(_useState, 2),
|
|
22385
22361
|
show = _useState2[0],
|
|
@@ -22624,9 +22600,12 @@ var index$6 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
22624
22600
|
}, /*#__PURE__*/React.createElement("tbody", null, config.colLastData.map(function (item, index) {
|
|
22625
22601
|
var fixedTop = item.fixed ? "".concat(index * 40 + config.colHeaderToTop, "px") : 0;
|
|
22626
22602
|
return /*#__PURE__*/React.createElement("tr", null, colTableData.map(function (record, index) {
|
|
22603
|
+
var _record$_rowConfig;
|
|
22604
|
+
var tdHidden = (record === null || record === void 0 ? void 0 : (_record$_rowConfig = record['_rowConfig']) === null || _record$_rowConfig === void 0 ? void 0 : _record$_rowConfig.hidden) ? 'none' : 'table-cell';
|
|
22627
22605
|
return /*#__PURE__*/React.createElement("td", {
|
|
22628
22606
|
style: {
|
|
22629
|
-
|
|
22607
|
+
display: tdHidden,
|
|
22608
|
+
background: index % 2 === 1 || item.fixed ? '#FAFAFA' : '#fff',
|
|
22630
22609
|
minWidth: '100px',
|
|
22631
22610
|
width: "".concat(itemWidth, "px"),
|
|
22632
22611
|
height: '40px',
|
|
@@ -31074,4 +31053,4 @@ var JsonQueryTable = /*#__PURE__*/React.memo(function (props) {
|
|
|
31074
31053
|
}, "setting"));
|
|
31075
31054
|
});
|
|
31076
31055
|
|
|
31077
|
-
export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, BillEntry, index$
|
|
31056
|
+
export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, BillEntry, index$6 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, index$2 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, CommodityEntry, DataImport, DataValidation, index$4 as DetailPageWrapper, ExportIcon, GuideWrapper, index$5 as HomePageWrapper, JsonQueryTable, index$7 as MoreTreeTable, QueryMutipleInput, SearchSelect, index$3 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect };
|