evui 3.3.38 → 3.3.39
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/evui.common.js +3 -11
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +3 -11
- package/dist/evui.umd.js.map +1 -1
- package/dist/evui.umd.min.js +1 -1
- package/dist/evui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/grid/uses.js +2 -7
- package/src/components/treeGrid/uses.js +1 -1
package/dist/evui.common.js
CHANGED
|
@@ -7909,7 +7909,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
7909
7909
|
/***/ "9224":
|
|
7910
7910
|
/***/ (function(module) {
|
|
7911
7911
|
|
|
7912
|
-
module.exports = JSON.parse("{\"a\":\"3.3.
|
|
7912
|
+
module.exports = JSON.parse("{\"a\":\"3.3.39\"}");
|
|
7913
7913
|
|
|
7914
7914
|
/***/ }),
|
|
7915
7915
|
|
|
@@ -29961,15 +29961,7 @@ var uses_contextMenuEvent = function contextMenuEvent(params) {
|
|
|
29961
29961
|
|
|
29962
29962
|
var onContextMenu = function onContextMenu(event) {
|
|
29963
29963
|
var target = event.target;
|
|
29964
|
-
var
|
|
29965
|
-
var rowIndex;
|
|
29966
|
-
|
|
29967
|
-
if (tagName === 'td') {
|
|
29968
|
-
rowIndex = target.parentElement.dataset.index;
|
|
29969
|
-
} else {
|
|
29970
|
-
rowIndex = target.parentElement.parentElement.dataset.index;
|
|
29971
|
-
}
|
|
29972
|
-
|
|
29964
|
+
var rowIndex = target.closest('.row').dataset.index;
|
|
29973
29965
|
var clickedRow;
|
|
29974
29966
|
|
|
29975
29967
|
if (rowIndex) {
|
|
@@ -46588,7 +46580,7 @@ var treeGrid_uses_contextMenuEvent = function contextMenuEvent(params) {
|
|
|
46588
46580
|
|
|
46589
46581
|
var onContextMenu = function onContextMenu(event) {
|
|
46590
46582
|
var target = event.target;
|
|
46591
|
-
var rowIndex = target.
|
|
46583
|
+
var rowIndex = target.closest('.row').dataset.index;
|
|
46592
46584
|
|
|
46593
46585
|
if (rowIndex) {
|
|
46594
46586
|
var index = stores.viewStore.findIndex(function (v) {
|