@mongodb-js/compass-aggregations 9.9.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 (79) 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/aggregation-side-panel/index.d.ts.map +1 -1
  6. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/field-combobox.d.ts +21 -0
  7. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/field-combobox.d.ts.map +1 -0
  8. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/basic-group.d.ts +5 -0
  9. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/basic-group.d.ts.map +1 -0
  10. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-statistics.d.ts +15 -0
  11. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-statistics.d.ts.map +1 -0
  12. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-subset.d.ts +27 -0
  13. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/group/group-with-subset.d.ts.map +1 -0
  14. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/index.d.ts +9 -6
  15. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/index.d.ts.map +1 -1
  16. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/lookup/lookup.d.ts +18 -0
  17. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/lookup/lookup.d.ts.map +1 -0
  18. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-condition-form.d.ts +44 -0
  19. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-condition-form.d.ts.map +1 -0
  20. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-group-form.d.ts +29 -0
  21. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match-group-form.d.ts.map +1 -0
  22. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match.d.ts +41 -0
  23. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/match/match.d.ts.map +1 -0
  24. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/project/project.d.ts +8 -12
  25. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/project/project.d.ts.map +1 -1
  26. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/sort/sort.d.ts +2 -4
  27. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/sort/sort.d.ts.map +1 -1
  28. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-card.d.ts +12 -0
  29. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-card.d.ts.map +1 -0
  30. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/utils.d.ts +18 -0
  31. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/utils.d.ts.map +1 -0
  32. package/dist/src/components/focus-mode/focus-mode.d.ts.map +1 -1
  33. package/dist/src/components/pipeline/pipeline.d.ts.map +1 -1
  34. package/dist/src/components/pipeline-builder-workspace/index.d.ts +0 -1
  35. package/dist/src/components/pipeline-builder-workspace/index.d.ts.map +1 -1
  36. package/dist/src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.d.ts.map +1 -1
  37. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/dnd-wrapper.d.ts +8 -0
  38. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/dnd-wrapper.d.ts.map +1 -0
  39. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.d.ts +3 -1
  40. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.d.ts.map +1 -1
  41. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list.d.ts +1 -2
  42. package/dist/src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list.d.ts.map +1 -1
  43. package/dist/src/components/pipeline-toolbar/pipeline-header/index.d.ts.map +1 -1
  44. package/dist/src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.d.ts.map +1 -1
  45. package/dist/src/components/stage-toolbar/index.d.ts +1 -3
  46. package/dist/src/components/stage-toolbar/index.d.ts.map +1 -1
  47. package/dist/src/components/stage-wizard/index.d.ts +2 -1
  48. package/dist/src/components/stage-wizard/index.d.ts.map +1 -1
  49. package/dist/src/components/stage.d.ts.map +1 -1
  50. package/dist/src/components/use-case-droppable-area/index.d.ts +11 -0
  51. package/dist/src/components/use-case-droppable-area/index.d.ts.map +1 -0
  52. package/dist/src/components/use-guide-cue.d.ts +15 -0
  53. package/dist/src/components/use-guide-cue.d.ts.map +1 -0
  54. package/dist/src/modules/aggregation.d.ts.map +1 -1
  55. package/dist/src/modules/collections-fields.d.ts +41 -0
  56. package/dist/src/modules/collections-fields.d.ts.map +1 -0
  57. package/dist/src/modules/explain.d.ts +1 -55
  58. package/dist/src/modules/explain.d.ts.map +1 -1
  59. package/dist/src/modules/index.d.ts +3 -2
  60. package/dist/src/modules/index.d.ts.map +1 -1
  61. package/dist/src/stores/store.d.ts +5 -2
  62. package/dist/src/stores/store.d.ts.map +1 -1
  63. package/dist/src/utils/get-schema.d.ts +7 -1
  64. package/dist/src/utils/get-schema.d.ts.map +1 -1
  65. package/dist/src/utils/local-storage.d.ts +2 -2
  66. package/dist/src/utils/local-storage.d.ts.map +1 -1
  67. package/package.json +35 -37
  68. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-list.d.ts +0 -6
  69. package/dist/src/components/aggregation-side-panel/stage-wizard-use-cases/use-case-list.d.ts.map +0 -1
  70. package/dist/src/components/pipeline-explain/explain-indexes.d.ts +0 -8
  71. package/dist/src/components/pipeline-explain/explain-indexes.d.ts.map +0 -1
  72. package/dist/src/components/pipeline-explain/explain-query-performance.d.ts +0 -10
  73. package/dist/src/components/pipeline-explain/explain-query-performance.d.ts.map +0 -1
  74. package/dist/src/components/pipeline-explain/explain-results.d.ts +0 -9
  75. package/dist/src/components/pipeline-explain/explain-results.d.ts.map +0 -1
  76. package/dist/src/components/pipeline-explain/index.d.ts +0 -17
  77. package/dist/src/components/pipeline-explain/index.d.ts.map +0 -1
  78. package/dist/src/modules/indexes.d.ts +0 -22
  79. package/dist/src/modules/indexes.d.ts.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- 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,KAAK,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 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/aggregation-side-panel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAgE3C,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,gBA8C3B,CAAC;;;;;AAEF,wBAGyB"}
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"}
@@ -1,15 +1,18 @@
1
1
  /// <reference types="react" />
