@genesislcap/pbc-reporting-ui 15.15.2 → 15.16.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.
@@ -130,6 +130,27 @@
130
130
  }
131
131
  ]
132
132
  },
133
+ {
134
+ "kind": "javascript-module",
135
+ "path": "src/new/components/components.ts",
136
+ "declarations": [
137
+ {
138
+ "kind": "function",
139
+ "name": "registerCommonRapidComponents",
140
+ "privacy": "public"
141
+ }
142
+ ],
143
+ "exports": [
144
+ {
145
+ "kind": "js",
146
+ "name": "registerCommonRapidComponents",
147
+ "declaration": {
148
+ "name": "registerCommonRapidComponents",
149
+ "module": "src/new/components/components.ts"
150
+ }
151
+ }
152
+ ]
153
+ },
133
154
  {
134
155
  "kind": "javascript-module",
135
156
  "path": "src/new/main/index.ts",
@@ -1324,27 +1345,6 @@
1324
1345
  "declarations": [],
1325
1346
  "exports": []
1326
1347
  },
1327
- {
1328
- "kind": "javascript-module",
1329
- "path": "src/new/components/components.ts",
1330
- "declarations": [
1331
- {
1332
- "kind": "function",
1333
- "name": "registerCommonRapidComponents",
1334
- "privacy": "public"
1335
- }
1336
- ],
1337
- "exports": [
1338
- {
1339
- "kind": "js",
1340
- "name": "registerCommonRapidComponents",
1341
- "declaration": {
1342
- "name": "registerCommonRapidComponents",
1343
- "module": "src/new/components/components.ts"
1344
- }
1345
- }
1346
- ]
1347
- },
1348
1348
  {
1349
1349
  "kind": "javascript-module",
1350
1350
  "path": "src/new/utils/alias-generator.ts",
@@ -4397,163 +4397,54 @@
4397
4397
  },
4398
4398
  {
4399
4399
  "kind": "javascript-module",
4400
- "path": "src/new/lib/redux-store/index.ts",
4401
- "declarations": [],
4402
- "exports": [
4403
- {
4404
- "kind": "js",
4405
- "name": "*",
4406
- "declaration": {
4407
- "name": "*",
4408
- "package": "./store"
4409
- }
4410
- },
4411
- {
4412
- "kind": "js",
4413
- "name": "*",
4414
- "declaration": {
4415
- "name": "*",
4416
- "package": "./state-utils"
4417
- }
4418
- }
4419
- ]
4420
- },
4421
- {
4422
- "kind": "javascript-module",
4423
- "path": "src/new/lib/redux-store/state-utils.ts",
4424
- "declarations": [],
4425
- "exports": [
4426
- {
4427
- "kind": "js",
4428
- "name": "find",
4429
- "declaration": {
4430
- "name": "find",
4431
- "package": "lodash"
4432
- }
4433
- },
4434
- {
4435
- "kind": "js",
4436
- "name": "get",
4437
- "declaration": {
4438
- "name": "get",
4439
- "package": "lodash"
4440
- }
4441
- },
4442
- {
4443
- "kind": "js",
4444
- "name": "set",
4445
- "declaration": {
4446
- "name": "set",
4447
- "package": "lodash"
4448
- }
4449
- },
4450
- {
4451
- "kind": "js",
4452
- "name": "findIndex",
4453
- "declaration": {
4454
- "name": "findIndex",
4455
- "package": "lodash"
4456
- }
4457
- }
4458
- ]
4459
- },
4460
- {
4461
- "kind": "javascript-module",
4462
- "path": "src/new/lib/redux-store/store.ts",
4463
- "declarations": [
4464
- {
4465
- "kind": "function",
4466
- "name": "createStore",
4467
- "return": {
4468
- "type": {
4469
- "text": "StoreReturn<S>"
4470
- }
4471
- },
4472
- "parameters": [
4473
- {
4474
- "name": "slices",
4475
- "type": {
4476
- "text": "S"
4477
- }
4478
- },
4479
- {
4480
- "name": "preloadedState",
4481
- "type": {
4482
- "text": "RootStateFromSlices<S>"
4483
- }
4484
- }
4485
- ]
4486
- }
4487
- ],
4488
- "exports": [
4489
- {
4490
- "kind": "js",
4491
- "name": "createSlice",
4492
- "declaration": {
4493
- "name": "createSlice",
4494
- "package": "@reduxjs/toolkit"
4495
- }
4496
- },
4497
- {
4498
- "kind": "js",
4499
- "name": "createStore",
4500
- "declaration": {
4501
- "name": "createStore",
4502
- "module": "src/new/lib/redux-store/store.ts"
4503
- }
4504
- }
4505
- ]
4506
- },
4507
- {
4508
- "kind": "javascript-module",
4509
- "path": "src/new/main/edit-config/config-journey-orchestrator.styles.ts",
4400
+ "path": "src/new/components/clone-report-config-modal/clone-report-config-modal.styles.ts",
4510
4401
  "declarations": [
4511
4402
  {
4512
4403
  "kind": "variable",
4513
- "name": "styles",
4514
- "default": "css`\n :host {\n --stepper-size: 50px;\n ${constrainedDimensions({ navToContentPx: 300 })}\n }\n\n div.pad {\n padding-top: 50px;\n }\n\n .centered {\n max-width: var(--constrained-width);\n max-height: calc(100vh - var(--reporting-header-to-content-height));\n width: 100%;\n margin: auto;\n }\n\n .scheduling-container {\n display: flex;\n height: 100%;\n }\n\n .scheduling-container-margin {\n margin: 0 auto;\n }\n\n .block {\n display: block;\n }\n\n datasource-config-container,\n base-config {\n overflow-y: auto;\n overflow-x: clip;\n min-height: var(--constrained-height);\n }\n\n div.button-container {\n z-index: 1 !important;\n position: absolute;\n top: calc(var(--stepper-size) + calc(var(--design-unit) * 3px));\n right: calc(var(--design-unit) * 3px);\n display: flex;\n align-content: center;\n align-items: center;\n gap: calc(var(--design-unit) * 3px);\n }\n\n tabbed-datasource-container,\n row-filters {\n max-width: var(--constrained-width);\n margin: auto;\n display: block;\n }\n\n rapid-stepper::part(action-buttons-container) {\n border-top: calc(var(--stroke-width) * 1px) solid\n color-mix(in srgb, var(--neutral-stroke-divider-rest), transparent 50%);\n padding: calc(var(--design-unit) * 3px) calc(var(--design-unit) * 4px);\n }\n\n rapid-stepper::part(stepper-tab-panel) {\n background: var(--app-bg-color);\n justify-content: space-between;\n border-bottom: calc(var(--stroke-width) * 1px) solid\n color-mix(in srgb, var(--neutral-stroke-divider-rest), transparent 50%);\n }\n\n rapid-stepper::part(stepper-tab) {\n border-bottom: calc(var(--stroke-width) * 1px) solid\n color-mix(in srgb, var(--neutral-stroke-divider-rest), transparent 50%);\n height: var(--stepper-size);\n }\n\n rapid-stepper::part(stepper-panel-container) {\n overflow: hidden;\n contain: size;\n }\n\n rapid-stepper.hidden::part(action-buttons-container) {\n display: none;\n }\n\n rapid-stepper::part(stepper-tab-menu) {\n margin: 0;\n gap: 0;\n }\n\n rapid-stepper::part(stepper-tab-progress) {\n background: var(--app-bg-color);\n justify-content: center;\n padding: 0;\n }\n\n /**\n * Hacky way for now - need to adjust it in foundation\n */\n rapid-stepper-tab {\n --neutral-layer-3: var(--app-bg-color);\n }\n\n :host(.readonly) rapid-stepper-tab-panel {\n pointer-events: none;\n }\n\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
4404
+ "name": "cloneReportConfigModalStyles",
4405
+ "default": "css`\n :host {\n display: flex;\n overflow: hidden;\n flex-direction: column;\n max-height: 100%;\n width: 100%;\n }\n\n .clone-report-config-modal::part(dialog) {\n padding: calc(var(--design-unit) * 4px);\n background: var(--neutral-layer-4);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n }\n\n .dialog-top {\n font-size: var(--type-ramp-plus-2-font-size);\n font-weight: 600;\n line-height: var(--type-ramp-plus-2-line-height);\n color: var(--neutral-foreground-rest);\n }\n\n .dialog-content {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n gap: calc(var(--design-unit) * 3px);\n margin: 0;\n padding: calc(var(--design-unit) * 4px) 0;\n }\n\n .help-text {\n margin-bottom: calc(var(--design-unit) * 4px);\n word-break: break-word;\n white-space: normal;\n }\n\n .help-text p {\n margin: 0;\n color: var(--neutral-foreground-rest);\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n }\n`"
4515
4406
  }
4516
4407
  ],
4517
4408
  "exports": [
4518
4409
  {
4519
4410
  "kind": "js",
4520
- "name": "styles",
4411
+ "name": "cloneReportConfigModalStyles",
4521
4412
  "declaration": {
4522
- "name": "styles",
4523
- "module": "src/new/main/edit-config/config-journey-orchestrator.styles.ts"
4413
+ "name": "cloneReportConfigModalStyles",
4414
+ "module": "src/new/components/clone-report-config-modal/clone-report-config-modal.styles.ts"
4524
4415
  }
4525
4416
  }
4526
4417
  ]
4527
4418
  },
