@gooddata/sdk-ui-analytical-designer 11.67.0-alpha.3 → 11.67.0-alpha.4

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.
Files changed (152) hide show
  1. package/NOTICE +16 -233
  2. package/README.md +13 -5
  3. package/esm/Root.d.ts +0 -2
  4. package/esm/Root.d.ts.map +1 -1
  5. package/esm/Root.js +0 -4
  6. package/esm/actions/app_context_actions.d.ts.map +1 -1
  7. package/esm/actions/app_context_actions.js +2 -4
  8. package/esm/actions/dialogs_actions.d.ts +2 -2
  9. package/esm/actions/dialogs_actions.js +2 -2
  10. package/esm/components/Editor.d.ts.map +1 -1
  11. package/esm/components/Editor.js +31 -2
  12. package/esm/components/EditorHeader.d.ts +19 -1
  13. package/esm/components/EditorHeader.d.ts.map +1 -1
  14. package/esm/components/EditorHeader.js +38 -86
  15. package/esm/components/ReportDescription.d.ts +8 -1
  16. package/esm/components/ReportDescription.d.ts.map +1 -1
  17. package/esm/components/ReportDescription.js +37 -7
  18. package/esm/components/buckets/MeasureAttributeFilterOrganized.d.ts.map +1 -1
  19. package/esm/components/buckets/MeasureAttributeFilterOrganized.js +1 -1
  20. package/esm/components/buckets/MeasureDateFilter.d.ts.map +1 -1
  21. package/esm/components/buckets/MeasureDateFilter.js +1 -1
  22. package/esm/components/buckets/categories/DateDatasetsDropdown.d.ts.map +1 -1
  23. package/esm/components/filterBar/dateFilter/TimeComparisonSection/TimeComparisonTypesDropdown.d.ts.map +1 -1
  24. package/esm/components/header/CancelButton.d.ts +13 -0
  25. package/esm/components/header/CancelButton.d.ts.map +1 -0
  26. package/esm/components/header/CancelButton.js +32 -0
  27. package/esm/components/header/ClearButton.d.ts +7 -0
  28. package/esm/components/header/ClearButton.d.ts.map +1 -0
  29. package/esm/components/header/ClearButton.js +24 -0
  30. package/esm/components/header/EditorActions.d.ts +14 -0
  31. package/esm/components/header/EditorActions.d.ts.map +1 -0
  32. package/esm/components/header/EditorActions.js +71 -0
  33. package/esm/components/header/Embed/EmbedButton.d.ts +6 -1
  34. package/esm/components/header/Embed/EmbedButton.d.ts.map +1 -1
  35. package/esm/components/header/Embed/EmbedButton.js +48 -48
  36. package/esm/components/header/Embed/EmbedInsightDialogContainer.d.ts +6 -0
  37. package/esm/components/header/Embed/EmbedInsightDialogContainer.d.ts.map +1 -0
  38. package/esm/components/header/Embed/EmbedInsightDialogContainer.js +52 -0
  39. package/esm/components/header/Embed/EmbedMenu.d.ts +6 -4
  40. package/esm/components/header/Embed/EmbedMenu.d.ts.map +1 -1
  41. package/esm/components/header/Embed/EmbedMenu.js +2 -6
  42. package/esm/components/header/InsightPickerDialog.d.ts +5 -1
  43. package/esm/components/header/InsightPickerDialog.d.ts.map +1 -1
  44. package/esm/components/header/InsightPickerDialog.js +9 -29
  45. package/esm/components/header/OpenControl.d.ts +7 -0
  46. package/esm/components/header/OpenControl.d.ts.map +1 -0
  47. package/esm/components/header/OpenControl.js +69 -0
  48. package/esm/components/header/OptionsMenu/OptionsButton.d.ts +5 -1
  49. package/esm/components/header/OptionsMenu/OptionsButton.d.ts.map +1 -1
  50. package/esm/components/header/OptionsMenu/OptionsButton.js +19 -9
  51. package/esm/components/header/OptionsMenu/OptionsMenu.d.ts +8 -60
  52. package/esm/components/header/OptionsMenu/OptionsMenu.d.ts.map +1 -1
  53. package/esm/components/header/OptionsMenu/OptionsMenu.js +56 -112
  54. package/esm/components/header/OptionsMenu/OptionsMenuItem.d.ts +3 -4
  55. package/esm/components/header/OptionsMenu/OptionsMenuItem.d.ts.map +1 -1
  56. package/esm/components/header/OptionsMenu/OptionsMenuItem.js +5 -9
  57. package/esm/components/header/OptionsMenu/useOptionsProps.d.ts +26 -0
  58. package/esm/components/header/OptionsMenu/useOptionsProps.d.ts.map +1 -0
  59. package/esm/components/header/OptionsMenu/useOptionsProps.js +188 -0
  60. package/esm/components/header/SaveAsNewReportButton.d.ts +6 -1
  61. package/esm/components/header/SaveAsNewReportButton.d.ts.map +1 -1
  62. package/esm/components/header/SaveAsNewReportButton.js +20 -10
  63. package/esm/components/header/SaveReportButton.d.ts +6 -1
  64. package/esm/components/header/SaveReportButton.d.ts.map +1 -1
  65. package/esm/components/header/SaveReportButton.js +41 -18
  66. package/esm/components/header/TimezoneDialog.d.ts +1 -1
  67. package/esm/components/header/TimezoneDialog.js +1 -1
  68. package/esm/components/header/UndoRedoButtons.d.ts +7 -0
  69. package/esm/components/header/UndoRedoButtons.d.ts.map +1 -0
  70. package/esm/components/header/UndoRedoButtons.js +31 -0
  71. package/esm/components/header/VisualizationInfo.d.ts +11 -0
  72. package/esm/components/header/VisualizationInfo.d.ts.map +1 -0
  73. package/esm/components/header/VisualizationInfo.js +47 -0
  74. package/esm/components/header/VisualizationTitle.d.ts +7 -0
  75. package/esm/components/header/VisualizationTitle.d.ts.map +1 -0
  76. package/esm/components/header/VisualizationTitle.js +36 -0
  77. package/esm/components/header/VisualizationsDropdown.d.ts +5 -1
  78. package/esm/components/header/VisualizationsDropdown.d.ts.map +1 -1
  79. package/esm/components/header/VisualizationsDropdown.js +7 -33
  80. package/esm/components/header/editorHeaderContext.d.ts +20 -0
  81. package/esm/components/header/editorHeaderContext.d.ts.map +1 -0
  82. package/esm/components/header/editorHeaderContext.js +58 -0
  83. package/esm/components/header/share/InsightAccess.d.ts +30 -1
  84. package/esm/components/header/share/InsightAccess.d.ts.map +1 -1
  85. package/esm/components/header/share/InsightAccess.js +81 -18
  86. package/esm/components/header/share/InsightAccessChip.d.ts +2 -2
  87. package/esm/components/header/share/InsightAccessChip.d.ts.map +1 -1
  88. package/esm/components/header/share/InsightAccessChip.js +3 -3
  89. package/esm/embedding/AnalyticalDesignerEmbedded.d.ts +1 -1
  90. package/esm/embedding/AnalyticalDesignerEmbedded.js +1 -1
  91. package/esm/embedding/editorHeaderSlotTypes.d.ts +569 -0
  92. package/esm/embedding/editorHeaderSlotTypes.d.ts.map +1 -0
  93. package/esm/embedding/editorHeaderSlotTypes.js +2 -0
  94. package/esm/embedding/slots.d.ts +73 -0
  95. package/esm/embedding/slots.d.ts.map +1 -1
  96. package/esm/index.d.ts +1 -0
  97. package/esm/index.d.ts.map +1 -1
  98. package/esm/postMessageApi/outgoing/metrics_changed_events.d.ts +1 -1
  99. package/esm/postMessageApi/outgoing/metrics_changed_events.js +1 -1
  100. package/esm/postMessageApi/outgoing/post_event_helper.d.ts +1 -1
  101. package/esm/postMessageApi/outgoing/post_event_helper.d.ts.map +1 -1
  102. package/esm/postMessageApi/outgoing/post_event_helper.js +1 -1
  103. package/esm/postMessageApi/sagas/control_filtering_saga.js +1 -1
  104. package/esm/sdk-ui-analytical-designer.d.ts +664 -0
  105. package/esm/selectors/editor_header_selector.d.ts +225 -0
  106. package/esm/selectors/editor_header_selector.d.ts.map +1 -1
  107. package/esm/selectors/editor_header_selector.js +8 -1
  108. package/esm/selectors/insight_access_selector.d.ts +185 -4
  109. package/esm/selectors/insight_access_selector.d.ts.map +1 -1
  110. package/esm/selectors/insight_access_selector.js +5 -3
  111. package/esm/selectors/report_title_selector.d.ts +6 -6
  112. package/esm/selectors/report_title_selector.d.ts.map +1 -1
  113. package/esm/selectors/report_title_selector.js +4 -3
  114. package/esm/selectors/report_visualization_selector.d.ts +4 -0
  115. package/esm/selectors/report_visualization_selector.d.ts.map +1 -1
  116. package/esm/selectors/save_report_selector.d.ts +7 -0
  117. package/esm/selectors/save_report_selector.d.ts.map +1 -1
  118. package/esm/selectors/save_report_selector.js +11 -1
  119. package/esm/selectors/uri_selector.js +1 -1
  120. package/esm/store/app_context/app_context_slices.d.ts.map +1 -1
  121. package/esm/store/app_context/app_context_slices.js +2 -3
  122. package/esm/store/app_context/session_id_reducer.d.ts +2 -3
  123. package/esm/store/app_context/session_id_reducer.d.ts.map +1 -1
  124. package/esm/store/app_context/session_id_reducer.js +2 -3
  125. package/esm/store/intl/intl_slice.d.ts.map +1 -1
  126. package/esm/store/intl/intl_slice.js +2 -3
  127. package/esm/translations/en-US.json +8 -0
  128. package/esm/utils/browser_detect.d.ts +2 -1
  129. package/esm/utils/browser_detect.d.ts.map +1 -1
  130. package/esm/utils/browser_detect.js +21 -3
  131. package/esm/utils/dropdown.d.ts +6 -2
  132. package/esm/utils/dropdown.d.ts.map +1 -1
  133. package/esm/utils/dropdown.js +10 -3
  134. package/package.json +23 -31
  135. package/styles/css/catalog.css +2 -2
  136. package/styles/css/catalog_sidebar.css +1 -1
  137. package/styles/css/catalog_sidebar.css.map +1 -1
  138. package/styles/css/editor_canvas.css +1 -1
  139. package/styles/css/editor_header.css +16 -1
  140. package/styles/css/editor_header.css.map +1 -1
  141. package/styles/css/main.css +20 -5
  142. package/styles/css/main.css.map +1 -1
  143. package/styles/scss/catalog.scss +2 -2
  144. package/styles/scss/catalog_sidebar.scss +2 -1
  145. package/styles/scss/editor_canvas.scss +1 -1
  146. package/styles/scss/editor_header.scss +20 -1
  147. package/esm/components/ReportTitle.d.ts +0 -2
  148. package/esm/components/ReportTitle.d.ts.map +0 -1
  149. package/esm/components/ReportTitle.js +0 -51
  150. package/esm/components/header/Embed/utils.d.ts +0 -4
  151. package/esm/components/header/Embed/utils.d.ts.map +0 -1
  152. package/esm/components/header/Embed/utils.js +0 -5
