@gooddata/sdk-ui 8.13.0-alpha.19 → 8.13.0-alpha.20

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 (316) hide show
  1. package/dist/base/constants/bucketNames.js +32 -32
  2. package/dist/base/constants/bucketNames.js.map +1 -1
  3. package/dist/base/errors/GoodDataSdkError.js +67 -98
  4. package/dist/base/errors/GoodDataSdkError.js.map +1 -1
  5. package/dist/base/errors/errorHandling.js +17 -18
  6. package/dist/base/errors/errorHandling.js.map +1 -1
  7. package/dist/base/headerMatching/HeaderPredicateFactory.js +50 -58
  8. package/dist/base/headerMatching/HeaderPredicateFactory.js.map +1 -1
  9. package/dist/base/headerMatching/MappingHeader.js +3 -3
  10. package/dist/base/headerMatching/MappingHeader.js.map +1 -1
  11. package/dist/base/helpers/CatalogHelper.js +33 -34
  12. package/dist/base/helpers/CatalogHelper.js.map +1 -1
  13. package/dist/base/localization/IntlStore.js +12 -14
  14. package/dist/base/localization/IntlStore.js.map +1 -1
  15. package/dist/base/localization/IntlWrapper.js +9 -10
  16. package/dist/base/localization/IntlWrapper.js.map +1 -1
  17. package/dist/base/localization/Locale.js +1 -1
  18. package/dist/base/localization/Locale.js.map +1 -1
  19. package/dist/base/localization/TranslationsCustomizationProvider/Context.js +11 -12
  20. package/dist/base/localization/TranslationsCustomizationProvider/Context.js.map +1 -1
  21. package/dist/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js +28 -38
  22. package/dist/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js.map +1 -1
  23. package/dist/base/localization/TranslationsCustomizationProvider/utils.js +25 -37
  24. package/dist/base/localization/TranslationsCustomizationProvider/utils.js.map +1 -1
  25. package/dist/base/localization/TranslationsProvider.js +12 -19
  26. package/dist/base/localization/TranslationsProvider.js.map +1 -1
  27. package/dist/base/localization/bundles/de-DE.json +17 -7
  28. package/dist/base/localization/bundles/es-ES.json +17 -7
  29. package/dist/base/localization/bundles/fr-FR.json +17 -7
  30. package/dist/base/localization/bundles/ja-JP.json +17 -7
  31. package/dist/base/localization/bundles/nl-NL.json +17 -7
  32. package/dist/base/localization/bundles/pt-BR.json +17 -7
  33. package/dist/base/localization/bundles/pt-PT.json +17 -7
  34. package/dist/base/localization/bundles/ru-RU.json +17 -7
  35. package/dist/base/localization/bundles/zh-Hans.json +17 -7
  36. package/dist/base/localization/intlUtils.js +18 -25
  37. package/dist/base/localization/intlUtils.js.map +1 -1
  38. package/dist/base/localization/messagesMap.js +12 -12
  39. package/dist/base/localization/messagesMap.js.map +1 -1
  40. package/dist/base/measureFormats/fillMissingFormat.js +5 -5
  41. package/dist/base/measureFormats/fillMissingFormat.js.map +1 -1
  42. package/dist/base/measureFormats/fillMissingFormats.js +3 -3
  43. package/dist/base/measureFormats/fillMissingFormats.js.map +1 -1
  44. package/dist/base/measureTitles/ArithmeticMeasureTitleFactory.js +27 -28
  45. package/dist/base/measureTitles/ArithmeticMeasureTitleFactory.js.map +1 -1
  46. package/dist/base/measureTitles/DerivedMeasureTitleSuffixFactory.js +14 -15
  47. package/dist/base/measureTitles/DerivedMeasureTitleSuffixFactory.js.map +1 -1
  48. package/dist/base/measureTitles/fillMissingTitles.js +49 -50
  49. package/dist/base/measureTitles/fillMissingTitles.js.map +1 -1
  50. package/dist/base/measureTitles/ignoreTitlesForSimpleMeasures.js +4 -4
  51. package/dist/base/measureTitles/ignoreTitlesForSimpleMeasures.js.map +1 -1
  52. package/dist/base/react/BackendContext.js +14 -16
  53. package/dist/base/react/BackendContext.js.map +1 -1
  54. package/dist/base/react/CancelablePromise.js +21 -24
  55. package/dist/base/react/CancelablePromise.js.map +1 -1
  56. package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js +28 -28
  57. package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js.map +1 -1
  58. package/dist/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js +30 -82
  59. package/dist/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js.map +1 -1
  60. package/dist/base/react/ErrorComponent.js +35 -40
  61. package/dist/base/react/ErrorComponent.js.map +1 -1
  62. package/dist/base/react/LoadingComponent.js +42 -36
  63. package/dist/base/react/LoadingComponent.js.map +1 -1
  64. package/dist/base/react/PromiseCache.js +31 -34
  65. package/dist/base/react/PromiseCache.js.map +1 -1
  66. package/dist/base/react/WorkspaceContext.js +14 -16
  67. package/dist/base/react/WorkspaceContext.js.map +1 -1
  68. package/dist/base/react/legacy/availableDrillTargets.js +15 -16
  69. package/dist/base/react/legacy/availableDrillTargets.js.map +1 -1
  70. package/dist/base/react/legacy/withEntireDataView.js +115 -139
  71. package/dist/base/react/legacy/withEntireDataView.js.map +1 -1
  72. package/dist/base/react/placeholders/base.js +4 -4
  73. package/dist/base/react/placeholders/base.js.map +1 -1
  74. package/dist/base/react/placeholders/context.js +12 -13
  75. package/dist/base/react/placeholders/context.js.map +1 -1
  76. package/dist/base/react/placeholders/factory.js +15 -17
  77. package/dist/base/react/placeholders/factory.js.map +1 -1
  78. package/dist/base/react/placeholders/hooks.js +34 -40
  79. package/dist/base/react/placeholders/hooks.js.map +1 -1
  80. package/dist/base/react/placeholders/resolve.js +9 -12
  81. package/dist/base/react/placeholders/resolve.js.map +1 -1
  82. package/dist/base/react/useCancelablePromise.js +24 -21
  83. package/dist/base/react/useCancelablePromise.js.map +1 -1
  84. package/dist/base/react/useCancelablePromiseUtils.js +16 -17
  85. package/dist/base/react/useCancelablePromiseUtils.js.map +1 -1
  86. package/dist/base/react/usePagedResource.js +25 -29
  87. package/dist/base/react/usePagedResource.js.map +1 -1
  88. package/dist/base/react/usePrevious.js +4 -4
  89. package/dist/base/react/usePrevious.js.map +1 -1
  90. package/dist/base/react/usePromiseCache.js +17 -18
  91. package/dist/base/react/usePromiseCache.js.map +1 -1
  92. package/dist/base/react/withContexts.js +5 -5
  93. package/dist/base/react/withContexts.js.map +1 -1
  94. package/dist/base/react/wrapDisplayName.js +5 -5
  95. package/dist/base/react/wrapDisplayName.js.map +1 -1
  96. package/dist/base/results/dataAccessConfig.js +10 -10
  97. package/dist/base/results/dataAccessConfig.js.map +1 -1
  98. package/dist/base/results/facade.js +35 -36
  99. package/dist/base/results/facade.js.map +1 -1
  100. package/dist/base/results/internal/dataAccessDigest.js +66 -80
  101. package/dist/base/results/internal/dataAccessDigest.js.map +1 -1
  102. package/dist/base/results/internal/dataAccessImpl.js +134 -145
  103. package/dist/base/results/internal/dataAccessImpl.js.map +1 -1
  104. package/dist/base/results/internal/dataAccessMethods.js +49 -58
  105. package/dist/base/results/internal/dataAccessMethods.js.map +1 -1
  106. package/dist/base/results/internal/definitionMethods.js +36 -37
  107. package/dist/base/results/internal/definitionMethods.js.map +1 -1
  108. package/dist/base/results/internal/lazyInitArray.js +18 -20
  109. package/dist/base/results/internal/lazyInitArray.js.map +1 -1
  110. package/dist/base/results/internal/resultDataMethods.js +26 -27
  111. package/dist/base/results/internal/resultDataMethods.js.map +1 -1
  112. package/dist/base/results/internal/resultMetaMethods.js +64 -72
  113. package/dist/base/results/internal/resultMetaMethods.js.map +1 -1
  114. package/dist/base/results/internal/utils.js +1 -1
  115. package/dist/base/results/internal/utils.js.map +1 -1
  116. package/dist/base/vis/DrillEvents.js +5 -5
  117. package/dist/base/vis/DrillEvents.js.map +1 -1
  118. package/dist/base/vis/drilling.js +17 -21
  119. package/dist/base/vis/drilling.js.map +1 -1
  120. package/dist/base/vis/export.js +10 -10
  121. package/dist/base/vis/export.js.map +1 -1
  122. package/dist/execution/DataViewLoader.js +36 -80
  123. package/dist/execution/DataViewLoader.js.map +1 -1
  124. package/dist/execution/Execute.js +35 -35
  125. package/dist/execution/Execute.js.map +1 -1
  126. package/dist/execution/ExecuteInsight.js +54 -62
  127. package/dist/execution/ExecuteInsight.js.map +1 -1
  128. package/dist/execution/RawExecute.js +27 -27
  129. package/dist/execution/RawExecute.js.map +1 -1
  130. package/dist/execution/createExecution.js +17 -16
  131. package/dist/execution/createExecution.js.map +1 -1
  132. package/dist/execution/useDataExport.js +16 -19
  133. package/dist/execution/useDataExport.js.map +1 -1
  134. package/dist/execution/useDataView.js +18 -23
  135. package/dist/execution/useDataView.js.map +1 -1
  136. package/dist/execution/useExecution.js +12 -13
  137. package/dist/execution/useExecution.js.map +1 -1
  138. package/dist/execution/useExecutionDataView.js +23 -22
  139. package/dist/execution/useExecutionDataView.js.map +1 -1
  140. package/dist/execution/useInsight.js +10 -10
  141. package/dist/execution/useInsight.js.map +1 -1
  142. package/dist/execution/useInsightDataView.js +26 -27
  143. package/dist/execution/useInsightDataView.js.map +1 -1
  144. package/dist/execution/withExecution.js +27 -56
  145. package/dist/execution/withExecution.js.map +1 -1
  146. package/dist/execution/withExecutionLoading.js +87 -104
  147. package/dist/execution/withExecutionLoading.js.map +1 -1
  148. package/dist/index.js +1 -1
  149. package/dist/kpi/FormattedNumber.js +8 -9
  150. package/dist/kpi/FormattedNumber.js.map +1 -1
  151. package/dist/kpi/Kpi.js +25 -26
  152. package/dist/kpi/Kpi.js.map +1 -1
  153. package/dist/kpi/KpiError.js +4 -4
  154. package/dist/kpi/KpiError.js.map +1 -1
  155. package/dist/locales.js +1 -1
  156. package/dist/locales.js.map +1 -1
  157. package/esm/base/constants/bucketNames.js +33 -33
  158. package/esm/base/constants/bucketNames.js.map +1 -1
  159. package/esm/base/constants/colorPalette.js +1 -1
  160. package/esm/base/constants/colorPalette.js.map +1 -1
  161. package/esm/base/errors/GoodDataSdkError.js +66 -112
  162. package/esm/base/errors/GoodDataSdkError.js.map +1 -1
  163. package/esm/base/errors/errorHandling.js +13 -14
  164. package/esm/base/errors/errorHandling.js.map +1 -1
  165. package/esm/base/headerMatching/HeaderPredicateFactory.js +49 -57
  166. package/esm/base/headerMatching/HeaderPredicateFactory.js.map +1 -1
  167. package/esm/base/headerMatching/MappingHeader.js +2 -2
  168. package/esm/base/headerMatching/MappingHeader.js.map +1 -1
  169. package/esm/base/helpers/CatalogHelper.js +33 -35
  170. package/esm/base/helpers/CatalogHelper.js.map +1 -1
  171. package/esm/base/interfaces/OverTimeComparison.js +1 -1
  172. package/esm/base/interfaces/OverTimeComparison.js.map +1 -1
  173. package/esm/base/localization/IntlStore.js +7 -10
  174. package/esm/base/localization/IntlStore.js.map +1 -1
  175. package/esm/base/localization/IntlWrapper.js +3 -4
  176. package/esm/base/localization/IntlWrapper.js.map +1 -1
  177. package/esm/base/localization/Locale.js +3 -3
  178. package/esm/base/localization/Locale.js.map +1 -1
  179. package/esm/base/localization/TranslationsCustomizationProvider/Context.js +7 -9
  180. package/esm/base/localization/TranslationsCustomizationProvider/Context.js.map +1 -1
  181. package/esm/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js +22 -33
  182. package/esm/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js.map +1 -1
  183. package/esm/base/localization/TranslationsCustomizationProvider/utils.js +23 -36
  184. package/esm/base/localization/TranslationsCustomizationProvider/utils.js.map +1 -1
  185. package/esm/base/localization/TranslationsProvider.js +8 -17
  186. package/esm/base/localization/TranslationsProvider.js.map +1 -1
  187. package/esm/base/localization/bundles/de-DE.json +17 -7
  188. package/esm/base/localization/bundles/es-ES.json +17 -7
  189. package/esm/base/localization/bundles/fr-FR.json +17 -7
  190. package/esm/base/localization/bundles/ja-JP.json +17 -7
  191. package/esm/base/localization/bundles/nl-NL.json +17 -7
  192. package/esm/base/localization/bundles/pt-BR.json +17 -7
  193. package/esm/base/localization/bundles/pt-PT.json +17 -7
  194. package/esm/base/localization/bundles/ru-RU.json +17 -7
  195. package/esm/base/localization/bundles/zh-Hans.json +17 -7
  196. package/esm/base/localization/intlUtils.js +12 -20
  197. package/esm/base/localization/intlUtils.js.map +1 -1
  198. package/esm/base/localization/messagesMap.js +1 -1
  199. package/esm/base/localization/messagesMap.js.map +1 -1
  200. package/esm/base/measureFormats/fillMissingFormat.js +4 -4
  201. package/esm/base/measureFormats/fillMissingFormat.js.map +1 -1
  202. package/esm/base/measureFormats/fillMissingFormats.js +1 -1
  203. package/esm/base/measureFormats/fillMissingFormats.js.map +1 -1
  204. package/esm/base/measureTitles/ArithmeticMeasureTitleFactory.js +25 -27
  205. package/esm/base/measureTitles/ArithmeticMeasureTitleFactory.js.map +1 -1
  206. package/esm/base/measureTitles/DerivedMeasureTitleSuffixFactory.js +11 -13
  207. package/esm/base/measureTitles/DerivedMeasureTitleSuffixFactory.js.map +1 -1
  208. package/esm/base/measureTitles/fillMissingTitles.js +44 -45
  209. package/esm/base/measureTitles/fillMissingTitles.js.map +1 -1
  210. package/esm/base/measureTitles/ignoreTitlesForSimpleMeasures.js +3 -3
  211. package/esm/base/measureTitles/ignoreTitlesForSimpleMeasures.js.map +1 -1
  212. package/esm/base/react/BackendContext.js +10 -13
  213. package/esm/base/react/BackendContext.js.map +1 -1
  214. package/esm/base/react/CancelablePromise.js +19 -24
  215. package/esm/base/react/CancelablePromise.js.map +1 -1
  216. package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js +20 -21
  217. package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js.map +1 -1
  218. package/esm/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js +27 -80
  219. package/esm/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js.map +1 -1
  220. package/esm/base/react/ErrorComponent.js +33 -40
  221. package/esm/base/react/ErrorComponent.js.map +1 -1
  222. package/esm/base/react/LoadingComponent.js +40 -36
  223. package/esm/base/react/LoadingComponent.js.map +1 -1
  224. package/esm/base/react/PromiseCache.js +28 -32
  225. package/esm/base/react/PromiseCache.js.map +1 -1
  226. package/esm/base/react/WorkspaceContext.js +10 -13
  227. package/esm/base/react/WorkspaceContext.js.map +1 -1
  228. package/esm/base/react/legacy/availableDrillTargets.js +12 -13
  229. package/esm/base/react/legacy/availableDrillTargets.js.map +1 -1
  230. package/esm/base/react/legacy/withEntireDataView.js +102 -127
  231. package/esm/base/react/legacy/withEntireDataView.js.map +1 -1
  232. package/esm/base/react/placeholders/base.js +2 -2
  233. package/esm/base/react/placeholders/base.js.map +1 -1
  234. package/esm/base/react/placeholders/context.js +9 -11
  235. package/esm/base/react/placeholders/context.js.map +1 -1
  236. package/esm/base/react/placeholders/factory.js +11 -13
  237. package/esm/base/react/placeholders/factory.js.map +1 -1
  238. package/esm/base/react/placeholders/hooks.js +27 -33
  239. package/esm/base/react/placeholders/hooks.js.map +1 -1
  240. package/esm/base/react/placeholders/resolve.js +6 -10
  241. package/esm/base/react/placeholders/resolve.js.map +1 -1
  242. package/esm/base/react/useCancelablePromise.js +18 -16
  243. package/esm/base/react/useCancelablePromise.js.map +1 -1
  244. package/esm/base/react/useCancelablePromiseUtils.js +13 -15
  245. package/esm/base/react/useCancelablePromiseUtils.js.map +1 -1
  246. package/esm/base/react/usePagedResource.js +23 -27
  247. package/esm/base/react/usePagedResource.js.map +1 -1
  248. package/esm/base/react/usePrevious.js +3 -3
  249. package/esm/base/react/usePrevious.js.map +1 -1
  250. package/esm/base/react/usePromiseCache.js +15 -16
  251. package/esm/base/react/usePromiseCache.js.map +1 -1
  252. package/esm/base/react/wrapDisplayName.js +5 -5
  253. package/esm/base/react/wrapDisplayName.js.map +1 -1
  254. package/esm/base/results/dataAccessConfig.js +6 -6
  255. package/esm/base/results/dataAccessConfig.js.map +1 -1
  256. package/esm/base/results/facade.js +30 -32
  257. package/esm/base/results/facade.js.map +1 -1
  258. package/esm/base/results/internal/dataAccessDigest.js +62 -77
  259. package/esm/base/results/internal/dataAccessDigest.js.map +1 -1
  260. package/esm/base/results/internal/dataAccessImpl.js +126 -138
  261. package/esm/base/results/internal/dataAccessImpl.js.map +1 -1
  262. package/esm/base/results/internal/dataAccessMethods.js +46 -55
  263. package/esm/base/results/internal/dataAccessMethods.js.map +1 -1
  264. package/esm/base/results/internal/definitionMethods.js +33 -34
  265. package/esm/base/results/internal/definitionMethods.js.map +1 -1
  266. package/esm/base/results/internal/lazyInitArray.js +16 -19
  267. package/esm/base/results/internal/lazyInitArray.js.map +1 -1
  268. package/esm/base/results/internal/resultDataMethods.js +23 -24
  269. package/esm/base/results/internal/resultDataMethods.js.map +1 -1
  270. package/esm/base/results/internal/resultMetaMethods.js +60 -68
  271. package/esm/base/results/internal/resultMetaMethods.js.map +1 -1
  272. package/esm/base/results/internal/utils.js +1 -1
  273. package/esm/base/results/internal/utils.js.map +1 -1
  274. package/esm/base/vis/DrillEvents.js +2 -2
  275. package/esm/base/vis/DrillEvents.js.map +1 -1
  276. package/esm/base/vis/drilling.js +12 -17
  277. package/esm/base/vis/drilling.js.map +1 -1
  278. package/esm/base/vis/export.js +10 -10
  279. package/esm/base/vis/export.js.map +1 -1
  280. package/esm/base/vis/visualizationTypes.js +1 -1
  281. package/esm/base/vis/visualizationTypes.js.map +1 -1
  282. package/esm/execution/DataViewLoader.js +32 -78
  283. package/esm/execution/DataViewLoader.js.map +1 -1
  284. package/esm/execution/Execute.js +29 -30
  285. package/esm/execution/Execute.js.map +1 -1
  286. package/esm/execution/ExecuteInsight.js +49 -58
  287. package/esm/execution/ExecuteInsight.js.map +1 -1
  288. package/esm/execution/RawExecute.js +24 -24
  289. package/esm/execution/RawExecute.js.map +1 -1
  290. package/esm/execution/createExecution.js +12 -12
  291. package/esm/execution/createExecution.js.map +1 -1
  292. package/esm/execution/useDataExport.js +15 -18
  293. package/esm/execution/useDataExport.js.map +1 -1
  294. package/esm/execution/useDataView.js +17 -22
  295. package/esm/execution/useDataView.js.map +1 -1
  296. package/esm/execution/useExecution.js +10 -11
  297. package/esm/execution/useExecution.js.map +1 -1
  298. package/esm/execution/useExecutionDataView.js +18 -18
  299. package/esm/execution/useExecutionDataView.js.map +1 -1
  300. package/esm/execution/useInsight.js +8 -8
  301. package/esm/execution/useInsight.js.map +1 -1
  302. package/esm/execution/useInsightDataView.js +23 -24
  303. package/esm/execution/useInsightDataView.js.map +1 -1
  304. package/esm/execution/withExecution.js +24 -53
  305. package/esm/execution/withExecution.js.map +1 -1
  306. package/esm/execution/withExecutionLoading.js +82 -100
  307. package/esm/execution/withExecutionLoading.js.map +1 -1
  308. package/esm/kpi/FormattedNumber.js +5 -6
  309. package/esm/kpi/FormattedNumber.js.map +1 -1
  310. package/esm/kpi/Kpi.js +17 -19
  311. package/esm/kpi/Kpi.js.map +1 -1
  312. package/esm/kpi/KpiError.js +2 -2
  313. package/esm/kpi/KpiError.js.map +1 -1
  314. package/esm/locales.js +1 -1
  315. package/esm/locales.js.map +1 -1
  316. package/package.json +8 -8
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TranslationsCustomizationProvider = void 0;
4
- var tslib_1 = require("tslib");
5
- var react_1 = tslib_1.__importStar(require("react"));
6
- var BackendContext_1 = require("../../react/BackendContext");
7
- var WorkspaceContext_1 = require("../../react/WorkspaceContext");
8
- var Context_1 = require("./Context");
9
- var utils_1 = require("./utils");
10
- var defaultTranslationsParam = {};
4
+ const tslib_1 = require("tslib");
5
+ const react_1 = tslib_1.__importStar(require("react"));
6
+ const BackendContext_1 = require("../../react/BackendContext");
7
+ const WorkspaceContext_1 = require("../../react/WorkspaceContext");
8
+ const Context_1 = require("./Context");
9
+ const utils_1 = require("./utils");
10
+ const defaultTranslationsParam = {};
11
11
  /**
12
12
  * This provider is here because of the need for customization of translations.
13
13
  *
@@ -20,37 +20,27 @@ var defaultTranslationsParam = {};
20
20
  *
21
21
  * @beta
22
22
  */