4528
4419
  {
4529
4420
  "kind": "javascript-module",
4530
- "path": "src/new/main/edit-config/config-journey-orchestrator.template.ts",
4421
+ "path": "src/new/components/clone-report-config-modal/clone-report-config-modal.template.ts",
4531
4422
  "declarations": [
4532
4423
  {
4533
4424
  "kind": "variable",
4534
- "name": "template",
4535
- "default": "html<ConfigJourneyOrchestrator>`\n <template class=\"${(x) => classNames(['readonly', !permissionGuard(x, editPermission)])}\">\n <div class=\"button-container\">\n ${(ctx) =>\n permissionTemplateGuard(\n ctx,\n editPermission,\n html<ConfigJourneyOrchestrator>`\n <rapid-button appearance=\"primary\" @click=${(x) => x.saveConfigHandler()}>\n Save and Close\n </rapid-button>\n `,\n html`\n <p>You have read-only permissions</p>\n `,\n )}\n <rapid-button @click=${(x) => x.showListViewHandler()}>\n ${(x) => (permissionGuard(x, editPermission) ? 'Discard Changes' : 'Close')}\n </rapid-button>\n </div>\n\n <rapid-stepper\n allow-backward-jumps\n allow-forward-jumps\n orientation=\"horizontal\"\n hide-submit-button\n hide-step-number\n :validation=${(x) => [\n { isValid: () => x.validateProjectSetup() },\n { isValid: () => x.validateDatasource() },\n ]}\n >\n <rapid-stepper-tab>Report Setup</rapid-stepper-tab>\n <rapid-stepper-tab>Add Datasources</rapid-stepper-tab>\n <rapid-stepper-tab>Row Filters</rapid-stepper-tab>\n <rapid-stepper-tab>Column Visibility</rapid-stepper-tab>\n <!--<rapid-stepper-tab>Transform & Derive Data</rapid-stepper-tab>-->\n <rapid-stepper-tab>Formatting</rapid-stepper-tab>\n <!--<rapid-stepper-tab>Sorting</rapid-stepper-tab>-->\n <rapid-stepper-tab>\n Column\n ${(_) => (selectors.baseConfig.getConfig().DOCUMENT_TEMPLATE_ID ? 'Aliases' : 'Renames')}\n </rapid-stepper-tab>\n <rapid-stepper-tab>Delivery</rapid-stepper-tab>\n\n <rapid-stepper-tab-panel>\n <div class=\"pad\">\n <base-config class=\"centered block\"></base-config>\n </div>\n </rapid-stepper-tab-panel>\n\n <rapid-stepper-tab-panel>\n <div class=\"pad\">\n <datasource-config-container class=\"centered block\"></datasource-config-container>\n </div>\n </rapid-stepper-tab-panel>\n\n <rapid-stepper-tab-panel>\n <tabbed-datasource-container>\n <row-filters-tutorial\n slot=\"${(_) => TABBED_DATASOURCE_HEADER_SLOT}\"\n ></row-filters-tutorial>\n <row-filters></row-filters>\n </tabbed-datasource-container>\n </rapid-stepper-tab-panel>\n\n <rapid-stepper-tab-panel>\n <tabbed-datasource-container>\n <col-filters-tutorial\n slot=\"${(_) => TABBED_DATASOURCE_HEADER_SLOT}\"\n ></col-filters-tutorial>\n <col-filters></col-filters>\n </tabbed-datasource-container>\n </rapid-stepper-tab-panel>\n\n <rapid-stepper-tab-panel>\n <tabbed-datasource-container>\n <data-transforms-tutorial\n slot=\"${(_) => TABBED_DATASOURCE_HEADER_SLOT}\"\n ></data-transforms-tutorial>\n <data-transforms-derived-fields></row-transforms-derived-fields>\n </tabbed-datasource-container>\n </rapid-stepper-tab-panel>\n\n <!--\n <rapid-stepper-tab-panel>Transform Data Content Goes Here</rapid-stepper-tab-panel>\n\n <rapid-stepper-tab-panel>Sorting Content Goes Here</rapid-stepper-tab-panel>\n-->\n\n <rapid-stepper-tab-panel>\n <tabbed-datasource-container>\n <col-renames-aliases-tutorial\n slot=\"${(_) => TABBED_DATASOURCE_HEADER_SLOT}\"\n ></col-renames-aliases-tutorial>\n <col-rename-alias></col-rename-alias>\n </tabbed-datasource-container>\n </rapid-stepper-tab-panel>\n\n <rapid-stepper-tab-panel>\n <div class=\"scheduling-container pad\">\n <scheduling-config class=\"centered scheduling-container-margin\"></scheduling-config>\n </div>\n </rapid-stepper-tab-panel>\n\n <!--\n\n\n <rapid-stepper-tab-panel>Destinations Content Goes Here</rapid-stepper-tab-panel>\n\n <rapid-stepper-tab-panel>Summary Content Goes Here</rapid-stepper-tab-panel>\n-->\n </rapid-stepper>\n </template>\n`"
4425
+ "name": "CloneReportConfigModalTemplate",
4426
+ "default": "html<CloneReportConfigModal>`\n <rapid-modal\n ${ref('cloneReportConfigModal')}\n class=\"clone-report-config-modal\"\n :onCloseCallback=${(x) => x.closeCloneReportConfigModal()}\n >\n <div slot=\"top\" class=\"dialog-top\">\n ${(x) => (x.isImportMode ? 'Import Report Config' : 'Clone Report Config')}\n </div>\n <rapid-divider></rapid-divider>\n <div class=\"dialog-content\">\n <div class=\"help-text\">\n <p>\n ${(x) =>\n x.isImportMode\n ? 'Here you can import a report configuration from a file. You need to set a new report and filename as they must be unique.'\n : \"Here you can clone a report configuration you've already made. You need to set a new report and filename as they must be unique.\"}\n </p>\n </div>\n <label class=\"label\">Report name${requiredTooltip}${tooltip(TOOLTIP.SETUP_NAME)}</label>\n <rapid-text-field\n :value=${sync((x) => x.reportName)}\n placeholder=\"Enter report name\"\n ></rapid-text-field>\n <label class=\"label\">File name${requiredTooltip}${tooltip(TOOLTIP.SETUP_FILENAME)}</label>\n <rapid-text-field\n :value=${sync((x) => x.fileName)}\n placeholder=\"Enter file name\"\n ></rapid-text-field>\n ${when(\n (x) => x.isImportMode && !!x.reportConfigDetails?.DOCUMENT_TEMPLATE_ID,\n html`\n ${fileTemplatePicker}\n <p style=\"max-width: 745px;\">\n Because the exported report requires a selected template you must select a valid\n template to import this configuration. If there isn't a valid template then you must\n upload one via the document manager component.\n </p>\n `,\n )}\n </div>\n <rapid-divider></rapid-divider>\n <div slot=\"bottom\" class=\"dialog-bottom\">\n <rapid-button @click=${(x) => x.discardChanges()}>Cancel</rapid-button>\n <rapid-button appearance=\"primary\" @click=${(x) => x.cloneReportConfig()}>\n ${(x) => (x.isImportMode ? 'Import' : 'Clone')}\n </rapid-button>\n </div>\n </rapid-modal>\n`"
4536
4427
  }
4537
4428
  ],
4538
4429
  "exports": [
4539
4430
  {
4540
4431
  "kind": "js",
4541
- "name": "template",
4432
+ "name": "CloneReportConfigModalTemplate",
4542
4433
  "declaration": {
4543
- "name": "template",
4544
- "module": "src/new/main/edit-config/config-journey-orchestrator.template.ts"
4434
+ "name": "CloneReportConfigModalTemplate",
4435
+ "module": "src/new/components/clone-report-config-modal/clone-report-config-modal.template.ts"
4545
4436
  }
4546
4437
  }
4547
4438
  ]
4548
4439
  },
