linkmore-design 1.1.22-beta.2 → 1.1.22-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js
CHANGED
|
@@ -224159,10 +224159,12 @@
|
|
|
224159
224159
|
return React.useReducer(reducer$4, initialState$1);
|
|
224160
224160
|
};
|
|
224161
224161
|
|
|
224162
|
+
var _excluded$1Y = ["className", "isEmpty"];
|
|
224162
224163
|
var VirtualTable = /*#__PURE__*/React__default['default'].memo(function (tableProps) {
|
|
224163
|
-
var _bodyRef$current, _bodyRef$current2,
|
|
224164
|
+
var _bodyRef$current, _bodyRef$current2, _rest$children$2, _rest$children$2$prop;
|
|
224164
224165
|
var className = tableProps.className,
|
|
224165
|
-
isEmpty = tableProps.isEmpty
|
|
224166
|
+
isEmpty = tableProps.isEmpty,
|
|
224167
|
+
rest = _objectWithoutProperties$1(tableProps, _excluded$1Y);
|
|
224166
224168
|
var bodyRef = React.useRef(null);
|
|
224167
224169
|
var _useRealive = useRealive(),
|
|
224168
224170
|
_useRealive2 = _slicedToArray$1(_useRealive, 2),
|
|
@@ -224187,9 +224189,9 @@
|
|
|
224187
224189
|
current: bodyRef === null || bodyRef === void 0 ? void 0 : (_bodyRef$current2 = bodyRef.current) === null || _bodyRef$current2 === void 0 ? void 0 : _bodyRef$current2.parentNode
|
|
224188
224190
|
},
|
|
224189
224191
|
estimateSize: React__default['default'].useCallback(function (i) {
|
|
224190
|
-
var
|
|
224191
|
-
return
|
|
224192
|
-
}, [(
|
|
224192
|
+
var _rest$children$, _rest$children$$props;
|
|
224193
|
+
return rest === null || rest === void 0 ? void 0 : (_rest$children$ = rest.children[0]) === null || _rest$children$ === void 0 ? void 0 : (_rest$children$$props = _rest$children$.props) === null || _rest$children$$props === void 0 ? void 0 : _rest$children$$props.colWidths[i];
|
|
224194
|
+
}, [(_rest$children$2 = rest.children[0]) === null || _rest$children$2 === void 0 ? void 0 : (_rest$children$2$prop = _rest$children$2.props) === null || _rest$children$2$prop === void 0 ? void 0 : _rest$children$2$prop.colWidths]),
|
|
224193
224195
|
overscan: 5
|
|
224194
224196
|
});
|
|
224195
224197
|
var instance = {
|
|
@@ -224205,17 +224207,17 @@
|
|
|
224205
224207
|
}, isEmpty ? /*#__PURE__*/React__default['default'].createElement("table", _objectSpread({
|
|
224206
224208
|
className: _classnames_2_3_2_classnames('lm_virtual_table', className),
|
|
224207
224209
|
ref: bodyRef
|
|
224208
|
-
},
|
|
224210
|
+
}, rest), /*#__PURE__*/React__default['default'].createElement("tbody", null, /*#__PURE__*/React__default['default'].createElement("tr", null, /*#__PURE__*/React__default['default'].createElement("td", null, /*#__PURE__*/React__default['default'].createElement(CustomizeRenderEmpty, null))))) : /*#__PURE__*/React__default['default'].createElement("table", _objectSpread({
|
|
224209
224211
|
className: _classnames_2_3_2_classnames('lm_virtual_table', className),
|
|
224210
224212
|
ref: bodyRef
|
|
224211
|
-
},
|
|
224213
|
+
}, rest)));
|
|
224212
224214
|
});
|
|
224213
224215
|
|
|
224214
|
-
var _excluded$
|
|
224216
|
+
var _excluded$1Z = ["children"];
|
|
224215
224217
|
var VirtualWrapper = /*#__PURE__*/React__default['default'].memo(function (wrapperProps) {
|
|
224216
224218
|
var _virtualItems$, _virtualItems;
|
|
224217
224219
|
var children = wrapperProps.children,
|
|
224218
|
-
resetProps = _objectWithoutProperties$1(wrapperProps, _excluded$
|
|
224220
|
+
resetProps = _objectWithoutProperties$1(wrapperProps, _excluded$1Z);
|
|
224219
224221
|
var _useStore = useStore(),
|
|
224220
224222
|
state = _useStore.state,
|
|
224221
224223
|
dispatch = _useStore.dispatch,
|
|
@@ -224253,10 +224255,10 @@
|
|
|
224253
224255
|
})));
|
|
224254
224256
|
});
|
|
224255
224257
|
|
|
224256
|
-
var _excluded$
|
|
224258
|
+
var _excluded$1_ = ["children"];
|
|
224257
224259
|
var VirtualRow = /*#__PURE__*/React__default['default'].memo(function (_ref, ref) {
|
|
224258
224260
|
var children = _ref.children,
|
|
224259
|
-
resetProps = _objectWithoutProperties$1(_ref, _excluded$
|
|
224261
|
+
resetProps = _objectWithoutProperties$1(_ref, _excluded$1_);
|
|
224260
224262
|
var _useStore = useStore(),
|
|
224261
224263
|
state = _useStore.state,
|
|
224262
224264
|
dispatch = _useStore.dispatch,
|
|
@@ -224344,7 +224346,11 @@
|
|
|
224344
224346
|
expression = _dkey[1];
|
|
224345
224347
|
item.children.forEach(function (subItem) {
|
|
224346
224348
|
if (key in subItem) {
|
|
224347
|
-
|
|
224349
|
+
var value = Number(subItem[key]);
|
|
224350
|
+
if (Number.isNaN(value)) {
|
|
224351
|
+
return;
|
|
224352
|
+
}
|
|
224353
|
+
sum += value;
|
|
224348
224354
|
}
|
|
224349
224355
|
});
|
|
224350
224356
|
if (!sum) {
|
|
@@ -224577,7 +224583,7 @@
|
|
|
224577
224583
|
}, attributes, listeners), title);
|
|
224578
224584
|
}
|
|
224579
224585
|
|
|
224580
|
-
var _excluded$
|
|
224586
|
+
var _excluded$1$ = ["columns", "dataSource", "autoSize", "rowClick", "onDoubleClick", "checkConfig", "summary", "pagination", "hiddenPage", "loading", "virtual", "sortOpen", "colSortOpen", "resizeable", "customCheck", "components", "rowSelection", "columnsState", "onChange", "filterChange", "tableRowType", "size", "openSheet", "editSheet", "dataChange", "openColGroup", "colGroupTitle", "openRowGroup", "rowGroupTitle", "groupWidth", "onGroupChange", "emptyProps"],
|
|
224581
224587
|
_excluded2$r = ["className", "style"],
|
|
224582
224588
|
_excluded3$6 = ["onResize", "width", "dataIndex", "onResizeStop"];
|
|
224583
224589
|
var Summary$1 = ProviderWarp.Summary;
|
|
@@ -224654,7 +224660,7 @@
|
|
|
224654
224660
|
_props$onGroupChange = props.onGroupChange,
|
|
224655
224661
|
onGroupChange = _props$onGroupChange === void 0 ? function () {} : _props$onGroupChange,
|
|
224656
224662
|
emptyProps = props.emptyProps,
|
|
224657
|
-
resetProps = _objectWithoutProperties$1(props, _excluded$
|
|
224663
|
+
resetProps = _objectWithoutProperties$1(props, _excluded$1$);
|
|
224658
224664
|
var _resetProps$rowKey = resetProps.rowKey,
|
|
224659
224665
|
rowKey = _resetProps$rowKey === void 0 ? 'id' : _resetProps$rowKey;
|
|
224660
224666
|
var _React$useContext = React__default['default'].useContext(ConfigContext$5),
|
|
@@ -226103,7 +226109,7 @@
|
|
|
226103
226109
|
return !Comp ? null : isReactComponent$1(Comp) ? /*#__PURE__*/React__default['default'].createElement(Comp, _objectSpread({}, props)) : Comp;
|
|
226104
226110
|
};
|
|
226105
226111
|
|
|
226106
|
-
var _excluded$
|
|
226112
|
+
var _excluded$20 = ["item"],
|
|
226107
226113
|
_excluded2$s = ["item"],
|
|
226108
226114
|
_excluded3$7 = ["type"];
|
|
226109
226115
|
var imgEmpty = require('./icon_placeholder.png');
|
|
@@ -226165,7 +226171,7 @@
|
|
|
226165
226171
|
className: "filter_list"
|
|
226166
226172
|
}, function (_ref2) {
|
|
226167
226173
|
var item = _ref2.item,
|
|
226168
|
-
resetProps = _objectWithoutProperties$1(_ref2, _excluded$
|
|
226174
|
+
resetProps = _objectWithoutProperties$1(_ref2, _excluded$20);
|
|
226169
226175
|
return /*#__PURE__*/React__default['default'].createElement("div", _objectSpread(_objectSpread({}, resetProps), {}, {
|
|
226170
226176
|
className: _classnames_2_3_2_classnames('filter_item', {
|
|
226171
226177
|
checked: item.value === getFilterValue
|
|
@@ -226556,7 +226562,7 @@
|
|
|
226556
226562
|
})))));
|
|
226557
226563
|
};
|
|
226558
226564
|
|
|
226559
|
-
var _excluded$
|
|
226565
|
+
var _excluded$21 = ["item"];
|
|
226560
226566
|
var imgEmpty$1 = require('./icon_placeholder.png');
|
|
226561
226567
|
var FilterEmpty$1 = function FilterEmpty() {
|
|
226562
226568
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
@@ -226641,7 +226647,7 @@
|
|
|
226641
226647
|
className: "filter_list"
|
|
226642
226648
|
}, function (_ref4) {
|
|
226643
226649
|
var item = _ref4.item,
|
|
226644
|
-
resetProps = _objectWithoutProperties$1(_ref4, _excluded$
|
|
226650
|
+
resetProps = _objectWithoutProperties$1(_ref4, _excluded$21);
|
|
226645
226651
|
return /*#__PURE__*/React__default['default'].createElement("div", _objectSpread(_objectSpread({}, resetProps), {}, {
|
|
226646
226652
|
className: _classnames_2_3_2_classnames('filter_item', {
|
|
226647
226653
|
checked: checkedValues.includes(item.value),
|
|
@@ -226657,7 +226663,7 @@
|
|
|
226657
226663
|
}), !renderOptions.length && /*#__PURE__*/React__default['default'].createElement(FilterEmpty$1, null)));
|
|
226658
226664
|
};
|
|
226659
226665
|
|
|
226660
|
-
var _excluded$
|
|
226666
|
+
var _excluded$22 = ["children", "className", "dropdownClassName", "type", "options", "showSearch"];
|
|
226661
226667
|
var prefixCls$4 = 'lm_select';
|
|
226662
226668
|
// 不同类型Select, 不同的默认配置
|
|
226663
226669
|
var config = {
|
|
@@ -226681,7 +226687,7 @@
|
|
|
226681
226687
|
type = _props$type === void 0 ? 'select' : _props$type,
|
|
226682
226688
|
options = props.options,
|
|
226683
226689
|
showSearch = props.showSearch,
|
|
226684
|
-
others = _objectWithoutProperties$1(props, _excluded$
|
|
226690
|
+
others = _objectWithoutProperties$1(props, _excluded$22);
|
|
226685
226691
|
var _React$useState = React__default['default'].useState(others.defaultValue || []),
|
|
226686
226692
|
_React$useState2 = _slicedToArray$1(_React$useState, 2),
|
|
226687
226693
|
checkedValues = _React$useState2[0],
|
|
@@ -226731,10 +226737,10 @@
|
|
|
226731
226737
|
}), children);
|
|
226732
226738
|
});
|
|
226733
226739
|
|
|
226734
|
-
var _excluded$
|
|
226740
|
+
var _excluded$23 = ["ghost"];
|
|
226735
226741
|
var CLMSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
226736
226742
|
var ghost = props.ghost,
|
|
226737
|
-
others = _objectWithoutProperties$1(props, _excluded$
|
|
226743
|
+
others = _objectWithoutProperties$1(props, _excluded$23);
|
|
226738
226744
|
if (ghost) {
|
|
226739
226745
|
return /*#__PURE__*/React__default['default'].createElement(Index$a, _objectSpread({}, others));
|
|
226740
226746
|
}
|
|
@@ -226766,7 +226772,7 @@
|
|
|
226766
226772
|
return runtimeLocale$1;
|
|
226767
226773
|
}
|
|
226768
226774
|
|
|
226769
|
-
var _excluded$
|
|
226775
|
+
var _excluded$24 = ["wrapClassName", "size", "onOk", "onCancel", "visible", "open"];
|
|
226770
226776
|
var prefixCls$5 = 'lm_modal';
|
|
226771
226777
|
var CLMModal = function CLMModal(props) {
|
|
226772
226778
|
var wrapClassName = props.wrapClassName,
|
|
@@ -226776,7 +226782,7 @@
|
|
|
226776
226782
|
onCancel = props.onCancel,
|
|
226777
226783
|
visible = props.visible,
|
|
226778
226784
|
open = props.open,
|
|
226779
|
-
other = _objectWithoutProperties$1(props, _excluded$
|
|
226785
|
+
other = _objectWithoutProperties$1(props, _excluded$24);
|
|
226780
226786
|
var defaultFooterSize = React__default['default'].useContext(SizeContext$1) || 'middle';
|
|
226781
226787
|
var defaultFooter = /*#__PURE__*/React__default['default'].createElement(LocaleReceiver$1, {
|
|
226782
226788
|
componentName: "Modal",
|
|
@@ -226840,13 +226846,13 @@
|
|
|
226840
226846
|
LMModal.destroyAll = Modal$1.destroyAll;
|
|
226841
226847
|
LMModal.config = Modal$1.config;
|
|
226842
226848
|
|
|
226843
|
-
var _excluded$
|
|
226849
|
+
var _excluded$25 = ["children", "className"];
|
|
226844
226850
|
var ConfigContext$6 = ConfigProvider$1.ConfigContext;
|
|
226845
226851
|
var prefixCls$6 = 'lm_pagination';
|
|
226846
226852
|
var LMPagination = function LMPagination(props) {
|
|
226847
226853
|
var children = props.children,
|
|
226848
226854
|
className = props.className,
|
|
226849
|
-
others = _objectWithoutProperties$1(props, _excluded$
|
|
226855
|
+
others = _objectWithoutProperties$1(props, _excluded$25);
|
|
226850
226856
|
var _React$useContext = React__default['default'].useContext(ConfigContext$6),
|
|
226851
226857
|
locale = _React$useContext.locale;
|
|
226852
226858
|
// 更改中文语言包内容显示
|
|
@@ -226868,11 +226874,11 @@
|
|
|
226868
226874
|
}));
|
|
226869
226875
|
};
|
|
226870
226876
|
|
|
226871
|
-
var _excluded$
|
|
226877
|
+
var _excluded$26 = ["children"],
|
|
226872
226878
|
_excluded2$t = ["children", "size", "buttonStyle", "direction", "className"];
|
|
226873
226879
|
var LMRadio = function LMRadio(props) {
|
|
226874
226880
|
var children = props.children,
|
|
226875
|
-
restProps = _objectWithoutProperties$1(props, _excluded$
|
|
226881
|
+
restProps = _objectWithoutProperties$1(props, _excluded$26);
|
|
226876
226882
|
return /*#__PURE__*/React__default['default'].createElement(Radio$1, _extends$2({
|
|
226877
226883
|
className: "lm-radio"
|
|
226878
226884
|
}, restProps), children);
|
|
@@ -226893,7 +226899,7 @@
|
|
|
226893
226899
|
};
|
|
226894
226900
|
LMRadio.Button = Radio$1.Button;
|
|
226895
226901
|
|
|
226896
|
-
var _excluded$
|
|
226902
|
+
var _excluded$27 = ["children", "className", "size", "disabled", "dropdownClassName", "options", "value", "defaultLabel", "suffix", "icon", "iconClick"];
|
|
226897
226903
|
var prefixCls$7 = 'lm_select';
|
|
226898
226904
|
var CLMSelect$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
226899
226905
|
var children = props.children,
|
|
@@ -226907,7 +226913,7 @@
|
|
|
226907
226913
|
suffix = props.suffix,
|
|
226908
226914
|
icon = props.icon,
|
|
226909
226915
|
iconClick = props.iconClick,
|
|
226910
|
-
rest = _objectWithoutProperties$1(props, _excluded$
|
|
226916
|
+
rest = _objectWithoutProperties$1(props, _excluded$27);
|
|
226911
226917
|
// ===================== Size =====================
|
|
226912
226918
|
var size = customizeSize || React__default['default'].useContext(SizeContext$1) || 'middle';
|
|
226913
226919
|
// ===================== Disabled =====================
|
|
@@ -227044,7 +227050,7 @@
|
|
|
227044
227050
|
|
|
227045
227051
|
var build$1 = hexToRgba;
|
|
227046
227052
|
|
|
227047
|
-
var _excluded$
|
|
227053
|
+
var _excluded$28 = ["className", "color"],
|
|
227048
227054
|
_excluded2$u = ["className", "color", "checked"];
|
|
227049
227055
|
var CheckableTag$1 = Tag.CheckableTag;
|
|
227050
227056
|
var PresetColorTypes$1 = ['pink', 'red', 'yellow', 'orange', 'cyan', 'green', 'blue', 'purple', 'geekblue', 'magenta', 'volcano', 'gold', 'lime', 'theme'];
|
|
@@ -227052,7 +227058,7 @@
|
|
|
227052
227058
|
var LmTag = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
227053
227059
|
var className = props.className,
|
|
227054
227060
|
color = props.color,
|
|
227055
|
-
rest = _objectWithoutProperties$1(props, _excluded$
|
|
227061
|
+
rest = _objectWithoutProperties$1(props, _excluded$28);
|
|
227056
227062
|
return /*#__PURE__*/React__default['default'].createElement(Tag, _objectSpread(_objectSpread({
|
|
227057
227063
|
ref: ref
|
|
227058
227064
|
}, rest), {}, {
|
|
@@ -227641,7 +227647,7 @@
|
|
|
227641
227647
|
TabPane$2.displayName = 'TabPane';
|
|
227642
227648
|
}
|
|
227643
227649
|
|
|
227644
|
-
var _excluded$
|
|
227650
|
+
var _excluded$29 = ["key", "forceRender", "style", "className"];
|
|
227645
227651
|
function TabPanelList$1(_ref) {
|
|
227646
227652
|
var id = _ref.id,
|
|
227647
227653
|
activeKey = _ref.activeKey,
|
|
@@ -227664,7 +227670,7 @@
|
|
|
227664
227670
|
forceRender = _ref2.forceRender,
|
|
227665
227671
|
paneStyle = _ref2.style,
|
|
227666
227672
|
paneClassName = _ref2.className,
|
|
227667
|
-
restTabProps = _objectWithoutProperties(_ref2, _excluded$
|
|
227673
|
+
restTabProps = _objectWithoutProperties(_ref2, _excluded$29);
|
|
227668
227674
|
|
|
227669
227675
|
var active = key === activeKey;
|
|
227670
227676
|
return /*#__PURE__*/React.createElement(CSSMotion, _extends({
|
|
@@ -228826,12 +228832,12 @@
|
|
|
228826
228832
|
|
|
228827
228833
|
var TabNavList$3 = /*#__PURE__*/React.forwardRef(TabNavList$2);
|
|
228828
228834
|
|
|
228829
|
-
var _excluded$
|
|
228835
|
+
var _excluded$2a = ["renderTabBar"],
|
|
228830
228836
|
_excluded2$v = ["label", "key"];
|
|
228831
228837
|
|
|
228832
228838
|
function TabNavListWrapper(_ref) {
|
|
228833
228839
|
var renderTabBar = _ref.renderTabBar,
|
|
228834
|
-
restProps = _objectWithoutProperties(_ref, _excluded$
|
|
228840
|
+
restProps = _objectWithoutProperties(_ref, _excluded$2a);
|
|
228835
228841
|
|
|
228836
228842
|
var _useContext = React.useContext(TabContext$1),
|
|
228837
228843
|
tabs = _useContext.tabs;
|
|
@@ -228897,7 +228903,7 @@
|
|
|
228897
228903
|
return mergedAnimated;
|
|
228898
228904
|
}
|
|
228899
228905
|
|
|
228900
|
-
var _excluded$
|
|
228906
|
+
var _excluded$2b = ["id", "prefixCls", "className", "items", "direction", "activeKey", "defaultActiveKey", "editable", "animated", "tabPosition", "tabBarGutter", "tabBarStyle", "tabBarExtraContent", "locale", "moreIcon", "moreTransitionName", "destroyInactiveTabPane", "renderTabBar", "onChange", "onTabClick", "onTabScroll", "getPopupContainer", "popupClassName"];
|
|
228901
228907
|
/**
|
|
228902
228908
|
* Should added antd:
|
|
228903
228909
|
* - type
|
|
@@ -228939,7 +228945,7 @@
|
|
|
228939
228945
|
onTabScroll = _ref.onTabScroll,
|
|
228940
228946
|
getPopupContainer = _ref.getPopupContainer,
|
|
228941
228947
|
popupClassName = _ref.popupClassName,
|
|
228942
|
-
restProps = _objectWithoutProperties(_ref, _excluded$
|
|
228948
|
+
restProps = _objectWithoutProperties(_ref, _excluded$2b);
|
|
228943
228949
|
|
|
228944
228950
|
var tabs = React.useMemo(function () {
|
|
228945
228951
|
return (items || []).filter(function (item) {
|
|
@@ -229201,7 +229207,7 @@
|
|
|
229201
229207
|
|
|
229202
229208
|
var toArray$a = /*@__PURE__*/getDefaultExportFromCjs(toArray_1);
|
|
229203
229209
|
|
|
229204
|
-
var _excluded$
|
|
229210
|
+
var _excluded$2c = ["tab"];
|
|
229205
229211
|
function filter(items) {
|
|
229206
229212
|
return items.filter(function (item) {
|
|
229207
229213
|
return item;
|
|
@@ -229218,7 +229224,7 @@
|
|
|
229218
229224
|
props = node.props;
|
|
229219
229225
|
var _ref = props || {},
|
|
229220
229226
|
tab = _ref.tab,
|
|
229221
|
-
restProps = _objectWithoutProperties$1(_ref, _excluded$
|
|
229227
|
+
restProps = _objectWithoutProperties$1(_ref, _excluded$2c);
|
|
229222
229228
|
var item = _objectSpread(_objectSpread({
|
|
229223
229229
|
key: String(key)
|
|
229224
229230
|
}, restProps), {}, {
|
|
@@ -229238,7 +229244,7 @@
|
|
|
229238
229244
|
TabPane$3.displayName = 'DeprecatedTabPane';
|
|
229239
229245
|
}
|
|
229240
229246
|
|
|
229241
|
-
var _excluded$
|
|
229247
|
+
var _excluded$2d = ["type", "className", "size", "onEdit", "hideAdd", "centered", "addIcon", "children", "items", "animated"];
|
|
229242
229248
|
function Tabs$3(_ref) {
|
|
229243
229249
|
var type = _ref.type,
|
|
229244
229250
|
className = _ref.className,
|
|
@@ -229250,7 +229256,7 @@
|
|
|
229250
229256
|
children = _ref.children,
|
|
229251
229257
|
items = _ref.items,
|
|
229252
229258
|
animated = _ref.animated,
|
|
229253
|
-
props = _objectWithoutProperties$1(_ref, _excluded$
|
|
229259
|
+
props = _objectWithoutProperties$1(_ref, _excluded$2d);
|
|
229254
229260
|
var customizePrefixCls = props.prefixCls,
|
|
229255
229261
|
_props$moreIcon = props.moreIcon,
|
|
229256
229262
|
moreIcon = _props$moreIcon === void 0 ? /*#__PURE__*/React.createElement(EllipsisOutlined$4, null) : _props$moreIcon;
|
|
@@ -229294,12 +229300,12 @@
|
|
|
229294
229300
|
Tabs$3.TabPane = TabPane$3;
|
|
229295
229301
|
Tabs$3.AntdTabs = Tabs$1;
|
|
229296
229302
|
|
|
229297
|
-
var _excluded$
|
|
229303
|
+
var _excluded$2e = ["size", "className"];
|
|
229298
229304
|
var Switch$2 = function Switch(props) {
|
|
229299
229305
|
var _props$size = props.size,
|
|
229300
229306
|
size = _props$size === void 0 ? 'default' : _props$size,
|
|
229301
229307
|
className = props.className,
|
|
229302
|
-
restProps = _objectWithoutProperties$1(props, _excluded$
|
|
229308
|
+
restProps = _objectWithoutProperties$1(props, _excluded$2e);
|
|
229303
229309
|
var classs = _classnames_2_3_2_classnames('lm-switch', className, _defineProperty$1({}, "lm-switch-".concat(size), size));
|
|
229304
229310
|
return /*#__PURE__*/React__default['default'].createElement(Switch$1, _objectSpread(_objectSpread({
|
|
229305
229311
|
className: classs
|
|
@@ -230620,7 +230626,7 @@
|
|
|
230620
230626
|
return replaceElement$1(element, element, props);
|
|
230621
230627
|
}
|
|
230622
230628
|
|
|
230623
|
-
var _excluded$
|
|
230629
|
+
var _excluded$2f = ["getPopupContainer"];
|
|
230624
230630
|
var splitObject$1 = function splitObject(obj, keys) {
|
|
230625
230631
|
var picked = {};
|
|
230626
230632
|
var omitted = _objectSpread({}, obj);
|
|
@@ -230739,7 +230745,7 @@
|
|
|
230739
230745
|
return overlay || title || '';
|
|
230740
230746
|
};
|
|
230741
230747
|
var getPopupContainer = props.getPopupContainer,
|
|
230742
|
-
otherProps = _objectWithoutProperties$1(props, _excluded$
|
|
230748
|
+
otherProps = _objectWithoutProperties$1(props, _excluded$2f);
|
|
230743
230749
|
var customizePrefixCls = props.prefixCls,
|
|
230744
230750
|
openClassName = props.openClassName,
|
|
230745
230751
|
getTooltipContainer = props.getTooltipContainer,
|
|
@@ -231545,7 +231551,7 @@
|
|
|
231545
231551
|
return list;
|
|
231546
231552
|
}
|
|
231547
231553
|
|
|
231548
|
-
var _excluded$
|
|
231554
|
+
var _excluded$2g = ["component", "children", "onVisibleChanged", "onAllRemoved"],
|
|
231549
231555
|
_excluded2$w = ["status"];
|
|
231550
231556
|
var MOTION_PROP_NAMES$1 = ['eventProps', 'visible', 'children', 'motionName', 'motionAppear', 'motionEnter', 'motionLeave', 'motionLeaveImmediately', 'motionDeadline', 'removeOnLeave', 'leavedClassName', 'onAppearStart', 'onAppearActive', 'onAppearEnd', 'onEnterStart', 'onEnterActive', 'onEnterEnd', 'onLeaveStart', 'onLeaveActive', 'onLeaveEnd'];
|
|
231551
231557
|
/**
|
|
@@ -231610,7 +231616,7 @@
|
|
|
231610
231616
|
children = _this$props.children,
|
|
231611
231617
|
_onVisibleChanged = _this$props.onVisibleChanged,
|
|
231612
231618
|
onAllRemoved = _this$props.onAllRemoved,
|
|
231613
|
-
restProps = _objectWithoutProperties(_this$props, _excluded$
|
|
231619
|
+
restProps = _objectWithoutProperties(_this$props, _excluded$2g);
|
|
231614
231620
|
|
|
231615
231621
|
var Component = component || React.Fragment;
|
|
231616
231622
|
var motionProps = {};
|
|
@@ -231830,7 +231836,7 @@
|
|
|
231830
231836
|
|
|
231831
231837
|
var RowContext$1 = /*#__PURE__*/React.createContext({});
|
|
231832
231838
|
|
|
231833
|
-
var _excluded$
|
|
231839
|
+
var _excluded$2h = ["prefixCls", "span", "order", "offset", "push", "pull", "className", "children", "flex", "style"];
|
|
231834
231840
|
function parseFlex$1(flex) {
|
|
231835
231841
|
if (typeof flex === 'number') {
|
|
231836
231842
|
return "".concat(flex, " ").concat(flex, " auto");
|
|
@@ -231860,7 +231866,7 @@
|
|
|
231860
231866
|
children = props.children,
|
|
231861
231867
|
flex = props.flex,
|
|
231862
231868
|
style = props.style,
|
|
231863
|
-
others = _objectWithoutProperties$1(props, _excluded$
|
|
231869
|
+
others = _objectWithoutProperties$1(props, _excluded$2h);
|
|
231864
231870
|
var prefixCls = getPrefixCls('col', customizePrefixCls);
|
|
231865
231871
|
var sizeClassObj = {};
|
|
231866
231872
|
sizes$1.forEach(function (size) {
|
|
@@ -232074,7 +232080,7 @@
|
|
|
232074
232080
|
return flexible;
|
|
232075
232081
|
});
|
|
232076
232082
|
|
|
232077
|
-
var _excluded$
|
|
232083
|
+
var _excluded$2i = ["prefixCls", "justify", "align", "className", "style", "children", "gutter", "wrap"];
|
|
232078
232084
|
var RowAligns$1 = tuple$2('top', 'middle', 'bottom', 'stretch');
|
|
232079
232085
|
var RowJustify$1 = tuple$2('start', 'end', 'center', 'space-around', 'space-between', 'space-evenly');
|
|
232080
232086
|
var Row$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
@@ -232088,7 +232094,7 @@
|
|
|
232088
232094
|
_props$gutter = props.gutter,
|
|
232089
232095
|
gutter = _props$gutter === void 0 ? 0 : _props$gutter,
|
|
232090
232096
|
wrap = props.wrap,
|
|
232091
|
-
others = _objectWithoutProperties$1(props, _excluded$
|
|
232097
|
+
others = _objectWithoutProperties$1(props, _excluded$2i);
|
|
232092
232098
|
var _React$useContext = React.useContext(ConfigContext),
|
|
232093
232099
|
getPrefixCls = _React$useContext.getPrefixCls,
|
|
232094
232100
|
direction = _React$useContext.direction;
|
|
@@ -233927,7 +233933,7 @@
|
|
|
233927
233933
|
return NextArrow;
|
|
233928
233934
|
}(React__default['default'].PureComponent);
|
|
233929
233935
|
|
|
233930
|
-
var _excluded$
|
|
233936
|
+
var _excluded$2j = ["animating"];
|
|
233931
233937
|
var InnerSlider = /*#__PURE__*/function (_React$Component) {
|
|
233932
233938
|
_inherits(InnerSlider, _React$Component);
|
|
233933
233939
|
|
|
@@ -234343,7 +234349,7 @@
|
|
|
234343
234349
|
if (!nextState) return;
|
|
234344
234350
|
_this.animationEndCallback = setTimeout(function () {
|
|
234345
234351
|
var animating = nextState.animating,
|
|
234346
|
-
firstBatch = _objectWithoutProperties(nextState, _excluded$
|
|
234352
|
+
firstBatch = _objectWithoutProperties(nextState, _excluded$2j);
|
|
234347
234353
|
|
|
234348
234354
|
_this.setState(firstBatch, function () {
|
|
234349
234355
|
_this.callbackTimers.push(setTimeout(function () {
|
|
@@ -236039,7 +236045,7 @@
|
|
|
236039
236045
|
return update;
|
|
236040
236046
|
}
|
|
236041
236047
|
|
|
236042
|
-
var _excluded$
|
|
236048
|
+
var _excluded$2k = ["prefixCls", "className", "style", "prefix", "split", "notFoundContent", "value", "defaultValue", "children", "open", "validateSearch", "filterOption", "onChange", "onKeyDown", "onKeyUp", "onPressEnter", "onSearch", "onSelect", "onFocus", "onBlur", "transitionName", "placement", "direction", "getPopupContainer", "dropdownClassName"];
|
|
236043
236049
|
var Mentions = /*#__PURE__*/React__default['default'].forwardRef(function (props, ref) {
|
|
236044
236050
|
var prefixCls = props.prefixCls,
|
|
236045
236051
|
className = props.className,
|
|
@@ -236066,7 +236072,7 @@
|
|
|
236066
236072
|
direction = props.direction,
|
|
236067
236073
|
getPopupContainer = props.getPopupContainer,
|
|
236068
236074
|
dropdownClassName = props.dropdownClassName,
|
|
236069
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
236075
|
+
restProps = _objectWithoutProperties(props, _excluded$2k);
|
|
236070
236076
|
|
|
236071
236077
|
var mergedPrefix = Array.isArray(prefix) ? prefix : [prefix];
|
|
236072
236078
|
|
|
@@ -236704,7 +236710,7 @@
|
|
|
236704
236710
|
});
|
|
236705
236711
|
}
|
|
236706
236712
|
|
|
236707
|
-
var _excluded$
|
|
236713
|
+
var _excluded$2l = ["prefixCls", "direction", "options", "disabled", "defaultValue", "value", "onChange", "className", "motionName"];
|
|
236708
236714
|
|
|
236709
236715
|
function getValidTitle(option) {
|
|
236710
236716
|
if (typeof option.title !== 'undefined') {
|
|
@@ -236783,7 +236789,7 @@
|
|
|
236783
236789
|
className = _props$className === void 0 ? '' : _props$className,
|
|
236784
236790
|
_props$motionName = props.motionName,
|
|
236785
236791
|
motionName = _props$motionName === void 0 ? 'thumb-motion' : _props$motionName,
|
|
236786
|
-
restProps = _objectWithoutProperties(props, _excluded$
|
|
236792
|
+
restProps = _objectWithoutProperties(props, _excluded$2l);
|
|
236787
236793
|
|
|
236788
236794
|
var containerRef = React.useRef(null);
|
|
236789
236795
|
var mergedRef = React.useMemo(function () {
|
|
@@ -238340,7 +238346,7 @@
|
|
|
238340
238346
|
})))));
|
|
238341
238347
|
};
|
|
238342
238348
|
|
|
238343
|
-
var _excluded$
|
|
238349
|
+
var _excluded$2m = ["prefixCls", "className", "size", "disabled", "form", "colon", "labelAlign", "labelWrap", "labelCol", "wrapperCol", "hideRequiredMark", "layout", "scrollToFirstError", "requiredMark", "onFinishFailed", "name", "responsive", "children"];
|
|
238344
238350
|
var InternalForm$2 = function InternalForm(props, ref) {
|
|
238345
238351
|
var _classNames;
|
|
238346
238352
|
var contextSize = React.useContext(SizeContext$1);
|
|
@@ -238371,7 +238377,7 @@
|
|
|
238371
238377
|
name = props.name,
|
|
238372
238378
|
responsive = props.responsive,
|
|
238373
238379
|
customizeChildren = props.children,
|
|
238374
|
-
restFormProps = _objectWithoutProperties$1(props, _excluded$
|
|
238380
|
+
restFormProps = _objectWithoutProperties$1(props, _excluded$2m);
|
|
238375
238381
|
var children = customizeChildren;
|
|
238376
238382
|
var mergedRequiredMark = React.useMemo(function () {
|
|
238377
238383
|
if (requiredMark !== undefined) {
|
|
@@ -239016,7 +239022,7 @@
|
|
|
239016
239022
|
|
|
239017
239023
|
var QuestionCircleOutlined$4 = /*@__PURE__*/getDefaultExportFromCjs(QuestionCircleOutlined$3);
|
|
239018
239024
|
|
|
239019
|
-
var _excluded$
|
|
239025
|
+
var _excluded$2n = ["icon"];
|
|
239020
239026
|
function toTooltipProps$1(tooltip) {
|
|
239021
239027
|
if (!tooltip) {
|
|
239022
239028
|
return null;
|
|
@@ -239068,7 +239074,7 @@
|
|
|
239068
239074
|
if (tooltipProps) {
|
|
239069
239075
|
var _tooltipProps$icon = tooltipProps.icon,
|
|
239070
239076
|
icon = _tooltipProps$icon === void 0 ? /*#__PURE__*/React.createElement(QuestionCircleOutlined$4, null) : _tooltipProps$icon,
|
|
239071
|
-
restTooltipProps = _objectWithoutProperties$1(tooltipProps, _excluded$
|
|
239077
|
+
restTooltipProps = _objectWithoutProperties$1(tooltipProps, _excluded$2n);
|
|
239072
239078
|
var tooltipNode = /*#__PURE__*/React.createElement(Tooltip$3, _objectSpread({}, restTooltipProps), /*#__PURE__*/React.cloneElement(icon, {
|
|
239073
239079
|
className: "".concat(prefixCls, "-item-tooltip"),
|
|
239074
239080
|
title: ''
|
|
@@ -239164,7 +239170,7 @@
|
|
|
239164
239170
|
}), dom));
|
|
239165
239171
|
};
|
|
239166
239172
|
|
|
239167
|
-
var _excluded$
|
|
239173
|
+
var _excluded$2o = ["prefixCls", "className", "style", "help", "errors", "warnings", "validateStatus", "meta", "hasFeedback", "hidden", "children", "fieldId", "isRequired", "responsive", "errorPlacement", "onSubItemMetaChange"];
|
|
239168
239174
|
var iconMap$1 = {
|
|
239169
239175
|
success: CheckCircleFilled$4,
|
|
239170
239176
|
warning: ExclamationCircleFilled$4,
|
|
@@ -239190,7 +239196,7 @@
|
|
|
239190
239196
|
_props$errorPlacement = props.errorPlacement,
|
|
239191
239197
|
errorPlacement = _props$errorPlacement === void 0 ? 'default' : _props$errorPlacement,
|
|
239192
239198
|
onSubItemMetaChange = props.onSubItemMetaChange,
|
|
239193
|
-
restProps = _objectWithoutProperties$1(props, _excluded$
|
|
239199
|
+
restProps = _objectWithoutProperties$1(props, _excluded$2o);
|
|
239194
239200
|
var itemPrefixCls = "".concat(prefixCls, "-item");
|
|
239195
239201
|
var _React$useContext = React.useContext(FormContext$2),
|
|
239196
239202
|
requiredMark = _React$useContext.requiredMark;
|
|
@@ -239533,11 +239539,11 @@
|
|
|
239533
239539
|
var FormItem$1 = InternalFormItem$2;
|
|
239534
239540
|
FormItem$1.useStatus = useFormItemStatus$1;
|
|
239535
239541
|
|
|
239536
|
-
var _excluded$
|
|
239542
|
+
var _excluded$2p = ["prefixCls", "children"];
|
|
239537
239543
|
var FormList$1 = function FormList(_ref) {
|
|
239538
239544
|
var customizePrefixCls = _ref.prefixCls,
|
|
239539
239545
|
children = _ref.children,
|
|
239540
|
-
props = _objectWithoutProperties$1(_ref, _excluded$
|
|
239546
|
+
props = _objectWithoutProperties$1(_ref, _excluded$2p);
|
|
239541
239547
|
warning$6(!!props.name, 'Form.List', 'Miss `name` prop.');
|
|
239542
239548
|
var _React$useContext = React.useContext(ConfigContext$1),
|
|
239543
239549
|
getPrefixCls = _React$useContext.getPrefixCls;
|
|
@@ -239675,12 +239681,12 @@
|
|
|
239675
239681
|
}, children);
|
|
239676
239682
|
};
|
|
239677
239683
|
|
|
239678
|
-
var _excluded$
|
|
239684
|
+
var _excluded$2q = ["data-row-key", "children", "className"];
|
|
239679
239685
|
var SortableItem$1 = function SortableItem(props) {
|
|
239680
239686
|
var key = props['data-row-key'],
|
|
239681
239687
|
children = props.children,
|
|
239682
239688
|
className = props.className,
|
|
239683
|
-
resetField = _objectWithoutProperties$1(props, _excluded$
|
|
239689
|
+
resetField = _objectWithoutProperties$1(props, _excluded$2q);
|
|
239684
239690
|
var _useSortable = useSortable({
|
|
239685
239691
|
id: key
|
|
239686
239692
|
}),
|
|
@@ -239699,11 +239705,11 @@
|
|
|
239699
239705
|
}, attributes), children);
|
|
239700
239706
|
};
|
|
239701
239707
|
|
|
239702
|
-
var _excluded$
|
|
239708
|
+
var _excluded$2r = ["children"];
|
|
239703
239709
|
var Item$5 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
239704
239710
|
var _children$props;
|
|
239705
239711
|
var children = _ref.children,
|
|
239706
|
-
props = _objectWithoutProperties$1(_ref, _excluded$
|
|
239712
|
+
props = _objectWithoutProperties$1(_ref, _excluded$2r);
|
|
239707
239713
|
return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread(_objectSpread({}, props), {}, {
|
|
239708
239714
|
ref: ref
|
|
239709
239715
|
}), (children === null || children === void 0 ? void 0 : (_children$props = children.props) === null || _children$props === void 0 ? void 0 : _children$props.children) || children);
|
|
@@ -239798,7 +239804,7 @@
|
|
|
239798
239804
|
return res;
|
|
239799
239805
|
}
|
|
239800
239806
|
|
|
239801
|
-
var _excluded$
|
|
239807
|
+
var _excluded$2s = ["index"],
|
|
239802
239808
|
_excluded2$x = ["index"],
|
|
239803
239809
|
_excluded3$8 = ["value", "onChange", "record", "rowIndex", "colIndex", "validator"],
|
|
239804
239810
|
_excluded4$1 = ["record", "rowKey", "isEdit", "col", "rowIndex", "colIndex", "handleTableRowDelete", "handleTableRowAdd", "quickOpetateClearAll", "getLength", "isHoverEdit", "editEnum", "valueType", "children", "handleSave", "handleAdd", "handleDelete", "handleCopy", "itemProps", "setValid", "reWriteOriginSource"],
|
|
@@ -239809,7 +239815,7 @@
|
|
|
239809
239815
|
// 表格行
|
|
239810
239816
|
var EditableRow$1 = function EditableRow(_ref) {
|
|
239811
239817
|
var index = _ref.index,
|
|
239812
|
-
props = _objectWithoutProperties$1(_ref, _excluded$
|
|
239818
|
+
props = _objectWithoutProperties$1(_ref, _excluded$2s);
|
|
239813
239819
|
var _Form$useForm = Form$4.useForm(),
|
|
239814
239820
|
_Form$useForm2 = _slicedToArray$1(_Form$useForm, 1),
|
|
239815
239821
|
form = _Form$useForm2[0];
|
|
@@ -241599,7 +241605,7 @@
|
|
|
241599
241605
|
}
|
|
241600
241606
|
}
|
|
241601
241607
|
|
|
241602
|
-
var _excluded$
|
|
241608
|
+
var _excluded$2t = ["prefixCls", "getPopupContainer", "className", "placement", "size", "disabled", "bordered", "placeholder", "status"];
|
|
241603
241609
|
function generateRangePicker$1(generateConfig) {
|
|
241604
241610
|
var RangePicker$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
241605
241611
|
var customizePrefixCls = props.prefixCls,
|
|
@@ -241612,7 +241618,7 @@
|
|
|
241612
241618
|
bordered = _props$bordered === void 0 ? true : _props$bordered,
|
|
241613
241619
|
placeholder = props.placeholder,
|
|
241614
241620
|
customStatus = props.status,
|
|
241615
|
-
restProps = _objectWithoutProperties$1(props, _excluded$
|
|
241621
|
+
restProps = _objectWithoutProperties$1(props, _excluded$2t);
|
|
241616
241622
|
var innerRef = React.useRef(null);
|
|
241617
241623
|
var _useContext = React.useContext(ConfigContext),
|
|
241618
241624
|
getPrefixCls = _useContext.getPrefixCls,
|
|
@@ -241705,7 +241711,7 @@
|
|
|
241705
241711
|
return RangePicker$1;
|
|
241706
241712
|
}
|
|
241707
241713
|
|
|
241708
|
-
var _excluded$
|
|
241714
|
+
var _excluded$2u = ["prefixCls", "getPopupContainer", "className", "size", "bordered", "placement", "placeholder", "disabled", "status"];
|
|
241709
241715
|
function generatePicker$2(generateConfig) {
|
|
241710
241716
|
function getPicker(picker, displayName) {
|
|
241711
241717
|
var Picker$1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
@@ -241719,7 +241725,7 @@
|
|
|
241719
241725
|
placeholder = props.placeholder,
|
|
241720
241726
|
customDisabled = props.disabled,
|
|
241721
241727
|
customStatus = props.status,
|
|
241722
|
-
restProps = _objectWithoutProperties$1(props, _excluded$
|
|
241728
|
+
restProps = _objectWithoutProperties$1(props, _excluded$2u);
|
|
241723
241729
|
warning$6(picker !== 'quarter', displayName, "DatePicker.".concat(displayName, " is legacy usage. Please use DatePicker[picker='").concat(picker, "'] directly."));
|
|
241724
241730
|
var _useContext = React.useContext(ConfigContext$1),
|
|
241725
241731
|
getPrefixCls = _useContext.getPrefixCls,
|
|
@@ -241913,13 +241919,13 @@
|
|
|
241913
241919
|
return propValue;
|
|
241914
241920
|
};
|
|
241915
241921
|
|
|
241916
|
-
var _excluded$
|
|
241922
|
+
var _excluded$2v = ["prefixCls", "title", "content", "_overlay"];
|
|
241917
241923
|
var Popover$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
241918
241924
|
var customizePrefixCls = _ref.prefixCls,
|
|
241919
241925
|
title = _ref.title,
|
|
241920
241926
|
content = _ref.content,
|
|
241921
241927
|
_overlay = _ref._overlay,
|
|
241922
|
-
otherProps = _objectWithoutProperties$1(_ref, _excluded$
|
|
241928
|
+
otherProps = _objectWithoutProperties$1(_ref, _excluded$2v);
|
|
241923
241929
|
var _React$useContext = React.useContext(ConfigContext),
|
|
241924
241930
|
getPrefixCls = _React$useContext.getPrefixCls;
|
|
241925
241931
|
var getOverlay = function getOverlay(prefixCls) {
|
|
@@ -242763,7 +242769,7 @@
|
|
|
242763
242769
|
|
|
242764
242770
|
var KeyCode$1 = /*@__PURE__*/getDefaultExportFromCjs(KeyCode_1);
|
|
242765
242771
|
|
|
242766
|
-
var _excluded$
|
|
242772
|
+
var _excluded$2w = ["style", "noStyle", "disabled"];
|
|
242767
242773
|
var inlineStyle$1 = {
|
|
242768
242774
|
border: 0,
|
|
242769
242775
|
background: 'transparent',
|
|
@@ -242788,7 +242794,7 @@
|
|
|
242788
242794
|
var style = props.style,
|
|
242789
242795
|
noStyle = props.noStyle,
|
|
242790
242796
|
disabled = props.disabled,
|
|
242791
|
-
restProps = _objectWithoutProperties$1(props, _excluded$
|
|
242797
|
+
restProps = _objectWithoutProperties$1(props, _excluded$2w);
|
|
242792
242798
|
var mergedStyle = {};
|
|
242793
242799
|
if (!noStyle) {
|
|
242794
242800
|
mergedStyle = _objectSpread({}, inlineStyle$1);
|
|
@@ -242982,7 +242988,7 @@
|
|
|
242982
242988
|
}, conditions);
|
|
242983
242989
|
});
|
|
242984
242990
|
|
|
242985
|
-
var _excluded$
|
|
242991
|
+
var _excluded$2x = ["prefixCls", "component", "className", "aria-label", "setContentRef", "children"];
|
|
242986
242992
|
var Typography$2 = function Typography(_ref, ref) {
|
|
242987
242993
|
var customizePrefixCls = _ref.prefixCls,
|
|
242988
242994
|
_ref$component = _ref.component,
|
|
@@ -242991,7 +242997,7 @@
|
|
|
242991
242997
|
ariaLabel = _ref['aria-label'],
|
|
242992
242998
|
setContentRef = _ref.setContentRef,
|
|
242993
242999
|
children = _ref.children,
|
|
242994
|
-
restProps = _objectWithoutProperties$1(_ref, _excluded$
|
|
243000
|
+
restProps = _objectWithoutProperties$1(_ref, _excluded$2x);
|
|
242995
243001
|
var _React$useContext = React.useContext(ConfigContext),
|
|
242996
243002
|
getPrefixCls = _React$useContext.getPrefixCls,
|
|
242997
243003
|
direction = _React$useContext.direction;
|
|
@@ -243198,7 +243204,7 @@
|
|
|
243198
243204
|
EllipsisTooltip$1.displayName = 'EllipsisTooltip';
|
|
243199
243205
|
}
|
|
243200
243206
|
|
|
243201
|
-
var _excluded$
|
|
243207
|
+
var _excluded$2y = ["prefixCls", "className", "style", "type", "disabled", "children", "ellipsis", "editable", "copyable", "component", "title"];
|
|
243202
243208
|
function wrapperDecorations$1(_ref, content) {
|
|
243203
243209
|
var mark = _ref.mark,
|
|
243204
243210
|
code = _ref.code,
|
|
@@ -243243,7 +243249,7 @@
|
|
|
243243
243249
|
copyable = props.copyable,
|
|
243244
243250
|
component = props.component,
|
|
243245
243251
|
title = props.title,
|
|
243246
|
-
restProps = _objectWithoutProperties$1(props, _excluded$
|
|
243252
|
+
restProps = _objectWithoutProperties$1(props, _excluded$2y);
|
|
243247
243253
|
var _React$useContext = React.useContext(ConfigContext),
|
|
243248
243254
|
getPrefixCls = _React$useContext.getPrefixCls,
|
|
243249
243255
|
direction = _React$useContext.direction;
|
|
@@ -243603,11 +243609,11 @@
|
|
|
243603
243609
|
});
|
|
243604
243610
|
});
|
|
243605
243611
|
|
|
243606
|
-
var _excluded$
|
|
243612
|
+
var _excluded$2z = ["ellipsis", "rel"];
|
|
243607
243613
|
var Link$2 = function Link(_ref, ref) {
|
|
243608
243614
|
var ellipsis = _ref.ellipsis,
|
|
243609
243615
|
rel = _ref.rel,
|
|
243610
|
-
restProps = _objectWithoutProperties$1(_ref, _excluded$
|
|
243616
|
+
restProps = _objectWithoutProperties$1(_ref, _excluded$2z);
|
|
243611
243617
|
warning$6(_typeof$1(ellipsis) !== 'object', 'Typography.Link', '`ellipsis` only supports boolean value.');
|
|
243612
243618
|
var baseRef = React.useRef(null);
|
|
243613
243619
|
React.useImperativeHandle(ref, function () {
|
|
@@ -243636,10 +243642,10 @@
|
|
|
243636
243642
|
};
|
|
243637
243643
|
var Paragraph$7 = /*#__PURE__*/React.forwardRef(Paragraph$6);
|
|
243638
243644
|
|
|
243639
|
-
var _excluded$
|
|
243645
|
+
var _excluded$2A = ["ellipsis"];
|
|
243640
243646
|
var Text$2 = function Text(_ref, ref) {
|
|
243641
243647
|
var ellipsis = _ref.ellipsis,
|
|
243642
|
-
restProps = _objectWithoutProperties$1(_ref, _excluded$
|
|
243648
|
+
restProps = _objectWithoutProperties$1(_ref, _excluded$2A);
|
|
243643
243649
|
var mergedEllipsis = React.useMemo(function () {
|
|
243644
243650
|
if (ellipsis && _typeof$1(ellipsis) === 'object') {
|
|
243645
243651
|
return omit$3(ellipsis, ['expandable', 'rows']);
|
|
@@ -243656,12 +243662,12 @@
|
|
|
243656
243662
|
};
|
|
243657
243663
|
var Text$3 = /*#__PURE__*/React.forwardRef(Text$2);
|
|
243658
243664
|
|
|
243659
|
-
var _excluded$
|
|
243665
|
+
var _excluded$2B = ["level"];
|
|
243660
243666
|
var TITLE_ELE_LIST$1 = tupleNum$1(1, 2, 3, 4, 5);
|
|
243661
243667
|
var Title$4 = function Title(props, ref) {
|
|
243662
243668
|
var _props$level = props.level,
|
|
243663
243669
|
level = _props$level === void 0 ? 1 : _props$level,
|
|
243664
|
-
restProps = _objectWithoutProperties$1(props, _excluded$
|
|
243670
|
+
restProps = _objectWithoutProperties$1(props, _excluded$2B);
|
|
243665
243671
|
var component;
|
|
243666
243672
|
if (TITLE_ELE_LIST$1.indexOf(level) !== -1) {
|
|
243667
243673
|
component = "h".concat(level);
|
|
@@ -243753,7 +243759,7 @@
|
|
|
243753
243759
|
RefAutoComplete$1.Option = Option;
|
|
243754
243760
|
RefAutoComplete$1.AntdAutoComplete = RefAutoComplete;
|
|
243755
243761
|
|
|
243756
|
-
var _excluded$
|
|
243762
|
+
var _excluded$2C = ["children", "treeData", "value", "defaultLabel", "disabled", "size"];
|
|
243757
243763
|
var CLMTreeSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
243758
243764
|
var children = props.children,
|
|
243759
243765
|
treeData = props.treeData,
|
|
@@ -243761,7 +243767,7 @@
|
|
|
243761
243767
|
defaultLabel = props.defaultLabel,
|
|
243762
243768
|
customDisabled = props.disabled,
|
|
243763
243769
|
customizeSize = props.size,
|
|
243764
|
-
resetProps = _objectWithoutProperties$1(props, _excluded$
|
|
243770
|
+
resetProps = _objectWithoutProperties$1(props, _excluded$2C);
|
|
243765
243771
|
// ===================== Disabled =====================
|
|
243766
243772
|
var disabled = React__default['default'].useContext(DisabledContext$1);
|
|
243767
243773
|
var mergedDisabled = customDisabled || disabled;
|
|
@@ -243879,7 +243885,7 @@
|
|
|
243879
243885
|
return ErrorBoundary;
|
|
243880
243886
|
}(React.Component);
|
|
243881
243887
|
|
|
243882
|
-
var _excluded$
|
|
243888
|
+
var _excluded$2D = ["description", "prefixCls", "message", "banner", "className", "style", "onMouseEnter", "onMouseLeave", "onClick", "afterClose", "showIcon", "closable", "closeText", "closeIcon", "action", "duration"];
|
|
243883
243889
|
var iconMapFilled$1 = {
|
|
243884
243890
|
success: CheckCircleFilled$2,
|
|
243885
243891
|
info: InfoCircleFilled$2,
|
|
@@ -243946,7 +243952,7 @@
|
|
|
243946
243952
|
closeIcon = _ref$closeIcon === void 0 ? /*#__PURE__*/React.createElement(CloseOutlined$2, null) : _ref$closeIcon,
|
|
243947
243953
|
action = _ref.action,
|
|
243948
243954
|
duration = _ref.duration,
|
|
243949
|
-
props = _objectWithoutProperties$1(_ref, _excluded$
|
|
243955
|
+
props = _objectWithoutProperties$1(_ref, _excluded$2D);
|
|
243950
243956
|
var _React$useState = React.useState(false),
|
|
243951
243957
|
_React$useState2 = _slicedToArray$1(_React$useState, 2),
|
|
243952
243958
|
closed = _React$useState2[0],
|
|
@@ -244311,7 +244317,7 @@
|
|
|
244311
244317
|
};
|
|
244312
244318
|
};
|
|
244313
244319
|
|
|
244314
|
-
var _excluded$
|
|
244320
|
+
var _excluded$2E = ["className", "onUrge", "onDeleteComment"];
|
|
244315
244321
|
var prefixCls$b = 'lm_approval';
|
|
244316
244322
|
var colors = ['#36BCF1', '#AE86DC', '#8BD248', '#F5A173'];
|
|
244317
244323
|
var cacheColorMap = new Map();
|
|
@@ -244670,7 +244676,7 @@
|
|
|
244670
244676
|
onUrge = _props$onUrge === void 0 ? function () {} : _props$onUrge,
|
|
244671
244677
|
_props$onDeleteCommen2 = props.onDeleteComment,
|
|
244672
244678
|
onDeleteComment = _props$onDeleteCommen2 === void 0 ? function () {} : _props$onDeleteCommen2,
|
|
244673
|
-
others = _objectWithoutProperties$1(props, _excluded$
|
|
244679
|
+
others = _objectWithoutProperties$1(props, _excluded$2E);
|
|
244674
244680
|
var _useState = React.useState(false),
|
|
244675
244681
|
_useState2 = _slicedToArray$1(_useState, 2),
|
|
244676
244682
|
update = _useState2[0],
|
|
@@ -244789,7 +244795,7 @@
|
|
|
244789
244795
|
|
|
244790
244796
|
var Indent$3 = /*#__PURE__*/React.memo(Indent$2);
|
|
244791
244797
|
|
|
244792
|
-
var _excluded$
|
|
244798
|
+
var _excluded$2F = ["children"];
|
|
244793
244799
|
function getKey$3(key, pos) {
|
|
244794
244800
|
if (key !== null && key !== undefined) {
|
|
244795
244801
|
return key;
|
|
@@ -244852,7 +244858,7 @@
|
|
|
244852
244858
|
|
|
244853
244859
|
var _treeNode$props = treeNode.props,
|
|
244854
244860
|
children = _treeNode$props.children,
|
|
244855
|
-
rest = _objectWithoutProperties(_treeNode$props, _excluded$
|
|
244861
|
+
rest = _objectWithoutProperties(_treeNode$props, _excluded$2F);
|
|
244856
244862
|
|
|
244857
244863
|
var dataNode = _objectSpread2({
|
|
244858
244864
|
key: key
|
|
@@ -245160,7 +245166,7 @@
|
|
|
245160
245166
|
return eventData;
|
|
245161
245167
|
}
|
|
245162
245168
|
|
|
245163
|
-
var _excluded$
|
|
245169
|
+
var _excluded$2G = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "dragOverGapBottom", "isLeaf", "isStart", "isEnd", "expanded", "selected", "checked", "halfChecked", "loading", "domRef", "active", "data", "onMouseMove", "selectable"];
|
|
245164
245170
|
var ICON_OPEN$1 = 'open';
|
|
245165
245171
|
var ICON_CLOSE$1 = 'close';
|
|
245166
245172
|
var defaultTitle$1 = '---';
|
|
@@ -245594,7 +245600,7 @@
|
|
|
245594
245600
|
data = _this$props8.data,
|
|
245595
245601
|
onMouseMove = _this$props8.onMouseMove,
|
|
245596
245602
|
selectable = _this$props8.selectable,
|
|
245597
|
-
otherProps = _objectWithoutProperties(_this$props8, _excluded$
|
|
245603
|
+
otherProps = _objectWithoutProperties(_this$props8, _excluded$2G);
|
|
245598
245604
|
|
|
245599
245605
|
var _this$props$context5 = this.props.context,
|
|
245600
245606
|
prefixCls = _this$props$context5.prefixCls,
|
|
@@ -245933,7 +245939,7 @@
|
|
|
245933
245939
|
return _toConsumableArray(expandedKeys);
|
|
245934
245940
|
}
|
|
245935
245941
|
|
|
245936
|
-
var _excluded$
|
|
245942
|
+
var _excluded$2H = ["className", "style", "motion", "motionNodes", "motionType", "onMotionStart", "onMotionEnd", "active", "treeNodeRequiredProps"];
|
|
245937
245943
|
|
|
245938
245944
|
var MotionTreeNode$1 = function MotionTreeNode(_ref, ref) {
|
|
245939
245945
|
var className = _ref.className,
|
|
@@ -245945,7 +245951,7 @@
|
|
|
245945
245951
|
onOriginMotionEnd = _ref.onMotionEnd,
|
|
245946
245952
|
active = _ref.active,
|
|
245947
245953
|
treeNodeRequiredProps = _ref.treeNodeRequiredProps,
|
|
245948
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
245954
|
+
props = _objectWithoutProperties(_ref, _excluded$2H);
|
|
245949
245955
|
|
|
245950
245956
|
var _React$useState = React.useState(true),
|
|
245951
245957
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -246086,7 +246092,7 @@
|
|
|
246086
246092
|
return longer.slice(longerStartIndex + 1);
|
|
246087
246093
|
}
|
|
246088
246094
|
|
|
246089
|
-
var _excluded$
|
|
246095
|
+
var _excluded$2I = ["prefixCls", "data", "selectable", "checkable", "expandedKeys", "selectedKeys", "checkedKeys", "loadedKeys", "loadingKeys", "halfCheckedKeys", "keyEntities", "disabled", "dragging", "dragOverNodeKey", "dropPosition", "motion", "height", "itemHeight", "virtual", "focusable", "activeItem", "focused", "tabIndex", "onKeyDown", "onFocus", "onBlur", "onActiveChange", "onListChangeStart", "onListChangeEnd"];
|
|
246090
246096
|
var HIDDEN_STYLE$3 = {
|
|
246091
246097
|
width: 0,
|
|
246092
246098
|
height: 0,
|
|
@@ -246184,7 +246190,7 @@
|
|
|
246184
246190
|
onActiveChange = props.onActiveChange,
|
|
246185
246191
|
onListChangeStart = props.onListChangeStart,
|
|
246186
246192
|
onListChangeEnd = props.onListChangeEnd,
|
|
246187
|
-
domProps = _objectWithoutProperties(props, _excluded$
|
|
246193
|
+
domProps = _objectWithoutProperties(props, _excluded$2I); // =============================== Ref ================================
|
|
246188
246194
|
|
|
246189
246195
|
|
|
246190
246196
|
var listRef = React.useRef(null);
|
|
@@ -249599,7 +249605,7 @@
|
|
|
249599
249605
|
return nodes;
|
|
249600
249606
|
}
|
|
249601
249607
|
|
|
249602
|
-
var _excluded$
|
|
249608
|
+
var _excluded$2J = ["defaultExpandAll", "defaultExpandParent", "defaultExpandedKeys"],
|
|
249603
249609
|
_excluded2$y = ["prefixCls", "className"];
|
|
249604
249610
|
var ConfigContext$7 = ConfigProvider$1.ConfigContext;
|
|
249605
249611
|
function getIcon$1(props) {
|
|
@@ -249619,7 +249625,7 @@
|
|
|
249619
249625
|
var defaultExpandAll = _ref2.defaultExpandAll,
|
|
249620
249626
|
defaultExpandParent = _ref2.defaultExpandParent,
|
|
249621
249627
|
defaultExpandedKeys = _ref2.defaultExpandedKeys,
|
|
249622
|
-
props = _objectWithoutProperties$1(_ref2, _excluded$
|
|
249628
|
+
props = _objectWithoutProperties$1(_ref2, _excluded$2J);
|
|
249623
249629
|
// Shift click usage
|
|
249624
249630
|
var lastSelectedKey = React.useRef();
|
|
249625
249631
|
var cachedSelectedKeys = React.useRef();
|
|
@@ -250070,11 +250076,11 @@
|
|
|
250070
250076
|
blockNode: false
|
|
250071
250077
|
};
|
|
250072
250078
|
|
|
250073
|
-
var _excluded$
|
|
250079
|
+
var _excluded$2K = ["className"];
|
|
250074
250080
|
var prefixCls$c = 'lm_tree';
|
|
250075
250081
|
var LmTree = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
250076
250082
|
var className = props.className,
|
|
250077
|
-
rest = _objectWithoutProperties$1(props, _excluded$
|
|
250083
|
+
rest = _objectWithoutProperties$1(props, _excluded$2K);
|
|
250078
250084
|
return /*#__PURE__*/React__default['default'].createElement(Tree$3, _objectSpread(_objectSpread({
|
|
250079
250085
|
ref: ref
|
|
250080
250086
|
}, rest), {}, {
|
|
@@ -251104,7 +251110,7 @@
|
|
|
251104
251110
|
}, unitNodes);
|
|
251105
251111
|
}
|
|
251106
251112
|
|
|
251107
|
-
var _excluded$
|
|
251113
|
+
var _excluded$2L = ["prefixCls", "count", "className", "motionClassName", "style", "title", "show", "component", "children"];
|
|
251108
251114
|
var ScrollNumber$1 = function ScrollNumber(_ref) {
|
|
251109
251115
|
var customizePrefixCls = _ref.prefixCls,
|
|
251110
251116
|
count = _ref.count,
|
|
@@ -251116,7 +251122,7 @@
|
|
|
251116
251122
|
_ref$component = _ref.component,
|
|
251117
251123
|
component = _ref$component === void 0 ? 'sup' : _ref$component,
|
|
251118
251124
|
children = _ref.children,
|
|
251119
|
-
restProps = _objectWithoutProperties$1(_ref, _excluded$
|
|
251125
|
+
restProps = _objectWithoutProperties$1(_ref, _excluded$2L);
|
|
251120
251126
|
var _React$useContext = React.useContext(ConfigContext$1),
|
|
251121
251127
|
getPrefixCls = _React$useContext.getPrefixCls;
|
|
251122
251128
|
var prefixCls = getPrefixCls('scroll-number', customizePrefixCls);
|
|
@@ -251159,7 +251165,7 @@
|
|
|
251159
251165
|
return /*#__PURE__*/React.createElement(component, newProps, numberNodes);
|
|
251160
251166
|
};
|
|
251161
251167
|
|
|
251162
|
-
var _excluded$
|
|
251168
|
+
var _excluded$2M = ["prefixCls", "scrollNumberPrefixCls", "children", "status", "text", "color", "count", "overflowCount", "dot", "size", "title", "offset", "style", "className", "showZero"];
|
|
251163
251169
|
var Badge$1 = function Badge(_ref) {
|
|
251164
251170
|
var _classNames, _classNames2;
|
|
251165
251171
|
var customizePrefixCls = _ref.prefixCls,
|
|
@@ -251182,7 +251188,7 @@
|
|
|
251182
251188
|
className = _ref.className,
|
|
251183
251189
|
_ref$showZero = _ref.showZero,
|
|
251184
251190
|
showZero = _ref$showZero === void 0 ? false : _ref$showZero,
|
|
251185
|
-
restProps = _objectWithoutProperties$1(_ref, _excluded$
|
|
251191
|
+
restProps = _objectWithoutProperties$1(_ref, _excluded$2M);
|
|
251186
251192
|
var _React$useContext = React.useContext(ConfigContext$1),
|
|
251187
251193
|
getPrefixCls = _React$useContext.getPrefixCls,
|
|
251188
251194
|
direction = _React$useContext.direction;
|
|
@@ -251298,7 +251304,7 @@
|
|
|
251298
251304
|
};
|
|
251299
251305
|
Badge$1.Ribbon = Ribbon$1;
|
|
251300
251306
|
|
|
251301
|
-
var _excluded$
|
|
251307
|
+
var _excluded$2N = ["prefixCls", "type", "orientation", "orientationMargin", "className", "children", "dashed", "plain"];
|
|
251302
251308
|
var Divider$2 = function Divider(props) {
|
|
251303
251309
|
var _classNames;
|
|
251304
251310
|
var _React$useContext = React.useContext(ConfigContext$1),
|
|
@@ -251314,7 +251320,7 @@
|
|
|
251314
251320
|
children = props.children,
|
|
251315
251321
|
dashed = props.dashed,
|
|
251316
251322
|
plain = props.plain,
|
|
251317
|
-
restProps = _objectWithoutProperties$1(props, _excluded$
|
|
251323
|
+
restProps = _objectWithoutProperties$1(props, _excluded$2N);
|
|
251318
251324
|
var prefixCls = getPrefixCls('divider', customizePrefixCls);
|
|
251319
251325
|
var orientationPrefix = orientation.length > 0 ? "-".concat(orientation) : orientation;
|
|
251320
251326
|
var hasChildren = !!children;
|
|
@@ -253768,13 +253774,13 @@
|
|
|
253768
253774
|
};
|
|
253769
253775
|
var Body$1 = /*#__PURE__*/React__default['default'].memo(Index$b);
|
|
253770
253776
|
|
|
253771
|
-
var _excluded$
|
|
253777
|
+
var _excluded$2O = ["value", "onChange", "leftIcon", "rightIcon"];
|
|
253772
253778
|
var ResetSlider = function ResetSlider(_ref) {
|
|
253773
253779
|
var value = _ref.value,
|
|
253774
253780
|
_onChange = _ref.onChange,
|
|
253775
253781
|
leftIcon = _ref.leftIcon,
|
|
253776
253782
|
rightIcon = _ref.rightIcon,
|
|
253777
|
-
props = _objectWithoutProperties$1(_ref, _excluded$
|
|
253783
|
+
props = _objectWithoutProperties$1(_ref, _excluded$2O);
|
|
253778
253784
|
// 减
|
|
253779
253785
|
var decrement = function decrement() {
|
|
253780
253786
|
if (!(value > props.min)) return;
|