package/NOTICE CHANGED
@@ -11,9 +11,9 @@ This product includes a number of subcomponents with separate copyright notices
11
11
 
12
12
  The following 3rd-party software packages may be used by or distributed with gooddata-ui-sdk. Any information relevant to third-party vendors listed below are collected using common, reasonable means.
13
13
 
14
- Date generated: 2026-11-3
14
+ Date generated: 2026-11-4
15
15
 
16
- Revision ID: 3c196b9edb690788cb6841eb3fec5a5b0e50b44b
16
+ Revision ID: 66165aa316fed09103bbac8a827d970a6afda351
17
17
 
18
18
  ================================================================================
19
19
  ================================================================================
@@ -120,8 +120,6 @@ Revision ID: 3c196b9edb690788cb6841eb3fec5a5b0e50b44b
120
120
  - @formatjs/intl (4.1.20) [MIT]
121
121
  - @formatjs/intl-localematcher (0.5.8) [MIT]
122
122
  - @formatjs/intl-localematcher (0.6.2) [MIT]
123
- - @formatjs/intl-pluralrules (1.5.9) [MIT]
124
- - @formatjs/intl-utils (2.3.0) [MIT]
125
123
  - @formatjs/ts-transformer (3.13.23) [MIT]
126
124
  - @gooddata/emailjs-mime-codec-new (3.0.2) [MIT]