4549
4440
  {
4550
4441
  "kind": "javascript-module",
4551
- "path": "src/new/main/edit-config/config-journey-orchestrator.ts",
4442
+ "path": "src/new/components/clone-report-config-modal/clone-report-config-modal.ts",
4552
4443
  "declarations": [
4553
4444
  {
4554
4445
  "kind": "class",
4555
- "description": "Orchestrates validate/save/discard for report config editing.",
4556
- "name": "ConfigJourneyOrchestrator",
4446
+ "description": "",
4447
+ "name": "CloneReportConfigModal",
4557
4448
  "members": [
4558
4449
  {
4559
4450
  "kind": "field",
@@ -4564,232 +4455,184 @@
4564
4455
  },
4565
4456
  {
4566
4457
  "kind": "field",
4567
- "name": "user",
4458
+ "name": "cloneReportConfigModal",
4568
4459
  "type": {
4569
- "text": "User"
4460
+ "text": "Modal"
4570
4461
  }
4571
4462
  },
4572
4463
  {
4573
4464
  "kind": "field",
4574
- "name": "validateConfig",
4575
- "privacy": "private"
4465
+ "name": "reportConfigDetails",
4466
+ "type": {
4467
+ "text": "Genesis.ServerReportConfig"
4468
+ }
4576
4469
  },
4577
4470
  {
4578
- "kind": "method",
4579
- "name": "showListViewHandler"
4471
+ "kind": "field",
4472
+ "name": "reportName",
4473
+ "type": {
4474
+ "text": "string"
4475
+ },
4476
+ "default": "''"
4580
4477
  },
4581
4478
  {
4582
- "kind": "method",
4583
- "name": "validateProjectSetup"
4479
+ "kind": "field",
4480
+ "name": "fileName",
4481
+ "type": {
4482
+ "text": "string"
4483
+ },
4484
+ "default": "''"
4584
4485
  },
4585
4486
  {
4586
- "kind": "method",
4587
- "name": "validateDatasource"
4487
+ "kind": "field",
4488
+ "name": "fileTemplates",
4489
+ "type": {
4490
+ "text": "Array<Genesis.FileStorageDataRow>"
4491
+ },
4492
+ "default": "[]"
4588
4493
  },
4589
4494
  {
4590
- "kind": "method",
4591
- "name": "saveConfigHandler"
4495
+ "kind": "field",
4496
+ "name": "allowedTemplates",
4497
+ "type": {
4498
+ "text": "Array<Genesis.FileStorageDataRow>"
4499
+ },
4500
+ "default": "[]"
4501
+ },
4502
+ {
4503
+ "kind": "field",
4504
+ "name": "selectedTemplateId",
4505
+ "type": {
4506
+ "text": "string"
4507
+ },
4508
+ "default": "''"
4509
+ },
4510
+ {
4511
+ "kind": "field",
4512
+ "name": "isImportMode",
4513
+ "type": {
4514
+ "text": "boolean"
4515
+ },
4516
+ "default": "false"
4592
4517
  },
4593
4518
  {
4594
4519
  "kind": "method",
4595
- "name": "displayError",
4596
- "privacy": "private",
4520
+ "name": "getReportConfigDetails",
4597
4521
  "parameters": [
4598
4522
  {
4599
- "name": "e",
4523
+ "name": "ID",
4600
4524
  "type": {
4601
- "text": "Error"
4525
+ "text": "string"
4602
4526
  }
4603
- },
4604
- {
4605
- "name": "expose",
4606
- "default": "false"
4607
4527
  }
4608
4528
  ]
4609
- }
4610
- ],
4611
- "events": [
4529
+ },
4612
4530
  {
4613
- "description": "Fired to switch the report configuration display mode. detail: `'edit' | 'list'`",
4614
- "name": "set-report-config-disp-mode"
4615
- }
4616
- ],
4617
- "mixins": [
4618
- {
4619
- "name": "EventEmitter",
4620
- "package": "@genesislcap/foundation-events"
4621
- }
4622
- ],
4623
- "superclass": {
4624
- "name": "GenesisElement",
4625
- "package": "@genesislcap/web-core"
4626
- },
4627
- "tagName": "config-journey-orchestrator",
4628
- "customElement": true
4629
- }
4630
- ],
4631
- "exports": [
4632
- {
4633
- "kind": "js",
4634
- "name": "ConfigJourneyOrchestrator",
4635
- "declaration": {
4636
- "name": "ConfigJourneyOrchestrator",
4637
- "module": "src/new/main/edit-config/config-journey-orchestrator.ts"
4638
- }
4639
- },
4640
- {
4641
- "kind": "custom-element-definition",
4642
- "name": "config-journey-orchestrator",
4643
- "declaration": {
4644
- "name": "ConfigJourneyOrchestrator",
4645
- "module": "src/new/main/edit-config/config-journey-orchestrator.ts"
4646
- }
4647
- }
4648
- ]
4649
- },
4650
- {
4651
- "kind": "javascript-module",
4652
- "path": "src/new/main/generated-reports/generated-reports.styles.ts",
4653
- "declarations": [
4654
- {
4655
- "kind": "variable",
4656
- "name": "GeneratedReportsStyles",
4657
- "default": "css`\n :host {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n }\n\n .container {\n padding: calc(var(--design-unit) * 4px);\n width: 40%;\n }\n`"
4658
- }
4659
- ],
4660
- "exports": [
4661
- {
4662
- "kind": "js",
4663
- "name": "GeneratedReportsStyles",
4664
- "declaration": {
4665
- "name": "GeneratedReportsStyles",
4666
- "module": "src/new/main/generated-reports/generated-reports.styles.ts"
4667
- }
4668
- }
4669
- ]
4670
- },
4671
- {
4672
- "kind": "javascript-module",
4673
- "path": "src/new/main/generated-reports/generated-reports.template.ts",
4674
- "declarations": [
4675
- {
4676
- "kind": "variable",
4677
- "name": "GeneratedReportsTemplate",
4678
- "default": "html<GeneratedReports>`\n ${(x) =>\n permissionTemplateGuard(x, [Permissions.ReportView, Permissions.ReportRun], viewTemplate)}\n`"
4679
- }
4680
- ],
4681
- "exports": [
4682
- {
4683
- "kind": "js",
4684
- "name": "GeneratedReportsTemplate",
4685
- "declaration": {
4686
- "name": "GeneratedReportsTemplate",
4687
- "module": "src/new/main/generated-reports/generated-reports.template.ts"
4688
- }
4689
- }
4690
- ]
4691
- },
4692
- {
4693
- "kind": "javascript-module",
4694
- "path": "src/new/main/generated-reports/generated-reports.ts",
4695
- "declarations": [
4696
- {
4697
- "kind": "class",
4698
- "description": "",
4699
- "name": "GeneratedReports",
4700
- "members": [
4701
- {
4702
- "kind": "field",
4703
- "name": "connect",
4704
- "type": {
4705
- "text": "Connect"
4706
- }
4707
- },
4708
- {
4709
- "kind": "field",
4710
- "name": "generatedReportsDatasource",
4711
- "type": {
4712
- "text": "GridProGenesisDatasource"
4713
- }
4531
+ "kind": "method",
4532
+ "name": "showReportConfigModal",
4533
+ "parameters": [
4534
+ {
4535
+ "name": "ID",
4536
+ "type": {
4537
+ "text": "string"
4538
+ }
4539
+ }
4540
+ ]
4714
4541
  },
4715
4542
  {
4716
- "kind": "field",
4717
- "name": "generatedReportId",
4718
- "type": {
4719
- "text": "string | null"
4720
- }
4543
+ "kind": "method",
4544
+ "name": "showImportModal",
4545
+ "parameters": [
4546
+ {
4547
+ "name": "config",
4548
+ "type": {
4549
+ "text": "Genesis.ServerReportConfig"
4550
+ }
4551
+ }
4552
+ ]
4721
4553
  },
4722
4554
  {
4723
- "kind": "field",
4724
- "name": "gridCriteria",
4725
- "type": {
4726
- "text": "string"
4727
- },
4728
- "default": "''"
4555
+ "kind": "method",
4556
+ "name": "closeCloneReportConfigModal"
4729
4557
  },
4730
4558
  {
4731
- "kind": "field",
4732
- "name": "user",
4733
- "type": {
4734
- "text": "User"
4559
+ "kind": "method",
4560
+ "name": "getFileTemplates",
4561
+ "return": {
4562
+ "type": {
4563
+ "text": "Promise<void>"
4564
+ }
4735
4565
  }
4736
4566
  },
4737
4567
  {
4738
- "kind": "field",
4739
- "name": "searchBarConfig",
4740
- "type": {
4741
- "text": "array"
4568
+ "kind": "method",
4569
+ "name": "getAllowedTemplates",
4570
+ "return": {
4571
+ "type": {
4572
+ "text": "Array<Genesis.FileStorageDataRow>"
4573
+ }
4742
4574
  },
4743
- "privacy": "public",
4744
- "default": "[\n {\n field: 'NAME',\n label: (searchTerm) => `${searchTerm} as NAME`,\n createCriteria: getCriteriaBuilder,\n isEnabled: (searchTerm, selectedOption) => {\n return (\n searchTerm.length >= INPUT_MIN_LENGTH && !selectedOption.some((e) => e.field === 'NAME')\n );\n },\n },\n {\n field: 'FILE_NAME',\n label: (searchTerm) => `${searchTerm} as FILE_NAME`,\n createCriteria: getCriteriaBuilder,\n isEnabled: (searchTerm, selectedOption) => {\n return (\n searchTerm.length >= INPUT_MIN_LENGTH &&\n !selectedOption.some((e) => e.field === 'FILE_NAME')\n );\n },\n },\n {\n field: 'STATUS',\n label: (searchTerm) => `${searchTerm} as STATUS`,\n createCriteria: getCriteriaBuilder,\n isEnabled: (searchTerm, selectedOption) => {\n return (\n searchTerm.length >= INPUT_MIN_LENGTH && !selectedOption.some((e) => e.field === 'STATUS')\n );\n },\n },\n ]"
4745
- },
4746
- {
4747
- "kind": "field",
4748
- "name": "getColor"
4749
- },
4750
- {
4751
- "kind": "field",
4752
- "name": "getStatusRenderer"
4575
+ "parameters": [
4576
+ {
4577
+ "name": "outputFormat",
4578
+ "type": {
4579
+ "text": "string"
4580
+ }
4581
+ }
4582
+ ]
4753
4583
  },
4754
4584
  {
4755
4585
  "kind": "method",
4756
- "name": "getColumnDefs"
4586
+ "name": "handleTemplateSelectChange",
4587
+ "parameters": [
4588
+ {
4589
+ "name": "selectInput",
4590
+ "type": {
4591
+ "text": "HTMLSelectElement"
4592
+ }
4593
+ }
4594
+ ]
4757
4595
  },
4758
4596
  {
4759
4597
  "kind": "method",
4760
- "name": "getGridOptions"
4598
+ "name": "discardChanges"
4761
4599
  },
4762
4600
  {
4763
4601
  "kind": "method",
4764
- "name": "downloadReport",
4602
+ "name": "filterFields",
4765
4603
  "privacy": "private",
4604
+ "return": {
4605
+ "type": {
4606
+ "text": "Partial<T>"
4607
+ }
4608
+ },
4766
4609
  "parameters": [
4767
4610
  {
4768
- "name": "fileStorageId",
4611
+ "name": "obj",
4769
4612
  "type": {
4770
- "text": "string"
4613
+ "text": "T"
4614
+ }
4615
+ },
4616
+ {
4617
+ "name": "excludedFields",
4618
+ "type": {
4619
+ "text": "readonly string[]"
4771
4620
  }
4772
4621
  }
4773
4622
  ]
4774
4623
  },
4775
4624
  {
4776
4625
  "kind": "method",
4777
- "name": "deleteReport",
4778
- "privacy": "private",
4779
- "parameters": [
4780
- {
4781
- "name": "generatedReportId"
4782
- }
4783
- ]
4626
+ "name": "cloneReportConfig"
4784
4627
  },
4785
4628
  {
4786
4629
  "kind": "method",
4787
- "name": "searchChanged",
4630
+ "name": "showErrorToast",
4788
4631
  "parameters": [
4789
4632
  {
4790
- "name": "event",
4633
+ "name": "message",
4791
4634
  "type": {
4792
- "text": "CustomEvent<Array<SelectedOption>>"
4635
+ "text": "string"
4793
4636
  }
4794
4637
  }
4795
4638
  ]
@@ -4799,93 +4642,105 @@
4799
4642
  "name": "GenesisElement",
4800
4643
  "package": "@genesislcap/web-core"
4801
4644
  },
4802
- "tagName": "generated-reports",
4645
+ "tagName": "clone-report-config-modal",
4803
4646
  "customElement": true
4804
4647
  }
4805
4648
  ],
4806
4649
  "exports": [
4807
4650
  {
4808
4651
  "kind": "js",
4809
- "name": "GeneratedReports",
4652
+ "name": "CloneReportConfigModal",
4810
4653
  "declaration": {
4811
- "name": "GeneratedReports",
4812
- "module": "src/new/main/generated-reports/generated-reports.ts"
4654
+ "name": "CloneReportConfigModal",
4655
+ "module": "src/new/components/clone-report-config-modal/clone-report-config-modal.ts"
4813
4656
  }
4814
4657
  },
4815
4658
  {
4816
4659
  "kind": "custom-element-definition",
4817
- "name": "generated-reports",
4818
- "declaration": {
4819
- "name": "GeneratedReports",
4820
- "module": "src/new/main/generated-reports/generated-reports.ts"
4821
- }
4822
- }
4823
- ]
4824
- },
4825
- {
4826
- "kind": "javascript-module",
4827
- "path": "src/new/main/report-destinations/report-destinations.template.ts",
4828
- "declarations": [
4829
- {
4830
- "kind": "variable",
4831
- "name": "template",
4832
- "default": "html<ReportDestinations>`\n ${(x) => permissionTemplateGuard(x, Permissions.ReportDestinationView, viewTemplate)}\n`"
4833
- }
4834
- ],
4835
- "exports": [
4836
- {
4837
- "kind": "js",
4838
- "name": "template",
4660
+ "name": "clone-report-config-modal",
4839
4661
  "declaration": {
4840
- "name": "template",
4841
- "module": "src/new/main/report-destinations/report-destinations.template.ts"
4662
+ "name": "CloneReportConfigModal",
4663
+ "module": "src/new/components/clone-report-config-modal/clone-report-config-modal.ts"
4842
4664
  }
4843
4665
  }
4844
4666
  ]
4845
4667
  },
4846
4668
  {
4847
4669
  "kind": "javascript-module",
4848
- "path": "src/new/main/report-destinations/report-destinations.ts",
4670
+ "path": "src/new/components/renderers/data-transform-renderer.ts",
4849
4671
  "declarations": [
4850
4672
  {
4851
4673
  "kind": "class",
4852
4674
  "description": "",
4853
- "name": "ReportDestinations",
4675
+ "name": "DataTransformRenderer",
4854
4676
  "members": [
4855
4677
  {
4856
4678
  "kind": "field",
4857
- "name": "connect",
4679
+ "name": "params",
4858
4680
  "type": {
4859
- "text": "Connect"
4681
+ "text": "DataTransformRendererParams"
4860
4682
  },
4861
- "privacy": "private"
4683
+ "privacy": "public"
4862
4684
  },
4863
4685
  {
4864
4686
  "kind": "field",
4865
- "name": "topics",
4687
+ "name": "value",
4866
4688
  "type": {
4867
- "text": "string[]"
4689
+ "text": "ExpressionBuilderTypes.ValueConfig"
4868
4690
  },
4869
- "default": "[]"
4691
+ "privacy": "public"
4870
4692
  },
4871
4693
  {
4872
4694
  "kind": "field",
4873
- "name": "user",
4695
+ "name": "modal",
4874
4696
  "type": {
4875
- "text": "User"
4697
+ "text": "Modal"
4876
4698
  }
4877
4699
  },
4878
4700
  {
4879
- "kind": "field",
4880
- "name": "getUISchema",
4881
- "type": {
4882
- "text": "UiSchema"
4883
- },
4884
- "readonly": true
4701
+ "kind": "method",
4702
+ "name": "init",
4703
+ "privacy": "public",
4704
+ "parameters": [
4705
+ {
4706
+ "name": "params",
4707
+ "type": {
4708
+ "text": "DataTransformRendererParams"
4709
+ }
4710
+ }
4711
+ ]
4885
4712
  },
4886
4713
  {
4887
4714
  "kind": "method",
4888
- "name": "setNotifyRouteTopics",
4715
+ "name": "getGui",
4716
+ "privacy": "public",
4717
+ "return": {
4718
+ "type": {
4719
+ "text": "HTMLElement"
4720
+ }
4721
+ }
4722
+ },
4723
+ {
4724
+ "kind": "method",
4725
+ "name": "refresh",
4726
+ "privacy": "public",
4727
+ "return": {
4728
+ "type": {
4729
+ "text": "boolean"
4730
+ }
4731
+ },
4732
+ "parameters": [
4733
+ {
4734
+ "name": "params",
4735
+ "type": {
4736
+ "text": "DataTransformRendererParams"
4737
+ }
4738
+ }
4739
+ ]
4740
+ },
4741
+ {
4742
+ "kind": "field",
4743
+ "name": "changeHandler",
4889
4744
  "privacy": "public"
4890
4745
  }
4891
4746
  ],
@@ -4893,254 +4748,79 @@
4893
4748
  "name": "GenesisElement",
4894
4749
  "package": "@genesislcap/web-core"
4895
4750
  },
4896
- "tagName": "report-destinations",
4751
+ "tagName": "data-transform-cell-renderer",
4897
4752
  "customElement": true
4898
4753
  }
4899
4754
  ],
4900
4755
  "exports": [
4901
4756
  {
4902
4757
  "kind": "js",
4903
- "name": "ReportDestinations",
4758
+ "name": "DataTransformRenderer",
4904
4759
  "declaration": {
4905
- "name": "ReportDestinations",
4906
- "module": "src/new/main/report-destinations/report-destinations.ts"
4760
+ "name": "DataTransformRenderer",
4761
+ "module": "src/new/components/renderers/data-transform-renderer.ts"
4907
4762
  }
4908
4763
  },
4909
4764
  {
4910
4765
  "kind": "custom-element-definition",
4911
- "name": "report-destinations",
4912
- "declaration": {
4913
- "name": "ReportDestinations",
4914
- "module": "src/new/main/report-destinations/report-destinations.ts"
4915
- }
4916
- }
4917
- ]
4918
- },
4919
- {
4920
- "kind": "javascript-module",
4921
- "path": "src/new/store/slices/base-config.ts",
4922
- "declarations": [
4923
- {
4924
- "kind": "variable",
4925
- "name": "baseSlice"
4926
- }
4927
- ],
4928
- "exports": [
4929
- {
4930
- "kind": "js",
4931
- "name": "baseSlice",
4932
- "declaration": {
4933
- "name": "baseSlice",
4934
- "module": "src/new/store/slices/base-config.ts"
4935
- }
4936
- }
4937
- ]
4938
- },
4939
- {
4940
- "kind": "javascript-module",
4941
- "path": "src/new/store/slices/datasources-config.ts",
4942
- "declarations": [
4943
- {
4944
- "kind": "variable",
4945
- "name": "initialState",
4946
- "type": {
4947
- "text": "DatasourceConfig"
4948
- },
4949
- "default": "{}"
4950
- },
4951
- {
4952
- "kind": "variable",
4953
- "name": "datasourceSlice"
4954
- }
4955
- ],
4956
- "exports": [
4957
- {
4958
- "kind": "js",
4959
- "name": "initialState",
4960
- "declaration": {
4961
- "name": "initialState",
4962
- "module": "src/new/store/slices/datasources-config.ts"
4963
- }
4964
- },
4965
- {
4966
- "kind": "js",
4967
- "name": "datasourceSlice",
4968
- "declaration": {
4969
- "name": "datasourceSlice",
4970
- "module": "src/new/store/slices/datasources-config.ts"
4971
- }
4972
- }
4973
- ]
4974
- },
4975
- {
4976
- "kind": "javascript-module",
4977
- "path": "src/new/store/slices/index.ts",
4978
- "declarations": [],
4979
- "exports": [
4980
- {
4981
- "kind": "js",
4982
- "name": "*",
4983
- "declaration": {
4984
- "name": "*",
4985
- "package": "./base-config"
4986
- }
4987
- },
4988
- {
4989
- "kind": "js",
4990
- "name": "*",
4991
- "declaration": {
4992
- "name": "*",
4993
- "package": "./datasources-config"
4994
- }
4995
- },
4996
- {
4997
- "kind": "js",
4998
- "name": "*",
4766
+ "name": "data-transform-cell-renderer",
4999
4767
  "declaration": {
5000
- "name": "*",
5001
- "package": "./types"
4768
+ "name": "DataTransformRenderer",
4769
+ "module": "src/new/components/renderers/data-transform-renderer.ts"
5002
4770
  }
5003
4771
  }
5004
4772
  ]
5005
4773
  },
5006
4774
  {
5007
4775
  "kind": "javascript-module",
5008
- "path": "src/new/store/slices/types.ts",
4776
+ "path": "src/new/components/reporting-configurations/reporting-configurations.styles.ts",
5009
4777
  "declarations": [
5010
4778
  {
5011
4779
  "kind": "variable",
5012
- "name": "deselectedColumns",
5013
- "type": {
5014
- "text": "array"
5015
- },
5016
- "default": "['RECORD_ID', 'TIMESTAMP']"
5017
- },
5018
- {
5019
- "kind": "variable",
5020
- "name": "datasourceInputs",
5021
- "type": {
5022
- "text": "['REQ_REP', 'DATA_PIPELINE']"
5023
- },
5024
- "default": "['REQ_REP', 'DATA_PIPELINE']"
5025
- },
5026
- {
5027
- "kind": "variable",
5028
- "name": "datasourceOutputs",
5029
- "type": {
5030
- "text": "[\n // 'RECORD_STREAM',\n 'TABLE',\n]"
5031
- },
5032
- "default": "[\n // 'RECORD_STREAM',\n 'TABLE',\n]"
5033
- },
5034
- {
5035
- "kind": "variable",
5036
- "name": "datasourceGroupingStrategies",
5037
- "type": {
5038
- "text": "['NONE', 'MULTI_SHEET', 'LOOKUP_TABLE']"
5039
- },
5040
- "default": "['NONE', 'MULTI_SHEET', 'LOOKUP_TABLE']"
5041
- },
5042
- {
5043
- "kind": "variable",
5044
- "name": "reportOutputFormats",
5045
- "type": {
5046
- "text": "['CSV', 'PDF', 'XLSX']"
5047
- },
5048
- "default": "['CSV', 'PDF', 'XLSX']"
4780
+ "name": "ReportingConfigurationStyles",
4781
+ "default": "css`\n :host {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n }\n\n .header-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 3px);\n gap: calc(var(--design-unit) * 4px);\n border-bottom: 1px solid var(--neutral-fill-rest);\n }\n\n .header-buttons {\n display: flex;\n align-items: center;\n }\n\n rapid-button.header-btn {\n background: transparent;\n color: var(--neutral-foreground-hint);\n }\n\n rapid-button.header-btn::part(content) {\n color: var(--neutral-foreground-rest);\n }\n\n rapid-button.header-btn:hover {\n background: var(--neutral-fill-stealth-rest);\n color: var(--neutral-foreground-rest);\n }\n\n rapid-search-bar {\n width: 30%;\n }\n`"
5049
4782
  }
5050
4783
  ],
5051
4784
  "exports": [
5052
4785
  {
5053
4786
  "kind": "js",
5054
- "name": "deselectedColumns",
5055
- "declaration": {
5056
- "name": "deselectedColumns",
5057
- "module": "src/new/store/slices/types.ts"
5058
- }
5059
- },
5060
- {
5061
- "kind": "js",
5062
- "name": "datasourceInputs",
5063
- "declaration": {
5064
- "name": "datasourceInputs",
5065
- "module": "src/new/store/slices/types.ts"
5066
- }
5067
- },
5068
- {
5069
- "kind": "js",
5070
- "name": "datasourceOutputs",
5071
- "declaration": {
5072
- "name": "datasourceOutputs",
5073
- "module": "src/new/store/slices/types.ts"
5074
- }
5075
- },
5076
- {
5077
- "kind": "js",
5078
- "name": "datasourceGroupingStrategies",
5079
- "declaration": {
5080
- "name": "datasourceGroupingStrategies",
5081
- "module": "src/new/store/slices/types.ts"
5082
- }
5083
- },
5084
- {
5085
- "kind": "js",
5086
- "name": "reportOutputFormats",
4787
+ "name": "ReportingConfigurationStyles",
5087
4788
  "declaration": {
5088
- "name": "reportOutputFormats",
5089
- "module": "src/new/store/slices/types.ts"
4789
+ "name": "ReportingConfigurationStyles",
4790
+ "module": "src/new/components/reporting-configurations/reporting-configurations.styles.ts"
5090
4791
  }
5091
4792
  }
5092
4793
  ]
5093
4794
  },
5094
4795
  {
5095
4796
  "kind": "javascript-module",
5096
- "path": "src/new/components/clone-report-config-modal/clone-report-config-modal.styles.ts",
4797
+ "path": "src/new/components/reporting-configurations/reporting-configurations.template.ts",
5097
4798
  "declarations": [
5098
4799
  {
5099
4800
  "kind": "variable",
5100
- "name": "cloneReportConfigModalStyles",
5101
- "default": "css`\n :host {\n display: flex;\n overflow: hidden;\n flex-direction: column;\n max-height: 100%;\n width: 100%;\n }\n\n .clone-report-config-modal::part(dialog) {\n padding: calc(var(--design-unit) * 4px);\n background: var(--neutral-layer-4);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n }\n\n .dialog-top {\n font-size: var(--type-ramp-plus-2-font-size);\n font-weight: 600;\n line-height: var(--type-ramp-plus-2-line-height);\n color: var(--neutral-foreground-rest);\n }\n\n .dialog-content {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n gap: calc(var(--design-unit) * 3px);\n margin: 0;\n padding: calc(var(--design-unit) * 4px) 0;\n }\n\n .help-text {\n margin-bottom: calc(var(--design-unit) * 4px);\n word-break: break-word;\n white-space: normal;\n }\n\n .help-text p {\n margin: 0;\n color: var(--neutral-foreground-rest);\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n }\n`"
4801
+ "name": "ReportingConfigurationsTemplate",
4802
+ "default": "html<ReportingConfigurations>`\n ${(x) => permissionTemplateGuard(x, Permissions.ReportConfigurationView, viewTemplate)}\n`"
5102
4803
  }
5103
4804
  ],
5104
4805
  "exports": [
5105
4806
  {
5106
4807
  "kind": "js",
5107
- "name": "cloneReportConfigModalStyles",
4808
+ "name": "ReportingConfigurationsTemplate",
5108
4809
  "declaration": {
5109
- "name": "cloneReportConfigModalStyles",
5110
- "module": "src/new/components/clone-report-config-modal/clone-report-config-modal.styles.ts"
4810
+ "name": "ReportingConfigurationsTemplate",
4811
+ "module": "src/new/components/reporting-configurations/reporting-configurations.template.ts"
5111
4812
  }
5112
4813
  }
5113
4814
  ]
5114
4815
  },
5115
4816
  {
5116
4817
  "kind": "javascript-module",
5117
- "path": "src/new/components/clone-report-config-modal/clone-report-config-modal.template.ts",
5118
- "declarations": [
5119
- {
5120
- "kind": "variable",
5121
- "name": "CloneReportConfigModalTemplate",
5122
- "default": "html<CloneReportConfigModal>`\n <rapid-modal\n ${ref('cloneReportConfigModal')}\n class=\"clone-report-config-modal\"\n :onCloseCallback=${(x) => x.closeCloneReportConfigModal()}\n >\n <div slot=\"top\" class=\"dialog-top\">\n ${(x) => (x.isImportMode ? 'Import Report Config' : 'Clone Report Config')}\n </div>\n <rapid-divider></rapid-divider>\n <div class=\"dialog-content\">\n <div class=\"help-text\">\n <p>\n ${(x) =>\n x.isImportMode\n ? 'Here you can import a report configuration from a file. You need to set a new report and filename as they must be unique.'\n : \"Here you can clone a report configuration you've already made. You need to set a new report and filename as they must be unique.\"}\n </p>\n </div>\n <label class=\"label\">Report name${requiredTooltip}${tooltip(TOOLTIP.SETUP_NAME)}</label>\n <rapid-text-field\n :value=${sync((x) => x.reportName)}\n placeholder=\"Enter report name\"\n ></rapid-text-field>\n <label class=\"label\">File name${requiredTooltip}${tooltip(TOOLTIP.SETUP_FILENAME)}</label>\n <rapid-text-field\n :value=${sync((x) => x.fileName)}\n placeholder=\"Enter file name\"\n ></rapid-text-field>\n ${when(\n (x) => x.isImportMode && !!x.reportConfigDetails?.DOCUMENT_TEMPLATE_ID,\n html`\n ${fileTemplatePicker}\n <p style=\"max-width: 745px;\">\n Because the exported report requires a selected template you must select a valid\n template to import this configuration. If there isn't a valid template then you must\n upload one via the document manager component.\n </p>\n `,\n )}\n </div>\n <rapid-divider></rapid-divider>\n <div slot=\"bottom\" class=\"dialog-bottom\">\n <rapid-button @click=${(x) => x.discardChanges()}>Cancel</rapid-button>\n <rapid-button appearance=\"primary\" @click=${(x) => x.cloneReportConfig()}>\n ${(x) => (x.isImportMode ? 'Import' : 'Clone')}\n </rapid-button>\n </div>\n </rapid-modal>\n`"
5123
- }
5124
- ],
5125
- "exports": [
5126
- {
5127
- "kind": "js",
5128
- "name": "CloneReportConfigModalTemplate",
5129
- "declaration": {
5130
- "name": "CloneReportConfigModalTemplate",
5131
- "module": "src/new/components/clone-report-config-modal/clone-report-config-modal.template.ts"
5132
- }
5133
- }
5134
- ]
5135
- },
5136
- {
5137
- "kind": "javascript-module",
5138
- "path": "src/new/components/clone-report-config-modal/clone-report-config-modal.ts",
4818
+ "path": "src/new/components/reporting-configurations/reporting-configurations.ts",
5139
4819
  "declarations": [
5140
4820
  {
5141
4821
  "kind": "class",
5142
- "description": "",
5143
- "name": "CloneReportConfigModal",
4822
+ "description": "Report configuration grid and toolbar actions.",
4823
+ "name": "ReportingConfigurations",
5144
4824
  "members": [
5145
4825
  {
5146
4826
  "kind": "field",
@@ -5151,21 +4831,14 @@
5151
4831
  },
5152
4832
  {
5153
4833
  "kind": "field",
5154
- "name": "cloneReportConfigModal",
5155
- "type": {
5156
- "text": "Modal"
5157
- }
5158
- },
5159
- {
5160
- "kind": "field",
5161
- "name": "reportConfigDetails",
4834
+ "name": "reportConfigurationsDatasource",
5162
4835
  "type": {
5163
- "text": "Genesis.ServerReportConfig"
4836
+ "text": "GridProGenesisDatasource"
5164
4837
  }
5165
4838
  },
5166
4839
  {
5167
4840
  "kind": "field",
5168
- "name": "reportName",
4841
+ "name": "gridCriteria",
5169
4842
  "type": {
5170
4843
  "text": "string"
5171
4844
  },
@@ -5173,350 +4846,388 @@
5173
4846
  },
5174
4847
  {
5175
4848
  "kind": "field",
5176
- "name": "fileName",
4849
+ "name": "cloneConfigModal",
5177
4850
  "type": {
5178
- "text": "string"
5179
- },
5180
- "default": "''"
4851
+ "text": "CloneReportConfigModal"
4852
+ }
5181
4853
  },
5182
4854
  {
5183
4855
  "kind": "field",
5184
- "name": "fileTemplates",
4856
+ "name": "importFileInput",
5185
4857
  "type": {
5186
- "text": "Array<Genesis.FileStorageDataRow>"
5187
- },
5188
- "default": "[]"
4858
+ "text": "HTMLInputElement"
4859
+ }
5189
4860
  },
5190
4861
  {
5191
4862
  "kind": "field",
5192
- "name": "allowedTemplates",
4863
+ "name": "user",
5193
4864
  "type": {
5194
- "text": "Array<Genesis.FileStorageDataRow>"
5195
- },
5196
- "default": "[]"
4865
+ "text": "User"
4866
+ }
5197
4867
  },
5198
4868
  {
5199
4869
  "kind": "field",
5200
- "name": "selectedTemplateId",
4870
+ "name": "searchBarConfig",
5201
4871
  "type": {
5202
- "text": "string"
4872
+ "text": "array"
5203
4873
  },
5204
- "default": "''"
4874
+ "privacy": "public",
4875
+ "default": "[\n {\n field: 'NAME',\n label: (searchTerm) => `${searchTerm} as NAME`,\n createCriteria: getCriteriaBuilder,\n isEnabled: (searchTerm, selectedOption) => {\n return (\n searchTerm.length >= INPUT_MIN_LENGTH && !selectedOption.some((e) => e.field === 'NAME')\n );\n },\n },\n ]"
5205
4876
  },
5206
4877
  {
5207
- "kind": "field",
5208
- "name": "isImportMode",
5209
- "type": {
5210
- "text": "boolean"
5211
- },
5212
- "default": "false"
4878
+ "kind": "method",
4879
+ "name": "createNewReportHandler"
5213
4880
  },
5214
4881
  {
5215
4882
  "kind": "method",
5216
- "name": "getReportConfigDetails",
4883
+ "name": "editReportConfigHandler",
5217
4884
  "parameters": [
5218
4885
  {
5219
- "name": "ID",
4886
+ "name": "{ NAME, ID }",
5220
4887
  "type": {
5221
- "text": "string"
4888
+ "text": "{ NAME: string; ID: string }"
5222
4889
  }
5223
4890
  }
5224
4891
  ]
5225
4892
  },
5226
4893
  {
5227
4894
  "kind": "method",
5228
- "name": "showReportConfigModal",
5229
- "parameters": [
5230
- {
5231
- "name": "ID",
5232
- "type": {
5233
- "text": "string"
5234
- }
5235
- }
5236
- ]
4895
+ "name": "getColumnDefs"
5237
4896
  },
5238
4897
  {
5239
4898
  "kind": "method",
5240
- "name": "showImportModal",
4899
+ "name": "getGridOptions"
4900
+ },
4901
+ {
4902
+ "kind": "method",
4903
+ "name": "deleteReportConfig",
4904
+ "privacy": "private",
5241
4905
  "parameters": [
5242
4906
  {
5243
- "name": "config",
5244
- "type": {
5245
- "text": "Genesis.ServerReportConfig"
5246
- }
4907
+ "name": "reportConfigId"
4908
+ },
4909
+ {
4910
+ "name": "reportName"
5247
4911
  }
5248
4912
  ]
5249
4913
  },
5250
4914
  {
5251
4915
  "kind": "method",
5252
- "name": "closeCloneReportConfigModal"
5253
- },
5254
- {
5255
- "kind": "method",
5256
- "name": "getFileTemplates",
5257
- "return": {
5258
- "type": {
5259
- "text": "Promise<void>"
4916
+ "name": "runReport",
4917
+ "privacy": "private",
4918
+ "parameters": [
4919
+ {
4920
+ "name": "reportConfigId"
4921
+ },
4922
+ {
4923
+ "name": "reportName"
5260
4924
  }
5261
- }
4925
+ ]
5262
4926
  },
5263
4927
  {
5264
4928
  "kind": "method",
5265
- "name": "getAllowedTemplates",
5266
- "return": {
5267
- "type": {
5268
- "text": "Array<Genesis.FileStorageDataRow>"
5269
- }
5270
- },
4929
+ "name": "searchChanged",
5271
4930
  "parameters": [
5272
4931
  {
5273
- "name": "outputFormat",
4932
+ "name": "event",
5274
4933
  "type": {
5275
- "text": "string"
4934
+ "text": "CustomEvent<Array<SelectedOption>>"
5276
4935
  }
5277
4936
  }
5278
4937
  ]
5279
4938
  },
5280
4939
  {
5281
4940
  "kind": "method",
5282
- "name": "handleTemplateSelectChange",
4941
+ "name": "openCloneReportConfigModal",
5283
4942
  "parameters": [
5284
4943
  {
5285
- "name": "selectInput",
5286
- "type": {
5287
- "text": "HTMLSelectElement"
5288
- }
4944
+ "name": "e"
5289
4945
  }
5290
4946
  ]
5291
4947
  },
5292
4948
  {
5293
4949
  "kind": "method",
5294
- "name": "discardChanges"
4950
+ "name": "importConfigHandler"
5295
4951
  },
5296
4952
  {
5297
4953
  "kind": "method",
5298
- "name": "filterFields",
5299
- "privacy": "private",
5300
- "return": {
5301
- "type": {
5302
- "text": "Partial<T>"
5303
- }
5304
- },
4954
+ "name": "handleFileImport",
5305
4955
  "parameters": [
5306
4956
  {
5307
- "name": "obj",
5308
- "type": {
5309
- "text": "T"
5310
- }
5311
- },
5312
- {
5313
- "name": "excludedFields",
4957
+ "name": "event",
5314
4958
  "type": {
5315
- "text": "readonly string[]"
4959
+ "text": "Event"
5316
4960
  }
5317
4961
  }
5318
4962
  ]
5319
4963
  },
5320
4964
  {
5321
4965
  "kind": "method",
5322
- "name": "cloneReportConfig"
5323
- },
5324
- {
5325
- "kind": "method",
5326
- "name": "showErrorToast",
4966
+ "name": "exportConfig",
5327
4967
  "parameters": [
5328
4968
  {
5329
- "name": "message",
4969
+ "name": "{ NAME, ID }",
5330
4970
  "type": {
5331
- "text": "string"
4971
+ "text": "{ NAME: string; ID: string }"
5332
4972
  }
5333
4973
  }
5334
4974
  ]
5335
4975
  }
5336
4976
  ],
4977
+ "events": [
4978
+ {
4979
+ "description": "Fired to switch the report configuration display mode. detail: `'edit' | 'list'`",
4980
+ "name": "set-report-config-disp-mode"
4981
+ },
4982
+ {
4983
+ "name": "highlight-grid-row"
4984
+ }
4985
+ ],
4986
+ "mixins": [
4987
+ {
4988
+ "name": "EventEmitter",
4989
+ "package": "@genesislcap/foundation-events"
4990
+ }
4991
+ ],
5337
4992
  "superclass": {
5338
4993
  "name": "GenesisElement",
5339
4994
  "package": "@genesislcap/web-core"
5340
4995
  },
5341
- "tagName": "clone-report-config-modal",
4996
+ "tagName": "reporting-configurations",
5342
4997
  "customElement": true
5343
4998
  }
5344
4999
  ],
5345
5000
  "exports": [
5346
5001
  {
5347
5002
  "kind": "js",
5348
- "name": "CloneReportConfigModal",
5003
+ "name": "ReportingConfigurations",
5349
5004
  "declaration": {
5350
- "name": "CloneReportConfigModal",
5351
- "module": "src/new/components/clone-report-config-modal/clone-report-config-modal.ts"
5005
+ "name": "ReportingConfigurations",
5006
+ "module": "src/new/components/reporting-configurations/reporting-configurations.ts"
5352
5007
  }
5353
5008
  },
5354
5009
  {
5355
5010
  "kind": "custom-element-definition",
5356
- "name": "clone-report-config-modal",
5011
+ "name": "reporting-configurations",
5357
5012
  "declaration": {
5358
- "name": "CloneReportConfigModal",
5359
- "module": "src/new/components/clone-report-config-modal/clone-report-config-modal.ts"
5013
+ "name": "ReportingConfigurations",
5014
+ "module": "src/new/components/reporting-configurations/reporting-configurations.ts"
5360
5015
  }
5361
5016
  }
5362
5017
  ]
5363
5018
  },
