@teselagen/ove 0.8.35 → 0.8.37
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/RowItem/utils.d.ts +1 -1
- package/StatusBar/index.d.ts +9 -9
- package/helperComponents/PropertiesDialog/utils.d.ts +2 -2
- package/index.cjs.js +222 -166
- package/index.d.ts +1 -1
- package/index.es.js +222 -166
- package/index.umd.js +275 -219
- package/package.json +8 -6
- package/src/Editor/index.js +0 -1
- package/src/RowItem/utils.js +41 -8
- package/src/StatusBar/index.js +1 -1
- package/src/helperComponents/PropertiesDialog/GenericAnnotationProperties.js +7 -3
- package/src/helperComponents/PropertiesDialog/OrfProperties.js +1 -1
- package/src/helperComponents/PropertiesDialog/utils.js +6 -13
- package/src/helperComponents/RemoveDuplicates/index.js +16 -8
- package/src/index.js +1 -4
package/index.umd.js
CHANGED
|
@@ -8609,8 +8609,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
8609
8609
|
return target;
|
|
8610
8610
|
}
|
|
8611
8611
|
__name(_objectWithoutPropertiesLoose$5, "_objectWithoutPropertiesLoose$5");
|
|
8612
|
-
function _extends$
|
|
8613
|
-
_extends$
|
|
8612
|
+
function _extends$k() {
|
|
8613
|
+
_extends$k = Object.assign ? Object.assign.bind() : function(target) {
|
|
8614
8614
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
8615
8615
|
var source = arguments[i2];
|
|
8616
8616
|
for (var key in source) {
|
|
@@ -8621,9 +8621,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
8621
8621
|
}
|
|
8622
8622
|
return target;
|
|
8623
8623
|
};
|
|
8624
|
-
return _extends$
|
|
8624
|
+
return _extends$k.apply(this, arguments);
|
|
8625
8625
|
}
|
|
8626
|
-
__name(_extends$
|
|
8626
|
+
__name(_extends$k, "_extends$k");
|
|
8627
8627
|
function _setPrototypeOf$3(o2, p2) {
|
|
8628
8628
|
_setPrototypeOf$3 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : /* @__PURE__ */ __name(function _setPrototypeOf2(o3, p3) {
|
|
8629
8629
|
o3.__proto__ = p3;
|
|
@@ -10454,7 +10454,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
10454
10454
|
}
|
|
10455
10455
|
return obj;
|
|
10456
10456
|
}, "defineProperty$2");
|
|
10457
|
-
var _extends$
|
|
10457
|
+
var _extends$j = Object.assign || function(target) {
|
|
10458
10458
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
10459
10459
|
var source = arguments[i2];
|
|
10460
10460
|
for (var key in source) {
|
|
@@ -10466,7 +10466,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
10466
10466
|
return target;
|
|
10467
10467
|
};
|
|
10468
10468
|
function getClientRect$1(offsets) {
|
|
10469
|
-
return _extends$
|
|
10469
|
+
return _extends$j({}, offsets, {
|
|
10470
10470
|
right: offsets.left + offsets.width,
|
|
10471
10471
|
bottom: offsets.top + offsets.height
|
|
10472
10472
|
});
|
|
@@ -10658,7 +10658,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
10658
10658
|
}
|
|
10659
10659
|
};
|
|
10660
10660
|
var sortedAreas = Object.keys(rects).map(function(key) {
|
|
10661
|
-
return _extends$
|
|
10661
|
+
return _extends$j({
|
|
10662
10662
|
key
|
|
10663
10663
|
}, rects[key], {
|
|
10664
10664
|
area: getArea(rects[key])
|
|
@@ -10990,9 +10990,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
10990
10990
|
var attributes = {
|
|
10991
10991
|
"x-placement": data.placement
|
|
10992
10992
|
};
|
|
10993
|
-
data.attributes = _extends$
|
|
10994
|
-
data.styles = _extends$
|
|
10995
|
-
data.arrowStyles = _extends$
|
|
10993
|
+
data.attributes = _extends$j({}, attributes, data.attributes);
|
|
10994
|
+
data.styles = _extends$j({}, styles2, data.styles);
|
|
10995
|
+
data.arrowStyles = _extends$j({}, data.offsets.arrow, data.arrowStyles);
|
|
10996
10996
|
return data;
|
|
10997
10997
|
}
|
|
10998
10998
|
__name(computeStyle, "computeStyle");
|
|
@@ -11132,7 +11132,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
11132
11132
|
variation = getOppositeVariation(variation);
|
|
11133
11133
|
}
|
|
11134
11134
|
data.placement = placement + (variation ? "-" + variation : "");
|
|
11135
|
-
data.offsets.popper = _extends$
|
|
11135
|
+
data.offsets.popper = _extends$j({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));
|
|
11136
11136
|
data = runModifiers(data.instance.modifiers, data, "flip");
|
|
11137
11137
|
}
|
|
11138
11138
|
});
|
|
@@ -11296,7 +11296,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
11296
11296
|
};
|
|
11297
11297
|
order2.forEach(function(placement) {
|
|
11298
11298
|
var side = ["left", "top"].indexOf(placement) !== -1 ? "primary" : "secondary";
|
|
11299
|
-
popper2 = _extends$
|
|
11299
|
+
popper2 = _extends$j({}, popper2, check2[side](placement));
|
|
11300
11300
|
});
|
|
11301
11301
|
data.offsets.popper = popper2;
|
|
11302
11302
|
return data;
|
|
@@ -11315,7 +11315,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
11315
11315
|
start: defineProperty$2({}, side, reference2[side]),
|
|
11316
11316
|
end: defineProperty$2({}, side, reference2[side] + reference2[measurement] - popper2[measurement])
|
|
11317
11317
|
};
|
|
11318
|
-
data.offsets.popper = _extends$
|
|
11318
|
+
data.offsets.popper = _extends$j({}, popper2, shiftOffsets[shiftvariation]);
|
|
11319
11319
|
}
|
|
11320
11320
|
return data;
|
|
11321
11321
|
}
|
|
@@ -11721,7 +11721,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
11721
11721
|
return requestAnimationFrame(_this.update);
|
|
11722
11722
|
};
|
|
11723
11723
|
this.update = debounce$3(this.update.bind(this));
|
|
11724
|
-
this.options = _extends$
|
|
11724
|
+
this.options = _extends$j({}, Popper2.Defaults, options);
|
|
11725
11725
|
this.state = {
|
|
11726
11726
|
isDestroyed: false,
|
|
11727
11727
|
isCreated: false,
|
|
@@ -11730,11 +11730,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
11730
11730
|
this.reference = reference2 && reference2.jquery ? reference2[0] : reference2;
|
|
11731
11731
|
this.popper = popper2 && popper2.jquery ? popper2[0] : popper2;
|
|
11732
11732
|
this.options.modifiers = {};
|
|
11733
|
-
Object.keys(_extends$
|
|
11734
|
-
_this.options.modifiers[name2] = _extends$
|
|
11733
|
+
Object.keys(_extends$j({}, Popper2.Defaults.modifiers, options.modifiers)).forEach(function(name2) {
|
|
11734
|
+
_this.options.modifiers[name2] = _extends$j({}, Popper2.Defaults.modifiers[name2] || {}, options.modifiers ? options.modifiers[name2] : {});
|
|
11735
11735
|
});
|
|
11736
11736
|
this.modifiers = Object.keys(this.options.modifiers).map(function(name2) {
|
|
11737
|
-
return _extends$
|
|
11737
|
+
return _extends$j({
|
|
11738
11738
|
name: name2
|
|
11739
11739
|
}, _this.options.modifiers[name2]);
|
|
11740
11740
|
}).sort(function(a2, b3) {
|
|
@@ -12201,8 +12201,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
12201
12201
|
placement: _this.props.placement,
|
|
12202
12202
|
eventsEnabled: _this.props.eventsEnabled,
|
|
12203
12203
|
positionFixed: _this.props.positionFixed,
|
|
12204
|
-
modifiers: _extends$
|
|
12205
|
-
arrow: _extends$
|
|
12204
|
+
modifiers: _extends$k({}, _this.props.modifiers, {
|
|
12205
|
+
arrow: _extends$k({}, _this.props.modifiers && _this.props.modifiers.arrow, {
|
|
12206
12206
|
enabled: !!_this.arrowNode,
|
|
12207
12207
|
element: _this.arrowNode
|
|
12208
12208
|
}),
|
|
@@ -12214,7 +12214,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
12214
12214
|
};
|
|
12215
12215
|
});
|
|
12216
12216
|
_defineProperty$9(_assertThisInitialized$1(_assertThisInitialized$1(_this)), "getPopperStyle", function() {
|
|
12217
|
-
return !_this.popperNode || !_this.state.data ? initialStyle : _extends$
|
|
12217
|
+
return !_this.popperNode || !_this.state.data ? initialStyle : _extends$k({
|
|
12218
12218
|
position: _this.state.data.offsets.popper.position
|
|
12219
12219
|
}, _this.state.data.styles);
|
|
12220
12220
|
});
|
|
@@ -12289,7 +12289,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
12289
12289
|
function Popper(_ref) {
|
|
12290
12290
|
var referenceElement = _ref.referenceElement, props = _objectWithoutPropertiesLoose$5(_ref, ["referenceElement"]);
|
|
12291
12291
|
return reactExports.createElement(ManagerReferenceNodeContext.Consumer, null, function(referenceNode) {
|
|
12292
|
-
return reactExports.createElement(InnerPopper, _extends$
|
|
12292
|
+
return reactExports.createElement(InnerPopper, _extends$k({
|
|
12293
12293
|
referenceElement: referenceElement !== void 0 ? referenceElement : referenceNode
|
|
12294
12294
|
}, props));
|
|
12295
12295
|
});
|
|
@@ -12326,7 +12326,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
12326
12326
|
}(reactExports.Component);
|
|
12327
12327
|
function Reference(props) {
|
|
12328
12328
|
return reactExports.createElement(ManagerReferenceNodeSetterContext.Consumer, null, function(setReferenceNode) {
|
|
12329
|
-
return reactExports.createElement(InnerReference, _extends$
|
|
12329
|
+
return reactExports.createElement(InnerReference, _extends$k({
|
|
12330
12330
|
setReferenceNode
|
|
12331
12331
|
}, props));
|
|
12332
12332
|
});
|
|
@@ -25013,7 +25013,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
25013
25013
|
}
|
|
25014
25014
|
return {
|
|
25015
25015
|
type: INITIALIZE,
|
|
25016
|
-
meta: _extends$
|
|
25016
|
+
meta: _extends$k({
|
|
25017
25017
|
form: form2,
|
|
25018
25018
|
keepDirty
|
|
25019
25019
|
}, otherMeta),
|
|
@@ -25233,7 +25233,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
25233
25233
|
var renderChildren = /* @__PURE__ */ __name(function renderChildren2(Component, _ref) {
|
|
25234
25234
|
var forwardedRef = _ref.forwardedRef, rest = _objectWithoutPropertiesLoose$5(_ref, ["forwardedRef"]);
|
|
25235
25235
|
return function(_reduxForm) {
|
|
25236
|
-
return reactExports.createElement(Component, _extends$
|
|
25236
|
+
return reactExports.createElement(Component, _extends$k({}, rest, {
|
|
25237
25237
|
_reduxForm,
|
|
25238
25238
|
ref: forwardedRef
|
|
25239
25239
|
}));
|
|
@@ -25255,7 +25255,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
25255
25255
|
return Hoc2;
|
|
25256
25256
|
}(reactExports.Component);
|
|
25257
25257
|
var ref2 = reactExports.forwardRef(function(props, ref3) {
|
|
25258
|
-
return reactExports.createElement(Hoc, _extends$
|
|
25258
|
+
return reactExports.createElement(Hoc, _extends$k({}, props, {
|
|
25259
25259
|
forwardedRef: ref3
|
|
25260
25260
|
}));
|
|
25261
25261
|
});
|
|
@@ -26154,7 +26154,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
26154
26154
|
}
|
|
26155
26155
|
__name(mapStateToPropsFactory, "mapStateToPropsFactory");
|
|
26156
26156
|
function defaultMergeProps(stateProps, dispatchProps, ownProps) {
|
|
26157
|
-
return _extends$
|
|
26157
|
+
return _extends$k({}, ownProps, stateProps, dispatchProps);
|
|
26158
26158
|
}
|
|
26159
26159
|
__name(defaultMergeProps, "defaultMergeProps");
|
|
26160
26160
|
function wrapMergePropsFunc(mergeProps) {
|
|
@@ -26478,7 +26478,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
26478
26478
|
if (didStoreComeFromProps) {
|
|
26479
26479
|
return contextValue;
|
|
26480
26480
|
}
|
|
26481
|
-
return _extends$
|
|
26481
|
+
return _extends$k({}, contextValue, {
|
|
26482
26482
|
subscription
|
|
26483
26483
|
});
|
|
26484
26484
|
}, [didStoreComeFromProps, contextValue, subscription]);
|
|
@@ -26556,7 +26556,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
26556
26556
|
const renderedWrappedComponent = reactExports.useMemo(() => {
|
|
26557
26557
|
return (
|
|
26558
26558
|
// @ts-ignore
|
|
26559
|
-
/* @__PURE__ */ reactExports.createElement(WrappedComponent, _extends$
|
|
26559
|
+
/* @__PURE__ */ reactExports.createElement(WrappedComponent, _extends$k({}, actualChildProps, {
|
|
26560
26560
|
ref: reactReduxForwardedRef
|
|
26561
26561
|
}))
|
|
26562
26562
|
);
|
|
@@ -26578,7 +26578,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
26578
26578
|
Connect.displayName = ConnectFunction.displayName = displayName;
|
|
26579
26579
|
if (forwardRef2) {
|
|
26580
26580
|
const _forwarded = reactExports.forwardRef(/* @__PURE__ */ __name(function forwardConnectRef(props, ref2) {
|
|
26581
|
-
return /* @__PURE__ */ reactExports.createElement(Connect, _extends$
|
|
26581
|
+
return /* @__PURE__ */ reactExports.createElement(Connect, _extends$k({}, props, {
|
|
26582
26582
|
reactReduxForwardedRef: ref2
|
|
26583
26583
|
}));
|
|
26584
26584
|
}, "forwardConnectRef"));
|
|
@@ -26666,23 +26666,23 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
26666
26666
|
var processProps = /* @__PURE__ */ __name(function processProps2(type2, props, _value, deepEqual2) {
|
|
26667
26667
|
var value = props.value;
|
|
26668
26668
|
if (type2 === "checkbox") {
|
|
26669
|
-
return _extends$
|
|
26669
|
+
return _extends$k({}, props, {
|
|
26670
26670
|
checked: !!value
|
|
26671
26671
|
});
|
|
26672
26672
|
}
|
|
26673
26673
|
if (type2 === "radio") {
|
|
26674
|
-
return _extends$
|
|
26674
|
+
return _extends$k({}, props, {
|
|
26675
26675
|
checked: deepEqual2(value, _value),
|
|
26676
26676
|
value: _value
|
|
26677
26677
|
});
|
|
26678
26678
|
}
|
|
26679
26679
|
if (type2 === "select-multiple") {
|
|
26680
|
-
return _extends$
|
|
26680
|
+
return _extends$k({}, props, {
|
|
26681
26681
|
value: value || []
|
|
26682
26682
|
});
|
|
26683
26683
|
}
|
|
26684
26684
|
if (type2 === "file") {
|
|
26685
|
-
return _extends$
|
|
26685
|
+
return _extends$k({}, props, {
|
|
26686
26686
|
value: value || void 0
|
|
26687
26687
|
});
|
|
26688
26688
|
}
|
|
@@ -26717,7 +26717,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
26717
26717
|
onFocus,
|
|
26718
26718
|
value: formattedFieldValue
|
|
26719
26719
|
}, _value, deepEqual2),
|
|
26720
|
-
meta: _extends$
|
|
26720
|
+
meta: _extends$k({}, toJS2(state2), {
|
|
26721
26721
|
active: !!(state2 && getIn2(state2, "active")),
|
|
26722
26722
|
asyncValidating,
|
|
26723
26723
|
autofilled: !!(state2 && getIn2(state2, "autofilled")),
|
|
@@ -26735,7 +26735,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
26735
26735
|
valid: !error,
|
|
26736
26736
|
visited: !!(state2 && getIn2(state2, "visited"))
|
|
26737
26737
|
}),
|
|
26738
|
-
custom: _extends$
|
|
26738
|
+
custom: _extends$k({}, custom, {}, props)
|
|
26739
26739
|
};
|
|
26740
26740
|
}
|
|
26741
26741
|
__name(createFieldProps, "createFieldProps");
|
|
@@ -27728,7 +27728,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
27728
27728
|
copy[parseInt(first, 10)] = next;
|
|
27729
27729
|
return copy;
|
|
27730
27730
|
}
|
|
27731
|
-
return _extends$
|
|
27731
|
+
return _extends$k({}, state2, (_extends2 = {}, _extends2[first] = next, _extends2));
|
|
27732
27732
|
}, "setInWithPath");
|
|
27733
27733
|
var setIn = /* @__PURE__ */ __name(function setIn2(state2, field, value) {
|
|
27734
27734
|
return setInWithPath(state2, value, _toPath(field), 0);
|
|
@@ -28758,7 +28758,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
28758
28758
|
if (first in state2) {
|
|
28759
28759
|
var _extends2;
|
|
28760
28760
|
var _result = deleteInWithPath.apply(void 0, [state2 && state2[first]].concat(rest));
|
|
28761
|
-
return state2[first] === _result ? state2 : _extends$
|
|
28761
|
+
return state2[first] === _result ? state2 : _extends$k({}, state2, (_extends2 = {}, _extends2[first] = _result, _extends2));
|
|
28762
28762
|
}
|
|
28763
28763
|
return state2;
|
|
28764
28764
|
}
|
|
@@ -28775,7 +28775,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
28775
28775
|
return state2;
|
|
28776
28776
|
}
|
|
28777
28777
|
if (first in state2) {
|
|
28778
|
-
var _copy2 = _extends$
|
|
28778
|
+
var _copy2 = _extends$k({}, state2);
|
|
28779
28779
|
delete _copy2[first];
|
|
28780
28780
|
return _copy2;
|
|
28781
28781
|
}
|
|
@@ -28890,7 +28890,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
28890
28890
|
var defaultPrevented = false;
|
|
28891
28891
|
if (onChange) {
|
|
28892
28892
|
if (!isReactNative && isEvent(event)) {
|
|
28893
|
-
onChange(_extends$
|
|
28893
|
+
onChange(_extends$k({}, event, {
|
|
28894
28894
|
preventDefault: /* @__PURE__ */ __name(function preventDefault2() {
|
|
28895
28895
|
defaultPrevented = true;
|
|
28896
28896
|
return eventPreventDefault(event);
|
|
@@ -28915,7 +28915,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
28915
28915
|
var defaultPrevented = false;
|
|
28916
28916
|
if (onFocus) {
|
|
28917
28917
|
if (!isReactNative) {
|
|
28918
|
-
onFocus(_extends$
|
|
28918
|
+
onFocus(_extends$k({}, event, {
|
|
28919
28919
|
preventDefault: /* @__PURE__ */ __name(function preventDefault2() {
|
|
28920
28920
|
defaultPrevented = true;
|
|
28921
28921
|
return eventPreventDefault(event);
|
|
@@ -28942,7 +28942,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
28942
28942
|
var defaultPrevented = false;
|
|
28943
28943
|
if (onBlur) {
|
|
28944
28944
|
if (!isReactNative) {
|
|
28945
|
-
onBlur(_extends$
|
|
28945
|
+
onBlur(_extends$k({}, event, {
|
|
28946
28946
|
preventDefault: /* @__PURE__ */ __name(function preventDefault2() {
|
|
28947
28947
|
defaultPrevented = true;
|
|
28948
28948
|
return eventPreventDefault(event);
|
|
@@ -28971,7 +28971,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
28971
28971
|
var newValue = eventDataTransferGetData(event, dataKey);
|
|
28972
28972
|
var defaultPrevented = false;
|
|
28973
28973
|
if (onDrop) {
|
|
28974
|
-
onDrop(_extends$
|
|
28974
|
+
onDrop(_extends$k({}, event, {
|
|
28975
28975
|
preventDefault: /* @__PURE__ */ __name(function preventDefault2() {
|
|
28976
28976
|
defaultPrevented = true;
|
|
28977
28977
|
return eventPreventDefault(event);
|
|
@@ -29011,7 +29011,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
29011
29011
|
_this$props6.onDrop;
|
|
29012
29012
|
_this$props6.immutableProps;
|
|
29013
29013
|
var rest = _objectWithoutPropertiesLoose$5(_this$props6, ["component", "forwardRef", "name", "_reduxForm", "normalize", "onBlur", "onChange", "onFocus", "onDragStart", "onDrop", "immutableProps"]);
|
|
29014
|
-
var _createFieldProps = createFieldProps(structure$1, name2, _extends$
|
|
29014
|
+
var _createFieldProps = createFieldProps(structure$1, name2, _extends$k({}, rest, {
|
|
29015
29015
|
form: _reduxForm.form,
|
|
29016
29016
|
onBlur: this.handleBlur,
|
|
29017
29017
|
onChange: this.handleChange,
|
|
@@ -29025,9 +29025,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
29025
29025
|
if (typeof component === "string") {
|
|
29026
29026
|
var input = props.input;
|
|
29027
29027
|
props.meta;
|
|
29028
|
-
return reactExports.createElement(component, _extends$
|
|
29028
|
+
return reactExports.createElement(component, _extends$k({}, input, {}, custom));
|
|
29029
29029
|
} else {
|
|
29030
|
-
return reactExports.createElement(component, _extends$
|
|
29030
|
+
return reactExports.createElement(component, _extends$k({}, props, {}, custom));
|
|
29031
29031
|
}
|
|
29032
29032
|
}, "render");
|
|
29033
29033
|
return ConnectedField2;
|
|
@@ -29137,7 +29137,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
29137
29137
|
return this.ref.current ? this.ref.current.getRenderedComponent() : void 0;
|
|
29138
29138
|
}, "getRenderedComponent");
|
|
29139
29139
|
_proto.render = /* @__PURE__ */ __name(function render2() {
|
|
29140
|
-
return reactExports.createElement(ConnectedField, _extends$
|
|
29140
|
+
return reactExports.createElement(ConnectedField, _extends$k({}, this.props, {
|
|
29141
29141
|
name: this.name,
|
|
29142
29142
|
normalize: this.normalize,
|
|
29143
29143
|
ref: this.ref
|
|
@@ -29964,7 +29964,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
29964
29964
|
var error = syncError || asyncError || submitError;
|
|
29965
29965
|
var warning2 = syncWarning;
|
|
29966
29966
|
var fieldName = sectionPrefix ? name2.replace(sectionPrefix + ".", "") : name2;
|
|
29967
|
-
var finalProps = _extends$
|
|
29967
|
+
var finalProps = _extends$k({
|
|
29968
29968
|
fields: {
|
|
29969
29969
|
_isFieldArray: true,
|
|
29970
29970
|
forEach: /* @__PURE__ */ __name(function forEach2(callback2) {
|
|
@@ -30206,7 +30206,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
30206
30206
|
return this.ref && this.ref.current.getRenderedComponent();
|
|
30207
30207
|
}, "getRenderedComponent");
|
|
30208
30208
|
_proto.render = /* @__PURE__ */ __name(function render2() {
|
|
30209
|
-
return reactExports.createElement(ConnectedFieldArray, _extends$
|
|
30209
|
+
return reactExports.createElement(ConnectedFieldArray, _extends$k({}, this.props, {
|
|
30210
30210
|
name: this.name,
|
|
30211
30211
|
ref: this.ref
|
|
30212
30212
|
}));
|
|
@@ -31024,7 +31024,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
31024
31024
|
__name(generateValidator, "generateValidator");
|
|
31025
31025
|
var mergeErrors = /* @__PURE__ */ __name(function mergeErrors2(_ref) {
|
|
31026
31026
|
var asyncErrors = _ref.asyncErrors, syncErrors = _ref.syncErrors;
|
|
31027
|
-
return asyncErrors && typeof asyncErrors.merge === "function" ? asyncErrors.merge(syncErrors).toJS() : _extends$
|
|
31027
|
+
return asyncErrors && typeof asyncErrors.merge === "function" ? asyncErrors.merge(syncErrors).toJS() : _extends$k({}, asyncErrors, {}, syncErrors);
|
|
31028
31028
|
}, "mergeErrors");
|
|
31029
31029
|
var executeSubmit = /* @__PURE__ */ __name(function executeSubmit2(submit2, fields, props) {
|
|
31030
31030
|
var dispatch = props.dispatch, submitAsSideEffect = props.submitAsSideEffect, onSubmitFail = props.onSubmitFail, onSubmitSuccess = props.onSubmitSuccess, startSubmit2 = props.startSubmit, stopSubmit2 = props.stopSubmit, setSubmitFailed2 = props.setSubmitFailed, setSubmitSucceeded2 = props.setSubmitSucceeded, values2 = props.values;
|
|
@@ -31147,7 +31147,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
31147
31147
|
var deepEqual2 = structure$1.deepEqual, empty2 = structure$1.empty, getIn2 = structure$1.getIn, setIn2 = structure$1.setIn, keys2 = structure$1.keys, fromJS = structure$1.fromJS, toJS2 = structure$1.toJS;
|
|
31148
31148
|
var isValid2 = createIsValid(structure$1);
|
|
31149
31149
|
return function(initialConfig) {
|
|
31150
|
-
var config = _extends$
|
|
31150
|
+
var config = _extends$k({
|
|
31151
31151
|
touchOnBlur: true,
|
|
31152
31152
|
touchOnChange: false,
|
|
31153
31153
|
persistentSubmitErrors: false,
|
|
@@ -31436,7 +31436,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
31436
31436
|
} else {
|
|
31437
31437
|
return _this.listenToSubmit(handleSubmit(
|
|
31438
31438
|
checkSubmit(onSubmit),
|
|
31439
|
-
_extends$
|
|
31439
|
+
_extends$k({}, _this.props, {}, bindActionCreators({
|
|
31440
31440
|
blur: blur2,
|
|
31441
31441
|
change: change2
|
|
31442
31442
|
}, dispatch)),
|
|
@@ -31454,7 +31454,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
31454
31454
|
return silenceEvents(function() {
|
|
31455
31455
|
return !_this.submitPromise && _this.listenToSubmit(handleSubmit(
|
|
31456
31456
|
checkSubmit(submitOrEvent),
|
|
31457
|
-
_extends$
|
|
31457
|
+
_extends$k({}, _this.props, {}, bindActionCreators({
|
|
31458
31458
|
blur: blur2,
|
|
31459
31459
|
change: change2
|
|
31460
31460
|
}, dispatch)),
|
|
@@ -31575,7 +31575,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
31575
31575
|
_this$props12.validExceptSubmit;
|
|
31576
31576
|
_this$props12.values;
|
|
31577
31577
|
var warning2 = _this$props12.warning, rest = _objectWithoutPropertiesLoose$5(_this$props12, ["anyTouched", "array", "arrayInsert", "arrayMove", "arrayPop", "arrayPush", "arrayRemove", "arrayRemoveAll", "arrayShift", "arraySplice", "arraySwap", "arrayUnshift", "asyncErrors", "asyncValidate", "asyncValidating", "blur", "change", "clearSubmit", "destroy", "destroyOnUnmount", "forceUnregisterOnUnmount", "dirty", "dispatch", "enableReinitialize", "error", "focus", "form", "getFormState", "immutableProps", "initialize", "initialized", "initialValues", "invalid", "keepDirtyOnReinitialize", "keepValues", "updateUnregisteredFields", "pristine", "propNamespace", "registeredFields", "registerField", "reset", "resetSection", "setSubmitFailed", "setSubmitSucceeded", "shouldAsyncValidate", "shouldValidate", "shouldError", "shouldWarn", "startAsyncValidation", "startSubmit", "stopAsyncValidation", "stopSubmit", "submitAsSideEffect", "submitting", "submitFailed", "submitSucceeded", "touch", "touchOnBlur", "touchOnChange", "persistentSubmitErrors", "syncErrors", "syncWarnings", "unregisterField", "untouch", "updateSyncErrors", "updateSyncWarnings", "valid", "validExceptSubmit", "values", "warning"]);
|
|
31578
|
-
var reduxFormProps = _extends$
|
|
31578
|
+
var reduxFormProps = _extends$k({
|
|
31579
31579
|
array,
|
|
31580
31580
|
anyTouched,
|
|
31581
31581
|
asyncValidate: this.asyncValidate,
|
|
@@ -31607,11 +31607,11 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
31607
31607
|
valid: valid2,
|
|
31608
31608
|
warning: warning2
|
|
31609
31609
|
});
|
|
31610
|
-
var propsToPass = _extends$
|
|
31610
|
+
var propsToPass = _extends$k({}, propNamespace ? (_ref = {}, _ref[propNamespace] = reduxFormProps, _ref) : reduxFormProps, {}, rest);
|
|
31611
31611
|
if (isClassComponent(WrappedComponent)) {
|
|
31612
31612
|
propsToPass.ref = this.wrapped;
|
|
31613
31613
|
}
|
|
31614
|
-
var _reduxForm = _extends$
|
|
31614
|
+
var _reduxForm = _extends$k({}, this.props, {
|
|
31615
31615
|
getFormState: /* @__PURE__ */ __name(function getFormState(state2) {
|
|
31616
31616
|
return getIn2(_this3.props.getFormState(state2), _this3.props.form);
|
|
31617
31617
|
}, "getFormState"),
|
|
@@ -31727,7 +31727,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
31727
31727
|
swap: bindActionCreators(boundArrayACs.arraySwap, dispatch),
|
|
31728
31728
|
unshift: bindActionCreators(boundArrayACs.arrayUnshift, dispatch)
|
|
31729
31729
|
};
|
|
31730
|
-
return _extends$
|
|
31730
|
+
return _extends$k({}, connectedFormACs, {}, boundArrayACs, {
|
|
31731
31731
|
blur: boundBlur,
|
|
31732
31732
|
change: boundChange,
|
|
31733
31733
|
array: connectedArrayACs,
|
|
@@ -31762,7 +31762,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
31762
31762
|
}, "reset");
|
|
31763
31763
|
_proto2.render = /* @__PURE__ */ __name(function render2() {
|
|
31764
31764
|
var _this$props13 = this.props, initialValues2 = _this$props13.initialValues, rest = _objectWithoutPropertiesLoose$5(_this$props13, ["initialValues"]);
|
|
31765
|
-
return reactExports.createElement(ConnectedForm, _extends$
|
|
31765
|
+
return reactExports.createElement(ConnectedForm, _extends$k({}, rest, {
|
|
31766
31766
|
ref: this.ref,
|
|
31767
31767
|
// convert initialValues if need to
|
|
31768
31768
|
initialValues: fromJS(initialValues2)
|
|
@@ -36056,7 +36056,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
36056
36056
|
}, "mapProps2");
|
|
36057
36057
|
var withProps = /* @__PURE__ */ __name(function withProps2(input) {
|
|
36058
36058
|
var hoc = mapProps(function(props) {
|
|
36059
|
-
return _extends$
|
|
36059
|
+
return _extends$k({}, props, typeof input === "function" ? input(props) : input);
|
|
36060
36060
|
});
|
|
36061
36061
|
return hoc;
|
|
36062
36062
|
}, "withProps2");
|
|
@@ -36129,7 +36129,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
36129
36129
|
__name(WithHandlers2, "WithHandlers2");
|
|
36130
36130
|
var _proto = WithHandlers2.prototype;
|
|
36131
36131
|
_proto.render = /* @__PURE__ */ __name(function render2() {
|
|
36132
|
-
return factory(_extends$
|
|
36132
|
+
return factory(_extends$k({}, this.props, this.handlers));
|
|
36133
36133
|
}, "render");
|
|
36134
36134
|
return WithHandlers2;
|
|
36135
36135
|
}(reactExports.Component);
|
|
@@ -36204,7 +36204,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
36204
36204
|
__name(Lifecycle22, "Lifecycle2");
|
|
36205
36205
|
var _proto = Lifecycle22.prototype;
|
|
36206
36206
|
_proto.render = /* @__PURE__ */ __name(function render2() {
|
|
36207
|
-
return factory(_extends$
|
|
36207
|
+
return factory(_extends$k({}, this.props, this.state));
|
|
36208
36208
|
}, "render");
|
|
36209
36209
|
return Lifecycle22;
|
|
36210
36210
|
}(reactExports.Component);
|
|
@@ -41505,7 +41505,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
41505
41505
|
__name(requireReactList, "requireReactList");
|
|
41506
41506
|
var reactListExports = requireReactList();
|
|
41507
41507
|
const ReactList = /* @__PURE__ */ getDefaultExportFromCjs(reactListExports);
|
|
41508
|
-
var _extends$
|
|
41508
|
+
var _extends$i = Object.assign || function(target) {
|
|
41509
41509
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
41510
41510
|
var source = arguments[i2];
|
|
41511
41511
|
for (var key in source) {
|
|
@@ -41655,7 +41655,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
41655
41655
|
var children = _ref.children, className = _ref.className, rest = _objectWithoutProperties$3(_ref, ["children", "className"]);
|
|
41656
41656
|
return React.createElement(
|
|
41657
41657
|
"div",
|
|
41658
|
-
_extends$
|
|
41658
|
+
_extends$i({ className: classNames$1(compClass, className) }, rest),
|
|
41659
41659
|
children
|
|
41660
41660
|
);
|
|
41661
41661
|
}, "cmp");
|
|
@@ -41887,7 +41887,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
41887
41887
|
}
|
|
41888
41888
|
};
|
|
41889
41889
|
}();
|
|
41890
|
-
var _extends$
|
|
41890
|
+
var _extends$h = Object.assign || function(target) {
|
|
41891
41891
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
41892
41892
|
var source = arguments[i2];
|
|
41893
41893
|
for (var key in source) {
|
|
@@ -41967,7 +41967,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
41967
41967
|
_createClass$b(_class, [{
|
|
41968
41968
|
key: "getResolvedState",
|
|
41969
41969
|
value: /* @__PURE__ */ __name(function getResolvedState(props, state2) {
|
|
41970
|
-
var resolvedState = _extends$
|
|
41970
|
+
var resolvedState = _extends$h({}, _.compactObject(this.state), _.compactObject(this.props), _.compactObject(state2), _.compactObject(props));
|
|
41971
41971
|
return resolvedState;
|
|
41972
41972
|
}, "getResolvedState")
|
|
41973
41973
|
}, {
|
|
@@ -41999,9 +41999,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
41999
41999
|
var makeDecoratedColumn = /* @__PURE__ */ __name(function makeDecoratedColumn2(column, parentColumn) {
|
|
42000
42000
|
var dcol = void 0;
|
|
42001
42001
|
if (column.expander) {
|
|
42002
|
-
dcol = _extends$
|
|
42002
|
+
dcol = _extends$h({}, _this2.props.column, _this2.props.expanderDefaults, column);
|
|
42003
42003
|
} else {
|
|
42004
|
-
dcol = _extends$
|
|
42004
|
+
dcol = _extends$h({}, _this2.props.column, column);
|
|
42005
42005
|
}
|
|
42006
42006
|
if (dcol.maxWidth < dcol.minWidth) {
|
|
42007
42007
|
dcol.minWidth = dcol.maxWidth;
|
|
@@ -42036,7 +42036,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
42036
42036
|
}, "decorateAndAddToAll");
|
|
42037
42037
|
var decoratedColumns = columnsWithExpander.map(function(column) {
|
|
42038
42038
|
if (column.columns) {
|
|
42039
|
-
return _extends$
|
|
42039
|
+
return _extends$h({}, column, {
|
|
42040
42040
|
columns: column.columns.map(function(d2) {
|
|
42041
42041
|
return decorateAndAddToAll(d2, column);
|
|
42042
42042
|
})
|
|
@@ -42051,7 +42051,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
42051
42051
|
var visibleSubColumns = column.columns.filter(function(d2) {
|
|
42052
42052
|
return pivotBy.indexOf(d2.id) > -1 ? false : _.getFirstDefined(d2.show, true);
|
|
42053
42053
|
});
|
|
42054
|
-
return _extends$
|
|
42054
|
+
return _extends$h({}, column, {
|
|
42055
42055
|
columns: visibleSubColumns
|
|
42056
42056
|
});
|
|
42057
42057
|
}
|
|
@@ -42087,14 +42087,14 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
42087
42087
|
var pivotColumnGroup = {
|
|
42088
42088
|
Header: PivotGroupHeader,
|
|
42089
42089
|
columns: pivotColumns.map(function(col) {
|
|
42090
|
-
return _extends$
|
|
42090
|
+
return _extends$h({}, _this2.props.pivotDefaults, col, {
|
|
42091
42091
|
pivoted: true
|
|
42092
42092
|
});
|
|
42093
42093
|
})
|
|
42094
42094
|
// Place the pivotColumns back into the visibleColumns
|
|
42095
42095
|
};
|
|
42096
42096
|
if (pivotIndex >= 0) {
|
|
42097
|
-
pivotColumnGroup = _extends$
|
|
42097
|
+
pivotColumnGroup = _extends$h({}, visibleColumns[pivotIndex], pivotColumnGroup);
|
|
42098
42098
|
visibleColumns.splice(pivotIndex, 1, pivotColumnGroup);
|
|
42099
42099
|
} else {
|
|
42100
42100
|
visibleColumns.unshift(pivotColumnGroup);
|
|
@@ -42103,7 +42103,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
42103
42103
|
var headerGroups = [];
|
|
42104
42104
|
var currentSpan = [];
|
|
42105
42105
|
var addHeader = /* @__PURE__ */ __name(function addHeader2(columns2, column) {
|
|
42106
|
-
headerGroups.push(_extends$
|
|
42106
|
+
headerGroups.push(_extends$h({}, _this2.props.column, column, {
|
|
42107
42107
|
columns: columns2
|
|
42108
42108
|
}));
|
|
42109
42109
|
currentSpan = [];
|
|
@@ -42168,13 +42168,13 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
42168
42168
|
groupedRows = groupedRows.map(function(rowGroup) {
|
|
42169
42169
|
var _extends2;
|
|
42170
42170
|
var subRows = groupRecursively2(rowGroup[subRowsKey], keys2, i2 + 1);
|
|
42171
|
-
return _extends$
|
|
42171
|
+
return _extends$h({}, rowGroup, (_extends2 = {}, _defineProperty$4(_extends2, subRowsKey, subRows), _defineProperty$4(_extends2, aggregatedKey, true), _extends2), aggregate(subRows));
|
|
42172
42172
|
});
|
|
42173
42173
|
return groupedRows;
|
|
42174
42174
|
}, "groupRecursively");
|
|
42175
42175
|
resolvedData = groupRecursively(resolvedData, pivotBy);
|
|
42176
42176
|
}
|
|
42177
|
-
return _extends$
|
|
42177
|
+
return _extends$h({}, newState, {
|
|
42178
42178
|
resolvedData,
|
|
42179
42179
|
allVisibleColumns,
|
|
42180
42180
|
headerGroups,
|
|
@@ -42236,7 +42236,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
42236
42236
|
if (!row[_this3.props.subRowsKey]) {
|
|
42237
42237
|
return row;
|
|
42238
42238
|
}
|
|
42239
|
-
return _extends$
|
|
42239
|
+
return _extends$h({}, row, _defineProperty$4({}, _this3.props.subRowsKey, _this3.filterData(row[_this3.props.subRowsKey], filtered, defaultFilterMethod, allVisibleColumns)));
|
|
42240
42240
|
}).filter(function(row) {
|
|
42241
42241
|
if (!row[_this3.props.subRowsKey]) {
|
|
42242
42242
|
return true;
|
|
@@ -42516,7 +42516,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
42516
42516
|
return Constructor;
|
|
42517
42517
|
};
|
|
42518
42518
|
}();
|
|
42519
|
-
var _extends$
|
|
42519
|
+
var _extends$g = Object.assign || function(target) {
|
|
42520
42520
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
42521
42521
|
var source = arguments[i2];
|
|
42522
42522
|
for (var key in source) {
|
|
@@ -42551,7 +42551,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
42551
42551
|
var defaultButton = /* @__PURE__ */ __name(function defaultButton2(props) {
|
|
42552
42552
|
return React.createElement(
|
|
42553
42553
|
"button",
|
|
42554
|
-
_extends$
|
|
42554
|
+
_extends$g({ type: "button" }, props, { className: "-btn" }),
|
|
42555
42555
|
props.children
|
|
42556
42556
|
);
|
|
42557
42557
|
}, "defaultButton");
|
|
@@ -42751,7 +42751,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
42751
42751
|
);
|
|
42752
42752
|
}, "renderPageSizeOptions")
|
|
42753
42753
|
};
|
|
42754
|
-
var _extends$
|
|
42754
|
+
var _extends$f = Object.assign || function(target) {
|
|
42755
42755
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
42756
42756
|
var source = arguments[i2];
|
|
42757
42757
|
for (var key in source) {
|
|
@@ -42942,7 +42942,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
42942
42942
|
var children = _ref.children, className = _ref.className, rest = _objectWithoutProperties$2(_ref, ["children", "className"]);
|
|
42943
42943
|
return React.createElement(
|
|
42944
42944
|
"div",
|
|
42945
|
-
_extends$
|
|
42945
|
+
_extends$f({
|
|
42946
42946
|
className: classNames$1("rt-table", className),
|
|
42947
42947
|
role: "grid"
|
|
42948
42948
|
// tabIndex='0'
|
|
@@ -42956,7 +42956,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
42956
42956
|
var children = _ref2.children, className = _ref2.className, rest = _objectWithoutProperties$2(_ref2, ["children", "className"]);
|
|
42957
42957
|
return React.createElement(
|
|
42958
42958
|
"div",
|
|
42959
|
-
_extends$
|
|
42959
|
+
_extends$f({ className: classNames$1("rt-tr-group", className), role: "rowgroup" }, rest),
|
|
42960
42960
|
children
|
|
42961
42961
|
);
|
|
42962
42962
|
}, "TrGroupComponent"),
|
|
@@ -42964,7 +42964,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
42964
42964
|
var children = _ref3.children, className = _ref3.className, rest = _objectWithoutProperties$2(_ref3, ["children", "className"]);
|
|
42965
42965
|
return React.createElement(
|
|
42966
42966
|
"div",
|
|
42967
|
-
_extends$
|
|
42967
|
+
_extends$f({ className: classNames$1("rt-tr", className), role: "row" }, rest),
|
|
42968
42968
|
children
|
|
42969
42969
|
);
|
|
42970
42970
|
}, "TrComponent"),
|
|
@@ -42974,7 +42974,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
42974
42974
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
42975
42975
|
React.createElement(
|
|
42976
42976
|
"div",
|
|
42977
|
-
_extends$
|
|
42977
|
+
_extends$f({
|
|
42978
42978
|
className: classNames$1("rt-th", className),
|
|
42979
42979
|
onClick: /* @__PURE__ */ __name(function onClick(e2) {
|
|
42980
42980
|
return toggleSort && toggleSort(e2);
|
|
@@ -42992,7 +42992,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
42992
42992
|
var className = _ref5.className, children = _ref5.children, rest = _objectWithoutProperties$2(_ref5, ["toggleSort", "className", "children"]);
|
|
42993
42993
|
return React.createElement(
|
|
42994
42994
|
"div",
|
|
42995
|
-
_extends$
|
|
42995
|
+
_extends$f({ className: classNames$1("rt-td", className), role: "gridcell" }, rest),
|
|
42996
42996
|
children
|
|
42997
42997
|
);
|
|
42998
42998
|
}, "TdComponent"),
|
|
@@ -43060,7 +43060,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43060
43060
|
var className = _ref10.className, loading = _ref10.loading, loadingText = _ref10.loadingText, rest = _objectWithoutProperties$2(_ref10, ["className", "loading", "loadingText"]);
|
|
43061
43061
|
return React.createElement(
|
|
43062
43062
|
"div",
|
|
43063
|
-
_extends$
|
|
43063
|
+
_extends$f({ className: classNames$1("-loading", { "-active": loading }, className) }, rest),
|
|
43064
43064
|
React.createElement(
|
|
43065
43065
|
"div",
|
|
43066
43066
|
{ className: "-loading-inner" },
|
|
@@ -43264,7 +43264,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43264
43264
|
}
|
|
43265
43265
|
};
|
|
43266
43266
|
}();
|
|
43267
|
-
var _extends$
|
|
43267
|
+
var _extends$e = Object.assign || function(target) {
|
|
43268
43268
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
43269
43269
|
var source = arguments[i2];
|
|
43270
43270
|
for (var key in source) {
|
|
@@ -43374,7 +43374,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43374
43374
|
var index2 = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : -1;
|
|
43375
43375
|
return [rows.map(function(row, i2) {
|
|
43376
43376
|
index2 += 1;
|
|
43377
|
-
var rowWithViewIndex = _extends$
|
|
43377
|
+
var rowWithViewIndex = _extends$e({}, row, {
|
|
43378
43378
|
_viewIndex: index2
|
|
43379
43379
|
});
|
|
43380
43380
|
var newPath = path2.concat([i2]);
|
|
@@ -43399,7 +43399,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43399
43399
|
return _.getFirstDefined(resizedColumn.value, d2.width, d2.minWidth);
|
|
43400
43400
|
}));
|
|
43401
43401
|
var rowIndex = -1;
|
|
43402
|
-
var finalState = _extends$
|
|
43402
|
+
var finalState = _extends$e({}, resolvedState, {
|
|
43403
43403
|
startRow,
|
|
43404
43404
|
endRow,
|
|
43405
43405
|
pageRows,
|
|
@@ -43433,8 +43433,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43433
43433
|
var theadGroupThProps = _.splitProps(getTheadGroupThProps(finalState, void 0, column, _this2));
|
|
43434
43434
|
var columnHeaderProps = _.splitProps(column.getHeaderProps(finalState, void 0, column, _this2));
|
|
43435
43435
|
var classes = [column.headerClassName, theadGroupThProps.className, columnHeaderProps.className];
|
|
43436
|
-
var styles2 = _extends$
|
|
43437
|
-
var rest = _extends$
|
|
43436
|
+
var styles2 = _extends$e({}, column.headerStyle, theadGroupThProps.style, columnHeaderProps.style);
|
|
43437
|
+
var rest = _extends$e({}, theadGroupThProps.rest, columnHeaderProps.rest);
|
|
43438
43438
|
var flexStyles = {
|
|
43439
43439
|
flex: flex + " 0 auto",
|
|
43440
43440
|
width: _.asPx(width),
|
|
@@ -43442,10 +43442,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43442
43442
|
};
|
|
43443
43443
|
return React.createElement(
|
|
43444
43444
|
ThComponent2,
|
|
43445
|
-
_extends$
|
|
43445
|
+
_extends$e({
|
|
43446
43446
|
key: i2 + "-" + column.id,
|
|
43447
43447
|
className: classNames$1(classes),
|
|
43448
|
-
style: _extends$
|
|
43448
|
+
style: _extends$e({}, styles2, flexStyles)
|
|
43449
43449
|
}, rest),
|
|
43450
43450
|
_.normalizeComponent(column.Header, {
|
|
43451
43451
|
data: sortedData,
|
|
@@ -43458,15 +43458,15 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43458
43458
|
var theadGroupTrProps = _.splitProps(getTheadGroupTrProps(finalState, void 0, void 0, _this2));
|
|
43459
43459
|
return React.createElement(
|
|
43460
43460
|
TheadComponent,
|
|
43461
|
-
_extends$
|
|
43461
|
+
_extends$e({
|
|
43462
43462
|
className: classNames$1("-headerGroups", theadGroupProps.className),
|
|
43463
|
-
style: _extends$
|
|
43463
|
+
style: _extends$e({}, theadGroupProps.style, {
|
|
43464
43464
|
minWidth: rowMinWidth + "px"
|
|
43465
43465
|
})
|
|
43466
43466
|
}, theadGroupProps.rest),
|
|
43467
43467
|
React.createElement(
|
|
43468
43468
|
TrComponent,
|
|
43469
|
-
_extends$
|
|
43469
|
+
_extends$e({
|
|
43470
43470
|
className: theadGroupTrProps.className,
|
|
43471
43471
|
style: theadGroupTrProps.style
|
|
43472
43472
|
}, theadGroupTrProps.rest),
|
|
@@ -43487,10 +43487,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43487
43487
|
var theadThProps = _.splitProps(getTheadThProps(finalState, void 0, column, _this2));
|
|
43488
43488
|
var columnHeaderProps = _.splitProps(column.getHeaderProps(finalState, void 0, column, _this2));
|
|
43489
43489
|
var classes = [column.headerClassName, theadThProps.className, columnHeaderProps.className];
|
|
43490
|
-
var styles2 = _extends$
|
|
43491
|
-
var rest = _extends$
|
|
43490
|
+
var styles2 = _extends$e({}, column.headerStyle, theadThProps.style, columnHeaderProps.style);
|
|
43491
|
+
var rest = _extends$e({}, theadThProps.rest, columnHeaderProps.rest);
|
|
43492
43492
|
var isResizable = _.getFirstDefined(column.resizable, resizable, false);
|
|
43493
|
-
var resizer = isResizable ? React.createElement(ResizerComponent, _extends$
|
|
43493
|
+
var resizer = isResizable ? React.createElement(ResizerComponent, _extends$e({
|
|
43494
43494
|
onMouseDown: /* @__PURE__ */ __name(function onMouseDown(e2) {
|
|
43495
43495
|
return _this2.resizeColumnStart(e2, column, false);
|
|
43496
43496
|
}, "onMouseDown"),
|
|
@@ -43501,10 +43501,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43501
43501
|
var isSortable = _.getFirstDefined(column.sortable, sortable, false);
|
|
43502
43502
|
return React.createElement(
|
|
43503
43503
|
ThComponent2,
|
|
43504
|
-
_extends$
|
|
43504
|
+
_extends$e({
|
|
43505
43505
|
key: i2 + "-" + column.id,
|
|
43506
43506
|
className: classNames$1(classes, isResizable && "rt-resizable-header", sort ? sort.desc ? "-sort-desc" : "-sort-asc" : "", isSortable && "-cursor-pointer", !show2 && "-hidden", pivotBy && pivotBy.slice(0, -1).includes(column.id) && "rt-header-pivot"),
|
|
43507
|
-
style: _extends$
|
|
43507
|
+
style: _extends$e({}, styles2, {
|
|
43508
43508
|
flex: width + " 0 auto",
|
|
43509
43509
|
width: _.asPx(width),
|
|
43510
43510
|
maxWidth: _.asPx(maxWidth)
|
|
@@ -43529,15 +43529,15 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43529
43529
|
var theadTrProps = _.splitProps(getTheadTrProps(finalState, void 0, void 0, _this2));
|
|
43530
43530
|
return React.createElement(
|
|
43531
43531
|
TheadComponent,
|
|
43532
|
-
_extends$
|
|
43532
|
+
_extends$e({
|
|
43533
43533
|
className: classNames$1("-header", theadProps.className),
|
|
43534
|
-
style: _extends$
|
|
43534
|
+
style: _extends$e({}, theadProps.style, {
|
|
43535
43535
|
minWidth: rowMinWidth + "px"
|
|
43536
43536
|
})
|
|
43537
43537
|
}, theadProps.rest),
|
|
43538
43538
|
React.createElement(
|
|
43539
43539
|
TrComponent,
|
|
43540
|
-
_extends$
|
|
43540
|
+
_extends$e({
|
|
43541
43541
|
className: theadTrProps.className,
|
|
43542
43542
|
style: theadTrProps.style
|
|
43543
43543
|
}, theadTrProps.rest),
|
|
@@ -43554,8 +43554,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43554
43554
|
var theadFilterThProps = _.splitProps(getTheadFilterThProps(finalState, void 0, column, _this2));
|
|
43555
43555
|
var columnHeaderProps = _.splitProps(column.getHeaderProps(finalState, void 0, column, _this2));
|
|
43556
43556
|
var classes = [column.headerClassName, theadFilterThProps.className, columnHeaderProps.className];
|
|
43557
|
-
var styles2 = _extends$
|
|
43558
|
-
var rest = _extends$
|
|
43557
|
+
var styles2 = _extends$e({}, column.headerStyle, theadFilterThProps.style, columnHeaderProps.style);
|
|
43558
|
+
var rest = _extends$e({}, theadFilterThProps.rest, columnHeaderProps.rest);
|
|
43559
43559
|
var filter2 = filtered.find(function(filter3) {
|
|
43560
43560
|
return filter3.id === column.id;
|
|
43561
43561
|
});
|
|
@@ -43563,10 +43563,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43563
43563
|
var isFilterable = _.getFirstDefined(column.filterable, filterable, false);
|
|
43564
43564
|
return React.createElement(
|
|
43565
43565
|
ThComponent2,
|
|
43566
|
-
_extends$
|
|
43566
|
+
_extends$e({
|
|
43567
43567
|
key: i2 + "-" + column.id,
|
|
43568
43568
|
className: classNames$1(classes),
|
|
43569
|
-
style: _extends$
|
|
43569
|
+
style: _extends$e({}, styles2, {
|
|
43570
43570
|
flex: width + " 0 auto",
|
|
43571
43571
|
width: _.asPx(width),
|
|
43572
43572
|
maxWidth: _.asPx(maxWidth)
|
|
@@ -43586,15 +43586,15 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43586
43586
|
var theadFilterTrProps = _.splitProps(getTheadFilterTrProps(finalState, void 0, void 0, _this2));
|
|
43587
43587
|
return React.createElement(
|
|
43588
43588
|
TheadComponent,
|
|
43589
|
-
_extends$
|
|
43589
|
+
_extends$e({
|
|
43590
43590
|
className: classNames$1("-filters", theadFilterProps.className),
|
|
43591
|
-
style: _extends$
|
|
43591
|
+
style: _extends$e({}, theadFilterProps.style, {
|
|
43592
43592
|
minWidth: rowMinWidth + "px"
|
|
43593
43593
|
})
|
|
43594
43594
|
}, theadFilterProps.rest),
|
|
43595
43595
|
React.createElement(
|
|
43596
43596
|
TrComponent,
|
|
43597
|
-
_extends$
|
|
43597
|
+
_extends$e({
|
|
43598
43598
|
className: theadFilterTrProps.className,
|
|
43599
43599
|
style: theadFilterTrProps.style
|
|
43600
43600
|
}, theadFilterTrProps.rest),
|
|
@@ -43622,10 +43622,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43622
43622
|
var trProps = _.splitProps(getTrProps(finalState, rowInfo, void 0, _this2));
|
|
43623
43623
|
return React.createElement(
|
|
43624
43624
|
TrGroupComponent,
|
|
43625
|
-
_extends$
|
|
43625
|
+
_extends$e({ key: rowInfo.nestingPath.join("_") }, trGroupProps),
|
|
43626
43626
|
React.createElement(
|
|
43627
43627
|
TrComponent,
|
|
43628
|
-
_extends$
|
|
43628
|
+
_extends$e({
|
|
43629
43629
|
className: classNames$1(trProps.className, row._viewIndex % 2 ? "-even" : "-odd"),
|
|
43630
43630
|
style: trProps.style
|
|
43631
43631
|
}, trProps.rest),
|
|
@@ -43639,10 +43639,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43639
43639
|
var tdProps = _.splitProps(getTdProps(finalState, rowInfo, column, _this2));
|
|
43640
43640
|
var columnProps = _.splitProps(column.getProps(finalState, rowInfo, column, _this2));
|
|
43641
43641
|
var classes = [tdProps.className, column.className, columnProps.className];
|
|
43642
|
-
var styles2 = _extends$
|
|
43643
|
-
var cellInfo = _extends$
|
|
43642
|
+
var styles2 = _extends$e({}, tdProps.style, column.style, columnProps.style);
|
|
43643
|
+
var cellInfo = _extends$e({}, rowInfo, {
|
|
43644
43644
|
isExpanded,
|
|
43645
|
-
column: _extends$
|
|
43645
|
+
column: _extends$e({}, column),
|
|
43646
43646
|
value: rowInfo.row[column.id],
|
|
43647
43647
|
pivoted: column.pivoted,
|
|
43648
43648
|
expander: column.expander,
|
|
@@ -43696,7 +43696,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43696
43696
|
isBranch = rowInfo.row[pivotIDKey] === column.id && cellInfo.subRows;
|
|
43697
43697
|
isPreview = pivotBy.indexOf(column.id) > pivotBy.indexOf(rowInfo.row[pivotIDKey]) && cellInfo.subRows;
|
|
43698
43698
|
if (isBranch) {
|
|
43699
|
-
resolvedCell = _.normalizeComponent(ResolvedPivotComponent, _extends$
|
|
43699
|
+
resolvedCell = _.normalizeComponent(ResolvedPivotComponent, _extends$e({}, cellInfo, {
|
|
43700
43700
|
value: row[pivotValKey]
|
|
43701
43701
|
}), row[pivotValKey]);
|
|
43702
43702
|
} else if (isPreview) {
|
|
@@ -43739,10 +43739,10 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43739
43739
|
}
|
|
43740
43740
|
return React.createElement(
|
|
43741
43741
|
TdComponent,
|
|
43742
|
-
_extends$
|
|
43742
|
+
_extends$e({
|
|
43743
43743
|
key: i22 + "-" + column.id,
|
|
43744
43744
|
className: classNames$1(classes, !cellInfo.expandable && !show2 && "hidden", cellInfo.expandable && "rt-expandable", (isBranch || isPreview) && "rt-pivot"),
|
|
43745
|
-
style: _extends$
|
|
43745
|
+
style: _extends$e({}, styles2, {
|
|
43746
43746
|
flex: width + " 0 auto",
|
|
43747
43747
|
width: _.asPx(width),
|
|
43748
43748
|
maxWidth: _.asPx(maxWidth)
|
|
@@ -43772,13 +43772,13 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43772
43772
|
var tdProps = _.splitProps(getTdProps(finalState, void 0, column, _this2));
|
|
43773
43773
|
var columnProps = _.splitProps(column.getProps(finalState, void 0, column, _this2));
|
|
43774
43774
|
var classes = [tdProps.className, column.className, columnProps.className];
|
|
43775
|
-
var styles2 = _extends$
|
|
43775
|
+
var styles2 = _extends$e({}, tdProps.style, column.style, columnProps.style);
|
|
43776
43776
|
return React.createElement(
|
|
43777
43777
|
TdComponent,
|
|
43778
|
-
_extends$
|
|
43778
|
+
_extends$e({
|
|
43779
43779
|
key: i2 + "-" + column.id,
|
|
43780
43780
|
className: classNames$1(classes, !show2 && "hidden"),
|
|
43781
|
-
style: _extends$
|
|
43781
|
+
style: _extends$e({}, styles2, {
|
|
43782
43782
|
flex: flex + " 0 auto",
|
|
43783
43783
|
width: _.asPx(width),
|
|
43784
43784
|
maxWidth: _.asPx(maxWidth)
|
|
@@ -43792,7 +43792,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43792
43792
|
var trProps = _.splitProps(getTrProps(finalState, void 0, void 0, _this2));
|
|
43793
43793
|
return React.createElement(
|
|
43794
43794
|
TrGroupComponent,
|
|
43795
|
-
_extends$
|
|
43795
|
+
_extends$e({ key: "pad-" + i2 }, trGroupProps),
|
|
43796
43796
|
React.createElement(
|
|
43797
43797
|
TrComponent,
|
|
43798
43798
|
{
|
|
@@ -43814,13 +43814,13 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43814
43814
|
var columnProps = _.splitProps(column.getProps(finalState, void 0, column, _this2));
|
|
43815
43815
|
var columnFooterProps = _.splitProps(column.getFooterProps(finalState, void 0, column, _this2));
|
|
43816
43816
|
var classes = [tFootTdProps.className, column.className, columnProps.className, columnFooterProps.className];
|
|
43817
|
-
var styles2 = _extends$
|
|
43817
|
+
var styles2 = _extends$e({}, tFootTdProps.style, column.style, columnProps.style, columnFooterProps.style);
|
|
43818
43818
|
return React.createElement(
|
|
43819
43819
|
TdComponent,
|
|
43820
|
-
_extends$
|
|
43820
|
+
_extends$e({
|
|
43821
43821
|
key: i2 + "-" + column.id,
|
|
43822
43822
|
className: classNames$1(classes, !show2 && "hidden"),
|
|
43823
|
-
style: _extends$
|
|
43823
|
+
style: _extends$e({}, styles2, {
|
|
43824
43824
|
flex: width + " 0 auto",
|
|
43825
43825
|
width: _.asPx(width),
|
|
43826
43826
|
maxWidth: _.asPx(maxWidth)
|
|
@@ -43837,15 +43837,15 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43837
43837
|
var tFootTrProps = _.splitProps(getTfootTrProps(finalState, void 0, void 0, _this2));
|
|
43838
43838
|
return React.createElement(
|
|
43839
43839
|
TfootComponent,
|
|
43840
|
-
_extends$
|
|
43840
|
+
_extends$e({
|
|
43841
43841
|
className: tFootProps.className,
|
|
43842
|
-
style: _extends$
|
|
43842
|
+
style: _extends$e({}, tFootProps.style, {
|
|
43843
43843
|
minWidth: rowMinWidth + "px"
|
|
43844
43844
|
})
|
|
43845
43845
|
}, tFootProps.rest),
|
|
43846
43846
|
React.createElement(
|
|
43847
43847
|
TrComponent,
|
|
43848
|
-
_extends$
|
|
43848
|
+
_extends$e({
|
|
43849
43849
|
className: classNames$1(tFootTrProps.className),
|
|
43850
43850
|
style: tFootTrProps.style
|
|
43851
43851
|
}, tFootTrProps.rest),
|
|
@@ -43855,7 +43855,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43855
43855
|
}, "makeColumnFooters");
|
|
43856
43856
|
var makePagination = /* @__PURE__ */ __name(function makePagination2(isTop) {
|
|
43857
43857
|
var paginationProps = _.splitProps(getPaginationProps(finalState, void 0, void 0, _this2));
|
|
43858
|
-
return React.createElement(PaginationComponent, _extends$
|
|
43858
|
+
return React.createElement(PaginationComponent, _extends$e({}, resolvedState, {
|
|
43859
43859
|
pages,
|
|
43860
43860
|
canPrevious,
|
|
43861
43861
|
canNext,
|
|
@@ -43869,9 +43869,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43869
43869
|
var makeTable = /* @__PURE__ */ __name(function makeTable2() {
|
|
43870
43870
|
return React.createElement(
|
|
43871
43871
|
"div",
|
|
43872
|
-
_extends$
|
|
43872
|
+
_extends$e({
|
|
43873
43873
|
className: classNames$1("ReactTable", className, rootProps.className),
|
|
43874
|
-
style: _extends$
|
|
43874
|
+
style: _extends$e({}, style2, rootProps.style)
|
|
43875
43875
|
}, rootProps.rest, {
|
|
43876
43876
|
ref: /* @__PURE__ */ __name(function ref2(r2) {
|
|
43877
43877
|
if (!r2) return;
|
|
@@ -43888,7 +43888,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43888
43888
|
) : null,
|
|
43889
43889
|
React.createElement(
|
|
43890
43890
|
TableComponent,
|
|
43891
|
-
_extends$
|
|
43891
|
+
_extends$e({
|
|
43892
43892
|
className: classNames$1(tableProps.className, currentlyResizing ? "rt-resizing" : ""),
|
|
43893
43893
|
style: tableProps.style
|
|
43894
43894
|
}, tableProps.rest),
|
|
@@ -43897,9 +43897,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43897
43897
|
hasFilters ? makeFilters() : null,
|
|
43898
43898
|
React.createElement(
|
|
43899
43899
|
TbodyComponent,
|
|
43900
|
-
_extends$
|
|
43900
|
+
_extends$e({
|
|
43901
43901
|
className: classNames$1(tBodyProps.className),
|
|
43902
|
-
style: _extends$
|
|
43902
|
+
style: _extends$e({}, tBodyProps.style, {
|
|
43903
43903
|
minWidth: rowMinWidth + "px"
|
|
43904
43904
|
})
|
|
43905
43905
|
}, tBodyProps.rest),
|
|
@@ -43928,7 +43928,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
43928
43928
|
noDataProps,
|
|
43929
43929
|
_.normalizeComponent(noDataText)
|
|
43930
43930
|
),
|
|
43931
|
-
React.createElement(LoadingComponent2, _extends$
|
|
43931
|
+
React.createElement(LoadingComponent2, _extends$e({ loading, loadingText }, loadingProps))
|
|
43932
43932
|
);
|
|
43933
43933
|
}, "makeTable");
|
|
43934
43934
|
return children ? children(finalState, makeTable, this) : makeTable();
|
|
@@ -46511,6 +46511,23 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
46511
46511
|
if (!isString$1(value) || !new RegExp(conditionValue.replace(/%/g, ".*")).test(value))
|
|
46512
46512
|
return false;
|
|
46513
46513
|
break;
|
|
46514
|
+
case "_in":
|
|
46515
|
+
if (!some(conditionValue, (item) => isEqual$3(value, item)))
|
|
46516
|
+
return false;
|
|
46517
|
+
break;
|
|
46518
|
+
case "_nin":
|
|
46519
|
+
if (some(conditionValue, (item) => isEqual$3(value, item)))
|
|
46520
|
+
return false;
|
|
46521
|
+
break;
|
|
46522
|
+
case "_regex": {
|
|
46523
|
+
try {
|
|
46524
|
+
if (!isString$1(value) || !new RegExp(conditionValue).test(value))
|
|
46525
|
+
return false;
|
|
46526
|
+
} catch (e2) {
|
|
46527
|
+
return false;
|
|
46528
|
+
}
|
|
46529
|
+
break;
|
|
46530
|
+
}
|
|
46514
46531
|
default:
|
|
46515
46532
|
if (operator.startsWith("_")) {
|
|
46516
46533
|
console.warn(`Unsupported operator: ${operator}`);
|
|
@@ -48155,7 +48172,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
48155
48172
|
checkboardCache[key] = checkboard;
|
|
48156
48173
|
return checkboard;
|
|
48157
48174
|
}, "get");
|
|
48158
|
-
var _extends$
|
|
48175
|
+
var _extends$d = Object.assign || function(target) {
|
|
48159
48176
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
48160
48177
|
var source = arguments[i2];
|
|
48161
48178
|
for (var key in source) {
|
|
@@ -48178,7 +48195,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
48178
48195
|
}
|
|
48179
48196
|
}
|
|
48180
48197
|
});
|
|
48181
|
-
return reactExports.isValidElement(children) ? React.cloneElement(children, _extends$
|
|
48198
|
+
return reactExports.isValidElement(children) ? React.cloneElement(children, _extends$d({}, children.props, { style: _extends$d({}, children.props.style, styles2.grid) })) : React.createElement("div", { style: styles2.grid });
|
|
48182
48199
|
}, "Checkboard");
|
|
48183
48200
|
Checkboard.defaultProps = {
|
|
48184
48201
|
size: 8,
|
|
@@ -48186,7 +48203,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
48186
48203
|
grey: "rgba(0,0,0,.08)",
|
|
48187
48204
|
renderers: {}
|
|
48188
48205
|
};
|
|
48189
|
-
var _extends$
|
|
48206
|
+
var _extends$c = Object.assign || function(target) {
|
|
48190
48207
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
48191
48208
|
var source = arguments[i2];
|
|
48192
48209
|
for (var key in source) {
|
|
@@ -48314,7 +48331,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
48314
48331
|
top: rgb2.a * 100 + "%"
|
|
48315
48332
|
}
|
|
48316
48333
|
},
|
|
48317
|
-
"overwrite": _extends$
|
|
48334
|
+
"overwrite": _extends$c({}, this.props.style)
|
|
48318
48335
|
}, {
|
|
48319
48336
|
vertical: this.props.direction === "vertical",
|
|
48320
48337
|
overwrite: true
|
|
@@ -50064,7 +50081,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
50064
50081
|
var stringWithoutDegree = string2.replace("°", "");
|
|
50065
50082
|
return tinycolor(type2 + " (" + stringWithoutDegree + ")")._ok;
|
|
50066
50083
|
}, "isvalidColorString");
|
|
50067
|
-
var _extends$
|
|
50084
|
+
var _extends$b = Object.assign || function(target) {
|
|
50068
50085
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
50069
50086
|
var source = arguments[i2];
|
|
50070
50087
|
for (var key in source) {
|
|
@@ -50135,7 +50152,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
50135
50152
|
_this.props.onSwatchHover && _this.props.onSwatchHover(colors, event);
|
|
50136
50153
|
}
|
|
50137
50154
|
};
|
|
50138
|
-
_this.state = _extends$
|
|
50155
|
+
_this.state = _extends$b({}, toState(props.color, 0));
|
|
50139
50156
|
_this.debounce = debounce(function(fn2, data, event) {
|
|
50140
50157
|
fn2(data, event);
|
|
50141
50158
|
}, 100);
|
|
@@ -50149,20 +50166,20 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
50149
50166
|
if (this.props.onSwatchHover) {
|
|
50150
50167
|
optionalEvents.onSwatchHover = this.handleSwatchHover;
|
|
50151
50168
|
}
|
|
50152
|
-
return React.createElement(Picker, _extends$
|
|
50169
|
+
return React.createElement(Picker, _extends$b({}, this.props, this.state, {
|
|
50153
50170
|
onChange: this.handleChange
|
|
50154
50171
|
}, optionalEvents));
|
|
50155
50172
|
}, "render")
|
|
50156
50173
|
}], [{
|
|
50157
50174
|
key: "getDerivedStateFromProps",
|
|
50158
50175
|
value: /* @__PURE__ */ __name(function getDerivedStateFromProps(nextProps, state2) {
|
|
50159
|
-
return _extends$
|
|
50176
|
+
return _extends$b({}, toState(nextProps.color, state2.oldHue));
|
|
50160
50177
|
}, "getDerivedStateFromProps")
|
|
50161
50178
|
}]);
|
|
50162
50179
|
return ColorPicker2;
|
|
50163
50180
|
}(reactExports.PureComponent || reactExports.Component);
|
|
50164
|
-
ColorPicker.propTypes = _extends$
|
|
50165
|
-
ColorPicker.defaultProps = _extends$
|
|
50181
|
+
ColorPicker.propTypes = _extends$b({}, Picker.propTypes);
|
|
50182
|
+
ColorPicker.defaultProps = _extends$b({}, Picker.defaultProps, {
|
|
50166
50183
|
color: {
|
|
50167
50184
|
h: 250,
|
|
50168
50185
|
s: 0.5,
|
|
@@ -50172,7 +50189,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
50172
50189
|
});
|
|
50173
50190
|
return ColorPicker;
|
|
50174
50191
|
}, "ColorWrap");
|
|
50175
|
-
var _extends$
|
|
50192
|
+
var _extends$a = Object.assign || function(target) {
|
|
50176
50193
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
50177
50194
|
var source = arguments[i2];
|
|
50178
50195
|
for (var key in source) {
|
|
@@ -50245,14 +50262,14 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
50245
50262
|
return React.createElement(
|
|
50246
50263
|
Span,
|
|
50247
50264
|
{ onFocus: this.handleFocus, onBlur: this.handleBlur },
|
|
50248
|
-
React.createElement(Component, _extends$
|
|
50265
|
+
React.createElement(Component, _extends$a({}, this.props, this.state))
|
|
50249
50266
|
);
|
|
50250
50267
|
}, "render")
|
|
50251
50268
|
}]);
|
|
50252
50269
|
return Focus;
|
|
50253
50270
|
}(React.Component);
|
|
50254
50271
|
}, "handleFocus");
|
|
50255
|
-
var _extends$
|
|
50272
|
+
var _extends$9 = Object.assign || function(target) {
|
|
50256
50273
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
50257
50274
|
var source = arguments[i2];
|
|
50258
50275
|
for (var key in source) {
|
|
@@ -50270,7 +50287,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
50270
50287
|
var transparent = color2 === "transparent";
|
|
50271
50288
|
var styles2 = reactCSS({
|
|
50272
50289
|
default: {
|
|
50273
|
-
swatch: _extends$
|
|
50290
|
+
swatch: _extends$9({
|
|
50274
50291
|
background: color2,
|
|
50275
50292
|
height: "100%",
|
|
50276
50293
|
width: "100%",
|
|
@@ -50295,7 +50312,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
50295
50312
|
}
|
|
50296
50313
|
return React.createElement(
|
|
50297
50314
|
"div",
|
|
50298
|
-
_extends$
|
|
50315
|
+
_extends$9({
|
|
50299
50316
|
style: styles2.swatch,
|
|
50300
50317
|
onClick: handleClick,
|
|
50301
50318
|
title,
|
|
@@ -50331,7 +50348,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
50331
50348
|
}, { vertical: direction2 === "vertical" });
|
|
50332
50349
|
return React.createElement("div", { style: styles2.picker });
|
|
50333
50350
|
}, "AlphaPointer");
|
|
50334
|
-
var _extends$
|
|
50351
|
+
var _extends$8 = Object.assign || function(target) {
|
|
50335
50352
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
50336
50353
|
var source = arguments[i2];
|
|
50337
50354
|
for (var key in source) {
|
|
@@ -50360,7 +50377,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
50360
50377
|
return React.createElement(
|
|
50361
50378
|
"div",
|
|
50362
50379
|
{ style: styles2.picker, className: "alpha-picker " + className },
|
|
50363
|
-
React.createElement(Alpha, _extends$
|
|
50380
|
+
React.createElement(Alpha, _extends$8({}, styles2.alpha, {
|
|
50364
50381
|
rgb: rgb2,
|
|
50365
50382
|
hsl: hsl2,
|
|
50366
50383
|
pointer,
|
|
@@ -51606,7 +51623,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
51606
51623
|
}, { vertical: direction2 === "vertical" });
|
|
51607
51624
|
return React.createElement("div", { style: styles2.picker });
|
|
51608
51625
|
}, "SliderPointer");
|
|
51609
|
-
var _extends$
|
|
51626
|
+
var _extends$7 = Object.assign || function(target) {
|
|
51610
51627
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
51611
51628
|
var source = arguments[i2];
|
|
51612
51629
|
for (var key in source) {
|
|
@@ -51637,7 +51654,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
51637
51654
|
return React.createElement(
|
|
51638
51655
|
"div",
|
|
51639
51656
|
{ style: styles2.picker, className: "hue-picker " + className },
|
|
51640
|
-
React.createElement(Hue, _extends$
|
|
51657
|
+
React.createElement(Hue, _extends$7({}, styles2.hue, {
|
|
51641
51658
|
hsl: hsl2,
|
|
51642
51659
|
pointer,
|
|
51643
51660
|
onChange: handleChange,
|
|
@@ -52421,7 +52438,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
52421
52438
|
)
|
|
52422
52439
|
);
|
|
52423
52440
|
}, "SketchFields");
|
|
52424
|
-
var _extends$
|
|
52441
|
+
var _extends$6 = Object.assign || function(target) {
|
|
52425
52442
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
52426
52443
|
var source = arguments[i2];
|
|
52427
52444
|
for (var key in source) {
|
|
@@ -52478,7 +52495,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
52478
52495
|
return React.createElement(
|
|
52479
52496
|
"div",
|
|
52480
52497
|
{ key, style: styles2.swatchWrap },
|
|
52481
|
-
React.createElement(Swatch$1, _extends$
|
|
52498
|
+
React.createElement(Swatch$1, _extends$6({}, c2, {
|
|
52482
52499
|
style: styles2.swatch,
|
|
52483
52500
|
onClick: handleClick,
|
|
52484
52501
|
onHover: onSwatchHover,
|
|
@@ -52496,7 +52513,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
52496
52513
|
title: PropTypes.string
|
|
52497
52514
|
})])).isRequired
|
|
52498
52515
|
};
|
|
52499
|
-
var _extends$
|
|
52516
|
+
var _extends$5 = Object.assign || function(target) {
|
|
52500
52517
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
52501
52518
|
var source = arguments[i2];
|
|
52502
52519
|
for (var key in source) {
|
|
@@ -52510,7 +52527,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
52510
52527
|
var Sketch = /* @__PURE__ */ __name(function Sketch2(_ref) {
|
|
52511
52528
|
var width = _ref.width, rgb2 = _ref.rgb, hex = _ref.hex, hsv = _ref.hsv, hsl2 = _ref.hsl, onChange = _ref.onChange, onSwatchHover = _ref.onSwatchHover, disableAlpha = _ref.disableAlpha, presetColors = _ref.presetColors, renderers = _ref.renderers, _ref$styles = _ref.styles, passedStyles = _ref$styles === void 0 ? {} : _ref$styles, _ref$className = _ref.className, className = _ref$className === void 0 ? "" : _ref$className;
|
|
52512
52529
|
var styles2 = reactCSS(merge$1({
|
|
52513
|
-
"default": _extends$
|
|
52530
|
+
"default": _extends$5({
|
|
52514
52531
|
picker: {
|
|
52515
52532
|
width,
|
|
52516
52533
|
padding: "10px 10px 0",
|
|
@@ -64233,7 +64250,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
64233
64250
|
location2 = parsePath(path2);
|
|
64234
64251
|
location2.state = state2;
|
|
64235
64252
|
} else {
|
|
64236
|
-
location2 = _extends$
|
|
64253
|
+
location2 = _extends$k({}, path2);
|
|
64237
64254
|
if (location2.pathname === void 0) location2.pathname = "";
|
|
64238
64255
|
if (location2.search) {
|
|
64239
64256
|
if (location2.search.charAt(0) !== "?") location2.search = "?" + location2.search;
|
|
@@ -64387,7 +64404,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
64387
64404
|
__name(createKey2, "createKey");
|
|
64388
64405
|
var transitionManager = createTransitionManager();
|
|
64389
64406
|
function setState(nextState) {
|
|
64390
|
-
_extends$
|
|
64407
|
+
_extends$k(history, nextState);
|
|
64391
64408
|
history.length = globalHistory.length;
|
|
64392
64409
|
transitionManager.notifyListeners(history.location, history.action);
|
|
64393
64410
|
}
|
|
@@ -64622,7 +64639,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
64622
64639
|
__name(getDOMLocation, "getDOMLocation");
|
|
64623
64640
|
var transitionManager = createTransitionManager();
|
|
64624
64641
|
function setState(nextState) {
|
|
64625
|
-
_extends$
|
|
64642
|
+
_extends$k(history, nextState);
|
|
64626
64643
|
history.length = globalHistory.length;
|
|
64627
64644
|
transitionManager.notifyListeners(history.location, history.action);
|
|
64628
64645
|
}
|
|
@@ -64817,7 +64834,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
64817
64834
|
var _props = props, getUserConfirmation = _props.getUserConfirmation, _props$initialEntries = _props.initialEntries, initialEntries = _props$initialEntries === void 0 ? ["/"] : _props$initialEntries, _props$initialIndex = _props.initialIndex, initialIndex = _props$initialIndex === void 0 ? 0 : _props$initialIndex, _props$keyLength = _props.keyLength, keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;
|
|
64818
64835
|
var transitionManager = createTransitionManager();
|
|
64819
64836
|
function setState(nextState) {
|
|
64820
|
-
_extends$
|
|
64837
|
+
_extends$k(history, nextState);
|
|
64821
64838
|
history.length = history.entries.length;
|
|
64822
64839
|
transitionManager.notifyListeners(history.location, history.action);
|
|
64823
64840
|
}
|
|
@@ -64926,16 +64943,16 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
64926
64943
|
return history;
|
|
64927
64944
|
}
|
|
64928
64945
|
__name(createMemoryHistory, "createMemoryHistory");
|
|
64929
|
-
function _extends$
|
|
64930
|
-
return _extends$
|
|
64946
|
+
function _extends$4() {
|
|
64947
|
+
return _extends$4 = Object.assign ? Object.assign.bind() : function(n2) {
|
|
64931
64948
|
for (var e2 = 1; e2 < arguments.length; e2++) {
|
|
64932
64949
|
var t2 = arguments[e2];
|
|
64933
64950
|
for (var r2 in t2) ({}).hasOwnProperty.call(t2, r2) && (n2[r2] = t2[r2]);
|
|
64934
64951
|
}
|
|
64935
64952
|
return n2;
|
|
64936
|
-
}, _extends$
|
|
64953
|
+
}, _extends$4.apply(null, arguments);
|
|
64937
64954
|
}
|
|
64938
|
-
__name(_extends$
|
|
64955
|
+
__name(_extends$4, "_extends$4");
|
|
64939
64956
|
var pathToRegexp$1 = { exports: {} };
|
|
64940
64957
|
var isarray;
|
|
64941
64958
|
var hasRequiredIsarray;
|
|
@@ -65583,7 +65600,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
65583
65600
|
!context$1 ? invariant$1() : void 0;
|
|
65584
65601
|
var location2 = _this.props.location || context$1.location;
|
|
65585
65602
|
var match = _this.props.computedMatch ? _this.props.computedMatch : _this.props.path ? matchPath(location2.pathname, _this.props) : context$1.match;
|
|
65586
|
-
var props = _extends$
|
|
65603
|
+
var props = _extends$4({}, context$1, {
|
|
65587
65604
|
location: location2,
|
|
65588
65605
|
match
|
|
65589
65606
|
});
|
|
@@ -65604,7 +65621,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
65604
65621
|
__name(addLeadingSlash, "addLeadingSlash");
|
|
65605
65622
|
function addBasename(basename2, location2) {
|
|
65606
65623
|
if (!basename2) return location2;
|
|
65607
|
-
return _extends$
|
|
65624
|
+
return _extends$4({}, location2, {
|
|
65608
65625
|
pathname: addLeadingSlash(basename2) + location2.pathname
|
|
65609
65626
|
});
|
|
65610
65627
|
}
|
|
@@ -65613,7 +65630,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
65613
65630
|
if (!basename2) return location2;
|
|
65614
65631
|
var base = addLeadingSlash(basename2);
|
|
65615
65632
|
if (location2.pathname.indexOf(base) !== 0) return location2;
|
|
65616
|
-
return _extends$
|
|
65633
|
+
return _extends$4({}, location2, {
|
|
65617
65634
|
pathname: location2.pathname.substr(base.length)
|
|
65618
65635
|
});
|
|
65619
65636
|
}
|
|
@@ -65677,7 +65694,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
65677
65694
|
listen: this.handleListen,
|
|
65678
65695
|
block: this.handleBlock
|
|
65679
65696
|
};
|
|
65680
|
-
return /* @__PURE__ */ React.createElement(Router, _extends$
|
|
65697
|
+
return /* @__PURE__ */ React.createElement(Router, _extends$4({}, rest, {
|
|
65681
65698
|
history,
|
|
65682
65699
|
staticContext: context2
|
|
65683
65700
|
}));
|
|
@@ -65701,7 +65718,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
65701
65718
|
if (match == null && /* @__PURE__ */ React.isValidElement(child)) {
|
|
65702
65719
|
element2 = child;
|
|
65703
65720
|
var path2 = child.props.path || child.props.from;
|
|
65704
|
-
match = path2 ? matchPath(location2.pathname, _extends$
|
|
65721
|
+
match = path2 ? matchPath(location2.pathname, _extends$4({}, child.props, {
|
|
65705
65722
|
path: path2
|
|
65706
65723
|
})) : context2.match;
|
|
65707
65724
|
}
|
|
@@ -65720,7 +65737,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
65720
65737
|
var wrappedComponentRef = props.wrappedComponentRef, remainingProps = _objectWithoutPropertiesLoose$3(props, ["wrappedComponentRef"]);
|
|
65721
65738
|
return /* @__PURE__ */ React.createElement(context.Consumer, null, function(context2) {
|
|
65722
65739
|
!context2 ? invariant$1() : void 0;
|
|
65723
|
-
return /* @__PURE__ */ React.createElement(Component, _extends$
|
|
65740
|
+
return /* @__PURE__ */ React.createElement(Component, _extends$4({}, remainingProps, context2, {
|
|
65724
65741
|
ref: wrappedComponentRef
|
|
65725
65742
|
}));
|
|
65726
65743
|
});
|
|
@@ -65741,16 +65758,16 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
65741
65758
|
t2.prototype = Object.create(o2.prototype), t2.prototype.constructor = t2, _setPrototypeOf$1(t2, o2);
|
|
65742
65759
|
}
|
|
65743
65760
|
__name(_inheritsLoose$1, "_inheritsLoose$1");
|
|
65744
|
-
function _extends$
|
|
65745
|
-
return _extends$
|
|
65761
|
+
function _extends$3() {
|
|
65762
|
+
return _extends$3 = Object.assign ? Object.assign.bind() : function(n2) {
|
|
65746
65763
|
for (var e2 = 1; e2 < arguments.length; e2++) {
|
|
65747
65764
|
var t2 = arguments[e2];
|
|
65748
65765
|
for (var r2 in t2) ({}).hasOwnProperty.call(t2, r2) && (n2[r2] = t2[r2]);
|
|
65749
65766
|
}
|
|
65750
65767
|
return n2;
|
|
65751
|
-
}, _extends$
|
|
65768
|
+
}, _extends$3.apply(null, arguments);
|
|
65752
65769
|
}
|
|
65753
|
-
__name(_extends$
|
|
65770
|
+
__name(_extends$3, "_extends$3");
|
|
65754
65771
|
function _objectWithoutPropertiesLoose$2(r2, e2) {
|
|
65755
65772
|
if (null == r2) return {};
|
|
65756
65773
|
var t2 = {};
|
|
@@ -65823,7 +65840,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
65823
65840
|
var LinkAnchor = forwardRef(function(_ref, forwardedRef) {
|
|
65824
65841
|
var innerRef = _ref.innerRef, navigate = _ref.navigate, _onClick = _ref.onClick, rest = _objectWithoutPropertiesLoose$2(_ref, ["innerRef", "navigate", "onClick"]);
|
|
65825
65842
|
var target = rest.target;
|
|
65826
|
-
var props = _extends$
|
|
65843
|
+
var props = _extends$3({}, rest, {
|
|
65827
65844
|
onClick: /* @__PURE__ */ __name(function onClick(event) {
|
|
65828
65845
|
try {
|
|
65829
65846
|
if (_onClick) _onClick(event);
|
|
@@ -65854,7 +65871,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
65854
65871
|
var history = context2.history;
|
|
65855
65872
|
var location2 = normalizeToLocation(resolveToLocation(to, context2.location), context2.location);
|
|
65856
65873
|
var href = location2 ? history.createHref(location2) : "";
|
|
65857
|
-
var props = _extends$
|
|
65874
|
+
var props = _extends$3({}, rest, {
|
|
65858
65875
|
href,
|
|
65859
65876
|
navigate: /* @__PURE__ */ __name(function navigate() {
|
|
65860
65877
|
var location22 = resolveToLocation(to, context2.location);
|
|
@@ -65906,9 +65923,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
65906
65923
|
var style2 = typeof styleProp === "function" ? styleProp(isActive2) : styleProp;
|
|
65907
65924
|
if (isActive2) {
|
|
65908
65925
|
className = joinClassnames(className, activeClassName);
|
|
65909
|
-
style2 = _extends$
|
|
65926
|
+
style2 = _extends$3({}, style2, activeStyle);
|
|
65910
65927
|
}
|
|
65911
|
-
var props = _extends$
|
|
65928
|
+
var props = _extends$3({
|
|
65912
65929
|
"aria-current": isActive2 && ariaCurrent || null,
|
|
65913
65930
|
className,
|
|
65914
65931
|
style: style2,
|
|
@@ -79843,7 +79860,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
79843
79860
|
filterValToUse = false;
|
|
79844
79861
|
} else if (ccSelectedFilter2 === "inList" || ccSelectedFilter2 === "notInList") {
|
|
79845
79862
|
if (dataType === "number") {
|
|
79846
|
-
filterValToUse = filterValue && filterValue.map((val2) => parseFloat(val2
|
|
79863
|
+
filterValToUse = filterValue && filterValue.map((val2) => parseFloat(`${val2}`.replaceAll(",", "")));
|
|
79847
79864
|
}
|
|
79848
79865
|
}
|
|
79849
79866
|
if (isInvalidFilterValue(filterValToUse)) {
|
|
@@ -79949,7 +79966,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
79949
79966
|
multi: true,
|
|
79950
79967
|
creatable: true,
|
|
79951
79968
|
value: (filterValue || []).map((val2) => ({
|
|
79952
|
-
label: val2
|
|
79969
|
+
label: `${val2}`,
|
|
79953
79970
|
value: val2
|
|
79954
79971
|
})),
|
|
79955
79972
|
onChange: /* @__PURE__ */ __name((selectedOptions) => {
|
|
@@ -81898,8 +81915,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
81898
81915
|
return Constructor;
|
|
81899
81916
|
}
|
|
81900
81917
|
__name(_createClass, "_createClass");
|
|
81901
|
-
function _extends$
|
|
81902
|
-
_extends$
|
|
81918
|
+
function _extends$2() {
|
|
81919
|
+
_extends$2 = Object.assign ? Object.assign.bind() : function(target) {
|
|
81903
81920
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
81904
81921
|
var source = arguments[i2];
|
|
81905
81922
|
for (var key in source) {
|
|
@@ -81910,9 +81927,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
81910
81927
|
}
|
|
81911
81928
|
return target;
|
|
81912
81929
|
};
|
|
81913
|
-
return _extends$
|
|
81930
|
+
return _extends$2.apply(this, arguments);
|
|
81914
81931
|
}
|
|
81915
|
-
__name(_extends$
|
|
81932
|
+
__name(_extends$2, "_extends$2");
|
|
81916
81933
|
function _inheritsLoose(subClass, superClass) {
|
|
81917
81934
|
subClass.prototype = Object.create(superClass.prototype);
|
|
81918
81935
|
subClass.prototype.constructor = subClass;
|
|
@@ -81999,7 +82016,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
81999
82016
|
__name(createDecoratorAnnotation, "createDecoratorAnnotation");
|
|
82000
82017
|
function storeAnnotation(prototype, key, annotation) {
|
|
82001
82018
|
if (!hasProp(prototype, storedAnnotationsSymbol)) {
|
|
82002
|
-
addHiddenProp(prototype, storedAnnotationsSymbol, _extends$
|
|
82019
|
+
addHiddenProp(prototype, storedAnnotationsSymbol, _extends$2({}, prototype[storedAnnotationsSymbol]));
|
|
82003
82020
|
}
|
|
82004
82021
|
if (!isOverride(annotation)) {
|
|
82005
82022
|
prototype[storedAnnotationsSymbol][key] = annotation;
|
|
@@ -82368,7 +82385,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
82368
82385
|
__name(make_$3, "make_$3");
|
|
82369
82386
|
function extend_$3(adm, key, descriptor, proxyTrap) {
|
|
82370
82387
|
assertComputedDescriptor(adm, this, key, descriptor);
|
|
82371
|
-
return adm.defineComputedProperty_(key, _extends$
|
|
82388
|
+
return adm.defineComputedProperty_(key, _extends$2({}, this.options_, {
|
|
82372
82389
|
get: descriptor.get,
|
|
82373
82390
|
set: descriptor.set
|
|
82374
82391
|
}), proxyTrap);
|
|
@@ -82379,7 +82396,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
82379
82396
|
var key = context2.name, addInitializer = context2.addInitializer;
|
|
82380
82397
|
addInitializer(function() {
|
|
82381
82398
|
var adm = asObservableObject(this)[$mobx];
|
|
82382
|
-
var options = _extends$
|
|
82399
|
+
var options = _extends$2({}, ann.options_, {
|
|
82383
82400
|
get: get4,
|
|
82384
82401
|
context: this
|
|
82385
82402
|
});
|
|
@@ -85178,7 +85195,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
85178
85195
|
}
|
|
85179
85196
|
var newValue = change2.newValue;
|
|
85180
85197
|
if (descriptor.value !== newValue) {
|
|
85181
|
-
descriptor = _extends$
|
|
85198
|
+
descriptor = _extends$2({}, descriptor, {
|
|
85182
85199
|
value: newValue
|
|
85183
85200
|
});
|
|
85184
85201
|
}
|
|
@@ -100802,8 +100819,8 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
100802
100819
|
}
|
|
100803
100820
|
return actions2;
|
|
100804
100821
|
});
|
|
100805
|
-
function _extends() {
|
|
100806
|
-
_extends = Object.assign || function(target) {
|
|
100822
|
+
function _extends$1() {
|
|
100823
|
+
_extends$1 = Object.assign || function(target) {
|
|
100807
100824
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
100808
100825
|
var source = arguments[i2];
|
|
100809
100826
|
for (var key in source) {
|
|
@@ -100814,9 +100831,9 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
100814
100831
|
}
|
|
100815
100832
|
return target;
|
|
100816
100833
|
};
|
|
100817
|
-
return _extends.apply(this, arguments);
|
|
100834
|
+
return _extends$1.apply(this, arguments);
|
|
100818
100835
|
}
|
|
100819
|
-
__name(_extends, "_extends");
|
|
100836
|
+
__name(_extends$1, "_extends$1");
|
|
100820
100837
|
function normalizeType(typeOrActionCreator) {
|
|
100821
100838
|
if (typeOrActionCreator && typeOrActionCreator.getType) {
|
|
100822
100839
|
return typeOrActionCreator.toString();
|
|
@@ -100831,7 +100848,7 @@ ${latestSubscriptionCallbackError.current.stack}
|
|
|
100831
100848
|
payload: true,
|
|
100832
100849
|
fallback: null
|
|
100833
100850
|
};
|
|
100834
|
-
var reducer2 = _extends(reduce2, {
|
|
100851
|
+
var reducer2 = _extends$1(reduce2, {
|
|
100835
100852
|
has: has2,
|
|
100836
100853
|
on: on2,
|
|
100837
100854
|
off,
|
|
@@ -129061,6 +129078,16 @@ ${seq.sequence}
|
|
|
129061
129078
|
};
|
|
129062
129079
|
return wrapperFn;
|
|
129063
129080
|
}, "rafSchd");
|
|
129081
|
+
function _extends() {
|
|
129082
|
+
return _extends = Object.assign ? Object.assign.bind() : function(n2) {
|
|
129083
|
+
for (var e2 = 1; e2 < arguments.length; e2++) {
|
|
129084
|
+
var t2 = arguments[e2];
|
|
129085
|
+
for (var r2 in t2) ({}).hasOwnProperty.call(t2, r2) && (n2[r2] = t2[r2]);
|
|
129086
|
+
}
|
|
129087
|
+
return n2;
|
|
129088
|
+
}, _extends.apply(null, arguments);
|
|
129089
|
+
}
|
|
129090
|
+
__name(_extends, "_extends");
|
|
129064
129091
|
function log(type2, message) {
|
|
129065
129092
|
{
|
|
129066
129093
|
return;
|
|
@@ -133592,7 +133619,7 @@ ${seq.sequence}
|
|
|
133592
133619
|
el.id = id2;
|
|
133593
133620
|
el.setAttribute("aria-live", "assertive");
|
|
133594
133621
|
el.setAttribute("aria-atomic", "true");
|
|
133595
|
-
_extends
|
|
133622
|
+
_extends(el.style, visuallyHidden$1);
|
|
133596
133623
|
getBodyElement().appendChild(el);
|
|
133597
133624
|
return /* @__PURE__ */ __name(function cleanup() {
|
|
133598
133625
|
setTimeout(/* @__PURE__ */ __name(function remove2() {
|
|
@@ -135468,7 +135495,7 @@ ${seq.sequence}
|
|
|
135468
135495
|
const isEnabled = typeof props.isDragDisabled === "boolean" ? !props.isDragDisabled : true;
|
|
135469
135496
|
const canDragInteractiveElements = Boolean(props.disableInteractiveElementBlocking);
|
|
135470
135497
|
const shouldRespectForcePress = Boolean(props.shouldRespectForcePress);
|
|
135471
|
-
return React.createElement(PrivateDraggable, _extends
|
|
135498
|
+
return React.createElement(PrivateDraggable, _extends({}, props, {
|
|
135472
135499
|
isClone: false,
|
|
135473
135500
|
isEnabled,
|
|
135474
135501
|
canDragInteractiveElements,
|
|
@@ -139142,10 +139169,39 @@ ${seq.sequence}
|
|
|
139142
139169
|
__name(_AnnotationPositioner, "AnnotationPositioner");
|
|
139143
139170
|
let AnnotationPositioner = _AnnotationPositioner;
|
|
139144
139171
|
let measureCanvas;
|
|
139145
|
-
|
|
139172
|
+
let cachedFontSize = null;
|
|
139173
|
+
function getVeMonospaceFontSize() {
|
|
139174
|
+
if (cachedFontSize !== null) {
|
|
139175
|
+
return cachedFontSize;
|
|
139176
|
+
}
|
|
139177
|
+
const tempElement = document.createElement("div");
|
|
139178
|
+
tempElement.className = "ve-monospace-font";
|
|
139179
|
+
tempElement.style.position = "absolute";
|
|
139180
|
+
tempElement.style.visibility = "hidden";
|
|
139181
|
+
tempElement.style.pointerEvents = "none";
|
|
139182
|
+
document.body.appendChild(tempElement);
|
|
139183
|
+
try {
|
|
139184
|
+
const computedStyle = window.getComputedStyle(tempElement);
|
|
139185
|
+
const fontSize2 = parseFloat(computedStyle.fontSize);
|
|
139186
|
+
cachedFontSize = fontSize2 || ANNOTATION_LABEL_FONT_WIDTH;
|
|
139187
|
+
return cachedFontSize;
|
|
139188
|
+
} catch (error) {
|
|
139189
|
+
console.warn(
|
|
139190
|
+
"Failed to compute ve-monospace-font size, using fallback",
|
|
139191
|
+
error
|
|
139192
|
+
);
|
|
139193
|
+
cachedFontSize = ANNOTATION_LABEL_FONT_WIDTH;
|
|
139194
|
+
return cachedFontSize;
|
|
139195
|
+
} finally {
|
|
139196
|
+
document.body.removeChild(tempElement);
|
|
139197
|
+
}
|
|
139198
|
+
}
|
|
139199
|
+
__name(getVeMonospaceFontSize, "getVeMonospaceFontSize");
|
|
139200
|
+
function getAnnotationTextWidth(text2, fontFamily2 = "monospace") {
|
|
139146
139201
|
if (!measureCanvas) {
|
|
139147
139202
|
measureCanvas = document.createElement("canvas");
|
|
139148
139203
|
}
|
|
139204
|
+
const fontSize2 = getVeMonospaceFontSize();
|
|
139149
139205
|
const ctx = measureCanvas.getContext("2d");
|
|
139150
139206
|
ctx.font = `${fontSize2}px ${fontFamily2}`;
|
|
139151
139207
|
return ctx.measureText(text2).width;
|
|
@@ -139153,7 +139209,8 @@ ${seq.sequence}
|
|
|
139153
139209
|
__name(getAnnotationTextWidth, "getAnnotationTextWidth");
|
|
139154
139210
|
const doesLabelFitInAnnotation = /* @__PURE__ */ __name((text2 = "", { range: range2, width }, charWidth2) => {
|
|
139155
139211
|
const textLength = getAnnotationTextWidth(text2);
|
|
139156
|
-
const
|
|
139212
|
+
const fontSize2 = getVeMonospaceFontSize();
|
|
139213
|
+
const widthMinusOne = range2 ? getWidth(range2, charWidth2, 0) - fontSize2 * 2 : width - fontSize2 * 2;
|
|
139157
139214
|
return widthMinusOne > textLength;
|
|
139158
139215
|
}, "doesLabelFitInAnnotation");
|
|
139159
139216
|
function getAnnotationClassnames({ overlapsSelf }, { viewName, type: type2 }) {
|
|
@@ -145249,7 +145306,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
145249
145306
|
input.click();
|
|
145250
145307
|
}
|
|
145251
145308
|
__name(showFileDialog, "showFileDialog");
|
|
145252
|
-
const version = "0.8.
|
|
145309
|
+
const version = "0.8.37";
|
|
145253
145310
|
const packageJson = {
|
|
145254
145311
|
version
|
|
145255
145312
|
};
|
|
@@ -154148,14 +154205,13 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
154148
154205
|
};
|
|
154149
154206
|
__name(_ComponentToPrint, "ComponentToPrint");
|
|
154150
154207
|
let ComponentToPrint = _ComponentToPrint;
|
|
154151
|
-
const sizeSchema = /* @__PURE__ */ __name((
|
|
154208
|
+
const sizeSchema = /* @__PURE__ */ __name(() => ({
|
|
154152
154209
|
path: "size",
|
|
154153
154210
|
type: "number",
|
|
154154
|
-
render: /* @__PURE__ */ __name((val2,
|
|
154155
|
-
const record = isProtein2 ? convertDnaCaretPositionOrRangeToAA(_record) : _record;
|
|
154211
|
+
render: /* @__PURE__ */ __name((val2, record) => {
|
|
154156
154212
|
const base1Range = convertRangeTo1Based(record);
|
|
154157
154213
|
const hasJoinedLocations = record.locations && record.locations.length > 1;
|
|
154158
|
-
return /* @__PURE__ */ React.createElement("span", null,
|
|
154214
|
+
return /* @__PURE__ */ React.createElement("span", null, val2, " ", /* @__PURE__ */ React.createElement("span", { style: { fontSize: 10 } }, hasJoinedLocations ? record.locations.map((loc, i2) => {
|
|
154159
154215
|
const base1Range2 = convertRangeTo1Based(loc);
|
|
154160
154216
|
return /* @__PURE__ */ React.createElement("span", { key: i2 }, "(", base1Range2.start, "-", base1Range2.end, ")");
|
|
154161
154217
|
}) : /* @__PURE__ */ React.createElement("span", null, "(", base1Range.start, "-", base1Range.end, ")")));
|
|
@@ -154165,11 +154221,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
154165
154221
|
let lastDeps;
|
|
154166
154222
|
let lastResult;
|
|
154167
154223
|
return (editorState) => {
|
|
154168
|
-
const {
|
|
154169
|
-
sequenceData: sequenceData2,
|
|
154170
|
-
minimumOrfSize: minimumOrfSize2,
|
|
154171
|
-
useAdditionalOrfStartCodons: useAdditionalOrfStartCodons2
|
|
154172
|
-
} = editorState;
|
|
154224
|
+
const { sequenceData: sequenceData2, minimumOrfSize: minimumOrfSize2, useAdditionalOrfStartCodons: useAdditionalOrfStartCodons2 } = editorState;
|
|
154173
154225
|
const { sequence: sequence2, circular: circular2 } = sequenceData2;
|
|
154174
154226
|
const deps = {
|
|
154175
154227
|
sequence: sequence2,
|
|
@@ -160186,6 +160238,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
160186
160238
|
const ignoreName = useFormValue(dialogFormName, "ignoreName");
|
|
160187
160239
|
const ignoreStartAndEnd = useFormValue(dialogFormName, "ignoreStartAndEnd");
|
|
160188
160240
|
const ignoreStrand = useFormValue(dialogFormName, "ignoreStrand");
|
|
160241
|
+
const isProteinSeq = isProtein2 || sequenceData2.isProtein;
|
|
160189
160242
|
const recomputeDups = reactExports.useCallback(
|
|
160190
160243
|
(values2) => {
|
|
160191
160244
|
const ignoreName2 = values2 == null ? void 0 : values2.ignoreName;
|
|
@@ -160194,17 +160247,20 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
160194
160247
|
const annotations = sequenceData2[type2];
|
|
160195
160248
|
const newDups = [];
|
|
160196
160249
|
const seqsHashByStartEndStrandName = {};
|
|
160197
|
-
forEach$1(annotations, (
|
|
160198
|
-
const
|
|
160250
|
+
forEach$1(annotations, (_annotation) => {
|
|
160251
|
+
const annotation = isProteinSeq ? convertDnaCaretPositionOrRangeToAA(_annotation) : _annotation;
|
|
160252
|
+
const hash2 = `${ignoreStartAndEnd2 ? "" : annotation.start}&${ignoreStartAndEnd2 ? "" : annotation.end}&${ignoreStrand2 ? "" : annotation.strand}&${ignoreName2 ? "" : annotation.name}`;
|
|
160199
160253
|
if (seqsHashByStartEndStrandName[hash2]) {
|
|
160200
|
-
newDups.push(__spreadProps(__spreadValues({},
|
|
160254
|
+
newDups.push(__spreadProps(__spreadValues({}, annotation), {
|
|
160255
|
+
size: getRangeLength(annotation, sequenceLength)
|
|
160256
|
+
}));
|
|
160201
160257
|
} else {
|
|
160202
160258
|
seqsHashByStartEndStrandName[hash2] = true;
|
|
160203
160259
|
}
|
|
160204
160260
|
});
|
|
160205
160261
|
return newDups;
|
|
160206
160262
|
},
|
|
160207
|
-
[sequenceData2, sequenceLength, type2]
|
|
160263
|
+
[sequenceData2, sequenceLength, type2, isProteinSeq]
|
|
160208
160264
|
);
|
|
160209
160265
|
const [dups, setDups] = reactExports.useState(recomputeDups);
|
|
160210
160266
|
const selectedIds = reactExports.useMemo(() => dups.map((d2) => d2.id), [dups]);
|
|
@@ -160226,11 +160282,11 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
160226
160282
|
fields: [
|
|
160227
160283
|
{ path: "name", type: "string" },
|
|
160228
160284
|
// ...(noType ? [] : [{ path: "type", type: "string" }]),
|
|
160229
|
-
sizeSchema(
|
|
160285
|
+
sizeSchema(),
|
|
160230
160286
|
{ path: "strand", type: "string" }
|
|
160231
160287
|
]
|
|
160232
160288
|
}),
|
|
160233
|
-
[
|
|
160289
|
+
[]
|
|
160234
160290
|
);
|
|
160235
160291
|
return /* @__PURE__ */ React.createElement("div", { className: classNames$1(DIALOG_BODY, "tg-min-width-dialog") }, /* @__PURE__ */ React.createElement(
|
|
160236
160292
|
WrappedDT,
|
|
@@ -168868,7 +168924,7 @@ ${seqDataToCopy}\r
|
|
|
168868
168924
|
_this$props.innerRef;
|
|
168869
168925
|
_this$props.onResize;
|
|
168870
168926
|
var props = _objectWithoutPropertiesLoose$5(_this$props, ["innerRef", "onResize"]);
|
|
168871
|
-
return reactExports.createElement(WrappedComponent, _extends$
|
|
168927
|
+
return reactExports.createElement(WrappedComponent, _extends$k({}, props, {
|
|
168872
168928
|
measureRef: this._handleRef,
|
|
168873
168929
|
measure: this.measure,
|
|
168874
168930
|
contentRect: this.state.contentRect
|
|
@@ -170691,14 +170747,15 @@ ${seqDataToCopy}\r
|
|
|
170691
170747
|
const annotationPropertiesSelectedEntities = _annotationPropertiesSelectedEntities.filter((a2) => annotations[a2.id]);
|
|
170692
170748
|
const deleteAnnotation = props[`delete${annotationTypeUpper}`];
|
|
170693
170749
|
const annotationsToUse = React.useMemo(
|
|
170694
|
-
() => map$3(annotations, (
|
|
170750
|
+
() => map$3(annotations, (_annotation) => {
|
|
170751
|
+
const annotation = isProtein2 ? convertDnaCaretPositionOrRangeToAA(_annotation) : _annotation;
|
|
170695
170752
|
return __spreadProps(__spreadValues(__spreadValues({}, annotation), annotation.strand === void 0 && {
|
|
170696
170753
|
strand: annotation.forward ? 1 : -1
|
|
170697
170754
|
}), {
|
|
170698
170755
|
size: getRangeLength(annotation, sequenceLength)
|
|
170699
170756
|
});
|
|
170700
170757
|
}),
|
|
170701
|
-
[annotations, sequenceLength]
|
|
170758
|
+
[annotations, sequenceLength, isProtein2]
|
|
170702
170759
|
);
|
|
170703
170760
|
const keyedPartTags = (_a2 = getKeyedTagsAndTagOptions(allPartTags)) != null ? _a2 : {};
|
|
170704
170761
|
const additionalColumns = ((_c2 = (_b2 = PropertiesProps == null ? void 0 : PropertiesProps.propertiesList) == null ? void 0 : _b2.find(
|
|
@@ -170768,7 +170825,7 @@ ${seqDataToCopy}\r
|
|
|
170768
170825
|
}, "render")
|
|
170769
170826
|
}
|
|
170770
170827
|
],
|
|
170771
|
-
sizeSchema(
|
|
170828
|
+
sizeSchema(),
|
|
170772
170829
|
...withTags && allPartTags ? [
|
|
170773
170830
|
{
|
|
170774
170831
|
path: "tags",
|
|
@@ -171262,7 +171319,7 @@ ${seqDataToCopy}\r
|
|
|
171262
171319
|
displayName: "Size (aa)",
|
|
171263
171320
|
type: "number"
|
|
171264
171321
|
},
|
|
171265
|
-
sizeSchema(
|
|
171322
|
+
sizeSchema(),
|
|
171266
171323
|
{ path: "frame", type: "number" },
|
|
171267
171324
|
{ path: "strand", type: "number" }
|
|
171268
171325
|
]
|
|
@@ -183251,7 +183308,6 @@ ${seqDataToCopy}\r
|
|
|
183251
183308
|
exports2.RowViewUnconnected = RowView;
|
|
183252
183309
|
exports2.SimpleCircularOrLinearView = SimpleCircularOrLinearView;
|
|
183253
183310
|
exports2.StatusBar = StatusBar;
|
|
183254
|
-
exports2.StatusBarUnconnected = StatusBar;
|
|
183255
183311
|
exports2.ToolBar = ToolBar;
|
|
183256
183312
|
exports2.actions = actions;
|
|
183257
183313
|
exports2.addAlignment = addAlignment;
|