@genesislcap/pbc-reporting-ui 14.396.3 → 14.397.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.
- package/dist/dts/new/main/edit-config/col-filters/col-filters-grid.helpers.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/datasource-config/datasource-config-item.d.ts +6 -2
- package/dist/dts/new/main/edit-config/datasource-config/datasource-config-item.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/datasource-config/datasource-config-item.styles.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/datasource-config/datasource-config-item.template.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/datasource-config/datasources-config-container.helpers.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/datasource-config/datasources-config-container.template.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/shared/datasource-data-base-component.helpers.ts.d.ts.map +1 -1
- package/dist/dts/new/store/slices/datasources-config.d.ts +20 -6
- package/dist/dts/new/store/slices/datasources-config.d.ts.map +1 -1
- package/dist/dts/new/store/slices/types.d.ts +19 -2
- package/dist/dts/new/store/slices/types.d.ts.map +1 -1
- package/dist/dts/new/store/store.d.ts +133 -35
- package/dist/dts/new/store/store.d.ts.map +1 -1
- package/dist/dts/new/types/misc.d.ts +4 -2
- package/dist/dts/new/types/misc.d.ts.map +1 -1
- package/dist/dts/new/utils/alias-generator.d.ts +8 -0
- package/dist/dts/new/utils/alias-generator.d.ts.map +1 -0
- package/dist/dts/new/utils/alias-generator.test.d.ts +2 -0
- package/dist/dts/new/utils/alias-generator.test.d.ts.map +1 -0
- package/dist/dts/new/utils/index.d.ts +1 -0
- package/dist/dts/new/utils/index.d.ts.map +1 -1
- package/dist/dts/new/utils/tooltip.d.ts +3 -0
- package/dist/dts/new/utils/tooltip.d.ts.map +1 -1
- package/dist/dts/new/utils/transformers.d.ts +1 -1
- package/dist/dts/new/utils/transformers.d.ts.map +1 -1
- package/dist/esm/new/main/edit-config/col-filters/col-filters-grid.helpers.js +3 -1
- package/dist/esm/new/main/edit-config/col-filters/col-filters-grid.helpers.test.js +71 -6
- package/dist/esm/new/main/edit-config/col-rename-alias/col-rename-alias-grid.helpers.test.js +32 -4
- package/dist/esm/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.test.js +10 -2
- package/dist/esm/new/main/edit-config/datasource-config/datasource-config-item.js +100 -10
- package/dist/esm/new/main/edit-config/datasource-config/datasource-config-item.styles.js +6 -0
- package/dist/esm/new/main/edit-config/datasource-config/datasource-config-item.template.js +38 -3
- package/dist/esm/new/main/edit-config/datasource-config/datasources-config-container.helpers.js +11 -7
- package/dist/esm/new/main/edit-config/datasource-config/datasources-config-container.helpers.test.js +29 -22
- package/dist/esm/new/main/edit-config/datasource-config/datasources-config-container.template.js +3 -0
- package/dist/esm/new/main/edit-config/shared/datasource-data-base-component.helpers.ts.js +16 -8
- package/dist/esm/new/main/edit-config/shared/datasource-data-base-component.test.js +13 -2
- package/dist/esm/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.template.js +1 -1
- package/dist/esm/new/store/slices/datasources-config.js +50 -11
- package/dist/esm/new/store/slices/types.js +1 -0
- package/dist/esm/new/utils/alias-generator.js +16 -0
- package/dist/esm/new/utils/alias-generator.test.js +36 -0
- package/dist/esm/new/utils/index.js +1 -0
- package/dist/esm/new/utils/tooltip.js +16 -0
- package/dist/esm/new/utils/transformers.js +20 -6
- package/dist/esm/new/utils/transformers.test.js +61 -11
- package/dist/esm/new/utils/validators.test.js +35 -21
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +22 -22
- package/src/new/main/edit-config/col-filters/col-filters-grid.helpers.test.ts +76 -6
- package/src/new/main/edit-config/col-filters/col-filters-grid.helpers.ts +4 -1
- package/src/new/main/edit-config/col-rename-alias/col-rename-alias-grid.helpers.test.ts +32 -4
- package/src/new/main/edit-config/data-transforms-derived-fields/data-transforms.helpers.test.ts +10 -2
- package/src/new/main/edit-config/datasource-config/datasource-config-item.styles.ts +6 -0
- package/src/new/main/edit-config/datasource-config/datasource-config-item.template.ts +62 -3
- package/src/new/main/edit-config/datasource-config/datasource-config-item.ts +107 -8
- package/src/new/main/edit-config/datasource-config/datasources-config-container.helpers.test.ts +32 -23
- package/src/new/main/edit-config/datasource-config/datasources-config-container.helpers.ts +18 -10
- package/src/new/main/edit-config/datasource-config/datasources-config-container.template.ts +6 -0
- package/src/new/main/edit-config/shared/datasource-data-base-component.helpers.ts.ts +21 -11
- package/src/new/main/edit-config/shared/datasource-data-base-component.test.ts +14 -2
- package/src/new/main/edit-config/tabbed-datasource-container/tabbed-datasource-container.template.ts +1 -1
- package/src/new/store/slices/datasources-config.ts +71 -16
- package/src/new/store/slices/types.ts +22 -4
- package/src/new/types/misc.ts +9 -2
- package/src/new/utils/alias-generator.test.ts +44 -0
- package/src/new/utils/alias-generator.ts +18 -0
- package/src/new/utils/index.ts +1 -0
- package/src/new/utils/tooltip.ts +19 -0
- package/src/new/utils/transformers.test.ts +73 -11
- package/src/new/utils/transformers.ts +30 -6
- package/src/new/utils/validators.test.ts +35 -21
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"col-filters-grid.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/col-filters/col-filters-grid.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAQ3D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,gBAAgB,CAAC,aAAa,CAAC,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"col-filters-grid.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/col-filters/col-filters-grid.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAQ3D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,gBAAgB,CAAC,aAAa,CAAC,GAAG,IAAI,CAqBvF"}
|
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
import { Connect } from '@genesislcap/foundation-comms';
|
|
2
2
|
import { Combobox } from '@genesislcap/foundation-ui';
|
|
3
3
|
import { GenesisElement } from '@genesislcap/web-core';
|
|
4
|
-
import { DatasourceName, DatasourceOutputTypes } from '../../../store';
|
|
4
|
+
import { DatasourceGroupingStrategy, DatasourceName, DatasourceOutputTypes } from '../../../store';
|
|
5
5
|
import { DatasourceChoice } from './types';
|
|
6
6
|
export declare class DatasourceConfigItem extends GenesisElement {
|
|
7
7
|
connect: Connect;
|
|
8
8
|
private getSchema;
|
|
9
9
|
datasourceName: DatasourceName | null;
|
|
10
10
|
datasourceChoices: DatasourceChoice[] | null;
|
|
11
|
+
groupingByFieldsNames: string[] | null;
|
|
11
12
|
canRemove: boolean;
|
|
12
13
|
position: 'below' | 'above';
|
|
13
14
|
error: 'none' | 'invalid-datasource' | 'unknown';
|
|
15
|
+
connectedCallback(): Promise<void>;
|
|
14
16
|
deleteDatasourceHandler(): void;
|
|
15
|
-
updateKeyHandler(
|
|
17
|
+
updateKeyHandler(newName: string, event?: Event): void;
|
|
16
18
|
updateOutputTypeHandler(newType: DatasourceOutputTypes): void;
|
|
19
|
+
updateGroupingStrategyHandler(value: DatasourceGroupingStrategy): Promise<void>;
|
|
20
|
+
updateGroupingByHandler(value: string): void;
|
|
17
21
|
updateDatasourceSourceHandler(selectedOption: Combobox): Promise<void>;
|
|
18
22
|
}
|
|
19
23
|
//# sourceMappingURL=datasource-config-item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasource-config-item.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/datasource-config/datasource-config-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAuB,cAAc,EAAc,MAAM,uBAAuB,CAAC;AACxF,OAAO,
|
|
1
|
+
{"version":3,"file":"datasource-config-item.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/datasource-config/datasource-config-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAuB,cAAc,EAAc,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAEL,0BAA0B,EAE1B,cAAc,EACd,qBAAqB,EAEtB,MAAM,gBAAgB,CAAC;AAYxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,qBAKa,oBAAqB,SAAQ,cAAc;IAC7C,OAAO,EAAG,OAAO,CAAC;IAC3B,OAAO,CAAC,SAAS,CAAqC;IAE1C,cAAc,EAAE,cAAc,GAAG,IAAI,CAAQ;IAC7C,iBAAiB,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAAQ;IACpD,qBAAqB,EAAE,MAAM,EAAE,GAAG,IAAI,CAAQ;IACN,SAAS,EAAE,OAAO,CAAS;IAEzE,QAAQ,EAAE,OAAO,GAAG,OAAO,CAAW;IACtC,KAAK,EAAE,MAAM,GAAG,oBAAoB,GAAG,SAAS,CAAU;IAE1D,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IAWxC,uBAAuB;IAQvB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK;IA4B/C,uBAAuB,CAAC,OAAO,EAAE,qBAAqB;IAUhD,6BAA6B,CAAC,KAAK,EAAE,0BAA0B;IA6BrE,uBAAuB,CAAC,KAAK,EAAE,MAAM;IAU/B,6BAA6B,CAAC,cAAc,EAAE,QAAQ;CA0E7D"}
|
package/dist/dts/new/main/edit-config/datasource-config/datasource-config-item.styles.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasource-config-item.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/datasource-config/datasource-config-item.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"datasource-config-item.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/datasource-config/datasource-config-item.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,iDAwElB,CAAC"}
|
package/dist/dts/new/main/edit-config/datasource-config/datasource-config-item.template.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasource-config-item.template.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/datasource-config/datasource-config-item.template.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"datasource-config-item.template.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/datasource-config/datasource-config-item.template.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AA0HrE,eAAO,MAAM,QAAQ,2EAQpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasources-config-container.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/datasource-config/datasources-config-container.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAU,MAAM,+BAA+B,CAAC;AAEhE,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;AAElF,eAAO,MAAM,yBAAyB,GACnC,WAAW,gBAAgB,MACrB,SAAS,gBAAgB,EAAE,KAAG,OAAO,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"datasources-config-container.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/datasource-config/datasources-config-container.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAU,MAAM,+BAA+B,CAAC;AAEhE,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;AAElF,eAAO,MAAM,yBAAyB,GACnC,WAAW,gBAAgB,MACrB,SAAS,gBAAgB,EAAE,KAAG,OAAO,CAAC,IAAI,CA4ChD,CAAC;AAEJ,eAAO,MAAM,wBAAwB,GAClC,WAAW,gBAAgB,MAAY,kBAAkB,gBAAgB,EAAE;;;;EAc3E,CAAC;AAGJ,eAAO,MAAM,cAAc,GAAU,SAAS,OAAO,KAAG,OAAO,CAAC,gBAAgB,EAAE,CAsBjF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasources-config-container.template.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/datasource-config/datasources-config-container.template.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"datasources-config-container.template.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/datasource-config/datasources-config-container.template.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAsDjF,eAAO,MAAM,QAAQ,iFAUpB,CAAC"}
|
package/dist/dts/new/main/edit-config/shared/datasource-data-base-component.helpers.ts.d.ts.map
CHANGED
|
@@ -1 +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,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAE3E,OAAO,EAAW,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAMlD,OAAO,EACL,eAAe,EACf,WAAW,EAEZ,MAAM,wCAAwC,CAAC;AAGhD,OAAO,EAAE,eAAe,EAAE,CAAC;AAE3B;;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,CAkChB;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,qBAAqB,CACnC,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,eAAe,CAAC,UAAU,GAAG,eAAe,CAAC,UAAU,CAAC,GAC/E,OAAO,CAMT;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,cAAc,
|
|
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,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAE3E,OAAO,EAAW,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAMlD,OAAO,EACL,eAAe,EACf,WAAW,EAEZ,MAAM,wCAAwC,CAAC;AAGhD,OAAO,EAAE,eAAe,EAAE,CAAC;AAE3B;;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,CAkChB;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;A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
@@ -1,17 +1,21 @@
|
|
|
1
1
|
import { RuleExpression } from '@genesislcap/foundation-ui';
|
|
2
2
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
3
3
|
import { Genesis } from '../../types';
|
|
4
|
-
import { DatasourceConfig, DatasourceName, DatasourceOutputTypes, TransformerConfig } from './types';
|
|
4
|
+
import { DatasourceConfig, DatasourceGrouping, DatasourceName, DatasourceOutputTypes, TransformerConfig } from './types';
|
|
5
5
|
export declare const initialState: DatasourceConfig;
|
|
6
6
|
export declare const datasourceSlice: import("@reduxjs/toolkit").Slice<DatasourceConfig, {
|
|
7
7
|
initDatasourceConfiguration(state: DatasourceConfig, action: PayloadAction<{
|
|
8
|
-
base: Pick<DatasourceConfig[DatasourceName], "KEY" | "INPUT_TYPE">;
|
|
8
|
+
base: Pick<DatasourceConfig[DatasourceName], "KEY" | "NAME" | "INPUT_TYPE">;
|
|
9
9
|
fields: string[];
|
|
10
10
|
}>): void;
|
|
11
|
-
|
|
11
|
+
reorderDatasource(state: DatasourceConfig, action: PayloadAction<{
|
|
12
12
|
key: DatasourceName;
|
|
13
|
-
|
|
14
|
-
}>):
|
|
13
|
+
newIndex: number;
|
|
14
|
+
}>): DatasourceConfig;
|
|
15
|
+
renameDatasource(state: DatasourceConfig, action: PayloadAction<{
|
|
16
|
+
key: DatasourceName;
|
|
17
|
+
newName: string;
|
|
18
|
+
}>): DatasourceConfig;
|
|
15
19
|
updateDatasourceOutputType(state: DatasourceConfig, action: PayloadAction<{
|
|
16
20
|
key: DatasourceName;
|
|
17
21
|
newType: DatasourceOutputTypes;
|
|
@@ -33,6 +37,7 @@ export declare const datasourceSlice: import("@reduxjs/toolkit").Slice<Datasourc
|
|
|
33
37
|
column: string;
|
|
34
38
|
included: boolean;
|
|
35
39
|
type?: Genesis.GenesisFieldTypes;
|
|
40
|
+
setDefaultFormat?: boolean;
|
|
36
41
|
}>): void;
|
|
37
42
|
setFieldsOrder(state: DatasourceConfig, action: PayloadAction<{
|
|
38
43
|
key: DatasourceName;
|
|
@@ -61,6 +66,15 @@ export declare const datasourceSlice: import("@reduxjs/toolkit").Slice<Datasourc
|
|
|
61
66
|
key: DatasourceName;
|
|
62
67
|
column: string;
|
|
63
68
|
}>): void;
|
|
69
|
+
setGrouping(state: DatasourceConfig, action: PayloadAction<{
|
|
70
|
+
key: DatasourceName;
|
|
71
|
+
grouping: Exclude<DatasourceGrouping, {
|
|
72
|
+
GROUPING_STRATEGY: "NONE";
|
|
73
|
+
}>;
|
|
74
|
+
}>): void;
|
|
75
|
+
deleteGrouping(state: DatasourceConfig, action: PayloadAction<{
|
|
76
|
+
key: DatasourceName;
|
|
77
|
+
}>): void;
|
|
64
78
|
}, "datasourceConfig", "datasourceConfig", {
|
|
65
79
|
getAllConfigSet(state: DatasourceConfig): DatasourceConfig;
|
|
66
80
|
getDatasource(state: DatasourceConfig, key: keyof DatasourceConfig): {
|
|
@@ -69,7 +83,7 @@ export declare const datasourceSlice: import("@reduxjs/toolkit").Slice<Datasourc
|
|
|
69
83
|
INPUT_TYPE: import("./types").DatasourceInputTypes;
|
|
70
84
|
OUTPUT_TYPE: DatasourceOutputTypes;
|
|
71
85
|
TRANSFORMER_CONFIGURATION: TransformerConfig;
|
|
72
|
-
};
|
|
86
|
+
} & DatasourceGrouping;
|
|
73
87
|
getRowFilterExpression(state: DatasourceConfig, key: DatasourceName): {
|
|
74
88
|
TYPE: "PREDICATE_EXPRESSION";
|
|
75
89
|
OPERATION: RuleExpression.LogicalOperation;
|
|
@@ -1 +1 @@
|
|
|
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;AAE9D,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAGtC,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EAErB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,YAAY,EAAE,gBAAqB,CAAC;AAEjD,eAAO,MAAM,eAAe;uCAKf,gBAAgB,UACf,aAAa,CAAC;QACpB,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,KAAK,GAAG,YAAY,CAAC,CAAC;
|
|
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;AAE9D,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAGtC,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,qBAAqB,EAErB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,YAAY,EAAE,gBAAqB,CAAC;AAEjD,eAAO,MAAM,eAAe;uCAKf,gBAAgB,UACf,aAAa,CAAC;QACpB,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,YAAY,CAAC,CAAC;QAC5E,MAAM,EAAE,MAAM,EAAE,CAAC;KAClB,CAAC;6BAkCK,gBAAgB,UACf,aAAa,CAAC;QAAE,GAAG,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;4BAczD,gBAAgB,UACf,aAAa,CAAC;QAAE,GAAG,EAAE,cAAc,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;sCAsBxD,gBAAgB,UACf,aAAa,CAAC;QAAE,GAAG,EAAE,cAAc,CAAC;QAAC,OAAO,EAAE,qBAAqB,CAAA;KAAE,CAAC;4BAIxD,gBAAgB,UAAU,aAAa,CAAC;QAAE,GAAG,EAAE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AAM,EAAE,MAAM,CAAC;KAChB,CAAC;uBAOK,gBAAgB,UACf,aAAa,CAAC;QACpB,GAAG,EAAE,cAAc,CAAC;QACpB,QAAQ,EAAE,OAAO,CAAC,kBAAkB,EAAE;YAAE,iBAAiB,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;KACtE,CAAC;0BAMkB,gBAAgB,UAAU,aAAa,CAAC;QAAE,GAAG,EAAE,cAAc,CAAA;KAAE,CAAC;;2BAO/D,gBAAgB;yBAGlB,gBAAgB,OAAO,MAAM,gBAAgB;;;;;;;kCAGpC,gBAAgB,OAAO,cAAc;;;;;2BAG5C,gBAAgB,OAAO,cAAc,UAAU,MAAM;;;;;;;;;;EAQ9E,CAAC"}
|
|
@@ -4,7 +4,24 @@ export declare const datasourceInputs: readonly ["REQ_REP", "DATA_PIPELINE"];
|
|
|
4
4
|
export type DatasourceInputTypes = (typeof datasourceInputs)[number];
|
|
5
5
|
export declare const datasourceOutputs: readonly ["TABLE"];
|
|
6
6
|
export type DatasourceOutputTypes = (typeof datasourceOutputs)[number];
|
|
7
|
-
export
|
|
7
|
+
export declare const datasourceGroupingStrategies: readonly ["NONE", "MULTI_SHEET", "LOOKUP_TABLE"];
|
|
8
|
+
export type DatasourceGroupingStrategy = (typeof datasourceGroupingStrategies)[number];
|
|
9
|
+
export type DatasourceGrouping = {
|
|
10
|
+
GROUPING_STRATEGY: Extract<DatasourceGroupingStrategy, 'NONE'>;
|
|
11
|
+
GROUP_KEY: null;
|
|
12
|
+
} | {
|
|
13
|
+
GROUPING_STRATEGY: Extract<DatasourceGroupingStrategy, 'MULTI_SHEET' | 'LOOKUP_TABLE'>;
|
|
14
|
+
GROUP_KEY: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Server KEY => This is an alias (this needs to be unique). This is presented as "Name" input on the UI, rapid-text-field
|
|
18
|
+
* Server NAME => The name of the datasource (matches req_rep). This is presented as rapid-select
|
|
19
|
+
* DatasoureName to uniquely identify each data source, must be keyed on the input type as
|
|
20
|
+
* the names are not unique between the different data sources
|
|
21
|
+
*/
|
|
22
|
+
export type AliasKey = string;
|
|
23
|
+
export type ServerDatasourceName = string;
|
|
24
|
+
export type DatasourceName = `${DatasourceInputTypes}_${ServerDatasourceName}_${AliasKey}`;
|
|
8
25
|
export type TransformerConfig = {
|
|
9
26
|
COLUMN_RENAMES?: {
|
|
10
27
|
[k: string]: string;
|
|
@@ -28,7 +45,7 @@ export type DatasourceConfig = {
|
|
|
28
45
|
INPUT_TYPE: DatasourceInputTypes;
|
|
29
46
|
OUTPUT_TYPE: DatasourceOutputTypes;
|
|
30
47
|
TRANSFORMER_CONFIGURATION: TransformerConfig;
|
|
31
|
-
};
|
|
48
|
+
} & DatasourceGrouping;
|
|
32
49
|
};
|
|
33
50
|
export declare const reportOutputFormats: readonly ["CSV", "PDF", "XLSX"];
|
|
34
51
|
export type ReportOutputTypes = (typeof reportOutputFormats)[number];
|
|
@@ -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,4BAA4B,CAAC;AAI5D,eAAO,MAAM,iBAAiB,UAA6B,CAAC;AAE5D,eAAO,MAAM,gBAAgB,uCAAwC,CAAC;AACtE,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAGrE,eAAO,MAAM,iBAAiB,oBAGpB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;
|
|
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;AAI5D,eAAO,MAAM,iBAAiB,UAA6B,CAAC;AAE5D,eAAO,MAAM,gBAAgB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CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KACrB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,CAAC,CAAC,EAAE,cAAc,GAAG;QACnB,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,GAAG,kBAAkB,CAAC;CACxB,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"}
|
|
@@ -16,13 +16,17 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
16
16
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
17
17
|
}> | import("@reduxjs/toolkit").Slice<import("./slices").DatasourceConfig, {
|
|
18
18
|
initDatasourceConfiguration(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
19
|
-
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "INPUT_TYPE">;
|
|
19
|
+
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "NAME" | "INPUT_TYPE">;
|
|
20
20
|
fields: string[];
|
|
21
21
|
}>): void;
|
|
22
|
-
|
|
22
|
+
reorderDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
23
23
|
key: import("./slices").DatasourceName;
|
|
24
|
-
|
|
25
|
-
}>):
|
|
24
|
+
newIndex: number;
|
|
25
|
+
}>): import("./slices").DatasourceConfig;
|
|
26
|
+
renameDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
27
|
+
key: import("./slices").DatasourceName;
|
|
28
|
+
newName: string;
|
|
29
|
+
}>): import("./slices").DatasourceConfig;
|
|
26
30
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
27
31
|
key: import("./slices").DatasourceName;
|
|
28
32
|
newType: import("./slices").DatasourceOutputTypes;
|
|
@@ -41,6 +45,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
41
45
|
column: string;
|
|
42
46
|
included: boolean;
|
|
43
47
|
type?: import("../types").Genesis.GenesisFieldTypes;
|
|
48
|
+
setDefaultFormat?: boolean;
|
|
44
49
|
}>): void;
|
|
45
50
|
setFieldsOrder(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
46
51
|
key: import("./slices").DatasourceName;
|
|
@@ -69,6 +74,15 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
69
74
|
key: import("./slices").DatasourceName;
|
|
70
75
|
column: string;
|
|
71
76
|
}>): void;
|
|
77
|
+
setGrouping(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
78
|
+
key: import("./slices").DatasourceName;
|
|
79
|
+
grouping: Exclude<import("./slices").DatasourceGrouping, {
|
|
80
|
+
GROUPING_STRATEGY: "NONE";
|
|
81
|
+
}>;
|
|
82
|
+
}>): void;
|
|
83
|
+
deleteGrouping(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
84
|
+
key: import("./slices").DatasourceName;
|
|
85
|
+
}>): void;
|
|
72
86
|
}, "datasourceConfig", "datasourceConfig", {
|
|
73
87
|
getAllConfigSet(state: import("./slices").DatasourceConfig): import("./slices").DatasourceConfig;
|
|
74
88
|
getDatasource(state: import("./slices").DatasourceConfig, key: keyof import("./slices").DatasourceConfig): {
|
|
@@ -77,7 +91,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
77
91
|
INPUT_TYPE: import("./slices").DatasourceInputTypes;
|
|
78
92
|
OUTPUT_TYPE: import("./slices").DatasourceOutputTypes;
|
|
79
93
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
80
|
-
};
|
|
94
|
+
} & import("./slices").DatasourceGrouping;
|
|
81
95
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: import("./slices").DatasourceName): {
|
|
82
96
|
TYPE: "PREDICATE_EXPRESSION";
|
|
83
97
|
OPERATION: import("@genesislcap/foundation-ui").RuleExpression.LogicalOperation;
|
|
@@ -109,13 +123,17 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
109
123
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
110
124
|
}> | import("@reduxjs/toolkit").Slice<import("./slices").DatasourceConfig, {
|
|
111
125
|
initDatasourceConfiguration(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
112
|
-
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "INPUT_TYPE">;
|
|
126
|
+
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "NAME" | "INPUT_TYPE">;
|
|
113
127
|
fields: string[];
|
|
114
128
|
}>): void;
|
|
115
|
-
|
|
129
|
+
reorderDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
116
130
|
key: import("./slices").DatasourceName;
|
|
117
|
-
|
|
118
|
-
}>):
|
|
131
|
+
newIndex: number;
|
|
132
|
+
}>): import("./slices").DatasourceConfig;
|
|
133
|
+
renameDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
134
|
+
key: import("./slices").DatasourceName;
|
|
135
|
+
newName: string;
|
|
136
|
+
}>): import("./slices").DatasourceConfig;
|
|
119
137
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
120
138
|
key: import("./slices").DatasourceName;
|
|
121
139
|
newType: import("./slices").DatasourceOutputTypes;
|
|
@@ -134,6 +152,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
134
152
|
column: string;
|
|
135
153
|
included: boolean;
|
|
136
154
|
type?: import("../types").Genesis.GenesisFieldTypes;
|
|
155
|
+
setDefaultFormat?: boolean;
|
|
137
156
|
}>): void;
|
|
138
157
|
setFieldsOrder(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
139
158
|
key: import("./slices").DatasourceName;
|
|
@@ -162,6 +181,15 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
162
181
|
key: import("./slices").DatasourceName;
|
|
163
182
|
column: string;
|
|
164
183
|
}>): void;
|
|
184
|
+
setGrouping(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
185
|
+
key: import("./slices").DatasourceName;
|
|
186
|
+
grouping: Exclude<import("./slices").DatasourceGrouping, {
|
|
187
|
+
GROUPING_STRATEGY: "NONE";
|
|
188
|
+
}>;
|
|
189
|
+
}>): void;
|
|
190
|
+
deleteGrouping(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
191
|
+
key: import("./slices").DatasourceName;
|
|
192
|
+
}>): void;
|
|
165
193
|
}, "datasourceConfig", "datasourceConfig", {
|
|
166
194
|
getAllConfigSet(state: import("./slices").DatasourceConfig): import("./slices").DatasourceConfig;
|
|
167
195
|
getDatasource(state: import("./slices").DatasourceConfig, key: keyof import("./slices").DatasourceConfig): {
|
|
@@ -170,7 +198,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
170
198
|
INPUT_TYPE: import("./slices").DatasourceInputTypes;
|
|
171
199
|
OUTPUT_TYPE: import("./slices").DatasourceOutputTypes;
|
|
172
200
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
173
|
-
};
|
|
201
|
+
} & import("./slices").DatasourceGrouping;
|
|
174
202
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: import("./slices").DatasourceName): {
|
|
175
203
|
TYPE: "PREDICATE_EXPRESSION";
|
|
176
204
|
OPERATION: import("@genesislcap/foundation-ui").RuleExpression.LogicalOperation;
|
|
@@ -205,13 +233,17 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
205
233
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
206
234
|
}> | import("@reduxjs/toolkit").Slice<import("./slices").DatasourceConfig, {
|
|
207
235
|
initDatasourceConfiguration(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
208
|
-
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "INPUT_TYPE">;
|
|
236
|
+
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "NAME" | "INPUT_TYPE">;
|
|
209
237
|
fields: string[];
|
|
210
238
|
}>): void;
|
|
211
|
-
|
|
239
|
+
reorderDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
212
240
|
key: import("./slices").DatasourceName;
|
|
213
|
-
|
|
214
|
-
}>):
|
|
241
|
+
newIndex: number;
|
|
242
|
+
}>): import("./slices").DatasourceConfig;
|
|
243
|
+
renameDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
244
|
+
key: import("./slices").DatasourceName;
|
|
245
|
+
newName: string;
|
|
246
|
+
}>): import("./slices").DatasourceConfig;
|
|
215
247
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
216
248
|
key: import("./slices").DatasourceName;
|
|
217
249
|
newType: import("./slices").DatasourceOutputTypes;
|
|
@@ -230,6 +262,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
230
262
|
column: string;
|
|
231
263
|
included: boolean;
|
|
232
264
|
type?: import("../types").Genesis.GenesisFieldTypes;
|
|
265
|
+
setDefaultFormat?: boolean;
|
|
233
266
|
}>): void;
|
|
234
267
|
setFieldsOrder(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
235
268
|
key: import("./slices").DatasourceName;
|
|
@@ -258,6 +291,15 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
258
291
|
key: import("./slices").DatasourceName;
|
|
259
292
|
column: string;
|
|
260
293
|
}>): void;
|
|
294
|
+
setGrouping(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
295
|
+
key: import("./slices").DatasourceName;
|
|
296
|
+
grouping: Exclude<import("./slices").DatasourceGrouping, {
|
|
297
|
+
GROUPING_STRATEGY: "NONE";
|
|
298
|
+
}>;
|
|
299
|
+
}>): void;
|
|
300
|
+
deleteGrouping(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
301
|
+
key: import("./slices").DatasourceName;
|
|
302
|
+
}>): void;
|
|
261
303
|
}, "datasourceConfig", "datasourceConfig", {
|
|
262
304
|
getAllConfigSet(state: import("./slices").DatasourceConfig): import("./slices").DatasourceConfig;
|
|
263
305
|
getDatasource(state: import("./slices").DatasourceConfig, key: keyof import("./slices").DatasourceConfig): {
|
|
@@ -266,7 +308,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
266
308
|
INPUT_TYPE: import("./slices").DatasourceInputTypes;
|
|
267
309
|
OUTPUT_TYPE: import("./slices").DatasourceOutputTypes;
|
|
268
310
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
269
|
-
};
|
|
311
|
+
} & import("./slices").DatasourceGrouping;
|
|
270
312
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: import("./slices").DatasourceName): {
|
|
271
313
|
TYPE: "PREDICATE_EXPRESSION";
|
|
272
314
|
OPERATION: import("@genesislcap/foundation-ui").RuleExpression.LogicalOperation;
|
|
@@ -298,13 +340,17 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
298
340
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
299
341
|
}> | import("@reduxjs/toolkit").Slice<import("./slices").DatasourceConfig, {
|
|
300
342
|
initDatasourceConfiguration(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
301
|
-
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "INPUT_TYPE">;
|
|
343
|
+
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "NAME" | "INPUT_TYPE">;
|
|
302
344
|
fields: string[];
|
|
303
345
|
}>): void;
|
|
304
|
-
|
|
346
|
+
reorderDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
305
347
|
key: import("./slices").DatasourceName;
|
|
306
|
-
|
|
307
|
-
}>):
|
|
348
|
+
newIndex: number;
|
|
349
|
+
}>): import("./slices").DatasourceConfig;
|
|
350
|
+
renameDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
351
|
+
key: import("./slices").DatasourceName;
|
|
352
|
+
newName: string;
|
|
353
|
+
}>): import("./slices").DatasourceConfig;
|
|
308
354
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
309
355
|
key: import("./slices").DatasourceName;
|
|
310
356
|
newType: import("./slices").DatasourceOutputTypes;
|
|
@@ -323,6 +369,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
323
369
|
column: string;
|
|
324
370
|
included: boolean;
|
|
325
371
|
type?: import("../types").Genesis.GenesisFieldTypes;
|
|
372
|
+
setDefaultFormat?: boolean;
|
|
326
373
|
}>): void;
|
|
327
374
|
setFieldsOrder(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
328
375
|
key: import("./slices").DatasourceName;
|
|
@@ -351,6 +398,15 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
351
398
|
key: import("./slices").DatasourceName;
|
|
352
399
|
column: string;
|
|
353
400
|
}>): void;
|
|
401
|
+
setGrouping(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
402
|
+
key: import("./slices").DatasourceName;
|
|
403
|
+
grouping: Exclude<import("./slices").DatasourceGrouping, {
|
|
404
|
+
GROUPING_STRATEGY: "NONE";
|
|
405
|
+
}>;
|
|
406
|
+
}>): void;
|
|
407
|
+
deleteGrouping(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
408
|
+
key: import("./slices").DatasourceName;
|
|
409
|
+
}>): void;
|
|
354
410
|
}, "datasourceConfig", "datasourceConfig", {
|
|
355
411
|
getAllConfigSet(state: import("./slices").DatasourceConfig): import("./slices").DatasourceConfig;
|
|
356
412
|
getDatasource(state: import("./slices").DatasourceConfig, key: keyof import("./slices").DatasourceConfig): {
|
|
@@ -359,7 +415,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
359
415
|
INPUT_TYPE: import("./slices").DatasourceInputTypes;
|
|
360
416
|
OUTPUT_TYPE: import("./slices").DatasourceOutputTypes;
|
|
361
417
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
362
|
-
};
|
|
418
|
+
} & import("./slices").DatasourceGrouping;
|
|
363
419
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: import("./slices").DatasourceName): {
|
|
364
420
|
TYPE: "PREDICATE_EXPRESSION";
|
|
365
421
|
OPERATION: import("@genesislcap/foundation-ui").RuleExpression.LogicalOperation;
|
|
@@ -391,13 +447,17 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
391
447
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
392
448
|
}> | import("@reduxjs/toolkit").Slice<import("./slices").DatasourceConfig, {
|
|
393
449
|
initDatasourceConfiguration(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
394
|
-
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "INPUT_TYPE">;
|
|
450
|
+
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "NAME" | "INPUT_TYPE">;
|
|
395
451
|
fields: string[];
|
|
396
452
|
}>): void;
|
|
397
|
-
|
|
453
|
+
reorderDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
398
454
|
key: import("./slices").DatasourceName;
|
|
399
|
-
|
|
400
|
-
}>):
|
|
455
|
+
newIndex: number;
|
|
456
|
+
}>): import("./slices").DatasourceConfig;
|
|
457
|
+
renameDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
458
|
+
key: import("./slices").DatasourceName;
|
|
459
|
+
newName: string;
|
|
460
|
+
}>): import("./slices").DatasourceConfig;
|
|
401
461
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
402
462
|
key: import("./slices").DatasourceName;
|
|
403
463
|
newType: import("./slices").DatasourceOutputTypes;
|
|
@@ -416,6 +476,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
416
476
|
column: string;
|
|
417
477
|
included: boolean;
|
|
418
478
|
type?: import("../types").Genesis.GenesisFieldTypes;
|
|
479
|
+
setDefaultFormat?: boolean;
|
|
419
480
|
}>): void;
|
|
420
481
|
setFieldsOrder(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
421
482
|
key: import("./slices").DatasourceName;
|
|
@@ -444,6 +505,15 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
444
505
|
key: import("./slices").DatasourceName;
|
|
445
506
|
column: string;
|
|
446
507
|
}>): void;
|
|
508
|
+
setGrouping(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
509
|
+
key: import("./slices").DatasourceName;
|
|
510
|
+
grouping: Exclude<import("./slices").DatasourceGrouping, {
|
|
511
|
+
GROUPING_STRATEGY: "NONE";
|
|
512
|
+
}>;
|
|
513
|
+
}>): void;
|
|
514
|
+
deleteGrouping(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
515
|
+
key: import("./slices").DatasourceName;
|
|
516
|
+
}>): void;
|
|
447
517
|
}, "datasourceConfig", "datasourceConfig", {
|
|
448
518
|
getAllConfigSet(state: import("./slices").DatasourceConfig): import("./slices").DatasourceConfig;
|
|
449
519
|
getDatasource(state: import("./slices").DatasourceConfig, key: keyof import("./slices").DatasourceConfig): {
|
|
@@ -452,7 +522,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
452
522
|
INPUT_TYPE: import("./slices").DatasourceInputTypes;
|
|
453
523
|
OUTPUT_TYPE: import("./slices").DatasourceOutputTypes;
|
|
454
524
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
455
|
-
};
|
|
525
|
+
} & import("./slices").DatasourceGrouping;
|
|
456
526
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: import("./slices").DatasourceName): {
|
|
457
527
|
TYPE: "PREDICATE_EXPRESSION";
|
|
458
528
|
OPERATION: import("@genesislcap/foundation-ui").RuleExpression.LogicalOperation;
|
|
@@ -484,13 +554,17 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
484
554
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
485
555
|
}> | import("@reduxjs/toolkit").Slice<import("./slices").DatasourceConfig, {
|
|
486
556
|
initDatasourceConfiguration(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
487
|
-
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "INPUT_TYPE">;
|
|
557
|
+
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "NAME" | "INPUT_TYPE">;
|
|
488
558
|
fields: string[];
|
|
489
559
|
}>): void;
|
|
490
|
-
|
|
560
|
+
reorderDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
491
561
|
key: import("./slices").DatasourceName;
|
|
492
|
-
|
|
493
|
-
}>):
|
|
562
|
+
newIndex: number;
|
|
563
|
+
}>): import("./slices").DatasourceConfig;
|
|
564
|
+
renameDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
565
|
+
key: import("./slices").DatasourceName;
|
|
566
|
+
newName: string;
|
|
567
|
+
}>): import("./slices").DatasourceConfig;
|
|
494
568
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
495
569
|
key: import("./slices").DatasourceName;
|
|
496
570
|
newType: import("./slices").DatasourceOutputTypes;
|
|
@@ -509,6 +583,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
509
583
|
column: string;
|
|
510
584
|
included: boolean;
|
|
511
585
|
type?: import("../types").Genesis.GenesisFieldTypes;
|
|
586
|
+
setDefaultFormat?: boolean;
|
|
512
587
|
}>): void;
|
|
513
588
|
setFieldsOrder(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
514
589
|
key: import("./slices").DatasourceName;
|
|
@@ -537,6 +612,15 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
537
612
|
key: import("./slices").DatasourceName;
|
|
538
613
|
column: string;
|
|
539
614
|
}>): void;
|
|
615
|
+
setGrouping(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
616
|
+
key: import("./slices").DatasourceName;
|
|
617
|
+
grouping: Exclude<import("./slices").DatasourceGrouping, {
|
|
618
|
+
GROUPING_STRATEGY: "NONE";
|
|
619
|
+
}>;
|
|
620
|
+
}>): void;
|
|
621
|
+
deleteGrouping(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
622
|
+
key: import("./slices").DatasourceName;
|
|
623
|
+
}>): void;
|
|
540
624
|
}, "datasourceConfig", "datasourceConfig", {
|
|
541
625
|
getAllConfigSet(state: import("./slices").DatasourceConfig): import("./slices").DatasourceConfig;
|
|
542
626
|
getDatasource(state: import("./slices").DatasourceConfig, key: keyof import("./slices").DatasourceConfig): {
|
|
@@ -545,7 +629,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
545
629
|
INPUT_TYPE: import("./slices").DatasourceInputTypes;
|
|
546
630
|
OUTPUT_TYPE: import("./slices").DatasourceOutputTypes;
|
|
547
631
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
548
|
-
};
|
|
632
|
+
} & import("./slices").DatasourceGrouping;
|
|
549
633
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: import("./slices").DatasourceName): {
|
|
550
634
|
TYPE: "PREDICATE_EXPRESSION";
|
|
551
635
|
OPERATION: import("@genesislcap/foundation-ui").RuleExpression.LogicalOperation;
|
|
@@ -577,13 +661,17 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
577
661
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
578
662
|
}> | import("@reduxjs/toolkit").Slice<import("./slices").DatasourceConfig, {
|
|
579
663
|
initDatasourceConfiguration(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
580
|
-
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "INPUT_TYPE">;
|
|
664
|
+
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "NAME" | "INPUT_TYPE">;
|
|
581
665
|
fields: string[];
|
|
582
666
|
}>): void;
|
|
583
|
-
|
|
667
|
+
reorderDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
584
668
|
key: import("./slices").DatasourceName;
|
|
585
|
-
|
|
586
|
-
}>):
|
|
669
|
+
newIndex: number;
|
|
670
|
+
}>): import("./slices").DatasourceConfig;
|
|
671
|
+
renameDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
672
|
+
key: import("./slices").DatasourceName;
|
|
673
|
+
newName: string;
|
|
674
|
+
}>): import("./slices").DatasourceConfig;
|
|
587
675
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
588
676
|
key: import("./slices").DatasourceName;
|
|
589
677
|
newType: import("./slices").DatasourceOutputTypes;
|
|
@@ -602,6 +690,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
602
690
|
column: string;
|
|
603
691
|
included: boolean;
|
|
604
692
|
type?: import("../types").Genesis.GenesisFieldTypes;
|
|
693
|
+
setDefaultFormat?: boolean;
|
|
605
694
|
}>): void;
|
|
606
695
|
setFieldsOrder(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
607
696
|
key: import("./slices").DatasourceName;
|
|
@@ -630,6 +719,15 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
630
719
|
key: import("./slices").DatasourceName;
|
|
631
720
|
column: string;
|
|
632
721
|
}>): void;
|
|
722
|
+
setGrouping(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
723
|
+
key: import("./slices").DatasourceName;
|
|
724
|
+
grouping: Exclude<import("./slices").DatasourceGrouping, {
|
|
725
|
+
GROUPING_STRATEGY: "NONE";
|
|
726
|
+
}>;
|
|
727
|
+
}>): void;
|
|
728
|
+
deleteGrouping(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
729
|
+
key: import("./slices").DatasourceName;
|
|
730
|
+
}>): void;
|
|
633
731
|
}, "datasourceConfig", "datasourceConfig", {
|
|
634
732
|
getAllConfigSet(state: import("./slices").DatasourceConfig): import("./slices").DatasourceConfig;
|
|
635
733
|
getDatasource(state: import("./slices").DatasourceConfig, key: keyof import("./slices").DatasourceConfig): {
|
|
@@ -638,7 +736,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
638
736
|
INPUT_TYPE: import("./slices").DatasourceInputTypes;
|
|
639
737
|
OUTPUT_TYPE: import("./slices").DatasourceOutputTypes;
|
|
640
738
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
641
|
-
};
|
|
739
|
+
} & import("./slices").DatasourceGrouping;
|
|
642
740
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: import("./slices").DatasourceName): {
|
|
643
741
|
TYPE: "PREDICATE_EXPRESSION";
|
|
644
742
|
OPERATION: import("@genesislcap/foundation-ui").RuleExpression.LogicalOperation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../src/new/store/store.ts"],"names":[],"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;;;;;;;;;;;;;;;;;;;;;;;QAf99K,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAe8uG,CAAC;wBAAqD,CAAC;;;;;;;;;;;;;oBAA4nE,mEAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAApuE,CAAC;wBAAqD,CAAC;;;;;;;;;;;;;oBAA4nE,mEAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAdl6K,CAAC;AAE/D,MAAM,MAAM,KAAK,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAChD,MAAM,MAAM,WAAW,GAAG,OAAO,QAAQ,CAAC;AAE1C,eAAO,MAAM,eAAe,GAAI,OAAO,eAAe,SAGrD,CAAC;AAEF,eAAO,MAAM,cAAc,QAAO,eAGhC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JSONSchema7 as JSONShemaBase } from 'json-schema';
|
|
2
|
-
import type { BaseConfig, DatasourceConfig, DatasourceName, Schedule } from '../store';
|
|
2
|
+
import type { BaseConfig, DatasourceConfig, DatasourceName, Schedule, DatasourceGrouping } from '../store';
|
|
3
3
|
export declare namespace Genesis {
|
|
4
4
|
const genesisFieldTypes: readonly ["STRING", "ENUM", "INT", "SHORT", "DOUBLE", "LONG", "BOOLEAN", "BIGDECIMAL", "DATE", "DATETIME", "RAW", "NANO_TIMESTAMP"];
|
|
5
5
|
type GenesisFieldTypes = (typeof genesisFieldTypes)[number];
|
|
@@ -11,7 +11,9 @@ export declare namespace Genesis {
|
|
|
11
11
|
} | undefined;
|
|
12
12
|
};
|
|
13
13
|
type ServerReportConfig = Omit<BaseConfig, 'SCHEDULE'> & {
|
|
14
|
-
DATA_SOURCES: DatasourceConfig[DatasourceName]
|
|
14
|
+
DATA_SOURCES: (Omit<DatasourceConfig[DatasourceName], 'GROUPING_STRATEGY' | 'GROUP_KEY'> & (Exclude<DatasourceGrouping, {
|
|
15
|
+
GROUPING_STRATEGY: 'NONE';
|
|
16
|
+
}> | {}))[];
|
|
15
17
|
SCHEDULES: Schedule[];
|
|
16
18
|
};
|
|
17
19
|
const FileStorageFields: {
|