5364
5019
  {
5365
5020
  "kind": "javascript-module",
5366
- "path": "src/new/components/renderers/data-transform-renderer.ts",
5021
+ "path": "src/new/components/shared/file-template-picker.template.ts",
5367
5022
  "declarations": [
5368
5023
  {
5369
- "kind": "class",
5370
- "description": "",
5371
- "name": "DataTransformRenderer",
5372
- "members": [
5373
- {
5374
- "kind": "field",
5375
- "name": "params",
5376
- "type": {
5377
- "text": "DataTransformRendererParams"
5378
- },
5379
- "privacy": "public"
5380
- },
5381
- {
5382
- "kind": "field",
5383
- "name": "value",
5384
- "type": {
5385
- "text": "ExpressionBuilderTypes.ValueConfig"
5386
- },
5387
- "privacy": "public"
5388
- },
5389
- {
5390
- "kind": "field",
5391
- "name": "modal",
5392
- "type": {
5393
- "text": "Modal"
5394
- }
5395
- },
5396
- {
5397
- "kind": "method",
5398
- "name": "init",
5399
- "privacy": "public",
5400
- "parameters": [
5401
- {
5402
- "name": "params",
5403
- "type": {
5404
- "text": "DataTransformRendererParams"
5405
- }
5406
- }
5407
- ]
5408
- },
5409
- {
5410
- "kind": "method",
5411
- "name": "getGui",
5412
- "privacy": "public",
5413
- "return": {
5414
- "type": {
5415
- "text": "HTMLElement"
5416
- }
5417
- }
5418
- },
5419
- {
5420
- "kind": "method",
5421
- "name": "refresh",
5422
- "privacy": "public",
5423
- "return": {
5424
- "type": {
5425
- "text": "boolean"
5426
- }
5427
- },
5428
- "parameters": [
5429
- {
5430
- "name": "params",
5431
- "type": {
5432
- "text": "DataTransformRendererParams"
5433
- }
5434
- }
5435
- ]
5024
+ "kind": "variable",
5025
+ "name": "NULL_TEMPLATE",
5026
+ "type": {
5027
+ "text": "string"
5028
+ },
5029
+ "default": "'Select a template'"
5030
+ },
5031
+ {
5032
+ "kind": "variable",
5033
+ "name": "allowedTemplateFiletypes",
5034
+ "type": {
5035
+ "text": "Record<ReportOutputTypes, string[]>"
5036
+ },
5037
+ "default": "{\n CSV: ['csv', 'txt'],\n PDF: ['html', 'xhtml'],\n XLSX: ['xls', 'xlsx'],\n}"
5038
+ },
5039
+ {
5040
+ "kind": "variable",
5041
+ "name": "fileTemplatePicker",
5042
+ "default": "html<BaseConfig | CloneReportConfigModal>`\n <label class=\"label\">File template${tooltip(TOOLTIP.SETUP_FILE_TEMPLATE)}</label>\n ${repeat(\n (x) => (x.allowedTemplates?.length > 0 ? [x] : []),\n html<BaseConfig | CloneReportConfigModal>`\n <rapid-select\n data-test-id=\"config-document-template\"\n :value=${(x) => x.selectedTemplateId || NULL_TEMPLATE}\n @change=${(x, ctx) => x.handleTemplateSelectChange(ctx.event.target as HTMLSelectElement)}\n >\n <rapid-option value=${() => NULL_TEMPLATE}>${NULL_TEMPLATE}</rapid-option>\n ${repeat(\n (x) => x.allowedTemplates,\n html<Genesis.FileStorageDataRow>`\n <rapid-option value=\"${(x) => x[Genesis.FileStorageFields.FILE_STORAGE_ID]}\">\n ${(x) => x[Genesis.FileStorageFields.FILE_NAME]}\n </rapid-option>\n `,\n )}\n </rapid-select>\n `,\n { recycle: false },\n )}\n ${when(\n (x) => !x.allowedTemplates || x.allowedTemplates.length === 0,\n html`\n No valid templates available for this output format.\n `,\n )}\n`"
5043
+ }
5044
+ ],
5045
+ "exports": [
5046
+ {
5047
+ "kind": "js",
5048
+ "name": "NULL_TEMPLATE",
5049
+ "declaration": {
5050
+ "name": "NULL_TEMPLATE",
5051
+ "module": "src/new/components/shared/file-template-picker.template.ts"
5052
+ }
5053
+ },
5054
+ {
5055
+ "kind": "js",
5056
+ "name": "allowedTemplateFiletypes",
5057
+ "declaration": {
5058
+ "name": "allowedTemplateFiletypes",
5059
+ "module": "src/new/components/shared/file-template-picker.template.ts"
5060
+ }
5061
+ },
5062
+ {
5063
+ "kind": "js",
5064
+ "name": "fileTemplatePicker",
5065
+ "declaration": {
5066
+ "name": "fileTemplatePicker",
5067
+ "module": "src/new/components/shared/file-template-picker.template.ts"
5068
+ }
5069
+ }
5070
+ ]
5071
+ },
5072
+ {
5073
+ "kind": "javascript-module",
5074
+ "path": "src/new/lib/redux-store/index.ts",
5075
+ "declarations": [],
5076
+ "exports": [
5077
+ {
5078
+ "kind": "js",
5079
+ "name": "*",
5080
+ "declaration": {
5081
+ "name": "*",
5082
+ "package": "./store"
5083
+ }
5084
+ },
5085
+ {
5086
+ "kind": "js",
5087
+ "name": "*",
5088
+ "declaration": {
5089
+ "name": "*",
5090
+ "package": "./state-utils"
5091
+ }
5092
+ }
5093
+ ]
5094
+ },
5095
+ {
5096
+ "kind": "javascript-module",
5097
+ "path": "src/new/lib/redux-store/state-utils.ts",
5098
+ "declarations": [],
5099
+ "exports": [
5100
+ {
5101
+ "kind": "js",
5102
+ "name": "find",
5103
+ "declaration": {
5104
+ "name": "find",
5105
+ "package": "lodash"
5106
+ }
5107
+ },
5108
+ {
5109
+ "kind": "js",
5110
+ "name": "get",
5111
+ "declaration": {
5112
+ "name": "get",
5113
+ "package": "lodash"
5114
+ }
5115
+ },
5116
+ {
5117
+ "kind": "js",
5118
+ "name": "set",
5119
+ "declaration": {
5120
+ "name": "set",
5121
+ "package": "lodash"
5122
+ }
5123
+ },
5124
+ {
5125
+ "kind": "js",
5126
+ "name": "findIndex",
5127
+ "declaration": {
5128
+ "name": "findIndex",
5129
+ "package": "lodash"
5130
+ }
5131
+ }
5132
+ ]
5133
+ },
5134
+ {
5135
+ "kind": "javascript-module",
5136
+ "path": "src/new/lib/redux-store/store.ts",
5137
+ "declarations": [
5138
+ {
5139
+ "kind": "function",
5140
+ "name": "createStore",
5141
+ "return": {
5142
+ "type": {
5143
+ "text": "StoreReturn<S>"
5144
+ }
5145
+ },
5146
+ "parameters": [
5147
+ {
5148
+ "name": "slices",
5149
+ "type": {
5150
+ "text": "S"
5151
+ }
5436
5152
  },
5437
5153
  {
5438
- "kind": "field",
5439
- "name": "changeHandler",
5440
- "privacy": "public"
5154
+ "name": "preloadedState",
5155
+ "type": {
5156
+ "text": "RootStateFromSlices<S>"
5157
+ }
5441
5158
  }
5442
- ],
5443
- "superclass": {
5444
- "name": "GenesisElement",
5445
- "package": "@genesislcap/web-core"
5446
- },
5447
- "tagName": "data-transform-cell-renderer",
5448
- "customElement": true
5159
+ ]
5449
5160
  }
5450
5161
  ],
5451
5162
  "exports": [
5452
5163
  {
5453
5164
  "kind": "js",
5454
- "name": "DataTransformRenderer",
5165
+ "name": "createSlice",
5455
5166
  "declaration": {
5456
- "name": "DataTransformRenderer",
5457
- "module": "src/new/components/renderers/data-transform-renderer.ts"
5167
+ "name": "createSlice",
5168
+ "package": "@reduxjs/toolkit"
5458
5169
  }
5459
5170
  },
5460
5171
  {
5461
- "kind": "custom-element-definition",
5462
- "name": "data-transform-cell-renderer",
5172
+ "kind": "js",
5173
+ "name": "createStore",
5463
5174
  "declaration": {
5464
- "name": "DataTransformRenderer",
5465
- "module": "src/new/components/renderers/data-transform-renderer.ts"
5175
+ "name": "createStore",
5176
+ "module": "src/new/lib/redux-store/store.ts"
5466
5177
  }
5467
5178
  }
5468
5179
  ]
5469
5180
  },
5470
5181
  {
5471
5182
  "kind": "javascript-module",
5472
- "path": "src/new/components/reporting-configurations/reporting-configurations.styles.ts",
5183
+ "path": "src/new/main/edit-config/config-journey-orchestrator.styles.ts",
5473
5184
  "declarations": [
5474
5185
  {
5475
5186
  "kind": "variable",
5476
- "name": "ReportingConfigurationStyles",
5477
- "default": "css`\n :host {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n }\n\n .header-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 3px);\n gap: calc(var(--design-unit) * 4px);\n border-bottom: 1px solid var(--neutral-fill-rest);\n }\n\n .header-buttons {\n display: flex;\n align-items: center;\n }\n\n rapid-button.header-btn {\n background: transparent;\n color: var(--neutral-foreground-hint);\n }\n\n rapid-button.header-btn::part(content) {\n color: var(--neutral-foreground-rest);\n }\n\n rapid-button.header-btn:hover {\n background: var(--neutral-fill-stealth-rest);\n color: var(--neutral-foreground-rest);\n }\n\n rapid-search-bar {\n width: 30%;\n }\n`"
5187
+ "name": "styles",
5188
+ "default": "css`\n :host {\n --stepper-size: 50px;\n ${constrainedDimensions({ navToContentPx: 300 })}\n }\n\n div.pad {\n padding-top: 50px;\n }\n\n .centered {\n max-width: var(--constrained-width);\n max-height: calc(100vh - var(--reporting-header-to-content-height));\n width: 100%;\n margin: auto;\n }\n\n .scheduling-container {\n display: flex;\n height: 100%;\n }\n\n .scheduling-container-margin {\n margin: 0 auto;\n }\n\n .block {\n display: block;\n }\n\n datasource-config-container,\n base-config {\n overflow-y: auto;\n overflow-x: clip;\n min-height: var(--constrained-height);\n }\n\n div.button-container {\n z-index: 1 !important;\n position: absolute;\n top: calc(var(--stepper-size) + calc(var(--design-unit) * 3px));\n right: calc(var(--design-unit) * 3px);\n display: flex;\n align-content: center;\n align-items: center;\n gap: calc(var(--design-unit) * 3px);\n }\n\n tabbed-datasource-container,\n row-filters {\n max-width: var(--constrained-width);\n margin: auto;\n display: block;\n }\n\n rapid-stepper::part(action-buttons-container) {\n border-top: calc(var(--stroke-width) * 1px) solid\n color-mix(in srgb, var(--neutral-stroke-divider-rest), transparent 50%);\n padding: calc(var(--design-unit) * 3px) calc(var(--design-unit) * 4px);\n }\n\n rapid-stepper::part(stepper-tab-panel) {\n background: var(--app-bg-color);\n justify-content: space-between;\n border-bottom: calc(var(--stroke-width) * 1px) solid\n color-mix(in srgb, var(--neutral-stroke-divider-rest), transparent 50%);\n }\n\n rapid-stepper::part(stepper-tab) {\n border-bottom: calc(var(--stroke-width) * 1px) solid\n color-mix(in srgb, var(--neutral-stroke-divider-rest), transparent 50%);\n height: var(--stepper-size);\n }\n\n rapid-stepper::part(stepper-panel-container) {\n overflow: hidden;\n contain: size;\n }\n\n rapid-stepper.hidden::part(action-buttons-container) {\n display: none;\n }\n\n rapid-stepper::part(stepper-tab-menu) {\n margin: 0;\n gap: 0;\n }\n\n rapid-stepper::part(stepper-tab-progress) {\n background: var(--app-bg-color);\n justify-content: center;\n padding: 0;\n }\n\n /**\n * Hacky way for now - need to adjust it in foundation\n */\n rapid-stepper-tab {\n --neutral-layer-3: var(--app-bg-color);\n }\n\n :host(.readonly) rapid-stepper-tab-panel {\n pointer-events: none;\n }\n\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
5478
5189
  }
5479
5190
  ],
5480
5191
  "exports": [
5481
5192
  {
5482
5193
  "kind": "js",
5483
- "name": "ReportingConfigurationStyles",
5194
+ "name": "styles",
5484
5195
  "declaration": {
5485
- "name": "ReportingConfigurationStyles",
5486
- "module": "src/new/components/reporting-configurations/reporting-configurations.styles.ts"
5196
+ "name": "styles",
5197
+ "module": "src/new/main/edit-config/config-journey-orchestrator.styles.ts"
5487
5198
  }
5488
5199
  }
5489
5200
  ]
5490
5201
  },
5491
5202
  {
5492
5203
  "kind": "javascript-module",
5493
- "path": "src/new/components/reporting-configurations/reporting-configurations.template.ts",
5204
+ "path": "src/new/main/edit-config/config-journey-orchestrator.template.ts",
5494
5205
  "declarations": [
5495
5206
  {
5496
5207
  "kind": "variable",
5497
- "name": "ReportingConfigurationsTemplate",
5498
- "default": "html<ReportingConfigurations>`\n ${(x) => permissionTemplateGuard(x, Permissions.ReportConfigurationView, viewTemplate)}\n`"
5208
+ "name": "template",
5209
+ "default": "html<ConfigJourneyOrchestrator>`\n <template class=\"${(x) => classNames(['readonly', !permissionGuard(x, editPermission)])}\">\n <div class=\"button-container\">\n ${(ctx) =>\n permissionTemplateGuard(\n ctx,\n editPermission,\n html<ConfigJourneyOrchestrator>`\n <rapid-button appearance=\"primary\" @click=${(x) => x.saveConfigHandler()}>\n Save and Close\n </rapid-button>\n `,\n html`\n <p>You have read-only permissions</p>\n `,\n )}\n <rapid-button @click=${(x) => x.showListViewHandler()}>\n ${(x) => (permissionGuard(x, editPermission) ? 'Discard Changes' : 'Close')}\n </rapid-button>\n </div>\n\n <rapid-stepper\n allow-backward-jumps\n allow-forward-jumps\n orientation=\"horizontal\"\n hide-submit-button\n hide-step-number\n :validation=${(x) => [\n { isValid: () => x.validateProjectSetup() },\n { isValid: () => x.validateDatasource() },\n ]}\n >\n <rapid-stepper-tab>Report Setup</rapid-stepper-tab>\n <rapid-stepper-tab>Add Datasources</rapid-stepper-tab>\n <rapid-stepper-tab>Row Filters</rapid-stepper-tab>\n <rapid-stepper-tab>Column Visibility</rapid-stepper-tab>\n <!--<rapid-stepper-tab>Transform & Derive Data</rapid-stepper-tab>-->\n <rapid-stepper-tab>Formatting</rapid-stepper-tab>\n <!--<rapid-stepper-tab>Sorting</rapid-stepper-tab>-->\n <rapid-stepper-tab>\n Column\n ${(_) => (selectors.baseConfig.getConfig().DOCUMENT_TEMPLATE_ID ? 'Aliases' : 'Renames')}\n </rapid-stepper-tab>\n <rapid-stepper-tab>Delivery</rapid-stepper-tab>\n\n <rapid-stepper-tab-panel>\n <div class=\"pad\">\n <base-config class=\"centered block\"></base-config>\n </div>\n </rapid-stepper-tab-panel>\n\n <rapid-stepper-tab-panel>\n <div class=\"pad\">\n <datasource-config-container class=\"centered block\"></datasource-config-container>\n </div>\n </rapid-stepper-tab-panel>\n\n <rapid-stepper-tab-panel>\n <tabbed-datasource-container>\n <row-filters-tutorial\n slot=\"${(_) => TABBED_DATASOURCE_HEADER_SLOT}\"\n ></row-filters-tutorial>\n <row-filters></row-filters>\n </tabbed-datasource-container>\n </rapid-stepper-tab-panel>\n\n <rapid-stepper-tab-panel>\n <tabbed-datasource-container>\n <col-filters-tutorial\n slot=\"${(_) => TABBED_DATASOURCE_HEADER_SLOT}\"\n ></col-filters-tutorial>\n <col-filters></col-filters>\n </tabbed-datasource-container>\n </rapid-stepper-tab-panel>\n\n <rapid-stepper-tab-panel>\n <tabbed-datasource-container>\n <data-transforms-tutorial\n slot=\"${(_) => TABBED_DATASOURCE_HEADER_SLOT}\"\n ></data-transforms-tutorial>\n <data-transforms-derived-fields></row-transforms-derived-fields>\n </tabbed-datasource-container>\n </rapid-stepper-tab-panel>\n\n <!--\n <rapid-stepper-tab-panel>Transform Data Content Goes Here</rapid-stepper-tab-panel>\n\n <rapid-stepper-tab-panel>Sorting Content Goes Here</rapid-stepper-tab-panel>\n-->\n\n <rapid-stepper-tab-panel>\n <tabbed-datasource-container>\n <col-renames-aliases-tutorial\n slot=\"${(_) => TABBED_DATASOURCE_HEADER_SLOT}\"\n ></col-renames-aliases-tutorial>\n <col-rename-alias></col-rename-alias>\n </tabbed-datasource-container>\n </rapid-stepper-tab-panel>\n\n <rapid-stepper-tab-panel>\n <div class=\"scheduling-container pad\">\n <scheduling-config class=\"centered scheduling-container-margin\"></scheduling-config>\n </div>\n </rapid-stepper-tab-panel>\n\n <!--\n\n\n <rapid-stepper-tab-panel>Destinations Content Goes Here</rapid-stepper-tab-panel>\n\n <rapid-stepper-tab-panel>Summary Content Goes Here</rapid-stepper-tab-panel>\n-->\n </rapid-stepper>\n </template>\n`"
5499
5210
  }
5500
5211
  ],
5501
5212
  "exports": [
5502
5213
  {
5503
5214
  "kind": "js",
5504
- "name": "ReportingConfigurationsTemplate",
5215
+ "name": "template",
5505
5216
  "declaration": {
5506
- "name": "ReportingConfigurationsTemplate",
5507
- "module": "src/new/components/reporting-configurations/reporting-configurations.template.ts"
5217
+ "name": "template",
5218
+ "module": "src/new/main/edit-config/config-journey-orchestrator.template.ts"
5508
5219
  }
5509
5220
  }
5510
5221
  ]
5511
5222
  },
5512
5223
  {
5513
5224
  "kind": "javascript-module",
5514
- "path": "src/new/components/reporting-configurations/reporting-configurations.ts",
5225
+ "path": "src/new/main/edit-config/config-journey-orchestrator.ts",
5515
5226
  "declarations": [
5516
5227
  {
5517
5228
  "kind": "class",
5518
- "description": "Report configuration grid and toolbar actions.",
5519
- "name": "ReportingConfigurations",
5229
+ "description": "Orchestrates validate/save/discard for report config editing.",
5230
+ "name": "ConfigJourneyOrchestrator",
5520
5231
  "members": [
5521
5232
  {
5522
5233
  "kind": "field",
@@ -5525,35 +5236,6 @@
5525
5236
  "text": "Connect"
5526
5237
  }
5527
5238
  },
5528
- {
5529
- "kind": "field",
5530
- "name": "reportConfigurationsDatasource",
5531
- "type": {
5532
- "text": "GridProGenesisDatasource"
5533
- }
5534
- },
5535
- {
5536
- "kind": "field",
5537
- "name": "gridCriteria",
5538
- "type": {
5539
- "text": "string"
5540
- },
5541
- "default": "''"
5542
- },
5543
- {
5544
- "kind": "field",
5545
- "name": "cloneConfigModal",
5546
- "type": {
5547
- "text": "CloneReportConfigModal"
5548
- }
5549
- },
5550
- {
5551
- "kind": "field",
5552
- "name": "importFileInput",
5553
- "type": {
5554
- "text": "HTMLInputElement"
5555
- }
5556
- },
5557
5239
  {
5558
5240
  "kind": "field",
5559
5241
  "name": "user",
@@ -5563,204 +5245,522 @@
5563
5245
  },
5564
5246
  {
5565
5247
  "kind": "field",
5566
- "name": "searchBarConfig",
5567
- "type": {
5568
- "text": "array"
5569
- },
5570
- "privacy": "public",
5571
- "default": "[\n {\n field: 'NAME',\n label: (searchTerm) => `${searchTerm} as NAME`,\n createCriteria: getCriteriaBuilder,\n isEnabled: (searchTerm, selectedOption) => {\n return (\n searchTerm.length >= INPUT_MIN_LENGTH && !selectedOption.some((e) => e.field === 'NAME')\n );\n },\n },\n ]"
5248
+ "name": "validateConfig",
5249
+ "privacy": "private"
5572
5250
  },
5573
5251
  {
5574
5252
  "kind": "method",
5575
- "name": "createNewReportHandler"
5253
+ "name": "showListViewHandler"
5576
5254
  },
5577
5255
  {
5578
5256
  "kind": "method",
5579
- "name": "editReportConfigHandler",
5580
- "parameters": [
5581
- {
5582
- "name": "{ NAME, ID }",
5583
- "type": {
5584
- "text": "{ NAME: string; ID: string }"
5585
- }
5586
- }
5587
- ]
5257
+ "name": "validateProjectSetup"
5588
5258
  },
5589
5259
  {
5590
5260
  "kind": "method",
5591
- "name": "getColumnDefs"
5261
+ "name": "validateDatasource"
5592
5262
  },
5593
5263
  {
5594
5264
  "kind": "method",
5595
- "name": "getGridOptions"
5265
+ "name": "saveConfigHandler"
5596
5266
  },
5597
5267
  {
5598
5268
  "kind": "method",
5599
- "name": "deleteReportConfig",
5269
+ "name": "displayError",
5600
5270
  "privacy": "private",
5601
5271
  "parameters": [
5602
5272
  {
5603
- "name": "reportConfigId"
5604
- },
5605
- {
5606
- "name": "reportName"
5273
+ "name": "e",
5274
+ "type": {
5275
+ "text": "Error"
5276
+ }
5277
+ },
5278
+ {
5279
+ "name": "expose",
5280
+ "default": "false"
5607
5281
  }
5608
5282
  ]
5283
+ }
5284
+ ],
5285
+ "events": [
5286
+ {
5287
+ "description": "Fired to switch the report configuration display mode. detail: `'edit' | 'list'`",
5288
+ "name": "set-report-config-disp-mode"
5289
+ }
5290
+ ],
5291
+ "mixins": [
5292
+ {
5293
+ "name": "EventEmitter",
5294
+ "package": "@genesislcap/foundation-events"
5295
+ }
5296
+ ],
5297
+ "superclass": {
5298
+ "name": "GenesisElement",
5299
+ "package": "@genesislcap/web-core"
5300
+ },
5301
+ "tagName": "config-journey-orchestrator",
5302
+ "customElement": true
5303
+ }
5304
+ ],
5305
+ "exports": [
5306
+ {
5307
+ "kind": "js",
5308
+ "name": "ConfigJourneyOrchestrator",
5309
+ "declaration": {
5310
+ "name": "ConfigJourneyOrchestrator",
5311
+ "module": "src/new/main/edit-config/config-journey-orchestrator.ts"
5312
+ }
5313
+ },
5314
+ {
5315
+ "kind": "custom-element-definition",
5316
+ "name": "config-journey-orchestrator",
5317
+ "declaration": {
5318
+ "name": "ConfigJourneyOrchestrator",
5319
+ "module": "src/new/main/edit-config/config-journey-orchestrator.ts"
5320
+ }
5321
+ }
5322
+ ]
5323
+ },
5324
+ {
5325
+ "kind": "javascript-module",
5326
+ "path": "src/new/main/generated-reports/generated-reports.styles.ts",
5327
+ "declarations": [
5328
+ {
5329
+ "kind": "variable",
5330
+ "name": "GeneratedReportsStyles",
5331
+ "default": "css`\n :host {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n }\n\n .container {\n padding: calc(var(--design-unit) * 4px);\n width: 40%;\n }\n`"
5332
+ }
5333
+ ],
5334
+ "exports": [
5335
+ {
5336
+ "kind": "js",
5337
+ "name": "GeneratedReportsStyles",
5338
+ "declaration": {
5339
+ "name": "GeneratedReportsStyles",
5340
+ "module": "src/new/main/generated-reports/generated-reports.styles.ts"
5341
+ }
5342
+ }
5343
+ ]
5344
+ },
5345
+ {
5346
+ "kind": "javascript-module",
5347
+ "path": "src/new/main/generated-reports/generated-reports.template.ts",
5348
+ "declarations": [
5349
+ {
5350
+ "kind": "variable",
5351
+ "name": "GeneratedReportsTemplate",
5352
+ "default": "html<GeneratedReports>`\n ${(x) =>\n permissionTemplateGuard(x, [Permissions.ReportView, Permissions.ReportRun], viewTemplate)}\n`"
5353
+ }
5354
+ ],
5355
+ "exports": [
5356
+ {
5357
+ "kind": "js",
5358
+ "name": "GeneratedReportsTemplate",
5359
+ "declaration": {
5360
+ "name": "GeneratedReportsTemplate",
5361
+ "module": "src/new/main/generated-reports/generated-reports.template.ts"
5362
+ }
5363
+ }
5364
+ ]
5365
+ },
5366
+ {
5367
+ "kind": "javascript-module",
5368
+ "path": "src/new/main/generated-reports/generated-reports.ts",
5369
+ "declarations": [
5370
+ {
5371
+ "kind": "class",
5372
+ "description": "",
5373
+ "name": "GeneratedReports",
5374
+ "members": [
5375
+ {
5376
+ "kind": "field",
5377
+ "name": "connect",
5378
+ "type": {
5379
+ "text": "Connect"
5380
+ }
5381
+ },
5382
+ {
5383
+ "kind": "field",
5384
+ "name": "generatedReportsDatasource",
5385
+ "type": {
5386
+ "text": "GridProGenesisDatasource"
5387
+ }
5388
+ },
5389
+ {
5390
+ "kind": "field",
5391
+ "name": "generatedReportId",
5392
+ "type": {
5393
+ "text": "string | null"
5394
+ }
5395
+ },
5396
+ {
5397
+ "kind": "field",
5398
+ "name": "gridCriteria",
5399
+ "type": {
5400
+ "text": "string"
5401
+ },
5402
+ "default": "''"
5403
+ },
5404
+ {
5405
+ "kind": "field",
5406
+ "name": "user",
5407
+ "type": {
5408
+ "text": "User"
5409
+ }
5410
+ },
5411
+ {
5412
+ "kind": "field",
5413
+ "name": "searchBarConfig",
5414
+ "type": {
5415
+ "text": "array"
5416
+ },
5417
+ "privacy": "public",
5418
+ "default": "[\n {\n field: 'NAME',\n label: (searchTerm) => `${searchTerm} as NAME`,\n createCriteria: getCriteriaBuilder,\n isEnabled: (searchTerm, selectedOption) => {\n return (\n searchTerm.length >= INPUT_MIN_LENGTH && !selectedOption.some((e) => e.field === 'NAME')\n );\n },\n },\n {\n field: 'FILE_NAME',\n label: (searchTerm) => `${searchTerm} as FILE_NAME`,\n createCriteria: getCriteriaBuilder,\n isEnabled: (searchTerm, selectedOption) => {\n return (\n searchTerm.length >= INPUT_MIN_LENGTH &&\n !selectedOption.some((e) => e.field === 'FILE_NAME')\n );\n },\n },\n {\n field: 'STATUS',\n label: (searchTerm) => `${searchTerm} as STATUS`,\n createCriteria: getCriteriaBuilder,\n isEnabled: (searchTerm, selectedOption) => {\n return (\n searchTerm.length >= INPUT_MIN_LENGTH && !selectedOption.some((e) => e.field === 'STATUS')\n );\n },\n },\n ]"
5419
+ },
5420
+ {
5421
+ "kind": "field",
5422
+ "name": "getColor"
5423
+ },
5424
+ {
5425
+ "kind": "field",
5426
+ "name": "getStatusRenderer"
5609
5427
  },
5610
5428
  {
5611
5429
  "kind": "method",
5612
- "name": "runReport",
5613
- "privacy": "private",
5614
- "parameters": [
5615
- {
5616
- "name": "reportConfigId"
5617
- },
5618
- {
5619
- "name": "reportName"
5620
- }
5621
- ]
5430
+ "name": "getColumnDefs"
5622
5431
  },
5623
5432
  {
5624
5433
  "kind": "method",
5625
- "name": "searchChanged",
5626
- "parameters": [
5627
- {
5628
- "name": "event",
5629
- "type": {
5630
- "text": "CustomEvent<Array<SelectedOption>>"
5631
- }
5632
- }
5633
- ]
5434
+ "name": "getGridOptions"
5634
5435
  },
5635
5436
  {
5636
5437
  "kind": "method",
5637
- "name": "openCloneReportConfigModal",
5438
+ "name": "downloadReport",
5439
+ "privacy": "private",
5638
5440
  "parameters": [
5639
5441
  {
5640
- "name": "e"
5442
+ "name": "fileStorageId",
5443
+ "type": {
5444
+ "text": "string"
5445
+ }
5641
5446
  }
5642
5447
  ]
5643
5448
  },
5644
5449
  {
5645
5450
  "kind": "method",
5646
- "name": "importConfigHandler"
5647
- },
5648
- {
5649
- "kind": "method",
5650
- "name": "handleFileImport",
5451
+ "name": "deleteReport",
5452
+ "privacy": "private",
5651
5453
  "parameters": [
5652
5454
  {
5653
- "name": "event",
5654
- "type": {
5655
- "text": "Event"
5656
- }
5455
+ "name": "generatedReportId"
5657
5456
  }
5658
5457
  ]
5659
5458
  },
5660
5459
  {
5661
5460
  "kind": "method",
5662
- "name": "exportConfig",
5461
+ "name": "searchChanged",
5663
5462
  "parameters": [
5664
5463
  {
5665
- "name": "{ NAME, ID }",
5464
+ "name": "event",
5666
5465
  "type": {
5667
- "text": "{ NAME: string; ID: string }"
5466
+ "text": "CustomEvent<Array<SelectedOption>>"
5668
5467
  }
5669
5468
  }
5670
5469
  ]
5671
5470
  }
5672
5471
  ],
5673
- "events": [
5472
+ "superclass": {
5473
+ "name": "GenesisElement",
5474
+ "package": "@genesislcap/web-core"
5475
+ },
5476
+ "tagName": "generated-reports",
5477
+ "customElement": true
5478
+ }
5479
+ ],
5480
+ "exports": [
5481
+ {
5482
+ "kind": "js",
5483
+ "name": "GeneratedReports",
5484
+ "declaration": {
5485
+ "name": "GeneratedReports",
5486
+ "module": "src/new/main/generated-reports/generated-reports.ts"
5487
+ }
5488
+ },
5489
+ {
5490
+ "kind": "custom-element-definition",
5491
+ "name": "generated-reports",
5492
+ "declaration": {
5493
+ "name": "GeneratedReports",
5494
+ "module": "src/new/main/generated-reports/generated-reports.ts"
5495
+ }
5496
+ }
5497
+ ]
5498
+ },
5499
+ {
5500
+ "kind": "javascript-module",
5501
+ "path": "src/new/main/report-destinations/report-destinations.template.ts",
5502
+ "declarations": [
5503
+ {
5504
+ "kind": "variable",
5505
+ "name": "template",
5506
+ "default": "html<ReportDestinations>`\n ${(x) => permissionTemplateGuard(x, Permissions.ReportDestinationView, viewTemplate)}\n`"
5507
+ }
5508
+ ],
5509
+ "exports": [
5510
+ {
5511
+ "kind": "js",
5512
+ "name": "template",
5513
+ "declaration": {
5514
+ "name": "template",
5515
+ "module": "src/new/main/report-destinations/report-destinations.template.ts"
5516
+ }
5517
+ }
5518
+ ]
5519
+ },
5520
+ {
5521
+ "kind": "javascript-module",
5522
+ "path": "src/new/main/report-destinations/report-destinations.ts",
5523
+ "declarations": [
5524
+ {
5525
+ "kind": "class",
5526
+ "description": "",
5527
+ "name": "ReportDestinations",
5528
+ "members": [
5674
5529
  {
5675
- "description": "Fired to switch the report configuration display mode. detail: `'edit' | 'list'`",
5676
- "name": "set-report-config-disp-mode"
5530
+ "kind": "field",
5531
+ "name": "connect",
5532
+ "type": {
5533
+ "text": "Connect"
5534
+ },
5535
+ "privacy": "private"
5677
5536
  },
5678
5537
  {
5679
- "name": "highlight-grid-row"
5680
- }
5681
- ],
5682
- "mixins": [
5538
+ "kind": "field",
5539
+ "name": "topics",
5540
+ "type": {
5541
+ "text": "string[]"
5542
+ },
5543
+ "default": "[]"
5544
+ },
5683
5545
  {
5684
- "name": "EventEmitter",
5685
- "package": "@genesislcap/foundation-events"
5546
+ "kind": "field",
5547
+ "name": "user",
5548
+ "type": {
5549
+ "text": "User"
5550
+ }
5551
+ },
5552
+ {
5553
+ "kind": "field",
5554
+ "name": "getUISchema",
5555
+ "type": {
5556
+ "text": "UiSchema"
5557
+ },
5558
+ "readonly": true
5559
+ },
5560
+ {
5561
+ "kind": "method",
5562
+ "name": "setNotifyRouteTopics",
5563
+ "privacy": "public"
5686
5564
  }
5687
5565
  ],
5688
5566
  "superclass": {
5689
5567
  "name": "GenesisElement",
5690
5568
  "package": "@genesislcap/web-core"
5691
5569
  },
5692
- "tagName": "reporting-configurations",
5570
+ "tagName": "report-destinations",
5693
5571
  "customElement": true
5694
5572
  }
5695
5573
  ],
5696
5574
  "exports": [
5697
5575
  {
5698
5576
  "kind": "js",
5699
- "name": "ReportingConfigurations",
5577
+ "name": "ReportDestinations",
5700
5578
  "declaration": {
5701
- "name": "ReportingConfigurations",
5702
- "module": "src/new/components/reporting-configurations/reporting-configurations.ts"
5579
+ "name": "ReportDestinations",
5580
+ "module": "src/new/main/report-destinations/report-destinations.ts"
5703
5581
  }
5704
5582
  },
5705
5583
  {
5706
5584
  "kind": "custom-element-definition",
5707
- "name": "reporting-configurations",
5585
+ "name": "report-destinations",
5708
5586
  "declaration": {
5709
- "name": "ReportingConfigurations",
5710
- "module": "src/new/components/reporting-configurations/reporting-configurations.ts"
5587
+ "name": "ReportDestinations",
5588
+ "module": "src/new/main/report-destinations/report-destinations.ts"
5711
5589
  }
5712
5590
  }
5713
5591
  ]
5714
5592
  },