2
- import UseCaseList from './use-case-list';
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
+ };
3
9
  export type StageWizardUseCase = {
4
10
  id: string;
5
11
  title: string;
6
12
  stageOperator: string;
7
- wizardComponent: React.FunctionComponent<{
8
- fields: string[];
9
- onChange: (value: string, validationError: Error | null) => void;
10
- }>;
13
+ wizardComponent: React.FunctionComponent<WizardComponentProps>;
11
14
  serverVersion?: string;
12
15
  };
13
16
  export declare const STAGE_WIZARD_USE_CASES: StageWizardUseCase[];
14
- export { UseCaseList };
17
+ export { UseCaseCard };
15
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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;AAI1C,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;QACvC,MAAM,EAAE,MAAM,EAAE,CAAC;QACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;KAClE,CAAC,CAAC;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,kBAAkB,EActD,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
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"}
@@ -1,20 +1,16 @@
1
1
  /// <reference types="react" />
2
- export type ProjectOwnProps = {
3
- onChange: (value: string, error: Error | null) => void;
4
- };
5
- type MapStateProps = {
6
- fields: string[];
7
- };
8
- export type ProjectProps = ProjectOwnProps & MapStateProps;
9
- type ProjectFormState = string[];
2
+ import type { WizardComponentProps } from '..';
3
+ type ProjectionFields = string[];
10
4
  export type ProjectionType = 'include' | 'exclude';
5
+ type ProjectFormState = {
6
+ projectionFields: ProjectionFields;
7
+ projectionType: ProjectionType;
8
+ };
11
9
  export declare const SELECT_PLACEHOLDER_TEXT = "Select projection type";
12
10
  export declare const COMBOBOX_PLACEHOLDER_TEXT = "Select field names";