127
125
  - @gooddata/maql-antlr4ts (0.7.2) [MIT, BSD-3-Clause]
@@ -163,10 +161,10 @@ Revision ID: 3c196b9edb690788cb6841eb3fec5a5b0e50b44b
163
161
  - @maplibre/mlt (1.3.0) [MIT, Apache-2.0]
164
162
  - @maplibre/vt-pbf (4.3.2) [MIT, BSD-3-Clause]
165
163
  - @marijn/find-cluster-break (1.0.4) [MIT]
166
- - @module-federation/error-codes (2.9.2) [MIT]
167
- - @module-federation/runtime (2.9.2) [MIT]
168
- - @module-federation/runtime-core (2.9.2) [MIT]
169
- - @module-federation/sdk (2.9.2) [MIT]
164
+ - @module-federation/error-codes (2.9.3) [MIT]
165
+ - @module-federation/runtime (2.9.3) [MIT]
166
+ - @module-federation/runtime-core (2.9.3) [MIT]
167
+ - @module-federation/sdk (2.9.3) [MIT]
170
168
  - @nodelib/fs.scandir (2.1.5) [MIT]
171
169
  - @nodelib/fs.stat (2.0.5) [MIT]
172
170
  - @nodelib/fs.walk (1.2.8) [MIT]
@@ -555,8 +553,6 @@ Revision ID: 3c196b9edb690788cb6841eb3fec5a5b0e50b44b
555
553
  - isarray (2.0.5) [MIT]
556
554
  - isexe (2.0.0) [ISC]
557
555
  - jiti (2.6.1) [MIT]
558
- - jquery (3.7.1) [MIT]
559
- - jquery.browser (0.1.0) [MIT]
560
556
  - js-tokens (10.0.0) [MIT]
561
557
  - js-tokens (4.0.0) [MIT]
562
558
  - js-yaml (4.3.2) [MIT]
@@ -782,7 +778,6 @@ Revision ID: 3c196b9edb690788cb6841eb3fec5a5b0e50b44b
782
778
  - run-async (3.0.0) [MIT]
783
779
  - run-parallel (1.2.0) [MIT]
784
780
  - rw (1.3.3) [BSD-3-Clause]
785
- - rxjs (6.6.7) [Apache-2.0, ISC]
786
781
  - rxjs (7.8.2) [Apache-2.0, ISC]
787
782
  - safe-buffer (5.2.1) [MIT]
788
783
  - safer-buffer (2.1.2) [MIT]
@@ -854,7 +849,6 @@ Revision ID: 3c196b9edb690788cb6841eb3fec5a5b0e50b44b
854
849
  - ts-invariant (0.10.3) [MIT]
