@mongodb-js/compass-aggregations 9.3.0 → 9.4.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.
Files changed (98) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/browser.js.LICENSE.txt +0 -6
  3. package/dist/index.css +34 -145
  4. package/dist/index.js +1 -22
  5. package/dist/index.js.LICENSE.txt +0 -6
  6. package/dist/src/components/atlas-stage-preview.d.ts +5 -0
  7. package/dist/src/components/atlas-stage-preview.d.ts.map +1 -0
  8. package/dist/src/components/create-view-modal/create-view-modal.d.ts +1 -1
  9. package/dist/src/components/create-view-modal/create-view-modal.d.ts.map +1 -1
  10. package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts +1 -1
  11. package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts.map +1 -1
  12. package/dist/src/components/input-workspace/input-workspace.d.ts.map +1 -1
  13. package/dist/src/components/pipeline/modals/confirm-import-pipeline.d.ts.map +1 -1
  14. package/dist/src/components/pipeline/modals/confirm-new-pipeline.d.ts.map +1 -1
  15. package/dist/src/components/pipeline/modals/import-pipeline.d.ts.map +1 -1
  16. package/dist/src/components/pipeline/pipeline.d.ts +4 -0
  17. package/dist/src/components/pipeline/pipeline.d.ts.map +1 -1
  18. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.d.ts.map +1 -1
  19. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts +2 -1
  20. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts.map +1 -1
  21. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.d.ts +6 -1
  22. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.d.ts.map +1 -1
  23. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-stages-preview.d.ts +13 -0
  24. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-stages-preview.d.ts.map +1 -0
  25. package/dist/src/components/pipeline-output-options-menu.d.ts +7 -0
  26. package/dist/src/components/pipeline-output-options-menu.d.ts.map +1 -0
  27. package/dist/src/components/pipeline-results-workspace/index.d.ts +1 -0
  28. package/dist/src/components/pipeline-results-workspace/index.d.ts.map +1 -1
  29. package/dist/src/components/pipeline-results-workspace/pipeline-results-header.d.ts +3 -0
  30. package/dist/src/components/pipeline-results-workspace/pipeline-results-header.d.ts.map +1 -1
  31. package/dist/src/components/pipeline-results-workspace/pipeline-results-list.d.ts +1 -0
  32. package/dist/src/components/pipeline-results-workspace/pipeline-results-list.d.ts.map +1 -1
  33. package/dist/src/components/pipeline-toolbar/index.d.ts +3 -0
  34. package/dist/src/components/pipeline-toolbar/index.d.ts.map +1 -1
  35. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-actions.d.ts.map +1 -1
  36. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-stages.d.ts.map +1 -1
  37. package/dist/src/components/pipeline-toolbar/pipeline-options/pipeline-collation.d.ts.map +1 -1
  38. package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts +3 -3
  39. package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts.map +1 -1
  40. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts.map +1 -1
  41. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-menus.d.ts +1 -1
  42. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-menus.d.ts.map +1 -1
  43. package/dist/src/components/resize-handle.d.ts +4 -0
  44. package/dist/src/components/resize-handle.d.ts.map +1 -0
  45. package/dist/src/components/saved-pipelines/saved-pipeline-card.d.ts +3 -1
  46. package/dist/src/components/saved-pipelines/saved-pipeline-card.d.ts.map +1 -1
  47. package/dist/src/components/saved-pipelines/saved-pipelines.d.ts.map +1 -1
  48. package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts.map +1 -1
  49. package/dist/src/components/stage/stage.d.ts.map +1 -1
  50. package/dist/src/components/stage-editor/stage-editor.d.ts +7 -2
  51. package/dist/src/components/stage-editor/stage-editor.d.ts.map +1 -1
  52. package/dist/src/components/stage-editor-toolbar/stage-editor-toolbar.d.ts.map +1 -1
  53. package/dist/src/components/stage-editor-toolbar/stage-operator-select.d.ts +16 -20
  54. package/dist/src/components/stage-editor-toolbar/stage-operator-select.d.ts.map +1 -1
  55. package/dist/src/components/stage-preview/stage-preview.d.ts.map +1 -1
  56. package/dist/src/modules/aggregation.d.ts.map +1 -1
  57. package/dist/src/modules/explain.d.ts.map +1 -1
  58. package/dist/src/modules/index.d.ts +8 -1
  59. package/dist/src/modules/index.d.ts.map +1 -1
  60. package/dist/src/modules/input-documents.d.ts.map +1 -1
  61. package/dist/src/modules/max-time-ms.d.ts.map +1 -1
  62. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts +3 -0
  63. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts.map +1 -1
  64. package/dist/src/modules/pipeline-builder/index.d.ts +8 -1
  65. package/dist/src/modules/pipeline-builder/index.d.ts.map +1 -1
  66. package/dist/src/modules/pipeline-builder/pipeline-builder.d.ts +8 -3
  67. package/dist/src/modules/pipeline-builder/pipeline-builder.d.ts.map +1 -1
  68. package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts.map +1 -1
  69. package/dist/src/modules/pipeline-builder/pipeline-parser/pipeline-parser.d.ts +3 -2
  70. package/dist/src/modules/pipeline-builder/pipeline-parser/pipeline-parser.d.ts.map +1 -1
  71. package/dist/src/modules/pipeline-builder/pipeline-parser/stage-parser.d.ts +12 -2
  72. package/dist/src/modules/pipeline-builder/pipeline-parser/stage-parser.d.ts.map +1 -1
  73. package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts +7 -6
  74. package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts.map +1 -1
  75. package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts +2 -0
  76. package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts.map +1 -1
  77. package/dist/src/modules/pipeline-builder/stage-editor.d.ts +7 -1
  78. package/dist/src/modules/pipeline-builder/stage-editor.d.ts.map +1 -1
  79. package/dist/src/modules/pipeline-builder/stage.d.ts +2 -2
  80. package/dist/src/modules/pipeline-builder/stage.d.ts.map +1 -1
  81. package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts +13 -0
  82. package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts.map +1 -0
  83. package/dist/src/modules/pipeline-builder/{text-editor.d.ts → text-editor-pipeline.d.ts} +16 -10
  84. package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts.map +1 -0
  85. package/dist/src/modules/saved-pipeline.d.ts.map +1 -1
  86. package/dist/src/modules/update-view.d.ts.map +1 -1
  87. package/dist/src/utils/cancellable-aggregation.d.ts.map +1 -1
  88. package/dist/src/utils/pipeline-storage.d.ts.map +1 -1
  89. package/dist/src/utils/stage.d.ts +8 -2
  90. package/dist/src/utils/stage.d.ts.map +1 -1
  91. package/package.json +22 -19
  92. package/dist/src/components/resize-handle/resize-handle.d.ts +0 -7
  93. package/dist/src/components/resize-handle/resize-handle.d.ts.map +0 -1
  94. package/dist/src/components/stage-editor-toolbar/select-option-with-tooltip/select-option-with-tooltip.d.ts +0 -14
  95. package/dist/src/components/stage-editor-toolbar/select-option-with-tooltip/select-option-with-tooltip.d.ts.map +0 -1
  96. package/dist/src/modules/pipeline-builder/text-editor.d.ts.map +0 -1
  97. package/dist/src/utils/cancellable-promise.d.ts +0 -10
  98. package/dist/src/utils/cancellable-promise.d.ts.map +0 -1
