@genesislcap/pbc-reconciliation-ui 0.0.45 → 14.339.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/.env +3 -0
- package/dist/dts/components/configurations-panel/configuration-datasources/configuration-datasources.d.ts.map +1 -1
- package/dist/dts/components/configurations-panel/configuration-datasources/configuration-datasources.template.d.ts.map +1 -1
- package/dist/dts/components/configurations-panel/configurations-panel.d.ts +2 -2
- package/dist/dts/components/configurations-panel/configurations-panel.d.ts.map +1 -1
- package/dist/dts/components/configurations-panel/configurations-panel.template.d.ts.map +1 -1
- package/dist/dts/components/configurations-panel/reconciliation-rule-row/reconciliation-rule-row.d.ts.map +1 -1
- package/dist/dts/components/configurations-panel/reconciliation-rule-row/reconciliation-rule-row.template.d.ts.map +1 -1
- package/dist/dts/components/data-dictionaries/columns.d.ts +2 -2
- package/dist/dts/components/data-dictionaries/columns.d.ts.map +1 -1
- package/dist/dts/components/data-dictionaries/data-dictionaries-utils.d.ts.map +1 -1
- package/dist/dts/components/data-dictionaries/data-dictionaries.d.ts +3 -6
- package/dist/dts/components/data-dictionaries/data-dictionaries.d.ts.map +1 -1
- package/dist/dts/components/data-dictionaries/data-dictionaries.template.d.ts +1 -1
- package/dist/dts/components/data-dictionaries/data-dictionaries.template.d.ts.map +1 -1
- package/dist/dts/components/data-dictionaries/data-dictionaries.types.d.ts +6 -0
- package/dist/dts/components/data-dictionaries/data-dictionaries.types.d.ts.map +1 -0
- package/dist/dts/components/list/list.d.ts.map +1 -1
- package/dist/dts/components/list/list.template.d.ts.map +1 -1
- package/dist/dts/components/rapid-components.d.ts.map +1 -1
- package/dist/dts/components/reconciliations-panel/columns.d.ts.map +1 -1
- package/dist/dts/components/reconciliations-panel/input-parameter/input-parameter.d.ts +3 -14
- package/dist/dts/components/reconciliations-panel/input-parameter/input-parameter.d.ts.map +1 -1
- package/dist/dts/components/reconciliations-panel/input-parameter/input-parameter.template.d.ts +1 -1
- package/dist/dts/components/reconciliations-panel/input-parameter/input-parameter.template.d.ts.map +1 -1
- package/dist/dts/components/reconciliations-panel/input-parameter/input-parameter.types.d.ts +13 -0
- package/dist/dts/components/reconciliations-panel/input-parameter/input-parameter.types.d.ts.map +1 -0
- package/dist/dts/components/reconciliations-panel/reconciliation-no-rows-overlay.d.ts +1 -1
- package/dist/dts/components/reconciliations-panel/reconciliation-no-rows-overlay.d.ts.map +1 -1
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.d.ts +1 -1
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.d.ts.map +1 -1
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.styles.d.ts.map +1 -1
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.template.d.ts.map +1 -1
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.utils.d.ts +1 -1
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.utils.d.ts.map +1 -1
- package/dist/dts/components/reconciliations-panel/result-details/result-details.d.ts +4 -33
- package/dist/dts/components/reconciliations-panel/result-details/result-details.d.ts.map +1 -1
- package/dist/dts/components/reconciliations-panel/result-details/result-details.template.d.ts +1 -1
- package/dist/dts/components/reconciliations-panel/result-details/result-details.template.d.ts.map +1 -1
- package/dist/dts/components/reconciliations-panel/result-details/result-details.types.d.ts +30 -0
- package/dist/dts/components/reconciliations-panel/result-details/result-details.types.d.ts.map +1 -0
- package/dist/dts/components/zero-components.d.ts.map +1 -1
- package/dist/dts/config/config.d.ts.map +1 -1
- package/dist/dts/config/configure.d.ts.map +1 -1
- package/dist/dts/config/templates.d.ts +2 -2
- package/dist/dts/config/templates.d.ts.map +1 -1
- package/dist/dts/main/main.d.ts +2 -2
- package/dist/dts/main/main.d.ts.map +1 -1
- package/dist/dts/main/main.styles.d.ts.map +1 -1
- package/dist/dts/main/main.template.d.ts +1 -1
- package/dist/dts/main/main.template.d.ts.map +1 -1
- package/dist/dts/reconciliation.types.d.ts +13 -13
- package/dist/dts/reconciliation.types.d.ts.map +1 -1
- package/dist/dts/sandbox.d.ts +2 -2
- package/dist/dts/sandbox.d.ts.map +1 -1
- package/dist/dts/services/document.service.d.ts.map +1 -1
- package/dist/dts/services/reconciliation-configuration.service.d.ts.map +1 -1
- package/dist/dts/services/reconciliation.service.d.ts.map +1 -1
- package/dist/dts/utils/delete-row-action-cell-renderer.d.ts.map +1 -1
- package/dist/dts/utils/endpoint.d.ts.map +1 -1
- package/dist/dts/utils/eventDetail.d.ts.map +1 -1
- package/dist/dts/utils/format-date.d.ts.map +1 -1
- package/dist/dts/utils/humanize.d.ts.map +1 -1
- package/dist/dts/utils/isEmpty.d.ts.map +1 -1
- package/dist/dts/utils/notification.d.ts.map +1 -1
- package/dist/esm/components/configurations-panel/configuration-datasources/configuration-datasources.js +3 -3
- package/dist/esm/components/configurations-panel/configuration-datasources/configuration-datasources.js.map +1 -1
- package/dist/esm/components/configurations-panel/configuration-datasources/configuration-datasources.styles.js +4 -4
- package/dist/esm/components/configurations-panel/configuration-datasources/configuration-datasources.styles.js.map +1 -1
- package/dist/esm/components/configurations-panel/configuration-datasources/configuration-datasources.template.js +1 -1
- package/dist/esm/components/configurations-panel/configuration-datasources/configuration-datasources.template.js.map +1 -1
- package/dist/esm/components/configurations-panel/configurations-panel.js +15 -11
- package/dist/esm/components/configurations-panel/configurations-panel.js.map +1 -1
- package/dist/esm/components/configurations-panel/configurations-panel.styles.js +346 -346
- package/dist/esm/components/configurations-panel/configurations-panel.styles.js.map +1 -1
- package/dist/esm/components/configurations-panel/configurations-panel.template.js +276 -278
- package/dist/esm/components/configurations-panel/configurations-panel.template.js.map +1 -1
- package/dist/esm/components/configurations-panel/reconciliation-rule-row/reconciliation-rule-row.js +3 -3
- package/dist/esm/components/configurations-panel/reconciliation-rule-row/reconciliation-rule-row.js.map +1 -1
- package/dist/esm/components/configurations-panel/reconciliation-rule-row/reconciliation-rule-row.styles.js +1 -1
- package/dist/esm/components/configurations-panel/reconciliation-rule-row/reconciliation-rule-row.template.js +1 -1
- package/dist/esm/components/configurations-panel/reconciliation-rule-row/reconciliation-rule-row.template.js.map +1 -1
- package/dist/esm/components/data-dictionaries/columns.js +4 -4
- package/dist/esm/components/data-dictionaries/data-dictionaries-utils.js.map +1 -1
- package/dist/esm/components/data-dictionaries/data-dictionaries.js +7 -11
- package/dist/esm/components/data-dictionaries/data-dictionaries.js.map +1 -1
- package/dist/esm/components/data-dictionaries/data-dictionaries.styles.js +1 -1
- package/dist/esm/components/data-dictionaries/data-dictionaries.template.js +3 -3
- package/dist/esm/components/data-dictionaries/data-dictionaries.template.js.map +1 -1
- package/dist/esm/components/data-dictionaries/data-dictionaries.types.js +7 -0
- package/dist/esm/components/data-dictionaries/data-dictionaries.types.js.map +1 -0
- package/dist/esm/components/list/list.js +1 -1
- package/dist/esm/components/list/list.js.map +1 -1
- package/dist/esm/components/list/list.template.js.map +1 -1
- package/dist/esm/components/rapid-components.js +1 -2
- package/dist/esm/components/rapid-components.js.map +1 -1
- package/dist/esm/components/reconciliations-panel/columns.js +9 -15
- package/dist/esm/components/reconciliations-panel/columns.js.map +1 -1
- package/dist/esm/components/reconciliations-panel/input-parameter/input-parameter.js +8 -21
- package/dist/esm/components/reconciliations-panel/input-parameter/input-parameter.js.map +1 -1
- package/dist/esm/components/reconciliations-panel/input-parameter/input-parameter.styles.js +7 -7
- package/dist/esm/components/reconciliations-panel/input-parameter/input-parameter.template.js +9 -12
- package/dist/esm/components/reconciliations-panel/input-parameter/input-parameter.template.js.map +1 -1
- package/dist/esm/components/reconciliations-panel/input-parameter/input-parameter.types.js +16 -0
- package/dist/esm/components/reconciliations-panel/input-parameter/input-parameter.types.js.map +1 -0
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.js +40 -32
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.js.map +1 -1
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.styles.js +300 -301
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.styles.js.map +1 -1
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.template.js +335 -331
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.template.js.map +1 -1
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.utils.js +9 -9
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.utils.js.map +1 -1
- package/dist/esm/components/reconciliations-panel/result-details/result-details.js +24 -43
- package/dist/esm/components/reconciliations-panel/result-details/result-details.js.map +1 -1
- package/dist/esm/components/reconciliations-panel/result-details/result-details.template.js +7 -7
- package/dist/esm/components/reconciliations-panel/result-details/result-details.template.js.map +1 -1
- package/dist/esm/components/reconciliations-panel/result-details/result-details.types.js +17 -0
- package/dist/esm/components/reconciliations-panel/result-details/result-details.types.js.map +1 -0
- package/dist/esm/components/zero-components.js +2 -3
- package/dist/esm/components/zero-components.js.map +1 -1
- package/dist/esm/config/config.js.map +1 -1
- package/dist/esm/config/configure.js +1 -1
- package/dist/esm/config/configure.js.map +1 -1
- package/dist/esm/config/templates.js +1 -1
- package/dist/esm/main/main.js +4 -4
- package/dist/esm/main/main.js.map +1 -1
- package/dist/esm/main/main.styles.js +1 -0
- package/dist/esm/main/main.styles.js.map +1 -1
- package/dist/esm/main/main.template.js +8 -7
- package/dist/esm/main/main.template.js.map +1 -1
- package/dist/esm/sandbox.js +15 -8
- package/dist/esm/sandbox.js.map +1 -1
- package/dist/esm/services/data-dictionary.service.js +6 -6
- package/dist/esm/services/data-dictionary.service.js.map +1 -1
- package/dist/esm/services/document.service.js +3 -4
- package/dist/esm/services/document.service.js.map +1 -1
- package/dist/esm/services/reconciliation-configuration.service.js +3 -1
- package/dist/esm/services/reconciliation-configuration.service.js.map +1 -1
- package/dist/esm/services/reconciliation.service.js +8 -5
- package/dist/esm/services/reconciliation.service.js.map +1 -1
- package/dist/esm/utils/delete-row-action-cell-renderer.js +1 -3
- package/dist/esm/utils/delete-row-action-cell-renderer.js.map +1 -1
- package/dist/esm/utils/endpoint.js.map +1 -1
- package/dist/esm/utils/humanize.js.map +1 -1
- package/dist/esm/utils/icons.js +1 -1
- package/dist/esm/utils/isEmpty.js.map +1 -1
- package/dist/esm/utils/notification.js +1 -1
- package/dist/esm/utils/notification.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/license.txt +46 -0
- package/package.json +31 -30
- package/src/components/configurations-panel/configuration-datasources/configuration-datasources.styles.ts +72 -0
- package/src/components/configurations-panel/configuration-datasources/configuration-datasources.template.ts +73 -0
- package/src/components/configurations-panel/configuration-datasources/configuration-datasources.ts +64 -0
- package/src/components/configurations-panel/configurations-panel.styles.ts +363 -0
- package/src/components/configurations-panel/configurations-panel.template.ts +356 -0
- package/src/components/configurations-panel/configurations-panel.ts +387 -0
- package/src/components/configurations-panel/recon-rules-columns.ts +117 -0
- package/src/components/configurations-panel/reconciliation-rule-row/reconciliation-rule-row.styles.ts +73 -0
- package/src/components/configurations-panel/reconciliation-rule-row/reconciliation-rule-row.template.ts +122 -0
- package/src/components/configurations-panel/reconciliation-rule-row/reconciliation-rule-row.ts +202 -0
- package/src/components/data-dictionaries/columns.ts +42 -0
- package/src/components/data-dictionaries/data-dictionaries-utils.ts +40 -0
- package/src/components/data-dictionaries/data-dictionaries.styles.ts +92 -0
- package/src/components/data-dictionaries/data-dictionaries.template.ts +78 -0
- package/src/components/data-dictionaries/data-dictionaries.ts +236 -0
- package/src/components/data-dictionaries/data-dictionaries.types.ts +5 -0
- package/src/components/list/list.styles.ts +88 -0
- package/src/components/list/list.template.ts +36 -0
- package/src/components/list/list.ts +33 -0
- package/src/components/rapid-components.ts +69 -0
- package/src/components/reconciliations-panel/columns.ts +74 -0
- package/src/components/reconciliations-panel/input-parameter/input-parameter.styles.ts +104 -0
- package/src/components/reconciliations-panel/input-parameter/input-parameter.template.ts +93 -0
- package/src/components/reconciliations-panel/input-parameter/input-parameter.ts +131 -0
- package/src/components/reconciliations-panel/input-parameter/input-parameter.types.ts +14 -0
- package/src/components/reconciliations-panel/reconciliation-no-rows-overlay.ts +18 -0
- package/src/components/reconciliations-panel/reconciliations-panel.styles.ts +328 -0
- package/src/components/reconciliations-panel/reconciliations-panel.template.ts +432 -0
- package/src/components/reconciliations-panel/reconciliations-panel.ts +441 -0
- package/src/components/reconciliations-panel/reconciliations-panel.utils.ts +103 -0
- package/src/components/reconciliations-panel/result-details/result-details.styles.ts +108 -0
- package/src/components/reconciliations-panel/result-details/result-details.template.ts +88 -0
- package/src/components/reconciliations-panel/result-details/result-details.ts +200 -0
- package/src/components/reconciliations-panel/result-details/result-details.types.ts +30 -0
- package/src/components/zero-components.ts +61 -0
- package/src/config/config.ts +49 -0
- package/src/config/configure.ts +72 -0
- package/src/config/index.ts +2 -0
- package/src/config/templates.ts +80 -0
- package/src/globals.d.ts +7 -0
- package/src/index.federated.ts +1 -0
- package/src/index.ts +3 -0
- package/src/main/index.ts +3 -0
- package/src/main/main.styles.ts +33 -0
- package/src/main/main.template.ts +65 -0
- package/src/main/main.ts +153 -0
- package/src/reconciliation.types.ts +170 -0
- package/src/sandbox.ts +40 -0
- package/src/services/data-dictionary.service.ts +64 -0
- package/src/services/document.service.ts +72 -0
- package/src/services/reconciliation-configuration.service.ts +105 -0
- package/src/services/reconciliation.service.ts +120 -0
- package/src/styles/scrollbar.styles.ts +15 -0
- package/src/tags/index.ts +1 -0
- package/src/tags/tags.ts +143 -0
- package/src/typings.d.ts +1 -0
- package/src/utils/delete-row-action-cell-renderer.ts +71 -0
- package/src/utils/endpoint.ts +15 -0
- package/src/utils/eventDetail.ts +5 -0
- package/src/utils/format-date.ts +9 -0
- package/src/utils/humanize.ts +14 -0
- package/src/utils/icons.ts +24 -0
- package/src/utils/index.ts +2 -0
- package/src/utils/isEmpty.ts +2 -0
- package/src/utils/logger.ts +3 -0
- package/src/utils/notification.ts +35 -0
- package/tsconfig.json +45 -0
- package/Dockerfile +0 -12
- package/docs/images/lsp_jetbrains_one.png +0 -0
- package/docs/images/lsp_jetbrains_two.png +0 -0
- package/docs/images/lsp_vscode_one.png +0 -0
- package/docs/images/lsp_vscode_two.png +0 -0
- package/playwright.config.ts +0 -1
- package/test/README.md +0 -3
- package/test/e2e/fixture.ts +0 -25
- package/test/e2e/flows/001-protected.e2e.ts +0 -6
- package/test/e2e/index.ts +0 -2
- package/test/e2e/pages/index.ts +0 -1
- package/test/e2e/pages/protected.ts +0 -16
- package/test/unit/mock/services/data-dictionary-service-mock.ts +0 -15
- package/test/unit/mock/services/reconciliation-configuration-service-mock.ts +0 -26
- package/test/unit/mock/services/reconciliation-service-mock.ts +0 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configurations-panel.styles.js","sourceRoot":"","sources":["../../../../src/components/configurations-panel/configurations-panel.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAC5C,OAAO,EACL,QAAQ,EACR,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,SAAS,EACT,YAAY,GACb,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"configurations-panel.styles.js","sourceRoot":"","sources":["../../../../src/components/configurations-panel/configurations-panel.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EACL,QAAQ,EACR,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,SAAS,EACT,YAAY,GACb,MAAM,YAAY,CAAC;AAEpB,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCjB,CAAC;AAEF,MAAM,aAAa,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyGrB,QAAQ;;;;IAIR,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BA+EW,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CxC,CAAC;AAEF,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;IASd,YAAY;;;;;IAKZ,YAAY;;;;IAIZ,SAAS;;;;;IAKT,SAAS;;;;IAIT,SAAS;;;;;;;;;;;;;;;;;;IAkBT,SAAS;;;;IAIT,YAAY;;;CAGf,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,CAAA;;;;;;;;;;;;IAYxC,eAAe;IACf,MAAM;IACN,aAAa;IACb,MAAM;;;;;CAKT,CAAC"}
|
|
@@ -1,302 +1,300 @@
|
|
|
1
|
-
import { html, ref, repeat, when, whenElse } from '@genesislcap/web-core';
|
|
2
|
-
import { ConfigurationDatasources } from './configuration-datasources/configuration-datasources';
|
|
3
1
|
import { sync } from '@genesislcap/foundation-utils';
|
|
2
|
+
import { html, ref, repeat, when, whenElse } from '@genesislcap/web-core';
|
|
4
3
|
import { ConfigurationMode, ReconciliationFrequency, DatasourceType, RuleMode, ReconciliationMethod, } from '../../reconciliation.types';
|
|
5
4
|
import { badgeTag, buttonTag, dividerTag, iconTag, optionTag, radioTag, segmentedControlTag, segmentedItemTag, selectTag, switchTag, textFieldTag, } from '../../tags';
|
|
6
5
|
import { eventDetail } from '../../utils/eventDetail';
|
|
6
|
+
import { ConfigurationDatasources } from './configuration-datasources/configuration-datasources';
|
|
7
7
|
import { ReconciliationRuleRow } from './reconciliation-rule-row/reconciliation-rule-row';
|
|
8
8
|
ReconciliationRuleRow;
|
|
9
9
|
ConfigurationDatasources;
|
|
10
|
-
const listTemplate = html `
|
|
11
|
-
<item-list
|
|
12
|
-
:items=${(x) => x.configurations}
|
|
13
|
-
:idProperty=${(_) => 'RECONCILIATION_CONFIG_ID'}
|
|
14
|
-
:nameProperty=${(_) => 'NAME'}
|
|
15
|
-
:title=${(_) => 'All Configurations'}
|
|
16
|
-
:addButtonLabel=${(_) => 'New Configuration'}
|
|
17
|
-
:selectedItem=${(x) => x.selectedConfiguration}
|
|
18
|
-
@addRecord=${(x) => x.addConfiguration()}
|
|
19
|
-
@selectRecord=${(x, c) => x.selectConfiguration(eventDetail(c))}
|
|
20
|
-
@deleteRecord=${(x, c) => x.deleteConfiguration(eventDetail(c))}
|
|
21
|
-
>
|
|
22
|
-
</item-list>
|
|
10
|
+
const listTemplate = html `
|
|
11
|
+
<item-list
|
|
12
|
+
:items=${(x) => x.configurations}
|
|
13
|
+
:idProperty=${(_) => 'RECONCILIATION_CONFIG_ID'}
|
|
14
|
+
:nameProperty=${(_) => 'NAME'}
|
|
15
|
+
:title=${(_) => 'All Configurations'}
|
|
16
|
+
:addButtonLabel=${(_) => 'New Configuration'}
|
|
17
|
+
:selectedItem=${(x) => x.selectedConfiguration}
|
|
18
|
+
@addRecord=${(x) => x.addConfiguration()}
|
|
19
|
+
@selectRecord=${(x, c) => x.selectConfiguration(eventDetail(c))}
|
|
20
|
+
@deleteRecord=${(x, c) => x.deleteConfiguration(eventDetail(c))}
|
|
21
|
+
></item-list>
|
|
23
22
|
`;
|
|
24
|
-
const configurationNameAndDatasourcesTemplate = html `
|
|
25
|
-
<div class="configuration-name-and-data-sources">
|
|
26
|
-
<div class="configuration-name-and-data-sources-fields">
|
|
27
|
-
<div class="configuration-name">
|
|
28
|
-
<label class="configuration-name-label">Configuration Name</label>
|
|
29
|
-
<${textFieldTag}
|
|
30
|
-
:value=${sync((x) => x.configurationName)}
|
|
31
|
-
:disabled=${(x) => x.configurationMode === ConfigurationMode.EDIT}>
|
|
32
|
-
</${textFieldTag}>
|
|
33
|
-
</div>
|
|
34
|
-
|
|
35
|
-
<div class="configuration-name">
|
|
36
|
-
<label class="configuration-name-label">Configuration Method</label>
|
|
37
|
-
|
|
38
|
-
<${segmentedControlTag}
|
|
39
|
-
class="data-source-types"
|
|
40
|
-
:value=${sync((x) => x.reconciliationFrequency)}
|
|
41
|
-
>
|
|
42
|
-
<${segmentedItemTag}
|
|
43
|
-
:value=${(_) => ReconciliationFrequency.BATCH}
|
|
44
|
-
>
|
|
45
|
-
Batch
|
|
46
|
-
</${segmentedItemTag}>
|
|
47
|
-
<${segmentedItemTag}
|
|
48
|
-
disabled
|
|
49
|
-
:value=${(_) => ReconciliationFrequency.REAL_TIME}
|
|
50
|
-
>
|
|
51
|
-
Real-time
|
|
52
|
-
</${segmentedItemTag}>
|
|
53
|
-
</${segmentedControlTag}>
|
|
54
|
-
|
|
55
|
-
<${segmentedControlTag}
|
|
56
|
-
class="data-source-types"
|
|
57
|
-
:value=${sync((x) => x.reconciliationStrategy)}
|
|
58
|
-
@change=${(x, c) => x.reconStrategyChanged()}
|
|
59
|
-
disabled=${(x) => x.configurationMode === ConfigurationMode.EDIT}
|
|
60
|
-
>
|
|
61
|
-
<${segmentedItemTag}
|
|
62
|
-
:value=${(_) => ReconciliationMethod.ONE_TO_ONE}
|
|
63
|
-
@click=${(x, c) => x.clearDatasources()}
|
|
64
|
-
>
|
|
65
|
-
1:1
|
|
66
|
-
</${segmentedItemTag}>
|
|
67
|
-
<${segmentedItemTag}
|
|
68
|
-
:value=${(_) => ReconciliationMethod.ONE_TO_MANY}
|
|
69
|
-
>
|
|
70
|
-
1:N
|
|
71
|
-
</${segmentedItemTag}>
|
|
72
|
-
<${segmentedItemTag}
|
|
73
|
-
:value=${(_) => ReconciliationMethod.MANY_TO_MANY}
|
|
74
|
-
@click=${(x, c) => (x.primaryDatasource = null)}
|
|
75
|
-
>
|
|
76
|
-
N:N
|
|
77
|
-
</${segmentedItemTag}>
|
|
78
|
-
</${segmentedControlTag}>
|
|
79
|
-
</div>
|
|
80
|
-
|
|
81
|
-
<${dividerTag}></${dividerTag}>
|
|
82
|
-
|
|
83
|
-
<div class="data-sources">
|
|
84
|
-
<label class="data-sources-label">Data Sources</label>
|
|
85
|
-
|
|
86
|
-
${whenElse((x) => x.reconciliationStrategy === ReconciliationMethod.ONE_TO_ONE, html `
|
|
87
|
-
<label class="data-source-name-label">Add 1st Data Source</label>
|
|
88
|
-
|
|
89
|
-
<configuration-datasources
|
|
90
|
-
:configurationMode=${(x) => x.configurationMode}
|
|
91
|
-
${ref('firstDatasource')}
|
|
92
|
-
:dataPipelineList=${(x) => x.dataPipelineList}
|
|
93
|
-
>
|
|
94
|
-
</configuration-datasources>
|
|
95
|
-
|
|
96
|
-
<${dividerTag}></${dividerTag}>
|
|
97
|
-
|
|
98
|
-
<label class="data-source-name-label">Add 2nd Data Source</label>
|
|
99
|
-
|
|
100
|
-
<configuration-datasources
|
|
101
|
-
:configurationMode=${(x) => x.configurationMode}
|
|
102
|
-
${ref('secondDatasource')}
|
|
103
|
-
:dataPipelineList=${(x) => x.dataPipelineList}
|
|
104
|
-
>
|
|
105
|
-
</configuration-datasources>
|
|
106
|
-
`, html `
|
|
107
|
-
<label class="data-source-name-label">Add New Data Source</label>
|
|
108
|
-
|
|
109
|
-
<configuration-datasources
|
|
110
|
-
show-add-button
|
|
111
|
-
:configurationMode=${(x) => x.configurationMode}
|
|
112
|
-
:dataPipelineList=${(x) => x.dataPipelineList}
|
|
113
|
-
@addDatasource=${(x, c) => x.addDataSource(eventDetail(c))}
|
|
114
|
-
>
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
<label class="current-data-source-label">
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
:value=${(x) => x.NAME}
|
|
23
|
+
const configurationNameAndDatasourcesTemplate = html `
|
|
24
|
+
<div class="configuration-name-and-data-sources">
|
|
25
|
+
<div class="configuration-name-and-data-sources-fields">
|
|
26
|
+
<div class="configuration-name">
|
|
27
|
+
<label class="configuration-name-label">Configuration Name</label>
|
|
28
|
+
<${textFieldTag}
|
|
29
|
+
:value=${sync((x) => x.configurationName)}
|
|
30
|
+
:disabled=${(x) => x.configurationMode === ConfigurationMode.EDIT}>
|
|
31
|
+
</${textFieldTag}>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<div class="configuration-name">
|
|
35
|
+
<label class="configuration-name-label">Configuration Method</label>
|
|
36
|
+
|
|
37
|
+
<${segmentedControlTag}
|
|
38
|
+
class="data-source-types"
|
|
39
|
+
:value=${sync((x) => x.reconciliationFrequency)}
|
|
40
|
+
>
|
|
41
|
+
<${segmentedItemTag}
|
|
42
|
+
:value=${(_) => ReconciliationFrequency.BATCH}
|
|
43
|
+
>
|
|
44
|
+
Batch
|
|
45
|
+
</${segmentedItemTag}>
|
|
46
|
+
<${segmentedItemTag}
|
|
47
|
+
disabled
|
|
48
|
+
:value=${(_) => ReconciliationFrequency.REAL_TIME}
|
|
49
|
+
>
|
|
50
|
+
Real-time
|
|
51
|
+
</${segmentedItemTag}>
|
|
52
|
+
</${segmentedControlTag}>
|
|
53
|
+
|
|
54
|
+
<${segmentedControlTag}
|
|
55
|
+
class="data-source-types"
|
|
56
|
+
:value=${sync((x) => x.reconciliationStrategy)}
|
|
57
|
+
@change=${(x, c) => x.reconStrategyChanged()}
|
|
58
|
+
disabled=${(x) => x.configurationMode === ConfigurationMode.EDIT}
|
|
59
|
+
>
|
|
60
|
+
<${segmentedItemTag}
|
|
61
|
+
:value=${(_) => ReconciliationMethod.ONE_TO_ONE}
|
|
62
|
+
@click=${(x, c) => x.clearDatasources()}
|
|
63
|
+
>
|
|
64
|
+
1:1
|
|
65
|
+
</${segmentedItemTag}>
|
|
66
|
+
<${segmentedItemTag}
|
|
67
|
+
:value=${(_) => ReconciliationMethod.ONE_TO_MANY}
|
|
68
|
+
>
|
|
69
|
+
1:N
|
|
70
|
+
</${segmentedItemTag}>
|
|
71
|
+
<${segmentedItemTag}
|
|
72
|
+
:value=${(_) => ReconciliationMethod.MANY_TO_MANY}
|
|
73
|
+
@click=${(x, c) => (x.primaryDatasource = null)}
|
|
74
|
+
>
|
|
75
|
+
N:N
|
|
76
|
+
</${segmentedItemTag}>
|
|
77
|
+
</${segmentedControlTag}>
|
|
78
|
+
</div>
|
|
79
|
+
|
|
80
|
+
<${dividerTag}></${dividerTag}>
|
|
81
|
+
|
|
82
|
+
<div class="data-sources">
|
|
83
|
+
<label class="data-sources-label">Data Sources</label>
|
|
84
|
+
|
|
85
|
+
${whenElse((x) => x.reconciliationStrategy === ReconciliationMethod.ONE_TO_ONE, html `
|
|
86
|
+
<label class="data-source-name-label">Add 1st Data Source</label>
|
|
87
|
+
|
|
88
|
+
<configuration-datasources
|
|
89
|
+
:configurationMode=${(x) => x.configurationMode}
|
|
90
|
+
${ref('firstDatasource')}
|
|
91
|
+
:dataPipelineList=${(x) => x.dataPipelineList}
|
|
92
|
+
>
|
|
93
|
+
</configuration-datasources>
|
|
94
|
+
|
|
95
|
+
<${dividerTag}></${dividerTag}>
|
|
96
|
+
|
|
97
|
+
<label class="data-source-name-label">Add 2nd Data Source</label>
|
|
98
|
+
|
|
99
|
+
<configuration-datasources
|
|
100
|
+
:configurationMode=${(x) => x.configurationMode}
|
|
101
|
+
${ref('secondDatasource')}
|
|
102
|
+
:dataPipelineList=${(x) => x.dataPipelineList}
|
|
103
|
+
>
|
|
104
|
+
</configuration-datasources>
|
|
105
|
+
`, html `
|
|
106
|
+
<label class="data-source-name-label">Add New Data Source</label>
|
|
107
|
+
|
|
108
|
+
<configuration-datasources
|
|
109
|
+
show-add-button
|
|
110
|
+
:configurationMode=${(x) => x.configurationMode}
|
|
111
|
+
:dataPipelineList=${(x) => x.dataPipelineList}
|
|
112
|
+
@addDatasource=${(x, c) => x.addDataSource(eventDetail(c))}
|
|
113
|
+
></configuration-datasources>
|
|
114
|
+
`)}
|
|
115
|
+
</div>
|
|
116
|
+
</div>
|
|
117
|
+
|
|
118
|
+
${when((x) => x.reconciliationStrategy !== ReconciliationMethod.ONE_TO_ONE, html `
|
|
119
|
+
<div class="configuration-name-and-data-sources-list">
|
|
120
|
+
<div class="datasources-list-header">
|
|
121
|
+
<label class="current-data-source-label">Current Data Sources</label>
|
|
122
|
+
<label class="current-data-source-label">
|
|
123
|
+
${(x) => x.reconciliationStrategy === ReconciliationMethod.ONE_TO_MANY ? 'Primary?' : ''}
|
|
124
|
+
</label>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
127
|
+
<div class="data-source-list">
|
|
128
|
+
${repeat((x) => x.datasources, html `
|
|
129
|
+
<div class="data-source-record ${(x, c) => (c.parent.configurationMode === ConfigurationMode.EDIT ? 'data-source-record-disabled' : '')}" >
|
|
130
|
+
<span class="data-source-record-name">
|
|
131
|
+
<${badgeTag} fill="${(x) => (x.TYPE === DatasourceType.FILE ? 'success' : 'danger')}" color="text" style="font-size: calc(var(--type-ramp-minus-2-font-size) - 1px); line-height: calc(var(--type-ramp-minus-2-font-size) - 2px);">
|
|
132
|
+
${(x) => (x.TYPE === DatasourceType.FILE ? 'File' : 'DPL')}
|
|
133
|
+
</${badgeTag}>
|
|
134
|
+
|
|
135
|
+
${whenElse((x, c) => c.parent.isEditingDatasourceName && x.IS_EDITING, html `
|
|
136
|
+
<${textFieldTag}
|
|
137
|
+
class="data-source-record-name-edit"
|
|
138
|
+
autofocus=true
|
|
139
|
+
:value=${(x) => x.NAME}
|
|
142
140
|
@keydown=${(x, c) => {
|
|
143
141
|
if (c.event.key === 'Enter') {
|
|
144
142
|
x.IS_EDITING = false;
|
|
145
143
|
c.parent.isEditingDatasourceName = false;
|
|
146
144
|
}
|
|
147
145
|
return true;
|
|
148
|
-
}}
|
|
149
|
-
@input=${(x, c) => c.parent.datasourceNameChanged(c.event, c.index)}
|
|
146
|
+
}}
|
|
147
|
+
@input=${(x, c) => c.parent.datasourceNameChanged(c.event, c.index)}
|
|
150
148
|
@blur=${(x, c) => {
|
|
151
149
|
x.IS_EDITING = false;
|
|
152
150
|
c.parent.isEditingDatasourceName = false;
|
|
153
|
-
}}
|
|
154
|
-
>
|
|
155
|
-
</${textFieldTag}>
|
|
156
|
-
`, html `
|
|
157
|
-
${whenElse((x, c) => c.parent.configurationMode !== ConfigurationMode.EDIT, html `
|
|
158
|
-
<span
|
|
159
|
-
class="data-source-record-name-label"
|
|
151
|
+
}}
|
|
152
|
+
>
|
|
153
|
+
</${textFieldTag}>
|
|
154
|
+
`, html `
|
|
155
|
+
${whenElse((x, c) => c.parent.configurationMode !== ConfigurationMode.EDIT, html `
|
|
156
|
+
<span
|
|
157
|
+
class="data-source-record-name-label"
|
|
160
158
|
@click=${(x, c) => {
|
|
161
159
|
x.IS_EDITING = true;
|
|
162
160
|
c.parent.isEditingDatasourceName = true;
|
|
163
|
-
}}
|
|
164
|
-
>
|
|
165
|
-
${(x) => `${x.NAME}`}
|
|
166
|
-
</span>
|
|
167
|
-
`, html `
|
|
168
|
-
<span class="data-source-record-name-label">
|
|
169
|
-
${(x) => `${x.NAME}`}
|
|
170
|
-
</span>
|
|
171
|
-
`)}
|
|
172
|
-
`)}
|
|
173
|
-
</span>
|
|
174
|
-
|
|
175
|
-
<div class="data-source-record-name-label">${(x) => { var _a; return (_a = x.CONFIG_DATA) !== null && _a !== void 0 ? _a : ''; }}</div>
|
|
176
|
-
|
|
177
|
-
${when((x, c) => c.parent.reconciliationStrategy === ReconciliationMethod.ONE_TO_MANY, html `
|
|
178
|
-
<${radioTag}
|
|
179
|
-
:checked=${(x, c) => c.parent.primaryDatasource === x.NAME}
|
|
180
|
-
:value=${(x) => x.NAME}
|
|
181
|
-
@click=${(x, c) => c.parent.onPrimaryDatasourceChange(x.NAME)}
|
|
182
|
-
class="radio-button${(x, c) => c.parent.primaryDatasource === x.NAME ? ' active' : ''}"
|
|
183
|
-
data-test-id=${(x) => `datasource-option-${x.NAME}`}
|
|
184
|
-
>
|
|
185
|
-
</${radioTag}>
|
|
186
|
-
`)}
|
|
187
|
-
|
|
188
|
-
<span class="data-source-record-delete"
|
|
189
|
-
@click=${(x, c) => c.parent.deleteDataSource(c.index)}
|
|
190
|
-
>
|
|
191
|
-
<${iconTag} name="trash-alt"></${iconTag}>
|
|
192
|
-
</span>
|
|
193
|
-
</div>
|
|
194
|
-
`, { positioning: true })}
|
|
195
|
-
</div>
|
|
196
|
-
</div>
|
|
197
|
-
`)}
|
|
198
|
-
</div>
|
|
161
|
+
}}
|
|
162
|
+
>
|
|
163
|
+
${(x) => `${x.NAME}`}
|
|
164
|
+
</span>
|
|
165
|
+
`, html `
|
|
166
|
+
<span class="data-source-record-name-label">
|
|
167
|
+
${(x) => `${x.NAME}`}
|
|
168
|
+
</span>
|
|
169
|
+
`)}
|
|
170
|
+
`)}
|
|
171
|
+
</span>
|
|
172
|
+
|
|
173
|
+
<div class="data-source-record-name-label">${(x) => { var _a; return (_a = x.CONFIG_DATA) !== null && _a !== void 0 ? _a : ''; }}</div>
|
|
174
|
+
|
|
175
|
+
${when((x, c) => c.parent.reconciliationStrategy === ReconciliationMethod.ONE_TO_MANY, html `
|
|
176
|
+
<${radioTag}
|
|
177
|
+
:checked=${(x, c) => c.parent.primaryDatasource === x.NAME}
|
|
178
|
+
:value=${(x) => x.NAME}
|
|
179
|
+
@click=${(x, c) => c.parent.onPrimaryDatasourceChange(x.NAME)}
|
|
180
|
+
class="radio-button${(x, c) => (c.parent.primaryDatasource === x.NAME ? ' active' : '')}"
|
|
181
|
+
data-test-id=${(x) => `datasource-option-${x.NAME}`}
|
|
182
|
+
>
|
|
183
|
+
</${radioTag}>
|
|
184
|
+
`)}
|
|
185
|
+
|
|
186
|
+
<span class="data-source-record-delete"
|
|
187
|
+
@click=${(x, c) => c.parent.deleteDataSource(c.index)}
|
|
188
|
+
>
|
|
189
|
+
<${iconTag} name="trash-alt"></${iconTag}>
|
|
190
|
+
</span>
|
|
191
|
+
</div>
|
|
192
|
+
`, { positioning: true })}
|
|
193
|
+
</div>
|
|
194
|
+
</div>
|
|
195
|
+
`)}
|
|
196
|
+
</div>
|
|
199
197
|
`;
|
|
200
|
-
const reconciliationRulesTemplate = html `
|
|
201
|
-
<div class="reconciliation-rules">
|
|
202
|
-
<label class="reconciliation-rules-label">Reconciliation Rules</label>
|
|
203
|
-
|
|
204
|
-
<div class="reconciliation-rules-fields">
|
|
205
|
-
<div class="rule-dictionary">
|
|
206
|
-
<label class="select-dictionary">Select Data Dictionary</label>
|
|
207
|
-
|
|
208
|
-
<${selectTag}
|
|
209
|
-
:value=${sync((x) => x.dataDictionaryId)}
|
|
210
|
-
:disabled=${(x) => x.configurationMode === ConfigurationMode.EDIT}
|
|
211
|
-
@change=${(x) => x.dataDictionaryChanged()}
|
|
212
|
-
>
|
|
213
|
-
${repeat((x) => x.dataDictionaries, html `
|
|
214
|
-
<${optionTag} :value=${(x) => x.DICTIONARY_ID}>
|
|
215
|
-
${(x) => x.DICTIONARY_NAME}
|
|
216
|
-
</${optionTag}>
|
|
217
|
-
`)}
|
|
218
|
-
</${selectTag}>
|
|
219
|
-
</div>
|
|
220
|
-
|
|
221
|
-
<div class="rule-match-null-value">
|
|
222
|
-
<label class="match-null-value">Match Null Value</label>
|
|
223
|
-
|
|
224
|
-
<${switchTag}
|
|
225
|
-
@click=${(x) => (x.matchNull = !x.matchNull)}
|
|
226
|
-
?current-checked=${(x) => x.matchNull}
|
|
227
|
-
>
|
|
228
|
-
</${switchTag}>
|
|
229
|
-
</div>
|
|
230
|
-
</div>
|
|
231
|
-
|
|
232
|
-
<div class="reconciliation-rules-list">
|
|
233
|
-
<div class="recon-rule-row">
|
|
234
|
-
<div class="col-width-30 header-col-label">Name</div>
|
|
235
|
-
<div class="col-width header-col-label">Type</div>
|
|
236
|
-
<div class="col-width-30 header-col-label">Tolerance</div>
|
|
237
|
-
<div class="col-width header-col-label"></div>
|
|
238
|
-
<div class="col-width header-col-label col-center">Match Key</div>
|
|
239
|
-
<div class="col-width-5 header-col-label"></div>
|
|
240
|
-
</div>
|
|
241
|
-
|
|
242
|
-
<${dividerTag}></${dividerTag}>
|
|
243
|
-
|
|
244
|
-
<label class="recon-rule-subheader-label">New Rule</label>
|
|
245
|
-
|
|
246
|
-
<${dividerTag}></${dividerTag}>
|
|
247
|
-
|
|
248
|
-
<reconciliation-rule-row
|
|
249
|
-
:dataDictionaryFields=${(x) => x.dataDictionaryFields}
|
|
250
|
-
:filteredRuleFields=${(x) => x.filteredRuleFields}
|
|
251
|
-
@addRule=${(x, c) => x.addReconRule(eventDetail(c))}
|
|
252
|
-
>
|
|
253
|
-
</reconciliation-rule-row>
|
|
254
|
-
|
|
255
|
-
<${dividerTag}></${dividerTag}>
|
|
256
|
-
|
|
257
|
-
<label class="recon-rule-subheader-label">Existing Rules</label>
|
|
258
|
-
|
|
259
|
-
<${dividerTag}></${dividerTag}>
|
|
260
|
-
|
|
261
|
-
<div class="recon-rules">
|
|
262
|
-
${repeat((x, c) => x.reconRules, html `
|
|
263
|
-
<reconciliation-rule-row
|
|
264
|
-
:mode=${(_) => RuleMode.EDIT}
|
|
265
|
-
:reconRule=${(x) => x}
|
|
266
|
-
:dataDictionaryFields=${(x) => x.dataDictionaryFields}
|
|
267
|
-
:filteredRuleFields=${(x) => x.filteredRuleFields}
|
|
268
|
-
@updateRule=${(x, c) => c.parent.updateRule(eventDetail(c), c.index)}
|
|
269
|
-
@deleteRule=${(x, c) => c.parent.removeRule(c.index)}
|
|
270
|
-
>
|
|
271
|
-
</reconciliation-rule-row>
|
|
272
|
-
|
|
273
|
-
<${dividerTag}></${dividerTag}>
|
|
274
|
-
`, { positioning: true })}
|
|
275
|
-
</div>
|
|
276
|
-
</div>
|
|
277
|
-
</div>
|
|
198
|
+
const reconciliationRulesTemplate = html `
|
|
199
|
+
<div class="reconciliation-rules">
|
|
200
|
+
<label class="reconciliation-rules-label">Reconciliation Rules</label>
|
|
201
|
+
|
|
202
|
+
<div class="reconciliation-rules-fields">
|
|
203
|
+
<div class="rule-dictionary">
|
|
204
|
+
<label class="select-dictionary">Select Data Dictionary</label>
|
|
205
|
+
|
|
206
|
+
<${selectTag}
|
|
207
|
+
:value=${sync((x) => x.dataDictionaryId)}
|
|
208
|
+
:disabled=${(x) => x.configurationMode === ConfigurationMode.EDIT}
|
|
209
|
+
@change=${(x) => x.dataDictionaryChanged()}
|
|
210
|
+
>
|
|
211
|
+
${repeat((x) => x.dataDictionaries, html `
|
|
212
|
+
<${optionTag} :value=${(x) => x.DICTIONARY_ID}>
|
|
213
|
+
${(x) => x.DICTIONARY_NAME}
|
|
214
|
+
</${optionTag}>
|
|
215
|
+
`)}
|
|
216
|
+
</${selectTag}>
|
|
217
|
+
</div>
|
|
218
|
+
|
|
219
|
+
<div class="rule-match-null-value">
|
|
220
|
+
<label class="match-null-value">Match Null Value</label>
|
|
221
|
+
|
|
222
|
+
<${switchTag}
|
|
223
|
+
@click=${(x) => (x.matchNull = !x.matchNull)}
|
|
224
|
+
?current-checked=${(x) => x.matchNull}
|
|
225
|
+
>
|
|
226
|
+
</${switchTag}>
|
|
227
|
+
</div>
|
|
228
|
+
</div>
|
|
229
|
+
|
|
230
|
+
<div class="reconciliation-rules-list">
|
|
231
|
+
<div class="recon-rule-row">
|
|
232
|
+
<div class="col-width-30 header-col-label">Name</div>
|
|
233
|
+
<div class="col-width header-col-label">Type</div>
|
|
234
|
+
<div class="col-width-30 header-col-label">Tolerance</div>
|
|
235
|
+
<div class="col-width header-col-label"></div>
|
|
236
|
+
<div class="col-width header-col-label col-center">Match Key</div>
|
|
237
|
+
<div class="col-width-5 header-col-label"></div>
|
|
238
|
+
</div>
|
|
239
|
+
|
|
240
|
+
<${dividerTag}></${dividerTag}>
|
|
241
|
+
|
|
242
|
+
<label class="recon-rule-subheader-label">New Rule</label>
|
|
243
|
+
|
|
244
|
+
<${dividerTag}></${dividerTag}>
|
|
245
|
+
|
|
246
|
+
<reconciliation-rule-row
|
|
247
|
+
:dataDictionaryFields=${(x) => x.dataDictionaryFields}
|
|
248
|
+
:filteredRuleFields=${(x) => x.filteredRuleFields}
|
|
249
|
+
@addRule=${(x, c) => x.addReconRule(eventDetail(c))}
|
|
250
|
+
>
|
|
251
|
+
</reconciliation-rule-row>
|
|
252
|
+
|
|
253
|
+
<${dividerTag}></${dividerTag}>
|
|
254
|
+
|
|
255
|
+
<label class="recon-rule-subheader-label">Existing Rules</label>
|
|
256
|
+
|
|
257
|
+
<${dividerTag}></${dividerTag}>
|
|
258
|
+
|
|
259
|
+
<div class="recon-rules">
|
|
260
|
+
${repeat((x, c) => x.reconRules, html `
|
|
261
|
+
<reconciliation-rule-row
|
|
262
|
+
:mode=${(_) => RuleMode.EDIT}
|
|
263
|
+
:reconRule=${(x) => x}
|
|
264
|
+
:dataDictionaryFields=${(x) => x.dataDictionaryFields}
|
|
265
|
+
:filteredRuleFields=${(x) => x.filteredRuleFields}
|
|
266
|
+
@updateRule=${(x, c) => c.parent.updateRule(eventDetail(c), c.index)}
|
|
267
|
+
@deleteRule=${(x, c) => c.parent.removeRule(c.index)}
|
|
268
|
+
>
|
|
269
|
+
</reconciliation-rule-row>
|
|
270
|
+
|
|
271
|
+
<${dividerTag}></${dividerTag}>
|
|
272
|
+
`, { positioning: true })}
|
|
273
|
+
</div>
|
|
274
|
+
</div>
|
|
275
|
+
</div>
|
|
278
276
|
`;
|
|
279
|
-
export const ConfigurationsPanelTemplate = html `
|
|
280
|
-
<div class="configurations-panel">
|
|
281
|
-
${listTemplate}
|
|
282
|
-
${when((x) => x.showConfigurationDetails, html `
|
|
283
|
-
<div class="configuration">
|
|
284
|
-
<div class="configuration-content">
|
|
285
|
-
${configurationNameAndDatasourcesTemplate}
|
|
286
|
-
${reconciliationRulesTemplate}
|
|
287
|
-
</div>
|
|
288
|
-
|
|
289
|
-
<div class="configuration-footer">
|
|
290
|
-
<${buttonTag} appearance="primary" @click=${(x) => x.saveConfiguration()}>
|
|
291
|
-
Save Configuration
|
|
292
|
-
</${buttonTag}>
|
|
293
|
-
<${buttonTag} @click=${(x) => x.clearReconciliationRules()}>
|
|
294
|
-
<${iconTag} name="broom" size="lg"></${iconTag}>
|
|
295
|
-
Clear
|
|
296
|
-
</${buttonTag}>
|
|
297
|
-
</div>
|
|
298
|
-
</div>
|
|
299
|
-
`)}
|
|
300
|
-
</div>
|
|
277
|
+
export const ConfigurationsPanelTemplate = html `
|
|
278
|
+
<div class="configurations-panel">
|
|
279
|
+
${listTemplate}
|
|
280
|
+
${when((x) => x.showConfigurationDetails, html `
|
|
281
|
+
<div class="configuration">
|
|
282
|
+
<div class="configuration-content">
|
|
283
|
+
${configurationNameAndDatasourcesTemplate}
|
|
284
|
+
${reconciliationRulesTemplate}
|
|
285
|
+
</div>
|
|
286
|
+
|
|
287
|
+
<div class="configuration-footer">
|
|
288
|
+
<${buttonTag} appearance="primary" @click=${(x) => x.saveConfiguration()}>
|
|
289
|
+
Save Configuration
|
|
290
|
+
</${buttonTag}>
|
|
291
|
+
<${buttonTag} @click=${(x) => x.clearReconciliationRules()}>
|
|
292
|
+
<${iconTag} name="broom" size="lg"></${iconTag}>
|
|
293
|
+
Clear
|
|
294
|
+
</${buttonTag}>
|
|
295
|
+
</div>
|
|
296
|
+
</div>
|
|
297
|
+
`)}
|
|
298
|
+
</div>
|
|
301
299
|
`;
|
|
302
300
|
//# sourceMappingURL=configurations-panel.template.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configurations-panel.template.js","sourceRoot":"","sources":["../../../../src/components/configurations-panel/configurations-panel.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"configurations-panel.template.js","sourceRoot":"","sources":["../../../../src/components/configurations-panel/configurations-panel.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC1E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