855
850
  - ts-invariant (0.7.5) [MIT]
856
851
  - ts-morph (27.0.2) [MIT, 0BSD]
857
- - tslib (1.14.1) [ISC]
858
852
  - tslib (2.8.1) [ISC]
859
853
  - tss-react (4.9.19) [MIT]
860
854
  - type-fest (0.21.3) [Multi-license: CC0-1.0 OR MIT]
@@ -4369,60 +4363,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
4369
4363
  MIT
4370
4364
  - Copyright (c) 2023 FormatJS
4371
4365
 
4372
- --------------------------------------------------------------------------------
4373
- Package Title: @formatjs/intl-pluralrules (1.5.9)
4374
-
4375
- Package Locator: npm+@formatjs/intl-pluralrules$1.5.9
4376
-
4377
- Package Depth: Direct
4378
- --------------------------------------------------------------------------------
4379
-
4380
- * Declared Licenses *
4381
- MIT
4382
-
4383
- * License Header *
4384
- MIT License
4385
-
4386
- Copyright (c) 2019 FormatJS
4387
-
4388
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4389
-
4390
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
4391
-
4392
- 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.
4393
-
4394
-
4395
- * Copyrights *
4396
- MIT
4397
- - Copyright (c) 2019 FormatJS
4398
-
4399
- --------------------------------------------------------------------------------
4400
- Package Title: @formatjs/intl-utils (2.3.0)
4401
-
4402
- Package Locator: npm+@formatjs/intl-utils$2.3.0
4403
-
4404
- Package Depth: Transitive
4405
- --------------------------------------------------------------------------------
4406
-
4407
- * Declared Licenses *
4408
- MIT
4409
-
4410
- * License Header *
4411
- MIT License
4412
-
4413
- Copyright (c) 2019 FormatJS
4414
-
4415
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4416
-
4417
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
4418
-
4419
- 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.
4420
-
4421
-
4422
- * Copyrights *
4423
- MIT
4424
- - Copyright (c) 2019 FormatJS
4425
-
4426
4366
  --------------------------------------------------------------------------------
4427
4367
  Package Title: @formatjs/ts-transformer (3.13.23)
4428
4368
 
@@ -7783,9 +7723,9 @@ MIT
7783
7723
  - Copyright (c) 2024 by Marijn Haverbeke <marijn@haverbeke.berlin>
7784
7724
 
7785
7725
  --------------------------------------------------------------------------------
7786
- Package Title: @module-federation/error-codes (2.9.2)
7726
+ Package Title: @module-federation/error-codes (2.9.3)
7787
7727
 
7788
- Package Locator: npm+@module-federation/error-codes$2.9.2
7728
+ Package Locator: npm+@module-federation/error-codes$2.9.3
7789
7729
 
7790
7730
  Package Depth: Transitive
7791
7731
  --------------------------------------------------------------------------------
@@ -7822,9 +7762,9 @@ MIT
7822
7762
  - Copyright (c) 2020 ScriptedAlchemy LLC (Zack Jackson) Zhou Shaw (zhouxiao)
7823
7763
 
7824
7764
  --------------------------------------------------------------------------------
7825
- Package Title: @module-federation/runtime (2.9.2)
7765
+ Package Title: @module-federation/runtime (2.9.3)
7826
7766
 
7827
- Package Locator: npm+@module-federation/runtime$2.9.2
7767
+ Package Locator: npm+@module-federation/runtime$2.9.3
7828
7768
 
7829
7769
  Package Depth: Direct
7830
7770
  --------------------------------------------------------------------------------
@@ -7861,9 +7801,9 @@ MIT
7861
7801
  - Copyright (c) 2023 present zhouxiao(zhoushaw)
7862
7802
 
7863
7803
  --------------------------------------------------------------------------------
7864
- Package Title: @module-federation/runtime-core (2.9.2)
7804
+ Package Title: @module-federation/runtime-core (2.9.3)
7865
7805
 
7866
- Package Locator: npm+@module-federation/runtime-core$2.9.2
7806
+ Package Locator: npm+@module-federation/runtime-core$2.9.3
7867
7807
 
7868
7808
  Package Depth: Transitive
7869
7809
  --------------------------------------------------------------------------------
@@ -7900,9 +7840,9 @@ MIT
7900
7840
  - Copyright (c) 2023 present zhouxiao(zhoushaw)
7901
7841
 
7902
7842
  --------------------------------------------------------------------------------
7903
- Package Title: @module-federation/sdk (2.9.2)
7843
+ Package Title: @module-federation/sdk (2.9.3)
7904
7844
 
7905
- Package Locator: npm+@module-federation/sdk$2.9.2
7845
+ Package Locator: npm+@module-federation/sdk$2.9.3
7906
7846
 
7907
7847
  Package Depth: Transitive
7908
7848
  --------------------------------------------------------------------------------
@@ -12729,7 +12669,7 @@ Package Title: @types/json-stable-stringify (1.0.36)
12729
12669
 
12730
12670
  Package Locator: npm+@types/json-stable-stringify$1.0.36
12731
12671
 
12732
- Package Depth: Direct
12672
+ Package Depth: Transitive
12733
12673
  --------------------------------------------------------------------------------
