uiw 4.21.13 → 4.21.16
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/uiw.css +1 -13
- package/dist/uiw.js +63 -47
- package/dist/uiw.min.css +1 -1
- package/dist/uiw.min.js +1 -1
- package/package.json +61 -61
package/dist/uiw.css
CHANGED
|
@@ -67,7 +67,6 @@
|
|
|
67
67
|
overflow: auto;
|
|
68
68
|
-webkit-user-select: none;
|
|
69
69
|
-moz-user-select: none;
|
|
70
|
-
-ms-user-select: none;
|
|
71
70
|
user-select: none;
|
|
72
71
|
}
|
|
73
72
|
.w-overlay-enter .w-overlay-backdrop {
|
|
@@ -147,7 +146,6 @@
|
|
|
147
146
|
.w-btn {
|
|
148
147
|
-webkit-user-select: none;
|
|
149
148
|
-moz-user-select: none;
|
|
150
|
-
-ms-user-select: none;
|
|
151
149
|
user-select: none;
|
|
152
150
|
display: inline-flex;
|
|
153
151
|
flex-direction: row;
|
|
@@ -1409,7 +1407,6 @@ sup.w-badge-count {
|
|
|
1409
1407
|
.w-datepicker-caption {
|
|
1410
1408
|
-webkit-user-select: none;
|
|
1411
1409
|
-moz-user-select: none;
|
|
1412
|
-
-ms-user-select: none;
|
|
1413
1410
|
user-select: none;
|
|
1414
1411
|
text-align: center;
|
|
1415
1412
|
padding: 0 0 3px 0;
|
|
@@ -1513,7 +1510,6 @@ sup.w-badge-count {
|
|
|
1513
1510
|
color: #393e48;
|
|
1514
1511
|
-webkit-user-select: none;
|
|
1515
1512
|
-moz-user-select: none;
|
|
1516
|
-
-ms-user-select: none;
|
|
1517
1513
|
user-select: none;
|
|
1518
1514
|
font-size: 14px;
|
|
1519
1515
|
line-height: 21px;
|
|
@@ -1574,7 +1570,6 @@ sup.w-badge-count {
|
|
|
1574
1570
|
display: inline-block;
|
|
1575
1571
|
-webkit-user-select: none;
|
|
1576
1572
|
-moz-user-select: none;
|
|
1577
|
-
-ms-user-select: none;
|
|
1578
1573
|
user-select: none;
|
|
1579
1574
|
}
|
|
1580
1575
|
.w-calendar-btn-group {
|
|
@@ -1720,7 +1715,6 @@ sup.w-badge-count {
|
|
|
1720
1715
|
color: inherit;
|
|
1721
1716
|
-webkit-user-select: none;
|
|
1722
1717
|
-moz-user-select: none;
|
|
1723
|
-
-ms-user-select: none;
|
|
1724
1718
|
user-select: none;
|
|
1725
1719
|
transition: initial;
|
|
1726
1720
|
transition: background-color 0.3s;
|
|
@@ -2141,7 +2135,6 @@ sup.w-badge-count {
|
|
|
2141
2135
|
.w-copy-to-clipboard-select {
|
|
2142
2136
|
-webkit-user-select: text;
|
|
2143
2137
|
-moz-user-select: text;
|
|
2144
|
-
-ms-user-select: text;
|
|
2145
2138
|
user-select: text;
|
|
2146
2139
|
display: none;
|
|
2147
2140
|
}
|
|
@@ -3484,7 +3477,6 @@ a.w-list-item:hover:not(.w-disabled) {
|
|
|
3484
3477
|
position: relative;
|
|
3485
3478
|
-webkit-user-select: none;
|
|
3486
3479
|
-moz-user-select: none;
|
|
3487
|
-
-ms-user-select: none;
|
|
3488
3480
|
user-select: none;
|
|
3489
3481
|
font-size: 12px;
|
|
3490
3482
|
}
|
|
@@ -3827,7 +3819,6 @@ a.w-list-item:hover:not(.w-disabled) {
|
|
|
3827
3819
|
display: inline-block;
|
|
3828
3820
|
-webkit-user-select: none;
|
|
3829
3821
|
-moz-user-select: none;
|
|
3830
|
-
-ms-user-select: none;
|
|
3831
3822
|
user-select: none;
|
|
3832
3823
|
font-size: 12px;
|
|
3833
3824
|
padding: 1px 5px;
|
|
@@ -3976,8 +3967,7 @@ a.w-list-item:hover:not(.w-disabled) {
|
|
|
3976
3967
|
display: flex;
|
|
3977
3968
|
background: #f8f8f9;
|
|
3978
3969
|
-webkit-user-select: none;
|
|
3979
|
-
|
|
3980
|
-
user-select: none;
|
|
3970
|
+
user-select: none;
|
|
3981
3971
|
}
|
|
3982
3972
|
.w-split-bar::before,
|
|
3983
3973
|
.w-split-bar::after {
|
|
@@ -4418,7 +4408,6 @@ a.w-list-item:hover:not(.w-disabled) {
|
|
|
4418
4408
|
cursor: pointer;
|
|
4419
4409
|
-webkit-user-select: none;
|
|
4420
4410
|
-moz-user-select: none;
|
|
4421
|
-
-ms-user-select: none;
|
|
4422
4411
|
user-select: none;
|
|
4423
4412
|
vertical-align: middle;
|
|
4424
4413
|
}
|
|
@@ -4802,7 +4791,6 @@ a.w-list-item:hover:not(.w-disabled) {
|
|
|
4802
4791
|
cursor: not-allowed;
|
|
4803
4792
|
-webkit-user-select: none;
|
|
4804
4793
|
-moz-user-select: none;
|
|
4805
|
-
-ms-user-select: none;
|
|
4806
4794
|
user-select: none;
|
|
4807
4795
|
color: rgba(0, 0, 0, 0.25);
|
|
4808
4796
|
}
|
package/dist/uiw.js
CHANGED
|
@@ -328,7 +328,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
328
328
|
"Circle": () => (/* reexport */ Circle),
|
|
329
329
|
"Col": () => (/* reexport */ Col),
|
|
330
330
|
"Collapse": () => (/* reexport */ react_collapse_esm),
|
|
331
|
-
"ContextMenu": () => (/* reexport */ ContextMenu),
|
|
332
331
|
"CopyToClipboard": () => (/* reexport */ CopyToClipboard),
|
|
333
332
|
"DateInput": () => (/* reexport */ DateInput),
|
|
334
333
|
"DateInputRange": () => (/* reexport */ DateInputRange),
|
|
@@ -421,7 +420,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
421
420
|
}
|
|
422
421
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/extends.js
|
|
423
422
|
function _extends() {
|
|
424
|
-
_extends = Object.assign
|
|
423
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
425
424
|
for (var i = 1; i < arguments.length; i++) {
|
|
426
425
|
var source = arguments[i];
|
|
427
426
|
|
|
@@ -434,7 +433,6 @@ function _extends() {
|
|
|
434
433
|
|
|
435
434
|
return target;
|
|
436
435
|
};
|
|
437
|
-
|
|
438
436
|
return _extends.apply(this, arguments);
|
|
439
437
|
}
|
|
440
438
|
// EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react"}
|
|
@@ -697,11 +695,10 @@ function _asyncToGenerator(fn) {
|
|
|
697
695
|
}
|
|
698
696
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
699
697
|
function _setPrototypeOf(o, p) {
|
|
700
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
698
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
701
699
|
o.__proto__ = p;
|
|
702
700
|
return o;
|
|
703
701
|
};
|
|
704
|
-
|
|
705
702
|
return _setPrototypeOf(o, p);
|
|
706
703
|
}
|
|
707
704
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
|
|
@@ -765,6 +762,10 @@ var external_root_ReactDOM_commonjs2_react_dom_commonjs_react_dom_amd_react_dom_
|
|
|
765
762
|
;// CONCATENATED MODULE: ../../node_modules/react-transition-group/esm/TransitionGroupContext.js
|
|
766
763
|
|
|
767
764
|
/* harmony default export */ const TransitionGroupContext = (external_root_React_commonjs2_react_commonjs_react_amd_react_default().createContext(null));
|
|
765
|
+
;// CONCATENATED MODULE: ../../node_modules/react-transition-group/esm/utils/reflow.js
|
|
766
|
+
var forceReflow = function forceReflow(node) {
|
|
767
|
+
return node.scrollTop;
|
|
768
|
+
};
|
|
768
769
|
;// CONCATENATED MODULE: ../../node_modules/react-transition-group/esm/Transition.js
|
|
769
770
|
|
|
770
771
|
|
|
@@ -774,6 +775,7 @@ var external_root_ReactDOM_commonjs2_react_dom_commonjs_react_dom_amd_react_dom_
|
|
|
774
775
|
|
|
775
776
|
|
|
776
777
|
|
|
778
|
+
|
|
777
779
|
var UNMOUNTED = 'unmounted';
|
|
778
780
|
var EXITED = 'exited';
|
|
779
781
|
var ENTERING = 'entering';
|
|
@@ -993,6 +995,14 @@ var Transition = /*#__PURE__*/function (_React$Component) {
|
|
|
993
995
|
this.cancelNextCallback();
|
|
994
996
|
|
|
995
997
|
if (nextStatus === ENTERING) {
|
|
998
|
+
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
999
|
+
var node = this.props.nodeRef ? this.props.nodeRef.current : external_root_ReactDOM_commonjs2_react_dom_commonjs_react_dom_amd_react_dom_default().findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749
|
|
1000
|
+
// With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.
|
|
1001
|
+
// To make the animation happen, we have to separate each rendering and avoid being processed as batched.
|
|
1002
|
+
|
|
1003
|
+
if (node) forceReflow(node);
|
|
1004
|
+
}
|
|
1005
|
+
|
|
996
1006
|
this.performEnter(mounting);
|
|
997
1007
|
} else {
|
|
998
1008
|
this.performExit();
|
|
@@ -1207,6 +1217,7 @@ Transition.EXITING = EXITING;
|
|
|
1207
1217
|
|
|
1208
1218
|
|
|
1209
1219
|
|
|
1220
|
+
|
|
1210
1221
|
var _addClass = function addClass(node, classes) {
|
|
1211
1222
|
return node && classes && classes.split(' ').forEach(function (c) {
|
|
1212
1223
|
return addClass_addClass(node, c);
|
|
@@ -1426,8 +1437,7 @@ var CSSTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
1426
1437
|
|
|
1427
1438
|
|
|
1428
1439
|
if (phase === 'active') {
|
|
1429
|
-
|
|
1430
|
-
node && node.scrollTop;
|
|
1440
|
+
if (node) forceReflow(node);
|
|
1431
1441
|
}
|
|
1432
1442
|
|
|
1433
1443
|
if (className) {
|
|
@@ -4773,7 +4783,8 @@ var Menu = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_r
|
|
|
4773
4783
|
})
|
|
4774
4784
|
}));
|
|
4775
4785
|
});
|
|
4776
|
-
|
|
4786
|
+
|
|
4787
|
+
var InternalContextMenu = (props, ref) => {
|
|
4777
4788
|
var [contextHeight, setContextHeight] = external_root_React_commonjs2_react_commonjs_react_amd_react_default().useState({
|
|
4778
4789
|
height: 0,
|
|
4779
4790
|
ele: null
|
|
@@ -4786,7 +4797,9 @@ var ContextMenu = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_reac
|
|
|
4786
4797
|
ref: ref
|
|
4787
4798
|
}))
|
|
4788
4799
|
});
|
|
4789
|
-
}
|
|
4800
|
+
};
|
|
4801
|
+
|
|
4802
|
+
var ContextMenu = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef(InternalContextMenu);
|
|
4790
4803
|
Menu.displayName = 'uiw.Menu';
|
|
4791
4804
|
ContextMenu.displayName = 'uiw.Menu';
|
|
4792
4805
|
ContextMenu.Item = MenuItem;
|
|
@@ -5561,6 +5574,7 @@ function InternalCollapse(props, ref) {
|
|
|
5561
5574
|
}
|
|
5562
5575
|
|
|
5563
5576
|
var Collapse = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef(InternalCollapse);
|
|
5577
|
+
Collapse.displayName = 'Collapse';
|
|
5564
5578
|
Collapse.Panel = Panel;
|
|
5565
5579
|
/* harmony default export */ const esm_Collapse = (Collapse);
|
|
5566
5580
|
|
|
@@ -6703,6 +6717,7 @@ var Form_excluded = ["prefixCls", "className", "fields", "children", "resetOnSub
|
|
|
6703
6717
|
|
|
6704
6718
|
|
|
6705
6719
|
|
|
6720
|
+
|
|
6706
6721
|
function newFormState(fields, cb) {
|
|
6707
6722
|
var state = {
|
|
6708
6723
|
initial: {},
|
|
@@ -6733,8 +6748,7 @@ function newInitialValue(value) {
|
|
|
6733
6748
|
|
|
6734
6749
|
var isPromise = promise => promise && typeof promise.then === 'function';
|
|
6735
6750
|
|
|
6736
|
-
function Form(
|
|
6737
|
-
) {
|
|
6751
|
+
function Form(props, ref) {
|
|
6738
6752
|
var {
|
|
6739
6753
|
prefixCls = 'w-form',
|
|
6740
6754
|
className,
|
|
@@ -6745,13 +6759,13 @@ function Form(_ref, ref //| React.RefObject<FormRefType>,
|
|
|
6745
6759
|
onChange,
|
|
6746
6760
|
onSubmit,
|
|
6747
6761
|
afterSubmit
|
|
6748
|
-
} =
|
|
6749
|
-
others = _objectWithoutPropertiesLoose(
|
|
6762
|
+
} = props,
|
|
6763
|
+
others = _objectWithoutPropertiesLoose(props, Form_excluded);
|
|
6750
6764
|
|
|
6751
|
-
var initData = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(() => newFormState(fields,
|
|
6765
|
+
var initData = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(() => newFormState(fields, _ref => {
|
|
6752
6766
|
var {
|
|
6753
6767
|
initialValue
|
|
6754
|
-
} =
|
|
6768
|
+
} = _ref;
|
|
6755
6769
|
initialValue = newInitialValue(initialValue);
|
|
6756
6770
|
return {
|
|
6757
6771
|
initialValue,
|
|
@@ -6770,28 +6784,27 @@ function Form(_ref, ref //| React.RefObject<FormRefType>,
|
|
|
6770
6784
|
var formUnits = {};
|
|
6771
6785
|
|
|
6772
6786
|
for (var name in fields) {
|
|
6773
|
-
var
|
|
6774
|
-
if (!
|
|
6787
|
+
var itemProps = fields[name];
|
|
6788
|
+
if (!itemProps) continue;
|
|
6775
6789
|
var error = data.errors[name];
|
|
6776
6790
|
|
|
6777
|
-
if (typeof
|
|
6778
|
-
|
|
6791
|
+
if (typeof itemProps.initialValue === 'boolean') {
|
|
6792
|
+
itemProps.checked = itemProps.initialValue;
|
|
6779
6793
|
}
|
|
6780
6794
|
|
|
6781
|
-
var childField = controlField(_extends({},
|
|
6795
|
+
var childField = controlField(_extends({}, itemProps, {
|
|
6782
6796
|
name
|
|
6783
6797
|
}));
|
|
6784
|
-
var help = error ||
|
|
6785
|
-
var labelFor =
|
|
6786
|
-
formUnits[name] = /*#__PURE__*/(0,
|
|
6798
|
+
var help = error || itemProps.help;
|
|
6799
|
+
var labelFor = itemProps.labelFor;
|
|
6800
|
+
formUnits[name] = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.createElement)(FormItem, _extends({}, itemProps, {
|
|
6787
6801
|
key: name,
|
|
6788
6802
|
children: childField,
|
|
6789
|
-
help,
|
|
6790
|
-
labelFor,
|
|
6791
|
-
|
|
6792
|
-
name,
|
|
6803
|
+
help: help,
|
|
6804
|
+
labelFor: labelFor,
|
|
6805
|
+
name: name,
|
|
6793
6806
|
hasError: !!error
|
|
6794
|
-
}))
|
|
6807
|
+
}));
|
|
6795
6808
|
}
|
|
6796
6809
|
|
|
6797
6810
|
function setFields(fields) {
|
|
@@ -6908,10 +6921,10 @@ function Form(_ref, ref //| React.RefObject<FormRefType>,
|
|
|
6908
6921
|
|
|
6909
6922
|
for (var _name in fields) {
|
|
6910
6923
|
if (Object.prototype.hasOwnProperty.call(fields, _name)) {
|
|
6911
|
-
var
|
|
6912
|
-
if (!
|
|
6924
|
+
var fieldsProps = fields[_name];
|
|
6925
|
+
if (!fieldsProps) continue;
|
|
6913
6926
|
|
|
6914
|
-
if (
|
|
6927
|
+
if (fieldsProps.validator && fieldsProps.validator(current[_name])) {
|
|
6915
6928
|
passesValidators = false;
|
|
6916
6929
|
break;
|
|
6917
6930
|
}
|
|
@@ -6928,8 +6941,8 @@ function Form(_ref, ref //| React.RefObject<FormRefType>,
|
|
|
6928
6941
|
|
|
6929
6942
|
var initials = _extends({}, initial);
|
|
6930
6943
|
|
|
6931
|
-
Object.entries(initials).map(
|
|
6932
|
-
var [key, value] =
|
|
6944
|
+
Object.entries(initials).map(_ref2 => {
|
|
6945
|
+
var [key, value] = _ref2;
|
|
6933
6946
|
|
|
6934
6947
|
if (Array.isArray(value)) {
|
|
6935
6948
|
initials[key] = [...value];
|
|
@@ -6942,13 +6955,13 @@ function Form(_ref, ref //| React.RefObject<FormRefType>,
|
|
|
6942
6955
|
}));
|
|
6943
6956
|
}
|
|
6944
6957
|
|
|
6945
|
-
function controlField(
|
|
6958
|
+
function controlField(_ref3) {
|
|
6946
6959
|
var {
|
|
6947
6960
|
children,
|
|
6948
6961
|
validator,
|
|
6949
6962
|
name
|
|
6950
|
-
} =
|
|
6951
|
-
other = _objectWithoutPropertiesLoose(
|
|
6963
|
+
} = _ref3,
|
|
6964
|
+
other = _objectWithoutPropertiesLoose(_ref3, Form_excluded2);
|
|
6952
6965
|
|
|
6953
6966
|
var element = typeof children !== 'function' ? children : children({
|
|
6954
6967
|
onChange: handleChange(name, validator),
|
|
@@ -6965,7 +6978,7 @@ function Form(_ref, ref //| React.RefObject<FormRefType>,
|
|
|
6965
6978
|
props.id = element.props.id;
|
|
6966
6979
|
props.value = hasCurrentValue ? data.current && data.current[name] : props.value; // : element.props.value;
|
|
6967
6980
|
|
|
6968
|
-
var type = element.props.type;
|
|
6981
|
+
var type = element.props.type;
|
|
6969
6982
|
|
|
6970
6983
|
if (type === 'checkbox' || type === 'switch' || typeof props.value === 'boolean') {
|
|
6971
6984
|
props.checked = !!props.value;
|
|
@@ -6976,10 +6989,9 @@ function Form(_ref, ref //| React.RefObject<FormRefType>,
|
|
|
6976
6989
|
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().cloneElement(element, props);
|
|
6977
6990
|
}
|
|
6978
6991
|
|
|
6979
|
-
return /*#__PURE__*/(0,jsx_runtime.jsx)("form", _extends({},
|
|
6992
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)("form", _extends({}, others, {
|
|
6980
6993
|
className: [prefixCls, className].filter(Boolean).join(' ').trim(),
|
|
6981
|
-
onSubmit: handleSubmit
|
|
6982
|
-
}), {
|
|
6994
|
+
onSubmit: handleSubmit,
|
|
6983
6995
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("fieldset", {
|
|
6984
6996
|
disabled: data.submitting,
|
|
6985
6997
|
children: typeof children === 'function' ? children({
|
|
@@ -7050,7 +7062,6 @@ var react_list_esm_excluded = ["prefixCls", "bordered", "striped", "noHover", "a
|
|
|
7050
7062
|
|
|
7051
7063
|
|
|
7052
7064
|
|
|
7053
|
-
|
|
7054
7065
|
function InternalList(props, ref) {
|
|
7055
7066
|
var {
|
|
7056
7067
|
prefixCls = 'w-list',
|
|
@@ -7059,7 +7070,7 @@ function InternalList(props, ref) {
|
|
|
7059
7070
|
noHover = false,
|
|
7060
7071
|
active = false,
|
|
7061
7072
|
size = 'default',
|
|
7062
|
-
renderItem
|
|
7073
|
+
renderItem,
|
|
7063
7074
|
className,
|
|
7064
7075
|
children,
|
|
7065
7076
|
header,
|
|
@@ -7071,7 +7082,7 @@ function InternalList(props, ref) {
|
|
|
7071
7082
|
var items;
|
|
7072
7083
|
|
|
7073
7084
|
if (dataSource && dataSource.length > 0) {
|
|
7074
|
-
items = dataSource.map((item, index) => renderItem(item, index));
|
|
7085
|
+
items = dataSource.map((item, index) => renderItem && renderItem(item, index));
|
|
7075
7086
|
} else {
|
|
7076
7087
|
items = children;
|
|
7077
7088
|
}
|
|
@@ -7859,7 +7870,8 @@ var react_select_esm_excluded = ["prefixCls", "className", "size"];
|
|
|
7859
7870
|
|
|
7860
7871
|
|
|
7861
7872
|
|
|
7862
|
-
|
|
7873
|
+
|
|
7874
|
+
var InternalSelect = (props, ref) => {
|
|
7863
7875
|
var {
|
|
7864
7876
|
prefixCls = 'w-select',
|
|
7865
7877
|
className,
|
|
@@ -7871,7 +7883,9 @@ var Select = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd
|
|
|
7871
7883
|
ref: ref,
|
|
7872
7884
|
className: [prefixCls, className, size ? prefixCls + "-" + size : null].filter(Boolean).join(' ').trim()
|
|
7873
7885
|
}));
|
|
7874
|
-
}
|
|
7886
|
+
};
|
|
7887
|
+
|
|
7888
|
+
var Select = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().forwardRef(InternalSelect);
|
|
7875
7889
|
Select.Option = Option;
|
|
7876
7890
|
Select.Group = Group;
|
|
7877
7891
|
/* harmony default export */ const react_select_esm = (Select);
|
|
@@ -10586,8 +10600,10 @@ function Tabs(props) {
|
|
|
10586
10600
|
flowNav.nav.forEach(item => {
|
|
10587
10601
|
var curWidth = item.curWidth - deviation;
|
|
10588
10602
|
|
|
10589
|
-
if (
|
|
10590
|
-
|
|
10603
|
+
if (flowNav.displayStart > 0 || flowNav.displayEnd > 0) {
|
|
10604
|
+
if (curWidth < flowNav.displayStart || curWidth > flowNav.displayEnd) {
|
|
10605
|
+
hiddenNav.push(item.index);
|
|
10606
|
+
}
|
|
10591
10607
|
}
|
|
10592
10608
|
});
|
|
10593
10609
|
hiddenNavSet(hiddenNav);
|