@datagrok-libraries/dock-spawn-dg 0.0.2 → 0.1.0
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/CHANGELOG.md +0 -354
- package/README.md +0 -3
- package/index.d.ts +33 -0
- package/index.d.ts.map +1 -0
- package/index.js +32 -0
- package/package.json +10 -17
- package/src/BrowserDialogHelper.d.ts.map +1 -0
- package/{lib → src}/BrowserDialogHelper.js +18 -12
- package/src/BrowserDialogHelper.ts +48 -47
- package/src/ContainerType.d.ts.map +1 -0
- package/src/ContainerType.ts +1 -1
- package/{lib → src}/Dialog.d.ts +7 -7
- package/src/Dialog.d.ts.map +1 -0
- package/{lib → src}/Dialog.js +46 -58
- package/src/Dialog.ts +253 -250
- package/src/DockConfig.d.ts.map +1 -0
- package/{lib → src}/DockConfig.js +0 -5
- package/src/DockConfig.ts +1 -1
- package/{lib → src}/DockGraphDeserializer.d.ts +6 -6
- package/src/DockGraphDeserializer.d.ts.map +1 -0
- package/src/DockGraphDeserializer.js +133 -0
- package/src/DockGraphDeserializer.ts +113 -108
- package/src/DockGraphSerializer.d.ts +14 -0
- package/src/DockGraphSerializer.d.ts.map +1 -0
- package/{lib → src}/DockGraphSerializer.js +11 -11
- package/src/DockGraphSerializer.ts +48 -47
- package/{lib → src}/DockLayoutEngine.d.ts +12 -12
- package/src/DockLayoutEngine.d.ts.map +1 -0
- package/{lib → src}/DockLayoutEngine.js +49 -53
- package/src/DockLayoutEngine.ts +351 -346
- package/{lib → src}/DockManager.d.ts +34 -34
- package/src/DockManager.d.ts.map +1 -0
- package/{lib → src}/DockManager.js +168 -151
- package/src/DockManager.ts +860 -834
- package/{lib → src}/DockManagerContext.d.ts +3 -3
- package/src/DockManagerContext.d.ts.map +1 -0
- package/{lib → src}/DockManagerContext.js +2 -5
- package/src/DockManagerContext.ts +5 -5
- package/{lib → src}/DockModel.d.ts +2 -2
- package/src/DockModel.d.ts.map +1 -0
- package/{lib → src}/DockModel.js +0 -3
- package/src/DockModel.ts +2 -2
- package/{lib → src}/DockNode.d.ts +1 -1
- package/src/DockNode.d.ts.map +1 -0
- package/{lib → src}/DockNode.js +0 -3
- package/src/DockNode.ts +2 -2
- package/{lib → src}/DockWheel.d.ts +5 -5
- package/src/DockWheel.d.ts.map +1 -0
- package/{lib → src}/DockWheel.js +3 -11
- package/src/DockWheel.ts +6 -6
- package/{lib → src}/DockWheelItem.d.ts +3 -3
- package/src/DockWheelItem.d.ts.map +1 -0
- package/{lib → src}/DockWheelItem.js +1 -8
- package/src/DockWheelItem.ts +4 -4
- package/{lib → src}/DocumentManagerContainer.d.ts +4 -4
- package/src/DocumentManagerContainer.d.ts.map +1 -0
- package/{lib → src}/DocumentManagerContainer.js +3 -3
- package/src/DocumentManagerContainer.ts +9 -9
- package/{lib → src}/DocumentTabPage.d.ts +3 -3
- package/src/DocumentTabPage.d.ts.map +1 -0
- package/{lib → src}/DocumentTabPage.js +2 -2
- package/src/DocumentTabPage.ts +6 -6
- package/{lib → src}/DraggableContainer.d.ts +7 -7
- package/src/DraggableContainer.d.ts.map +1 -0
- package/{lib → src}/DraggableContainer.js +3 -16
- package/src/DraggableContainer.ts +10 -10
- package/src/EventHandler.d.ts.map +1 -0
- package/{lib → src}/EventHandler.js +0 -3
- package/src/EventHandler.ts +1 -1
- package/{lib → src}/FillDockContainer.d.ts +8 -8
- package/src/FillDockContainer.d.ts.map +1 -0
- package/{lib → src}/FillDockContainer.js +4 -14
- package/src/FillDockContainer.ts +10 -10
- package/src/HorizontalDockContainer.d.ts +7 -0
- package/src/HorizontalDockContainer.d.ts.map +1 -0
- package/{lib → src}/HorizontalDockContainer.js +3 -3
- package/src/HorizontalDockContainer.ts +6 -6
- package/{lib → src}/PanelContainer.d.ts +21 -20
- package/src/PanelContainer.d.ts.map +1 -0
- package/{lib → src}/PanelContainer.js +144 -148
- package/src/PanelContainer.ts +590 -577
- package/src/Point.d.ts.map +1 -0
- package/{lib → src}/Point.js +0 -2
- package/{lib → src}/ResizableContainer.d.ts +8 -8
- package/src/ResizableContainer.d.ts.map +1 -0
- package/{lib → src}/ResizableContainer.js +4 -17
- package/src/ResizableContainer.ts +11 -11
- package/{lib → src}/ResizeHandle.d.ts +1 -1
- package/src/ResizeHandle.d.ts.map +1 -0
- package/{lib → src}/ResizeHandle.js +0 -10
- package/src/ResizeHandle.ts +2 -2
- package/{lib → src}/SplitterBar.d.ts +3 -3
- package/src/SplitterBar.d.ts.map +1 -0
- package/{lib → src}/SplitterBar.js +2 -14
- package/src/SplitterBar.ts +5 -5
- package/{lib → src}/SplitterDockContainer.d.ts +7 -7
- package/src/SplitterDockContainer.d.ts.map +1 -0
- package/{lib → src}/SplitterDockContainer.js +1 -11
- package/src/SplitterDockContainer.ts +8 -8
- package/{lib → src}/SplitterPanel.d.ts +2 -2
- package/src/SplitterPanel.d.ts.map +1 -0
- package/{lib → src}/SplitterPanel.js +2 -6
- package/src/SplitterPanel.ts +4 -4
- package/{lib → src}/TabHandle.d.ts +5 -5
- package/src/TabHandle.d.ts.map +1 -0
- package/{lib → src}/TabHandle.js +81 -95
- package/src/TabHandle.ts +314 -311
- package/{lib → src}/TabHost.d.ts +6 -6
- package/src/TabHost.d.ts.map +1 -0
- package/{lib → src}/TabHost.js +4 -19
- package/src/TabHost.ts +9 -9
- package/{lib → src}/TabPage.d.ts +4 -4
- package/src/TabPage.d.ts.map +1 -0
- package/{lib → src}/TabPage.js +3 -10
- package/src/TabPage.ts +6 -6
- package/{lib → src}/UndockInitiator.d.ts +4 -4
- package/src/UndockInitiator.d.ts.map +1 -0
- package/{lib → src}/UndockInitiator.js +2 -14
- package/src/UndockInitiator.ts +7 -7
- package/src/Utils.d.ts.map +1 -0
- package/{lib → src}/Utils.js +1 -1
- package/src/Utils.ts +1 -1
- package/src/VerticalDockContainer.d.ts +7 -0
- package/src/VerticalDockContainer.d.ts.map +1 -0
- package/{lib → src}/VerticalDockContainer.js +3 -3
- package/src/VerticalDockContainer.ts +7 -7
- package/src/enums/PanelType.d.ts.map +1 -0
- package/src/enums/PanelType.ts +1 -1
- package/src/enums/TabHostDirection.d.ts.map +1 -0
- package/src/enums/TabHostDirection.ts +1 -1
- package/src/enums/WheelTypes.d.ts.map +1 -0
- package/src/enums/WheelTypes.ts +1 -1
- package/src/i18n/Defaults.d.ts.map +1 -0
- package/src/i18n/Defaults.ts +2 -2
- package/{lib → src}/i18n/Localizer.d.ts +1 -1
- package/src/i18n/Localizer.d.ts.map +1 -0
- package/{lib → src}/i18n/Localizer.js +3 -3
- package/src/i18n/Localizer.ts +2 -2
- package/src/index.d.ts.map +1 -0
- package/{lib → src}/interfaces/IDockContainer.d.ts +4 -4
- package/src/interfaces/IDockContainer.d.ts.map +1 -0
- package/src/interfaces/IDockContainer.ts +7 -7
- package/src/interfaces/IDockContainerWithSize.d.ts +6 -0
- package/src/interfaces/IDockContainerWithSize.d.ts.map +1 -0
- package/src/interfaces/IDockContainerWithSize.ts +3 -3
- package/{lib → src}/interfaces/ILayoutEventListener.d.ts +6 -6
- package/src/interfaces/ILayoutEventListener.d.ts.map +1 -0
- package/src/interfaces/ILayoutEventListener.ts +7 -7
- package/src/interfaces/IMouseOrTouchEvent.d.ts.map +1 -0
- package/src/interfaces/IMouseOrTouchEvent.ts +1 -1
- package/src/interfaces/INodeInfo.d.ts +8 -0
- package/src/interfaces/INodeInfo.d.ts.map +1 -0
- package/src/interfaces/INodeInfo.ts +2 -2
- package/src/interfaces/IPanelInfo.d.ts +10 -0
- package/src/interfaces/IPanelInfo.d.ts.map +1 -0
- package/src/interfaces/IPanelInfo.ts +3 -3
- package/src/interfaces/IRectangle.d.ts.map +1 -0
- package/src/interfaces/IRectangle.ts +1 -1
- package/src/interfaces/ISize.d.ts.map +1 -0
- package/{lib → src}/interfaces/IState.d.ts +1 -0
- package/src/interfaces/IState.d.ts.map +1 -0
- package/src/interfaces/IState.ts +1 -0
- package/src/interfaces/IThickness.d.ts.map +1 -0
- package/src/interfaces/IThickness.ts +1 -1
- package/{lib → src}/webcomponent/DockSpawnTsWebcomponent.d.ts +6 -10
- package/src/webcomponent/DockSpawnTsWebcomponent.d.ts.map +1 -0
- package/src/webcomponent/DockSpawnTsWebcomponent.js +178 -0
- package/src/webcomponent/DockSpawnTsWebcomponent.ts +207 -243
- package/src/webcomponent/styles.d.ts.map +1 -0
- package/{lib → src}/webcomponent/styles.js +2 -1
- package/tsconfig.json +13 -26
- package/.eslintrc.json +0 -47
- package/lib/BrowserDialogHelper.d.ts.map +0 -1
- package/lib/ContainerType.d.ts.map +0 -1
- package/lib/Dialog.d.ts.map +0 -1
- package/lib/DockConfig.d.ts.map +0 -1
- package/lib/DockGraphDeserializer.d.ts.map +0 -1
- package/lib/DockGraphDeserializer.js +0 -114
- package/lib/DockGraphSerializer.d.ts +0 -14
- package/lib/DockGraphSerializer.d.ts.map +0 -1
- package/lib/DockLayoutEngine.d.ts.map +0 -1
- package/lib/DockManager.d.ts.map +0 -1
- package/lib/DockManagerContext.d.ts.map +0 -1
- package/lib/DockModel.d.ts.map +0 -1
- package/lib/DockNode.d.ts.map +0 -1
- package/lib/DockWheel.d.ts.map +0 -1
- package/lib/DockWheelItem.d.ts.map +0 -1
- package/lib/DocumentManagerContainer.d.ts.map +0 -1
- package/lib/DocumentTabPage.d.ts.map +0 -1
- package/lib/DraggableContainer.d.ts.map +0 -1
- package/lib/EventHandler.d.ts.map +0 -1
- package/lib/FillDockContainer.d.ts.map +0 -1
- package/lib/HorizontalDockContainer.d.ts +0 -7
- package/lib/HorizontalDockContainer.d.ts.map +0 -1
- package/lib/PanelContainer.d.ts.map +0 -1
- package/lib/Point.d.ts.map +0 -1
- package/lib/ResizableContainer.d.ts.map +0 -1
- package/lib/ResizeHandle.d.ts.map +0 -1
- package/lib/SplitterBar.d.ts.map +0 -1
- package/lib/SplitterDockContainer.d.ts.map +0 -1
- package/lib/SplitterPanel.d.ts.map +0 -1
- package/lib/TabHandle.d.ts.map +0 -1
- package/lib/TabHost.d.ts.map +0 -1
- package/lib/TabPage.d.ts.map +0 -1
- package/lib/UndockInitiator.d.ts.map +0 -1
- package/lib/Utils.d.ts.map +0 -1
- package/lib/VerticalDockContainer.d.ts +0 -7
- package/lib/VerticalDockContainer.d.ts.map +0 -1
- package/lib/enums/PanelType.d.ts.map +0 -1
- package/lib/enums/TabHostDirection.d.ts.map +0 -1
- package/lib/enums/WheelTypes.d.ts.map +0 -1
- package/lib/i18n/Defaults.d.ts.map +0 -1
- package/lib/i18n/Localizer.d.ts.map +0 -1
- package/lib/index.d.ts.map +0 -1
- package/lib/interfaces/IDockContainer.d.ts.map +0 -1
- package/lib/interfaces/IDockContainerWithSize.d.ts +0 -6
- package/lib/interfaces/IDockContainerWithSize.d.ts.map +0 -1
- package/lib/interfaces/ILayoutEventListener.d.ts.map +0 -1
- package/lib/interfaces/IMouseOrTouchEvent.d.ts.map +0 -1
- package/lib/interfaces/INodeInfo.d.ts +0 -8
- package/lib/interfaces/INodeInfo.d.ts.map +0 -1
- package/lib/interfaces/IPanelInfo.d.ts +0 -10
- package/lib/interfaces/IPanelInfo.d.ts.map +0 -1
- package/lib/interfaces/IRectangle.d.ts.map +0 -1
- package/lib/interfaces/ISize.d.ts.map +0 -1
- package/lib/interfaces/IState.d.ts.map +0 -1
- package/lib/interfaces/IThickness.d.ts.map +0 -1
- package/lib/webcomponent/DockSpawnTsWebcomponent.d.ts.map +0 -1
- package/lib/webcomponent/DockSpawnTsWebcomponent.js +0 -209
- package/lib/webcomponent/styles.d.ts.map +0 -1
- package/tsconfig.tsbuildinfo +0 -1
- /package/{lib → src}/BrowserDialogHelper.d.ts +0 -0
- /package/{lib → src}/ContainerType.d.ts +0 -0
- /package/{lib → src}/ContainerType.js +0 -0
- /package/{lib → src}/DockConfig.d.ts +0 -0
- /package/{lib → src}/EventHandler.d.ts +0 -0
- /package/{lib → src}/Point.d.ts +0 -0
- /package/{lib → src}/Utils.d.ts +0 -0
- /package/{lib → src}/enums/PanelType.d.ts +0 -0
- /package/{lib → src}/enums/PanelType.js +0 -0
- /package/{lib → src}/enums/TabHostDirection.d.ts +0 -0
- /package/{lib → src}/enums/TabHostDirection.js +0 -0
- /package/{lib → src}/enums/WheelTypes.d.ts +0 -0
- /package/{lib → src}/enums/WheelTypes.js +0 -0
- /package/{lib → src}/i18n/Defaults.d.ts +0 -0
- /package/{lib → src}/i18n/Defaults.js +0 -0
- /package/{lib → src}/index.d.ts +0 -0
- /package/{lib → src}/index.js +0 -0
- /package/{lib → src}/interfaces/IDockContainer.js +0 -0
- /package/{lib → src}/interfaces/IDockContainerWithSize.js +0 -0
- /package/{lib → src}/interfaces/ILayoutEventListener.js +0 -0
- /package/{lib → src}/interfaces/IMouseOrTouchEvent.d.ts +0 -0
- /package/{lib → src}/interfaces/IMouseOrTouchEvent.js +0 -0
- /package/{lib → src}/interfaces/INodeInfo.js +0 -0
- /package/{lib → src}/interfaces/IPanelInfo.js +0 -0
- /package/{lib → src}/interfaces/IRectangle.d.ts +0 -0
- /package/{lib → src}/interfaces/IRectangle.js +0 -0
- /package/{lib → src}/interfaces/ISize.d.ts +0 -0
- /package/{lib → src}/interfaces/ISize.js +0 -0
- /package/{lib → src}/interfaces/IState.js +0 -0
- /package/{lib → src}/interfaces/IThickness.d.ts +0 -0
- /package/{lib → src}/interfaces/IThickness.js +0 -0
- /package/{lib → src}/webcomponent/styles.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,355 +1 @@
|
|
|
1
1
|
# dock-spawn-dg changelog
|
|
2
|
-
|
|
3
|
-
## 1.39.4 (2024-09-30)
|
|
4
|
-
|
|
5
|
-
- Sensitivity Analysis & Fitting: Added the use of lookup tables
|
|
6
|
-
|
|
7
|
-
## 1.39.3 (2024-09-23)
|
|
8
|
-
|
|
9
|
-
- ModelCatalog: Added info notification on group membership request
|
|
10
|
-
|
|
11
|
-
## 1.39.2 (2024-09-13)
|
|
12
|
-
|
|
13
|
-
- RFV: Export generation is now independent of UI state
|
|
14
|
-
|
|
15
|
-
## 1.39.1 (2024-09-10)
|
|
16
|
-
|
|
17
|
-
- Fixed DF input in the Fitting view
|
|
18
|
-
|
|
19
|
-
## 1.38.0-rc.2 (2024-09-09)
|
|
20
|
-
|
|
21
|
-
- Fixed DF input processing with no viewers
|
|
22
|
-
|
|
23
|
-
## 1.38.0-rc (2024-09-06)
|
|
24
|
-
|
|
25
|
-
- Preparing 1.21.1 release
|
|
26
|
-
|
|
27
|
-
## 1.37.0 (2024-09-05)
|
|
28
|
-
|
|
29
|
-
- Release for 1.21.0
|
|
30
|
-
|
|
31
|
-
## 1.37.0-rc (2024-09-04)
|
|
32
|
-
|
|
33
|
-
- Preparing 1.21.0 release
|
|
34
|
-
|
|
35
|
-
## 1.36.7 (2024-08-05)
|
|
36
|
-
|
|
37
|
-
- RFV: Fixed navigation buttons render
|
|
38
|
-
|
|
39
|
-
## 1.36.6 (2024-08-01)
|
|
40
|
-
|
|
41
|
-
- RFV: Added spinning for async validation icon
|
|
42
|
-
|
|
43
|
-
## 1.36.5 (2024-07-31)
|
|
44
|
-
|
|
45
|
-
- RFV & Wizard: Historical runs load optimization
|
|
46
|
-
|
|
47
|
-
## 1.36.3 (2024-07-30)
|
|
48
|
-
|
|
49
|
-
- Wizard: Fixed context info icon duplication
|
|
50
|
-
|
|
51
|
-
## 1.36.2 (2024-07-23)
|
|
52
|
-
|
|
53
|
-
- RFV: Added validation tooltip width and text-wrap
|
|
54
|
-
|
|
55
|
-
## 1.36.1 (2024-07-22)
|
|
56
|
-
|
|
57
|
-
- RFV: Last inputs are now saved locally
|
|
58
|
-
|
|
59
|
-
## 1.36.0 (2024-07-10)
|
|
60
|
-
|
|
61
|
-
- RFV: Added output validators support
|
|
62
|
-
|
|
63
|
-
## 1.35.10 (2024-07-08)
|
|
64
|
-
|
|
65
|
-
- CompositionPipeline: Exposed options to public interface
|
|
66
|
-
|
|
67
|
-
## 1.35.9 (2024-07-08)
|
|
68
|
-
|
|
69
|
-
- PLV: Fixed names conflict in single excel export
|
|
70
|
-
|
|
71
|
-
## 1.35.8 (2024-07-03)
|
|
72
|
-
|
|
73
|
-
- PLV: Fixed run loading to load author
|
|
74
|
-
|
|
75
|
-
## 1.35.7 (2024-07-01)
|
|
76
|
-
|
|
77
|
-
- HistoryList: Fixed bug on batch deletion
|
|
78
|
-
- HistoryInput: Added skipDf option
|
|
79
|
-
|
|
80
|
-
## 1.35.6 (2024-06-27)
|
|
81
|
-
|
|
82
|
-
- Exposed mergeValidationResults method
|
|
83
|
-
|
|
84
|
-
## 1.35.5 (2024-06-26)
|
|
85
|
-
|
|
86
|
-
- getParamChanges fixed empty FuncCall error
|
|
87
|
-
|
|
88
|
-
## 1.35.4 (2024-06-25)
|
|
89
|
-
|
|
90
|
-
- Inputs bugfixes
|
|
91
|
-
|
|
92
|
-
## 1.35.3 (2024-06-25)
|
|
93
|
-
|
|
94
|
-
- Changed inputs to use new API
|
|
95
|
-
|
|
96
|
-
## 1.35.2 (2024-06-24)
|
|
97
|
-
|
|
98
|
-
- RFV: Added getViewers method
|
|
99
|
-
|
|
100
|
-
## 1.35.0 (2024-06-12)
|
|
101
|
-
|
|
102
|
-
- Code adapted for Compute API
|
|
103
|
-
|
|
104
|
-
## 1.34.3 (2024-05-21)
|
|
105
|
-
|
|
106
|
-
### Bug fixes
|
|
107
|
-
|
|
108
|
-
- RFV: Fixed single-tab output logic
|
|
109
|
-
- Wizard: Fixed double-help case
|
|
110
|
-
|
|
111
|
-
## 1.34.2 (2024-05-17)
|
|
112
|
-
|
|
113
|
-
- RFV: Added HistoryPanel hide on view closing
|
|
114
|
-
|
|
115
|
-
## 1.34.1 (2024-05-15)
|
|
116
|
-
|
|
117
|
-
- Fixed imports
|
|
118
|
-
|
|
119
|
-
## 1.34.0 (2024-05-14)
|
|
120
|
-
|
|
121
|
-
- Added Fitting view
|
|
122
|
-
|
|
123
|
-
## 1.33.7 (2024-05-14)
|
|
124
|
-
|
|
125
|
-
### Features
|
|
126
|
-
|
|
127
|
-
- RFV: Removed workaround for tableInput
|
|
128
|
-
- RFV: Added tooltips for inputs
|
|
129
|
-
- HistoryInput: Changed dates to local timezone
|
|
130
|
-
|
|
131
|
-
## 1.33.6 (2024-05-10)
|
|
132
|
-
|
|
133
|
-
### Features
|
|
134
|
-
|
|
135
|
-
- Added lodash.cloneDeepWith types
|
|
136
|
-
|
|
137
|
-
## 1.33.5 (2024-05-09)
|
|
138
|
-
|
|
139
|
-
### Features
|
|
140
|
-
|
|
141
|
-
- RFV: Property default value getting both for 1.18.x and 1.19
|
|
142
|
-
|
|
143
|
-
## 1.33.4 (2024-05-09)
|
|
144
|
-
|
|
145
|
-
### Features
|
|
146
|
-
|
|
147
|
-
- Heavyweight imports optimization
|
|
148
|
-
|
|
149
|
-
## 1.33.3 (2024-05-08)
|
|
150
|
-
|
|
151
|
-
### Features
|
|
152
|
-
|
|
153
|
-
- Bundle size optimizations
|
|
154
|
-
|
|
155
|
-
## 1.33.1 (2024-05-07)
|
|
156
|
-
|
|
157
|
-
### Features
|
|
158
|
-
|
|
159
|
-
- Rearranged CSS files
|
|
160
|
-
- RFV: Added isOutdatedOutput subject
|
|
161
|
-
- HistoryInput: Hides incomplete runs
|
|
162
|
-
- HistoryPanel: Added completeness filter
|
|
163
|
-
|
|
164
|
-
## 1.33.0 (2024-05-06)
|
|
165
|
-
|
|
166
|
-
- Added CompositionPipeline
|
|
167
|
-
|
|
168
|
-
## 1.32.4 (2024-05-03)
|
|
169
|
-
|
|
170
|
-
### Bug fixes
|
|
171
|
-
|
|
172
|
-
- RFV: Removed workarounds
|
|
173
|
-
|
|
174
|
-
## 1.32.3 (2024-04-30)
|
|
175
|
-
|
|
176
|
-
### Bug fixes
|
|
177
|
-
|
|
178
|
-
- HistoryPanel: Fixed case of duplicated captions
|
|
179
|
-
|
|
180
|
-
## 1.32.1 (2024-04-29)
|
|
181
|
-
|
|
182
|
-
### Bug fixes
|
|
183
|
-
|
|
184
|
-
- RFV: LineChart dynamically resizing
|
|
185
|
-
|
|
186
|
-
## 1.32.0 (2024-04-18)
|
|
187
|
-
|
|
188
|
-
### Features
|
|
189
|
-
|
|
190
|
-
- Added partial save feature for RFV & Wizard
|
|
191
|
-
- Run deletion is now implemented via flag
|
|
192
|
-
- Wizard: annotation and in-code help pages are now both supported
|
|
193
|
-
- History panel: "Params" switch is now hidden if no params exist
|
|
194
|
-
- Wizard: Steps now support customId-s
|
|
195
|
-
|
|
196
|
-
### Bug fixes
|
|
197
|
-
|
|
198
|
-
- History panel: Fixed grid keeping its size
|
|
199
|
-
|
|
200
|
-
## 1.31.0 (2024-04-10)
|
|
201
|
-
|
|
202
|
-
### Features
|
|
203
|
-
|
|
204
|
-
- ModelCatalog: Adaptation for BrowseView
|
|
205
|
-
|
|
206
|
-
## 1.30.1 (2024-04-08)
|
|
207
|
-
|
|
208
|
-
### Bug fixes
|
|
209
|
-
|
|
210
|
-
- RFV: Default export properly works with nulls
|
|
211
|
-
|
|
212
|
-
## 1.30.0 (2024-04-08)
|
|
213
|
-
|
|
214
|
-
### Features
|
|
215
|
-
|
|
216
|
-
- HistoryInput refactored: now uses same component as HistoryPanel
|
|
217
|
-
- `mainInputs` tag renamed to `mainParams`
|
|
218
|
-
- Both HistoryInput and HistoryPanel now use `mainParams` to determine visible columns
|
|
219
|
-
|
|
220
|
-
## 1.29.1 (2024-04-03)
|
|
221
|
-
|
|
222
|
-
### Features
|
|
223
|
-
|
|
224
|
-
- HistoryPanel: Added compact mode
|
|
225
|
-
- HistoryPanel: Fixed bug with supported column types
|
|
226
|
-
|
|
227
|
-
## 1.29.0 (2024-03-29)
|
|
228
|
-
|
|
229
|
-
### Features
|
|
230
|
-
|
|
231
|
-
- RFV: Disabled re-run on inputs load
|
|
232
|
-
- ModelCatalog: Full support of single-file models
|
|
233
|
-
- HistoryPanel: Redesigned to use Grid
|
|
234
|
-
|
|
235
|
-
## 1.28.0 (2024-03-13)
|
|
236
|
-
|
|
237
|
-
### Features
|
|
238
|
-
|
|
239
|
-
- Adapted lib for Datagrok v1.18
|
|
240
|
-
|
|
241
|
-
## 1.27.0 (2024-03-12)
|
|
242
|
-
|
|
243
|
-
### Features
|
|
244
|
-
|
|
245
|
-
- RFV: Added last values restoring
|
|
246
|
-
|
|
247
|
-
## 1.26.0 (2024-03-11)
|
|
248
|
-
|
|
249
|
-
### Features
|
|
250
|
-
|
|
251
|
-
- RFV: Moved favorites to UserStorage
|
|
252
|
-
|
|
253
|
-
## 1.25.3 (2024-03-06)
|
|
254
|
-
|
|
255
|
-
### Features
|
|
256
|
-
|
|
257
|
-
- RFV: "readme" tag replaced by "help"
|
|
258
|
-
|
|
259
|
-
## 1.25.2 (2024-03-05)
|
|
260
|
-
|
|
261
|
-
### Features
|
|
262
|
-
|
|
263
|
-
- PLV: Added additional check on step enabling
|
|
264
|
-
- ModelCatalog: Added help switching
|
|
265
|
-
|
|
266
|
-
## 1.25.1 (2024-03-04)
|
|
267
|
-
|
|
268
|
-
### Bug fixes
|
|
269
|
-
|
|
270
|
-
- Sensitivity Analysis: fixed input form styles
|
|
271
|
-
|
|
272
|
-
## 1.25.0 (2024-03-04)
|
|
273
|
-
|
|
274
|
-
### Features
|
|
275
|
-
|
|
276
|
-
- RFV: Now supports readme files via `meta.readme` tag
|
|
277
|
-
- Wizard: Now support help panel state saving
|
|
278
|
-
|
|
279
|
-
## 1.24.1 (2024-03-02)
|
|
280
|
-
|
|
281
|
-
### Bug fixes
|
|
282
|
-
|
|
283
|
-
- ModelCatalog: Fixed error with mandatory groups
|
|
284
|
-
|
|
285
|
-
## 1.24.0 (2024-03-01)
|
|
286
|
-
|
|
287
|
-
### Features
|
|
288
|
-
|
|
289
|
-
- RFV: Customizable data upload feature
|
|
290
|
-
|
|
291
|
-
## 1.23.0 (2024-02-28)
|
|
292
|
-
|
|
293
|
-
### Features
|
|
294
|
-
|
|
295
|
-
- SA: Updated viewers
|
|
296
|
-
- SA: Added analysis by value in custom column
|
|
297
|
-
|
|
298
|
-
### Bug fixes
|
|
299
|
-
|
|
300
|
-
- SA: Fixed bug last row analysis
|
|
301
|
-
|
|
302
|
-
## 1.13.14 (2023-08-30)
|
|
303
|
-
|
|
304
|
-
### Features
|
|
305
|
-
|
|
306
|
-
- HistoryInput allow skip df load
|
|
307
|
-
|
|
308
|
-
## 1.13.13 (2023-08-29)
|
|
309
|
-
|
|
310
|
-
### Features
|
|
311
|
-
|
|
312
|
-
- HistoryInput redesigned
|
|
313
|
-
|
|
314
|
-
## 1.13.9 (2023-08-23)
|
|
315
|
-
|
|
316
|
-
### Fixed bugs
|
|
317
|
-
|
|
318
|
-
- Fixed bug with empty captions in RFV blocks
|
|
319
|
-
|
|
320
|
-
## 1.13.8 (2023-08-18)
|
|
321
|
-
|
|
322
|
-
### Features
|
|
323
|
-
|
|
324
|
-
- RFV: Inputs are now disabled during computations
|
|
325
|
-
- RFV: editState is now properly saved
|
|
326
|
-
- FileInput: Moved icons into options container
|
|
327
|
-
- Default users and groups IDs are now taken from API
|
|
328
|
-
|
|
329
|
-
## 1.13.6 (2023-08-15)
|
|
330
|
-
|
|
331
|
-
### Features
|
|
332
|
-
|
|
333
|
-
- FileInput now extends DG.InputBase
|
|
334
|
-
- RFV: Historical runs become non-historical on any input change
|
|
335
|
-
- RFV: Ribbon panel now reacts on "historicity" of the run
|
|
336
|
-
- RFV: Inputs now have a delay before calculation re-run
|
|
337
|
-
- RFV: DataFrame export to Excel now uses built-in Excel tables
|
|
338
|
-
|
|
339
|
-
### Fixed bugs
|
|
340
|
-
|
|
341
|
-
- Removed workarounds for GROK-13335 & GROK-13337
|
|
342
|
-
- PLV: Fixed bug with extra tabs enabled on historical run load
|
|
343
|
-
|
|
344
|
-
## 1.13.5 (2023-08-10)
|
|
345
|
-
|
|
346
|
-
### Features
|
|
347
|
-
|
|
348
|
-
- Heavily optimized export functions for RFV
|
|
349
|
-
- RFV now supports format setting for float inputs using `format` tag
|
|
350
|
-
- RFV now supports precision setting for float outputs using `precision` tag`
|
|
351
|
-
|
|
352
|
-
### Fixed bugs
|
|
353
|
-
|
|
354
|
-
- RFV now saves selected output tab on function rerun
|
|
355
|
-
- RFV now fully hides output during function run panel if no input tabs is provided
|
package/README.md
CHANGED
|
@@ -6,6 +6,3 @@ Changes:
|
|
|
6
6
|
- Webcomponent interacts properly with Vue's renderer
|
|
7
7
|
- Webcomponent emits proper events on panel closing
|
|
8
8
|
- Panels could not be turned into dialogs. They dock by "filling" strategy by default
|
|
9
|
-
|
|
10
|
-
[](https://www.npmjs.com/package/dock-spawn-ts)
|
|
11
|
-
[](https://www.npmjs.com/package/dock-spawn-ts)
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export * from './src/ContainerType';
|
|
2
|
+
export * from './src/Dialog';
|
|
3
|
+
export * from './src/DockConfig';
|
|
4
|
+
export * from './src/DockGraphSerializer';
|
|
5
|
+
export * from './src/DockLayoutEngine';
|
|
6
|
+
export * from './src/DockManager';
|
|
7
|
+
export * from './src/DockManagerContext';
|
|
8
|
+
export * from './src/DockModel';
|
|
9
|
+
export * from './src/DockNode';
|
|
10
|
+
export * from './src/DockWheel';
|
|
11
|
+
export * from './src/DockWheelItem';
|
|
12
|
+
export * from './src/DocumentManagerContainer';
|
|
13
|
+
export * from './src/DocumentTabPage';
|
|
14
|
+
export * from './src/DraggableContainer';
|
|
15
|
+
export * from './src/EventHandler';
|
|
16
|
+
export * from './src/FillDockContainer';
|
|
17
|
+
export * from './src/HorizontalDockContainer';
|
|
18
|
+
export * from './src/PanelContainer';
|
|
19
|
+
export * from './src/Point';
|
|
20
|
+
export * from './src/ResizableContainer';
|
|
21
|
+
export * from './src/ResizeHandle';
|
|
22
|
+
export * from './src/SplitterBar';
|
|
23
|
+
export * from './src/SplitterDockContainer';
|
|
24
|
+
export * from './src/SplitterPanel';
|
|
25
|
+
export * from './src/TabHandle';
|
|
26
|
+
export * from './src/TabHost';
|
|
27
|
+
export * from './src/TabPage';
|
|
28
|
+
export * from './src/UndockInitiator';
|
|
29
|
+
export * from './src/Utils';
|
|
30
|
+
export * from './src/VerticalDockContainer';
|
|
31
|
+
export * from './src/i18n/Localizer';
|
|
32
|
+
export * from './src/webcomponent/DockSpawnTsWebcomponent';
|
|
33
|
+
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,4CAA4C,CAAC"}
|
package/index.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export * from './src/ContainerType';
|
|
2
|
+
export * from './src/Dialog';
|
|
3
|
+
export * from './src/DockConfig';
|
|
4
|
+
export * from './src/DockGraphSerializer';
|
|
5
|
+
export * from './src/DockLayoutEngine';
|
|
6
|
+
export * from './src/DockManager';
|
|
7
|
+
export * from './src/DockManagerContext';
|
|
8
|
+
export * from './src/DockModel';
|
|
9
|
+
export * from './src/DockNode';
|
|
10
|
+
export * from './src/DockWheel';
|
|
11
|
+
export * from './src/DockWheelItem';
|
|
12
|
+
export * from './src/DocumentManagerContainer';
|
|
13
|
+
export * from './src/DocumentTabPage';
|
|
14
|
+
export * from './src/DraggableContainer';
|
|
15
|
+
export * from './src/EventHandler';
|
|
16
|
+
export * from './src/FillDockContainer';
|
|
17
|
+
export * from './src/HorizontalDockContainer';
|
|
18
|
+
export * from './src/PanelContainer';
|
|
19
|
+
export * from './src/Point';
|
|
20
|
+
export * from './src/ResizableContainer';
|
|
21
|
+
export * from './src/ResizeHandle';
|
|
22
|
+
export * from './src/SplitterBar';
|
|
23
|
+
export * from './src/SplitterDockContainer';
|
|
24
|
+
export * from './src/SplitterPanel';
|
|
25
|
+
export * from './src/TabHandle';
|
|
26
|
+
export * from './src/TabHost';
|
|
27
|
+
export * from './src/TabPage';
|
|
28
|
+
export * from './src/UndockInitiator';
|
|
29
|
+
export * from './src/Utils';
|
|
30
|
+
export * from './src/VerticalDockContainer';
|
|
31
|
+
export * from './src/i18n/Localizer';
|
|
32
|
+
export * from './src/webcomponent/DockSpawnTsWebcomponent';
|
package/package.json
CHANGED
|
@@ -1,32 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datagrok-libraries/dock-spawn-dg",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "A TypeScript Version of dock-spawn with changes for Datagrok",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
|
|
7
|
-
"name": "
|
|
8
|
-
"email": "
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "Andrey Sharapov",
|
|
8
|
+
"email": "andrey.sharapov@softwarecountry.com"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"build": "tsc",
|
|
12
|
-
"clean": "tsc --build --clean"
|
|
13
|
-
"lint": "eslint . --ext .ts",
|
|
14
|
-
"lint-fix": "eslint . --ext .ts --fix"
|
|
12
|
+
"clean": "tsc --build --clean"
|
|
15
13
|
},
|
|
16
14
|
"dependencies": {
|
|
17
15
|
"rxjs": "^6.6.7"
|
|
18
16
|
},
|
|
19
17
|
"devDependencies": {
|
|
20
|
-
"@types/wu": "
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"ts-loader": "latest",
|
|
26
|
-
"typescript": "latest",
|
|
27
|
-
"webpack": "latest",
|
|
28
|
-
"webpack-cli": "latest",
|
|
29
|
-
"@types/node": "latest"
|
|
18
|
+
"@types/wu": "^2.1.44",
|
|
19
|
+
"ts-loader": "^9.5.1",
|
|
20
|
+
"typescript": "^5.6.3",
|
|
21
|
+
"webpack": "^5.95.0",
|
|
22
|
+
"webpack-cli": "^5.1.4"
|
|
30
23
|
},
|
|
31
24
|
"repository": {
|
|
32
25
|
"type": "git",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrowserDialogHelper.d.ts","sourceRoot":"","sources":["BrowserDialogHelper.ts"],"names":[],"mappings":"AAAA,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE;IACxE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAC;IACrC,OAAO,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACjC,MAAM,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;CACnC,QAsDA"}
|
|
@@ -4,10 +4,11 @@ export function moveElementToNewBrowserWindow(element, params) {
|
|
|
4
4
|
const win = window.open('about:blank', undefined, `popup=yes,left=${newWindowBounds.x},top=${newWindowBounds.y},width=${newWindowBounds.width},height=${newWindowBounds.height}`);
|
|
5
5
|
win.onfocus = (e) => params.focused(e);
|
|
6
6
|
win.onblur = (e) => params.blured(e);
|
|
7
|
-
|
|
8
|
-
for (
|
|
7
|
+
let styles = [...document.head.querySelectorAll('link')].map(x => x.cloneNode());
|
|
8
|
+
for (let s of styles) {
|
|
9
9
|
win.document.head.appendChild(win.document.adoptNode(s));
|
|
10
|
-
|
|
10
|
+
}
|
|
11
|
+
let st = win.document.createElement("style");
|
|
11
12
|
st.innerText = `
|
|
12
13
|
html {
|
|
13
14
|
overflow: hidden;
|
|
@@ -22,7 +23,7 @@ export function moveElementToNewBrowserWindow(element, params) {
|
|
|
22
23
|
}
|
|
23
24
|
`;
|
|
24
25
|
win.document.head.appendChild(st);
|
|
25
|
-
const titleEl = win.document.createElement(
|
|
26
|
+
const titleEl = win.document.createElement("title");
|
|
26
27
|
titleEl.innerText = params.title;
|
|
27
28
|
win.document.head.appendChild(titleEl);
|
|
28
29
|
win.onunload = () => params.newWindowClosedCallback();
|
|
@@ -30,28 +31,33 @@ export function moveElementToNewBrowserWindow(element, params) {
|
|
|
30
31
|
const listSs = new Map();
|
|
31
32
|
function backupSs(el) {
|
|
32
33
|
if (el.shadowRoot) {
|
|
33
|
-
if (el.shadowRoot.adoptedStyleSheets.length > 0)
|
|
34
|
-
listSs.set(el, [...el.shadowRoot.adoptedStyleSheets.map(
|
|
35
|
-
|
|
34
|
+
if (el.shadowRoot.adoptedStyleSheets.length > 0) {
|
|
35
|
+
listSs.set(el, [...el.shadowRoot.adoptedStyleSheets.map(x => cloneStyleSheet(win, x, cache))]);
|
|
36
|
+
}
|
|
37
|
+
for (const e of el.shadowRoot.querySelectorAll('*')) {
|
|
36
38
|
backupSs(e);
|
|
39
|
+
}
|
|
37
40
|
}
|
|
38
41
|
}
|
|
39
42
|
backupSs(element);
|
|
40
|
-
for (const e of element.querySelectorAll('*'))
|
|
43
|
+
for (const e of element.querySelectorAll('*')) {
|
|
41
44
|
backupSs(e);
|
|
45
|
+
}
|
|
42
46
|
win.document.body.appendChild(win.document.adoptNode(element));
|
|
43
|
-
for (const e of listSs)
|
|
47
|
+
for (const e of listSs) {
|
|
44
48
|
e[0].shadowRoot.adoptedStyleSheets = e[1];
|
|
49
|
+
}
|
|
45
50
|
params.closeCallback();
|
|
46
51
|
}
|
|
47
52
|
function cloneStyleSheet(window, stylesheet, cache) {
|
|
48
53
|
const existingCopy = cache.get(stylesheet);
|
|
49
54
|
if (existingCopy)
|
|
50
55
|
return existingCopy;
|
|
51
|
-
let payload =
|
|
56
|
+
let payload = "";
|
|
52
57
|
const rules = stylesheet.cssRules;
|
|
53
|
-
for (
|
|
54
|
-
payload += rules[i].cssText +
|
|
58
|
+
for (var i = 0; i < rules.length; i++) {
|
|
59
|
+
payload += rules[i].cssText + "\n";
|
|
60
|
+
}
|
|
55
61
|
//@ts-ignore
|
|
56
62
|
const newStylesheet = new window.CSSStyleSheet();
|
|
57
63
|
cache.set(stylesheet, newStylesheet);
|
|
@@ -5,17 +5,17 @@ export function moveElementToNewBrowserWindow(element: HTMLElement, params: {
|
|
|
5
5
|
focused: (e: FocusEvent) => void,
|
|
6
6
|
blured: (e: FocusEvent) => void,
|
|
7
7
|
}) {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
8
|
+
const rect = element.getBoundingClientRect();
|
|
9
|
+
const newWindowBounds = { x: rect.x + 24, y: rect.y + 60, width: rect.width, height: rect.height };
|
|
10
|
+
const win = window.open('about:blank', undefined, `popup=yes,left=${newWindowBounds.x},top=${newWindowBounds.y},width=${newWindowBounds.width},height=${newWindowBounds.height}`);
|
|
11
|
+
win.onfocus = (e) => params.focused(e);
|
|
12
|
+
win.onblur = (e) => params.blured(e);
|
|
13
|
+
let styles = [...document.head.querySelectorAll('link')].map(x => x.cloneNode());
|
|
14
|
+
for (let s of styles) {
|
|
15
|
+
win.document.head.appendChild(win.document.adoptNode(s));
|
|
16
|
+
}
|
|
17
|
+
let st = win.document.createElement("style");
|
|
18
|
+
st.innerText = `
|
|
19
19
|
html {
|
|
20
20
|
overflow: hidden;
|
|
21
21
|
position: fixed;
|
|
@@ -28,49 +28,50 @@ export function moveElementToNewBrowserWindow(element: HTMLElement, params: {
|
|
|
28
28
|
margin: 0;
|
|
29
29
|
}
|
|
30
30
|
`;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
win.onunload = () => params.newWindowClosedCallback();
|
|
31
|
+
win.document.head.appendChild(st);
|
|
32
|
+
const titleEl = win.document.createElement("title");
|
|
33
|
+
titleEl.innerText = params.title;
|
|
34
|
+
win.document.head.appendChild(titleEl);
|
|
37
35
|
|
|
38
|
-
|
|
39
|
-
const listSs = new Map<Element, CSSStyleSheet[]>();
|
|
40
|
-
function backupSs(el: Element) {
|
|
41
|
-
if (el.shadowRoot) {
|
|
42
|
-
if (el.shadowRoot.adoptedStyleSheets.length > 0)
|
|
43
|
-
listSs.set(el, [...el.shadowRoot.adoptedStyleSheets.map((x) => cloneStyleSheet(win, x, cache))]);
|
|
36
|
+
win.onunload = () => params.newWindowClosedCallback();
|
|
44
37
|
|
|
45
|
-
|
|
38
|
+
const cache = new Map<CSSStyleSheet, CSSStyleSheet>();
|
|
39
|
+
const listSs = new Map<Element, CSSStyleSheet[]>();
|
|
40
|
+
function backupSs(el: Element) {
|
|
41
|
+
if (el.shadowRoot) {
|
|
42
|
+
if (el.shadowRoot.adoptedStyleSheets.length > 0) {
|
|
43
|
+
listSs.set(el, [...el.shadowRoot.adoptedStyleSheets.map(x => cloneStyleSheet(win, x, cache))]);
|
|
44
|
+
}
|
|
45
|
+
for (const e of el.shadowRoot.querySelectorAll('*')) {
|
|
46
|
+
backupSs(e);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
backupSs(element);
|
|
51
|
+
for (const e of element.querySelectorAll('*')) {
|
|
46
52
|
backupSs(e);
|
|
47
53
|
}
|
|
48
|
-
}
|
|
49
|
-
backupSs(element);
|
|
50
|
-
for (const e of element.querySelectorAll('*'))
|
|
51
|
-
backupSs(e);
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
win.document.body.appendChild(win.document.adoptNode(element));
|
|
55
|
-
for (const e of listSs)
|
|
56
|
-
e[0].shadowRoot.adoptedStyleSheets = e[1];
|
|
57
54
|
|
|
55
|
+
win.document.body.appendChild(win.document.adoptNode(element));
|
|
56
|
+
for (const e of listSs) {
|
|
57
|
+
e[0].shadowRoot.adoptedStyleSheets = e[1];
|
|
58
|
+
}
|
|
58
59
|
|
|
59
|
-
|
|
60
|
+
params.closeCallback();
|
|
60
61
|
}
|
|
61
62
|
|
|
62
63
|
function cloneStyleSheet(window: Window, stylesheet: CSSStyleSheet, cache: Map<CSSStyleSheet, CSSStyleSheet>) {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
64
|
+
const existingCopy = cache.get(stylesheet);
|
|
65
|
+
if (existingCopy)
|
|
66
|
+
return existingCopy;
|
|
67
|
+
let payload = "";
|
|
68
|
+
const rules = stylesheet.cssRules;
|
|
69
|
+
for (var i = 0; i < rules.length; i++) {
|
|
70
|
+
payload += rules[i].cssText + "\n";
|
|
71
|
+
}
|
|
72
|
+
//@ts-ignore
|
|
73
|
+
const newStylesheet = new window.CSSStyleSheet();
|
|
74
|
+
cache.set(stylesheet, newStylesheet);
|
|
75
|
+
newStylesheet.replaceSync(payload);
|
|
76
|
+
return newStylesheet;
|
|
76
77
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContainerType.d.ts","sourceRoot":"","sources":["ContainerType.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACrB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,KAAK,UAAU;CAClB"}
|
package/src/ContainerType.ts
CHANGED
package/{lib → src}/Dialog.d.ts
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { DockManager } from
|
|
2
|
-
import { Point } from
|
|
3
|
-
import { PanelContainer } from
|
|
4
|
-
import { DraggableContainer } from
|
|
5
|
-
import { ResizableContainer } from
|
|
6
|
-
import { EventHandler } from
|
|
7
|
-
import { DockNode } from
|
|
1
|
+
import { DockManager } from "./DockManager";
|
|
2
|
+
import { Point } from "./Point";
|
|
3
|
+
import { PanelContainer } from "./PanelContainer";
|
|
4
|
+
import { DraggableContainer } from "./DraggableContainer";
|
|
5
|
+
import { ResizableContainer } from "./ResizableContainer";
|
|
6
|
+
import { EventHandler } from "./EventHandler";
|
|
7
|
+
import { DockNode } from "./DockNode";
|
|
8
8
|
export declare class Dialog {
|
|
9
9
|
elementDialog: HTMLDivElement & {
|
|
10
10
|
floatingDialog: Dialog;
|