12734
12674
 
12735
12675
  * Declared Licenses *
@@ -37648,79 +37588,6 @@ SOFTWARE.
37648
37588
  MIT
37649
37589
  - Copyright (c) Pooya Parsa <pooya@pi0.io>
37650
37590
 
37651
- --------------------------------------------------------------------------------
37652
- Package Title: jquery (3.7.1)
37653
-
37654
- Package Locator: npm+jquery$3.7.1
37655
-
37656
- Package Depth: Direct
37657
- --------------------------------------------------------------------------------
37658
-
37659
- * Declared Licenses *
37660
- MIT
37661
-
37662
- * License Header *
37663
- Copyright OpenJS Foundation and other contributors, https://openjsf.org/
37664
-
37665
- Permission is hereby granted, free of charge, to any person obtaining
37666
- a copy of this software and associated documentation files (the
37667
- "Software"), to deal in the Software without restriction, including
37668
- without limitation the rights to use, copy, modify, merge, publish,
37669
- distribute, sublicense, and/or sell copies of the Software, and to
37670
- permit persons to whom the Software is furnished to do so, subject to
37671
- the following conditions:
37672
-
37673
- The above copyright notice and this permission notice shall be
37674
- included in all copies or substantial portions of the Software.
37675
-
37676
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
37677
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
37678
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
37679
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
37680
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
37681
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
37682
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
37683
-
37684
-
37685
- * Copyrights *
37686
- MIT
37687
- - Copyright (c) OpenJS Foundation and other contributors, https://openjsf.org/
37688
-
37689
- --------------------------------------------------------------------------------
37690
- Package Title: jquery.browser (0.1.0)
37691
-
37692
- Package Locator: npm+jquery.browser$0.1.0
37693
-
37694
- Package Depth: Direct
37695
- --------------------------------------------------------------------------------
37696
-
37697
- * Declared Licenses *
37698
- MIT
37699
-
37700
- * License Header *
37701
- Copyright (c) 2005, 2015 jQuery Foundation, Inc. and other contributors\n * http://jquery.org/license\n *\n * Modifications Copyright <%= grunt.template.today("yyyy") %> Gabriel Cebrian\n * https://github.com/gabceb\n *\n * Released under the MIT license\n *\n * Date: <%= grunt.template.today("dd-mm-yyyy")%>\n
37702
- Permission is hereby granted, free of charge, to any person obtaining a copy
37703
- of this software and associated documentation files (the "Software"), to deal
37704
- in the Software without restriction, including without limitation the rights
37705
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
37706
- copies of the Software, and to permit persons to whom the Software is
37707
- furnished to do so, subject to the following conditions:
37708
-
37709
- The above copyright notice and this permission notice shall be included in all
37710
- copies or substantial portions of the Software.
37711
-
37712
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
37713
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
37714
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
37715
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
37716
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
37717
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
37718
- SOFTWARE.
37719
-
37720
- * Copyrights *
37721
- MIT
37722
- - Copyright (c) 2005, 2015 jQuery Foundation, Inc. and other contributors\n * http://jquery.org/license\n *\n * Modifications Copyright <%= grunt.template.today("yyyy") %> Gabriel Cebrian\n * https://github.com/gabceb\n *\n * Released under the MIT license\n *\n * Date: <%= grunt.template.today("dd-mm-yyyy")%>\n
37723
-
37724
37591
  --------------------------------------------------------------------------------
37725
37592
  Package Title: js-tokens (10.0.0)
37726
37593
 
@@ -52185,65 +52052,6 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
52185
52052
  BSD-3-Clause
52186
52053
  - Copyright (c) 2014-2016, Michael Bostock
52187
52054
 
52188
- --------------------------------------------------------------------------------
52189
- Package Title: rxjs (6.6.7)
52190
-
52191
- Package Locator: npm+rxjs$6.6.7
52192
-
52193
- Package Depth: Direct
52194
- --------------------------------------------------------------------------------
52195
-
52196
- * Declared Licenses *
52197
- Apache-2.0, ISC
52198
-
52199
- * Apache-2.0 *
52200
-
52201
- * License Header *
52202
- Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors
52203
-
52204
- Licensed under the Apache License, Version 2.0 (the "License");
52205
- you may not use this file except in compliance with the License.
52206
- You may obtain a copy of the License at
52207
-
52208
- http://www.apache.org/licenses/LICENSE-2.0
52209
-
52210
- Unless required by applicable law or agreed to in writing, software
52211
- distributed under the License is distributed on an "AS IS" BASIS,
52212
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
52213
- See the License for the specific language governing permissions and
52214
- limitations under the License.
52215
- -------------
52216
- Copyright (c) Microsoft Corporation. All rights reserved.
52217
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
52218
- this file except in compliance with the License. You may obtain a copy of the
52219
- License at http://www.apache.org/licenses/LICENSE-2.0
52220
-
52221
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
52222
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
52223
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
52224
- MERCHANTABLITY OR NON-INFRINGEMENT.
52225
-
52226
- See the Apache Version 2.0 License for specific language governing permissions
52227
- and limitations under the License.
52228
-
52229
- * ISC *
52230
-
52231
- * License Header *
52232
- /*! *****************************************************************************
52233
- Copyright (c) Microsoft Corporation.
52234
-
52235
- Permission to use, copy, modify, and/or distribute this software for any
52236
- purpose with or without fee is hereby granted.
52237
-
52238
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
52239
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
52240
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
52241
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
52242
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
52243
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
52244
- PERFORMANCE OF THIS SOFTWARE.
52245
- ***************************************************************************** */
52246
-
52247
52055
  --------------------------------------------------------------------------------
