@grafana/scenes 6.20.3--canary.1151.15712722900.0 → 6.21.0--canary.1155.15707838506.0

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 (67) hide show
  1. package/dist/esm/components/NestedScene.js +2 -3
  2. package/dist/esm/components/NestedScene.js.map +1 -1
  3. package/dist/esm/components/SceneApp/SceneAppPage.js +3 -4
  4. package/dist/esm/components/SceneApp/SceneAppPage.js.map +1 -1
  5. package/dist/esm/components/SceneDebugger/SceneDebugger.js +1 -10
  6. package/dist/esm/components/SceneDebugger/SceneDebugger.js.map +1 -1
  7. package/dist/esm/components/SceneTimeRangeCompare.js +2 -6
  8. package/dist/esm/components/SceneTimeRangeCompare.js.map +1 -1
  9. package/dist/esm/components/VizPanel/VizPanel.js +1 -2
  10. package/dist/esm/components/VizPanel/VizPanel.js.map +1 -1
  11. package/dist/esm/components/VizPanel/VizPanelExploreButton.js +1 -2
  12. package/dist/esm/components/VizPanel/VizPanelExploreButton.js.map +1 -1
  13. package/dist/esm/components/VizPanel/VizPanelRenderer.js +2 -3
  14. package/dist/esm/components/VizPanel/VizPanelRenderer.js.map +1 -1
  15. package/dist/esm/components/VizPanel/VizPanelSeriesLimit.js +2 -19
  16. package/dist/esm/components/VizPanel/VizPanelSeriesLimit.js.map +1 -1
  17. package/dist/esm/components/layout/grid/SceneGridRow.js +1 -2
  18. package/dist/esm/components/layout/grid/SceneGridRow.js.map +1 -1
  19. package/dist/esm/components/layout/split/Splitter.js +1 -2
  20. package/dist/esm/components/layout/split/Splitter.js.map +1 -1
  21. package/dist/esm/index.js +0 -1
  22. package/dist/esm/index.js.map +1 -1
  23. package/dist/esm/querying/SceneQueryRunner.js +1 -1
  24. package/dist/esm/querying/SceneQueryRunner.js.map +1 -1
  25. package/dist/esm/utils/ControlsLabel.js +1 -11
  26. package/dist/esm/utils/ControlsLabel.js.map +1 -1
  27. package/dist/esm/utils/LoadingIndicator.js +1 -2
  28. package/dist/esm/utils/LoadingIndicator.js.map +1 -1
  29. package/dist/esm/variables/adhoc/AdHocFilterBuilder.js +2 -3
  30. package/dist/esm/variables/adhoc/AdHocFilterBuilder.js.map +1 -1
  31. package/dist/esm/variables/adhoc/AdHocFilterRenderer.js +5 -20
  32. package/dist/esm/variables/adhoc/AdHocFilterRenderer.js.map +1 -1
  33. package/dist/esm/variables/adhoc/AdHocFiltersCombobox/AdHocFilterPill.js +3 -25
  34. package/dist/esm/variables/adhoc/AdHocFiltersCombobox/AdHocFilterPill.js.map +1 -1
  35. package/dist/esm/variables/adhoc/AdHocFiltersCombobox/AdHocFiltersCombobox.js +2 -11
  36. package/dist/esm/variables/adhoc/AdHocFiltersCombobox/AdHocFiltersCombobox.js.map +1 -1
  37. package/dist/esm/variables/adhoc/AdHocFiltersCombobox/DropdownItem.js +4 -5
  38. package/dist/esm/variables/adhoc/AdHocFiltersCombobox/DropdownItem.js.map +1 -1
  39. package/dist/esm/variables/adhoc/AdHocFiltersCombobox/MultiValuePill.js +1 -8
  40. package/dist/esm/variables/adhoc/AdHocFiltersCombobox/MultiValuePill.js.map +1 -1
  41. package/dist/esm/variables/components/VariableValueInput.js +1 -2
  42. package/dist/esm/variables/components/VariableValueInput.js.map +1 -1
  43. package/dist/esm/variables/components/VariableValueSelect.js +1 -2
  44. package/dist/esm/variables/components/VariableValueSelect.js.map +1 -1
  45. package/dist/esm/variables/groupby/DefaultGroupByCustomIndicatorContainer.js +3 -10
  46. package/dist/esm/variables/groupby/DefaultGroupByCustomIndicatorContainer.js.map +1 -1
  47. package/dist/esm/variables/groupby/GroupByVariable.js +4 -17
  48. package/dist/esm/variables/groupby/GroupByVariable.js.map +1 -1
  49. package/dist/esm/variables/interpolation/formatRegistry.js +12 -49
  50. package/dist/esm/variables/interpolation/formatRegistry.js.map +1 -1
  51. package/dist/esm/variables/types.js.map +1 -1
  52. package/dist/esm/variables/variants/DataSourceVariable.js +1 -5
  53. package/dist/esm/variables/variants/DataSourceVariable.js.map +1 -1
  54. package/dist/esm/variables/variants/IntervalVariable.js +1 -2
  55. package/dist/esm/variables/variants/IntervalVariable.js.map +1 -1
  56. package/dist/esm/variables/variants/TestVariable.js +1 -2
  57. package/dist/esm/variables/variants/TestVariable.js.map +1 -1
  58. package/dist/index.d.ts +8 -7
  59. package/dist/index.js +60 -223
  60. package/dist/index.js.map +1 -1
  61. package/package.json +3 -9
  62. package/dist/esm/locales/en-US/grafana-scenes.json.js +0 -151
  63. package/dist/esm/locales/en-US/grafana-scenes.json.js.map +0 -1
  64. package/dist/esm/utils/loadResources.js +0 -23
  65. package/dist/esm/utils/loadResources.js.map +0 -1
  66. package/dist/grafana-scenes-DCHONTnD.js +0 -153
  67. package/dist/grafana-scenes-DCHONTnD.js.map +0 -1
package/dist/index.js CHANGED
@@ -10,7 +10,6 @@ var rxjs = require('rxjs');
10
10
  var uuid = require('uuid');
11
11
  var lodash = require('lodash');
12
12
  var schema = require('@grafana/schema');
13
- var i18n = require('@grafana/i18n');
14
13
  var ui = require('@grafana/ui');
15
14
  var e2eSelectors = require('@grafana/e2e-selectors');
