@genesislcap/pbc-reporting-ui 1.0.386 → 1.0.388
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dts/new/components/components.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/base-config/base-config.template.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/col-filters/col-filters-grid.d.ts +3 -3
- package/dist/dts/new/main/edit-config/col-filters/col-filters-grid.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/col-rename-alias/col-rename-alias-grid.d.ts +3 -3
- package/dist/dts/new/main/edit-config/col-rename-alias/col-rename-alias-grid.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/config-journey-orchestrator.d.ts +1 -0
- package/dist/dts/new/main/edit-config/config-journey-orchestrator.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/config-journey-orchestrator.template.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/row-filters/row-filters.d.ts +7 -8
- package/dist/dts/new/main/edit-config/row-filters/row-filters.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/row-filters/row-filters.helpers.d.ts +4 -24
- package/dist/dts/new/main/edit-config/row-filters/row-filters.helpers.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/row-filters/row-filters.template.d.ts +1 -1
- package/dist/dts/new/main/edit-config/row-filters/row-filters.template.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/row-filters/row-filters.types.d.ts +3 -3
- package/dist/dts/new/main/edit-config/row-filters/row-filters.types.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/scheduling/scheduling.styles.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/shared/{grid-base-component.d.ts → datasource-data-base-component.d.ts} +7 -12
- package/dist/dts/new/main/edit-config/shared/datasource-data-base-component.d.ts.map +1 -0
- package/dist/dts/new/main/edit-config/shared/{grid-helpers.d.ts → datasource-data-base-component.helpers.ts.d.ts} +3 -3
- package/dist/dts/new/main/edit-config/shared/datasource-data-base-component.helpers.ts.d.ts.map +1 -0
- package/dist/dts/new/main/edit-config/shared/{grid-column-types.d.ts → datasource-data-base-component.types.d.ts} +5 -5
- package/dist/dts/new/main/edit-config/shared/datasource-data-base-component.types.d.ts.map +1 -0
- package/dist/dts/new/main/edit-config/shared/index.d.ts +3 -3
- package/dist/dts/new/main/edit-config/shared/index.d.ts.map +1 -1
- package/dist/dts/new/main/main.d.ts.map +1 -1
- package/dist/dts/new/store/index.d.ts +0 -1
- package/dist/dts/new/store/index.d.ts.map +1 -1
- package/dist/dts/new/store/slices/base-config.d.ts.map +1 -1
- package/dist/dts/new/store/slices/datasources-config.d.ts +27 -17
- package/dist/dts/new/store/slices/datasources-config.d.ts.map +1 -1
- package/dist/dts/new/store/slices/types.d.ts +4 -5
- package/dist/dts/new/store/slices/types.d.ts.map +1 -1
- package/dist/dts/new/store/store.d.ts +351 -155
- package/dist/dts/new/store/store.d.ts.map +1 -1
- package/dist/dts/new/types/index.d.ts +0 -1
- package/dist/dts/new/types/index.d.ts.map +1 -1
- package/dist/dts/new/types/misc.d.ts +3 -8
- package/dist/dts/new/types/misc.d.ts.map +1 -1
- package/dist/dts/new/utils/transformers.d.ts.map +1 -1
- package/dist/dts/new/utils/validators.d.ts.map +1 -1
- package/dist/esm/new/components/components.js +2 -1
- package/dist/esm/new/components/reporting-configurations/reporting-configurations.js +1 -1
- package/dist/esm/new/main/edit-config/base-config/base-config.template.js +20 -10
- package/dist/esm/new/main/edit-config/col-filters/col-filters-grid.helpers.js +4 -4
- package/dist/esm/new/main/edit-config/col-filters/col-filters-grid.js +6 -6
- package/dist/esm/new/main/edit-config/col-filters/col-fitlers-grid.template.js +1 -1
- package/dist/esm/new/main/edit-config/col-rename-alias/col-rename-alias-grid.js +5 -5
- package/dist/esm/new/main/edit-config/col-rename-alias/col-rename-alias-grid.template.js +1 -1
- package/dist/esm/new/main/edit-config/config-journey-orchestrator.js +11 -2
- package/dist/esm/new/main/edit-config/config-journey-orchestrator.template.js +8 -4
- package/dist/esm/new/main/edit-config/row-filters/row-filters.helpers.js +36 -134
- package/dist/esm/new/main/edit-config/row-filters/row-filters.js +39 -70
- package/dist/esm/new/main/edit-config/row-filters/row-filters.template.js +4 -7
- package/dist/esm/new/main/edit-config/scheduling/scheduling.styles.js +1 -0
- package/dist/esm/new/main/edit-config/shared/{grid-helpers.js → datasource-data-base-component.helpers.ts.js} +9 -12
- package/dist/esm/new/main/edit-config/shared/{grid-base-component.js → datasource-data-base-component.js} +12 -12
- package/dist/esm/new/main/edit-config/shared/{grid-column-types.js → datasource-data-base-component.types.js} +1 -1
- package/dist/esm/new/main/edit-config/shared/index.js +3 -3
- package/dist/esm/new/main/main.js +0 -2
- package/dist/esm/new/store/index.js +0 -1
- package/dist/esm/new/store/slices/base-config.js +1 -0
- package/dist/esm/new/store/slices/datasources-config.js +12 -61
- package/dist/esm/new/store/store.js +3 -3
- package/dist/esm/new/types/index.js +0 -1
- package/dist/esm/new/utils/transformers.js +4 -17
- package/dist/esm/new/utils/validators.js +3 -0
- package/package.json +2 -1
- package/dist/dts/new/main/edit-config/shared/grid-base-component.d.ts.map +0 -1
- package/dist/dts/new/main/edit-config/shared/grid-column-types.d.ts.map +0 -1
- package/dist/dts/new/main/edit-config/shared/grid-helpers.d.ts.map +0 -1
- package/dist/dts/new/store/storage.d.ts +0 -4
- package/dist/dts/new/store/storage.d.ts.map +0 -1
- package/dist/dts/new/types/rule-expression.d.ts +0 -61
- package/dist/dts/new/types/rule-expression.d.ts.map +0 -1
- package/dist/esm/new/store/storage.js +0 -10
- package/dist/esm/new/types/rule-expression.js +0 -23
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/new/components/components.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/new/components/components.ts"],"names":[],"mappings":"AA+CA;;GAEG;AACH,eAAO,MAAM,6BAA6B,qBAqDzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-config.template.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/base-config/base-config.template.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAuC3C,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"base-config.template.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/base-config/base-config.template.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAuC3C,eAAO,MAAM,QAAQ,iEA4EpB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { GridOptionsConfig } from '@genesislcap/grid-pro';
|
|
2
|
-
import {
|
|
3
|
-
export declare class ColFiltersGrid extends
|
|
2
|
+
import { DatasourceDataBaseComponent } from '../shared';
|
|
3
|
+
export declare class ColFiltersGrid extends DatasourceDataBaseComponent {
|
|
4
4
|
/**
|
|
5
5
|
* Update grid data with column filter information
|
|
6
6
|
*/
|
|
7
|
-
protected
|
|
7
|
+
protected updateDataFields(): Promise<void>;
|
|
8
8
|
getGridOptions(): GridOptionsConfig;
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=col-filters-grid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"col-filters-grid.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/col-filters/col-filters-grid.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"col-filters-grid.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/col-filters/col-filters-grid.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,OAAO,EACL,2BAA2B,EAM5B,MAAM,WAAW,CAAC;AAMnB,qBAKa,cAAe,SAAQ,2BAA2B;IAC7D;;OAEG;cACa,gBAAgB;IAShC,cAAc,IAAI,iBAAiB;CAsDpC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { GridOptionsConfig } from '@genesislcap/rapid-grid-pro';
|
|
2
|
-
import {
|
|
3
|
-
export declare class ColRenamesAliases extends
|
|
2
|
+
import { DatasourceDataBaseComponent } from '../shared';
|
|
3
|
+
export declare class ColRenamesAliases extends DatasourceDataBaseComponent {
|
|
4
4
|
/**
|
|
5
5
|
* Override updateGridData to include column rename information
|
|
6
6
|
*/
|
|
7
|
-
protected
|
|
7
|
+
protected updateDataFields(): Promise<void>;
|
|
8
8
|
getGridOptions(): GridOptionsConfig;
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=col-rename-alias-grid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"col-rename-alias-grid.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/col-rename-alias/col-rename-alias-grid.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAuB,MAAM,6BAA6B,CAAC;AAGrF,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"col-rename-alias-grid.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/col-rename-alias/col-rename-alias-grid.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAuB,MAAM,6BAA6B,CAAC;AAGrF,OAAO,EACL,2BAA2B,EAK5B,MAAM,WAAW,CAAC;AAMnB,qBAKa,iBAAkB,SAAQ,2BAA2B;IAChE;;OAEG;cACa,gBAAgB;IAYhC,cAAc,IAAI,iBAAiB;CAoDpC"}
|
|
@@ -320,6 +320,7 @@ export declare class ConfigJourneyOrchestrator extends ConfigJourneyOrchestrator
|
|
|
320
320
|
private validateConfig;
|
|
321
321
|
showListViewHandler(): void;
|
|
322
322
|
validateProjectSetup(): string;
|
|
323
|
+
validateDatasource(): boolean;
|
|
323
324
|
saveConfigHandler(): Promise<void>;
|
|
324
325
|
private displayError;
|
|
325
326
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-journey-orchestrator.d.ts","sourceRoot":"","sources":["../../../../../src/new/main/edit-config/config-journey-orchestrator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AASxD,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIjF,qBAKa,yBAA0B,SAAQ,8BAE9C;IACU,OAAO,EAAG,OAAO,CAAC;IAE3B,OAAO,CAAC,cAAc,CAAyC;IAE/D,mBAAmB;IAInB,oBAAoB;
|
|
1
|
+
{"version":3,"file":"config-journey-orchestrator.d.ts","sourceRoot":"","sources":["../../../../../src/new/main/edit-config/config-journey-orchestrator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AASxD,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIjF,qBAKa,yBAA0B,SAAQ,8BAE9C;IACU,OAAO,EAAG,OAAO,CAAC;IAE3B,OAAO,CAAC,cAAc,CAAyC;IAE/D,mBAAmB;IAInB,oBAAoB;IAYpB,kBAAkB;IAUZ,iBAAiB;IAwBvB,OAAO,CAAC,YAAY;CASrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-journey-orchestrator.template.d.ts","sourceRoot":"","sources":["../../../../../src/new/main/edit-config/config-journey-orchestrator.template.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAc/E,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"config-journey-orchestrator.template.d.ts","sourceRoot":"","sources":["../../../../../src/new/main/edit-config/config-journey-orchestrator.template.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAc/E,eAAO,MAAM,QAAQ,gFAkFpB,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
protected
|
|
8
|
-
getGridOptions(): GridOptionsConfig;
|
|
1
|
+
import { RuleExpression } from '@genesislcap/foundation-ui';
|
|
2
|
+
import { ExpressionBuilderTypes } from '@genesislcap/rapid-design-system';
|
|
3
|
+
import { DatasourceDataBaseComponent } from '../shared';
|
|
4
|
+
export declare class RowFilters extends DatasourceDataBaseComponent {
|
|
5
|
+
ruleExpressionConfig: ExpressionBuilderTypes.RuleConfig;
|
|
6
|
+
handleChangedRuleExpression(event: CustomEvent<RuleExpression.Expression['PredicateExpression']>): void;
|
|
7
|
+
protected updateDataFields(): Promise<void>;
|
|
9
8
|
}
|
|
10
9
|
//# sourceMappingURL=row-filters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"row-filters.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/row-filters/row-filters.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"row-filters.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/row-filters/row-filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAI1E,OAAO,EAAE,2BAA2B,EAA+B,MAAM,WAAW,CAAC;AAWrF,qBAKa,UAAW,SAAQ,2BAA2B;IAC7C,oBAAoB,EAAE,sBAAsB,CAAC,UAAU,CAEjE;IAEF,2BAA2B,CACzB,KAAK,EAAE,WAAW,CAAC,cAAc,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC;cAQtD,gBAAgB;CAoBjC"}
|
|
@@ -1,25 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { RowFilterGridData } from './row-filters.types';
|
|
6
|
-
declare const FIRST_PARAM: 0;
|
|
7
|
-
export type SelectRendererParams = Parameters<SelectRenderer['init']>[typeof FIRST_PARAM];
|
|
8
|
-
/**
|
|
9
|
-
* Adds row filter information from store to the row data
|
|
10
|
-
*/
|
|
11
|
-
export declare function lookupRowFilter(data: RowFilterGridData): RowFilterGridData;
|
|
12
|
-
/**
|
|
13
|
-
* Handler for row filter operation selection
|
|
14
|
-
*/
|
|
15
|
-
export declare const rowFilterOperationSelectedHandler: (value: RuleExpression.Operation | typeof BLANK_SELECT_OPTION, cellParams: SelectRendererParams) => void;
|
|
16
|
-
/**
|
|
17
|
-
* Factory for creating filter operation cell renderer
|
|
18
|
-
*/
|
|
19
|
-
export declare const filterOperationCellRenderer: (callback: () => any) => CellRendererSelectorFunc<RowFilterGridData>;
|
|
20
|
-
/**
|
|
21
|
-
* Cell renderer for filter values
|
|
22
|
-
*/
|
|
23
|
-
export declare const filterValueCellRenderer: CellRendererSelectorFunc<RowFilterGridData>;
|
|
24
|
-
export {};
|
|
1
|
+
import { ExpressionBuilderTypes } from '@genesislcap/foundation-ui';
|
|
2
|
+
import { RowFilterDatasourceData } from './row-filters.types';
|
|
3
|
+
export declare function mapGenesisFieldTypeToFieldInputAndType(partialData: Pick<ExpressionBuilderTypes.Field, 'fieldId' | 'label'>, dsData: RowFilterDatasourceData): ExpressionBuilderTypes.Field;
|
|
4
|
+
export declare function mapTableRowToRuleField(data: RowFilterDatasourceData): ExpressionBuilderTypes.Field | null;
|
|
25
5
|
//# sourceMappingURL=row-filters.helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"row-filters.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/row-filters/row-filters.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"row-filters.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/row-filters/row-filters.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,wBAAgB,sCAAsC,CACpD,WAAW,EAAE,IAAI,CAAC,sBAAsB,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAAC,EACpE,MAAM,EAAE,uBAAuB,GAC9B,sBAAsB,CAAC,KAAK,CA+B9B;AAED,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,uBAAuB,GAC5B,sBAAsB,CAAC,KAAK,GAAG,IAAI,CAUrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"row-filters.template.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/row-filters/row-filters.template.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"row-filters.template.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/row-filters/row-filters.template.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,eAAO,MAAM,QAAQ,iEAUpB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridRowData } from '../shared';
|
|
2
|
-
export declare const rowFilterOpts: ("
|
|
3
|
-
export type
|
|
1
|
+
import { GridColumnNames, GridRowData } from '../shared';
|
|
2
|
+
export declare const rowFilterOpts: ("AND" | "OR" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL" | "EQUALS" | "NOT_EQUALS" | "PLUS" | "MINUS" | "MULTIPLY" | "DIVIDE" | "BITWISE_AND" | "BITWISE_OR" | "ASSIGNMENT")[];
|
|
3
|
+
export type RowFilterDatasourceData = Pick<GridRowData, GridColumnNames.ColumnName | GridColumnNames.Type | GridColumnNames.Datasource | GridColumnNames.Filter | GridColumnNames.EnumValues>;
|
|
4
4
|
//# sourceMappingURL=row-filters.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"row-filters.types.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/row-filters/row-filters.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAyB,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"row-filters.types.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/row-filters/row-filters.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,WAAW,EAAyB,MAAM,WAAW,CAAC;AAGhF,eAAO,MAAM,aAAa,qNAAwB,CAAC;AAGnD,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,WAAW,EACT,eAAe,CAAC,UAAU,GAC1B,eAAe,CAAC,IAAI,GACpB,eAAe,CAAC,UAAU,GAC1B,eAAe,CAAC,MAAM,GACtB,eAAe,CAAC,UAAU,CAC7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduling.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/scheduling/scheduling.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"scheduling.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/scheduling/scheduling.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,iDAclB,CAAC"}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { Connect } from '@genesislcap/foundation-comms';
|
|
2
|
-
import { GridOptionsConfig } from '@genesislcap/rapid-grid-pro';
|
|
3
2
|
import { GenesisElement } from '@genesislcap/web-core';
|
|
4
3
|
import type { JSONSchema7 } from 'json-schema';
|
|
5
4
|
import { MultiDatasourceHandler } from '../tabbed-datasource-container';
|
|
6
|
-
import { GridRowData } from './
|
|
5
|
+
import { GridRowData } from './datasource-data-base-component.types';
|
|
7
6
|
/**
|
|
8
|
-
* Base abstract class for
|
|
9
|
-
* Provides common functionality for
|
|
7
|
+
* Base abstract class for datasource components that handle datasource fields
|
|
8
|
+
* Provides common functionality for data management
|
|
10
9
|
*/
|
|
11
|
-
export declare abstract class
|
|
10
|
+
export declare abstract class DatasourceDataBaseComponent extends GenesisElement implements MultiDatasourceHandler {
|
|
12
11
|
connect: Connect;
|
|
13
|
-
|
|
12
|
+
fieldData: GridRowData[];
|
|
14
13
|
dataError: boolean;
|
|
15
14
|
protected getSchema: (resourceName: string) => Promise<import("../../../types").Genesis.JSONSchema7>;
|
|
16
15
|
protected datasourceSpec: {
|
|
@@ -27,14 +26,10 @@ export declare abstract class GridBaseComponent extends GenesisElement implement
|
|
|
27
26
|
* Transforms the datasource specifications into grid data
|
|
28
27
|
* Override this method to provide component-specific data transformation
|
|
29
28
|
*/
|
|
30
|
-
protected abstract
|
|
29
|
+
protected abstract updateDataFields(): Promise<void>;
|
|
31
30
|
/**
|
|
32
31
|
* Common error handler
|
|
33
32
|
*/
|
|
34
33
|
protected handleError(error: Error, body: string): void;
|
|
35
|
-
/**
|
|
36
|
-
* Each component should implement its own grid options
|
|
37
|
-
*/
|
|
38
|
-
abstract getGridOptions(): GridOptionsConfig;
|
|
39
34
|
}
|
|
40
|
-
//# sourceMappingURL=
|
|
35
|
+
//# sourceMappingURL=datasource-data-base-component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datasource-data-base-component.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/shared/datasource-data-base-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAc,MAAM,uBAAuB,CAAC;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAExE,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAErE;;;GAGG;AACH,8BAAsB,2BACpB,SAAQ,cACR,YAAW,sBAAsB;IAExB,OAAO,EAAG,OAAO,CAAC;IAEf,SAAS,EAAE,WAAW,EAAE,CAAM;IAC9B,SAAS,UAAS;IAE9B,SAAS,CAAC,SAAS,kFAAqC;IACxD,SAAS,CAAC,cAAc,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,WAAW,CAAA;KAAE,EAAE,CAAM;IAEzD,aAAa,EAAE,sBAAsB,CAAC,eAAe,CAAC,CAAC;IAEnE,oBAAoB;IAIpB;;OAEG;cACa,wBAAwB;IAiBxC;;;OAGG;IACH,SAAS,CAAC,QAAQ,CAAC,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;IAEpD;;OAEG;IACH,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM;CAKjD"}
|
|
@@ -2,7 +2,7 @@ import { CellClassParams, CellStyle } from '@ag-grid-community/core';
|
|
|
2
2
|
import type { JSONSchema7 } from 'json-schema';
|
|
3
3
|
import { DatasourceInputTypes, DatasourceKey } from '../../../store';
|
|
4
4
|
import { Genesis } from '../../../types';
|
|
5
|
-
import { GridColumnNames, GridRowData } from './
|
|
5
|
+
import { GridColumnNames, GridRowData } from './datasource-data-base-component.types';
|
|
6
6
|
/**
|
|
7
7
|
* Converts a string to path format used by the APIs
|
|
8
8
|
*/
|
|
@@ -25,7 +25,7 @@ export declare function configureDisabledColumns(data: Pick<GridRowData, GridCol
|
|
|
25
25
|
/**
|
|
26
26
|
* Checks if a column is filtered in the current configuration
|
|
27
27
|
*/
|
|
28
|
-
export declare function
|
|
28
|
+
export declare function lookupColumnIsIncluded(data: Pick<GridRowData, GridColumnNames.Datasource | GridColumnNames.ColumnName>): boolean;
|
|
29
29
|
/**
|
|
30
30
|
* Converts display-formatted datasource name to internal key format
|
|
31
31
|
*/
|
|
@@ -53,4 +53,4 @@ export declare function fetchDatasourceSpecs(datasourceKey: DatasourceKey | null
|
|
|
53
53
|
name: string;
|
|
54
54
|
spec: JSONSchema7;
|
|
55
55
|
}[]>;
|
|
56
|
-
//# sourceMappingURL=
|
|
56
|
+
//# sourceMappingURL=datasource-data-base-component.helpers.ts.d.ts.map
|
package/dist/dts/new/main/edit-config/shared/datasource-data-base-component.helpers.ts.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datasource-data-base-component.helpers.ts.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/shared/datasource-data-base-component.helpers.ts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAW,oBAAoB,EAAE,aAAa,EAAa,MAAM,gBAAgB,CAAC;AACzF,OAAO,EAAW,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAMlD,OAAO,EACL,eAAe,EACf,WAAW,EAEZ,MAAM,wCAAwC,CAAC;AAEhD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEzD;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,UAAU,EAAE;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC;CAC3B,GAAG,WAAW,EAAE,CAahB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,OAAO,CAE1F;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,IAAI,CACR,WAAW,EACX,eAAe,CAAC,UAAU,GAAG,eAAe,CAAC,UAAU,GAAG,eAAe,CAAC,IAAI,CAC/E,GACA,WAAW,CAUb;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,eAAe,CAAC,UAAU,GAAG,eAAe,CAAC,UAAU,CAAC,GAC/E,OAAO,CAMT;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,aAAa,CAQrE;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,GAAG,MAAM,CAE9F;AAED;;GAEG;AACH,wBAAgB,cAAc,CAC5B,CAAC,SAAS,IAAI,CAAC,WAAW,EAAE,eAAe,CAAC,UAAU,GAAG,eAAe,CAAC,UAAU,CAAC,EACpF,kBAAkB,EAAE,SAAS,EAAE,gBAAgB,GAAE,SAAc,YAC/C,gBAAgB,CAAC,CAAC,KAAG,SAAS,CAM/C;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAQhE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,OAAO,CAAC,iBAAiB,GAC9B,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,IAAI,CAWxC;AAED;;GAEG;AACH,wBAAsB,oBAAoB,CACxC,aAAa,EAAE,aAAa,GAAG,IAAI,EACnC,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,WAAW,CAAC,EACjD,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,GAC/C,OAAO,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,WAAW,CAAA;CAAE,EAAE,CAAC,CAqBhD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { RuleExpression } from '@genesislcap/foundation-ui';
|
|
1
2
|
import { Genesis } from '../../../types';
|
|
2
|
-
import { RuleExpression } from '../../../types/rule-expression';
|
|
3
3
|
/**
|
|
4
4
|
* Comprehensive column names used across all grid components
|
|
5
5
|
*/
|
|
@@ -9,7 +9,7 @@ export declare enum GridColumnNames {
|
|
|
9
9
|
Type = "Type",
|
|
10
10
|
Datasource = "Datasource",
|
|
11
11
|
Filter = "Filter",
|
|
12
|
-
|
|
12
|
+
EnumValues = "Enum Values"
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* Type for filter values from various sources
|
|
@@ -24,8 +24,8 @@ export interface GridRowData {
|
|
|
24
24
|
[GridColumnNames.DisplayName]: string;
|
|
25
25
|
[GridColumnNames.Type]: Genesis.GenesisFieldTypes;
|
|
26
26
|
[GridColumnNames.Datasource]: string;
|
|
27
|
-
[GridColumnNames.Filter]?: RuleExpression.
|
|
28
|
-
[GridColumnNames.
|
|
27
|
+
[GridColumnNames.Filter]?: RuleExpression.Expression['PredicateExpression'];
|
|
28
|
+
[GridColumnNames.EnumValues]?: string[];
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Invalid column types that should be disabled or filtered
|
|
@@ -39,4 +39,4 @@ export declare const ROW_FILTER_OPERATIONS: RuleExpression.Operation[];
|
|
|
39
39
|
* Value for select dropdown that indicates no selection
|
|
40
40
|
*/
|
|
41
41
|
export declare const BLANK_SELECT_OPTION = "Select option";
|
|
42
|
-
//# sourceMappingURL=
|
|
42
|
+
//# sourceMappingURL=datasource-data-base-component.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datasource-data-base-component.types.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/shared/datasource-data-base-component.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC;;GAEG;AACH,oBAAY,eAAe;IACzB,UAAU,gBAAgB;IAC1B,WAAW,iBAAiB;IAC5B,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,UAAU,gBAAgB;CAC3B;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,CACtB,cAAc,CAAC,WAAW,GAC1B,cAAc,CAAC,YAAY,GAC3B,cAAc,CAAC,YAAY,CAC9B,CAAC,OAAO,CAAC,CAAC;AAEX;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,CAAC,eAAe,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IACrC,CAAC,eAAe,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IACtC,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC;IAClD,CAAC,eAAe,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IACrC,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC;IAC5E,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC;CACzC;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,iBAAiB,EAAY,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,cAAc,CAAC,SAAS,EAA6B,CAAC;AAE1F;;GAEG;AACH,eAAO,MAAM,mBAAmB,kBAAkB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
1
|
+
export * from './datasource-data-base-component.types';
|
|
2
|
+
export * from './datasource-data-base-component.helpers.ts';
|
|
3
|
+
export * from './datasource-data-base-component';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,wCAAwC,CAAC;AACvD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kCAAkC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../src/new/main/main.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAiB,cAAc,EAAc,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../src/new/main/main.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAiB,cAAc,EAAc,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAIzE,yBAAiB,aAAa,CAAC;IAC7B;;;;;;;OAOG;IACH,MAKa,mBAAoB,SAAQ,cAAc;QAC9C,IAAI,EAAE,IAAI,CAAC;QACN,KAAK,EAAE,OAAO,CAAS;QAEnC,gBAAgB,EAAE,uBAAuB,CAAC,eAAe,CAAC,0BAA0B,CAAC,CAAU;QAC/F,yBAAyB,EAAE,gBAAgB,CAAC;QAEtC,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;QAYxC,oBAAoB;QAQb,gBAAgB,CAAC,EAAE,MAAM,EAAE,EAAE,WAAW;QAI/C,oBAAoB,CAAC,EAAE,MAAM,EAAE,EAAE,WAAW;QAK5C,6BAA6B,CAAC,EAC5B,MAAM,GACP,EAAE,WAAW,CAAC,uBAAuB,CAAC,eAAe,CAAC,0BAA0B,CAAC,CAAC;KAGpF;IAED;;;;;;;;;;;;;;;;;;;;;;KAsBC;IACD,MAKa,cAAe,SAAQ,mBAAmB;QACrD;;WAEG;QACG,iBAAiB;QAKvB;;WAEG;kBACa,WAAW;KAK5B;IAED;;;;;OAKG;IACH,MAAa,SAAU,SAAQ,cAAc;KAAG;CACjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/new/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/new/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-config.d.ts","sourceRoot":"","sources":["../../../../../src/new/store/slices/base-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"base-config.d.ts","sourceRoot":"","sources":["../../../../../src/new/store/slices/base-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAQxD,eAAO,MAAM,SAAS;uBAKT,UAAU,UACT,oBAAoB,KAAK,UAAU,EAAE,iBAAiB,GAAG,eAAe,CAAC,CAAC;sBAKlE,UAAU,UAAU,cAAc;QAAE,GAAG,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;iBAGzD,UAAU,UAAU,cAAc,UAAU,CAAC;2BAGnC,UAAU,UAAU,cAAc;QAAE,MAAM,EAAE,iBAAiB,CAAA;KAAE,CAAC;;qBAStE,UAAU;yBAIN,UAAU,QAAQ,OAAO,SAAS,OAAO;EAMhE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { RuleExpression } from '@genesislcap/foundation-ui';
|
|
1
2
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
-
import { RuleExpression } from '../../types';
|
|
3
3
|
import { DatasourceConfig, DatasourceKey, DatasourceOutputTypes } from './types';
|
|
4
4
|
export declare const initialState: DatasourceConfig;
|
|
5
5
|
export declare const datasourceSlice: import("@reduxjs/toolkit").Slice<DatasourceConfig, {
|
|
@@ -26,25 +26,14 @@ export declare const datasourceSlice: import("@reduxjs/toolkit").Slice<Datasourc
|
|
|
26
26
|
/**
|
|
27
27
|
* Will also clean up data associated with this field, such as rename transformers
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
setColumnIncluded(state: DatasourceConfig, action: PayloadAction<{
|
|
30
30
|
key: DatasourceKey;
|
|
31
31
|
column: string;
|
|
32
|
-
|
|
32
|
+
included: boolean;
|
|
33
33
|
}>): void;
|
|
34
|
-
|
|
34
|
+
setRowFilter(state: DatasourceConfig, action: PayloadAction<{
|
|
35
35
|
key: DatasourceKey;
|
|
36
|
-
|
|
37
|
-
opt: RuleExpression.Operation;
|
|
38
|
-
fieldType: 'boolean' | 'string' | 'number';
|
|
39
|
-
}>): void;
|
|
40
|
-
removeRowFilterOperation(state: DatasourceConfig, action: PayloadAction<{
|
|
41
|
-
key: DatasourceKey;
|
|
42
|
-
column: string;
|
|
43
|
-
}>): void;
|
|
44
|
-
setRowFilterValue(state: DatasourceConfig, action: PayloadAction<{
|
|
45
|
-
key: DatasourceKey;
|
|
46
|
-
column: string;
|
|
47
|
-
value: number | string | boolean;
|
|
36
|
+
expression: RuleExpression.Expression['PredicateExpression'];
|
|
48
37
|
}>): void;
|
|
49
38
|
loadState(_: DatasourceConfig, action: PayloadAction<DatasourceConfig>): DatasourceConfig;
|
|
50
39
|
}, "datasourceConfig", "datasourceConfig", {
|
|
@@ -56,6 +45,27 @@ export declare const datasourceSlice: import("@reduxjs/toolkit").Slice<Datasourc
|
|
|
56
45
|
OUTPUT_TYPE: "RECORD_STREAM" | "TABLE";
|
|
57
46
|
TRANSFORMER_CONFIGURATION: import("./types").TransformerConfig;
|
|
58
47
|
};
|
|
59
|
-
|
|
48
|
+
getRowFilterExpression(state: DatasourceConfig, key: DatasourceKey): {
|
|
49
|
+
TYPE: "PREDICATE_EXPRESSION";
|
|
50
|
+
OPERATION: "AND" | "OR";
|
|
51
|
+
EXPRESSIONS: (any | RuleExpression.BooleanValue | RuleExpression.Field | RuleExpression.NumericValue | RuleExpression.StringValue | RuleExpression.PlaceHolder | RuleExpression.NullValue | {
|
|
52
|
+
LEFT: any | RuleExpression.BooleanValue | RuleExpression.Field | RuleExpression.NumericValue | RuleExpression.StringValue | RuleExpression.PlaceHolder | RuleExpression.NullValue | any | {
|
|
53
|
+
METHOD: "CONTAINS_IGNORE_CASE" | "CONTAINS_WORDS_STARTING_WITH_IGNORE_CASE";
|
|
54
|
+
PARAMETERS: (RuleExpression.BooleanValue | RuleExpression.Field | RuleExpression.NumericValue | RuleExpression.StringValue | RuleExpression.PlaceHolder | RuleExpression.NullValue)[];
|
|
55
|
+
TYPE: "METHOD_EXPRESSION";
|
|
56
|
+
};
|
|
57
|
+
OPERATION: "AND" | "OR" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL" | "EQUALS" | "NOT_EQUALS" | "PLUS" | "MINUS" | "MULTIPLY" | "DIVIDE" | "BITWISE_AND" | "BITWISE_OR" | "ASSIGNMENT";
|
|
58
|
+
RIGHT: any | RuleExpression.BooleanValue | RuleExpression.Field | RuleExpression.NumericValue | RuleExpression.StringValue | RuleExpression.PlaceHolder | RuleExpression.NullValue | any | {
|
|
59
|
+
METHOD: "CONTAINS_IGNORE_CASE" | "CONTAINS_WORDS_STARTING_WITH_IGNORE_CASE";
|
|
60
|
+
PARAMETERS: (RuleExpression.BooleanValue | RuleExpression.Field | RuleExpression.NumericValue | RuleExpression.StringValue | RuleExpression.PlaceHolder | RuleExpression.NullValue)[];
|
|
61
|
+
TYPE: "METHOD_EXPRESSION";
|
|
62
|
+
};
|
|
63
|
+
TYPE: "BINARY_EXPRESSION";
|
|
64
|
+
} | {
|
|
65
|
+
METHOD: "CONTAINS_IGNORE_CASE" | "CONTAINS_WORDS_STARTING_WITH_IGNORE_CASE";
|
|
66
|
+
PARAMETERS: (RuleExpression.BooleanValue | RuleExpression.Field | RuleExpression.NumericValue | RuleExpression.StringValue | RuleExpression.PlaceHolder | RuleExpression.NullValue)[];
|
|
67
|
+
TYPE: "METHOD_EXPRESSION";
|
|
68
|
+
})[];
|
|
69
|
+
};
|
|
60
70
|
}>;
|
|
61
71
|
//# sourceMappingURL=datasources-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasources-config.d.ts","sourceRoot":"","sources":["../../../../../src/new/store/slices/datasources-config.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"datasources-config.d.ts","sourceRoot":"","sources":["../../../../../src/new/store/slices/datasources-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAe,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAG9D,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEjF,eAAO,MAAM,YAAY,EAAE,gBAAqB,CAAC;AAEjD,eAAO,MAAM,eAAe;uCAKf,gBAAgB,UACf,cAAc;QACpB,IAAI,EAAE,KAAK,gBAAgB,CAAC,aAAa,CAAC,EAAE,KAAK,GAAG,YAAY,CAAC,CAAC;QAClE,MAAM,EAAE,MAAM,EAAE,CAAC;KAClB,CAAC;gCAuBK,gBAAgB,UACf,cAAc;QAAE,GAAG,EAAE,aAAa,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;sCAKvD,gBAAgB,UACf,cAAc;QAAE,GAAG,EAAE,aAAa,CAAC;QAAC,OAAO,EAAE,qBAAqB,CAAA;KAAE,CAAC;4BAIvD,gBAAgB,UAAU,cAAc;QAAE,GAAG,EAAE,aAAa,CAAA;KAAE,CAAC;2BAI9E,gBAAgB,UACf,cAAc;QAAE,GAAG,EAAE,aAAa,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IAcrF;;OAEG;6BAEM,gBAAgB,UACf,cAAc;QAAE,GAAG,EAAE,aAAa,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,CAAC;wBAwBzE,gBAAgB,UACf,cAAc;QACpB,GAAG,EAAE,aAAa,CAAC;QACnB,UAAU,EAAE,eAAe,UAAU,CAAC,qBAAqB,CAAC,CAAC;KAC9D,CAAC;iBAKS,gBAAgB,UAAU,cAAc,gBAAgB,CAAC;;2BAK/C,gBAAgB;yBAGlB,gBAAgB,OAAO,MAAM,gBAAgB;;;;;;;kCAGpC,gBAAgB,OAAO,aAAa;;;;;;;;;;;;;;;;;;;;;;EAIpE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RuleExpression } from '
|
|
1
|
+
import { RuleExpression } from '@genesislcap/foundation-ui';
|
|
2
2
|
export declare const datasourceInputs: readonly ["REQ_REP", "DATA_PIPELINE"];
|
|
3
3
|
export type DatasourceInputTypes = (typeof datasourceInputs)[number];
|
|
4
4
|
export declare const datasourceOutputs: readonly ["RECORD_STREAM", "TABLE"];
|
|
@@ -8,10 +8,8 @@ export type TransformerConfig = {
|
|
|
8
8
|
COLUMN_RENAMES?: {
|
|
9
9
|
[k: string]: string;
|
|
10
10
|
};
|
|
11
|
-
|
|
12
|
-
ROW_FILTERS?:
|
|
13
|
-
[column: string]: RuleExpression.Condition;
|
|
14
|
-
};
|
|
11
|
+
INCLUDE_COLUMNS?: string[];
|
|
12
|
+
ROW_FILTERS?: RuleExpression.Expression['PredicateExpression'];
|
|
15
13
|
};
|
|
16
14
|
export type DatasourceConfig = {
|
|
17
15
|
[k: DatasourceKey]: {
|
|
@@ -38,5 +36,6 @@ export type BaseConfig = {
|
|
|
38
36
|
DESTINATION_IDS: string[];
|
|
39
37
|
DOCUMENT_TEMPLATE_ID?: string;
|
|
40
38
|
SCHEDULE?: Schedule;
|
|
39
|
+
OUTPUT_DIRECTORY: string;
|
|
41
40
|
};
|
|
42
41
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/new/store/slices/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/new/store/slices/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,eAAO,MAAM,gBAAgB,uCAAwC,CAAC;AACtE,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAErE,eAAO,MAAM,iBAAiB,qCAAsC,CAAC;AACrE,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAIvE,MAAM,MAAM,aAAa,GAAG,GAAG,oBAAoB,IAAI,MAAM,EAAE,CAAC;AAEhE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,cAAc,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACzC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,WAAW,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC;CAChE,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,CAAC,CAAC,EAAE,aAAa,GAAG;QAClB,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,oBAAoB,CAAC;QACjC,WAAW,EAAE,qBAAqB,CAAC;QACnC,yBAAyB,EAAE,iBAAiB,CAAC;KAC9C,CAAC;CACH,CAAC;AAIF,eAAO,MAAM,mBAAmB,iCAAkC,CAAC;AAEnE,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAErE,MAAM,MAAM,QAAQ,GAAG;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC"}
|