5715
5593
  {
5716
5594
  "kind": "javascript-module",
5717
- "path": "src/new/components/shared/file-template-picker.template.ts",
5595
+ "path": "src/new/store/slices/base-config.ts",
5718
5596
  "declarations": [
5719
5597
  {
5720
5598
  "kind": "variable",
5721
- "name": "NULL_TEMPLATE",
5599
+ "name": "baseSlice"
5600
+ }
5601
+ ],
5602
+ "exports": [
5603
+ {
5604
+ "kind": "js",
5605
+ "name": "baseSlice",
5606
+ "declaration": {
5607
+ "name": "baseSlice",
5608
+ "module": "src/new/store/slices/base-config.ts"
5609
+ }
5610
+ }
5611
+ ]
5612
+ },
5613
+ {
5614
+ "kind": "javascript-module",
5615
+ "path": "src/new/store/slices/datasources-config.ts",
5616
+ "declarations": [
5617
+ {
5618
+ "kind": "variable",
5619
+ "name": "initialState",
5722
5620
  "type": {
5723
- "text": "string"
5621
+ "text": "DatasourceConfig"
5724
5622
  },
5725
- "default": "'Select a template'"
5623
+ "default": "{}"
5726
5624
  },
5727
5625
  {
5728
5626
  "kind": "variable",
5729
- "name": "allowedTemplateFiletypes",
5627
+ "name": "datasourceSlice"
5628
+ }
5629
+ ],
5630
+ "exports": [
5631
+ {
5632
+ "kind": "js",
5633
+ "name": "initialState",
5634
+ "declaration": {
5635
+ "name": "initialState",
5636
+ "module": "src/new/store/slices/datasources-config.ts"
5637
+ }
5638
+ },
5639
+ {
5640
+ "kind": "js",
5641
+ "name": "datasourceSlice",
5642
+ "declaration": {
5643
+ "name": "datasourceSlice",
5644
+ "module": "src/new/store/slices/datasources-config.ts"
5645
+ }
5646
+ }
5647
+ ]
5648
+ },
5649
+ {
5650
+ "kind": "javascript-module",
5651
+ "path": "src/new/store/slices/index.ts",
5652
+ "declarations": [],
5653
+ "exports": [
5654
+ {
5655
+ "kind": "js",
5656
+ "name": "*",
5657
+ "declaration": {
5658
+ "name": "*",
5659
+ "package": "./base-config"
5660
+ }
5661
+ },
5662
+ {
5663
+ "kind": "js",
5664
+ "name": "*",
5665
+ "declaration": {
5666
+ "name": "*",
5667
+ "package": "./datasources-config"
5668
+ }
5669
+ },
5670
+ {
5671
+ "kind": "js",
5672
+ "name": "*",
5673
+ "declaration": {
5674
+ "name": "*",
5675
+ "package": "./types"
5676
+ }
5677
+ }
5678
+ ]
5679
+ },
5680
+ {
5681
+ "kind": "javascript-module",
5682
+ "path": "src/new/store/slices/types.ts",
5683
+ "declarations": [
5684
+ {
5685
+ "kind": "variable",
5686
+ "name": "deselectedColumns",
5730
5687
  "type": {
5731
- "text": "Record<ReportOutputTypes, string[]>"
5688
+ "text": "array"
5732
5689
  },
5733
- "default": "{\n CSV: ['csv', 'txt'],\n PDF: ['html', 'xhtml'],\n XLSX: ['xls', 'xlsx'],\n}"
5690
+ "default": "['RECORD_ID', 'TIMESTAMP']"
5734
5691
  },
5735
5692
  {
5736
5693
  "kind": "variable",
5737
- "name": "fileTemplatePicker",
5738
- "default": "html<BaseConfig | CloneReportConfigModal>`\n <label class=\"label\">File template${tooltip(TOOLTIP.SETUP_FILE_TEMPLATE)}</label>\n ${repeat(\n (x) => (x.allowedTemplates?.length > 0 ? [x] : []),\n html<BaseConfig | CloneReportConfigModal>`\n <rapid-select\n data-test-id=\"config-document-template\"\n :value=${(x) => x.selectedTemplateId || NULL_TEMPLATE}\n @change=${(x, ctx) => x.handleTemplateSelectChange(ctx.event.target as HTMLSelectElement)}\n >\n <rapid-option value=${() => NULL_TEMPLATE}>${NULL_TEMPLATE}</rapid-option>\n ${repeat(\n (x) => x.allowedTemplates,\n html<Genesis.FileStorageDataRow>`\n <rapid-option value=\"${(x) => x[Genesis.FileStorageFields.FILE_STORAGE_ID]}\">\n ${(x) => x[Genesis.FileStorageFields.FILE_NAME]}\n </rapid-option>\n `,\n )}\n </rapid-select>\n `,\n { recycle: false },\n )}\n ${when(\n (x) => !x.allowedTemplates || x.allowedTemplates.length === 0,\n html`\n No valid templates available for this output format.\n `,\n )}\n`"
5694
+ "name": "datasourceInputs",
5695
+ "type": {
5696
+ "text": "['REQ_REP', 'DATA_PIPELINE']"
5697
+ },
5698
+ "default": "['REQ_REP', 'DATA_PIPELINE']"
5699
+ },
5700
+ {
5701
+ "kind": "variable",
5702
+ "name": "datasourceOutputs",
5703
+ "type": {
5704
+ "text": "[\n // 'RECORD_STREAM',\n 'TABLE',\n]"
5705
+ },
5706
+ "default": "[\n // 'RECORD_STREAM',\n 'TABLE',\n]"
5707
+ },
5708
+ {
5709
+ "kind": "variable",
5710
+ "name": "datasourceGroupingStrategies",
5711
+ "type": {
5712
+ "text": "['NONE', 'MULTI_SHEET', 'LOOKUP_TABLE']"
5713
+ },
5714
+ "default": "['NONE', 'MULTI_SHEET', 'LOOKUP_TABLE']"
5715
+ },
5716
+ {
5717
+ "kind": "variable",
5718
+ "name": "reportOutputFormats",
5719
+ "type": {
5720
+ "text": "['CSV', 'PDF', 'XLSX']"
5721
+ },
5722
+ "default": "['CSV', 'PDF', 'XLSX']"
5739
5723
  }
5740
5724
  ],
5741
5725
  "exports": [
5742
5726
  {
5743
5727
  "kind": "js",
5744
- "name": "NULL_TEMPLATE",
5728
+ "name": "deselectedColumns",
5745
5729
  "declaration": {
5746
- "name": "NULL_TEMPLATE",
5747
- "module": "src/new/components/shared/file-template-picker.template.ts"
5730
+ "name": "deselectedColumns",
5731
+ "module": "src/new/store/slices/types.ts"
5748
5732
  }
5749
5733
  },
5750
5734
  {
5751
5735
  "kind": "js",
5752
- "name": "allowedTemplateFiletypes",
5736
+ "name": "datasourceInputs",
5753
5737
  "declaration": {
5754
- "name": "allowedTemplateFiletypes",
5755
- "module": "src/new/components/shared/file-template-picker.template.ts"
5738
+ "name": "datasourceInputs",
5739
+ "module": "src/new/store/slices/types.ts"
5756
5740
  }
5757
5741
  },
5758
5742
  {
5759
5743
  "kind": "js",
5760
- "name": "fileTemplatePicker",
5744
+ "name": "datasourceOutputs",
5761
5745
  "declaration": {
5762
- "name": "fileTemplatePicker",
5763
- "module": "src/new/components/shared/file-template-picker.template.ts"
5746
+ "name": "datasourceOutputs",
5747
+ "module": "src/new/store/slices/types.ts"
5748
+ }
5749
+ },
5750
+ {
5751
+ "kind": "js",
5752
+ "name": "datasourceGroupingStrategies",
5753
+ "declaration": {
5754
+ "name": "datasourceGroupingStrategies",
5755
+ "module": "src/new/store/slices/types.ts"
5756
+ }
5757
+ },
5758
+ {
5759
+ "kind": "js",
5760
+ "name": "reportOutputFormats",
5761
+ "declaration": {
5762
+ "name": "reportOutputFormats",
5763
+ "module": "src/new/store/slices/types.ts"
5764
5764
  }
5765
5765
  }
5766
5766
  ]