doway-coms 1.4.5 → 1.4.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "1.4.5",
3
+ "version": "1.4.7",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -343,6 +343,7 @@ import {
343
343
  InputGroup,
344
344
  Input,
345
345
  InputNumber,
346
+ Popconfirm,
346
347
  } from 'ant-design-vue'
347
348
  import { controlType } from "../../utils/enum";
348
349
  import moment from "moment";
@@ -360,6 +361,7 @@ export default {
360
361
  Input,
361
362
  InputGroup: Input.Group,
362
363
  InputNumber,
364
+ Popconfirm,
363
365
  },
364
366
  computed: {
365
367
  ...mapGetters(["controlSize"]),
@@ -46,8 +46,8 @@ function getDomNode () {
46
46
  return {
47
47
  scrollTop: documentElement.scrollTop || bodyElem.scrollTop,
48
48
  scrollLeft: documentElement.scrollLeft || bodyElem.scrollLeft,
49
- visibleHeight: documentElement.clientHeight || bodyElem.clientHeight,
50
- visibleWidth: documentElement.clientWidth || bodyElem.clientWidth
49
+ visibleHeight: documentElement.clientHeight + 80 || bodyElem.clientHeight + 80,
50
+ visibleWidth: documentElement.clientWidth + 80 || bodyElem.clientWidth + 80
51
51
  }
52
52
  }
53
53
 
@@ -115,9 +115,9 @@ export const DomTools = {
115
115
  getEventTargetNode (evnt, container, queryCls, queryMethod) {
116
116
  let targetElem
117
117
  let target =
118
- evnt.target.shadowRoot && evnt.composed
119
- ? evnt.composedPath()[0] || evnt.target
120
- : evnt.target
118
+ evnt.target.shadowRoot && evnt.composed
119
+ ? evnt.composedPath()[0] || evnt.target
120
+ : evnt.target
121
121
  while (target && target.nodeType && target !== document) {
122
122
  if (queryCls && hasClass(target, queryCls) && (!queryMethod || queryMethod(target))) {
123
123
  targetElem = target