primereact 10.0.3 → 10.0.4
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/calendar/calendar.cjs.js +8 -6
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +8 -6
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +8 -6
- package/calendar/calendar.min.js +1 -1
- package/core/core.js +224 -4
- package/core/core.min.js +2 -2
- package/fieldset/fieldset.cjs.js +2 -2
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +2 -2
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +3 -3
- package/fieldset/fieldset.min.js +1 -1
- package/hooks/hooks.d.ts +1 -1
- package/icons/arrowdown/index.cjs.js +7 -0
- package/icons/arrowdown/index.esm.js +7 -0
- package/icons/arrowdown/index.js +7 -0
- package/icons/arrowup/index.cjs.js +7 -0
- package/icons/arrowup/index.esm.js +7 -0
- package/icons/arrowup/index.js +7 -0
- package/icons/ban/index.cjs.js +7 -0
- package/icons/ban/index.esm.js +7 -0
- package/icons/ban/index.js +7 -0
- package/icons/download/index.cjs.js +7 -0
- package/icons/download/index.esm.js +7 -0
- package/icons/download/index.js +7 -0
- package/icons/exclamationtriangle/index.cjs.js +7 -0
- package/icons/exclamationtriangle/index.esm.js +7 -0
- package/icons/exclamationtriangle/index.js +7 -0
- package/icons/eyeslash/index.cjs.js +7 -0
- package/icons/eyeslash/index.esm.js +7 -0
- package/icons/eyeslash/index.js +7 -0
- package/icons/filter/index.cjs.js +7 -0
- package/icons/filter/index.esm.js +7 -0
- package/icons/filter/index.js +7 -0
- package/icons/filterslash/index.cjs.js +7 -0
- package/icons/filterslash/index.esm.js +7 -0
- package/icons/filterslash/index.js +7 -0
- package/icons/infocircle/index.cjs.js +7 -0
- package/icons/infocircle/index.esm.js +7 -0
- package/icons/infocircle/index.js +7 -0
- package/icons/pencil/index.cjs.js +7 -0
- package/icons/pencil/index.esm.js +7 -0
- package/icons/pencil/index.js +7 -0
- package/icons/plus/index.cjs.js +7 -0
- package/icons/plus/index.esm.js +7 -0
- package/icons/plus/index.js +7 -0
- package/icons/refresh/index.cjs.js +7 -0
- package/icons/refresh/index.esm.js +7 -0
- package/icons/refresh/index.js +7 -0
- package/icons/search/index.cjs.js +7 -0
- package/icons/search/index.esm.js +7 -0
- package/icons/search/index.js +7 -0
- package/icons/searchminus/index.cjs.js +7 -0
- package/icons/searchminus/index.esm.js +7 -0
- package/icons/searchminus/index.js +7 -0
- package/icons/searchplus/index.cjs.js +7 -0
- package/icons/searchplus/index.esm.js +7 -0
- package/icons/searchplus/index.js +7 -0
- package/icons/sortalt/index.cjs.js +7 -0
- package/icons/sortalt/index.esm.js +7 -0
- package/icons/sortalt/index.js +7 -0
- package/icons/sortamountdown/index.cjs.js +7 -0
- package/icons/sortamountdown/index.esm.js +7 -0
- package/icons/sortamountdown/index.js +7 -0
- package/icons/sortamountupalt/index.cjs.js +7 -0
- package/icons/sortamountupalt/index.esm.js +7 -0
- package/icons/sortamountupalt/index.js +7 -0
- package/icons/spinner/index.cjs.js +7 -0
- package/icons/spinner/index.esm.js +7 -0
- package/icons/spinner/index.js +7 -0
- package/icons/star/index.cjs.js +7 -0
- package/icons/star/index.esm.js +7 -0
- package/icons/star/index.js +7 -0
- package/icons/starfill/index.cjs.js +7 -0
- package/icons/starfill/index.esm.js +7 -0
- package/icons/starfill/index.js +7 -0
- package/icons/thlarge/index.cjs.js +7 -0
- package/icons/thlarge/index.esm.js +7 -0
- package/icons/thlarge/index.js +7 -0
- package/icons/timescircle/index.cjs.js +7 -0
- package/icons/timescircle/index.esm.js +7 -0
- package/icons/timescircle/index.js +7 -0
- package/icons/trash/index.cjs.js +7 -0
- package/icons/trash/index.esm.js +7 -0
- package/icons/trash/index.js +7 -0
- package/icons/undo/index.cjs.js +7 -0
- package/icons/undo/index.esm.js +7 -0
- package/icons/undo/index.js +7 -0
- package/icons/upload/index.cjs.js +7 -0
- package/icons/upload/index.esm.js +7 -0
- package/icons/upload/index.js +7 -0
- package/icons/windowmaximize/index.cjs.js +7 -0
- package/icons/windowmaximize/index.esm.js +7 -0
- package/icons/windowmaximize/index.js +7 -0
- package/icons/windowminimize/index.cjs.js +7 -0
- package/icons/windowminimize/index.esm.js +7 -0
- package/icons/windowminimize/index.js +7 -0
- package/image/image.cjs.js +7 -0
- package/image/image.esm.js +7 -0
- package/image/image.js +7 -0
- package/message/message.cjs.js +1 -1
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +1 -1
- package/message/message.esm.min.js +1 -1
- package/message/message.js +1 -1
- package/message/message.min.js +1 -1
- package/messages/messages.cjs.js +4 -2
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.esm.js +5 -3
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +4 -2
- package/messages/messages.min.js +1 -1
- package/multiselect/multiselect.cjs.js +1 -1
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +1 -1
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +1 -1
- package/multiselect/multiselect.min.js +1 -1
- package/package.json +1 -1
- package/panel/panel.cjs.js +2 -2
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +2 -2
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +3 -3
- package/panel/panel.min.js +1 -1
- package/passthrough/tailwind/index.cjs.js +436 -373
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +436 -373
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +436 -373
- package/passthrough/tailwind/index.min.js +1 -1
- package/primereact.all.cjs.js +57 -22
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +57 -22
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +57 -22
- package/primereact.all.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +7 -0
- package/resources/themes/arya-green/theme.css +7 -0
- package/resources/themes/arya-orange/theme.css +7 -0
- package/resources/themes/arya-purple/theme.css +7 -0
- package/resources/themes/bootstrap4-dark-blue/theme.css +7 -0
- package/resources/themes/bootstrap4-dark-purple/theme.css +7 -0
- package/resources/themes/bootstrap4-light-blue/theme.css +7 -0
- package/resources/themes/bootstrap4-light-purple/theme.css +7 -0
- package/resources/themes/fluent-light/theme.css +7 -0
- package/resources/themes/lara-dark-blue/theme.css +7 -0
- package/resources/themes/lara-dark-indigo/theme.css +7 -0
- package/resources/themes/lara-dark-purple/theme.css +7 -0
- package/resources/themes/lara-dark-teal/theme.css +7 -0
- package/resources/themes/lara-light-blue/theme.css +7 -0
- package/resources/themes/lara-light-indigo/theme.css +7 -0
- package/resources/themes/lara-light-purple/theme.css +7 -0
- package/resources/themes/lara-light-teal/theme.css +7 -0
- package/resources/themes/luna-amber/theme.css +7 -0
- package/resources/themes/luna-blue/theme.css +7 -0
- package/resources/themes/luna-green/theme.css +7 -0
- package/resources/themes/luna-pink/theme.css +7 -0
- package/resources/themes/md-dark-deeppurple/theme.css +7 -0
- package/resources/themes/md-dark-indigo/theme.css +7 -0
- package/resources/themes/md-light-deeppurple/theme.css +7 -0
- package/resources/themes/md-light-indigo/theme.css +7 -0
- package/resources/themes/mdc-dark-deeppurple/theme.css +7 -0
- package/resources/themes/mdc-dark-indigo/theme.css +7 -0
- package/resources/themes/mdc-light-deeppurple/theme.css +7 -0
- package/resources/themes/mdc-light-indigo/theme.css +7 -0
- package/resources/themes/mira/theme.css +7 -0
- package/resources/themes/nano/theme.css +7 -0
- package/resources/themes/nova/theme.css +7 -0
- package/resources/themes/nova-accent/theme.css +7 -0
- package/resources/themes/nova-alt/theme.css +7 -0
- package/resources/themes/rhea/theme.css +7 -0
- package/resources/themes/saga-blue/theme.css +7 -0
- package/resources/themes/saga-green/theme.css +7 -0
- package/resources/themes/saga-orange/theme.css +7 -0
- package/resources/themes/saga-purple/theme.css +7 -0
- package/resources/themes/soho-dark/theme.css +7 -0
- package/resources/themes/soho-light/theme.css +7 -0
- package/resources/themes/vela-blue/theme.css +7 -0
- package/resources/themes/vela-green/theme.css +7 -0
- package/resources/themes/vela-orange/theme.css +7 -0
- package/resources/themes/vela-purple/theme.css +7 -0
- package/resources/themes/viva-dark/theme.css +7 -0
- package/resources/themes/viva-light/theme.css +7 -0
- package/selectbutton/selectbutton.cjs.js +1 -1
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +1 -1
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +1 -1
- package/selectbutton/selectbutton.min.js +1 -1
- package/slider/slider.cjs.js +3 -3
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +3 -3
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +3 -3
- package/slider/slider.min.js +1 -1
- package/toast/toast.cjs.js +7 -5
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +7 -5
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +8 -6
- package/toast/toast.min.js +1 -1
- package/tree/tree.cjs.js +24 -2
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +24 -2
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +24 -2
- package/tree/tree.min.js +1 -1
- package/treeselect/treeselect.d.ts +54 -4
- package/utils/utils.cjs.js +7 -0
- package/utils/utils.esm.js +7 -0
- package/utils/utils.js +7 -0
- package/web-types.json +2 -2
package/primereact.all.esm.js
CHANGED
|
@@ -1424,6 +1424,13 @@ var ObjectUtils = /*#__PURE__*/function () {
|
|
|
1424
1424
|
value: function equals(obj1, obj2, field) {
|
|
1425
1425
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
1426
1426
|
}
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
1430
|
+
* @param {*} a the first JSON object
|
|
1431
|
+
* @param {*} b the second JSON object
|
|
1432
|
+
* @returns true if equals, false it not
|
|
1433
|
+
*/
|
|
1427
1434
|
}, {
|
|
1428
1435
|
key: "deepEquals",
|
|
1429
1436
|
value: function deepEquals(a, b) {
|
|
@@ -11112,6 +11119,14 @@ var Calendar = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (
|
|
|
11112
11119
|
alignOverlay();
|
|
11113
11120
|
};
|
|
11114
11121
|
var onOverlayEntered = function onOverlayEntered() {
|
|
11122
|
+
if (!props.touchUI && overlayRef && overlayRef.current && inputRef && inputRef.current && !appendDisabled()) {
|
|
11123
|
+
if (props.view === 'date') {
|
|
11124
|
+
overlayRef.current.style.width = DomHandler.getOuterWidth(overlayRef.current) + 'px';
|
|
11125
|
+
overlayRef.current.style.minWidth = DomHandler.getOuterWidth(inputRef.current) + 'px';
|
|
11126
|
+
} else {
|
|
11127
|
+
overlayRef.current.style.width = DomHandler.getOuterWidth(inputRef.current) + 'px';
|
|
11128
|
+
}
|
|
11129
|
+
}
|
|
11115
11130
|
bindOverlayListener();
|
|
11116
11131
|
props.onShow && props.onShow();
|
|
11117
11132
|
DomHandler.focusFirstElement(overlayRef.current);
|
|
@@ -11135,12 +11150,6 @@ var Calendar = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (
|
|
|
11135
11150
|
if (appendDisabled()) {
|
|
11136
11151
|
DomHandler.relativePosition(overlayRef.current, inputRef.current);
|
|
11137
11152
|
} else {
|
|
11138
|
-
if (props.view === 'date') {
|
|
11139
|
-
overlayRef.current.style.width = DomHandler.getOuterWidth(overlayRef.current) + 'px';
|
|
11140
|
-
overlayRef.current.style.minWidth = DomHandler.getOuterWidth(inputRef.current) + 'px';
|
|
11141
|
-
} else {
|
|
11142
|
-
overlayRef.current.style.width = DomHandler.getOuterWidth(inputRef.current) + 'px';
|
|
11143
|
-
}
|
|
11144
11153
|
DomHandler.absolutePosition(overlayRef.current, inputRef.current);
|
|
11145
11154
|
}
|
|
11146
11155
|
}
|
|
@@ -28914,7 +28923,7 @@ var Fieldset = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
28914
28923
|
id: idState,
|
|
28915
28924
|
ref: elementRef,
|
|
28916
28925
|
style: props.style,
|
|
28917
|
-
className: cx('root'),
|
|
28926
|
+
className: classNames(props.className, cx('root')),
|
|
28918
28927
|
onClick: props.onClick
|
|
28919
28928
|
}, FieldsetBase.getOtherProps(props), ptm('root'));
|
|
28920
28929
|
var legend = createLegend();
|
|
@@ -29165,12 +29174,14 @@ var Messages = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (
|
|
|
29165
29174
|
});
|
|
29166
29175
|
};
|
|
29167
29176
|
var remove = function remove(messageInfo) {
|
|
29177
|
+
// allow removal by ID or by message equality
|
|
29178
|
+
var removeMessage = messageInfo._pId ? messageInfo.message : messageInfo;
|
|
29168
29179
|
setMessagesState(function (prev) {
|
|
29169
29180
|
return prev.filter(function (msg) {
|
|
29170
|
-
return msg._pId !== messageInfo._pId;
|
|
29181
|
+
return msg._pId !== messageInfo._pId && !ObjectUtils.deepEquals(msg.message, removeMessage);
|
|
29171
29182
|
});
|
|
29172
29183
|
});
|
|
29173
|
-
props.onRemove && props.onRemove(
|
|
29184
|
+
props.onRemove && props.onRemove(removeMessage);
|
|
29174
29185
|
};
|
|
29175
29186
|
var onClose = function onClose(messageInfo) {
|
|
29176
29187
|
remove(messageInfo);
|
|
@@ -35415,7 +35426,7 @@ var MessageBase = ComponentBase.extend({
|
|
|
35415
35426
|
icon: 'p-inline-message-icon',
|
|
35416
35427
|
text: 'p-inline-message-text'
|
|
35417
35428
|
},
|
|
35418
|
-
styles: "\n @layer primereact {\n .p-inline-message {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: top;\n }\n \n .p-inline-message-icon-only .p-inline-message-text {\n visibility: hidden;\n width: 0;\n }\n \n .p-fluid .p-inline-message {\n display: flex;\n } \n }\n "
|
|
35429
|
+
styles: "\n @layer primereact {\n .p-inline-message {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: top;\n }\n\n .p-inline-message-icon {\n flex-shrink: 0;\n }\n \n .p-inline-message-icon-only .p-inline-message-text {\n visibility: hidden;\n width: 0;\n }\n \n .p-fluid .p-inline-message {\n display: flex;\n } \n }\n "
|
|
35419
35430
|
}
|
|
35420
35431
|
});
|
|
35421
35432
|
|
|
@@ -36608,7 +36619,7 @@ var MultiSelect = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
|
|
|
36608
36619
|
} else {
|
|
36609
36620
|
if (ObjectUtils.isArray(props.value)) {
|
|
36610
36621
|
return props.value.reduce(function (acc, value, index) {
|
|
36611
|
-
return acc + (index !== 0 ? ',' : '') + getLabelByValue(value);
|
|
36622
|
+
return acc + (index !== 0 ? ', ' : '') + getLabelByValue(value);
|
|
36612
36623
|
}, '');
|
|
36613
36624
|
} else {
|
|
36614
36625
|
return '';
|
|
@@ -38609,7 +38620,7 @@ var Panel = /*#__PURE__*/React.forwardRef(function (inProps, ref) {
|
|
|
38609
38620
|
id: idState,
|
|
38610
38621
|
ref: elementRef,
|
|
38611
38622
|
style: props.style,
|
|
38612
|
-
className: cx('root')
|
|
38623
|
+
className: classNames(props.className, cx('root'))
|
|
38613
38624
|
}, PanelBase.getOtherProps(props), ptm('root'));
|
|
38614
38625
|
var header = createHeader();
|
|
38615
38626
|
var content = createContent();
|
|
@@ -41530,7 +41541,7 @@ var SelectButton = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functi
|
|
|
41530
41541
|
return;
|
|
41531
41542
|
}
|
|
41532
41543
|
var selected = isSelected(event.option);
|
|
41533
|
-
if (selected && !(props.unselectable
|
|
41544
|
+
if (selected && !(props.unselectable && props.allowEmpty)) {
|
|
41534
41545
|
return;
|
|
41535
41546
|
}
|
|
41536
41547
|
var optionValue = getOptionValue(event.option);
|
|
@@ -42750,8 +42761,8 @@ var Slider = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (in
|
|
|
42750
42761
|
bottomValue = ObjectUtils.isEmpty(bottomValue) ? null : bottomValue;
|
|
42751
42762
|
var style = {
|
|
42752
42763
|
transition: dragging.current ? 'none' : null,
|
|
42753
|
-
left: leftValue && leftValue + '%',
|
|
42754
|
-
bottom: bottomValue && bottomValue + '%'
|
|
42764
|
+
left: leftValue != null && leftValue + '%',
|
|
42765
|
+
bottom: bottomValue != null && bottomValue + '%'
|
|
42755
42766
|
};
|
|
42756
42767
|
var handleProps = mergeProps(_objectSpread$o({
|
|
42757
42768
|
className: cx('handle', {
|
|
@@ -42776,7 +42787,7 @@ var Slider = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (in
|
|
|
42776
42787
|
},
|
|
42777
42788
|
'aria-valuemin': props.min,
|
|
42778
42789
|
'aria-valuemax': props.max,
|
|
42779
|
-
'aria-valuenow': leftValue || bottomValue,
|
|
42790
|
+
'aria-valuenow': leftValue || bottomValue || 0,
|
|
42780
42791
|
'aria-orientation': props.orientation
|
|
42781
42792
|
}, ariaProps), ptm('handle'));
|
|
42782
42793
|
return /*#__PURE__*/React.createElement("span", handleProps);
|
|
@@ -46413,12 +46424,14 @@ var Toast = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inP
|
|
|
46413
46424
|
});
|
|
46414
46425
|
};
|
|
46415
46426
|
var remove = function remove(messageInfo) {
|
|
46416
|
-
|
|
46417
|
-
|
|
46418
|
-
|
|
46427
|
+
// allow removal by ID or by message equality
|
|
46428
|
+
var removeMessage = messageInfo._pId ? messageInfo.message : messageInfo;
|
|
46429
|
+
setMessagesState(function (prev) {
|
|
46430
|
+
return prev.filter(function (msg) {
|
|
46431
|
+
return msg._pId !== messageInfo._pId && !ObjectUtils.deepEquals(msg.message, removeMessage);
|
|
46419
46432
|
});
|
|
46420
46433
|
});
|
|
46421
|
-
props.onRemove && props.onRemove(
|
|
46434
|
+
props.onRemove && props.onRemove(removeMessage);
|
|
46422
46435
|
};
|
|
46423
46436
|
var onClose = function onClose(messageInfo) {
|
|
46424
46437
|
remove(messageInfo);
|
|
@@ -47570,9 +47583,31 @@ var Tree = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inPr
|
|
|
47570
47583
|
var onDragEnd = function onDragEnd() {
|
|
47571
47584
|
dragState.current = null;
|
|
47572
47585
|
};
|
|
47586
|
+
|
|
47587
|
+
/**
|
|
47588
|
+
* Deep copy a value. If the value has a data property, it will be shallow copied.
|
|
47589
|
+
* Values that are not plain objects or arrays are returned as-is.
|
|
47590
|
+
*/
|
|
47591
|
+
var cloneValue = function cloneValue(value) {
|
|
47592
|
+
if (Array.isArray(value)) {
|
|
47593
|
+
return value.map(cloneValue);
|
|
47594
|
+
} else if (!!value && Object.getPrototypeOf(value) === Object.prototype) {
|
|
47595
|
+
var result = {};
|
|
47596
|
+
|
|
47597
|
+
// Leave data property alone and clone children
|
|
47598
|
+
for (var key in value) {
|
|
47599
|
+
if (key !== 'data') {
|
|
47600
|
+
result[key] = cloneValue(value[key]);
|
|
47601
|
+
} else {
|
|
47602
|
+
result[key] = value[key];
|
|
47603
|
+
}
|
|
47604
|
+
}
|
|
47605
|
+
return result;
|
|
47606
|
+
} else return value;
|
|
47607
|
+
};
|
|
47573
47608
|
var onDrop = function onDrop(event) {
|
|
47574
47609
|
if (validateDropNode(dragState.current.path, event.path)) {
|
|
47575
|
-
var value =
|
|
47610
|
+
var value = cloneValue(props.value);
|
|
47576
47611
|
var dragPaths = dragState.current.path.split('-');
|
|
47577
47612
|
dragPaths.pop();
|
|
47578
47613
|
var dragNodeParent = findNode(value, dragPaths);
|
|
@@ -47593,7 +47628,7 @@ var Tree = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inPr
|
|
|
47593
47628
|
};
|
|
47594
47629
|
var onDropPoint = function onDropPoint(event) {
|
|
47595
47630
|
if (validateDropPoint(event)) {
|
|
47596
|
-
var value =
|
|
47631
|
+
var value = cloneValue(props.value);
|
|
47597
47632
|
var dragPaths = dragState.current.path.split('-');
|
|
47598
47633
|
dragPaths.pop();
|
|
47599
47634
|
var dropPaths = event.path.split('-');
|