13
- export declare const mapProjectFormStateToStageValue: (projectionType: ProjectionType, formState: ProjectFormState) => {
11
+ export declare const mapProjectFormStateToStageValue: ({ projectionFields, projectionType, }: ProjectFormState) => {
14
12
  [field: string]: 0 | 1;
15
13
  };
16
- export declare const getParentPaths: (paths: string[], excluding?: string[]) => string[];
17
- export declare const makeIsOptionDisabled: (projectFields: string[]) => (option: string) => boolean;
18
- declare const ProjectForm: ({ fields, onChange }: ProjectProps) => JSX.Element;
14
+ declare const ProjectForm: ({ fields, onChange }: WizardComponentProps) => JSX.Element;
19
15
  export default ProjectForm;
20
16
  //# sourceMappingURL=project.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/project/project.tsx"],"names":[],"mappings":";AAWA,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;CACxD,CAAC;AACF,KAAK,aAAa,GAAG;IAAE,MAAM,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAC1C,MAAM,MAAM,YAAY,GAAG,eAAe,GAAG,aAAa,CAAC;AAE3D,KAAK,gBAAgB,GAAG,MAAM,EAAE,CAAC;AACjC,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,CAAC;AAGnD,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,yBAAyB,uBAAuB,CAAC;AAE9D,eAAO,MAAM,+BAA+B,mBAC1B,cAAc;;CAa/B,CAAC;AAKF,eAAO,MAAM,cAAc,UAAW,MAAM,EAAE,cAAa,MAAM,EAAE,aAUlE,CAAC;AAEF,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,EAAE,cAC1C,MAAM,YAqBvB,CAAC;AAwBF,QAAA,MAAM,WAAW,yBAA0B,YAAY,gBA2DtD,CAAC;AAEF,eAAe,WAAW,CAAC"}
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"}
@@ -1,7 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const SortForm: ({ fields, onChange, }: {
3
- fields: string[];
4
- onChange: (value: string, error: Error | null) => void;
5
- }) => JSX.Element;
2
+ import type { WizardComponentProps } from '..';
3
+ export declare const SortForm: ({ fields, onChange }: WizardComponentProps) => JSX.Element;
6
4
  export default SortForm;
7
5
  //# sourceMappingURL=sort.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sort.d.ts","sourceRoot":"","sources":["../../../../../../src/components/aggregation-side-panel/stage-wizard-use-cases/sort/sort.tsx"],"names":[],"mappings":";AA8DA,eAAO,MAAM,QAAQ;YAIX,MAAM,EAAE;sBACE,MAAM,SAAS,KAAK,GAAG,IAAI,KAAK,IAAI;iBAmHvD,CAAC;AAEF,eAAe,QAAQ,CAAC"}
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"}
@@ -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,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
+ {"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 +1 @@
1
- {"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline/pipeline.jsx"],"names":[],"mappings":";AAsBA;IACE,2BAAyC;IAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;MA0BE;IAEF;;;;MAIE;IA6Fg6c,wBAA8C;IAAA,sCAAyJ;IA3Fzmd;;MAEE;IAEF,kEAEE;IAEF,0DAcC;IAED,qCAUC;IAOD,oBA8CC;CACF;kBAnJoC,OAAO;sBACtB,YAAY"}
1
+ {"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline/pipeline.jsx"],"names":[],"mappings":";AAqBA;IACE,2BAAyC;IAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;MA0BE;IAEF;;;;MAIE;IA4Fi/c,wBAA8C;IAAA,sCAAyJ;IA1F1rd;;MAEE;IAEF,kEAEE;IAEF,0DAcC;IAED,qCAUC;IAOD,oBA6CC;CACF;kBAjJoC,OAAO;sBACtB,YAAY"}
@@ -2,7 +2,6 @@ import React from 'react';
2
2
  import type { PipelineMode } from '../../modules/pipeline-builder/pipeline-mode';
3
3
  type PipelineBuilderWorkspaceProps = {
4
4
  pipelineMode: PipelineMode;
5
- isPanelOpen: boolean;
6
5
  };
7
6
  export declare const PipelineBuilderWorkspace: React.FunctionComponent<PipelineBuilderWorkspaceProps>;
