@datagrok-libraries/dock-spawn-dg 0.0.1

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.
Files changed (222) hide show
  1. package/.eslintrc.json +47 -0
  2. package/CHANGELOG.md +355 -0
  3. package/LICENSE +21 -0
  4. package/README.md +11 -0
  5. package/css/dock-manager-context-menu.css +19 -0
  6. package/css/dock-manager-style.css +190 -0
  7. package/css/dock-manager.css +411 -0
  8. package/images/close.svg +6 -0
  9. package/images/dock_bottom.png +0 -0
  10. package/images/dock_bottom_sel.png +0 -0
  11. package/images/dock_fill.png +0 -0
  12. package/images/dock_fill_sel.png +0 -0
  13. package/images/dock_left.png +0 -0
  14. package/images/dock_left_sel.png +0 -0
  15. package/images/dock_right.png +0 -0
  16. package/images/dock_right_sel.png +0 -0
  17. package/images/dock_top.png +0 -0
  18. package/images/dock_top_sel.png +0 -0
  19. package/index.ts +32 -0
  20. package/lib/BrowserDialogHelper.d.ts +8 -0
  21. package/lib/BrowserDialogHelper.d.ts.map +1 -0
  22. package/lib/BrowserDialogHelper.js +60 -0
  23. package/lib/ContainerType.d.ts +7 -0
  24. package/lib/ContainerType.d.ts.map +1 -0
  25. package/lib/ContainerType.js +7 -0
  26. package/lib/Dialog.d.ts +51 -0
  27. package/lib/Dialog.d.ts.map +1 -0
  28. package/lib/Dialog.js +209 -0
  29. package/lib/DockConfig.d.ts +9 -0
  30. package/lib/DockConfig.d.ts.map +1 -0
  31. package/lib/DockConfig.js +14 -0
  32. package/lib/DockGraphDeserializer.d.ts +19 -0
  33. package/lib/DockGraphDeserializer.d.ts.map +1 -0
  34. package/lib/DockGraphDeserializer.js +114 -0
  35. package/lib/DockGraphSerializer.d.ts +14 -0
  36. package/lib/DockGraphSerializer.d.ts.map +1 -0
  37. package/lib/DockGraphSerializer.js +40 -0
  38. package/lib/DockLayoutEngine.d.ts +36 -0
  39. package/lib/DockLayoutEngine.d.ts.map +1 -0
  40. package/lib/DockLayoutEngine.js +323 -0
  41. package/lib/DockManager.d.ts +155 -0
  42. package/lib/DockManager.d.ts.map +1 -0
  43. package/lib/DockManager.js +752 -0
  44. package/lib/DockManagerContext.d.ts +10 -0
  45. package/lib/DockManagerContext.d.ts.map +1 -0
  46. package/lib/DockManagerContext.js +12 -0
  47. package/lib/DockModel.d.ts +9 -0
  48. package/lib/DockModel.d.ts.map +1 -0
  49. package/lib/DockModel.js +8 -0
  50. package/lib/DockNode.d.ts +16 -0
  51. package/lib/DockNode.d.ts.map +1 -0
  52. package/lib/DockNode.js +64 -0
  53. package/lib/DockWheel.d.ts +41 -0
  54. package/lib/DockWheel.d.ts.map +1 -0
  55. package/lib/DockWheel.js +208 -0
  56. package/lib/DockWheelItem.d.ts +16 -0
  57. package/lib/DockWheelItem.d.ts.map +1 -0
  58. package/lib/DockWheelItem.js +34 -0
  59. package/lib/DocumentManagerContainer.d.ts +16 -0
  60. package/lib/DocumentManagerContainer.d.ts.map +1 -0
  61. package/lib/DocumentManagerContainer.js +28 -0
  62. package/lib/DocumentTabPage.d.ts +11 -0
  63. package/lib/DocumentTabPage.d.ts.map +1 -0
  64. package/lib/DocumentTabPage.js +26 -0
  65. package/lib/DraggableContainer.d.ts +51 -0
  66. package/lib/DraggableContainer.d.ts.map +1 -0
  67. package/lib/DraggableContainer.js +145 -0
  68. package/lib/EventHandler.d.ts +8 -0
  69. package/lib/EventHandler.d.ts.map +1 -0
  70. package/lib/EventHandler.js +14 -0
  71. package/lib/FillDockContainer.d.ts +34 -0
  72. package/lib/FillDockContainer.d.ts.map +1 -0
  73. package/lib/FillDockContainer.js +80 -0
  74. package/lib/HorizontalDockContainer.d.ts +7 -0
  75. package/lib/HorizontalDockContainer.d.ts.map +1 -0
  76. package/lib/HorizontalDockContainer.js +9 -0
  77. package/lib/PanelContainer.d.ts +114 -0
  78. package/lib/PanelContainer.d.ts.map +1 -0
  79. package/lib/PanelContainer.js +517 -0
  80. package/lib/Point.d.ts +6 -0
  81. package/lib/Point.d.ts.map +1 -0
  82. package/lib/Point.js +8 -0
  83. package/lib/ResizableContainer.d.ts +56 -0
  84. package/lib/ResizableContainer.d.ts.map +1 -0
  85. package/lib/ResizableContainer.js +254 -0
  86. package/lib/ResizeHandle.d.ts +16 -0
  87. package/lib/ResizeHandle.d.ts.map +1 -0
  88. package/lib/ResizeHandle.js +58 -0
  89. package/lib/SplitterBar.d.ts +33 -0
  90. package/lib/SplitterBar.d.ts.map +1 -0
  91. package/lib/SplitterBar.js +137 -0
  92. package/lib/SplitterDockContainer.d.ts +36 -0
  93. package/lib/SplitterDockContainer.d.ts.map +1 -0
  94. package/lib/SplitterDockContainer.js +75 -0
  95. package/lib/SplitterPanel.d.ts +27 -0
  96. package/lib/SplitterPanel.d.ts.map +1 -0
  97. package/lib/SplitterPanel.js +195 -0
  98. package/lib/TabHandle.d.ts +56 -0
  99. package/lib/TabHandle.d.ts.map +1 -0
  100. package/lib/TabHandle.js +292 -0
  101. package/lib/TabHost.d.ts +47 -0
  102. package/lib/TabHost.d.ts.map +1 -0
  103. package/lib/TabHost.js +238 -0
  104. package/lib/TabPage.d.ts +20 -0
  105. package/lib/TabPage.d.ts.map +1 -0
  106. package/lib/TabPage.js +81 -0
  107. package/lib/UndockInitiator.d.ts +32 -0
  108. package/lib/UndockInitiator.d.ts.map +1 -0
  109. package/lib/UndockInitiator.js +152 -0
  110. package/lib/Utils.d.ts +15 -0
  111. package/lib/Utils.d.ts.map +1 -0
  112. package/lib/Utils.js +69 -0
  113. package/lib/VerticalDockContainer.d.ts +7 -0
  114. package/lib/VerticalDockContainer.d.ts.map +1 -0
  115. package/lib/VerticalDockContainer.js +9 -0
  116. package/lib/enums/PanelType.d.ts +5 -0
  117. package/lib/enums/PanelType.d.ts.map +1 -0
  118. package/lib/enums/PanelType.js +5 -0
  119. package/lib/enums/TabHostDirection.d.ts +7 -0
  120. package/lib/enums/TabHostDirection.d.ts.map +1 -0
  121. package/lib/enums/TabHostDirection.js +7 -0
  122. package/lib/enums/WheelTypes.d.ts +12 -0
  123. package/lib/enums/WheelTypes.d.ts.map +1 -0
  124. package/lib/enums/WheelTypes.js +14 -0
  125. package/lib/i18n/Defaults.d.ts +12 -0
  126. package/lib/i18n/Defaults.d.ts.map +1 -0
  127. package/lib/i18n/Defaults.js +9 -0
  128. package/lib/i18n/Localizer.d.ts +7 -0
  129. package/lib/i18n/Localizer.d.ts.map +1 -0
  130. package/lib/i18n/Localizer.js +16 -0
  131. package/lib/index.d.ts +33 -0
  132. package/lib/index.d.ts.map +1 -0
  133. package/lib/index.js +32 -0
  134. package/lib/interfaces/IDockContainer.d.ts +26 -0
  135. package/lib/interfaces/IDockContainer.d.ts.map +1 -0
  136. package/lib/interfaces/IDockContainer.js +1 -0
  137. package/lib/interfaces/IDockContainerWithSize.d.ts +6 -0
  138. package/lib/interfaces/IDockContainerWithSize.d.ts.map +1 -0
  139. package/lib/interfaces/IDockContainerWithSize.js +1 -0
  140. package/lib/interfaces/ILayoutEventListener.d.ts +27 -0
  141. package/lib/interfaces/ILayoutEventListener.d.ts.map +1 -0
  142. package/lib/interfaces/ILayoutEventListener.js +1 -0
  143. package/lib/interfaces/IMouseOrTouchEvent.d.ts +7 -0
  144. package/lib/interfaces/IMouseOrTouchEvent.d.ts.map +1 -0
  145. package/lib/interfaces/IMouseOrTouchEvent.js +1 -0
  146. package/lib/interfaces/INodeInfo.d.ts +8 -0
  147. package/lib/interfaces/INodeInfo.d.ts.map +1 -0
  148. package/lib/interfaces/INodeInfo.js +1 -0
  149. package/lib/interfaces/IPanelInfo.d.ts +10 -0
  150. package/lib/interfaces/IPanelInfo.d.ts.map +1 -0
  151. package/lib/interfaces/IPanelInfo.js +1 -0
  152. package/lib/interfaces/IRectangle.d.ts +7 -0
  153. package/lib/interfaces/IRectangle.d.ts.map +1 -0
  154. package/lib/interfaces/IRectangle.js +1 -0
  155. package/lib/interfaces/ISize.d.ts +5 -0
  156. package/lib/interfaces/ISize.d.ts.map +1 -0
  157. package/lib/interfaces/ISize.js +1 -0
  158. package/lib/interfaces/IState.d.ts +12 -0
  159. package/lib/interfaces/IState.d.ts.map +1 -0
  160. package/lib/interfaces/IState.js +1 -0
  161. package/lib/interfaces/IThickness.d.ts +7 -0
  162. package/lib/interfaces/IThickness.d.ts.map +1 -0
  163. package/lib/interfaces/IThickness.js +1 -0
  164. package/lib/webcomponent/DockSpawnTsWebcomponent.d.ts +35 -0
  165. package/lib/webcomponent/DockSpawnTsWebcomponent.d.ts.map +1 -0
  166. package/lib/webcomponent/DockSpawnTsWebcomponent.js +209 -0
  167. package/lib/webcomponent/styles.d.ts +5 -0
  168. package/lib/webcomponent/styles.d.ts.map +1 -0
  169. package/lib/webcomponent/styles.js +537 -0
  170. package/package.json +36 -0
  171. package/src/BrowserDialogHelper.ts +76 -0
  172. package/src/ContainerType.ts +6 -0
  173. package/src/Dialog.ts +253 -0
  174. package/src/DockConfig.ts +15 -0
  175. package/src/DockGraphDeserializer.ts +129 -0
  176. package/src/DockGraphSerializer.ts +53 -0
  177. package/src/DockLayoutEngine.ts +370 -0
  178. package/src/DockManager.ts +880 -0
  179. package/src/DockManagerContext.ts +16 -0
  180. package/src/DockModel.ts +12 -0
  181. package/src/DockNode.ts +81 -0
  182. package/src/DockWheel.ts +215 -0
  183. package/src/DockWheelItem.ts +41 -0
  184. package/src/DocumentManagerContainer.ts +39 -0
  185. package/src/DocumentTabPage.ts +35 -0
  186. package/src/DraggableContainer.ts +177 -0
  187. package/src/EventHandler.ts +17 -0
  188. package/src/FillDockContainer.ts +98 -0
  189. package/src/HorizontalDockContainer.ts +13 -0
  190. package/src/PanelContainer.ts +596 -0
  191. package/src/Point.ts +10 -0
  192. package/src/ResizableContainer.ts +293 -0
  193. package/src/ResizeHandle.ts +59 -0
  194. package/src/SplitterBar.ts +157 -0
  195. package/src/SplitterDockContainer.ts +95 -0
  196. package/src/SplitterPanel.ts +228 -0
  197. package/src/TabHandle.ts +347 -0
  198. package/src/TabHost.ts +267 -0
  199. package/src/TabPage.ts +98 -0
  200. package/src/UndockInitiator.ts +181 -0
  201. package/src/Utils.ts +85 -0
  202. package/src/VerticalDockContainer.ts +13 -0
  203. package/src/enums/PanelType.ts +4 -0
  204. package/src/enums/TabHostDirection.ts +6 -0
  205. package/src/enums/WheelTypes.ts +14 -0
  206. package/src/i18n/Defaults.ts +20 -0
  207. package/src/i18n/Localizer.ts +23 -0
  208. package/src/index.ts +32 -0
  209. package/src/interfaces/IDockContainer.ts +27 -0
  210. package/src/interfaces/IDockContainerWithSize.ts +6 -0
  211. package/src/interfaces/ILayoutEventListener.ts +28 -0
  212. package/src/interfaces/IMouseOrTouchEvent.ts +6 -0
  213. package/src/interfaces/INodeInfo.ts +8 -0
  214. package/src/interfaces/IPanelInfo.ts +10 -0
  215. package/src/interfaces/IRectangle.ts +6 -0
  216. package/src/interfaces/ISize.ts +4 -0
  217. package/src/interfaces/IState.ts +12 -0
  218. package/src/interfaces/IThickness.ts +6 -0
  219. package/src/webcomponent/DockSpawnTsWebcomponent.ts +248 -0
  220. package/src/webcomponent/styles.ts +544 -0
  221. package/tsconfig.json +74 -0
  222. package/tsconfig.tsbuildinfo +1 -0
