@mongodb-js/compass-aggregations 9.8.0 → 9.10.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 (234) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/src/components/add-stage/add-stage.d.ts +1 -1
  4. package/dist/src/components/add-stage/add-stage.d.ts.map +1 -1
  5. package/dist/src/components/add-stage/index.d.ts +1 -1
  6. package/dist/src/components/add-stage/index.d.ts.map +1 -1
  7. package/dist/src/components/aggregation-side-panel/feedback-link.d.ts +3 -0
  8. package/dist/src/components/aggregation-side-panel/feedback-link.d.ts.map +1 -0
  9. package/dist/src/components/aggregation-side-panel/index.d.ts +12 -0
  10. package/dist/src/components/aggregation-side-panel/index.d.ts.map +1 -0
  11. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/field-combobox.d.ts +21 -0
  12. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/field-combobox.d.ts.map +1 -0
  13. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/basic-group.d.ts +5 -0
  14. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/basic-group.d.ts.map +1 -0
  15. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-statistics.d.ts +15 -0
  16. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-statistics.d.ts.map +1 -0
  17. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-subset.d.ts +27 -0
  18. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-subset.d.ts.map +1 -0
  19. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/index.d.ts +18 -0
  20. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/index.d.ts.map +1 -0
  21. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/lookup/lookup.d.ts +18 -0
  22. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/lookup/lookup.d.ts.map +1 -0
  23. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-condition-form.d.ts +44 -0
  24. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-condition-form.d.ts.map +1 -0
  25. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-group-form.d.ts +29 -0
  26. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-group-form.d.ts.map +1 -0
  27. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match.d.ts +41 -0
  28. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match.d.ts.map +1 -0
  29. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/project/project.d.ts +16 -0
  30. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/project/project.d.ts.map +1 -0
  31. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/sort/sort.d.ts +5 -0
  32. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/sort/sort.d.ts.map +1 -0
  33. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-card.d.ts +12 -0
  34. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-card.d.ts.map +1 -0
  35. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/utils.d.ts +18 -0
  36. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/utils.d.ts.map +1 -0
  37. package/dist/src/components/aggregations/aggregations.d.ts +2 -2
  38. package/dist/src/components/aggregations/aggregations.d.ts.map +1 -1
  39. package/dist/src/components/aggregations/index.d.ts +2 -2
  40. package/dist/src/components/aggregations/index.d.ts.map +1 -1
  41. package/dist/src/components/create-view-modal/create-view-modal.d.ts +2 -2
  42. package/dist/src/components/create-view-modal/create-view-modal.d.ts.map +1 -1
  43. package/dist/src/components/create-view-modal/index.d.ts +2 -2
  44. package/dist/src/components/create-view-modal/index.d.ts.map +1 -1
  45. package/dist/src/components/create-view-plugin.d.ts +3 -3
  46. package/dist/src/components/create-view-plugin.d.ts.map +1 -1
  47. package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts +2 -2
  48. package/dist/src/components/duplicate-view-modal/duplicate-view-modal.d.ts.map +1 -1
  49. package/dist/src/components/duplicate-view-modal/index.d.ts +2 -2
  50. package/dist/src/components/duplicate-view-modal/index.d.ts.map +1 -1
  51. package/dist/src/components/duplicate-view-plugin.d.ts +2 -2
  52. package/dist/src/components/duplicate-view-plugin.d.ts.map +1 -1
  53. package/dist/src/components/focus-mode/focus-mode-modal-header.d.ts +6 -2
  54. package/dist/src/components/focus-mode/focus-mode-modal-header.d.ts.map +1 -1
  55. package/dist/src/components/focus-mode/focus-mode-stage-editor.d.ts.map +1 -1
  56. package/dist/src/components/focus-mode/focus-mode-stage-preview.d.ts +1 -1
  57. package/dist/src/components/focus-mode/focus-mode-stage-preview.d.ts.map +1 -1
  58. package/dist/src/components/focus-mode/focus-mode.d.ts +1 -1
  59. package/dist/src/components/focus-mode/focus-mode.d.ts.map +1 -1
  60. package/dist/src/components/loading-overlay/index.d.ts +1 -1
  61. package/dist/src/components/loading-overlay/index.d.ts.map +1 -1
  62. package/dist/src/components/loading-overlay/loading-overlay.d.ts +1 -1
  63. package/dist/src/components/loading-overlay/loading-overlay.d.ts.map +1 -1
  64. package/dist/src/components/modify-source-banner/index.d.ts +1 -1
  65. package/dist/src/components/modify-source-banner/index.d.ts.map +1 -1
  66. package/dist/src/components/modify-source-banner/modify-source-banner.d.ts +1 -1
  67. package/dist/src/components/modify-source-banner/modify-source-banner.d.ts.map +1 -1
  68. package/dist/src/components/pipeline/index.d.ts +1 -1
  69. package/dist/src/components/pipeline/index.d.ts.map +1 -1
  70. package/dist/src/components/pipeline/pipeline.d.ts +2 -2
  71. package/dist/src/components/pipeline/pipeline.d.ts.map +1 -1
  72. package/dist/src/components/pipeline-builder-input-documents.d.ts +1 -1
  73. package/dist/src/components/pipeline-builder-input-documents.d.ts.map +1 -1
  74. package/dist/src/components/pipeline-builder-workspace/index.d.ts +11 -2
  75. package/dist/src/components/pipeline-builder-workspace/index.d.ts.map +1 -1
  76. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.d.ts +1 -1
  77. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.d.ts.map +1 -1
  78. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts +1 -1
  79. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-editor.d.ts.map +1 -1
  80. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.d.ts +1 -1
  81. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-preview.d.ts.map +1 -1
  82. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-stages-preview.d.ts +1 -1
  83. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/pipeline-stages-preview.d.ts.map +1 -1
  84. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/dnd-wrapper.d.ts +8 -0
  85. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/dnd-wrapper.d.ts.map +1 -0
  86. package/dist/src/components/pipeline-builder-workspace/{pipeline-builder-ui-workspace.d.ts → pipeline-builder-ui-workspace/index.d.ts} +6 -3
  87. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.d.ts.map +1 -0
  88. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list.d.ts +15 -0
  89. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list.d.ts.map +1 -0
  90. package/dist/src/components/pipeline-output-options-menu.d.ts +1 -1
  91. package/dist/src/components/pipeline-output-options-menu.d.ts.map +1 -1
  92. package/dist/src/components/pipeline-results-workspace/index.d.ts +1 -1
  93. package/dist/src/components/pipeline-results-workspace/index.d.ts.map +1 -1
  94. package/dist/src/components/pipeline-results-workspace/pipeline-pagination-count.d.ts +1 -1
  95. package/dist/src/components/pipeline-results-workspace/pipeline-pagination-count.d.ts.map +1 -1
  96. package/dist/src/components/pipeline-results-workspace/pipeline-pagination.d.ts +1 -1
  97. package/dist/src/components/pipeline-results-workspace/pipeline-pagination.d.ts.map +1 -1
  98. package/dist/src/components/pipeline-results-workspace/pipeline-results-header.d.ts +1 -1
  99. package/dist/src/components/pipeline-results-workspace/pipeline-results-header.d.ts.map +1 -1
  100. package/dist/src/components/pipeline-results-workspace/pipeline-results-list.d.ts +1 -1
  101. package/dist/src/components/pipeline-results-workspace/pipeline-results-list.d.ts.map +1 -1
  102. package/dist/src/components/pipeline-toolbar/index.d.ts +1 -1
  103. package/dist/src/components/pipeline-toolbar/index.d.ts.map +1 -1
  104. package/dist/src/components/pipeline-toolbar/pipeline-header/index.d.ts +1 -1
  105. package/dist/src/components/pipeline-toolbar/pipeline-header/index.d.ts.map +1 -1
  106. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-actions.d.ts +1 -1
  107. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-actions.d.ts.map +1 -1
  108. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-stages.d.ts +1 -1
  109. package/dist/src/components/pipeline-toolbar/pipeline-header/pipeline-stages.d.ts.map +1 -1
  110. package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts +1 -1
  111. package/dist/src/components/pipeline-toolbar/pipeline-settings/index.d.ts.map +1 -1
  112. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts +3 -1
  113. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts.map +1 -1
  114. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-menus.d.ts +1 -1
  115. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-menus.d.ts.map +1 -1
  116. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-name.d.ts +1 -1
  117. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-name.d.ts.map +1 -1
  118. package/dist/src/components/saved-pipelines/saved-pipeline-card.d.ts +1 -1
  119. package/dist/src/components/saved-pipelines/saved-pipeline-card.d.ts.map +1 -1
  120. package/dist/src/components/saved-pipelines/saved-pipelines.d.ts +1 -1
  121. package/dist/src/components/saved-pipelines/saved-pipelines.d.ts.map +1 -1
  122. package/dist/src/components/saving-pipeline-modal/index.d.ts +1 -1
  123. package/dist/src/components/saving-pipeline-modal/index.d.ts.map +1 -1
  124. package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts +2 -2
  125. package/dist/src/components/saving-pipeline-modal/saving-pipeline-modal.d.ts.map +1 -1
  126. package/dist/src/components/settings/settings.d.ts +1 -1
  127. package/dist/src/components/settings/settings.d.ts.map +1 -1
  128. package/dist/src/components/stage-editor/index.d.ts +1 -1
  129. package/dist/src/components/stage-editor/index.d.ts.map +1 -1
  130. package/dist/src/components/stage-editor/stage-editor.d.ts +10 -7
  131. package/dist/src/components/stage-editor/stage-editor.d.ts.map +1 -1
  132. package/dist/src/components/stage-preview/index.d.ts +1 -1
  133. package/dist/src/components/stage-preview/index.d.ts.map +1 -1
  134. package/dist/src/components/stage-preview/output-stage-preview.d.ts +1 -1
  135. package/dist/src/components/stage-preview/output-stage-preview.d.ts.map +1 -1
  136. package/dist/src/components/stage-preview/stage-preview-header.d.ts +1 -1
  137. package/dist/src/components/stage-preview/stage-preview-header.d.ts.map +1 -1
  138. package/dist/src/components/stage-toolbar/index.d.ts +6 -8
  139. package/dist/src/components/stage-toolbar/index.d.ts.map +1 -1
  140. package/dist/src/components/stage-toolbar/option-menu.d.ts.map +1 -1
  141. package/dist/src/components/stage-toolbar/stage-collapser.d.ts.map +1 -1
  142. package/dist/src/components/stage-toolbar/stage-operator-select.d.ts +15 -21
  143. package/dist/src/components/stage-toolbar/stage-operator-select.d.ts.map +1 -1
  144. package/dist/src/components/stage-toolbar/toggle-stage.d.ts.map +1 -1
  145. package/dist/src/components/stage-wizard/index.d.ts +24 -0
  146. package/dist/src/components/stage-wizard/index.d.ts.map +1 -0
  147. package/dist/src/components/stage.d.ts +6 -3
  148. package/dist/src/components/stage.d.ts.map +1 -1
  149. package/dist/src/components/use-case-droppable-area/index.d.ts +11 -0
  150. package/dist/src/components/use-case-droppable-area/index.d.ts.map +1 -0
  151. package/dist/src/components/use-guide-cue.d.ts +15 -0
  152. package/dist/src/components/use-guide-cue.d.ts.map +1 -0
  153. package/dist/src/modules/aggregation.d.ts +10 -10
  154. package/dist/src/modules/aggregation.d.ts.map +1 -1
  155. package/dist/src/modules/auto-preview.d.ts +1 -1
  156. package/dist/src/modules/auto-preview.d.ts.map +1 -1
  157. package/dist/src/modules/collation-string.d.ts +2 -2
  158. package/dist/src/modules/collation-string.d.ts.map +1 -1
  159. package/dist/src/modules/collections-fields.d.ts +41 -0
  160. package/dist/src/modules/collections-fields.d.ts.map +1 -0
  161. package/dist/src/modules/count-documents.d.ts +5 -5
  162. package/dist/src/modules/count-documents.d.ts.map +1 -1
  163. package/dist/src/modules/create-view/index.d.ts +7 -7
  164. package/dist/src/modules/create-view/index.d.ts.map +1 -1
  165. package/dist/src/modules/data-service.d.ts +1 -1
  166. package/dist/src/modules/data-service.d.ts.map +1 -1
  167. package/dist/src/modules/explain.d.ts +1 -55
  168. package/dist/src/modules/explain.d.ts.map +1 -1
  169. package/dist/src/modules/focus-mode.d.ts +3 -3
  170. package/dist/src/modules/focus-mode.d.ts.map +1 -1
  171. package/dist/src/modules/index.d.ts +10 -6
  172. package/dist/src/modules/index.d.ts.map +1 -1
  173. package/dist/src/modules/input-documents.d.ts +4 -4
  174. package/dist/src/modules/input-documents.d.ts.map +1 -1
  175. package/dist/src/modules/is-datalake.d.ts +1 -1
  176. package/dist/src/modules/is-datalake.d.ts.map +1 -1
  177. package/dist/src/modules/max-time-ms.d.ts +1 -1
  178. package/dist/src/modules/max-time-ms.d.ts.map +1 -1
  179. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts +1 -1
  180. package/dist/src/modules/pipeline-builder/builder-helpers.d.ts.map +1 -1
  181. package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts +3 -3
  182. package/dist/src/modules/pipeline-builder/pipeline-mode.d.ts.map +1 -1
  183. package/dist/src/modules/pipeline-builder/pipeline-parser/pipeline-parser.d.ts +2 -2
  184. package/dist/src/modules/pipeline-builder/pipeline-parser/pipeline-parser.d.ts.map +1 -1
  185. package/dist/src/modules/pipeline-builder/pipeline-parser/stage-parser.d.ts +1 -1
  186. package/dist/src/modules/pipeline-builder/pipeline-parser/stage-parser.d.ts.map +1 -1
  187. package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts +2 -1
  188. package/dist/src/modules/pipeline-builder/pipeline-parser/utils.d.ts.map +1 -1
  189. package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts +3 -1
  190. package/dist/src/modules/pipeline-builder/pipeline-preview-manager.d.ts.map +1 -1
  191. package/dist/src/modules/pipeline-builder/stage-editor.d.ts +91 -34
  192. package/dist/src/modules/pipeline-builder/stage-editor.d.ts.map +1 -1
  193. package/dist/src/modules/pipeline-builder/stage-ids.d.ts +2 -0
  194. package/dist/src/modules/pipeline-builder/stage-ids.d.ts.map +1 -0
  195. package/dist/src/modules/pipeline-builder/stage.d.ts.map +1 -1
  196. package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts +1 -1
  197. package/dist/src/modules/pipeline-builder/text-editor-output-stage.d.ts.map +1 -1
  198. package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts +6 -6
  199. package/dist/src/modules/pipeline-builder/text-editor-pipeline.d.ts.map +1 -1
  200. package/dist/src/modules/saved-pipeline.d.ts +1 -1
  201. package/dist/src/modules/saved-pipeline.d.ts.map +1 -1
  202. package/dist/src/modules/settings.d.ts +1 -1
  203. package/dist/src/modules/settings.d.ts.map +1 -1
  204. package/dist/src/modules/side-panel.d.ts +15 -0
  205. package/dist/src/modules/side-panel.d.ts.map +1 -0
  206. package/dist/src/modules/update-view.d.ts.map +1 -1
  207. package/dist/src/modules/workspace.d.ts +4 -4
  208. package/dist/src/modules/workspace.d.ts.map +1 -1
  209. package/dist/src/plugin.d.ts +3 -3
  210. package/dist/src/plugin.d.ts.map +1 -1
  211. package/dist/src/stores/store.d.ts +9 -3
  212. package/dist/src/stores/store.d.ts.map +1 -1
  213. package/dist/src/utils/get-schema.d.ts +9 -0
  214. package/dist/src/utils/get-schema.d.ts.map +1 -0
  215. package/dist/src/utils/local-storage.d.ts +2 -2
  216. package/dist/src/utils/local-storage.d.ts.map +1 -1
  217. package/dist/src/utils/pipeline-storage.d.ts +1 -1
  218. package/dist/src/utils/pipeline-storage.d.ts.map +1 -1
  219. package/dist/src/utils/stage.d.ts +1 -1
  220. package/dist/src/utils/stage.d.ts.map +1 -1
  221. package/package.json +38 -40
  222. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace.d.ts.map +0 -1
  223. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-workspace.d.ts +0 -12
  224. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-workspace.d.ts.map +0 -1
  225. package/dist/src/components/pipeline-explain/explain-indexes.d.ts +0 -8
  226. package/dist/src/components/pipeline-explain/explain-indexes.d.ts.map +0 -1
  227. package/dist/src/components/pipeline-explain/explain-query-performance.d.ts +0 -10
  228. package/dist/src/components/pipeline-explain/explain-query-performance.d.ts.map +0 -1
  229. package/dist/src/components/pipeline-explain/explain-results.d.ts +0 -9
  230. package/dist/src/components/pipeline-explain/explain-results.d.ts.map +0 -1
  231. package/dist/src/components/pipeline-explain/index.d.ts +0 -17
  232. package/dist/src/components/pipeline-explain/index.d.ts.map +0 -1
  233. package/dist/src/modules/indexes.d.ts +0 -22
  234. package/dist/src/modules/indexes.d.ts.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type AddStageProps = {
2
+ export type AddStageProps = {
3
3
  variant: 'button' | 'icon';
4
4
  onAddStage: () => void;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"add-stage.d.ts","sourceRoot":"","sources":["../../../../src/components/add-stage/add-stage.tsx"],"names":[],"mappings":";AA6BA,aAAK,aAAa,GAAG;IACnB,OAAO,EAAE,QAAQ,GAAG,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,QAAQ,4BAA6B,aAAa,gBAkC9D,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"add-stage.d.ts","sourceRoot":"","sources":["../../../../src/components/add-stage/add-stage.tsx"],"names":[],"mappings":";AAmBA,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,QAAQ,GAAG,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,QAAQ,4BAA6B,aAAa,gBAgC9D,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export default AddStage;
2
- import AddStage from "./add-stage";
2
+ import AddStage from './add-stage';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/add-stage/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/add-stage/index.js"],"names":[],"mappings":";qBAAqB,aAAa"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const FeedbackLink: () => JSX.Element;
3
+ //# sourceMappingURL=feedback-link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feedback-link.d.ts","sourceRoot":"","sources":["../../../../src/components/aggregation-side-panel/feedback-link.tsx"],"names":[],"mappings":";AAiBA,eAAO,MAAM,YAAY,mBAWxB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ type AggregationSidePanelProps = {
3
+ onSelectUseCase: (id: string, stageOperator: string) => void;
4
+ onCloseSidePanel: () => void;
5
+ };
6
+ export declare const AggregationSidePanel: ({ onCloseSidePanel, onSelectUseCase, }: AggregationSidePanelProps) => JSX.Element;
7
+ declare const _default: import("react-redux").ConnectedComponent<({ onCloseSidePanel, onSelectUseCase, }: AggregationSidePanelProps) => JSX.Element, {
8
+ context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
9
+ store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
10
+ }>;
11
+ export default _default;
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/aggregation-side-panel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAsE9D,KAAK,yBAAyB,GAAG;IAC/B,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7D,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,oBAAoB,2CAG9B,yBAAyB,gBAgH3B,CAAC;;;;;AAEF,wBAGyB"}
@@ -0,0 +1,21 @@
1
+ import { ComboboxWithCustomOption } from '@mongodb-js/compass-components';
2
+ import type { ComponentProps } from 'react';
3
+ import type { WizardComponentProps } from '.';
4
+ export declare const SINGLE_SELECT_LABEL = "Select a field";
5
+ export declare const MULTI_SELECT_LABEL = "Select fields";
6
+ type CustomComboboxProps = ComponentProps<typeof ComboboxWithCustomOption>;
7
+ export declare const getParentPaths: (paths: string[], excluding?: string[]) => string[];
8
+ export declare const isOptionDisabled: (selectedOptions: string[], option: string) => boolean;
9
+ export declare const FieldCombobox: ({ fields: schemaFields, multiselect, "aria-label": ariaLabel, placeholder, isRelatedFieldDisabled, value, ...props }: Partial<import("@mongodb-js/compass-components/lib/components/combobox/Combobox.types").ComboboxProps<boolean> & {
10
+ options: {
11
+ value: string;
12
+ }[];
13
+ renderOption: (option: {
14
+ value: string;
15
+ }, index: number, isCustom: boolean) => JSX.Element;
16
+ }> & {
17
+ fields: WizardComponentProps['fields'];
18
+ isRelatedFieldDisabled?: boolean | undefined;
19
+ }) => JSX.Element;
20
+ export {};
21
+ //# sourceMappingURL=field-combobox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field-combobox.d.ts","sourceRoot":"","sources":["../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/field-combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EAEzB,MAAM,gCAAgC,CAAC;AAExC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,GAAG,CAAC;AAE9C,eAAO,MAAM,mBAAmB,mBAAmB,CAAC;AACpD,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAElD,KAAK,mBAAmB,GAAG,cAAc,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAK3E,eAAO,MAAM,cAAc,UAAW,MAAM,EAAE,cAAa,MAAM,EAAE,aAUlE,CAAC;AAEF,eAAO,MAAM,gBAAgB,oBAAqB,MAAM,EAAE,UAAU,MAAM,YAmBzE,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;YAShB,oBAAoB,CAAC,QAAQ,CAAC;;iBA2CvC,CAAC"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import type { WizardComponentProps } from '..';
3
+ export declare const BasicGroup: ({ fields, onChange }: WizardComponentProps) => JSX.Element;
4
+ export default BasicGroup;
5
+ //# sourceMappingURL=basic-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"basic-group.d.ts","sourceRoot":"","sources":["../../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/group/basic-group.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAiB/C,eAAO,MAAM,UAAU,yBAA0B,oBAAoB,gBAwBpE,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import type { WizardComponentProps } from '..';
3
+ type GroupOwnProps = WizardComponentProps;
4
+ type MapStateProps = {
5
+ serverVersion: string;
6
+ };
7
+ export declare const GroupWithStatistics: ({ fields, serverVersion, onChange, }: GroupOwnProps & MapStateProps) => JSX.Element;
8
+ declare const _default: import("react-redux").ConnectedComponent<({ fields, serverVersion, onChange, }: WizardComponentProps & MapStateProps) => JSX.Element, {
9
+ onChange: (value: string, validationError: Error | null) => void;
10
+ fields: import("..").StageWizardFields;
11
+ context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
12
+ store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
13
+ }>;
14
+ export default _default;
15
+ //# sourceMappingURL=group-with-statistics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group-with-statistics.d.ts","sourceRoot":"","sources":["../../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-statistics.tsx"],"names":[],"mappings":"AAQA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAYjD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AA6E/C,KAAK,aAAa,GAAG,oBAAoB,CAAC;AAC1C,KAAK,aAAa,GAAG;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC;AA0I/C,eAAO,MAAM,mBAAmB,yCAI7B,aAAa,GAAG,aAAa,gBAmD/B,CAAC;;;;;;;AAEF,wBAEyB"}
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import type { Document } from 'mongodb';
3
+ import type { SortDirection } from '../utils';
4
+ import type { WizardComponentProps } from '..';
5
+ export type GroupWithSubsetFormData = {
6
+ groupFields: string[];
7
+ projectFields: string[];
8
+ accumulator: string;
9
+ numberOfRecords: number;
10
+ sortFields: string[];
11
+ sortDirection: SortDirection;
12
+ };
13
+ export declare const mapGroupFormStateToStageValue: (data: GroupWithSubsetFormData) => Document;
14
+ export declare const getValidationError: (data: GroupWithSubsetFormData) => Error | null;
15
+ export declare const GroupWithSubset: ({ fields, serverVersion, onChange, }: WizardComponentProps & {
16
+ serverVersion: string;
17
+ }) => JSX.Element;
18
+ declare const _default: import("react-redux").ConnectedComponent<({ fields, serverVersion, onChange, }: WizardComponentProps & {
19
+ serverVersion: string;
20
+ }) => JSX.Element, {
21
+ onChange: (value: string, validationError: Error | null) => void;
22
+ fields: import("..").StageWizardFields;
23
+ context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
24
+ store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
25
+ }>;
26
+ export default _default;
27
+ //# sourceMappingURL=group-with-subset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group-with-subset.d.ts","sourceRoot":"","sources":["../../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-subset.tsx"],"names":[],"mappings":"AAQA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAGjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAOxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAkG/C,MAAM,MAAM,uBAAuB,GAAG;IACpC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAGF,eAAO,MAAM,6BAA6B,SAClC,uBAAuB,KAC5B,QA4DF,CAAC;AAGF,eAAO,MAAM,kBAAkB,SAAU,uBAAuB,iBAmB/D,CAAC;AAEF,eAAO,MAAM,eAAe;mBAIe,MAAM;iBAgJhD,CAAC;;;;;;;;;AAEF,wBAEqB"}
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import UseCaseCard from './use-case-card';
3
+ import type { FieldSchema } from '../../../utils/get-schema';
4
+ export type StageWizardFields = FieldSchema[];
5
+ export type WizardComponentProps = {
6
+ fields: StageWizardFields;
7
+ onChange: (value: string, validationError: Error | null) => void;
8
+ };
9
+ export type StageWizardUseCase = {
10
+ id: string;
11
+ title: string;
12
+ stageOperator: string;
13
+ wizardComponent: React.FunctionComponent<WizardComponentProps>;
14
+ serverVersion?: string;
15
+ };
16
+ export declare const STAGE_WIZARD_USE_CASES: StageWizardUseCase[];
17
+ export { UseCaseCard };
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/index.ts"],"names":[],"mappings":";AAAA,OAAO,WAAW,MAAM,iBAAiB,CAAC;AAQ1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE7D,MAAM,MAAM,iBAAiB,GAAG,WAAW,EAAE,CAAC;AAE9C,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE,iBAAiB,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;CAClE,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,CAAC;IAC/D,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,kBAAkB,EA6CtD,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import type { CollectionData } from '../../../../modules/collections-fields';
3
+ import type { WizardComponentProps } from '..';
4
+ type LookupOwnProps = WizardComponentProps;
5
+ type MappedProps = {
6
+ collectionsFields: Record<string, CollectionData>;
7
+ onSelectCollection: (collection: string) => void;
8
+ };
9
+ type LookupProps = LookupOwnProps & MappedProps;
10
+ export declare const LookupForm: ({ fields, collectionsFields, onSelectCollection, onChange, }: LookupProps) => JSX.Element;
11
+ declare const _default: import("react-redux").ConnectedComponent<({ fields, collectionsFields, onSelectCollection, onChange, }: LookupProps) => JSX.Element, {
12
+ onChange: (value: string, validationError: Error | null) => void;
13
+ fields: import("..").StageWizardFields;
14
+ context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
15
+ store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
16
+ }>;
17
+ export default _default;
18
+ //# sourceMappingURL=lookup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookup.d.ts","sourceRoot":"","sources":["../../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/lookup/lookup.tsx"],"names":[],"mappings":"AASA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAI9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAiC/C,KAAK,cAAc,GAAG,oBAAoB,CAAC;AAC3C,KAAK,WAAW,GAAG;IACjB,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAClD,kBAAkB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAClD,CAAC;AACF,KAAK,WAAW,GAAG,cAAc,GAAG,WAAW,CAAC;AAEhD,eAAO,MAAM,UAAU,iEAKpB,WAAW,gBAmIb,CAAC;;;;;;;AAEF,wBAOc"}
@@ -0,0 +1,44 @@
1
+ /// <reference types="react" />
2
+ import type { MatchCondition } from './match';
3
+ import type { WizardComponentProps } from '..';
4
+ export type MatchConditionFormProps = {
5
+ fields: WizardComponentProps['fields'];
6
+ condition: MatchCondition;
7
+ onConditionChange: (newCondition: MatchCondition) => void;
8
+ };
9
+ export type CreateConditionFn = (condition?: Partial<MatchCondition>) => MatchCondition;
10
+ export declare const LABELS: {
11
+ operatorSelect: string;
12
+ valueInput: string;
13
+ typeSelect: string;
14
+ addBtn: string;
15
+ removeBtn: string;
16
+ };
17
+ export declare const TEST_IDS: {
18
+ condition: (id: number) => string;
19
+ };
20
+ export declare const makeCreateCondition: () => CreateConditionFn;
21
+ export declare const createCondition: CreateConditionFn;
22
+ declare const MATCH_OPERATOR_LABELS: readonly [{
23
+ readonly operator: "$eq";
24
+ readonly label: "=";
25
+ }, {
26
+ readonly operator: "$ne";
27
+ readonly label: "!=";
28
+ }, {
29
+ readonly operator: "$gt";
30
+ readonly label: ">";
31
+ }, {
32
+ readonly operator: "$gte";
33
+ readonly label: ">=";
34
+ }, {
35
+ readonly operator: "$lt";
36
+ readonly label: "<";
37
+ }, {
38
+ readonly operator: "$lte";
39
+ readonly label: "<=";
40
+ }];
41
+ export type MatchOperator = typeof MATCH_OPERATOR_LABELS[number]['operator'];
42
+ declare const MatchConditionForm: ({ fields, condition, onConditionChange, }: MatchConditionFormProps) => JSX.Element;
43
+ export default MatchConditionForm;
44
+ //# sourceMappingURL=match-condition-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"match-condition-form.d.ts","sourceRoot":"","sources":["../../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-condition-form.tsx"],"names":[],"mappings":";AAUA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAI/C,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,oBAAoB,CAAC,QAAQ,CAAC,CAAC;IACvC,SAAS,EAAE,cAAc,CAAC;IAC1B,iBAAiB,EAAE,CAAC,YAAY,EAAE,cAAc,KAAK,IAAI,CAAC;CAC3D,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAC9B,SAAS,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,KAChC,cAAc,CAAC;AAGpB,eAAO,MAAM,MAAM;;;;;;CAMlB,CAAC;AAEF,eAAO,MAAM,QAAQ;oBACH,MAAM;CACvB,CAAC;AAOF,eAAO,MAAM,mBAAmB,QAAO,iBAYtC,CAAC;AAEF,eAAO,MAAM,eAAe,mBAAwB,CAAC;AAqBrD,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;EAyBjB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,OAAO,qBAAqB,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC;AAc7E,QAAA,MAAM,kBAAkB,8CAIrB,uBAAuB,gBAwFzB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,29 @@
1
+ /// <reference types="react" />
2
+ import type { CreateConditionFn } from './match-condition-form';
3
+ import type { WizardComponentProps } from '..';
4
+ import type { MatchGroup } from './match';
5
+ export type MatchGroupFormProps = {
6
+ fields: WizardComponentProps['fields'];
7
+ group: MatchGroup;
8
+ nestingLevel: number;
9
+ nestingDepth: number;
10
+ onGroupChange: (changedGroup: MatchGroup) => void;
11
+ onGroupRemoved?: () => void;
12
+ };
13
+ export type CreateGroupFn = (group?: Partial<MatchGroup>) => MatchGroup;
14
+ export declare const LABELS: {
15
+ operatorSelect: string;
16
+ };
17
+ export declare const TEST_IDS: {
18
+ container: (id: number) => string;
19
+ operatorSelect: (id: number) => string;
20
+ addNestedGroupBtn: (id: number) => string;
21
+ removeGroupBtn: (id: number) => string;
22
+ addConditionBtn: () => string;
23
+ removeConditionBtn: () => string;
24
+ };
25
+ export declare const makeCreateGroup: (createCondition: CreateConditionFn) => CreateGroupFn;
26
+ export declare const createGroup: CreateGroupFn;
27
+ declare const MatchGroupForm: ({ fields, group, nestingLevel, nestingDepth, onGroupChange, onGroupRemoved, }: MatchGroupFormProps) => JSX.Element;
28
+ export default MatchGroupForm;
29
+ //# sourceMappingURL=match-group-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"match-group-form.d.ts","sourceRoot":"","sources":["../../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-group-form.tsx"],"names":[],"mappings":";AAiBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAC/C,OAAO,KAAK,EAAmC,UAAU,EAAE,MAAM,SAAS,CAAC;AAG3E,MAAM,MAAM,mBAAmB,GAAG;IAIhC,MAAM,EAAE,oBAAoB,CAAC,QAAQ,CAAC,CAAC;IAKvC,KAAK,EAAE,UAAU,CAAC;IAKlB,YAAY,EAAE,MAAM,CAAC;IAMrB,YAAY,EAAE,MAAM,CAAC;IAKrB,aAAa,EAAE,CAAC,YAAY,EAAE,UAAU,KAAK,IAAI,CAAC;IAMlD,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,UAAU,CAAC;AAIxE,eAAO,MAAM,MAAM;;CAElB,CAAC;AAEF,eAAO,MAAM,QAAQ;oBACH,MAAM;yBACD,MAAM;4BACH,MAAM;yBACT,MAAM;;;CAG5B,CAAC;AAOF,eAAO,MAAM,eAAe,oBACT,iBAAiB,KACjC,aASF,CAAC;AAEF,eAAO,MAAM,WAAW,eAAmC,CAAC;AA0C5D,QAAA,MAAM,cAAc,kFAOjB,mBAAmB,gBA0MrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,41 @@
1
+ /// <reference types="react" />
2
+ import type { WizardComponentProps } from '..';
3
+ import type { TypeCastTypes } from 'hadron-type-checker';
4
+ import type { MatchOperator } from './match-condition-form';
5
+ export type LogicalOperator = '$or' | '$and';
6
+ export type MatchCondition = {
7
+ id: number;
8
+ field: string;
9
+ value: string;
10
+ bsonType: TypeCastTypes;
11
+ operator: MatchOperator;
12
+ };
13
+ export type MatchGroup = {
14
+ id: number;
15
+ logicalOperator: LogicalOperator;
16
+ conditions: MatchCondition[];
17
+ nestedGroups: MatchGroup[];
18
+ };
19
+ export type MatchConditionExpression = {
20
+ [field: string]: unknown;
21
+ } | {
22
+ [field: string]: {
23
+ [operator in MatchOperator]: unknown;
24
+ };
25
+ };
26
+ export type MatchGroupExpression = {
27
+ [$andOr in LogicalOperator]?: (MatchConditionExpression | MatchGroupExpression)[];
28
+ };
29
+ export type MatchExpression = MatchConditionExpression | MatchGroupExpression;
30
+ export declare const getNestingDepth: ({ nestedGroups }: MatchGroup) => number;
31
+ export declare function isNotEmptyCondition(condition: MatchCondition): boolean;
32
+ export declare function isNotEmptyGroup({ conditions, nestedGroups, }: MatchGroup): boolean;
33
+ export declare function isMatchConditionExpression(expression: MatchGroupExpression | MatchConditionExpression): boolean;
34
+ export declare function areUniqueExpressions(expressions: MatchConditionExpression[]): boolean;
35
+ export declare function toMatchConditionExpression(condition: MatchCondition): MatchConditionExpression;
36
+ export declare function toMatchGroupExpression({ logicalOperator, conditions, nestedGroups, }: MatchGroup): MatchGroupExpression;
37
+ export declare function makeCompactGroupExpression(groupExpression: MatchGroupExpression): MatchExpression;
38
+ export declare function mapMatchFormStateToMatchStage(matchGroup: MatchGroup): MatchExpression;
39
+ declare const MatchForm: ({ fields, onChange }: WizardComponentProps) => JSX.Element;
40
+ export default MatchForm;
41
+ //# sourceMappingURL=match.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"match.d.ts","sourceRoot":"","sources":["../../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/match/match.tsx"],"names":[],"mappings":";AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAK5D,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,MAAM,CAAC;AAC7C,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,aAAa,CAAC;IACxB,QAAQ,EAAE,aAAa,CAAC;CACzB,CAAC;AACF,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,eAAe,EAAE,eAAe,CAAC;IACjC,UAAU,EAAE,cAAc,EAAE,CAAC;IAC7B,YAAY,EAAE,UAAU,EAAE,CAAC;CAC5B,CAAC;AAGF,MAAM,MAAM,wBAAwB,GAChC;IAAE,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,GAC5B;IAAE,CAAC,KAAK,EAAE,MAAM,GAAG;SAAG,QAAQ,IAAI,aAAa,GAAG,OAAO;KAAE,CAAA;CAAE,CAAC;AAElE,MAAM,MAAM,oBAAoB,GAC5B;KACG,MAAM,IAAI,eAAe,CAAC,CAAC,EAAE,CAC1B,wBAAwB,GACxB,oBAAoB,CACvB,EAAE;CACJ,CAAC;AAEN,MAAM,MAAM,eAAe,GAAG,wBAAwB,GAAG,oBAAoB,CAAC;AAG9E,eAAO,MAAM,eAAe,qBAAsB,UAAU,KAAG,MAM9D,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,cAAc,GAAG,OAAO,CAEtE;AAED,wBAAgB,eAAe,CAAC,EAC9B,UAAU,EACV,YAAY,GACb,EAAE,UAAU,GAAG,OAAO,CAItB;AAED,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,oBAAoB,GAAG,wBAAwB,GAC1D,OAAO,CAET;AAED,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,wBAAwB,EAAE,GACtC,OAAO,CAMT;AAED,wBAAgB,0BAA0B,CACxC,SAAS,EAAE,cAAc,GACxB,wBAAwB,CAM1B;AAMD,wBAAgB,sBAAsB,CAAC,EACrC,eAAe,EACf,UAAU,EACV,YAAY,GACb,EAAE,UAAU,GAAG,oBAAoB,CAYnC;AAcD,wBAAgB,0BAA0B,CACxC,eAAe,EAAE,oBAAoB,mBAoBtC;AAED,wBAAgB,6BAA6B,CAAC,UAAU,EAAE,UAAU,mBAGnE;AAUD,QAAA,MAAM,SAAS,yBAA0B,oBAAoB,gBAyB5D,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import type { WizardComponentProps } from '..';
3
+ type ProjectionFields = string[];
4
+ export type ProjectionType = 'include' | 'exclude';
5
+ type ProjectFormState = {
6
+ projectionFields: ProjectionFields;
7
+ projectionType: ProjectionType;
8
+ };
9
+ export declare const SELECT_PLACEHOLDER_TEXT = "Select projection type";
10
+ export declare const COMBOBOX_PLACEHOLDER_TEXT = "Select field names";
11
+ export declare const mapProjectFormStateToStageValue: ({ projectionFields, projectionType, }: ProjectFormState) => {
12
+ [field: string]: 0 | 1;
13
+ };
14
+ declare const ProjectForm: ({ fields, onChange }: WizardComponentProps) => JSX.Element;
15
+ export default ProjectForm;
16
+ //# sourceMappingURL=project.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/project/project.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAI/C,KAAK,gBAAgB,GAAG,MAAM,EAAE,CAAC;AACjC,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,CAAC;AACnD,KAAK,gBAAgB,GAAG;IACtB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,cAAc,EAAE,cAAc,CAAC;CAChC,CAAC;AAGF,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,yBAAyB,uBAAuB,CAAC;AAE9D,eAAO,MAAM,+BAA+B,0CAGzC,gBAAgB;;CAclB,CAAC;AAwBF,QAAA,MAAM,WAAW,yBAA0B,oBAAoB,gBA2D9D,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import type { WizardComponentProps } from '..';
3
+ export declare const SortForm: ({ fields, onChange }: WizardComponentProps) => JSX.Element;
4
+ export default SortForm;
5
+ //# sourceMappingURL=sort.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sort.d.ts","sourceRoot":"","sources":["../../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/sort/sort.tsx"],"names":[],"mappings":";AAeA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAoG/C,eAAO,MAAM,QAAQ,yBAA0B,oBAAoB,gBA8ElE,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import type { StageWizardUseCase } from '.';
3
+ export type DraggedUseCase = Pick<StageWizardUseCase, 'id' | 'title' | 'stageOperator'>;
4
+ type UseCaseCardProps = DraggedUseCase & {
5
+ onSelect: () => void;
6
+ };
7
+ export declare const UseCaseCardLayout: React.ForwardRefExoticComponent<DraggedUseCase & {
8
+ onClick?: (() => void) | undefined;
9
+ } & React.RefAttributes<HTMLDivElement>>;
10
+ declare const UseCaseCard: ({ id, title, stageOperator, onSelect, }: UseCaseCardProps) => JSX.Element;
11
+ export default UseCaseCard;
12
+ //# sourceMappingURL=use-case-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-case-card.d.ts","sourceRoot":"","sources":["../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,GAAG,CAAC;AAG5C,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,kBAAkB,EAClB,IAAI,GAAG,OAAO,GAAG,eAAe,CACjC,CAAC;AAEF,KAAK,gBAAgB,GAAG,cAAc,GAAG;IACvC,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAgBF,eAAO,MAAM,iBAAiB;qBAbZ,IAAI;wCAkCpB,CAAC;AAEH,QAAA,MAAM,WAAW,4CAKd,gBAAgB,gBAwBlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,18 @@
1
+ export declare const mapFieldToPropertyName: (field: string) => string;
2
+ export declare const mapFieldsToAccumulatorValue: (fields: string[]) => string | {
3
+ [k: string]: string;
4
+ } | null;
5
+ export declare const SORT_DIRECTION_OPTIONS: readonly [{
6
+ readonly label: "Ascending";
7
+ readonly value: "Asc";
8
+ }, {
9
+ readonly label: "Descending";
10
+ readonly value: "Desc";
11
+ }];
12
+ export type SortDirection = typeof SORT_DIRECTION_OPTIONS[number]['value'];
13
+ export declare const mapSortDataToStageValue: (data: {
14
+ field: string;
15
+ direction: SortDirection;
16
+ }[]) => Record<string, number>;
17
+ export declare const getNextId: () => number;
18
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,UAAW,MAAM,WAGnD,CAAC;AAEF,eAAO,MAAM,2BAA2B,WAAY,MAAM,EAAE;;QAY3D,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;EASzB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,OAAO,sBAAsB,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC;AAE3E,eAAO,MAAM,uBAAuB,SAC5B;IACJ,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,aAAa,CAAC;CAC1B,EAAE,KACF,OAAO,MAAM,EAAE,MAAM,CAOvB,CAAC;AAGF,eAAO,MAAM,SAAS,cAAa,CAAC"}
@@ -17,6 +17,6 @@ export class Aggregations extends React.Component<any, any, any> {
17
17
  constructor(props: any, context: any);
18
18
  render(): React.Component;
19
19
  }
20
- import React from "react";
21
- import { Component } from "react";
20
+ import React from 'react';
21
+ import { Component } from 'react';
22
22
  //# sourceMappingURL=aggregations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aggregations.d.ts","sourceRoot":"","sources":["../../../../src/components/aggregations/aggregations.jsx"],"names":[],"mappings":";AAqEA;;;;;;;;;;;GAaiB;AAzDjB;IACE,2BAA6C;IA4DwriB,wBAA8C;IAAA,sCAAyJ;IArD56iB,UAFa,eAAe,CAQ3B;CACF"}
1
+ {"version":3,"file":"aggregations.d.ts","sourceRoot":"","sources":["../../../../src/components/aggregations/aggregations.jsx"],"names":[],"mappings":";AAqEA;;;;;;;;;;;GAaiB;AAzDjB;IACE,2BAA6C;IA4DwriB,wBAA8C;IAAA,sCAAyJ;IArD56iB,UAFa,eAAe,CAQ3B;CACF;kBAxCgC,OAAO;0BAAP,OAAO"}
@@ -1,5 +1,5 @@
1
1
  export default MappedAggregations;
2
2
  export { Aggregations };
3
- import MappedAggregations from "./aggregations";
4
- import { Aggregations } from "./aggregations";
3
+ import MappedAggregations from './aggregations';
4
+ import { Aggregations } from './aggregations';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/aggregations/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/aggregations/index.js"],"names":[],"mappings":";;+BAAiD,gBAAgB;6BAAhB,gBAAgB"}
@@ -48,6 +48,6 @@ export class CreateViewModal extends React.PureComponent<any, any, any> {
48
48
  onCancel: () => void;
49
49
  render(): Component;
50
50
  }
51
- import React from "react";
52
- import PropTypes from "prop-types";
51
+ import React from 'react';
52
+ import PropTypes from 'prop-types';
53
53
  //# sourceMappingURL=create-view-modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-view-modal.d.ts","sourceRoot":"","sources":["../../../../src/components/create-view-modal/create-view-modal.jsx"],"names":[],"mappings":";AA4HA;;;;;;;;;;;;;;;;;;;GAIoB;AAxGpB;IACE,2BAAgD;IAEhD;;;;;;;;;;;MAcE;IAEF;;;;;;;MAOE;IAkFwxgB,wBAA8C;IAAA,sCAAyJ;IAhFj+gB,iCAEE;IAEF,iCAIE;IAEF,qBAEE;IAOF,oBA6BC;CACF"}
1
+ {"version":3,"file":"create-view-modal.d.ts","sourceRoot":"","sources":["../../../../src/components/create-view-modal/create-view-modal.jsx"],"names":[],"mappings":";AA4HA;;;;;;;;;;;;;;;;;;;GAIoB;AAxGpB;IACE,2BAAgD;IAEhD;;;;;;;;;;;MAcE;IAEF;;;;;;;MAOE;IAkFwxgB,wBAA8C;IAAA,sCAAyJ;IAhFj+gB,iCAEE;IAEF,iCAIE;IAEF,qBAEE;IAOF,oBA6BC;CACF;kBArGoC,OAAO;sBACtB,YAAY"}
@@ -1,5 +1,5 @@
1
1
  export default MappedCreateViewModal;
2
2
  export { CreateViewModal };
3
- import MappedCreateViewModal from "./create-view-modal";
4
- import { CreateViewModal } from "./create-view-modal";
3
+ import MappedCreateViewModal from './create-view-modal';
4
+ import { CreateViewModal } from './create-view-modal';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/create-view-modal/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/create-view-modal/index.js"],"names":[],"mappings":";;kCAAuD,qBAAqB;gCAArB,qBAAqB"}
@@ -8,7 +8,7 @@ declare class CreateViewPlugin extends React.Component<any, any, any> {
8
8
  constructor(props: any, context: any);
9
9
  render(): React.Component;
10
10
  }
11
- import React from "react";
12
- import { Component } from "react";
13
- import PropTypes from "prop-types";
11
+ import React from 'react';
12
+ import { Component } from 'react';
13
+ import PropTypes from 'prop-types';
14
14
  //# sourceMappingURL=create-view-plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-view-plugin.d.ts","sourceRoot":"","sources":["../../../src/components/create-view-plugin.jsx"],"names":[],"mappings":";AAKA;IACE,2BAAwC;IACxC;;MAEE;IAiBgxlB,wBAA8C;IAAA,sCAAyJ;IAVz9lB,UAFa,eAAe,CAQ3B;CACF"}
1
+ {"version":3,"file":"create-view-plugin.d.ts","sourceRoot":"","sources":["../../../src/components/create-view-plugin.jsx"],"names":[],"mappings":";AAKA;IACE,2BAAwC;IACxC;;MAEE;IAiBgxlB,wBAA8C;IAAA,sCAAyJ;IAVz9lB,UAFa,eAAe,CAQ3B;CACF;kBAvBgC,OAAO;0BAAP,OAAO;sBAClB,YAAY"}
@@ -43,6 +43,6 @@ export class DuplicateViewModal extends React.PureComponent<any, any, any> {
43
43
  onCancel: () => void;
44
44
  render(): Component;
45
45
  }
46
- import React from "react";
47
- import PropTypes from "prop-types";
46
+ import React from 'react';
47
+ import PropTypes from 'prop-types';
48
48
  //# sourceMappingURL=duplicate-view-modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"duplicate-view-modal.d.ts","sourceRoot":"","sources":["../../../../src/components/duplicate-view-modal/duplicate-view-modal.jsx"],"names":[],"mappings":";AAqHA;;;;;;;;;;;;;;;;;GAIuB;AA/FvB;IACE,2BAAmD;IAEnD;;;;;;;;;;MAaE;IAEF;;;;;;MAME;IA2Ei/gB,wBAA8C;IAAA,sCAAyJ;IAzE1rhB,iCAEE;IAEF,qBAEE;IAOF,oBA6BC;CACF"}
1
+ {"version":3,"file":"duplicate-view-modal.d.ts","sourceRoot":"","sources":["../../../../src/components/duplicate-view-modal/duplicate-view-modal.jsx"],"names":[],"mappings":";AAqHA;;;;;;;;;;;;;;;;;GAIuB;AA/FvB;IACE,2BAAmD;IAEnD;;;;;;;;;;MAaE;IAEF;;;;;;MAME;IA2Ei/gB,wBAA8C;IAAA,sCAAyJ;IAzE1rhB,iCAEE;IAEF,qBAEE;IAOF,oBA6BC;CACF;kBA/FoC,OAAO;sBACtB,YAAY"}
@@ -1,5 +1,5 @@
1
1
  export default MappedDuplicateViewModal;
2
2
  export { DuplicateViewModal };
3
- import MappedDuplicateViewModal from "./duplicate-view-modal";
4
- import { DuplicateViewModal } from "./duplicate-view-modal";
3
+ import MappedDuplicateViewModal from './duplicate-view-modal';
4
+ import { DuplicateViewModal } from './duplicate-view-modal';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/duplicate-view-modal/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/duplicate-view-modal/index.js"],"names":[],"mappings":";;qCAEO,wBAAwB;mCAAxB,wBAAwB"}
@@ -5,6 +5,6 @@ declare class DuplicateViewPlugin extends React.Component<any, any, any> {
5
5
  constructor(props: any, context: any);
6
6
  render(): React.Component;
7
7
  }
8
- import React from "react";
9
- import { Component } from "react";
8
+ import React from 'react';
9
+ import { Component } from 'react';
10
10
  //# sourceMappingURL=duplicate-view-plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"duplicate-view-plugin.d.ts","sourceRoot":"","sources":["../../../src/components/duplicate-view-plugin.jsx"],"names":[],"mappings":";AAKA;IACE,2BAA2C;IAiB0xlB,wBAA8C;IAAA,sCAAyJ;IAV5gmB,UAFa,eAAe,CAQ3B;CACF"}
1
+ {"version":3,"file":"duplicate-view-plugin.d.ts","sourceRoot":"","sources":["../../../src/components/duplicate-view-plugin.jsx"],"names":[],"mappings":";AAKA;IACE,2BAA2C;IAiB0xlB,wBAA8C;IAAA,sCAAyJ;IAV5gmB,UAFa,eAAe,CAQ3B;CACF;kBApBgC,OAAO;0BAAP,OAAO"}
@@ -1,8 +1,12 @@
1
1
  import React from 'react';
2
- declare type FocusModeModalHeaderProps = {
2
+ type Stage = {
3
+ idxInStore: number;
4
+ stageOperator: string | null;
5
+ };
6
+ type FocusModeModalHeaderProps = {
3
7
  stageIndex: number;
4
8
  isEnabled: boolean;
5
- stages: (string | null)[];
9
+ stages: Stage[];
6
10
  onStageSelect: (index: number) => void;
7
11
  onStageDisabledToggleClick: (index: number, newVal: boolean) => void;
8
12
  onAddStageClick: (index: number) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"focus-mode-modal-header.d.ts","sourceRoot":"","sources":["../../../../src/components/focus-mode/focus-mode-modal-header.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAmB,MAAM,OAAO,CAAC;AASxC,aAAK,yBAAyB,GAAG;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAC;IAC1B,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,0BAA0B,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACrE,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C,CAAC;AAgDF,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,iBAAiB,CACxD,yBAAyB,CA+M1B,CAAC;;;;;AAEF,wBAsBwB"}
1
+ {"version":3,"file":"focus-mode-modal-header.d.ts","sourceRoot":"","sources":["../../../../src/components/focus-mode/focus-mode-modal-header.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAUxC,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,0BAA0B,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACrE,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C,CAAC;AAgDF,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,iBAAiB,CACxD,yBAAyB,CA2N1B,CAAC;;;;;AAEF,wBA6BwB"}
@@ -1 +1 @@
1
- {"version":3,"file":"focus-mode-stage-editor.d.ts","sourceRoot":"","sources":["../../../../src/components/focus-mode/focus-mode-stage-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAiCtC,eAAO,MAAM,oBAAoB;WAIxB,MAAM;cACH,MAAM,GAAG,IAAI;wBAyBxB,CAAC;;;;;;;;AAeF,wBAAuD"}
1
+ {"version":3,"file":"focus-mode-stage-editor.d.ts","sourceRoot":"","sources":["../../../../src/components/focus-mode/focus-mode-stage-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAiCtC,eAAO,MAAM,oBAAoB;WAIxB,MAAM;cACH,MAAM,GAAG,IAAI;wBAgCxB,CAAC;;;;;;;;AAeF,wBAAuD"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { Document } from 'mongodb';
3
- declare type FocusModePreviewProps = {
3
+ type FocusModePreviewProps = {
4
4
  title: string;
5
5
  isLoading?: boolean;
6
6
  documents?: Document[] | null;
@@ -1 +1 @@
1
- {"version":3,"file":"focus-mode-stage-preview.d.ts","sourceRoot":"","sources":["../../../../src/components/focus-mode/focus-mode-stage-preview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAQxC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AA+DxC,aAAK,qBAAqB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,8BAA8B,CAAC,EAAE,OAAO,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,gBAAgB,gGAO1B,qBAAqB,gBA+EvB,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,KAAK,qBAAqB,EAAE,OAAO,CAAC,gBAEvE,CAAC;AAEF,eAAO,MAAM,aAAa,UAAW,KAAK,qBAAqB,EAAE,OAAO,CAAC,gBAExE,CAAC;AAEF,eAAO,MAAM,mBAAmB,mDARI,KAAK,qBAAqB,EAAE,OAAO,CAAC;;;EA6DzD,CAAC;AAEhB,eAAO,MAAM,oBAAoB,mDA3DI,KAAK,qBAAqB,EAAE,OAAO,CAAC;;;EAoFzD,CAAC"}
1
+ {"version":3,"file":"focus-mode-stage-preview.d.ts","sourceRoot":"","sources":["../../../../src/components/focus-mode/focus-mode-stage-preview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAQxC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAgExC,KAAK,qBAAqB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,8BAA8B,CAAC,EAAE,OAAO,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,gBAAgB,gGAO1B,qBAAqB,gBA+EvB,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,KAAK,qBAAqB,EAAE,OAAO,CAAC,gBAEvE,CAAC;AAEF,eAAO,MAAM,aAAa,UAAW,KAAK,qBAAqB,EAAE,OAAO,CAAC,gBAExE,CAAC;AAEF,eAAO,MAAM,mBAAmB,mDARI,KAAK,qBAAqB,EAAE,OAAO,CAAC;;;EA8DzD,CAAC;AAEhB,eAAO,MAAM,oBAAoB,mDA5DI,KAAK,qBAAqB,EAAE,OAAO,CAAC;;;EAsFzD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type FocusModeProps = {
2
+ type FocusModeProps = {
3
3
  isModalOpen: boolean;
4
4
  isAutoPreviewEnabled: boolean;
5
5
  onCloseModal: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"focus-mode.d.ts","sourceRoot":"","sources":["../../../../src/components/focus-mode/focus-mode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAoG1B,aAAK,cAAc,GAAG;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAwFF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAuB7D,CAAC;;;;;AAUF,wBAAyD"}
1
+ {"version":3,"file":"focus-mode.d.ts","sourceRoot":"","sources":["../../../../src/components/focus-mode/focus-mode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgF1B,KAAK,cAAc,GAAG;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAwFF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAuB7D,CAAC;;;;;AAUF,wBAAyD"}
@@ -1,3 +1,3 @@
1
1
  export default LoadingOverlay;
2
- import { LoadingOverlay } from "./loading-overlay";
2
+ import { LoadingOverlay } from './loading-overlay';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/loading-overlay/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/loading-overlay/index.js"],"names":[],"mappings":";+BAA+B,mBAAmB"}