52248
52056
  Package Title: rxjs (7.8.2)
52249
52057
 
@@ -56621,31 +56429,6 @@ MIT
56621
56429
  0BSD
56622
56430
  - Copyright (c) Microsoft Corporation.
56623
56431
 
56624
- --------------------------------------------------------------------------------
56625
- Package Title: tslib (1.14.1)
56626
-
56627
- Package Locator: npm+tslib$1.14.1
56628
-
56629
- Package Depth: Transitive
56630
- --------------------------------------------------------------------------------
56631
-
56632
- * Declared Licenses *
56633
- ISC
56634
-
56635
- * License Header *
56636
- Copyright (c) Microsoft Corporation.
56637
-
56638
- Permission to use, copy, modify, and/or distribute this software for any
56639
- purpose with or without fee is hereby granted.
56640
-
56641
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
56642
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
56643
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
56644
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
56645
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
56646
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
56647
- PERFORMANCE OF THIS SOFTWARE.
56648
-
56649
56432
  --------------------------------------------------------------------------------
56650
56433
  Package Title: tslib (2.8.1)
56651
56434
 
@@ -69564,4 +69347,4 @@ MIT
69564
69347
  --------------------------------------------------------------------------------
69565
69348
  --------------------------------------------------------------------------------
69566
69349
 
69567
- Report Generated by FOSSA on 2026-11-3
69350
+ Report Generated by FOSSA on 2026-11-4
package/README.md CHANGED
@@ -153,10 +153,9 @@ Leave out `insight` to open a new insight. The AnalyticalDesigner component sect
153
153
  - **Import side effects**: importing an entry creates no router and no browser history. `Root`
154
154
  creates its router when it mounts: a `BrowserRouter` under the host's base path in the pluggable
155
155
  module, and none in hosted-component mode. AD's own modules load in Node without a
156
- DOM, but two dependencies use browser APIs when they load: `@gooddata/sdk-ui-metric-component`
157
- (through `monaco-editor`) and `jquery.browser`. `rushx validate-esm` imports both entries in
158
- Node, loads CSS and image imports as a bundler does, and replaces those two dependencies with
159
- stubs.
156
+ DOM, but one dependency uses browser APIs when it loads: `@gooddata/sdk-ui-metric-component`
157
+ (through `monaco-editor`). `rushx validate-esm` imports both entries in Node, loads CSS and
158
+ image imports as a bundler does, and replaces that dependency with a stub.
160
159
 
161
160
  - **Styles**: importing the package loads no stylesheet, and no module of the package imports one.
162
161
  Import the SDK stylesheets AD needs and then AD's `main.css` once, where AD loads, in this order so
@@ -257,7 +256,16 @@ import "@gooddata/sdk-ui-analytical-designer/styles/css/main.css";
257
256
  - **Slots**: `slots.Loading` and `slots.Error`, each a component that gets the `Default` region and
258
257
  its `defaultProps` (ADR-26-02). `Error` covers both a failed load and
259
258
  AD's own bootstrap errors.
260
- - **Not yet**: the `Header` and `MetricEditor` slots and a portal target: AD's
259
+ - **Editor header slots**: the regions `EditorHeader`, `VisualizationInfo` and `EditorActions`,
260
+ and one slot per control: `VisualizationTitle`, `VisualizationDescription`,
261
+ `VisualizationAccess`, `UndoRedo`, `Clear`, `Open`, `Cancel`, `SaveAs`, `Save`, `Embed` and
262
+ `Options`. A slot hides its region by returning `null`, replaces it with the data and guarded
263
+ callbacks in `defaultProps`, or renders `Default` with changed props or next to its own
264
+ content. A region gets its children already rendered with their slots. A control AD does
265
+ not show (permissions, `hiddenActions`, mode) does not render its slot. AD keeps the catalog
266
+ restore control and the dialogs the controls open (embed code, time zone) outside the slots,
267
+ and places the editor below the measured header height.
268
+ - **Not yet**: the `MetricEditor` slot and a portal target: AD's
261
269
  overlays open in `document.body`.
262
270
 
263
271
  The `./internal` entry exports the same component with `auth`, `externalProviderId` and an
