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.umd.js
CHANGED
|
@@ -7918,7 +7918,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
7918
7918
|
/***/ "9224":
|
|
7919
7919
|
/***/ (function(module) {
|
|
7920
7920
|
|
|
7921
|
-
module.exports = JSON.parse("{\"a\":\"3.3.
|
|
7921
|
+
module.exports = JSON.parse("{\"a\":\"3.3.39\"}");
|
|
7922
7922
|
|
|
7923
7923
|
/***/ }),
|
|
7924
7924
|
|
|
@@ -29970,15 +29970,7 @@ var uses_contextMenuEvent = function contextMenuEvent(params) {
|
|
|
29970
29970
|
|
|
29971
29971
|
var onContextMenu = function onContextMenu(event) {
|
|
29972
29972
|
var target = event.target;
|
|
29973
|
-
var
|
|
29974
|
-
var rowIndex;
|
|
29975
|
-
|
|
29976
|
-
if (tagName === 'td') {
|
|
29977
|
-
rowIndex = target.parentElement.dataset.index;
|
|
29978
|
-
} else {
|
|
29979
|
-
rowIndex = target.parentElement.parentElement.dataset.index;
|
|
29980
|
-
}
|
|
29981
|
-
|
|
29973
|
+
var rowIndex = target.closest('.row').dataset.index;
|
|
29982
29974
|
var clickedRow;
|
|
29983
29975
|
|
|
29984
29976
|
if (rowIndex) {
|
|
@@ -46597,7 +46589,7 @@ var treeGrid_uses_contextMenuEvent = function contextMenuEvent(params) {
|
|
|
46597
46589
|
|
|
46598
46590
|
var onContextMenu = function onContextMenu(event) {
|
|
46599
46591
|
var target = event.target;
|
|
46600
|
-
var rowIndex = target.
|
|
46592
|
+
var rowIndex = target.closest('.row').dataset.index;
|
|
46601
46593
|
|
|
46602
46594
|
if (rowIndex) {
|
|
46603
46595
|
var index = stores.viewStore.findIndex(function (v) {
|