@gooddata/sdk-ui-analytical-designer 11.70.0-alpha.0 → 11.70.0-alpha.2
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/NOTICE +48 -81
- package/esm/components/DeleteReportDialog.d.ts.map +1 -1
- package/esm/components/DeleteReportDialog.js +2 -4
- package/esm/components/DeleteReportDialogUsageList.d.ts.map +1 -1
- package/esm/components/DeleteReportDialogUsageList.js +2 -2
- package/esm/components/DeleteReportDialogUsageListItem.d.ts +2 -4
- package/esm/components/DeleteReportDialogUsageListItem.d.ts.map +1 -1
- package/esm/components/DeleteReportDialogUsageListItem.js +3 -3
- package/esm/components/InsightUsageOnDashboards.js +3 -3
- package/esm/components/report/executionProgress/ExecutionProgressPanel.js +6 -4
- package/esm/components/report/executionProgress/ExecutionProgressSteps.d.ts +2 -1
- package/esm/components/report/executionProgress/ExecutionProgressSteps.d.ts.map +1 -1
- package/esm/components/report/executionProgress/ExecutionProgressSteps.js +10 -7
- package/esm/components/report/executionProgress/ExecutionStats.d.ts.map +1 -1
- package/esm/components/report/executionProgress/ExecutionStats.js +14 -13
- package/esm/components/report/executionProgress/timeline.d.ts +5 -1
- package/esm/components/report/executionProgress/timeline.d.ts.map +1 -1
- package/esm/components/report/executionProgress/timeline.js +19 -3
- package/esm/components/saveReportFromKD/DocumentItem.d.ts.map +1 -1
- package/esm/components/saveReportFromKD/DocumentItem.js +3 -3
- package/esm/components/saveReportFromKD/InsightUsageOnDashboardsList.js +1 -1
- package/esm/postMessageApi/outgoing/control_filtering_events.d.ts +1 -0
- package/esm/postMessageApi/outgoing/control_filtering_events.d.ts.map +1 -1
- package/esm/postMessageApi/outgoing/control_filtering_events.js +5 -0
- package/esm/postMessageApi/sagas/control_filtering_saga.d.ts.map +1 -1
- package/esm/postMessageApi/sagas/control_filtering_saga.js +7 -1
- package/esm/sagas/open_report_sagas.d.ts.map +1 -1
- package/esm/sagas/open_report_sagas.js +1 -3
- package/esm/selectors/report_visualization_selector.d.ts +0 -8
- package/esm/selectors/report_visualization_selector.d.ts.map +1 -1
- package/esm/selectors/uri_selector.d.ts +6 -1
- package/esm/selectors/uri_selector.d.ts.map +1 -1
- package/esm/selectors/uri_selector.js +4 -1
- package/esm/store/execution_progress/execution_loading_view_model.d.ts +4 -6
- package/esm/store/execution_progress/execution_loading_view_model.d.ts.map +1 -1
- package/esm/store/execution_progress/execution_loading_view_model.js +5 -9
- package/esm/store/insight_usage/insight_usage_helpers.d.ts +12 -6
- package/esm/store/insight_usage/insight_usage_helpers.d.ts.map +1 -1
- package/esm/store/insight_usage/insight_usage_helpers.js +10 -20
- package/esm/store/insight_usage/insight_usage_state.d.ts +4 -2
- package/esm/store/insight_usage/insight_usage_state.d.ts.map +1 -1
- package/esm/store/report/open_report_operation.js +1 -1
- package/esm/translations/en-US.json +4 -0
- package/esm/utils/api.d.ts +3 -3
- package/esm/utils/api.d.ts.map +1 -1
- package/esm/utils/api.js +6 -6
- package/esm/utils/sdkModelToADRep/FilterConverter.d.ts.map +1 -1
- package/esm/utils/sdkModelToADRep/FilterConverter.js +6 -2
- package/package.json +21 -21
package/NOTICE
CHANGED
|
@@ -3,11 +3,11 @@ Copyright (c) 2017-2026 GoodData Corporation
|
|
|
3
3
|
This product includes a number of subcomponents with separate copyright notices and license terms below. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license. This GoodData project does not necessarily use all the open source software referred to below and may also only use portions of a given package. With respect to the open source software listed in this document, if you (i) have any questions, (ii) wish to receive source code for packages under licenses that require their source code to be made available (such as the GNU Lesser Public License), or (iii) discover any errors or omissions in the licensing information provided, please contact us at legal@gooddata.com. Please identify in source code requests: (i) the packages for which you are requesting corresponding source, (ii) the GoodData product (including any available version) with which the package was provided; and (iii) an email address (if available) or postal address at which GoodData may contact you.
|
|
4
4
|
|
|
5
5
|
--------------------------------------------------------------------------------
|
|
6
|
-
Attribution Notice for @gooddata/sdk-ui-analytical-designer (11.70.0-alpha.
|
|
6
|
+
Attribution Notice for @gooddata/sdk-ui-analytical-designer (11.70.0-alpha.2)
|
|
7
7
|
Package License: LicenseRef-LICENSE
|
|
8
8
|
Own License File: LICENSE
|
|
9
|
-
Date generated: 2026-11-
|
|
10
|
-
Revision ID:
|
|
9
|
+
Date generated: 2026-11-20
|
|
10
|
+
Revision ID: ef6fed3dd5fa9c43ff7a6af3634fdc17c5cfc677
|
|
11
11
|
|
|
12
12
|
This notice lists the components that @gooddata/sdk-ui-analytical-designer depends on, directly or through other
|
|
13
13
|
packages, with the license and copyright information reported for each of them.
|
|
@@ -19,28 +19,28 @@ change those terms.
|
|
|
19
19
|
Dependencies
|
|
20
20
|
|
|
21
21
|
Local GoodData SDK components
|
|
22
|
-
- @gooddata/api-client-tiger (11.70.0-alpha.
|
|
23
|
-
- @gooddata/sdk-backend-base (11.70.0-alpha.
|
|
24
|
-
- @gooddata/sdk-backend-spi (11.70.0-alpha.
|
|
25
|
-
- @gooddata/sdk-backend-tiger (11.70.0-alpha.
|
|
26
|
-
- @gooddata/sdk-code-convertors (11.70.0-alpha.
|
|
27
|
-
- @gooddata/sdk-code-schemas (11.70.0-alpha.
|
|
28
|
-
- @gooddata/sdk-embedding (11.70.0-alpha.
|
|
29
|
-
- @gooddata/sdk-maql-language-server (11.70.0-alpha.
|
|
30
|
-
- @gooddata/sdk-model (11.70.0-alpha.
|
|
31
|
-
- @gooddata/sdk-pluggable-application-model (11.70.0-alpha.
|
|
32
|
-
- @gooddata/sdk-ui (11.70.0-alpha.
|
|
33
|
-
- @gooddata/sdk-ui-charts (11.70.0-alpha.
|
|
34
|
-
- @gooddata/sdk-ui-ext (11.70.0-alpha.
|
|
35
|
-
- @gooddata/sdk-ui-filters (11.70.0-alpha.
|
|
36
|
-
- @gooddata/sdk-ui-geo (11.70.0-alpha.
|
|
37
|
-
- @gooddata/sdk-ui-kit (11.70.0-alpha.
|
|
38
|
-
- @gooddata/sdk-ui-metric-component (11.70.0-alpha.
|
|
39
|
-
- @gooddata/sdk-ui-pivot (11.70.0-alpha.
|
|
40
|
-
- @gooddata/sdk-ui-semantic-search (11.70.0-alpha.
|
|
41
|
-
- @gooddata/sdk-ui-theme-provider (11.70.0-alpha.
|
|
42
|
-
- @gooddata/sdk-ui-vis-commons (11.70.0-alpha.
|
|
43
|
-
- @gooddata/util (11.70.0-alpha.
|
|
22
|
+
- @gooddata/api-client-tiger (11.70.0-alpha.2) [MIT] — Transitive
|
|
23
|
+
- @gooddata/sdk-backend-base (11.70.0-alpha.2) [MIT] — Direct
|
|
24
|
+
- @gooddata/sdk-backend-spi (11.70.0-alpha.2) [MIT] — Direct
|
|
25
|
+
- @gooddata/sdk-backend-tiger (11.70.0-alpha.2) [MIT] — Direct
|
|
26
|
+
- @gooddata/sdk-code-convertors (11.70.0-alpha.2) [MIT] — Transitive
|
|
27
|
+
- @gooddata/sdk-code-schemas (11.70.0-alpha.2) [MIT] — Transitive
|
|
28
|
+
- @gooddata/sdk-embedding (11.70.0-alpha.2) [MIT] — Direct
|
|
29
|
+
- @gooddata/sdk-maql-language-server (11.70.0-alpha.2) [MIT] — Transitive
|
|
30
|
+
- @gooddata/sdk-model (11.70.0-alpha.2) [MIT] — Direct
|
|
31
|
+
- @gooddata/sdk-pluggable-application-model (11.70.0-alpha.2) [MIT] — Direct
|
|
32
|
+
- @gooddata/sdk-ui (11.70.0-alpha.2) [MIT] — Direct
|
|
33
|
+
- @gooddata/sdk-ui-charts (11.70.0-alpha.2) [LicenseRef-LICENSE] — Transitive
|
|
34
|
+
- @gooddata/sdk-ui-ext (11.70.0-alpha.2) [LicenseRef-LICENSE] — Direct
|
|
35
|
+
- @gooddata/sdk-ui-filters (11.70.0-alpha.2) [MIT] — Direct
|
|
36
|
+
- @gooddata/sdk-ui-geo (11.70.0-alpha.2) [LicenseRef-LICENSE] — Transitive
|
|
37
|
+
- @gooddata/sdk-ui-kit (11.70.0-alpha.2) [MIT] — Direct
|
|
38
|
+
- @gooddata/sdk-ui-metric-component (11.70.0-alpha.2) [LicenseRef-LICENSE] — Direct
|
|
39
|
+
- @gooddata/sdk-ui-pivot (11.70.0-alpha.2) [LicenseRef-LICENSE] — Direct
|
|
40
|
+
- @gooddata/sdk-ui-semantic-search (11.70.0-alpha.2) [MIT] — Direct
|
|
41
|
+
- @gooddata/sdk-ui-theme-provider (11.70.0-alpha.2) [MIT] — Direct
|
|
42
|
+
- @gooddata/sdk-ui-vis-commons (11.70.0-alpha.2) [MIT] — Transitive
|
|
43
|
+
- @gooddata/util (11.70.0-alpha.2) [MIT] — Direct
|
|
44
44
|
|
|
45
45
|
External components
|
|
46
46
|
- @aaronhayes/react-use-hubspot-form (2.1.2) [MIT] — Transitive
|
|
@@ -91,7 +91,7 @@ External components
|
|
|
91
91
|
- @formatjs/intl (4.1.20) [MIT] — Transitive
|
|
92
92
|
- @gooddata/emailjs-mime-codec-new (3.0.2) [MIT] — Transitive
|
|
93
93
|
- @gooddata/maql-antlr4ts (0.7.2) [MIT, BSD-3-Clause] — Transitive
|
|
94
|
-
- @gooddata/number-formatter (2.0.0) [MIT
|
|
94
|
+
- @gooddata/number-formatter (2.0.0) [MIT] — Transitive
|
|
95
95
|
- @isaacs/nonrecursive-glob-match (1.0.3) [blueoak-1.0.0] — Transitive
|
|
96
96
|
- @jridgewell/gen-mapping (0.3.13) [MIT] — Transitive
|
|
97
97
|
- @jridgewell/resolve-uri (3.1.2) [MIT] — Transitive
|
|
@@ -480,7 +480,7 @@ Local GoodData SDK components
|
|
|
480
480
|
================================================================================
|
|
481
481
|
|
|
482
482
|
--------------------------------------------------------------------------------
|
|
483
|
-
Package Title: @gooddata/api-client-tiger (11.70.0-alpha.
|
|
483
|
+
Package Title: @gooddata/api-client-tiger (11.70.0-alpha.2)
|
|
484
484
|
Package Source: Local workspace
|
|
485
485
|
Package Depth: Transitive
|
|
486
486
|
--------------------------------------------------------------------------------
|
|
@@ -498,7 +498,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
498
498
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
499
499
|
|
|
500
500
|
--------------------------------------------------------------------------------
|
|
501
|
-
Package Title: @gooddata/sdk-backend-base (11.70.0-alpha.
|
|
501
|
+
Package Title: @gooddata/sdk-backend-base (11.70.0-alpha.2)
|
|
502
502
|
Package Source: Local workspace
|
|
503
503
|
Package Depth: Direct
|
|
504
504
|
--------------------------------------------------------------------------------
|
|
@@ -516,7 +516,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
516
516
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
517
517
|
|
|
518
518
|
--------------------------------------------------------------------------------
|
|
519
|
-
Package Title: @gooddata/sdk-backend-spi (11.70.0-alpha.
|
|
519
|
+
Package Title: @gooddata/sdk-backend-spi (11.70.0-alpha.2)
|
|
520
520
|
Package Source: Local workspace
|
|
521
521
|
Package Depth: Direct
|
|
522
522
|
--------------------------------------------------------------------------------
|
|
@@ -534,7 +534,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
534
534
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
535
535
|
|
|
536
536
|
--------------------------------------------------------------------------------
|
|
537
|
-
Package Title: @gooddata/sdk-backend-tiger (11.70.0-alpha.
|
|
537
|
+
Package Title: @gooddata/sdk-backend-tiger (11.70.0-alpha.2)
|
|
538
538
|
Package Source: Local workspace
|
|
539
539
|
Package Depth: Direct
|
|
540
540
|
--------------------------------------------------------------------------------
|
|
@@ -552,7 +552,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
552
552
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
553
553
|
|
|
554
554
|
--------------------------------------------------------------------------------
|
|
555
|
-
Package Title: @gooddata/sdk-code-convertors (11.70.0-alpha.
|
|
555
|
+
Package Title: @gooddata/sdk-code-convertors (11.70.0-alpha.2)
|
|
556
556
|
Package Source: Local workspace
|
|
557
557
|
Package Depth: Transitive
|
|
558
558
|
--------------------------------------------------------------------------------
|
|
@@ -570,7 +570,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
570
570
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
571
571
|
|
|
572
572
|
--------------------------------------------------------------------------------
|
|
573
|
-
Package Title: @gooddata/sdk-code-schemas (11.70.0-alpha.
|
|
573
|
+
Package Title: @gooddata/sdk-code-schemas (11.70.0-alpha.2)
|
|
574
574
|
Package Source: Local workspace
|
|
575
575
|
Package Depth: Transitive
|
|
576
576
|
--------------------------------------------------------------------------------
|
|
@@ -600,7 +600,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
600
600
|
SOFTWARE.
|
|
601
601
|
|
|
602
602
|
--------------------------------------------------------------------------------
|
|
603
|
-
Package Title: @gooddata/sdk-embedding (11.70.0-alpha.
|
|
603
|
+
Package Title: @gooddata/sdk-embedding (11.70.0-alpha.2)
|
|
604
604
|
Package Source: Local workspace
|
|
605
605
|
Package Depth: Direct
|
|
606
606
|
--------------------------------------------------------------------------------
|
|
@@ -618,7 +618,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
618
618
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
619
619
|
|
|
620
620
|
--------------------------------------------------------------------------------
|
|
621
|
-
Package Title: @gooddata/sdk-maql-language-server (11.70.0-alpha.
|
|
621
|
+
Package Title: @gooddata/sdk-maql-language-server (11.70.0-alpha.2)
|
|
622
622
|
Package Source: Local workspace
|
|
623
623
|
Package Depth: Transitive
|
|
624
624
|
--------------------------------------------------------------------------------
|
|
@@ -636,7 +636,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
636
636
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
637
637
|
|
|
638
638
|
--------------------------------------------------------------------------------
|
|
639
|
-
Package Title: @gooddata/sdk-model (11.70.0-alpha.
|
|
639
|
+
Package Title: @gooddata/sdk-model (11.70.0-alpha.2)
|
|
640
640
|
Package Source: Local workspace
|
|
641
641
|
Package Depth: Direct
|
|
642
642
|
--------------------------------------------------------------------------------
|
|
@@ -654,7 +654,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
654
654
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
655
655
|
|
|
656
656
|
--------------------------------------------------------------------------------
|
|
657
|
-
Package Title: @gooddata/sdk-pluggable-application-model (11.70.0-alpha.
|
|
657
|
+
Package Title: @gooddata/sdk-pluggable-application-model (11.70.0-alpha.2)
|
|
658
658
|
Package Source: Local workspace
|
|
659
659
|
Package Depth: Direct
|
|
660
660
|
--------------------------------------------------------------------------------
|
|
@@ -684,7 +684,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
684
684
|
SOFTWARE.
|
|
685
685
|
|
|
686
686
|
--------------------------------------------------------------------------------
|
|
687
|
-
Package Title: @gooddata/sdk-ui (11.70.0-alpha.
|
|
687
|
+
Package Title: @gooddata/sdk-ui (11.70.0-alpha.2)
|
|
688
688
|
Package Source: Local workspace
|
|
689
689
|
Package Depth: Direct
|
|
690
690
|
--------------------------------------------------------------------------------
|
|
@@ -702,7 +702,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
702
702
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
703
703
|
|
|
704
704
|
--------------------------------------------------------------------------------
|
|
705
|
-
Package Title: @gooddata/sdk-ui-charts (11.70.0-alpha.
|
|
705
|
+
Package Title: @gooddata/sdk-ui-charts (11.70.0-alpha.2)
|
|
706
706
|
Package Source: Local workspace
|
|
707
707
|
Package Depth: Transitive
|
|
708
708
|
--------------------------------------------------------------------------------
|
|
@@ -742,7 +742,7 @@ THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICA
|
|
|
742
742
|
10. Governing Law These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of GoodData. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and GoodData with respect to the Library and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law.
|
|
743
743
|
|
|
744
744
|
--------------------------------------------------------------------------------
|
|
745
|
-
Package Title: @gooddata/sdk-ui-ext (11.70.0-alpha.
|
|
745
|
+
Package Title: @gooddata/sdk-ui-ext (11.70.0-alpha.2)
|
|
746
746
|
Package Source: Local workspace
|
|
747
747
|
Package Depth: Direct
|
|
748
748
|
--------------------------------------------------------------------------------
|
|
@@ -782,7 +782,7 @@ THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICA
|
|
|
782
782
|
10. Governing Law These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of GoodData. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and GoodData with respect to the Library and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law.
|
|
783
783
|
|
|
784
784
|
--------------------------------------------------------------------------------
|
|
785
|
-
Package Title: @gooddata/sdk-ui-filters (11.70.0-alpha.
|
|
785
|
+
Package Title: @gooddata/sdk-ui-filters (11.70.0-alpha.2)
|
|
786
786
|
Package Source: Local workspace
|
|
787
787
|
Package Depth: Direct
|
|
788
788
|
--------------------------------------------------------------------------------
|
|
@@ -800,7 +800,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
800
800
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
801
801
|
|
|
802
802
|
--------------------------------------------------------------------------------
|
|
803
|
-
Package Title: @gooddata/sdk-ui-geo (11.70.0-alpha.
|
|
803
|
+
Package Title: @gooddata/sdk-ui-geo (11.70.0-alpha.2)
|
|
804
804
|
Package Source: Local workspace
|
|
805
805
|
Package Depth: Transitive
|
|
806
806
|
--------------------------------------------------------------------------------
|
|
@@ -840,7 +840,7 @@ THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICA
|
|
|
840
840
|
10. Governing Law These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of GoodData. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and GoodData with respect to the Library and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law.
|
|
841
841
|
|
|
842
842
|
--------------------------------------------------------------------------------
|
|
843
|
-
Package Title: @gooddata/sdk-ui-kit (11.70.0-alpha.
|
|
843
|
+
Package Title: @gooddata/sdk-ui-kit (11.70.0-alpha.2)
|
|
844
844
|
Package Source: Local workspace
|
|
845
845
|
Package Depth: Direct
|
|
846
846
|
--------------------------------------------------------------------------------
|
|
@@ -858,7 +858,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
858
858
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
859
859
|
|
|
860
860
|
--------------------------------------------------------------------------------
|
|
861
|
-
Package Title: @gooddata/sdk-ui-metric-component (11.70.0-alpha.
|
|
861
|
+
Package Title: @gooddata/sdk-ui-metric-component (11.70.0-alpha.2)
|
|
862
862
|
Package Source: Local workspace
|
|
863
863
|
Package Depth: Direct
|
|
864
864
|
--------------------------------------------------------------------------------
|
|
@@ -898,7 +898,7 @@ THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICA
|
|
|
898
898
|
10. Governing Law These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of GoodData. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and GoodData with respect to the Library and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law.
|
|
899
899
|
|
|
900
900
|
--------------------------------------------------------------------------------
|
|
901
|
-
Package Title: @gooddata/sdk-ui-pivot (11.70.0-alpha.
|
|
901
|
+
Package Title: @gooddata/sdk-ui-pivot (11.70.0-alpha.2)
|
|
902
902
|
Package Source: Local workspace
|
|
903
903
|
Package Depth: Direct
|
|
904
904
|
--------------------------------------------------------------------------------
|
|
@@ -938,7 +938,7 @@ THE FOREGOING LIMITATIONS SHALL APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICA
|
|
|
938
938
|
10. Governing Law These terms are governed by the laws of the State of California and the United States of America without regard to conflict of laws principles. You may not assign any part of this Agreement without the prior written consent of GoodData. Any attempted assignment without consent shall be void. These terms constitute the entire agreement between you and GoodData with respect to the Library and supersede all prior written or oral communications, understandings and agreements. Any waiver of these terms must be in writing to be effective. If any provision of these terms is found to be invalid or unenforceable, the remaining terms will continue to be valid and enforceable to the fullest extent permitted by law.
|
|
939
939
|
|
|
940
940
|
--------------------------------------------------------------------------------
|
|
941
|
-
Package Title: @gooddata/sdk-ui-semantic-search (11.70.0-alpha.
|
|
941
|
+
Package Title: @gooddata/sdk-ui-semantic-search (11.70.0-alpha.2)
|
|
942
942
|
Package Source: Local workspace
|
|
943
943
|
Package Depth: Direct
|
|
944
944
|
--------------------------------------------------------------------------------
|
|
@@ -956,7 +956,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
956
956
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
957
957
|
|
|
958
958
|
--------------------------------------------------------------------------------
|
|
959
|
-
Package Title: @gooddata/sdk-ui-theme-provider (11.70.0-alpha.
|
|
959
|
+
Package Title: @gooddata/sdk-ui-theme-provider (11.70.0-alpha.2)
|
|
960
960
|
Package Source: Local workspace
|
|
961
961
|
Package Depth: Direct
|
|
962
962
|
--------------------------------------------------------------------------------
|
|
@@ -974,7 +974,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
974
974
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
975
975
|
|
|
976
976
|
--------------------------------------------------------------------------------
|
|
977
|
-
Package Title: @gooddata/sdk-ui-vis-commons (11.70.0-alpha.
|
|
977
|
+
Package Title: @gooddata/sdk-ui-vis-commons (11.70.0-alpha.2)
|
|
978
978
|
Package Source: Local workspace
|
|
979
979
|
Package Depth: Transitive
|
|
980
980
|
--------------------------------------------------------------------------------
|
|
@@ -992,7 +992,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
992
992
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
993
993
|
|
|
994
994
|
--------------------------------------------------------------------------------
|
|
995
|
-
Package Title: @gooddata/util (11.70.0-alpha.
|
|
995
|
+
Package Title: @gooddata/util (11.70.0-alpha.2)
|
|
996
996
|
Package Source: Local workspace
|
|
997
997
|
Package Depth: Direct
|
|
998
998
|
--------------------------------------------------------------------------------
|
|
@@ -2802,42 +2802,9 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
2802
2802
|
|
|
2803
2803
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
2804
2804
|
|
|
2805
|
-
* Other Licenses *
|
|
2806
|
-
ISC, 0BSD
|
|
2807
|
-
|
|
2808
|
-
* ISC *
|
|
2809
|
-
|
|
2810
|
-
* License Header *
|
|
2811
|
-
ISC License
|
|
2812
|
-
Copyright (c) 2004-2010 by Internet Systems Consortium, Inc. ("ISC")
|
|
2813
|
-
Copyright (c) 1995-2003 by Internet Software Consortium
|
|
2814
|
-
Permission to use, copy, modify, and /or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
|
2815
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
2816
|
-
|
|
2817
|
-
* 0BSD *
|
|
2818
|
-
|
|
2819
|
-
* License Header *
|
|
2820
|
-
Copyright (C) 2006 by Rob Landley <rob@landley.net>
|
|
2821
|
-
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
|
|
2822
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
2823
|
-
|
|
2824
2805
|
* Copyrights *
|
|
2825
|
-
ISC
|
|
2826
|
-
- Copyright (c) 2006 Baron Schwartz <baron at sequent dot org>
|
|
2827
|
-
- Copyright (c) 2010-2023 Isaac Z. Schlueter and Contributors
|
|
2828
|
-
- Copyright (c) 2019 Apollo GraphQL
|
|
2829
|
-
- Copyright (c) Microsoft Corporation.
|
|
2830
2806
|
MIT
|
|
2831
2807
|
- Copyright (c) 2020-2026 GoodData Corporation
|
|
2832
|
-
- Copyright (c) 2006 Baron Schwartz <baron at sequent dot org>
|
|
2833
|
-
- Copyright (c) 2010-2023 Isaac Z. Schlueter and Contributors
|
|
2834
|
-
- Copyright (c) 2019 Apollo GraphQL
|
|
2835
|
-
- Copyright (c) Microsoft Corporation.
|
|
2836
|
-
0BSD
|
|
2837
|
-
- Copyright (c) 2006 Baron Schwartz <baron at sequent dot org>
|
|
2838
|
-
- Copyright (c) 2010-2023 Isaac Z. Schlueter and Contributors
|
|
2839
|
-
- Copyright (c) 2019 Apollo GraphQL
|
|
2840
|
-
- Copyright (c) Microsoft Corporation.
|
|
2841
2808
|
|
|
2842
2809
|
* Package Info *
|
|
2843
2810
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteReportDialog.d.ts","sourceRoot":"","sources":["../../src/components/DeleteReportDialog.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,aAAa,IAAI,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"DeleteReportDialog.d.ts","sourceRoot":"","sources":["../../src/components/DeleteReportDialog.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,aAAa,IAAI,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAsC/E,MAAM,WAAW,wBAAwB;IACrC,+CAA+C;IAC/C,aAAa,CAAC,EAAE,OAAO,sBAAsB,CAAC;CACjD;AAiCD,wBAAgB,kBAAkB,CAAC,EAAE,aAAsC,EAAE,EAAE,wBAAwB,kDA8FtG"}
|
|
@@ -7,7 +7,6 @@ import { useCancelablePromise } from "@gooddata/sdk-ui";
|
|
|
7
7
|
import { ConfirmDialog as ConfirmDialogComponent } from "@gooddata/sdk-ui-kit";
|
|
8
8
|
import { deleteReport } from "../actions/delete_actions.js";
|
|
9
9
|
import { hideDialog } from "../actions/dialogs_actions.js";
|
|
10
|
-
import { getUserLoginMD5 } from "../selectors/bootstrap_selector.js";
|
|
11
10
|
import { deleteReportDialogSelector } from "../selectors/dialogs_selector.js";
|
|
12
11
|
import { workspacePermissions } from "../selectors/permissions_selector.js";
|
|
13
12
|
import { EMPTY_INSIGHT_USAGE_IN_DOCUMENTS, EMPTY_INSIGHT_USAGE_ON_DASHBOARDS, getInsightUsageInDocuments, getInsightUsageOnDashboards, } from "../store/insight_usage/insight_usage_helpers.js";
|
|
@@ -30,7 +29,6 @@ function getDeleteProhibitedMessage(isUsedOnDashboards, isUsedInDocuments) {
|
|
|
30
29
|
}
|
|
31
30
|
const useReferencingObjects = (projectId, insightRef, isActive) => {
|
|
32
31
|
const permissions = useSelector(workspacePermissions);
|
|
33
|
-
const userLogin = useSelector(getUserLoginMD5);
|
|
34
32
|
return useCancelablePromise({
|
|
35
33
|
promise: async () => {
|
|
36
34
|
if (!insightRef || !isActive) {
|
|
@@ -38,13 +36,13 @@ const useReferencingObjects = (projectId, insightRef, isActive) => {
|
|
|
38
36
|
}
|
|
39
37
|
const { analyticalDashboards, documents = [] } = await getInsightReferences(projectId, insightRef);
|
|
40
38
|
const userDashboards = await getAnalyticalDashboards(projectId);
|
|
41
|
-
const accessibleDocumentIds = await loadAccessibleDocumentIds(projectId, documents,
|
|
39
|
+
const accessibleDocumentIds = await loadAccessibleDocumentIds(projectId, documents, permissions);
|
|
42
40
|
return {
|
|
43
41
|
dashboards: getInsightUsageOnDashboards(analyticalDashboards || [], userDashboards),
|
|
44
42
|
documents: getInsightUsageInDocuments(documents, accessibleDocumentIds),
|
|
45
43
|
};
|
|
46
44
|
},
|
|
47
|
-
}, [projectId, insightRef, isActive,
|
|
45
|
+
}, [projectId, insightRef, isActive, permissions]);
|
|
48
46
|
};
|
|
49
47
|
export function DeleteReportDialog({ ConfirmDialog = ConfirmDialogComponent }) {
|
|
50
48
|
const intl = useIntl();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteReportDialogUsageList.d.ts","sourceRoot":"","sources":["../../src/components/DeleteReportDialogUsageList.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,6BAA6B,EAAE,KAAK,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAC3G,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAChC,MAAM,+CAA+C,CAAC;AAuBvD,UAAU,iCAAiC;IACvC,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,qBAAqB,EAAE,wBAAwB,CAAC;IAChD,oBAAoB,EAAE,wBAAwB,CAAC;IAC/C,6BAA6B,EAAE,6BAA6B,CAAC;IAC7D,kBAAkB,EAAE,kBAAkB,CAAC;CAC1C;
|
|
1
|
+
{"version":3,"file":"DeleteReportDialogUsageList.d.ts","sourceRoot":"","sources":["../../src/components/DeleteReportDialogUsageList.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,6BAA6B,EAAE,KAAK,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAC3G,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAChC,MAAM,+CAA+C,CAAC;AAuBvD,UAAU,iCAAiC;IACvC,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,qBAAqB,EAAE,wBAAwB,CAAC;IAChD,oBAAoB,EAAE,wBAAwB,CAAC;IAC/C,6BAA6B,EAAE,6BAA6B,CAAC;IAC7D,kBAAkB,EAAE,kBAAkB,CAAC;CAC1C;AA2JD,wBAAgB,2BAA2B,CAAC,EACxC,SAAS,EACT,UAAU,EACV,qBAAqB,EACrB,oBAAoB,EACpB,6BAA6B,EAC7B,kBAAkB,GACrB,EAAE,iCAAiC,2CAmCnC"}
|
|
@@ -34,7 +34,7 @@ function ReferencedDashboardsList({ referencingDashboards, isEmbedded, analytica
|
|
|
34
34
|
const renderListOfAccessible = accessibleDashboards.length > 0;
|
|
35
35
|
const renderInaccessibleOnly = accessibleDashboards.length === 0 && inaccessibleDashboardsCount > 0;
|
|
36
36
|
const renderAlsoInaccessible = accessibleDashboards.length > 0 && inaccessibleDashboardsCount > 0;
|
|
37
|
-
return (_jsxs(_Fragment, { children: [renderListOfAccessible ? (_jsx("ul", { className: "gd-delete-report-dialog-usage-list", children: accessibleDashboards.map(({ id, title }) => (_jsx(DeleteReportDialogUsageListItem, {
|
|
37
|
+
return (_jsxs(_Fragment, { children: [renderListOfAccessible ? (_jsx("ul", { className: "gd-delete-report-dialog-usage-list", children: accessibleDashboards.map(({ id, title }) => (_jsx(DeleteReportDialogUsageListItem, { title: title, href: isEmbedded ? undefined : analyticalDashboardUriFactory(id) }, id))) })) : null, renderAlsoInaccessible ? (_jsx(InaccessibleMessage, { message: messages.inaccessibleDashboards, count: inaccessibleDashboardsCount })) : null, renderInaccessibleOnly ? (_jsx(OnlyInaccessibleMessage, { message: messages.inaccessibleDashboardsOnly, count: inaccessibleDashboardsCount })) : null] }));
|
|
38
38
|
}
|
|
39
39
|
function InaccessibleMessage({ message, count }) {
|
|
40
40
|
return (_jsx("div", { className: "gd-delete-report-dialog-usage-inaccessible s-delete-report-dialog-usage-inaccessible", children: _jsx(FormattedMessage, { ...message, values: { count, b: (chunks) => _jsx("b", { children: chunks }) } }) }));
|
|
@@ -44,7 +44,7 @@ function OnlyInaccessibleMessage({ message, count }) {
|
|
|
44
44
|
}
|
|
45
45
|
function ReferencedDocumentsList({ isEmbedded, referencingDocuments, documentUriFactory, }) {
|
|
46
46
|
const { accessibleDocuments, inaccessibleDocumentsCount } = referencingDocuments;
|
|
47
|
-
return (_jsxs(_Fragment, { children: [accessibleDocuments.length > 0 ? (_jsx("ul", { className: "gd-delete-report-dialog-usage-list", children: accessibleDocuments.map((
|
|
47
|
+
return (_jsxs(_Fragment, { children: [accessibleDocuments.length > 0 ? (_jsx("ul", { className: "gd-delete-report-dialog-usage-list", children: accessibleDocuments.map((item) => (_jsx(DeleteReportDialogUsageListItem, { title: item.title, href: isEmbedded ? undefined : documentUriFactory(item) }, `${item.type}/${item.id}`))) })) : null, accessibleDocuments.length > 0 && inaccessibleDocumentsCount > 0 ? (_jsx(InaccessibleMessage, { message: messages.inaccessibleDocuments, count: inaccessibleDocumentsCount })) : null, accessibleDocuments.length === 0 ? (_jsx(OnlyInaccessibleMessage, { message: messages.inaccessibleDocumentsOnly, count: inaccessibleDocumentsCount })) : null] }));
|
|
48
48
|
}
|
|
49
49
|
export function DeleteReportDialogUsageList({ isLoading, isEmbedded, referencingDashboards, referencingDocuments, analyticalDashboardUriFactory, documentUriFactory, }) {
|
|
50
50
|
if (isLoading) {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
interface IDeleteReportDialogUsageListItemProps {
|
|
2
|
-
id: string;
|
|
3
2
|
title: string;
|
|
4
|
-
|
|
5
|
-
uriFactory: (id: string) => string;
|
|
3
|
+
href?: string;
|
|
6
4
|
}
|
|
7
|
-
export declare function DeleteReportDialogUsageListItem({
|
|
5
|
+
export declare function DeleteReportDialogUsageListItem({ title, href }: IDeleteReportDialogUsageListItemProps): import("react/jsx-runtime").JSX.Element;
|
|
8
6
|
export {};
|
|
9
7
|
//# sourceMappingURL=DeleteReportDialogUsageListItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteReportDialogUsageListItem.d.ts","sourceRoot":"","sources":["../../src/components/DeleteReportDialogUsageListItem.tsx"],"names":[],"mappings":"AAEA,UAAU,qCAAqC;IAC3C,
|
|
1
|
+
{"version":3,"file":"DeleteReportDialogUsageListItem.d.ts","sourceRoot":"","sources":["../../src/components/DeleteReportDialogUsageListItem.tsx"],"names":[],"mappings":"AAEA,UAAU,qCAAqC;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,+BAA+B,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,qCAAqC,2CA2BrG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
export function DeleteReportDialogUsageListItem({
|
|
3
|
-
if (
|
|
2
|
+
export function DeleteReportDialogUsageListItem({ title, href }) {
|
|
3
|
+
if (!href) {
|
|
4
4
|
return (_jsx("li", { children: _jsx("div", { className: "gd-delete-report-dialog-usage-list-item s-delete-report-dialog-usage-list-item", children: _jsx("span", { className: "gd-delete-report-dialog-usage-list-item-text", title: title, children: title }) }) }));
|
|
5
5
|
}
|
|
6
|
-
return (_jsx("li", { children: _jsxs("a", { className: "gd-delete-report-dialog-usage-list-item s-delete-report-dialog-usage-list-item", href:
|
|
6
|
+
return (_jsx("li", { children: _jsxs("a", { className: "gd-delete-report-dialog-usage-list-item s-delete-report-dialog-usage-list-item", href: href, rel: "noopener noreferrer", target: "_blank", children: [_jsx("span", { className: "gd-delete-report-dialog-usage-list-item-link", title: title, children: title }), _jsx("span", { className: "gd-delete-report-dialog-usage-list-item-icon" })] }) }));
|
|
7
7
|
}
|
|
@@ -20,8 +20,8 @@ function DashboardItem({ dashboard, sourceDashboardIdentifier, isEmbedded, analy
|
|
|
20
20
|
return (_jsx(UsageItem, { title: title, icon: "dashboard", href: isLinkable ? `${window.location.origin}${analyticalDashboardUriFactory(id)}` : undefined, className: classNames("s-usage-item", { "editing-now": isEditingNow }), suffix: isEditingNow ? _jsx(FormattedMessage, { id: "dashboard.editing.now" }) : undefined }));
|
|
21
21
|
}
|
|
22
22
|
function DocumentItem({ item, isEmbedded, documentUriFactory }) {
|
|
23
|
-
const
|
|
24
|
-
return (_jsx(UsageItem, { title: title, icon: "report", href:
|
|
23
|
+
const uri = isEmbedded ? undefined : documentUriFactory(item);
|
|
24
|
+
return (_jsx(UsageItem, { title: item.title, icon: "report", href: uri ? `${window.location.origin}${uri}` : undefined, className: "s-usage-document-item" }));
|
|
25
25
|
}
|
|
26
26
|
function UsageGroup({ title, className, children }) {
|
|
27
27
|
const [isExpanded, setExpanded] = useState(true);
|
|
@@ -46,7 +46,7 @@ function DashboardItemsDialog({ onClose, insightUsageOnDashboard, documents, sou
|
|
|
46
46
|
const headerId = useId();
|
|
47
47
|
const renderInaccessibleOnly = accessibleDashboards.length === 0 && inaccessibleDashboardsCount > 0;
|
|
48
48
|
const renderAlsoInaccessible = accessibleDashboards.length > 0 && inaccessibleDashboardsCount > 0;
|
|
49
|
-
return (_jsx(Overlay, { alignTo: ".gd-insight-usage-on-dashboards", alignPoints: [{ align: "bl tl" }], closeOnMouseDrag: true, closeOnOutsideClick: true, closeOnEscape: true, onClose: onClose, className: "gd-insight-usages-overlay s-insight-usages-overlay", children: _jsx(UiFocusManager, { enableAutofocus: true, enableReturnFocusOnUnmount: true, children: _jsxs("div", { className: "gd-insight-usages-dialog", role: "dialog", "aria-labelledby": headerId, tabIndex: 0, children: [_jsx(UiSubmenuHeader, { title: intl.formatMessage({ id: "insight.usages.overlay.header" }), titleId: headerId, height: "medium" }), _jsxs("div", { className: "gd-usages-overlay-body s-usages-overlay-body", children: [allDashboardsCount > 0 ? (_jsxs(UsageGroup, { className: "s-usages-group-dashboards", title: _jsx(FormattedMessage, { id: "insight.usages.overlay.group.dashboards", values: { count: allDashboardsCount } }), children: [accessibleDashboards.length > 0 ? (_jsx("ul", { className: "gd-usages-group-items", role: "list", children: accessibleDashboards.map((dashboard) => (_jsx(DashboardItem, { dashboard: dashboard, isEmbedded: isEmbedded, sourceDashboardIdentifier: sourceDashboardIdentifier, analyticalDashboardUriFactory: analyticalDashboardUriFactory }, dashboard.id))) })) : null, renderAlsoInaccessible ? (_jsx(InaccessibleMessage, { message: inaccessibleMessages.dashboards, count: inaccessibleDashboardsCount, className: "s-usages-inaccessible-dashboards" })) : null, renderInaccessibleOnly ? (_jsx(OnlyInaccessibleMessage, { message: inaccessibleMessages.dashboardsOnly, count: inaccessibleDashboardsCount, className: "s-usages-inaccessible-dashboards-only" })) : null] })) : null, documents.allDocumentsCount > 0 ? (_jsxs(UsageGroup, { className: "s-usages-group-documents", title: _jsx(FormattedMessage, { id: "insight.usages.overlay.group.documents", values: { count: documents.allDocumentsCount } }), children: [documents.accessibleDocuments.length > 0 ? (_jsx("ul", { className: "gd-usages-group-items", role: "list", children: documents.accessibleDocuments.map((item) => (_jsx(DocumentItem, { item: item, isEmbedded: isEmbedded, documentUriFactory: documentUriFactory }, item.id))) })) : null, documents.accessibleDocuments.length > 0 &&
|
|
49
|
+
return (_jsx(Overlay, { alignTo: ".gd-insight-usage-on-dashboards", alignPoints: [{ align: "bl tl" }], closeOnMouseDrag: true, closeOnOutsideClick: true, closeOnEscape: true, onClose: onClose, className: "gd-insight-usages-overlay s-insight-usages-overlay", children: _jsx(UiFocusManager, { enableAutofocus: true, enableReturnFocusOnUnmount: true, children: _jsxs("div", { className: "gd-insight-usages-dialog", role: "dialog", "aria-labelledby": headerId, tabIndex: 0, children: [_jsx(UiSubmenuHeader, { title: intl.formatMessage({ id: "insight.usages.overlay.header" }), titleId: headerId, height: "medium" }), _jsxs("div", { className: "gd-usages-overlay-body s-usages-overlay-body", children: [allDashboardsCount > 0 ? (_jsxs(UsageGroup, { className: "s-usages-group-dashboards", title: _jsx(FormattedMessage, { id: "insight.usages.overlay.group.dashboards", values: { count: allDashboardsCount } }), children: [accessibleDashboards.length > 0 ? (_jsx("ul", { className: "gd-usages-group-items", role: "list", children: accessibleDashboards.map((dashboard) => (_jsx(DashboardItem, { dashboard: dashboard, isEmbedded: isEmbedded, sourceDashboardIdentifier: sourceDashboardIdentifier, analyticalDashboardUriFactory: analyticalDashboardUriFactory }, dashboard.id))) })) : null, renderAlsoInaccessible ? (_jsx(InaccessibleMessage, { message: inaccessibleMessages.dashboards, count: inaccessibleDashboardsCount, className: "s-usages-inaccessible-dashboards" })) : null, renderInaccessibleOnly ? (_jsx(OnlyInaccessibleMessage, { message: inaccessibleMessages.dashboardsOnly, count: inaccessibleDashboardsCount, className: "s-usages-inaccessible-dashboards-only" })) : null] })) : null, documents.allDocumentsCount > 0 ? (_jsxs(UsageGroup, { className: "s-usages-group-documents", title: _jsx(FormattedMessage, { id: "insight.usages.overlay.group.documents", values: { count: documents.allDocumentsCount } }), children: [documents.accessibleDocuments.length > 0 ? (_jsx("ul", { className: "gd-usages-group-items", role: "list", children: documents.accessibleDocuments.map((item) => (_jsx(DocumentItem, { item: item, isEmbedded: isEmbedded, documentUriFactory: documentUriFactory }, `${item.type}/${item.id}`))) })) : null, documents.accessibleDocuments.length > 0 &&
|
|
50
50
|
documents.inaccessibleDocumentsCount > 0 ? (_jsx(InaccessibleMessage, { message: inaccessibleMessages.documents, count: documents.inaccessibleDocumentsCount, className: "s-usages-inaccessible-documents" })) : null, documents.accessibleDocuments.length === 0 ? (_jsx(OnlyInaccessibleMessage, { message: inaccessibleMessages.documentsOnly, count: documents.inaccessibleDocumentsCount, className: "s-usages-inaccessible-documents-only" })) : null] })) : null] })] }) }) }));
|
|
51
51
|
}
|
|
52
52
|
function getUsageLabel(intl, dashboardsCount, documentsCount) {
|
|
@@ -5,11 +5,11 @@ import classNames from "classnames";
|
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
6
|
import { useSelector } from "react-redux";
|
|
7
7
|
import { UiAiThinkingIcon, UiIconButton } from "@gooddata/sdk-ui-kit";
|
|
8
|
-
import { advanceStepReveal, buildExecutionLoadingViewModel, initialStepRevealState,
|
|
8
|
+
import { advanceStepReveal, buildExecutionLoadingViewModel, initialStepRevealState, loadingStepDurationMs, nextStepRevealAt, revealedLoadingSteps, } from "../../../store/execution_progress/execution_loading_view_model.js";
|
|
9
9
|
import { getExecutionProgressViewModel } from "../../../store/execution_progress/execution_progress_selectors.js";
|
|
10
10
|
import { ReportComputing } from "../ReportComputing.js";
|
|
11
11
|
import { dataSourceLabel } from "./ExecutionProgressSteps.js";
|
|
12
|
-
import { computeGanttBars } from "./timeline.js";
|
|
12
|
+
import { computeGanttBars, formatStepDuration } from "./timeline.js";
|
|
13
13
|
/** no progress event by then: the generic spinner is shown instead */
|
|
14
14
|
const NO_EVENT_FALLBACK_MS = 1500;
|
|
15
15
|
/** the stream may lag behind a settled report execution at most this long */
|
|
@@ -111,7 +111,8 @@ function LoadingSteps({ steps, serverNow }) {
|
|
|
111
111
|
}
|
|
112
112
|
function LoadingStep({ step, serverNow }) {
|
|
113
113
|
const intl = useIntl();
|
|
114
|
-
const
|
|
114
|
+
const durationMs = loadingStepDurationMs(step, serverNow);
|
|
115
|
+
const duration = durationMs === undefined ? undefined : formatStepDuration(intl, durationMs);
|
|
115
116
|
const label = loadingStepLabel(intl, step);
|
|
116
117
|
return (_jsxs("li", { className: classNames("adi-execution-progress-step", "s-execution-progress-step", `s-execution-progress-step-${step.kind}`, `is-${step.state}`), "data-step": step.kind, "data-state": step.state, children: [_jsxs("div", { className: "adi-execution-progress-step-row", children: [_jsx("span", { className: "adi-execution-progress-step-marker", "aria-hidden": "true", children: _jsx("span", { className: "adi-execution-progress-dot" }) }), _jsx("span", { className: "adi-execution-progress-step-label", title: label, children: label }), _jsx("span", { className: "adi-execution-progress-step-duration s-execution-progress-step-duration", children: duration ?? "" })] }), step.kind === "query" && step.sources && step.sources.length > 1 ? (_jsx(LoadingSources, { step: step, serverNow: serverNow })) : null] }));
|
|
117
118
|
}
|
|
@@ -148,7 +149,8 @@ function LoadingSources({ step, serverNow }) {
|
|
|
148
149
|
: undefined;
|
|
149
150
|
return (_jsxs("div", { className: "adi-execution-progress-federation", children: [waitingOn ? (_jsx("div", { className: "adi-execution-progress-waiting s-execution-progress-waiting", title: waitingOn, children: waitingOn })) : null, _jsx("ul", { className: "adi-execution-progress-sources", children: sources.map((source) => {
|
|
150
151
|
const bar = bars.get(source.resultId);
|
|
151
|
-
const
|
|
152
|
+
const durationMs = loadingStepDurationMs(source, serverNow);
|
|
153
|
+
const duration = durationMs === undefined ? undefined : formatStepDuration(intl, durationMs);
|
|
152
154
|
const name = source.dataSourceId
|
|
153
155
|
? dataSourceLabel(source.dataSourceId, source.dataSourceName)
|
|
154
156
|
: source.resultId;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type IntlShape } from "react-intl";
|
|
1
2
|
import { type ExecutionCacheSaving, type IExecutionProgressStepViewModel } from "../../../store/execution_progress/execution_progress_view_model.js";
|
|
2
3
|
/** the largest whole unit of a time span in the past, e.g. [-2, "hour"] */
|
|
3
4
|
export declare function toRelativeTime(agoMs: number): [number, Intl.RelativeTimeFormatUnit];
|
|
@@ -8,7 +9,7 @@ export declare function ExecutionProgressSteps({ steps, serverNow, }: {
|
|
|
8
9
|
/** the display name of a data source; its id when the backend could not resolve the name */
|
|
9
10
|
export declare function dataSourceLabel(dataSourceId: string, dataSourceName?: string): string;
|
|
10
11
|
/** the original end-to-end time; "~" when it ends before the post-processing */
|
|
11
|
-
export declare function formatOriginalTotal(totalDurationMs: number, approximate?: boolean): string;
|
|
12
|
+
export declare function formatOriginalTotal(intl: IntlShape, totalDurationMs: number, approximate?: boolean): string;
|
|
12
13
|
/** what a cache hit saved: the time when it is meaningful, otherwise the queries not run */
|
|
13
14
|
export declare function CacheSaving({ saving, className }: {
|
|
14
15
|
saving: ExecutionCacheSaving;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExecutionProgressSteps.d.ts","sourceRoot":"","sources":["../../../../src/components/report/executionProgress/ExecutionProgressSteps.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ExecutionProgressSteps.d.ts","sourceRoot":"","sources":["../../../../src/components/report/executionProgress/ExecutionProgressSteps.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAoB,KAAK,SAAS,EAAW,MAAM,YAAY,CAAC;AAEvE,OAAO,EACH,KAAK,oBAAoB,EAEzB,KAAK,+BAA+B,EACvC,MAAM,oEAAoE,CAAC;AAc5E,2EAA2E;AAC3E,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,sBAAsB,CAAC,CAInF;AAED,wBAAgB,sBAAsB,CAAC,EACnC,KAAK,EACL,SAAS,GACZ,EAAE;IACC,KAAK,EAAE,+BAA+B,EAAE,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC;CACrB,2CA6BA;AA6LD,4FAA4F;AAC5F,wBAAgB,eAAe,CAAC,YAAY,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,CAErF;AAED,gFAAgF;AAChF,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,CAE3G;AAoDD,4FAA4F;AAC5F,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE;IAAE,MAAM,EAAE,oBAAoB,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,2CAoBrG"}
|
|
@@ -22,8 +22,9 @@ export function ExecutionProgressSteps({ steps, serverNow, }) {
|
|
|
22
22
|
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "adi-execution-progress-timeline", "aria-hidden": "true", children: segments.map((segment) => (_jsx("div", { className: classNames("adi-execution-progress-timeline-segment", `is-${segment.id}`, `is-${stateByKind.get(segment.id)}`), style: { width: `${segment.widthPct}%` } }, segment.id))) }), _jsx("ol", { className: "adi-execution-progress-steps", children: steps.map((step) => (_jsx(Step, { step: step, serverNow: serverNow }, step.kind))) })] }));
|
|
23
23
|
}
|
|
24
24
|
function Step({ step, serverNow }) {
|
|
25
|
+
const intl = useIntl();
|
|
25
26
|
const durationMs = step.startedAt === undefined ? undefined : (step.finishedAt ?? serverNow) - step.startedAt;
|
|
26
|
-
return (_jsxs("li", { className: classNames("adi-execution-progress-step", "s-execution-progress-step", `s-execution-progress-step-${step.kind}`, `is-${step.state}`), "data-step": step.kind, "data-state": step.state, children: [_jsxs("div", { className: "adi-execution-progress-step-row", children: [_jsx("span", { className: "adi-execution-progress-step-indicator", "aria-hidden": "true" }), _jsx("span", { className: "adi-execution-progress-step-label", children: _jsx(StepLabel, { step: step }) }), step.state === "running" && step.kind === "federation" ? _jsx(WaitingOn, { step: step }) : null, _jsx("span", { className: "adi-execution-progress-step-duration", children: durationMs === undefined ? "" : formatDuration(durationMs) })] }), step.kind === "federation" && step.sources ? (_jsx(FederationSources, { step: step, serverNow: serverNow })) : null, step.kind === "query" && step.state === "done" && step.queryBreakdown ? (_jsx(QueryBreakdown, { breakdown: step.queryBreakdown })) : null] }));
|
|
27
|
+
return (_jsxs("li", { className: classNames("adi-execution-progress-step", "s-execution-progress-step", `s-execution-progress-step-${step.kind}`, `is-${step.state}`), "data-step": step.kind, "data-state": step.state, children: [_jsxs("div", { className: "adi-execution-progress-step-row", children: [_jsx("span", { className: "adi-execution-progress-step-indicator", "aria-hidden": "true" }), _jsx("span", { className: "adi-execution-progress-step-label", children: _jsx(StepLabel, { step: step }) }), step.state === "running" && step.kind === "federation" ? _jsx(WaitingOn, { step: step }) : null, _jsx("span", { className: "adi-execution-progress-step-duration", children: durationMs === undefined ? "" : formatDuration(intl, durationMs) })] }), step.kind === "federation" && step.sources ? (_jsx(FederationSources, { step: step, serverNow: serverNow })) : null, step.kind === "query" && step.state === "done" && step.queryBreakdown ? (_jsx(QueryBreakdown, { breakdown: step.queryBreakdown })) : null] }));
|
|
27
28
|
}
|
|
28
29
|
function StepLabel({ step }) {
|
|
29
30
|
switch (step.kind) {
|
|
@@ -78,9 +79,9 @@ function FederationSources({ step, serverNow, }) {
|
|
|
78
79
|
? intl.formatMessage({ id: "executionProgress.source.cacheHit" })
|
|
79
80
|
: durationMs === undefined
|
|
80
81
|
? ""
|
|
81
|
-
: formatDuration(durationMs), source.queuedMs === undefined
|
|
82
|
+
: formatDuration(intl, durationMs), source.queuedMs === undefined
|
|
82
83
|
? ""
|
|
83
|
-
: ` · ${intl.formatMessage({ id: "executionProgress.source.queued" }, { duration: formatDuration(source.queuedMs) })}`] })] }, source.resultId));
|
|
84
|
+
: ` · ${intl.formatMessage({ id: "executionProgress.source.queued" }, { duration: formatDuration(intl, source.queuedMs) })}`] })] }, source.resultId));
|
|
84
85
|
}) }));
|
|
85
86
|
}
|
|
86
87
|
/** the display name of a data source; its id when the backend could not resolve the name */
|
|
@@ -88,8 +89,8 @@ export function dataSourceLabel(dataSourceId, dataSourceName) {
|
|
|
88
89
|
return dataSourceName || dataSourceId;
|
|
89
90
|
}
|
|
90
91
|
/** the original end-to-end time; "~" when it ends before the post-processing */
|
|
91
|
-
export function formatOriginalTotal(totalDurationMs, approximate) {
|
|
92
|
-
return `${approximate ? "~" : ""}${formatDuration(totalDurationMs)}`;
|
|
92
|
+
export function formatOriginalTotal(intl, totalDurationMs, approximate) {
|
|
93
|
+
return `${approximate ? "~" : ""}${formatDuration(intl, totalDurationMs)}`;
|
|
93
94
|
}
|
|
94
95
|
const QUERY_PARTS = [
|
|
95
96
|
{ part: "waiting", key: "waitingMs", label: _jsx(FormattedMessage, { id: "executionProgress.query.waiting" }) },
|
|
@@ -106,6 +107,7 @@ const QUERY_PARTS = [
|
|
|
106
107
|
];
|
|
107
108
|
/** where the time of the finished query went: the parts add up to the step's duration */
|
|
108
109
|
function QueryBreakdown({ breakdown }) {
|
|
110
|
+
const intl = useIntl();
|
|
109
111
|
const totalMs = breakdown.waitingMs + breakdown.databaseMs + breakdown.transferMs;
|
|
110
112
|
let offsetMs = 0;
|
|
111
113
|
return (_jsx("ul", { className: "adi-execution-progress-sources adi-execution-progress-query-breakdown s-execution-progress-query-breakdown", children: QUERY_PARTS.map(({ part, key, label }) => {
|
|
@@ -113,10 +115,11 @@ function QueryBreakdown({ breakdown }) {
|
|
|
113
115
|
const offsetPct = totalMs > 0 ? (offsetMs / totalMs) * 100 : 0;
|
|
114
116
|
const widthPct = totalMs > 0 ? Math.max((durationMs / totalMs) * 100, 0.5) : 0;
|
|
115
117
|
offsetMs += durationMs;
|
|
116
|
-
return (_jsxs("li", { className: `adi-execution-progress-source adi-execution-progress-query-part is-${part} s-execution-progress-query-part`, "data-part": part, "data-duration-ms": durationMs, children: [_jsx("span", { className: "adi-execution-progress-source-name", children: label }), _jsx("span", { className: "adi-execution-progress-source-track", children: _jsx("span", { className: "adi-execution-progress-source-bar", style: { left: `${Math.min(offsetPct, 99.5)}%`, width: `${widthPct}%` } }) }), _jsx("span", { className: "adi-execution-progress-source-duration", children: formatDuration(durationMs) })] }, part));
|
|
118
|
+
return (_jsxs("li", { className: `adi-execution-progress-source adi-execution-progress-query-part is-${part} s-execution-progress-query-part`, "data-part": part, "data-duration-ms": durationMs, children: [_jsx("span", { className: "adi-execution-progress-source-name", children: label }), _jsx("span", { className: "adi-execution-progress-source-track", children: _jsx("span", { className: "adi-execution-progress-source-bar", style: { left: `${Math.min(offsetPct, 99.5)}%`, width: `${widthPct}%` } }) }), _jsx("span", { className: "adi-execution-progress-source-duration", children: formatDuration(intl, durationMs) })] }, part));
|
|
117
119
|
}) }));
|
|
118
120
|
}
|
|
119
121
|
/** what a cache hit saved: the time when it is meaningful, otherwise the queries not run */
|
|
120
122
|
export function CacheSaving({ saving, className }) {
|
|
121
|
-
|
|
123
|
+
const intl = useIntl();
|
|
124
|
+
return (_jsx("div", { className: classNames("adi-execution-progress-original-saved", className), "data-saved-ms": saving.kind === "time" ? saving.savedMs : undefined, children: saving.kind === "time" ? (_jsx(FormattedMessage, { id: "executionProgress.original.saved", values: { duration: formatOriginalTotal(intl, saving.savedMs, saving.approximate) } })) : (_jsx(FormattedMessage, { id: "executionProgress.original.savedQueries", values: { count: saving.count } })) }));
|
|
122
125
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExecutionStats.d.ts","sourceRoot":"","sources":["../../../../src/components/report/executionProgress/ExecutionStats.tsx"],"names":[],"mappings":"AAuBA,MAAM,WAAW,oBAAoB;IACjC,kBAAkB,EAAE,OAAO,CAAC;CAC/B;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAAE,kBAAkB,EAAE,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"ExecutionStats.d.ts","sourceRoot":"","sources":["../../../../src/components/report/executionProgress/ExecutionStats.tsx"],"names":[],"mappings":"AAuBA,MAAM,WAAW,oBAAoB;IACjC,kBAAkB,EAAE,OAAO,CAAC;CAC/B;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAAE,kBAAkB,EAAE,EAAE,oBAAoB,kDAoE1E"}
|