@icos-desktop/react-components 1.0.0-beta.21 → 1.0.0-beta.23
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/build/index.esm.js +805 -361
- package/build/index.js +805 -361
- package/build/index.umd.js +805 -361
- package/build/types/components/SenseManager/components/SideBar/index.d.ts +0 -1
- package/build/types/settings.d.ts +11 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
@@ -570,7 +570,7 @@ function _typeof$a(o) {
|
|
570
570
|
}, _typeof$a(o);
|
571
571
|
}
|
572
572
|
|
573
|
-
function toPrimitive(t, r) {
|
573
|
+
function toPrimitive$1(t, r) {
|
574
574
|
if ("object" != _typeof$a(t) || !t) return t;
|
575
575
|
var e = t[Symbol.toPrimitive];
|
576
576
|
if (void 0 !== e) {
|
@@ -581,13 +581,13 @@ function toPrimitive(t, r) {
|
|
581
581
|
return ("string" === r ? String : Number)(t);
|
582
582
|
}
|
583
583
|
|
584
|
-
function toPropertyKey(t) {
|
585
|
-
var i = toPrimitive(t, "string");
|
584
|
+
function toPropertyKey$1(t) {
|
585
|
+
var i = toPrimitive$1(t, "string");
|
586
586
|
return "symbol" == _typeof$a(i) ? i : i + "";
|
587
587
|
}
|
588
588
|
|
589
589
|
function _defineProperty$1(e, r, t) {
|
590
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
590
|
+
return (r = toPropertyKey$1(r)) in e ? Object.defineProperty(e, r, {
|
591
591
|
value: t,
|
592
592
|
enumerable: !0,
|
593
593
|
configurable: !0,
|
@@ -2095,7 +2095,7 @@ function ownKeys$4(e, r) {
|
|
2095
2095
|
}
|
2096
2096
|
return t;
|
2097
2097
|
}
|
2098
|
-
function _objectSpread2(e) {
|
2098
|
+
function _objectSpread2$1(e) {
|
2099
2099
|
for (var r = 1; r < arguments.length; r++) {
|
2100
2100
|
var t = null != arguments[r] ? arguments[r] : {};
|
2101
2101
|
r % 2 ? ownKeys$4(Object(t), !0).forEach(function (r) {
|
@@ -2248,7 +2248,7 @@ function updateCSS(css, key) {
|
|
2248
2248
|
var originOption = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
2249
2249
|
var container = getContainer(originOption);
|
2250
2250
|
var styles = findStyles(container);
|
2251
|
-
var option = _objectSpread2(_objectSpread2({}, originOption), {}, {
|
2251
|
+
var option = _objectSpread2$1(_objectSpread2$1({}, originOption), {}, {
|
2252
2252
|
styles: styles
|
2253
2253
|
});
|
2254
2254
|
|
@@ -2387,13 +2387,13 @@ function normalizeAttrs() {
|
|
2387
2387
|
}
|
2388
2388
|
function generate$1(node, key, rootProps) {
|
2389
2389
|
if (!rootProps) {
|
2390
|
-
return /*#__PURE__*/React.createElement(node.tag, _objectSpread2({
|
2390
|
+
return /*#__PURE__*/React.createElement(node.tag, _objectSpread2$1({
|
2391
2391
|
key: key
|
2392
2392
|
}, normalizeAttrs(node.attrs)), (node.children || []).map(function (child, index) {
|
2393
2393
|
return generate$1(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
|
2394
2394
|
}));
|
2395
2395
|
}
|
2396
|
-
return /*#__PURE__*/React.createElement(node.tag, _objectSpread2(_objectSpread2({
|
2396
|
+
return /*#__PURE__*/React.createElement(node.tag, _objectSpread2$1(_objectSpread2$1({
|
2397
2397
|
key: key
|
2398
2398
|
}, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function (child, index) {
|
2399
2399
|
return generate$1(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
|
@@ -2443,7 +2443,7 @@ function setTwoToneColors(_ref) {
|
|
2443
2443
|
twoToneColorPalette.calculated = !!secondaryColor;
|
2444
2444
|
}
|
2445
2445
|
function getTwoToneColors() {
|
2446
|
-
return _objectSpread2({}, twoToneColorPalette);
|
2446
|
+
return _objectSpread2$1({}, twoToneColorPalette);
|
2447
2447
|
}
|
2448
2448
|
var IconBase = function IconBase(props) {
|
2449
2449
|
var icon = props.icon,
|
@@ -2468,11 +2468,11 @@ var IconBase = function IconBase(props) {
|
|
2468
2468
|
}
|
2469
2469
|
var target = icon;
|
2470
2470
|
if (target && typeof target.icon === 'function') {
|
2471
|
-
target = _objectSpread2(_objectSpread2({}, target), {}, {
|
2471
|
+
target = _objectSpread2$1(_objectSpread2$1({}, target), {}, {
|
2472
2472
|
icon: target.icon(colors.primaryColor, colors.secondaryColor)
|
2473
2473
|
});
|
2474
2474
|
}
|
2475
|
-
return generate$1(target.icon, "svg-".concat(target.name), _objectSpread2(_objectSpread2({
|
2475
|
+
return generate$1(target.icon, "svg-".concat(target.name), _objectSpread2$1(_objectSpread2$1({
|
2476
2476
|
className: className,
|
2477
2477
|
onClick: onClick,
|
2478
2478
|
style: style,
|
@@ -9021,7 +9021,7 @@ function _classCallCheck$4(a, n) {
|
|
9021
9021
|
function _defineProperties$2(e, r) {
|
9022
9022
|
for (var t = 0; t < r.length; t++) {
|
9023
9023
|
var o = r[t];
|
9024
|
-
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
|
9024
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey$1(o.key), o);
|
9025
9025
|
}
|
9026
9026
|
}
|
9027
9027
|
function _createClass$4(e, r, t) {
|
@@ -9174,7 +9174,7 @@ function SingleObserver(props, ref) {
|
|
9174
9174
|
// IE is strange, right?
|
9175
9175
|
var mergedOffsetWidth = offsetWidth === Math.round(width) ? width : offsetWidth;
|
9176
9176
|
var mergedOffsetHeight = offsetHeight === Math.round(height) ? height : offsetHeight;
|
9177
|
-
var sizeInfo = _objectSpread2(_objectSpread2({}, size), {}, {
|
9177
|
+
var sizeInfo = _objectSpread2$1(_objectSpread2$1({}, size), {}, {
|
9178
9178
|
offsetWidth: mergedOffsetWidth,
|
9179
9179
|
offsetHeight: mergedOffsetHeight
|
9180
9180
|
});
|
@@ -9775,7 +9775,7 @@ function toStyleStr(style, tokenKey, styleId) {
|
|
9775
9775
|
if (plain) {
|
9776
9776
|
return style;
|
9777
9777
|
}
|
9778
|
-
var attrs = _objectSpread2(_objectSpread2({}, customizeAttrs), {}, _defineProperty$1(_defineProperty$1({}, ATTR_TOKEN, tokenKey), ATTR_MARK, styleId));
|
9778
|
+
var attrs = _objectSpread2$1(_objectSpread2$1({}, customizeAttrs), {}, _defineProperty$1(_defineProperty$1({}, ATTR_TOKEN, tokenKey), ATTR_MARK, styleId));
|
9779
9779
|
var attrStr = Object.keys(attrs).map(function (attr) {
|
9780
9780
|
var val = attrs[attr];
|
9781
9781
|
return val ? "".concat(attr, "=\"").concat(val, "\"") : null;
|
@@ -9850,7 +9850,7 @@ var useLayoutUpdateEffect = function useLayoutUpdateEffect(callback, deps) {
|
|
9850
9850
|
|
9851
9851
|
// We need fully clone React function here
|
9852
9852
|
// to avoid webpack warning React 17 do not export `useId`
|
9853
|
-
var fullClone$3 = _objectSpread2({}, React__namespace);
|
9853
|
+
var fullClone$3 = _objectSpread2$1({}, React__namespace);
|
9854
9854
|
var useInsertionEffect$1 = fullClone$3.useInsertionEffect;
|
9855
9855
|
/**
|
9856
9856
|
* Polyfill `useInsertionEffect` for React < 18
|
@@ -9877,7 +9877,7 @@ var useCompatibleInsertionEffect = useInsertionEffect$1 ? function (renderEffect
|
|
9877
9877
|
}, deps);
|
9878
9878
|
} : useInsertionEffectPolyfill;
|
9879
9879
|
|
9880
|
-
var fullClone$2 = _objectSpread2({}, React__namespace);
|
9880
|
+
var fullClone$2 = _objectSpread2$1({}, React__namespace);
|
9881
9881
|
var useInsertionEffect = fullClone$2.useInsertionEffect;
|
9882
9882
|
|
9883
9883
|
// DO NOT register functions in useEffect cleanup function, or functions that registered will never be called.
|
@@ -10072,7 +10072,7 @@ var getComputedToken$1 = function getComputedToken(originToken, overrideToken, t
|
|
10072
10072
|
var derivativeToken = theme.getDerivativeToken(originToken);
|
10073
10073
|
|
10074
10074
|
// Merge with override
|
10075
|
-
var mergedDerivativeToken = _objectSpread2(_objectSpread2({}, derivativeToken), overrideToken);
|
10075
|
+
var mergedDerivativeToken = _objectSpread2$1(_objectSpread2$1({}, derivativeToken), overrideToken);
|
10076
10076
|
|
10077
10077
|
// Format if needed
|
10078
10078
|
if (format) {
|
@@ -10113,7 +10113,7 @@ function useCacheToken(theme, tokens) {
|
|
10113
10113
|
var mergedDerivativeToken = compute ? compute(mergedToken, override, theme) : getComputedToken$1(mergedToken, override, theme, formatToken);
|
10114
10114
|
|
10115
10115
|
// Replace token value with css variables
|
10116
|
-
var actualToken = _objectSpread2({}, mergedDerivativeToken);
|
10116
|
+
var actualToken = _objectSpread2$1({}, mergedDerivativeToken);
|
10117
10117
|
var cssVarsStr = '';
|
10118
10118
|
if (!!cssVar) {
|
10119
10119
|
var _transformToken = transformToken(mergedDerivativeToken, cssVar.key, {
|
@@ -10983,7 +10983,7 @@ var parseStyle$1 = function parseStyle(interpolation) {
|
|
10983
10983
|
_parseStyle4 = _slicedToArray$2(_parseStyle3, 2),
|
10984
10984
|
_parsedStr2 = _parseStyle4[0],
|
10985
10985
|
childEffectStyle = _parseStyle4[1];
|
10986
|
-
effectStyle = _objectSpread2(_objectSpread2({}, effectStyle), childEffectStyle);
|
10986
|
+
effectStyle = _objectSpread2$1(_objectSpread2$1({}, effectStyle), childEffectStyle);
|
10987
10987
|
styleStr += "".concat(mergedKey).concat(_parsedStr2);
|
10988
10988
|
} else {
|
10989
10989
|
var _value;
|
@@ -11165,7 +11165,7 @@ function useStyleRegister(info, styleFn) {
|
|
11165
11165
|
// ================= Inject Layer Style =================
|
11166
11166
|
// Inject layer style
|
11167
11167
|
effectLayerKeys.forEach(function (effectKey) {
|
11168
|
-
updateCSS(normalizeStyle(effectStyle[effectKey]), "_layer-".concat(effectKey), _objectSpread2(_objectSpread2({}, mergedCSSConfig), {}, {
|
11168
|
+
updateCSS(normalizeStyle(effectStyle[effectKey]), "_layer-".concat(effectKey), _objectSpread2$1(_objectSpread2$1({}, mergedCSSConfig), {}, {
|
11169
11169
|
prepend: true
|
11170
11170
|
}));
|
11171
11171
|
});
|
@@ -11442,7 +11442,7 @@ function internalSet(entity, paths, value, removeIfUndefined) {
|
|
11442
11442
|
} else if (Array.isArray(entity)) {
|
11443
11443
|
clone = _toConsumableArray(entity);
|
11444
11444
|
} else {
|
11445
|
-
clone = _objectSpread2({}, entity);
|
11445
|
+
clone = _objectSpread2$1({}, entity);
|
11446
11446
|
}
|
11447
11447
|
|
11448
11448
|
// Delete prop if `removeIfUndefined` and value is undefined
|
@@ -11557,7 +11557,7 @@ const devUseWarning = component => {
|
|
11557
11557
|
// to import whole `rc-field-form`
|
11558
11558
|
var ValidateMessagesContext = /*#__PURE__*/React.createContext(undefined);
|
11559
11559
|
|
11560
|
-
var locale$
|
11560
|
+
var locale$8 = {
|
11561
11561
|
// Options
|
11562
11562
|
items_per_page: '/ page',
|
11563
11563
|
jump_to: 'Go to',
|
@@ -11580,7 +11580,7 @@ var commonLocale = {
|
|
11580
11580
|
monthBeforeYear: true
|
11581
11581
|
};
|
11582
11582
|
|
11583
|
-
var locale$
|
11583
|
+
var locale$7 = _objectSpread2$1(_objectSpread2$1({}, commonLocale), {}, {
|
11584
11584
|
locale: 'en_US',
|
11585
11585
|
today: 'Today',
|
11586
11586
|
now: 'Now',
|
@@ -11607,13 +11607,13 @@ var locale$3 = _objectSpread2(_objectSpread2({}, commonLocale), {}, {
|
|
11607
11607
|
nextCentury: 'Next century'
|
11608
11608
|
});
|
11609
11609
|
|
11610
|
-
const locale$
|
11610
|
+
const locale$6 = {
|
11611
11611
|
placeholder: 'Select time',
|
11612
11612
|
rangePlaceholder: ['Start time', 'End time']
|
11613
11613
|
};
|
11614
11614
|
|
11615
11615
|
// Merge into a locale object
|
11616
|
-
const locale$
|
11616
|
+
const locale$5 = {
|
11617
11617
|
lang: Object.assign({
|
11618
11618
|
placeholder: 'Select date',
|
11619
11619
|
yearPlaceholder: 'Select year',
|
@@ -11625,17 +11625,17 @@ const locale$1 = {
|
|
11625
11625
|
rangeQuarterPlaceholder: ['Start quarter', 'End quarter'],
|
11626
11626
|
rangeMonthPlaceholder: ['Start month', 'End month'],
|
11627
11627
|
rangeWeekPlaceholder: ['Start week', 'End week']
|
11628
|
-
}, locale$
|
11629
|
-
timePickerLocale: Object.assign({}, locale$
|
11628
|
+
}, locale$7),
|
11629
|
+
timePickerLocale: Object.assign({}, locale$6)
|
11630
11630
|
};
|
11631
11631
|
|
11632
|
-
const typeTemplate$
|
11633
|
-
const localeValues = {
|
11632
|
+
const typeTemplate$2 = '${label} is not a valid ${type}';
|
11633
|
+
const localeValues$1 = {
|
11634
11634
|
locale: 'en',
|
11635
|
-
Pagination: locale$
|
11636
|
-
DatePicker: locale$
|
11637
|
-
TimePicker: locale$
|
11638
|
-
Calendar: locale$
|
11635
|
+
Pagination: locale$8,
|
11636
|
+
DatePicker: locale$5,
|
11637
|
+
TimePicker: locale$6,
|
11638
|
+
Calendar: locale$5,
|
11639
11639
|
global: {
|
11640
11640
|
placeholder: 'Please select'
|
11641
11641
|
},
|
@@ -11718,19 +11718,19 @@ const localeValues = {
|
|
11718
11718
|
invalid: '${label} is an invalid date'
|
11719
11719
|
},
|
11720
11720
|
types: {
|
11721
|
-
string: typeTemplate$
|
11722
|
-
method: typeTemplate$
|
11723
|
-
array: typeTemplate$
|
11724
|
-
object: typeTemplate$
|
11725
|
-
number: typeTemplate$
|
11726
|
-
date: typeTemplate$
|
11727
|
-
boolean: typeTemplate$
|
11728
|
-
integer: typeTemplate$
|
11729
|
-
float: typeTemplate$
|
11730
|
-
regexp: typeTemplate$
|
11731
|
-
email: typeTemplate$
|
11732
|
-
url: typeTemplate$
|
11733
|
-
hex: typeTemplate$
|
11721
|
+
string: typeTemplate$2,
|
11722
|
+
method: typeTemplate$2,
|
11723
|
+
array: typeTemplate$2,
|
11724
|
+
object: typeTemplate$2,
|
11725
|
+
number: typeTemplate$2,
|
11726
|
+
date: typeTemplate$2,
|
11727
|
+
boolean: typeTemplate$2,
|
11728
|
+
integer: typeTemplate$2,
|
11729
|
+
float: typeTemplate$2,
|
11730
|
+
regexp: typeTemplate$2,
|
11731
|
+
email: typeTemplate$2,
|
11732
|
+
url: typeTemplate$2,
|
11733
|
+
hex: typeTemplate$2
|
11734
11734
|
},
|
11735
11735
|
string: {
|
11736
11736
|
len: '${label} must be ${len} characters',
|
@@ -11771,9 +11771,9 @@ const localeValues = {
|
|
11771
11771
|
}
|
11772
11772
|
};
|
11773
11773
|
|
11774
|
-
let runtimeLocale = Object.assign({}, localeValues.Modal);
|
11774
|
+
let runtimeLocale = Object.assign({}, localeValues$1.Modal);
|
11775
11775
|
let localeList = [];
|
11776
|
-
const generateLocale = () => localeList.reduce((merged, locale) => Object.assign(Object.assign({}, merged), locale), localeValues.Modal);
|
11776
|
+
const generateLocale = () => localeList.reduce((merged, locale) => Object.assign(Object.assign({}, merged), locale), localeValues$1.Modal);
|
11777
11777
|
function changeConfirmLocale(newLocale) {
|
11778
11778
|
if (newLocale) {
|
11779
11779
|
const cloneLocale = Object.assign({}, newLocale);
|
@@ -11784,7 +11784,7 @@ function changeConfirmLocale(newLocale) {
|
|
11784
11784
|
runtimeLocale = generateLocale();
|
11785
11785
|
};
|
11786
11786
|
}
|
11787
|
-
runtimeLocale = Object.assign({}, localeValues.Modal);
|
11787
|
+
runtimeLocale = Object.assign({}, localeValues$1.Modal);
|
11788
11788
|
}
|
11789
11789
|
function getConfirmLocale() {
|
11790
11790
|
return runtimeLocale;
|
@@ -11796,7 +11796,7 @@ const useLocale$1 = (componentName, defaultLocale) => {
|
|
11796
11796
|
const fullLocale = React__namespace.useContext(LocaleContext);
|
11797
11797
|
const getLocale = React__namespace.useMemo(() => {
|
11798
11798
|
var _a;
|
11799
|
-
const locale = defaultLocale || localeValues[componentName];
|
11799
|
+
const locale = defaultLocale || localeValues$1[componentName];
|
11800
11800
|
const localeFromContext = (_a = fullLocale === null || fullLocale === void 0 ? void 0 : fullLocale[componentName]) !== null && _a !== void 0 ? _a : {};
|
11801
11801
|
return Object.assign(Object.assign({}, typeof locale === 'function' ? locale() : locale), localeFromContext || {});
|
11802
11802
|
}, [componentName, defaultLocale, fullLocale]);
|
@@ -11804,7 +11804,7 @@ const useLocale$1 = (componentName, defaultLocale) => {
|
|
11804
11804
|
const localeCode = fullLocale === null || fullLocale === void 0 ? void 0 : fullLocale.locale;
|
11805
11805
|
// Had use LocaleProvide but didn't set locale
|
11806
11806
|
if ((fullLocale === null || fullLocale === void 0 ? void 0 : fullLocale.exist) && !localeCode) {
|
11807
|
-
return localeValues.locale;
|
11807
|
+
return localeValues$1.locale;
|
11808
11808
|
}
|
11809
11809
|
return localeCode;
|
11810
11810
|
}, [fullLocale]);
|
@@ -12634,7 +12634,7 @@ function useMergedState(defaultStateValue, option) {
|
|
12634
12634
|
}
|
12635
12635
|
|
12636
12636
|
function getComponentToken(component, token, defaultToken, options) {
|
12637
|
-
var customToken = _objectSpread2({}, token[component]);
|
12637
|
+
var customToken = _objectSpread2$1({}, token[component]);
|
12638
12638
|
if (options !== null && options !== void 0 && options.deprecatedTokens) {
|
12639
12639
|
var deprecatedTokens = options.deprecatedTokens;
|
12640
12640
|
deprecatedTokens.forEach(function (_ref) {
|
@@ -12652,7 +12652,7 @@ function getComponentToken(component, token, defaultToken, options) {
|
|
12652
12652
|
}
|
12653
12653
|
});
|
12654
12654
|
}
|
12655
|
-
var mergedToken = _objectSpread2(_objectSpread2({}, defaultToken), customToken);
|
12655
|
+
var mergedToken = _objectSpread2$1(_objectSpread2$1({}, defaultToken), customToken);
|
12656
12656
|
|
12657
12657
|
// Remove same value as global token to minimize size
|
12658
12658
|
Object.keys(mergedToken).forEach(function (key) {
|
@@ -12720,7 +12720,7 @@ var statisticToken = function statisticToken(token) {
|
|
12720
12720
|
var _statistic$componentN;
|
12721
12721
|
statistic[componentName] = {
|
12722
12722
|
global: Array.from(tokenKeys),
|
12723
|
-
component: _objectSpread2(_objectSpread2({}, (_statistic$componentN = statistic[componentName]) === null || _statistic$componentN === void 0 ? void 0 : _statistic$componentN.component), componentToken)
|
12723
|
+
component: _objectSpread2$1(_objectSpread2$1({}, (_statistic$componentN = statistic[componentName]) === null || _statistic$componentN === void 0 ? void 0 : _statistic$componentN.component), componentToken)
|
12724
12724
|
};
|
12725
12725
|
};
|
12726
12726
|
}
|
@@ -12886,13 +12886,13 @@ function genStyleUtils(config) {
|
|
12886
12886
|
// Fill unitless
|
12887
12887
|
var originUnitless = (options === null || options === void 0 ? void 0 : options.unitless) || {};
|
12888
12888
|
var originCompUnitless = typeof getCompUnitless === 'function' ? getCompUnitless(component) : {};
|
12889
|
-
var compUnitless = _objectSpread2(_objectSpread2({}, originCompUnitless), {}, _defineProperty$1({}, prefixToken('zIndexPopup'), true));
|
12889
|
+
var compUnitless = _objectSpread2$1(_objectSpread2$1({}, originCompUnitless), {}, _defineProperty$1({}, prefixToken('zIndexPopup'), true));
|
12890
12890
|
Object.keys(originUnitless).forEach(function (key) {
|
12891
12891
|
compUnitless[prefixToken(key)] = originUnitless[key];
|
12892
12892
|
});
|
12893
12893
|
|
12894
12894
|
// Options
|
12895
|
-
var mergedOptions = _objectSpread2(_objectSpread2({}, options), {}, {
|
12895
|
+
var mergedOptions = _objectSpread2$1(_objectSpread2$1({}, options), {}, {
|
12896
12896
|
unitless: compUnitless,
|
12897
12897
|
prefixToken: prefixToken
|
12898
12898
|
});
|
@@ -13015,13 +13015,13 @@ function genStyleUtils(config) {
|
|
13015
13015
|
};
|
13016
13016
|
|
13017
13017
|
// Generate style for all need reset tags.
|
13018
|
-
useStyleRegister(_objectSpread2(_objectSpread2({}, sharedConfig), {}, {
|
13018
|
+
useStyleRegister(_objectSpread2$1(_objectSpread2$1({}, sharedConfig), {}, {
|
13019
13019
|
clientOnly: false,
|
13020
13020
|
path: ['Shared', rootPrefixCls]
|
13021
13021
|
}), function () {
|
13022
13022
|
return typeof getResetStyles === 'function' ? getResetStyles(token) : [];
|
13023
13023
|
});
|
13024
|
-
var wrapSSR = useStyleRegister(_objectSpread2(_objectSpread2({}, sharedConfig), {}, {
|
13024
|
+
var wrapSSR = useStyleRegister(_objectSpread2$1(_objectSpread2$1({}, sharedConfig), {}, {
|
13025
13025
|
path: [concatComponent, prefixCls, iconPrefixCls]
|
13026
13026
|
}), function () {
|
13027
13027
|
if (options.injectStyle === false) {
|
@@ -13066,7 +13066,7 @@ function genStyleUtils(config) {
|
|
13066
13066
|
}
|
13067
13067
|
function genSubStyleComponent(componentName, styleFn, getDefaultToken) {
|
13068
13068
|
var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
13069
|
-
var useStyle = genComponentStyleHook(componentName, styleFn, getDefaultToken, _objectSpread2({
|
13069
|
+
var useStyle = genComponentStyleHook(componentName, styleFn, getDefaultToken, _objectSpread2$1({
|
13070
13070
|
resetStyle: false,
|
13071
13071
|
// Sub Style should default after root one
|
13072
13072
|
order: -998
|
@@ -14160,7 +14160,7 @@ function useStatus$1(supportMotion, visible, getElement, _ref) {
|
|
14160
14160
|
// ============================ Styles ============================
|
14161
14161
|
var mergedStyle = style;
|
14162
14162
|
if (eventHandlers[STEP_PREPARE] && step === STEP_START) {
|
14163
|
-
mergedStyle = _objectSpread2({
|
14163
|
+
mergedStyle = _objectSpread2$1({
|
14164
14164
|
transition: 'none'
|
14165
14165
|
}, mergedStyle);
|
14166
14166
|
}
|
@@ -14231,7 +14231,7 @@ function genCSSMotion(config) {
|
|
14231
14231
|
|
14232
14232
|
// ===================== Render =====================
|
14233
14233
|
var motionChildren;
|
14234
|
-
var mergedProps = _objectSpread2(_objectSpread2({}, eventProps), {}, {
|
14234
|
+
var mergedProps = _objectSpread2$1(_objectSpread2$1({}, eventProps), {}, {
|
14235
14235
|
visible: visible
|
14236
14236
|
});
|
14237
14237
|
if (!children) {
|
@@ -14240,13 +14240,13 @@ function genCSSMotion(config) {
|
|
14240
14240
|
} else if (status === STATUS_NONE) {
|
14241
14241
|
// Stable children
|
14242
14242
|
if (mergedVisible) {
|
14243
|
-
motionChildren = children(_objectSpread2({}, mergedProps), setNodeRef);
|
14243
|
+
motionChildren = children(_objectSpread2$1({}, mergedProps), setNodeRef);
|
14244
14244
|
} else if (!removeOnLeave && renderedRef.current && leavedClassName) {
|
14245
|
-
motionChildren = children(_objectSpread2(_objectSpread2({}, mergedProps), {}, {
|
14245
|
+
motionChildren = children(_objectSpread2$1(_objectSpread2$1({}, mergedProps), {}, {
|
14246
14246
|
className: leavedClassName
|
14247
14247
|
}), setNodeRef);
|
14248
14248
|
} else if (forceRender || !removeOnLeave && !leavedClassName) {
|
14249
|
-
motionChildren = children(_objectSpread2(_objectSpread2({}, mergedProps), {}, {
|
14249
|
+
motionChildren = children(_objectSpread2$1(_objectSpread2$1({}, mergedProps), {}, {
|
14250
14250
|
style: {
|
14251
14251
|
display: 'none'
|
14252
14252
|
}
|
@@ -14265,7 +14265,7 @@ function genCSSMotion(config) {
|
|
14265
14265
|
statusSuffix = 'start';
|
14266
14266
|
}
|
14267
14267
|
var motionCls = getTransitionName$1(motionName, "".concat(status, "-").concat(statusSuffix));
|
14268
|
-
motionChildren = children(_objectSpread2(_objectSpread2({}, mergedProps), {}, {
|
14268
|
+
motionChildren = children(_objectSpread2$1(_objectSpread2$1({}, mergedProps), {}, {
|
14269
14269
|
className: classNames(getTransitionName$1(motionName, status), _defineProperty$1(_defineProperty$1({}, motionCls, motionCls && statusSuffix), motionName, typeof motionName === 'string')),
|
14270
14270
|
style: statusStyle
|
14271
14271
|
}), setNodeRef);
|
@@ -14303,7 +14303,7 @@ function wrapKeyToObject(key) {
|
|
14303
14303
|
key: key
|
14304
14304
|
};
|
14305
14305
|
}
|
14306
|
-
return _objectSpread2(_objectSpread2({}, keyObj), {}, {
|
14306
|
+
return _objectSpread2$1(_objectSpread2$1({}, keyObj), {}, {
|
14307
14307
|
key: String(keyObj.key)
|
14308
14308
|
});
|
14309
14309
|
}
|
@@ -14329,13 +14329,13 @@ function diffKeys() {
|
|
14329
14329
|
// New added keys should add before current key
|
14330
14330
|
if (currentIndex < i) {
|
14331
14331
|
list = list.concat(currentKeyObjects.slice(currentIndex, i).map(function (obj) {
|
14332
|
-
return _objectSpread2(_objectSpread2({}, obj), {}, {
|
14332
|
+
return _objectSpread2$1(_objectSpread2$1({}, obj), {}, {
|
14333
14333
|
status: STATUS_ADD
|
14334
14334
|
});
|
14335
14335
|
}));
|
14336
14336
|
currentIndex = i;
|
14337
14337
|
}
|
14338
|
-
list.push(_objectSpread2(_objectSpread2({}, currentKeyObj), {}, {
|
14338
|
+
list.push(_objectSpread2$1(_objectSpread2$1({}, currentKeyObj), {}, {
|
14339
14339
|
status: STATUS_KEEP
|
14340
14340
|
}));
|
14341
14341
|
currentIndex += 1;
|
@@ -14346,7 +14346,7 @@ function diffKeys() {
|
|
14346
14346
|
|
14347
14347
|
// If not hit, it means key is removed
|
14348
14348
|
if (!hit) {
|
14349
|
-
list.push(_objectSpread2(_objectSpread2({}, keyObj), {}, {
|
14349
|
+
list.push(_objectSpread2$1(_objectSpread2$1({}, keyObj), {}, {
|
14350
14350
|
status: STATUS_REMOVE
|
14351
14351
|
}));
|
14352
14352
|
}
|
@@ -14355,7 +14355,7 @@ function diffKeys() {
|
|
14355
14355
|
// Add rest to the list
|
14356
14356
|
if (currentIndex < currentLen) {
|
14357
14357
|
list = list.concat(currentKeyObjects.slice(currentIndex).map(function (obj) {
|
14358
|
-
return _objectSpread2(_objectSpread2({}, obj), {}, {
|
14358
|
+
return _objectSpread2$1(_objectSpread2$1({}, obj), {}, {
|
14359
14359
|
status: STATUS_ADD
|
14360
14360
|
});
|
14361
14361
|
}));
|
@@ -14420,7 +14420,7 @@ function genCSSMotionList(transitionSupport) {
|
|
14420
14420
|
_this.setState(function (prevState) {
|
14421
14421
|
var nextKeyEntities = prevState.keyEntities.map(function (entity) {
|
14422
14422
|
if (entity.key !== removeKey) return entity;
|
14423
|
-
return _objectSpread2(_objectSpread2({}, entity), {}, {
|
14423
|
+
return _objectSpread2$1(_objectSpread2$1({}, entity), {}, {
|
14424
14424
|
status: STATUS_REMOVED
|
14425
14425
|
});
|
14426
14426
|
});
|
@@ -14475,7 +14475,7 @@ function genCSSMotionList(transitionSupport) {
|
|
14475
14475
|
}
|
14476
14476
|
}
|
14477
14477
|
}), function (props, ref) {
|
14478
|
-
return children(_objectSpread2(_objectSpread2({}, props), {}, {
|
14478
|
+
return children(_objectSpread2$1(_objectSpread2$1({}, props), {}, {
|
14479
14479
|
index: index
|
14480
14480
|
}), ref);
|
14481
14481
|
});
|
@@ -14833,7 +14833,7 @@ const ProviderChildren = props => {
|
|
14833
14833
|
}), children);
|
14834
14834
|
const validateMessages = React__namespace.useMemo(() => {
|
14835
14835
|
var _a, _b, _c, _d;
|
14836
|
-
return merge$3(((_a = localeValues.Form) === null || _a === void 0 ? void 0 : _a.defaultValidateMessages) || {}, ((_c = (_b = memoedConfig.locale) === null || _b === void 0 ? void 0 : _b.Form) === null || _c === void 0 ? void 0 : _c.defaultValidateMessages) || {}, ((_d = memoedConfig.form) === null || _d === void 0 ? void 0 : _d.validateMessages) || {}, (form === null || form === void 0 ? void 0 : form.validateMessages) || {});
|
14836
|
+
return merge$3(((_a = localeValues$1.Form) === null || _a === void 0 ? void 0 : _a.defaultValidateMessages) || {}, ((_c = (_b = memoedConfig.locale) === null || _b === void 0 ? void 0 : _b.Form) === null || _c === void 0 ? void 0 : _c.defaultValidateMessages) || {}, ((_d = memoedConfig.form) === null || _d === void 0 ? void 0 : _d.validateMessages) || {}, (form === null || form === void 0 ? void 0 : form.validateMessages) || {});
|
14837
14837
|
}, [memoedConfig, form === null || form === void 0 ? void 0 : form.validateMessages]);
|
14838
14838
|
if (Object.keys(validateMessages).length > 0) {
|
14839
14839
|
childNode = /*#__PURE__*/React__namespace.createElement(ValidateMessagesContext.Provider, {
|
@@ -14966,7 +14966,7 @@ function pickAttrs(props) {
|
|
14966
14966
|
aria: true
|
14967
14967
|
};
|
14968
14968
|
} else {
|
14969
|
-
mergedConfig = _objectSpread2({}, ariaOnly);
|
14969
|
+
mergedConfig = _objectSpread2$1({}, ariaOnly);
|
14970
14970
|
}
|
14971
14971
|
var attrs = {};
|
14972
14972
|
Object.keys(props).forEach(function (key) {
|
@@ -15902,7 +15902,7 @@ var NoticeList = function NoticeList(props) {
|
|
15902
15902
|
return /*#__PURE__*/React.createElement("div", {
|
15903
15903
|
ref: nodeRef,
|
15904
15904
|
className: classNames("".concat(prefixCls, "-notice-wrapper"), motionClassName, configClassNames === null || configClassNames === void 0 ? void 0 : configClassNames.wrapper),
|
15905
|
-
style: _objectSpread2(_objectSpread2(_objectSpread2({}, motionStyle), stackStyle), configStyles === null || configStyles === void 0 ? void 0 : configStyles.wrapper),
|
15905
|
+
style: _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, motionStyle), stackStyle), configStyles === null || configStyles === void 0 ? void 0 : configStyles.wrapper),
|
15906
15906
|
onMouseEnter: function onMouseEnter() {
|
15907
15907
|
return setHoverKeys(function (prev) {
|
15908
15908
|
return prev.includes(strKey) ? prev : [].concat(_toConsumableArray(prev), [strKey]);
|
@@ -15983,7 +15983,7 @@ var Notifications = /*#__PURE__*/React__namespace.forwardRef(function (props, re
|
|
15983
15983
|
var index = clone.findIndex(function (item) {
|
15984
15984
|
return item.key === config.key;
|
15985
15985
|
});
|
15986
|
-
var innerConfig = _objectSpread2({}, config);
|
15986
|
+
var innerConfig = _objectSpread2$1({}, config);
|
15987
15987
|
if (index >= 0) {
|
15988
15988
|
var _list$index;
|
15989
15989
|
innerConfig.times = (((_list$index = list[index]) === null || _list$index === void 0 ? void 0 : _list$index.times) || 0) + 1;
|
@@ -16033,7 +16033,7 @@ var Notifications = /*#__PURE__*/React__namespace.forwardRef(function (props, re
|
|
16033
16033
|
// Clean up container if all notices fade out
|
16034
16034
|
var onAllNoticeRemoved = function onAllNoticeRemoved(placement) {
|
16035
16035
|
setPlacements(function (originPlacements) {
|
16036
|
-
var clone = _objectSpread2({}, originPlacements);
|
16036
|
+
var clone = _objectSpread2$1({}, originPlacements);
|
16037
16037
|
var list = clone[placement] || [];
|
16038
16038
|
if (!list.length) {
|
16039
16039
|
delete clone[placement];
|
@@ -17064,7 +17064,7 @@ function _asyncToGenerator(n) {
|
|
17064
17064
|
}
|
17065
17065
|
|
17066
17066
|
// Let compiler not to search module usage
|
17067
|
-
var fullClone = _objectSpread2({}, ReactDOM__namespace);
|
17067
|
+
var fullClone = _objectSpread2$1({}, ReactDOM__namespace);
|
17068
17068
|
var version = fullClone.version,
|
17069
17069
|
reactRender = fullClone.render,
|
17070
17070
|
unmountComponentAtNode = fullClone.unmountComponentAtNode;
|
@@ -18487,7 +18487,7 @@ var convertHsb2Hsv = function convertHsb2Hsv(color) {
|
|
18487
18487
|
var _ref = color,
|
18488
18488
|
b = _ref.b,
|
18489
18489
|
resets = _objectWithoutProperties(_ref, _excluded$W);
|
18490
|
-
return _objectSpread2(_objectSpread2({}, resets), {}, {
|
18490
|
+
return _objectSpread2$1(_objectSpread2$1({}, resets), {}, {
|
18491
18491
|
v: b
|
18492
18492
|
});
|
18493
18493
|
}
|
@@ -18521,7 +18521,7 @@ var Color$2 = /*#__PURE__*/function (_FastColor) {
|
|
18521
18521
|
var _this$toHsv = this.toHsv(),
|
18522
18522
|
v = _this$toHsv.v,
|
18523
18523
|
resets = _objectWithoutProperties(_this$toHsv, _excluded2$c);
|
18524
|
-
return _objectSpread2(_objectSpread2({}, resets), {}, {
|
18524
|
+
return _objectSpread2$1(_objectSpread2$1({}, resets), {}, {
|
18525
18525
|
b: v,
|
18526
18526
|
a: this.a
|
18527
18527
|
});
|
@@ -18560,11 +18560,11 @@ var calculateColor = function calculateColor(props) {
|
|
18560
18560
|
if (type) {
|
18561
18561
|
switch (type) {
|
18562
18562
|
case 'hue':
|
18563
|
-
return generateColor(_objectSpread2(_objectSpread2({}, hsb), {}, {
|
18563
|
+
return generateColor(_objectSpread2$1(_objectSpread2$1({}, hsb), {}, {
|
18564
18564
|
h: hueOffset <= 0 ? 0 : hueOffset
|
18565
18565
|
}));
|
18566
18566
|
case 'alpha':
|
18567
|
-
return generateColor(_objectSpread2(_objectSpread2({}, hsb), {}, {
|
18567
|
+
return generateColor(_objectSpread2$1(_objectSpread2$1({}, hsb), {}, {
|
18568
18568
|
a: alphaOffset <= 0 ? 0 : alphaOffset
|
18569
18569
|
}));
|
18570
18570
|
}
|
@@ -18738,7 +18738,7 @@ var Palette = function Palette(_ref) {
|
|
18738
18738
|
prefixCls = _ref.prefixCls;
|
18739
18739
|
return /*#__PURE__*/React.createElement("div", {
|
18740
18740
|
className: "".concat(prefixCls, "-palette"),
|
18741
|
-
style: _objectSpread2({
|
18741
|
+
style: _objectSpread2$1({
|
18742
18742
|
position: 'relative'
|
18743
18743
|
}, style)
|
18744
18744
|
}, children);
|
@@ -21741,7 +21741,7 @@ var RefContext = /*#__PURE__*/React__namespace.createContext({});
|
|
21741
21741
|
|
21742
21742
|
function getUseId() {
|
21743
21743
|
// We need fully clone React function here to avoid webpack warning React 17 do not export `useId`
|
21744
|
-
var fullClone = _objectSpread2({}, React__namespace);
|
21744
|
+
var fullClone = _objectSpread2$1({}, React__namespace);
|
21745
21745
|
return fullClone.useId;
|
21746
21746
|
}
|
21747
21747
|
var uuid$4 = 0;
|
@@ -21896,11 +21896,11 @@ var Panel$2 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
21896
21896
|
// ================================ Render ================================
|
21897
21897
|
var footerNode = footer ? /*#__PURE__*/React.createElement("div", {
|
21898
21898
|
className: classNames("".concat(prefixCls, "-footer"), modalClassNames === null || modalClassNames === void 0 ? void 0 : modalClassNames.footer),
|
21899
|
-
style: _objectSpread2({}, modalStyles === null || modalStyles === void 0 ? void 0 : modalStyles.footer)
|
21899
|
+
style: _objectSpread2$1({}, modalStyles === null || modalStyles === void 0 ? void 0 : modalStyles.footer)
|
21900
21900
|
}, footer) : null;
|
21901
21901
|
var headerNode = title ? /*#__PURE__*/React.createElement("div", {
|
21902
21902
|
className: classNames("".concat(prefixCls, "-header"), modalClassNames === null || modalClassNames === void 0 ? void 0 : modalClassNames.header),
|
21903
|
-
style: _objectSpread2({}, modalStyles === null || modalStyles === void 0 ? void 0 : modalStyles.header)
|
21903
|
+
style: _objectSpread2$1({}, modalStyles === null || modalStyles === void 0 ? void 0 : modalStyles.header)
|
21904
21904
|
}, /*#__PURE__*/React.createElement("div", {
|
21905
21905
|
className: "".concat(prefixCls, "-title"),
|
21906
21906
|
id: ariaId
|
@@ -21933,7 +21933,7 @@ var Panel$2 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
21933
21933
|
style: modalStyles === null || modalStyles === void 0 ? void 0 : modalStyles.content
|
21934
21934
|
}, closerNode, headerNode, /*#__PURE__*/React.createElement("div", _extends$y({
|
21935
21935
|
className: classNames("".concat(prefixCls, "-body"), modalClassNames === null || modalClassNames === void 0 ? void 0 : modalClassNames.body),
|
21936
|
-
style: _objectSpread2(_objectSpread2({}, bodyStyle), modalStyles === null || modalStyles === void 0 ? void 0 : modalStyles.body)
|
21936
|
+
style: _objectSpread2$1(_objectSpread2$1({}, bodyStyle), modalStyles === null || modalStyles === void 0 ? void 0 : modalStyles.body)
|
21937
21937
|
}, bodyProps), children), footerNode);
|
21938
21938
|
return /*#__PURE__*/React.createElement("div", {
|
21939
21939
|
key: "dialog-element",
|
@@ -21941,7 +21941,7 @@ var Panel$2 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
21941
21941
|
"aria-labelledby": title ? ariaId : null,
|
21942
21942
|
"aria-modal": "true",
|
21943
21943
|
ref: mergedRef,
|
21944
|
-
style: _objectSpread2(_objectSpread2({}, style), contentStyle),
|
21944
|
+
style: _objectSpread2$1(_objectSpread2$1({}, style), contentStyle),
|
21945
21945
|
className: classNames(prefixCls, className),
|
21946
21946
|
onMouseDown: onMouseDown,
|
21947
21947
|
onMouseUp: onMouseUp
|
@@ -22008,7 +22008,7 @@ var Content$1 = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
22008
22008
|
ariaId: ariaId,
|
22009
22009
|
prefixCls: prefixCls,
|
22010
22010
|
holderRef: motionRef,
|
22011
|
-
style: _objectSpread2(_objectSpread2(_objectSpread2({}, motionStyle), style), contentStyle),
|
22011
|
+
style: _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, motionStyle), style), contentStyle),
|
22012
22012
|
className: classNames(className, motionClassName)
|
22013
22013
|
}));
|
22014
22014
|
});
|
@@ -22032,7 +22032,7 @@ var Mask$1 = function Mask(props) {
|
|
22032
22032
|
motionStyle = _ref.style;
|
22033
22033
|
return /*#__PURE__*/React__namespace.createElement("div", _extends$y({
|
22034
22034
|
ref: ref,
|
22035
|
-
style: _objectSpread2(_objectSpread2({}, motionStyle), style),
|
22035
|
+
style: _objectSpread2$1(_objectSpread2$1({}, motionStyle), style),
|
22036
22036
|
className: classNames("".concat(prefixCls, "-mask"), motionClassName, className)
|
22037
22037
|
}, maskProps));
|
22038
22038
|
});
|
@@ -22184,7 +22184,7 @@ var Dialog = function Dialog(props) {
|
|
22184
22184
|
clearTimeout(contentTimeoutRef.current);
|
22185
22185
|
};
|
22186
22186
|
}, []);
|
22187
|
-
var mergedStyle = _objectSpread2(_objectSpread2(_objectSpread2({
|
22187
|
+
var mergedStyle = _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({
|
22188
22188
|
zIndex: zIndex
|
22189
22189
|
}, wrapStyle), modalStyles === null || modalStyles === void 0 ? void 0 : modalStyles.wrapper), {}, {
|
22190
22190
|
display: !animatedVisible ? 'none' : null
|
@@ -22199,7 +22199,7 @@ var Dialog = function Dialog(props) {
|
|
22199
22199
|
prefixCls: prefixCls,
|
22200
22200
|
visible: mask && visible,
|
22201
22201
|
motionName: getMotionName(prefixCls, maskTransitionName, maskAnimation),
|
22202
|
-
style: _objectSpread2(_objectSpread2({
|
22202
|
+
style: _objectSpread2$1(_objectSpread2$1({
|
22203
22203
|
zIndex: zIndex
|
22204
22204
|
}, maskStyle), modalStyles === null || modalStyles === void 0 ? void 0 : modalStyles.mask),
|
22205
22205
|
maskProps: maskProps,
|
@@ -22648,7 +22648,7 @@ function deepMerge(target, source) {
|
|
22648
22648
|
if (source.hasOwnProperty(s)) {
|
22649
22649
|
var value = source[s];
|
22650
22650
|
if (_typeof$a(value) === 'object' && _typeof$a(target[s]) === 'object') {
|
22651
|
-
target[s] = _objectSpread2(_objectSpread2({}, target[s]), value);
|
22651
|
+
target[s] = _objectSpread2$1(_objectSpread2$1({}, target[s]), value);
|
22652
22652
|
} else {
|
22653
22653
|
target[s] = value;
|
22654
22654
|
}
|
@@ -23243,7 +23243,7 @@ var Schema = /*#__PURE__*/function () {
|
|
23243
23243
|
var rule = r;
|
23244
23244
|
if (typeof rule.transform === 'function') {
|
23245
23245
|
if (source === source_) {
|
23246
|
-
source = _objectSpread2({}, source);
|
23246
|
+
source = _objectSpread2$1({}, source);
|
23247
23247
|
}
|
23248
23248
|
value = source[z] = rule.transform(value);
|
23249
23249
|
if (value !== undefined && value !== null) {
|
@@ -23255,7 +23255,7 @@ var Schema = /*#__PURE__*/function () {
|
|
23255
23255
|
validator: rule
|
23256
23256
|
};
|
23257
23257
|
} else {
|
23258
|
-
rule = _objectSpread2({}, rule);
|
23258
|
+
rule = _objectSpread2$1({}, rule);
|
23259
23259
|
}
|
23260
23260
|
|
23261
23261
|
// Fill validator. Skip if nothing need to validate
|
@@ -23282,7 +23282,7 @@ var Schema = /*#__PURE__*/function () {
|
|
23282
23282
|
deep = deep && (rule.required || !rule.required && data.value);
|
23283
23283
|
rule.field = data.field;
|
23284
23284
|
function addFullField(key, schema) {
|
23285
|
-
return _objectSpread2(_objectSpread2({}, schema), {}, {
|
23285
|
+
return _objectSpread2$1(_objectSpread2$1({}, schema), {}, {
|
23286
23286
|
fullField: "".concat(rule.fullField, ".").concat(key),
|
23287
23287
|
fullFields: rule.fullFields ? [].concat(_toConsumableArray(rule.fullFields), [key]) : [key]
|
23288
23288
|
});
|
@@ -23323,7 +23323,7 @@ var Schema = /*#__PURE__*/function () {
|
|
23323
23323
|
fieldsSchema[key] = rule.defaultField;
|
23324
23324
|
});
|
23325
23325
|
}
|
23326
|
-
fieldsSchema = _objectSpread2(_objectSpread2({}, fieldsSchema), data.rule.fields);
|
23326
|
+
fieldsSchema = _objectSpread2$1(_objectSpread2$1({}, fieldsSchema), data.rule.fields);
|
23327
23327
|
var paredFieldsSchema = {};
|
23328
23328
|
Object.keys(fieldsSchema).forEach(function (field) {
|
23329
23329
|
var fieldSchema = fieldsSchema[field];
|
@@ -23427,7 +23427,7 @@ _defineProperty$1(Schema, "warning", warning);
|
|
23427
23427
|
_defineProperty$1(Schema, "messages", messages);
|
23428
23428
|
_defineProperty$1(Schema, "validators", validators$2);
|
23429
23429
|
|
23430
|
-
var typeTemplate = "'${name}' is not a valid ${type}";
|
23430
|
+
var typeTemplate$1 = "'${name}' is not a valid ${type}";
|
23431
23431
|
var defaultValidateMessages = {
|
23432
23432
|
default: "Validation error on field '${name}'",
|
23433
23433
|
required: "'${name}' is required",
|
@@ -23439,19 +23439,19 @@ var defaultValidateMessages = {
|
|
23439
23439
|
invalid: "'${name}' is invalid date"
|
23440
23440
|
},
|
23441
23441
|
types: {
|
23442
|
-
string: typeTemplate,
|
23443
|
-
method: typeTemplate,
|
23444
|
-
array: typeTemplate,
|
23445
|
-
object: typeTemplate,
|
23446
|
-
number: typeTemplate,
|
23447
|
-
date: typeTemplate,
|
23448
|
-
boolean: typeTemplate,
|
23449
|
-
integer: typeTemplate,
|
23450
|
-
float: typeTemplate,
|
23451
|
-
regexp: typeTemplate,
|
23452
|
-
email: typeTemplate,
|
23453
|
-
url: typeTemplate,
|
23454
|
-
hex: typeTemplate
|
23442
|
+
string: typeTemplate$1,
|
23443
|
+
method: typeTemplate$1,
|
23444
|
+
array: typeTemplate$1,
|
23445
|
+
object: typeTemplate$1,
|
23446
|
+
number: typeTemplate$1,
|
23447
|
+
date: typeTemplate$1,
|
23448
|
+
boolean: typeTemplate$1,
|
23449
|
+
integer: typeTemplate$1,
|
23450
|
+
float: typeTemplate$1,
|
23451
|
+
regexp: typeTemplate$1,
|
23452
|
+
email: typeTemplate$1,
|
23453
|
+
url: typeTemplate$1,
|
23454
|
+
hex: typeTemplate$1
|
23455
23455
|
},
|
23456
23456
|
string: {
|
23457
23457
|
len: "'${name}' must be exactly ${len} characters",
|
@@ -23506,7 +23506,7 @@ function _validateRule() {
|
|
23506
23506
|
return _regeneratorRuntime$1().wrap(function _callee2$(_context2) {
|
23507
23507
|
while (1) switch (_context2.prev = _context2.next) {
|
23508
23508
|
case 0:
|
23509
|
-
cloneRule = _objectSpread2({}, rule); // Bug of `async-validator`
|
23509
|
+
cloneRule = _objectSpread2$1({}, rule); // Bug of `async-validator`
|
23510
23510
|
// https://github.com/react-component/field-form/issues/316
|
23511
23511
|
// https://github.com/react-component/field-form/issues/313
|
23512
23512
|
delete cloneRule.ruleIndex;
|
@@ -23539,7 +23539,7 @@ function _validateRule() {
|
|
23539
23539
|
result = [];
|
23540
23540
|
_context2.prev = 10;
|
23541
23541
|
_context2.next = 13;
|
23542
|
-
return Promise.resolve(validator.validate(_defineProperty$1({}, name, value), _objectSpread2({}, options)));
|
23542
|
+
return Promise.resolve(validator.validate(_defineProperty$1({}, name, value), _objectSpread2$1({}, options)));
|
23543
23543
|
case 13:
|
23544
23544
|
_context2.next = 18;
|
23545
23545
|
break;
|
@@ -23574,7 +23574,7 @@ function _validateRule() {
|
|
23574
23574
|
}, []));
|
23575
23575
|
case 23:
|
23576
23576
|
// Replace message with variables
|
23577
|
-
kv = _objectSpread2(_objectSpread2({}, rule), {}, {
|
23577
|
+
kv = _objectSpread2$1(_objectSpread2$1({}, rule), {}, {
|
23578
23578
|
name: name,
|
23579
23579
|
enum: (rule.enum || []).join(', ')
|
23580
23580
|
}, messageVariables);
|
@@ -23599,7 +23599,7 @@ function validateRules(namePath, value, rules, options, validateFirst, messageVa
|
|
23599
23599
|
// Fill rule with context
|
23600
23600
|
var filledRules = rules.map(function (currentRule, ruleIndex) {
|
23601
23601
|
var originValidatorFunc = currentRule.validator;
|
23602
|
-
var cloneRule = _objectSpread2(_objectSpread2({}, currentRule), {}, {
|
23602
|
+
var cloneRule = _objectSpread2$1(_objectSpread2$1({}, currentRule), {}, {
|
23603
23603
|
ruleIndex: ruleIndex
|
23604
23604
|
});
|
23605
23605
|
|
@@ -23982,7 +23982,7 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
23982
23982
|
_defineProperty$1(_assertThisInitialized$2(_this), "triggerMetaEvent", function (destroy) {
|
23983
23983
|
var onMetaChange = _this.props.onMetaChange;
|
23984
23984
|
if (onMetaChange) {
|
23985
|
-
var _meta = _objectSpread2(_objectSpread2({}, _this.getMeta()), {}, {
|
23985
|
+
var _meta = _objectSpread2$1(_objectSpread2$1({}, _this.getMeta()), {}, {
|
23986
23986
|
destroy: destroy
|
23987
23987
|
});
|
23988
23988
|
if (!isEqual$3(_this.metaCache, _meta)) {
|
@@ -24272,7 +24272,7 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
24272
24272
|
// Support render props
|
24273
24273
|
if (typeof children === 'function') {
|
24274
24274
|
var _meta2 = _this.getMeta();
|
24275
|
-
return _objectSpread2(_objectSpread2({}, _this.getOnlyChild(children(_this.getControlled(), _meta2, _this.props.fieldContext))), {}, {
|
24275
|
+
return _objectSpread2$1(_objectSpread2$1({}, _this.getOnlyChild(children(_this.getControlled(), _meta2, _this.props.fieldContext))), {}, {
|
24276
24276
|
isFunction: true
|
24277
24277
|
});
|
24278
24278
|
}
|
@@ -24326,7 +24326,7 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
24326
24326
|
warningOnce(typeof valueProps[key] !== 'function', "It's not recommended to generate dynamic function prop by `getValueProps`. Please pass it to child component directly (prop: ".concat(key, ")"));
|
24327
24327
|
});
|
24328
24328
|
}
|
24329
|
-
var control = _objectSpread2(_objectSpread2({}, childProps), valueProps);
|
24329
|
+
var control = _objectSpread2$1(_objectSpread2$1({}, childProps), valueProps);
|
24330
24330
|
|
24331
24331
|
// Add trigger
|
24332
24332
|
control[trigger] = function () {
|
@@ -24498,7 +24498,7 @@ function List$4(_ref) {
|
|
24498
24498
|
return [].concat(_toConsumableArray(parentPrefixName), _toConsumableArray(getNamePath(name)));
|
24499
24499
|
}, [context.prefixName, name]);
|
24500
24500
|
var fieldContext = React__namespace.useMemo(function () {
|
24501
|
-
return _objectSpread2(_objectSpread2({}, context), {}, {
|
24501
|
+
return _objectSpread2$1(_objectSpread2$1({}, context), {}, {
|
24502
24502
|
prefixName: prefixName
|
24503
24503
|
});
|
24504
24504
|
}, [context, prefixName]);
|
@@ -25209,7 +25209,7 @@ var FormStore = /*#__PURE__*/_createClass$4(function FormStore(forceRootUpdate)
|
|
25209
25209
|
var fields = entities.map(function (field) {
|
25210
25210
|
var namePath = field.getNamePath();
|
25211
25211
|
var meta = field.getMeta();
|
25212
|
-
var fieldData = _objectSpread2(_objectSpread2({}, meta), {}, {
|
25212
|
+
var fieldData = _objectSpread2$1(_objectSpread2$1({}, meta), {}, {
|
25213
25213
|
name: namePath,
|
25214
25214
|
value: _this.getFieldValue(namePath)
|
25215
25215
|
});
|
@@ -25310,7 +25310,7 @@ var FormStore = /*#__PURE__*/_createClass$4(function FormStore(forceRootUpdate)
|
|
25310
25310
|
});
|
25311
25311
|
_defineProperty$1(this, "notifyObservers", function (prevStore, namePathList, info) {
|
25312
25312
|
if (_this.subscribable) {
|
25313
|
-
var mergedInfo = _objectSpread2(_objectSpread2({}, info), {}, {
|
25313
|
+
var mergedInfo = _objectSpread2$1(_objectSpread2$1({}, info), {}, {
|
25314
25314
|
store: _this.getFieldsValue(true)
|
25315
25315
|
});
|
25316
25316
|
_this.getFieldEntities().forEach(function (_ref5) {
|
@@ -25485,8 +25485,8 @@ var FormStore = /*#__PURE__*/_createClass$4(function FormStore(forceRootUpdate)
|
|
25485
25485
|
|
25486
25486
|
// Add field validate rule in to promise list
|
25487
25487
|
if (!provideNameList || containsNamePath(namePathList, fieldNamePath, recursive)) {
|
25488
|
-
var promise = field.validateRules(_objectSpread2({
|
25489
|
-
validateMessages: _objectSpread2(_objectSpread2({}, defaultValidateMessages), _this.validateMessages)
|
25488
|
+
var promise = field.validateRules(_objectSpread2$1({
|
25489
|
+
validateMessages: _objectSpread2$1(_objectSpread2$1({}, defaultValidateMessages), _this.validateMessages)
|
25490
25490
|
}, options));
|
25491
25491
|
|
25492
25492
|
// Wrap promise with field
|
@@ -25624,8 +25624,8 @@ var FormProvider$1 = function FormProvider(_ref) {
|
|
25624
25624
|
var formContext = React__namespace.useContext(FormContext$1);
|
25625
25625
|
var formsRef = React__namespace.useRef({});
|
25626
25626
|
return /*#__PURE__*/React__namespace.createElement(FormContext$1.Provider, {
|
25627
|
-
value: _objectSpread2(_objectSpread2({}, formContext), {}, {
|
25628
|
-
validateMessages: _objectSpread2(_objectSpread2({}, formContext.validateMessages), validateMessages),
|
25627
|
+
value: _objectSpread2$1(_objectSpread2$1({}, formContext), {}, {
|
25628
|
+
validateMessages: _objectSpread2$1(_objectSpread2$1({}, formContext.validateMessages), validateMessages),
|
25629
25629
|
// =========================================================
|
25630
25630
|
// = Global Form Control =
|
25631
25631
|
// =========================================================
|
@@ -25649,12 +25649,12 @@ var FormProvider$1 = function FormProvider(_ref) {
|
|
25649
25649
|
},
|
25650
25650
|
registerForm: function registerForm(name, form) {
|
25651
25651
|
if (name) {
|
25652
|
-
formsRef.current = _objectSpread2(_objectSpread2({}, formsRef.current), {}, _defineProperty$1({}, name, form));
|
25652
|
+
formsRef.current = _objectSpread2$1(_objectSpread2$1({}, formsRef.current), {}, _defineProperty$1({}, name, form));
|
25653
25653
|
}
|
25654
25654
|
formContext.registerForm(name, form);
|
25655
25655
|
},
|
25656
25656
|
unregisterForm: function unregisterForm(name) {
|
25657
|
-
var newForms = _objectSpread2({}, formsRef.current);
|
25657
|
+
var newForms = _objectSpread2$1({}, formsRef.current);
|
25658
25658
|
delete newForms[name];
|
25659
25659
|
formsRef.current = newForms;
|
25660
25660
|
formContext.unregisterForm(name);
|
@@ -25700,7 +25700,7 @@ var Form$2 = function Form(_ref, ref) {
|
|
25700
25700
|
|
25701
25701
|
// Pass ref with form instance
|
25702
25702
|
React__namespace.useImperativeHandle(ref, function () {
|
25703
|
-
return _objectSpread2(_objectSpread2({}, formInstance), {}, {
|
25703
|
+
return _objectSpread2$1(_objectSpread2$1({}, formInstance), {}, {
|
25704
25704
|
nativeElement: nativeElementRef.current
|
25705
25705
|
});
|
25706
25706
|
});
|
@@ -25714,7 +25714,7 @@ var Form$2 = function Form(_ref, ref) {
|
|
25714
25714
|
}, [formContext, formInstance, name]);
|
25715
25715
|
|
25716
25716
|
// Pass props to store
|
25717
|
-
setValidateMessages(_objectSpread2(_objectSpread2({}, formContext.validateMessages), validateMessages));
|
25717
|
+
setValidateMessages(_objectSpread2$1(_objectSpread2$1({}, formContext.validateMessages), validateMessages));
|
25718
25718
|
setCallbacks({
|
25719
25719
|
onValuesChange: onValuesChange,
|
25720
25720
|
onFieldsChange: function onFieldsChange(changedFields) {
|
@@ -25772,7 +25772,7 @@ var Form$2 = function Form(_ref, ref) {
|
|
25772
25772
|
prevFieldsRef.current = fields;
|
25773
25773
|
}, [fields, formInstance]);
|
25774
25774
|
var formContextValue = React__namespace.useMemo(function () {
|
25775
|
-
return _objectSpread2(_objectSpread2({}, formInstance), {}, {
|
25775
|
+
return _objectSpread2$1(_objectSpread2$1({}, formInstance), {}, {
|
25776
25776
|
validateTrigger: validateTrigger
|
25777
25777
|
});
|
25778
25778
|
}, [formInstance, validateTrigger]);
|
@@ -27760,7 +27760,7 @@ const HookModal = (_a, ref) => {
|
|
27760
27760
|
}
|
27761
27761
|
}));
|
27762
27762
|
const mergedOkCancel = (_b = innerConfig.okCancel) !== null && _b !== void 0 ? _b : innerConfig.type === 'confirm';
|
27763
|
-
const [contextLocale] = useLocale$1('Modal', localeValues.Modal);
|
27763
|
+
const [contextLocale] = useLocale$1('Modal', localeValues$1.Modal);
|
27764
27764
|
return /*#__PURE__*/React__namespace.createElement(ConfirmDialogWrapper$1, Object.assign({
|
27765
27765
|
prefixCls: prefixCls,
|
27766
27766
|
rootPrefixCls: rootPrefixCls
|
@@ -28978,7 +28978,7 @@ function InternalItem$1(props, ref) {
|
|
28978
28978
|
}
|
28979
28979
|
var itemNode = /*#__PURE__*/React__namespace.createElement(Component, _extends$y({
|
28980
28980
|
className: classNames(!invalidate && prefixCls, className),
|
28981
|
-
style: _objectSpread2(_objectSpread2({}, overflowStyle), style)
|
28981
|
+
style: _objectSpread2$1(_objectSpread2$1({}, overflowStyle), style)
|
28982
28982
|
}, overflowProps, restProps, {
|
28983
28983
|
ref: ref
|
28984
28984
|
}), childNode);
|
@@ -29295,7 +29295,7 @@ function Overflow(props, ref) {
|
|
29295
29295
|
var key = getKey(item, index);
|
29296
29296
|
return /*#__PURE__*/React__namespace.createElement(OverflowContext.Provider, {
|
29297
29297
|
key: key,
|
29298
|
-
value: _objectSpread2(_objectSpread2({}, itemSharedProps), {}, {
|
29298
|
+
value: _objectSpread2$1(_objectSpread2$1({}, itemSharedProps), {}, {
|
29299
29299
|
order: index,
|
29300
29300
|
item: item,
|
29301
29301
|
itemKey: key,
|
@@ -29328,7 +29328,7 @@ function Overflow(props, ref) {
|
|
29328
29328
|
restNode = /*#__PURE__*/React__namespace.createElement(Item$4, _extends$y({}, itemSharedProps, restContextProps), typeof mergedRenderRest === 'function' ? mergedRenderRest(omittedItems) : mergedRenderRest);
|
29329
29329
|
} else if (renderRawRest) {
|
29330
29330
|
restNode = /*#__PURE__*/React__namespace.createElement(OverflowContext.Provider, {
|
29331
|
-
value: _objectSpread2(_objectSpread2({}, itemSharedProps), restContextProps)
|
29331
|
+
value: _objectSpread2$1(_objectSpread2$1({}, itemSharedProps), restContextProps)
|
29332
29332
|
}, renderRawRest(omittedItems));
|
29333
29333
|
}
|
29334
29334
|
var overflowNode = /*#__PURE__*/React__namespace.createElement(Component, _extends$y({
|
@@ -29390,7 +29390,7 @@ var Input$4 = function Input(props, ref) {
|
|
29390
29390
|
onOriginCompositionEnd = originProps.onCompositionEnd,
|
29391
29391
|
style = originProps.style;
|
29392
29392
|
warning$3(!('maxLength' in inputNode.props), "Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled.");
|
29393
|
-
inputNode = /*#__PURE__*/React__namespace.cloneElement(inputNode, _objectSpread2(_objectSpread2(_objectSpread2({
|
29393
|
+
inputNode = /*#__PURE__*/React__namespace.cloneElement(inputNode, _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({
|
29394
29394
|
type: 'search'
|
29395
29395
|
}, originProps), {}, {
|
29396
29396
|
// Override over origin props
|
@@ -29413,7 +29413,7 @@ var Input$4 = function Input(props, ref) {
|
|
29413
29413
|
maxLength: maxLength,
|
29414
29414
|
readOnly: !editable,
|
29415
29415
|
unselectable: !editable ? 'on' : null,
|
29416
|
-
style: _objectSpread2(_objectSpread2({}, style), {}, {
|
29416
|
+
style: _objectSpread2$1(_objectSpread2$1({}, style), {}, {
|
29417
29417
|
opacity: editable ? null : 0
|
29418
29418
|
}),
|
29419
29419
|
onKeyDown: function onKeyDown(event) {
|
@@ -30159,7 +30159,7 @@ var Popup$2 = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
30159
30159
|
return /*#__PURE__*/React__namespace.createElement("div", {
|
30160
30160
|
ref: composeRef(resizeObserverRef, ref, motionRef),
|
30161
30161
|
className: cls,
|
30162
|
-
style: _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({
|
30162
|
+
style: _objectSpread2$1(_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({
|
30163
30163
|
'--arrow-x': "".concat(arrowPos.x || 0, "px"),
|
30164
30164
|
'--arrow-y': "".concat(arrowPos.y || 0, "px")
|
30165
30165
|
}, offsetStyle), miscStyle), motionStyle), {}, {
|
@@ -30324,7 +30324,7 @@ function getPxValue(val) {
|
|
30324
30324
|
* Get visible area of element
|
30325
30325
|
*/
|
30326
30326
|
function getVisibleArea(initArea, scrollerList) {
|
30327
|
-
var visibleArea = _objectSpread2({}, initArea);
|
30327
|
+
var visibleArea = _objectSpread2$1({}, initArea);
|
30328
30328
|
(scrollerList || []).forEach(function (ele) {
|
30329
30329
|
if (ele instanceof HTMLBodyElement || ele instanceof HTMLHtmlElement) {
|
30330
30330
|
return;
|
@@ -30497,7 +30497,7 @@ function useAlign(open, popupEle, target, placement, builtinPlacements, popupAli
|
|
30497
30497
|
var originOverflow = popupElement.style.overflow;
|
30498
30498
|
|
30499
30499
|
// Placement
|
30500
|
-
var placementInfo = _objectSpread2(_objectSpread2({}, builtinPlacements[placement]), popupAlign);
|
30500
|
+
var placementInfo = _objectSpread2$1(_objectSpread2$1({}, builtinPlacements[placement]), popupAlign);
|
30501
30501
|
|
30502
30502
|
// placeholder element
|
30503
30503
|
var placeholderElement = doc.createElement('div');
|
@@ -30628,7 +30628,7 @@ function useAlign(open, popupEle, target, placement, builtinPlacements, popupAli
|
|
30628
30628
|
var popupAlignPoint = getAlignPoint(popupRect, popupPoints);
|
30629
30629
|
|
30630
30630
|
// Real align info may not same as origin one
|
30631
|
-
var nextAlignInfo = _objectSpread2({}, placementInfo);
|
30631
|
+
var nextAlignInfo = _objectSpread2$1({}, placementInfo);
|
30632
30632
|
|
30633
30633
|
// Next Offset
|
30634
30634
|
var nextOffsetX = targetAlignPoint.x - popupAlignPoint.x + popupOffsetX;
|
@@ -30892,7 +30892,7 @@ function useAlign(open, popupEle, target, placement, builtinPlacements, popupAli
|
|
30892
30892
|
// Reset ready status when placement & open changed
|
30893
30893
|
var resetReady = function resetReady() {
|
30894
30894
|
setOffsetInfo(function (ori) {
|
30895
|
-
return _objectSpread2(_objectSpread2({}, ori), {}, {
|
30895
|
+
return _objectSpread2$1(_objectSpread2$1({}, ori), {}, {
|
30896
30896
|
ready: false
|
30897
30897
|
});
|
30898
30898
|
});
|
@@ -31401,7 +31401,7 @@ function generateTrigger() {
|
|
31401
31401
|
}
|
31402
31402
|
|
31403
31403
|
// =========================== Render ===========================
|
31404
|
-
var mergedChildrenProps = _objectSpread2(_objectSpread2({}, originChildProps), cloneProps);
|
31404
|
+
var mergedChildrenProps = _objectSpread2$1(_objectSpread2$1({}, originChildProps), cloneProps);
|
31405
31405
|
|
31406
31406
|
// Pass props into cloneProps for nest usage
|
31407
31407
|
var passedProps = {};
|
@@ -31420,12 +31420,12 @@ function generateTrigger() {
|
|
31420
31420
|
});
|
31421
31421
|
|
31422
31422
|
// Child Node
|
31423
|
-
var triggerNode = /*#__PURE__*/React__namespace.cloneElement(child, _objectSpread2(_objectSpread2({}, mergedChildrenProps), passedProps));
|
31423
|
+
var triggerNode = /*#__PURE__*/React__namespace.cloneElement(child, _objectSpread2$1(_objectSpread2$1({}, mergedChildrenProps), passedProps));
|
31424
31424
|
var arrowPos = {
|
31425
31425
|
x: arrowX,
|
31426
31426
|
y: arrowY
|
31427
31427
|
};
|
31428
|
-
var innerArrow = arrow ? _objectSpread2({}, arrow !== true ? arrow : {}) : null;
|
31428
|
+
var innerArrow = arrow ? _objectSpread2$1({}, arrow !== true ? arrow : {}) : null;
|
31429
31429
|
|
31430
31430
|
// Render
|
31431
31431
|
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(RefResizeObserver, {
|
@@ -31587,7 +31587,7 @@ var SelectTrigger = function SelectTrigger(props, ref) {
|
|
31587
31587
|
}, [dropdownMatchSelectWidth, isNumberPopupWidth]);
|
31588
31588
|
var popupStyle = dropdownStyle;
|
31589
31589
|
if (isNumberPopupWidth) {
|
31590
|
-
popupStyle = _objectSpread2(_objectSpread2({}, popupStyle), {}, {
|
31590
|
+
popupStyle = _objectSpread2$1(_objectSpread2$1({}, popupStyle), {}, {
|
31591
31591
|
width: dropdownMatchSelectWidth
|
31592
31592
|
});
|
31593
31593
|
}
|
@@ -31716,7 +31716,7 @@ function flattenOptions(options) {
|
|
31716
31716
|
* Inject `props` into `option` for legacy usage
|
31717
31717
|
*/
|
31718
31718
|
function injectPropsWithOption(option) {
|
31719
|
-
var newOption = _objectSpread2({}, option);
|
31719
|
+
var newOption = _objectSpread2$1({}, option);
|
31720
31720
|
if (!('props' in newOption)) {
|
31721
31721
|
Object.defineProperty(newOption, 'props', {
|
31722
31722
|
get: function get() {
|
@@ -31844,7 +31844,7 @@ var BaseSelect = /*#__PURE__*/React__namespace.forwardRef(function (props, ref)
|
|
31844
31844
|
// ============================== MISC ==============================
|
31845
31845
|
var multiple = isMultiple(mode);
|
31846
31846
|
var mergedShowSearch = (showSearch !== undefined ? showSearch : multiple) || mode === 'combobox';
|
31847
|
-
var domProps = _objectSpread2({}, restProps);
|
31847
|
+
var domProps = _objectSpread2$1({}, restProps);
|
31848
31848
|
DEFAULT_OMIT_PROPS.forEach(function (propName) {
|
31849
31849
|
delete domProps[propName];
|
31850
31850
|
});
|
@@ -32211,7 +32211,7 @@ var BaseSelect = /*#__PURE__*/React__namespace.forwardRef(function (props, ref)
|
|
32211
32211
|
|
32212
32212
|
// ============================ Context =============================
|
32213
32213
|
var baseSelectContext = React__namespace.useMemo(function () {
|
32214
|
-
return _objectSpread2(_objectSpread2({}, props), {}, {
|
32214
|
+
return _objectSpread2$1(_objectSpread2$1({}, props), {}, {
|
32215
32215
|
notFoundContent: notFoundContent,
|
32216
32216
|
open: mergedOpen,
|
32217
32217
|
triggerOpen: triggerOpen,
|
@@ -32391,7 +32391,7 @@ var Filler = /*#__PURE__*/React__namespace.forwardRef(function (_ref, ref) {
|
|
32391
32391
|
position: 'relative',
|
32392
32392
|
overflow: 'hidden'
|
32393
32393
|
};
|
32394
|
-
innerStyle = _objectSpread2(_objectSpread2({}, innerStyle), {}, _defineProperty$1(_defineProperty$1(_defineProperty$1(_defineProperty$1(_defineProperty$1({
|
32394
|
+
innerStyle = _objectSpread2$1(_objectSpread2$1({}, innerStyle), {}, _defineProperty$1(_defineProperty$1(_defineProperty$1(_defineProperty$1(_defineProperty$1({
|
32395
32395
|
transform: "translateY(".concat(offsetY, "px)")
|
32396
32396
|
}, rtl ? 'marginRight' : 'marginLeft', -offsetX), "position", 'absolute'), "left", 0), "right", 0), "top", 0));
|
32397
32397
|
}
|
@@ -32882,7 +32882,7 @@ function useScrollTo$1(containerRef, data, heights, itemHeight, getKey, collectH
|
|
32882
32882
|
// Never reach
|
32883
32883
|
if (!containerRef.current) {
|
32884
32884
|
setSyncState(function (ori) {
|
32885
|
-
return _objectSpread2({}, ori);
|
32885
|
+
return _objectSpread2$1({}, ori);
|
32886
32886
|
});
|
32887
32887
|
return;
|
32888
32888
|
}
|
@@ -32959,7 +32959,7 @@ function useScrollTo$1(containerRef, data, heights, itemHeight, getKey, collectH
|
|
32959
32959
|
|
32960
32960
|
// Trigger next effect
|
32961
32961
|
if (needCollectHeight) {
|
32962
|
-
setSyncState(_objectSpread2(_objectSpread2({}, syncState), {}, {
|
32962
|
+
setSyncState(_objectSpread2$1(_objectSpread2$1({}, syncState), {}, {
|
32963
32963
|
times: syncState.times + 1,
|
32964
32964
|
targetAlign: newTargetAlign,
|
32965
32965
|
lastTop: targetTop
|
@@ -33238,13 +33238,13 @@ var ScrollBar = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
33238
33238
|
return /*#__PURE__*/React__namespace.createElement("div", {
|
33239
33239
|
ref: scrollbarRef,
|
33240
33240
|
className: classNames(scrollbarPrefixCls, _defineProperty$1(_defineProperty$1(_defineProperty$1({}, "".concat(scrollbarPrefixCls, "-horizontal"), horizontal), "".concat(scrollbarPrefixCls, "-vertical"), !horizontal), "".concat(scrollbarPrefixCls, "-visible"), visible)),
|
33241
|
-
style: _objectSpread2(_objectSpread2({}, containerStyle), style),
|
33241
|
+
style: _objectSpread2$1(_objectSpread2$1({}, containerStyle), style),
|
33242
33242
|
onMouseDown: onContainerMouseDown,
|
33243
33243
|
onMouseMove: delayHidden
|
33244
33244
|
}, /*#__PURE__*/React__namespace.createElement("div", {
|
33245
33245
|
ref: thumbRef,
|
33246
33246
|
className: classNames("".concat(scrollbarPrefixCls, "-thumb"), _defineProperty$1({}, "".concat(scrollbarPrefixCls, "-thumb-moving"), dragging)),
|
33247
|
-
style: _objectSpread2(_objectSpread2({}, thumbStyle), propsThumbStyle),
|
33247
|
+
style: _objectSpread2$1(_objectSpread2$1({}, thumbStyle), propsThumbStyle),
|
33248
33248
|
onMouseDown: onThumbMouseDown
|
33249
33249
|
}));
|
33250
33250
|
});
|
@@ -33501,7 +33501,7 @@ function RawList(props, ref) {
|
|
33501
33501
|
var lastVirtualScrollInfoRef = React.useRef(getVirtualScrollInfo());
|
33502
33502
|
var triggerScroll = useEvent(function (params) {
|
33503
33503
|
if (onVirtualScroll) {
|
33504
|
-
var nextInfo = _objectSpread2(_objectSpread2({}, getVirtualScrollInfo()), params);
|
33504
|
+
var nextInfo = _objectSpread2$1(_objectSpread2$1({}, getVirtualScrollInfo()), params);
|
33505
33505
|
|
33506
33506
|
// Trigger when offset changed
|
33507
33507
|
if (lastVirtualScrollInfoRef.current.x !== nextInfo.x || lastVirtualScrollInfoRef.current.y !== nextInfo.y) {
|
@@ -33679,7 +33679,7 @@ function RawList(props, ref) {
|
|
33679
33679
|
var listChildren = useChildren$1(mergedData, start, end, scrollWidth, offsetLeft, setInstanceRef, children, sharedConfig);
|
33680
33680
|
var componentStyle = null;
|
33681
33681
|
if (height) {
|
33682
|
-
componentStyle = _objectSpread2(_defineProperty$1({}, fullHeight ? 'height' : 'maxHeight', height), ScrollStyle);
|
33682
|
+
componentStyle = _objectSpread2$1(_defineProperty$1({}, fullHeight ? 'height' : 'maxHeight', height), ScrollStyle);
|
33683
33683
|
if (useVirtual) {
|
33684
33684
|
componentStyle.overflowY = 'hidden';
|
33685
33685
|
if (scrollWidth) {
|
@@ -33696,7 +33696,7 @@ function RawList(props, ref) {
|
|
33696
33696
|
}
|
33697
33697
|
return /*#__PURE__*/React__namespace.createElement("div", _extends$y({
|
33698
33698
|
ref: containerRef,
|
33699
|
-
style: _objectSpread2(_objectSpread2({}, style), {}, {
|
33699
|
+
style: _objectSpread2$1(_objectSpread2$1({}, style), {}, {
|
33700
33700
|
position: 'relative'
|
33701
33701
|
}),
|
33702
33702
|
className: mergedClassName
|
@@ -34129,7 +34129,7 @@ var useCache$1 = (function (labeledValues, valueOptions) {
|
|
34129
34129
|
var patchedValues = labeledValues.map(function (item) {
|
34130
34130
|
if (item.label === undefined) {
|
34131
34131
|
var _prevValueCache$get;
|
34132
|
-
return _objectSpread2(_objectSpread2({}, item), {}, {
|
34132
|
+
return _objectSpread2$1(_objectSpread2$1({}, item), {}, {
|
34133
34133
|
label: (_prevValueCache$get = prevValueCache.get(item.value)) === null || _prevValueCache$get === void 0 ? void 0 : _prevValueCache$get.label
|
34134
34134
|
});
|
34135
34135
|
}
|
@@ -34198,7 +34198,7 @@ var useFilterOptions = (function (options, fieldNames, searchValue, filterOption
|
|
34198
34198
|
return filterFunc(searchValue, wrapOption(subItem));
|
34199
34199
|
});
|
34200
34200
|
if (subOptions.length) {
|
34201
|
-
filteredOptions.push(_objectSpread2(_objectSpread2({}, item), {}, _defineProperty$1({}, fieldOptions, subOptions)));
|
34201
|
+
filteredOptions.push(_objectSpread2$1(_objectSpread2$1({}, item), {}, _defineProperty$1({}, fieldOptions, subOptions)));
|
34202
34202
|
}
|
34203
34203
|
}
|
34204
34204
|
return;
|
@@ -34251,7 +34251,7 @@ function convertNodeToOption(node) {
|
|
34251
34251
|
children = _ref$props.children,
|
34252
34252
|
value = _ref$props.value,
|
34253
34253
|
restProps = _objectWithoutProperties(_ref$props, _excluded$I);
|
34254
|
-
return _objectSpread2({
|
34254
|
+
return _objectSpread2$1({
|
34255
34255
|
key: key,
|
34256
34256
|
value: value !== undefined ? value : key,
|
34257
34257
|
children: children
|
@@ -34272,7 +34272,7 @@ function convertChildrenToData$1(nodes) {
|
|
34272
34272
|
if (optionOnly || !isSelectOptGroup) {
|
34273
34273
|
return convertNodeToOption(node);
|
34274
34274
|
}
|
34275
|
-
return _objectSpread2(_objectSpread2({
|
34275
|
+
return _objectSpread2$1(_objectSpread2$1({
|
34276
34276
|
key: "__RC_SELECT_GRP__".concat(key === null ? index : key, "__"),
|
34277
34277
|
label: key
|
34278
34278
|
}, restProps), {}, {
|
@@ -34623,7 +34623,7 @@ var Select$1 = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
34623
34623
|
}
|
34624
34624
|
return mergedValues.map(function (item) {
|
34625
34625
|
var _ref;
|
34626
|
-
return _objectSpread2(_objectSpread2({}, item), {}, {
|
34626
|
+
return _objectSpread2$1(_objectSpread2$1({}, item), {}, {
|
34627
34627
|
label: (_ref = typeof labelRender === 'function' ? labelRender(item) : item.label) !== null && _ref !== void 0 ? _ref : item.value
|
34628
34628
|
});
|
34629
34629
|
});
|
@@ -34701,7 +34701,7 @@ var Select$1 = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
34701
34701
|
});
|
34702
34702
|
return sortedOptions.map(function (item) {
|
34703
34703
|
if (Array.isArray(item.options)) {
|
34704
|
-
return _objectSpread2(_objectSpread2({}, item), {}, {
|
34704
|
+
return _objectSpread2$1(_objectSpread2$1({}, item), {}, {
|
34705
34705
|
options: item.options.length > 0 ? sorter(item.options) : item.options
|
34706
34706
|
});
|
34707
34707
|
}
|
@@ -34874,7 +34874,7 @@ var Select$1 = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
34874
34874
|
// ========================== Context ===========================
|
34875
34875
|
var selectContext = React__namespace.useMemo(function () {
|
34876
34876
|
var realVirtual = virtual !== false && dropdownMatchSelectWidth !== false;
|
34877
|
-
return _objectSpread2(_objectSpread2({}, parsedOptions), {}, {
|
34877
|
+
return _objectSpread2$1(_objectSpread2$1({}, parsedOptions), {}, {
|
34878
34878
|
flattenOptions: displayOptions,
|
34879
34879
|
onActiveValue: onActiveValue,
|
34880
34880
|
defaultActiveFirstOption: mergedDefaultActiveFirstOption,
|
@@ -36825,7 +36825,7 @@ var Tooltip$3 = function Tooltip(props, ref) {
|
|
36825
36825
|
React.useImperativeHandle(ref, function () {
|
36826
36826
|
return triggerRef.current;
|
36827
36827
|
});
|
36828
|
-
var extraProps = _objectSpread2({}, restProps);
|
36828
|
+
var extraProps = _objectSpread2$1({}, restProps);
|
36829
36829
|
if ('visible' in props) {
|
36830
36830
|
extraProps.popupVisible = props.visible;
|
36831
36831
|
}
|
@@ -38191,7 +38191,7 @@ function useMenuId(eventKey) {
|
|
38191
38191
|
var _excluded$E = ["children", "locked"];
|
38192
38192
|
var MenuContext$1 = /*#__PURE__*/React__namespace.createContext(null);
|
38193
38193
|
function mergeProps(origin, target) {
|
38194
|
-
var clone = _objectSpread2({}, origin);
|
38194
|
+
var clone = _objectSpread2$1({}, origin);
|
38195
38195
|
Object.keys(target).forEach(function (key) {
|
38196
38196
|
var value = target[key];
|
38197
38197
|
if (value !== undefined) {
|
@@ -38746,7 +38746,7 @@ function Icon$1(_ref) {
|
|
38746
38746
|
return null;
|
38747
38747
|
}
|
38748
38748
|
if (typeof icon === 'function') {
|
38749
|
-
iconNode = /*#__PURE__*/React__namespace.createElement(icon, _objectSpread2({}, props));
|
38749
|
+
iconNode = /*#__PURE__*/React__namespace.createElement(icon, _objectSpread2$1({}, props));
|
38750
38750
|
} else if (typeof icon !== "boolean") {
|
38751
38751
|
// Compatible for origin definition
|
38752
38752
|
iconNode = icon;
|
@@ -38918,13 +38918,13 @@ var InternalMenuItem = /*#__PURE__*/React__namespace.forwardRef(function (props,
|
|
38918
38918
|
}, restProps, activeProps, optionRoleProps, {
|
38919
38919
|
component: "li",
|
38920
38920
|
"aria-disabled": disabled,
|
38921
|
-
style: _objectSpread2(_objectSpread2({}, directionStyle), style),
|
38921
|
+
style: _objectSpread2$1(_objectSpread2$1({}, directionStyle), style),
|
38922
38922
|
className: classNames(itemCls, _defineProperty$1(_defineProperty$1(_defineProperty$1({}, "".concat(itemCls, "-active"), active), "".concat(itemCls, "-selected"), selected), "".concat(itemCls, "-disabled"), mergedDisabled), className),
|
38923
38923
|
onClick: onInternalClick,
|
38924
38924
|
onKeyDown: onInternalKeyDown,
|
38925
38925
|
onFocus: onInternalFocus
|
38926
38926
|
}), children, /*#__PURE__*/React__namespace.createElement(Icon$1, {
|
38927
|
-
props: _objectSpread2(_objectSpread2({}, props), {}, {
|
38927
|
+
props: _objectSpread2$1(_objectSpread2$1({}, props), {}, {
|
38928
38928
|
isSelected: selected
|
38929
38929
|
}),
|
38930
38930
|
icon: mergedItemIcon
|
@@ -39121,7 +39121,7 @@ function PopupTrigger(_ref) {
|
|
39121
39121
|
_React$useState2 = _slicedToArray$2(_React$useState, 2),
|
39122
39122
|
innerVisible = _React$useState2[0],
|
39123
39123
|
setInnerVisible = _React$useState2[1];
|
39124
|
-
var placement = rtl ? _objectSpread2(_objectSpread2({}, placementsRtl), builtinPlacements) : _objectSpread2(_objectSpread2({}, placements), builtinPlacements);
|
39124
|
+
var placement = rtl ? _objectSpread2$1(_objectSpread2$1({}, placementsRtl), builtinPlacements) : _objectSpread2$1(_objectSpread2$1({}, placements), builtinPlacements);
|
39125
39125
|
var popupPlacement = popupPlacementMap[mode];
|
39126
39126
|
var targetMotion = getMotion(mode, motion, defaultMotions);
|
39127
39127
|
var targetMotionRef = React__namespace.useRef(targetMotion);
|
@@ -39132,7 +39132,7 @@ function PopupTrigger(_ref) {
|
|
39132
39132
|
*/
|
39133
39133
|
targetMotionRef.current = targetMotion;
|
39134
39134
|
}
|
39135
|
-
var mergedMotion = _objectSpread2(_objectSpread2({}, targetMotionRef.current), {}, {
|
39135
|
+
var mergedMotion = _objectSpread2$1(_objectSpread2$1({}, targetMotionRef.current), {}, {
|
39136
39136
|
leavedClassName: "".concat(prefixCls, "-hidden"),
|
39137
39137
|
removeOnLeave: false,
|
39138
39138
|
motionAppear: true
|
@@ -39205,7 +39205,7 @@ function InlineSubMenuList(_ref) {
|
|
39205
39205
|
}, [mode]);
|
39206
39206
|
|
39207
39207
|
// ================================= Render =================================
|
39208
|
-
var mergedMotion = _objectSpread2({}, getMotion(fixedMode, motion, defaultMotions));
|
39208
|
+
var mergedMotion = _objectSpread2$1({}, getMotion(fixedMode, motion, defaultMotions));
|
39209
39209
|
|
39210
39210
|
// No need appear since nest inlineCollapse changed
|
39211
39211
|
if (keyPath.length > 1) {
|
@@ -39407,7 +39407,7 @@ var InternalSubMenu = /*#__PURE__*/React__namespace.forwardRef(function (props,
|
|
39407
39407
|
onFocus: onInternalFocus
|
39408
39408
|
}, activeProps), title, /*#__PURE__*/React__namespace.createElement(Icon$1, {
|
39409
39409
|
icon: mode !== 'horizontal' ? mergedExpandIcon : undefined,
|
39410
|
-
props: _objectSpread2(_objectSpread2({}, props), {}, {
|
39410
|
+
props: _objectSpread2$1(_objectSpread2$1({}, props), {}, {
|
39411
39411
|
isOpen: open,
|
39412
39412
|
// [Legacy] Not sure why need this mark
|
39413
39413
|
isSubMenu: true
|
@@ -39631,7 +39631,7 @@ function convertItemsToNodes(list, components, prefixCls) {
|
|
39631
39631
|
}
|
39632
39632
|
function parseItems(children, items, keyPath, components, prefixCls) {
|
39633
39633
|
var childNodes = children;
|
39634
|
-
var mergedComponents = _objectSpread2({
|
39634
|
+
var mergedComponents = _objectSpread2$1({
|
39635
39635
|
divider: Divider,
|
39636
39636
|
item: MenuItem$2,
|
39637
39637
|
group: MenuItemGroup,
|
@@ -39926,7 +39926,7 @@ var Menu$2 = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
39926
39926
|
setMergedSelectKeys(newSelectKeys);
|
39927
39927
|
|
39928
39928
|
// Trigger event
|
39929
|
-
var selectInfo = _objectSpread2(_objectSpread2({}, info), {}, {
|
39929
|
+
var selectInfo = _objectSpread2$1(_objectSpread2$1({}, info), {}, {
|
39930
39930
|
selectedKeys: newSelectKeys
|
39931
39931
|
});
|
39932
39932
|
if (exist) {
|
@@ -43272,7 +43272,7 @@ function useCellRender$1(cellRender, dateRender, monthCellRender, range) {
|
|
43272
43272
|
|
43273
43273
|
// Cell render
|
43274
43274
|
var onInternalCellRender = React__namespace.useCallback(function (date, info) {
|
43275
|
-
return mergedCellRender(date, _objectSpread2(_objectSpread2({}, info), {}, {
|
43275
|
+
return mergedCellRender(date, _objectSpread2$1(_objectSpread2$1({}, info), {}, {
|
43276
43276
|
range: range
|
43277
43277
|
}));
|
43278
43278
|
}, [mergedCellRender, range]);
|
@@ -43374,7 +43374,7 @@ function fillLocale(locale, showHour, showMinute, showSecond, showMillisecond, u
|
|
43374
43374
|
dayFormat = locale.dayFormat,
|
43375
43375
|
cellDateFormat = locale.cellDateFormat;
|
43376
43376
|
var timeFormat = fillTimeFormat(showHour, showMinute, showSecond, showMillisecond, use12Hours);
|
43377
|
-
return _objectSpread2(_objectSpread2({}, locale), {}, {
|
43377
|
+
return _objectSpread2$1(_objectSpread2$1({}, locale), {}, {
|
43378
43378
|
fieldDateTimeFormat: fieldDateTimeFormat || "YYYY-MM-DD ".concat(timeFormat),
|
43379
43379
|
fieldDateFormat: fieldDateFormat || 'YYYY-MM-DD',
|
43380
43380
|
fieldTimeFormat: fieldTimeFormat || timeFormat,
|
@@ -43478,7 +43478,7 @@ function getTimeProps(componentProps) {
|
|
43478
43478
|
pickedProps = _pickTimeProps2[0],
|
43479
43479
|
propFormat = _pickTimeProps2[1];
|
43480
43480
|
var showTimeConfig = showTime && _typeof$a(showTime) === 'object' ? showTime : {};
|
43481
|
-
var timeConfig = _objectSpread2(_objectSpread2({
|
43481
|
+
var timeConfig = _objectSpread2$1(_objectSpread2$1({
|
43482
43482
|
defaultOpenValue: showTimeConfig.defaultOpenValue || showTimeConfig.defaultValue
|
43483
43483
|
}, pickedProps), showTimeConfig);
|
43484
43484
|
var showMillisecond = timeConfig.showMillisecond;
|
@@ -43491,7 +43491,7 @@ function getTimeProps(componentProps) {
|
|
43491
43491
|
showHour = _fillShowConfig2[0];
|
43492
43492
|
showMinute = _fillShowConfig2[1];
|
43493
43493
|
showSecond = _fillShowConfig2[2];
|
43494
|
-
return [timeConfig, _objectSpread2(_objectSpread2({}, timeConfig), {}, {
|
43494
|
+
return [timeConfig, _objectSpread2$1(_objectSpread2$1({}, timeConfig), {}, {
|
43495
43495
|
showHour: showHour,
|
43496
43496
|
showMinute: showMinute,
|
43497
43497
|
showSecond: showSecond,
|
@@ -43542,7 +43542,7 @@ function fillShowTimeConfig(picker, showTimeFormat, propFormat, timeConfig, loca
|
|
43542
43542
|
var timeFormat = showTimeFormat || fillTimeFormat(showHour, showMinute, showSecond, showMillisecond, showMeridiem);
|
43543
43543
|
|
43544
43544
|
// ======================== Props =========================
|
43545
|
-
return _objectSpread2(_objectSpread2({}, pickedProps), {}, {
|
43545
|
+
return _objectSpread2$1(_objectSpread2$1({}, pickedProps), {}, {
|
43546
43546
|
// Format
|
43547
43547
|
format: timeFormat,
|
43548
43548
|
// Show Config
|
@@ -43761,7 +43761,7 @@ function useInputReadOnly(formatList, inputReadOnly, multiple) {
|
|
43761
43761
|
function useInvalidate(generateConfig, picker, disabledDate, showTime) {
|
43762
43762
|
// Check disabled date
|
43763
43763
|
var isInvalidate = useEvent(function (date, info) {
|
43764
|
-
var outsideInfo = _objectSpread2({
|
43764
|
+
var outsideInfo = _objectSpread2$1({
|
43765
43765
|
type: picker
|
43766
43766
|
}, info);
|
43767
43767
|
delete outsideInfo.activeIndex;
|
@@ -43899,14 +43899,14 @@ function useFilledProps(props, updater) {
|
|
43899
43899
|
|
43900
43900
|
// ======================== Props =========================
|
43901
43901
|
var filledProps = React__namespace.useMemo(function () {
|
43902
|
-
return _objectSpread2(_objectSpread2({}, props), {}, {
|
43902
|
+
return _objectSpread2$1(_objectSpread2$1({}, props), {}, {
|
43903
43903
|
prefixCls: prefixCls,
|
43904
43904
|
locale: mergedLocale,
|
43905
43905
|
picker: picker,
|
43906
43906
|
styles: styles,
|
43907
43907
|
classNames: classNames,
|
43908
43908
|
order: order,
|
43909
|
-
components: _objectSpread2({
|
43909
|
+
components: _objectSpread2$1({
|
43910
43910
|
input: inputRender
|
43911
43911
|
}, components),
|
43912
43912
|
clearIcon: fillClearIcon(prefixCls, allowClear, clearIcon),
|
@@ -43935,7 +43935,7 @@ function useFilledProps(props, updater) {
|
|
43935
43935
|
|
43936
43936
|
// ======================== Merged ========================
|
43937
43937
|
var mergedProps = React__namespace.useMemo(function () {
|
43938
|
-
return _objectSpread2(_objectSpread2({}, filledProps), {}, {
|
43938
|
+
return _objectSpread2$1(_objectSpread2$1({}, filledProps), {}, {
|
43939
43939
|
needConfirm: mergedNeedConfirm,
|
43940
43940
|
inputReadOnly: mergedInputReadOnly,
|
43941
43941
|
disabledDate: disabledBoundaryDate
|
@@ -44140,7 +44140,7 @@ function useRangeDisabledDate(values, disabled, activeIndexList, generateConfig,
|
|
44140
44140
|
var _values = _slicedToArray$2(values, 2),
|
44141
44141
|
start = _values[0],
|
44142
44142
|
end = _values[1];
|
44143
|
-
var mergedInfo = _objectSpread2(_objectSpread2({}, info), {}, {
|
44143
|
+
var mergedInfo = _objectSpread2$1(_objectSpread2$1({}, info), {}, {
|
44144
44144
|
from: getFromDate(values, activeIndexList)
|
44145
44145
|
});
|
44146
44146
|
|
@@ -44786,7 +44786,7 @@ function useTimeInfo(generateConfig) {
|
|
44786
44786
|
|
44787
44787
|
// Hours
|
44788
44788
|
var rowHourUnits = use12Hours ? hours.map(function (unit) {
|
44789
|
-
return _objectSpread2(_objectSpread2({}, unit), {}, {
|
44789
|
+
return _objectSpread2$1(_objectSpread2$1({}, unit), {}, {
|
44790
44790
|
label: leftPad(unit.value % 12 || 12, 2)
|
44791
44791
|
});
|
44792
44792
|
}) : hours;
|
@@ -45101,7 +45101,7 @@ function PanelBody(props) {
|
|
45101
45101
|
rowNode.push( /*#__PURE__*/React__namespace.createElement("td", {
|
45102
45102
|
key: col,
|
45103
45103
|
title: title,
|
45104
|
-
className: classNames(cellPrefixCls, _objectSpread2(_defineProperty$1(_defineProperty$1(_defineProperty$1(_defineProperty$1(_defineProperty$1(_defineProperty$1({}, "".concat(cellPrefixCls, "-disabled"), disabled), "".concat(cellPrefixCls, "-hover"), (hoverValue || []).some(function (date) {
|
45104
|
+
className: classNames(cellPrefixCls, _objectSpread2$1(_defineProperty$1(_defineProperty$1(_defineProperty$1(_defineProperty$1(_defineProperty$1(_defineProperty$1({}, "".concat(cellPrefixCls, "-disabled"), disabled), "".concat(cellPrefixCls, "-hover"), (hoverValue || []).some(function (date) {
|
45105
45105
|
return isSame(generateConfig, locale, currentDate, date, type);
|
45106
45106
|
})), "".concat(cellPrefixCls, "-in-range"), inRange && !rangeStart && !rangeEnd), "".concat(cellPrefixCls, "-range-start"), rangeStart), "".concat(cellPrefixCls, "-range-end"), rangeEnd), "".concat(prefixCls, "-cell-selected"), !hoverRangeValue &&
|
45107
45107
|
// WeekPicker use row instead
|
@@ -46603,7 +46603,7 @@ function PickerPanel(props, ref) {
|
|
46603
46603
|
// ======================== Context =========================
|
46604
46604
|
var parentHackContext = React__namespace.useContext(PickerHackContext);
|
46605
46605
|
var pickerPanelContext = React__namespace.useMemo(function () {
|
46606
|
-
return _objectSpread2(_objectSpread2({}, parentHackContext), {}, {
|
46606
|
+
return _objectSpread2$1(_objectSpread2$1({}, parentHackContext), {}, {
|
46607
46607
|
hideHeader: hideHeader
|
46608
46608
|
});
|
46609
46609
|
}, [parentHackContext, hideHeader]);
|
@@ -46703,7 +46703,7 @@ function PopupPanel(props) {
|
|
46703
46703
|
var hideHeader = picker === 'time';
|
46704
46704
|
|
46705
46705
|
// ======================== Props =========================
|
46706
|
-
var pickerProps = _objectSpread2(_objectSpread2({}, props), {}, {
|
46706
|
+
var pickerProps = _objectSpread2$1(_objectSpread2$1({}, props), {}, {
|
46707
46707
|
hoverValue: null,
|
46708
46708
|
hoverRangeValue: null,
|
46709
46709
|
hideHeader: hideHeader
|
@@ -46720,11 +46720,11 @@ function PopupPanel(props) {
|
|
46720
46720
|
return /*#__PURE__*/React__namespace.createElement("div", {
|
46721
46721
|
className: "".concat(prefixCls, "-panels")
|
46722
46722
|
}, /*#__PURE__*/React__namespace.createElement(PickerHackContext.Provider, {
|
46723
|
-
value: _objectSpread2(_objectSpread2({}, sharedContext), {}, {
|
46723
|
+
value: _objectSpread2$1(_objectSpread2$1({}, sharedContext), {}, {
|
46724
46724
|
hideNext: true
|
46725
46725
|
})
|
46726
46726
|
}, /*#__PURE__*/React__namespace.createElement(RefPanelPicker, pickerProps)), /*#__PURE__*/React__namespace.createElement(PickerHackContext.Provider, {
|
46727
|
-
value: _objectSpread2(_objectSpread2({}, sharedContext), {}, {
|
46727
|
+
value: _objectSpread2$1(_objectSpread2$1({}, sharedContext), {}, {
|
46728
46728
|
hidePrev: true
|
46729
46729
|
})
|
46730
46730
|
}, /*#__PURE__*/React__namespace.createElement(RefPanelPicker, _extends$y({}, pickerProps, {
|
@@ -46735,7 +46735,7 @@ function PopupPanel(props) {
|
|
46735
46735
|
|
46736
46736
|
// Single
|
46737
46737
|
return /*#__PURE__*/React__namespace.createElement(PickerHackContext.Provider, {
|
46738
|
-
value: _objectSpread2({}, sharedContext)
|
46738
|
+
value: _objectSpread2$1({}, sharedContext)
|
46739
46739
|
}, /*#__PURE__*/React__namespace.createElement(RefPanelPicker, pickerProps));
|
46740
46740
|
}
|
46741
46741
|
|
@@ -47004,7 +47004,7 @@ postProps) {
|
|
47004
47004
|
aria: true,
|
47005
47005
|
data: true
|
47006
47006
|
});
|
47007
|
-
var inputProps = _objectSpread2(_objectSpread2({}, pickedAttrs), {}, {
|
47007
|
+
var inputProps = _objectSpread2$1(_objectSpread2$1({}, pickedAttrs), {}, {
|
47008
47008
|
// ============== Shared ==============
|
47009
47009
|
format: maskFormat,
|
47010
47010
|
validateFormat: function validateFormat(text) {
|
@@ -47690,7 +47690,7 @@ function RangeSelector(props, ref) {
|
|
47690
47690
|
}, [placeholder]);
|
47691
47691
|
|
47692
47692
|
// ======================== Inputs ========================
|
47693
|
-
var _useInputProps = useInputProps(_objectSpread2(_objectSpread2({}, props), {}, {
|
47693
|
+
var _useInputProps = useInputProps(_objectSpread2$1(_objectSpread2$1({}, props), {}, {
|
47694
47694
|
id: ids,
|
47695
47695
|
placeholder: mergedPlaceholder
|
47696
47696
|
})),
|
@@ -47718,7 +47718,7 @@ function RangeSelector(props, ref) {
|
|
47718
47718
|
var parentWidth = (offsetParent === null || offsetParent === void 0 ? void 0 : offsetParent.offsetWidth) || 0;
|
47719
47719
|
var activeOffset = placementRight ? parentWidth - offsetWidth - offsetLeft : offsetLeft;
|
47720
47720
|
setActiveBarStyle(function (ori) {
|
47721
|
-
return _objectSpread2(_objectSpread2({}, ori), {}, _defineProperty$1({
|
47721
|
+
return _objectSpread2$1(_objectSpread2$1({}, ori), {}, _defineProperty$1({
|
47722
47722
|
width: offsetWidth
|
47723
47723
|
}, offsetUnit, activeOffset));
|
47724
47724
|
});
|
@@ -47922,7 +47922,7 @@ function RangePicker$4(props, ref) {
|
|
47922
47922
|
from: fromDate
|
47923
47923
|
});
|
47924
47924
|
} : undefined;
|
47925
|
-
return _objectSpread2(_objectSpread2({}, showTime), {}, {
|
47925
|
+
return _objectSpread2$1(_objectSpread2$1({}, showTime), {}, {
|
47926
47926
|
disabledTime: proxyDisabledTime
|
47927
47927
|
});
|
47928
47928
|
}, [showTime, activeIndex, calendarValue, activeIndexList]);
|
@@ -48522,7 +48522,7 @@ function SingleSelector(props, ref) {
|
|
48522
48522
|
};
|
48523
48523
|
|
48524
48524
|
// ======================== Inputs ========================
|
48525
|
-
var _useInputProps = useInputProps(_objectSpread2(_objectSpread2({}, props), {}, {
|
48525
|
+
var _useInputProps = useInputProps(_objectSpread2$1(_objectSpread2$1({}, props), {}, {
|
48526
48526
|
onChange: onSingleChange
|
48527
48527
|
}), function (_ref) {
|
48528
48528
|
var valueTexts = _ref.valueTexts;
|
@@ -48673,7 +48673,7 @@ function Picker(props, ref) {
|
|
48673
48673
|
// ======================= Calendar =======================
|
48674
48674
|
var onInternalCalendarChange = function onInternalCalendarChange(dates, dateStrings, info) {
|
48675
48675
|
if (onCalendarChange) {
|
48676
|
-
var filteredInfo = _objectSpread2({}, info);
|
48676
|
+
var filteredInfo = _objectSpread2$1({}, info);
|
48677
48677
|
delete filteredInfo.range;
|
48678
48678
|
onCalendarChange(pickerParam(dates), pickerParam(dateStrings), filteredInfo);
|
48679
48679
|
}
|
@@ -48727,7 +48727,7 @@ function Picker(props, ref) {
|
|
48727
48727
|
var onInternalChange = onChange && function (dates, dateStrings) {
|
48728
48728
|
onChange(pickerParam(dates), pickerParam(dateStrings));
|
48729
48729
|
};
|
48730
|
-
var _useRangeValue = useRangeValue(_objectSpread2(_objectSpread2({}, filledProps), {}, {
|
48730
|
+
var _useRangeValue = useRangeValue(_objectSpread2$1(_objectSpread2$1({}, filledProps), {}, {
|
48731
48731
|
onChange: onInternalChange
|
48732
48732
|
}), mergedValue, setInnerValue, getCalendarValue, triggerCalendarChange, [],
|
48733
48733
|
//disabled,
|
@@ -48751,7 +48751,7 @@ function Picker(props, ref) {
|
|
48751
48751
|
// Proxy to single pickerValue
|
48752
48752
|
var onInternalPickerValueChange = function onInternalPickerValueChange(dates, info) {
|
48753
48753
|
if (onPickerValueChange) {
|
48754
|
-
var cleanInfo = _objectSpread2(_objectSpread2({}, info), {}, {
|
48754
|
+
var cleanInfo = _objectSpread2$1(_objectSpread2$1({}, info), {}, {
|
48755
48755
|
mode: info.mode[0]
|
48756
48756
|
});
|
48757
48757
|
delete cleanInfo.range;
|
@@ -48903,7 +48903,7 @@ function Picker(props, ref) {
|
|
48903
48903
|
var panelProps = React__namespace.useMemo(function () {
|
48904
48904
|
var domProps = pickAttrs(filledProps, false);
|
48905
48905
|
var restProps = omit$2(filledProps, [].concat(_toConsumableArray(Object.keys(domProps)), ['onChange', 'onCalendarChange', 'style', 'className', 'onPanelChange']));
|
48906
|
-
return _objectSpread2(_objectSpread2({}, restProps), {}, {
|
48906
|
+
return _objectSpread2$1(_objectSpread2$1({}, restProps), {}, {
|
48907
48907
|
multiple: filledProps.multiple
|
48908
48908
|
});
|
48909
48909
|
}, [filledProps]);
|
@@ -49146,7 +49146,7 @@ var Checkbox$3 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
49146
49146
|
setRawValue(e.target.checked);
|
49147
49147
|
}
|
49148
49148
|
onChange === null || onChange === void 0 || onChange({
|
49149
|
-
target: _objectSpread2(_objectSpread2({}, props), {}, {
|
49149
|
+
target: _objectSpread2$1(_objectSpread2$1({}, props), {}, {
|
49150
49150
|
type: type,
|
49151
49151
|
checked: e.target.checked
|
49152
49152
|
}),
|
@@ -52156,7 +52156,7 @@ function useOffsets(tabs, tabSizes, holderScrollWidth) {
|
|
52156
52156
|
var _tabs;
|
52157
52157
|
data = tabSizes.get((_tabs = tabs[i - 1]) === null || _tabs === void 0 ? void 0 : _tabs.key) || DEFAULT_SIZE$1;
|
52158
52158
|
}
|
52159
|
-
var entity = map.get(key) || _objectSpread2({}, data);
|
52159
|
+
var entity = map.get(key) || _objectSpread2$1({}, data);
|
52160
52160
|
|
52161
52161
|
// Right
|
52162
52162
|
entity.right = rightOffset - entity.left - entity.width;
|
@@ -52991,7 +52991,7 @@ var TabNavList = /*#__PURE__*/React__namespace.forwardRef(function (props, ref)
|
|
52991
52991
|
// Add
|
52992
52992
|
addSizeValue,
|
52993
52993
|
// Operation
|
52994
|
-
operationSizeValue, _objectSpread2(_objectSpread2({}, props), {}, {
|
52994
|
+
operationSizeValue, _objectSpread2$1(_objectSpread2$1({}, props), {}, {
|
52995
52995
|
tabs: tabs
|
52996
52996
|
})),
|
52997
52997
|
_useVisibleRange2 = _slicedToArray$2(_useVisibleRange, 2),
|
@@ -53212,7 +53212,7 @@ var TabNavList = /*#__PURE__*/React__namespace.forwardRef(function (props, ref)
|
|
53212
53212
|
prefixCls: prefixCls,
|
53213
53213
|
locale: locale,
|
53214
53214
|
editable: editable,
|
53215
|
-
style: _objectSpread2(_objectSpread2({}, tabNodes.length === 0 ? undefined : tabNodeStyle), {}, {
|
53215
|
+
style: _objectSpread2$1(_objectSpread2$1({}, tabNodes.length === 0 ? undefined : tabNodeStyle), {}, {
|
53216
53216
|
visibility: hasDropdown ? 'hidden' : null
|
53217
53217
|
})
|
53218
53218
|
}), /*#__PURE__*/React__namespace.createElement("div", {
|
@@ -53266,7 +53266,7 @@ var TabNavListWrapper = function TabNavListWrapper(_ref) {
|
|
53266
53266
|
var _React$useContext = React__namespace.useContext(TabContext),
|
53267
53267
|
tabs = _React$useContext.tabs;
|
53268
53268
|
if (renderTabBar) {
|
53269
|
-
var tabNavBarProps = _objectSpread2(_objectSpread2({}, restProps), {}, {
|
53269
|
+
var tabNavBarProps = _objectSpread2$1(_objectSpread2$1({}, restProps), {}, {
|
53270
53270
|
// Legacy support. We do not use this actually
|
53271
53271
|
panes: tabs.map(function (_ref2) {
|
53272
53272
|
var label = _ref2.label,
|
@@ -53326,7 +53326,7 @@ var TabPanelList = function TabPanelList(props) {
|
|
53326
53326
|
tabKey: key,
|
53327
53327
|
animated: tabPaneAnimated,
|
53328
53328
|
active: active,
|
53329
|
-
style: _objectSpread2(_objectSpread2({}, paneStyle), motionStyle),
|
53329
|
+
style: _objectSpread2$1(_objectSpread2$1({}, paneStyle), motionStyle),
|
53330
53330
|
className: classNames(paneClassName, motionClassName),
|
53331
53331
|
ref: ref
|
53332
53332
|
}));
|
@@ -53351,7 +53351,7 @@ function useAnimateConfig$1() {
|
|
53351
53351
|
tabPane: false
|
53352
53352
|
};
|
53353
53353
|
} else {
|
53354
|
-
mergedAnimated = _objectSpread2({
|
53354
|
+
mergedAnimated = _objectSpread2$1({
|
53355
53355
|
inkBar: true
|
53356
53356
|
}, _typeof$a(animated) === 'object' ? animated : {});
|
53357
53357
|
}
|
@@ -53497,7 +53497,7 @@ var Tabs$2 = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
53497
53497
|
rtl: rtl,
|
53498
53498
|
mobile: mobile
|
53499
53499
|
};
|
53500
|
-
var tabNavBarProps = _objectSpread2(_objectSpread2({}, sharedProps), {}, {
|
53500
|
+
var tabNavBarProps = _objectSpread2$1(_objectSpread2$1({}, sharedProps), {}, {
|
53501
53501
|
editable: editable,
|
53502
53502
|
locale: locale,
|
53503
53503
|
more: more,
|
@@ -54785,10 +54785,10 @@ var useSearchOptions = function useSearchOptions(search, options, fieldNames, pr
|
|
54785
54785
|
if (filter(search, connectedPathOptions, {
|
54786
54786
|
label: fieldNames.label
|
54787
54787
|
})) {
|
54788
|
-
var _objectSpread2
|
54789
|
-
filteredOptions.push(_objectSpread2(_objectSpread2({}, option), {}, (_objectSpread2
|
54788
|
+
var _objectSpread2;
|
54789
|
+
filteredOptions.push(_objectSpread2$1(_objectSpread2$1({}, option), {}, (_objectSpread2 = {
|
54790
54790
|
disabled: mergedDisabled
|
54791
|
-
}, _defineProperty$1(_objectSpread2
|
54791
|
+
}, _defineProperty$1(_objectSpread2, fieldNames.label, render(search, connectedPathOptions, prefixCls, fieldNames)), _defineProperty$1(_objectSpread2, SEARCH_MARK, connectedPathOptions), _defineProperty$1(_objectSpread2, fieldNames.children, undefined), _objectSpread2)));
|
54792
54792
|
}
|
54793
54793
|
}
|
54794
54794
|
if (children) {
|
@@ -55058,7 +55058,7 @@ function convertTreeToData(rootNodes) {
|
|
55058
55058
|
var _treeNode$props = treeNode.props,
|
55059
55059
|
children = _treeNode$props.children,
|
55060
55060
|
rest = _objectWithoutProperties(_treeNode$props, _excluded$o);
|
55061
|
-
var dataNode = _objectSpread2({
|
55061
|
+
var dataNode = _objectSpread2$1({
|
55062
55062
|
key: key
|
55063
55063
|
}, rest);
|
55064
55064
|
var parsedChildren = dig(children);
|
@@ -55316,7 +55316,7 @@ function convertNodePropsToEventData(props) {
|
|
55316
55316
|
pos = props.pos,
|
55317
55317
|
active = props.active,
|
55318
55318
|
eventKey = props.eventKey;
|
55319
|
-
var eventData = _objectSpread2(_objectSpread2({}, data), {}, {
|
55319
|
+
var eventData = _objectSpread2$1(_objectSpread2$1({}, data), {}, {
|
55320
55320
|
expanded: expanded,
|
55321
55321
|
selected: selected,
|
55322
55322
|
checked: checked,
|
@@ -55356,7 +55356,7 @@ var useEntities = (function (options, fieldNames) {
|
|
55356
55356
|
cacheRef.current.info = convertDataToEntities(options, {
|
55357
55357
|
fieldNames: fieldNames,
|
55358
55358
|
initWrapper: function initWrapper(wrapper) {
|
55359
|
-
return _objectSpread2(_objectSpread2({}, wrapper), {}, {
|
55359
|
+
return _objectSpread2$1(_objectSpread2$1({}, wrapper), {}, {
|
55360
55360
|
pathKeyEntities: {}
|
55361
55361
|
});
|
55362
55362
|
},
|
@@ -55409,7 +55409,7 @@ function useSearchConfig(showSearch) {
|
|
55409
55409
|
limit: 50
|
55410
55410
|
};
|
55411
55411
|
if (showSearch && _typeof$a(showSearch) === 'object') {
|
55412
|
-
searchConfig = _objectSpread2(_objectSpread2({}, searchConfig), showSearch);
|
55412
|
+
searchConfig = _objectSpread2$1(_objectSpread2$1({}, searchConfig), showSearch);
|
55413
55413
|
}
|
55414
55414
|
if (searchConfig.limit <= 0) {
|
55415
55415
|
searchConfig.limit = false;
|
@@ -56265,7 +56265,7 @@ var RawOptionList = /*#__PURE__*/React__namespace.forwardRef(function (props, re
|
|
56265
56265
|
// >>>>> Empty
|
56266
56266
|
var isEmpty = !((_optionColumns$ = optionColumns[0]) !== null && _optionColumns$ !== void 0 && (_optionColumns$ = _optionColumns$.options) !== null && _optionColumns$ !== void 0 && _optionColumns$.length);
|
56267
56267
|
var emptyList = [(_ref3 = {}, _defineProperty$1(_ref3, fieldNames.value, '__EMPTY__'), _defineProperty$1(_ref3, FIX_LABEL, notFoundContent), _defineProperty$1(_ref3, "disabled", true), _ref3)];
|
56268
|
-
var columnProps = _objectSpread2(_objectSpread2({}, props), {}, {
|
56268
|
+
var columnProps = _objectSpread2$1(_objectSpread2$1({}, props), {}, {
|
56269
56269
|
multiple: !isEmpty && multiple,
|
56270
56270
|
onSelect: onPathSelect,
|
56271
56271
|
onActive: onPathOpen,
|
@@ -56668,7 +56668,7 @@ var Cascader$1 = /*#__PURE__*/React__namespace.forwardRef(function (props, ref)
|
|
56668
56668
|
prefixCls: prefixCls,
|
56669
56669
|
autoClearSearchValue: autoClearSearchValue,
|
56670
56670
|
dropdownMatchSelectWidth: dropdownMatchSelectWidth,
|
56671
|
-
dropdownStyle: _objectSpread2(_objectSpread2({}, dropdownStyle), customDropdownStyle)
|
56671
|
+
dropdownStyle: _objectSpread2$1(_objectSpread2$1({}, dropdownStyle), customDropdownStyle)
|
56672
56672
|
// Value
|
56673
56673
|
,
|
56674
56674
|
displayValues: displayValues,
|
@@ -58643,7 +58643,7 @@ var BaseInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
58643
58643
|
// `className` and `style` are always on the root element
|
58644
58644
|
return /*#__PURE__*/React.cloneElement(element, {
|
58645
58645
|
className: classNames((_element$props = element.props) === null || _element$props === void 0 ? void 0 : _element$props.className, className) || null,
|
58646
|
-
style: _objectSpread2(_objectSpread2({}, (_element$props2 = element.props) === null || _element$props2 === void 0 ? void 0 : _element$props2.style), style),
|
58646
|
+
style: _objectSpread2$1(_objectSpread2$1({}, (_element$props2 = element.props) === null || _element$props2 === void 0 ? void 0 : _element$props2.style), style),
|
58647
58647
|
hidden: hidden
|
58648
58648
|
});
|
58649
58649
|
});
|
@@ -58655,11 +58655,11 @@ function useCount(count, showCount) {
|
|
58655
58655
|
if (showCount) {
|
58656
58656
|
mergedConfig.show = _typeof$a(showCount) === 'object' && showCount.formatter ? showCount.formatter : !!showCount;
|
58657
58657
|
}
|
58658
|
-
mergedConfig = _objectSpread2(_objectSpread2({}, mergedConfig), count);
|
58658
|
+
mergedConfig = _objectSpread2$1(_objectSpread2$1({}, mergedConfig), count);
|
58659
58659
|
var _ref = mergedConfig,
|
58660
58660
|
show = _ref.show,
|
58661
58661
|
rest = _objectWithoutProperties(_ref, _excluded$m);
|
58662
|
-
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
58662
|
+
return _objectSpread2$1(_objectSpread2$1({}, rest), {}, {
|
58663
58663
|
show: !!show,
|
58664
58664
|
showFormatter: typeof show === 'function' ? show : undefined,
|
58665
58665
|
strategy: rest.strategy || function (value) {
|
@@ -58862,7 +58862,7 @@ var Input$2 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
58862
58862
|
}) : "".concat(valueLength).concat(hasMaxLength ? " / ".concat(mergedMax) : '');
|
58863
58863
|
return /*#__PURE__*/React.createElement(React.Fragment, null, countConfig.show && /*#__PURE__*/React.createElement("span", {
|
58864
58864
|
className: classNames("".concat(prefixCls, "-show-count-suffix"), _defineProperty$1({}, "".concat(prefixCls, "-show-count-has-suffix"), !!suffix), classNames$1 === null || classNames$1 === void 0 ? void 0 : classNames$1.count),
|
58865
|
-
style: _objectSpread2({}, styles === null || styles === void 0 ? void 0 : styles.count)
|
58865
|
+
style: _objectSpread2$1({}, styles === null || styles === void 0 ? void 0 : styles.count)
|
58866
58866
|
}, dataCount), suffix);
|
58867
58867
|
}
|
58868
58868
|
return null;
|
@@ -61241,7 +61241,7 @@ var ResizableTextArea = /*#__PURE__*/React__namespace.forwardRef(function (props
|
|
61241
61241
|
|
61242
61242
|
// =============================== Render ===============================
|
61243
61243
|
var mergedAutoSizeStyle = needAutoSize ? autoSizeStyle : null;
|
61244
|
-
var mergedStyle = _objectSpread2(_objectSpread2({}, style), mergedAutoSizeStyle);
|
61244
|
+
var mergedStyle = _objectSpread2$1(_objectSpread2$1({}, style), mergedAutoSizeStyle);
|
61245
61245
|
if (resizeState === RESIZE_START || resizeState === RESIZE_MEASURING) {
|
61246
61246
|
mergedStyle.overflowY = 'hidden';
|
61247
61247
|
mergedStyle.overflowX = 'hidden';
|
@@ -61436,13 +61436,13 @@ var TextArea$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
61436
61436
|
handleReset: handleReset,
|
61437
61437
|
suffix: suffixNode,
|
61438
61438
|
prefixCls: prefixCls,
|
61439
|
-
classNames: _objectSpread2(_objectSpread2({}, classNames$1), {}, {
|
61439
|
+
classNames: _objectSpread2$1(_objectSpread2$1({}, classNames$1), {}, {
|
61440
61440
|
affixWrapper: classNames(classNames$1 === null || classNames$1 === void 0 ? void 0 : classNames$1.affixWrapper, _defineProperty$1(_defineProperty$1({}, "".concat(prefixCls, "-show-count"), showCount), "".concat(prefixCls, "-textarea-allow-clear"), allowClear))
|
61441
61441
|
}),
|
61442
61442
|
disabled: disabled,
|
61443
61443
|
focused: focused,
|
61444
61444
|
className: classNames(className, isOutOfRange && "".concat(prefixCls, "-out-of-range")),
|
61445
|
-
style: _objectSpread2(_objectSpread2({}, style), textareaResized && !isPureTextArea ? {
|
61445
|
+
style: _objectSpread2$1(_objectSpread2$1({}, style), textareaResized && !isPureTextArea ? {
|
61446
61446
|
height: 'auto'
|
61447
61447
|
} : {}),
|
61448
61448
|
dataAttrs: {
|
@@ -61463,7 +61463,7 @@ var TextArea$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
61463
61463
|
onCompositionStart: onInternalCompositionStart,
|
61464
61464
|
onCompositionEnd: onInternalCompositionEnd,
|
61465
61465
|
className: classNames(classNames$1 === null || classNames$1 === void 0 ? void 0 : classNames$1.textarea),
|
61466
|
-
style: _objectSpread2(_objectSpread2({}, styles === null || styles === void 0 ? void 0 : styles.textarea), {}, {
|
61466
|
+
style: _objectSpread2$1(_objectSpread2$1({}, styles === null || styles === void 0 ? void 0 : styles.textarea), {}, {
|
61467
61467
|
resize: style === null || style === void 0 ? void 0 : style.resize
|
61468
61468
|
}),
|
61469
61469
|
disabled: disabled,
|
@@ -61763,7 +61763,7 @@ var Handle = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
61763
61763
|
var handleNode = /*#__PURE__*/React__namespace.createElement("div", _extends$y({
|
61764
61764
|
ref: ref,
|
61765
61765
|
className: classNames(handlePrefixCls, _defineProperty$1(_defineProperty$1(_defineProperty$1({}, "".concat(handlePrefixCls, "-").concat(valueIndex + 1), valueIndex !== null && range), "".concat(handlePrefixCls, "-dragging"), dragging), "".concat(handlePrefixCls, "-dragging-delete"), draggingDelete), classNames$1.handle),
|
61766
|
-
style: _objectSpread2(_objectSpread2(_objectSpread2({}, positionStyle), style), styles.handle)
|
61766
|
+
style: _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, positionStyle), style), styles.handle)
|
61767
61767
|
}, divProps, restProps));
|
61768
61768
|
|
61769
61769
|
// Customize
|
@@ -61835,7 +61835,7 @@ var Handles = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
61835
61835
|
|
61836
61836
|
// =========================== Render ===========================
|
61837
61837
|
// Handle Props
|
61838
|
-
var handleProps = _objectSpread2({
|
61838
|
+
var handleProps = _objectSpread2$1({
|
61839
61839
|
prefixCls: prefixCls,
|
61840
61840
|
onStartMove: onStartMove,
|
61841
61841
|
onOffsetChange: onOffsetChange,
|
@@ -61898,7 +61898,7 @@ var Mark = function Mark(props) {
|
|
61898
61898
|
var positionStyle = getDirectionStyle(direction, value, min, max);
|
61899
61899
|
return /*#__PURE__*/React__namespace.createElement("span", {
|
61900
61900
|
className: classNames(textCls, _defineProperty$1({}, "".concat(textCls, "-active"), included && includedStart <= value && value <= includedEnd)),
|
61901
|
-
style: _objectSpread2(_objectSpread2({}, positionStyle), style),
|
61901
|
+
style: _objectSpread2$1(_objectSpread2$1({}, positionStyle), style),
|
61902
61902
|
onMouseDown: function onMouseDown(e) {
|
61903
61903
|
e.stopPropagation();
|
61904
61904
|
},
|
@@ -61950,9 +61950,9 @@ var Dot = function Dot(props) {
|
|
61950
61950
|
var active = included && includedStart <= value && value <= includedEnd;
|
61951
61951
|
|
61952
61952
|
// ============================ Offset ============================
|
61953
|
-
var mergedStyle = _objectSpread2(_objectSpread2({}, getDirectionStyle(direction, value, min, max)), typeof style === 'function' ? style(value) : style);
|
61953
|
+
var mergedStyle = _objectSpread2$1(_objectSpread2$1({}, getDirectionStyle(direction, value, min, max)), typeof style === 'function' ? style(value) : style);
|
61954
61954
|
if (active) {
|
61955
|
-
mergedStyle = _objectSpread2(_objectSpread2({}, mergedStyle), typeof activeStyle === 'function' ? activeStyle(value) : activeStyle);
|
61955
|
+
mergedStyle = _objectSpread2$1(_objectSpread2$1({}, mergedStyle), typeof activeStyle === 'function' ? activeStyle(value) : activeStyle);
|
61956
61956
|
}
|
61957
61957
|
return /*#__PURE__*/React__namespace.createElement("span", {
|
61958
61958
|
className: classNames(dotClassName, _defineProperty$1({}, "".concat(dotClassName, "-active"), active)),
|
@@ -62049,7 +62049,7 @@ var Track = function Track(props) {
|
|
62049
62049
|
var className = replaceCls || classNames(trackPrefixCls, _defineProperty$1(_defineProperty$1({}, "".concat(trackPrefixCls, "-").concat(index + 1), index !== null && range), "".concat(prefixCls, "-track-draggable"), onStartMove), classNames$1.track);
|
62050
62050
|
return /*#__PURE__*/React__namespace.createElement("div", {
|
62051
62051
|
className: className,
|
62052
|
-
style: _objectSpread2(_objectSpread2({}, positionStyle), style),
|
62052
|
+
style: _objectSpread2$1(_objectSpread2$1({}, positionStyle), style),
|
62053
62053
|
onMouseDown: onInternalStartMove,
|
62054
62054
|
onTouchStart: onInternalStartMove
|
62055
62055
|
});
|
@@ -62112,7 +62112,7 @@ var Tracks = function Tracks(props) {
|
|
62112
62112
|
return /*#__PURE__*/React__namespace.createElement(Track, {
|
62113
62113
|
index: index,
|
62114
62114
|
prefixCls: prefixCls,
|
62115
|
-
style: _objectSpread2(_objectSpread2({}, getIndex(style, index)), styles.track),
|
62115
|
+
style: _objectSpread2$1(_objectSpread2$1({}, getIndex(style, index)), styles.track),
|
62116
62116
|
start: start,
|
62117
62117
|
end: end,
|
62118
62118
|
key: index,
|
@@ -62997,7 +62997,7 @@ var Slider$1 = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
62997
62997
|
id: id
|
62998
62998
|
}, /*#__PURE__*/React__namespace.createElement("div", {
|
62999
62999
|
className: classNames("".concat(prefixCls, "-rail"), classNames$1 === null || classNames$1 === void 0 ? void 0 : classNames$1.rail),
|
63000
|
-
style: _objectSpread2(_objectSpread2({}, railStyle), styles === null || styles === void 0 ? void 0 : styles.rail)
|
63000
|
+
style: _objectSpread2$1(_objectSpread2$1({}, railStyle), styles === null || styles === void 0 ? void 0 : styles.rail)
|
63001
63001
|
}), track !== false && /*#__PURE__*/React__namespace.createElement(Tracks, {
|
63002
63002
|
prefixCls: prefixCls,
|
63003
63003
|
style: trackStyle,
|
@@ -63839,7 +63839,7 @@ const generateRangePicker = generateConfig => {
|
|
63839
63839
|
} = formItemContext;
|
63840
63840
|
const suffixNode = /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, picker === TIME ? /*#__PURE__*/React__namespace.createElement(RefIcon$B, null) : /*#__PURE__*/React__namespace.createElement(RefIcon$I, null), hasFeedback && feedbackIcon);
|
63841
63841
|
React.useImperativeHandle(ref, () => innerRef.current);
|
63842
|
-
const [contextLocale] = useLocale$1('Calendar', locale$
|
63842
|
+
const [contextLocale] = useLocale$1('Calendar', locale$5);
|
63843
63843
|
const locale = Object.assign(Object.assign({}, contextLocale), props.locale);
|
63844
63844
|
// ============================ zIndex ============================
|
63845
63845
|
const [zIndex] = useZIndex('DatePicker', (_a = props.popupStyle) === null || _a === void 0 ? void 0 : _a.zIndex);
|
@@ -63993,7 +63993,7 @@ const generatePicker$1 = generateConfig => {
|
|
63993
63993
|
feedbackIcon
|
63994
63994
|
} = formItemContext;
|
63995
63995
|
const suffixNode = /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, mergedPicker === 'time' ? /*#__PURE__*/React__namespace.createElement(RefIcon$B, null) : /*#__PURE__*/React__namespace.createElement(RefIcon$I, null), hasFeedback && feedbackIcon);
|
63996
|
-
const [contextLocale] = useLocale$1('DatePicker', locale$
|
63996
|
+
const [contextLocale] = useLocale$1('DatePicker', locale$5);
|
63997
63997
|
const locale = Object.assign(Object.assign({}, contextLocale), props.locale);
|
63998
63998
|
// ============================ zIndex ============================
|
63999
63999
|
const [zIndex] = useZIndex('DatePicker', (_a = props.popupStyle) === null || _a === void 0 ? void 0 : _a.zIndex);
|
@@ -65492,7 +65492,7 @@ const FormItemLabel = _ref => {
|
|
65492
65492
|
labelChildren = /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, labelChildren, /*#__PURE__*/React__namespace.createElement("span", {
|
65493
65493
|
className: `${prefixCls}-item-optional`,
|
65494
65494
|
title: ""
|
65495
|
-
}, (formLocale === null || formLocale === void 0 ? void 0 : formLocale.optional) || ((_a = localeValues.Form) === null || _a === void 0 ? void 0 : _a.optional)));
|
65495
|
+
}, (formLocale === null || formLocale === void 0 ? void 0 : formLocale.optional) || ((_a = localeValues$1.Form) === null || _a === void 0 ? void 0 : _a.optional)));
|
65496
65496
|
}
|
65497
65497
|
const labelClassName = classNames({
|
65498
65498
|
[`${prefixCls}-item-required`]: required,
|
@@ -66178,7 +66178,7 @@ var Operations = function Operations(props) {
|
|
66178
66178
|
getContainer: getContainer !== null && getContainer !== void 0 ? getContainer : document.body
|
66179
66179
|
}, /*#__PURE__*/React__namespace.createElement("div", {
|
66180
66180
|
className: classNames("".concat(prefixCls, "-operations-wrapper"), className, rootClassName),
|
66181
|
-
style: _objectSpread2(_objectSpread2({}, style), {}, {
|
66181
|
+
style: _objectSpread2$1(_objectSpread2$1({}, style), {}, {
|
66182
66182
|
zIndex: zIndex
|
66183
66183
|
})
|
66184
66184
|
}, closeIcon === null ? null : /*#__PURE__*/React__namespace.createElement("button", {
|
@@ -66198,7 +66198,7 @@ var Operations = function Operations(props) {
|
|
66198
66198
|
className: "".concat(prefixCls, "-footer")
|
66199
66199
|
}, showProgress && /*#__PURE__*/React__namespace.createElement("div", {
|
66200
66200
|
className: "".concat(prefixCls, "-progress")
|
66201
|
-
}, countRender ? countRender(current + 1, count) : "".concat(current + 1, " / ").concat(count)), toolbarRender ? toolbarRender(toolbarNode, _objectSpread2(_objectSpread2({
|
66201
|
+
}, countRender ? countRender(current + 1, count) : "".concat(current + 1, " / ").concat(count)), toolbarRender ? toolbarRender(toolbarNode, _objectSpread2$1(_objectSpread2$1({
|
66202
66202
|
icons: {
|
66203
66203
|
prevIcon: switchPrevNode,
|
66204
66204
|
nextIcon: switchNextNode,
|
@@ -66263,7 +66263,7 @@ function useImageTransform(imgRef, minScale, maxScale, onTransform) {
|
|
66263
66263
|
setTransform(function (preState) {
|
66264
66264
|
var memoState = preState;
|
66265
66265
|
queue.current.forEach(function (queueState) {
|
66266
|
-
memoState = _objectSpread2(_objectSpread2({}, memoState), queueState);
|
66266
|
+
memoState = _objectSpread2$1(_objectSpread2$1({}, memoState), queueState);
|
66267
66267
|
});
|
66268
66268
|
frame.current = null;
|
66269
66269
|
onTransform === null || onTransform === void 0 || onTransform({
|
@@ -66274,7 +66274,7 @@ function useImageTransform(imgRef, minScale, maxScale, onTransform) {
|
|
66274
66274
|
});
|
66275
66275
|
});
|
66276
66276
|
}
|
66277
|
-
queue.current.push(_objectSpread2(_objectSpread2({}, transform), newTransform));
|
66277
|
+
queue.current.push(_objectSpread2$1(_objectSpread2$1({}, transform), newTransform));
|
66278
66278
|
};
|
66279
66279
|
|
66280
66280
|
/** Scale according to the position of centerX and centerY */
|
@@ -66379,7 +66379,7 @@ function getFixScaleEleTransPosition(width, height, left, top) {
|
|
66379
66379
|
y: 0
|
66380
66380
|
};
|
66381
66381
|
} else if (width > clientWidth || height > clientHeight) {
|
66382
|
-
fixPos = _objectSpread2(_objectSpread2({}, fixPoint('x', left, width, clientWidth)), fixPoint('y', top, height, clientHeight));
|
66382
|
+
fixPos = _objectSpread2$1(_objectSpread2$1({}, fixPoint('x', left, width, clientWidth)), fixPoint('y', top, height, clientHeight));
|
66383
66383
|
}
|
66384
66384
|
return fixPos;
|
66385
66385
|
}
|
@@ -66444,7 +66444,7 @@ function useMouseEvent(imgRef, movable, visible, scaleStep, transform, updateTra
|
|
66444
66444
|
var isRotate = rotate % 180 !== 0;
|
66445
66445
|
var fixState = getFixScaleEleTransPosition(isRotate ? height : width, isRotate ? width : height, left, top);
|
66446
66446
|
if (fixState) {
|
66447
|
-
updateTransform(_objectSpread2({}, fixState), 'dragRebound');
|
66447
|
+
updateTransform(_objectSpread2$1({}, fixState), 'dragRebound');
|
66448
66448
|
}
|
66449
66449
|
}
|
66450
66450
|
};
|
@@ -66608,7 +66608,7 @@ function useTouchEvent(imgRef, movable, visible, minScale, transform, updateTran
|
|
66608
66608
|
eventType: 'none'
|
66609
66609
|
});
|
66610
66610
|
var updateTouchPointInfo = function updateTouchPointInfo(values) {
|
66611
|
-
touchPointInfo.current = _objectSpread2(_objectSpread2({}, touchPointInfo.current), values);
|
66611
|
+
touchPointInfo.current = _objectSpread2$1(_objectSpread2$1({}, touchPointInfo.current), values);
|
66612
66612
|
};
|
66613
66613
|
var onTouchStart = function onTouchStart(event) {
|
66614
66614
|
if (!movable) return;
|
@@ -66704,7 +66704,7 @@ function useTouchEvent(imgRef, movable, visible, minScale, transform, updateTran
|
|
66704
66704
|
var isRotate = rotate % 180 !== 0;
|
66705
66705
|
var fixState = getFixScaleEleTransPosition(isRotate ? height : width, isRotate ? width : height, left, top);
|
66706
66706
|
if (fixState) {
|
66707
|
-
updateTransform(_objectSpread2({}, fixState), 'dragRebound');
|
66707
|
+
updateTransform(_objectSpread2$1({}, fixState), 'dragRebound');
|
66708
66708
|
}
|
66709
66709
|
};
|
66710
66710
|
React.useEffect(function () {
|
@@ -66904,7 +66904,7 @@ var Preview = function Preview(props) {
|
|
66904
66904
|
onTouchEnd: onTouchEnd,
|
66905
66905
|
onTouchCancel: onTouchEnd
|
66906
66906
|
}));
|
66907
|
-
var image = _objectSpread2({
|
66907
|
+
var image = _objectSpread2$1({
|
66908
66908
|
url: src,
|
66909
66909
|
alt: alt
|
66910
66910
|
}, imageInfo);
|
@@ -66925,7 +66925,7 @@ var Preview = function Preview(props) {
|
|
66925
66925
|
afterClose: onAfterClose
|
66926
66926
|
}), /*#__PURE__*/React.createElement("div", {
|
66927
66927
|
className: "".concat(prefixCls, "-img-wrapper")
|
66928
|
-
}, imageRender ? imageRender(imgNode, _objectSpread2({
|
66928
|
+
}, imageRender ? imageRender(imgNode, _objectSpread2$1({
|
66929
66929
|
transform: transform,
|
66930
66930
|
image: image
|
66931
66931
|
}, groupContext ? {
|
@@ -66975,11 +66975,11 @@ function usePreviewItems(items) {
|
|
66975
66975
|
setImages = _React$useState2[1];
|
66976
66976
|
var registerImage = React__namespace.useCallback(function (id, data) {
|
66977
66977
|
setImages(function (imgs) {
|
66978
|
-
return _objectSpread2(_objectSpread2({}, imgs), {}, _defineProperty$1({}, id, data));
|
66978
|
+
return _objectSpread2$1(_objectSpread2$1({}, imgs), {}, _defineProperty$1({}, id, data));
|
66979
66979
|
});
|
66980
66980
|
return function () {
|
66981
66981
|
setImages(function (imgs) {
|
66982
|
-
var cloneImgs = _objectSpread2({}, imgs);
|
66982
|
+
var cloneImgs = _objectSpread2$1({}, imgs);
|
66983
66983
|
delete cloneImgs[id];
|
66984
66984
|
return cloneImgs;
|
66985
66985
|
});
|
@@ -67284,7 +67284,7 @@ var ImageInternal = function ImageInternal(props) {
|
|
67284
67284
|
|
67285
67285
|
// ========================== Register ==========================
|
67286
67286
|
var registerData = React.useMemo(function () {
|
67287
|
-
return _objectSpread2(_objectSpread2({}, imgCommonProps), {}, {
|
67287
|
+
return _objectSpread2$1(_objectSpread2$1({}, imgCommonProps), {}, {
|
67288
67288
|
src: src
|
67289
67289
|
});
|
67290
67290
|
}, [src, imgCommonProps]);
|
@@ -67311,13 +67311,13 @@ var ImageInternal = function ImageInternal(props) {
|
|
67311
67311
|
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", _extends$y({}, otherProps, {
|
67312
67312
|
className: wrapperClass,
|
67313
67313
|
onClick: canPreview ? onPreview : onClick,
|
67314
|
-
style: _objectSpread2({
|
67314
|
+
style: _objectSpread2$1({
|
67315
67315
|
width: width,
|
67316
67316
|
height: height
|
67317
67317
|
}, wrapperStyle)
|
67318
67318
|
}), /*#__PURE__*/React__namespace.createElement("img", _extends$y({}, imgCommonProps, {
|
67319
67319
|
className: classNames("".concat(prefixCls, "-img"), _defineProperty$1({}, "".concat(prefixCls, "-img-placeholder"), placeholder === true), className),
|
67320
|
-
style: _objectSpread2({
|
67320
|
+
style: _objectSpread2$1({
|
67321
67321
|
height: height
|
67322
67322
|
}, style),
|
67323
67323
|
ref: getImgRef
|
@@ -67745,13 +67745,13 @@ const Image$2 = props => {
|
|
67745
67745
|
otherProps = __rest$d(props, ["prefixCls", "preview", "className", "rootClassName", "style"]);
|
67746
67746
|
const {
|
67747
67747
|
getPrefixCls,
|
67748
|
-
locale: contextLocale = localeValues,
|
67748
|
+
locale: contextLocale = localeValues$1,
|
67749
67749
|
getPopupContainer: getContextPopupContainer,
|
67750
67750
|
image
|
67751
67751
|
} = React__namespace.useContext(ConfigContext);
|
67752
67752
|
const prefixCls = getPrefixCls('image', customizePrefixCls);
|
67753
67753
|
const rootPrefixCls = getPrefixCls();
|
67754
|
-
const imageLocale = contextLocale.Image || localeValues.Image;
|
67754
|
+
const imageLocale = contextLocale.Image || localeValues$1.Image;
|
67755
67755
|
// Style
|
67756
67756
|
const rootCls = useCSSVarCls(prefixCls);
|
67757
67757
|
const [wrapCSSVar, hashId, cssVarCls] = useStyle$7(prefixCls, rootCls);
|
@@ -67812,7 +67812,7 @@ const extendsObject = function () {
|
|
67812
67812
|
return result;
|
67813
67813
|
};
|
67814
67814
|
|
67815
|
-
var locale = {
|
67815
|
+
var locale$4 = {
|
67816
67816
|
// Options
|
67817
67817
|
items_per_page: '条/页',
|
67818
67818
|
jump_to: '跳至',
|
@@ -68039,7 +68039,7 @@ var Pagination$1 = function Pagination(props) {
|
|
68039
68039
|
_props$onShowSizeChan = props.onShowSizeChange,
|
68040
68040
|
onShowSizeChange = _props$onShowSizeChan === void 0 ? noop$6 : _props$onShowSizeChan,
|
68041
68041
|
_props$locale = props.locale,
|
68042
|
-
locale
|
68042
|
+
locale = _props$locale === void 0 ? locale$4 : _props$locale,
|
68043
68043
|
style = props.style,
|
68044
68044
|
_props$totalBoundaryS = props.totalBoundaryShowSizeChanger,
|
68045
68045
|
totalBoundaryShowSizeChanger = _props$totalBoundaryS === void 0 ? 50 : _props$totalBoundaryS,
|
@@ -68094,7 +68094,7 @@ var Pagination$1 = function Pagination(props) {
|
|
68094
68094
|
className: "".concat(prefixCls, "-item-link")
|
68095
68095
|
});
|
68096
68096
|
if (typeof icon === 'function') {
|
68097
|
-
iconNode = /*#__PURE__*/React.createElement(icon, _objectSpread2({}, props));
|
68097
|
+
iconNode = /*#__PURE__*/React.createElement(icon, _objectSpread2$1({}, props));
|
68098
68098
|
}
|
68099
68099
|
return iconNode;
|
68100
68100
|
}
|
@@ -68267,7 +68267,7 @@ var Pagination$1 = function Pagination(props) {
|
|
68267
68267
|
type: "button",
|
68268
68268
|
onClick: handleGoTO,
|
68269
68269
|
onKeyUp: handleGoTO
|
68270
|
-
}, locale
|
68270
|
+
}, locale.jump_to_confirm);
|
68271
68271
|
} else {
|
68272
68272
|
gotoButton = /*#__PURE__*/React.createElement("span", {
|
68273
68273
|
onClick: handleGoTO,
|
@@ -68275,7 +68275,7 @@ var Pagination$1 = function Pagination(props) {
|
|
68275
68275
|
}, goButton);
|
68276
68276
|
}
|
68277
68277
|
gotoButton = /*#__PURE__*/React.createElement("li", {
|
68278
|
-
title: showTitle ? "".concat(locale
|
68278
|
+
title: showTitle ? "".concat(locale.jump_to).concat(current, "/").concat(allPages) : null,
|
68279
68279
|
className: "".concat(prefixCls, "-simple-pager")
|
68280
68280
|
}, gotoButton);
|
68281
68281
|
}
|
@@ -68314,8 +68314,8 @@ var Pagination$1 = function Pagination(props) {
|
|
68314
68314
|
})));
|
68315
68315
|
}
|
68316
68316
|
} else {
|
68317
|
-
var prevItemTitle = showLessItems ? locale
|
68318
|
-
var nextItemTitle = showLessItems ? locale
|
68317
|
+
var prevItemTitle = showLessItems ? locale.prev_3 : locale.prev_5;
|
68318
|
+
var nextItemTitle = showLessItems ? locale.next_3 : locale.next_5;
|
68319
68319
|
var jumpPrevContent = itemRender(jumpPrevPage, 'jump-prev', getItemIcon(jumpPrevIcon, 'prev page'));
|
68320
68320
|
var jumpNextContent = itemRender(jumpNextPage, 'jump-next', getItemIcon(jumpNextIcon, 'next page'));
|
68321
68321
|
if (showPrevNextJumpers) {
|
@@ -68381,7 +68381,7 @@ var Pagination$1 = function Pagination(props) {
|
|
68381
68381
|
if (prev) {
|
68382
68382
|
var prevDisabled = !hasPrev || !allPages;
|
68383
68383
|
prev = /*#__PURE__*/React.createElement("li", {
|
68384
|
-
title: showTitle ? locale
|
68384
|
+
title: showTitle ? locale.prev_page : null,
|
68385
68385
|
onClick: prevHandle,
|
68386
68386
|
tabIndex: prevDisabled ? null : 0,
|
68387
68387
|
onKeyDown: runIfEnterPrev,
|
@@ -68400,7 +68400,7 @@ var Pagination$1 = function Pagination(props) {
|
|
68400
68400
|
nextTabIndex = nextDisabled ? null : 0;
|
68401
68401
|
}
|
68402
68402
|
next = /*#__PURE__*/React.createElement("li", {
|
68403
|
-
title: showTitle ? locale
|
68403
|
+
title: showTitle ? locale.next_page : null,
|
68404
68404
|
onClick: nextHandle,
|
68405
68405
|
tabIndex: nextTabIndex,
|
68406
68406
|
onKeyDown: runIfEnterNext,
|
@@ -68414,7 +68414,7 @@ var Pagination$1 = function Pagination(props) {
|
|
68414
68414
|
style: style,
|
68415
68415
|
ref: paginationRef
|
68416
68416
|
}, dataOrAriaAttributeProps), totalText, prev, simple ? simplePager : pagerList, next, /*#__PURE__*/React.createElement(Options, {
|
68417
|
-
locale: locale
|
68417
|
+
locale: locale,
|
68418
68418
|
rootPrefixCls: prefixCls,
|
68419
68419
|
disabled: disabled,
|
68420
68420
|
selectComponentClass: selectComponentClass,
|
@@ -69129,7 +69129,7 @@ const Pagination = props => {
|
|
69129
69129
|
jumpNextIcon
|
69130
69130
|
};
|
69131
69131
|
}, [direction, prefixCls]);
|
69132
|
-
const [contextLocale] = useLocale$1('Pagination', locale$
|
69132
|
+
const [contextLocale] = useLocale$1('Pagination', locale$8);
|
69133
69133
|
const locale = Object.assign(Object.assign({}, contextLocale), customLocale);
|
69134
69134
|
const mergedSize = useSize(customizeSize);
|
69135
69135
|
const isSmall = mergedSize === 'small' || !!(xs && !mergedSize && responsive);
|
@@ -70818,7 +70818,7 @@ function toArray$5(value) {
|
|
70818
70818
|
return Array.isArray(mergedValue) ? mergedValue : [mergedValue];
|
70819
70819
|
}
|
70820
70820
|
var Circle$3 = function Circle(props) {
|
70821
|
-
var _defaultProps$props = _objectSpread2(_objectSpread2({}, defaultProps), props),
|
70821
|
+
var _defaultProps$props = _objectSpread2$1(_objectSpread2$1({}, defaultProps), props),
|
70822
70822
|
id = _defaultProps$props.id,
|
70823
70823
|
prefixCls = _defaultProps$props.prefixCls,
|
70824
70824
|
steps = _defaultProps$props.steps,
|
@@ -72144,7 +72144,7 @@ function Cell(props) {
|
|
72144
72144
|
if (align) {
|
72145
72145
|
alignStyle.textAlign = align;
|
72146
72146
|
}
|
72147
|
-
var mergedStyle = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, fixedStyle), additionalProps.style), alignStyle), legacyCellProps === null || legacyCellProps === void 0 ? void 0 : legacyCellProps.style);
|
72147
|
+
var mergedStyle = _objectSpread2$1(_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, fixedStyle), additionalProps.style), alignStyle), legacyCellProps === null || legacyCellProps === void 0 ? void 0 : legacyCellProps.style);
|
72148
72148
|
|
72149
72149
|
// >>>>> Children Node
|
72150
72150
|
var mergedChildNode = childNode;
|
@@ -72419,7 +72419,7 @@ function useRowInfo(record, rowKey, recordIndex, indent) {
|
|
72419
72419
|
|
72420
72420
|
// ========================= Column =========================
|
72421
72421
|
var columnsKey = getColumnsKey(flattenColumns);
|
72422
|
-
return _objectSpread2(_objectSpread2({}, context), {}, {
|
72422
|
+
return _objectSpread2$1(_objectSpread2$1({}, context), {}, {
|
72423
72423
|
columnsKey: columnsKey,
|
72424
72424
|
nestExpandable: nestExpandable,
|
72425
72425
|
expanded: expanded,
|
@@ -72428,7 +72428,7 @@ function useRowInfo(record, rowKey, recordIndex, indent) {
|
|
72428
72428
|
onTriggerExpand: onInternalTriggerExpand,
|
72429
72429
|
rowSupportExpand: rowSupportExpand,
|
72430
72430
|
expandable: mergedExpandable,
|
72431
|
-
rowProps: _objectSpread2(_objectSpread2({}, rowProps), {}, {
|
72431
|
+
rowProps: _objectSpread2$1(_objectSpread2$1({}, rowProps), {}, {
|
72432
72432
|
className: classNames(computeRowClassName, rowProps === null || rowProps === void 0 ? void 0 : rowProps.className),
|
72433
72433
|
onClick: onClick
|
72434
72434
|
})
|
@@ -72567,7 +72567,7 @@ function BodyRow(props) {
|
|
72567
72567
|
var baseRowNode = /*#__PURE__*/React__namespace.createElement(RowComponent, _extends$y({}, rowProps, {
|
72568
72568
|
"data-row-key": rowKey,
|
72569
72569
|
className: classNames(className, "".concat(prefixCls, "-row"), "".concat(prefixCls, "-row-level-").concat(indent), rowProps === null || rowProps === void 0 ? void 0 : rowProps.className, indent >= 1 ? computedExpandedRowClassName : ''),
|
72570
|
-
style: _objectSpread2(_objectSpread2({}, style), rowProps === null || rowProps === void 0 ? void 0 : rowProps.style)
|
72570
|
+
style: _objectSpread2$1(_objectSpread2$1({}, style), rowProps === null || rowProps === void 0 ? void 0 : rowProps.style)
|
72571
72571
|
}), flattenColumns.map(function (column, colIndex) {
|
72572
72572
|
var render = column.render,
|
72573
72573
|
dataIndex = column.dataIndex,
|
@@ -72753,7 +72753,7 @@ function getExpandableProps(props) {
|
|
72753
72753
|
legacyExpandableConfig = _objectWithoutProperties(props, _excluded$a);
|
72754
72754
|
var config;
|
72755
72755
|
if ('expandable' in props) {
|
72756
|
-
config = _objectSpread2(_objectSpread2({}, legacyExpandableConfig), expandable);
|
72756
|
+
config = _objectSpread2$1(_objectSpread2$1({}, legacyExpandableConfig), expandable);
|
72757
72757
|
} else {
|
72758
72758
|
if (['indentSize', 'expandedRowKeys', 'defaultExpandedRowKeys', 'defaultExpandAllRows', 'expandedRowRender', 'expandRowByClick', 'expandIcon', 'onExpand', 'onExpandedRowsChange', 'expandedRowClassName', 'expandIconColumnIndex', 'showExpandColumn', 'title'].some(function (prop) {
|
72759
72759
|
return prop in props;
|
@@ -72912,7 +72912,7 @@ var FixedHolder = /*#__PURE__*/React__namespace.forwardRef(function (props, ref)
|
|
72912
72912
|
var headerStickyOffsets = React.useMemo(function () {
|
72913
72913
|
var right = stickyOffsets.right,
|
72914
72914
|
left = stickyOffsets.left;
|
72915
|
-
return _objectSpread2(_objectSpread2({}, stickyOffsets), {}, {
|
72915
|
+
return _objectSpread2$1(_objectSpread2$1({}, stickyOffsets), {}, {
|
72916
72916
|
left: direction === 'rtl' ? [].concat(_toConsumableArray(left.map(function (width) {
|
72917
72917
|
return width + combinationScrollBarSize;
|
72918
72918
|
})), [0]) : left,
|
@@ -72924,7 +72924,7 @@ var FixedHolder = /*#__PURE__*/React__namespace.forwardRef(function (props, ref)
|
|
72924
72924
|
}, [combinationScrollBarSize, stickyOffsets, isSticky]);
|
72925
72925
|
var mergedColumnWidth = useColumnWidth(colWidths, columCount);
|
72926
72926
|
return /*#__PURE__*/React__namespace.createElement("div", {
|
72927
|
-
style: _objectSpread2({
|
72927
|
+
style: _objectSpread2$1({
|
72928
72928
|
overflow: 'hidden'
|
72929
72929
|
}, isSticky ? {
|
72930
72930
|
top: stickyTopOffset,
|
@@ -72941,7 +72941,7 @@ var FixedHolder = /*#__PURE__*/React__namespace.forwardRef(function (props, ref)
|
|
72941
72941
|
colWidths: mergedColumnWidth ? [].concat(_toConsumableArray(mergedColumnWidth), [combinationScrollBarSize]) : [],
|
72942
72942
|
columCount: columCount + 1,
|
72943
72943
|
columns: flattenColumnsWithScrollbar
|
72944
|
-
}), children(_objectSpread2(_objectSpread2({}, restProps), {}, {
|
72944
|
+
}), children(_objectSpread2$1(_objectSpread2$1({}, restProps), {}, {
|
72945
72945
|
stickyOffsets: headerStickyOffsets,
|
72946
72946
|
columns: columnsWithScrollbar,
|
72947
72947
|
flattenColumns: flattenColumnsWithScrollbar
|
@@ -73128,7 +73128,7 @@ function useWidthColumns(flattenColumns, scrollWidth, clientWidth) {
|
|
73128
73128
|
var avgWidth = restWidth / missWidthCount;
|
73129
73129
|
var realTotal = 0;
|
73130
73130
|
var filledColumns = flattenColumns.map(function (col) {
|
73131
|
-
var clone = _objectSpread2({}, col);
|
73131
|
+
var clone = _objectSpread2$1({}, col);
|
73132
73132
|
var colWidth = parseColWidth(scrollWidth, clone.width);
|
73133
73133
|
if (colWidth) {
|
73134
73134
|
clone.width = colWidth;
|
@@ -73169,7 +73169,7 @@ function convertChildrenToColumns(children) {
|
|
73169
73169
|
props = _ref.props;
|
73170
73170
|
var nodeChildren = props.children,
|
73171
73171
|
restProps = _objectWithoutProperties(props, _excluded$7);
|
73172
|
-
var column = _objectSpread2({
|
73172
|
+
var column = _objectSpread2$1({
|
73173
73173
|
key: key
|
73174
73174
|
}, restProps);
|
73175
73175
|
if (nodeChildren) {
|
@@ -73184,7 +73184,7 @@ function filterHiddenColumns(columns) {
|
|
73184
73184
|
}).map(function (column) {
|
73185
73185
|
var subColumns = column.children;
|
73186
73186
|
if (subColumns && subColumns.length > 0) {
|
73187
|
-
return _objectSpread2(_objectSpread2({}, column), {}, {
|
73187
|
+
return _objectSpread2$1(_objectSpread2$1({}, column), {}, {
|
73188
73188
|
children: filterHiddenColumns(subColumns)
|
73189
73189
|
});
|
73190
73190
|
}
|
@@ -73203,12 +73203,12 @@ function flatColumns(columns) {
|
|
73203
73203
|
var subColumns = column.children;
|
73204
73204
|
if (subColumns && subColumns.length > 0) {
|
73205
73205
|
return [].concat(_toConsumableArray(list), _toConsumableArray(flatColumns(subColumns, mergedKey).map(function (subColum) {
|
73206
|
-
return _objectSpread2({
|
73206
|
+
return _objectSpread2$1({
|
73207
73207
|
fixed: parsedFixed
|
73208
73208
|
}, subColum);
|
73209
73209
|
})));
|
73210
73210
|
}
|
73211
|
-
return [].concat(_toConsumableArray(list), [_objectSpread2(_objectSpread2({
|
73211
|
+
return [].concat(_toConsumableArray(list), [_objectSpread2$1(_objectSpread2$1({
|
73212
73212
|
key: mergedKey
|
73213
73213
|
}, column), {}, {
|
73214
73214
|
fixed: parsedFixed
|
@@ -73227,7 +73227,7 @@ function revertForRtl(columns) {
|
|
73227
73227
|
} else if (fixed === 'right') {
|
73228
73228
|
parsedFixed = 'left';
|
73229
73229
|
}
|
73230
|
-
return _objectSpread2({
|
73230
|
+
return _objectSpread2$1({
|
73231
73231
|
fixed: parsedFixed
|
73232
73232
|
}, restProps);
|
73233
73233
|
});
|
@@ -73746,13 +73746,13 @@ var StickyScrollBar = function StickyScrollBar(_ref, ref) {
|
|
73746
73746
|
var currentClientOffset = container === window ? document.documentElement.scrollTop + window.innerHeight : getOffset(container).top + container.clientHeight;
|
73747
73747
|
if (tableBottomOffset - getScrollBarSize() <= currentClientOffset || tableOffsetTop >= currentClientOffset - offsetScroll) {
|
73748
73748
|
setScrollState(function (state) {
|
73749
|
-
return _objectSpread2(_objectSpread2({}, state), {}, {
|
73749
|
+
return _objectSpread2$1(_objectSpread2$1({}, state), {}, {
|
73750
73750
|
isHiddenScrollBar: true
|
73751
73751
|
});
|
73752
73752
|
});
|
73753
73753
|
} else {
|
73754
73754
|
setScrollState(function (state) {
|
73755
|
-
return _objectSpread2(_objectSpread2({}, state), {}, {
|
73755
|
+
return _objectSpread2$1(_objectSpread2$1({}, state), {}, {
|
73756
73756
|
isHiddenScrollBar: false
|
73757
73757
|
});
|
73758
73758
|
});
|
@@ -73761,7 +73761,7 @@ var StickyScrollBar = function StickyScrollBar(_ref, ref) {
|
|
73761
73761
|
};
|
73762
73762
|
var setScrollLeft = function setScrollLeft(left) {
|
73763
73763
|
setScrollState(function (state) {
|
73764
|
-
return _objectSpread2(_objectSpread2({}, state), {}, {
|
73764
|
+
return _objectSpread2$1(_objectSpread2$1({}, state), {}, {
|
73765
73765
|
scrollLeft: left / bodyScrollWidth * bodyWidth || 0
|
73766
73766
|
});
|
73767
73767
|
});
|
@@ -73796,7 +73796,7 @@ var StickyScrollBar = function StickyScrollBar(_ref, ref) {
|
|
73796
73796
|
if (!bodyNode) {
|
73797
73797
|
return state;
|
73798
73798
|
}
|
73799
|
-
return _objectSpread2(_objectSpread2({}, state), {}, {
|
73799
|
+
return _objectSpread2$1(_objectSpread2$1({}, state), {}, {
|
73800
73800
|
scrollLeft: bodyNode.scrollLeft / bodyNode.scrollWidth * bodyNode.clientWidth
|
73801
73801
|
});
|
73802
73802
|
});
|
@@ -73835,7 +73835,7 @@ function defaultEmpty() {
|
|
73835
73835
|
return 'No Data';
|
73836
73836
|
}
|
73837
73837
|
function Table$1(tableProps, ref) {
|
73838
|
-
var props = _objectSpread2({
|
73838
|
+
var props = _objectSpread2$1({
|
73839
73839
|
rowKey: 'key',
|
73840
73840
|
prefixCls: DEFAULT_PREFIX,
|
73841
73841
|
emptyText: defaultEmpty
|
@@ -73921,7 +73921,7 @@ function Table$1(tableProps, ref) {
|
|
73921
73921
|
_React$useState2 = _slicedToArray$2(_React$useState, 2),
|
73922
73922
|
componentWidth = _React$useState2[0],
|
73923
73923
|
setComponentWidth = _React$useState2[1];
|
73924
|
-
var _useColumns = useColumns(_objectSpread2(_objectSpread2(_objectSpread2({}, props), expandableConfig), {}, {
|
73924
|
+
var _useColumns = useColumns(_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, props), expandableConfig), {}, {
|
73925
73925
|
expandable: !!expandableConfig.expandedRowRender,
|
73926
73926
|
columnTitle: expandableConfig.columnTitle,
|
73927
73927
|
expandedKeys: mergedExpandedKeys,
|
@@ -74291,12 +74291,12 @@ function Table$1(tableProps, ref) {
|
|
74291
74291
|
});
|
74292
74292
|
} else {
|
74293
74293
|
bodyContent = /*#__PURE__*/React__namespace.createElement("div", {
|
74294
|
-
style: _objectSpread2(_objectSpread2({}, scrollXStyle), scrollYStyle),
|
74294
|
+
style: _objectSpread2$1(_objectSpread2$1({}, scrollXStyle), scrollYStyle),
|
74295
74295
|
onScroll: onBodyScroll,
|
74296
74296
|
ref: scrollBodyRef,
|
74297
74297
|
className: classNames("".concat(prefixCls, "-body"))
|
74298
74298
|
}, /*#__PURE__*/React__namespace.createElement(TableComponent, _extends$y({
|
74299
|
-
style: _objectSpread2(_objectSpread2({}, scrollTableStyle), {}, {
|
74299
|
+
style: _objectSpread2$1(_objectSpread2$1({}, scrollTableStyle), {}, {
|
74300
74300
|
tableLayout: mergedTableLayout
|
74301
74301
|
})
|
74302
74302
|
}, ariaProps), captionElement, bodyColGroup, bodyTable, !fixFooter && summaryNode && /*#__PURE__*/React__namespace.createElement(Footer$1, {
|
@@ -74306,7 +74306,7 @@ function Table$1(tableProps, ref) {
|
|
74306
74306
|
}
|
74307
74307
|
|
74308
74308
|
// Fixed holder share the props
|
74309
|
-
var fixedHolderProps = _objectSpread2(_objectSpread2(_objectSpread2({
|
74309
|
+
var fixedHolderProps = _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({
|
74310
74310
|
noData: !mergedData.length,
|
74311
74311
|
maxContentScroll: horizonScroll && mergedScrollX === 'max-content'
|
74312
74312
|
}, headerProps), columnContext), {}, {
|
@@ -74332,12 +74332,12 @@ function Table$1(tableProps, ref) {
|
|
74332
74332
|
} else {
|
74333
74333
|
// >>>>>> Unique table
|
74334
74334
|
groupTableNode = /*#__PURE__*/React__namespace.createElement("div", {
|
74335
|
-
style: _objectSpread2(_objectSpread2({}, scrollXStyle), scrollYStyle),
|
74335
|
+
style: _objectSpread2$1(_objectSpread2$1({}, scrollXStyle), scrollYStyle),
|
74336
74336
|
className: classNames("".concat(prefixCls, "-content")),
|
74337
74337
|
onScroll: onInternalScroll,
|
74338
74338
|
ref: scrollBodyRef
|
74339
74339
|
}, /*#__PURE__*/React__namespace.createElement(TableComponent, _extends$y({
|
74340
|
-
style: _objectSpread2(_objectSpread2({}, scrollTableStyle), {}, {
|
74340
|
+
style: _objectSpread2$1(_objectSpread2$1({}, scrollTableStyle), {}, {
|
74341
74341
|
tableLayout: mergedTableLayout
|
74342
74342
|
})
|
74343
74343
|
}, ariaProps), captionElement, bodyColGroup, showHeader !== false && /*#__PURE__*/React__namespace.createElement(Header$1, _extends$y({}, headerProps, columnContext)), bodyTable, summaryNode && /*#__PURE__*/React__namespace.createElement(Footer$1, {
|
@@ -74489,7 +74489,7 @@ function VirtualCell(props) {
|
|
74489
74489
|
var marginOffset = colSpan > 1 ? colWidth - concatColWidth : 0;
|
74490
74490
|
|
74491
74491
|
// ========================== Style ===========================
|
74492
|
-
var mergedStyle = _objectSpread2(_objectSpread2(_objectSpread2({}, cellStyle), style), {}, {
|
74492
|
+
var mergedStyle = _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, cellStyle), style), {}, {
|
74493
74493
|
flex: "0 0 ".concat(concatColWidth, "px"),
|
74494
74494
|
width: "".concat(concatColWidth, "px"),
|
74495
74495
|
marginRight: marginOffset,
|
@@ -74539,7 +74539,7 @@ function VirtualCell(props) {
|
|
74539
74539
|
shouldCellUpdate: column.shouldCellUpdate
|
74540
74540
|
}, fixedInfo, {
|
74541
74541
|
appendNode: appendCellNode,
|
74542
|
-
additionalProps: _objectSpread2(_objectSpread2({}, additionalCellProps), {}, {
|
74542
|
+
additionalProps: _objectSpread2$1(_objectSpread2$1({}, additionalCellProps), {}, {
|
74543
74543
|
style: mergedStyle
|
74544
74544
|
}, cellSpan)
|
74545
74545
|
}));
|
@@ -74598,7 +74598,7 @@ var BodyLine = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
74598
74598
|
}
|
74599
74599
|
|
74600
74600
|
// ========================== Render ==========================
|
74601
|
-
var rowStyle = _objectSpread2(_objectSpread2({}, style), {}, {
|
74601
|
+
var rowStyle = _objectSpread2$1(_objectSpread2$1({}, style), {}, {
|
74602
74602
|
width: scrollX
|
74603
74603
|
});
|
74604
74604
|
if (extra) {
|
@@ -74609,7 +74609,7 @@ var BodyLine = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) {
|
|
74609
74609
|
"data-row-key": rowKey,
|
74610
74610
|
ref: rowSupportExpand ? null : ref,
|
74611
74611
|
className: classNames(className, "".concat(prefixCls, "-row"), rowProps === null || rowProps === void 0 ? void 0 : rowProps.className, _defineProperty$1({}, "".concat(prefixCls, "-row-extra"), extra)),
|
74612
|
-
style: _objectSpread2(_objectSpread2({}, rowStyle), rowProps === null || rowProps === void 0 ? void 0 : rowProps.style)
|
74612
|
+
style: _objectSpread2$1(_objectSpread2$1({}, rowStyle), rowProps === null || rowProps === void 0 ? void 0 : rowProps.style)
|
74613
74613
|
}), flattenColumns.map(function (column, colIndex) {
|
74614
74614
|
return /*#__PURE__*/React__namespace.createElement(VirtualCell, {
|
74615
74615
|
key: colIndex,
|
@@ -74945,10 +74945,10 @@ function VirtualTable(props, ref) {
|
|
74945
74945
|
value: context
|
74946
74946
|
}, /*#__PURE__*/React__namespace.createElement(ImmutableTable, _extends$y({}, props, {
|
74947
74947
|
className: classNames(className, "".concat(prefixCls, "-virtual")),
|
74948
|
-
scroll: _objectSpread2(_objectSpread2({}, scroll), {}, {
|
74948
|
+
scroll: _objectSpread2$1(_objectSpread2$1({}, scroll), {}, {
|
74949
74949
|
x: scrollX
|
74950
74950
|
}),
|
74951
|
-
components: _objectSpread2(_objectSpread2({}, components), {}, {
|
74951
|
+
components: _objectSpread2$1(_objectSpread2$1({}, components), {}, {
|
74952
74952
|
// fix https://github.com/ant-design/ant-design/issues/48991
|
74953
74953
|
body: data !== null && data !== void 0 && data.length ? renderBody : undefined
|
74954
74954
|
}),
|
@@ -75201,7 +75201,7 @@ var InternalTreeNode = /*#__PURE__*/function (_React$Component) {
|
|
75201
75201
|
var switcherIcon = switcherIconFromProps || switcherIconFromCtx;
|
75202
75202
|
// if switcherIconDom is null, no render switcher span
|
75203
75203
|
if (typeof switcherIcon === 'function') {
|
75204
|
-
return switcherIcon(_objectSpread2(_objectSpread2({}, _this.props), {}, {
|
75204
|
+
return switcherIcon(_objectSpread2$1(_objectSpread2$1({}, _this.props), {}, {
|
75205
75205
|
isLeaf: isLeaf
|
75206
75206
|
}));
|
75207
75207
|
}
|
@@ -77120,7 +77120,7 @@ var Tree$2 = /*#__PURE__*/function (_React$Component) {
|
|
77120
77120
|
});
|
77121
77121
|
_this.cleanDragState();
|
77122
77122
|
if (dropTargetKey === null) return;
|
77123
|
-
var abstractDropNodeProps = _objectSpread2(_objectSpread2({}, getTreeNodeProps(dropTargetKey, _this.getTreeNodeRequiredProps())), {}, {
|
77123
|
+
var abstractDropNodeProps = _objectSpread2$1(_objectSpread2$1({}, getTreeNodeProps(dropTargetKey, _this.getTreeNodeRequiredProps())), {}, {
|
77124
77124
|
active: ((_this$getActiveItem = _this.getActiveItem()) === null || _this$getActiveItem === void 0 ? void 0 : _this$getActiveItem.key) === dropTargetKey,
|
77125
77125
|
data: getEntity(_this.state.keyEntities, dropTargetKey).node
|
77126
77126
|
});
|
@@ -77169,7 +77169,7 @@ var Tree$2 = /*#__PURE__*/function (_React$Component) {
|
|
77169
77169
|
var node = flattenNodes.filter(function (nodeItem) {
|
77170
77170
|
return nodeItem.key === key;
|
77171
77171
|
})[0];
|
77172
|
-
var eventNode = convertNodePropsToEventData(_objectSpread2(_objectSpread2({}, getTreeNodeProps(key, _this.getTreeNodeRequiredProps())), {}, {
|
77172
|
+
var eventNode = convertNodePropsToEventData(_objectSpread2$1(_objectSpread2$1({}, getTreeNodeProps(key, _this.getTreeNodeRequiredProps())), {}, {
|
77173
77173
|
data: node.data
|
77174
77174
|
}));
|
77175
77175
|
_this.setExpandedKeys(expanded ? arrDel(expandedKeys, key) : arrAdd(expandedKeys, key));
|
@@ -77613,7 +77613,7 @@ var Tree$2 = /*#__PURE__*/function (_React$Component) {
|
|
77613
77613
|
if (activeItem && activeItem.data) {
|
77614
77614
|
var treeNodeRequiredProps = _this.getTreeNodeRequiredProps();
|
77615
77615
|
var expandable = activeItem.data.isLeaf === false || !!(activeItem.data[fieldNames.children] || []).length;
|
77616
|
-
var eventNode = convertNodePropsToEventData(_objectSpread2(_objectSpread2({}, getTreeNodeProps(activeKey, treeNodeRequiredProps)), {}, {
|
77616
|
+
var eventNode = convertNodePropsToEventData(_objectSpread2$1(_objectSpread2$1({}, getTreeNodeProps(activeKey, treeNodeRequiredProps)), {}, {
|
77617
77617
|
data: activeItem.data,
|
77618
77618
|
active: true
|
77619
77619
|
}));
|
@@ -77676,7 +77676,7 @@ var Tree$2 = /*#__PURE__*/function (_React$Component) {
|
|
77676
77676
|
newState[name] = state[name];
|
77677
77677
|
});
|
77678
77678
|
if (needSync && (!atomic || allPassed)) {
|
77679
|
-
_this.setState(_objectSpread2(_objectSpread2({}, newState), forceState));
|
77679
|
+
_this.setState(_objectSpread2$1(_objectSpread2$1({}, newState), forceState));
|
77680
77680
|
}
|
77681
77681
|
}
|
77682
77682
|
});
|
@@ -77902,7 +77902,7 @@ var Tree$2 = /*#__PURE__*/function (_React$Component) {
|
|
77902
77902
|
var entitiesMap = convertDataToEntities(treeData, {
|
77903
77903
|
fieldNames: fieldNames
|
77904
77904
|
});
|
77905
|
-
newState.keyEntities = _objectSpread2(_defineProperty$1({}, MOTION_KEY, MotionEntity), entitiesMap.keyEntities);
|
77905
|
+
newState.keyEntities = _objectSpread2$1(_defineProperty$1({}, MOTION_KEY, MotionEntity), entitiesMap.keyEntities);
|
77906
77906
|
|
77907
77907
|
// Warning if treeNode not provide key
|
77908
77908
|
{
|
@@ -77915,7 +77915,7 @@ var Tree$2 = /*#__PURE__*/function (_React$Component) {
|
|
77915
77915
|
if (needSync('expandedKeys') || prevProps && needSync('autoExpandParent')) {
|
77916
77916
|
newState.expandedKeys = props.autoExpandParent || !prevProps && props.defaultExpandParent ? conductExpandParent(props.expandedKeys, keyEntities) : props.expandedKeys;
|
77917
77917
|
} else if (!prevProps && props.defaultExpandAll) {
|
77918
|
-
var cloneKeyEntities = _objectSpread2({}, keyEntities);
|
77918
|
+
var cloneKeyEntities = _objectSpread2$1({}, keyEntities);
|
77919
77919
|
delete cloneKeyEntities[MOTION_KEY];
|
77920
77920
|
|
77921
77921
|
// Only take the key who has the children to enhance the performance
|
@@ -81458,7 +81458,7 @@ const InternalTable = (props, ref) => {
|
|
81458
81458
|
}, [baseColumns, screens]);
|
81459
81459
|
const tableProps = omit$2(props, ['className', 'style', 'columns']);
|
81460
81460
|
const {
|
81461
|
-
locale: contextLocale = localeValues,
|
81461
|
+
locale: contextLocale = localeValues$1,
|
81462
81462
|
direction,
|
81463
81463
|
table,
|
81464
81464
|
renderEmpty,
|
@@ -81959,7 +81959,7 @@ var useCache = (function (values) {
|
|
81959
81959
|
|
81960
81960
|
// Save in cache
|
81961
81961
|
valueLabelsCache.set(value, mergedLabel);
|
81962
|
-
return _objectSpread2(_objectSpread2({}, item), {}, {
|
81962
|
+
return _objectSpread2$1(_objectSpread2$1({}, item), {}, {
|
81963
81963
|
label: mergedLabel
|
81964
81964
|
});
|
81965
81965
|
});
|
@@ -82041,7 +82041,7 @@ var useDataEntities = (function (treeData, fieldNames) {
|
|
82041
82041
|
var collection = convertDataToEntities(treeData, {
|
82042
82042
|
fieldNames: fieldNames,
|
82043
82043
|
initWrapper: function initWrapper(wrapper) {
|
82044
|
-
return _objectSpread2(_objectSpread2({}, wrapper), {}, {
|
82044
|
+
return _objectSpread2$1(_objectSpread2$1({}, wrapper), {}, {
|
82045
82045
|
valueEntities: new Map()
|
82046
82046
|
});
|
82047
82047
|
},
|
@@ -82081,7 +82081,7 @@ function convertChildrenToData(nodes) {
|
|
82081
82081
|
children = _ref$props.children,
|
82082
82082
|
value = _ref$props.value,
|
82083
82083
|
restProps = _objectWithoutProperties(_ref$props, _excluded$2);
|
82084
|
-
var data = _objectSpread2({
|
82084
|
+
var data = _objectSpread2$1({
|
82085
82085
|
key: key,
|
82086
82086
|
value: value
|
82087
82087
|
}, restProps);
|
@@ -82098,7 +82098,7 @@ function fillLegacyProps(dataNode) {
|
|
82098
82098
|
if (!dataNode) {
|
82099
82099
|
return dataNode;
|
82100
82100
|
}
|
82101
|
-
var cloneNode = _objectSpread2({}, dataNode);
|
82101
|
+
var cloneNode = _objectSpread2$1({}, dataNode);
|
82102
82102
|
if (!('props' in cloneNode)) {
|
82103
82103
|
Object.defineProperty(cloneNode, 'props', {
|
82104
82104
|
get: function get() {
|
@@ -82207,7 +82207,7 @@ var useFilterTreeData = (function (treeData, searchValue, _ref) {
|
|
82207
82207
|
var match = keepAll || filterOptionFunc(searchValue, fillLegacyProps(dataNode));
|
82208
82208
|
var childList = dig(children || [], match);
|
82209
82209
|
if (match || childList.length) {
|
82210
|
-
total.push(_objectSpread2(_objectSpread2({}, dataNode), {}, _defineProperty$1({
|
82210
|
+
total.push(_objectSpread2$1(_objectSpread2$1({}, dataNode), {}, _defineProperty$1({
|
82211
82211
|
isLeaf: undefined
|
82212
82212
|
}, fieldChildren, childList)));
|
82213
82213
|
}
|
@@ -82240,7 +82240,7 @@ function parseSimpleTreeData(treeData, _ref) {
|
|
82240
82240
|
|
82241
82241
|
// Fill in the map
|
82242
82242
|
var nodeList = treeData.map(function (node) {
|
82243
|
-
var clone = _objectSpread2({}, node);
|
82243
|
+
var clone = _objectSpread2$1({}, node);
|
82244
82244
|
var key = clone[id];
|
82245
82245
|
keyNodes[key] = clone;
|
82246
82246
|
clone.key = clone.key || key;
|
@@ -82273,7 +82273,7 @@ function parseSimpleTreeData(treeData, _ref) {
|
|
82273
82273
|
function useTreeData(treeData, children, simpleMode) {
|
82274
82274
|
return React__namespace.useMemo(function () {
|
82275
82275
|
if (treeData) {
|
82276
|
-
return simpleMode ? parseSimpleTreeData(treeData, _objectSpread2({
|
82276
|
+
return simpleMode ? parseSimpleTreeData(treeData, _objectSpread2$1({
|
82277
82277
|
id: 'id',
|
82278
82278
|
pId: 'pId',
|
82279
82279
|
rootPId: null
|
@@ -82863,7 +82863,7 @@ var TreeSelect$1 = /*#__PURE__*/React__namespace.forwardRef(function (props, ref
|
|
82863
82863
|
}
|
82864
82864
|
return rawDisplayValues.map(function (item) {
|
82865
82865
|
var _item$label;
|
82866
|
-
return _objectSpread2(_objectSpread2({}, item), {}, {
|
82866
|
+
return _objectSpread2$1(_objectSpread2$1({}, item), {}, {
|
82867
82867
|
label: (_item$label = item.label) !== null && _item$label !== void 0 ? _item$label : item.value
|
82868
82868
|
});
|
82869
82869
|
});
|
@@ -84045,7 +84045,7 @@ var AjaxUploader = /*#__PURE__*/function (_Component) {
|
|
84045
84045
|
} // https://github.com/ant-design/ant-design/issues/19948
|
84046
84046
|
,
|
84047
84047
|
key: this.state.uid,
|
84048
|
-
style: _objectSpread2({
|
84048
|
+
style: _objectSpread2$1({
|
84049
84049
|
display: 'none'
|
84050
84050
|
}, styles.input),
|
84051
84051
|
className: classNames$1.input,
|
@@ -85390,7 +85390,7 @@ const InternalUpload = (props, ref) => {
|
|
85390
85390
|
}
|
85391
85391
|
const wrapperCls = `${prefixCls}-wrapper`;
|
85392
85392
|
const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls, wrapperCls);
|
85393
|
-
const [contextLocale] = useLocale$1('Upload', localeValues.Upload);
|
85393
|
+
const [contextLocale] = useLocale$1('Upload', localeValues$1.Upload);
|
85394
85394
|
const {
|
85395
85395
|
showRemoveIcon,
|
85396
85396
|
showPreviewIcon,
|
@@ -134051,7 +134051,7 @@ if (!Math.hypot) Math.hypot = function () {
|
|
134051
134051
|
return Math.sqrt(y);
|
134052
134052
|
};
|
134053
134053
|
|
134054
|
-
var common = /*#__PURE__*/Object.freeze({
|
134054
|
+
var common$1 = /*#__PURE__*/Object.freeze({
|
134055
134055
|
__proto__: null,
|
134056
134056
|
get ARRAY_TYPE () { return ARRAY_TYPE; },
|
134057
134057
|
EPSILON: EPSILON$1,
|
@@ -141665,7 +141665,7 @@ var vec2 = /*#__PURE__*/Object.freeze({
|
|
141665
141665
|
|
141666
141666
|
var esm$1 = /*#__PURE__*/Object.freeze({
|
141667
141667
|
__proto__: null,
|
141668
|
-
glMatrix: common,
|
141668
|
+
glMatrix: common$1,
|
141669
141669
|
mat2: mat2,
|
141670
141670
|
mat2d: mat2d,
|
141671
141671
|
mat3: mat3,
|
@@ -166382,8 +166382,8 @@ Object.defineProperty(queue, "__esModule", {
|
|
166382
166382
|
value: true
|
166383
166383
|
});
|
166384
166384
|
queue.default = void 0;
|
166385
|
-
var _linkedList = _interopRequireDefault$
|
166386
|
-
function _interopRequireDefault$
|
166385
|
+
var _linkedList = _interopRequireDefault$g(linkedList);
|
166386
|
+
function _interopRequireDefault$g(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
166387
166387
|
var Queue = /** @class */function () {
|
166388
166388
|
function Queue() {
|
166389
166389
|
this.linkedList = new _linkedList.default();
|
@@ -166509,9 +166509,9 @@ Object.defineProperty(bfs, "__esModule", {
|
|
166509
166509
|
value: true
|
166510
166510
|
});
|
166511
166511
|
bfs.default = void 0;
|
166512
|
-
var _queue = _interopRequireDefault$
|
166512
|
+
var _queue = _interopRequireDefault$f(queue);
|
166513
166513
|
var _util$d = util$3;
|
166514
|
-
function _interopRequireDefault$
|
166514
|
+
function _interopRequireDefault$f(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
166515
166515
|
/**
|
166516
166516
|
*
|
166517
166517
|
* @param callbacks
|
@@ -166858,12 +166858,12 @@ Object.defineProperty(detectCycle, "__esModule", {
|
|
166858
166858
|
value: true
|
166859
166859
|
});
|
166860
166860
|
detectCycle.detectAllUndirectedCycle = detectCycle.detectAllDirectedCycle = detectCycle.detectAllCycles = detectCycle.default = void 0;
|
166861
|
-
var _dfs = _interopRequireDefault$
|
166861
|
+
var _dfs = _interopRequireDefault$e(dfs$2);
|
166862
166862
|
var _connectedComponent = _interopRequireWildcard$1(connectedComponent);
|
166863
166863
|
var _util$a = util$3;
|
166864
166864
|
function _getRequireWildcardCache$1(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache$1 = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
166865
166865
|
function _interopRequireWildcard$1(obj, nodeInterop) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof$7(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache$1(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
166866
|
-
function _interopRequireDefault$
|
166866
|
+
function _interopRequireDefault$e(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
166867
166867
|
var detectDirectedCycle = function detectDirectedCycle(graphData) {
|
166868
166868
|
var cycle = null;
|
166869
166869
|
var _a = graphData.nodes,
|
@@ -167317,9 +167317,9 @@ Object.defineProperty(findPath$1, "__esModule", {
|
|
167317
167317
|
value: true
|
167318
167318
|
});
|
167319
167319
|
findPath$1.findShortestPath = findPath$1.findAllPath = void 0;
|
167320
|
-
var _dijkstra$1 = _interopRequireDefault$
|
167320
|
+
var _dijkstra$1 = _interopRequireDefault$d(dijkstra$2);
|
167321
167321
|
var _util$8 = util$3;
|
167322
|
-
function _interopRequireDefault$
|
167322
|
+
function _interopRequireDefault$d(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
167323
167323
|
var findShortestPath = function findShortestPath(graphData, start, end, directed, weightPropertyName) {
|
167324
167324
|
var _a = (0, _dijkstra$1.default)(graphData, start, directed, weightPropertyName),
|
167325
167325
|
length = _a.length,
|
@@ -167381,8 +167381,8 @@ Object.defineProperty(floydWarshall$2, "__esModule", {
|
|
167381
167381
|
value: true
|
167382
167382
|
});
|
167383
167383
|
floydWarshall$2.default = void 0;
|
167384
|
-
var _adjacentMatrix$2 = _interopRequireDefault$
|
167385
|
-
function _interopRequireDefault$
|
167384
|
+
var _adjacentMatrix$2 = _interopRequireDefault$c(adjacentMatrix);
|
167385
|
+
function _interopRequireDefault$c(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
167386
167386
|
var floydWarshall$1 = function floydWarshall(graphData, directed) {
|
167387
167387
|
var adjacentMatrix = (0, _adjacentMatrix$2.default)(graphData, directed);
|
167388
167388
|
var dist = [];
|
@@ -167420,9 +167420,9 @@ Object.defineProperty(labelPropagation$1, "__esModule", {
|
|
167420
167420
|
value: true
|
167421
167421
|
});
|
167422
167422
|
labelPropagation$1.default = void 0;
|
167423
|
-
var _adjacentMatrix$1 = _interopRequireDefault$
|
167423
|
+
var _adjacentMatrix$1 = _interopRequireDefault$b(adjacentMatrix);
|
167424
167424
|
var _util$7 = util$3;
|
167425
|
-
function _interopRequireDefault$
|
167425
|
+
function _interopRequireDefault$b(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
167426
167426
|
/**
|
167427
167427
|
* 标签传播算法
|
167428
167428
|
* @param graphData 图数据
|
@@ -167856,8 +167856,8 @@ Object.defineProperty(dataPreprocessing, "__esModule", {
|
|
167856
167856
|
dataPreprocessing.oneHot = dataPreprocessing.getDistance = dataPreprocessing.getAllKeyValueMap = dataPreprocessing.default = void 0;
|
167857
167857
|
var _util$5 = require$$0$4;
|
167858
167858
|
var _types = types$1;
|
167859
|
-
var _vector$1 = _interopRequireDefault$
|
167860
|
-
function _interopRequireDefault$
|
167859
|
+
var _vector$1 = _interopRequireDefault$a(vector);
|
167860
|
+
function _interopRequireDefault$a(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
167861
167861
|
/**
|
167862
167862
|
* 获取数据中所有的属性及其对应的值
|
167863
167863
|
* @param dataList 数据集
|
@@ -167975,11 +167975,11 @@ Object.defineProperty(louvain$1, "__esModule", {
|
|
167975
167975
|
});
|
167976
167976
|
louvain$1.default = void 0;
|
167977
167977
|
var _util$4 = require$$0$4;
|
167978
|
-
var _adjacentMatrix = _interopRequireDefault$
|
167979
|
-
var _vector = _interopRequireDefault$
|
167978
|
+
var _adjacentMatrix = _interopRequireDefault$9(adjacentMatrix);
|
167979
|
+
var _vector = _interopRequireDefault$9(vector);
|
167980
167980
|
var _nodeProperties = nodeProperties;
|
167981
167981
|
var _dataPreprocessing = dataPreprocessing;
|
167982
|
-
function _interopRequireDefault$
|
167982
|
+
function _interopRequireDefault$9(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
167983
167983
|
var getModularity = function getModularity(nodes, adjMatrix, ks, m) {
|
167984
167984
|
var length = adjMatrix.length;
|
167985
167985
|
var param = 2 * m;
|
@@ -168512,10 +168512,10 @@ Object.defineProperty(mts, "__esModule", {
|
|
168512
168512
|
value: true
|
168513
168513
|
});
|
168514
168514
|
mts.default = void 0;
|
168515
|
-
var _unionFind = _interopRequireDefault$
|
168516
|
-
var _binaryHeap = _interopRequireDefault$
|
168515
|
+
var _unionFind = _interopRequireDefault$8(unionFind);
|
168516
|
+
var _binaryHeap = _interopRequireDefault$8(binaryHeap);
|
168517
168517
|
var _util$3 = util$3;
|
168518
|
-
function _interopRequireDefault$
|
168518
|
+
function _interopRequireDefault$8(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
168519
168519
|
/**
|
168520
168520
|
* Prim algorithm,use priority queue,复杂度 O(E+V*logV), V: 节点数量,E: 边的数量
|
168521
168521
|
* refer: https://en.wikipedia.org/wiki/Prim%27s_algorithm
|
@@ -168634,9 +168634,9 @@ Object.defineProperty(pageRank$1, "__esModule", {
|
|
168634
168634
|
value: true
|
168635
168635
|
});
|
168636
168636
|
pageRank$1.default = void 0;
|
168637
|
-
var _degree = _interopRequireDefault$
|
168637
|
+
var _degree = _interopRequireDefault$7(degree$1);
|
168638
168638
|
var _util$2 = util$3;
|
168639
|
-
function _interopRequireDefault$
|
168639
|
+
function _interopRequireDefault$7(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
168640
168640
|
/**
|
168641
168641
|
* PageRank https://en.wikipedia.org/wiki/PageRank
|
168642
168642
|
* refer: https://github.com/anvaka/ngraph.pagerank
|
@@ -169504,11 +169504,11 @@ Object.defineProperty(gaddi, "__esModule", {
|
|
169504
169504
|
});
|
169505
169505
|
gaddi.default = void 0;
|
169506
169506
|
var _tslib = require$$0$5;
|
169507
|
-
var _floydWarshall = _interopRequireDefault$
|
169508
|
-
var _gSpan = _interopRequireDefault$
|
169509
|
-
var _dijkstra = _interopRequireDefault$
|
169507
|
+
var _floydWarshall = _interopRequireDefault$6(floydWarshall$2);
|
169508
|
+
var _gSpan = _interopRequireDefault$6(gSpan$1);
|
169509
|
+
var _dijkstra = _interopRequireDefault$6(dijkstra$2);
|
169510
169510
|
var _util = util$3;
|
169511
|
-
function _interopRequireDefault$
|
169511
|
+
function _interopRequireDefault$6(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
169512
169512
|
/**
|
169513
169513
|
* 为 graphData 中每个节点生成邻居单元数组
|
169514
169514
|
* @param graphData
|
@@ -170686,8 +170686,8 @@ Object.defineProperty(createWorker$1, "__esModule", {
|
|
170686
170686
|
});
|
170687
170687
|
createWorker$1.default = void 0;
|
170688
170688
|
var _constant$1 = constant$1;
|
170689
|
-
var _index = _interopRequireDefault$
|
170690
|
-
function _interopRequireDefault$
|
170689
|
+
var _index = _interopRequireDefault$5(index_worker);
|
170690
|
+
function _interopRequireDefault$5(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
170691
170691
|
/**
|
170692
170692
|
* 创建一个在worker中运行的算法
|
170693
170693
|
* @param type 算法类型
|
@@ -170725,9 +170725,9 @@ Object.defineProperty(workers, "__esModule", {
|
|
170725
170725
|
value: true
|
170726
170726
|
});
|
170727
170727
|
workers.pageRankAsync = workers.minimumSpanningTreeAsync = workers.louvainAsync = workers.labelPropagationAsync = workers.getOutDegreeAsync = workers.getNeighborsAsync = workers.getInDegreeAsync = workers.getDegreeAsync = workers.getAdjMatrixAsync = workers.floydWarshallAsync = workers.findShortestPathAsync = workers.findAllPathAsync = workers.dijkstraAsync = workers.detectCycleAsync = workers.detectAllUndirectedCycleAsync = workers.detectAllDirectedCycleAsync = workers.detectAllCyclesAsync = workers.connectedComponentAsync = workers.GADDIAsync = void 0;
|
170728
|
-
var _createWorker = _interopRequireDefault(createWorker$1);
|
170728
|
+
var _createWorker = _interopRequireDefault$4(createWorker$1);
|
170729
170729
|
var _constant = constant$1;
|
170730
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
170730
|
+
function _interopRequireDefault$4(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
170731
170731
|
/**
|
170732
170732
|
* @param graphData 图数据
|
170733
170733
|
* @param directed 是否为有向图
|
@@ -240625,11 +240625,391 @@ var zhCn = {exports: {}};
|
|
240625
240625
|
!function(e,_){module.exports=_(dayjs_minExports);}(commonjsGlobal,(function(e){function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,_){return "W"===_?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,_){var t=100*e+_;return t<600?"凌晨":t<900?"早上":t<1100?"上午":t<1300?"中午":t<1800?"下午":"晚上"}};return t.default.locale(d,null,!0),d}));
|
240626
240626
|
} (zhCn));
|
240627
240627
|
|
240628
|
-
var css_248z$s = ".ant-app {\n width: 100%;\n height: 100%;\n}\n.icos-desktop-components .ant-breadcrumb ol > li .ant-breadcrumb-link {\n color: rgba(255, 255, 255, 0.65);\n}\n.icos-desktop-components .ant-breadcrumb ol > li:last-child .ant-breadcrumb-link {\n color: rgba(255, 255, 255, 0.85);\n}\n.icos-desktop-components .ant-btn-primary {\n background: rgba(0, 255, 255, 0.3);\n border: 1px solid rgba(0, 255, 255, 0.6);\n color: #fff;\n box-shadow: none;\n}\n.icos-desktop-components .ant-btn-primary:not(:disabled):not(.ant-btn-disabled):hover {\n background: rgba(0, 255, 255, 0.6);\n border-color: rgba(0, 255, 255, 0.6);\n}\n.icos-desktop-components .ant-btn-primary:disabled,\n.icos-desktop-components .ant-btn-primary.ant-btn-disabled {\n background: linear-gradient(0deg, rgba(255, 253, 253, 0.2) 0%, rgba(255, 253, 253, 0.2) 100%), rgba(0, 255, 255, 0.3);\n border-color: rgba(0, 255, 255, 0.6);\n color: #fff;\n}\n.icos-desktop-components .ant-btn-default {\n background: rgba(221, 231, 255, 0.1);\n border: 1px solid rgba(221, 231, 255, 0.15);\n color: #fff;\n box-shadow: none;\n}\n.icos-desktop-components .ant-btn-default:not(:disabled):not(.ant-btn-disabled):hover {\n background: rgba(221, 231, 255, 0.1);\n border-color: #0FF;\n color: #0FF;\n}\n.icos-desktop-components .ant-btn-default:disabled,\n.icos-desktop-components .ant-btn-default.ant-btn-disabled {\n border-color: rgba(221, 231, 255, 0.15);\n background: linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%), rgba(221, 231, 255, 0.1);\n color: #fff;\n}\n.icos-desktop-components .ant-btn-text {\n color: #fff;\n}\n.icos-desktop-components .ant-btn-text:not(:disabled):not(.ant-btn-disabled):hover {\n background: none;\n}\n.icos-desktop-components .ant-btn-link {\n color: #00FEFE;\n}\n.icos-desktop-components .ant-btn-link:not(:disabled):not(.ant-btn-disabled):hover {\n color: #00FEFE;\n}\n.icos-desktop-components .ant-btn-link.ant-btn-dangerous {\n color: #F90;\n}\n.icos-desktop-components .ant-btn-link.ant-btn-dangerous:not(:disabled):not(.ant-btn-disabled):hover {\n color: #F90;\n}\n.icos-desktop-components .ant-btn .ant-btn-icon {\n transform: translateY(2px);\n}\n.icos-desktop-components .ant-cascader-dropdown .ant-cascader-menu {\n padding: 4px 0;\n}\n.icos-desktop-components .ant-cascader-dropdown .ant-cascader-menu .ant-cascader-menu-item {\n color: #fff;\n}\n.icos-desktop-components .ant-cascader-dropdown .ant-cascader-menu .ant-cascader-menu-item:hover {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-cascader-dropdown .ant-cascader-menu .ant-cascader-menu-item.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled) {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-cascader-dropdown .ant-cascader-menu .ant-cascader-menu-item.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-cascader-dropdown .ant-cascader-menu .ant-cascader-menu-item.ant-cascader-menu-item-disabled {\n color: rgba(255, 255, 255, 0.25);\n}\n.icos-desktop-components .ant-cascader-dropdown .ant-cascader-menu .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner {\n --ant-color-text: #fff;\n --ant-color-text-disabled: rgba(255, 255, 255, 0.25);\n --ant-color-primary: #F90;\n --ant-color-primary-hover: #F90;\n --ant-color-border: rgba(221, 231, 255, 0.35);\n --ant-color-bg-container: transparent;\n --ant-color-bg-container-disabled: rgba(255, 255, 255, 0.08);\n}\n.icos-desktop-components .ant-checkbox-css-var,\n.icos-desktop-components .ant-checkbox-inner {\n --ant-color-text: #fff;\n --ant-color-text-disabled: rgba(255, 255, 255, 0.25);\n --ant-color-primary: #F90;\n --ant-color-primary-hover: #F90;\n --ant-color-border: rgba(221, 231, 255, 0.35);\n --ant-color-bg-container: transparent;\n --ant-color-bg-container-disabled: rgba(255, 255, 255, 0.08);\n}\n.icos-desktop-components .ant-collapse-borderless.ant-collapse-borderless > .ant-collapse-item {\n border: none;\n}\n.icos-desktop-components .ant-collapse.ant-collapse .ant-collapse-item {\n margin-bottom: 12px;\n}\n.icos-desktop-components .ant-collapse-borderless > .ant-collapse-item:last-child {\n border-radius: 2px;\n}\n.icos-desktop-components .ant-collapse-borderless.ant-collapse-borderless {\n background-color: transparent;\n}\n.icos-desktop-components .ant-collapse-ghost .ant-collapse-header:before {\n display: none;\n}\n.icos-desktop-components .ant-collapse.ant-collapse .ant-collapse-item {\n margin-bottom: 12px;\n}\n.icos-desktop-components .ant-collapse.ant-collapse .ant-collapse-item .ant-collapse-header {\n position: relative;\n flex-direction: row-reverse;\n padding: 8px 12px;\n background: linear-gradient(90deg, rgba(41, 200, 255, 0.32) -0.03%, rgba(60, 240, 225, 0.04) 99.84%);\n border-radius: 2px;\n}\n.icos-desktop-components .ant-collapse.ant-collapse .ant-collapse-item .ant-collapse-header:before {\n content: '';\n position: absolute;\n top: 11px;\n left: 0;\n height: 16px;\n width: 4px;\n background: #0FF;\n}\n.icos-desktop-components .ant-collapse.ant-collapse .ant-collapse-item .ant-collapse-header .ant-collapse-expand-icon {\n padding-right: 0;\n}\n.icos-desktop-components .ant-collapse.ant-collapse .ant-collapse-item .ant-collapse-header .ant-collapse-header-text {\n color: #FFF;\n font-size: 18px;\n font-style: normal;\n font-weight: 500;\n line-height: 18px;\n}\n.icos-desktop-components .ant-collapse.ant-collapse .ant-collapse-item .ant-collapse-content .ant-collapse-content-box {\n padding: 0 0 1px;\n}\n.icos-desktop-components .ant-picker {\n background-color: #0F366A;\n border-color: #0D5BAB;\n color: #fff;\n}\n.icos-desktop-components .ant-picker:hover {\n background-color: #0F366A;\n border-color: #0D5BAB;\n}\n.icos-desktop-components .ant-picker.ant-picker-focused {\n background-color: #0F366A;\n border-color: #0D5BAB;\n box-shadow: none;\n}\n.icos-desktop-components .ant-picker-dropdown .ant-picker-panel-container {\n background: #0F366A;\n box-shadow: 0 1px 0 0 #0D5BAB inset;\n}\n.icos-desktop-components .ant-picker-dropdown .ant-picker-panel-container .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,\n.icos-desktop-components .ant-picker-dropdown .ant-picker-panel-container .ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,\n.icos-desktop-components .ant-picker-dropdown .ant-picker-panel-container .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {\n background: rgba(0, 255, 255, 0.75);\n color: #fff;\n border-radius: 2px;\n}\n.icos-desktop-components .ant-picker-dropdown .ant-picker-panel-container .ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {\n border: 1px solid #0FF;\n border-radius: 2px;\n}\n.icos-desktop-components .ant-picker-dropdown .ant-picker-panel-container .ant-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {\n background: rgba(0, 255, 255, 0.75);\n color: #fff;\n}\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu {\n padding: 4px 0;\n background-color: #0F366A;\n box-shadow: 0 9px 28px 8px rgba(0, 0, 0, 0.05), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12);\n color: #fff;\n}\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item:not(.ant-dropdown-menu-item-disabled),\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-item:not(.ant-dropdown-menu-item-disabled),\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-submenu-title,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-submenu-title {\n color: #fff;\n}\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item:hover,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-item:hover,\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-submenu-title:hover,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-submenu-title:hover,\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item-active,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-item-active,\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-submenu-title-active,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-submenu-title-active {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item-selected,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-item-selected,\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-submenu-title-selected,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-submenu-title-selected {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title {\n color: #fff;\n}\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item-disabled,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-item-disabled,\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-submenu-disabled,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-submenu-disabled {\n --ant-color-text-disabled: rgba(255, 255, 255, 0.25);\n --ant-color-bg-elevated: transparent;\n}\n.icos-desktop-components .ant-input-affix-wrapper,\n.icos-desktop-components .ant-input {\n background-color: #0F366A;\n border-color: #0D5BAB;\n color: #fff;\n}\n.icos-desktop-components .ant-input-affix-wrapper:hover,\n.icos-desktop-components .ant-input:hover {\n background-color: #0F366A;\n border-color: #0D5BAB;\n}\n.icos-desktop-components .ant-input-affix-wrapper:focus,\n.icos-desktop-components .ant-input:focus,\n.icos-desktop-components .ant-input-affix-wrapper:focus-within,\n.icos-desktop-components .ant-input:focus-within {\n background-color: #0F366A;\n border-color: #0D5BAB;\n box-shadow: none;\n}\n.icos-desktop-components .ant-input-affix-wrapper.ant-input-affix-wrapper-disabled,\n.icos-desktop-components .ant-input.ant-input-affix-wrapper-disabled,\n.icos-desktop-components .ant-input-affix-wrapper.ant-input-affix-wrapper[disabled],\n.icos-desktop-components .ant-input.ant-input-affix-wrapper[disabled],\n.icos-desktop-components .ant-input-affix-wrapper.ant-input-disabled,\n.icos-desktop-components .ant-input.ant-input-disabled,\n.icos-desktop-components .ant-input-affix-wrapper.ant-input[disabled],\n.icos-desktop-components .ant-input.ant-input[disabled] {\n background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), #0F366A;\n border-color: #0D5BAB;\n color: #fff;\n}\n.icos-desktop-components .ant-input-affix-wrapper.ant-input-affix-wrapper-disabled:hover,\n.icos-desktop-components .ant-input.ant-input-affix-wrapper-disabled:hover,\n.icos-desktop-components .ant-input-affix-wrapper.ant-input-affix-wrapper[disabled]:hover,\n.icos-desktop-components .ant-input.ant-input-affix-wrapper[disabled]:hover,\n.icos-desktop-components .ant-input-affix-wrapper.ant-input-disabled:hover,\n.icos-desktop-components .ant-input.ant-input-disabled:hover,\n.icos-desktop-components .ant-input-affix-wrapper.ant-input[disabled]:hover,\n.icos-desktop-components .ant-input.ant-input[disabled]:hover {\n background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), #0F366A;\n border-color: #0D5BAB;\n color: #fff;\n}\n.icos-desktop-components .ant-input-affix-wrapper input::placeholder,\n.icos-desktop-components .ant-input input::placeholder,\n.icos-desktop-components .ant-input-affix-wrapperinput::placeholder,\n.icos-desktop-components .ant-inputinput::placeholder {\n color: rgba(255, 255, 255, 0.65);\n}\n.icos-desktop-components .ant-input.dt-input-colorful,\n.icos-desktop-components .ant-input-group-wrapper.dt-input-colorful {\n border-color: #18B1FE;\n background: linear-gradient(90deg, rgba(60, 125, 250, 0.32) -3.63%, rgba(60, 240, 225, 0.26) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.26) 100%);\n border-width: 1px;\n border-style: solid;\n}\n.icos-desktop-components .ant-input.dt-input-colorful .ant-input-affix-wrapper,\n.icos-desktop-components .ant-input-group-wrapper.dt-input-colorful .ant-input-affix-wrapper,\n.icos-desktop-components .ant-input.dt-input-colorful .ant-input,\n.icos-desktop-components .ant-input-group-wrapper.dt-input-colorful .ant-input,\n.icos-desktop-components .ant-input.dt-input-colorful .ant-input-group-addon,\n.icos-desktop-components .ant-input-group-wrapper.dt-input-colorful .ant-input-group-addon {\n background-color: transparent;\n border: none;\n}\n.icos-desktop-components .ant-input-search {\n background-color: #0F366A;\n border-color: #0D5BAB;\n color: #fff;\n border-width: 1px;\n border-style: solid;\n}\n.icos-desktop-components .ant-input-search .ant-input:hover,\n.icos-desktop-components .ant-input-search .ant-input:focus {\n border-color: #0D5BAB;\n}\n.icos-desktop-components .ant-input-search .ant-input-affix-wrapper,\n.icos-desktop-components .ant-input-search .ant-input,\n.icos-desktop-components .ant-input-search .ant-input-group-addon,\n.icos-desktop-components .ant-input-search .ant-input-search-button {\n background-color: transparent;\n border: none;\n}\n.icos-desktop-components .ant-input-search .ant-input-group .ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary) {\n color: rgba(255, 255, 255, 0.65);\n}\n.icos-desktop-components .ant-input-search .ant-input-group .ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary):hover {\n color: rgba(255, 255, 255, 0.65);\n background-color: transparent;\n}\n.icos-desktop-components .ant-input-outlined.ant-input-status-error:not(.ant-input-disabled) {\n --ant-color-bg-container: #0F366A;\n --ant-input-hover-bg: #0F366A;\n --ant-input-active-bg: #0F366A;\n --ant-color-error-border-hover: var(--ant-color-error);\n}\n.icos-desktop-components .ant-input-number-css-var {\n --ant-input-number-handle-border-color: #0D5BAB;\n --ant-input-number-handle-bg: #0F366A;\n}\n.icos-desktop-components .ant-input-number {\n background-color: #0F366A;\n border-color: #0D5BAB;\n color: #fff;\n}\n.icos-desktop-components .ant-input-number:hover {\n background-color: #0F366A;\n border-color: #0D5BAB;\n}\n.icos-desktop-components .ant-input-number:focus,\n.icos-desktop-components .ant-input-number:focus-within {\n background-color: #0F366A;\n border-color: #0D5BAB;\n box-shadow: none;\n}\n.icos-desktop-components .ant-pagination .ant-pagination-item {\n border: 1px solid rgba(221, 231, 255, 0.15);\n background-color: rgba(221, 231, 255, 0.1);\n}\n.icos-desktop-components .ant-pagination .ant-pagination-item.ant-pagination-item-active {\n border: 1px solid rgba(0, 255, 255, 0.6);\n background-color: rgba(0, 255, 255, 0.3);\n}\n.icos-desktop-components .ant-pagination .ant-pagination-item.ant-pagination-item-active a {\n color: #fff;\n}\n.icos-desktop-components .ant-pagination .ant-pagination-item.ant-pagination-item-active:hover a {\n color: #fff;\n}\n.icos-desktop-components .ant-pagination .ant-pagination-prev,\n.icos-desktop-components .ant-pagination .ant-pagination-next {\n border: 1px solid rgba(221, 231, 255, 0.15);\n background-color: rgba(221, 231, 255, 0.1);\n}\n.icos-desktop-components .ant-pagination .ant-pagination-prev .anticon,\n.icos-desktop-components .ant-pagination .ant-pagination-next .anticon {\n vertical-align: 0;\n}\n.icos-desktop-components .ant-pagination .ant-pagination-options .ant-select:not(.ant-select-customize-input) .ant-select-selector {\n border: 1px solid rgba(221, 231, 255, 0.15);\n background: rgba(221, 231, 255, 0.1);\n}\n.icos-desktop-components .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input {\n border: 1px solid rgba(221, 231, 255, 0.35);\n background: transparent;\n}\n.icos-desktop-components .ant-radio-css-var,\n.icos-desktop-components .ant-radio-inner {\n --ant-color-text: #fff;\n --ant-color-text-disabled: rgba(255, 255, 255, 0.25);\n --ant-color-primary: #F90;\n --ant-color-primary-hover: #F90;\n --ant-color-border: rgba(221, 231, 255, 0.35);\n --ant-color-bg-container: transparent;\n --ant-color-bg-container-disabled: rgba(255, 255, 255, 0.08);\n --ant-radio-radio-bg-color: #F90;\n}\n.icos-desktop-components .ant-select:not(.ant-select-customize-input) .ant-select-selector {\n background-color: #0F366A;\n border-color: #0D5BAB;\n color: #fff;\n}\n.icos-desktop-components .ant-select:not(.ant-select-customize-input):not(.ant-select-disabled):not(.ant-pagination-size-changer):hover .ant-select-selector {\n background-color: #0F366A;\n border-color: #0D5BAB;\n}\n.icos-desktop-components .ant-select:not(.ant-select-customize-input):not(.ant-select-disabled):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {\n background-color: #0F366A;\n border-color: #0D5BAB;\n box-shadow: none;\n}\n.icos-desktop-components .ant-select:not(.ant-select-customize-input).ant-select-disabled .ant-select-selector {\n background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), #0F366A;\n border-color: #0D5BAB;\n color: #fff;\n}\n.icos-desktop-components .ant-select-outlined.ant-select-status-error:not(.ant-select-customize-input) .ant-select-selector {\n background: #0F366A;\n}\n.icos-desktop-components .ant-select .ant-select-clear {\n background-color: #0F366A;\n}\n.icos-desktop-components .ant-select-dropdown {\n padding: 4px 0;\n background-color: #0F366A;\n box-shadow: 0 9px 28px 8px rgba(0, 0, 0, 0.05), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12);\n color: #fff;\n}\n.icos-desktop-components .ant-select-dropdown .ant-select-item:not(.ant-select-item-option-disabled) {\n color: #fff;\n}\n.icos-desktop-components .ant-select-dropdown .ant-select-item:not(.ant-select-item-option-disabled).ant-select-item-option-active {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-select-dropdown .ant-select-item:not(.ant-select-item-option-disabled).ant-select-item-option-selected {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-select-dropdown .ant-select-item.ant-select-item-option-disabled {\n color: rgba(255, 255, 255, 0.25);\n}\n.icos-desktop-components .ant-steps .ant-steps-item-process .ant-steps-item-icon {\n background-color: #0FF;\n border-color: #0FF;\n}\n.icos-desktop-components .ant-steps .ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon {\n color: #0F366A;\n font-family: \"Helvetica Neue\";\n font-size: 14px;\n font-weight: 500;\n}\n.icos-desktop-components .ant-steps .ant-steps-item-wait .ant-steps-item-icon {\n background-color: transparent;\n border-color: #0FF;\n}\n.icos-desktop-components .ant-steps .ant-steps-item-wait .ant-steps-item-icon > .ant-steps-icon {\n color: #0FF;\n font-family: \"Helvetica Neue\";\n font-size: 14px;\n font-weight: 500;\n}\n.icos-desktop-components .ant-steps .ant-steps-item-finish .ant-steps-item-icon {\n background-color: #0FF;\n border-color: #0FF;\n}\n.icos-desktop-components .ant-steps .ant-steps-item-finish .ant-steps-item-icon > .ant-steps-icon {\n color: #0F366A;\n}\n.icos-desktop-components .ant-steps .ant-steps-item-tail::after {\n background: rgba(255, 255, 255, 0.25) !important;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table {\n background: transparent;\n scrollbar-color: unset;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead > tr > th,\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead > tr > td {\n background: linear-gradient(270deg, rgba(69, 147, 255, 0.2) 72.24%, rgba(69, 147, 255, 0.2) 100%);\n border-bottom: none;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead > tr > th:before,\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead > tr > td:before {\n background-color: rgba(255, 255, 255, 0.25) !important;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead th.ant-table-column-has-sorters:hover::before {\n background-color: rgba(255, 255, 255, 0.25) !important;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead .ant-table-column-sorter-inner {\n align-items: baseline;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead .ant-table-column-sorter {\n color: rgba(255, 255, 255, 0.6);\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead .ant-table-column-sorter .ant-table-column-sorter-up.active,\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead .ant-table-column-sorter .ant-table-column-sorter-down.active {\n color: #0FF;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody > tr > th,\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody > tr > td {\n border-bottom: none;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody .ant-table-row.ant-table-row-selected .ant-table-cell {\n background: transparent;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody .ant-table-row:nth-child(2n + 1) {\n background: transparent;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody .ant-table-row:nth-child(2n) {\n background: linear-gradient(270deg, rgba(57, 107, 153, 0.2) -9.42%, rgba(57, 107, 153, 0.07) 98.86%);\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody .ant-table-row > .ant-table-cell-row-hover {\n background: transparent;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody .ant-table-row:hover {\n background: #094863;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody .ant-table-column-sort {\n background: transparent;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody > tr.ant-table-placeholder,\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody > tr.ant-table-placeholder:hover > th,\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody > tr.ant-table-placeholder:hover > td {\n background: transparent;\n}\n.icos-desktop-components .ant-tree {\n background: transparent;\n line-height: 40px;\n}\n.icos-desktop-components .ant-tree .ant-tree-switcher,\n.icos-desktop-components .ant-tree .ant-tree-node-content-wrapper {\n line-height: 40px;\n color: #fff;\n}\n.icos-desktop-components .ant-tree .ant-tree-switcher:not(.ant-tree-switcher-noop):hover {\n background: transparent;\n}\n.icos-desktop-components .ant-tree .ant-tree-treenode {\n display: flex;\n align-items: center;\n padding: 0 0 0 12px;\n}\n.icos-desktop-components .ant-tree .ant-tree-treenode .ant-tree-node-content-wrapper {\n display: flex;\n align-items: center;\n width: 0;\n}\n.icos-desktop-components .ant-tree .ant-tree-treenode .ant-tree-node-content-wrapper .ant-tree-iconEle {\n flex-shrink: 0;\n}\n.icos-desktop-components .ant-tree .ant-tree-treenode .ant-tree-node-content-wrapper .ant-tree-title {\n flex: auto;\n width: 0;\n max-width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.icos-desktop-components .ant-tree .ant-tree-checkbox {\n align-self: initial;\n}\n.icos-desktop-components .ant-tree .ant-tree-checkbox .ant-tree-checkbox-inner {\n --ant-color-text: #fff;\n --ant-color-text-disabled: rgba(255, 255, 255, 0.25);\n --ant-color-primary: #F90;\n --ant-color-primary-hover: #F90;\n --ant-color-border: rgba(221, 231, 255, 0.35);\n --ant-color-bg-container: transparent;\n --ant-color-bg-container-disabled: rgba(255, 255, 255, 0.08);\n}\n.icos-desktop-components .ant-tree.ant-tree-block-node .ant-tree-node-content-wrapper:hover,\n.icos-desktop-components .ant-tree.ant-tree-block-node .ant-tree-checkbox + span:hover,\n.icos-desktop-components .ant-tree.ant-tree-block-node .ant-tree-node-content-wrapper.ant-tree-node-selected,\n.icos-desktop-components .ant-tree.ant-tree-block-node .ant-tree-checkbox + span.ant-tree-node-selected {\n background-color: transparent;\n}\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree {\n width: 100%;\n background: transparent;\n}\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-treenode {\n padding: 4px 0;\n}\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-treenode .ant-select-tree-checkbox .ant-select-tree-checkbox-inner {\n --ant-color-text: #fff;\n --ant-color-text-disabled: rgba(255, 255, 255, 0.25);\n --ant-color-primary: #F90;\n --ant-color-primary-hover: #F90;\n --ant-color-border: rgba(221, 231, 255, 0.35);\n --ant-color-bg-container: transparent;\n --ant-color-bg-container-disabled: rgba(255, 255, 255, 0.08);\n}\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-treenode:hover {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-treenode.ant-select-tree-treenode-selected {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-treenode.ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper {\n color: rgba(255, 255, 255, 0.25);\n}\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-node-content-wrapper:hover,\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-checkbox + span:hover {\n background: transparent;\n}\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected,\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-checkbox + span.ant-select-tree-node-selected {\n background: transparent;\n}\n";
|
240628
|
+
var css_248z$s = ".ant-app {\n width: 100%;\n height: 100%;\n}\n.icos-desktop-components .ant-breadcrumb ol > li .ant-breadcrumb-link {\n color: rgba(255, 255, 255, 0.65);\n}\n.icos-desktop-components .ant-breadcrumb ol > li:last-child .ant-breadcrumb-link {\n color: rgba(255, 255, 255, 0.85);\n}\n.icos-desktop-components .ant-btn-primary {\n background: rgba(0, 255, 255, 0.3);\n border: 1px solid rgba(0, 255, 255, 0.6);\n color: #fff;\n box-shadow: none;\n}\n.icos-desktop-components .ant-btn-primary:not(:disabled):not(.ant-btn-disabled):hover {\n background: rgba(0, 255, 255, 0.6);\n border-color: rgba(0, 255, 255, 0.6);\n}\n.icos-desktop-components .ant-btn-primary:disabled,\n.icos-desktop-components .ant-btn-primary.ant-btn-disabled {\n background: linear-gradient(0deg, rgba(255, 253, 253, 0.2) 0%, rgba(255, 253, 253, 0.2) 100%), rgba(0, 255, 255, 0.3);\n border-color: rgba(0, 255, 255, 0.6);\n color: #fff;\n}\n.icos-desktop-components .ant-btn-default {\n background: rgba(221, 231, 255, 0.1);\n border: 1px solid rgba(221, 231, 255, 0.15);\n color: #fff;\n box-shadow: none;\n}\n.icos-desktop-components .ant-btn-default:not(:disabled):not(.ant-btn-disabled):hover {\n background: rgba(221, 231, 255, 0.1);\n border-color: #0FF;\n color: #0FF;\n}\n.icos-desktop-components .ant-btn-default:disabled,\n.icos-desktop-components .ant-btn-default.ant-btn-disabled {\n border-color: rgba(221, 231, 255, 0.15);\n background: linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%), rgba(221, 231, 255, 0.1);\n color: #fff;\n}\n.icos-desktop-components .ant-btn-text {\n color: #fff;\n}\n.icos-desktop-components .ant-btn-text:not(:disabled):not(.ant-btn-disabled):hover {\n background: none;\n}\n.icos-desktop-components .ant-btn-link {\n color: #00FEFE;\n}\n.icos-desktop-components .ant-btn-link:not(:disabled):not(.ant-btn-disabled):hover {\n color: #00FEFE;\n}\n.icos-desktop-components .ant-btn-link.ant-btn-dangerous {\n color: #F90;\n}\n.icos-desktop-components .ant-btn-link.ant-btn-dangerous:not(:disabled):not(.ant-btn-disabled):hover {\n color: #F90;\n}\n.icos-desktop-components .ant-btn .ant-btn-icon {\n transform: translateY(2px);\n}\n.icos-desktop-components .ant-cascader-dropdown .ant-cascader-menu {\n padding: 4px 0;\n}\n.icos-desktop-components .ant-cascader-dropdown .ant-cascader-menu .ant-cascader-menu-item {\n color: #fff;\n}\n.icos-desktop-components .ant-cascader-dropdown .ant-cascader-menu .ant-cascader-menu-item:hover {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-cascader-dropdown .ant-cascader-menu .ant-cascader-menu-item.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled) {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-cascader-dropdown .ant-cascader-menu .ant-cascader-menu-item.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-cascader-dropdown .ant-cascader-menu .ant-cascader-menu-item.ant-cascader-menu-item-disabled {\n color: rgba(255, 255, 255, 0.25);\n}\n.icos-desktop-components .ant-cascader-dropdown .ant-cascader-menu .ant-cascader-menu-item .ant-cascader-checkbox .ant-cascader-checkbox-inner {\n --ant-color-text: #fff;\n --ant-color-text-disabled: rgba(255, 255, 255, 0.25);\n --ant-color-primary: #F90;\n --ant-color-primary-hover: #F90;\n --ant-color-border: rgba(221, 231, 255, 0.35);\n --ant-color-bg-container: transparent;\n --ant-color-bg-container-disabled: rgba(255, 255, 255, 0.08);\n}\n.icos-desktop-components .ant-checkbox-css-var,\n.icos-desktop-components .ant-checkbox-inner {\n --ant-color-text: #fff;\n --ant-color-text-disabled: rgba(255, 255, 255, 0.25);\n --ant-color-primary: #F90;\n --ant-color-primary-hover: #F90;\n --ant-color-border: rgba(221, 231, 255, 0.35);\n --ant-color-bg-container: transparent;\n --ant-color-bg-container-disabled: rgba(255, 255, 255, 0.08);\n}\n.icos-desktop-components .ant-collapse-borderless.ant-collapse-borderless > .ant-collapse-item {\n border: none;\n}\n.icos-desktop-components .ant-collapse.ant-collapse .ant-collapse-item {\n margin-bottom: 12px;\n}\n.icos-desktop-components .ant-collapse-borderless > .ant-collapse-item:last-child {\n border-radius: 2px;\n}\n.icos-desktop-components .ant-collapse-borderless.ant-collapse-borderless {\n background-color: transparent;\n}\n.icos-desktop-components .ant-collapse-ghost .ant-collapse-header:before {\n display: none;\n}\n.icos-desktop-components .ant-collapse.ant-collapse .ant-collapse-item {\n margin-bottom: 12px;\n}\n.icos-desktop-components .ant-collapse.ant-collapse .ant-collapse-item .ant-collapse-header {\n position: relative;\n flex-direction: row-reverse;\n padding: 8px 12px;\n background: linear-gradient(90deg, rgba(41, 200, 255, 0.32) -0.03%, rgba(60, 240, 225, 0.04) 99.84%);\n border-radius: 2px;\n}\n.icos-desktop-components .ant-collapse.ant-collapse .ant-collapse-item .ant-collapse-header:before {\n content: '';\n position: absolute;\n top: 11px;\n left: 0;\n height: 16px;\n width: 4px;\n background: #0FF;\n}\n.icos-desktop-components .ant-collapse.ant-collapse .ant-collapse-item .ant-collapse-header .ant-collapse-expand-icon {\n padding-right: 0;\n}\n.icos-desktop-components .ant-collapse.ant-collapse .ant-collapse-item .ant-collapse-header .ant-collapse-header-text {\n color: #FFF;\n font-size: 18px;\n font-style: normal;\n font-weight: 500;\n line-height: 18px;\n}\n.icos-desktop-components .ant-collapse.ant-collapse .ant-collapse-item .ant-collapse-content .ant-collapse-content-box {\n padding: 0 0 1px;\n}\n.icos-desktop-components .ant-picker {\n background-color: #0F366A;\n border-color: #0D5BAB;\n color: #fff;\n}\n.icos-desktop-components .ant-picker:hover {\n background-color: #0F366A;\n border-color: #0D5BAB;\n}\n.icos-desktop-components .ant-picker.ant-picker-focused {\n background-color: #0F366A;\n border-color: #0D5BAB;\n box-shadow: none;\n}\n.icos-desktop-components .ant-picker-dropdown .ant-picker-panel-container {\n background: #0F366A;\n box-shadow: 0 1px 0 0 #0D5BAB inset;\n}\n.icos-desktop-components .ant-picker-dropdown .ant-picker-panel-container .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,\n.icos-desktop-components .ant-picker-dropdown .ant-picker-panel-container .ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,\n.icos-desktop-components .ant-picker-dropdown .ant-picker-panel-container .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {\n background: rgba(0, 255, 255, 0.75);\n color: #fff;\n border-radius: 2px;\n}\n.icos-desktop-components .ant-picker-dropdown .ant-picker-panel-container .ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {\n border: 1px solid #0FF;\n border-radius: 2px;\n}\n.icos-desktop-components .ant-picker-dropdown .ant-picker-panel-container .ant-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {\n background: rgba(0, 255, 255, 0.75);\n color: #fff;\n}\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu {\n padding: 4px 0;\n background-color: #0F366A;\n box-shadow: 0 9px 28px 8px rgba(0, 0, 0, 0.05), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12);\n color: #fff;\n}\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item:not(.ant-dropdown-menu-item-disabled),\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-item:not(.ant-dropdown-menu-item-disabled),\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-submenu-title,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-submenu-title {\n color: #fff;\n}\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item:hover,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-item:hover,\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-submenu-title:hover,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-submenu-title:hover,\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item-active,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-item-active,\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-submenu-title-active,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-submenu-title-active {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item-selected,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-item-selected,\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-submenu-title-selected,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-submenu-title-selected {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title {\n color: #fff;\n}\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item-disabled,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-item-disabled,\n.icos-desktop-components .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-submenu-disabled,\n.icos-desktop-components .ant-dropdown-menu-submenu .ant-dropdown-menu .ant-dropdown-menu-submenu-disabled {\n --ant-color-text-disabled: rgba(255, 255, 255, 0.25);\n --ant-color-bg-elevated: transparent;\n}\n.icos-desktop-components .ant-input-affix-wrapper,\n.icos-desktop-components .ant-input {\n background-color: #0F366A;\n border-color: #0D5BAB;\n color: #fff;\n}\n.icos-desktop-components .ant-input-affix-wrapper:hover,\n.icos-desktop-components .ant-input:hover {\n background-color: #0F366A;\n border-color: #0D5BAB;\n}\n.icos-desktop-components .ant-input-affix-wrapper:focus,\n.icos-desktop-components .ant-input:focus,\n.icos-desktop-components .ant-input-affix-wrapper:focus-within,\n.icos-desktop-components .ant-input:focus-within {\n background-color: #0F366A;\n border-color: #0D5BAB;\n box-shadow: none;\n}\n.icos-desktop-components .ant-input-affix-wrapper.ant-input-affix-wrapper-disabled,\n.icos-desktop-components .ant-input.ant-input-affix-wrapper-disabled,\n.icos-desktop-components .ant-input-affix-wrapper.ant-input-affix-wrapper[disabled],\n.icos-desktop-components .ant-input.ant-input-affix-wrapper[disabled],\n.icos-desktop-components .ant-input-affix-wrapper.ant-input-disabled,\n.icos-desktop-components .ant-input.ant-input-disabled,\n.icos-desktop-components .ant-input-affix-wrapper.ant-input[disabled],\n.icos-desktop-components .ant-input.ant-input[disabled] {\n background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), #0F366A;\n border-color: #0D5BAB;\n color: #fff;\n}\n.icos-desktop-components .ant-input-affix-wrapper.ant-input-affix-wrapper-disabled:hover,\n.icos-desktop-components .ant-input.ant-input-affix-wrapper-disabled:hover,\n.icos-desktop-components .ant-input-affix-wrapper.ant-input-affix-wrapper[disabled]:hover,\n.icos-desktop-components .ant-input.ant-input-affix-wrapper[disabled]:hover,\n.icos-desktop-components .ant-input-affix-wrapper.ant-input-disabled:hover,\n.icos-desktop-components .ant-input.ant-input-disabled:hover,\n.icos-desktop-components .ant-input-affix-wrapper.ant-input[disabled]:hover,\n.icos-desktop-components .ant-input.ant-input[disabled]:hover {\n background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), #0F366A;\n border-color: #0D5BAB;\n color: #fff;\n}\n.icos-desktop-components .ant-input-affix-wrapper input::placeholder,\n.icos-desktop-components .ant-input input::placeholder,\n.icos-desktop-components .ant-input-affix-wrapperinput::placeholder,\n.icos-desktop-components .ant-inputinput::placeholder {\n color: rgba(255, 255, 255, 0.65);\n}\n.icos-desktop-components .ant-input.dt-input-colorful,\n.icos-desktop-components .ant-input-group-wrapper.dt-input-colorful {\n border-color: #18B1FE;\n background: linear-gradient(90deg, rgba(60, 125, 250, 0.32) -3.63%, rgba(60, 240, 225, 0.26) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.26) 100%);\n border-width: 1px;\n border-style: solid;\n}\n.icos-desktop-components .ant-input.dt-input-colorful .ant-input-affix-wrapper,\n.icos-desktop-components .ant-input-group-wrapper.dt-input-colorful .ant-input-affix-wrapper,\n.icos-desktop-components .ant-input.dt-input-colorful .ant-input,\n.icos-desktop-components .ant-input-group-wrapper.dt-input-colorful .ant-input,\n.icos-desktop-components .ant-input.dt-input-colorful .ant-input-group-addon,\n.icos-desktop-components .ant-input-group-wrapper.dt-input-colorful .ant-input-group-addon {\n background-color: transparent;\n border: none;\n}\n.icos-desktop-components .ant-input-search {\n background-color: #0F366A;\n border-color: #0D5BAB;\n color: #fff;\n border-width: 1px;\n border-style: solid;\n}\n.icos-desktop-components .ant-input-search .ant-input:hover,\n.icos-desktop-components .ant-input-search .ant-input:focus {\n border-color: #0D5BAB;\n}\n.icos-desktop-components .ant-input-search .ant-input-affix-wrapper,\n.icos-desktop-components .ant-input-search .ant-input,\n.icos-desktop-components .ant-input-search .ant-input-group-addon,\n.icos-desktop-components .ant-input-search .ant-input-search-button {\n background-color: transparent;\n border: none;\n}\n.icos-desktop-components .ant-input-search .ant-input-group .ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary) {\n color: rgba(255, 255, 255, 0.65);\n}\n.icos-desktop-components .ant-input-search .ant-input-group .ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary):hover {\n color: rgba(255, 255, 255, 0.65);\n background-color: transparent;\n}\n.icos-desktop-components .ant-input-outlined.ant-input-status-error:not(.ant-input-disabled) {\n --ant-color-bg-container: #0F366A;\n --ant-input-hover-bg: #0F366A;\n --ant-input-active-bg: #0F366A;\n --ant-color-error-border-hover: var(--ant-color-error);\n}\n.icos-desktop-components .ant-input-number-css-var {\n --ant-input-number-handle-border-color: #0D5BAB;\n --ant-input-number-handle-bg: #0F366A;\n}\n.icos-desktop-components .ant-input-number {\n background-color: #0F366A;\n border-color: #0D5BAB;\n color: #fff;\n}\n.icos-desktop-components .ant-input-number:hover {\n background-color: #0F366A;\n border-color: #0D5BAB;\n}\n.icos-desktop-components .ant-input-number:focus,\n.icos-desktop-components .ant-input-number:focus-within {\n background-color: #0F366A;\n border-color: #0D5BAB;\n box-shadow: none;\n}\n.icos-desktop-components .ant-pagination {\n color: rgba(255, 255, 255, 0.85);\n}\n.icos-desktop-components .ant-pagination .ant-pagination-item {\n border: 1px solid rgba(221, 231, 255, 0.15);\n background-color: rgba(221, 231, 255, 0.1);\n}\n.icos-desktop-components .ant-pagination .ant-pagination-item.ant-pagination-item-active {\n border: 1px solid rgba(0, 255, 255, 0.6);\n background-color: rgba(0, 255, 255, 0.3);\n}\n.icos-desktop-components .ant-pagination .ant-pagination-item.ant-pagination-item-active a {\n color: #fff;\n}\n.icos-desktop-components .ant-pagination .ant-pagination-item.ant-pagination-item-active:hover a {\n color: #fff;\n}\n.icos-desktop-components .ant-pagination .ant-pagination-prev,\n.icos-desktop-components .ant-pagination .ant-pagination-next {\n border: 1px solid rgba(221, 231, 255, 0.15);\n background-color: rgba(221, 231, 255, 0.1);\n}\n.icos-desktop-components .ant-pagination .ant-pagination-prev .anticon,\n.icos-desktop-components .ant-pagination .ant-pagination-next .anticon {\n vertical-align: 0;\n}\n.icos-desktop-components .ant-pagination .ant-pagination-options .ant-select:not(.ant-select-customize-input) .ant-select-selector {\n border: 1px solid rgba(221, 231, 255, 0.15);\n background: rgba(221, 231, 255, 0.1);\n}\n.icos-desktop-components .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input {\n border: 1px solid rgba(221, 231, 255, 0.35);\n background: transparent;\n}\n.icos-desktop-components .ant-radio-css-var,\n.icos-desktop-components .ant-radio-inner {\n --ant-color-text: #fff;\n --ant-color-text-disabled: rgba(255, 255, 255, 0.25);\n --ant-color-primary: #F90;\n --ant-color-primary-hover: #F90;\n --ant-color-border: rgba(221, 231, 255, 0.35);\n --ant-color-bg-container: transparent;\n --ant-color-bg-container-disabled: rgba(255, 255, 255, 0.08);\n --ant-radio-radio-bg-color: #F90;\n}\n.icos-desktop-components .ant-select:not(.ant-select-customize-input) .ant-select-selector {\n background-color: #0F366A;\n border-color: #0D5BAB;\n color: #fff;\n}\n.icos-desktop-components .ant-select:not(.ant-select-customize-input):not(.ant-select-disabled):not(.ant-pagination-size-changer):hover .ant-select-selector {\n background-color: #0F366A;\n border-color: #0D5BAB;\n}\n.icos-desktop-components .ant-select:not(.ant-select-customize-input):not(.ant-select-disabled):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {\n background-color: #0F366A;\n border-color: #0D5BAB;\n box-shadow: none;\n}\n.icos-desktop-components .ant-select:not(.ant-select-customize-input).ant-select-disabled .ant-select-selector {\n background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), #0F366A;\n border-color: #0D5BAB;\n color: #fff;\n}\n.icos-desktop-components .ant-select-outlined.ant-select-status-error:not(.ant-select-customize-input) .ant-select-selector {\n background: #0F366A;\n}\n.icos-desktop-components .ant-select .ant-select-clear {\n background-color: #0F366A;\n}\n.icos-desktop-components .ant-select-dropdown {\n padding: 4px 0;\n background-color: #0F366A;\n box-shadow: 0 9px 28px 8px rgba(0, 0, 0, 0.05), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12);\n color: #fff;\n}\n.icos-desktop-components .ant-select-dropdown .ant-select-item:not(.ant-select-item-option-disabled) {\n color: #fff;\n}\n.icos-desktop-components .ant-select-dropdown .ant-select-item:not(.ant-select-item-option-disabled).ant-select-item-option-active {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-select-dropdown .ant-select-item:not(.ant-select-item-option-disabled).ant-select-item-option-selected {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-select-dropdown .ant-select-item.ant-select-item-option-disabled {\n color: rgba(255, 255, 255, 0.25);\n}\n.icos-desktop-components .ant-steps .ant-steps-item-process .ant-steps-item-icon {\n background-color: #0FF;\n border-color: #0FF;\n}\n.icos-desktop-components .ant-steps .ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon {\n color: #0F366A;\n font-family: \"Helvetica Neue\";\n font-size: 14px;\n font-weight: 500;\n}\n.icos-desktop-components .ant-steps .ant-steps-item-wait .ant-steps-item-icon {\n background-color: transparent;\n border-color: #0FF;\n}\n.icos-desktop-components .ant-steps .ant-steps-item-wait .ant-steps-item-icon > .ant-steps-icon {\n color: #0FF;\n font-family: \"Helvetica Neue\";\n font-size: 14px;\n font-weight: 500;\n}\n.icos-desktop-components .ant-steps .ant-steps-item-finish .ant-steps-item-icon {\n background-color: #0FF;\n border-color: #0FF;\n}\n.icos-desktop-components .ant-steps .ant-steps-item-finish .ant-steps-item-icon > .ant-steps-icon {\n color: #0F366A;\n}\n.icos-desktop-components .ant-steps .ant-steps-item-tail::after {\n background: rgba(255, 255, 255, 0.25) !important;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table {\n background: transparent;\n scrollbar-color: unset;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead > tr > th,\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead > tr > td {\n background: linear-gradient(270deg, rgba(69, 147, 255, 0.2) 72.24%, rgba(69, 147, 255, 0.2) 100%);\n border-bottom: none;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead > tr > th:before,\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead > tr > td:before {\n background-color: rgba(255, 255, 255, 0.25) !important;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead th.ant-table-column-has-sorters:hover::before {\n background-color: rgba(255, 255, 255, 0.25) !important;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead .ant-table-column-sorter-inner {\n align-items: baseline;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead .ant-table-column-sorter {\n color: rgba(255, 255, 255, 0.6);\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead .ant-table-column-sorter .ant-table-column-sorter-up.active,\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-thead .ant-table-column-sorter .ant-table-column-sorter-down.active {\n color: #0FF;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody > tr > th,\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody > tr > td {\n border-bottom: none;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody .ant-table-row.ant-table-row-selected .ant-table-cell {\n background: transparent;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody .ant-table-row:nth-child(2n + 1) {\n background: transparent;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody .ant-table-row:nth-child(2n) {\n background: linear-gradient(270deg, rgba(57, 107, 153, 0.2) -9.42%, rgba(57, 107, 153, 0.07) 98.86%);\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody .ant-table-row > .ant-table-cell-row-hover {\n background: transparent;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody .ant-table-row:hover {\n background: #094863;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody .ant-table-column-sort {\n background: transparent;\n}\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody > tr.ant-table-placeholder,\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody > tr.ant-table-placeholder:hover > th,\n.icos-desktop-components .ant-table-wrapper .ant-table .ant-table-tbody > tr.ant-table-placeholder:hover > td {\n background: transparent;\n}\n.icos-desktop-components .ant-tree {\n background: transparent;\n line-height: 40px;\n}\n.icos-desktop-components .ant-tree .ant-tree-switcher,\n.icos-desktop-components .ant-tree .ant-tree-node-content-wrapper {\n line-height: 40px;\n color: #fff;\n}\n.icos-desktop-components .ant-tree .ant-tree-switcher:not(.ant-tree-switcher-noop):hover {\n background: transparent;\n}\n.icos-desktop-components .ant-tree .ant-tree-treenode {\n display: flex;\n align-items: center;\n padding: 0 0 0 12px;\n}\n.icos-desktop-components .ant-tree .ant-tree-treenode .ant-tree-node-content-wrapper {\n display: flex;\n align-items: center;\n width: 0;\n}\n.icos-desktop-components .ant-tree .ant-tree-treenode .ant-tree-node-content-wrapper .ant-tree-iconEle {\n flex-shrink: 0;\n}\n.icos-desktop-components .ant-tree .ant-tree-treenode .ant-tree-node-content-wrapper .ant-tree-title {\n flex: auto;\n width: 0;\n max-width: 100%;\n height: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.icos-desktop-components .ant-tree .ant-tree-checkbox {\n align-self: initial;\n}\n.icos-desktop-components .ant-tree .ant-tree-checkbox .ant-tree-checkbox-inner {\n --ant-color-text: #fff;\n --ant-color-text-disabled: rgba(255, 255, 255, 0.25);\n --ant-color-primary: #F90;\n --ant-color-primary-hover: #F90;\n --ant-color-border: rgba(221, 231, 255, 0.35);\n --ant-color-bg-container: transparent;\n --ant-color-bg-container-disabled: rgba(255, 255, 255, 0.08);\n}\n.icos-desktop-components .ant-tree.ant-tree-block-node .ant-tree-node-content-wrapper:hover,\n.icos-desktop-components .ant-tree.ant-tree-block-node .ant-tree-checkbox + span:hover,\n.icos-desktop-components .ant-tree.ant-tree-block-node .ant-tree-node-content-wrapper.ant-tree-node-selected,\n.icos-desktop-components .ant-tree.ant-tree-block-node .ant-tree-checkbox + span.ant-tree-node-selected {\n background-color: transparent;\n}\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree {\n width: 100%;\n background: transparent;\n}\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-treenode {\n padding: 4px 0;\n}\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-treenode .ant-select-tree-checkbox .ant-select-tree-checkbox-inner {\n --ant-color-text: #fff;\n --ant-color-text-disabled: rgba(255, 255, 255, 0.25);\n --ant-color-primary: #F90;\n --ant-color-primary-hover: #F90;\n --ant-color-border: rgba(221, 231, 255, 0.35);\n --ant-color-bg-container: transparent;\n --ant-color-bg-container-disabled: rgba(255, 255, 255, 0.08);\n}\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-treenode:hover {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-treenode.ant-select-tree-treenode-selected {\n background-color: rgba(0, 255, 255, 0.1);\n}\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-treenode.ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper {\n color: rgba(255, 255, 255, 0.25);\n}\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-node-content-wrapper:hover,\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-checkbox + span:hover {\n background: transparent;\n}\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected,\n.icos-desktop-components .ant-tree-select-dropdown .ant-select-tree .ant-select-tree-checkbox + span.ant-select-tree-node-selected {\n background: transparent;\n}\n";
|
240629
240629
|
styleInject(css_248z$s);
|
240630
240630
|
|
240631
|
+
var zh_CN$6 = {};
|
240632
|
+
|
240633
|
+
var interopRequireDefault = {exports: {}};
|
240634
|
+
|
240635
|
+
(function (module) {
|
240636
|
+
function _interopRequireDefault(e) {
|
240637
|
+
return e && e.__esModule ? e : {
|
240638
|
+
"default": e
|
240639
|
+
};
|
240640
|
+
}
|
240641
|
+
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
240642
|
+
} (interopRequireDefault));
|
240643
|
+
|
240644
|
+
var interopRequireDefaultExports = interopRequireDefault.exports;
|
240645
|
+
|
240646
|
+
var zh_CN$5 = {};
|
240647
|
+
|
240648
|
+
Object.defineProperty(zh_CN$5, "__esModule", {
|
240649
|
+
value: true
|
240650
|
+
});
|
240651
|
+
zh_CN$5.default = void 0;
|
240652
|
+
var locale$3 = {
|
240653
|
+
// Options
|
240654
|
+
items_per_page: '条/页',
|
240655
|
+
jump_to: '跳至',
|
240656
|
+
jump_to_confirm: '确定',
|
240657
|
+
page: '页',
|
240658
|
+
// Pagination
|
240659
|
+
prev_page: '上一页',
|
240660
|
+
next_page: '下一页',
|
240661
|
+
prev_5: '向前 5 页',
|
240662
|
+
next_5: '向后 5 页',
|
240663
|
+
prev_3: '向前 3 页',
|
240664
|
+
next_3: '向后 3 页',
|
240665
|
+
page_size: '页码'
|
240666
|
+
};
|
240667
|
+
zh_CN$5.default = locale$3;
|
240668
|
+
|
240669
|
+
var zh_CN$4 = {};
|
240670
|
+
|
240671
|
+
var zh_CN$3 = {};
|
240672
|
+
|
240673
|
+
var zh_CN$2 = {};
|
240674
|
+
|
240675
|
+
var objectSpread2 = {exports: {}};
|
240676
|
+
|
240677
|
+
var defineProperty = {exports: {}};
|
240678
|
+
|
240679
|
+
var toPropertyKey = {exports: {}};
|
240680
|
+
|
240681
|
+
var toPrimitive = {exports: {}};
|
240682
|
+
|
240683
|
+
(function (module) {
|
240684
|
+
var _typeof = _typeofExports["default"];
|
240685
|
+
function toPrimitive(t, r) {
|
240686
|
+
if ("object" != _typeof(t) || !t) return t;
|
240687
|
+
var e = t[Symbol.toPrimitive];
|
240688
|
+
if (void 0 !== e) {
|
240689
|
+
var i = e.call(t, r || "default");
|
240690
|
+
if ("object" != _typeof(i)) return i;
|
240691
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
240692
|
+
}
|
240693
|
+
return ("string" === r ? String : Number)(t);
|
240694
|
+
}
|
240695
|
+
module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
240696
|
+
} (toPrimitive));
|
240697
|
+
|
240698
|
+
var toPrimitiveExports = toPrimitive.exports;
|
240699
|
+
|
240700
|
+
(function (module) {
|
240701
|
+
var _typeof = _typeofExports["default"];
|
240702
|
+
var toPrimitive = toPrimitiveExports;
|
240703
|
+
function toPropertyKey(t) {
|
240704
|
+
var i = toPrimitive(t, "string");
|
240705
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
240706
|
+
}
|
240707
|
+
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
240708
|
+
} (toPropertyKey));
|
240709
|
+
|
240710
|
+
var toPropertyKeyExports = toPropertyKey.exports;
|
240711
|
+
|
240712
|
+
(function (module) {
|
240713
|
+
var toPropertyKey = toPropertyKeyExports;
|
240714
|
+
function _defineProperty(e, r, t) {
|
240715
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
240716
|
+
value: t,
|
240717
|
+
enumerable: !0,
|
240718
|
+
configurable: !0,
|
240719
|
+
writable: !0
|
240720
|
+
}) : e[r] = t, e;
|
240721
|
+
}
|
240722
|
+
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
240723
|
+
} (defineProperty));
|
240724
|
+
|
240725
|
+
var definePropertyExports = defineProperty.exports;
|
240726
|
+
|
240727
|
+
(function (module) {
|
240728
|
+
var defineProperty = definePropertyExports;
|
240729
|
+
function ownKeys(e, r) {
|
240730
|
+
var t = Object.keys(e);
|
240731
|
+
if (Object.getOwnPropertySymbols) {
|
240732
|
+
var o = Object.getOwnPropertySymbols(e);
|
240733
|
+
r && (o = o.filter(function (r) {
|
240734
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
240735
|
+
})), t.push.apply(t, o);
|
240736
|
+
}
|
240737
|
+
return t;
|
240738
|
+
}
|
240739
|
+
function _objectSpread2(e) {
|
240740
|
+
for (var r = 1; r < arguments.length; r++) {
|
240741
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
240742
|
+
r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
|
240743
|
+
defineProperty(e, r, t[r]);
|
240744
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
240745
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
240746
|
+
});
|
240747
|
+
}
|
240748
|
+
return e;
|
240749
|
+
}
|
240750
|
+
module.exports = _objectSpread2, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
240751
|
+
} (objectSpread2));
|
240752
|
+
|
240753
|
+
var objectSpread2Exports = objectSpread2.exports;
|
240754
|
+
|
240755
|
+
var common = {};
|
240756
|
+
|
240757
|
+
Object.defineProperty(common, "__esModule", {
|
240758
|
+
value: true
|
240759
|
+
});
|
240760
|
+
common.commonLocale = void 0;
|
240761
|
+
common.commonLocale = {
|
240762
|
+
yearFormat: 'YYYY',
|
240763
|
+
dayFormat: 'D',
|
240764
|
+
cellMeridiemFormat: 'A',
|
240765
|
+
monthBeforeYear: true
|
240766
|
+
};
|
240767
|
+
|
240768
|
+
var _interopRequireDefault$3 = interopRequireDefaultExports.default;
|
240769
|
+
Object.defineProperty(zh_CN$2, "__esModule", {
|
240770
|
+
value: true
|
240771
|
+
});
|
240772
|
+
zh_CN$2.default = void 0;
|
240773
|
+
var _objectSpread2 = _interopRequireDefault$3(objectSpread2Exports);
|
240774
|
+
var _common = common;
|
240775
|
+
var locale$2 = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, _common.commonLocale), {}, {
|
240776
|
+
locale: 'zh_CN',
|
240777
|
+
today: '今天',
|
240778
|
+
now: '此刻',
|
240779
|
+
backToToday: '返回今天',
|
240780
|
+
ok: '确定',
|
240781
|
+
timeSelect: '选择时间',
|
240782
|
+
dateSelect: '选择日期',
|
240783
|
+
weekSelect: '选择周',
|
240784
|
+
clear: '清除',
|
240785
|
+
month: '月',
|
240786
|
+
year: '年',
|
240787
|
+
previousMonth: '上个月 (翻页上键)',
|
240788
|
+
nextMonth: '下个月 (翻页下键)',
|
240789
|
+
monthSelect: '选择月份',
|
240790
|
+
yearSelect: '选择年份',
|
240791
|
+
decadeSelect: '选择年代',
|
240792
|
+
previousYear: '上一年 (Control键加左方向键)',
|
240793
|
+
nextYear: '下一年 (Control键加右方向键)',
|
240794
|
+
previousDecade: '上一年代',
|
240795
|
+
nextDecade: '下一年代',
|
240796
|
+
previousCentury: '上一世纪',
|
240797
|
+
nextCentury: '下一世纪',
|
240798
|
+
yearFormat: 'YYYY年',
|
240799
|
+
cellDateFormat: 'D',
|
240800
|
+
monthBeforeYear: false
|
240801
|
+
});
|
240802
|
+
zh_CN$2.default = locale$2;
|
240803
|
+
|
240804
|
+
var zh_CN$1 = {};
|
240805
|
+
|
240806
|
+
Object.defineProperty(zh_CN$1, "__esModule", {
|
240807
|
+
value: true
|
240808
|
+
});
|
240809
|
+
zh_CN$1.default = void 0;
|
240810
|
+
const locale$1 = {
|
240811
|
+
placeholder: '请选择时间',
|
240812
|
+
rangePlaceholder: ['开始时间', '结束时间']
|
240813
|
+
};
|
240814
|
+
zh_CN$1.default = locale$1;
|
240815
|
+
|
240816
|
+
var _interopRequireDefault$2 = interopRequireDefaultExports.default;
|
240817
|
+
Object.defineProperty(zh_CN$3, "__esModule", {
|
240818
|
+
value: true
|
240819
|
+
});
|
240820
|
+
zh_CN$3.default = void 0;
|
240821
|
+
var _zh_CN$2 = _interopRequireDefault$2(zh_CN$2);
|
240822
|
+
var _zh_CN2$1 = _interopRequireDefault$2(zh_CN$1);
|
240823
|
+
// 统一合并为完整的 Locale
|
240824
|
+
const locale = {
|
240825
|
+
lang: Object.assign({
|
240826
|
+
placeholder: '请选择日期',
|
240827
|
+
yearPlaceholder: '请选择年份',
|
240828
|
+
quarterPlaceholder: '请选择季度',
|
240829
|
+
monthPlaceholder: '请选择月份',
|
240830
|
+
weekPlaceholder: '请选择周',
|
240831
|
+
rangePlaceholder: ['开始日期', '结束日期'],
|
240832
|
+
rangeYearPlaceholder: ['开始年份', '结束年份'],
|
240833
|
+
rangeMonthPlaceholder: ['开始月份', '结束月份'],
|
240834
|
+
rangeQuarterPlaceholder: ['开始季度', '结束季度'],
|
240835
|
+
rangeWeekPlaceholder: ['开始周', '结束周']
|
240836
|
+
}, _zh_CN$2.default),
|
240837
|
+
timePickerLocale: Object.assign({}, _zh_CN2$1.default)
|
240838
|
+
};
|
240839
|
+
// should add whitespace between char in Button
|
240840
|
+
locale.lang.ok = '确定';
|
240841
|
+
// All settings at:
|
240842
|
+
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
240843
|
+
zh_CN$3.default = locale;
|
240844
|
+
|
240845
|
+
var _interopRequireDefault$1 = interopRequireDefaultExports.default;
|
240846
|
+
Object.defineProperty(zh_CN$4, "__esModule", {
|
240847
|
+
value: true
|
240848
|
+
});
|
240849
|
+
zh_CN$4.default = void 0;
|
240850
|
+
var _zh_CN$1 = _interopRequireDefault$1(zh_CN$3);
|
240851
|
+
zh_CN$4.default = _zh_CN$1.default;
|
240852
|
+
|
240853
|
+
var _interopRequireDefault = interopRequireDefaultExports.default;
|
240854
|
+
Object.defineProperty(zh_CN$6, "__esModule", {
|
240855
|
+
value: true
|
240856
|
+
});
|
240857
|
+
zh_CN$6.default = void 0;
|
240858
|
+
var _zh_CN = _interopRequireDefault(zh_CN$5);
|
240859
|
+
var _zh_CN2 = _interopRequireDefault(zh_CN$4);
|
240860
|
+
var _zh_CN3 = _interopRequireDefault(zh_CN$3);
|
240861
|
+
var _zh_CN4 = _interopRequireDefault(zh_CN$1);
|
240862
|
+
const typeTemplate = '${label}不是一个有效的${type}';
|
240863
|
+
const localeValues = {
|
240864
|
+
locale: 'zh-cn',
|
240865
|
+
Pagination: _zh_CN.default,
|
240866
|
+
DatePicker: _zh_CN3.default,
|
240867
|
+
TimePicker: _zh_CN4.default,
|
240868
|
+
Calendar: _zh_CN2.default,
|
240869
|
+
// locales for all components
|
240870
|
+
global: {
|
240871
|
+
placeholder: '请选择'
|
240872
|
+
},
|
240873
|
+
Table: {
|
240874
|
+
filterTitle: '筛选',
|
240875
|
+
filterConfirm: '确定',
|
240876
|
+
filterReset: '重置',
|
240877
|
+
filterEmptyText: '无筛选项',
|
240878
|
+
filterCheckall: '全选',
|
240879
|
+
filterSearchPlaceholder: '在筛选项中搜索',
|
240880
|
+
emptyText: '暂无数据',
|
240881
|
+
selectAll: '全选当页',
|
240882
|
+
selectInvert: '反选当页',
|
240883
|
+
selectNone: '清空所有',
|
240884
|
+
selectionAll: '全选所有',
|
240885
|
+
sortTitle: '排序',
|
240886
|
+
expand: '展开行',
|
240887
|
+
collapse: '关闭行',
|
240888
|
+
triggerDesc: '点击降序',
|
240889
|
+
triggerAsc: '点击升序',
|
240890
|
+
cancelSort: '取消排序'
|
240891
|
+
},
|
240892
|
+
Modal: {
|
240893
|
+
okText: '确定',
|
240894
|
+
cancelText: '取消',
|
240895
|
+
justOkText: '知道了'
|
240896
|
+
},
|
240897
|
+
Tour: {
|
240898
|
+
Next: '下一步',
|
240899
|
+
Previous: '上一步',
|
240900
|
+
Finish: '结束导览'
|
240901
|
+
},
|
240902
|
+
Popconfirm: {
|
240903
|
+
cancelText: '取消',
|
240904
|
+
okText: '确定'
|
240905
|
+
},
|
240906
|
+
Transfer: {
|
240907
|
+
titles: ['', ''],
|
240908
|
+
searchPlaceholder: '请输入搜索内容',
|
240909
|
+
itemUnit: '项',
|
240910
|
+
itemsUnit: '项',
|
240911
|
+
remove: '删除',
|
240912
|
+
selectCurrent: '全选当页',
|
240913
|
+
removeCurrent: '删除当页',
|
240914
|
+
selectAll: '全选所有',
|
240915
|
+
deselectAll: '取消全选',
|
240916
|
+
removeAll: '删除全部',
|
240917
|
+
selectInvert: '反选当页'
|
240918
|
+
},
|
240919
|
+
Upload: {
|
240920
|
+
uploading: '文件上传中',
|
240921
|
+
removeFile: '删除文件',
|
240922
|
+
uploadError: '上传错误',
|
240923
|
+
previewFile: '预览文件',
|
240924
|
+
downloadFile: '下载文件'
|
240925
|
+
},
|
240926
|
+
Empty: {
|
240927
|
+
description: '暂无数据'
|
240928
|
+
},
|
240929
|
+
Icon: {
|
240930
|
+
icon: '图标'
|
240931
|
+
},
|
240932
|
+
Text: {
|
240933
|
+
edit: '编辑',
|
240934
|
+
copy: '复制',
|
240935
|
+
copied: '复制成功',
|
240936
|
+
expand: '展开',
|
240937
|
+
collapse: '收起'
|
240938
|
+
},
|
240939
|
+
Form: {
|
240940
|
+
optional: '(可选)',
|
240941
|
+
defaultValidateMessages: {
|
240942
|
+
default: '字段验证错误${label}',
|
240943
|
+
required: '请输入${label}',
|
240944
|
+
enum: '${label}必须是其中一个[${enum}]',
|
240945
|
+
whitespace: '${label}不能为空字符',
|
240946
|
+
date: {
|
240947
|
+
format: '${label}日期格式无效',
|
240948
|
+
parse: '${label}不能转换为日期',
|
240949
|
+
invalid: '${label}是一个无效日期'
|
240950
|
+
},
|
240951
|
+
types: {
|
240952
|
+
string: typeTemplate,
|
240953
|
+
method: typeTemplate,
|
240954
|
+
array: typeTemplate,
|
240955
|
+
object: typeTemplate,
|
240956
|
+
number: typeTemplate,
|
240957
|
+
date: typeTemplate,
|
240958
|
+
boolean: typeTemplate,
|
240959
|
+
integer: typeTemplate,
|
240960
|
+
float: typeTemplate,
|
240961
|
+
regexp: typeTemplate,
|
240962
|
+
email: typeTemplate,
|
240963
|
+
url: typeTemplate,
|
240964
|
+
hex: typeTemplate
|
240965
|
+
},
|
240966
|
+
string: {
|
240967
|
+
len: '${label}须为${len}个字符',
|
240968
|
+
min: '${label}最少${min}个字符',
|
240969
|
+
max: '${label}最多${max}个字符',
|
240970
|
+
range: '${label}须在${min}-${max}字符之间'
|
240971
|
+
},
|
240972
|
+
number: {
|
240973
|
+
len: '${label}必须等于${len}',
|
240974
|
+
min: '${label}最小值为${min}',
|
240975
|
+
max: '${label}最大值为${max}',
|
240976
|
+
range: '${label}须在${min}-${max}之间'
|
240977
|
+
},
|
240978
|
+
array: {
|
240979
|
+
len: '须为${len}个${label}',
|
240980
|
+
min: '最少${min}个${label}',
|
240981
|
+
max: '最多${max}个${label}',
|
240982
|
+
range: '${label}数量须在${min}-${max}之间'
|
240983
|
+
},
|
240984
|
+
pattern: {
|
240985
|
+
mismatch: '${label}与模式不匹配${pattern}'
|
240986
|
+
}
|
240987
|
+
}
|
240988
|
+
},
|
240989
|
+
Image: {
|
240990
|
+
preview: '预览'
|
240991
|
+
},
|
240992
|
+
QRCode: {
|
240993
|
+
expired: '二维码过期',
|
240994
|
+
refresh: '点击刷新',
|
240995
|
+
scanned: '已扫描'
|
240996
|
+
},
|
240997
|
+
ColorPicker: {
|
240998
|
+
presetEmpty: '暂无',
|
240999
|
+
transparent: '无色',
|
241000
|
+
singleColor: '单色',
|
241001
|
+
gradientColor: '渐变色'
|
241002
|
+
}
|
241003
|
+
};
|
241004
|
+
zh_CN$6.default = localeValues;
|
241005
|
+
|
241006
|
+
var zh_CN = zh_CN$6;
|
241007
|
+
|
241008
|
+
var zhCN = /*@__PURE__*/getDefaultExportFromCjs(zh_CN);
|
241009
|
+
|
240631
241010
|
var theme = {
|
240632
241011
|
algorithm: theme$1.darkAlgorithm,
|
241012
|
+
locale: zhCN,
|
240633
241013
|
cssVar: {
|
240634
241014
|
key: 'dt-css',
|
240635
241015
|
// prefix: 'dt-root-ant'
|
@@ -242185,7 +242565,16 @@ var SenseTable = function (props) {
|
|
242185
242565
|
res = _e.sent();
|
242186
242566
|
setPagination(__assign$h(__assign$h({}, pagination), { total: ((_a = res === null || res === void 0 ? void 0 : res.body) === null || _a === void 0 ? void 0 : _a.total) ? (res.body.total > 10000 ? 10000 : res.body.total) : 0, current: ((_b = res === null || res === void 0 ? void 0 : res.body) === null || _b === void 0 ? void 0 : _b.pageNum) || 1, pageSize: ((_c = res === null || res === void 0 ? void 0 : res.body) === null || _c === void 0 ? void 0 : _c.pageSize) || PAGINATION.pageSize, showTotal: function () { var _a; return showTotal((_a = res === null || res === void 0 ? void 0 : res.body) === null || _a === void 0 ? void 0 : _a.total); } }));
|
242187
242567
|
return [2 /*return*/, {
|
242188
|
-
header: res === null || res === void 0 ? void 0 : res.header,
|
242568
|
+
header: __spreadArray$4(__spreadArray$4([], ((res === null || res === void 0 ? void 0 : res.header) || []), true), [
|
242569
|
+
enableTag
|
242570
|
+
? {
|
242571
|
+
code: 'tags',
|
242572
|
+
name: '标签',
|
242573
|
+
defaultShow: true,
|
242574
|
+
hidden: true,
|
242575
|
+
}
|
242576
|
+
: null,
|
242577
|
+
], false).filter(Boolean),
|
242189
242578
|
columns: getColumns(res === null || res === void 0 ? void 0 : res.header),
|
242190
242579
|
dataSource: (_d = res === null || res === void 0 ? void 0 : res.body) === null || _d === void 0 ? void 0 : _d.list,
|
242191
242580
|
}];
|
@@ -242194,6 +242583,7 @@ var SenseTable = function (props) {
|
|
242194
242583
|
}); }, {
|
242195
242584
|
ready: ksCodeLoaded && entityClassLoaded,
|
242196
242585
|
refreshDeps: [
|
242586
|
+
enableTag,
|
242197
242587
|
bookId,
|
242198
242588
|
templateId,
|
242199
242589
|
leafRegionId,
|
@@ -242533,7 +242923,7 @@ var styles$8 = {"tabs":"index-module_tabs__7oPYM"};
|
|
242533
242923
|
styleInject(css_248z$8);
|
242534
242924
|
|
242535
242925
|
var SideBar = function (props) {
|
242536
|
-
var viewType = props.viewType, views = props.views,
|
242926
|
+
var viewType = props.viewType, views = props.views, activeCategory = props.activeCategory, onChange = props.onChange;
|
242537
242927
|
// 展示分类
|
242538
242928
|
var _a = React.useState([]), categories = _a[0], setCategories = _a[1];
|
242539
242929
|
// 选中分类
|
@@ -242565,7 +242955,7 @@ var SideBar = function (props) {
|
|
242565
242955
|
}
|
242566
242956
|
});
|
242567
242957
|
}); });
|
242568
|
-
return (React.createElement("div", { className: styles$8.tabs
|
242958
|
+
return (React.createElement("div", { className: styles$8.tabs },
|
242569
242959
|
React.createElement(Tabs$1, { items: categories, activeKey: activeCategory, onChange: handleTabsChange, tabPosition: "left", destroyInactiveTabPane: true })));
|
242570
242960
|
};
|
242571
242961
|
|
@@ -242575,7 +242965,7 @@ styleInject(css_248z$7);
|
|
242575
242965
|
|
242576
242966
|
var SenseManager = function (props) {
|
242577
242967
|
var _a;
|
242578
|
-
var _b = props.viewType, viewType = _b === void 0 ? 'system' : _b, _c = props.views, views = _c === void 0 ? [] : _c,
|
242968
|
+
var _b = props.viewType, viewType = _b === void 0 ? 'system' : _b, _c = props.views, views = _c === void 0 ? [] : _c, showBookGroupTable = props.showBookGroupTable, showBookTable = props.showBookTable, showSenseTable = props.showSenseTable, bookContextMenuConfig = props.bookContextMenuConfig, senseContextMenuConfig = props.senseContextMenuConfig, enableTag = props.enableTag, leafRegionId = props.leafRegionId, pathRegionId = props.pathRegionId, onCreateSense = props.onCreateSense, onShowSense = props.onShowSense, onEditSense = props.onEditSense, onClickSense = props.onClickSense, onDoubleClickSense = props.onDoubleClickSense;
|
242579
242969
|
// 当前选中的分类
|
242580
242970
|
var _d = React.useState(''), activeCategory = _d[0], setActiveCategory = _d[1];
|
242581
242971
|
// Tabs 选中的 key
|
@@ -242750,7 +243140,7 @@ var SenseManager = function (props) {
|
|
242750
243140
|
});
|
242751
243141
|
}); }, [activeCategory, tabsActiveKey, bookGroup, book]);
|
242752
243142
|
return (React.createElement("div", { className: styles$7.container },
|
242753
|
-
React.createElement(SideBar, { viewType: viewType, views: views,
|
243143
|
+
React.createElement(SideBar, { viewType: viewType, views: views, activeCategory: activeCategory, onChange: handleChangeActiveCategory }),
|
242754
243144
|
React.createElement("div", { className: styles$7.main },
|
242755
243145
|
React.createElement("div", { className: styles$7.header },
|
242756
243146
|
React.createElement("div", { className: classNames(styles$7.breadcrumb, (_a = {},
|
@@ -242789,12 +243179,6 @@ var settings$8 = {
|
|
242789
243179
|
{ label: '功能视图', value: 'func' },
|
242790
243180
|
],
|
242791
243181
|
},
|
242792
|
-
{
|
242793
|
-
name: 'showView',
|
242794
|
-
title: '显示左侧边栏',
|
242795
|
-
group: 'basic',
|
242796
|
-
setter: 'boolSetter',
|
242797
|
-
},
|
242798
243182
|
{
|
242799
243183
|
name: 'views',
|
242800
243184
|
title: '左侧边栏',
|
@@ -242839,6 +243223,18 @@ var settings$8 = {
|
|
242839
243223
|
title: '显示台账组列表',
|
242840
243224
|
group: 'basic',
|
242841
243225
|
setter: 'boolSetter',
|
243226
|
+
// getProp: (form) => {
|
243227
|
+
// const viewType = form.getValue('viewType');
|
243228
|
+
// if (viewType === 'system') {
|
243229
|
+
// return {
|
243230
|
+
// disableVariableSetter: true,
|
243231
|
+
// setterProps: {
|
243232
|
+
// value: true,
|
243233
|
+
// disabled: true,
|
243234
|
+
// },
|
243235
|
+
// };
|
243236
|
+
// }
|
243237
|
+
// },
|
242842
243238
|
},
|
242843
243239
|
{
|
242844
243240
|
name: 'showBookTable',
|
@@ -242851,6 +243247,9 @@ var settings$8 = {
|
|
242851
243247
|
title: '启用台账功能',
|
242852
243248
|
group: 'basic',
|
242853
243249
|
setter: 'boolSetter',
|
243250
|
+
getVisible: function (form) {
|
243251
|
+
return form.getValue('showBookTable');
|
243252
|
+
},
|
242854
243253
|
},
|
242855
243254
|
{
|
242856
243255
|
name: 'bookContextMenuConfig',
|
@@ -242864,6 +243263,9 @@ var settings$8 = {
|
|
242864
243263
|
{ label: '新建对象', value: 'create' },
|
242865
243264
|
{ label: '查看', value: 'show' },
|
242866
243265
|
],
|
243266
|
+
getVisible: function (form) {
|
243267
|
+
return form.getValue('showBookTable') && form.getValue('showBookContextMenuConfig');
|
243268
|
+
},
|
242867
243269
|
},
|
242868
243270
|
{
|
242869
243271
|
name: 'showSenseTable',
|
@@ -242876,6 +243278,9 @@ var settings$8 = {
|
|
242876
243278
|
title: '启用实体记录功能',
|
242877
243279
|
group: 'basic',
|
242878
243280
|
setter: 'boolSetter',
|
243281
|
+
getVisible: function (form) {
|
243282
|
+
return form.getValue('showSenseTable');
|
243283
|
+
},
|
242879
243284
|
},
|
242880
243285
|
{
|
242881
243286
|
name: 'senseContextMenuConfig',
|
@@ -242890,6 +243295,9 @@ var settings$8 = {
|
|
242890
243295
|
{ label: '编辑', value: 'edit' },
|
242891
243296
|
{ label: '删除', value: 'delete' },
|
242892
243297
|
],
|
243298
|
+
getVisible: function (form) {
|
243299
|
+
return form.getValue('showSenseTable') && form.getValue('showSenseContextMenuConfig');
|
243300
|
+
},
|
242893
243301
|
},
|
242894
243302
|
{
|
242895
243303
|
name: 'enableTag',
|
@@ -248767,7 +249175,7 @@ var SenseSearch = function (props) {
|
|
248767
249175
|
React.createElement("div", { className: styles$4['input-box'] },
|
248768
249176
|
React.createElement("div", { className: styles$4.input },
|
248769
249177
|
React.createElement(Form.Item, { name: "keyword", style: { width: '100%' }, initialValue: "", noStyle: true },
|
248770
|
-
React.createElement(Input, { variant: "borderless", placeholder: "\u8F93\u5165\u5173\u952E\u8BCD", max: 50, allowClear: { clearIcon: clearIcon }, addonAfter: addonAfter, onPressEnter: handleSearch }))),
|
249178
|
+
React.createElement(Input, { variant: "borderless", placeholder: "\u8F93\u5165\u5173\u952E\u8BCD", max: 50, allowClear: { clearIcon: clearIcon }, addonAfter: (searchMode === null || searchMode === void 0 ? void 0 : searchMode.length) ? addonAfter : null, onPressEnter: handleSearch }))),
|
248771
249179
|
React.createElement("div", { className: styles$4.button, onClick: handleSearch },
|
248772
249180
|
React.createElement(SvgSearch, null))),
|
248773
249181
|
isShowAdvanced ? (React.createElement(AdvancedSearch, { searchMode: searchMode, onSearch: handleSearch, onMapDraw: onMapDraw, onStartDraw: onStartDraw })) : null)));
|
@@ -249660,7 +250068,11 @@ var SenseTree = function (props) {
|
|
249660
250068
|
var _a;
|
249661
250069
|
var cur = findNodeByKey(draftState, node.key);
|
249662
250070
|
if (cur) {
|
249663
|
-
var data =
|
250071
|
+
var data = [];
|
250072
|
+
if (cur.extraChildren) {
|
250073
|
+
data.push.apply(data, cur.extraChildren);
|
250074
|
+
}
|
250075
|
+
data.push.apply(data, (list || []).map(function (item) { return ({
|
249664
250076
|
key: item.code,
|
249665
250077
|
parentKey: item.parentCode,
|
249666
250078
|
ksCode: node.ksCode,
|
@@ -249670,7 +250082,7 @@ var SenseTree = function (props) {
|
|
249670
250082
|
type: item.type,
|
249671
250083
|
isLeaf: !item.count,
|
249672
250084
|
dataRef: item,
|
249673
|
-
}); });
|
250085
|
+
}); }));
|
249674
250086
|
if (isMore) {
|
249675
250087
|
// 删除加载更多节点
|
249676
250088
|
cur.children.pop();
|
@@ -250149,12 +250561,28 @@ var settings$4 = {
|
|
250149
250561
|
title: '起始地理层级',
|
250150
250562
|
group: 'basic',
|
250151
250563
|
setter: 'numberSetter',
|
250564
|
+
setterProps: {
|
250565
|
+
min: 1,
|
250566
|
+
max: 9,
|
250567
|
+
},
|
250568
|
+
getVisible: function (form) {
|
250569
|
+
var treeType = form.getValue('treeType');
|
250570
|
+
return treeType === 'entityClass';
|
250571
|
+
},
|
250152
250572
|
},
|
250153
250573
|
{
|
250154
250574
|
name: 'regionLeafLevel',
|
250155
250575
|
title: '结束地理层级',
|
250156
250576
|
group: 'basic',
|
250157
250577
|
setter: 'numberSetter',
|
250578
|
+
setterProps: {
|
250579
|
+
min: 1,
|
250580
|
+
max: 9,
|
250581
|
+
},
|
250582
|
+
getVisible: function (form) {
|
250583
|
+
var treeType = form.getValue('treeType');
|
250584
|
+
return treeType === 'entityClass';
|
250585
|
+
},
|
250158
250586
|
},
|
250159
250587
|
{
|
250160
250588
|
name: 'showSenseContextMenu',
|
@@ -250393,12 +250821,28 @@ var settings$2 = {
|
|
250393
250821
|
title: '起始地理层级',
|
250394
250822
|
group: 'basic',
|
250395
250823
|
setter: 'numberSetter',
|
250824
|
+
setterProps: {
|
250825
|
+
min: 1,
|
250826
|
+
max: 9,
|
250827
|
+
},
|
250828
|
+
getVisible: function (form) {
|
250829
|
+
var treeType = form.getValue('treeType');
|
250830
|
+
return treeType === 'entityClass';
|
250831
|
+
},
|
250396
250832
|
},
|
250397
250833
|
{
|
250398
250834
|
name: 'regionLeafLevel',
|
250399
250835
|
title: '结束地理层级',
|
250400
250836
|
group: 'basic',
|
250401
250837
|
setter: 'numberSetter',
|
250838
|
+
setterProps: {
|
250839
|
+
min: 1,
|
250840
|
+
max: 9,
|
250841
|
+
},
|
250842
|
+
getVisible: function (form) {
|
250843
|
+
var treeType = form.getValue('treeType');
|
250844
|
+
return treeType === 'entityClass';
|
250845
|
+
},
|
250402
250846
|
},
|
250403
250847
|
{
|
250404
250848
|
name: 'showSenseContextMenu',
|