@oliasoft-open-source/react-ui-library 4.13.0-beta-10 → 4.13.0-beta-11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/global.css +82 -78
- package/dist/index.js +161 -139
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -199,21 +199,27 @@ function _objectWithoutPropertiesLoose$5(r2, e2) {
|
|
|
199
199
|
}
|
|
200
200
|
return t;
|
|
201
201
|
}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
202
|
+
var _extends$6 = { exports: {} };
|
|
203
|
+
var hasRequired_extends;
|
|
204
|
+
function require_extends() {
|
|
205
|
+
if (hasRequired_extends) return _extends$6.exports;
|
|
206
|
+
hasRequired_extends = 1;
|
|
207
|
+
(function(module) {
|
|
208
|
+
function _extends3() {
|
|
209
|
+
return module.exports = _extends3 = Object.assign ? Object.assign.bind() : function(n2) {
|
|
210
|
+
for (var e2 = 1; e2 < arguments.length; e2++) {
|
|
211
|
+
var t = arguments[e2];
|
|
212
|
+
for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n2[r2] = t[r2]);
|
|
213
|
+
}
|
|
214
|
+
return n2;
|
|
215
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _extends3.apply(null, arguments);
|
|
207
216
|
}
|
|
208
|
-
|
|
209
|
-
}
|
|
217
|
+
module.exports = _extends3, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
218
|
+
})(_extends$6);
|
|
219
|
+
return _extends$6.exports;
|
|
210
220
|
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
get default() {
|
|
214
|
-
return _extends$4;
|
|
215
|
-
}
|
|
216
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
221
|
+
var _extendsExports = require_extends();
|
|
222
|
+
const _extends$5 = /* @__PURE__ */ getDefaultExportFromCjs(_extendsExports);
|
|
217
223
|
function _setPrototypeOf$3(t, e2) {
|
|
218
224
|
return _setPrototypeOf$3 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e3) {
|
|
219
225
|
return t2.__proto__ = e3, t2;
|
|
@@ -792,7 +798,7 @@ var ReactSVG = /* @__PURE__ */ function(_React$Component) {
|
|
|
792
798
|
};
|
|
793
799
|
_proto.componentDidUpdate = function componentDidUpdate(prevProps) {
|
|
794
800
|
var _this3 = this;
|
|
795
|
-
if (shallowDiffers(_extends$
|
|
801
|
+
if (shallowDiffers(_extends$5({}, prevProps), this.props)) {
|
|
796
802
|
this.setState(function() {
|
|
797
803
|
return _this3.initialState;
|
|
798
804
|
}, function() {
|
|
@@ -820,7 +826,7 @@ var ReactSVG = /* @__PURE__ */ function(_React$Component) {
|
|
|
820
826
|
_this$props2.useRequestCache;
|
|
821
827
|
var wrapper2 = _this$props2.wrapper, rest = _objectWithoutPropertiesLoose$5(_this$props2, _excluded$b);
|
|
822
828
|
var Wrapper2 = wrapper2;
|
|
823
|
-
return /* @__PURE__ */ React$4.createElement(Wrapper2, _extends$
|
|
829
|
+
return /* @__PURE__ */ React$4.createElement(Wrapper2, _extends$5({}, rest, {
|
|
824
830
|
ref: this.refCallback
|
|
825
831
|
}, wrapper2 === "svg" ? {
|
|
826
832
|
xmlns: svgNamespace,
|
|
@@ -2235,8 +2241,8 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
2235
2241
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
2236
2242
|
return Constructor;
|
|
2237
2243
|
}
|
|
2238
|
-
function _extends$
|
|
2239
|
-
_extends$
|
|
2244
|
+
function _extends$4() {
|
|
2245
|
+
_extends$4 = Object.assign || function(target) {
|
|
2240
2246
|
for (var i = 1; i < arguments.length; i++) {
|
|
2241
2247
|
var source = arguments[i];
|
|
2242
2248
|
for (var key2 in source) {
|
|
@@ -2247,7 +2253,7 @@ function _extends$3() {
|
|
|
2247
2253
|
}
|
|
2248
2254
|
return target;
|
|
2249
2255
|
};
|
|
2250
|
-
return _extends$
|
|
2256
|
+
return _extends$4.apply(this, arguments);
|
|
2251
2257
|
}
|
|
2252
2258
|
function _inheritsLoose$2(subClass, superClass) {
|
|
2253
2259
|
subClass.prototype = Object.create(superClass.prototype);
|
|
@@ -2571,7 +2577,7 @@ function useTrackElements(_ref) {
|
|
|
2571
2577
|
var layerRef = useTrackRef(useCallback$1(function(layer2) {
|
|
2572
2578
|
var _get3 = get4(), previousLayer = _get3.layer;
|
|
2573
2579
|
set2(function(state) {
|
|
2574
|
-
return _extends$
|
|
2580
|
+
return _extends$4({}, state, {
|
|
2575
2581
|
layer: layer2
|
|
2576
2582
|
});
|
|
2577
2583
|
});
|
|
@@ -2594,7 +2600,7 @@ function useTrackElements(_ref) {
|
|
|
2594
2600
|
var scrollContainers = getScrollContainers(trigger2);
|
|
2595
2601
|
var _get4 = get4(), previousTrigger = _get4.trigger;
|
|
2596
2602
|
set2(function(state) {
|
|
2597
|
-
return _extends$
|
|
2603
|
+
return _extends$4({}, state, {
|
|
2598
2604
|
trigger: trigger2,
|
|
2599
2605
|
scrollContainers
|
|
2600
2606
|
});
|
|
@@ -2607,7 +2613,7 @@ function useTrackElements(_ref) {
|
|
|
2607
2613
|
return;
|
|
2608
2614
|
}
|
|
2609
2615
|
set2(function(state) {
|
|
2610
|
-
return _extends$
|
|
2616
|
+
return _extends$4({}, state, {
|
|
2611
2617
|
scrollContainers: getScrollContainers(triggerOptionParent)
|
|
2612
2618
|
});
|
|
2613
2619
|
});
|
|
@@ -2774,7 +2780,7 @@ var BoundSide = {
|
|
|
2774
2780
|
left: /* @__PURE__ */ createSide("left"),
|
|
2775
2781
|
right: /* @__PURE__ */ createSide("right")
|
|
2776
2782
|
};
|
|
2777
|
-
var Side = /* @__PURE__ */ _extends$
|
|
2783
|
+
var Side = /* @__PURE__ */ _extends$4({}, BoundSide, {
|
|
2778
2784
|
center: /* @__PURE__ */ createSide("center")
|
|
2779
2785
|
});
|
|
2780
2786
|
var SIDES = ["top", "left", "bottom", "right"];
|
|
@@ -2870,7 +2876,7 @@ var Bounds = /* @__PURE__ */ function() {
|
|
|
2870
2876
|
var _environment$getCompu = environment2.getComputedStyle(element), width2 = _environment$getCompu.width, height2 = _environment$getCompu.height, boxSizing = _environment$getCompu.boxSizing, borderLeft = _environment$getCompu.borderLeft, borderRight = _environment$getCompu.borderRight, borderTop = _environment$getCompu.borderTop, borderBottom = _environment$getCompu.borderBottom, paddingLeft = _environment$getCompu.paddingLeft, paddingRight = _environment$getCompu.paddingRight, paddingTop = _environment$getCompu.paddingTop, paddingBottom = _environment$getCompu.paddingBottom;
|
|
2871
2877
|
var boxWidth = boxSizing === "border-box" ? getPixelValue(width2) : sumOfPropertyValues(width2, borderLeft, borderRight, paddingLeft, paddingRight);
|
|
2872
2878
|
var boxHeight = boxSizing === "border-box" ? getPixelValue(height2) : sumOfPropertyValues(height2, borderTop, borderBottom, paddingTop, paddingBottom);
|
|
2873
|
-
bounds = new Bounds2(_extends$
|
|
2879
|
+
bounds = new Bounds2(_extends$4({}, bounds, {
|
|
2874
2880
|
width: boxWidth,
|
|
2875
2881
|
height: boxHeight
|
|
2876
2882
|
}));
|
|
@@ -2917,7 +2923,7 @@ var Bounds = /* @__PURE__ */ function() {
|
|
|
2917
2923
|
};
|
|
2918
2924
|
_proto.merge = function merge(partialBoundsOrMergeFn) {
|
|
2919
2925
|
var current = this.toObject();
|
|
2920
|
-
return new Bounds2(_extends$
|
|
2926
|
+
return new Bounds2(_extends$4({}, current, typeof partialBoundsOrMergeFn === "function" ? partialBoundsOrMergeFn(current) : partialBoundsOrMergeFn));
|
|
2921
2927
|
};
|
|
2922
2928
|
_proto.substract = function substract(bounds) {
|
|
2923
2929
|
var result = this.toObject();
|
|
@@ -2984,7 +2990,7 @@ var Placement = /* @__PURE__ */ function() {
|
|
|
2984
2990
|
typeof layerDimensions === "function" ? layerDimensions(this.primary.prop) : layerDimensions
|
|
2985
2991
|
);
|
|
2986
2992
|
this.subjectsBounds = subjectBounds.merge({
|
|
2987
|
-
layer: _extends$
|
|
2993
|
+
layer: _extends$4({}, subjectBounds.layer, dimensions)
|
|
2988
2994
|
});
|
|
2989
2995
|
};
|
|
2990
2996
|
_proto.getLayerBounds = function getLayerBounds(secondaryOffset) {
|
|
@@ -3159,7 +3165,7 @@ function getArrowStyle(subjectsBounds, placement, arrowOffset) {
|
|
|
3159
3165
|
var primarySide = placement.primary.prop;
|
|
3160
3166
|
var secondarySide = placement.primary.oppositeCssProp;
|
|
3161
3167
|
var secondaryValue = triggerIsBigger ? layer2[sizeProperty] / 2 + negativeOffset : trigger2[secondarySide] + trigger2[sizeProperty] / 2 - layer2[secondarySide];
|
|
3162
|
-
return _extends$
|
|
3168
|
+
return _extends$4({}, STYLE_BASE, (_extends22 = {}, _extends22[primarySide] = "100%", _extends22[secondarySide] = limit(secondaryValue, min, max), _extends22));
|
|
3163
3169
|
}
|
|
3164
3170
|
var Placements = /* @__PURE__ */ function() {
|
|
3165
3171
|
function Placements2(placements, config2, subjectsBounds) {
|
|
@@ -3288,11 +3294,11 @@ var Placements = /* @__PURE__ */ function() {
|
|
|
3288
3294
|
var arrow2 = getArrowStyle(this.subjectsBounds.merge({
|
|
3289
3295
|
layer: layerBounds
|
|
3290
3296
|
}), placement, this.config.arrowOffset);
|
|
3291
|
-
var layer2 = this.config.overflowContainer ? _extends$
|
|
3297
|
+
var layer2 = this.config.overflowContainer ? _extends$4({}, layerStyleBase, {
|
|
3292
3298
|
position: "fixed",
|
|
3293
3299
|
top: layerBounds.top,
|
|
3294
3300
|
left: layerBounds.left
|
|
3295
|
-
}) : _extends$
|
|
3301
|
+
}) : _extends$4({}, layerStyleBase, {
|
|
3296
3302
|
position: "absolute",
|
|
3297
3303
|
top: layerBounds.top - this.subjectsBounds.parent.top + scrollOffsets.top - borderOffsets.top,
|
|
3298
3304
|
left: layerBounds.left - this.subjectsBounds.parent.left + scrollOffsets.left - borderOffsets.left
|
|
@@ -3367,7 +3373,7 @@ var SubjectsBounds = /* @__PURE__ */ function() {
|
|
|
3367
3373
|
};
|
|
3368
3374
|
var _proto = SubjectsBounds2.prototype;
|
|
3369
3375
|
_proto.merge = function merge(subjectsBounds) {
|
|
3370
|
-
return new SubjectsBounds2(_extends$
|
|
3376
|
+
return new SubjectsBounds2(_extends$4({}, this, subjectsBounds), this.overflowContainer);
|
|
3371
3377
|
};
|
|
3372
3378
|
_proto.offsetsToScrollContainers = function offsetsToScrollContainers(subject, allContainers) {
|
|
3373
3379
|
if (allContainers === void 0) {
|
|
@@ -3602,10 +3608,10 @@ var Arrow = /* @__PURE__ */ forwardRef(function Arrow2(_ref2, ref2) {
|
|
|
3602
3608
|
var sizeA = size2;
|
|
3603
3609
|
var sizeB = getWidthBasedOnAngle(angle, size2) * 2;
|
|
3604
3610
|
var maxSize = Math.max(sizeA, sizeB);
|
|
3605
|
-
return createElement("svg", _extends$
|
|
3611
|
+
return createElement("svg", _extends$4({
|
|
3606
3612
|
ref: ref2
|
|
3607
3613
|
}, rest, {
|
|
3608
|
-
style: _extends$
|
|
3614
|
+
style: _extends$4({}, style2, {
|
|
3609
3615
|
transform: "translate" + (side.isHorizontal ? "Y" : "X") + "(-50%)"
|
|
3610
3616
|
}),
|
|
3611
3617
|
width: maxSize,
|
|
@@ -4181,34 +4187,34 @@ const styles$M = {
|
|
|
4181
4187
|
actionComponentContainer,
|
|
4182
4188
|
active: active$7
|
|
4183
4189
|
};
|
|
4184
|
-
const wrapper$4 = "
|
|
4185
|
-
const layer$1 = "
|
|
4186
|
-
const layerContainer$1 = "
|
|
4187
|
-
const nested = "
|
|
4188
|
-
const fileInput$1 = "
|
|
4189
|
-
const trigger$2 = "
|
|
4190
|
-
const middleAlignedInline = "
|
|
4191
|
-
const heading$5 = "
|
|
4192
|
-
const headingIcon = "
|
|
4193
|
-
const option$1 = "
|
|
4194
|
-
const active$6 = "
|
|
4195
|
-
const selected$1 = "
|
|
4196
|
-
const optionContent$1 = "
|
|
4197
|
-
const inline$4 = "
|
|
4198
|
-
const icon$4 = "
|
|
4199
|
-
const check$1 = "
|
|
4200
|
-
const text$3 = "
|
|
4201
|
-
const label$a = "
|
|
4202
|
-
const description = "
|
|
4203
|
-
const arrow$1 = "
|
|
4204
|
-
const divider$1 = "
|
|
4205
|
-
const deprecatedSemanticIcon = "
|
|
4206
|
-
const disabled$8 = "
|
|
4207
|
-
const buttonLabel = "
|
|
4208
|
-
const buttonCaret = "
|
|
4209
|
-
const component = "
|
|
4210
|
-
const right$7 = "
|
|
4211
|
-
const actions$1 = "
|
|
4190
|
+
const wrapper$4 = "_wrapper_1f7k2_1";
|
|
4191
|
+
const layer$1 = "_layer_1f7k2_5";
|
|
4192
|
+
const layerContainer$1 = "_layerContainer_1f7k2_8";
|
|
4193
|
+
const nested = "_nested_1f7k2_24";
|
|
4194
|
+
const fileInput$1 = "_fileInput_1f7k2_36";
|
|
4195
|
+
const trigger$2 = "_trigger_1f7k2_41";
|
|
4196
|
+
const middleAlignedInline = "_middleAlignedInline_1f7k2_50";
|
|
4197
|
+
const heading$5 = "_heading_1f7k2_56";
|
|
4198
|
+
const headingIcon = "_headingIcon_1f7k2_62";
|
|
4199
|
+
const option$1 = "_option_1f7k2_74";
|
|
4200
|
+
const active$6 = "_active_1f7k2_93";
|
|
4201
|
+
const selected$1 = "_selected_1f7k2_98";
|
|
4202
|
+
const optionContent$1 = "_optionContent_1f7k2_104";
|
|
4203
|
+
const inline$4 = "_inline_1f7k2_108";
|
|
4204
|
+
const icon$4 = "_icon_1f7k2_113";
|
|
4205
|
+
const check$1 = "_check_1f7k2_114";
|
|
4206
|
+
const text$3 = "_text_1f7k2_140";
|
|
4207
|
+
const label$a = "_label_1f7k2_145";
|
|
4208
|
+
const description = "_description_1f7k2_156";
|
|
4209
|
+
const arrow$1 = "_arrow_1f7k2_160";
|
|
4210
|
+
const divider$1 = "_divider_1f7k2_164";
|
|
4211
|
+
const deprecatedSemanticIcon = "_deprecatedSemanticIcon_1f7k2_168";
|
|
4212
|
+
const disabled$8 = "_disabled_1f7k2_172";
|
|
4213
|
+
const buttonLabel = "_buttonLabel_1f7k2_177";
|
|
4214
|
+
const buttonCaret = "_buttonCaret_1f7k2_183";
|
|
4215
|
+
const component = "_component_1f7k2_187";
|
|
4216
|
+
const right$7 = "_right_1f7k2_193";
|
|
4217
|
+
const actions$1 = "_actions_1f7k2_198";
|
|
4212
4218
|
const styles$L = {
|
|
4213
4219
|
wrapper: wrapper$4,
|
|
4214
4220
|
layer: layer$1,
|
|
@@ -4323,10 +4329,11 @@ const Option$2 = ({
|
|
|
4323
4329
|
}
|
|
4324
4330
|
),
|
|
4325
4331
|
/* @__PURE__ */ jsx("span", { className: styles$L.label, title: `${title2 || label2}`, children: label2 }),
|
|
4326
|
-
/* @__PURE__ */
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4332
|
+
/* @__PURE__ */ jsx("span", { className: styles$L.description, children: description2 })
|
|
4333
|
+
] }),
|
|
4334
|
+
/* @__PURE__ */ jsxs("div", { className: styles$L.right, children: [
|
|
4335
|
+
selected2 && /* @__PURE__ */ jsx("span", { className: styles$L.check, children: /* @__PURE__ */ jsx(Icon, { icon: IconType.CHECK }) }),
|
|
4336
|
+
!!(actions2 == null ? void 0 : actions2.length) && /* @__PURE__ */ jsx("div", { className: styles$L.actions, children: /* @__PURE__ */ jsx(Actions, { actions: actions2 }) })
|
|
4330
4337
|
] })
|
|
4331
4338
|
]
|
|
4332
4339
|
}
|
|
@@ -8250,8 +8257,8 @@ function _interopRequireWildcard$2(obj, nodeInterop) {
|
|
|
8250
8257
|
}
|
|
8251
8258
|
return newObj;
|
|
8252
8259
|
}
|
|
8253
|
-
function _extends$
|
|
8254
|
-
_extends$
|
|
8260
|
+
function _extends$3() {
|
|
8261
|
+
_extends$3 = Object.assign ? Object.assign.bind() : function(target) {
|
|
8255
8262
|
for (var i = 1; i < arguments.length; i++) {
|
|
8256
8263
|
var source = arguments[i];
|
|
8257
8264
|
for (var key2 in source) {
|
|
@@ -8262,7 +8269,7 @@ function _extends$2() {
|
|
|
8262
8269
|
}
|
|
8263
8270
|
return target;
|
|
8264
8271
|
};
|
|
8265
|
-
return _extends$
|
|
8272
|
+
return _extends$3.apply(this, arguments);
|
|
8266
8273
|
}
|
|
8267
8274
|
function _objectWithoutPropertiesLoose$3(source, excluded) {
|
|
8268
8275
|
if (source == null) return {};
|
|
@@ -8467,7 +8474,7 @@ var Resizable$1 = /* @__PURE__ */ function(_React$Component) {
|
|
|
8467
8474
|
children: [].concat(children.props.children, resizeHandles.map(function(handleAxis) {
|
|
8468
8475
|
var _this3$handleRefs$han;
|
|
8469
8476
|
var ref2 = (_this3$handleRefs$han = _this3.handleRefs[handleAxis]) != null ? _this3$handleRefs$han : _this3.handleRefs[handleAxis] = /* @__PURE__ */ React$2.createRef();
|
|
8470
|
-
return /* @__PURE__ */ React$2.createElement(_reactDraggable.DraggableCore, _extends$
|
|
8477
|
+
return /* @__PURE__ */ React$2.createElement(_reactDraggable.DraggableCore, _extends$3({}, draggableOpts, {
|
|
8471
8478
|
nodeRef: ref2,
|
|
8472
8479
|
key: "resizableHandle-" + handleAxis,
|
|
8473
8480
|
onStop: _this3.resizeHandler("onResizeStop", handleAxis),
|
|
@@ -8538,8 +8545,8 @@ function _interopRequireWildcard$1(obj, nodeInterop) {
|
|
|
8538
8545
|
}
|
|
8539
8546
|
return newObj;
|
|
8540
8547
|
}
|
|
8541
|
-
function _extends$
|
|
8542
|
-
_extends$
|
|
8548
|
+
function _extends$2() {
|
|
8549
|
+
_extends$2 = Object.assign ? Object.assign.bind() : function(target) {
|
|
8543
8550
|
for (var i = 1; i < arguments.length; i++) {
|
|
8544
8551
|
var source = arguments[i];
|
|
8545
8552
|
for (var key2 in source) {
|
|
@@ -8550,7 +8557,7 @@ function _extends$1() {
|
|
|
8550
8557
|
}
|
|
8551
8558
|
return target;
|
|
8552
8559
|
};
|
|
8553
|
-
return _extends$
|
|
8560
|
+
return _extends$2.apply(this, arguments);
|
|
8554
8561
|
}
|
|
8555
8562
|
function ownKeys$1(object2, enumerableOnly) {
|
|
8556
8563
|
var keys2 = Object.keys(object2);
|
|
@@ -8681,7 +8688,7 @@ var ResizableBox = /* @__PURE__ */ function(_React$Component) {
|
|
|
8681
8688
|
resizeHandles,
|
|
8682
8689
|
transformScale,
|
|
8683
8690
|
width: this.state.width
|
|
8684
|
-
}, /* @__PURE__ */ React$1.createElement("div", _extends$
|
|
8691
|
+
}, /* @__PURE__ */ React$1.createElement("div", _extends$2({}, props, {
|
|
8685
8692
|
style: _objectSpread$5(_objectSpread$5({}, style2), {}, {
|
|
8686
8693
|
width: this.state.width + "px",
|
|
8687
8694
|
height: this.state.height + "px"
|
|
@@ -9474,6 +9481,15 @@ const InputGroupAddon = ({
|
|
|
9474
9481
|
})();
|
|
9475
9482
|
return /* @__PURE__ */ jsx("span", { className: cx$2(styles$u.addon, order2, small2 ? styles$u.small : ""), children });
|
|
9476
9483
|
};
|
|
9484
|
+
function _extends$1() {
|
|
9485
|
+
return _extends$1 = Object.assign ? Object.assign.bind() : function(n2) {
|
|
9486
|
+
for (var e2 = 1; e2 < arguments.length; e2++) {
|
|
9487
|
+
var t = arguments[e2];
|
|
9488
|
+
for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n2[r2] = t[r2]);
|
|
9489
|
+
}
|
|
9490
|
+
return n2;
|
|
9491
|
+
}, _extends$1.apply(null, arguments);
|
|
9492
|
+
}
|
|
9477
9493
|
function _typeof$2(o) {
|
|
9478
9494
|
"@babel/helpers - typeof";
|
|
9479
9495
|
return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
@@ -10735,7 +10751,7 @@ function connectAdvanced(selectorFactory, _ref) {
|
|
|
10735
10751
|
}
|
|
10736
10752
|
var wrappedComponentName = WrappedComponent.displayName || WrappedComponent.name || "Component";
|
|
10737
10753
|
var displayName = getDisplayName(wrappedComponentName);
|
|
10738
|
-
var selectorFactoryOptions = _extends$
|
|
10754
|
+
var selectorFactoryOptions = _extends$1({}, connectOptions, {
|
|
10739
10755
|
getDisplayName,
|
|
10740
10756
|
methodName,
|
|
10741
10757
|
renderCountProp,
|
|
@@ -10780,7 +10796,7 @@ function connectAdvanced(selectorFactory, _ref) {
|
|
|
10780
10796
|
if (didStoreComeFromProps) {
|
|
10781
10797
|
return contextValue;
|
|
10782
10798
|
}
|
|
10783
|
-
return _extends$
|
|
10799
|
+
return _extends$1({}, contextValue, {
|
|
10784
10800
|
subscription
|
|
10785
10801
|
});
|
|
10786
10802
|
}, [didStoreComeFromProps, contextValue, subscription]);
|
|
@@ -10801,7 +10817,7 @@ function connectAdvanced(selectorFactory, _ref) {
|
|
|
10801
10817
|
useIsomorphicLayoutEffectWithArgs(captureWrapperProps, [lastWrapperProps, lastChildProps, renderIsScheduled, wrapperProps, actualChildProps, childPropsFromStoreUpdate, notifyNestedSubs]);
|
|
10802
10818
|
useIsomorphicLayoutEffectWithArgs(subscribeUpdates, [shouldHandleStateChanges, store, subscription, childPropsSelector, lastWrapperProps, lastChildProps, renderIsScheduled, childPropsFromStoreUpdate, notifyNestedSubs, forceComponentUpdateDispatch], [store, subscription, childPropsSelector]);
|
|
10803
10819
|
var renderedWrappedComponent = useMemo$1(function() {
|
|
10804
|
-
return /* @__PURE__ */ React__default.createElement(WrappedComponent, _extends$
|
|
10820
|
+
return /* @__PURE__ */ React__default.createElement(WrappedComponent, _extends$1({}, actualChildProps, {
|
|
10805
10821
|
ref: reactReduxForwardedRef
|
|
10806
10822
|
}));
|
|
10807
10823
|
}, [reactReduxForwardedRef, WrappedComponent, actualChildProps]);
|
|
@@ -10820,7 +10836,7 @@ function connectAdvanced(selectorFactory, _ref) {
|
|
|
10820
10836
|
Connect.displayName = ConnectFunction.displayName = displayName;
|
|
10821
10837
|
if (forwardRef2) {
|
|
10822
10838
|
var forwarded = React__default.forwardRef(function forwardConnectRef(props, ref2) {
|
|
10823
|
-
return /* @__PURE__ */ React__default.createElement(Connect, _extends$
|
|
10839
|
+
return /* @__PURE__ */ React__default.createElement(Connect, _extends$1({}, props, {
|
|
10824
10840
|
reactReduxForwardedRef: ref2
|
|
10825
10841
|
}));
|
|
10826
10842
|
});
|
|
@@ -10953,7 +10969,7 @@ function whenMapStateToPropsIsMissing(mapStateToProps) {
|
|
|
10953
10969
|
}
|
|
10954
10970
|
const defaultMapStateToPropsFactories = [whenMapStateToPropsIsFunction, whenMapStateToPropsIsMissing];
|
|
10955
10971
|
function defaultMergeProps(stateProps, dispatchProps, ownProps) {
|
|
10956
|
-
return _extends$
|
|
10972
|
+
return _extends$1({}, ownProps, stateProps, dispatchProps);
|
|
10957
10973
|
}
|
|
10958
10974
|
function wrapMergePropsFunc(mergeProps) {
|
|
10959
10975
|
return function initMergePropsProxy(dispatch, _ref) {
|
|
@@ -11086,7 +11102,7 @@ function createConnect(_temp) {
|
|
|
11086
11102
|
var initMapStateToProps = match(mapStateToProps, mapStateToPropsFactories, "mapStateToProps");
|
|
11087
11103
|
var initMapDispatchToProps = match(mapDispatchToProps2, mapDispatchToPropsFactories, "mapDispatchToProps");
|
|
11088
11104
|
var initMergeProps = match(mergeProps, mergePropsFactories, "mergeProps");
|
|
11089
|
-
return connectHOC(selectorFactory, _extends$
|
|
11105
|
+
return connectHOC(selectorFactory, _extends$1({
|
|
11090
11106
|
// used in error messages
|
|
11091
11107
|
methodName: "connect",
|
|
11092
11108
|
// used to compute Connect's displayName from the wrapped component's displayName.
|
|
@@ -11385,7 +11401,7 @@ var error$1 = log.bind(null, "error");
|
|
|
11385
11401
|
function noop$1() {
|
|
11386
11402
|
}
|
|
11387
11403
|
function getOptions(shared2, fromBinding) {
|
|
11388
|
-
return _extends$
|
|
11404
|
+
return _extends$1({}, shared2, {}, fromBinding);
|
|
11389
11405
|
}
|
|
11390
11406
|
function bindEvents(el2, bindings, sharedOptions) {
|
|
11391
11407
|
var unbindings = bindings.map(function(binding) {
|
|
@@ -11631,7 +11647,7 @@ var scroll$2 = function scroll(target, frame2) {
|
|
|
11631
11647
|
var increase = function increase2(target, axis, withPlaceholder) {
|
|
11632
11648
|
if (withPlaceholder && withPlaceholder.increasedBy) {
|
|
11633
11649
|
var _extends22;
|
|
11634
|
-
return _extends$
|
|
11650
|
+
return _extends$1({}, target, (_extends22 = {}, _extends22[axis.end] = target[axis.end] + withPlaceholder.increasedBy[axis.line], _extends22));
|
|
11635
11651
|
}
|
|
11636
11652
|
return target;
|
|
11637
11653
|
};
|
|
@@ -11657,7 +11673,7 @@ var scrollDroppable = function(droppable2, newScroll) {
|
|
|
11657
11673
|
var scrollable = droppable2.frame;
|
|
11658
11674
|
var scrollDiff = subtract$1(newScroll, scrollable.scroll.initial);
|
|
11659
11675
|
var scrollDisplacement = negate(scrollDiff);
|
|
11660
|
-
var frame2 = _extends$
|
|
11676
|
+
var frame2 = _extends$1({}, scrollable, {
|
|
11661
11677
|
scroll: {
|
|
11662
11678
|
initial: scrollable.scroll.initial,
|
|
11663
11679
|
current: newScroll,
|
|
@@ -11674,7 +11690,7 @@ var scrollDroppable = function(droppable2, newScroll) {
|
|
|
11674
11690
|
axis: droppable2.axis,
|
|
11675
11691
|
frame: frame2
|
|
11676
11692
|
});
|
|
11677
|
-
var result = _extends$
|
|
11693
|
+
var result = _extends$1({}, droppable2, {
|
|
11678
11694
|
frame: frame2,
|
|
11679
11695
|
subject
|
|
11680
11696
|
});
|
|
@@ -11778,7 +11794,7 @@ var moveToNextCombine = function(_ref) {
|
|
|
11778
11794
|
droppableId: destination.descriptor.id
|
|
11779
11795
|
}
|
|
11780
11796
|
};
|
|
11781
|
-
return _extends$
|
|
11797
|
+
return _extends$1({}, previousImpact, {
|
|
11782
11798
|
at: at2
|
|
11783
11799
|
});
|
|
11784
11800
|
}
|
|
@@ -11913,17 +11929,17 @@ var isVisible = function isVisible2(_ref) {
|
|
|
11913
11929
|
return isVisibleInDroppable(displacedTarget, destination, isVisibleThroughFrameFn) && isVisibleInViewport(displacedTarget, viewport, isVisibleThroughFrameFn);
|
|
11914
11930
|
};
|
|
11915
11931
|
var isPartiallyVisible = function isPartiallyVisible2(args) {
|
|
11916
|
-
return isVisible(_extends$
|
|
11932
|
+
return isVisible(_extends$1({}, args, {
|
|
11917
11933
|
isVisibleThroughFrameFn: isPartiallyVisibleThroughFrame
|
|
11918
11934
|
}));
|
|
11919
11935
|
};
|
|
11920
11936
|
var isTotallyVisible = function isTotallyVisible2(args) {
|
|
11921
|
-
return isVisible(_extends$
|
|
11937
|
+
return isVisible(_extends$1({}, args, {
|
|
11922
11938
|
isVisibleThroughFrameFn: isTotallyVisibleThroughFrame
|
|
11923
11939
|
}));
|
|
11924
11940
|
};
|
|
11925
11941
|
var isTotallyVisibleOnAxis = function isTotallyVisibleOnAxis2(args) {
|
|
11926
|
-
return isVisible(_extends$
|
|
11942
|
+
return isVisible(_extends$1({}, args, {
|
|
11927
11943
|
isVisibleThroughFrameFn: isTotallyVisibleThroughFrameOnAxis(args.destination.axis)
|
|
11928
11944
|
}));
|
|
11929
11945
|
};
|
|
@@ -12333,7 +12349,7 @@ var speculativelyIncrease = function(_ref) {
|
|
|
12333
12349
|
}
|
|
12334
12350
|
invisible[id2] = true;
|
|
12335
12351
|
});
|
|
12336
|
-
var newImpact = _extends$
|
|
12352
|
+
var newImpact = _extends$1({}, impact, {
|
|
12337
12353
|
displaced: {
|
|
12338
12354
|
all: last.all,
|
|
12339
12355
|
invisible,
|
|
@@ -12554,8 +12570,8 @@ var getRequiredGrowthForPlaceholder = function getRequiredGrowthForPlaceholder2(
|
|
|
12554
12570
|
return patch(axis.line, needsToGrowBy);
|
|
12555
12571
|
};
|
|
12556
12572
|
var withMaxScroll = function withMaxScroll2(frame2, max) {
|
|
12557
|
-
return _extends$
|
|
12558
|
-
scroll: _extends$
|
|
12573
|
+
return _extends$1({}, frame2, {
|
|
12574
|
+
scroll: _extends$1({}, frame2.scroll, {
|
|
12559
12575
|
max
|
|
12560
12576
|
})
|
|
12561
12577
|
});
|
|
@@ -12578,7 +12594,7 @@ var addPlaceholder = function addPlaceholder2(droppable2, draggable2, draggables
|
|
|
12578
12594
|
axis: droppable2.axis,
|
|
12579
12595
|
frame: droppable2.frame
|
|
12580
12596
|
});
|
|
12581
|
-
return _extends$
|
|
12597
|
+
return _extends$1({}, droppable2, {
|
|
12582
12598
|
subject: _subject
|
|
12583
12599
|
});
|
|
12584
12600
|
}
|
|
@@ -12590,7 +12606,7 @@ var addPlaceholder = function addPlaceholder2(droppable2, draggable2, draggables
|
|
|
12590
12606
|
axis: droppable2.axis,
|
|
12591
12607
|
frame: newFrame
|
|
12592
12608
|
});
|
|
12593
|
-
return _extends$
|
|
12609
|
+
return _extends$1({}, droppable2, {
|
|
12594
12610
|
subject,
|
|
12595
12611
|
frame: newFrame
|
|
12596
12612
|
});
|
|
@@ -12606,7 +12622,7 @@ var removePlaceholder = function removePlaceholder2(droppable2) {
|
|
|
12606
12622
|
frame: null,
|
|
12607
12623
|
withPlaceholder: null
|
|
12608
12624
|
});
|
|
12609
|
-
return _extends$
|
|
12625
|
+
return _extends$1({}, droppable2, {
|
|
12610
12626
|
subject: _subject2
|
|
12611
12627
|
});
|
|
12612
12628
|
}
|
|
@@ -12619,7 +12635,7 @@ var removePlaceholder = function removePlaceholder2(droppable2) {
|
|
|
12619
12635
|
frame: newFrame,
|
|
12620
12636
|
withPlaceholder: null
|
|
12621
12637
|
});
|
|
12622
|
-
return _extends$
|
|
12638
|
+
return _extends$1({}, droppable2, {
|
|
12623
12639
|
subject,
|
|
12624
12640
|
frame: newFrame
|
|
12625
12641
|
});
|
|
@@ -13004,7 +13020,7 @@ var getDragImpact = function(_ref) {
|
|
|
13004
13020
|
};
|
|
13005
13021
|
var patchDroppableMap = function(droppables, updated) {
|
|
13006
13022
|
var _extends22;
|
|
13007
|
-
return _extends$
|
|
13023
|
+
return _extends$1({}, droppables, (_extends22 = {}, _extends22[updated.descriptor.id] = updated, _extends22));
|
|
13008
13024
|
};
|
|
13009
13025
|
var clearUnusedPlaceholder = function clearUnusedPlaceholder2(_ref) {
|
|
13010
13026
|
var previousImpact = _ref.previousImpact, impact = _ref.impact, droppables = _ref.droppables;
|
|
@@ -13065,7 +13081,7 @@ var update = function(_ref) {
|
|
|
13065
13081
|
page: page2
|
|
13066
13082
|
};
|
|
13067
13083
|
if (state.phase === "COLLECTING") {
|
|
13068
|
-
return _extends$
|
|
13084
|
+
return _extends$1({
|
|
13069
13085
|
phase: "COLLECTING"
|
|
13070
13086
|
}, state, {
|
|
13071
13087
|
dimensions,
|
|
@@ -13090,7 +13106,7 @@ var update = function(_ref) {
|
|
|
13090
13106
|
draggables: dimensions.draggables,
|
|
13091
13107
|
droppables: dimensions.droppables
|
|
13092
13108
|
});
|
|
13093
|
-
var result = _extends$
|
|
13109
|
+
var result = _extends$1({}, state, {
|
|
13094
13110
|
current,
|
|
13095
13111
|
dimensions: {
|
|
13096
13112
|
draggables: dimensions.draggables,
|
|
@@ -13120,7 +13136,7 @@ var recompute = function(_ref) {
|
|
|
13120
13136
|
forceShouldAnimate,
|
|
13121
13137
|
last
|
|
13122
13138
|
});
|
|
13123
|
-
return _extends$
|
|
13139
|
+
return _extends$1({}, impact, {
|
|
13124
13140
|
displaced
|
|
13125
13141
|
});
|
|
13126
13142
|
};
|
|
@@ -13239,8 +13255,8 @@ var offsetDraggable = function(_ref) {
|
|
|
13239
13255
|
var draggable2 = _ref.draggable, offset$1 = _ref.offset, initialWindowScroll = _ref.initialWindowScroll;
|
|
13240
13256
|
var client = offset(draggable2.client, offset$1);
|
|
13241
13257
|
var page2 = withScroll(client, initialWindowScroll);
|
|
13242
|
-
var moved = _extends$
|
|
13243
|
-
placeholder: _extends$
|
|
13258
|
+
var moved = _extends$1({}, draggable2, {
|
|
13259
|
+
placeholder: _extends$1({}, draggable2.placeholder, {
|
|
13244
13260
|
client
|
|
13245
13261
|
}),
|
|
13246
13262
|
client,
|
|
@@ -13278,13 +13294,13 @@ var publishWhileDraggingInVirtual = function(_ref) {
|
|
|
13278
13294
|
var scrolled = scrollDroppable(existing, update2.scroll);
|
|
13279
13295
|
return scrolled;
|
|
13280
13296
|
});
|
|
13281
|
-
var droppables = _extends$
|
|
13297
|
+
var droppables = _extends$1({}, state.dimensions.droppables, {}, toDroppableMap(withScrollChange));
|
|
13282
13298
|
var updatedAdditions = toDraggableMap(adjustAdditionsForScrollChanges({
|
|
13283
13299
|
additions: published.additions,
|
|
13284
13300
|
updatedDroppables: droppables,
|
|
13285
13301
|
viewport: state.viewport
|
|
13286
13302
|
}));
|
|
13287
|
-
var draggables = _extends$
|
|
13303
|
+
var draggables = _extends$1({}, state.dimensions.draggables, {}, updatedAdditions);
|
|
13288
13304
|
published.removals.forEach(function(id2) {
|
|
13289
13305
|
delete draggables[id2];
|
|
13290
13306
|
});
|
|
@@ -13313,7 +13329,7 @@ var publishWhileDraggingInVirtual = function(_ref) {
|
|
|
13313
13329
|
afterCritical
|
|
13314
13330
|
});
|
|
13315
13331
|
finish();
|
|
13316
|
-
var draggingState = _extends$
|
|
13332
|
+
var draggingState = _extends$1({
|
|
13317
13333
|
phase: "DRAGGING"
|
|
13318
13334
|
}, state, {
|
|
13319
13335
|
phase: "DRAGGING",
|
|
@@ -13326,7 +13342,7 @@ var publishWhileDraggingInVirtual = function(_ref) {
|
|
|
13326
13342
|
if (state.phase === "COLLECTING") {
|
|
13327
13343
|
return draggingState;
|
|
13328
13344
|
}
|
|
13329
|
-
var dropPending3 = _extends$
|
|
13345
|
+
var dropPending3 = _extends$1({
|
|
13330
13346
|
phase: "DROP_PENDING"
|
|
13331
13347
|
}, draggingState, {
|
|
13332
13348
|
phase: "DROP_PENDING",
|
|
@@ -13353,7 +13369,7 @@ var postDroppableChange = function postDroppableChange2(state, updated, isEnable
|
|
|
13353
13369
|
};
|
|
13354
13370
|
function removeScrollJumpRequest(state) {
|
|
13355
13371
|
if (state.isDragging && state.movementMode === "SNAP") {
|
|
13356
|
-
return _extends$
|
|
13372
|
+
return _extends$1({
|
|
13357
13373
|
phase: "DRAGGING"
|
|
13358
13374
|
}, state, {
|
|
13359
13375
|
scrollJumpRequest: null
|
|
@@ -13371,7 +13387,7 @@ var reducer$2 = function(state, action2) {
|
|
|
13371
13387
|
state = idle;
|
|
13372
13388
|
}
|
|
13373
13389
|
if (action2.type === "FLUSH") {
|
|
13374
|
-
return _extends$
|
|
13390
|
+
return _extends$1({}, idle, {
|
|
13375
13391
|
shouldFlush: true
|
|
13376
13392
|
});
|
|
13377
13393
|
}
|
|
@@ -13425,7 +13441,7 @@ var reducer$2 = function(state, action2) {
|
|
|
13425
13441
|
return state;
|
|
13426
13442
|
}
|
|
13427
13443
|
!(state.phase === "DRAGGING") ? process.env.NODE_ENV !== "production" ? invariant$3(false, "Collection cannot start from phase " + state.phase) : invariant$3() : void 0;
|
|
13428
|
-
var _result = _extends$
|
|
13444
|
+
var _result = _extends$1({
|
|
13429
13445
|
phase: "COLLECTING"
|
|
13430
13446
|
}, state, {
|
|
13431
13447
|
phase: "COLLECTING"
|
|
@@ -13479,7 +13495,7 @@ var reducer$2 = function(state, action2) {
|
|
|
13479
13495
|
var _target = state.dimensions.droppables[_id];
|
|
13480
13496
|
!_target ? process.env.NODE_ENV !== "production" ? invariant$3(false, "Cannot find Droppable[id: " + _id + "] to toggle its enabled state") : invariant$3() : void 0;
|
|
13481
13497
|
!(_target.isEnabled !== isEnabled) ? process.env.NODE_ENV !== "production" ? invariant$3(false, "Trying to set droppable isEnabled to " + String(isEnabled) + "\n but it is already " + String(_target.isEnabled)) : invariant$3() : void 0;
|
|
13482
|
-
var updated = _extends$
|
|
13498
|
+
var updated = _extends$1({}, _target, {
|
|
13483
13499
|
isEnabled
|
|
13484
13500
|
});
|
|
13485
13501
|
return postDroppableChange(state, updated, true);
|
|
@@ -13493,7 +13509,7 @@ var reducer$2 = function(state, action2) {
|
|
|
13493
13509
|
var _target2 = state.dimensions.droppables[_id2];
|
|
13494
13510
|
!_target2 ? process.env.NODE_ENV !== "production" ? invariant$3(false, "Cannot find Droppable[id: " + _id2 + "] to toggle its isCombineEnabled state") : invariant$3() : void 0;
|
|
13495
13511
|
!(_target2.isCombineEnabled !== isCombineEnabled) ? process.env.NODE_ENV !== "production" ? invariant$3(false, "Trying to set droppable isCombineEnabled to " + String(isCombineEnabled) + "\n but it is already " + String(_target2.isCombineEnabled)) : invariant$3() : void 0;
|
|
13496
|
-
var _updated2 = _extends$
|
|
13512
|
+
var _updated2 = _extends$1({}, _target2, {
|
|
13497
13513
|
isCombineEnabled
|
|
13498
13514
|
});
|
|
13499
13515
|
return postDroppableChange(state, _updated2, true);
|
|
@@ -13528,12 +13544,12 @@ var reducer$2 = function(state, action2) {
|
|
|
13528
13544
|
if (isEqual$2(maxScroll, state.viewport.scroll.max)) {
|
|
13529
13545
|
return state;
|
|
13530
13546
|
}
|
|
13531
|
-
var withMaxScroll3 = _extends$
|
|
13532
|
-
scroll: _extends$
|
|
13547
|
+
var withMaxScroll3 = _extends$1({}, state.viewport, {
|
|
13548
|
+
scroll: _extends$1({}, state.viewport.scroll, {
|
|
13533
13549
|
max: maxScroll
|
|
13534
13550
|
})
|
|
13535
13551
|
});
|
|
13536
|
-
return _extends$
|
|
13552
|
+
return _extends$1({
|
|
13537
13553
|
phase: "DRAGGING"
|
|
13538
13554
|
}, state, {
|
|
13539
13555
|
viewport: withMaxScroll3
|
|
@@ -13561,7 +13577,7 @@ var reducer$2 = function(state, action2) {
|
|
|
13561
13577
|
if (action2.type === "DROP_PENDING") {
|
|
13562
13578
|
var reason = action2.payload.reason;
|
|
13563
13579
|
!(state.phase === "COLLECTING") ? process.env.NODE_ENV !== "production" ? invariant$3(false, "Can only move into the DROP_PENDING phase from the COLLECTING phase") : invariant$3() : void 0;
|
|
13564
|
-
var newState = _extends$
|
|
13580
|
+
var newState = _extends$1({
|
|
13565
13581
|
phase: "DROP_PENDING"
|
|
13566
13582
|
}, state, {
|
|
13567
13583
|
phase: "DROP_PENDING",
|
|
@@ -13909,7 +13925,7 @@ var getDropImpact = function(_ref) {
|
|
|
13909
13925
|
didDropInsideDroppable: true
|
|
13910
13926
|
};
|
|
13911
13927
|
}
|
|
13912
|
-
var withoutMovement = _extends$
|
|
13928
|
+
var withoutMovement = _extends$1({}, lastImpact, {
|
|
13913
13929
|
displaced: emptyGroups
|
|
13914
13930
|
});
|
|
13915
13931
|
return {
|
|
@@ -14246,7 +14262,7 @@ var getPublisher = function(getResponders, announce) {
|
|
|
14246
14262
|
if (!hasCriticalChanged && !hasLocationChanged && !hasGroupingChanged) {
|
|
14247
14263
|
return;
|
|
14248
14264
|
}
|
|
14249
|
-
var data = _extends$
|
|
14265
|
+
var data = _extends$1({}, getDragStart(critical, dragging.mode), {
|
|
14250
14266
|
combine: combine2,
|
|
14251
14267
|
destination: location
|
|
14252
14268
|
});
|
|
@@ -14271,7 +14287,7 @@ var getPublisher = function(getResponders, announce) {
|
|
|
14271
14287
|
if (!dragging) {
|
|
14272
14288
|
return;
|
|
14273
14289
|
}
|
|
14274
|
-
var result = _extends$
|
|
14290
|
+
var result = _extends$1({}, getDragStart(dragging.lastCritical, dragging.mode), {
|
|
14275
14291
|
combine: null,
|
|
14276
14292
|
destination: null,
|
|
14277
14293
|
reason: "CANCEL"
|
|
@@ -15691,7 +15707,7 @@ function useAnnouncer(contextId) {
|
|
|
15691
15707
|
el2.id = id2;
|
|
15692
15708
|
el2.setAttribute("aria-live", "assertive");
|
|
15693
15709
|
el2.setAttribute("aria-atomic", "true");
|
|
15694
|
-
_extends$
|
|
15710
|
+
_extends$1(el2.style, visuallyHidden);
|
|
15695
15711
|
getBodyElement().appendChild(el2);
|
|
15696
15712
|
return function cleanup() {
|
|
15697
15713
|
setTimeout(function remove2() {
|
|
@@ -16738,7 +16754,7 @@ function tryStart(_ref3) {
|
|
|
16738
16754
|
reason
|
|
16739
16755
|
}));
|
|
16740
16756
|
}
|
|
16741
|
-
return _extends$
|
|
16757
|
+
return _extends$1({
|
|
16742
16758
|
isActive: function isActive() {
|
|
16743
16759
|
return _isActive({
|
|
16744
16760
|
expected: "DRAGGING",
|
|
@@ -16777,7 +16793,7 @@ function tryStart(_ref3) {
|
|
|
16777
16793
|
move: move$1
|
|
16778
16794
|
}
|
|
16779
16795
|
});
|
|
16780
|
-
return _extends$
|
|
16796
|
+
return _extends$1({}, api, {
|
|
16781
16797
|
move: move$1
|
|
16782
16798
|
});
|
|
16783
16799
|
}
|
|
@@ -16952,7 +16968,7 @@ function App(props) {
|
|
|
16952
16968
|
return createDimensionMarshal(registry, marshalCallbacks);
|
|
16953
16969
|
}, [registry, marshalCallbacks]);
|
|
16954
16970
|
var autoScroller = useMemo(function() {
|
|
16955
|
-
return createAutoScroller(_extends$
|
|
16971
|
+
return createAutoScroller(_extends$1({
|
|
16956
16972
|
scrollWindow,
|
|
16957
16973
|
scrollDroppable: dimensionMarshal.scrollDroppable
|
|
16958
16974
|
}, bindActionCreators$1({
|
|
@@ -18086,7 +18102,7 @@ function PublicDraggable(props) {
|
|
|
18086
18102
|
var isEnabled = typeof props.isDragDisabled === "boolean" ? !props.isDragDisabled : true;
|
|
18087
18103
|
var canDragInteractiveElements = Boolean(props.disableInteractiveElementBlocking);
|
|
18088
18104
|
var shouldRespectForcePress = Boolean(props.shouldRespectForcePress);
|
|
18089
|
-
return React__default.createElement(PrivateDraggable, _extends$
|
|
18105
|
+
return React__default.createElement(PrivateDraggable, _extends$1({}, props, {
|
|
18090
18106
|
isClone: false,
|
|
18091
18107
|
isEnabled,
|
|
18092
18108
|
canDragInteractiveElements,
|
|
@@ -18205,7 +18221,7 @@ var makeMapStateToProps$1 = function makeMapStateToProps3() {
|
|
|
18205
18221
|
},
|
|
18206
18222
|
useClone: null
|
|
18207
18223
|
};
|
|
18208
|
-
var idleWithoutAnimation = _extends$
|
|
18224
|
+
var idleWithoutAnimation = _extends$1({}, idleWithAnimation, {
|
|
18209
18225
|
shouldAnimatePlaceholder: false
|
|
18210
18226
|
});
|
|
18211
18227
|
var getDraggableRubric = memoizeOne(function(descriptor) {
|
|
@@ -20284,7 +20300,7 @@ function createListComponent(_ref) {
|
|
|
20284
20300
|
className,
|
|
20285
20301
|
onScroll,
|
|
20286
20302
|
ref: this._outerRefSetter,
|
|
20287
|
-
style: _extends$
|
|
20303
|
+
style: _extends$1({
|
|
20288
20304
|
position: "relative",
|
|
20289
20305
|
height: height2,
|
|
20290
20306
|
width: width2,
|
|
@@ -20460,20 +20476,20 @@ var FixedSizeList = /* @__PURE__ */ createListComponent({
|
|
|
20460
20476
|
}
|
|
20461
20477
|
}
|
|
20462
20478
|
});
|
|
20463
|
-
const layerContainer = "
|
|
20464
|
-
const layer = "
|
|
20465
|
-
const small$5 = "
|
|
20466
|
-
const heading = "
|
|
20467
|
-
const option = "
|
|
20468
|
-
const message = "
|
|
20469
|
-
const focused = "
|
|
20470
|
-
const selected = "
|
|
20471
|
-
const disabled$4 = "
|
|
20472
|
-
const check = "
|
|
20473
|
-
const optionContent = "
|
|
20474
|
-
const label$5 = "
|
|
20475
|
-
const icon$2 = "
|
|
20476
|
-
const details = "
|
|
20479
|
+
const layerContainer = "_layerContainer_dw2pp_1";
|
|
20480
|
+
const layer = "_layer_dw2pp_1";
|
|
20481
|
+
const small$5 = "_small_dw2pp_23";
|
|
20482
|
+
const heading = "_heading_dw2pp_26";
|
|
20483
|
+
const option = "_option_dw2pp_27";
|
|
20484
|
+
const message = "_message_dw2pp_28";
|
|
20485
|
+
const focused = "_focused_dw2pp_64";
|
|
20486
|
+
const selected = "_selected_dw2pp_68";
|
|
20487
|
+
const disabled$4 = "_disabled_dw2pp_71";
|
|
20488
|
+
const check = "_check_dw2pp_75";
|
|
20489
|
+
const optionContent = "_optionContent_dw2pp_92";
|
|
20490
|
+
const label$5 = "_label_dw2pp_97";
|
|
20491
|
+
const icon$2 = "_icon_dw2pp_104";
|
|
20492
|
+
const details = "_details_dw2pp_109";
|
|
20477
20493
|
const styles$n = {
|
|
20478
20494
|
layerContainer,
|
|
20479
20495
|
layer,
|
|
@@ -52346,7 +52362,6 @@ var interopRequireDefault = { exports: {} };
|
|
|
52346
52362
|
module.exports = _interopRequireDefault2, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
52347
52363
|
})(interopRequireDefault);
|
|
52348
52364
|
var interopRequireDefaultExports = interopRequireDefault.exports;
|
|
52349
|
-
const require$$2 = /* @__PURE__ */ getAugmentedNamespace(_extends$5);
|
|
52350
52365
|
const richTextToolbar = "_richTextToolbar_1gbkk_1";
|
|
52351
52366
|
const richTextToolbarContainer = "_richTextToolbarContainer_1gbkk_5";
|
|
52352
52367
|
const styles$g = {
|
|
@@ -53618,7 +53633,7 @@ var Handle$2 = /* @__PURE__ */ React$4.forwardRef(function(props, ref2) {
|
|
|
53618
53633
|
}
|
|
53619
53634
|
};
|
|
53620
53635
|
var positionStyle = getDirectionStyle(direction, value, min, max);
|
|
53621
|
-
var handleNode = /* @__PURE__ */ React$4.createElement("div", _extends$
|
|
53636
|
+
var handleNode = /* @__PURE__ */ React$4.createElement("div", _extends$1({
|
|
53622
53637
|
ref: ref2,
|
|
53623
53638
|
className: cx$2(handlePrefixCls, (_classNames = {}, _defineProperty$7(_classNames, "".concat(handlePrefixCls, "-").concat(valueIndex + 1), range2), _defineProperty$7(_classNames, "".concat(handlePrefixCls, "-dragging"), dragging), _classNames)),
|
|
53624
53639
|
style: _objectSpread2$1(_objectSpread2$1({}, positionStyle), style2),
|
|
@@ -53662,7 +53677,7 @@ var Handles = /* @__PURE__ */ React$4.forwardRef(function(props, ref2) {
|
|
|
53662
53677
|
};
|
|
53663
53678
|
});
|
|
53664
53679
|
return /* @__PURE__ */ React$4.createElement(React$4.Fragment, null, values2.map(function(value, index2) {
|
|
53665
|
-
return /* @__PURE__ */ React$4.createElement(Handle$2, _extends$
|
|
53680
|
+
return /* @__PURE__ */ React$4.createElement(Handle$2, _extends$1({
|
|
53666
53681
|
ref: function ref3(node2) {
|
|
53667
53682
|
if (!node2) {
|
|
53668
53683
|
delete handlesRef.current[index2];
|
|
@@ -55032,7 +55047,7 @@ Object.defineProperty(Handle$1, "__esModule", {
|
|
|
55032
55047
|
value: true
|
|
55033
55048
|
});
|
|
55034
55049
|
var default_1 = Handle$1.default = void 0;
|
|
55035
|
-
var _extends2 = _interopRequireDefault(
|
|
55050
|
+
var _extends2 = _interopRequireDefault(require_extends());
|
|
55036
55051
|
var _objectSpread2 = _interopRequireDefault(requireObjectSpread2());
|
|
55037
55052
|
var _defineProperty2 = _interopRequireDefault(requireDefineProperty());
|
|
55038
55053
|
var _objectWithoutProperties2 = _interopRequireDefault(requireObjectWithoutProperties());
|
|
@@ -70191,6 +70206,7 @@ const convertUnit = ({
|
|
|
70191
70206
|
exactPrecision = false
|
|
70192
70207
|
}) => {
|
|
70193
70208
|
var _a2;
|
|
70209
|
+
console.log("convertUnit", inputValue);
|
|
70194
70210
|
const value = isValueWithUnit(inputValue) ? getValue$1(inputValue) : inputValue;
|
|
70195
70211
|
const isInfinity = [Infinity, -Infinity].includes(Number(value));
|
|
70196
70212
|
if (doNotConvertValue) {
|
|
@@ -70230,6 +70246,7 @@ const safeConvertValue = ({
|
|
|
70230
70246
|
defaultFromUnit,
|
|
70231
70247
|
doNotConvertValue
|
|
70232
70248
|
}) => {
|
|
70249
|
+
console.log("safeConvertValue", value);
|
|
70233
70250
|
const rawValue = getValue$1(value);
|
|
70234
70251
|
const isInvalidInput = isWrongValue(rawValue);
|
|
70235
70252
|
const availableUnits = ALT_UNITS[unitkey];
|
|
@@ -70303,6 +70320,7 @@ const PredefinedOptionsMenu = ({
|
|
|
70303
70320
|
}) => {
|
|
70304
70321
|
if (!value || !rootUnitKey) return value;
|
|
70305
70322
|
if (!isValueWithUnit(value)) return value;
|
|
70323
|
+
console.log("convertPredefinedOptions", value, optionUnitKey);
|
|
70306
70324
|
const selectedUnitKey = optionUnitKey || rootUnitKey;
|
|
70307
70325
|
const preferredOptionUnit = getPreferredUnit(selectedUnitKey, unitTemplate);
|
|
70308
70326
|
const { value: resultValue } = safeConvertValue({
|
|
@@ -70364,6 +70382,10 @@ const PredefinedOptionsMenu = ({
|
|
|
70364
70382
|
setFoundPredefinedMenuOption(void 0);
|
|
70365
70383
|
}
|
|
70366
70384
|
}, [extractedValue, predefinedOptions]);
|
|
70385
|
+
console.log(
|
|
70386
|
+
"createPredefinedOption",
|
|
70387
|
+
predefinedOptions.map(createPredefinedOption)
|
|
70388
|
+
);
|
|
70367
70389
|
const sectionsPredefinedMenu = [
|
|
70368
70390
|
{
|
|
70369
70391
|
type: MenuType.OPTION,
|