package/esm/Root.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- import "@formatjs/intl-pluralrules";
2
- import "@formatjs/intl-pluralrules/polyfill-locales.js";
3
1
  interface IRootProps {
4
2
  basename?: string;
5
3
  initialLocation?: string;
package/esm/Root.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Root.d.ts","sourceRoot":"","sources":["../src/Root.tsx"],"names":[],"mappings":"AAEA,OAAO,4BAA4B,CAAC;AAGpC,OAAO,gDAAgD,CAAC;AAmBxD,UAAU,UAAU;IAIhB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,GAAE,UAAe,2CAgDlE"}
1
+ {"version":3,"file":"Root.d.ts","sourceRoot":"","sources":["../src/Root.tsx"],"names":[],"mappings":"AAoBA,UAAU,UAAU;IAIhB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,GAAE,UAAe,2CAgDlE"}
package/esm/Root.js CHANGED
@@ -1,9 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  // (C) 2007-2026 GoodData Corporation
3
- import "@formatjs/intl-pluralrules";
4
- // Fully-specified (.js) so strict-ESM consumers (webpack fullySpecified, e.g. the dashboards app
5
- // loading the direct-AD-embedding chunk) can resolve these extensionless-unfriendly packages.
6
- import "@formatjs/intl-pluralrules/polyfill-locales.js";
7
3
  import { useRef } from "react";
8
4
  import { DndProvider } from "@evil-internetmann/react-dnd";
9
5
  import { Provider } from "react-redux";
@@ -1 +1 @@
1
- {"version":3,"file":"app_context_actions.d.ts","sourceRoot":"","sources":["../../src/actions/app_context_actions.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAInE,MAAM,WAAW,cAAc;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG7B,IAAI,EAAE;QACF,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,iBAAiB,EAAE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";
5
4
  import { ActionTypeKeys } from "../constants/actions.js";
6
5
  import { isMobile } from "../utils/browser_detect.js";
7
6
  export const bootstrapData = createAction(ActionTypeKeys.BOOTSTRAP_DATA, (data, windowInstance = window) => {
8
- const $window = $(windowInstance);
9
- const viewportWidth = $window.width();
10
- const viewportHeight = $window.height();
7
+ // what jQuery's $(window).width() / .height() read: the viewport without its scrollbars
8
+ const { clientWidth: viewportWidth, clientHeight: viewportHeight } = windowInstance.document.documentElement;
11
9
  const windowInfo = {
12
10
  viewport: `${viewportWidth}x${viewportHeight}`,
13
11
  pixelRatio: windowInstance.devicePixelRatio || 1,
@@ -6,8 +6,8 @@ export declare const hideSaveReportDialog: import("@reduxjs/toolkit").ActionCrea
6
6
  /**
7
7
  * Opens the "name your insight before saving" confirmation dialog.
8
8
  *
9
- * @param data.saveAsNew - the confirmed save continues as save-as-new
10
- * @param data.reOpenEmbedDialog - re-open the embed-insight dialog after the save flow ends
9
+ * @param data - `saveAsNew`: the confirmed save continues as save-as-new; `reOpenEmbedDialog`: re-open
10
+ * the embed-insight dialog after the save flow ends
11
11
  */
12
12
  export declare const showDialogSavingUntitledReport: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[data: {
13
13
  saveAsNew?: boolean;
@@ -7,8 +7,8 @@ export const hideSaveReportDialog = createAction(ActionTypeKeys.SAVE_REPORT_DIAL
7
7
  /**
8
8
  * Opens the "name your insight before saving" confirmation dialog.
9
9
  *
10
- * @param data.saveAsNew - the confirmed save continues as save-as-new
11
- * @param data.reOpenEmbedDialog - re-open the embed-insight dialog after the save flow ends
10
+ * @param data - `saveAsNew`: the confirmed save continues as save-as-new; `reOpenEmbedDialog`: re-open
11
+ * the embed-insight dialog after the save flow ends
12
12
  */
13
13
  export const showDialogSavingUntitledReport = createAction(ActionTypeKeys.SHOW_DIALOG_SAVING_UNTITLED_REPORT_CONFIRMATION, (data) => ({ payload: data }));
14
14
  export const showAttributeHierarchyEditDialog = createAction(ActionTypeKeys.STORE_SHOW_ATTRIBUTE_HIERARCHY_EDIT_DIALOG, (attributeHierarchy) => ({ payload: { attributeHierarchy } }));
@@ -1 +1 @@
1
- {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/components/Editor.tsx"],"names":[],"mappings":"AAcA,UAAU,YAAY;IAClB;;OAEG;IACH,iBAAiB,EAAE,OAAO,CAAC;CAC9B;AAED,wBAAgB,MAAM,CAAC,EAAE,iBAAiB,EAAE,EAAE,YAAY,2CAiCzD"}
1
+ {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/components/Editor.tsx"],"names":[],"mappings":"AAiDA,UAAU,YAAY;IAClB;;OAEG;IACH,iBAAiB,EAAE,OAAO,CAAC;CAC9B;AAED,wBAAgB,MAAM,CAAC,EAAE,iBAAiB,EAAE,EAAE,YAAY,2CAqCzD"}
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  // (C) 2007-2026 GoodData Corporation
3
+ import { useLayoutEffect, useRef } from "react";
3
4
  import classNames from "classnames";
4
5
  import { useSelector } from "react-redux";
5
6
  import { isTopBarHidden as isTopBarHiddenSelector } from "../selectors/bootstrap_selector.js";
@@ -9,10 +10,38 @@ import { CatalogSidebar } from "./catalogSidebar/CatalogSidebar.js";
9
10
  import { useCatalogSidebar } from "./catalogSidebar/useCatalogSidebarState.js";
10
11
  import { EditorHeader } from "./EditorHeader.js";
11
12
  import { EditorMain } from "./EditorMain.js";
13
+ const HEADER_HEIGHT_VARIABLE = "--adi-editor-header-height";
14
+ /**
15
+ * Publishes the measured height of the header as a CSS variable on the editor, which places the catalog and the
16
+ * canvas below it. Written to the DOM directly, so a resize does not re-render the header slots.
17
+ */
18
+ function usePublishedHeaderHeight(editorRef, headerRef, isHeaderVisible) {
19
+ useLayoutEffect(() => {
20
+ const editor = editorRef.current;
21
+ const header = headerRef.current;
22
+ if (!editor || !header || !isHeaderVisible) {
23
+ return undefined;
24
+ }
25
+ const publish = () => editor.style.setProperty(HEADER_HEIGHT_VARIABLE, `${header.clientHeight}px`);
26
+ publish();
27
+ if (typeof ResizeObserver === "undefined") {
28
+ return () => editor.style.removeProperty(HEADER_HEIGHT_VARIABLE);
29
+ }
30
+ const observer = new ResizeObserver(publish);
31
+ observer.observe(header);
32
+ return () => {
33
+ observer.disconnect();
34
+ editor.style.removeProperty(HEADER_HEIGHT_VARIABLE);
35
+ };
36
+ }, [editorRef, headerRef, isHeaderVisible]);
37
+ }
12
38
  export function Editor({ hasCatalogSidebar }) {
13
39
  const isReportOpening = useSelector(isReportOpeningSelector);
14
40
  const isTopBarHidden = useSelector(isTopBarHiddenSelector);
15
41
  const { canCollapse, isCollapsed } = useCatalogSidebar();
42
+ const editorRef = useRef(null);
43
+ const headerRef = useRef(null);
44
+ usePublishedHeaderHeight(editorRef, headerRef, !isTopBarHidden);
16
45
  function renderMain() {
17
46
  if (isReportOpening) {
18
47
  return null;
@@ -22,9 +51,9 @@ export function Editor({ hasCatalogSidebar }) {
22
51
  function renderLoading() {
23
52
  return isReportOpening ? _jsx("div", { className: "editor-loading adi-editor-main" }, "loading") : null;
24
53
  }
25
- return (_jsxs("div", { className: classNames("adi-editor", {
54
+ return (_jsxs("div", { ref: editorRef, className: classNames("adi-editor", {
26
55
  "adi-editor--catalog-sidebar": hasCatalogSidebar,
27
56
  "adi-editor--catalog-collapsible": canCollapse,
28
57
  "adi-editor--catalog-collapsed": isCollapsed,
29
- }), children: [!isTopBarHidden && _jsx(EditorHeader, {}), _jsx(CatalogSidebar, { isEnabled: hasCatalogSidebar, children: _jsx(CatalogPanel, {}) }), renderMain(), renderLoading()] }));
58
+ }), children: [!isTopBarHidden && _jsx(EditorHeader, { containerRef: headerRef }), _jsx(CatalogSidebar, { isEnabled: hasCatalogSidebar, children: _jsx(CatalogPanel, {}) }), renderMain(), renderLoading()] }));
30
59
  }
@@ -1,2 +1,20 @@
1
- export declare function EditorHeader(): import("react/jsx-runtime").JSX.Element;
1
+ import { type Ref } from "react";
2
+ import { type IAnalyticalDesignerEditorHeaderProps } from "../embedding/editorHeaderSlotTypes.js";
3
+ interface IEditorHeaderProps {
4
+ /**
5
+ * The header element, which the editor measures to place the content below it.
6
+ */
7
+ containerRef?: Ref<HTMLDivElement>;
8
+ }
9
+ /**
10
+ * The header shell. It keeps the catalog restore control and the dialogs of the header flows outside the
11
+ * EditorHeader slot, so a host that replaces or hides the header cannot strand a collapsed catalog or break a
12
+ * flow its own controls start.
13
+ */
14
+ export declare function EditorHeader({ containerRef }: IEditorHeaderProps): import("react/jsx-runtime").JSX.Element;
15
+ /**
16
+ * Default of the EditorHeader slot: the visualization information on the left and the actions on the right.
17
+ */
18
+ export declare function DefaultEditorHeader({ visualizationInfo, editorActions, }: IAnalyticalDesignerEditorHeaderProps): import("react/jsx-runtime").JSX.Element;
19
+ export {};
2
20
  //# sourceMappingURL=EditorHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EditorHeader.d.ts","sourceRoot":"","sources":["../../src/components/EditorHeader.tsx"],"names":[],"mappings":"AA0CA,wBAAgB,YAAY,4CAwK3B"}
1
+ {"version":3,"file":"EditorHeader.d.ts","sourceRoot":"","sources":["../../src/components/EditorHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,GAAG,EAAyB,MAAM,OAAO,CAAC;AAKxD,OAAO,EAAE,KAAK,oCAAoC,EAAE,MAAM,uCAAuC,CAAC;AAWlG,UAAU,kBAAkB;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;CACtC;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAAE,YAAY,EAAE,EAAE,kBAAkB,2CAoChE;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,EAChC,iBAAiB,EACjB,aAAa,GAChB,EAAE,oCAAoC,2CAOtC"}