@gooddata/sdk-ui-dashboard 11.47.0-alpha.1 → 11.47.0-alpha.3

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 (151) hide show
  1. package/NOTICE +5 -5
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/_staging/automation/index.d.ts +7 -1
  5. package/esm/_staging/automation/index.d.ts.map +1 -1
  6. package/esm/_staging/automation/index.js +8 -0
  7. package/esm/index.d.ts +1 -1
  8. package/esm/index.d.ts.map +1 -1
  9. package/esm/index.js +1 -1
  10. package/esm/kdaDialog/composition/hooks/useDataViewWithConfig.d.ts.map +1 -1
  11. package/esm/kdaDialog/composition/hooks/useDataViewWithConfig.js +11 -1
  12. package/esm/model/commandHandlers/dashboard/common/parameterHydration.d.ts.map +1 -1
  13. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  14. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +5 -5
  15. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadDashboardParameters.d.ts +1 -1
  16. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadDashboardParameters.d.ts.map +1 -1
  17. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadDashboardParameters.js +4 -3
  18. package/esm/model/commandHandlers/filterContext/filterViewParameters.d.ts +2 -2
  19. package/esm/model/commandHandlers/filterContext/filterViewParameters.d.ts.map +1 -1
  20. package/esm/model/commandHandlers/filterContext/filterViewParameters.js +6 -11
  21. package/esm/model/store/config/configSelectors.d.ts +6 -6
  22. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  23. package/esm/model/store/config/configSelectors.js +8 -8
  24. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +43 -10
  25. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
  26. package/esm/model/store/tabs/parameters/parametersHelpers.js +66 -27
  27. package/esm/model/store/tabs/parameters/parametersReducers.d.ts +3 -3
  28. package/esm/model/store/tabs/parameters/parametersReducers.d.ts.map +1 -1
  29. package/esm/model/store/tabs/parameters/parametersReducers.js +1 -1
  30. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +25 -4
  31. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
  32. package/esm/model/store/tabs/parameters/parametersSelectors.js +59 -28
  33. package/esm/model/store/tabs/parameters/parametersState.d.ts +2 -2
  34. package/esm/model/store/tabs/parameters/parametersState.d.ts.map +1 -1
  35. package/esm/presentation/automations/connectors/hooks/useBuildAlertingDialogContext.js +2 -2
  36. package/esm/presentation/automations/connectors/hooks/useBuildAlertingDialogContext.test.js +1 -1
  37. package/esm/presentation/automations/connectors/hooks/useBuildScheduledEmailDialogContext.js +2 -2
  38. package/esm/presentation/automations/connectors/hooks/useBuildScheduledEmailDialogContext.test.js +1 -1
  39. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.d.ts.map +1 -1
  40. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.js +6 -10
  41. package/esm/presentation/automations/shared/automationFilters/automationParameters.d.ts.map +1 -1
  42. package/esm/presentation/automations/shared/automationFilters/automationParameters.js +8 -4
  43. package/esm/presentation/automations/shared/automationFilters/components/AutomationParameter.d.ts.map +1 -1
  44. package/esm/presentation/automations/shared/automationFilters/components/AutomationParameter.js +2 -2
  45. package/esm/presentation/automations/shared/automationFilters/useAutomationExportParameters.d.ts.map +1 -1
  46. package/esm/presentation/automations/shared/automationFilters/useAutomationExportParameters.js +2 -2
  47. package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.d.ts.map +1 -1
  48. package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.js +6 -5
  49. package/esm/presentation/filterBar/parameterFilter/DashboardParameterPicker.d.ts.map +1 -1
  50. package/esm/presentation/filterBar/parameterFilter/DashboardParameterPicker.js +4 -5
  51. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +0 -8
  52. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
  53. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +0 -8
  54. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +0 -8
  55. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
  56. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +0 -8
  57. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +0 -8
  58. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
  59. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +0 -8
  60. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +0 -20
  61. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  62. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +0 -20
  63. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +0 -8
  64. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
  65. package/esm/presentation/localization/bundles/es-419.localization-bundle.js +0 -8
  66. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +0 -8
  67. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
  68. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +0 -8
  69. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +0 -8
  70. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
  71. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +0 -8
  72. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +0 -8
  73. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
  74. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +0 -8
  75. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +0 -8
  76. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
  77. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +0 -8
  78. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +0 -8
  79. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
  80. package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +0 -8
  81. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +0 -8
  82. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
  83. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +0 -8
  84. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +0 -8
  85. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
  86. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +0 -8
  87. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +0 -8
  88. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
  89. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +0 -8
  90. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +0 -8
  91. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
  92. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +0 -8
  93. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +0 -8
  94. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
  95. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +0 -8
  96. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +0 -8
  97. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
  98. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +0 -8
  99. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +0 -8
  100. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
  101. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +0 -8
  102. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +0 -8
  103. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
  104. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +0 -8
  105. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +0 -8
  106. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
  107. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +0 -8
  108. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +0 -8
  109. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
  110. package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +0 -8
  111. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +0 -8
  112. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
  113. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +0 -8
  114. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +0 -8
  115. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
  116. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +0 -8
  117. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +0 -8
  118. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
  119. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +0 -8
  120. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +0 -8
  121. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
  122. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +0 -8
  123. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +0 -8
  124. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
  125. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +0 -8
  126. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +0 -8
  127. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
  128. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +0 -8
  129. package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.d.ts.map +1 -1
  130. package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.js +2 -41
  131. package/esm/sdk-ui-dashboard.d.ts +5 -11
  132. package/package.json +21 -21
  133. package/styles/css/dashboard.css +7 -0
  134. package/styles/css/dashboard.css.map +1 -1
  135. package/styles/css/drillConfigPanel.css +0 -70
  136. package/styles/css/drillConfigPanel.css.map +1 -1
  137. package/styles/css/main.css +12 -71
  138. package/styles/css/main.css.map +1 -1
  139. package/styles/css/notifications_channels_dialog.css +7 -0
  140. package/styles/css/notifications_channels_dialog.css.map +1 -1
  141. package/styles/css/pdfExportDialog.css +5 -1
  142. package/styles/css/pdfExportDialog.css.map +1 -1
  143. package/styles/scss/drillConfigPanel.scss +0 -79
  144. package/styles/scss/notifications_channels_dialog.scss +9 -0
  145. package/styles/scss/pdfExportDialog.scss +7 -2
  146. package/esm/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributes.d.ts +0 -8
  147. package/esm/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributes.d.ts.map +0 -1
  148. package/esm/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributes.js +0 -48
  149. package/esm/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributesSelect.d.ts +0 -23
  150. package/esm/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributesSelect.d.ts.map +0 -1
  151. package/esm/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributesSelect.js +0 -77
