@genesislcap/pbc-reporting-ui 15.35.4 → 15.36.1
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 +21 -21
|
@@ -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",
|
|
@@ -4537,54 +4537,163 @@
|
|
|
4537
4537
|
},
|
|
4538
4538
|
{
|
|
4539
4539
|
"kind": "javascript-module",
|
|
4540
|
-
"path": "src/new/
|
|
4540
|
+
"path": "src/new/lib/redux-store/index.ts",
|
|
4541
|
+
"declarations": [],
|
|
4542
|
+
"exports": [
|
|
4543
|
+
{
|
|
4544
|
+
"kind": "js",
|
|
4545
|
+
"name": "*",
|
|
4546
|
+
"declaration": {
|
|
4547
|
+
"name": "*",
|
|
4548
|
+
"package": "./store"
|
|
4549
|
+
}
|
|
4550
|
+
},
|
|
4551
|
+
{
|
|
4552
|
+
"kind": "js",
|
|
4553
|
+
"name": "*",
|
|
4554
|
+
"declaration": {
|
|
4555
|
+
"name": "*",
|
|
4556
|
+
"package": "./state-utils"
|
|
4557
|
+
}
|
|
4558
|
+
}
|
|
4559
|
+
]
|
|
4560
|
+
},
|
|
4561
|
+
{
|
|
4562
|
+
"kind": "javascript-module",
|
|
4563
|
+
"path": "src/new/lib/redux-store/state-utils.ts",
|
|
4564
|
+
"declarations": [],
|
|
4565
|
+
"exports": [
|
|
4566
|
+
{
|
|
4567
|
+
"kind": "js",
|
|
4568
|
+
"name": "find",
|
|
4569
|
+
"declaration": {
|
|
4570
|
+
"name": "find",
|
|
4571
|
+
"package": "lodash"
|
|
4572
|
+
}
|
|
4573
|
+
},
|
|
4574
|
+
{
|
|
4575
|
+
"kind": "js",
|
|
4576
|
+
"name": "get",
|
|
4577
|
+
"declaration": {
|
|
4578
|
+
"name": "get",
|
|
4579
|
+
"package": "lodash"
|
|
4580
|
+
}
|
|
4581
|
+
},
|
|
4582
|
+
{
|
|
4583
|
+
"kind": "js",
|
|
4584
|
+
"name": "set",
|
|
4585
|
+
"declaration": {
|
|
4586
|
+
"name": "set",
|
|
4587
|
+
"package": "lodash"
|
|
4588
|
+
}
|
|
4589
|
+
},
|
|
4590
|
+
{
|
|
4591
|
+
"kind": "js",
|
|
4592
|
+
"name": "findIndex",
|
|
4593
|
+
"declaration": {
|
|
4594
|
+
"name": "findIndex",
|
|
4595
|
+
"package": "lodash"
|
|
4596
|
+
}
|
|
4597
|
+
}
|
|
4598
|
+
]
|
|
4599
|
+
},
|
|
4600
|
+
{
|
|
4601
|
+
"kind": "javascript-module",
|
|
4602
|
+
"path": "src/new/lib/redux-store/store.ts",
|
|
4603
|
+
"declarations": [
|
|
4604
|
+
{
|
|
4605
|
+
"kind": "function",
|
|
4606
|
+
"name": "createStore",
|
|
4607
|
+
"return": {
|
|
4608
|
+
"type": {
|
|
4609
|
+
"text": "StoreReturn<S>"
|
|
4610
|
+
}
|
|
4611
|
+
},
|
|
4612
|
+
"parameters": [
|
|
4613
|
+
{
|
|
4614
|
+
"name": "slices",
|
|
4615
|
+
"type": {
|
|
4616
|
+
"text": "S"
|
|
4617
|
+
}
|
|
4618
|
+
},
|
|
4619
|
+
{
|
|
4620
|
+
"name": "preloadedState",
|
|
4621
|
+
"type": {
|
|
4622
|
+
"text": "RootStateFromSlices<S>"
|
|
4623
|
+
}
|
|
4624
|
+
}
|
|
4625
|
+
]
|
|
4626
|
+
}
|
|
4627
|
+
],
|
|
4628
|
+
"exports": [
|
|
4629
|
+
{
|
|
4630
|
+
"kind": "js",
|
|
4631
|
+
"name": "createSlice",
|
|
4632
|
+
"declaration": {
|
|
4633
|
+
"name": "createSlice",
|
|
4634
|
+
"package": "@reduxjs/toolkit"
|
|
4635
|
+
}
|
|
4636
|
+
},
|
|
4637
|
+
{
|
|
4638
|
+
"kind": "js",
|
|
4639
|
+
"name": "createStore",
|
|
4640
|
+
"declaration": {
|
|
4641
|
+
"name": "createStore",
|
|
4642
|
+
"module": "src/new/lib/redux-store/store.ts"
|
|
4643
|
+
}
|
|
4644
|
+
}
|
|
4645
|
+
]
|
|
4646
|
+
},
|
|
4647
|
+
{
|
|
4648
|
+
"kind": "javascript-module",
|
|
4649
|
+
"path": "src/new/main/edit-config/config-journey-orchestrator.styles.ts",
|
|
4541
4650
|
"declarations": [
|
|
4542
4651
|
{
|
|
4543
4652
|
"kind": "variable",
|
|
4544
|
-
"name": "
|
|
4545
|
-
"default": "css`\n :host {\n
|
|
4653
|
+
"name": "styles",
|
|
4654
|
+
"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`"
|
|
4546
4655
|
}
|
|
4547
4656
|
],
|
|
4548
4657
|
"exports": [
|
|
4549
4658
|
{
|
|
4550
4659
|
"kind": "js",
|
|
4551
|
-
"name": "
|
|
4660
|
+
"name": "styles",
|
|
4552
4661
|
"declaration": {
|
|
4553
|
-
"name": "
|
|
4554
|
-
"module": "src/new/
|
|
4662
|
+
"name": "styles",
|
|
4663
|
+
"module": "src/new/main/edit-config/config-journey-orchestrator.styles.ts"
|
|
4555
4664
|
}
|
|
4556
4665
|
}
|
|
4557
4666
|
]
|
|
4558
4667
|
},
|
|
4559
4668
|
{
|
|
4560
4669
|
"kind": "javascript-module",
|
|
4561
|
-
"path": "src/new/
|
|
4670
|
+
"path": "src/new/main/edit-config/config-journey-orchestrator.template.ts",
|
|
4562
4671
|
"declarations": [
|
|
4563
4672
|
{
|
|
4564
4673
|
"kind": "variable",
|
|
4565
|
-
"name": "
|
|
4566
|
-
"default": "html<
|
|
4674
|
+
"name": "template",
|
|
4675
|
+
"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`"
|
|
4567
4676
|
}
|
|
4568
4677
|
],
|
|
4569
4678
|
"exports": [
|
|
4570
4679
|
{
|
|
4571
4680
|
"kind": "js",
|
|
4572
|
-
"name": "
|
|
4681
|
+
"name": "template",
|
|
4573
4682
|
"declaration": {
|
|
4574
|
-
"name": "
|
|
4575
|
-
"module": "src/new/
|
|
4683
|
+
"name": "template",
|
|
4684
|
+
"module": "src/new/main/edit-config/config-journey-orchestrator.template.ts"
|
|
4576
4685
|
}
|
|
4577
4686
|
}
|
|
4578
4687
|
]
|
|
4579
4688
|
},
|
|
4580
4689
|
{
|
|
4581
4690
|
"kind": "javascript-module",
|
|
4582
|
-
"path": "src/new/
|
|
4691
|
+
"path": "src/new/main/edit-config/config-journey-orchestrator.ts",
|
|
4583
4692
|
"declarations": [
|
|
4584
4693
|
{
|
|
4585
4694
|
"kind": "class",
|
|
4586
|
-
"description": "",
|
|
4587
|
-
"name": "
|
|
4695
|
+
"description": "Orchestrates validate/save/discard for report config editing.",
|
|
4696
|
+
"name": "ConfigJourneyOrchestrator",
|
|
4588
4697
|
"members": [
|
|
4589
4698
|
{
|
|
4590
4699
|
"kind": "field",
|
|
@@ -4595,184 +4704,232 @@
|
|
|
4595
4704
|
},
|
|
4596
4705
|
{
|
|
4597
4706
|
"kind": "field",
|
|
4598
|
-
"name": "
|
|
4599
|
-
"type": {
|
|
4600
|
-
"text": "Modal"
|
|
4601
|
-
}
|
|
4602
|
-
},
|
|
4603
|
-
{
|
|
4604
|
-
"kind": "field",
|
|
4605
|
-
"name": "reportConfigDetails",
|
|
4707
|
+
"name": "user",
|
|
4606
4708
|
"type": {
|
|
4607
|
-
"text": "
|
|
4709
|
+
"text": "User"
|
|
4608
4710
|
}
|
|
4609
4711
|
},
|
|
4610
4712
|
{
|
|
4611
4713
|
"kind": "field",
|
|
4612
|
-
"name": "
|
|
4613
|
-
"
|
|
4614
|
-
"text": "string"
|
|
4615
|
-
},
|
|
4616
|
-
"default": "''"
|
|
4617
|
-
},
|
|
4618
|
-
{
|
|
4619
|
-
"kind": "field",
|
|
4620
|
-
"name": "fileName",
|
|
4621
|
-
"type": {
|
|
4622
|
-
"text": "string"
|
|
4623
|
-
},
|
|
4624
|
-
"default": "''"
|
|
4714
|
+
"name": "validateConfig",
|
|
4715
|
+
"privacy": "private"
|
|
4625
4716
|
},
|
|
4626
4717
|
{
|
|
4627
|
-
"kind": "
|
|
4628
|
-
"name": "
|
|
4629
|
-
"type": {
|
|
4630
|
-
"text": "Array<Genesis.FileStorageDataRow>"
|
|
4631
|
-
},
|
|
4632
|
-
"default": "[]"
|
|
4718
|
+
"kind": "method",
|
|
4719
|
+
"name": "showListViewHandler"
|
|
4633
4720
|
},
|
|
4634
4721
|
{
|
|
4635
|
-
"kind": "
|
|
4636
|
-
"name": "
|
|
4637
|
-
"type": {
|
|
4638
|
-
"text": "Array<Genesis.FileStorageDataRow>"
|
|
4639
|
-
},
|
|
4640
|
-
"default": "[]"
|
|
4722
|
+
"kind": "method",
|
|
4723
|
+
"name": "validateProjectSetup"
|
|
4641
4724
|
},
|
|
4642
4725
|
{
|
|
4643
|
-
"kind": "
|
|
4644
|
-
"name": "
|
|
4645
|
-
"type": {
|
|
4646
|
-
"text": "string"
|
|
4647
|
-
},
|
|
4648
|
-
"default": "''"
|
|
4726
|
+
"kind": "method",
|
|
4727
|
+
"name": "validateDatasource"
|
|
4649
4728
|
},
|
|
4650
4729
|
{
|
|
4651
|
-
"kind": "
|
|
4652
|
-
"name": "
|
|
4653
|
-
"type": {
|
|
4654
|
-
"text": "boolean"
|
|
4655
|
-
},
|
|
4656
|
-
"default": "false"
|
|
4730
|
+
"kind": "method",
|
|
4731
|
+
"name": "saveConfigHandler"
|
|
4657
4732
|
},
|
|
4658
4733
|
{
|
|
4659
4734
|
"kind": "method",
|
|
4660
|
-
"name": "
|
|
4735
|
+
"name": "displayError",
|
|
4736
|
+
"privacy": "private",
|
|
4661
4737
|
"parameters": [
|
|
4662
4738
|
{
|
|
4663
|
-
"name": "
|
|
4739
|
+
"name": "e",
|
|
4664
4740
|
"type": {
|
|
4665
|
-
"text": "
|
|
4741
|
+
"text": "Error"
|
|
4666
4742
|
}
|
|
4743
|
+
},
|
|
4744
|
+
{
|
|
4745
|
+
"name": "expose",
|
|
4746
|
+
"default": "false"
|
|
4667
4747
|
}
|
|
4668
4748
|
]
|
|
4669
|
-
}
|
|
4749
|
+
}
|
|
4750
|
+
],
|
|
4751
|
+
"events": [
|
|
4670
4752
|
{
|
|
4671
|
-
"
|
|
4672
|
-
"name": "
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4753
|
+
"description": "Fired to switch the report configuration display mode. detail: `'edit' | 'list'`",
|
|
4754
|
+
"name": "set-report-config-disp-mode"
|
|
4755
|
+
}
|
|
4756
|
+
],
|
|
4757
|
+
"mixins": [
|
|
4758
|
+
{
|
|
4759
|
+
"name": "EventEmitter",
|
|
4760
|
+
"package": "@genesislcap/foundation-events"
|
|
4761
|
+
}
|
|
4762
|
+
],
|
|
4763
|
+
"superclass": {
|
|
4764
|
+
"name": "GenesisElement",
|
|
4765
|
+
"package": "@genesislcap/web-core"
|
|
4766
|
+
},
|
|
4767
|
+
"tagName": "config-journey-orchestrator",
|
|
4768
|
+
"customElement": true
|
|
4769
|
+
}
|
|
4770
|
+
],
|
|
4771
|
+
"exports": [
|
|
4772
|
+
{
|
|
4773
|
+
"kind": "js",
|
|
4774
|
+
"name": "ConfigJourneyOrchestrator",
|
|
4775
|
+
"declaration": {
|
|
4776
|
+
"name": "ConfigJourneyOrchestrator",
|
|
4777
|
+
"module": "src/new/main/edit-config/config-journey-orchestrator.ts"
|
|
4778
|
+
}
|
|
4779
|
+
},
|
|
4780
|
+
{
|
|
4781
|
+
"kind": "custom-element-definition",
|
|
4782
|
+
"name": "config-journey-orchestrator",
|
|
4783
|
+
"declaration": {
|
|
4784
|
+
"name": "ConfigJourneyOrchestrator",
|
|
4785
|
+
"module": "src/new/main/edit-config/config-journey-orchestrator.ts"
|
|
4786
|
+
}
|
|
4787
|
+
}
|
|
4788
|
+
]
|
|
4789
|
+
},
|
|
4790
|
+
{
|
|
4791
|
+
"kind": "javascript-module",
|
|
4792
|
+
"path": "src/new/main/generated-reports/generated-reports.styles.ts",
|
|
4793
|
+
"declarations": [
|
|
4794
|
+
{
|
|
4795
|
+
"kind": "variable",
|
|
4796
|
+
"name": "GeneratedReportsStyles",
|
|
4797
|
+
"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`"
|
|
4798
|
+
}
|
|
4799
|
+
],
|
|
4800
|
+
"exports": [
|
|
4801
|
+
{
|
|
4802
|
+
"kind": "js",
|
|
4803
|
+
"name": "GeneratedReportsStyles",
|
|
4804
|
+
"declaration": {
|
|
4805
|
+
"name": "GeneratedReportsStyles",
|
|
4806
|
+
"module": "src/new/main/generated-reports/generated-reports.styles.ts"
|
|
4807
|
+
}
|
|
4808
|
+
}
|
|
4809
|
+
]
|
|
4810
|
+
},
|
|
4811
|
+
{
|
|
4812
|
+
"kind": "javascript-module",
|
|
4813
|
+
"path": "src/new/main/generated-reports/generated-reports.template.ts",
|
|
4814
|
+
"declarations": [
|
|
4815
|
+
{
|
|
4816
|
+
"kind": "variable",
|
|
4817
|
+
"name": "GeneratedReportsTemplate",
|
|
4818
|
+
"default": "html<GeneratedReports>`\n ${(x) =>\n permissionTemplateGuard(x, [Permissions.ReportView, Permissions.ReportRun], viewTemplate)}\n`"
|
|
4819
|
+
}
|
|
4820
|
+
],
|
|
4821
|
+
"exports": [
|
|
4822
|
+
{
|
|
4823
|
+
"kind": "js",
|
|
4824
|
+
"name": "GeneratedReportsTemplate",
|
|
4825
|
+
"declaration": {
|
|
4826
|
+
"name": "GeneratedReportsTemplate",
|
|
4827
|
+
"module": "src/new/main/generated-reports/generated-reports.template.ts"
|
|
4828
|
+
}
|
|
4829
|
+
}
|
|
4830
|
+
]
|
|
4831
|
+
},
|
|
4832
|
+
{
|
|
4833
|
+
"kind": "javascript-module",
|
|
4834
|
+
"path": "src/new/main/generated-reports/generated-reports.ts",
|
|
4835
|
+
"declarations": [
|
|
4836
|
+
{
|
|
4837
|
+
"kind": "class",
|
|
4838
|
+
"description": "",
|
|
4839
|
+
"name": "GeneratedReports",
|
|
4840
|
+
"members": [
|
|
4841
|
+
{
|
|
4842
|
+
"kind": "field",
|
|
4843
|
+
"name": "connect",
|
|
4844
|
+
"type": {
|
|
4845
|
+
"text": "Connect"
|
|
4846
|
+
}
|
|
4681
4847
|
},
|
|
4682
4848
|
{
|
|
4683
|
-
"kind": "
|
|
4684
|
-
"name": "
|
|
4685
|
-
"
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
"type": {
|
|
4689
|
-
"text": "Genesis.ServerReportConfig"
|
|
4690
|
-
}
|
|
4691
|
-
}
|
|
4692
|
-
]
|
|
4849
|
+
"kind": "field",
|
|
4850
|
+
"name": "generatedReportsDatasource",
|
|
4851
|
+
"type": {
|
|
4852
|
+
"text": "GridProGenesisDatasource"
|
|
4853
|
+
}
|
|
4693
4854
|
},
|
|
4694
4855
|
{
|
|
4695
|
-
"kind": "
|
|
4696
|
-
"name": "
|
|
4856
|
+
"kind": "field",
|
|
4857
|
+
"name": "generatedReportId",
|
|
4858
|
+
"type": {
|
|
4859
|
+
"text": "string | null"
|
|
4860
|
+
}
|
|
4697
4861
|
},
|
|
4698
4862
|
{
|
|
4699
|
-
"kind": "
|
|
4700
|
-
"name": "
|
|
4701
|
-
"
|
|
4702
|
-
"
|
|
4703
|
-
|
|
4704
|
-
|
|
4863
|
+
"kind": "field",
|
|
4864
|
+
"name": "gridCriteria",
|
|
4865
|
+
"type": {
|
|
4866
|
+
"text": "string"
|
|
4867
|
+
},
|
|
4868
|
+
"default": "''"
|
|
4869
|
+
},
|
|
4870
|
+
{
|
|
4871
|
+
"kind": "field",
|
|
4872
|
+
"name": "user",
|
|
4873
|
+
"type": {
|
|
4874
|
+
"text": "User"
|
|
4705
4875
|
}
|
|
4706
4876
|
},
|
|
4707
4877
|
{
|
|
4708
|
-
"kind": "
|
|
4709
|
-
"name": "
|
|
4710
|
-
"
|
|
4711
|
-
"
|
|
4712
|
-
"text": "Array<Genesis.FileStorageDataRow>"
|
|
4713
|
-
}
|
|
4878
|
+
"kind": "field",
|
|
4879
|
+
"name": "searchBarConfig",
|
|
4880
|
+
"type": {
|
|
4881
|
+
"text": "array"
|
|
4714
4882
|
},
|
|
4715
|
-
"
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4883
|
+
"privacy": "public",
|
|
4884
|
+
"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 ]"
|
|
4885
|
+
},
|
|
4886
|
+
{
|
|
4887
|
+
"kind": "field",
|
|
4888
|
+
"name": "getColor"
|
|
4889
|
+
},
|
|
4890
|
+
{
|
|
4891
|
+
"kind": "field",
|
|
4892
|
+
"name": "getStatusRenderer"
|
|
4723
4893
|
},
|
|
4724
4894
|
{
|
|
4725
4895
|
"kind": "method",
|
|
4726
|
-
"name": "
|
|
4727
|
-
"parameters": [
|
|
4728
|
-
{
|
|
4729
|
-
"name": "selectInput",
|
|
4730
|
-
"type": {
|
|
4731
|
-
"text": "HTMLSelectElement"
|
|
4732
|
-
}
|
|
4733
|
-
}
|
|
4734
|
-
]
|
|
4896
|
+
"name": "getColumnDefs"
|
|
4735
4897
|
},
|
|
4736
4898
|
{
|
|
4737
4899
|
"kind": "method",
|
|
4738
|
-
"name": "
|
|
4900
|
+
"name": "getGridOptions"
|
|
4739
4901
|
},
|
|
4740
4902
|
{
|
|
4741
4903
|
"kind": "method",
|
|
4742
|
-
"name": "
|
|
4904
|
+
"name": "downloadReport",
|
|
4743
4905
|
"privacy": "private",
|
|
4744
|
-
"return": {
|
|
4745
|
-
"type": {
|
|
4746
|
-
"text": "Partial<T>"
|
|
4747
|
-
}
|
|
4748
|
-
},
|
|
4749
4906
|
"parameters": [
|
|
4750
4907
|
{
|
|
4751
|
-
"name": "
|
|
4752
|
-
"type": {
|
|
4753
|
-
"text": "T"
|
|
4754
|
-
}
|
|
4755
|
-
},
|
|
4756
|
-
{
|
|
4757
|
-
"name": "excludedFields",
|
|
4908
|
+
"name": "fileStorageId",
|
|
4758
4909
|
"type": {
|
|
4759
|
-
"text": "
|
|
4910
|
+
"text": "string"
|
|
4760
4911
|
}
|
|
4761
4912
|
}
|
|
4762
4913
|
]
|
|
4763
4914
|
},
|
|
4764
4915
|
{
|
|
4765
4916
|
"kind": "method",
|
|
4766
|
-
"name": "
|
|
4917
|
+
"name": "deleteReport",
|
|
4918
|
+
"privacy": "private",
|
|
4919
|
+
"parameters": [
|
|
4920
|
+
{
|
|
4921
|
+
"name": "generatedReportId"
|
|
4922
|
+
}
|
|
4923
|
+
]
|
|
4767
4924
|
},
|
|
4768
4925
|
{
|
|
4769
4926
|
"kind": "method",
|
|
4770
|
-
"name": "
|
|
4927
|
+
"name": "searchChanged",
|
|
4771
4928
|
"parameters": [
|
|
4772
4929
|
{
|
|
4773
|
-
"name": "
|
|
4930
|
+
"name": "event",
|
|
4774
4931
|
"type": {
|
|
4775
|
-
"text": "
|
|
4932
|
+
"text": "CustomEvent<Array<SelectedOption>>"
|
|
4776
4933
|
}
|
|
4777
4934
|
}
|
|
4778
4935
|
]
|
|
@@ -4782,105 +4939,93 @@
|
|
|
4782
4939
|
"name": "GenesisElement",
|
|
4783
4940
|
"package": "@genesislcap/web-core"
|
|
4784
4941
|
},
|
|
4785
|
-
"tagName": "
|
|
4942
|
+
"tagName": "generated-reports",
|
|
4786
4943
|
"customElement": true
|
|
4787
4944
|
}
|
|
4788
4945
|
],
|
|
4789
4946
|
"exports": [
|
|
4790
4947
|
{
|
|
4791
4948
|
"kind": "js",
|
|
4792
|
-
"name": "
|
|
4949
|
+
"name": "GeneratedReports",
|
|
4793
4950
|
"declaration": {
|
|
4794
|
-
"name": "
|
|
4795
|
-
"module": "src/new/
|
|
4951
|
+
"name": "GeneratedReports",
|
|
4952
|
+
"module": "src/new/main/generated-reports/generated-reports.ts"
|
|
4796
4953
|
}
|
|
4797
4954
|
},
|
|
4798
4955
|
{
|
|
4799
4956
|
"kind": "custom-element-definition",
|
|
4800
|
-
"name": "
|
|
4957
|
+
"name": "generated-reports",
|
|
4801
4958
|
"declaration": {
|
|
4802
|
-
"name": "
|
|
4803
|
-
"module": "src/new/
|
|
4959
|
+
"name": "GeneratedReports",
|
|
4960
|
+
"module": "src/new/main/generated-reports/generated-reports.ts"
|
|
4804
4961
|
}
|
|
4805
4962
|
}
|
|
4806
4963
|
]
|
|
4807
4964
|
},
|
|
4808
4965
|
{
|
|
4809
4966
|
"kind": "javascript-module",
|
|
4810
|
-
"path": "src/new/
|
|
4967
|
+
"path": "src/new/main/report-destinations/report-destinations.template.ts",
|
|
4968
|
+
"declarations": [
|
|
4969
|
+
{
|
|
4970
|
+
"kind": "variable",
|
|
4971
|
+
"name": "template",
|
|
4972
|
+
"default": "html<ReportDestinations>`\n ${(x) => permissionTemplateGuard(x, Permissions.ReportDestinationView, viewTemplate)}\n`"
|
|
4973
|
+
}
|
|
4974
|
+
],
|
|
4975
|
+
"exports": [
|
|
4976
|
+
{
|
|
4977
|
+
"kind": "js",
|
|
4978
|
+
"name": "template",
|
|
4979
|
+
"declaration": {
|
|
4980
|
+
"name": "template",
|
|
4981
|
+
"module": "src/new/main/report-destinations/report-destinations.template.ts"
|
|
4982
|
+
}
|
|
4983
|
+
}
|
|
4984
|
+
]
|
|
4985
|
+
},
|
|
4986
|
+
{
|
|
4987
|
+
"kind": "javascript-module",
|
|
4988
|
+
"path": "src/new/main/report-destinations/report-destinations.ts",
|
|
4811
4989
|
"declarations": [
|
|
4812
4990
|
{
|
|
4813
4991
|
"kind": "class",
|
|
4814
4992
|
"description": "",
|
|
4815
|
-
"name": "
|
|
4993
|
+
"name": "ReportDestinations",
|
|
4816
4994
|
"members": [
|
|
4817
4995
|
{
|
|
4818
4996
|
"kind": "field",
|
|
4819
|
-
"name": "
|
|
4997
|
+
"name": "connect",
|
|
4820
4998
|
"type": {
|
|
4821
|
-
"text": "
|
|
4999
|
+
"text": "Connect"
|
|
4822
5000
|
},
|
|
4823
|
-
"privacy": "
|
|
5001
|
+
"privacy": "private"
|
|
4824
5002
|
},
|
|
4825
5003
|
{
|
|
4826
5004
|
"kind": "field",
|
|
4827
|
-
"name": "
|
|
5005
|
+
"name": "topics",
|
|
4828
5006
|
"type": {
|
|
4829
|
-
"text": "
|
|
5007
|
+
"text": "string[]"
|
|
4830
5008
|
},
|
|
4831
|
-
"
|
|
5009
|
+
"default": "[]"
|
|
4832
5010
|
},
|
|
4833
5011
|
{
|
|
4834
5012
|
"kind": "field",
|
|
4835
|
-
"name": "
|
|
5013
|
+
"name": "user",
|
|
4836
5014
|
"type": {
|
|
4837
|
-
"text": "
|
|
4838
|
-
}
|
|
4839
|
-
},
|
|
4840
|
-
{
|
|
4841
|
-
"kind": "method",
|
|
4842
|
-
"name": "init",
|
|
4843
|
-
"privacy": "public",
|
|
4844
|
-
"parameters": [
|
|
4845
|
-
{
|
|
4846
|
-
"name": "params",
|
|
4847
|
-
"type": {
|
|
4848
|
-
"text": "DataTransformRendererParams"
|
|
4849
|
-
}
|
|
4850
|
-
}
|
|
4851
|
-
]
|
|
4852
|
-
},
|
|
4853
|
-
{
|
|
4854
|
-
"kind": "method",
|
|
4855
|
-
"name": "getGui",
|
|
4856
|
-
"privacy": "public",
|
|
4857
|
-
"return": {
|
|
4858
|
-
"type": {
|
|
4859
|
-
"text": "HTMLElement"
|
|
4860
|
-
}
|
|
5015
|
+
"text": "User"
|
|
4861
5016
|
}
|
|
4862
5017
|
},
|
|
4863
5018
|
{
|
|
4864
|
-
"kind": "
|
|
4865
|
-
"name": "
|
|
4866
|
-
"
|
|
4867
|
-
|
|
4868
|
-
"type": {
|
|
4869
|
-
"text": "boolean"
|
|
4870
|
-
}
|
|
5019
|
+
"kind": "field",
|
|
5020
|
+
"name": "getUISchema",
|
|
5021
|
+
"type": {
|
|
5022
|
+
"text": "UiSchema"
|
|
4871
5023
|
},
|
|
4872
|
-
"
|
|
4873
|
-
{
|
|
4874
|
-
"name": "params",
|
|
4875
|
-
"type": {
|
|
4876
|
-
"text": "DataTransformRendererParams"
|
|
4877
|
-
}
|
|
4878
|
-
}
|
|
4879
|
-
]
|
|
5024
|
+
"readonly": true
|
|
4880
5025
|
},
|
|
4881
5026
|
{
|
|
4882
|
-
"kind": "
|
|
4883
|
-
"name": "
|
|
5027
|
+
"kind": "method",
|
|
5028
|
+
"name": "setNotifyRouteTopics",
|
|
4884
5029
|
"privacy": "public"
|
|
4885
5030
|
}
|
|
4886
5031
|
],
|
|
@@ -4888,79 +5033,79 @@
|
|
|
4888
5033
|
"name": "GenesisElement",
|
|
4889
5034
|
"package": "@genesislcap/web-core"
|
|
4890
5035
|
},
|
|
4891
|
-
"tagName": "
|
|
5036
|
+
"tagName": "report-destinations",
|
|
4892
5037
|
"customElement": true
|
|
4893
5038
|
}
|
|
4894
5039
|
],
|
|
4895
5040
|
"exports": [
|
|
4896
5041
|
{
|
|
4897
5042
|
"kind": "js",
|
|
4898
|
-
"name": "
|
|
5043
|
+
"name": "ReportDestinations",
|
|
4899
5044
|
"declaration": {
|
|
4900
|
-
"name": "
|
|
4901
|
-
"module": "src/new/
|
|
5045
|
+
"name": "ReportDestinations",
|
|
5046
|
+
"module": "src/new/main/report-destinations/report-destinations.ts"
|
|
4902
5047
|
}
|
|
4903
5048
|
},
|
|
4904
5049
|
{
|
|
4905
5050
|
"kind": "custom-element-definition",
|
|
4906
|
-
"name": "
|
|
5051
|
+
"name": "report-destinations",
|
|
4907
5052
|
"declaration": {
|
|
4908
|
-
"name": "
|
|
4909
|
-
"module": "src/new/
|
|
5053
|
+
"name": "ReportDestinations",
|
|
5054
|
+
"module": "src/new/main/report-destinations/report-destinations.ts"
|
|
4910
5055
|
}
|
|
4911
5056
|
}
|
|
4912
5057
|
]
|
|
4913
5058
|
},
|
|
4914
5059
|
{
|
|
4915
5060
|
"kind": "javascript-module",
|
|
4916
|
-
"path": "src/new/components/
|
|
5061
|
+
"path": "src/new/components/clone-report-config-modal/clone-report-config-modal.styles.ts",
|
|
4917
5062
|
"declarations": [
|
|
4918
5063
|
{
|
|
4919
5064
|
"kind": "variable",
|
|
4920
|
-
"name": "
|
|
4921
|
-
"default": "css`\n :host {\n display: flex;\n flex-direction: column;\n
|
|
5065
|
+
"name": "cloneReportConfigModalStyles",
|
|
5066
|
+
"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`"
|
|
4922
5067
|
}
|
|
4923
5068
|
],
|
|
4924
5069
|
"exports": [
|
|
4925
5070
|
{
|
|
4926
5071
|
"kind": "js",
|
|
4927
|
-
"name": "
|
|
5072
|
+
"name": "cloneReportConfigModalStyles",
|
|
4928
5073
|
"declaration": {
|
|
4929
|
-
"name": "
|
|
4930
|
-
"module": "src/new/components/
|
|
5074
|
+
"name": "cloneReportConfigModalStyles",
|
|
5075
|
+
"module": "src/new/components/clone-report-config-modal/clone-report-config-modal.styles.ts"
|
|
4931
5076
|
}
|
|
4932
5077
|
}
|
|
4933
5078
|
]
|
|
4934
5079
|
},
|
|
4935
5080
|
{
|
|
4936
5081
|
"kind": "javascript-module",
|
|
4937
|
-
"path": "src/new/components/
|
|
5082
|
+
"path": "src/new/components/clone-report-config-modal/clone-report-config-modal.template.ts",
|
|
4938
5083
|
"declarations": [
|
|
4939
5084
|
{
|
|
4940
5085
|
"kind": "variable",
|
|
4941
|
-
"name": "
|
|
4942
|
-
"default": "html<
|
|
5086
|
+
"name": "CloneReportConfigModalTemplate",
|
|
5087
|
+
"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`"
|
|
4943
5088
|
}
|
|
4944
5089
|
],
|
|
4945
5090
|
"exports": [
|
|
4946
5091
|
{
|
|
4947
5092
|
"kind": "js",
|
|
4948
|
-
"name": "
|
|
5093
|
+
"name": "CloneReportConfigModalTemplate",
|
|
4949
5094
|
"declaration": {
|
|
4950
|
-
"name": "
|
|
4951
|
-
"module": "src/new/components/
|
|
5095
|
+
"name": "CloneReportConfigModalTemplate",
|
|
5096
|
+
"module": "src/new/components/clone-report-config-modal/clone-report-config-modal.template.ts"
|
|
4952
5097
|
}
|
|
4953
5098
|
}
|
|
4954
5099
|
]
|
|
4955
5100
|
},
|
|
4956
5101
|
{
|
|
4957
5102
|
"kind": "javascript-module",
|
|
4958
|
-
"path": "src/new/components/
|
|
5103
|
+
"path": "src/new/components/clone-report-config-modal/clone-report-config-modal.ts",
|
|
4959
5104
|
"declarations": [
|
|
4960
5105
|
{
|
|
4961
5106
|
"kind": "class",
|
|
4962
|
-
"description": "
|
|
4963
|
-
"name": "
|
|
5107
|
+
"description": "",
|
|
5108
|
+
"name": "CloneReportConfigModal",
|
|
4964
5109
|
"members": [
|
|
4965
5110
|
{
|
|
4966
5111
|
"kind": "field",
|
|
@@ -4971,14 +5116,21 @@
|
|
|
4971
5116
|
},
|
|
4972
5117
|
{
|
|
4973
5118
|
"kind": "field",
|
|
4974
|
-
"name": "
|
|
5119
|
+
"name": "cloneReportConfigModal",
|
|
4975
5120
|
"type": {
|
|
4976
|
-
"text": "
|
|
5121
|
+
"text": "Modal"
|
|
4977
5122
|
}
|
|
4978
5123
|
},
|
|
4979
5124
|
{
|
|
4980
5125
|
"kind": "field",
|
|
4981
|
-
"name": "
|
|
5126
|
+
"name": "reportConfigDetails",
|
|
5127
|
+
"type": {
|
|
5128
|
+
"text": "Genesis.ServerReportConfig"
|
|
5129
|
+
}
|
|
5130
|
+
},
|
|
5131
|
+
{
|
|
5132
|
+
"kind": "field",
|
|
5133
|
+
"name": "reportName",
|
|
4982
5134
|
"type": {
|
|
4983
5135
|
"text": "string"
|
|
4984
5136
|
},
|
|
@@ -4986,531 +5138,350 @@
|
|
|
4986
5138
|
},
|
|
4987
5139
|
{
|
|
4988
5140
|
"kind": "field",
|
|
4989
|
-
"name": "
|
|
5141
|
+
"name": "fileName",
|
|
4990
5142
|
"type": {
|
|
4991
|
-
"text": "
|
|
4992
|
-
}
|
|
5143
|
+
"text": "string"
|
|
5144
|
+
},
|
|
5145
|
+
"default": "''"
|
|
4993
5146
|
},
|
|
4994
5147
|
{
|
|
4995
5148
|
"kind": "field",
|
|
4996
|
-
"name": "
|
|
5149
|
+
"name": "fileTemplates",
|
|
4997
5150
|
"type": {
|
|
4998
|
-
"text": "
|
|
4999
|
-
}
|
|
5151
|
+
"text": "Array<Genesis.FileStorageDataRow>"
|
|
5152
|
+
},
|
|
5153
|
+
"default": "[]"
|
|
5000
5154
|
},
|
|
5001
5155
|
{
|
|
5002
5156
|
"kind": "field",
|
|
5003
|
-
"name": "
|
|
5157
|
+
"name": "allowedTemplates",
|
|
5004
5158
|
"type": {
|
|
5005
|
-
"text": "
|
|
5006
|
-
}
|
|
5159
|
+
"text": "Array<Genesis.FileStorageDataRow>"
|
|
5160
|
+
},
|
|
5161
|
+
"default": "[]"
|
|
5007
5162
|
},
|
|
5008
5163
|
{
|
|
5009
5164
|
"kind": "field",
|
|
5010
|
-
"name": "
|
|
5165
|
+
"name": "selectedTemplateId",
|
|
5011
5166
|
"type": {
|
|
5012
|
-
"text": "
|
|
5167
|
+
"text": "string"
|
|
5013
5168
|
},
|
|
5014
|
-
"
|
|
5015
|
-
"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 ]"
|
|
5169
|
+
"default": "''"
|
|
5016
5170
|
},
|
|
5017
5171
|
{
|
|
5018
|
-
"kind": "
|
|
5019
|
-
"name": "
|
|
5172
|
+
"kind": "field",
|
|
5173
|
+
"name": "isImportMode",
|
|
5174
|
+
"type": {
|
|
5175
|
+
"text": "boolean"
|
|
5176
|
+
},
|
|
5177
|
+
"default": "false"
|
|
5020
5178
|
},
|
|
5021
5179
|
{
|
|
5022
5180
|
"kind": "method",
|
|
5023
|
-
"name": "
|
|
5181
|
+
"name": "getReportConfigDetails",
|
|
5024
5182
|
"parameters": [
|
|
5025
5183
|
{
|
|
5026
|
-
"name": "
|
|
5184
|
+
"name": "ID",
|
|
5027
5185
|
"type": {
|
|
5028
|
-
"text": "
|
|
5186
|
+
"text": "string"
|
|
5029
5187
|
}
|
|
5030
5188
|
}
|
|
5031
5189
|
]
|
|
5032
5190
|
},
|
|
5033
5191
|
{
|
|
5034
5192
|
"kind": "method",
|
|
5035
|
-
"name": "
|
|
5036
|
-
},
|
|
5037
|
-
{
|
|
5038
|
-
"kind": "method",
|
|
5039
|
-
"name": "getGridOptions"
|
|
5040
|
-
},
|
|
5041
|
-
{
|
|
5042
|
-
"kind": "method",
|
|
5043
|
-
"name": "deleteReportConfig",
|
|
5044
|
-
"privacy": "private",
|
|
5193
|
+
"name": "showReportConfigModal",
|
|
5045
5194
|
"parameters": [
|
|
5046
5195
|
{
|
|
5047
|
-
"name": "
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5196
|
+
"name": "ID",
|
|
5197
|
+
"type": {
|
|
5198
|
+
"text": "string"
|
|
5199
|
+
}
|
|
5051
5200
|
}
|
|
5052
5201
|
]
|
|
5053
5202
|
},
|
|
5054
5203
|
{
|
|
5055
5204
|
"kind": "method",
|
|
5056
|
-
"name": "
|
|
5057
|
-
"privacy": "private",
|
|
5205
|
+
"name": "showImportModal",
|
|
5058
5206
|
"parameters": [
|
|
5059
5207
|
{
|
|
5060
|
-
"name": "
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5208
|
+
"name": "config",
|
|
5209
|
+
"type": {
|
|
5210
|
+
"text": "Genesis.ServerReportConfig"
|
|
5211
|
+
}
|
|
5064
5212
|
}
|
|
5065
5213
|
]
|
|
5066
5214
|
},
|
|
5067
5215
|
{
|
|
5068
5216
|
"kind": "method",
|
|
5069
|
-
"name": "
|
|
5217
|
+
"name": "closeCloneReportConfigModal"
|
|
5218
|
+
},
|
|
5219
|
+
{
|
|
5220
|
+
"kind": "method",
|
|
5221
|
+
"name": "getFileTemplates",
|
|
5222
|
+
"return": {
|
|
5223
|
+
"type": {
|
|
5224
|
+
"text": "Promise<void>"
|
|
5225
|
+
}
|
|
5226
|
+
}
|
|
5227
|
+
},
|
|
5228
|
+
{
|
|
5229
|
+
"kind": "method",
|
|
5230
|
+
"name": "getAllowedTemplates",
|
|
5231
|
+
"return": {
|
|
5232
|
+
"type": {
|
|
5233
|
+
"text": "Array<Genesis.FileStorageDataRow>"
|
|
5234
|
+
}
|
|
5235
|
+
},
|
|
5070
5236
|
"parameters": [
|
|
5071
5237
|
{
|
|
5072
|
-
"name": "
|
|
5238
|
+
"name": "outputFormat",
|
|
5073
5239
|
"type": {
|
|
5074
|
-
"text": "
|
|
5240
|
+
"text": "string"
|
|
5075
5241
|
}
|
|
5076
5242
|
}
|
|
5077
5243
|
]
|
|
5078
5244
|
},
|
|
5079
5245
|
{
|
|
5080
5246
|
"kind": "method",
|
|
5081
|
-
"name": "
|
|
5247
|
+
"name": "handleTemplateSelectChange",
|
|
5082
5248
|
"parameters": [
|
|
5083
5249
|
{
|
|
5084
|
-
"name": "
|
|
5250
|
+
"name": "selectInput",
|
|
5251
|
+
"type": {
|
|
5252
|
+
"text": "HTMLSelectElement"
|
|
5253
|
+
}
|
|
5085
5254
|
}
|
|
5086
5255
|
]
|
|
5087
5256
|
},
|
|
5088
5257
|
{
|
|
5089
5258
|
"kind": "method",
|
|
5090
|
-
"name": "
|
|
5259
|
+
"name": "discardChanges"
|
|
5091
5260
|
},
|
|
5092
5261
|
{
|
|
5093
5262
|
"kind": "method",
|
|
5094
|
-
"name": "
|
|
5263
|
+
"name": "filterFields",
|
|
5264
|
+
"privacy": "private",
|
|
5265
|
+
"return": {
|
|
5266
|
+
"type": {
|
|
5267
|
+
"text": "Partial<T>"
|
|
5268
|
+
}
|
|
5269
|
+
},
|
|
5095
5270
|
"parameters": [
|
|
5096
5271
|
{
|
|
5097
|
-
"name": "
|
|
5272
|
+
"name": "obj",
|
|
5098
5273
|
"type": {
|
|
5099
|
-
"text": "
|
|
5274
|
+
"text": "T"
|
|
5275
|
+
}
|
|
5276
|
+
},
|
|
5277
|
+
{
|
|
5278
|
+
"name": "excludedFields",
|
|
5279
|
+
"type": {
|
|
5280
|
+
"text": "readonly string[]"
|
|
5100
5281
|
}
|
|
5101
5282
|
}
|
|
5102
5283
|
]
|
|
5103
5284
|
},
|
|
5104
5285
|
{
|
|
5105
5286
|
"kind": "method",
|
|
5106
|
-
"name": "
|
|
5287
|
+
"name": "cloneReportConfig"
|
|
5288
|
+
},
|
|
5289
|
+
{
|
|
5290
|
+
"kind": "method",
|
|
5291
|
+
"name": "showErrorToast",
|
|
5107
5292
|
"parameters": [
|
|
5108
5293
|
{
|
|
5109
|
-
"name": "
|
|
5294
|
+
"name": "message",
|
|
5110
5295
|
"type": {
|
|
5111
|
-
"text": "
|
|
5296
|
+
"text": "string"
|
|
5112
5297
|
}
|
|
5113
5298
|
}
|
|
5114
5299
|
]
|
|
5115
5300
|
}
|
|
5116
5301
|
],
|
|
5117
|
-
"events": [
|
|
5118
|
-
{
|
|
5119
|
-
"description": "Fired to switch the report configuration display mode. detail: `'edit' | 'list'`",
|
|
5120
|
-
"name": "set-report-config-disp-mode"
|
|
5121
|
-
},
|
|
5122
|
-
{
|
|
5123
|
-
"name": "highlight-grid-row"
|
|
5124
|
-
}
|
|
5125
|
-
],
|
|
5126
|
-
"mixins": [
|
|
5127
|
-
{
|
|
5128
|
-
"name": "EventEmitter",
|
|
5129
|
-
"package": "@genesislcap/foundation-events"
|
|
5130
|
-
}
|
|
5131
|
-
],
|
|
5132
5302
|
"superclass": {
|
|
5133
5303
|
"name": "GenesisElement",
|
|
5134
5304
|
"package": "@genesislcap/web-core"
|
|
5135
5305
|
},
|
|
5136
|
-
"tagName": "
|
|
5306
|
+
"tagName": "clone-report-config-modal",
|
|
5137
5307
|
"customElement": true
|
|
5138
5308
|
}
|
|
5139
5309
|
],
|
|
5140
5310
|
"exports": [
|
|
5141
5311
|
{
|
|
5142
5312
|
"kind": "js",
|
|
5143
|
-
"name": "
|
|
5313
|
+
"name": "CloneReportConfigModal",
|
|
5144
5314
|
"declaration": {
|
|
5145
|
-
"name": "
|
|
5146
|
-
"module": "src/new/components/
|
|
5315
|
+
"name": "CloneReportConfigModal",
|
|
5316
|
+
"module": "src/new/components/clone-report-config-modal/clone-report-config-modal.ts"
|
|
5147
5317
|
}
|
|
5148
5318
|
},
|
|
5149
5319
|
{
|
|
5150
5320
|
"kind": "custom-element-definition",
|
|
5151
|
-
"name": "
|
|
5152
|
-
"declaration": {
|
|
5153
|
-
"name": "ReportingConfigurations",
|
|
5154
|
-
"module": "src/new/components/reporting-configurations/reporting-configurations.ts"
|
|
5155
|
-
}
|
|
5156
|
-
}
|
|
5157
|
-
]
|
|
5158
|
-
},
|
|
5159
|
-
{
|
|
5160
|
-
"kind": "javascript-module",
|
|
5161
|
-
"path": "src/new/components/shared/file-template-picker.template.ts",
|
|
5162
|
-
"declarations": [
|
|
5163
|
-
{
|
|
5164
|
-
"kind": "variable",
|
|
5165
|
-
"name": "NULL_TEMPLATE",
|
|
5166
|
-
"type": {
|
|
5167
|
-
"text": "string"
|
|
5168
|
-
},
|
|
5169
|
-
"default": "'Select a template'"
|
|
5170
|
-
},
|
|
5171
|
-
{
|
|
5172
|
-
"kind": "variable",
|
|
5173
|
-
"name": "allowedTemplateFiletypes",
|
|
5174
|
-
"type": {
|
|
5175
|
-
"text": "Record<ReportOutputTypes, string[]>"
|
|
5176
|
-
},
|
|
5177
|
-
"default": "{\n CSV: ['csv', 'txt'],\n PDF: ['html', 'xhtml'],\n XLSX: ['xls', 'xlsx'],\n}"
|
|
5178
|
-
},
|
|
5179
|
-
{
|
|
5180
|
-
"kind": "variable",
|
|
5181
|
-
"name": "fileTemplatePicker",
|
|
5182
|
-
"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`"
|
|
5183
|
-
}
|
|
5184
|
-
],
|
|
5185
|
-
"exports": [
|
|
5186
|
-
{
|
|
5187
|
-
"kind": "js",
|
|
5188
|
-
"name": "NULL_TEMPLATE",
|
|
5189
|
-
"declaration": {
|
|
5190
|
-
"name": "NULL_TEMPLATE",
|
|
5191
|
-
"module": "src/new/components/shared/file-template-picker.template.ts"
|
|
5192
|
-
}
|
|
5193
|
-
},
|
|
5194
|
-
{
|
|
5195
|
-
"kind": "js",
|
|
5196
|
-
"name": "allowedTemplateFiletypes",
|
|
5197
|
-
"declaration": {
|
|
5198
|
-
"name": "allowedTemplateFiletypes",
|
|
5199
|
-
"module": "src/new/components/shared/file-template-picker.template.ts"
|
|
5200
|
-
}
|
|
5201
|
-
},
|
|
5202
|
-
{
|
|
5203
|
-
"kind": "js",
|
|
5204
|
-
"name": "fileTemplatePicker",
|
|
5205
|
-
"declaration": {
|
|
5206
|
-
"name": "fileTemplatePicker",
|
|
5207
|
-
"module": "src/new/components/shared/file-template-picker.template.ts"
|
|
5208
|
-
}
|
|
5209
|
-
}
|
|
5210
|
-
]
|
|
5211
|
-
},
|
|
5212
|
-
{
|
|
5213
|
-
"kind": "javascript-module",
|
|
5214
|
-
"path": "src/new/lib/redux-store/index.ts",
|
|
5215
|
-
"declarations": [],
|
|
5216
|
-
"exports": [
|
|
5217
|
-
{
|
|
5218
|
-
"kind": "js",
|
|
5219
|
-
"name": "*",
|
|
5220
|
-
"declaration": {
|
|
5221
|
-
"name": "*",
|
|
5222
|
-
"package": "./store"
|
|
5223
|
-
}
|
|
5224
|
-
},
|
|
5225
|
-
{
|
|
5226
|
-
"kind": "js",
|
|
5227
|
-
"name": "*",
|
|
5228
|
-
"declaration": {
|
|
5229
|
-
"name": "*",
|
|
5230
|
-
"package": "./state-utils"
|
|
5231
|
-
}
|
|
5232
|
-
}
|
|
5233
|
-
]
|
|
5234
|
-
},
|
|
5235
|
-
{
|
|
5236
|
-
"kind": "javascript-module",
|
|
5237
|
-
"path": "src/new/lib/redux-store/state-utils.ts",
|
|
5238
|
-
"declarations": [],
|
|
5239
|
-
"exports": [
|
|
5240
|
-
{
|
|
5241
|
-
"kind": "js",
|
|
5242
|
-
"name": "find",
|
|
5243
|
-
"declaration": {
|
|
5244
|
-
"name": "find",
|
|
5245
|
-
"package": "lodash"
|
|
5246
|
-
}
|
|
5247
|
-
},
|
|
5248
|
-
{
|
|
5249
|
-
"kind": "js",
|
|
5250
|
-
"name": "get",
|
|
5251
|
-
"declaration": {
|
|
5252
|
-
"name": "get",
|
|
5253
|
-
"package": "lodash"
|
|
5254
|
-
}
|
|
5255
|
-
},
|
|
5256
|
-
{
|
|
5257
|
-
"kind": "js",
|
|
5258
|
-
"name": "set",
|
|
5259
|
-
"declaration": {
|
|
5260
|
-
"name": "set",
|
|
5261
|
-
"package": "lodash"
|
|
5262
|
-
}
|
|
5263
|
-
},
|
|
5264
|
-
{
|
|
5265
|
-
"kind": "js",
|
|
5266
|
-
"name": "findIndex",
|
|
5267
|
-
"declaration": {
|
|
5268
|
-
"name": "findIndex",
|
|
5269
|
-
"package": "lodash"
|
|
5270
|
-
}
|
|
5271
|
-
}
|
|
5272
|
-
]
|
|
5273
|
-
},
|
|
5274
|
-
{
|
|
5275
|
-
"kind": "javascript-module",
|
|
5276
|
-
"path": "src/new/lib/redux-store/store.ts",
|
|
5277
|
-
"declarations": [
|
|
5278
|
-
{
|
|
5279
|
-
"kind": "function",
|
|
5280
|
-
"name": "createStore",
|
|
5281
|
-
"return": {
|
|
5282
|
-
"type": {
|
|
5283
|
-
"text": "StoreReturn<S>"
|
|
5284
|
-
}
|
|
5285
|
-
},
|
|
5286
|
-
"parameters": [
|
|
5287
|
-
{
|
|
5288
|
-
"name": "slices",
|
|
5289
|
-
"type": {
|
|
5290
|
-
"text": "S"
|
|
5291
|
-
}
|
|
5292
|
-
},
|
|
5293
|
-
{
|
|
5294
|
-
"name": "preloadedState",
|
|
5295
|
-
"type": {
|
|
5296
|
-
"text": "RootStateFromSlices<S>"
|
|
5297
|
-
}
|
|
5298
|
-
}
|
|
5299
|
-
]
|
|
5300
|
-
}
|
|
5301
|
-
],
|
|
5302
|
-
"exports": [
|
|
5303
|
-
{
|
|
5304
|
-
"kind": "js",
|
|
5305
|
-
"name": "createSlice",
|
|
5306
|
-
"declaration": {
|
|
5307
|
-
"name": "createSlice",
|
|
5308
|
-
"package": "@reduxjs/toolkit"
|
|
5309
|
-
}
|
|
5310
|
-
},
|
|
5311
|
-
{
|
|
5312
|
-
"kind": "js",
|
|
5313
|
-
"name": "createStore",
|
|
5314
|
-
"declaration": {
|
|
5315
|
-
"name": "createStore",
|
|
5316
|
-
"module": "src/new/lib/redux-store/store.ts"
|
|
5317
|
-
}
|
|
5318
|
-
}
|
|
5319
|
-
]
|
|
5320
|
-
},
|
|
5321
|
-
{
|
|
5322
|
-
"kind": "javascript-module",
|
|
5323
|
-
"path": "src/new/main/edit-config/config-journey-orchestrator.styles.ts",
|
|
5324
|
-
"declarations": [
|
|
5325
|
-
{
|
|
5326
|
-
"kind": "variable",
|
|
5327
|
-
"name": "styles",
|
|
5328
|
-
"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`"
|
|
5329
|
-
}
|
|
5330
|
-
],
|
|
5331
|
-
"exports": [
|
|
5332
|
-
{
|
|
5333
|
-
"kind": "js",
|
|
5334
|
-
"name": "styles",
|
|
5335
|
-
"declaration": {
|
|
5336
|
-
"name": "styles",
|
|
5337
|
-
"module": "src/new/main/edit-config/config-journey-orchestrator.styles.ts"
|
|
5338
|
-
}
|
|
5339
|
-
}
|
|
5340
|
-
]
|
|
5341
|
-
},
|
|
5342
|
-
{
|
|
5343
|
-
"kind": "javascript-module",
|
|
5344
|
-
"path": "src/new/main/edit-config/config-journey-orchestrator.template.ts",
|
|
5345
|
-
"declarations": [
|
|
5346
|
-
{
|
|
5347
|
-
"kind": "variable",
|
|
5348
|
-
"name": "template",
|
|
5349
|
-
"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`"
|
|
5350
|
-
}
|
|
5351
|
-
],
|
|
5352
|
-
"exports": [
|
|
5353
|
-
{
|
|
5354
|
-
"kind": "js",
|
|
5355
|
-
"name": "template",
|
|
5321
|
+
"name": "clone-report-config-modal",
|
|
5356
5322
|
"declaration": {
|
|
5357
|
-
"name": "
|
|
5358
|
-
"module": "src/new/
|
|
5323
|
+
"name": "CloneReportConfigModal",
|
|
5324
|
+
"module": "src/new/components/clone-report-config-modal/clone-report-config-modal.ts"
|
|
5359
5325
|
}
|
|
5360
5326
|
}
|
|
5361
5327
|
]
|
|
5362
5328
|
},
|
|
5363
5329
|
{
|
|
5364
5330
|
"kind": "javascript-module",
|
|
5365
|
-
"path": "src/new/
|
|
5331
|
+
"path": "src/new/components/renderers/data-transform-renderer.ts",
|
|
5366
5332
|
"declarations": [
|
|
5367
5333
|
{
|
|
5368
5334
|
"kind": "class",
|
|
5369
|
-
"description": "
|
|
5370
|
-
"name": "
|
|
5335
|
+
"description": "",
|
|
5336
|
+
"name": "DataTransformRenderer",
|
|
5371
5337
|
"members": [
|
|
5372
5338
|
{
|
|
5373
5339
|
"kind": "field",
|
|
5374
|
-
"name": "
|
|
5340
|
+
"name": "params",
|
|
5375
5341
|
"type": {
|
|
5376
|
-
"text": "
|
|
5377
|
-
}
|
|
5342
|
+
"text": "DataTransformRendererParams"
|
|
5343
|
+
},
|
|
5344
|
+
"privacy": "public"
|
|
5378
5345
|
},
|
|
5379
5346
|
{
|
|
5380
5347
|
"kind": "field",
|
|
5381
|
-
"name": "
|
|
5348
|
+
"name": "value",
|
|
5382
5349
|
"type": {
|
|
5383
|
-
"text": "
|
|
5384
|
-
}
|
|
5350
|
+
"text": "ExpressionBuilderTypes.ValueConfig"
|
|
5351
|
+
},
|
|
5352
|
+
"privacy": "public"
|
|
5385
5353
|
},
|
|
5386
5354
|
{
|
|
5387
5355
|
"kind": "field",
|
|
5388
|
-
"name": "
|
|
5389
|
-
"
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
"kind": "method",
|
|
5393
|
-
"name": "showListViewHandler"
|
|
5394
|
-
},
|
|
5395
|
-
{
|
|
5396
|
-
"kind": "method",
|
|
5397
|
-
"name": "validateProjectSetup"
|
|
5356
|
+
"name": "modal",
|
|
5357
|
+
"type": {
|
|
5358
|
+
"text": "Modal"
|
|
5359
|
+
}
|
|
5398
5360
|
},
|
|
5399
5361
|
{
|
|
5400
5362
|
"kind": "method",
|
|
5401
|
-
"name": "
|
|
5363
|
+
"name": "init",
|
|
5364
|
+
"privacy": "public",
|
|
5365
|
+
"parameters": [
|
|
5366
|
+
{
|
|
5367
|
+
"name": "params",
|
|
5368
|
+
"type": {
|
|
5369
|
+
"text": "DataTransformRendererParams"
|
|
5370
|
+
}
|
|
5371
|
+
}
|
|
5372
|
+
]
|
|
5402
5373
|
},
|
|
5403
5374
|
{
|
|
5404
5375
|
"kind": "method",
|
|
5405
|
-
"name": "
|
|
5376
|
+
"name": "getGui",
|
|
5377
|
+
"privacy": "public",
|
|
5378
|
+
"return": {
|
|
5379
|
+
"type": {
|
|
5380
|
+
"text": "HTMLElement"
|
|
5381
|
+
}
|
|
5382
|
+
}
|
|
5406
5383
|
},
|
|
5407
5384
|
{
|
|
5408
5385
|
"kind": "method",
|
|
5409
|
-
"name": "
|
|
5410
|
-
"privacy": "
|
|
5386
|
+
"name": "refresh",
|
|
5387
|
+
"privacy": "public",
|
|
5388
|
+
"return": {
|
|
5389
|
+
"type": {
|
|
5390
|
+
"text": "boolean"
|
|
5391
|
+
}
|
|
5392
|
+
},
|
|
5411
5393
|
"parameters": [
|
|
5412
5394
|
{
|
|
5413
|
-
"name": "
|
|
5395
|
+
"name": "params",
|
|
5414
5396
|
"type": {
|
|
5415
|
-
"text": "
|
|
5397
|
+
"text": "DataTransformRendererParams"
|
|
5416
5398
|
}
|
|
5417
|
-
},
|
|
5418
|
-
{
|
|
5419
|
-
"name": "expose",
|
|
5420
|
-
"default": "false"
|
|
5421
5399
|
}
|
|
5422
5400
|
]
|
|
5423
|
-
}
|
|
5424
|
-
],
|
|
5425
|
-
"events": [
|
|
5426
|
-
{
|
|
5427
|
-
"description": "Fired to switch the report configuration display mode. detail: `'edit' | 'list'`",
|
|
5428
|
-
"name": "set-report-config-disp-mode"
|
|
5429
|
-
}
|
|
5430
|
-
],
|
|
5431
|
-
"mixins": [
|
|
5401
|
+
},
|
|
5432
5402
|
{
|
|
5433
|
-
"
|
|
5434
|
-
"
|
|
5403
|
+
"kind": "field",
|
|
5404
|
+
"name": "changeHandler",
|
|
5405
|
+
"privacy": "public"
|
|
5435
5406
|
}
|
|
5436
5407
|
],
|
|
5437
5408
|
"superclass": {
|
|
5438
5409
|
"name": "GenesisElement",
|
|
5439
5410
|
"package": "@genesislcap/web-core"
|
|
5440
5411
|
},
|
|
5441
|
-
"tagName": "
|
|
5412
|
+
"tagName": "data-transform-cell-renderer",
|
|
5442
5413
|
"customElement": true
|
|
5443
5414
|
}
|
|
5444
5415
|
],
|
|
5445
5416
|
"exports": [
|
|
5446
5417
|
{
|
|
5447
5418
|
"kind": "js",
|
|
5448
|
-
"name": "
|
|
5419
|
+
"name": "DataTransformRenderer",
|
|
5449
5420
|
"declaration": {
|
|
5450
|
-
"name": "
|
|
5451
|
-
"module": "src/new/
|
|
5421
|
+
"name": "DataTransformRenderer",
|
|
5422
|
+
"module": "src/new/components/renderers/data-transform-renderer.ts"
|
|
5452
5423
|
}
|
|
5453
5424
|
},
|
|
5454
5425
|
{
|
|
5455
5426
|
"kind": "custom-element-definition",
|
|
5456
|
-
"name": "
|
|
5457
|
-
"declaration": {
|
|
5458
|
-
"name": "
|
|
5459
|
-
"module": "src/new/
|
|
5427
|
+
"name": "data-transform-cell-renderer",
|
|
5428
|
+
"declaration": {
|
|
5429
|
+
"name": "DataTransformRenderer",
|
|
5430
|
+
"module": "src/new/components/renderers/data-transform-renderer.ts"
|
|
5460
5431
|
}
|
|
5461
5432
|
}
|
|
5462
5433
|
]
|
|
5463
5434
|
},
|
|
5464
5435
|
{
|
|
5465
5436
|
"kind": "javascript-module",
|
|
5466
|
-
"path": "src/new/
|
|
5437
|
+
"path": "src/new/components/reporting-configurations/reporting-configurations.styles.ts",
|
|
5467
5438
|
"declarations": [
|
|
5468
5439
|
{
|
|
5469
5440
|
"kind": "variable",
|
|
5470
|
-
"name": "
|
|
5471
|
-
"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:
|
|
5441
|
+
"name": "ReportingConfigurationStyles",
|
|
5442
|
+
"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`"
|
|
5472
5443
|
}
|
|
5473
5444
|
],
|
|
5474
5445
|
"exports": [
|
|
5475
5446
|
{
|
|
5476
5447
|
"kind": "js",
|
|
5477
|
-
"name": "
|
|
5448
|
+
"name": "ReportingConfigurationStyles",
|
|
5478
5449
|
"declaration": {
|
|
5479
|
-
"name": "
|
|
5480
|
-
"module": "src/new/
|
|
5450
|
+
"name": "ReportingConfigurationStyles",
|
|
5451
|
+
"module": "src/new/components/reporting-configurations/reporting-configurations.styles.ts"
|
|
5481
5452
|
}
|
|
5482
5453
|
}
|
|
5483
5454
|
]
|
|
5484
5455
|
},
|
|
5485
5456
|
{
|
|
5486
5457
|
"kind": "javascript-module",
|
|
5487
|
-
"path": "src/new/
|
|
5458
|
+
"path": "src/new/components/reporting-configurations/reporting-configurations.template.ts",
|
|
5488
5459
|
"declarations": [
|
|
5489
5460
|
{
|
|
5490
5461
|
"kind": "variable",
|
|
5491
|
-
"name": "
|
|
5492
|
-
"default": "html<
|
|
5462
|
+
"name": "ReportingConfigurationsTemplate",
|
|
5463
|
+
"default": "html<ReportingConfigurations>`\n ${(x) => permissionTemplateGuard(x, Permissions.ReportConfigurationView, viewTemplate)}\n`"
|
|
5493
5464
|
}
|
|
5494
5465
|
],
|
|
5495
5466
|
"exports": [
|
|
5496
5467
|
{
|
|
5497
5468
|
"kind": "js",
|
|
5498
|
-
"name": "
|
|
5469
|
+
"name": "ReportingConfigurationsTemplate",
|
|
5499
5470
|
"declaration": {
|
|
5500
|
-
"name": "
|
|
5501
|
-
"module": "src/new/
|
|
5471
|
+
"name": "ReportingConfigurationsTemplate",
|
|
5472
|
+
"module": "src/new/components/reporting-configurations/reporting-configurations.template.ts"
|
|
5502
5473
|
}
|
|
5503
5474
|
}
|
|
5504
5475
|
]
|
|
5505
5476
|
},
|
|
5506
5477
|
{
|
|
5507
5478
|
"kind": "javascript-module",
|
|
5508
|
-
"path": "src/new/
|
|
5479
|
+
"path": "src/new/components/reporting-configurations/reporting-configurations.ts",
|
|
5509
5480
|
"declarations": [
|
|
5510
5481
|
{
|
|
5511
5482
|
"kind": "class",
|
|
5512
|
-
"description": "",
|
|
5513
|
-
"name": "
|
|
5483
|
+
"description": "Report configuration grid and toolbar actions.",
|
|
5484
|
+
"name": "ReportingConfigurations",
|
|
5514
5485
|
"members": [
|
|
5515
5486
|
{
|
|
5516
5487
|
"kind": "field",
|
|
@@ -5521,25 +5492,32 @@
|
|
|
5521
5492
|
},
|
|
5522
5493
|
{
|
|
5523
5494
|
"kind": "field",
|
|
5524
|
-
"name": "
|
|
5495
|
+
"name": "reportConfigurationsDatasource",
|
|
5525
5496
|
"type": {
|
|
5526
5497
|
"text": "GridProGenesisDatasource"
|
|
5527
5498
|
}
|
|
5528
5499
|
},
|
|
5529
5500
|
{
|
|
5530
5501
|
"kind": "field",
|
|
5531
|
-
"name": "
|
|
5502
|
+
"name": "gridCriteria",
|
|
5532
5503
|
"type": {
|
|
5533
|
-
"text": "string
|
|
5504
|
+
"text": "string"
|
|
5505
|
+
},
|
|
5506
|
+
"default": "''"
|
|
5507
|
+
},
|
|
5508
|
+
{
|
|
5509
|
+
"kind": "field",
|
|
5510
|
+
"name": "cloneConfigModal",
|
|
5511
|
+
"type": {
|
|
5512
|
+
"text": "CloneReportConfigModal"
|
|
5534
5513
|
}
|
|
5535
5514
|
},
|
|
5536
5515
|
{
|
|
5537
5516
|
"kind": "field",
|
|
5538
|
-
"name": "
|
|
5517
|
+
"name": "importFileInput",
|
|
5539
5518
|
"type": {
|
|
5540
|
-
"text": "
|
|
5541
|
-
}
|
|
5542
|
-
"default": "''"
|
|
5519
|
+
"text": "HTMLInputElement"
|
|
5520
|
+
}
|
|
5543
5521
|
},
|
|
5544
5522
|
{
|
|
5545
5523
|
"kind": "field",
|
|
@@ -5555,15 +5533,23 @@
|
|
|
5555
5533
|
"text": "array"
|
|
5556
5534
|
},
|
|
5557
5535
|
"privacy": "public",
|
|
5558
|
-
"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
|
|
5536
|
+
"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 ]"
|
|
5559
5537
|
},
|
|
5560
5538
|
{
|
|
5561
|
-
"kind": "
|
|
5562
|
-
"name": "
|
|
5539
|
+
"kind": "method",
|
|
5540
|
+
"name": "createNewReportHandler"
|
|
5563
5541
|
},
|
|
5564
5542
|
{
|
|
5565
|
-
"kind": "
|
|
5566
|
-
"name": "
|
|
5543
|
+
"kind": "method",
|
|
5544
|
+
"name": "editReportConfigHandler",
|
|
5545
|
+
"parameters": [
|
|
5546
|
+
{
|
|
5547
|
+
"name": "{ NAME, ID }",
|
|
5548
|
+
"type": {
|
|
5549
|
+
"text": "{ NAME: string; ID: string }"
|
|
5550
|
+
}
|
|
5551
|
+
}
|
|
5552
|
+
]
|
|
5567
5553
|
},
|
|
5568
5554
|
{
|
|
5569
5555
|
"kind": "method",
|
|
@@ -5575,24 +5561,27 @@
|
|
|
5575
5561
|
},
|
|
5576
5562
|
{
|
|
5577
5563
|
"kind": "method",
|
|
5578
|
-
"name": "
|
|
5564
|
+
"name": "deleteReportConfig",
|
|
5579
5565
|
"privacy": "private",
|
|
5580
5566
|
"parameters": [
|
|
5581
5567
|
{
|
|
5582
|
-
"name": "
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5568
|
+
"name": "reportConfigId"
|
|
5569
|
+
},
|
|
5570
|
+
{
|
|
5571
|
+
"name": "reportName"
|
|
5586
5572
|
}
|
|
5587
5573
|
]
|
|
5588
5574
|
},
|
|
5589
5575
|
{
|
|
5590
5576
|
"kind": "method",
|
|
5591
|
-
"name": "
|
|
5577
|
+
"name": "runReport",
|
|
5592
5578
|
"privacy": "private",
|
|
5593
5579
|
"parameters": [
|
|
5594
5580
|
{
|
|
5595
|
-
"name": "
|
|
5581
|
+
"name": "reportConfigId"
|
|
5582
|
+
},
|
|
5583
|
+
{
|
|
5584
|
+
"name": "reportName"
|
|
5596
5585
|
}
|
|
5597
5586
|
]
|
|
5598
5587
|
},
|
|
@@ -5607,125 +5596,136 @@
|
|
|
5607
5596
|
}
|
|
5608
5597
|
}
|
|
5609
5598
|
]
|
|
5599
|
+
},
|
|
5600
|
+
{
|
|
5601
|
+
"kind": "method",
|
|
5602
|
+
"name": "openCloneReportConfigModal",
|
|
5603
|
+
"parameters": [
|
|
5604
|
+
{
|
|
5605
|
+
"name": "e"
|
|
5606
|
+
}
|
|
5607
|
+
]
|
|
5608
|
+
},
|
|
5609
|
+
{
|
|
5610
|
+
"kind": "method",
|
|
5611
|
+
"name": "importConfigHandler"
|
|
5612
|
+
},
|
|
5613
|
+
{
|
|
5614
|
+
"kind": "method",
|
|
5615
|
+
"name": "handleFileImport",
|
|
5616
|
+
"parameters": [
|
|
5617
|
+
{
|
|
5618
|
+
"name": "event",
|
|
5619
|
+
"type": {
|
|
5620
|
+
"text": "Event"
|
|
5621
|
+
}
|
|
5622
|
+
}
|
|
5623
|
+
]
|
|
5624
|
+
},
|
|
5625
|
+
{
|
|
5626
|
+
"kind": "method",
|
|
5627
|
+
"name": "exportConfig",
|
|
5628
|
+
"parameters": [
|
|
5629
|
+
{
|
|
5630
|
+
"name": "{ NAME, ID }",
|
|
5631
|
+
"type": {
|
|
5632
|
+
"text": "{ NAME: string; ID: string }"
|
|
5633
|
+
}
|
|
5634
|
+
}
|
|
5635
|
+
]
|
|
5636
|
+
}
|
|
5637
|
+
],
|
|
5638
|
+
"events": [
|
|
5639
|
+
{
|
|
5640
|
+
"description": "Fired to switch the report configuration display mode. detail: `'edit' | 'list'`",
|
|
5641
|
+
"name": "set-report-config-disp-mode"
|
|
5642
|
+
},
|
|
5643
|
+
{
|
|
5644
|
+
"name": "highlight-grid-row"
|
|
5645
|
+
}
|
|
5646
|
+
],
|
|
5647
|
+
"mixins": [
|
|
5648
|
+
{
|
|
5649
|
+
"name": "EventEmitter",
|
|
5650
|
+
"package": "@genesislcap/foundation-events"
|
|
5610
5651
|
}
|
|
5611
5652
|
],
|
|
5612
5653
|
"superclass": {
|
|
5613
5654
|
"name": "GenesisElement",
|
|
5614
5655
|
"package": "@genesislcap/web-core"
|
|
5615
5656
|
},
|
|
5616
|
-
"tagName": "
|
|
5657
|
+
"tagName": "reporting-configurations",
|
|
5617
5658
|
"customElement": true
|
|
5618
5659
|
}
|
|
5619
5660
|
],
|
|
5620
5661
|
"exports": [
|
|
5621
5662
|
{
|
|
5622
5663
|
"kind": "js",
|
|
5623
|
-
"name": "
|
|
5664
|
+
"name": "ReportingConfigurations",
|
|
5624
5665
|
"declaration": {
|
|
5625
|
-
"name": "
|
|
5626
|
-
"module": "src/new/
|
|
5666
|
+
"name": "ReportingConfigurations",
|
|
5667
|
+
"module": "src/new/components/reporting-configurations/reporting-configurations.ts"
|
|
5627
5668
|
}
|
|
5628
5669
|
},
|
|
5629
5670
|
{
|
|
5630
5671
|
"kind": "custom-element-definition",
|
|
5631
|
-
"name": "
|
|
5672
|
+
"name": "reporting-configurations",
|
|
5632
5673
|
"declaration": {
|
|
5633
|
-
"name": "
|
|
5634
|
-
"module": "src/new/
|
|
5674
|
+
"name": "ReportingConfigurations",
|
|
5675
|
+
"module": "src/new/components/reporting-configurations/reporting-configurations.ts"
|
|
5635
5676
|
}
|
|
5636
5677
|
}
|
|
5637
5678
|
]
|
|
5638
5679
|
},
|
|
5639
5680
|
{
|
|
5640
5681
|
"kind": "javascript-module",
|
|
5641
|
-
"path": "src/new/
|
|
5682
|
+
"path": "src/new/components/shared/file-template-picker.template.ts",
|
|
5642
5683
|
"declarations": [
|
|
5643
5684
|
{
|
|
5644
5685
|
"kind": "variable",
|
|
5645
|
-
"name": "
|
|
5646
|
-
"
|
|
5686
|
+
"name": "NULL_TEMPLATE",
|
|
5687
|
+
"type": {
|
|
5688
|
+
"text": "string"
|
|
5689
|
+
},
|
|
5690
|
+
"default": "'Select a template'"
|
|
5691
|
+
},
|
|
5692
|
+
{
|
|
5693
|
+
"kind": "variable",
|
|
5694
|
+
"name": "allowedTemplateFiletypes",
|
|
5695
|
+
"type": {
|
|
5696
|
+
"text": "Record<ReportOutputTypes, string[]>"
|
|
5697
|
+
},
|
|
5698
|
+
"default": "{\n CSV: ['csv', 'txt'],\n PDF: ['html', 'xhtml'],\n XLSX: ['xls', 'xlsx'],\n}"
|
|
5699
|
+
},
|
|
5700
|
+
{
|
|
5701
|
+
"kind": "variable",
|
|
5702
|
+
"name": "fileTemplatePicker",
|
|
5703
|
+
"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`"
|
|
5647
5704
|
}
|
|
5648
5705
|
],
|
|
5649
5706
|
"exports": [
|
|
5650
5707
|
{
|
|
5651
5708
|
"kind": "js",
|
|
5652
|
-
"name": "
|
|
5709
|
+
"name": "NULL_TEMPLATE",
|
|
5653
5710
|
"declaration": {
|
|
5654
|
-
"name": "
|
|
5655
|
-
"module": "src/new/
|
|
5711
|
+
"name": "NULL_TEMPLATE",
|
|
5712
|
+
"module": "src/new/components/shared/file-template-picker.template.ts"
|
|
5656
5713
|
}
|
|
5657
|
-
}
|
|
5658
|
-
]
|
|
5659
|
-
},
|
|
5660
|
-
{
|
|
5661
|
-
"kind": "javascript-module",
|
|
5662
|
-
"path": "src/new/main/report-destinations/report-destinations.ts",
|
|
5663
|
-
"declarations": [
|
|
5664
|
-
{
|
|
5665
|
-
"kind": "class",
|
|
5666
|
-
"description": "",
|
|
5667
|
-
"name": "ReportDestinations",
|
|
5668
|
-
"members": [
|
|
5669
|
-
{
|
|
5670
|
-
"kind": "field",
|
|
5671
|
-
"name": "connect",
|
|
5672
|
-
"type": {
|
|
5673
|
-
"text": "Connect"
|
|
5674
|
-
},
|
|
5675
|
-
"privacy": "private"
|
|
5676
|
-
},
|
|
5677
|
-
{
|
|
5678
|
-
"kind": "field",
|
|
5679
|
-
"name": "topics",
|
|
5680
|
-
"type": {
|
|
5681
|
-
"text": "string[]"
|
|
5682
|
-
},
|
|
5683
|
-
"default": "[]"
|
|
5684
|
-
},
|
|
5685
|
-
{
|
|
5686
|
-
"kind": "field",
|
|
5687
|
-
"name": "user",
|
|
5688
|
-
"type": {
|
|
5689
|
-
"text": "User"
|
|
5690
|
-
}
|
|
5691
|
-
},
|
|
5692
|
-
{
|
|
5693
|
-
"kind": "field",
|
|
5694
|
-
"name": "getUISchema",
|
|
5695
|
-
"type": {
|
|
5696
|
-
"text": "UiSchema"
|
|
5697
|
-
},
|
|
5698
|
-
"readonly": true
|
|
5699
|
-
},
|
|
5700
|
-
{
|
|
5701
|
-
"kind": "method",
|
|
5702
|
-
"name": "setNotifyRouteTopics",
|
|
5703
|
-
"privacy": "public"
|
|
5704
|
-
}
|
|
5705
|
-
],
|
|
5706
|
-
"superclass": {
|
|
5707
|
-
"name": "GenesisElement",
|
|
5708
|
-
"package": "@genesislcap/web-core"
|
|
5709
|
-
},
|
|
5710
|
-
"tagName": "report-destinations",
|
|
5711
|
-
"customElement": true
|
|
5712
|
-
}
|
|
5713
|
-
],
|
|
5714
|
-
"exports": [
|
|
5714
|
+
},
|
|
5715
5715
|
{
|
|
5716
5716
|
"kind": "js",
|
|
5717
|
-
"name": "
|
|
5717
|
+
"name": "allowedTemplateFiletypes",
|
|
5718
5718
|
"declaration": {
|
|
5719
|
-
"name": "
|
|
5720
|
-
"module": "src/new/
|
|
5719
|
+
"name": "allowedTemplateFiletypes",
|
|
5720
|
+
"module": "src/new/components/shared/file-template-picker.template.ts"
|
|
5721
5721
|
}
|
|
5722
5722
|
},
|
|
5723
5723
|
{
|
|
5724
|
-
"kind": "
|
|
5725
|
-
"name": "
|
|
5724
|
+
"kind": "js",
|
|
5725
|
+
"name": "fileTemplatePicker",
|
|
5726
5726
|
"declaration": {
|
|
5727
|
-
"name": "
|
|
5728
|
-
"module": "src/new/
|
|
5727
|
+
"name": "fileTemplatePicker",
|
|
5728
|
+
"module": "src/new/components/shared/file-template-picker.template.ts"
|
|
5729
5729
|
}
|
|
5730
5730
|
}
|
|
5731
5731
|
]
|