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.cjs.js
CHANGED
|
@@ -1451,6 +1451,13 @@ var ObjectUtils = /*#__PURE__*/function () {
|
|
|
1451
1451
|
value: function equals(obj1, obj2, field) {
|
|
1452
1452
|
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);
|
|
1453
1453
|
}
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
1457
|
+
* @param {*} a the first JSON object
|
|
1458
|
+
* @param {*} b the second JSON object
|
|
1459
|
+
* @returns true if equals, false it not
|
|
1460
|
+
*/
|
|
1454
1461
|
}, {
|
|
1455
1462
|
key: "deepEquals",
|
|
1456
1463
|
value: function deepEquals(a, b) {
|
|
@@ -11139,6 +11146,14 @@ var Calendar = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
|
|
|
11139
11146
|
alignOverlay();
|
|
11140
11147
|
};
|
|
11141
11148
|
var onOverlayEntered = function onOverlayEntered() {
|
|
11149
|
+
if (!props.touchUI && overlayRef && overlayRef.current && inputRef && inputRef.current && !appendDisabled()) {
|
|
11150
|
+
if (props.view === 'date') {
|
|
11151
|
+
overlayRef.current.style.width = DomHandler.getOuterWidth(overlayRef.current) + 'px';
|
|
11152
|
+
overlayRef.current.style.minWidth = DomHandler.getOuterWidth(inputRef.current) + 'px';
|
|
11153
|
+
} else {
|
|
11154
|
+
overlayRef.current.style.width = DomHandler.getOuterWidth(inputRef.current) + 'px';
|
|
11155
|
+
}
|
|
11156
|
+
}
|
|
11142
11157
|
bindOverlayListener();
|
|
11143
11158
|
props.onShow && props.onShow();
|
|
11144
11159
|
DomHandler.focusFirstElement(overlayRef.current);
|
|
@@ -11162,12 +11177,6 @@ var Calendar = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
|
|
|
11162
11177
|
if (appendDisabled()) {
|
|
11163
11178
|
DomHandler.relativePosition(overlayRef.current, inputRef.current);
|
|
11164
11179
|
} else {
|
|
11165
|
-
if (props.view === 'date') {
|
|
11166
|
-
overlayRef.current.style.width = DomHandler.getOuterWidth(overlayRef.current) + 'px';
|
|
11167
|
-
overlayRef.current.style.minWidth = DomHandler.getOuterWidth(inputRef.current) + 'px';
|
|
11168
|
-
} else {
|
|
11169
|
-
overlayRef.current.style.width = DomHandler.getOuterWidth(inputRef.current) + 'px';
|
|
11170
|
-
}
|
|
11171
11180
|
DomHandler.absolutePosition(overlayRef.current, inputRef.current);
|
|
11172
11181
|
}
|
|
11173
11182
|
}
|
|
@@ -28941,7 +28950,7 @@ var Fieldset = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref)
|
|
|
28941
28950
|
id: idState,
|
|
28942
28951
|
ref: elementRef,
|
|
28943
28952
|
style: props.style,
|
|
28944
|
-
className: cx('root'),
|
|
28953
|
+
className: classNames(props.className, cx('root')),
|
|
28945
28954
|
onClick: props.onClick
|
|
28946
28955
|
}, FieldsetBase.getOtherProps(props), ptm('root'));
|
|
28947
28956
|
var legend = createLegend();
|
|
@@ -29192,12 +29201,14 @@ var Messages = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
|
|
|
29192
29201
|
});
|
|
29193
29202
|
};
|
|
29194
29203
|
var remove = function remove(messageInfo) {
|
|
29204
|
+
// allow removal by ID or by message equality
|
|
29205
|
+
var removeMessage = messageInfo._pId ? messageInfo.message : messageInfo;
|
|
29195
29206
|
setMessagesState(function (prev) {
|
|
29196
29207
|
return prev.filter(function (msg) {
|
|
29197
|
-
return msg._pId !== messageInfo._pId;
|
|
29208
|
+
return msg._pId !== messageInfo._pId && !ObjectUtils.deepEquals(msg.message, removeMessage);
|
|
29198
29209
|
});
|
|
29199
29210
|
});
|
|
29200
|
-
props.onRemove && props.onRemove(
|
|
29211
|
+
props.onRemove && props.onRemove(removeMessage);
|
|
29201
29212
|
};
|
|
29202
29213
|
var onClose = function onClose(messageInfo) {
|
|
29203
29214
|
remove(messageInfo);
|
|
@@ -35442,7 +35453,7 @@ var MessageBase = ComponentBase.extend({
|
|
|
35442
35453
|
icon: 'p-inline-message-icon',
|
|
35443
35454
|
text: 'p-inline-message-text'
|
|
35444
35455
|
},
|
|
35445
|
-
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 "
|
|
35456
|
+
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 "
|
|
35446
35457
|
}
|
|
35447
35458
|
});
|
|
35448
35459
|
|
|
@@ -36635,7 +36646,7 @@ var MultiSelect = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namesp
|
|
|
36635
36646
|
} else {
|
|
36636
36647
|
if (ObjectUtils.isArray(props.value)) {
|
|
36637
36648
|
return props.value.reduce(function (acc, value, index) {
|
|
36638
|
-
return acc + (index !== 0 ? ',' : '') + getLabelByValue(value);
|
|
36649
|
+
return acc + (index !== 0 ? ', ' : '') + getLabelByValue(value);
|
|
36639
36650
|
}, '');
|
|
36640
36651
|
} else {
|
|
36641
36652
|
return '';
|
|
@@ -38636,7 +38647,7 @@ var Panel = /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
|
|
|
38636
38647
|
id: idState,
|
|
38637
38648
|
ref: elementRef,
|
|
38638
38649
|
style: props.style,
|
|
38639
|
-
className: cx('root')
|
|
38650
|
+
className: classNames(props.className, cx('root'))
|
|
38640
38651
|
}, PanelBase.getOtherProps(props), ptm('root'));
|
|
38641
38652
|
var header = createHeader();
|
|
38642
38653
|
var content = createContent();
|
|
@@ -41557,7 +41568,7 @@ var SelectButton = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__names
|
|
|
41557
41568
|
return;
|
|
41558
41569
|
}
|
|
41559
41570
|
var selected = isSelected(event.option);
|
|
41560
|
-
if (selected && !(props.unselectable
|
|
41571
|
+
if (selected && !(props.unselectable && props.allowEmpty)) {
|
|
41561
41572
|
return;
|
|
41562
41573
|
}
|
|
41563
41574
|
var optionValue = getOptionValue(event.option);
|
|
@@ -42777,8 +42788,8 @@ var Slider = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.f
|
|
|
42777
42788
|
bottomValue = ObjectUtils.isEmpty(bottomValue) ? null : bottomValue;
|
|
42778
42789
|
var style = {
|
|
42779
42790
|
transition: dragging.current ? 'none' : null,
|
|
42780
|
-
left: leftValue && leftValue + '%',
|
|
42781
|
-
bottom: bottomValue && bottomValue + '%'
|
|
42791
|
+
left: leftValue != null && leftValue + '%',
|
|
42792
|
+
bottom: bottomValue != null && bottomValue + '%'
|
|
42782
42793
|
};
|
|
42783
42794
|
var handleProps = mergeProps(_objectSpread$o({
|
|
42784
42795
|
className: cx('handle', {
|
|
@@ -42803,7 +42814,7 @@ var Slider = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.f
|
|
|
42803
42814
|
},
|
|
42804
42815
|
'aria-valuemin': props.min,
|
|
42805
42816
|
'aria-valuemax': props.max,
|
|
42806
|
-
'aria-valuenow': leftValue || bottomValue,
|
|
42817
|
+
'aria-valuenow': leftValue || bottomValue || 0,
|
|
42807
42818
|
'aria-orientation': props.orientation
|
|
42808
42819
|
}, ariaProps), ptm('handle'));
|
|
42809
42820
|
return /*#__PURE__*/React__namespace.createElement("span", handleProps);
|
|
@@ -46440,12 +46451,14 @@ var Toast = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.fo
|
|
|
46440
46451
|
});
|
|
46441
46452
|
};
|
|
46442
46453
|
var remove = function remove(messageInfo) {
|
|
46443
|
-
|
|
46444
|
-
|
|
46445
|
-
|
|
46454
|
+
// allow removal by ID or by message equality
|
|
46455
|
+
var removeMessage = messageInfo._pId ? messageInfo.message : messageInfo;
|
|
46456
|
+
setMessagesState(function (prev) {
|
|
46457
|
+
return prev.filter(function (msg) {
|
|
46458
|
+
return msg._pId !== messageInfo._pId && !ObjectUtils.deepEquals(msg.message, removeMessage);
|
|
46446
46459
|
});
|
|
46447
46460
|
});
|
|
46448
|
-
props.onRemove && props.onRemove(
|
|
46461
|
+
props.onRemove && props.onRemove(removeMessage);
|
|
46449
46462
|
};
|
|
46450
46463
|
var onClose = function onClose(messageInfo) {
|
|
46451
46464
|
remove(messageInfo);
|
|
@@ -47597,9 +47610,31 @@ var Tree = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.for
|
|
|
47597
47610
|
var onDragEnd = function onDragEnd() {
|
|
47598
47611
|
dragState.current = null;
|
|
47599
47612
|
};
|
|
47613
|
+
|
|
47614
|
+
/**
|
|
47615
|
+
* Deep copy a value. If the value has a data property, it will be shallow copied.
|
|
47616
|
+
* Values that are not plain objects or arrays are returned as-is.
|
|
47617
|
+
*/
|
|
47618
|
+
var cloneValue = function cloneValue(value) {
|
|
47619
|
+
if (Array.isArray(value)) {
|
|
47620
|
+
return value.map(cloneValue);
|
|
47621
|
+
} else if (!!value && Object.getPrototypeOf(value) === Object.prototype) {
|
|
47622
|
+
var result = {};
|
|
47623
|
+
|
|
47624
|
+
// Leave data property alone and clone children
|
|
47625
|
+
for (var key in value) {
|
|
47626
|
+
if (key !== 'data') {
|
|
47627
|
+
result[key] = cloneValue(value[key]);
|
|
47628
|
+
} else {
|
|
47629
|
+
result[key] = value[key];
|
|
47630
|
+
}
|
|
47631
|
+
}
|
|
47632
|
+
return result;
|
|
47633
|
+
} else return value;
|
|
47634
|
+
};
|
|
47600
47635
|
var onDrop = function onDrop(event) {
|
|
47601
47636
|
if (validateDropNode(dragState.current.path, event.path)) {
|
|
47602
|
-
var value =
|
|
47637
|
+
var value = cloneValue(props.value);
|
|
47603
47638
|
var dragPaths = dragState.current.path.split('-');
|
|
47604
47639
|
dragPaths.pop();
|
|
47605
47640
|
var dragNodeParent = findNode(value, dragPaths);
|
|
@@ -47620,7 +47655,7 @@ var Tree = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.for
|
|
|
47620
47655
|
};
|
|
47621
47656
|
var onDropPoint = function onDropPoint(event) {
|
|
47622
47657
|
if (validateDropPoint(event)) {
|
|
47623
|
-
var value =
|
|
47658
|
+
var value = cloneValue(props.value);
|
|
47624
47659
|
var dragPaths = dragState.current.path.split('-');
|
|
47625
47660
|
dragPaths.pop();
|
|
47626
47661
|
var dropPaths = event.path.split('-');
|