@infomaximum/widget-sdk 4.0.0-next1 → 4.0.0-next2
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/README.md +16 -0
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@infomaximum/widget-sdk - это библиотека, которая предоставляет набор интерфейсов и утилит для интеграции пользовательских виджетов с системой Proceset.
|
|
2
|
+
|
|
3
|
+
<a href="https://www.npmjs.com/package/@infomaximum/widget-sdk">
|
|
4
|
+
<img alt="npm" src="https://img.shields.io/npm/v/@infomaximum/widget-sdk?style=for-the-badge">
|
|
5
|
+
</a>
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
### Соответствие версий
|
|
10
|
+
|
|
11
|
+
| Версия `widget-sdk` | Версия системы |
|
|
12
|
+
| ------------------- | -------------- |
|
|
13
|
+
| 3.x.x | 2401 - 2407 |
|
|
14
|
+
| 4.x.x | 2408 - latest |
|
|
15
|
+
|
|
16
|
+
---
|
package/dist/index.d.ts
CHANGED
|
@@ -1435,7 +1435,8 @@ interface IDefinition<WidgetSettings extends IBaseWidgetSettings, GroupSettings
|
|
|
1435
1435
|
type TContextMenu = (TContextMenuList | TContextMenuButtonGroup) & {
|
|
1436
1436
|
event?: MouseEvent;
|
|
1437
1437
|
placement?: "topRight" | "topLeft" | "bottomRight" | "bottomLeft";
|
|
1438
|
-
positionOrigin?: "frame" | "workArea";
|
|
1438
|
+
positionOrigin?: "frame" | "workArea" | HTMLElement;
|
|
1439
|
+
boundingContainer?: HTMLElement;
|
|
1439
1440
|
position?: {
|
|
1440
1441
|
unitX?: TContextMenuPositionUnit;
|
|
1441
1442
|
unitY?: TContextMenuPositionUnit;
|