@genesislcap/pbc-reporting-ui 14.396.4 → 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/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 +19 -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 +126 -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.test.js +39 -7
- 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 +41 -5
- 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 +39 -7
- 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 +58 -7
- 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,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,mBAA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AE,cAAc,GAAG,IAAI,EACrC,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,CAkBhD;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,WAAW,EAAE,EACnB,cAAc,CAAC,EAAE,MAAM,EAAE,GACxB,WAAW,EAAE,CAiBf"}
|
|
@@ -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;
|
|
@@ -62,6 +66,15 @@ export declare const datasourceSlice: import("@reduxjs/toolkit").Slice<Datasourc
|
|
|
62
66
|
key: DatasourceName;
|
|
63
67
|
column: string;
|
|
64
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;
|
|
65
78
|
}, "datasourceConfig", "datasourceConfig", {
|
|
66
79
|
getAllConfigSet(state: DatasourceConfig): DatasourceConfig;
|
|
67
80
|
getDatasource(state: DatasourceConfig, key: keyof DatasourceConfig): {
|
|
@@ -70,7 +83,7 @@ export declare const datasourceSlice: import("@reduxjs/toolkit").Slice<Datasourc
|
|
|
70
83
|
INPUT_TYPE: import("./types").DatasourceInputTypes;
|
|
71
84
|
OUTPUT_TYPE: DatasourceOutputTypes;
|
|
72
85
|
TRANSFORMER_CONFIGURATION: TransformerConfig;
|
|
73
|
-
};
|
|
86
|
+
} & DatasourceGrouping;
|
|
74
87
|
getRowFilterExpression(state: DatasourceConfig, key: DatasourceName): {
|
|
75
88
|
TYPE: "PREDICATE_EXPRESSION";
|
|
76
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,U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C;QACpB,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;8BASK,gBAAgB,UACf,aAAa,CAAC;QACpB,GAAG,EAAE,cAAc,CAAC;QACpB,MAAM,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/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,MAAM,GACN,cAAc,CAAC,UAAU,CAAC,kBAAkB,CAAC,GAC7C,cAAc,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC;KACnD,CAAC;IACF,cAAc,CAAC,EAAE;QACf,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;
|
|
@@ -70,6 +74,15 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
70
74
|
key: import("./slices").DatasourceName;
|
|
71
75
|
column: string;
|
|
72
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;
|
|
73
86
|
}, "datasourceConfig", "datasourceConfig", {
|
|
74
87
|
getAllConfigSet(state: import("./slices").DatasourceConfig): import("./slices").DatasourceConfig;
|
|
75
88
|
getDatasource(state: import("./slices").DatasourceConfig, key: keyof import("./slices").DatasourceConfig): {
|
|
@@ -78,7 +91,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
78
91
|
INPUT_TYPE: import("./slices").DatasourceInputTypes;
|
|
79
92
|
OUTPUT_TYPE: import("./slices").DatasourceOutputTypes;
|
|
80
93
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
81
|
-
};
|
|
94
|
+
} & import("./slices").DatasourceGrouping;
|
|
82
95
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: import("./slices").DatasourceName): {
|
|
83
96
|
TYPE: "PREDICATE_EXPRESSION";
|
|
84
97
|
OPERATION: import("@genesislcap/foundation-ui").RuleExpression.LogicalOperation;
|
|
@@ -110,13 +123,17 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
110
123
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
111
124
|
}> | import("@reduxjs/toolkit").Slice<import("./slices").DatasourceConfig, {
|
|
112
125
|
initDatasourceConfiguration(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
113
|
-
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "INPUT_TYPE">;
|
|
126
|
+
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "NAME" | "INPUT_TYPE">;
|
|
114
127
|
fields: string[];
|
|
115
128
|
}>): void;
|
|
116
|
-
|
|
129
|
+
reorderDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
117
130
|
key: import("./slices").DatasourceName;
|
|
118
|
-
|
|
119
|
-
}>):
|
|
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;
|
|
120
137
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
121
138
|
key: import("./slices").DatasourceName;
|
|
122
139
|
newType: import("./slices").DatasourceOutputTypes;
|
|
@@ -164,6 +181,15 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
164
181
|
key: import("./slices").DatasourceName;
|
|
165
182
|
column: string;
|
|
166
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;
|
|
167
193
|
}, "datasourceConfig", "datasourceConfig", {
|
|
168
194
|
getAllConfigSet(state: import("./slices").DatasourceConfig): import("./slices").DatasourceConfig;
|
|
169
195
|
getDatasource(state: import("./slices").DatasourceConfig, key: keyof import("./slices").DatasourceConfig): {
|
|
@@ -172,7 +198,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
172
198
|
INPUT_TYPE: import("./slices").DatasourceInputTypes;
|
|
173
199
|
OUTPUT_TYPE: import("./slices").DatasourceOutputTypes;
|
|
174
200
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
175
|
-
};
|
|
201
|
+
} & import("./slices").DatasourceGrouping;
|
|
176
202
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: import("./slices").DatasourceName): {
|
|
177
203
|
TYPE: "PREDICATE_EXPRESSION";
|
|
178
204
|
OPERATION: import("@genesislcap/foundation-ui").RuleExpression.LogicalOperation;
|
|
@@ -207,13 +233,17 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
207
233
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
208
234
|
}> | import("@reduxjs/toolkit").Slice<import("./slices").DatasourceConfig, {
|
|
209
235
|
initDatasourceConfiguration(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
210
|
-
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "INPUT_TYPE">;
|
|
236
|
+
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "NAME" | "INPUT_TYPE">;
|
|
211
237
|
fields: string[];
|
|
212
238
|
}>): void;
|
|
213
|
-
|
|
239
|
+
reorderDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
214
240
|
key: import("./slices").DatasourceName;
|
|
215
|
-
|
|
216
|
-
}>):
|
|
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;
|
|
217
247
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
218
248
|
key: import("./slices").DatasourceName;
|
|
219
249
|
newType: import("./slices").DatasourceOutputTypes;
|
|
@@ -261,6 +291,15 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
261
291
|
key: import("./slices").DatasourceName;
|
|
262
292
|
column: string;
|
|
263
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;
|
|
264
303
|
}, "datasourceConfig", "datasourceConfig", {
|
|
265
304
|
getAllConfigSet(state: import("./slices").DatasourceConfig): import("./slices").DatasourceConfig;
|
|
266
305
|
getDatasource(state: import("./slices").DatasourceConfig, key: keyof import("./slices").DatasourceConfig): {
|
|
@@ -269,7 +308,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
269
308
|
INPUT_TYPE: import("./slices").DatasourceInputTypes;
|
|
270
309
|
OUTPUT_TYPE: import("./slices").DatasourceOutputTypes;
|
|
271
310
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
272
|
-
};
|
|
311
|
+
} & import("./slices").DatasourceGrouping;
|
|
273
312
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: import("./slices").DatasourceName): {
|
|
274
313
|
TYPE: "PREDICATE_EXPRESSION";
|
|
275
314
|
OPERATION: import("@genesislcap/foundation-ui").RuleExpression.LogicalOperation;
|
|
@@ -301,13 +340,17 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
301
340
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
302
341
|
}> | import("@reduxjs/toolkit").Slice<import("./slices").DatasourceConfig, {
|
|
303
342
|
initDatasourceConfiguration(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
304
|
-
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "INPUT_TYPE">;
|
|
343
|
+
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "NAME" | "INPUT_TYPE">;
|
|
305
344
|
fields: string[];
|
|
306
345
|
}>): void;
|
|
307
|
-
|
|
346
|
+
reorderDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
308
347
|
key: import("./slices").DatasourceName;
|
|
309
|
-
|
|
310
|
-
}>):
|
|
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;
|
|
311
354
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
312
355
|
key: import("./slices").DatasourceName;
|
|
313
356
|
newType: import("./slices").DatasourceOutputTypes;
|
|
@@ -355,6 +398,15 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
355
398
|
key: import("./slices").DatasourceName;
|
|
356
399
|
column: string;
|
|
357
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;
|
|
358
410
|
}, "datasourceConfig", "datasourceConfig", {
|
|
359
411
|
getAllConfigSet(state: import("./slices").DatasourceConfig): import("./slices").DatasourceConfig;
|
|
360
412
|
getDatasource(state: import("./slices").DatasourceConfig, key: keyof import("./slices").DatasourceConfig): {
|
|
@@ -363,7 +415,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
363
415
|
INPUT_TYPE: import("./slices").DatasourceInputTypes;
|
|
364
416
|
OUTPUT_TYPE: import("./slices").DatasourceOutputTypes;
|
|
365
417
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
366
|
-
};
|
|
418
|
+
} & import("./slices").DatasourceGrouping;
|
|
367
419
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: import("./slices").DatasourceName): {
|
|
368
420
|
TYPE: "PREDICATE_EXPRESSION";
|
|
369
421
|
OPERATION: import("@genesislcap/foundation-ui").RuleExpression.LogicalOperation;
|
|
@@ -395,13 +447,17 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
395
447
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
396
448
|
}> | import("@reduxjs/toolkit").Slice<import("./slices").DatasourceConfig, {
|
|
397
449
|
initDatasourceConfiguration(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
398
|
-
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "INPUT_TYPE">;
|
|
450
|
+
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "NAME" | "INPUT_TYPE">;
|
|
399
451
|
fields: string[];
|
|
400
452
|
}>): void;
|
|
401
|
-
|
|
453
|
+
reorderDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
402
454
|
key: import("./slices").DatasourceName;
|
|
403
|
-
|
|
404
|
-
}>):
|
|
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;
|
|
405
461
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
406
462
|
key: import("./slices").DatasourceName;
|
|
407
463
|
newType: import("./slices").DatasourceOutputTypes;
|
|
@@ -449,6 +505,15 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
449
505
|
key: import("./slices").DatasourceName;
|
|
450
506
|
column: string;
|
|
451
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;
|
|
452
517
|
}, "datasourceConfig", "datasourceConfig", {
|
|
453
518
|
getAllConfigSet(state: import("./slices").DatasourceConfig): import("./slices").DatasourceConfig;
|
|
454
519
|
getDatasource(state: import("./slices").DatasourceConfig, key: keyof import("./slices").DatasourceConfig): {
|
|
@@ -457,7 +522,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
457
522
|
INPUT_TYPE: import("./slices").DatasourceInputTypes;
|
|
458
523
|
OUTPUT_TYPE: import("./slices").DatasourceOutputTypes;
|
|
459
524
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
460
|
-
};
|
|
525
|
+
} & import("./slices").DatasourceGrouping;
|
|
461
526
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: import("./slices").DatasourceName): {
|
|
462
527
|
TYPE: "PREDICATE_EXPRESSION";
|
|
463
528
|
OPERATION: import("@genesislcap/foundation-ui").RuleExpression.LogicalOperation;
|
|
@@ -489,13 +554,17 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
489
554
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
490
555
|
}> | import("@reduxjs/toolkit").Slice<import("./slices").DatasourceConfig, {
|
|
491
556
|
initDatasourceConfiguration(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
492
|
-
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "INPUT_TYPE">;
|
|
557
|
+
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "NAME" | "INPUT_TYPE">;
|
|
493
558
|
fields: string[];
|
|
494
559
|
}>): void;
|
|
495
|
-
|
|
560
|
+
reorderDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
496
561
|
key: import("./slices").DatasourceName;
|
|
497
|
-
|
|
498
|
-
}>):
|
|
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;
|
|
499
568
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
500
569
|
key: import("./slices").DatasourceName;
|
|
501
570
|
newType: import("./slices").DatasourceOutputTypes;
|
|
@@ -543,6 +612,15 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
543
612
|
key: import("./slices").DatasourceName;
|
|
544
613
|
column: string;
|
|
545
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;
|
|
546
624
|
}, "datasourceConfig", "datasourceConfig", {
|
|
547
625
|
getAllConfigSet(state: import("./slices").DatasourceConfig): import("./slices").DatasourceConfig;
|
|
548
626
|
getDatasource(state: import("./slices").DatasourceConfig, key: keyof import("./slices").DatasourceConfig): {
|
|
@@ -551,7 +629,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
551
629
|
INPUT_TYPE: import("./slices").DatasourceInputTypes;
|
|
552
630
|
OUTPUT_TYPE: import("./slices").DatasourceOutputTypes;
|
|
553
631
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
554
|
-
};
|
|
632
|
+
} & import("./slices").DatasourceGrouping;
|
|
555
633
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: import("./slices").DatasourceName): {
|
|
556
634
|
TYPE: "PREDICATE_EXPRESSION";
|
|
557
635
|
OPERATION: import("@genesislcap/foundation-ui").RuleExpression.LogicalOperation;
|
|
@@ -583,13 +661,17 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
583
661
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
584
662
|
}> | import("@reduxjs/toolkit").Slice<import("./slices").DatasourceConfig, {
|
|
585
663
|
initDatasourceConfiguration(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
586
|
-
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "INPUT_TYPE">;
|
|
664
|
+
base: Pick<import("./slices").DatasourceConfig[import("./slices").DatasourceName], "KEY" | "NAME" | "INPUT_TYPE">;
|
|
587
665
|
fields: string[];
|
|
588
666
|
}>): void;
|
|
589
|
-
|
|
667
|
+
reorderDatasource(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
590
668
|
key: import("./slices").DatasourceName;
|
|
591
|
-
|
|
592
|
-
}>):
|
|
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;
|
|
593
675
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: import("@reduxjs/toolkit").PayloadAction<{
|
|
594
676
|
key: import("./slices").DatasourceName;
|
|
595
677
|
newType: import("./slices").DatasourceOutputTypes;
|
|
@@ -637,6 +719,15 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
637
719
|
key: import("./slices").DatasourceName;
|
|
638
720
|
column: string;
|
|
639
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;
|
|
640
731
|
}, "datasourceConfig", "datasourceConfig", {
|
|
641
732
|
getAllConfigSet(state: import("./slices").DatasourceConfig): import("./slices").DatasourceConfig;
|
|
642
733
|
getDatasource(state: import("./slices").DatasourceConfig, key: keyof import("./slices").DatasourceConfig): {
|
|
@@ -645,7 +736,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
645
736
|
INPUT_TYPE: import("./slices").DatasourceInputTypes;
|
|
646
737
|
OUTPUT_TYPE: import("./slices").DatasourceOutputTypes;
|
|
647
738
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
648
|
-
};
|
|
739
|
+
} & import("./slices").DatasourceGrouping;
|
|
649
740
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: import("./slices").DatasourceName): {
|
|
650
741
|
TYPE: "PREDICATE_EXPRESSION";
|
|
651
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":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,eAAO,MAAM,eAAe,EAAE,eAO7B,CAAC;AAEF,eAAO,MACL,KAAK
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../src/new/store/store.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,eAAO,MAAM,eAAe,EAAE,eAO7B,CAAC;AAEF,eAAO,MACL,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAsBqvG,CAAC;wBAAqD,CAAC;;;;;;;;;;;;;oBAA4nE,mEAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QArB99K,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAqBmvG,CAAC;wBAAqD,CAAC;;;;;;;;;;;;;oBAA4nE,mEAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QApB99K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} 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: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../../../../src/new/types/misc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AAChE,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../../../../src/new/types/misc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AAChE,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,QAAQ,EACR,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAElB,yBAAiB,OAAO,CAAC;IAChB,M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,CAAC;QACvC,CAAC,iBAAiB,CAAC,SAAS,CAAC,EAAE,YAAY,CAAC;KAC7C,CAAC;CACH;AAED,MAAM,MAAM,MAAM,CAAC,CAAC,EAAE,CAAC,IAAI;IAAE,CAAC,EAAE,IAAI,CAAC;IAAC,IAAI,CAAC,EAAE,CAAC,CAAA;CAAE,GAAG;IAAE,CAAC,EAAE,KAAK,CAAC;IAAC,IAAI,CAAC,EAAE,CAAC,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generates a unique alias by appending a counter if the base alias already exists in the set.
|
|
3
|
+
* @param baseAlias The desired alias name (usually the resource name).
|
|
4
|
+
* @param existingAliases A Set of currently used aliases to check against.
|
|
5
|
+
* @returns A unique alias string.
|
|
6
|
+
*/
|
|
7
|
+
export declare function generateUniqueAlias(baseAlias: string, existingAliases: Set<string>): string;
|
|
8
|
+
//# sourceMappingURL=alias-generator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alias-generator.d.ts","sourceRoot":"","sources":["../../../../src/new/utils/alias-generator.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,CAW3F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alias-generator.test.d.ts","sourceRoot":"","sources":["../../../../src/new/utils/alias-generator.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/new/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/new/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC"}
|
|
@@ -7,8 +7,11 @@ export declare namespace TOOLTIP {
|
|
|
7
7
|
const SETUP_DESCRIPTION = "\n <h3>Description</h3>\n <p>Here you may optionally include a more detailed description describing this report configuration.</p>\n";
|
|
8
8
|
const SETUP_FILE_TYPE = "\n <h3>File type</h3>\n <p>Select the type of file to use when generating the report. You can choose between CSV, XLSX, and PDF</p>\n <ul>\n <li><strong>CSV</strong>: Generates a CSV report. Selecting a template is optional</li>\n <li><strong>XLSX</strong>: Generates an Excel workbook. Selecting a template is optional</li>\n <li><strong>PDF</strong>: Generates a PDF file. Selecting a template is mandatory</li>\n </ul>\n";
|
|
9
9
|
const SETUP_FILE_TEMPLATE = "\n <h3>File template</h3>\n <p>The template file to use when generating the report. This will only display relevant template files that are available in the Document Manager for the file type configured.</p>\n <ul>\n <li>Where File type is set to <strong>CSV</strong> you may optionally select a <code>.csv</code> or <code>.txt</code> template. To use multiple datasources with <strong>CSV</strong> you must select a template.</li>\n <li>Where File type is set to <strong>XLSX</strong> you may optionally select a <code>.xls</code> or <code>.xlsx</code> template. Where no template file is selected, the workbook will be generated with a tab for each of the data sources configured in the \"Add Datasources\" step.</li>\n <li>Where File type is set to <strong>PDF</strong> you must select a <code>.html</code> or <code>.xhtml</code> template that you've uploaded to the document manager PBC</li>\n </ul>\n ";
|
|
10
|
+
const DATASOURCES_DATASOURCE = "\n <h3>Datasource</h3>\n <p>This is the name of the server resource that data will be pulled from to generate the report.</p>\n";
|
|
10
11
|
const DATASOURCES_NAME = "\n <h3>Datasource name</h3>\n <p>Allows you to set a name for the datasource which must correspond with your template data references where the report is configured to use a template file.</p>\n <p>Where File Type is XLSX and no template is selected, this will be the name of the tab containing this data source's data in the resulting workbook.</p>\n";
|
|
11
12
|
const DATASOURCES_TYPE = "\n <h3>Datasource type</h3>\n <p>Configures the method by which the server constructs the report configuration. Currently only TABLE is supported, which means the entire datasource is loaded into memory when generating the report using this report configuration.</p>\n";
|
|
13
|
+
const DATASOURCES_GROUPING_STRATEGY = "\n <h3>Grouping Strategy</h3>\n <p>Select \"None\" to disable grouping strategies, or select the strategy you'd like to use.</p>\n <ul>\n <li><strong>Multi-sheet</strong>: Group data for <code>JXLS</code> template Multi-sheet functionality, to split different groups across multiple excel worksheets.</li>\n <li><strong>Lookup-table</strong>: Create a lookup table of key value pairs in the template data, where the group key field is the map key.</li>\n </ul>\n";
|
|
14
|
+
const DATASOURCES_GROUPING_KEY = "\n <h3>Grouping Key</h3>\n <p>Select the field for this datasource you want to operate the grouping strategy on.</p>\n";
|
|
12
15
|
const DELIVERY_TIMEZONE = "\n <h3>Timezone</h3>\n <p>Select the timezone to be used for this schedule.</p>\n";
|
|
13
16
|
const DELIVERY_OUTPUTS = "\n <h3>Outputs</h3>\n <p>Optionally select the destinations to distribute the report to.</p>\n";
|
|
14
17
|
}
|