8
7
  declare const _default: import("react-redux").ConnectedComponent<React.FunctionComponent<PipelineBuilderWorkspaceProps>, {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-builder-workspace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAC;AA4BjF,KAAK,6BAA6B,GAAG;IACnC,YAAY,EAAE,YAAY,CAAC;IAC3B,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,iBAAiB,CAC5D,6BAA6B,CA4B9B,CAAC;;;;;AAUF,wBAA2D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-builder-workspace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAC;AAajF,KAAK,6BAA6B,GAAG;IACnC,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,iBAAiB,CAC5D,6BAA6B,CAW9B,CAAC;;;;;AAMF,wBAA2D"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAyB1B,KAAK,4BAA4B,GAAG;IAClC,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAIF,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,iBAAiB,CAC3D,4BAA4B,CAqC7B,CAAC;;;;;AAMF,wBAA0D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-as-text-workspace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA+B1B,KAAK,4BAA4B,GAAG;IAClC,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAIF,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,iBAAiB,CAC3D,4BAA4B,CA4C7B,CAAC;;;;;AAMF,wBAA0D"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { PipelineBuilderUIWorkspaceProps } from '.';
3
+ type PipelineBuilderDndWrapperProps = {
4
+ children: React.ReactNode;
5
+ } & Pick<PipelineBuilderUIWorkspaceProps, 'stagesIdAndType' | 'onStageMoveEnd' | 'onUseCaseDropped'>;
6
+ declare const PipelineBuilderDndWrapper: ({ children, stagesIdAndType, onStageMoveEnd, onUseCaseDropped, }: PipelineBuilderDndWrapperProps) => JSX.Element;
7
+ export default PipelineBuilderDndWrapper;
8
+ //# sourceMappingURL=dnd-wrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dnd-wrapper.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/dnd-wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAiBrD,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,GAAG,CAAC;AAMzD,KAAK,8BAA8B,GAAG;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,IAAI,CACN,+BAA+B,EAC/B,iBAAiB,GAAG,gBAAgB,GAAG,kBAAkB,CAC1D,CAAC;AAiBF,QAAA,MAAM,yBAAyB,qEAK5B,8BAA8B,gBAwFhC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -1,10 +1,12 @@
1
1
  import React from 'react';
2
2
  import type { StageIdAndType } from '../../../modules/pipeline-builder/stage-editor';
3
- type PipelineBuilderUIWorkspaceProps = {
3
+ export type PipelineBuilderUIWorkspaceProps = {
4
4
  stagesIdAndType: StageIdAndType[];
5
5
  editViewName?: string;
6
+ isSidePanelOpen: boolean;
6
7
  onStageMoveEnd: (from: number, to: number) => void;
7
8
  onStageAddAfterEnd: (after?: number) => void;
9
+ onUseCaseDropped: (useCaseId: string, stageOperator: string, after?: number) => void;
8
10
  };
9
11
  export declare const PipelineBuilderUIWorkspace: React.FunctionComponent<PipelineBuilderUIWorkspaceProps>;
10
12
  declare const _default: import("react-redux").ConnectedComponent<React.FunctionComponent<PipelineBuilderUIWorkspaceProps>, {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAsBrF,KAAK,+BAA+B,GAAG;IACrC,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,kBAAkB,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,iBAAiB,CAC9D,+BAA+B,CAyBhC,CAAC;;;;;AAcF,wBAA0E"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAmBrF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,kBAAkB,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,gBAAgB,EAAE,CAChB,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,EACrB,KAAK,CAAC,EAAE,MAAM,KACX,IAAI,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,iBAAiB,CAC9D,+BAA+B,CAoDhC,CAAC;;;;;AAgBF,wBAA0E"}
@@ -8,9 +8,8 @@ export type SortableProps = {
8
8
  };
9
9
  type SortableListProps = {
10
10
  stagesIdAndType: StageIdAndType[];
11
- onStageMoveEnd: (from: number, to: number) => void;
12
11
  onStageAddAfterEnd: (after?: number) => void;
13
12
  };
14
- export declare const SortableList: ({ stagesIdAndType, onStageMoveEnd, onStageAddAfterEnd, }: SortableListProps) => JSX.Element;
13
+ export declare const SortableList: ({ stagesIdAndType, onStageAddAfterEnd, }: SortableListProps) => JSX.Element;
15
14
  export {};
16
15
  //# sourceMappingURL=sortable-list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sortable-list.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAerF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAW/E,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC;IAC3B,UAAU,EAAE,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/C,SAAS,EAAE,oBAAoB,GAAG,SAAS,CAAC;CAC7C,CAAC;AA6CF,KAAK,iBAAiB,GAAG;IACvB,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,kBAAkB,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,YAAY,6DAItB,iBAAiB,gBA0DnB,CAAC"}
1
+ {"version":3,"file":"sortable-list.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAQrF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAY/E,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC;IAC3B,UAAU,EAAE,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/C,SAAS,EAAE,oBAAoB,GAAG,SAAS,CAAC;CAC7C,CAAC;AAuDF,KAAK,iBAAiB,GAAG;IACvB,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,kBAAkB,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,YAAY,6CAGtB,iBAAiB,gBAwBnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-toolbar/pipeline-header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AA+DvC,KAAK,mBAAmB,GAAG;IACzB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,sBAAsB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,sBAAsB,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAmEvE,CAAC;;;;;;;;;;AAEF,wBAUkB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-toolbar/pipeline-header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AA+DvC,KAAK,mBAAmB,GAAG;IACzB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,sBAAsB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,sBAAsB,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CAoEvE,CAAC;;;;;;;;;;AAEF,wBAUkB"}
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline-extra-settings.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAgBzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AA0BpF,KAAK,0BAA0B,GAAG;IAChC,aAAa,EAAE,OAAO,CAAC;IACvB,sBAAsB,EAAE,OAAO,CAAC;IAChC,eAAe,EAAE,OAAO,CAAC;IACzB,YAAY,EAAE,YAAY,CAAC;IAC3B,mBAAmB,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,oBAAoB,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IACrD,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,iBAAiB,CACzD,0BAA0B,CAwF3B,CAAC;;;;;AAkBF,wBAAqE"}
1
+ {"version":3,"file":"pipeline-extra-settings.d.ts","sourceRoot":"","sources":["../../../../../src/components/pipeline-toolbar/pipeline-settings/pipeline-extra-settings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAiBzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AA4BpF,KAAK,0BAA0B,GAAG;IAChC,aAAa,EAAE,OAAO,CAAC;IACvB,sBAAsB,EAAE,OAAO,CAAC;IAChC,eAAe,EAAE,OAAO,CAAC;IACzB,YAAY,EAAE,YAAY,CAAC;IAC3B,mBAAmB,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/C,oBAAoB,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IACrD,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,iBAAiB,CACzD,0BAA0B,CAgH3B,CAAC;;;;;AAkBF,wBAAqE"}
@@ -7,15 +7,13 @@ type StageToolbarProps = {
7
7
  hasServerError?: boolean;
8
8
  isCollapsed?: boolean;
9
9
  isDisabled?: boolean;
10
- onFocusModeClicked: () => void;
11
- onOpenFocusMode: () => void;
10
+ onOpenFocusMode: (index: number) => void;
12
11
  onStageOperatorChange?: (index: number, name: string | null, snippet?: string) => void;
13
12
  };
14
13
  export declare function StageToolbar({ index, idxInPipeline, hasSyntaxError, hasServerError, isCollapsed, isDisabled, onOpenFocusMode, onStageOperatorChange, }: StageToolbarProps): JSX.Element;
15
14
  declare const _default: import("react-redux").ConnectedComponent<typeof StageToolbar, {
16
15
  index: number;
17
16
  onStageOperatorChange?: ((index: number, name: string | null, snippet?: string | undefined) => void) | undefined;
18
- onFocusModeClicked: () => void;
19
17
  context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
20
18
  store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
21
19
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqF1B,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,qBAAqB,CAAC,EAAE,CACtB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,GAAG,IAAI,EACnB,OAAO,CAAC,EAAE,MAAM,KACb,IAAI,CAAC;CACX,CAAC;AAMF,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,aAAa,EACb,cAAc,EACd,cAAc,EACd,WAAW,EACX,UAAU,EACV,eAAe,EACf,qBAAqB,GACtB,EAAE,iBAAiB,eAuCnB;;;;;;;;AAOD,wBAuBgB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-toolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqF1B,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,qBAAqB,CAAC,EAAE,CACtB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,GAAG,IAAI,EACnB,OAAO,CAAC,EAAE,MAAM,KACb,IAAI,CAAC;CACX,CAAC;AAMF,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,aAAa,EACb,cAAc,EACd,cAAc,EACd,WAAW,EACX,UAAU,EACV,eAAe,EACf,qBAAqB,GACtB,EAAE,iBAAiB,eAuCnB;;;;;;;AAID,wBAoBgB"}
@@ -1,11 +1,12 @@
1
1
  import React from 'react';
2
+ import type { WizardComponentProps } from '../aggregation-side-panel/stage-wizard-use-cases';
2
3
  import type { SortableProps } from '../pipeline-builder-workspace/pipeline-builder-ui-workspace/sortable-list';
3
4
  type StageWizardProps = SortableProps & {
4
5
  index: number;
5
6
  useCaseId: string;
6
7
  value: string | null;
7
8
  syntaxError: SyntaxError | null;
8
- fields: string[];
9
+ fields: WizardComponentProps['fields'];
9
10
  onChange: (value: string) => void;
10
11
  onCancel: () => void;
11
12
  onApply: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-wizard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAyB9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2EAA2E,CAAC;AAmC/G,KAAK,gBAAgB,GAAG,aAAa,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,WAAW,oGAUrB,gBAAgB,uBAyElB,CAAC;;;;;;;;;AAMF,wBAyCe"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/stage-wizard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAU9D,OAAO,KAAK,EAEV,oBAAoB,EACrB,MAAM,kDAAkD,CAAC;AAe1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2EAA2E,CAAC;AA0C/G,KAAK,gBAAgB,GAAG,aAAa,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,MAAM,EAAE,oBAAoB,CAAC,QAAQ,CAAC,CAAC;IACvC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,WAAW,oGAUrB,gBAAgB,uBAyElB,CAAC;;;;;;;;;AAMF,wBAyDe"}
@@ -1 +1 @@
1
- {"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/components/stage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AA4BxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0EAA0E,CAAC;AA4G9G,MAAM,MAAM,UAAU,GAAG,aAAa,GAAG;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AA0BF,iBAAS,KAAK,CAAC,EACb,KAAK,EACL,SAAS,EACT,UAAU,EACV,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,GAAG,aAAa,EACjB,EAAE,UAAU,eAsFZ;;;;;;;;;AAMD,wBAYU"}
1
+ {"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../../src/components/stage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAsBnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0EAA0E,CAAC;AAsG9G,MAAM,MAAM,UAAU,GAAG,aAAa,GAAG;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,iBAAS,KAAK,CAAC,EACb,KAAK,EACL,SAAS,EACT,UAAU,EACV,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,GAAG,aAAa,EACjB,EAAE,UAAU,eA2DZ;;;;;;;;;AAMD,wBAYU"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ type UseCaseDroppableAreaProps = {
3
+ index: number;
4
+ children?: React.ReactNode;
5
+ };
6
+ export declare const isValidDroppableId: (id: string) => boolean;
7
+ export declare const droppableIdFromIndex: (index: number) => string;
8
+ export declare const indexFromDroppableId: (id: string) => number | null;
9
+ declare const UseCaseDroppableArea: ({ index, children, }: UseCaseDroppableAreaProps) => JSX.Element;
10
+ export default UseCaseDroppableArea;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/use-case-droppable-area/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,yBAAyB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAGF,eAAO,MAAM,kBAAkB,OAAQ,MAAM,YAAgC,CAAC;AAC9E,eAAO,MAAM,oBAAoB,UAAW,MAAM,WAAyB,CAAC;AAC5E,eAAO,MAAM,oBAAoB,OAAQ,MAAM,kBAM9C,CAAC;AAoBF,QAAA,MAAM,oBAAoB,yBAGvB,yBAAyB,gBAiB3B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ export declare const GuideCueStorageKeys: {
3
+ readonly STAGE_WIZARD: "has_seen_stage_wizard_guide_cue";
4
+ readonly STAGE_WIZARD_LIST: "has_seen_stage_wizard_list_guide_cue";
5
+ };
6
+ type ValueOf<T> = T[keyof T];
7
+ type GuideCueKeys = ValueOf<typeof GuideCueStorageKeys>;
8
+ export declare const useGuideCue: <T = HTMLElement>(key: GuideCueKeys) => {
9
+ cueRefEl: import("react").MutableRefObject<T | null>;
10
+ cueIntersectingRef: (node?: Element | null | undefined) => void;
11
+ isCueVisible: boolean;
12
+ markCueVisited: () => void;
13
+ };
14
+ export {};
15
+ //# sourceMappingURL=use-guide-cue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-guide-cue.d.ts","sourceRoot":"","sources":["../../../src/components/use-guide-cue.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AAEX,KAAK,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAC7B,KAAK,YAAY,GAAG,OAAO,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAUxD,eAAO,MAAM,WAAW,yBAA0B,YAAY;;;;;CAwB7D,CAAC"}