package/.eslintrc.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "env": {
3
+ "browser": true,
4
+ "es2022": true
5
+ },
6
+ "extends": [
7
+ "google"
8
+ ],
9
+ "parserOptions": {
10
+ "ecmaVersion": 12,
11
+ "sourceType": "module"
12
+ },
13
+ "ignorePatterns": ["*.d.ts", "*.js"],
14
+ "rules": {
15
+ "indent": [
16
+ "error",
17
+ 2
18
+ ],
19
+ "max-len": [
20
+ "error",
21
+ 120
22
+ ],
23
+ "require-jsdoc": "off",
24
+ "spaced-comment": "off",
25
+ "linebreak-style": "off",
26
+ "no-unused-vars": "off",
27
+ "@typescript-eslint/no-unused-vars": "warn",
28
+ "curly": [
29
+ "error",
30
+ "multi-or-nest"
31
+ ],
32
+ "brace-style": [
33
+ "error",
34
+ "1tbs",
35
+ {
36
+ "allowSingleLine": true
37
+ }
38
+ ],
39
+ "block-spacing": 2,
40
+ "no-unused-vars": "off",
41
+ "@typescript-eslint/no-unused-vars": "warn"
42
+ },
43
+ "parser": "@typescript-eslint/parser",
44
+ "plugins": [
45
+ "@typescript-eslint"
46
+ ]
47
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,355 @@
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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2019 node-projects
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # dock-spawn-ts
2
+
3
+ A TypeScript Version of dock-spawn (see https://github.com/coderespawn/dock-spawn) with changes for Datagrok.
4
+ Changes:
5
+
6
+ - Webcomponent interacts properly with Vue's renderer
7
+ - Webcomponent emits proper events on panel closing
8
+ - Panels could not be turned into dialogs. They dock by "filling" strategy by default
9
+
10
+ [![NPM version](http://img.shields.io/npm/v/dock-spawn-ts.svg)](https://www.npmjs.com/package/dock-spawn-ts)
11
+ [![Downloads](https://img.shields.io/npm/dm/dock-spawn-ts.svg)](https://www.npmjs.com/package/dock-spawn-ts)
@@ -0,0 +1,19 @@
1
+ .dockspab-tab-handle-context-menu {
2
+ position: absolute;
3
+ z-index: 10000000;
4
+ background-color: white;
5
+ border: white;
6
+ border: black solid 2px;
7
+ padding: 5px;
8
+ }
9
+
10
+ .dockspab-tab-handle-context-menu>div {
11
+ cursor: pointer;
12
+ padding: 2px;
13
+ }
14
+
15
+ .dockspab-tab-handle-context-menu>div:hover {
16
+ background-color: gray;
17
+ cursor: pointer;
18
+ padding: 2px;
19
+ }
@@ -0,0 +1,190 @@
1
+ /************* Panel with title bar ************/
2
+ .panel-base {
3
+ }
4
+
5
+ .panel-titlebar {
6
+ background-color: #333;
7
+ pointer-events: auto;
8
+ }
9
+
10
+ .panel-titlebar-text {
11
+ font-weight: bold;
12
+ color:#aaa;
13
+ }
14
+
15
+ .panel-titlebar-button-close {
16
+ color:#aaa;
17
+ }
18
+
19
+ .panel-titlebar-button-close:hover {
20
+ color:red;
21
+ }
22
+
23
+ .panel-content {
24
+ /*background-color: #FFF;*/
25
+ overflow: auto;
26
+ }
27
+
28
+ .panel-content * {
29
+ }
30
+
31
+
32
+ .panel-element-content-container {
33
+ background-color: white;
34
+ }
35
+ /***************** Floating dialog box ****************/
36
+ .dialog-floating {
37
+ box-shadow: 5px 5px 20px #000;
38
+ pointer-events: none;
39
+ }
40
+
41
+ /************ Dragging decorator ************/
42
+
43
+ .draggable-dragging-active {
44
+ opacity: 0.95;
45
+ }
46
+
47
+ /************ Resize decorator ************/
48
+ .resize-handle {
49
+ pointer-events: auto;
50
+ }
51
+
52
+ .resize-handle-corner {
53
+ pointer-events: auto;
54
+ }
55
+
56
+ .resize-handle-e { }
57
+ .resize-handle-w { }
58
+ .resize-handle-s { }
59
+ .resize-handle-n { }
60
+ .resize-handle-ne { }
61
+ .resize-handle-nw { }
62
+ .resize-handle-se { }
63
+ .resize-handle-sw { }
64
+
65
+
66
+ /******************* Dock Manager ********************/
67
+ .dock-container {
68
+ background-color: #888;
69
+ }
70
+
71
+ .dock-container-fill {
72
+
73
+ }
74
+
75
+ /******************* Document Manager ********************/
76
+ .document-manager {
77
+ background-color: #666;
78
+ }
79
+
80
+
81
+
82
+ /**************************** Splitter *********************************/
83
+ .splitter-container-horizontal {
84
+ }
85
+
86
+ .splitter-container-vertical {
87
+ }
88
+
89
+ .splitbar-horizontal {
90
+ background-color: #000000;
91
+ }
92
+
93
+ .splitbar-horizontal:hover {
94
+ background-color: #5b636c;
95
+ }
96
+
97
+ .splitbar-horizontal:active {
98
+ background-color: #5b636c;
99
+ }
100
+
101
+ .splitbar-vertical {
102
+ background-color: #000000;
103
+ }
104
+
105
+ .splitbar-vertical:hover {
106
+ background-color: #5b636c;
107
+ }
108
+
109
+ .splitbar-vertical:active {
110
+ background-color: #5b636c;
111
+ }
112
+
113
+ .splitbar-horizontal-ghoust{
114
+ background-color: #ffcc00;
115
+ }
116
+ .splitbar-vertical-ghoust {
117
+ background-color: #ffcc00;
118
+ }
119
+
120
+
121
+ /*************************** Tab Host ********************************/
122
+ .dockspan-tab-host {
123
+ background-color: #fff;
124
+ }
125
+
126
+ .dockspan-tab-content {
127
+ background-color: #fff;
128
+ }
129
+
130
+ .dockspan-tab-content > * {
131
+ background-color: #fff;
132
+ }
133
+
134
+ /*.tab-content * {
135
+ margin: 0px;
136
+ }*/
137
+
138
+ .dockspan-tab-handle {
139
+ background-color: #808080;
140
+ color:#D5D5D5;
141
+ box-shadow: 0px 5px 20px #000;
142
+ }
143
+
144
+ .dockspan-tab-handle:hover {
145
+ background-color: #006729;
146
+ color:#fff;
147
+ }
148
+
149
+ .dockspan-tab-handle-selected {
150
+ background-color: #333;
151
+ color:#fff;
152
+ }
153
+
154
+ .dockspan-tab-handle-selected:hover {
155
+ background-color: #008749;
156
+ color:#fff;
157
+ }
158
+
159
+ .dockspan-tab-handle-text {
160
+ }
161
+
162
+ .dockspan-tab-handle-close-button {
163
+ }
164
+
165
+ .dockspan-tab-handle-close-button:hover {
166
+ color: red;
167
+ }
168
+
169
+ .dockspan-tab-handle-list-container {
170
+ background-color: #ffffff;
171
+ }
172
+
173
+ .dockspan-tab-handle-content-seperator {
174
+ background-color: #333;
175
+ }
176
+
177
+ .dockspan-tab-handle-content-seperator-active {
178
+ background-color: #008749;
179
+ }
180
+
181
+ .dockspan-tab-handle-active {
182
+ background-color: #008749;
183
+ }
184
+
185
+ .dockspan-panel-active {
186
+ background-color: #008749;
187
+ }
188
+ .dockspan-panel-titlebar-text-active {
189
+ color: white;
190
+ }