@genesislcap/pbc-reporting-ui 1.0.388 → 1.0.390
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dts/new/components/components.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/base-config/base-config.template.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/datasource-config/datasources-config-container.helpers.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/row-filters/row-filters.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/scheduling/scheduling.d.ts +3 -0
- package/dist/dts/new/main/edit-config/scheduling/scheduling.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/scheduling/scheduling.styles.d.ts.map +1 -1
- package/dist/dts/new/main/edit-config/scheduling/scheduling.template.d.ts.map +1 -1
- package/dist/dts/new/main/generated-reports/generated-reports.d.ts +1 -1
- package/dist/dts/new/main/generated-reports/generated-reports.d.ts.map +1 -1
- package/dist/dts/new/store/slices/base-config.d.ts +1 -0
- package/dist/dts/new/store/slices/base-config.d.ts.map +1 -1
- package/dist/dts/new/store/slices/datasources-config.d.ts +1 -1
- package/dist/dts/new/store/slices/types.d.ts +1 -1
- package/dist/dts/new/store/slices/types.d.ts.map +1 -1
- package/dist/dts/new/store/store.d.ts +28 -21
- package/dist/dts/new/store/store.d.ts.map +1 -1
- package/dist/dts/new/utils/validators.d.ts.map +1 -1
- package/dist/esm/new/components/components.js +2 -2
- package/dist/esm/new/main/edit-config/base-config/base-config.template.js +6 -1
- package/dist/esm/new/main/edit-config/datasource-config/datasource-config-item.js +1 -1
- package/dist/esm/new/main/edit-config/datasource-config/datasources-config-container.helpers.js +10 -6
- package/dist/esm/new/main/edit-config/row-filters/row-filters.js +0 -4
- package/dist/esm/new/main/edit-config/scheduling/scheduling.js +46 -2
- package/dist/esm/new/main/edit-config/scheduling/scheduling.styles.js +22 -1
- package/dist/esm/new/main/edit-config/scheduling/scheduling.template.js +32 -17
- package/dist/esm/new/main/generated-reports/generated-reports.js +4 -4
- package/dist/esm/new/store/slices/base-config.js +3 -1
- package/dist/esm/new/store/slices/types.js +5 -1
- package/dist/esm/new/store/store.js +0 -1
- package/dist/esm/new/utils/transformers.js +2 -5
- package/dist/esm/new/utils/validators.js +3 -4
- package/package.json +15 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/new/components/components.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/new/components/components.ts"],"names":[],"mappings":"AAgDA;;GAEG;AACH,eAAO,MAAM,6BAA6B,qBAsDzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-config.template.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/base-config/base-config.template.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAuC3C,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"base-config.template.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/base-config/base-config.template.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAuC3C,eAAO,MAAM,QAAQ,iEAkFpB,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;AAEzC,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,cACxB,gBAAgB,eACZ,gBAAgB,EAAE,KAAG,QAAQ,IAAI,CA8BhD,CAAC;AAEJ,eAAO,MAAM,wBAAwB,cACvB,gBAAgB,wBAA8B,gBAAgB,EAAE;;;;EAc3E,CAAC;
|
|
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;AAEzC,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,cACxB,gBAAgB,eACZ,gBAAgB,EAAE,KAAG,QAAQ,IAAI,CA8BhD,CAAC;AAEJ,eAAO,MAAM,wBAAwB,cACvB,gBAAgB,wBAA8B,gBAAgB,EAAE;;;;EAc3E,CAAC;AAGJ,eAAO,MAAM,cAAc,YAAmB,OAAO,KAAG,QAAQ,gBAAgB,EAAE,CAsBjF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"row-filters.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/row-filters/row-filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAI1E,OAAO,EAAE,2BAA2B,EAA+B,MAAM,WAAW,CAAC;AAWrF,qBAKa,UAAW,SAAQ,2BAA2B;IAC7C,oBAAoB,EAAE,sBAAsB,CAAC,UAAU,CAEjE;IAEF,2BAA2B,CACzB,KAAK,EAAE,WAAW,CAAC,cAAc,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"row-filters.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/row-filters/row-filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAI1E,OAAO,EAAE,2BAA2B,EAA+B,MAAM,WAAW,CAAC;AAWrF,qBAKa,UAAW,SAAQ,2BAA2B;IAC7C,oBAAoB,EAAE,sBAAsB,CAAC,UAAU,CAEjE;IAEF,2BAA2B,CACzB,KAAK,EAAE,WAAW,CAAC,cAAc,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC;cAMtD,gBAAgB;CAoBjC"}
|
|
@@ -3,7 +3,10 @@ import { GenesisElement } from '@genesislcap/web-core';
|
|
|
3
3
|
export declare class Scheduling extends GenesisElement {
|
|
4
4
|
connect: Connect;
|
|
5
5
|
timeZones: any;
|
|
6
|
+
get disabledClassNames(): string;
|
|
7
|
+
get enableSchedules(): boolean;
|
|
6
8
|
connectedCallback(): void;
|
|
7
9
|
getTimeZones(): Promise<void>;
|
|
10
|
+
toggleSchedule(): void;
|
|
8
11
|
}
|
|
9
12
|
//# sourceMappingURL=scheduling.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduling.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/scheduling/scheduling.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAU,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"scheduling.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/scheduling/scheduling.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAU,MAAM,+BAA+B,CAAC;AAKhE,OAAO,EAEL,cAAc,EAIf,MAAM,uBAAuB,CAAC;AAK/B,qBAKa,UAAW,SAAQ,cAAc;IACnC,OAAO,EAAG,OAAO,CAAC;IAEf,SAAS,MAAC;IAEtB,IACI,kBAAkB,IAAI,MAAM,CAE/B;IAED,IACI,eAAe,IAAI,OAAO,CAE7B;IAED,iBAAiB;IAKX,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAqBnC,cAAc;CAiCf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduling.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/scheduling/scheduling.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"scheduling.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/scheduling/scheduling.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,iDAmClB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduling.template.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/scheduling/scheduling.template.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"scheduling.template.d.ts","sourceRoot":"","sources":["../../../../../../src/new/main/edit-config/scheduling/scheduling.template.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,eAAO,MAAM,QAAQ,iEAwDpB,CAAC"}
|
|
@@ -6,7 +6,7 @@ export declare class GeneratedReports extends GenesisElement {
|
|
|
6
6
|
connect: Connect;
|
|
7
7
|
generatedReportsDatasource: GridProGenesisDatasource;
|
|
8
8
|
generatedReportId: string | null;
|
|
9
|
-
getColor: (result:
|
|
9
|
+
getColor: (result: string) => "var(--error-color)" | "var(--success-color)" | "var(--warning-color)" | "yellow";
|
|
10
10
|
getStatusRenderer: (value: any) => string;
|
|
11
11
|
getColumnDefs(): ColDef<any>[];
|
|
12
12
|
getGridOptions(): GridOptionsConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated-reports.d.ts","sourceRoot":"","sources":["../../../../../src/new/main/generated-reports/generated-reports.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAuB,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,OAAO,EAAU,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAC1F,OAAO,EAAiB,cAAc,EAAQ,MAAM,uBAAuB,CAAC;AAS5E,qBAKa,gBAAiB,SAAQ,cAAc;IACzC,OAAO,EAAE,OAAO,CAAC;IAC1B,0BAA0B,EAAE,wBAAwB,CAAC;IACrD,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEjC,QAAQ,
|
|
1
|
+
{"version":3,"file":"generated-reports.d.ts","sourceRoot":"","sources":["../../../../../src/new/main/generated-reports/generated-reports.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAuB,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,OAAO,EAAU,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAC1F,OAAO,EAAiB,cAAc,EAAQ,MAAM,uBAAuB,CAAC;AAS5E,qBAKa,gBAAiB,SAAQ,cAAc;IACzC,OAAO,EAAE,OAAO,CAAC;IAC1B,0BAA0B,EAAE,wBAAwB,CAAC;IACrD,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEjC,QAAQ,WAAY,MAAM,uFAYxB;IAEF,iBAAiB,yBAEf;IAEF,aAAa;IAkEb,cAAc;YA6BA,cAAc;YAkCd,YAAY;CA6B3B"}
|
|
@@ -10,6 +10,7 @@ export declare const baseSlice: import("@reduxjs/toolkit").Slice<BaseConfig, {
|
|
|
10
10
|
setOutputFormat(state: BaseConfig, action: PayloadAction<{
|
|
11
11
|
format: ReportOutputTypes;
|
|
12
12
|
}>): void;
|
|
13
|
+
deleteSchedule(state: BaseConfig): void;
|
|
13
14
|
}, "baseConfig", "baseConfig", {
|
|
14
15
|
getConfig(state: BaseConfig): BaseConfig;
|
|
15
16
|
getConfigTest(state: BaseConfig, test: boolean, test2: boolean): BaseConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-config.d.ts","sourceRoot":"","sources":["../../../../../src/new/store/slices/base-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"base-config.d.ts","sourceRoot":"","sources":["../../../../../src/new/store/slices/base-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAOxD,eAAO,MAAM,SAAS;uBAKT,UAAU,UACT,oBAAoB,KAAK,UAAU,EAAE,iBAAiB,GAAG,eAAe,CAAC,CAAC;sBAKlE,UAAU,UAAU,cAAc;QAAE,GAAG,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;iBAGzD,UAAU,UAAU,cAAc,UAAU,CAAC;2BAGnC,UAAU,UAAU,cAAc;QAAE,MAAM,EAAE,iBAAiB,CAAA;KAAE,CAAC;0BAMjE,UAAU;;qBAMf,UAAU;yBAIN,UAAU,QAAQ,OAAO,SAAS,OAAO;EAMhE,CAAC"}
|
|
@@ -42,7 +42,7 @@ export declare const datasourceSlice: import("@reduxjs/toolkit").Slice<Datasourc
|
|
|
42
42
|
KEY: string;
|
|
43
43
|
NAME: string;
|
|
44
44
|
INPUT_TYPE: "REQ_REP" | "DATA_PIPELINE";
|
|
45
|
-
OUTPUT_TYPE: "
|
|
45
|
+
OUTPUT_TYPE: "TABLE";
|
|
46
46
|
TRANSFORMER_CONFIGURATION: import("./types").TransformerConfig;
|
|
47
47
|
};
|
|
48
48
|
getRowFilterExpression(state: DatasourceConfig, key: DatasourceKey): {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RuleExpression } from '@genesislcap/foundation-ui';
|
|
2
2
|
export declare const datasourceInputs: readonly ["REQ_REP", "DATA_PIPELINE"];
|
|
3
3
|
export type DatasourceInputTypes = (typeof datasourceInputs)[number];
|
|
4
|
-
export declare const datasourceOutputs: readonly ["
|
|
4
|
+
export declare const datasourceOutputs: readonly ["TABLE"];
|
|
5
5
|
export type DatasourceOutputTypes = (typeof datasourceOutputs)[number];
|
|
6
6
|
export type DatasourceKey = `${DatasourceInputTypes}_${string}`;
|
|
7
7
|
export type TransformerConfig = {
|
|
@@ -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;AAE5D,eAAO,MAAM,gBAAgB,uCAAwC,CAAC;AACtE,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,gBAAgB,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;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;AAIvE,MAAM,MAAM,aAAa,GAAG,GAAG,oBAAoB,IAAI,MAAM,EAAE,CAAC;AAEhE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,cAAc,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACzC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,WAAW,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC;CAChE,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,CAAC,CAAC,EAAE,aAAa,GAAG;QAClB,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,oBAAoB,CAAC;QACjC,WAAW,EAAE,qBAAqB,CAAC;QACnC,yBAAyB,EAAE,iBAAiB,CAAC;KAC9C,CAAC;CACH,CAAC;AAIF,eAAO,MAAM,mBAAmB,iCAAkC,CAAC;AAEnE,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAErE,MAAM,MAAM,QAAQ,GAAG;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC"}
|
|
@@ -45,6 +45,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
45
45
|
};
|
|
46
46
|
type: string;
|
|
47
47
|
}): void;
|
|
48
|
+
deleteSchedule(state: import("./slices").BaseConfig): void;
|
|
48
49
|
}, "baseConfig", "baseConfig", {
|
|
49
50
|
getConfig(state: import("./slices").BaseConfig): import("./slices").BaseConfig;
|
|
50
51
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
@@ -55,7 +56,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
55
56
|
KEY: string;
|
|
56
57
|
NAME: string;
|
|
57
58
|
INPUT_TYPE: "REQ_REP" | "DATA_PIPELINE";
|
|
58
|
-
OUTPUT_TYPE: "
|
|
59
|
+
OUTPUT_TYPE: "TABLE";
|
|
59
60
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
60
61
|
}, "KEY" | "INPUT_TYPE">;
|
|
61
62
|
fields: string[];
|
|
@@ -72,7 +73,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
72
73
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: {
|
|
73
74
|
payload: {
|
|
74
75
|
key: `REQ_REP_${string}` | `DATA_PIPELINE_${string}`;
|
|
75
|
-
newType: "
|
|
76
|
+
newType: "TABLE";
|
|
76
77
|
};
|
|
77
78
|
type: string;
|
|
78
79
|
}): void;
|
|
@@ -136,7 +137,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
136
137
|
KEY: string;
|
|
137
138
|
NAME: string;
|
|
138
139
|
INPUT_TYPE: "REQ_REP" | "DATA_PIPELINE";
|
|
139
|
-
OUTPUT_TYPE: "
|
|
140
|
+
OUTPUT_TYPE: "TABLE";
|
|
140
141
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
141
142
|
};
|
|
142
143
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: `REQ_REP_${string}` | `DATA_PIPELINE_${string}`): {
|
|
@@ -206,6 +207,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
206
207
|
};
|
|
207
208
|
type: string;
|
|
208
209
|
}): void;
|
|
210
|
+
deleteSchedule(state: import("./slices").BaseConfig): void;
|
|
209
211
|
}, "baseConfig", "baseConfig", {
|
|
210
212
|
getConfig(state: import("./slices").BaseConfig): import("./slices").BaseConfig;
|
|
211
213
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
@@ -216,7 +218,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
216
218
|
KEY: string;
|
|
217
219
|
NAME: string;
|
|
218
220
|
INPUT_TYPE: "REQ_REP" | "DATA_PIPELINE";
|
|
219
|
-
OUTPUT_TYPE: "
|
|
221
|
+
OUTPUT_TYPE: "TABLE";
|
|
220
222
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
221
223
|
}, "KEY" | "INPUT_TYPE">;
|
|
222
224
|
fields: string[];
|
|
@@ -233,7 +235,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
233
235
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: {
|
|
234
236
|
payload: {
|
|
235
237
|
key: `REQ_REP_${string}` | `DATA_PIPELINE_${string}`;
|
|
236
|
-
newType: "
|
|
238
|
+
newType: "TABLE";
|
|
237
239
|
};
|
|
238
240
|
type: string;
|
|
239
241
|
}): void;
|
|
@@ -297,7 +299,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
297
299
|
KEY: string;
|
|
298
300
|
NAME: string;
|
|
299
301
|
INPUT_TYPE: "REQ_REP" | "DATA_PIPELINE";
|
|
300
|
-
OUTPUT_TYPE: "
|
|
302
|
+
OUTPUT_TYPE: "TABLE";
|
|
301
303
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
302
304
|
};
|
|
303
305
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: `REQ_REP_${string}` | `DATA_PIPELINE_${string}`): {
|
|
@@ -370,6 +372,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
370
372
|
};
|
|
371
373
|
type: string;
|
|
372
374
|
}): void;
|
|
375
|
+
deleteSchedule(state: import("./slices").BaseConfig): void;
|
|
373
376
|
}, "baseConfig", "baseConfig", {
|
|
374
377
|
getConfig(state: import("./slices").BaseConfig): import("./slices").BaseConfig;
|
|
375
378
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
@@ -380,7 +383,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
380
383
|
KEY: string;
|
|
381
384
|
NAME: string;
|
|
382
385
|
INPUT_TYPE: "REQ_REP" | "DATA_PIPELINE";
|
|
383
|
-
OUTPUT_TYPE: "
|
|
386
|
+
OUTPUT_TYPE: "TABLE";
|
|
384
387
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
385
388
|
}, "KEY" | "INPUT_TYPE">;
|
|
386
389
|
fields: string[];
|
|
@@ -397,7 +400,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
397
400
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: {
|
|
398
401
|
payload: {
|
|
399
402
|
key: `REQ_REP_${string}` | `DATA_PIPELINE_${string}`;
|
|
400
|
-
newType: "
|
|
403
|
+
newType: "TABLE";
|
|
401
404
|
};
|
|
402
405
|
type: string;
|
|
403
406
|
}): void;
|
|
@@ -461,7 +464,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
461
464
|
KEY: string;
|
|
462
465
|
NAME: string;
|
|
463
466
|
INPUT_TYPE: "REQ_REP" | "DATA_PIPELINE";
|
|
464
|
-
OUTPUT_TYPE: "
|
|
467
|
+
OUTPUT_TYPE: "TABLE";
|
|
465
468
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
466
469
|
};
|
|
467
470
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: `REQ_REP_${string}` | `DATA_PIPELINE_${string}`): {
|
|
@@ -531,6 +534,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
531
534
|
};
|
|
532
535
|
type: string;
|
|
533
536
|
}): void;
|
|
537
|
+
deleteSchedule(state: import("./slices").BaseConfig): void;
|
|
534
538
|
}, "baseConfig", "baseConfig", {
|
|
535
539
|
getConfig(state: import("./slices").BaseConfig): import("./slices").BaseConfig;
|
|
536
540
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
@@ -541,7 +545,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
541
545
|
KEY: string;
|
|
542
546
|
NAME: string;
|
|
543
547
|
INPUT_TYPE: "REQ_REP" | "DATA_PIPELINE";
|
|
544
|
-
OUTPUT_TYPE: "
|
|
548
|
+
OUTPUT_TYPE: "TABLE";
|
|
545
549
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
546
550
|
}, "KEY" | "INPUT_TYPE">;
|
|
547
551
|
fields: string[];
|
|
@@ -558,7 +562,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
558
562
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: {
|
|
559
563
|
payload: {
|
|
560
564
|
key: `REQ_REP_${string}` | `DATA_PIPELINE_${string}`;
|
|
561
|
-
newType: "
|
|
565
|
+
newType: "TABLE";
|
|
562
566
|
};
|
|
563
567
|
type: string;
|
|
564
568
|
}): void;
|
|
@@ -622,7 +626,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
622
626
|
KEY: string;
|
|
623
627
|
NAME: string;
|
|
624
628
|
INPUT_TYPE: "REQ_REP" | "DATA_PIPELINE";
|
|
625
|
-
OUTPUT_TYPE: "
|
|
629
|
+
OUTPUT_TYPE: "TABLE";
|
|
626
630
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
627
631
|
};
|
|
628
632
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: `REQ_REP_${string}` | `DATA_PIPELINE_${string}`): {
|
|
@@ -692,6 +696,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
692
696
|
};
|
|
693
697
|
type: string;
|
|
694
698
|
}): void;
|
|
699
|
+
deleteSchedule(state: import("./slices").BaseConfig): void;
|
|
695
700
|
}, "baseConfig", "baseConfig", {
|
|
696
701
|
getConfig(state: import("./slices").BaseConfig): import("./slices").BaseConfig;
|
|
697
702
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
@@ -702,7 +707,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
702
707
|
KEY: string;
|
|
703
708
|
NAME: string;
|
|
704
709
|
INPUT_TYPE: "REQ_REP" | "DATA_PIPELINE";
|
|
705
|
-
OUTPUT_TYPE: "
|
|
710
|
+
OUTPUT_TYPE: "TABLE";
|
|
706
711
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
707
712
|
}, "KEY" | "INPUT_TYPE">;
|
|
708
713
|
fields: string[];
|
|
@@ -719,7 +724,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
719
724
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: {
|
|
720
725
|
payload: {
|
|
721
726
|
key: `REQ_REP_${string}` | `DATA_PIPELINE_${string}`;
|
|
722
|
-
newType: "
|
|
727
|
+
newType: "TABLE";
|
|
723
728
|
};
|
|
724
729
|
type: string;
|
|
725
730
|
}): void;
|
|
@@ -783,7 +788,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
783
788
|
KEY: string;
|
|
784
789
|
NAME: string;
|
|
785
790
|
INPUT_TYPE: "REQ_REP" | "DATA_PIPELINE";
|
|
786
|
-
OUTPUT_TYPE: "
|
|
791
|
+
OUTPUT_TYPE: "TABLE";
|
|
787
792
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
788
793
|
};
|
|
789
794
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: `REQ_REP_${string}` | `DATA_PIPELINE_${string}`): {
|
|
@@ -853,6 +858,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
853
858
|
};
|
|
854
859
|
type: string;
|
|
855
860
|
}): void;
|
|
861
|
+
deleteSchedule(state: import("./slices").BaseConfig): void;
|
|
856
862
|
}, "baseConfig", "baseConfig", {
|
|
857
863
|
getConfig(state: import("./slices").BaseConfig): import("./slices").BaseConfig;
|
|
858
864
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
@@ -863,7 +869,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
863
869
|
KEY: string;
|
|
864
870
|
NAME: string;
|
|
865
871
|
INPUT_TYPE: "REQ_REP" | "DATA_PIPELINE";
|
|
866
|
-
OUTPUT_TYPE: "
|
|
872
|
+
OUTPUT_TYPE: "TABLE";
|
|
867
873
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
868
874
|
}, "KEY" | "INPUT_TYPE">;
|
|
869
875
|
fields: string[];
|
|
@@ -880,7 +886,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
880
886
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: {
|
|
881
887
|
payload: {
|
|
882
888
|
key: `REQ_REP_${string}` | `DATA_PIPELINE_${string}`;
|
|
883
|
-
newType: "
|
|
889
|
+
newType: "TABLE";
|
|
884
890
|
};
|
|
885
891
|
type: string;
|
|
886
892
|
}): void;
|
|
@@ -944,7 +950,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
944
950
|
KEY: string;
|
|
945
951
|
NAME: string;
|
|
946
952
|
INPUT_TYPE: "REQ_REP" | "DATA_PIPELINE";
|
|
947
|
-
OUTPUT_TYPE: "
|
|
953
|
+
OUTPUT_TYPE: "TABLE";
|
|
948
954
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
949
955
|
};
|
|
950
956
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: `REQ_REP_${string}` | `DATA_PIPELINE_${string}`): {
|
|
@@ -1014,6 +1020,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
1014
1020
|
};
|
|
1015
1021
|
type: string;
|
|
1016
1022
|
}): void;
|
|
1023
|
+
deleteSchedule(state: import("./slices").BaseConfig): void;
|
|
1017
1024
|
}, "baseConfig", "baseConfig", {
|
|
1018
1025
|
getConfig(state: import("./slices").BaseConfig): import("./slices").BaseConfig;
|
|
1019
1026
|
getConfigTest(state: import("./slices").BaseConfig, test: boolean, test2: boolean): import("./slices").BaseConfig;
|
|
@@ -1024,7 +1031,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
1024
1031
|
KEY: string;
|
|
1025
1032
|
NAME: string;
|
|
1026
1033
|
INPUT_TYPE: "REQ_REP" | "DATA_PIPELINE";
|
|
1027
|
-
OUTPUT_TYPE: "
|
|
1034
|
+
OUTPUT_TYPE: "TABLE";
|
|
1028
1035
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
1029
1036
|
}, "KEY" | "INPUT_TYPE">;
|
|
1030
1037
|
fields: string[];
|
|
@@ -1041,7 +1048,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
1041
1048
|
updateDatasourceOutputType(state: import("./slices").DatasourceConfig, action: {
|
|
1042
1049
|
payload: {
|
|
1043
1050
|
key: `REQ_REP_${string}` | `DATA_PIPELINE_${string}`;
|
|
1044
|
-
newType: "
|
|
1051
|
+
newType: "TABLE";
|
|
1045
1052
|
};
|
|
1046
1053
|
type: string;
|
|
1047
1054
|
}): void;
|
|
@@ -1105,7 +1112,7 @@ export declare const store: import("../types").RootStateFromSlices<(import("@red
|
|
|
1105
1112
|
KEY: string;
|
|
1106
1113
|
NAME: string;
|
|
1107
1114
|
INPUT_TYPE: "REQ_REP" | "DATA_PIPELINE";
|
|
1108
|
-
OUTPUT_TYPE: "
|
|
1115
|
+
OUTPUT_TYPE: "TABLE";
|
|
1109
1116
|
TRANSFORMER_CONFIGURATION: import("./slices").TransformerConfig;
|
|
1110
1117
|
};
|
|
1111
1118
|
getRowFilterExpression(state: import("./slices").DatasourceConfig, key: `REQ_REP_${string}` | `DATA_PIPELINE_${string}`): {
|
|
@@ -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,
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QACL,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QACP,WAAW;;;GACX,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QACT,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BACT,QAAQ,oDACR,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QACR,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBACgD,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,UAAW,eAAe,SAGrD,CAAC;AAEF,eAAO,MAAM,cAAc,QAAO,eAGhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/new/utils/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,eAAO,MAAM,uBAAuB,YACxB,OAAO,cACF,eAAe,KAAG,QAAQ,OAAO,SAAS,EAAE,MAAM,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/new/utils/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,eAAO,MAAM,uBAAuB,YACxB,OAAO,cACF,eAAe,KAAG,QAAQ,OAAO,SAAS,EAAE,MAAM,EAAE,CAAC,CAqCnE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EntityManagement } from '@genesislcap/foundation-entity-management';
|
|
2
|
-
import { baseComponents, provideDesignSystem, rapidActionsMenu, rapidButton, rapidCard, rapidCheckbox, rapidCombobox, rapidDialog, rapidIcon, rapidListboxOption, rapidMenu, rapidMenuItem, rapidRadio, rapidRadioGroup, rapidSelect, rapidTab, rapidTabPanel, rapidTabs, rapidTextField, rapidTextArea, rapidToast, rapidModal, rapidMultiselect, rapidListbox, rapidNumberField, rapidToastStyles, rapidStepper, rapidStepperTab, rapidStepperTabPanel, rapidTreeItem, rapidProgressRing, rapidSchedulerCronBuilder, RapidRuleExpressionBuilder, } from '@genesislcap/rapid-design-system';
|
|
2
|
+
import { baseComponents, provideDesignSystem, rapidActionsMenu, rapidButton, rapidCard, rapidCheckbox, rapidCombobox, rapidDialog, rapidIcon, rapidListboxOption, rapidMenu, rapidMenuItem, rapidRadio, rapidRadioGroup, rapidSelect, rapidTab, rapidTabPanel, rapidTabs, rapidTextField, rapidTextArea, rapidToast, rapidModal, rapidMultiselect, rapidListbox, rapidNumberField, rapidToastStyles, rapidStepper, rapidStepperTab, rapidStepperTabPanel, rapidTreeItem, rapidProgressRing, rapidSchedulerCronBuilder, rapidSwitch, RapidRuleExpressionBuilder, } from '@genesislcap/rapid-design-system';
|
|
3
3
|
import { rapidGridComponents, rapidAgActionsMenuRenderer, rapidAgSelectRenderer, } from '@genesislcap/rapid-grid-pro';
|
|
4
4
|
import { css } from '@genesislcap/web-core';
|
|
5
5
|
import { foundationAgRowSelectRenderer } from '../../old/components/renderers/row-select.renderer';
|
|
@@ -16,7 +16,7 @@ export const registerCommonRapidComponents = async () => {
|
|
|
16
16
|
/**
|
|
17
17
|
* Common across most routes, so batch register these lightweight components upfront.
|
|
18
18
|
*/
|
|
19
|
-
rapidActionsMenu(), rapidButton(), rapidCard(), rapidCheckbox(), rapidDialog(), rapidIcon(), rapidListboxOption(), rapidMenu(), rapidMenuItem(), rapidRadio(), rapidRadioGroup(), rapidSelect(), rapidTab(), rapidTabPanel(), rapidTabs(), rapidTextField(), rapidTextArea(), rapidSchedulerCronBuilder(), rapidToast({
|
|
19
|
+
rapidActionsMenu(), rapidButton(), rapidCard(), rapidCheckbox(), rapidDialog(), rapidIcon(), rapidListboxOption(), rapidMenu(), rapidMenuItem(), rapidRadio(), rapidRadioGroup(), rapidSelect(), rapidTab(), rapidTabPanel(), rapidTabs(), rapidTextField(), rapidTextArea(), rapidSchedulerCronBuilder(), rapidSwitch(), rapidToast({
|
|
20
20
|
styles: css `
|
|
21
21
|
${rapidToastStyles}
|
|
22
22
|
::slotted(*) {
|
|
@@ -88,7 +88,12 @@ export const template = html `
|
|
|
88
88
|
})}
|
|
89
89
|
>
|
|
90
90
|
${repeat(() => reportOutputFormats, html `
|
|
91
|
-
<rapid-option
|
|
91
|
+
<rapid-option
|
|
92
|
+
value="${(x) => x}"
|
|
93
|
+
?disabled=${(x) => x === 'CSV' && Object.keys(selectors.datasourceConfig.getAllConfigSet()).length > 1}
|
|
94
|
+
>
|
|
95
|
+
${(x) => '.' + x.toLowerCase()}
|
|
96
|
+
</rapid-option>
|
|
92
97
|
`)}
|
|
93
98
|
</rapid-select>
|
|
94
99
|
${fileTemplatePicker}
|
|
@@ -18,7 +18,7 @@ let DatasourceConfigItem = class DatasourceConfigItem extends GenesisElement {
|
|
|
18
18
|
if (!this.canRemove)
|
|
19
19
|
throw new Error('Trying to remove final datasource!');
|
|
20
20
|
if (!this.datasourceKey)
|
|
21
|
-
throw new Error('deleteDatasourceHandler -
|
|
21
|
+
throw new Error('deleteDatasourceHandler - Datasource key unset!');
|
|
22
22
|
actions.datasourceConfig.deleteDatasource({
|
|
23
23
|
key: this.datasourceKey,
|
|
24
24
|
});
|
package/dist/esm/new/main/edit-config/datasource-config/datasources-config-container.helpers.js
CHANGED
|
@@ -39,19 +39,23 @@ export const findFirstValidDatasource = (getSchema) => async (validDatasources)
|
|
|
39
39
|
}
|
|
40
40
|
throw new Error(`No valid datasources found`);
|
|
41
41
|
};
|
|
42
|
+
// TODO: temporarily removing data pipelines until later requested
|
|
42
43
|
export const getDatasources = async (connect) => {
|
|
43
44
|
const reqRepResponse = await connect.request('ALL_REPORT_DATASOURCES', {
|
|
44
45
|
REQUEST: {},
|
|
45
46
|
});
|
|
46
47
|
if (!(reqRepResponse === null || reqRepResponse === void 0 ? void 0 : reqRepResponse.REPLY))
|
|
47
48
|
throw new Error('REQ_REP request');
|
|
48
|
-
const dataPipelineResponse = await connect.request('REPORTING_DATA_PIPELINES', {
|
|
49
|
-
|
|
50
|
-
});
|
|
51
|
-
if (!
|
|
52
|
-
throw new Error('DATA_PIPELINE request');
|
|
49
|
+
// const dataPipelineResponse = await connect.request('REPORTING_DATA_PIPELINES', {
|
|
50
|
+
// REQUEST: {},
|
|
51
|
+
// });
|
|
52
|
+
// if (!dataPipelineResponse?.REPLY) throw new Error('DATA_PIPELINE request');
|
|
53
53
|
return reqRepResponse.REPLY.map(({ DATASOURCE_NAME }) => ({
|
|
54
54
|
name: DATASOURCE_NAME,
|
|
55
55
|
inputType: 'REQ_REP',
|
|
56
|
-
})).concat(
|
|
56
|
+
})); // .concat(
|
|
57
|
+
// dataPipelineResponse.REPLY.map(
|
|
58
|
+
// ({ NAME }) => <DatasourceChoice>{ name: NAME, inputType: 'DATA_PIPELINE' },
|
|
59
|
+
// ),
|
|
60
|
+
// );
|
|
57
61
|
};
|
|
@@ -19,10 +19,6 @@ let RowFilters = class RowFilters extends DatasourceDataBaseComponent {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
handleChangedRuleExpression(event) {
|
|
22
|
-
var _a;
|
|
23
|
-
// TODO: stop this requirement
|
|
24
|
-
if (JSON.stringify(event.detail) === JSON.stringify((_a = this.ruleExpressionConfig) === null || _a === void 0 ? void 0 : _a.model))
|
|
25
|
-
return;
|
|
26
22
|
if (!this.datasourceKey)
|
|
27
23
|
return;
|
|
28
24
|
actions.datasourceConfig.setRowFilter({ key: this.datasourceKey, expression: event.detail });
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { Connect, logger } from '@genesislcap/foundation-comms';
|
|
3
|
-
import { showNotificationToast } from '@genesislcap/foundation-notifications';
|
|
4
|
-
import { customElement, GenesisElement, observable } from '@genesislcap/web-core';
|
|
3
|
+
import { showNotificationDialog, showNotificationToast, } from '@genesislcap/foundation-notifications';
|
|
4
|
+
import { customElement, GenesisElement, observable, classNames, volatile, } from '@genesislcap/web-core';
|
|
5
5
|
import { styles } from './scheduling.styles';
|
|
6
6
|
import { template } from './scheduling.template';
|
|
7
|
+
import { actions, selectors } from '../../../store';
|
|
7
8
|
let Scheduling = class Scheduling extends GenesisElement {
|
|
9
|
+
get disabledClassNames() {
|
|
10
|
+
return classNames(['disabled', !selectors.baseConfig.getConfig().SCHEDULE]);
|
|
11
|
+
}
|
|
12
|
+
get enableSchedules() {
|
|
13
|
+
return selectors.baseConfig.getConfig().SCHEDULE !== undefined;
|
|
14
|
+
}
|
|
8
15
|
connectedCallback() {
|
|
9
16
|
super.connectedCallback();
|
|
10
17
|
this.getTimeZones();
|
|
@@ -27,6 +34,37 @@ let Scheduling = class Scheduling extends GenesisElement {
|
|
|
27
34
|
logger.error(e);
|
|
28
35
|
}
|
|
29
36
|
}
|
|
37
|
+
toggleSchedule() {
|
|
38
|
+
if (this.enableSchedules) {
|
|
39
|
+
showNotificationDialog({
|
|
40
|
+
title: 'Reporting Config',
|
|
41
|
+
body: 'Disabling schedule will remove the current schedule. Do you want to continue?',
|
|
42
|
+
dialog: {
|
|
43
|
+
confirmingActions: [
|
|
44
|
+
{
|
|
45
|
+
label: 'Confirm',
|
|
46
|
+
action: () => {
|
|
47
|
+
actions.baseConfig.deleteSchedule();
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
dismissingAction: {
|
|
52
|
+
label: 'Dismiss',
|
|
53
|
+
action: () => console.log('Keep schedules'),
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
}, 'rapid');
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
actions.baseConfig.updateState({
|
|
60
|
+
key: 'SCHEDULE',
|
|
61
|
+
value: {
|
|
62
|
+
TIME_ZONE: this.timeZones.length > 0 ? this.timeZones[0] : '',
|
|
63
|
+
CRON_EXPRESSION: '0 0 0 * * ?',
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
}
|
|
30
68
|
};
|
|
31
69
|
__decorate([
|
|
32
70
|
Connect
|
|
@@ -34,6 +72,12 @@ __decorate([
|
|
|
34
72
|
__decorate([
|
|
35
73
|
observable
|
|
36
74
|
], Scheduling.prototype, "timeZones", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
volatile
|
|
77
|
+
], Scheduling.prototype, "disabledClassNames", null);
|
|
78
|
+
__decorate([
|
|
79
|
+
volatile
|
|
80
|
+
], Scheduling.prototype, "enableSchedules", null);
|
|
37
81
|
Scheduling = __decorate([
|
|
38
82
|
customElement({
|
|
39
83
|
name: 'scheduling-config',
|
|
@@ -7,11 +7,32 @@ export const styles = css `
|
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
gap: calc(var(--design-unit) * 2px);
|
|
9
9
|
}
|
|
10
|
+
.container {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
gap: calc(var(--design-unit) * 2px);
|
|
14
|
+
}
|
|
10
15
|
|
|
11
16
|
.timezone-container {
|
|
12
17
|
display: flex;
|
|
13
18
|
flex-direction: column;
|
|
14
19
|
gap: calc(var(--design-unit) * 2px);
|
|
15
|
-
padding: 0 calc(
|
|
20
|
+
padding: 0 calc(var(--design-unit) * 4px);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.enable-schedules {
|
|
24
|
+
padding: calc(var(--design-unit) * 4px);
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
gap: calc(var(--design-unit) * 3px);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.parent-container.disabled {
|
|
31
|
+
cursor: not-allowed;
|
|
32
|
+
opacity: 50%;
|
|
33
|
+
}
|
|
34
|
+
.container.disabled,
|
|
35
|
+
.container.disabled * {
|
|
36
|
+
pointer-events: none;
|
|
16
37
|
}
|
|
17
38
|
`;
|
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
import { html, repeat, sync } from '@genesislcap/web-core';
|
|
2
2
|
import { actions, selectors } from '../../../store';
|
|
3
3
|
export const template = html `
|
|
4
|
-
<div class="
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
<div class="container">
|
|
5
|
+
<div class="enable-schedules">
|
|
6
|
+
<rapid-button
|
|
7
|
+
data-test-id="config-enable-schedules"
|
|
8
|
+
appearance=${(x) => (x.enableSchedules ? 'neutral' : 'primary')}
|
|
9
|
+
@click=${(x, c) => x.toggleSchedule()}
|
|
10
|
+
>
|
|
11
|
+
${(x) => (x.enableSchedules ? 'Disable Schedule' : 'Enable Schedule')}
|
|
12
|
+
</rapid-button>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="parent-container ${(x) => x.disabledClassNames}">
|
|
15
|
+
<div class="container ${(x) => x.disabledClassNames}">
|
|
16
|
+
<div class="timezone-container">
|
|
17
|
+
<label class="label">Time Zone</label>
|
|
18
|
+
<rapid-combobox
|
|
19
|
+
data-test-id="config-report-timezone"
|
|
20
|
+
autocomplete="both"
|
|
21
|
+
value="${() => { var _a; return ((_a = selectors.baseConfig.getConfig().SCHEDULE) === null || _a === void 0 ? void 0 : _a.TIME_ZONE) || ''; }}"
|
|
22
|
+
@change="${(x, ctx) => {
|
|
11
23
|
var _a;
|
|
12
24
|
return actions.baseConfig.updateState({
|
|
13
25
|
key: 'SCHEDULE',
|
|
@@ -19,15 +31,15 @@ export const template = html `
|
|
|
19
31
|
},
|
|
20
32
|
});
|
|
21
33
|
}}"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
34
|
+
>
|
|
35
|
+
${repeat((x) => x.timeZones, html `
|
|
36
|
+
<rapid-option value="${(x) => x}">${(x) => x}</rapid-option>
|
|
37
|
+
`)}
|
|
38
|
+
</rapid-combobox>
|
|
39
|
+
</div>
|
|
40
|
+
<rapid-scheduler-cron-builder
|
|
41
|
+
:cron=${sync((x) => { var _a; return ((_a = selectors.baseConfig.getConfig().SCHEDULE) === null || _a === void 0 ? void 0 : _a.CRON_EXPRESSION) || '0 0 0 * * ?'; })}
|
|
42
|
+
@change="${(_, ctx) => {
|
|
31
43
|
var _a;
|
|
32
44
|
return actions.baseConfig.updateState({
|
|
33
45
|
key: 'SCHEDULE',
|
|
@@ -37,5 +49,8 @@ export const template = html `
|
|
|
37
49
|
},
|
|
38
50
|
});
|
|
39
51
|
}}"
|
|
40
|
-
|
|
52
|
+
></rapid-scheduler-cron-builder>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
41
56
|
`;
|
|
@@ -13,12 +13,12 @@ let GeneratedReports = class GeneratedReports extends GenesisElement {
|
|
|
13
13
|
super(...arguments);
|
|
14
14
|
this.getColor = (result) => {
|
|
15
15
|
switch (result) {
|
|
16
|
-
case '
|
|
17
|
-
case '
|
|
16
|
+
case 'Generated':
|
|
17
|
+
case 'Delivered':
|
|
18
18
|
return 'var(--success-color)';
|
|
19
|
-
case '
|
|
19
|
+
case 'Pending':
|
|
20
20
|
return 'var(--warning-color)';
|
|
21
|
-
case '
|
|
21
|
+
case 'Failed':
|
|
22
22
|
return 'var(--error-color)';
|
|
23
23
|
default:
|
|
24
24
|
return 'yellow';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { createSlice } from '@reduxjs/toolkit';
|
|
2
2
|
const initialState = {
|
|
3
3
|
DESTINATION_IDS: [],
|
|
4
|
-
SCHEDULE: { CRON_EXPRESSION: '0 0 0 * * ?', TIME_ZONE: '' },
|
|
5
4
|
OUTPUT_DIRECTORY: '/reports',
|
|
6
5
|
};
|
|
7
6
|
export const baseSlice = createSlice({
|
|
@@ -24,6 +23,9 @@ export const baseSlice = createSlice({
|
|
|
24
23
|
delete state.DOCUMENT_TEMPLATE_ID;
|
|
25
24
|
}
|
|
26
25
|
},
|
|
26
|
+
deleteSchedule(state) {
|
|
27
|
+
delete state.SCHEDULE;
|
|
28
|
+
}
|
|
27
29
|
},
|
|
28
30
|
selectors: {
|
|
29
31
|
// could add additional params if needed
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
// DATA SOURCE CONFIG
|
|
2
2
|
export const datasourceInputs = ['REQ_REP', 'DATA_PIPELINE'];
|
|
3
|
-
|
|
3
|
+
// TODO: temporarily disabled RECORD_STREAM
|
|
4
|
+
export const datasourceOutputs = [
|
|
5
|
+
// 'RECORD_STREAM',
|
|
6
|
+
'TABLE',
|
|
7
|
+
];
|
|
4
8
|
// BASE-CONFIG
|
|
5
9
|
export const reportOutputFormats = ['CSV', 'PDF', 'XLSX'];
|
|
@@ -12,17 +12,14 @@ export function transformToServerPayload(state) {
|
|
|
12
12
|
// horrible destructing
|
|
13
13
|
export function transformFromServerPaylaod(payload) {
|
|
14
14
|
const { DATA_SOURCES, ID, NAME, DESCRIPTION, OUTPUT_FORMAT, FILE_NAME, AUTO_DISPATCH, DESTINATION_IDS, SCHEDULES, OUTPUT_DIRECTORY, } = payload;
|
|
15
|
-
const baseConfig = {
|
|
16
|
-
ID,
|
|
15
|
+
const baseConfig = Object.assign({ ID,
|
|
17
16
|
NAME,
|
|
18
17
|
DESCRIPTION,
|
|
19
18
|
OUTPUT_FORMAT,
|
|
20
19
|
FILE_NAME,
|
|
21
20
|
AUTO_DISPATCH,
|
|
22
21
|
DESTINATION_IDS,
|
|
23
|
-
OUTPUT_DIRECTORY,
|
|
24
|
-
SCHEDULE: SCHEDULES.length === 0 ? { CRON_EXPRESSION: '0 0 0 * * ?', TIME_ZONE: '' } : SCHEDULES[0],
|
|
25
|
-
};
|
|
22
|
+
OUTPUT_DIRECTORY }, (SCHEDULES.length > 0 && { SCHEDULE: SCHEDULES[0] }));
|
|
26
23
|
return {
|
|
27
24
|
baseConfig,
|
|
28
25
|
datasourceConfig: DATA_SOURCES.map(({ KEY, INPUT_TYPE, NAME: DS_NAME, OUTPUT_TYPE, TRANSFORMER_CONFIGURATION }) => ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const validateReportingConfig = (connect) => async (config) => {
|
|
2
|
-
var _a, _b, _c
|
|
2
|
+
var _a, _b, _c;
|
|
3
3
|
const errors = [];
|
|
4
4
|
const result = await connect.snapshot('ALL_REPORT_CONFIGS');
|
|
5
5
|
const reportingConfigNames = new Set((_b = (_a = result.ROW) === null || _a === void 0 ? void 0 : _a.filter((d) => !config.baseConfig.ID || d.ID !== config.baseConfig.ID)) === null || _b === void 0 ? void 0 : _b.map((d) => d.NAME));
|
|
@@ -15,9 +15,8 @@ export const validateReportingConfig = (connect) => async (config) => {
|
|
|
15
15
|
if (!config.baseConfig.OUTPUT_DIRECTORY) {
|
|
16
16
|
errors.push(`Reporting output directory name unset.`);
|
|
17
17
|
}
|
|
18
|
-
if (!((_c = config.baseConfig.SCHEDULE) === null || _c === void 0 ? void 0 : _c.TIME_ZONE)
|
|
19
|
-
(
|
|
20
|
-
errors.push(`Reporting config time zone unset.`);
|
|
18
|
+
if (config.baseConfig.SCHEDULE && !((_c = config.baseConfig.SCHEDULE) === null || _c === void 0 ? void 0 : _c.TIME_ZONE)) {
|
|
19
|
+
errors.push(`Reporting config timezone unset or invalid.`);
|
|
21
20
|
}
|
|
22
21
|
if (errors.length) {
|
|
23
22
|
return {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/pbc-reporting-ui",
|
|
3
3
|
"description": "Genesis PBC Reporting UI",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.390",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/dts/index.d.ts",
|
|
@@ -124,20 +124,20 @@
|
|
|
124
124
|
},
|
|
125
125
|
"peerDependencies": {
|
|
126
126
|
"@ag-grid-community/core": "29.2.0",
|
|
127
|
-
"@genesislcap/foundation-comms": "
|
|
128
|
-
"@genesislcap/foundation-entity-management": "
|
|
129
|
-
"@genesislcap/foundation-events": "
|
|
130
|
-
"@genesislcap/foundation-forms": "
|
|
131
|
-
"@genesislcap/foundation-logger": "
|
|
132
|
-
"@genesislcap/foundation-notifications": "
|
|
133
|
-
"@genesislcap/foundation-ui": "
|
|
134
|
-
"@genesislcap/foundation-utils": "
|
|
135
|
-
"@genesislcap/foundation-zero": "
|
|
136
|
-
"@genesislcap/foundation-zero-grid-pro": "
|
|
137
|
-
"@genesislcap/grid-pro": "
|
|
138
|
-
"@genesislcap/rapid-design-system": "
|
|
139
|
-
"@genesislcap/rapid-grid-pro": "
|
|
140
|
-
"@genesislcap/web-core": "
|
|
127
|
+
"@genesislcap/foundation-comms": "14.251.1",
|
|
128
|
+
"@genesislcap/foundation-entity-management": "14.251.1",
|
|
129
|
+
"@genesislcap/foundation-events": "14.251.1",
|
|
130
|
+
"@genesislcap/foundation-forms": "14.251.1",
|
|
131
|
+
"@genesislcap/foundation-logger": "14.251.1",
|
|
132
|
+
"@genesislcap/foundation-notifications": "14.251.1",
|
|
133
|
+
"@genesislcap/foundation-ui": "14.251.1",
|
|
134
|
+
"@genesislcap/foundation-utils": "14.251.1",
|
|
135
|
+
"@genesislcap/foundation-zero": "14.251.1",
|
|
136
|
+
"@genesislcap/foundation-zero-grid-pro": "14.251.1",
|
|
137
|
+
"@genesislcap/grid-pro": "14.251.1",
|
|
138
|
+
"@genesislcap/rapid-design-system": "14.251.1",
|
|
139
|
+
"@genesislcap/rapid-grid-pro": "14.251.1",
|
|
140
|
+
"@genesislcap/web-core": "14.251.1"
|
|
141
141
|
},
|
|
142
142
|
"publishConfig": {
|
|
143
143
|
"access": "public"
|