@@ -4,12 +4,6 @@ object-assign
4
4
  @license MIT
5
5
  */
6
6
 
7
- /*!
8
- Copyright (c) 2017 Jed Watson.
9
- Licensed under the MIT License (MIT), see
10
- http://jedwatson.github.io/react-select
11
- */
12
-
13
7
  /*!
14
8
  Copyright (c) 2018 Jed Watson.
15
9
  Licensed under the MIT License (MIT), see
package/dist/index.css CHANGED
@@ -1,17 +1,10 @@
1
- .import-pipeline-module-import-pipeline-note__vDPrD {
2
- color: #0498EC;
3
- background-color: #C3E7FE;
4
- border-radius: 5px;
5
- padding: 10px;
6
- margin-bottom: 10px;
7
- }
8
1
  .import-pipeline-module-import-pipeline-editor__2L-TC {
9
2
  flex-shrink: 0;
10
3
  position: relative;
11
4
  padding: 10px 0px 10px 0px;
12
5
  overflow: scroll;
13
- background: #F9FBFA;
14
- border-left: 2px solid #E8EDEB;
6
+ background: #f9fbfa;
7
+ border-left: 2px solid #e8edeb;
15
8
  min-height: 180px;
16
9
  max-height: 300px;
17
10
  }
@@ -22,21 +15,13 @@
22
15
  padding: 10px;
23
16
  border-radius: 3px;
24
17
  overflow: auto;
25
- background: #FF6960;
18
+ background: #ff6960;
26
19
  max-height: 100px;
27
- color: #F9FBFA;
20
+ color: #f9fbfa;
28
21
  font-size: x-small;
29
22
  font-weight: bold;
30
23
  }
31
24
 
32
- .confirm-import-pipeline-module-confirm-import-pipeline-note__3qDU3 {
33
- padding: 0px;
34
- }
35
-
36
- .confirm-new-pipeline-module-confirm-new-pipeline-note__2n2EL {
37
- padding: 0px;
38
- }
39
-
40
25
  .pipeline-module-pipeline__1nWUF {
41
26
  display: flex;
42
27
  flex-grow: 1;
@@ -63,13 +48,6 @@
63
48
  bottom: 0;
64
49
  }
65
50
 
66
- .resize-handle-module-resize-handle__1rugm {
67
- position: absolute;
68
- background: #E8EDEB;
69
- width: 1.1px;
70
- height: 100%;
71
- }
72
-
73
51
  .delete-stage-module-delete-stage__3PyCJ {
74
52
  margin-right: 6px;
75
53
  }
@@ -87,7 +65,7 @@
87
65
  }
88
66
 
89
67
  .stage-grabber-module-stage-grabber__1-8cr {
90
- color: #E8EDEB;
68
+ color: #e8edeb;
91
69
  margin: 3px 2px 0px 4px;
92
70
  position: relative;
93
71
  }
@@ -99,57 +77,9 @@
99
77
  width: 30px;
100
78
  }
101
79
 
102
- .select-option-with-tooltip-module-tooltip__3SVxp {
103
- max-width: 340px !important;
104
- }
105
- .select-option-with-tooltip-module-option__K2UZL {
106
- display: flex;
107
- align-items: center;
108
- }
109
- .select-option-with-tooltip-module-optionIcon__os9Dz {
110
- margin-left: auto;
111
- }
112
-
113
- .stage-operator-select-module-stage-operator-select__1eiQN {
114
- position: relative;
115
- width: 120px;
116
- height: 22px;
117
- margin: 0px 0px 0px 5px;
118
- }
119
- .stage-operator-select-module-stage-operator-select-control__LjhSK {
120
- position: relative;
121
- font-size: 12px !important;
122
- cursor: pointer;
123
- }
124
- .stage-operator-select-module-stage-operator-select-control__LjhSK .Select-control {
125
- height: 22px;
126
- }
127
- .stage-operator-select-module-stage-operator-select-control__LjhSK .Select-placeholder {
128
- line-height: 25px;
129
- }
130
- .stage-operator-select-module-stage-operator-select-control__LjhSK .Select-input {
131
- height: 18px;
132
- }
133
- .stage-operator-select-module-stage-operator-select-control__LjhSK .Select-arrow-zone {
134
- height: 22px;
135
- }
136
- .stage-operator-select-module-stage-operator-select-control__LjhSK .Select-arrow {
137
- margin-top: 8px;
138
- }
139
- .stage-operator-select-module-stage-operator-select-control__LjhSK .Select-value {
140
- line-height: 22px !important;
141
- font-weight: bold;
142
- }
143
- .stage-operator-select-module-stage-operator-select-control__LjhSK .Select-menu {
144
- height: 200px;
145
- }
146
- .stage-operator-select-module-stage-operator-select-control__LjhSK .Select-menu-outer {
147
- z-index: 2000 !important;
148
- }
149
-
150
80
  .stage-editor-toolbar-module-stage-editor-toolbar__2cwCK {
151
81
  width: 100%;
152
- border-bottom: 1px solid #E8EDEB;
82
+ border-bottom: 1px solid #e8edeb;
153
83
  border-radius: 4px 4px 0 0;
154
84
  padding: 10px 0;
155
85
  padding-right: 10px;
@@ -173,21 +103,7 @@
173
103
  align-items: center;
174
104
  }
175
105
  .stage-editor-toolbar-module-stage-editor-toolbar-errored__siGjE {
176
- background: #FFEAE5;
177
- }
178
- .stage-editor-toolbar-module-stage-editor-toolbar__2cwCK i.info-sprinkle {
179
- display: inline-block;
180
- font: normal normal normal 14px/1 FontAwesome;
181
- font-size: inherit;
182
- text-rendering: auto;
183
- -webkit-font-smoothing: antialiased;
184
- -moz-osx-font-smoothing: grayscale;
185
- margin: 0 5px;
186
- cursor: pointer;
187
- color: #C1C7C6;
188
- }
189
- .stage-editor-toolbar-module-stage-editor-toolbar__2cwCK i.info-sprinkle:before {
190
- content: "\f05a";
106
+ background: #ffeae5;
191
107
  }
192
108
  .stage-editor-toolbar-module-stage-editor-toolbar__2cwCK .stage-editor-toolbar-module-tooltip-icon__3szXX {
193
109
  margin-top: 6px;
@@ -204,8 +120,8 @@
204
120
  margin: 0;
205
121
  padding: 10px 0px 10px 0px;
206
122
  overflow: hidden;
207
- background: #F9FBFA;
208
- border-left: 2px solid #E8EDEB;
123
+ background: #f9fbfa;
124
+ border-left: 2px solid #e8edeb;
209
125
  width: 100%;
210
126
  min-height: 180px;
211
127
  }
@@ -216,8 +132,8 @@
216
132
  padding: 5px 10px;
217
133
  border-radius: 3px;
218
134
  overflow: hidden;
219
- background: #FFEAE5;
220
- border: 1px solid #FFCDC7;
135
+ background: #ffeae5;
136
+ border: 1px solid #ffcdc7;
221
137
  min-height: 20px;
222
138
  word-break: break-all;
223
139
  color: #970606;
@@ -231,11 +147,11 @@
231
147
  padding: 5px 10px;
232
148
  border-radius: 3px;
233
149
  overflow: hidden;
234
- background: #FEF7DB;
235
- border: 1px solid #FEF7DB;
150
+ background: #fef7db;
151
+ border: 1px solid #fef7db;
236
152
  min-height: 20px;
237
153
  word-break: break-all;
238
- color: #944F01;
154
+ color: #944f01;
239
155
  font-size: x-small;
240
156
  font-weight: bold;
241
157
  }
@@ -270,7 +186,7 @@
270
186
  }
271
187
  .loading-overlay-module-loading-overlay-box__1EYpR i {
272
188
  font-size: 20px;
273
- color: #00A35C;
189
+ color: #00a35c;
274
190
  }
275
191
 
276
192
  .stage-preview-module-stage-preview__37FlK {
@@ -293,17 +209,8 @@
293
209
  }
294
210
  .stage-preview-module-stage-preview-missing-search-support__18Jmm {
295
211
  display: flex;
296
- flex-direction: column;
297
- align-items: center;
212
+ flex: 1;
298
213
  justify-content: center;
299
- padding: 10px;
300
- margin: auto;
301
- }
302
- .stage-preview-module-stage-preview-missing-search-support-text__1XKhH {
303
- text-align: center;
304
- margin-top: 10px;
305
- margin-bottom: 20px;
306
- max-width: 400px;
307
214
  }
308
215
  .stage-preview-module-stage-preview-out__2kjVI {
309
216
  display: flex;
@@ -340,7 +247,7 @@
340
247
  }
341
248
  .stage-preview-module-stage-preview-document-card-container__sxM1s {
342
249
  flex: none;
343
- border: 1px solid #E8EDEB;
250
+ border: 1px solid #e8edeb;
344
251
  border-radius: 4px;
345
252
  box-shadow: 1px 1px 4px rgba(0, 30, 43, 0.1);
346
253
  width: 384px;
@@ -378,7 +285,7 @@
378
285
  padding-left: 25px;
379
286
  display: flex;
380
287
  align-items: center;
381
- border-bottom: 1px solid #E8EDEB;
288
+ border-bottom: 1px solid #e8edeb;
382
289
  border-radius: 4px 4px 0 0;
383
290
  }
384
291
  .stage-preview-toolbar-module-stage-preview-toolbar-link__q2ehc {
@@ -388,39 +295,21 @@
388
295
  background: none;
389
296
  }
390
297
  .stage-preview-toolbar-module-stage-preview-toolbar-errored__1JajO {
391
- background: #FFEAE5;
392
- }
393
- .stage-preview-toolbar-module-stage-preview-toolbar__2o0am i.info-sprinkle {
394
- display: inline-block;
395
- font: normal normal normal 14px/1 FontAwesome;
396
- font-size: inherit;
397
- text-rendering: auto;
398
- -webkit-font-smoothing: antialiased;
399
- -moz-osx-font-smoothing: grayscale;
400
- margin: 0 5px;
401
- cursor: pointer;
402
- color: #C1C7C6;
403
- }
404
- .stage-preview-toolbar-module-stage-preview-toolbar__2o0am i.info-sprinkle:before {
405
- content: "\f05a";
406
- }
407
- .stage-preview-toolbar-module-stage-preview-toolbar__2o0am #stage-tooltip {
408
- width: 300px;
409
- white-space: pre-wrap;
298
+ background: #ffeae5;
410
299
  }
411
300
 
412
301
  .stage-module-stage-container__ZDTxh .stage-module-stage__1YPPq {
413
302
  position: relative;
414
303
  margin: 0px 16px 16px 16px;
415
- border: 1px solid #E8EDEB;
304
+ border: 1px solid #e8edeb;
416
305
  border-radius: 4px;
417
- box-shadow: 1px 1px 1px #E8EDEB;
306
+ box-shadow: 1px 1px 1px #e8edeb;
418
307
  background: #ffffff;
419
308
  display: flex;
420
309
  flex-direction: row;
421
310
  }
422
311
  .stage-module-stage-container__ZDTxh .stage-module-stage-errored__mbJmP {
423
- border-color: #DB3030;
312
+ border-color: #db3030;
424
313
  }
425
314
  .stage-module-stage-editor-container__1LvRF {
426
315
  display: flex;
@@ -437,7 +326,7 @@
437
326
  }
438
327
  .stage-module-stage-resize-handle-wrapper__1UhOK:hover div div,
439
328
  .stage-module-stage-resize-handle-wrapper__1UhOK:active div div {
440
- background-color: #C1C7C6;
329
+ background-color: #c1c7c6;
441
330
  }
442
331
  .stage-module-stage-workspace__9LrbT {
443
332
  display: flex;
@@ -464,12 +353,12 @@
464
353
  .input-documents-count-module-input-documents-count-db__2xqQF {
465
354
  font-size: 12px;
466
355
  padding-left: 10px;
467
- color: #3D4F58;
356
+ color: #3d4f58;
468
357
  }
469
358
  .input-documents-count-module-input-documents-count-label__Q3Y3L {
470
359
  font-size: 12px;
471
360
  padding-left: 5px;
472
- color: #3D4F58;
361
+ color: #3d4f58;
473
362
  }
474
363
 
475
364
  .input-refresh-module-input-refresh__1jTIT {
@@ -492,19 +381,19 @@
492
381
  width: 100%;
493
382
  overflow: hidden;
494
383
  text-overflow: ellipsis;
495
- border-left: 1px solid #E8EDEB;
384
+ border-left: 1px solid #e8edeb;
496
385
  }
497
386
  .input-preview-toolbar-module-input-preview-toolbar-text__3gBhM {
498
387
  font-size: 12px;
499
388
  padding-left: 10px;
500
- color: #3D4F58;
389
+ color: #3d4f58;
501
390
  white-space: nowrap;
502
391
  overflow: hidden;
503
392
  text-overflow: ellipsis;
504
393
  }
505
394
 
506
395
  .input-toolbar-module-input-toolbar__32jT7 {
507
- border-bottom: 1px solid #E8EDEB;
396
+ border-bottom: 1px solid #e8edeb;
508
397
  display: flex;
509
398
  align-items: center;
510
399
  position: relative;
@@ -538,7 +427,7 @@
538
427
  }
539
428
  .input-preview-module-input-preview-document-card-container__3ko-A {
540
429
  flex: none;
541
- border: 1px solid #E8EDEB;
430
+ border: 1px solid #e8edeb;
542
431
  border-radius: 4px;
543
432
  box-shadow: 1px 1px 4px rgba(0, 30, 43, 0.1);
544
433
  width: 384px;
@@ -573,9 +462,9 @@
573
462
  .input-module-input__2mTmO {
574
463
  position: relative;
575
464
  margin: 0 16px 16px;
576
- border: 1px solid #E8EDEB;
465
+ border: 1px solid #e8edeb;
577
466
  border-radius: 4px;
578
- box-shadow: 1px 1px 1px #E8EDEB;
467
+ box-shadow: 1px 1px 1px #e8edeb;
579
468
  background: #ffffff;
580
469
  }
581
470
 
@@ -590,9 +479,9 @@
590
479
  justify-content: center;
591
480
  position: relative;
592
481
  margin: 0px 16px 0px;
593
- border: 1px solid #E8EDEB;
482
+ border: 1px solid #e8edeb;
594
483
  border-radius: 4px;
595
- box-shadow: 1px 1px 1px #E8EDEB;
484
+ box-shadow: 1px 1px 1px #e8edeb;
596
485
  background: #ffffff;
597
486
  width: 384px;
598
487
  }
@@ -622,7 +511,7 @@
622
511
  .aggregations-module-aggregations__12xcN {
623
512
  display: flex;
624
513
  align-items: flex-start;
625
- background-color: #F9FBFA;
514
+ background-color: #f9fbfa;
626
515
  position: relative;
627
516
  width: 100%;
628
517
  z-index: 0;