23
- exports.TranslationsCustomizationProvider = function (_a) {
24
- var render = _a.render, _b = _a.customize, customize = _b === void 0 ? utils_1.pickCorrectWording : _b, _c = _a.translations, translationsParam = _c === void 0 ? defaultTranslationsParam : _c, backendParam = _a.backend, workspaceParam = _a.workspace;
25
- var backend = BackendContext_1.useBackend(backendParam);
26
- var workspace = WorkspaceContext_1.useWorkspace(workspaceParam);
27
- var _d = tslib_1.__read(react_1.useState(function () { return customize(translationsParam); }), 2), translations = _d[0], setTranslations = _d[1];
28
- var _e = tslib_1.__read(react_1.useState(false), 2), isLoading = _e[0], setIsLoading = _e[1];
29
- react_1.useEffect(function () {
30
- var fetchSettings = function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
31
- var settings;
32
- return tslib_1.__generator(this, function (_a) {
33
- switch (_a.label) {
34
- case 0:
35
- if (!backend || !workspace) {
36
- return [2 /*return*/];
37
- }
38
- setIsLoading(true);
39
- return [4 /*yield*/, backend.workspace(workspace).settings().getSettingsForCurrentUser()];
40
- case 1:
41
- settings = _a.sent();
42
- /**
43
- * Because of issues described in the ticket FET-855, we decided to use this workaround.
44
- * After the issues that are described in the ticket are solved or at least reduced,
45
- * this workaround can be removed.
46
- */
47
- window.gdSettings = settings;
48
- setTranslations(customize(translationsParam, settings));
49
- setIsLoading(false);
50
- return [2 /*return*/];
51
- }
52
- });
53
- }); };
23
+ exports.TranslationsCustomizationProvider = ({ render, customize = utils_1.pickCorrectWording, translations: translationsParam = defaultTranslationsParam, backend: backendParam, workspace: workspaceParam, }) => {
24
+ const backend = BackendContext_1.useBackend(backendParam);
25
+ const workspace = WorkspaceContext_1.useWorkspace(workspaceParam);
26
+ const [translations, setTranslations] = react_1.useState(() => customize(translationsParam));
27
+ const [isLoading, setIsLoading] = react_1.useState(false);
28
+ react_1.useEffect(() => {
29
+ const fetchSettings = async () => {
30
+ if (!backend || !workspace) {
31
+ return;
32
+ }
33
+ setIsLoading(true);
34
+ const settings = await backend.workspace(workspace).settings().getSettingsForCurrentUser();
35
+ /**
36
+ * Because of issues described in the ticket FET-855, we decided to use this workaround.
37
+ * After the issues that are described in the ticket are solved or at least reduced,
38
+ * this workaround can be removed.
39
+ */
40
+ window.gdSettings = settings;
41
+ setTranslations(customize(translationsParam, settings));
42
+ setIsLoading(false);
43
+ };
54
44
  fetchSettings();
55
45
  }, [backend, workspace, translationsParam]);
56
46
  return (react_1.default.createElement(Context_1.TranslationsCustomizationContextProvider, { translationsCustomizationIsLoading: isLoading, translations: translations }, render(translations)));
@@ -1 +1 @@
1
- {"version":3,"file":"TranslationsCustomizationProvider.js","sourceRoot":"","sources":["../../../../src/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.tsx"],"names":[],"mappings":";;;;AAEA,qDAAmD;AACnD,6DAAwD;AACxD,iEAA4D;AAC5D,qCAAqE;AACrE,iCAA6C;AA8C7C,IAAM,wBAAwB,GAA4D,EAAE,CAAC;AAE7F;;;;;;;;;;;GAWG;AACU,QAAA,iCAAiC,GAAsD,UAAC,EAMpG;QALG,MAAM,YAAA,EACN,iBAA8B,EAA9B,SAAS,mBAAG,0BAAkB,KAAA,EAC9B,oBAA0D,EAA5C,iBAAiB,mBAAG,wBAAwB,KAAA,EACjD,YAAY,aAAA,EACV,cAAc,eAAA;IAEzB,IAAM,OAAO,GAAG,2BAAU,CAAC,YAAY,CAAC,CAAC;IACzC,IAAM,SAAS,GAAG,+BAAY,CAAC,cAAc,CAAC,CAAC;IACzC,IAAA,KAAA,eAAkC,gBAAQ,CAAC,cAAM,OAAA,SAAS,CAAC,iBAAiB,CAAC,EAA5B,CAA4B,CAAC,IAAA,EAA7E,YAAY,QAAA,EAAE,eAAe,QAAgD,CAAC;IAC/E,IAAA,KAAA,eAA4B,gBAAQ,CAAC,KAAK,CAAC,IAAA,EAA1C,SAAS,QAAA,EAAE,YAAY,QAAmB,CAAC;IAElD,iBAAS,CAAC;QACN,IAAM,aAAa,GAAG;;;;;wBAClB,IAAI,CAAC,OAAO,IAAI,CAAC,SAAS,EAAE;4BACxB,sBAAO;yBACV;wBACD,YAAY,CAAC,IAAI,CAAC,CAAC;wBAEF,qBAAM,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,QAAQ,EAAE,CAAC,yBAAyB,EAAE,EAAA;;wBAApF,QAAQ,GAAG,SAAyE;wBAE1F;;;;2BAIG;wBACH,MAAM,CAAC,UAAU,GAAG,QAAQ,CAAC;wBAC7B,eAAe,CAAC,SAAS,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC,CAAC;wBACxD,YAAY,CAAC,KAAK,CAAC,CAAC;;;;aACvB,CAAC;QAEF,aAAa,EAAE,CAAC;IACpB,CAAC,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC;IAE5C,OAAO,CACH,8BAAC,kDAAwC,IACrC,kCAAkC,EAAE,SAAS,EAC7C,YAAY,EAAE,YAAY,IAEzB,MAAM,CAAC,YAAY,CAAC,CACkB,CAC9C,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"TranslationsCustomizationProvider.js","sourceRoot":"","sources":["../../../../src/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.tsx"],"names":[],"mappings":";;;;AAEA,uDAAmD;AACnD,+DAAwD;AACxD,mEAA4D;AAC5D,uCAAqE;AACrE,mCAA6C;AA8C7C,MAAM,wBAAwB,GAA4D,EAAE,CAAC;AAE7F;;;;;;;;;;;GAWG;AACU,QAAA,iCAAiC,GAAsD,CAAC,EACjG,MAAM,EACN,SAAS,GAAG,0BAAkB,EAC9B,YAAY,EAAE,iBAAiB,GAAG,wBAAwB,EAC1D,OAAO,EAAE,YAAY,EACrB,SAAS,EAAE,cAAc,GAC5B,EAAE,EAAE;IACD,MAAM,OAAO,GAAG,2BAAU,CAAC,YAAY,CAAC,CAAC;IACzC,MAAM,SAAS,GAAG,+BAAY,CAAC,cAAc,CAAC,CAAC;IAC/C,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,gBAAQ,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACrF,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,gBAAQ,CAAC,KAAK,CAAC,CAAC;IAElD,iBAAS,CAAC,GAAG,EAAE;QACX,MAAM,aAAa,GAAG,KAAK,IAAI,EAAE;YAC7B,IAAI,CAAC,OAAO,IAAI,CAAC,SAAS,EAAE;gBACxB,OAAO;aACV;YACD,YAAY,CAAC,IAAI,CAAC,CAAC;YAEnB,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,QAAQ,EAAE,CAAC,yBAAyB,EAAE,CAAC;YAE3F;;;;eAIG;YACH,MAAM,CAAC,UAAU,GAAG,QAAQ,CAAC;YAC7B,eAAe,CAAC,SAAS,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC,CAAC;YACxD,YAAY,CAAC,KAAK,CAAC,CAAC;QACxB,CAAC,CAAC;QAEF,aAAa,EAAE,CAAC;IACpB,CAAC,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC;IAE5C,OAAO,CACH,8BAAC,kDAAwC,IACrC,kCAAkC,EAAE,SAAS,EAC7C,YAAY,EAAE,YAAY,IAEzB,MAAM,CAAC,YAAY,CAAC,CACkB,CAC9C,CAAC;AACN,CAAC,CAAC"}
@@ -1,81 +1,69 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.removeAllWordingTranslationsWithSpecialSuffix = exports.removeAllInsightToReportTranslations = exports.pickCorrectWording = exports.pickCorrectMetricWording = exports.pickCorrectInsightWording = void 0;
4
- var tslib_1 = require("tslib");
4
+ const tslib_1 = require("tslib");
5
5
  // (C) 2007-2022 GoodData Corporation
6
- var memoize_one_1 = tslib_1.__importDefault(require("memoize-one"));
7
- var getNewKey = function (key, stringToRemove) { return key.replace(stringToRemove, ""); };
8
- var pickCorrectInsightWordingInner = function (translations, isEnabledInsightToReport) {
9
- var modifiedTranslations = {};
10
- Object.keys(translations).forEach(function (key) {
6
+ const memoize_one_1 = tslib_1.__importDefault(require("memoize-one"));
7
+ const getNewKey = (key, stringToRemove) => key.replace(stringToRemove, "");
8
+ const pickCorrectInsightWordingInner = (translations, isEnabledInsightToReport) => {
9
+ const modifiedTranslations = {};
10
+ Object.keys(translations).forEach((key) => {
11
11
  if (key.includes("|report") || key.includes("|insight")) {
12
- var newKey = getNewKey(key, isEnabledInsightToReport ? "|report" : "|insight");
12
+ const newKey = getNewKey(key, isEnabledInsightToReport ? "|report" : "|insight");
13
13
  modifiedTranslations[newKey] = translations[key];
14
14
  }
15
15
  });
16
- return tslib_1.__assign(tslib_1.__assign({}, translations), modifiedTranslations);
16
+ return Object.assign(Object.assign({}, translations), modifiedTranslations);
17
17
  };
18
18
  /**
19
19
  * Even this simple translations-reference-based cache is very effective as most of the time the 'translations'
20
20
  * objects come from some static constant.
21
21
  */
22
- var memoizedPickCorrectInsightWordingInner = memoize_one_1.default(pickCorrectInsightWordingInner);
22
+ const memoizedPickCorrectInsightWordingInner = memoize_one_1.default(pickCorrectInsightWordingInner);
23
23
  /**
24
24
  * @beta
25
25
  */
26
- exports.pickCorrectInsightWording = function (translations, settings) {
27
- var isEnabledInsightToReport = !!(settings === null || settings === void 0 ? void 0 : settings.enableInsightToReport);
26
+ exports.pickCorrectInsightWording = (translations, settings) => {
27
+ const isEnabledInsightToReport = !!(settings === null || settings === void 0 ? void 0 : settings.enableInsightToReport);
28
28
  return memoizedPickCorrectInsightWordingInner(translations, isEnabledInsightToReport);
29
29
  };
30
- var pickCorrectMetricWordingInner = function (translations, isEnabledRenamingMeasureToMetric) {
31
- var modifiedTranslations = {};
32
- Object.keys(translations).forEach(function (key) {
30
+ const pickCorrectMetricWordingInner = (translations, isEnabledRenamingMeasureToMetric) => {
31
+ const modifiedTranslations = {};
32
+ Object.keys(translations).forEach((key) => {
33
33
  if (key.includes("._metric") || key.includes("._measure")) {
34
- var newKey = getNewKey(key, isEnabledRenamingMeasureToMetric ? "._metric" : "._measure");
34
+ const newKey = getNewKey(key, isEnabledRenamingMeasureToMetric ? "._metric" : "._measure");
35
35
  modifiedTranslations[newKey] = translations[key];
36
36
  }
37
37
  });
38
- return tslib_1.__assign(tslib_1.__assign({}, translations), modifiedTranslations);
38
+ return Object.assign(Object.assign({}, translations), modifiedTranslations);
39
39
  };
40
40
  /**
41
41
  * Even this simple translations-reference-based cache is very effective as most of the time the 'translations'
42
42
  * objects come from some static constant.
43
43
  */
44
- var memoizedPickCorrectMetricWordingInner = memoize_one_1.default(pickCorrectMetricWordingInner);
44
+ const memoizedPickCorrectMetricWordingInner = memoize_one_1.default(pickCorrectMetricWordingInner);
45
45
  /**
46
46
  * The function to pick correct wording 'measure' or 'metric'
47
47
  * @beta
48
48
  */
49
- exports.pickCorrectMetricWording = function (translations, settings) {
50
- var isEnabledRenamingMeasureToMetric = !!(settings === null || settings === void 0 ? void 0 : settings.enableRenamingMeasureToMetric);
49
+ exports.pickCorrectMetricWording = (translations, settings) => {
50
+ const isEnabledRenamingMeasureToMetric = !!(settings === null || settings === void 0 ? void 0 : settings.enableRenamingMeasureToMetric);
51
51
  return memoizedPickCorrectMetricWordingInner(translations, isEnabledRenamingMeasureToMetric);
52
52
  };
53
53
  /**
54
54
  * @beta
55
55
  */
56
- exports.pickCorrectWording = function (translations, settings) {
57
- return exports.pickCorrectMetricWording(exports.pickCorrectInsightWording(translations, settings), settings);
58
- };
56
+ exports.pickCorrectWording = (translations, settings) => exports.pickCorrectMetricWording(exports.pickCorrectInsightWording(translations, settings), settings);
59
57
  /**
60
58
  * @beta
61
59
  */
62
- exports.removeAllInsightToReportTranslations = function (translations) {
63
- return Object.fromEntries(Object.entries(translations).filter(function (_a) {
64
- var _b = tslib_1.__read(_a, 1), key = _b[0];
65
- return !key.includes("|report") && !key.includes("|insight");
66
- }));
67
- };
60
+ exports.removeAllInsightToReportTranslations = (translations) => Object.fromEntries(Object.entries(translations).filter(([key]) => !key.includes("|report") && !key.includes("|insight")));
68
61
  /**
69
62
  * The function to remove all translation keys that contain special suffixes "|report", "|insight", "._measure" or "._metric"
70
63
  * @beta
71
64
  */
72
- exports.removeAllWordingTranslationsWithSpecialSuffix = function (translations) {
73
- return Object.fromEntries(Object.entries(translations).filter(function (_a) {
74
- var _b = tslib_1.__read(_a, 1), key = _b[0];
75
- return !key.includes("|report") &&
76
- !key.includes("|insight") &&
77
- !key.includes("._measure") &&
78
- !key.includes("._metric");
79
- }));
80
- };
65
+ exports.removeAllWordingTranslationsWithSpecialSuffix = (translations) => Object.fromEntries(Object.entries(translations).filter(([key]) => !key.includes("|report") &&
66
+ !key.includes("|insight") &&
67
+ !key.includes("._measure") &&
68
+ !key.includes("._metric")));
81
69
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/base/localization/TranslationsCustomizationProvider/utils.ts"],"names":[],"mappings":";;;;AAAA,qCAAqC;AACrC,oEAAqC;AAGrC,IAAM,SAAS,GAAG,UAAC,GAAW,EAAE,cAAsB,IAAK,OAAA,GAAG,CAAC,OAAO,CAAC,cAAc,EAAE,EAAE,CAAC,EAA/B,CAA+B,CAAC;AAE3F,IAAM,8BAA8B,GAAG,UACnC,YAAoC,EACpC,wBAAiC;IAEjC,IAAM,oBAAoB,GAAG,EAAE,CAAC;IAChC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,UAAC,GAAG;QAClC,IAAI,GAAG,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YACrD,IAAM,MAAM,GAAG,SAAS,CAAC,GAAG,EAAE,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;YACjF,oBAAoB,CAAC,MAAM,CAAC,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;SACpD;IACL,CAAC,CAAC,CAAC;IACH,6CACO,YAAY,GACZ,oBAAoB,EACzB;AACN,CAAC,CAAC;AAEF;;;GAGG;AACH,IAAM,sCAAsC,GAAG,qBAAU,CAAC,8BAA8B,CAAC,CAAC;AAE1F;;GAEG;AACU,QAAA,yBAAyB,GAAG,UACrC,YAAoC,EACpC,QAA6B;IAE7B,IAAM,wBAAwB,GAAG,CAAC,EAAC,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,qBAAqB,CAAA,CAAC;IAEnE,O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EACpC,QAA6B,EACP,EAAE;IACxB,MAAM,gCAAgC,GAAG,CAAC,EAAC,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,6BAA6B,CAAA,CAAC;IAEnF,OAAO,qCAAqC,CAAC,YAAY,EAAE,gCAAgC,CAAC,CAAC;AACjG,CAAC,CAAC;AAEF;;GAEG;AACU,QAAA,kBAAkB,GAAG,CAC9B,YAAoC,EACpC,QAA6B,EACP,EAAE,CACxB,gCAAwB,CAAC,iCAAyB,CAAC,YAAY,EAAE,QAAQ,CAAC,EAAE,QAAQ,CAAC,CAAC;AAE1F;;GAEG;AACU,QAAA,oCAAoC,GAAG,CAChD,YAAoC,EACd,EAAE,CACxB,MAAM,CAAC,WAAW,CACd,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CACxG,CAAC;AAEN;;;GAGG;AACU,QAAA,6CAA6C,GAAG,CACzD,YAAoC,EACd,EAAE,CACxB,MAAM,CAAC,WAAW,CACd,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,MAAM,CAC/B,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CACN,CAAC,GAAG,CAAC,QAAQ,CAAC,SAAS,CAAC;IACxB,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC;IACzB,CAAC,GAAG,CAAC,QAAQ,CAAC,WAAW,CAAC;IAC1B,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,CAChC,CACJ,CAAC"}
@@ -1,35 +1,28 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IntlTranslationsProvider = exports.TranslationsProvider = void 0;
4
- var tslib_1 = require("tslib");
4
+ const tslib_1 = require("tslib");
5
5
  // (C) 2007-2022 GoodData Corporation
6
- var react_1 = tslib_1.__importDefault(require("react"));
7
- var react_intl_1 = require("react-intl");
8
- var locales_1 = require("../../locales");
9
- var intlUtils_1 = require("./intlUtils");
10
- var getNumericSymbols = function (intl) {
11
- return [locales_1.messages.k, locales_1.messages.m, locales_1.messages.g, locales_1.messages.t, locales_1.messages.p, locales_1.messages.e].map(function (desc) {
12
- return intl.formatMessage(desc);
13
- });
6
+ const react_1 = tslib_1.__importDefault(require("react"));
7
+ const react_intl_1 = require("react-intl");
8
+ const locales_1 = require("../../locales");
9
+ const intlUtils_1 = require("./intlUtils");
10
+ const getNumericSymbols = (intl) => {
11
+ return [locales_1.messages.k, locales_1.messages.m, locales_1.messages.g, locales_1.messages.t, locales_1.messages.p, locales_1.messages.e].map((desc) => intl.formatMessage(desc));
14
12
  };
15
13
  /**
16
14
  * @internal
17
15
  */
18
- var TranslationsProvider = /** @class */ (function (_super) {
19
- tslib_1.__extends(TranslationsProvider, _super);
20
- function TranslationsProvider() {
21
- return _super !== null && _super.apply(this, arguments) || this;
22
- }
23
- TranslationsProvider.prototype.render = function () {
24
- var props = {
16
+ class TranslationsProvider extends react_1.default.PureComponent {
17
+ render() {
18
+ const props = {
25
19
  numericSymbols: getNumericSymbols(this.props.intl),
26
20
  emptyHeaderString: intlUtils_1.emptyHeaderTitleFromIntl(this.props.intl),
27
21
  intl: this.props.intl,
28
22
  };
29
23
  return this.props.children(props);
30
- };
31
- return TranslationsProvider;
32
- }(react_1.default.PureComponent));
24
+ }
25
+ }
33
26
  exports.TranslationsProvider = TranslationsProvider;
34
27
  /**
35
28
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"TranslationsProvider.js","sourceRoot":"","sources":["../../../src/base/localization/TranslationsProvider.tsx"],"names":[],"mappings":";;;;AAAA,qCAAqC;AACrC,wDAA0B;AAC1B,yCAA0E;AAC1E,yCAAyC;AACzC,yCAAuD;AAkBvD,IAAM,iBAAiB,GAAG,UAAC,IAAe;IACtC,OAAO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C,IAAI,EAAE,EAAE,CACzF,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAC3B,CAAC;AACN,CAAC,CAAC;AAOF;;GAEG;AACH,MAAa,oBAAqB,SAAQ,eAAK,CAAC,aAAyC;IAC9E,MAAM;QACT,MAAM,KAAK,GAAgC;YACvC,cAAc,EAAE,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;YAClD,iBAAiB,EAAE,oCAAwB,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;YAC5D,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI;SACxB,CAAC;QACF,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtC,CAAC;CACJ;AATD,oDASC;AAED;;GAEG;AACU,QAAA,wBAAwB,GAAG,uBAAU,CAAqC,oBAAoB,CAAC,CAAC"}
@@ -325,21 +325,31 @@
325
325
  "sorting.default.tooltip": "Verwenden Sie die Sortierung, die im Attribut definiert ist.",
326
326
  "embedInsightDialog.actions.close": "Schließen",
327
327
  "embedInsightDialog.actions.copyCode": "Code kopieren",
328
+ "embedInsightDialog.component.type": "Komponententyp",
328
329
  "embedInsightDialog.code.language.codeAs": "Code als",
329
- "embedInsightDialog.code.options": "Weitere Optionen",
330
- "embedInsightDialog.code.options.include.config": "Konfiguration einschließen",
330
+ "embedInsightDialog.react.options": "Weitere Optionen",
331
+ "embedInsightDialog.webComponents.options": "Optionen",
332
+ "embedInsightDialog.webComponents.options.displayTitle": "Anzeigetitel",
333
+ "embedInsightDialog.webComponents.options.customTitle": "Benutzerdef. Titel",
334
+ "embedInsightDialog.webComponents.options.locale": "Sprache",
335
+ "embedInsightDialog.webComponents.locale.tooltip": "Wählen Sie eine Sprache für die Oberfläche aus. Wenn diese Option deaktiviert ist, wird für die Visualisierung standardmäßig Ihre aktuelle Anzeigesprache verwendet.",
331
336
  "embedInsightDialog.code.options.include.config.info": "Schließen Sie die Betrachtungskonfiguration von Farben, Achsen, Legende und Arbeitsfläche ein (sofern verfügbar).",
332
337
  "embedInsightDialog.code.options.custom.height": "Benutzerdefinierte Höhe",
333
- "embedInsightDialog.code.options.display.title": "Anzeigetitel",
334
- "embedInsightDialog.headLine.byReference": "Als Live-Betrachtung einbetten",
335
- "embedInsightDialog.headLine.byDefinition": "Als dauerhafte Betrachtung einbetten",
336
- "embedInsightDialog.headLine.byReference.tooltip": "Betten Sie die Anwendung als Verweis auf eine gespeicherte Betrachtung in eine generische GD.UI-Reaktionskomponente ein. Alle zukünftigen Änderungen an der Betrachtung (z. B. Visualisierungsstil, Metriken, Attribute) werden in der eingebetteten Version widergespiegelt.",
337
- "embedInsightDialog.headLine.byDefinition.tooltip": "Betten Sie die Anwendung als Betrachtungsdefinition in eine bestimmte GD.UI-Reaktionskomponente basierend auf dem aktuell ausgewählten Visualisierungsstil ein. Zukünftige Änderungen an der Betrachtung (z. B. Visualisierungsstil, Metriken, Attribute), die in dieser Anwendung vorgenommen werden, werden in der eingebetteten Version nicht widergespiegelt.",
338
+ "embedInsightDialog.code.options.display.configuration": "Konfiguration anzeigen",
339
+ "embedInsightDialog.headLine.embedInsight": "Betrachtung einbetten",
340
+ "embedInsightDialog.componentType.byReference.tooltip": "Betten Sie die Anwendung als Verweis auf eine gespeicherte Betrachtung in eine generische GD.UI-Reaktionskomponente ein. Alle zukünftigen Änderungen an der Betrachtung (z. B. Visualisierungsstil, Metriken, Attribute) werden in der eingebetteten Version widergespiegelt.",
341
+ "embedInsightDialog.componentType.byDefinition.tooltip": "Betten Sie die Anwendung als Betrachtungsdefinition in eine bestimmte GD.UI-Reaktionskomponente basierend auf dem aktuell ausgewählten Visualisierungsstil ein. Zukünftige Änderungen an der Betrachtung (z. B. Visualisierungsstil, Metriken, Attribute), die in dieser Anwendung vorgenommen werden, werden in der eingebetteten Version nicht widergespiegelt.",
342
+ "embedInsightDialog.webComponents.customTitle.tooltip": "Definieren Sie den Text des Titels direkt im Codeausschnitt.",
343
+ "embedInsightDialog.webComponents.customTitle.disabled.tooltip": "Aktivieren Sie zuerst den Displaytitel.",
338
344
  "embedInsightDialog.prepareEnvironmentMessage": "<b>Hinweis.</b> Damit dieser Codeausschnitt funktioniert, bereiten Sie bitte die Umgebung vor.",
339
345
  "embedInsightDialog.prepareEnvironmentMessage.link": "Weitere Informationen",
340
346
  "embed.dialog.numeric.input.validation": "Der Wert muss eine Zahl größer als 0 sein",
341
347
  "embed.dialog.numeric.input.warning": "Diese Eingabe akzeptiert nur Ziffern größer 0",
342
348
  "embedInsightDialog.complete.list.props.message": "Vollständige Liste der Einbettungseigenschaften",
349
+ "embedInsightDialog.emptyInsight.byReference": "Sobald Sie die <a>Betrachtung speichern</a>, wird der Code-Ausschnitt hier angezeigt.",
350
+ "embedInsightDialog.emptyInsight.byDefinition": "Dieser Betrachtungstyp kann nicht als programmatische Typkomponente eingebettet werden.",
351
+ "embedDialog.tab.react": "React",
352
+ "embedDialog.tab.webComponents": "Webkomponenten",
343
353
  "error.overlay.login": "Anmeldung",
344
354
  "error.overlay.title": "Sie wurden abgemeldet",
345
355
  "error.overlay.text": "Bitte melden Sie sich erneut an, um Ihre Arbeit fortzusetzen.",
@@ -325,21 +325,31 @@
325
325
  "sorting.default.tooltip": "Use el orden definido en el atributo.",
326
326
  "embedInsightDialog.actions.close": "Cerrar",
327
327
  "embedInsightDialog.actions.copyCode": "Copiar código",
328
+ "embedInsightDialog.component.type": "Tipo de componente",
328
329
  "embedInsightDialog.code.language.codeAs": "Codificar como",
329
- "embedInsightDialog.code.options": "Otras opciones",
330
- "embedInsightDialog.code.options.include.config": "Incluir configuración",
330
+ "embedInsightDialog.react.options": "Otras opciones",
331
+ "embedInsightDialog.webComponents.options": "Opciones",
332
+ "embedInsightDialog.webComponents.options.displayTitle": "Mostrar título",
333
+ "embedInsightDialog.webComponents.options.customTitle": "Título personalizado",
334
+ "embedInsightDialog.webComponents.options.locale": "Lugar",
335
+ "embedInsightDialog.webComponents.locale.tooltip": "Elija una localización del idioma específica. Si se desactiva, la visualización adoptará por defecto la configuración actual del idioma de visualización.",
331
336
  "embedInsightDialog.code.options.include.config.info": "Incluya la configuración de la perspectiva en cuanto a colores, ejes, leyenda y lienzos si está disponible.",
332
337
  "embedInsightDialog.code.options.custom.height": "Personalizar altura",
333
- "embedInsightDialog.code.options.display.title": "Mostrar título",
334
- "embedInsightDialog.headLine.byReference": "Incrustar como perspectiva directa",
335
- "embedInsightDialog.headLine.byDefinition": "Incrustar como perspectiva permanente",
336
- "embedInsightDialog.headLine.byReference.tooltip": "Incrustar como una referencia a una perspectiva guardada en un componente de reacción genérico de GD.UI. Cualquier cambio futuro en la perspectiva (como tipo de visuailzación, métricas, atributos) quedará reflejado en la versión incrustada.",
337
- "embedInsightDialog.headLine.byDefinition.tooltip": "Incrustar como una definición de perspectiva en un componente de reacción específico de GD.UI según el tipo de visualización seleccionado actualmente. Ningún cambio futuro en la perspectiva (como tipo de visualización, métricas, atributos) hecho en esta aplicación quedará reflejado en la versión incrustada.",
338
+ "embedInsightDialog.code.options.display.configuration": "Mostrar configuración",
339
+ "embedInsightDialog.headLine.embedInsight": "Perspectiva incrustada",
340
+ "embedInsightDialog.componentType.byReference.tooltip": "Incrustar como una referencia a una perspectiva guardada en un componente de reacción genérico de GD.UI. Cualquier cambio futuro en la perspectiva (como tipo de visuailzación, métricas, atributos) quedará reflejado en la versión incrustada.",
341
+ "embedInsightDialog.componentType.byDefinition.tooltip": "Incrustar como una definición de perspectiva en un componente de reacción específico de GD.UI según el tipo de visualización seleccionado actualmente. Ningún cambio futuro en la perspectiva (como tipo de visualización, métricas, atributos) hecho en esta aplicación quedará reflejado en la versión incrustada.",
342
+ "embedInsightDialog.webComponents.customTitle.tooltip": "Defina el texto del título directamente en el fragmento de código.",
343
+ "embedInsightDialog.webComponents.customTitle.disabled.tooltip": "Activar Mostrar título primero.",
338
344
  "embedInsightDialog.prepareEnvironmentMessage": "<b>Nota.</b> Para que este fragmento de código funcione, prepare su entorno.",
339
345
  "embedInsightDialog.prepareEnvironmentMessage.link": "Más información",
340
346
  "embed.dialog.numeric.input.validation": "El valor debe ser un número mayor que 0",
341
347
  "embed.dialog.numeric.input.warning": "Esta entrada acepta solo dígitos mayores que 0",
342
348
  "embedInsightDialog.complete.list.props.message": "Lista completa de las propiedades de incrustación",
349
+ "embedInsightDialog.emptyInsight.byReference": "El fragmento de código se mostrará aquí cuando <a>haya guardado la perspectiva</a>.",
350
+ "embedInsightDialog.emptyInsight.byDefinition": "Este tipo de perspectiva no se puede incrustar como un componente de tipo programático.",
351
+ "embedDialog.tab.react": "React",
352
+ "embedDialog.tab.webComponents": "Componentes web",
343
353
  "error.overlay.login": "Iniciar sesión",
344
354
  "error.overlay.title": "Se ha cerrado la sesión",
345
355
  "error.overlay.text": "Iníciela de nuevo para continuar su trabajo.",
@@ -325,21 +325,31 @@
325
325
  "sorting.default.tooltip": "Utilisez l'ordre défini dans l'attribut.",
326
326
  "embedInsightDialog.actions.close": "Fermer",
327
327
  "embedInsightDialog.actions.copyCode": "Copier le code",
328
+ "embedInsightDialog.component.type": "Type de composant",
328
329
  "embedInsightDialog.code.language.codeAs": "Coder avec",
329
- "embedInsightDialog.code.options": "Autres options",
330
- "embedInsightDialog.code.options.include.config": "Inclure la configuration",
330
+ "embedInsightDialog.react.options": "Autres options",
331
+ "embedInsightDialog.webComponents.options": "Options",
332
+ "embedInsightDialog.webComponents.options.displayTitle": "Afficher le titre",
333
+ "embedInsightDialog.webComponents.options.customTitle": "Titre personnalisé",
334
+ "embedInsightDialog.webComponents.options.locale": "Paramètres régionaux",
335
+ "embedInsightDialog.webComponents.locale.tooltip": "Choisissez la localisation dans une langue spécifique. Si cette option est désactivée, la visualisation utilise par défaut vos paramètres de langue actuels.",
331
336
  "embedInsightDialog.code.options.include.config.info": "Inclure la configuration disponible des couleurs, axes, légendes et canevas de la perception.",
332
337
  "embedInsightDialog.code.options.custom.height": "Hauteur personnalisée",
333
- "embedInsightDialog.code.options.display.title": "Afficher le titre",
334
- "embedInsightDialog.headLine.byReference": "Incorporer en tant que perception directe",
335
- "embedInsightDialog.headLine.byDefinition": "Incorporer en tant que perception permanente",
336
- "embedInsightDialog.headLine.byReference.tooltip": "Incorporer en tant que référence à une perception enregistrée dans un composant React GD.UI générique. Toute modification ultérieure de cette perception (type de visualisation, métriques ou attributs par exemple) est appliquée à la version incorporée.",
337
- "embedInsightDialog.headLine.byDefinition.tooltip": "Incorporer en tant que définition de perception dans un composant React GD.UI spécifique sur la base du type de visualisation actuellement sélectionné. Aucune modification ultérieure de cette perception (type de visualisation, métriques ou attributs par exemple) effectuée dans cette application n'est appliquée à la version incorporée.",
338
+ "embedInsightDialog.code.options.display.configuration": "Afficher la configuration",
339
+ "embedInsightDialog.headLine.embedInsight": "Incorporer la perception",
340
+ "embedInsightDialog.componentType.byReference.tooltip": "Incorporer en tant que référence à une perception enregistrée dans un composant React GD.UI générique. Toute modification ultérieure de cette perception (type de visualisation, métriques ou attributs par exemple) est appliquée à la version incorporée.",
341
+ "embedInsightDialog.componentType.byDefinition.tooltip": "Incorporer en tant que définition de perception dans un composant React GD.UI spécifique sur la base du type de visualisation actuellement sélectionné. Aucune modification ultérieure de cette perception (type de visualisation, métriques ou attributs par exemple) effectuée dans cette application n'est appliquée à la version incorporée.",
342
+ "embedInsightDialog.webComponents.customTitle.tooltip": "Définir le texte du titre directement dans l'extrait de code.",
343
+ "embedInsightDialog.webComponents.customTitle.disabled.tooltip": "Activer l'affichage du titre en premier.",
338
344
  "embedInsightDialog.prepareEnvironmentMessage": "<b>Remarque.</b> Pour que cet extrait fonctionne, vous devez préparer l'environnement.",
339
345
  "embedInsightDialog.prepareEnvironmentMessage.link": "En savoir plus",
340
346
  "embed.dialog.numeric.input.validation": "La valeur doit être supérieure à 0",
341
347
  "embed.dialog.numeric.input.warning": "La saisie n'accepte que les chiffres supérieurs à 0.",
342
348
  "embedInsightDialog.complete.list.props.message": "Liste complète des propriétés d'incorporation",
349
+ "embedInsightDialog.emptyInsight.byReference": "L'extrait de code s'affiche ici une fois que vous avez <a>enregistré la perception</a>.",
350
+ "embedInsightDialog.emptyInsight.byDefinition": "Ce type de perception ne peut pas être incorporé en tant que composant de type programmatique.",
351
+ "embedDialog.tab.react": "React",
352
+ "embedDialog.tab.webComponents": "Composants web",
343
353
  "error.overlay.login": "Connexion",
344
354
  "error.overlay.title": "Vous avez été déconnecté(e)",
345
355
  "error.overlay.text": "Pour continuer à travailler, reconnectez-vous.",
@@ -325,21 +325,31 @@
325
325
  "sorting.default.tooltip": "属性で定義された順序を使用します。",
326
326
  "embedInsightDialog.actions.close": "閉じる",
327
327
  "embedInsightDialog.actions.copyCode": "コードをコピー",
328
+ "embedInsightDialog.component.type": "要素の種類",
328
329
  "embedInsightDialog.code.language.codeAs": "コード",
329
- "embedInsightDialog.code.options": "その他のオプション",
330
- "embedInsightDialog.code.options.include.config": "設定を含む",
330
+ "embedInsightDialog.react.options": "その他のオプション",
331
+ "embedInsightDialog.webComponents.options": "オプション",
332
+ "embedInsightDialog.webComponents.options.displayTitle": "タイトルを表示",
333
+ "embedInsightDialog.webComponents.options.customTitle": "カスタムタイトル",
334
+ "embedInsightDialog.webComponents.options.locale": "ロケール",
335
+ "embedInsightDialog.webComponents.locale.tooltip": "ローカライズの特定の言語を選択できます。無効になっている場合現在お使いの言語設定がビジュアライゼーションに適用されます。",
331
336
  "embedInsightDialog.code.options.include.config.info": "カラー、軸、凡例、キャンバス(使用可能な場合)のインサイト設定を含めます。",
332
337
  "embedInsightDialog.code.options.custom.height": "ユーザー設定の高さ",
333
- "embedInsightDialog.code.options.display.title": "タイトルを表示",
334
- "embedInsightDialog.headLine.byReference": "ライブインサイトとして埋め込みます",
335
- "embedInsightDialog.headLine.byDefinition": "永続的なインサイトとして埋め込みます",
336
- "embedInsightDialog.headLine.byReference.tooltip": "保存されたインサイトへのレファレンスとして、一般的な GD.UI リアクトコンポーネントに埋め込みます。今後のインサイトの変更(表示タイプ、メトリック、属性など)は、埋め込みバージョンに反映されます。",
337
- "embedInsightDialog.headLine.byDefinition.tooltip": "現在選択されている表示タイプに基づいて、特定の GD.UI リアクト構成要素にインサイト定義として埋め込みます。このアプリケーションで行われるインサイト(表示タイプ、メトリック、属性など)に対する今後の変更は、埋め込みバージョンには反映されません。",
338
+ "embedInsightDialog.code.options.display.configuration": "設定を表示",
339
+ "embedInsightDialog.headLine.embedInsight": "インサイト埋め込み",
340
+ "embedInsightDialog.componentType.byReference.tooltip": "保存されたインサイトへのレファレンスとして、一般的な GD.UI リアクトコンポーネントに埋め込みます。今後のインサイトの変更(表示タイプ、メトリック、属性など)は、埋め込みバージョンに反映されます。",
341
+ "embedInsightDialog.componentType.byDefinition.tooltip": "現在選択されている表示タイプに基づいて、特定の GD.UI リアクト構成要素にインサイト定義として埋め込みます。このアプリケーションで行われるインサイト(表示タイプ、メトリック、属性など)に対する今後の変更は、埋め込みバージョンには反映されません。",
342
+ "embedInsightDialog.webComponents.customTitle.tooltip": "コードスニペットに直接タイトルのテキストを定義します。",
343
+ "embedInsightDialog.webComponents.customTitle.disabled.tooltip": "先にタイトルの表示を有効にしてください。",
338
344
  "embedInsightDialog.prepareEnvironmentMessage": "<b>注: </b> このスニペットが動作するように環境を準備します。",
339
345
  "embedInsightDialog.prepareEnvironmentMessage.link": "詳細",
340
346
  "embed.dialog.numeric.input.validation": "値は 0 より大きい数値にしてください",
341
347
  "embed.dialog.numeric.input.warning": "この入力には、0 より大きい数字のみを使用できます",
342
348
  "embedInsightDialog.complete.list.props.message": "埋め込みプロパティーの完全なリストです",
349
+ "embedInsightDialog.emptyInsight.byReference": "<a>インサイトを保存すると</a>コードスニペットがここに表示されます。",
350
+ "embedInsightDialog.emptyInsight.byDefinition": "このインサイトの種類はプログラム可能要素として埋め込めません。",
351
+ "embedDialog.tab.react": "React",
352
+ "embedDialog.tab.webComponents": "ウェブ要素",
343
353
  "error.overlay.login": "ログイン",
344
354
  "error.overlay.title": "ログアウトしています",
345
355
  "error.overlay.text": "作業を続行するには、再度ログインしてください。",
@@ -325,21 +325,31 @@
325
325
  "sorting.default.tooltip": "Gebruik de volgorde zoals gedefinieerd in het attribuut.",
326
326
  "embedInsightDialog.actions.close": "Sluiten",
327
327
  "embedInsightDialog.actions.copyCode": "Code kopiëren",
328
+ "embedInsightDialog.component.type": "Componenttype",
328
329
  "embedInsightDialog.code.language.codeAs": "Code als",
329
- "embedInsightDialog.code.options": "Overige opties",
330
- "embedInsightDialog.code.options.include.config": "Inclusief configuratie",
330
+ "embedInsightDialog.react.options": "Overige opties",
331
+ "embedInsightDialog.webComponents.options": "Opties",
332
+ "embedInsightDialog.webComponents.options.displayTitle": "Titel weergeven",
333
+ "embedInsightDialog.webComponents.options.customTitle": "Aangepaste titel",
334
+ "embedInsightDialog.webComponents.options.locale": "Lokaal",
335
+ "embedInsightDialog.webComponents.locale.tooltip": "Kies een specifieke taallocatie. Indien uitgeschakeld wordt de weergave ingesteld op de huidige taalinstellingen voor weergave.",
331
336
  "embedInsightDialog.code.options.include.config.info": "Implementeer de inzichtconfiguratie van kleuren, assen, legenda en canvas indien beschikbaar.",
332
337
  "embedInsightDialog.code.options.custom.height": "Aangepaste hoogte",
333
- "embedInsightDialog.code.options.display.title": "Titel weergeven",
334
- "embedInsightDialog.headLine.byReference": "Insluiten als een live inzicht",
335
- "embedInsightDialog.headLine.byDefinition": "Insluiten als een permanent inzicht",
336
- "embedInsightDialog.headLine.byReference.tooltip": "U kunt een referentie insluiten in een opgeslagen inzicht via een algemene GD.UI-reactiecomponent. Alle toekomstige wijzigingen aan het inzicht (zoals visualisatietype, meetgegevens, attributen) worden gereflecteerd in de ingesloten versie.",
337
- "embedInsightDialog.headLine.byDefinition.tooltip": "Sluit in als een inzichtdefinitie in een specifieke GD.UI-reactiecomponent op basis van het huidig geselecteerde visualisatietype. Toekomstige wijzigingen aan het inzicht (zoals visualisatietype, meetgegevens, attributen) in deze app worden niet gereflecteerd in de ingesloten versie.",
338
+ "embedInsightDialog.code.options.display.configuration": "Configuratie weergeven",
339
+ "embedInsightDialog.headLine.embedInsight": "Inzicht insluiten",
340
+ "embedInsightDialog.componentType.byReference.tooltip": "U kunt een referentie insluiten in een opgeslagen inzicht via een algemene GD.UI-reactiecomponent. Alle toekomstige wijzigingen aan het inzicht (zoals visualisatietype, meetgegevens, attributen) worden gereflecteerd in de ingesloten versie.",
341
+ "embedInsightDialog.componentType.byDefinition.tooltip": "Sluit in als een inzichtdefinitie in een specifieke GD.UI-reactiecomponent op basis van het huidig geselecteerde visualisatietype. Toekomstige wijzigingen aan het inzicht (zoals visualisatietype, meetgegevens, attributen) in deze app worden niet gereflecteerd in de ingesloten versie.",
342
+ "embedInsightDialog.webComponents.customTitle.tooltip": "Bepaal de tekst van de titel rechtstreeks in het codefragment.",
343
+ "embedInsightDialog.webComponents.customTitle.disabled.tooltip": "Schakel eerst de titel van de weergave in.",
338
344
  "embedInsightDialog.prepareEnvironmentMessage": "<b>Let op.</b> Om dit stukje te laten werken, moet u uw omgeving voorbereiden.",
339
345
  "embedInsightDialog.prepareEnvironmentMessage.link": "Meer weten",
340
346
  "embed.dialog.numeric.input.validation": "De waarde moet een getal zijn dat groter is dan 0",
341
347
  "embed.dialog.numeric.input.warning": "Deze invoer accepteert alleen getallen groter dan 0",
342
348
  "embedInsightDialog.complete.list.props.message": "Volledig lijst van ingesloten eigenschappen",
349
+ "embedInsightDialog.emptyInsight.byReference": "Het codefragment wordt hier weergegeven zodra u <a>het inzicht opslaat</a>. ",
350
+ "embedInsightDialog.emptyInsight.byDefinition": "Dit inzichttype kan niet worden ingesloten als programmatisch type component.",
351
+ "embedDialog.tab.react": "React",
352
+ "embedDialog.tab.webComponents": "Webcomponenten",
343
353
  "error.overlay.login": "Login",
344
354
  "error.overlay.title": "U bent afgemeld",
345
355
  "error.overlay.text": "Meld u opnieuw aan om verder te werken.",
@@ -325,21 +325,31 @@
325
325
  "sorting.default.tooltip": "Use a ordem definida no atributo.",
326
326
  "embedInsightDialog.actions.close": "Fechar",
327
327
  "embedInsightDialog.actions.copyCode": "Copiar código",
328
+ "embedInsightDialog.component.type": "Tipo de componente",
328
329
  "embedInsightDialog.code.language.codeAs": "Codificar em",
329
- "embedInsightDialog.code.options": "Outras opções",
330
- "embedInsightDialog.code.options.include.config": "Incluir configuração",
330
+ "embedInsightDialog.react.options": "Outras opções",
331
+ "embedInsightDialog.webComponents.options": "Opções",
332
+ "embedInsightDialog.webComponents.options.displayTitle": "Exibir título",
333
+ "embedInsightDialog.webComponents.options.customTitle": "Personalizar título",
334
+ "embedInsightDialog.webComponents.options.locale": "Local",
335
+ "embedInsightDialog.webComponents.locale.tooltip": "Escolha a localização de uma língua específica. Se isso estiver desativado, a visualização padrão será a mesma das configurações de visualização de idioma atuais.",
331
336
  "embedInsightDialog.code.options.include.config.info": "Caso disponível, incluir a configuração do insight de cores, eixos, legenda e tela.",
332
337
  "embedInsightDialog.code.options.custom.height": "Personalizar altura",
333
- "embedInsightDialog.code.options.display.title": "Exibir título",
334
- "embedInsightDialog.headLine.byReference": "Incorporar como insight direto",
335
- "embedInsightDialog.headLine.byDefinition": "Incorporar como insight permanente",
336
- "embedInsightDialog.headLine.byReference.tooltip": "Incorporar como referência a um insight salvo em um componente de reação de interface do usuário do GoodData. Qualquer alteração futura no insight (como tipo de visualização, métricas, atributos) afetara a versão incorporada.",
337
- "embedInsightDialog.headLine.byDefinition.tooltip": "Incorporar como definição de insight em um componente de reação de interface de usuário específico, baseado no tipo atual de visualização selecionado. Nenhuma alteração futura no insight (como tipo de visualização, métricas, atributos) feita nesse aplicativo afetara a versão incorporada.",
338
+ "embedInsightDialog.code.options.display.configuration": "Exibir configuração",
339
+ "embedInsightDialog.headLine.embedInsight": "Incorporar Insight",
340
+ "embedInsightDialog.componentType.byReference.tooltip": "Incorporar como referência a um insight salvo em um componente de reação de interface do usuário do GoodData. Qualquer alteração futura no insight (como tipo de visualização, métricas, atributos) afetara a versão incorporada.",
341
+ "embedInsightDialog.componentType.byDefinition.tooltip": "Incorporar como definição de insight em um componente de reação de interface de usuário específico, baseado no tipo atual de visualização selecionado. Nenhuma alteração futura no insight (como tipo de visualização, métricas, atributos) feita nesse aplicativo afetara a versão incorporada.",
342
+ "embedInsightDialog.webComponents.customTitle.tooltip": "Definir o texto do título diretamente no fragmento de código.",
343
+ "embedInsightDialog.webComponents.customTitle.disabled.tooltip": "Ativar Exibição de título primeiro.",
338
344
  "embedInsightDialog.prepareEnvironmentMessage": "<b>Obs.:</b> para que o snippet funcione, prepare seu ambiente.",
339
345
  "embedInsightDialog.prepareEnvironmentMessage.link": "Saber mais",
340
346
  "embed.dialog.numeric.input.validation": "O valor deve ser um número maior que 0",
341
347
  "embed.dialog.numeric.input.warning": "Este campo somente aceita dígitos maiores que 0",
342
348
  "embedInsightDialog.complete.list.props.message": "Lista completa de propriedades incorporadas",
349
+ "embedInsightDialog.emptyInsight.byReference": "O fragmento de código será exibido aqui assim que você <a>salvar o insight</a>.",
350
+ "embedInsightDialog.emptyInsight.byDefinition": "Esse tipo de insight não pode ser incorporado como um tipo de componente programático.",
351
+ "embedDialog.tab.react": "React",
352
+ "embedDialog.tab.webComponents": "Componentes para a Web",
343
353
  "error.overlay.login": "Login",
344
354
  "error.overlay.title": "Sua sessão foi encerrada",
345
355
  "error.overlay.text": "Conecte-se novamente para continuar trabalhando.",
@@ -325,21 +325,31 @@
325
325
  "sorting.default.tooltip": "Utilizar a ordem definida no atributo.",
326
326
  "embedInsightDialog.actions.close": "Fechar",
327
327
  "embedInsightDialog.actions.copyCode": "Copiar código",
328
+ "embedInsightDialog.component.type": "Tipo de componente",
328
329
  "embedInsightDialog.code.language.codeAs": "Codificar como",
329
- "embedInsightDialog.code.options": "Outras opções",
330
- "embedInsightDialog.code.options.include.config": "Incluir configuração",
330
+ "embedInsightDialog.react.options": "Outras opções",
331
+ "embedInsightDialog.webComponents.options": "Opções",
332
+ "embedInsightDialog.webComponents.options.displayTitle": "Mostrar título",
333
+ "embedInsightDialog.webComponents.options.customTitle": "Título personalizado",
334
+ "embedInsightDialog.webComponents.options.locale": "Região",
335
+ "embedInsightDialog.webComponents.locale.tooltip": "Escolha um idioma específico para a localização. Se desativado, a visualização assume como predefinição o seu idioma atual de apresentação.",
331
336
  "embedInsightDialog.code.options.include.config.info": "Incluir a configuração de cores, eixos, legenda e tela do insight, se disponível.",
332
337
  "embedInsightDialog.code.options.custom.height": "Altura personalizada",
333
- "embedInsightDialog.code.options.display.title": "Mostrar título",
334
- "embedInsightDialog.headLine.byReference": "Incorporar como um insight ao vivo",
335
- "embedInsightDialog.headLine.byDefinition": "Incorporar como um insight permanente",
336
- "embedInsightDialog.headLine.byReference.tooltip": "Incorporar como referência a um insight guardado num componente React GD.UI genérico. Todas as alterações futuras ao insight (tais como tipo de visualização, métricas, atributos) serão refletidas na versão incorporada.",
337
- "embedInsightDialog.headLine.byDefinition.tooltip": "Incorporar como definição de insight num componente React GD.UI específico, com base no tipo de visualização atualmente selecionado. As alterações futuras ao insight (tais como tipo de visualização, métricas, atributos) efetuadas nesta aplicação não serão refletidas na versão incorporada.",
338
+ "embedInsightDialog.code.options.display.configuration": "Apresentar configuração",
339
+ "embedInsightDialog.headLine.embedInsight": "Incorporar insight",
340
+ "embedInsightDialog.componentType.byReference.tooltip": "Incorporar como referência a um insight guardado num componente React GD.UI genérico. Todas as alterações futuras ao insight (tais como tipo de visualização, métricas, atributos) serão refletidas na versão incorporada.",
341
+ "embedInsightDialog.componentType.byDefinition.tooltip": "Incorporar como definição de insight num componente React GD.UI específico, com base no tipo de visualização atualmente selecionado. As alterações futuras ao insight (tais como tipo de visualização, métricas, atributos) efetuadas nesta aplicação não serão refletidas na versão incorporada.",
342
+ "embedInsightDialog.webComponents.customTitle.tooltip": "Define o texto do título diretamente no fragmento de código.",
343
+ "embedInsightDialog.webComponents.customTitle.disabled.tooltip": "Ativar Apresentar título primeiro.",
338
344
  "embedInsightDialog.prepareEnvironmentMessage": "<b>Nota.</b> Para que este fragmento funcione, prepare o seu ambiente.",
339
345
  "embedInsightDialog.prepareEnvironmentMessage.link": "Saber mais",
340
346
  "embed.dialog.numeric.input.validation": "O valor tem de ser um número superior a 0",
341
347
  "embed.dialog.numeric.input.warning": "Esta entrada só aceita dígitos superiores a 0",
342
348
  "embedInsightDialog.complete.list.props.message": "Lista completa das propriedades de incorporação",
349
+ "embedInsightDialog.emptyInsight.byReference": "O fragmento de código será apresentado aqui quando <a>guardar o insight</a>.",
350
+ "embedInsightDialog.emptyInsight.byDefinition": "Este tipo de insight não pode ser incorporado como componente de tipo programático.",
351
+ "embedDialog.tab.react": "React",
352
+ "embedDialog.tab.webComponents": "Componentes web",
343
353
  "error.overlay.login": "Iniciar sessão",
344
354
  "error.overlay.title": "A sua sessão foi terminada",
345
355
  "error.overlay.text": "Para continuar o seu trabalho, volte a iniciar sessão.",