@@ -339,6 +339,9 @@
339
339
  .gd-attachment-settings-dropdown {
340
340
  width: 245px;
341
341
  }
342
+ .gd-attachment-settings-dropdown .input-checkbox-label {
343
+ height: auto;
344
+ }
342
345
  .gd-attachment-settings-dropdown .gd-list-title {
343
346
  line-height: normal;
344
347
  }
@@ -356,6 +359,10 @@
356
359
  padding: 15px 10px;
357
360
  gap: var(--gd-spacing-10px);
358
361
  }
362
+ .gd-attachment-settings-dropdown .gd-pdf-export-dialog-item .gd-label {
363
+ display: block;
364
+ margin-bottom: 0;
365
+ }
359
366
  .gd-attachment-settings-dropdown .gd-attachment-settings-dropdown-footer {
360
367
  display: flex;
361
368
  justify-content: end;
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../node_modules/@gooddata/sdk-ui-kit/styles/scss/Button/_variables.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/mixins.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/Bubble/_variables.scss","../scss/notifications_channels_dialog.scss","../scss/_variables.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss","../scss/_zIndexes.scss"],"names":[],"mappings":"AAIA;AAAA;AAAA;ACsHA;AA4DA;ACjLA;AAAA;AAAA;ACiBA;EACI;IACI;IACA;IACA;IACA;;;AAKJ;EACI;;;AAIR;EACI;;AAEA;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA,kBCWY;EDVZ;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;;;AAIR;EACI;EAMA;EACA;;AAEA;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;AAAA;EAEI;;AAKJ;EACI;EACA;EACA;EACA;EACA;;AAIJ;EACI;EACA;EACA;EACA;EACA;EACA;;;AAIR;EAGI;EACA;;AAEA;EACI;EACA;EACA;;AAGJ;EACI;;AAEA;EACI;EACA;;;AAKZ;EACI,eAzIa;;AA4IT;EACI;;AAIR;EACI;IACI;IACA;IACA;;EAGJ;IACI;;;AAIR;EArBJ;IAsBQ;IACA;;EAEA;IACI;IACA;;EAGJ;IACI;IACA;IACA;;;;AAMR;EADJ;IAEQ;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI,eE1LQ;;;AF+LpB;EACI;;;AAIA;EADJ;IAEQ;;;AAIJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAEA;EAPJ;IAQQ;IACA;IACA;IACA;IACA;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAXJ;IAYQ;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EATJ;IAUQ;;;AAIR;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA,OElPQ;;AFoPR;EACI;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA,OEnQI;EFoQJ,YE3PM;EF4PN;EACA;;AAIA;EACI;;AAIR;EACI;EACA;EACA,OElRI;EFmRJ,YCvPa;EDwPb;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;;;AAMhB;EACI;EACA;;AAEA;EACI;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;;AAIR;EACI;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;EACA,OE/UW;;AFkVf;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA,OEhWI;EFiWJ;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA,OEvWI;EFwWJ;EACA;EACA;EACA;;AAIR;EACI;EACA;EACA;;;AAIR;EACI;;AAEA;EACI;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;;AAIR;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAIA;EACI;EACA;EACA;EACA;;AAIR;EACI;EACA;EACA;EACA;;;AAIR;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;IACI;IACA;;EAGJ;IACI;IACA;;EAGJ;IACI;IACA;;EAGJ;IACI;IACA;;;AAIR;AAAA;EAEI;EACA;EACA;EACA;EAOA;EACA;;AAEA;AAAA;EACI;;AAGJ;AAAA;EACI;EACA;EACA;;AAEA;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;;;AAKZ;EACI;;AAEA;EACI;;;AAIR;EACI;EACA;EACA;EAEA;;AAEA;EACI;;AAGJ;EAXJ;IAYQ;IACA;IACA;;;AAGJ;EACI;EACA;;AAEA;EACI;;AAGJ;EACI;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAVJ;IAWQ;IACA;;;AAIR;EACI;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA,OEnjBW;;AFqjBX;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAKZ;EACI;EACA,YAtlBa;EAulBb;EACA;EACA;EACA;EACA;EACA,OE9kBe;;AFilBnB;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAEA;EAEI,YErgBY;;AFugBZ;EACI;;AAGJ;EACI;;AAIR;EAEI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;;AAIR;EACI;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA,kBEtjBgB;EFujBhB;EACA;;AAEA;EACI,kBE/mBc;;AFmnBtB;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIA;EACI;;AAEA;EACI;;AAGJ;AAAA;EFjeR;EACA;EACA;;AEseA;EACI;;AAGJ;EACI;EACA,OE9rBe;;AFisBnB;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACI;;AAGJ;EACI;;AAGA;EACI;;AAGJ;EACI,OE3rBY;;AF8rBhB;EACI,OEhjBa;;AFojBrB;EACI;EACA;;AAEA;EAJJ;IAKQ;;;AAGJ;EACI;EACA;EACA,aEtqBK;EFuqBL,OEpvBQ;EFqvBR;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI,kBEhpBW;;AFopBnB;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAKJ;EACI,OEhxBc;;;AFqxB1B;EACI;;AAEA;EAHJ;IAIQ;;;AAGJ;EACI;EACA;EACA;EACA;;AAEA;EANJ;IAOQ;;;AAIR;EACI;EACA;EACA;EACA;;AAEA;EACI;IACI;IACA;IACA;IACA;;;;AAOZ;EACI,SGr0Be;;AHw0BnB;EACI;IACI,SGz0BiB;;;;AH80B7B;EACI,YCxzBgB;EDyzBhB;EACA;EACA;EACA;;AAEA;EACI;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAVJ;IAWQ;;;;AAKJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;;;AAIR;EACI;EACA,eAp5Ba;;;AAu5BjB;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA,OEj5BmB;EFk5BnB;;AAEA;EACI;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI,OE94BkB;EF+4BlB;;AAGJ;EAvBJ;IAwBQ;;;;AAKJ;EACI;EACA,QA57BO;;;AAi8BX;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAEA;EACI,cEl9BQ;;AFs9BhB;EACI,OEv9BY;EFw9BZ;EACA;EACA;EACA;;;AAIR;EACI;EACA;EACA;EACA,eAr+Ba;EAs+Bb;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA,eAj/Ba;;;AAq/Bb;EACI,QAl/BO;EAm/BP;EACA;EACA;EACA;;AAGJ;EACI;;AAEA;EACI,OE//BQ;EFggCR;EACA;EACA;EACA;;;AAKZ;EACI;EACA;EACA,gBA7gCa;EA8gCb;;AAEA;EACI,gBA9gCe;;AAihCnB;EACI;EACA;EACA;;;AAIR;EACI;EACA;EACA;EACA;;AAEA;EAEI,cE7/BkB;;AFggCtB;EACI,OEnhCe;;AFshCnB;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;;AAKZ;EACI;EACA;EACA;;;AAGJ;EACI;EACA,KAlkCkB;EAmkClB;EACA,YAtkCmB;;;AAykCvB;EACI;EACA;;;AAGJ;EACI,aA5kC0B;EA6kC1B;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;;;AAIR;EACI;;AAGI;EACI,kBEtjCc;EFujCd,OEzjCY;;;AF+jCxB;EACI;;;AAIJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;;;AAIR;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;;AAKJ;EACI;;;AAIR;EACI;EACA;;;AAGJ;EACI;EACA;;AAGI;EACI;EACA","file":"notifications_channels_dialog.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../node_modules/@gooddata/sdk-ui-kit/styles/scss/Button/_variables.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/mixins.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/Bubble/_variables.scss","../scss/notifications_channels_dialog.scss","../scss/_variables.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss","../scss/_zIndexes.scss"],"names":[],"mappings":"AAIA;AAAA;AAAA;ACsHA;AA4DA;ACjLA;AAAA;AAAA;ACiBA;EACI;IACI;IACA;IACA;IACA;;;AAKJ;EACI;;;AAIR;EACI;;AAEA;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA,kBCWY;EDVZ;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;;;AAIR;EACI;EAMA;EACA;;AAEA;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;AAAA;EAEI;;AAKJ;EACI;EACA;EACA;EACA;EACA;;AAIJ;EACI;EACA;EACA;EACA;EACA;EACA;;;AAIR;EAGI;EACA;;AAEA;EACI;EACA;EACA;;AAGJ;EACI;;AAEA;EACI;EACA;;;AAKZ;EACI,eAzIa;;AA4IT;EACI;;AAIR;EACI;IACI;IACA;IACA;;EAGJ;IACI;;;AAIR;EArBJ;IAsBQ;IACA;;EAEA;IACI;IACA;;EAGJ;IACI;IACA;IACA;;;;AAMR;EADJ;IAEQ;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI,eE1LQ;;;AF+LpB;EACI;;;AAIA;EADJ;IAEQ;;;AAIJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAEA;EAPJ;IAQQ;IACA;IACA;IACA;IACA;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAXJ;IAYQ;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EATJ;IAUQ;;;AAIR;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA,OElPQ;;AFoPR;EACI;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA,OEnQI;EFoQJ,YE3PM;EF4PN;EACA;;AAIA;EACI;;AAIR;EACI;EACA;EACA,OElRI;EFmRJ,YCvPa;EDwPb;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;;;AAMhB;EACI;EACA;;AAEA;EACI;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;;AAIR;EACI;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;EACA,OE/UW;;AFkVf;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA,OEhWI;EFiWJ;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA,OEvWI;EFwWJ;EACA;EACA;EACA;;AAIR;EACI;EACA;EACA;;;AAIR;EACI;;AAEA;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;;AAIR;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;;AAIA;EACI;EACA;EACA;EACA;;AAIR;EACI;EACA;EACA;EACA;;;AAIR;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;IACI;IACA;;EAGJ;IACI;IACA;;EAGJ;IACI;IACA;;EAGJ;IACI;IACA;;;AAIR;AAAA;EAEI;EACA;EACA;EACA;EAOA;EACA;;AAEA;AAAA;EACI;;AAGJ;AAAA;EACI;EACA;EACA;;AAEA;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;;;AAKZ;EACI;;AAEA;EACI;;;AAIR;EACI;EACA;EACA;EAEA;;AAEA;EACI;;AAGJ;EAXJ;IAYQ;IACA;IACA;;;AAGJ;EACI;EACA;;AAEA;EACI;;AAGJ;EACI;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAVJ;IAWQ;IACA;;;AAIR;EACI;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA,OE5jBW;;AF8jBX;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;;AAKZ;EACI;EACA,YA/lBa;EAgmBb;EACA;EACA;EACA;EACA;EACA,OEvlBe;;AF0lBnB;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAEA;EAEI,YE9gBY;;AFghBZ;EACI;;AAGJ;EACI;;AAIR;EAEI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;;AAIR;EACI;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA,kBE/jBgB;EFgkBhB;EACA;;AAEA;EACI,kBExnBc;;AF4nBtB;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIA;EACI;;AAEA;EACI;;AAGJ;AAAA;EF1eR;EACA;EACA;;AE+eA;EACI;;AAGJ;EACI;EACA,OEvsBe;;AF0sBnB;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACI;;AAGJ;EACI;;AAGA;EACI;;AAGJ;EACI,OEpsBY;;AFusBhB;EACI,OEzjBa;;AF6jBrB;EACI;EACA;;AAEA;EAJJ;IAKQ;;;AAGJ;EACI;EACA;EACA,aE/qBK;EFgrBL,OE7vBQ;EF8vBR;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI,kBEzpBW;;AF6pBnB;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAKJ;EACI,OEzxBc;;;AF8xB1B;EACI;;AAEA;EAHJ;IAIQ;;;AAGJ;EACI;EACA;EACA;EACA;;AAEA;EANJ;IAOQ;;;AAIR;EACI;EACA;EACA;EACA;;AAEA;EACI;IACI;IACA;IACA;IACA;;;;AAOZ;EACI,SG90Be;;AHi1BnB;EACI;IACI,SGl1BiB;;;;AHu1B7B;EACI,YCj0BgB;EDk0BhB;EACA;EACA;EACA;;AAEA;EACI;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAVJ;IAWQ;;;;AAKJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;;;AAIR;EACI;EACA,eA75Ba;;;AAg6BjB;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA,OE15BmB;EF25BnB;;AAEA;EACI;;AAGJ;EACI;EACA;EACA;EACA;;AAGJ;EACI,OEv5BkB;EFw5BlB;;AAGJ;EAvBJ;IAwBQ;;;;AAKJ;EACI;EACA,QAr8BO;;;AA08BX;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAEA;EACI,cE39BQ;;AF+9BhB;EACI,OEh+BY;EFi+BZ;EACA;EACA;EACA;;;AAIR;EACI;EACA;EACA;EACA,eA9+Ba;EA++Bb;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA,eA1/Ba;;;AA8/Bb;EACI,QA3/BO;EA4/BP;EACA;EACA;EACA;;AAGJ;EACI;;AAEA;EACI,OExgCQ;EFygCR;EACA;EACA;EACA;;;AAKZ;EACI;EACA;EACA,gBAthCa;EAuhCb;;AAEA;EACI,gBAvhCe;;AA0hCnB;EACI;EACA;EACA;;;AAIR;EACI;EACA;EACA;EACA;;AAEA;EAEI,cEtgCkB;;AFygCtB;EACI,OE5hCe;;AF+hCnB;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;;AAKZ;EACI;EACA;EACA;;;AAGJ;EACI;EACA,KA3kCkB;EA4kClB;EACA,YA/kCmB;;;AAklCvB;EACI;EACA;;;AAGJ;EACI,aArlC0B;EAslC1B;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;;;AAIR;EACI;;AAGI;EACI,kBE/jCc;EFgkCd,OElkCY;;;AFwkCxB;EACI;;;AAIJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;;;AAIR;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;;AAKJ;EACI;;;AAIR;EACI;EACA;;;AAGJ;EACI;EACA;;AAGI;EACI;EACA","file":"notifications_channels_dialog.css"}
@@ -1,12 +1,16 @@
1
1
  .gd-pdf-export-dialog {
2
2
  min-width: 300px;
3
3
  }
4
+ .gd-pdf-export-dialog .input-checkbox-label {
5
+ height: auto;
6
+ }
4
7
  .gd-pdf-export-dialog .gd-dialog-content {
5
8
  display: flex;
6
9
  flex-direction: column;
7
10
  gap: 20px;
8
11
  }
9
- .gd-pdf-export-dialog .gd-dialog-content .gd-pdf-export-dialog-item h4 {
12
+ .gd-pdf-export-dialog .gd-dialog-content .gd-input.gd-pdf-export-dialog-item .gd-label {
13
+ display: block;
10
14
  font-size: 14px;
11
15
  font-weight: 400;
12
16
  color: var(--gd-palette-complementary-7);
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../scss/pdfExportDialog.scss"],"names":[],"mappings":"AAAA;EACI;;AAEA;EACI;EACA;EACA;;AAGI;EACI;EACA;EACA;EACA","file":"pdfExportDialog.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../scss/pdfExportDialog.scss"],"names":[],"mappings":"AAAA;EACI;;AAEA;EACI;;AAGJ;EACI;EACA;EACA;;AAGI;EACI;EACA;EACA;EACA;EACA","file":"pdfExportDialog.css"}
@@ -827,85 +827,6 @@ $gd-gd-drill-to-url-body-width: 230px;
827
827
  padding: 0 0 10px;
828
828
  }
829
829
 
830
- .gd-drill-intersection-ignored-attributes-select-section {
831
- display: flex;
832
- align-items: center;
833
- margin-top: 5px;
834
- }
835
-
836
- .gd-drill-intersection-ignored-attributes-select-label {
837
- white-space: nowrap;
838
- overflow: hidden;
839
- width: 100%;
840
- text-overflow: ellipsis;
841
- font-size: 12px;
842
- line-height: 16.4px;
843
- color: kit-variables.$gd-color-link;
844
- }
845
-
846
- .gd-drill-intersection-ignored-attributes-select {
847
- .input-radio-label .input-label-text,
848
- .input-checkbox-label .input-label-text {
849
- display: inline;
850
- font-size: 12px;
851
- }
852
-
853
- .gd-drill-intersection-ignored-attributes-select-item-icon {
854
- margin-right: 5px;
855
- vertical-align: middle;
856
- width: 14px;
857
- height: 14px;
858
-
859
- &-date {
860
- path {
861
- fill: kit-variables.$gd-palette-primary-base;
862
- }
863
- }
864
- }
865
- }
866
-
867
- .gd-drill-intersection-ignored-attributes-select-title {
868
- padding: 5px 10px;
869
- width: 100%;
870
- background-color: kit-variables.$is-focused-background;
871
- color: kit-variables.$gd-color-state-blank;
872
- line-height: 15px;
873
- font-size: 11px;
874
- font-weight: 700;
875
- height: 35px;
876
- display: flex;
877
- align-items: center;
878
- text-transform: uppercase;
879
- margin-bottom: 5px;
880
- }
881
-
882
- .gd-drill-intersection-ignored-attributes-select-title-tooltip {
883
- margin-left: 5px;
884
- margin-top: 2px;
885
-
886
- path {
887
- fill: kit-variables.$gd-color-state-blank;
888
- }
889
- }
890
-
891
- .gd-drill-intersection-ignored-attributes-select-title-tooltip-content {
892
- width: 190px;
893
- }
894
-
895
- .drill-config-target .gd-button-small.gd-drill-intersection-ignored-attributes-select-button {
896
- margin-top: 0;
897
- width: 95px;
898
-
899
- &:not(&.gd-is-open, &:hover, &:active, &:focus) {
900
- box-shadow: none;
901
- border-color: transparent;
902
- }
903
-
904
- &:not(&.gd-is-open, &:active, &:focus) {
905
- background: transparent;
906
- }
907
- }
908
-
909
830
  .gd-drill-filters-config-inner {
910
831
  display: flex;
911
832
  flex-direction: column;
@@ -411,6 +411,10 @@ $min-content-height: 110px;
411
411
  .gd-attachment-settings-dropdown {
412
412
  width: 245px;
413
413
 
414
+ .input-checkbox-label {
415
+ height: auto;
416
+ }
417
+
414
418
  .gd-list-title {
415
419
  line-height: normal;
416
420
  }
@@ -432,6 +436,11 @@ $min-content-height: 110px;
432
436
  gap: var(--gd-spacing-10px);
433
437
  }
434
438
 
439
+ .gd-pdf-export-dialog-item .gd-label {
440
+ display: block;
441
+ margin-bottom: 0;
442
+ }
443
+
435
444
  .gd-attachment-settings-dropdown-footer {
436
445
  display: flex;
437
446
  justify-content: end;
@@ -1,13 +1,18 @@
1
1
  .gd-pdf-export-dialog {
2
2
  min-width: 300px;
3
3
 
4
+ .input-checkbox-label {
5
+ height: auto;
6
+ }
7
+
4
8
  .gd-dialog-content {
5
9
  display: flex;
6
10
  flex-direction: column;
7
11
  gap: 20px;
8
12
 
9
- .gd-pdf-export-dialog-item {
10
- h4 {
13
+ .gd-input.gd-pdf-export-dialog-item {
14
+ .gd-label {
15
+ display: block;
11
16
  font-size: 14px;
12
17
  font-weight: 400;
13
18
  color: var(--gd-palette-complementary-7);
@@ -1,8 +0,0 @@
1
- import { type DRILL_TARGET_TYPE, type IDrillConfigItem } from "../../../drill/types.js";
2
- export interface IDrillIntersectionIgnoredAttributesProps {
3
- item: IDrillConfigItem;
4
- onChange: (ignoredAttributes: string[]) => void;
5
- drillTargetType?: DRILL_TARGET_TYPE;
6
- }
7
- export declare function DrillIntersectionIgnoredAttributes({ item, onChange, drillTargetType }: IDrillIntersectionIgnoredAttributesProps): import("react/jsx-runtime").JSX.Element | null;
8
- //# sourceMappingURL=DrillIntersectionIgnoredAttributes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DrillIntersectionIgnoredAttributes.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributes.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAOxF,MAAM,WAAW,wCAAwC;IACrD,IAAI,EAAE,gBAAgB,CAAC;IACvB,QAAQ,EAAE,CAAC,iBAAiB,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAChD,eAAe,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED,wBAAgB,kCAAkC,CAAC,EAC/C,IAAI,EACJ,QAAQ,EACR,eAAe,EAClB,EAAE,wCAAwC,kDAgE1C"}
@@ -1,48 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // (C) 2020-2026 GoodData Corporation
3
- import { FormattedMessage } from "react-intl";
4
- import { areObjRefsEqual, bucketsAttributes, insightBuckets } from "@gooddata/sdk-model";
5
- import { useDashboardSelector } from "../../../../model/react/DashboardStoreProvider.js";
6
- import { selectCatalogAttributeDisplayForms, selectCatalogDateDatasets, } from "../../../../model/store/catalog/catalogSelectors.js";
7
- import { selectInsightByWidgetRef } from "../../../../model/store/insights/insightsSelectors.js";
8
- import { DrillIntersectionIgnoredAttributesSelect, } from "./DrillIntersectionIgnoredAttributesSelect.js";
9
- export function DrillIntersectionIgnoredAttributes({ item, onChange, drillTargetType, }) {
10
- const insight = useDashboardSelector(selectInsightByWidgetRef(item.widgetRef));
11
- const insightAttributes = bucketsAttributes(insight ? insightBuckets(insight) : []);
12
- const allCatalogDisplayForms = useDashboardSelector(selectCatalogAttributeDisplayForms);
13
- const allDateDatasets = useDashboardSelector(selectCatalogDateDatasets);
14
- const allCatalogDateAttributeDisplayForms = allDateDatasets
15
- .flatMap((ds) => ds.dateAttributes)
16
- .flatMap((da) => da.defaultDisplayForm);
17
- const displayForms = insightAttributes.map((idf) => {
18
- const catalogAttr = allCatalogDisplayForms.find((df) => areObjRefsEqual(df.ref, idf.attribute.displayForm));
19
- const catalogDateAttribute = allCatalogDateAttributeDisplayForms.find((df) => areObjRefsEqual(df.ref, idf.attribute.displayForm));
20
- const type = catalogDateAttribute ? "date" : "attribute";
21
- return {
22
- insightAttr: idf,
23
- catalogAttr: catalogAttr ?? catalogDateAttribute,
24
- type,
25
- };
26
- });
27
- const options = displayForms.map((df) => ({
28
- id: df.insightAttr.attribute.localIdentifier,
29
- title: df.catalogAttr?.title ?? "",
30
- type: df.type,
31
- }));
32
- const selection = item.drillIntersectionIgnoredAttributes?.map((id) => {
33
- const option = options.find((o) => o.id === id);
34
- return {
35
- id,
36
- title: option?.title ?? "",
37
- type: option?.type ?? "attribute",
38
- };
39
- }) ?? [];
40
- if (insightAttributes.length === 0) {
41
- return null;
42
- }
43
- return (_jsxs("div", { className: "gd-drill-intersection-ignored-attributes-select-section", children: [
44
- _jsx("div", { className: "gd-drill-intersection-ignored-attributes-select-label", children: _jsx(FormattedMessage, { id: "configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.label" }) }), _jsx(DrillIntersectionIgnoredAttributesSelect, { drillTargetType: drillTargetType, initialSelection: selection, options: options, onApply: (selection) => {
45
- onChange(selection.map((s) => s.id));
46
- } })
47
- ] }));
48
- }
@@ -1,23 +0,0 @@
1
- import { DRILL_TARGET_TYPE } from "../../../drill/types.js";
2
- /**
3
- * @internal
4
- */
5
- export interface IDrillIntersectionIgnoredAttributesSelectOption {
6
- id: string;
7
- title: string;
8
- type: "attribute" | "date";
9
- }
10
- /**
11
- * @internal
12
- */
13
- export interface IDrillIntersectionIgnoredAttributesSelectProps {
14
- options: IDrillIntersectionIgnoredAttributesSelectOption[];
15
- initialSelection?: IDrillIntersectionIgnoredAttributesSelectOption[];
16
- onApply: (selection: IDrillIntersectionIgnoredAttributesSelectOption[]) => void;
17
- drillTargetType?: DRILL_TARGET_TYPE;
18
- }
19
- /**
20
- * @internal
21
- */
22
- export declare function DrillIntersectionIgnoredAttributesSelect({ options, initialSelection, onApply, drillTargetType }: IDrillIntersectionIgnoredAttributesSelectProps): import("react/jsx-runtime").JSX.Element;
23
- //# sourceMappingURL=DrillIntersectionIgnoredAttributesSelect.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DrillIntersectionIgnoredAttributesSelect.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributesSelect.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAU5D;;GAEG;AACH,MAAM,WAAW,+CAA+C;IAC5D,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,WAAW,GAAG,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,8CAA8C;IAC3D,OAAO,EAAE,+CAA+C,EAAE,CAAC;IAC3D,gBAAgB,CAAC,EAAE,+CAA+C,EAAE,CAAC;IACrE,OAAO,EAAE,CAAC,SAAS,EAAE,+CAA+C,EAAE,KAAK,IAAI,CAAC;IAChF,eAAe,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,EACrD,OAAO,EACP,gBAAqB,EACrB,OAAO,EACP,eAAe,EAClB,EAAE,8CAA8C,2CAkIhD"}
@@ -1,77 +0,0 @@
1
- import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // (C) 2020-2025 GoodData Corporation
3
- import { useState } from "react";
4
- import cx from "classnames";
5
- import { differenceBy } from "lodash-es";
6
- import { FormattedMessage } from "react-intl";
7
- import { Bubble, BubbleHoverTrigger, Button, Dropdown, IconAttribute, IconDate, IconQuestionMark, InvertableSelect, InvertableSelectItem, } from "@gooddata/sdk-ui-kit";
8
- import { DRILL_TARGET_TYPE } from "../../../drill/types.js";
9
- const ALIGN_POINTS = [
10
- { align: "cr tl", offset: { x: 3, y: 0 } },
11
- { align: "bc tl", offset: { x: 3, y: 0 } },
12
- { align: "tc bl", offset: { x: 3, y: 0 } },
13
- { align: "tc br", offset: { x: 3, y: 0 } },
14
- { align: "bc tr", offset: { x: 3, y: 0 } },
15
- ];
16
- /**
17
- * @internal
18
- */
19
- export function DrillIntersectionIgnoredAttributesSelect({ options, initialSelection = [], onApply, drillTargetType, }) {
20
- const [isInverted, setIsInverted] = useState(true);
21
- const [selection, setSelection] = useState(initialSelection);
22
- const appliedSelection = isInverted ? selection : differenceBy(options, selection, "id");
23
- const shownSelection = isInverted ? differenceBy(options, appliedSelection, "id") : selection;
24
- return (_jsx(Dropdown, { onOpenStateChanged: (open) => {
25
- if (!open) {
26
- onApply(appliedSelection);
27
- }
28
- }, renderBody: () => {
29
- return (_jsx(InvertableSelect, { className: "gd-drill-intersection-ignored-attributes-select", onSelect: (items, isInverted) => {
30
- setSelection(items);
31
- setIsInverted(isInverted);
32
- }, items: options, getItemTitle: (item) => item.title, getItemKey: (item) => item.id, isInverted: isInverted, selectedItems: selection, totalItemsCount: options.length, renderItem: ({ title, item, onSelect, onDeselect, isSelected }) => {
33
- const isDisabled = item.type === "date" &&
34
- drillTargetType === DRILL_TARGET_TYPE.DRILL_TO_DASHBOARD;
35
- let iconComponent = () => null;
36
- if (item.type === "date") {
37
- iconComponent = IconDate;
38
- }
39
- else if (item.type === "attribute") {
40
- iconComponent = IconAttribute;
41
- }
42
- const IconComponent = iconComponent;
43
- return (_jsx(InvertableSelectItem, { title: title, renderOnly: () => _jsx(_Fragment, {}), isDisabled: isDisabled, isSelected: !isDisabled && isSelected, icon: _jsx(IconComponent, { className: cx("gd-drill-intersection-ignored-attributes-select-item-icon", `gd-drill-intersection-ignored-attributes-select-item-icon-${item.type}`) }), onClick: () => {
44
- if (isDisabled) {
45
- return;
46
- }
47
- if (isSelected) {
48
- onDeselect();
49
- }
50
- else {
51
- onSelect();
52
- }
53
- } }));
54
- }, renderStatusBar: () => _jsx(_Fragment, {}), renderSearchBar: () => (_jsxs("div", { className: "gd-drill-intersection-ignored-attributes-select-title", children: [
55
- _jsx(FormattedMessage, { id: "configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.title" }), _jsxs(BubbleHoverTrigger, { children: [
56
- _jsx(IconQuestionMark, { className: "gd-drill-intersection-ignored-attributes-select-title-tooltip", width: 12, height: 12 }), _jsx(Bubble, { alignPoints: ALIGN_POINTS, children: _jsx("div", { className: "gd-drill-intersection-ignored-attributes-select-title-tooltip-content", children: _jsx(FormattedMessage, { id: "configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.tooltip" }) }) })
57
- ] })
58
- ] })) }));
59
- }, renderButton: ({ toggleDropdown, isOpen }) => {
60
- let title = "";
61
- if (isInverted && selection.length === 0) {
62
- title = (_jsx(FormattedMessage, { id: "configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.all" }));
63
- }
64
- else if ((!isInverted && selection.length === 0) ||
65
- (isInverted && selection.length === options.length)) {
66
- title = (_jsx(FormattedMessage, { id: "configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.none" }));
67
- }
68
- else {
69
- title = shownSelection.map((s) => s.title).join(", ");
70
- }
71
- return (_jsx(Button, { onClick: toggleDropdown, iconRight: isOpen ? "gd-icon-navigateup" : "gd-icon-navigatedown", size: "small", variant: "primary", className: cx("gd-drill-intersection-ignored-attributes-select-button", "button-dropdown", "dropdown-button", {
72
- "gd-is-open": isOpen,
73
- "is-active": isOpen,
74
- }), children: _jsxs(BubbleHoverTrigger, { children: [title, _jsx(Bubble, { children: title })
75
- ] }) }));
76
- } }));
77
- }