@genesislcap/pbc-reporting-ui 15.6.2 → 15.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +674 -674
- package/dist/dts/react.d.ts +27 -27
- package/dist/react.cjs +30 -30
- package/dist/react.mjs +27 -27
- package/package.json +22 -22
|
@@ -130,27 +130,6 @@
|
|
|
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
|
-
},
|
|
154
133
|
{
|
|
155
134
|
"kind": "javascript-module",
|
|
156
135
|
"path": "src/new/main/index.ts",
|
|
@@ -976,6 +955,27 @@
|
|
|
976
955
|
}
|
|
977
956
|
]
|
|
978
957
|
},
|
|
958
|
+
{
|
|
959
|
+
"kind": "javascript-module",
|
|
960
|
+
"path": "src/new/components/components.ts",
|
|
961
|
+
"declarations": [
|
|
962
|
+
{
|
|
963
|
+
"kind": "function",
|
|
964
|
+
"name": "registerCommonRapidComponents",
|
|
965
|
+
"privacy": "public"
|
|
966
|
+
}
|
|
967
|
+
],
|
|
968
|
+
"exports": [
|
|
969
|
+
{
|
|
970
|
+
"kind": "js",
|
|
971
|
+
"name": "registerCommonRapidComponents",
|
|
972
|
+
"declaration": {
|
|
973
|
+
"name": "registerCommonRapidComponents",
|
|
974
|
+
"module": "src/new/components/components.ts"
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
]
|
|
978
|
+
},
|
|
979
979
|
{
|
|
980
980
|
"kind": "javascript-module",
|
|
981
981
|
"path": "src/new/store/index.ts",
|
|
@@ -4397,54 +4397,163 @@
|
|
|
4397
4397
|
},
|
|
4398
4398
|
{
|
|
4399
4399
|
"kind": "javascript-module",
|
|
4400
|
-
"path": "src/new/
|
|
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",
|
|
4401
4510
|
"declarations": [
|
|
4402
4511
|
{
|
|
4403
4512
|
"kind": "variable",
|
|
4404
|
-
"name": "
|
|
4405
|
-
"default": "css`\n :host {\n
|
|
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`"
|
|
4406
4515
|
}
|
|
4407
4516
|
],
|
|
4408
4517
|
"exports": [
|
|
4409
4518
|
{
|
|
4410
4519
|
"kind": "js",
|
|
4411
|
-
"name": "
|
|
4520
|
+
"name": "styles",
|
|
4412
4521
|
"declaration": {
|
|
4413
|
-
"name": "
|
|
4414
|
-
"module": "src/new/
|
|
4522
|
+
"name": "styles",
|
|
4523
|
+
"module": "src/new/main/edit-config/config-journey-orchestrator.styles.ts"
|
|
4415
4524
|
}
|
|
4416
4525
|
}
|
|
4417
4526
|
]
|
|
4418
4527
|
},
|
|
4419
4528
|
{
|
|
4420
4529
|
"kind": "javascript-module",
|
|
4421
|
-
"path": "src/new/
|
|
4530
|
+
"path": "src/new/main/edit-config/config-journey-orchestrator.template.ts",
|
|
4422
4531
|
"declarations": [
|
|
4423
4532
|
{
|
|
4424
4533
|
"kind": "variable",
|
|
4425
|
-
"name": "
|
|
4426
|
-
"default": "html<
|
|
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`"
|
|
4427
4536
|
}
|
|
4428
4537
|
],
|
|
4429
4538
|
"exports": [
|
|
4430
4539
|
{
|
|
4431
4540
|
"kind": "js",
|
|
4432
|
-
"name": "
|
|
4541
|
+
"name": "template",
|
|
4433
4542
|
"declaration": {
|
|
4434
|
-
"name": "
|
|
4435
|
-
"module": "src/new/
|
|
4543
|
+
"name": "template",
|
|
4544
|
+
"module": "src/new/main/edit-config/config-journey-orchestrator.template.ts"
|
|
4436
4545
|
}
|
|
4437
4546
|
}
|
|
4438
4547
|
]
|
|
4439
4548
|
},
|
|
4440
4549
|
{
|
|
4441
4550
|
"kind": "javascript-module",
|
|
4442
|
-
"path": "src/new/
|
|
4551
|
+
"path": "src/new/main/edit-config/config-journey-orchestrator.ts",
|
|
4443
4552
|
"declarations": [
|
|
4444
4553
|
{
|
|
4445
4554
|
"kind": "class",
|
|
4446
|
-
"description": "",
|
|
4447
|
-
"name": "
|
|
4555
|
+
"description": "Orchestrates validate/save/discard for report config editing.",
|
|
4556
|
+
"name": "ConfigJourneyOrchestrator",
|
|
4448
4557
|
"members": [
|
|
4449
4558
|
{
|
|
4450
4559
|
"kind": "field",
|
|
@@ -4455,184 +4564,232 @@
|
|
|
4455
4564
|
},
|
|
4456
4565
|
{
|
|
4457
4566
|
"kind": "field",
|
|
4458
|
-
"name": "
|
|
4459
|
-
"type": {
|
|
4460
|
-
"text": "Modal"
|
|
4461
|
-
}
|
|
4462
|
-
},
|
|
4463
|
-
{
|
|
4464
|
-
"kind": "field",
|
|
4465
|
-
"name": "reportConfigDetails",
|
|
4567
|
+
"name": "user",
|
|
4466
4568
|
"type": {
|
|
4467
|
-
"text": "
|
|
4569
|
+
"text": "User"
|
|
4468
4570
|
}
|
|
4469
4571
|
},
|
|
4470
4572
|
{
|
|
4471
4573
|
"kind": "field",
|
|
4472
|
-
"name": "
|
|
4473
|
-
"
|
|
4474
|
-
"text": "string"
|
|
4475
|
-
},
|
|
4476
|
-
"default": "''"
|
|
4477
|
-
},
|
|
4478
|
-
{
|
|
4479
|
-
"kind": "field",
|
|
4480
|
-
"name": "fileName",
|
|
4481
|
-
"type": {
|
|
4482
|
-
"text": "string"
|
|
4483
|
-
},
|
|
4484
|
-
"default": "''"
|
|
4574
|
+
"name": "validateConfig",
|
|
4575
|
+
"privacy": "private"
|
|
4485
4576
|
},
|
|
4486
4577
|
{
|
|
4487
|
-
"kind": "
|
|
4488
|
-
"name": "
|
|
4489
|
-
"type": {
|
|
4490
|
-
"text": "Array<Genesis.FileStorageDataRow>"
|
|
4491
|
-
},
|
|
4492
|
-
"default": "[]"
|
|
4578
|
+
"kind": "method",
|
|
4579
|
+
"name": "showListViewHandler"
|
|
4493
4580
|
},
|
|
4494
4581
|
{
|
|
4495
|
-
"kind": "
|
|
4496
|
-
"name": "
|
|
4497
|
-
"type": {
|
|
4498
|
-
"text": "Array<Genesis.FileStorageDataRow>"
|
|
4499
|
-
},
|
|
4500
|
-
"default": "[]"
|
|
4582
|
+
"kind": "method",
|
|
4583
|
+
"name": "validateProjectSetup"
|
|
4501
4584
|
},
|
|
4502
4585
|
{
|
|
4503
|
-
"kind": "
|
|
4504
|
-
"name": "
|
|
4505
|
-
"type": {
|
|
4506
|
-
"text": "string"
|
|
4507
|
-
},
|
|
4508
|
-
"default": "''"
|
|
4586
|
+
"kind": "method",
|
|
4587
|
+
"name": "validateDatasource"
|
|
4509
4588
|
},
|
|
4510
4589
|
{
|
|
4511
|
-
"kind": "
|
|
4512
|
-
"name": "
|
|
4513
|
-
"type": {
|
|
4514
|
-
"text": "boolean"
|
|
4515
|
-
},
|
|
4516
|
-
"default": "false"
|
|
4590
|
+
"kind": "method",
|
|
4591
|
+
"name": "saveConfigHandler"
|
|
4517
4592
|
},
|
|
4518
4593
|
{
|
|
4519
4594
|
"kind": "method",
|
|
4520
|
-
"name": "
|
|
4595
|
+
"name": "displayError",
|
|
4596
|
+
"privacy": "private",
|
|
4521
4597
|
"parameters": [
|
|
4522
4598
|
{
|
|
4523
|
-
"name": "
|
|
4599
|
+
"name": "e",
|
|
4524
4600
|
"type": {
|
|
4525
|
-
"text": "
|
|
4601
|
+
"text": "Error"
|
|
4526
4602
|
}
|
|
4603
|
+
},
|
|
4604
|
+
{
|
|
4605
|
+
"name": "expose",
|
|
4606
|
+
"default": "false"
|
|
4527
4607
|
}
|
|
4528
4608
|
]
|
|
4529
|
-
}
|
|
4609
|
+
}
|
|
4610
|
+
],
|
|
4611
|
+
"events": [
|
|
4530
4612
|
{
|
|
4531
|
-
"
|
|
4532
|
-
"name": "
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
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
|
+
}
|
|
4541
4707
|
},
|
|
4542
4708
|
{
|
|
4543
|
-
"kind": "
|
|
4544
|
-
"name": "
|
|
4545
|
-
"
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
"type": {
|
|
4549
|
-
"text": "Genesis.ServerReportConfig"
|
|
4550
|
-
}
|
|
4551
|
-
}
|
|
4552
|
-
]
|
|
4709
|
+
"kind": "field",
|
|
4710
|
+
"name": "generatedReportsDatasource",
|
|
4711
|
+
"type": {
|
|
4712
|
+
"text": "GridProGenesisDatasource"
|
|
4713
|
+
}
|
|
4553
4714
|
},
|
|
4554
4715
|
{
|
|
4555
|
-
"kind": "
|
|
4556
|
-
"name": "
|
|
4716
|
+
"kind": "field",
|
|
4717
|
+
"name": "generatedReportId",
|
|
4718
|
+
"type": {
|
|
4719
|
+
"text": "string | null"
|
|
4720
|
+
}
|
|
4557
4721
|
},
|
|
4558
4722
|
{
|
|
4559
|
-
"kind": "
|
|
4560
|
-
"name": "
|
|
4561
|
-
"
|
|
4562
|
-
"
|
|
4563
|
-
|
|
4564
|
-
|
|
4723
|
+
"kind": "field",
|
|
4724
|
+
"name": "gridCriteria",
|
|
4725
|
+
"type": {
|
|
4726
|
+
"text": "string"
|
|
4727
|
+
},
|
|
4728
|
+
"default": "''"
|
|
4729
|
+
},
|
|
4730
|
+
{
|
|
4731
|
+
"kind": "field",
|
|
4732
|
+
"name": "user",
|
|
4733
|
+
"type": {
|
|
4734
|
+
"text": "User"
|
|
4565
4735
|
}
|
|
4566
4736
|
},
|
|
4567
4737
|
{
|
|
4568
|
-
"kind": "
|
|
4569
|
-
"name": "
|
|
4570
|
-
"
|
|
4571
|
-
"
|
|
4572
|
-
"text": "Array<Genesis.FileStorageDataRow>"
|
|
4573
|
-
}
|
|
4738
|
+
"kind": "field",
|
|
4739
|
+
"name": "searchBarConfig",
|
|
4740
|
+
"type": {
|
|
4741
|
+
"text": "array"
|
|
4574
4742
|
},
|
|
4575
|
-
"
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
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"
|
|
4583
4753
|
},
|
|
4584
4754
|
{
|
|
4585
4755
|
"kind": "method",
|
|
4586
|
-
"name": "
|
|
4587
|
-
"parameters": [
|
|
4588
|
-
{
|
|
4589
|
-
"name": "selectInput",
|
|
4590
|
-
"type": {
|
|
4591
|
-
"text": "HTMLSelectElement"
|
|
4592
|
-
}
|
|
4593
|
-
}
|
|
4594
|
-
]
|
|
4756
|
+
"name": "getColumnDefs"
|
|
4595
4757
|
},
|
|
4596
4758
|
{
|
|
4597
4759
|
"kind": "method",
|
|
4598
|
-
"name": "
|
|
4760
|
+
"name": "getGridOptions"
|
|
4599
4761
|
},
|
|
4600
4762
|
{
|
|
4601
4763
|
"kind": "method",
|
|
4602
|
-
"name": "
|
|
4764
|
+
"name": "downloadReport",
|
|
4603
4765
|
"privacy": "private",
|
|
4604
|
-
"return": {
|
|
4605
|
-
"type": {
|
|
4606
|
-
"text": "Partial<T>"
|
|
4607
|
-
}
|
|
4608
|
-
},
|
|
4609
4766
|
"parameters": [
|
|
4610
4767
|
{
|
|
4611
|
-
"name": "
|
|
4612
|
-
"type": {
|
|
4613
|
-
"text": "T"
|
|
4614
|
-
}
|
|
4615
|
-
},
|
|
4616
|
-
{
|
|
4617
|
-
"name": "excludedFields",
|
|
4768
|
+
"name": "fileStorageId",
|
|
4618
4769
|
"type": {
|
|
4619
|
-
"text": "
|
|
4770
|
+
"text": "string"
|
|
4620
4771
|
}
|
|
4621
4772
|
}
|
|
4622
4773
|
]
|
|
4623
4774
|
},
|
|
4624
4775
|
{
|
|
4625
4776
|
"kind": "method",
|
|
4626
|
-
"name": "
|
|
4777
|
+
"name": "deleteReport",
|
|
4778
|
+
"privacy": "private",
|
|
4779
|
+
"parameters": [
|
|
4780
|
+
{
|
|
4781
|
+
"name": "generatedReportId"
|
|
4782
|
+
}
|
|
4783
|
+
]
|
|
4627
4784
|
},
|
|
4628
4785
|
{
|
|
4629
4786
|
"kind": "method",
|
|
4630
|
-
"name": "
|
|
4787
|
+
"name": "searchChanged",
|
|
4631
4788
|
"parameters": [
|
|
4632
4789
|
{
|
|
4633
|
-
"name": "
|
|
4790
|
+
"name": "event",
|
|
4634
4791
|
"type": {
|
|
4635
|
-
"text": "
|
|
4792
|
+
"text": "CustomEvent<Array<SelectedOption>>"
|
|
4636
4793
|
}
|
|
4637
4794
|
}
|
|
4638
4795
|
]
|
|
@@ -4642,105 +4799,93 @@
|
|
|
4642
4799
|
"name": "GenesisElement",
|
|
4643
4800
|
"package": "@genesislcap/web-core"
|
|
4644
4801
|
},
|
|
4645
|
-
"tagName": "
|
|
4802
|
+
"tagName": "generated-reports",
|
|
4646
4803
|
"customElement": true
|
|
4647
4804
|
}
|
|
4648
4805
|
],
|
|
4649
4806
|
"exports": [
|
|
4650
4807
|
{
|
|
4651
4808
|
"kind": "js",
|
|
4652
|
-
"name": "
|
|
4809
|
+
"name": "GeneratedReports",
|
|
4653
4810
|
"declaration": {
|
|
4654
|
-
"name": "
|
|
4655
|
-
"module": "src/new/
|
|
4811
|
+
"name": "GeneratedReports",
|
|
4812
|
+
"module": "src/new/main/generated-reports/generated-reports.ts"
|
|
4656
4813
|
}
|
|
4657
4814
|
},
|
|
4658
4815
|
{
|
|
4659
4816
|
"kind": "custom-element-definition",
|
|
4660
|
-
"name": "
|
|
4817
|
+
"name": "generated-reports",
|
|
4661
4818
|
"declaration": {
|
|
4662
|
-
"name": "
|
|
4663
|
-
"module": "src/new/
|
|
4819
|
+
"name": "GeneratedReports",
|
|
4820
|
+
"module": "src/new/main/generated-reports/generated-reports.ts"
|
|
4664
4821
|
}
|
|
4665
4822
|
}
|
|
4666
4823
|
]
|
|
4667
4824
|
},
|
|
4668
4825
|
{
|
|
4669
4826
|
"kind": "javascript-module",
|
|
4670
|
-
"path": "src/new/
|
|
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",
|
|
4839
|
+
"declaration": {
|
|
4840
|
+
"name": "template",
|
|
4841
|
+
"module": "src/new/main/report-destinations/report-destinations.template.ts"
|
|
4842
|
+
}
|
|
4843
|
+
}
|
|
4844
|
+
]
|
|
4845
|
+
},
|
|
4846
|
+
{
|
|
4847
|
+
"kind": "javascript-module",
|
|
4848
|
+
"path": "src/new/main/report-destinations/report-destinations.ts",
|
|
4671
4849
|
"declarations": [
|
|
4672
4850
|
{
|
|
4673
4851
|
"kind": "class",
|
|
4674
4852
|
"description": "",
|
|
4675
|
-
"name": "
|
|
4853
|
+
"name": "ReportDestinations",
|
|
4676
4854
|
"members": [
|
|
4677
4855
|
{
|
|
4678
4856
|
"kind": "field",
|
|
4679
|
-
"name": "
|
|
4857
|
+
"name": "connect",
|
|
4680
4858
|
"type": {
|
|
4681
|
-
"text": "
|
|
4859
|
+
"text": "Connect"
|
|
4682
4860
|
},
|
|
4683
|
-
"privacy": "
|
|
4861
|
+
"privacy": "private"
|
|
4684
4862
|
},
|
|
4685
4863
|
{
|
|
4686
4864
|
"kind": "field",
|
|
4687
|
-
"name": "
|
|
4865
|
+
"name": "topics",
|
|
4688
4866
|
"type": {
|
|
4689
|
-
"text": "
|
|
4867
|
+
"text": "string[]"
|
|
4690
4868
|
},
|
|
4691
|
-
"
|
|
4869
|
+
"default": "[]"
|
|
4692
4870
|
},
|
|
4693
4871
|
{
|
|
4694
4872
|
"kind": "field",
|
|
4695
|
-
"name": "
|
|
4873
|
+
"name": "user",
|
|
4696
4874
|
"type": {
|
|
4697
|
-
"text": "
|
|
4698
|
-
}
|
|
4699
|
-
},
|
|
4700
|
-
{
|
|
4701
|
-
"kind": "method",
|
|
4702
|
-
"name": "init",
|
|
4703
|
-
"privacy": "public",
|
|
4704
|
-
"parameters": [
|
|
4705
|
-
{
|
|
4706
|
-
"name": "params",
|
|
4707
|
-
"type": {
|
|
4708
|
-
"text": "DataTransformRendererParams"
|
|
4709
|
-
}
|
|
4710
|
-
}
|
|
4711
|
-
]
|
|
4712
|
-
},
|
|
4713
|
-
{
|
|
4714
|
-
"kind": "method",
|
|
4715
|
-
"name": "getGui",
|
|
4716
|
-
"privacy": "public",
|
|
4717
|
-
"return": {
|
|
4718
|
-
"type": {
|
|
4719
|
-
"text": "HTMLElement"
|
|
4720
|
-
}
|
|
4875
|
+
"text": "User"
|
|
4721
4876
|
}
|
|
4722
4877
|
},
|
|
4723
4878
|
{
|
|
4724
|
-
"kind": "
|
|
4725
|
-
"name": "
|
|
4726
|
-
"
|
|
4727
|
-
|
|
4728
|
-
"type": {
|
|
4729
|
-
"text": "boolean"
|
|
4730
|
-
}
|
|
4879
|
+
"kind": "field",
|
|
4880
|
+
"name": "getUISchema",
|
|
4881
|
+
"type": {
|
|
4882
|
+
"text": "UiSchema"
|
|
4731
4883
|
},
|
|
4732
|
-
"
|
|
4733
|
-
{
|
|
4734
|
-
"name": "params",
|
|
4735
|
-
"type": {
|
|
4736
|
-
"text": "DataTransformRendererParams"
|
|
4737
|
-
}
|
|
4738
|
-
}
|
|
4739
|
-
]
|
|
4884
|
+
"readonly": true
|
|
4740
4885
|
},
|
|
4741
4886
|
{
|
|
4742
|
-
"kind": "
|
|
4743
|
-
"name": "
|
|
4887
|
+
"kind": "method",
|
|
4888
|
+
"name": "setNotifyRouteTopics",
|
|
4744
4889
|
"privacy": "public"
|
|
4745
4890
|
}
|
|
4746
4891
|
],
|
|
@@ -4748,79 +4893,79 @@
|
|
|
4748
4893
|
"name": "GenesisElement",
|
|
4749
4894
|
"package": "@genesislcap/web-core"
|
|
4750
4895
|
},
|
|
4751
|
-
"tagName": "
|
|
4896
|
+
"tagName": "report-destinations",
|
|
4752
4897
|
"customElement": true
|
|
4753
4898
|
}
|
|
4754
4899
|
],
|
|
4755
4900
|
"exports": [
|
|
4756
4901
|
{
|
|
4757
4902
|
"kind": "js",
|
|
4758
|
-
"name": "
|
|
4903
|
+
"name": "ReportDestinations",
|
|
4759
4904
|
"declaration": {
|
|
4760
|
-
"name": "
|
|
4761
|
-
"module": "src/new/
|
|
4905
|
+
"name": "ReportDestinations",
|
|
4906
|
+
"module": "src/new/main/report-destinations/report-destinations.ts"
|
|
4762
4907
|
}
|
|
4763
4908
|
},
|
|
4764
4909
|
{
|
|
4765
4910
|
"kind": "custom-element-definition",
|
|
4766
|
-
"name": "
|
|
4911
|
+
"name": "report-destinations",
|
|
4767
4912
|
"declaration": {
|
|
4768
|
-
"name": "
|
|
4769
|
-
"module": "src/new/
|
|
4913
|
+
"name": "ReportDestinations",
|
|
4914
|
+
"module": "src/new/main/report-destinations/report-destinations.ts"
|
|
4770
4915
|
}
|
|
4771
4916
|
}
|
|
4772
4917
|
]
|
|
4773
4918
|
},
|
|
4774
4919
|
{
|
|
4775
4920
|
"kind": "javascript-module",
|
|
4776
|
-
"path": "src/new/components/
|
|
4921
|
+
"path": "src/new/components/clone-report-config-modal/clone-report-config-modal.styles.ts",
|
|
4777
4922
|
"declarations": [
|
|
4778
4923
|
{
|
|
4779
4924
|
"kind": "variable",
|
|
4780
|
-
"name": "
|
|
4781
|
-
"default": "css`\n :host {\n display: flex;\n flex-direction: column;\n
|
|
4925
|
+
"name": "cloneReportConfigModalStyles",
|
|
4926
|
+
"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`"
|
|
4782
4927
|
}
|
|
4783
4928
|
],
|
|
4784
4929
|
"exports": [
|
|
4785
4930
|
{
|
|
4786
4931
|
"kind": "js",
|
|
4787
|
-
"name": "
|
|
4932
|
+
"name": "cloneReportConfigModalStyles",
|
|
4788
4933
|
"declaration": {
|
|
4789
|
-
"name": "
|
|
4790
|
-
"module": "src/new/components/
|
|
4934
|
+
"name": "cloneReportConfigModalStyles",
|
|
4935
|
+
"module": "src/new/components/clone-report-config-modal/clone-report-config-modal.styles.ts"
|
|
4791
4936
|
}
|
|
4792
4937
|
}
|
|
4793
4938
|
]
|
|
4794
4939
|
},
|
|
4795
4940
|
{
|
|
4796
4941
|
"kind": "javascript-module",
|
|
4797
|
-
"path": "src/new/components/
|
|
4942
|
+
"path": "src/new/components/clone-report-config-modal/clone-report-config-modal.template.ts",
|
|
4798
4943
|
"declarations": [
|
|
4799
4944
|
{
|
|
4800
4945
|
"kind": "variable",
|
|
4801
|
-
"name": "
|
|
4802
|
-
"default": "html<
|
|
4946
|
+
"name": "CloneReportConfigModalTemplate",
|
|
4947
|
+
"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`"
|
|
4803
4948
|
}
|
|
4804
4949
|
],
|
|
4805
4950
|
"exports": [
|
|
4806
4951
|
{
|
|
4807
4952
|
"kind": "js",
|
|
4808
|
-
"name": "
|
|
4953
|
+
"name": "CloneReportConfigModalTemplate",
|
|
4809
4954
|
"declaration": {
|
|
4810
|
-
"name": "
|
|
4811
|
-
"module": "src/new/components/
|
|
4955
|
+
"name": "CloneReportConfigModalTemplate",
|
|
4956
|
+
"module": "src/new/components/clone-report-config-modal/clone-report-config-modal.template.ts"
|
|
4812
4957
|
}
|
|
4813
4958
|
}
|
|
4814
4959
|
]
|
|
4815
4960
|
},
|
|
4816
4961
|
{
|
|
4817
4962
|
"kind": "javascript-module",
|
|
4818
|
-
"path": "src/new/components/
|
|
4963
|
+
"path": "src/new/components/clone-report-config-modal/clone-report-config-modal.ts",
|
|
4819
4964
|
"declarations": [
|
|
4820
4965
|
{
|
|
4821
4966
|
"kind": "class",
|
|
4822
|
-
"description": "
|
|
4823
|
-
"name": "
|
|
4967
|
+
"description": "",
|
|
4968
|
+
"name": "CloneReportConfigModal",
|
|
4824
4969
|
"members": [
|
|
4825
4970
|
{
|
|
4826
4971
|
"kind": "field",
|
|
@@ -4831,14 +4976,21 @@
|
|
|
4831
4976
|
},
|
|
4832
4977
|
{
|
|
4833
4978
|
"kind": "field",
|
|
4834
|
-
"name": "
|
|
4979
|
+
"name": "cloneReportConfigModal",
|
|
4835
4980
|
"type": {
|
|
4836
|
-
"text": "
|
|
4981
|
+
"text": "Modal"
|
|
4837
4982
|
}
|
|
4838
4983
|
},
|
|
4839
4984
|
{
|
|
4840
4985
|
"kind": "field",
|
|
4841
|
-
"name": "
|
|
4986
|
+
"name": "reportConfigDetails",
|
|
4987
|
+
"type": {
|
|
4988
|
+
"text": "Genesis.ServerReportConfig"
|
|
4989
|
+
}
|
|
4990
|
+
},
|
|
4991
|
+
{
|
|
4992
|
+
"kind": "field",
|
|
4993
|
+
"name": "reportName",
|
|
4842
4994
|
"type": {
|
|
4843
4995
|
"text": "string"
|
|
4844
4996
|
},
|
|
@@ -4846,531 +4998,350 @@
|
|
|
4846
4998
|
},
|
|
4847
4999
|
{
|
|
4848
5000
|
"kind": "field",
|
|
4849
|
-
"name": "
|
|
5001
|
+
"name": "fileName",
|
|
4850
5002
|
"type": {
|
|
4851
|
-
"text": "
|
|
4852
|
-
}
|
|
5003
|
+
"text": "string"
|
|
5004
|
+
},
|
|
5005
|
+
"default": "''"
|
|
4853
5006
|
},
|
|
4854
5007
|
{
|
|
4855
5008
|
"kind": "field",
|
|
4856
|
-
"name": "
|
|
5009
|
+
"name": "fileTemplates",
|
|
4857
5010
|
"type": {
|
|
4858
|
-
"text": "
|
|
4859
|
-
}
|
|
5011
|
+
"text": "Array<Genesis.FileStorageDataRow>"
|
|
5012
|
+
},
|
|
5013
|
+
"default": "[]"
|
|
4860
5014
|
},
|
|
4861
5015
|
{
|
|
4862
5016
|
"kind": "field",
|
|
4863
|
-
"name": "
|
|
5017
|
+
"name": "allowedTemplates",
|
|
4864
5018
|
"type": {
|
|
4865
|
-
"text": "
|
|
4866
|
-
}
|
|
5019
|
+
"text": "Array<Genesis.FileStorageDataRow>"
|
|
5020
|
+
},
|
|
5021
|
+
"default": "[]"
|
|
4867
5022
|
},
|
|
4868
5023
|
{
|
|
4869
5024
|
"kind": "field",
|
|
4870
|
-
"name": "
|
|
5025
|
+
"name": "selectedTemplateId",
|
|
4871
5026
|
"type": {
|
|
4872
|
-
"text": "
|
|
5027
|
+
"text": "string"
|
|
4873
5028
|
},
|
|
4874
|
-
"
|
|
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 ]"
|
|
5029
|
+
"default": "''"
|
|
4876
5030
|
},
|
|
4877
5031
|
{
|
|
4878
|
-
"kind": "
|
|
4879
|
-
"name": "
|
|
5032
|
+
"kind": "field",
|
|
5033
|
+
"name": "isImportMode",
|
|
5034
|
+
"type": {
|
|
5035
|
+
"text": "boolean"
|
|
5036
|
+
},
|
|
5037
|
+
"default": "false"
|
|
4880
5038
|
},
|
|
4881
5039
|
{
|
|
4882
5040
|
"kind": "method",
|
|
4883
|
-
"name": "
|
|
5041
|
+
"name": "getReportConfigDetails",
|
|
4884
5042
|
"parameters": [
|
|
4885
5043
|
{
|
|
4886
|
-
"name": "
|
|
5044
|
+
"name": "ID",
|
|
4887
5045
|
"type": {
|
|
4888
|
-
"text": "
|
|
5046
|
+
"text": "string"
|
|
4889
5047
|
}
|
|
4890
5048
|
}
|
|
4891
5049
|
]
|
|
4892
5050
|
},
|
|
4893
5051
|
{
|
|
4894
5052
|
"kind": "method",
|
|
4895
|
-
"name": "
|
|
4896
|
-
},
|
|
4897
|
-
{
|
|
4898
|
-
"kind": "method",
|
|
4899
|
-
"name": "getGridOptions"
|
|
4900
|
-
},
|
|
4901
|
-
{
|
|
4902
|
-
"kind": "method",
|
|
4903
|
-
"name": "deleteReportConfig",
|
|
4904
|
-
"privacy": "private",
|
|
5053
|
+
"name": "showReportConfigModal",
|
|
4905
5054
|
"parameters": [
|
|
4906
5055
|
{
|
|
4907
|
-
"name": "
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
5056
|
+
"name": "ID",
|
|
5057
|
+
"type": {
|
|
5058
|
+
"text": "string"
|
|
5059
|
+
}
|
|
4911
5060
|
}
|
|
4912
5061
|
]
|
|
4913
5062
|
},
|
|
4914
5063
|
{
|
|
4915
5064
|
"kind": "method",
|
|
4916
|
-
"name": "
|
|
4917
|
-
"privacy": "private",
|
|
5065
|
+
"name": "showImportModal",
|
|
4918
5066
|
"parameters": [
|
|
4919
5067
|
{
|
|
4920
|
-
"name": "
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
5068
|
+
"name": "config",
|
|
5069
|
+
"type": {
|
|
5070
|
+
"text": "Genesis.ServerReportConfig"
|
|
5071
|
+
}
|
|
4924
5072
|
}
|
|
4925
5073
|
]
|
|
4926
5074
|
},
|
|
4927
5075
|
{
|
|
4928
5076
|
"kind": "method",
|
|
4929
|
-
"name": "
|
|
5077
|
+
"name": "closeCloneReportConfigModal"
|
|
5078
|
+
},
|
|
5079
|
+
{
|
|
5080
|
+
"kind": "method",
|
|
5081
|
+
"name": "getFileTemplates",
|
|
5082
|
+
"return": {
|
|
5083
|
+
"type": {
|
|
5084
|
+
"text": "Promise<void>"
|
|
5085
|
+
}
|
|
5086
|
+
}
|
|
5087
|
+
},
|
|
5088
|
+
{
|
|
5089
|
+
"kind": "method",
|
|
5090
|
+
"name": "getAllowedTemplates",
|
|
5091
|
+
"return": {
|
|
5092
|
+
"type": {
|
|
5093
|
+
"text": "Array<Genesis.FileStorageDataRow>"
|
|
5094
|
+
}
|
|
5095
|
+
},
|
|
4930
5096
|
"parameters": [
|
|
4931
5097
|
{
|
|
4932
|
-
"name": "
|
|
5098
|
+
"name": "outputFormat",
|
|
4933
5099
|
"type": {
|
|
4934
|
-
"text": "
|
|
5100
|
+
"text": "string"
|
|
4935
5101
|
}
|
|
4936
5102
|
}
|
|
4937
5103
|
]
|
|
4938
5104
|
},
|
|
4939
5105
|
{
|
|
4940
5106
|
"kind": "method",
|
|
4941
|
-
"name": "
|
|
5107
|
+
"name": "handleTemplateSelectChange",
|
|
4942
5108
|
"parameters": [
|
|
4943
5109
|
{
|
|
4944
|
-
"name": "
|
|
5110
|
+
"name": "selectInput",
|
|
5111
|
+
"type": {
|
|
5112
|
+
"text": "HTMLSelectElement"
|
|
5113
|
+
}
|
|
4945
5114
|
}
|
|
4946
5115
|
]
|
|
4947
5116
|
},
|
|
4948
5117
|
{
|
|
4949
5118
|
"kind": "method",
|
|
4950
|
-
"name": "
|
|
5119
|
+
"name": "discardChanges"
|
|
4951
5120
|
},
|
|
4952
5121
|
{
|
|
4953
5122
|
"kind": "method",
|
|
4954
|
-
"name": "
|
|
5123
|
+
"name": "filterFields",
|
|
5124
|
+
"privacy": "private",
|
|
5125
|
+
"return": {
|
|
5126
|
+
"type": {
|
|
5127
|
+
"text": "Partial<T>"
|
|
5128
|
+
}
|
|
5129
|
+
},
|
|
4955
5130
|
"parameters": [
|
|
4956
5131
|
{
|
|
4957
|
-
"name": "
|
|
5132
|
+
"name": "obj",
|
|
4958
5133
|
"type": {
|
|
4959
|
-
"text": "
|
|
5134
|
+
"text": "T"
|
|
5135
|
+
}
|
|
5136
|
+
},
|
|
5137
|
+
{
|
|
5138
|
+
"name": "excludedFields",
|
|
5139
|
+
"type": {
|
|
5140
|
+
"text": "readonly string[]"
|
|
4960
5141
|
}
|
|
4961
5142
|
}
|
|
4962
5143
|
]
|
|
4963
5144
|
},
|
|
4964
5145
|
{
|
|
4965
5146
|
"kind": "method",
|
|
4966
|
-
"name": "
|
|
5147
|
+
"name": "cloneReportConfig"
|
|
5148
|
+
},
|
|
5149
|
+
{
|
|
5150
|
+
"kind": "method",
|
|
5151
|
+
"name": "showErrorToast",
|
|
4967
5152
|
"parameters": [
|
|
4968
5153
|
{
|
|
4969
|
-
"name": "
|
|
5154
|
+
"name": "message",
|
|
4970
5155
|
"type": {
|
|
4971
|
-
"text": "
|
|
5156
|
+
"text": "string"
|
|
4972
5157
|
}
|
|
4973
5158
|
}
|
|
4974
5159
|
]
|
|
4975
5160
|
}
|
|
4976
5161
|
],
|
|
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
|
-
],
|
|
4992
5162
|
"superclass": {
|
|
4993
5163
|
"name": "GenesisElement",
|
|
4994
5164
|
"package": "@genesislcap/web-core"
|
|
4995
5165
|
},
|
|
4996
|
-
"tagName": "
|
|
5166
|
+
"tagName": "clone-report-config-modal",
|
|
4997
5167
|
"customElement": true
|
|
4998
5168
|
}
|
|
4999
5169
|
],
|
|
5000
5170
|
"exports": [
|
|
5001
5171
|
{
|
|
5002
5172
|
"kind": "js",
|
|
5003
|
-
"name": "
|
|
5173
|
+
"name": "CloneReportConfigModal",
|
|
5004
5174
|
"declaration": {
|
|
5005
|
-
"name": "
|
|
5006
|
-
"module": "src/new/components/
|
|
5175
|
+
"name": "CloneReportConfigModal",
|
|
5176
|
+
"module": "src/new/components/clone-report-config-modal/clone-report-config-modal.ts"
|
|
5007
5177
|
}
|
|
5008
5178
|
},
|
|
5009
5179
|
{
|
|
5010
5180
|
"kind": "custom-element-definition",
|
|
5011
|
-
"name": "
|
|
5012
|
-
"declaration": {
|
|
5013
|
-
"name": "ReportingConfigurations",
|
|
5014
|
-
"module": "src/new/components/reporting-configurations/reporting-configurations.ts"
|
|
5015
|
-
}
|
|
5016
|
-
}
|
|
5017
|
-
]
|
|
5018
|
-
},
|
|
5019
|
-
{
|
|
5020
|
-
"kind": "javascript-module",
|
|
5021
|
-
"path": "src/new/components/shared/file-template-picker.template.ts",
|
|
5022
|
-
"declarations": [
|
|
5023
|
-
{
|
|
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
|
-
}
|
|
5152
|
-
},
|
|
5153
|
-
{
|
|
5154
|
-
"name": "preloadedState",
|
|
5155
|
-
"type": {
|
|
5156
|
-
"text": "RootStateFromSlices<S>"
|
|
5157
|
-
}
|
|
5158
|
-
}
|
|
5159
|
-
]
|
|
5160
|
-
}
|
|
5161
|
-
],
|
|
5162
|
-
"exports": [
|
|
5163
|
-
{
|
|
5164
|
-
"kind": "js",
|
|
5165
|
-
"name": "createSlice",
|
|
5166
|
-
"declaration": {
|
|
5167
|
-
"name": "createSlice",
|
|
5168
|
-
"package": "@reduxjs/toolkit"
|
|
5169
|
-
}
|
|
5170
|
-
},
|
|
5171
|
-
{
|
|
5172
|
-
"kind": "js",
|
|
5173
|
-
"name": "createStore",
|
|
5174
|
-
"declaration": {
|
|
5175
|
-
"name": "createStore",
|
|
5176
|
-
"module": "src/new/lib/redux-store/store.ts"
|
|
5177
|
-
}
|
|
5178
|
-
}
|
|
5179
|
-
]
|
|
5180
|
-
},
|
|
5181
|
-
{
|
|
5182
|
-
"kind": "javascript-module",
|
|
5183
|
-
"path": "src/new/main/edit-config/config-journey-orchestrator.styles.ts",
|
|
5184
|
-
"declarations": [
|
|
5185
|
-
{
|
|
5186
|
-
"kind": "variable",
|
|
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`"
|
|
5189
|
-
}
|
|
5190
|
-
],
|
|
5191
|
-
"exports": [
|
|
5192
|
-
{
|
|
5193
|
-
"kind": "js",
|
|
5194
|
-
"name": "styles",
|
|
5195
|
-
"declaration": {
|
|
5196
|
-
"name": "styles",
|
|
5197
|
-
"module": "src/new/main/edit-config/config-journey-orchestrator.styles.ts"
|
|
5198
|
-
}
|
|
5199
|
-
}
|
|
5200
|
-
]
|
|
5201
|
-
},
|
|
5202
|
-
{
|
|
5203
|
-
"kind": "javascript-module",
|
|
5204
|
-
"path": "src/new/main/edit-config/config-journey-orchestrator.template.ts",
|
|
5205
|
-
"declarations": [
|
|
5206
|
-
{
|
|
5207
|
-
"kind": "variable",
|
|
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`"
|
|
5210
|
-
}
|
|
5211
|
-
],
|
|
5212
|
-
"exports": [
|
|
5213
|
-
{
|
|
5214
|
-
"kind": "js",
|
|
5215
|
-
"name": "template",
|
|
5181
|
+
"name": "clone-report-config-modal",
|
|
5216
5182
|
"declaration": {
|
|
5217
|
-
"name": "
|
|
5218
|
-
"module": "src/new/
|
|
5183
|
+
"name": "CloneReportConfigModal",
|
|
5184
|
+
"module": "src/new/components/clone-report-config-modal/clone-report-config-modal.ts"
|
|
5219
5185
|
}
|
|
5220
5186
|
}
|
|
5221
5187
|
]
|
|
5222
5188
|
},
|
|
5223
5189
|
{
|
|
5224
5190
|
"kind": "javascript-module",
|
|
5225
|
-
"path": "src/new/
|
|
5191
|
+
"path": "src/new/components/renderers/data-transform-renderer.ts",
|
|
5226
5192
|
"declarations": [
|
|
5227
5193
|
{
|
|
5228
5194
|
"kind": "class",
|
|
5229
|
-
"description": "
|
|
5230
|
-
"name": "
|
|
5195
|
+
"description": "",
|
|
5196
|
+
"name": "DataTransformRenderer",
|
|
5231
5197
|
"members": [
|
|
5232
5198
|
{
|
|
5233
5199
|
"kind": "field",
|
|
5234
|
-
"name": "
|
|
5200
|
+
"name": "params",
|
|
5235
5201
|
"type": {
|
|
5236
|
-
"text": "
|
|
5237
|
-
}
|
|
5202
|
+
"text": "DataTransformRendererParams"
|
|
5203
|
+
},
|
|
5204
|
+
"privacy": "public"
|
|
5238
5205
|
},
|
|
5239
5206
|
{
|
|
5240
5207
|
"kind": "field",
|
|
5241
|
-
"name": "
|
|
5208
|
+
"name": "value",
|
|
5242
5209
|
"type": {
|
|
5243
|
-
"text": "
|
|
5244
|
-
}
|
|
5210
|
+
"text": "ExpressionBuilderTypes.ValueConfig"
|
|
5211
|
+
},
|
|
5212
|
+
"privacy": "public"
|
|
5245
5213
|
},
|
|
5246
5214
|
{
|
|
5247
5215
|
"kind": "field",
|
|
5248
|
-
"name": "
|
|
5249
|
-
"
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
"kind": "method",
|
|
5253
|
-
"name": "showListViewHandler"
|
|
5254
|
-
},
|
|
5255
|
-
{
|
|
5256
|
-
"kind": "method",
|
|
5257
|
-
"name": "validateProjectSetup"
|
|
5216
|
+
"name": "modal",
|
|
5217
|
+
"type": {
|
|
5218
|
+
"text": "Modal"
|
|
5219
|
+
}
|
|
5258
5220
|
},
|
|
5259
5221
|
{
|
|
5260
5222
|
"kind": "method",
|
|
5261
|
-
"name": "
|
|
5223
|
+
"name": "init",
|
|
5224
|
+
"privacy": "public",
|
|
5225
|
+
"parameters": [
|
|
5226
|
+
{
|
|
5227
|
+
"name": "params",
|
|
5228
|
+
"type": {
|
|
5229
|
+
"text": "DataTransformRendererParams"
|
|
5230
|
+
}
|
|
5231
|
+
}
|
|
5232
|
+
]
|
|
5262
5233
|
},
|
|
5263
5234
|
{
|
|
5264
5235
|
"kind": "method",
|
|
5265
|
-
"name": "
|
|
5236
|
+
"name": "getGui",
|
|
5237
|
+
"privacy": "public",
|
|
5238
|
+
"return": {
|
|
5239
|
+
"type": {
|
|
5240
|
+
"text": "HTMLElement"
|
|
5241
|
+
}
|
|
5242
|
+
}
|
|
5266
5243
|
},
|
|
5267
5244
|
{
|
|
5268
5245
|
"kind": "method",
|
|
5269
|
-
"name": "
|
|
5270
|
-
"privacy": "
|
|
5246
|
+
"name": "refresh",
|
|
5247
|
+
"privacy": "public",
|
|
5248
|
+
"return": {
|
|
5249
|
+
"type": {
|
|
5250
|
+
"text": "boolean"
|
|
5251
|
+
}
|
|
5252
|
+
},
|
|
5271
5253
|
"parameters": [
|
|
5272
5254
|
{
|
|
5273
|
-
"name": "
|
|
5255
|
+
"name": "params",
|
|
5274
5256
|
"type": {
|
|
5275
|
-
"text": "
|
|
5257
|
+
"text": "DataTransformRendererParams"
|
|
5276
5258
|
}
|
|
5277
|
-
},
|
|
5278
|
-
{
|
|
5279
|
-
"name": "expose",
|
|
5280
|
-
"default": "false"
|
|
5281
5259
|
}
|
|
5282
5260
|
]
|
|
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": [
|
|
5261
|
+
},
|
|
5292
5262
|
{
|
|
5293
|
-
"
|
|
5294
|
-
"
|
|
5263
|
+
"kind": "field",
|
|
5264
|
+
"name": "changeHandler",
|
|
5265
|
+
"privacy": "public"
|
|
5295
5266
|
}
|
|
5296
5267
|
],
|
|
5297
5268
|
"superclass": {
|
|
5298
5269
|
"name": "GenesisElement",
|
|
5299
5270
|
"package": "@genesislcap/web-core"
|
|
5300
5271
|
},
|
|
5301
|
-
"tagName": "
|
|
5272
|
+
"tagName": "data-transform-cell-renderer",
|
|
5302
5273
|
"customElement": true
|
|
5303
5274
|
}
|
|
5304
5275
|
],
|
|
5305
5276
|
"exports": [
|
|
5306
5277
|
{
|
|
5307
5278
|
"kind": "js",
|
|
5308
|
-
"name": "
|
|
5279
|
+
"name": "DataTransformRenderer",
|
|
5309
5280
|
"declaration": {
|
|
5310
|
-
"name": "
|
|
5311
|
-
"module": "src/new/
|
|
5281
|
+
"name": "DataTransformRenderer",
|
|
5282
|
+
"module": "src/new/components/renderers/data-transform-renderer.ts"
|
|
5312
5283
|
}
|
|
5313
5284
|
},
|
|
5314
5285
|
{
|
|
5315
5286
|
"kind": "custom-element-definition",
|
|
5316
|
-
"name": "
|
|
5317
|
-
"declaration": {
|
|
5318
|
-
"name": "
|
|
5319
|
-
"module": "src/new/
|
|
5287
|
+
"name": "data-transform-cell-renderer",
|
|
5288
|
+
"declaration": {
|
|
5289
|
+
"name": "DataTransformRenderer",
|
|
5290
|
+
"module": "src/new/components/renderers/data-transform-renderer.ts"
|
|
5320
5291
|
}
|
|
5321
5292
|
}
|
|
5322
5293
|
]
|
|
5323
5294
|
},
|
|
5324
5295
|
{
|
|
5325
5296
|
"kind": "javascript-module",
|
|
5326
|
-
"path": "src/new/
|
|
5297
|
+
"path": "src/new/components/reporting-configurations/reporting-configurations.styles.ts",
|
|
5327
5298
|
"declarations": [
|
|
5328
5299
|
{
|
|
5329
5300
|
"kind": "variable",
|
|
5330
|
-
"name": "
|
|
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:
|
|
5301
|
+
"name": "ReportingConfigurationStyles",
|
|
5302
|
+
"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`"
|
|
5332
5303
|
}
|
|
5333
5304
|
],
|
|
5334
5305
|
"exports": [
|
|
5335
5306
|
{
|
|
5336
5307
|
"kind": "js",
|
|
5337
|
-
"name": "
|
|
5308
|
+
"name": "ReportingConfigurationStyles",
|
|
5338
5309
|
"declaration": {
|
|
5339
|
-
"name": "
|
|
5340
|
-
"module": "src/new/
|
|
5310
|
+
"name": "ReportingConfigurationStyles",
|
|
5311
|
+
"module": "src/new/components/reporting-configurations/reporting-configurations.styles.ts"
|
|
5341
5312
|
}
|
|
5342
5313
|
}
|
|
5343
5314
|
]
|
|
5344
5315
|
},
|
|
5345
5316
|
{
|
|
5346
5317
|
"kind": "javascript-module",
|
|
5347
|
-
"path": "src/new/
|
|
5318
|
+
"path": "src/new/components/reporting-configurations/reporting-configurations.template.ts",
|
|
5348
5319
|
"declarations": [
|
|
5349
5320
|
{
|
|
5350
5321
|
"kind": "variable",
|
|
5351
|
-
"name": "
|
|
5352
|
-
"default": "html<
|
|
5322
|
+
"name": "ReportingConfigurationsTemplate",
|
|
5323
|
+
"default": "html<ReportingConfigurations>`\n ${(x) => permissionTemplateGuard(x, Permissions.ReportConfigurationView, viewTemplate)}\n`"
|
|
5353
5324
|
}
|
|
5354
5325
|
],
|
|
5355
5326
|
"exports": [
|
|
5356
5327
|
{
|
|
5357
5328
|
"kind": "js",
|
|
5358
|
-
"name": "
|
|
5329
|
+
"name": "ReportingConfigurationsTemplate",
|
|
5359
5330
|
"declaration": {
|
|
5360
|
-
"name": "
|
|
5361
|
-
"module": "src/new/
|
|
5331
|
+
"name": "ReportingConfigurationsTemplate",
|
|
5332
|
+
"module": "src/new/components/reporting-configurations/reporting-configurations.template.ts"
|
|
5362
5333
|
}
|
|
5363
5334
|
}
|
|
5364
5335
|
]
|
|
5365
5336
|
},
|
|
5366
5337
|
{
|
|
5367
5338
|
"kind": "javascript-module",
|
|
5368
|
-
"path": "src/new/
|
|
5339
|
+
"path": "src/new/components/reporting-configurations/reporting-configurations.ts",
|
|
5369
5340
|
"declarations": [
|
|
5370
5341
|
{
|
|
5371
5342
|
"kind": "class",
|
|
5372
|
-
"description": "",
|
|
5373
|
-
"name": "
|
|
5343
|
+
"description": "Report configuration grid and toolbar actions.",
|
|
5344
|
+
"name": "ReportingConfigurations",
|
|
5374
5345
|
"members": [
|
|
5375
5346
|
{
|
|
5376
5347
|
"kind": "field",
|
|
@@ -5381,25 +5352,32 @@
|
|
|
5381
5352
|
},
|
|
5382
5353
|
{
|
|
5383
5354
|
"kind": "field",
|
|
5384
|
-
"name": "
|
|
5355
|
+
"name": "reportConfigurationsDatasource",
|
|
5385
5356
|
"type": {
|
|
5386
5357
|
"text": "GridProGenesisDatasource"
|
|
5387
5358
|
}
|
|
5388
5359
|
},
|
|
5389
5360
|
{
|
|
5390
5361
|
"kind": "field",
|
|
5391
|
-
"name": "
|
|
5362
|
+
"name": "gridCriteria",
|
|
5392
5363
|
"type": {
|
|
5393
|
-
"text": "string
|
|
5364
|
+
"text": "string"
|
|
5365
|
+
},
|
|
5366
|
+
"default": "''"
|
|
5367
|
+
},
|
|
5368
|
+
{
|
|
5369
|
+
"kind": "field",
|
|
5370
|
+
"name": "cloneConfigModal",
|
|
5371
|
+
"type": {
|
|
5372
|
+
"text": "CloneReportConfigModal"
|
|
5394
5373
|
}
|
|
5395
5374
|
},
|
|
5396
5375
|
{
|
|
5397
5376
|
"kind": "field",
|
|
5398
|
-
"name": "
|
|
5377
|
+
"name": "importFileInput",
|
|
5399
5378
|
"type": {
|
|
5400
|
-
"text": "
|
|
5401
|
-
}
|
|
5402
|
-
"default": "''"
|
|
5379
|
+
"text": "HTMLInputElement"
|
|
5380
|
+
}
|
|
5403
5381
|
},
|
|
5404
5382
|
{
|
|
5405
5383
|
"kind": "field",
|
|
@@ -5415,15 +5393,23 @@
|
|
|
5415
5393
|
"text": "array"
|
|
5416
5394
|
},
|
|
5417
5395
|
"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
|
|
5396
|
+
"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 ]"
|
|
5419
5397
|
},
|
|
5420
5398
|
{
|
|
5421
|
-
"kind": "
|
|
5422
|
-
"name": "
|
|
5399
|
+
"kind": "method",
|
|
5400
|
+
"name": "createNewReportHandler"
|
|
5423
5401
|
},
|
|
5424
5402
|
{
|
|
5425
|
-
"kind": "
|
|
5426
|
-
"name": "
|
|
5403
|
+
"kind": "method",
|
|
5404
|
+
"name": "editReportConfigHandler",
|
|
5405
|
+
"parameters": [
|
|
5406
|
+
{
|
|
5407
|
+
"name": "{ NAME, ID }",
|
|
5408
|
+
"type": {
|
|
5409
|
+
"text": "{ NAME: string; ID: string }"
|
|
5410
|
+
}
|
|
5411
|
+
}
|
|
5412
|
+
]
|
|
5427
5413
|
},
|
|
5428
5414
|
{
|
|
5429
5415
|
"kind": "method",
|
|
@@ -5435,24 +5421,27 @@
|
|
|
5435
5421
|
},
|
|
5436
5422
|
{
|
|
5437
5423
|
"kind": "method",
|
|
5438
|
-
"name": "
|
|
5424
|
+
"name": "deleteReportConfig",
|
|
5439
5425
|
"privacy": "private",
|
|
5440
5426
|
"parameters": [
|
|
5441
5427
|
{
|
|
5442
|
-
"name": "
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5428
|
+
"name": "reportConfigId"
|
|
5429
|
+
},
|
|
5430
|
+
{
|
|
5431
|
+
"name": "reportName"
|
|
5446
5432
|
}
|
|
5447
5433
|
]
|
|
5448
5434
|
},
|
|
5449
5435
|
{
|
|
5450
5436
|
"kind": "method",
|
|
5451
|
-
"name": "
|
|
5437
|
+
"name": "runReport",
|
|
5452
5438
|
"privacy": "private",
|
|
5453
5439
|
"parameters": [
|
|
5454
5440
|
{
|
|
5455
|
-
"name": "
|
|
5441
|
+
"name": "reportConfigId"
|
|
5442
|
+
},
|
|
5443
|
+
{
|
|
5444
|
+
"name": "reportName"
|
|
5456
5445
|
}
|
|
5457
5446
|
]
|
|
5458
5447
|
},
|
|
@@ -5467,125 +5456,136 @@
|
|
|
5467
5456
|
}
|
|
5468
5457
|
}
|
|
5469
5458
|
]
|
|
5459
|
+
},
|
|
5460
|
+
{
|
|
5461
|
+
"kind": "method",
|
|
5462
|
+
"name": "openCloneReportConfigModal",
|
|
5463
|
+
"parameters": [
|
|
5464
|
+
{
|
|
5465
|
+
"name": "e"
|
|
5466
|
+
}
|
|
5467
|
+
]
|
|
5468
|
+
},
|
|
5469
|
+
{
|
|
5470
|
+
"kind": "method",
|
|
5471
|
+
"name": "importConfigHandler"
|
|
5472
|
+
},
|
|
5473
|
+
{
|
|
5474
|
+
"kind": "method",
|
|
5475
|
+
"name": "handleFileImport",
|
|
5476
|
+
"parameters": [
|
|
5477
|
+
{
|
|
5478
|
+
"name": "event",
|
|
5479
|
+
"type": {
|
|
5480
|
+
"text": "Event"
|
|
5481
|
+
}
|
|
5482
|
+
}
|
|
5483
|
+
]
|
|
5484
|
+
},
|
|
5485
|
+
{
|
|
5486
|
+
"kind": "method",
|
|
5487
|
+
"name": "exportConfig",
|
|
5488
|
+
"parameters": [
|
|
5489
|
+
{
|
|
5490
|
+
"name": "{ NAME, ID }",
|
|
5491
|
+
"type": {
|
|
5492
|
+
"text": "{ NAME: string; ID: string }"
|
|
5493
|
+
}
|
|
5494
|
+
}
|
|
5495
|
+
]
|
|
5496
|
+
}
|
|
5497
|
+
],
|
|
5498
|
+
"events": [
|
|
5499
|
+
{
|
|
5500
|
+
"description": "Fired to switch the report configuration display mode. detail: `'edit' | 'list'`",
|
|
5501
|
+
"name": "set-report-config-disp-mode"
|
|
5502
|
+
},
|
|
5503
|
+
{
|
|
5504
|
+
"name": "highlight-grid-row"
|
|
5505
|
+
}
|
|
5506
|
+
],
|
|
5507
|
+
"mixins": [
|
|
5508
|
+
{
|
|
5509
|
+
"name": "EventEmitter",
|
|
5510
|
+
"package": "@genesislcap/foundation-events"
|
|
5470
5511
|
}
|
|
5471
5512
|
],
|
|
5472
5513
|
"superclass": {
|
|
5473
5514
|
"name": "GenesisElement",
|
|
5474
5515
|
"package": "@genesislcap/web-core"
|
|
5475
5516
|
},
|
|
5476
|
-
"tagName": "
|
|
5517
|
+
"tagName": "reporting-configurations",
|
|
5477
5518
|
"customElement": true
|
|
5478
5519
|
}
|
|
5479
5520
|
],
|
|
5480
5521
|
"exports": [
|
|
5481
5522
|
{
|
|
5482
5523
|
"kind": "js",
|
|
5483
|
-
"name": "
|
|
5524
|
+
"name": "ReportingConfigurations",
|
|
5484
5525
|
"declaration": {
|
|
5485
|
-
"name": "
|
|
5486
|
-
"module": "src/new/
|
|
5526
|
+
"name": "ReportingConfigurations",
|
|
5527
|
+
"module": "src/new/components/reporting-configurations/reporting-configurations.ts"
|
|
5487
5528
|
}
|
|
5488
5529
|
},
|
|
5489
5530
|
{
|
|
5490
5531
|
"kind": "custom-element-definition",
|
|
5491
|
-
"name": "
|
|
5532
|
+
"name": "reporting-configurations",
|
|
5492
5533
|
"declaration": {
|
|
5493
|
-
"name": "
|
|
5494
|
-
"module": "src/new/
|
|
5534
|
+
"name": "ReportingConfigurations",
|
|
5535
|
+
"module": "src/new/components/reporting-configurations/reporting-configurations.ts"
|
|
5495
5536
|
}
|
|
5496
5537
|
}
|
|
5497
5538
|
]
|
|
5498
5539
|
},
|
|
5499
5540
|
{
|
|
5500
5541
|
"kind": "javascript-module",
|
|
5501
|
-
"path": "src/new/
|
|
5542
|
+
"path": "src/new/components/shared/file-template-picker.template.ts",
|
|
5502
5543
|
"declarations": [
|
|
5503
5544
|
{
|
|
5504
5545
|
"kind": "variable",
|
|
5505
|
-
"name": "
|
|
5506
|
-
"
|
|
5546
|
+
"name": "NULL_TEMPLATE",
|
|
5547
|
+
"type": {
|
|
5548
|
+
"text": "string"
|
|
5549
|
+
},
|
|
5550
|
+
"default": "'Select a template'"
|
|
5551
|
+
},
|
|
5552
|
+
{
|
|
5553
|
+
"kind": "variable",
|
|
5554
|
+
"name": "allowedTemplateFiletypes",
|
|
5555
|
+
"type": {
|
|
5556
|
+
"text": "Record<ReportOutputTypes, string[]>"
|
|
5557
|
+
},
|
|
5558
|
+
"default": "{\n CSV: ['csv', 'txt'],\n PDF: ['html', 'xhtml'],\n XLSX: ['xls', 'xlsx'],\n}"
|
|
5559
|
+
},
|
|
5560
|
+
{
|
|
5561
|
+
"kind": "variable",
|
|
5562
|
+
"name": "fileTemplatePicker",
|
|
5563
|
+
"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`"
|
|
5507
5564
|
}
|
|
5508
5565
|
],
|
|
5509
5566
|
"exports": [
|
|
5510
5567
|
{
|
|
5511
5568
|
"kind": "js",
|
|
5512
|
-
"name": "
|
|
5569
|
+
"name": "NULL_TEMPLATE",
|
|
5513
5570
|
"declaration": {
|
|
5514
|
-
"name": "
|
|
5515
|
-
"module": "src/new/
|
|
5571
|
+
"name": "NULL_TEMPLATE",
|
|
5572
|
+
"module": "src/new/components/shared/file-template-picker.template.ts"
|
|
5516
5573
|
}
|
|
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": [
|
|
5529
|
-
{
|
|
5530
|
-
"kind": "field",
|
|
5531
|
-
"name": "connect",
|
|
5532
|
-
"type": {
|
|
5533
|
-
"text": "Connect"
|
|
5534
|
-
},
|
|
5535
|
-
"privacy": "private"
|
|
5536
|
-
},
|
|
5537
|
-
{
|
|
5538
|
-
"kind": "field",
|
|
5539
|
-
"name": "topics",
|
|
5540
|
-
"type": {
|
|
5541
|
-
"text": "string[]"
|
|
5542
|
-
},
|
|
5543
|
-
"default": "[]"
|
|
5544
|
-
},
|
|
5545
|
-
{
|
|
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"
|
|
5564
|
-
}
|
|
5565
|
-
],
|
|
5566
|
-
"superclass": {
|
|
5567
|
-
"name": "GenesisElement",
|
|
5568
|
-
"package": "@genesislcap/web-core"
|
|
5569
|
-
},
|
|
5570
|
-
"tagName": "report-destinations",
|
|
5571
|
-
"customElement": true
|
|
5572
|
-
}
|
|
5573
|
-
],
|
|
5574
|
-
"exports": [
|
|
5574
|
+
},
|
|
5575
5575
|
{
|
|
5576
5576
|
"kind": "js",
|
|
5577
|
-
"name": "
|
|
5577
|
+
"name": "allowedTemplateFiletypes",
|
|
5578
5578
|
"declaration": {
|
|
5579
|
-
"name": "
|
|
5580
|
-
"module": "src/new/
|
|
5579
|
+
"name": "allowedTemplateFiletypes",
|
|
5580
|
+
"module": "src/new/components/shared/file-template-picker.template.ts"
|
|
5581
5581
|
}
|
|
5582
5582
|
},
|
|
5583
5583
|
{
|
|
5584
|
-
"kind": "
|
|
5585
|
-
"name": "
|
|
5584
|
+
"kind": "js",
|
|
5585
|
+
"name": "fileTemplatePicker",
|
|
5586
5586
|
"declaration": {
|
|
5587
|
-
"name": "
|
|
5588
|
-
"module": "src/new/
|
|
5587
|
+
"name": "fileTemplatePicker",
|
|
5588
|
+
"module": "src/new/components/shared/file-template-picker.template.ts"
|
|
5589
5589
|
}
|
|
5590
5590
|
}
|
|
5591
5591
|
]
|