16
15
  var css = require('@emotion/css');
@@ -1321,10 +1320,7 @@ const formatRegistry = new data.Registry(() => {
1321
1320
  {
1322
1321
  id: schema.VariableFormatID.Raw,
1323
1322
  name: "raw",
1324
- description: i18n.t(
1325
- "grafana-scenes.variables.format-registry.formats.description.keep-value-as-is",
1326
- "Keep value as is"
1327
- ),
1323
+ description: "Keep value as is",
1328
1324
  formatter: (value) => String(value)
1329
1325
  },
1330
1326
  {
@@ -1354,10 +1350,7 @@ const formatRegistry = new data.Registry(() => {
1354
1350
  {
1355
1351
  id: schema.VariableFormatID.Pipe,
1356
1352
  name: "Pipe",
1357
- description: i18n.t(
1358
- "grafana-scenes.variables.format-registry.formats.description.values-are-separated-by-character",
1359
- "Values are separated by | character"
1360
- ),
1353
+ description: "Values are separated by | character",
1361
1354
  formatter: (value) => {
1362
1355
  if (typeof value === "string") {
1363
1356
  return value;
@@ -1371,10 +1364,7 @@ const formatRegistry = new data.Registry(() => {
1371
1364
  {
1372
1365
  id: schema.VariableFormatID.Distributed,
1373
1366
  name: "Distributed",
1374
- description: i18n.t(
1375
- "grafana-scenes.variables.format-registry.formats.description.multiple-values-are-formatted-like-variablevalue",
1376
- "Multiple values are formatted like variable=value"
1377
- ),
1367
+ description: "Multiple values are formatted like variable=value",
1378
1368
  formatter: (value, args, variable) => {
1379
1369
  if (typeof value === "string") {
1380
1370
  return value;
@@ -1395,10 +1385,7 @@ const formatRegistry = new data.Registry(() => {
1395
1385
  {
1396
1386
  id: schema.VariableFormatID.CSV,
1397
1387
  name: "Csv",
1398
- description: i18n.t(
1399
- "grafana-scenes.variables.format-registry.formats.description.commaseparated-values",
1400
- "Comma-separated values"
1401
- ),
1388
+ description: "Comma-separated values",
1402
1389
  formatter: (value) => {
1403
1390
  if (typeof value === "string") {
1404
1391
  return value;
@@ -1412,10 +1399,7 @@ const formatRegistry = new data.Registry(() => {
1412
1399
  {
1413
1400
  id: schema.VariableFormatID.HTML,
1414
1401
  name: "HTML",
1415
- description: i18n.t(
1416
- "grafana-scenes.variables.format-registry.formats.description.html-escaping-of-values",
1417
- "HTML escaping of values"
1418
- ),
1402
+ description: "HTML escaping of values",
1419
1403
  formatter: (value) => {
1420
1404
  if (typeof value === "string") {
1421
1405
  return data.textUtil.escapeHtml(value);
@@ -1429,10 +1413,7 @@ const formatRegistry = new data.Registry(() => {
1429
1413
  {
1430
1414
  id: schema.VariableFormatID.JSON,
1431
1415
  name: "JSON",
1432
- description: i18n.t(
1433
- "grafana-scenes.variables.format-registry.formats.description.json-stringify-value",
1434
- "JSON stringify value"
1435
- ),
1416
+ description: "JSON stringify value",
1436
1417
  formatter: (value) => {
1437
1418
  if (typeof value === "string") {
1438
1419
  return value;
@@ -1443,10 +1424,7 @@ const formatRegistry = new data.Registry(() => {
1443
1424
  {
1444
1425
  id: schema.VariableFormatID.PercentEncode,
1445
1426
  name: "Percent encode",
1446
- description: i18n.t(
1447
- "grafana-scenes.variables.format-registry.formats.description.useful-for-url-escaping-values",
1448
- "Useful for URL escaping values"
1449
- ),
1427
+ description: "Useful for URL escaping values",
1450
1428
  formatter: (value) => {
1451
1429
  if (lodash.isArray(value)) {
1452
1430
  return encodeURIComponentStrict("{" + value.join(",") + "}");
@@ -1457,10 +1435,7 @@ const formatRegistry = new data.Registry(() => {
1457
1435
  {
1458
1436
  id: schema.VariableFormatID.SingleQuote,
1459
1437
  name: "Single quote",
1460
- description: i18n.t(
1461
- "grafana-scenes.variables.format-registry.formats.description.single-quoted-values",
1462
- "Single quoted values"
1463
- ),
1438
+ description: "Single quoted values",
1464
1439
  formatter: (value) => {
1465
1440
  const regExp = new RegExp(`'`, "g");
1466
1441
  if (lodash.isArray(value)) {
@@ -1473,10 +1448,7 @@ const formatRegistry = new data.Registry(() => {
1473
1448
  {
1474
1449
  id: schema.VariableFormatID.DoubleQuote,
1475
1450
  name: "Double quote",
1476
- description: i18n.t(
1477
- "grafana-scenes.variables.format-registry.formats.description.double-quoted-values",
1478
- "Double quoted values"
1479
- ),
1451
+ description: "Double quoted values",
1480
1452
  formatter: (value) => {
1481
1453
  const regExp = new RegExp('"', "g");
1482
1454
  if (lodash.isArray(value)) {
@@ -1495,10 +1467,7 @@ const formatRegistry = new data.Registry(() => {
1495
1467
  {
1496
1468
  id: schema.VariableFormatID.Date,
1497
1469
  name: "Date",
1498
- description: i18n.t(
1499
- "grafana-scenes.variables.format-registry.formats.description.format-date-in-different-ways",
1500
- "Format date in different ways"
1501
- ),
1470
+ description: "Format date in different ways",
1502
1471
  formatter: (value, args) => {
1503
1472
  var _a;
1504
1473
  let nrValue = NaN;
@@ -1529,10 +1498,7 @@ const formatRegistry = new data.Registry(() => {
1529
1498
  {
1530
1499
  id: schema.VariableFormatID.Glob,
1531
1500
  name: "Glob",
1532
- description: i18n.t(
1533
- "grafana-scenes.variables.format-registry.formats.description.format-multivalued-variables-using-syntax-example",
1534
- "Format multi-valued variables using glob syntax, example {value1,value2}"
1535
- ),
1501
+ description: "Format multi-valued variables using glob syntax, example {value1,value2}",
1536
1502
  formatter: (value) => {
1537
1503
  if (lodash.isArray(value) && value.length > 1) {
1538
1504
  return "{" + value.join(",") + "}";
@@ -1569,10 +1535,7 @@ const formatRegistry = new data.Registry(() => {
1569
1535
  {
1570
1536
  id: schema.VariableFormatID.UriEncode,
1571
1537
  name: "Percent encode as URI",
1572
- description: i18n.t(
1573
- "grafana-scenes.variables.format-registry.formats.description.useful-escaping-values-taking-syntax-characters",
1574
- "Useful for URL escaping values, taking into URI syntax characters"
1575
- ),
1538
+ description: "Useful for URL escaping values, taking into URI syntax characters",
1576
1539
  formatter: (value) => {
1577
1540
  if (lodash.isArray(value)) {
1578
1541
  return encodeURIStrict("{" + value.join(",") + "}");
@@ -2842,7 +2805,7 @@ function VariableValueSelect({ model, state }) {
2842
2805
  {
2843
2806
  id: key,
2844
2807
  isValidNewOption: (inputValue2) => inputValue2.trim().length > 0,
2845
- placeholder: i18n.t("grafana-scenes.variables.variable-value-select.placeholder-select-value", "Select value"),
2808
+ placeholder: "Select value",
2846
2809
  width: "auto",
2847
2810
  disabled: isReadOnly,
2848
2811
  value: selectValue,
@@ -3149,7 +3112,7 @@ function DefaultGroupByCustomIndicatorContainer(props) {
3149
3112
  /* @__PURE__ */ React__default.default.createElement(
3150
3113
  ui.IconButton,
3151
3114
  {
3152
- "aria-label": i18n.t("grafana-scenes.variables.default-group-by-custom-indicator-container.aria-label-clear", "clear"),
3115
+ "aria-label": "clear",
3153
3116
  key: "clear",
3154
3117
  name: "times",
3155
3118
  size: "md",
@@ -3181,10 +3144,7 @@ function DefaultGroupByCustomIndicatorContainer(props) {
3181
3144
  name: "history",
3182
3145
  size: "md",
3183
3146
  className: styles.clearIcon,
3184
- tooltip: i18n.t(
3185
- "grafana-scenes.variables.default-group-by-custom-indicator-container.tooltip-restore-groupby-set-by-this-dashboard",
3186
- "Restore groupby set by this dashboard."
3187
- )
3147
+ tooltip: "Restore groupby set by this dashboard."
3188
3148
  }
3189
3149
  )
3190
3150
  );
@@ -3195,10 +3155,7 @@ function DefaultGroupByCustomIndicatorContainer(props) {
3195
3155
  ui.Tooltip,
3196
3156
  {
3197
3157
  key: "tooltip",
3198
- content: i18n.t(
3199
- "grafana-scenes.variables.default-group-by-custom-indicator-container.tooltip",
3200
- "Applied by default in this dashboard. If edited, it carries over to other dashboards."
3201
- ),
3158
+ content: "Applied by default in this dashboard. If edited, it carries over to other dashboards.",
3202
3159
  placement: "bottom"
3203
3160
  },
3204
3161
  /* @__PURE__ */ React__default.default.createElement(ui.Icon, { name: "info-circle", size: "md" })
@@ -3452,16 +3409,10 @@ function GroupByVariableRenderer({ model }) {
3452
3409
  return isMulti ? /* @__PURE__ */ React__default.default.createElement(
3453
3410
  ui.MultiSelect,
3454
3411
  {
3455
- "aria-label": i18n.t(
3456
- "grafana-scenes.variables.group-by-variable-renderer.aria-label-group-by-selector",
3457
- "Group by selector"
3458
- ),
3412
+ "aria-label": "Group by selector",
3459
3413
  "data-testid": `GroupBySelect-${key}`,
3460
3414
  id: key,
3461
- placeholder: i18n.t(
3462
- "grafana-scenes.variables.group-by-variable-renderer.placeholder-group-by-label",
3463
- "Group by label"
3464
- ),
3415
+ placeholder: "Group by label",
3465
3416
  width: "auto",
3466
3417
  allowCustomValue,
3467
3418
  inputValue,
@@ -3514,16 +3465,10 @@ function GroupByVariableRenderer({ model }) {
3514
3465
  ) : /* @__PURE__ */ React__default.default.createElement(
3515
3466
  ui.Select,
3516
3467
  {
3517
- "aria-label": i18n.t(
3518
- "grafana-scenes.variables.group-by-variable-renderer.aria-label-group-by-selector",
3519
- "Group by selector"
3520
- ),
3468
+ "aria-label": "Group by selector",
3521
3469
  "data-testid": `GroupBySelect-${key}`,
3522
3470
  id: key,
3523
- placeholder: i18n.t(
3524
- "grafana-scenes.variables.group-by-variable-renderer.placeholder-group-by-label",
3525
- "Group by label"
3526
- ),
3471
+ placeholder: "Group by label",
3527
3472
  width: "auto",
3528
3473
  inputValue,
3529
3474
  value: uncommittedValue && uncommittedValue.length > 0 ? uncommittedValue : null,
@@ -3580,7 +3525,7 @@ function toSelectableValue$1(input) {
3580
3525
  }
3581
3526
 
3582
3527
  function LoadingIndicator(props) {
3583
- return /* @__PURE__ */ React__default.default.createElement(ui.Tooltip, { content: i18n.t("grafana-scenes.utils.loading-indicator.content-cancel-query", "Cancel query") }, /* @__PURE__ */ React__default.default.createElement(
3528
+ return /* @__PURE__ */ React__default.default.createElement(ui.Tooltip, { content: "Cancel query" }, /* @__PURE__ */ React__default.default.createElement(
3584
3529
  ui.Icon,
3585
3530
  {
3586
3531
  className: "spin-clockwise",
@@ -3627,16 +3572,7 @@ function ControlsLabel(props) {
3627
3572
  const testId = typeof props.label === "string" ? e2eSelectors.selectors.pages.Dashboard.SubMenu.submenuItemLabels(props.label) : "";
3628
3573
  let labelElement;
3629
3574
  if (isVertical) {
3630
- labelElement = /* @__PURE__ */ React__default.default.createElement("label", { className: css.cx(styles.verticalLabel, props.className), "data-testid": testId, htmlFor: props.htmlFor }, props.prefix, props.label, descriptionIndicator, errorIndicator, props.icon && /* @__PURE__ */ React__default.default.createElement(ui.Icon, { name: props.icon, className: styles.normalIcon }), loadingIndicator, props.onRemove && /* @__PURE__ */ React__default.default.createElement(
3631
- ui.IconButton,
3632
- {
3633
- variant: "secondary",
3634
- size: "xs",
3635
- name: "times",
3636
- onClick: props.onRemove,
3637
- tooltip: i18n.t("grafana-scenes.utils.controls-label.tooltip-remove", "Remove")
3638
- }
3639
- ), props.suffix);
3575
+ labelElement = /* @__PURE__ */ React__default.default.createElement("label", { className: css.cx(styles.verticalLabel, props.className), "data-testid": testId, htmlFor: props.htmlFor }, props.prefix, props.label, descriptionIndicator, errorIndicator, props.icon && /* @__PURE__ */ React__default.default.createElement(ui.Icon, { name: props.icon, className: styles.normalIcon }), loadingIndicator, props.onRemove && /* @__PURE__ */ React__default.default.createElement(ui.IconButton, { variant: "secondary", size: "xs", name: "times", onClick: props.onRemove, tooltip: "Remove" }), props.suffix);
3640
3576
  } else {
3641
3577
  labelElement = /* @__PURE__ */ React__default.default.createElement("label", { className: css.cx(styles.horizontalLabel, props.className), "data-testid": testId, htmlFor: props.htmlFor }, props.prefix, errorIndicator, props.icon && /* @__PURE__ */ React__default.default.createElement(ui.Icon, { name: props.icon, className: styles.normalIcon }), props.label, descriptionIndicator, loadingIndicator, props.suffix);
3642
3578
  }
@@ -3785,10 +3721,7 @@ function AdHocFilterRenderer({ filter, model }) {
3785
3721
  width: "auto",
3786
3722
  value: valueValue,
3787
3723
  filterOption: filterNoOp,
3788
- placeholder: i18n.t(
3789
- "grafana-scenes.variables.ad-hoc-filter-renderer.value-select.placeholder-select-value",
3790
- "Select value"
3791
- ),
3724
+ placeholder: "Select value",
3792
3725
  options: filteredValueOptions,
3793
3726
  inputValue: valueInputValue,
3794
3727
  onInputChange: onValueInputChange,
@@ -3835,10 +3768,7 @@ function AdHocFilterRenderer({ filter, model }) {
3835
3768
  width: "auto",
3836
3769
  allowCustomValue: (_c = model.state.allowCustomValue) != null ? _c : true,
3837
3770
  value: keyValue,
3838
- placeholder: i18n.t(
3839
- "grafana-scenes.variables.ad-hoc-filter-renderer.key-select.placeholder-select-label",
3840
- "Select label"
3841
- ),
3771
+ placeholder: "Select label",
3842
3772
  options: handleOptionGroups(keys),
3843
3773
  onChange: (v) => {
3844
3774
  model._updateFilter(filter, {
@@ -3895,23 +3825,15 @@ function AdHocFilterRenderer({ filter, model }) {
3895
3825
  const label = /* @__PURE__ */ React__default.default.createElement(ControlsLabel, { layout: "vertical", label: (_d = filter.key) != null ? _d : "", onRemove: () => model._removeFilter(filter) });
3896
3826
  return /* @__PURE__ */ React__default.default.createElement(ui.Field, { label, "data-testid": `AdHocFilter-${filter.key}`, className: styles.field }, /* @__PURE__ */ React__default.default.createElement("div", { className: styles.wrapper }, operatorSelect, valueSelect));
3897
3827
  } else {
3898
- return /* @__PURE__ */ React__default.default.createElement(
3899
- ui.Field,
3900
- {
3901
- label: i18n.t("grafana-scenes.variables.ad-hoc-filter-renderer.label-select-label", "Select label"),
3902
- "data-testid": `AdHocFilter-${filter.key}`,
3903
- className: styles.field
3904
- },
3905
- keySelect
3906
- );
3828
+ return /* @__PURE__ */ React__default.default.createElement(ui.Field, { label: "Select label", "data-testid": `AdHocFilter-${filter.key}`, className: styles.field }, keySelect);
3907
3829
  }
3908
3830
  }
3909
3831
  return /* @__PURE__ */ React__default.default.createElement("div", { className: styles.wrapper, "data-testid": `AdHocFilter-${filter.key}` }, keySelect, operatorSelect, valueSelect, /* @__PURE__ */ React__default.default.createElement(
3910
3832
  ui.Button,
3911
3833
  {
3912
3834
  variant: "secondary",
3913
- "aria-label": i18n.t("grafana-scenes.variables.ad-hoc-filter-renderer.aria-label-remove-filter", "Remove filter"),
3914
- title: i18n.t("grafana-scenes.variables.ad-hoc-filter-renderer.title-remove-filter", "Remove filter"),
3835
+ "aria-label": "Remove filter",
3836
+ title: "Remove filter",
3915
3837
  className: styles.removeButton,
3916
3838
  icon: "times",
3917
3839
  "data-testid": `AdHocFilter-remove-${(_e = filter.key) != null ? _e : ""}`,
@@ -3992,8 +3914,8 @@ function AdHocFilterBuilder({ model, addFilterButtonText }) {
3992
3914
  {
3993
3915
  variant: "secondary",
3994
3916
  icon: "plus",
3995
- title: i18n.t("grafana-scenes.variables.ad-hoc-filter-builder.title-add-filter", "Add filter"),
3996
- "aria-label": i18n.t("grafana-scenes.variables.ad-hoc-filter-builder.aria-label-add-filter", "Add filter"),
3917
+ title: "Add filter",
3918
+ "aria-label": "Add filter",
3997
3919
  "data-testid": `AdHocFilter-add`,
3998
3920
  onClick: () => model._addWip()
3999
3921
  },
@@ -4195,13 +4117,13 @@ const getStyles$e = (theme) => ({
4195
4117
  })
4196
4118
  });
4197
4119
  const LoadingOptionsPlaceholder = () => {
4198
- return /* @__PURE__ */ React__default.default.createElement(DropdownItem, { onClick: (e) => e.stopPropagation() }, /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "grafana-scenes.variables.loading-options-placeholder.loading-options" }, "Loading options..."));
4120
+ return /* @__PURE__ */ React__default.default.createElement(DropdownItem, { onClick: (e) => e.stopPropagation() }, "Loading options...");
4199
4121
  };
4200
4122
  const NoOptionsPlaceholder = () => {
4201
- return /* @__PURE__ */ React__default.default.createElement(DropdownItem, { onClick: (e) => e.stopPropagation() }, /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "grafana-scenes.variables.no-options-placeholder.no-options-found" }, "No options found"));
4123
+ return /* @__PURE__ */ React__default.default.createElement(DropdownItem, { onClick: (e) => e.stopPropagation() }, "No options found");
4202
4124
  };
4203
4125
  const OptionsErrorPlaceholder = ({ handleFetchOptions }) => {
4204
- return /* @__PURE__ */ React__default.default.createElement(DropdownItem, { onClick: handleFetchOptions }, /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "grafana-scenes.variables.options-error-placeholder.error-occurred-fetching-labels-click-retry" }, "An error has occurred fetching labels. Click to retry"));
4126
+ return /* @__PURE__ */ React__default.default.createElement(DropdownItem, { onClick: handleFetchOptions }, "An error has occurred fetching labels. Click to retry");
4205
4127
  };
4206
4128
  const MultiValueApplyButton = ({
4207
4129
  onApply,
@@ -4220,7 +4142,7 @@ const MultiValueApplyButton = ({
4220
4142
  transform: `translate(${floatingElementRect == null ? void 0 : floatingElementRect.left}px,${floatingElementRect ? floatingElementRect.top + menuHeight : 0}px)`
4221
4143
  }
4222
4144
  },
4223
- /* @__PURE__ */ React__default.default.createElement(ui.Button, { onClick: onApply, size: "sm", tabIndex: -1 }, /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "grafana-scenes.variables.multi-value-apply-button.apply" }, "Apply"))
4145
+ /* @__PURE__ */ React__default.default.createElement(ui.Button, { onClick: onApply, size: "sm", tabIndex: -1 }, "Apply")
4224
4146
  );
4225
4147
  };
4226
4148
 
@@ -4482,13 +4404,7 @@ const MultiValuePill = ({
4482
4404
  size: "sm",
4483
4405
  variant: "secondary",
4484
4406
  className: styles.removeButton,
4485
- tooltip: i18n.t(
4486
- "grafana-scenes.components.adhoc-filters-combobox.remove-filter-value",
4487
- "Remove filter value - {{itemLabel}}",
4488
- {
4489
- itemLabel: (_b = item.label) != null ? _b : item.value
4490
- }
4491
- )
4407
+ tooltip: `Remove filter value - ${(_b = item.label) != null ? _b : item.value}`
4492
4408
  },
4493
4409
  /* @__PURE__ */ React__default.default.createElement(ui.Icon, { name: "times", size: "md", id: `${item.value}-${index}-close-icon` })
4494
4410
  )
@@ -4913,10 +4829,7 @@ const AdHocCombobox = React.forwardRef(function AdHocCombobox2({ filter, model,
4913
4829
  filter.origin && styles.keyPill,
4914
4830
  operatorIdentifier
4915
4831
  ),
4916
- "aria-label": i18n.t(
4917
- "grafana-scenes.variables.ad-hoc-combobox.aria-label-edit-filter-operator",
4918
- "Edit filter operator"
4919
- ),
4832
+ "aria-label": "Edit filter operator",
4920
4833
  tabIndex: filter.origin ? -1 : 0,
4921
4834
  onClick: (event) => {
4922
4835
  if (filter.origin) {
@@ -5023,7 +4936,6 @@ const AdHocCombobox = React.forwardRef(function AdHocCombobox2({ filter, model,
5023
4936
  }
5024
4937
  const nextItem = filteredDropDownItems[virtualItem.index + 1];
5025
4938
  const shouldAddBottomBorder = nextItem && !nextItem.group && !nextItem.options && item.group;
5026
- const itemLabel = (_a2 = item.label) != null ? _a2 : item.value;
5027
4939
  return (
5028
4940
  // key is included in getItemProps()
5029
4941
  // eslint-disable-next-line react/jsx-key
@@ -5086,11 +4998,7 @@ const AdHocCombobox = React.forwardRef(function AdHocCombobox2({ filter, model,
5086
4998
  isMultiValueEdit,
5087
4999
  checked: filterMultiValues.some((val) => val.value === item.value)
5088
5000
  },
5089
- /* @__PURE__ */ React__default.default.createElement("span", null, item.isCustom ? i18n.t(
5090
- "grafana-scenes.components.adhoc-filters-combobox.use-custom-value",
5091
- "Use custom value: {{itemLabel}}",
5092
- { itemLabel }
5093
- ) : itemLabel),
5001
+ /* @__PURE__ */ React__default.default.createElement("span", null, item.isCustom ? "Use custom value: " : "", " ", (_a2 = item.label) != null ? _a2 : item.value),
5094
5002
  item.description ? /* @__PURE__ */ React__default.default.createElement("div", { className: styles.descriptionText }, item.description) : null
5095
5003
  )
5096
5004
  );
@@ -5260,13 +5168,7 @@ function AdHocFilterPill({ filter, model, readOnly, focusOnWipInputRef }) {
5260
5168
  }
5261
5169
  },
5262
5170
  role: readOnly ? void 0 : "button",
5263
- "aria-label": i18n.t(
5264
- "grafana-scenes.components.adhoc-filter-pill.edit-filter-with-key",
5265
- "Edit filter with key {{keyLabel}}",
5266
- {
5267
- keyLabel
5268
- }
5269
- ),
5171
+ "aria-label": `Edit filter with key ${keyLabel}`,
5270
5172
  tabIndex: 0,
5271
5173
  ref: pillWrapperRef
5272
5174
  },
@@ -5298,25 +5200,10 @@ function AdHocFilterPill({ filter, model, readOnly, focusOnWipInputRef }) {
5298
5200
  name: "times",
5299
5201
  size: "md",
5300
5202
  className: styles.pillIcon,
5301
- tooltip: i18n.t(
5302
- "grafana-scenes.components.adhoc-filter-pill.remove-filter-with-key",
5303
- "Remove filter with key {{keyLabel}}",
5304
- {
5305
- keyLabel
5306
- }
5307
- )
5203
+ tooltip: `Remove filter with key ${keyLabel}`
5308
5204
  }
5309
5205
  ) : null,
5310
- filter.origin && filter.readOnly && /* @__PURE__ */ React__default.default.createElement(
5311
- ui.Tooltip,
5312
- {
5313
- content: i18n.t("grafana-scenes.components.adhoc-filter-pill.managed-filter", "{{origin}} managed filter", {
5314
- origin: filter.origin
5315
- }),
5316
- placement: "bottom"
5317
- },
5318
- /* @__PURE__ */ React__default.default.createElement(ui.Icon, { name: "lock", size: "md", className: styles.readOnlyPillIcon })
5319
- ),
5206
+ filter.origin && filter.readOnly && /* @__PURE__ */ React__default.default.createElement(ui.Tooltip, { content: `${filter.origin} managed filter`, placement: "bottom" }, /* @__PURE__ */ React__default.default.createElement(ui.Icon, { name: "lock", size: "md", className: styles.readOnlyPillIcon })),
5320
5207
  filter.origin && !filter.restorable && !filter.readOnly && /* @__PURE__ */ React__default.default.createElement(ui.Tooltip, { content: getOriginFilterTooltips(filter.origin).info, placement: "bottom" }, /* @__PURE__ */ React__default.default.createElement(ui.Icon, { name: "info-circle", size: "md", className: styles.infoPillIcon })),
5321
5208
  filter.origin && filter.restorable && !filter.readOnly && /* @__PURE__ */ React__default.default.createElement(
5322
5209
  ui.IconButton,
@@ -6249,7 +6136,6 @@ class SceneQueryRunner extends SceneObjectBase {
6249
6136
  this._timeSubRange = void 0;
6250
6137
  this._adhocFiltersVar = void 0;
6251
6138
  this._groupByVar = void 0;
6252
- this._variableValueRecorder.recordCurrentDependencyValuesForSceneObject(this);
6253
6139
  }
6254
6140
  setContainerWidth(width) {
6255
6141
  if (!this._containerWidth && width > 0) {
@@ -6321,6 +6207,7 @@ class SceneQueryRunner extends SceneObjectBase {
6321
6207
  this.setState({ data: { ...(_b = this.state.data) != null ? _b : emptyPanelData, state: schema.LoadingState.Loading } });
6322
6208
  return;
6323
6209
  }
6210
+ this._variableValueRecorder.recordCurrentDependencyValuesForSceneObject(this);
6324
6211
  const { queries } = this.state;
6325
6212
  if (!(queries == null ? void 0 : queries.length)) {
6326
6213
  this._setNoDataState();
@@ -7794,26 +7681,10 @@ function VizPanelSeriesLimit({ data, showAll, seriesLimit, onShowAllSeries }) {
7794
7681
  return null;
7795
7682
  }
7796
7683
  const buttonText = showAll ? "Restore limit" : `Show all ${seriesCount}`;
7797
- return /* @__PURE__ */ React__default.default.createElement("div", { className: styles.timeSeriesDisclaimer }, !showAll && /* @__PURE__ */ React__default.default.createElement("span", { className: styles.warningMessage }, /* @__PURE__ */ React__default.default.createElement(
7798
- ui.Icon,
7799
- {
7800
- title: i18n.t(
7801
- "grafana-scenes.components.viz-panel-series-limit.warning-message",
7802
- `Showing only {{seriesLimit}} series`,
7803
- {
7804
- seriesLimit
7805
- }
7806
- ),
7807
- name: "exclamation-triangle",
7808
- "aria-hidden": "true"
7809
- }
7810
- )), /* @__PURE__ */ React__default.default.createElement(
7684
+ return /* @__PURE__ */ React__default.default.createElement("div", { className: styles.timeSeriesDisclaimer }, !showAll && /* @__PURE__ */ React__default.default.createElement("span", { className: styles.warningMessage }, /* @__PURE__ */ React__default.default.createElement(ui.Icon, { title: `Showing only ${seriesLimit} series`, name: "exclamation-triangle", "aria-hidden": "true" })), /* @__PURE__ */ React__default.default.createElement(
7811
7685
  ui.Tooltip,
7812
7686
  {
7813
- content: i18n.t(
7814
- "grafana-scenes.components.viz-panel-series-limit.content-rendering-series-single-panel-impact-performance",
7815
- "Rendering too many series in a single panel may impact performance and make data harder to read."
7816
- )
7687
+ content: "Rendering too many series in a single panel may impact performance and make data harder to read."
7817
7688
  },
7818
7689
  /* @__PURE__ */ React__default.default.createElement(ui.Button, { variant: "secondary", size: "sm", onClick: onShowAllSeries }, buttonText)
7819
7690
  ));
@@ -7879,10 +7750,10 @@ function VizPanelRenderer({ model }) {
7879
7750
  const titleInterpolated = model.interpolate(title, void 0, "text");
7880
7751
  const alertStateStyles = ui.useStyles2(getAlertStateStyles);
7881
7752
  if (!plugin) {
7882
- return /* @__PURE__ */ React__default.default.createElement("div", null, /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "grafana-scenes.components.viz-panel-renderer.loading-plugin-panel" }, "Loading plugin panel..."));
7753
+ return /* @__PURE__ */ React__default.default.createElement("div", null, "Loading plugin panel...");
7883
7754
  }
7884
7755
  if (!plugin.panel) {
7885
- return /* @__PURE__ */ React__default.default.createElement("div", null, /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "grafana-scenes.components.viz-panel-renderer.panel-plugin-has-no-panel-component" }, "Panel plugin has no panel component"));
7756
+ return /* @__PURE__ */ React__default.default.createElement("div", null, "Panel plugin has no panel component");
7886
7757
  }
7887
7758
  const PanelComponent = plugin.panel;
7888
7759
  if (dataObject && dataObject.setContainerWidth) {
@@ -8294,7 +8165,7 @@ class VizPanel extends SceneObjectBase {
8294
8165
  super({
8295
8166
  options: {},
8296
8167
  fieldConfig: { defaults: {}, overrides: [] },
8297
- title: i18n.t("grafana-scenes.components.viz-panel.title.title", "Title"),
8168
+ title: "Title",
8298
8169
  pluginId: "timeseries",
8299
8170
  _renderCounter: 0,
8300
8171
  ...state
@@ -10116,10 +9987,7 @@ class DataSourceVariable extends MultiValueVariable {
10116
9987
  options.push({ label: source.name, value: source.uid });
10117
9988
  }
10118
9989
  if (this.state.defaultOptionEnabled && isDefault(source, regex)) {
10119
- options.push({
10120
- label: i18n.t("grafana-scenes.variables.data-source-variable.label.default", "default"),
10121
- value: "default"
10122
- });
9990
+ options.push({ label: "default", value: "default" });
10123
9991
  }
10124
9992
  }
10125
9993
  if (options.length === 0) {
@@ -10206,7 +10074,7 @@ class TestVariable extends MultiValueVariable {
10206
10074
  type: "custom",
10207
10075
  name: "Test",
10208
10076
  value: "Value",
10209
- text: i18n.t("grafana-scenes.variables.test-variable.text.text", "Text"),
10077
+ text: "Text",
10210
10078
  query: "Query",
10211
10079
  options: [],
10212
10080
  refresh: data.VariableRefresh.onDashboardLoad,
@@ -10311,7 +10179,7 @@ function VariableValueInput({ model }) {
10311
10179
  ui.AutoSizeInput,
10312
10180
  {
10313
10181
  id: key,
10314
- placeholder: i18n.t("grafana-scenes.variables.variable-value-input.placeholder-enter-value", "Enter value"),
10182
+ placeholder: "Enter value",
10315
10183
  minWidth: 15,
10316
10184
  maxWidth: 30,
10317
10185
  value,
@@ -10476,7 +10344,7 @@ IntervalVariable.Component = ({ model }) => {
10476
10344
  ui.Select,
10477
10345
  {
10478
10346
  id: key,
10479
- placeholder: i18n.t("grafana-scenes.variables.interval-variable.placeholder-select-value", "Select value"),
10347
+ placeholder: "Select value",
10480
10348
  width: "auto",
10481
10349
  value,
10482
10350
  tabSelectsValue: false,
@@ -10850,7 +10718,7 @@ function VizPanelExploreButtonComponent({ model }) {
10850
10718
  (_a = options.onClick) == null ? void 0 : _a.call(options);
10851
10719
  }
10852
10720
  },
10853
- /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "grafana-scenes.components.viz-panel-explore-button.explore" }, "Explore")
10721
+ "Explore"
10854
10722
  );
10855
10723
  }
10856
10724
  return null;
@@ -11449,7 +11317,7 @@ function SceneGridRowRenderer({ model }) {
11449
11317
  {
11450
11318
  onClick: model.onCollapseToggle,
11451
11319
  className: styles.rowTitleButton,
11452
- "aria-label": isCollapsed ? i18n.t("grafana-scenes.components.scene-grid-row.expand-row", "Expand row") : i18n.t("grafana-scenes.components.scene-grid-row.collapse-row", "Collapse row"),
11320
+ "aria-label": isCollapsed ? "Expand row" : "Collapse row",
11453
11321
  "data-testid": e2eSelectors.selectors.components.DashboardRow.title(sceneGraph.interpolate(model, title, void 0, "text"))
11454
11322
  },
11455
11323
  isCollapsible && /* @__PURE__ */ React__default.default.createElement(ui.Icon, { name: isCollapsed ? "angle-right" : "angle-down" }),
@@ -11573,7 +11441,7 @@ function NestedSceneRenderer({ model }) {
11573
11441
  variant: "default",
11574
11442
  onClick: model.onRemove,
11575
11443
  key: "remove-button",
11576
- "aria-label": i18n.t("grafana-scenes.components.nested-scene-renderer.remove-button-label", "Remove scene")
11444
+ "aria-label": "Remove scene"
11577
11445
  }
11578
11446
  )
11579
11447
  );
@@ -11583,7 +11451,7 @@ function NestedSceneRenderer({ model }) {
11583
11451
  {
11584
11452
  onClick: model.onToggle,
11585
11453
  className: gridRow.rowTitleButton,
11586
- "aria-label": isCollapsed ? i18n.t("grafana-scenes.components.nested-scene-renderer.expand-button-label", "Expand scene") : i18n.t("grafana-scenes.components.nested-scene-renderer.collapse-button-label", "Collapse scene")
11454
+ "aria-label": isCollapsed ? "Expand scene" : "Collapse scene"
11587
11455
  },
11588
11456
  canCollapse && /* @__PURE__ */ React__default.default.createElement(ui.Icon, { name: isCollapsed ? "angle-right" : "angle-down" }),
11589
11457
  /* @__PURE__ */ React__default.default.createElement("span", { className: gridRow.rowTitle, role: "heading" }, sceneGraph.interpolate(model, title, void 0, "text"))
@@ -12156,10 +12024,7 @@ function SceneTimeRangeCompareRenderer({ model }) {
12156
12024
  ui.ToolbarButton,
12157
12025
  {
12158
12026
  variant: "canvas",
12159
- tooltip: i18n.t(
12160
- "grafana-scenes.components.scene-time-range-compare-renderer.button-tooltip",
12161
- "Enable time frame comparison"
12162
- ),
12027
+ tooltip: "Enable time frame comparison",
12163
12028
  onClick: (e) => {
12164
12029
  e.stopPropagation();
12165
12030
  e.preventDefault();
@@ -12167,7 +12032,7 @@ function SceneTimeRangeCompareRenderer({ model }) {
12167
12032
  }
12168
12033
  },
12169
12034
  /* @__PURE__ */ React__default.default.createElement(ui.Checkbox, { label: " ", value: enabled, onClick }),
12170
- /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "grafana-scenes.components.scene-time-range-compare-renderer.button-label" }, "Comparison")
12035
+ "Comparison"
12171
12036
  ), enabled ? /* @__PURE__ */ React__default.default.createElement(
12172
12037
  ui.ButtonSelect,
12173
12038
  {
@@ -12753,7 +12618,7 @@ function Splitter({
12753
12618
  "aria-valuemax": 100,
12754
12619
  "aria-valuenow": 50,
12755
12620
  "aria-controls": `start-panel-${id}`,
12756
- "aria-label": i18n.t("grafana-scenes.components.splitter.aria-label-pane-resize-widget", "Pane resize widget"),
12621
+ "aria-label": "Pane resize widget",
12757
12622
  tabIndex: 0
12758
12623
  }
12759
12624
  ), /* @__PURE__ */ React__default.default.createElement(
@@ -13063,15 +12928,7 @@ function SceneDebugger({ scene }) {
13063
12928
  const styles = ui.useStyles2(getStyles);
13064
12929
  const [isOpen, setIsOpen] = React.useState(false);
13065
12930
  const [selectedObject, setSelectedObject] = React.useState();
13066
- return /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(ui.ToolbarButton, { variant: "canvas", icon: "bug", onClick: () => setIsOpen(true) }), isOpen && /* @__PURE__ */ React__default.default.createElement(
13067
- ui.Drawer,
13068
- {
13069
- title: i18n.t("grafana-scenes.components.scene-debugger.title-scene-debugger", "Scene debugger"),
13070
- onClose: () => setIsOpen(false),
13071
- size: "lg"
13072
- },
13073
- /* @__PURE__ */ React__default.default.createElement("div", { className: styles.panes }, /* @__PURE__ */ React__default.default.createElement("div", { className: styles.pane1 }, /* @__PURE__ */ React__default.default.createElement("div", { className: styles.paneHeading }, /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "grafana-scenes.components.scene-debugger.scene-graph" }, "Scene graph")), /* @__PURE__ */ React__default.default.createElement(ui.CustomScrollbar, { autoHeightMin: "100%" }, /* @__PURE__ */ React__default.default.createElement("div", { className: styles.treeWrapper }, /* @__PURE__ */ React__default.default.createElement(DebugTreeNode, { node: scene, selectedObject, onSelect: setSelectedObject })))), /* @__PURE__ */ React__default.default.createElement("div", { className: styles.pane2 }, /* @__PURE__ */ React__default.default.createElement("div", { className: styles.paneHeading }, /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "grafana-scenes.components.scene-debugger.object-details" }, "Object details")), selectedObject && /* @__PURE__ */ React__default.default.createElement(DebugDetails, { node: selectedObject })))
13074
- ));
12931
+ return /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(ui.ToolbarButton, { variant: "canvas", icon: "bug", onClick: () => setIsOpen(true) }), isOpen && /* @__PURE__ */ React__default.default.createElement(ui.Drawer, { title: "Scene debugger", onClose: () => setIsOpen(false), size: "lg" }, /* @__PURE__ */ React__default.default.createElement("div", { className: styles.panes }, /* @__PURE__ */ React__default.default.createElement("div", { className: styles.pane1 }, /* @__PURE__ */ React__default.default.createElement("div", { className: styles.paneHeading }, "Scene graph"), /* @__PURE__ */ React__default.default.createElement(ui.CustomScrollbar, { autoHeightMin: "100%" }, /* @__PURE__ */ React__default.default.createElement("div", { className: styles.treeWrapper }, /* @__PURE__ */ React__default.default.createElement(DebugTreeNode, { node: scene, selectedObject, onSelect: setSelectedObject })))), /* @__PURE__ */ React__default.default.createElement("div", { className: styles.pane2 }, /* @__PURE__ */ React__default.default.createElement("div", { className: styles.paneHeading }, "Object details"), selectedObject && /* @__PURE__ */ React__default.default.createElement(DebugDetails, { node: selectedObject })))));
13075
12932
  }
13076
12933
  function getStyles(theme) {
13077
12934
  return {
@@ -13307,8 +13164,8 @@ function getFallbackRoute(page) {
13307
13164
  function getDefaultFallbackPage() {
13308
13165
  return new SceneAppPage({
13309
13166
  url: "",
13310
- title: i18n.t("grafana-scenes.components.fallback-page.title", "Not found"),
13311
- subTitle: i18n.t("grafana-scenes.components.fallback-page.subTitle", "The url did not match any page"),
13167
+ title: "Not found",
13168
+ subTitle: "The url did not match any page",
13312
13169
  routePath: "*",
13313
13170
  getScene: () => {
13314
13171
  return new EmbeddedScene({
@@ -13318,7 +13175,7 @@ function getDefaultFallbackPage() {
13318
13175
  new SceneFlexItem({
13319
13176
  body: new SceneReactObject({
13320
13177
  component: () => {
13321
- return /* @__PURE__ */ React__default.default.createElement("div", { "data-testid": "default-fallback-content" }, /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "grafana-scenes.components.fallback-page.content" }, "If you found your way here using a link then there might be a bug in this application."));
13178
+ return /* @__PURE__ */ React__default.default.createElement("div", { "data-testid": "default-fallback-content" }, "If you found your way here using a link then there might be a bug in this application.");
13322
13179
  }
13323
13180
  })
13324
13181
  })
@@ -14238,25 +14095,6 @@ const VizConfigBuilders = {
14238
14095
  }
14239
14096
  };
14240
14097
 
14241
- function __variableDynamicImportRuntime0__(path) {
14242
- switch (path) {
14243
- case '../locales/en-US/grafana-scenes.json': return Promise.resolve().then(function () { return require('./grafana-scenes-DCHONTnD.js'); });
14244
- default: return new Promise(function(resolve, reject) {
14245
- (typeof queueMicrotask === 'function' ? queueMicrotask : setTimeout)(
14246
- reject.bind(null, new Error("Unknown variable dynamic import: " + path))
14247
- );
14248
- })
14249
- }
14250
- }
14251
- const resources = i18n.LANGUAGES.reduce((acc, lang) => {
14252
- acc[lang.code] = async () => await __variableDynamicImportRuntime0__(`../locales/${lang.code}/grafana-scenes.json`);
14253
- return acc;
14254
- }, {});
14255
- const loadResources = async (resolvedLanguage) => {
14256
- const translation = await resources[resolvedLanguage]();
14257
- return translation.default;
14258
- };
14259
-
14260
14098
  const sceneUtils = {
14261
14099
  getUrlWithAppState,
14262
14100
  registerRuntimePanelPlugin,
@@ -14366,7 +14204,6 @@ exports.isDataLayer = isDataLayer;
14366
14204
  exports.isDataRequestEnricher = isDataRequestEnricher;
14367
14205
  exports.isFiltersRequestEnricher = isFiltersRequestEnricher;
14368
14206
  exports.isSceneObject = isSceneObject;
14369
- exports.loadResources = loadResources;
14370
14207
  exports.registerQueryWithController = registerQueryWithController;
14371
14208
  exports.registerRuntimeDataSource = registerRuntimeDataSource;
14372
14209
  exports.sceneGraph = sceneGraph;