@jiaozhiye/qm-design-react 1.9.22 → 1.9.23

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.
@@ -56,7 +56,6 @@ declare class Signature {
56
56
  lineHeight: number;
57
57
  degreeOfBlur: number;
58
58
  textInputPos: Pick<Point, 'x' | 'y'>;
59
- isMobile: boolean;
60
59
  onStart: IOptions[`onStart`];
61
60
  onEnd: IOptions[`onEnd`];
62
61
  private _drawingStroke;
@@ -71,10 +70,11 @@ declare class Signature {
71
70
  update(): void;
72
71
  setCanvasSize: () => void;
73
72
  setTextInput: () => void;
73
+ isTouchEvent: (ev: MouseEvent | TouchEvent) => boolean;
74
74
  addListener: () => void;
75
75
  removeListener: () => void;
76
- _isLeftButtonPressed: (ev: MouseEvent | TouchEvent, only?: boolean) => boolean;
77
- _pointerEventToSignatureEvent: (ev: MouseEvent | TouchEvent) => SignatureEvent;
76
+ _isLeftButtonPressed: (ev: any, only?: boolean) => boolean;
77
+ _pointerEventToSignatureEvent: (ev: any) => SignatureEvent;
78
78
  _getPointGroupOptions: (group?: PointGroup) => PointGroupOptions;
79
79
  _strokeBegin: (ev: SignatureEvent) => void;
80
80
  _strokeUpdate: (ev: SignatureEvent, shouldUpdate?: boolean) => void;
@@ -130,7 +130,7 @@ declare class Signature {
130
130
  drawEraser: (ev: any) => void;
131
131
  drawLine: (ev: any) => void;
132
132
  createTextInput: (ev: any) => void;
133
- setInputStyle: (ev: any) => void;
133
+ setInputStyle: () => void;
134
134
  drawBgColor: () => void;
135
135
  clearWorkSpace: () => void;
136
136
  addHistory: () => void;
@@ -29805,6 +29805,11 @@ table {
29805
29805
  z-index: 2;
29806
29806
  pointer-events: none;
29807
29807
  }
29808
+ .qm-table--area-select .context-menu {
29809
+ position: absolute;
29810
+ z-index: 3;
29811
+ background-color: #fff;
29812
+ }
29808
29813
  /*
29809
29814
  * @Author: 焦质晔
29810
29815
  * @Date: 2020-03-26 11:45:02