@vitrosoftware/common-ui-ts 1.1.153 → 1.1.154
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/css/std/controls/table-view/treegrid-context-menu.css +9 -4
- package/dist/index.js +12 -13
- package/dist/index.js.map +1 -1
- package/dist/src/controls/TableView/TableViewContext.d.ts +1 -0
- package/dist/src/controls/TableView/TreeGridTableViewContextImpl.d.ts +1 -0
- package/package.json +1 -1
- package/src/controls/BimViewer/js/bim-viewer.js +2 -2
- package/src/controls/DxfViewer/js/dxf-viewer.js +14 -14
- package/src/controls/PdfViewer/js/pdf-viewer.js +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
.vitro-table-view-context-menu-leftMain,
|
|
3
3
|
.vitro-table-view-popup-menu-topMain,
|
|
4
4
|
.vitro-table-view-popup-menuMain {
|
|
5
|
-
width: 241px
|
|
5
|
+
min-width: 241px;
|
|
6
6
|
border: none;
|
|
7
7
|
border-radius: 4px;
|
|
8
8
|
box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.15), 0px 0px 4px 0px rgba(0, 0, 0, 0.12);
|
|
@@ -72,7 +72,6 @@ vitro-table-view-popup-menu-topMain.TWMenuMainRight::before,
|
|
|
72
72
|
margin: 0;
|
|
73
73
|
border-radius: 4px !important;
|
|
74
74
|
border: none !important;
|
|
75
|
-
width: 241px !important;
|
|
76
75
|
}
|
|
77
76
|
|
|
78
77
|
.vitro-table-view-context-menuMain .TWMenuBody,
|
|
@@ -87,6 +86,13 @@ vitro-table-view-popup-menu-topMain.TWMenuMainRight::before,
|
|
|
87
86
|
overflow-x: hidden !important;
|
|
88
87
|
}
|
|
89
88
|
|
|
89
|
+
.vitro-table-view-context-menuMain .TWMenuBody > div,
|
|
90
|
+
.vitro-table-view-context-menu-leftMain .TWMenuBody > div,
|
|
91
|
+
.vitro-table-view-popup-menu-topMain .TWMenuBody > div,
|
|
92
|
+
.vitro-table-view-popup-menuMain .TWMenuBody > div {
|
|
93
|
+
width: unset !important;
|
|
94
|
+
}
|
|
95
|
+
|
|
90
96
|
.vitro-table-view-context-menuMain .TWMenuBody::-webkit-scrollbar,
|
|
91
97
|
.vitro-table-view-context-menu-leftMain .TWMenuBody::-webkit-scrollbar,
|
|
92
98
|
.vitro-table-view-popup-menu-topMain .TWMenuBody::-webkit-scrollbar,
|
|
@@ -155,7 +161,7 @@ vitro-table-view-popup-menu-topMain.TWMenuMainRight::before,
|
|
|
155
161
|
.vitro-table-view-popup-menu-topMain .TWMenuItem,
|
|
156
162
|
.vitro-table-view-context-menu-leftMain .TWMenuItem {
|
|
157
163
|
margin: 0 !important;
|
|
158
|
-
padding: 8px 0 !important;
|
|
164
|
+
padding: 8px 8px 8px 0 !important;
|
|
159
165
|
}
|
|
160
166
|
|
|
161
167
|
.vitro-table-view-context-menuMain .TWMenuItemText,
|
|
@@ -164,7 +170,6 @@ vitro-table-view-popup-menu-topMain.TWMenuMainRight::before,
|
|
|
164
170
|
.vitro-table-view-context-menu-leftMain .TWMenuItemText {
|
|
165
171
|
line-height: 150%;
|
|
166
172
|
padding-left: 12px;
|
|
167
|
-
white-space: normal;
|
|
168
173
|
}
|
|
169
174
|
|
|
170
175
|
.vitro-table-view-context-menuMain div.TWMenuItemText,
|
package/dist/index.js
CHANGED
|
@@ -20762,15 +20762,6 @@ var TreeView = function TreeView(props) {
|
|
|
20762
20762
|
jquery(document).off(exports.EVENT.CONTEXTMENU, CTRL.DOT + CSS_CLASS_JSTREE_NODE, function (e) {
|
|
20763
20763
|
return checkNode(e, jsTreeView);
|
|
20764
20764
|
});
|
|
20765
|
-
};
|
|
20766
|
-
}, []);
|
|
20767
|
-
React.useEffect(function () {
|
|
20768
|
-
if (props.onDrop) {
|
|
20769
|
-
jquery(document).on(EVENT.DROP, function (e) {
|
|
20770
|
-
onDrop(e);
|
|
20771
|
-
});
|
|
20772
|
-
}
|
|
20773
|
-
return function () {
|
|
20774
20765
|
if (jsTreeTreeView && jsTreeRef.current) {
|
|
20775
20766
|
jsTreeTreeView.dispose();
|
|
20776
20767
|
}
|
|
@@ -20783,6 +20774,11 @@ var TreeView = function TreeView(props) {
|
|
|
20783
20774
|
process: props.onSelect
|
|
20784
20775
|
});
|
|
20785
20776
|
}
|
|
20777
|
+
if (props.onDrop && jsTreeTreeView) {
|
|
20778
|
+
jquery(document).on(EVENT.DROP, function (e) {
|
|
20779
|
+
onDrop(e);
|
|
20780
|
+
});
|
|
20781
|
+
}
|
|
20786
20782
|
}, [jsTreeTreeView]);
|
|
20787
20783
|
var init = function init() {
|
|
20788
20784
|
config.core.data = props.getData;
|
|
@@ -20816,10 +20812,10 @@ var TreeView = function TreeView(props) {
|
|
|
20816
20812
|
var event = e.originalEvent;
|
|
20817
20813
|
var eventDetail = event.detail;
|
|
20818
20814
|
var target = eventDetail.target;
|
|
20819
|
-
if (target &&
|
|
20820
|
-
var node =
|
|
20815
|
+
if (target && jsTreeTreeView) {
|
|
20816
|
+
var node = jsTreeTreeView.getNode(target);
|
|
20821
20817
|
if (node && props.onDrop) {
|
|
20822
|
-
props.onDrop(
|
|
20818
|
+
props.onDrop(jsTreeTreeView, node, eventDetail, e);
|
|
20823
20819
|
}
|
|
20824
20820
|
}
|
|
20825
20821
|
};
|
|
@@ -21840,6 +21836,9 @@ var TreeGridTableViewContextImpl = /*#__PURE__*/function () {
|
|
|
21840
21836
|
_proto.doGrouping = function doGrouping(group) {
|
|
21841
21837
|
this.grid.DoGrouping(group);
|
|
21842
21838
|
};
|
|
21839
|
+
_proto.removeCol = function removeCol(col) {
|
|
21840
|
+
this.grid.RemoveCol(col);
|
|
21841
|
+
};
|
|
21843
21842
|
_createClass(TreeGridTableViewContextImpl, [{
|
|
21844
21843
|
key: "columnList",
|
|
21845
21844
|
get: function get() {
|
|
@@ -63248,7 +63247,7 @@ var Viewer = function Viewer(props) {
|
|
|
63248
63247
|
};
|
|
63249
63248
|
|
|
63250
63249
|
var name = "@vitrosoftware/common-ui-ts";
|
|
63251
|
-
var version$1 = "1.1.
|
|
63250
|
+
var version$1 = "1.1.154";
|
|
63252
63251
|
var description = "vitro software common ui ts";
|
|
63253
63252
|
var author = "";
|
|
63254
63253
|
var license = "MIT";
|