@grafana/scenes 6.20.3--canary.1151.15707564301.0 → 6.20.3--canary.1151.15709758411.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.
- package/dist/esm/components/NestedScene.js +2 -2
- package/dist/esm/components/NestedScene.js.map +1 -1
- package/dist/esm/components/SceneApp/SceneAppPage.js +3 -3
- package/dist/esm/components/SceneApp/SceneAppPage.js.map +1 -1
- package/dist/esm/components/SceneDebugger/SceneDebugger.js +2 -2
- package/dist/esm/components/SceneDebugger/SceneDebugger.js.map +1 -1
- package/dist/esm/components/SceneTimeRangeCompare.js +5 -2
- package/dist/esm/components/SceneTimeRangeCompare.js.map +1 -1
- package/dist/esm/components/VizPanel/VizPanel.js +1 -1
- package/dist/esm/components/VizPanel/VizPanel.js.map +1 -1
- package/dist/esm/components/VizPanel/VizPanelExploreButton.js +1 -1
- package/dist/esm/components/VizPanel/VizPanelExploreButton.js.map +1 -1
- package/dist/esm/components/VizPanel/VizPanelRenderer.js +2 -2
- package/dist/esm/components/VizPanel/VizPanelRenderer.js.map +1 -1
- package/dist/esm/components/VizPanel/VizPanelSeriesLimit.js +8 -4
- package/dist/esm/components/VizPanel/VizPanelSeriesLimit.js.map +1 -1
- package/dist/esm/components/layout/grid/SceneGridRow.js +1 -1
- package/dist/esm/components/layout/grid/SceneGridRow.js.map +1 -1
- package/dist/esm/components/layout/split/Splitter.js +1 -1
- package/dist/esm/components/layout/split/Splitter.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/locales/en-US/grafana-scenes.json.js +141 -142
- package/dist/esm/locales/en-US/grafana-scenes.json.js.map +1 -1
- package/dist/esm/utils/ControlsLabel.js +1 -1
- package/dist/esm/utils/ControlsLabel.js.map +1 -1
- package/dist/esm/utils/LoadingIndicator.js +1 -1
- package/dist/esm/utils/LoadingIndicator.js.map +1 -1
- package/dist/esm/utils/{loadTranslationResources.js → loadResources.js} +3 -6
- package/dist/esm/utils/loadResources.js.map +1 -0
- package/dist/esm/variables/adhoc/AdHocFilterBuilder.js +2 -2
- package/dist/esm/variables/adhoc/AdHocFilterBuilder.js.map +1 -1
- package/dist/esm/variables/adhoc/AdHocFilterRenderer.js +11 -5
- package/dist/esm/variables/adhoc/AdHocFilterRenderer.js.map +1 -1
- package/dist/esm/variables/adhoc/AdHocFiltersCombobox/AdHocFilterPill.js +15 -7
- package/dist/esm/variables/adhoc/AdHocFiltersCombobox/AdHocFilterPill.js.map +1 -1
- package/dist/esm/variables/adhoc/AdHocFiltersCombobox/AdHocFiltersCombobox.js +5 -2
- package/dist/esm/variables/adhoc/AdHocFiltersCombobox/AdHocFiltersCombobox.js.map +1 -1
- package/dist/esm/variables/adhoc/AdHocFiltersCombobox/DropdownItem.js +4 -4
- package/dist/esm/variables/adhoc/AdHocFiltersCombobox/DropdownItem.js.map +1 -1
- package/dist/esm/variables/adhoc/AdHocFiltersCombobox/MultiValuePill.js +7 -3
- package/dist/esm/variables/adhoc/AdHocFiltersCombobox/MultiValuePill.js.map +1 -1
- package/dist/esm/variables/components/VariableValueInput.js +1 -1
- package/dist/esm/variables/components/VariableValueInput.js.map +1 -1
- package/dist/esm/variables/components/VariableValueSelect.js +1 -1
- package/dist/esm/variables/components/VariableValueSelect.js.map +1 -1
- package/dist/esm/variables/groupby/DefaultGroupByCustomIndicatorContainer.js +3 -3
- package/dist/esm/variables/groupby/DefaultGroupByCustomIndicatorContainer.js.map +1 -1
- package/dist/esm/variables/groupby/GroupByVariable.js +16 -4
- package/dist/esm/variables/groupby/GroupByVariable.js.map +1 -1
- package/dist/esm/variables/interpolation/formatRegistry.js +27 -12
- package/dist/esm/variables/interpolation/formatRegistry.js.map +1 -1
- package/dist/esm/variables/variants/DataSourceVariable.js +4 -1
- package/dist/esm/variables/variants/DataSourceVariable.js.map +1 -1
- package/dist/esm/variables/variants/IntervalVariable.js +1 -1
- package/dist/esm/variables/variants/IntervalVariable.js.map +1 -1
- package/dist/esm/variables/variants/TestVariable.js +1 -1
- package/dist/esm/variables/variants/TestVariable.js.map +1 -1
- package/dist/grafana-scenes-DCHONTnD.js +153 -0
- package/dist/{grafana-scenes-8mJSrmSH.js.map → grafana-scenes-DCHONTnD.js.map} +1 -1
- package/dist/index.d.ts +6 -4
- package/dist/index.js +128 -73
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/esm/utils/loadTranslationResources.js.map +0 -1
- package/dist/grafana-scenes-8mJSrmSH.js +0 -157
package/dist/index.js
CHANGED
@@ -1321,7 +1321,10 @@ const formatRegistry = new data.Registry(() => {
|
|
1321
1321
|
{
|
1322
1322
|
id: schema.VariableFormatID.Raw,
|
1323
1323
|
name: "raw",
|
1324
|
-
description: i18n.t(
|
1324
|
+
description: i18n.t(
|
1325
|
+
"grafana-scenes.variables.format-registry.formats.description.keep-value-as-is",
|
1326
|
+
"Keep value as is"
|
1327
|
+
),
|
1325
1328
|
formatter: (value) => String(value)
|
1326
1329
|
},
|
1327
1330
|
{
|
@@ -1352,7 +1355,7 @@ const formatRegistry = new data.Registry(() => {
|
|
1352
1355
|
id: schema.VariableFormatID.Pipe,
|
1353
1356
|
name: "Pipe",
|
1354
1357
|
description: i18n.t(
|
1355
|
-
"variables.format-registry.formats.description.values-are-separated-by-character",
|
1358
|
+
"grafana-scenes.variables.format-registry.formats.description.values-are-separated-by-character",
|
1356
1359
|
"Values are separated by | character"
|
1357
1360
|
),
|
1358
1361
|
formatter: (value) => {
|
@@ -1369,7 +1372,7 @@ const formatRegistry = new data.Registry(() => {
|
|
1369
1372
|
id: schema.VariableFormatID.Distributed,
|
1370
1373
|
name: "Distributed",
|
1371
1374
|
description: i18n.t(
|
1372
|
-
"variables.format-registry.formats.description.multiple-values-are-formatted-like-variablevalue",
|
1375
|
+
"grafana-scenes.variables.format-registry.formats.description.multiple-values-are-formatted-like-variablevalue",
|
1373
1376
|
"Multiple values are formatted like variable=value"
|
1374
1377
|
),
|
1375
1378
|
formatter: (value, args, variable) => {
|
@@ -1392,7 +1395,10 @@ const formatRegistry = new data.Registry(() => {
|
|
1392
1395
|
{
|
1393
1396
|
id: schema.VariableFormatID.CSV,
|
1394
1397
|
name: "Csv",
|
1395
|
-
description: i18n.t(
|
1398
|
+
description: i18n.t(
|
1399
|
+
"grafana-scenes.variables.format-registry.formats.description.commaseparated-values",
|
1400
|
+
"Comma-separated values"
|
1401
|
+
),
|
1396
1402
|
formatter: (value) => {
|
1397
1403
|
if (typeof value === "string") {
|
1398
1404
|
return value;
|
@@ -1407,7 +1413,7 @@ const formatRegistry = new data.Registry(() => {
|
|
1407
1413
|
id: schema.VariableFormatID.HTML,
|
1408
1414
|
name: "HTML",
|
1409
1415
|
description: i18n.t(
|
1410
|
-
"variables.format-registry.formats.description.html-escaping-of-values",
|
1416
|
+
"grafana-scenes.variables.format-registry.formats.description.html-escaping-of-values",
|
1411
1417
|
"HTML escaping of values"
|
1412
1418
|
),
|
1413
1419
|
formatter: (value) => {
|
@@ -1423,7 +1429,10 @@ const formatRegistry = new data.Registry(() => {
|
|
1423
1429
|
{
|
1424
1430
|
id: schema.VariableFormatID.JSON,
|
1425
1431
|
name: "JSON",
|
1426
|
-
description: i18n.t(
|
1432
|
+
description: i18n.t(
|
1433
|
+
"grafana-scenes.variables.format-registry.formats.description.json-stringify-value",
|
1434
|
+
"JSON stringify value"
|
1435
|
+
),
|
1427
1436
|
formatter: (value) => {
|
1428
1437
|
if (typeof value === "string") {
|
1429
1438
|
return value;
|
@@ -1435,7 +1444,7 @@ const formatRegistry = new data.Registry(() => {
|
|
1435
1444
|
id: schema.VariableFormatID.PercentEncode,
|
1436
1445
|
name: "Percent encode",
|
1437
1446
|
description: i18n.t(
|
1438
|
-
"variables.format-registry.formats.description.useful-for-url-escaping-values",
|
1447
|
+
"grafana-scenes.variables.format-registry.formats.description.useful-for-url-escaping-values",
|
1439
1448
|
"Useful for URL escaping values"
|
1440
1449
|
),
|
1441
1450
|
formatter: (value) => {
|
@@ -1448,7 +1457,10 @@ const formatRegistry = new data.Registry(() => {
|
|
1448
1457
|
{
|
1449
1458
|
id: schema.VariableFormatID.SingleQuote,
|
1450
1459
|
name: "Single quote",
|
1451
|
-
description: i18n.t(
|
1460
|
+
description: i18n.t(
|
1461
|
+
"grafana-scenes.variables.format-registry.formats.description.single-quoted-values",
|
1462
|
+
"Single quoted values"
|
1463
|
+
),
|
1452
1464
|
formatter: (value) => {
|
1453
1465
|
const regExp = new RegExp(`'`, "g");
|
1454
1466
|
if (lodash.isArray(value)) {
|
@@ -1461,7 +1473,10 @@ const formatRegistry = new data.Registry(() => {
|
|
1461
1473
|
{
|
1462
1474
|
id: schema.VariableFormatID.DoubleQuote,
|
1463
1475
|
name: "Double quote",
|
1464
|
-
description: i18n.t(
|
1476
|
+
description: i18n.t(
|
1477
|
+
"grafana-scenes.variables.format-registry.formats.description.double-quoted-values",
|
1478
|
+
"Double quoted values"
|
1479
|
+
),
|
1465
1480
|
formatter: (value) => {
|
1466
1481
|
const regExp = new RegExp('"', "g");
|
1467
1482
|
if (lodash.isArray(value)) {
|
@@ -1481,7 +1496,7 @@ const formatRegistry = new data.Registry(() => {
|
|
1481
1496
|
id: schema.VariableFormatID.Date,
|
1482
1497
|
name: "Date",
|
1483
1498
|
description: i18n.t(
|
1484
|
-
"variables.format-registry.formats.description.format-date-in-different-ways",
|
1499
|
+
"grafana-scenes.variables.format-registry.formats.description.format-date-in-different-ways",
|
1485
1500
|
"Format date in different ways"
|
1486
1501
|
),
|
1487
1502
|
formatter: (value, args) => {
|
@@ -1515,7 +1530,7 @@ const formatRegistry = new data.Registry(() => {
|
|
1515
1530
|
id: schema.VariableFormatID.Glob,
|
1516
1531
|
name: "Glob",
|
1517
1532
|
description: i18n.t(
|
1518
|
-
"variables.format-registry.formats.description.format-multivalued-variables-using-syntax-example",
|
1533
|
+
"grafana-scenes.variables.format-registry.formats.description.format-multivalued-variables-using-syntax-example",
|
1519
1534
|
"Format multi-valued variables using glob syntax, example {value1,value2}"
|
1520
1535
|
),
|
1521
1536
|
formatter: (value) => {
|
@@ -1555,7 +1570,7 @@ const formatRegistry = new data.Registry(() => {
|
|
1555
1570
|
id: schema.VariableFormatID.UriEncode,
|
1556
1571
|
name: "Percent encode as URI",
|
1557
1572
|
description: i18n.t(
|
1558
|
-
"variables.format-registry.formats.description.useful-escaping-values-taking-syntax-characters",
|
1573
|
+
"grafana-scenes.variables.format-registry.formats.description.useful-escaping-values-taking-syntax-characters",
|
1559
1574
|
"Useful for URL escaping values, taking into URI syntax characters"
|
1560
1575
|
),
|
1561
1576
|
formatter: (value) => {
|
@@ -2827,7 +2842,7 @@ function VariableValueSelect({ model, state }) {
|
|
2827
2842
|
{
|
2828
2843
|
id: key,
|
2829
2844
|
isValidNewOption: (inputValue2) => inputValue2.trim().length > 0,
|
2830
|
-
placeholder: i18n.t("variables.variable-value-select.placeholder-select-value", "Select value"),
|
2845
|
+
placeholder: i18n.t("grafana-scenes.variables.variable-value-select.placeholder-select-value", "Select value"),
|
2831
2846
|
width: "auto",
|
2832
2847
|
disabled: isReadOnly,
|
2833
2848
|
value: selectValue,
|
@@ -3134,7 +3149,7 @@ function DefaultGroupByCustomIndicatorContainer(props) {
|
|
3134
3149
|
/* @__PURE__ */ React__default.default.createElement(
|
3135
3150
|
ui.IconButton,
|
3136
3151
|
{
|
3137
|
-
"aria-label": i18n.t("variables.default-group-by-custom-indicator-container.aria-label-clear", "clear"),
|
3152
|
+
"aria-label": i18n.t("grafana-scenes.variables.default-group-by-custom-indicator-container.aria-label-clear", "clear"),
|
3138
3153
|
key: "clear",
|
3139
3154
|
name: "times",
|
3140
3155
|
size: "md",
|
@@ -3167,7 +3182,7 @@ function DefaultGroupByCustomIndicatorContainer(props) {
|
|
3167
3182
|
size: "md",
|
3168
3183
|
className: styles.clearIcon,
|
3169
3184
|
tooltip: i18n.t(
|
3170
|
-
"variables.default-group-by-custom-indicator-container.tooltip-restore-groupby-set-by-this-dashboard",
|
3185
|
+
"grafana-scenes.variables.default-group-by-custom-indicator-container.tooltip-restore-groupby-set-by-this-dashboard",
|
3171
3186
|
"Restore groupby set by this dashboard."
|
3172
3187
|
)
|
3173
3188
|
}
|
@@ -3181,7 +3196,7 @@ function DefaultGroupByCustomIndicatorContainer(props) {
|
|
3181
3196
|
{
|
3182
3197
|
key: "tooltip",
|
3183
3198
|
content: i18n.t(
|
3184
|
-
"variables.default-group-by-custom-indicator-container.tooltip",
|
3199
|
+
"grafana-scenes.variables.default-group-by-custom-indicator-container.tooltip",
|
3185
3200
|
"Applied by default in this dashboard. If edited, it carries over to other dashboards."
|
3186
3201
|
),
|
3187
3202
|
placement: "bottom"
|
@@ -3437,10 +3452,16 @@ function GroupByVariableRenderer({ model }) {
|
|
3437
3452
|
return isMulti ? /* @__PURE__ */ React__default.default.createElement(
|
3438
3453
|
ui.MultiSelect,
|
3439
3454
|
{
|
3440
|
-
"aria-label": i18n.t(
|
3455
|
+
"aria-label": i18n.t(
|
3456
|
+
"grafana-scenes.variables.group-by-variable-renderer.aria-label-group-by-selector",
|
3457
|
+
"Group by selector"
|
3458
|
+
),
|
3441
3459
|
"data-testid": `GroupBySelect-${key}`,
|
3442
3460
|
id: key,
|
3443
|
-
placeholder: i18n.t(
|
3461
|
+
placeholder: i18n.t(
|
3462
|
+
"grafana-scenes.variables.group-by-variable-renderer.placeholder-group-by-label",
|
3463
|
+
"Group by label"
|
3464
|
+
),
|
3444
3465
|
width: "auto",
|
3445
3466
|
allowCustomValue,
|
3446
3467
|
inputValue,
|
@@ -3493,10 +3514,16 @@ function GroupByVariableRenderer({ model }) {
|
|
3493
3514
|
) : /* @__PURE__ */ React__default.default.createElement(
|
3494
3515
|
ui.Select,
|
3495
3516
|
{
|
3496
|
-
"aria-label": i18n.t(
|
3517
|
+
"aria-label": i18n.t(
|
3518
|
+
"grafana-scenes.variables.group-by-variable-renderer.aria-label-group-by-selector",
|
3519
|
+
"Group by selector"
|
3520
|
+
),
|
3497
3521
|
"data-testid": `GroupBySelect-${key}`,
|
3498
3522
|
id: key,
|
3499
|
-
placeholder: i18n.t(
|
3523
|
+
placeholder: i18n.t(
|
3524
|
+
"grafana-scenes.variables.group-by-variable-renderer.placeholder-group-by-label",
|
3525
|
+
"Group by label"
|
3526
|
+
),
|
3500
3527
|
width: "auto",
|
3501
3528
|
inputValue,
|
3502
3529
|
value: uncommittedValue && uncommittedValue.length > 0 ? uncommittedValue : null,
|
@@ -3553,7 +3580,7 @@ function toSelectableValue$1(input) {
|
|
3553
3580
|
}
|
3554
3581
|
|
3555
3582
|
function LoadingIndicator(props) {
|
3556
|
-
return /* @__PURE__ */ React__default.default.createElement(ui.Tooltip, { content: i18n.t("utils.loading-indicator.content-cancel-query", "Cancel query") }, /* @__PURE__ */ React__default.default.createElement(
|
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(
|
3557
3584
|
ui.Icon,
|
3558
3585
|
{
|
3559
3586
|
className: "spin-clockwise",
|
@@ -3607,7 +3634,7 @@ function ControlsLabel(props) {
|
|
3607
3634
|
size: "xs",
|
3608
3635
|
name: "times",
|
3609
3636
|
onClick: props.onRemove,
|
3610
|
-
tooltip: i18n.t("utils.controls-label.tooltip-remove", "Remove")
|
3637
|
+
tooltip: i18n.t("grafana-scenes.utils.controls-label.tooltip-remove", "Remove")
|
3611
3638
|
}
|
3612
3639
|
), props.suffix);
|
3613
3640
|
} else {
|
@@ -3758,7 +3785,10 @@ function AdHocFilterRenderer({ filter, model }) {
|
|
3758
3785
|
width: "auto",
|
3759
3786
|
value: valueValue,
|
3760
3787
|
filterOption: filterNoOp,
|
3761
|
-
placeholder: i18n.t(
|
3788
|
+
placeholder: i18n.t(
|
3789
|
+
"grafana-scenes.variables.ad-hoc-filter-renderer.value-select.placeholder-select-value",
|
3790
|
+
"Select value"
|
3791
|
+
),
|
3762
3792
|
options: filteredValueOptions,
|
3763
3793
|
inputValue: valueInputValue,
|
3764
3794
|
onInputChange: onValueInputChange,
|
@@ -3805,7 +3835,10 @@ function AdHocFilterRenderer({ filter, model }) {
|
|
3805
3835
|
width: "auto",
|
3806
3836
|
allowCustomValue: (_c = model.state.allowCustomValue) != null ? _c : true,
|
3807
3837
|
value: keyValue,
|
3808
|
-
placeholder: i18n.t(
|
3838
|
+
placeholder: i18n.t(
|
3839
|
+
"grafana-scenes.variables.ad-hoc-filter-renderer.key-select.placeholder-select-label",
|
3840
|
+
"Select label"
|
3841
|
+
),
|
3809
3842
|
options: handleOptionGroups(keys),
|
3810
3843
|
onChange: (v) => {
|
3811
3844
|
model._updateFilter(filter, {
|
@@ -3865,7 +3898,7 @@ function AdHocFilterRenderer({ filter, model }) {
|
|
3865
3898
|
return /* @__PURE__ */ React__default.default.createElement(
|
3866
3899
|
ui.Field,
|
3867
3900
|
{
|
3868
|
-
label: i18n.t("variables.ad-hoc-filter-renderer.label-select-label", "Select label"),
|
3901
|
+
label: i18n.t("grafana-scenes.variables.ad-hoc-filter-renderer.label-select-label", "Select label"),
|
3869
3902
|
"data-testid": `AdHocFilter-${filter.key}`,
|
3870
3903
|
className: styles.field
|
3871
3904
|
},
|
@@ -3877,8 +3910,8 @@ function AdHocFilterRenderer({ filter, model }) {
|
|
3877
3910
|
ui.Button,
|
3878
3911
|
{
|
3879
3912
|
variant: "secondary",
|
3880
|
-
"aria-label": i18n.t("variables.ad-hoc-filter-renderer.aria-label-remove-filter", "Remove filter"),
|
3881
|
-
title: i18n.t("variables.ad-hoc-filter-renderer.title-remove-filter", "Remove filter"),
|
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"),
|
3882
3915
|
className: styles.removeButton,
|
3883
3916
|
icon: "times",
|
3884
3917
|
"data-testid": `AdHocFilter-remove-${(_e = filter.key) != null ? _e : ""}`,
|
@@ -3959,8 +3992,8 @@ function AdHocFilterBuilder({ model, addFilterButtonText }) {
|
|
3959
3992
|
{
|
3960
3993
|
variant: "secondary",
|
3961
3994
|
icon: "plus",
|
3962
|
-
title: i18n.t("variables.ad-hoc-filter-builder.title-add-filter", "Add filter"),
|
3963
|
-
"aria-label": i18n.t("variables.ad-hoc-filter-builder.aria-label-add-filter", "Add filter"),
|
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"),
|
3964
3997
|
"data-testid": `AdHocFilter-add`,
|
3965
3998
|
onClick: () => model._addWip()
|
3966
3999
|
},
|
@@ -4162,13 +4195,13 @@ const getStyles$e = (theme) => ({
|
|
4162
4195
|
})
|
4163
4196
|
});
|
4164
4197
|
const LoadingOptionsPlaceholder = () => {
|
4165
|
-
return /* @__PURE__ */ React__default.default.createElement(DropdownItem, { onClick: (e) => e.stopPropagation() }, /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "variables.loading-options-placeholder.loading-options" }, "Loading options..."));
|
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..."));
|
4166
4199
|
};
|
4167
4200
|
const NoOptionsPlaceholder = () => {
|
4168
|
-
return /* @__PURE__ */ React__default.default.createElement(DropdownItem, { onClick: (e) => e.stopPropagation() }, /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "variables.no-options-placeholder.no-options-found" }, "No options found"));
|
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"));
|
4169
4202
|
};
|
4170
4203
|
const OptionsErrorPlaceholder = ({ handleFetchOptions }) => {
|
4171
|
-
return /* @__PURE__ */ React__default.default.createElement(DropdownItem, { onClick: handleFetchOptions }, /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "variables.options-error-placeholder.error-occurred-fetching-labels-click-retry" }, "An error has occurred fetching labels. Click to retry"));
|
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"));
|
4172
4205
|
};
|
4173
4206
|
const MultiValueApplyButton = ({
|
4174
4207
|
onApply,
|
@@ -4187,7 +4220,7 @@ const MultiValueApplyButton = ({
|
|
4187
4220
|
transform: `translate(${floatingElementRect == null ? void 0 : floatingElementRect.left}px,${floatingElementRect ? floatingElementRect.top + menuHeight : 0}px)`
|
4188
4221
|
}
|
4189
4222
|
},
|
4190
|
-
/* @__PURE__ */ React__default.default.createElement(ui.Button, { onClick: onApply, size: "sm", tabIndex: -1 }, /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "variables.multi-value-apply-button.apply" }, "Apply"))
|
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"))
|
4191
4224
|
);
|
4192
4225
|
};
|
4193
4226
|
|
@@ -4449,9 +4482,13 @@ const MultiValuePill = ({
|
|
4449
4482
|
size: "sm",
|
4450
4483
|
variant: "secondary",
|
4451
4484
|
className: styles.removeButton,
|
4452
|
-
tooltip: i18n.t(
|
4453
|
-
|
4454
|
-
|
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
|
+
)
|
4455
4492
|
},
|
4456
4493
|
/* @__PURE__ */ React__default.default.createElement(ui.Icon, { name: "times", size: "md", id: `${item.value}-${index}-close-icon` })
|
4457
4494
|
)
|
@@ -4876,7 +4913,10 @@ const AdHocCombobox = React.forwardRef(function AdHocCombobox2({ filter, model,
|
|
4876
4913
|
filter.origin && styles.keyPill,
|
4877
4914
|
operatorIdentifier
|
4878
4915
|
),
|
4879
|
-
"aria-label": i18n.t(
|
4916
|
+
"aria-label": i18n.t(
|
4917
|
+
"grafana-scenes.variables.ad-hoc-combobox.aria-label-edit-filter-operator",
|
4918
|
+
"Edit filter operator"
|
4919
|
+
),
|
4880
4920
|
tabIndex: filter.origin ? -1 : 0,
|
4881
4921
|
onClick: (event) => {
|
4882
4922
|
if (filter.origin) {
|
@@ -5047,7 +5087,7 @@ const AdHocCombobox = React.forwardRef(function AdHocCombobox2({ filter, model,
|
|
5047
5087
|
checked: filterMultiValues.some((val) => val.value === item.value)
|
5048
5088
|
},
|
5049
5089
|
/* @__PURE__ */ React__default.default.createElement("span", null, item.isCustom ? i18n.t(
|
5050
|
-
"components.adhoc-filters-combobox.use-custom-value",
|
5090
|
+
"grafana-scenes.components.adhoc-filters-combobox.use-custom-value",
|
5051
5091
|
"Use custom value: {{itemLabel}}",
|
5052
5092
|
{ itemLabel }
|
5053
5093
|
) : itemLabel),
|
@@ -5220,9 +5260,13 @@ function AdHocFilterPill({ filter, model, readOnly, focusOnWipInputRef }) {
|
|
5220
5260
|
}
|
5221
5261
|
},
|
5222
5262
|
role: readOnly ? void 0 : "button",
|
5223
|
-
"aria-label": i18n.t(
|
5224
|
-
|
5225
|
-
|
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
|
+
),
|
5226
5270
|
tabIndex: 0,
|
5227
5271
|
ref: pillWrapperRef
|
5228
5272
|
},
|
@@ -5254,15 +5298,19 @@ function AdHocFilterPill({ filter, model, readOnly, focusOnWipInputRef }) {
|
|
5254
5298
|
name: "times",
|
5255
5299
|
size: "md",
|
5256
5300
|
className: styles.pillIcon,
|
5257
|
-
tooltip: i18n.t(
|
5258
|
-
|
5259
|
-
|
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
|
+
)
|
5260
5308
|
}
|
5261
5309
|
) : null,
|
5262
5310
|
filter.origin && filter.readOnly && /* @__PURE__ */ React__default.default.createElement(
|
5263
5311
|
ui.Tooltip,
|
5264
5312
|
{
|
5265
|
-
content: i18n.t("components.adhoc-filter-pill.managed-filter", "{{origin}} managed filter", {
|
5313
|
+
content: i18n.t("grafana-scenes.components.adhoc-filter-pill.managed-filter", "{{origin}} managed filter", {
|
5266
5314
|
origin: filter.origin
|
5267
5315
|
}),
|
5268
5316
|
placement: "bottom"
|
@@ -7749,9 +7797,13 @@ function VizPanelSeriesLimit({ data, showAll, seriesLimit, onShowAllSeries }) {
|
|
7749
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(
|
7750
7798
|
ui.Icon,
|
7751
7799
|
{
|
7752
|
-
title: i18n.t(
|
7753
|
-
|
7754
|
-
|
7800
|
+
title: i18n.t(
|
7801
|
+
"grafana-scenes.components.viz-panel-series-limit.warning-message",
|
7802
|
+
`Showing only {{seriesLimit}} series`,
|
7803
|
+
{
|
7804
|
+
seriesLimit
|
7805
|
+
}
|
7806
|
+
),
|
7755
7807
|
name: "exclamation-triangle",
|
7756
7808
|
"aria-hidden": "true"
|
7757
7809
|
}
|
@@ -7759,7 +7811,7 @@ function VizPanelSeriesLimit({ data, showAll, seriesLimit, onShowAllSeries }) {
|
|
7759
7811
|
ui.Tooltip,
|
7760
7812
|
{
|
7761
7813
|
content: i18n.t(
|
7762
|
-
"components.viz-panel-series-limit.content-rendering-series-single-panel-impact-performance",
|
7814
|
+
"grafana-scenes.components.viz-panel-series-limit.content-rendering-series-single-panel-impact-performance",
|
7763
7815
|
"Rendering too many series in a single panel may impact performance and make data harder to read."
|
7764
7816
|
)
|
7765
7817
|
},
|
@@ -7827,10 +7879,10 @@ function VizPanelRenderer({ model }) {
|
|
7827
7879
|
const titleInterpolated = model.interpolate(title, void 0, "text");
|
7828
7880
|
const alertStateStyles = ui.useStyles2(getAlertStateStyles);
|
7829
7881
|
if (!plugin) {
|
7830
|
-
return /* @__PURE__ */ React__default.default.createElement("div", null, /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "components.viz-panel-renderer.loading-plugin-panel" }, "Loading plugin panel..."));
|
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..."));
|
7831
7883
|
}
|
7832
7884
|
if (!plugin.panel) {
|
7833
|
-
return /* @__PURE__ */ React__default.default.createElement("div", null, /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "components.viz-panel-renderer.panel-plugin-has-no-panel-component" }, "Panel plugin has no panel component"));
|
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"));
|
7834
7886
|
}
|
7835
7887
|
const PanelComponent = plugin.panel;
|
7836
7888
|
if (dataObject && dataObject.setContainerWidth) {
|
@@ -8242,7 +8294,7 @@ class VizPanel extends SceneObjectBase {
|
|
8242
8294
|
super({
|
8243
8295
|
options: {},
|
8244
8296
|
fieldConfig: { defaults: {}, overrides: [] },
|
8245
|
-
title: i18n.t("components.viz-panel.title.title", "Title"),
|
8297
|
+
title: i18n.t("grafana-scenes.components.viz-panel.title.title", "Title"),
|
8246
8298
|
pluginId: "timeseries",
|
8247
8299
|
_renderCounter: 0,
|
8248
8300
|
...state
|
@@ -10064,7 +10116,10 @@ class DataSourceVariable extends MultiValueVariable {
|
|
10064
10116
|
options.push({ label: source.name, value: source.uid });
|
10065
10117
|
}
|
10066
10118
|
if (this.state.defaultOptionEnabled && isDefault(source, regex)) {
|
10067
|
-
options.push({
|
10119
|
+
options.push({
|
10120
|
+
label: i18n.t("grafana-scenes.variables.data-source-variable.label.default", "default"),
|
10121
|
+
value: "default"
|
10122
|
+
});
|
10068
10123
|
}
|
10069
10124
|
}
|
10070
10125
|
if (options.length === 0) {
|
@@ -10151,7 +10206,7 @@ class TestVariable extends MultiValueVariable {
|
|
10151
10206
|
type: "custom",
|
10152
10207
|
name: "Test",
|
10153
10208
|
value: "Value",
|
10154
|
-
text: i18n.t("variables.test-variable.text.text", "Text"),
|
10209
|
+
text: i18n.t("grafana-scenes.variables.test-variable.text.text", "Text"),
|
10155
10210
|
query: "Query",
|
10156
10211
|
options: [],
|
10157
10212
|
refresh: data.VariableRefresh.onDashboardLoad,
|
@@ -10256,7 +10311,7 @@ function VariableValueInput({ model }) {
|
|
10256
10311
|
ui.AutoSizeInput,
|
10257
10312
|
{
|
10258
10313
|
id: key,
|
10259
|
-
placeholder: i18n.t("variables.variable-value-input.placeholder-enter-value", "Enter value"),
|
10314
|
+
placeholder: i18n.t("grafana-scenes.variables.variable-value-input.placeholder-enter-value", "Enter value"),
|
10260
10315
|
minWidth: 15,
|
10261
10316
|
maxWidth: 30,
|
10262
10317
|
value,
|
@@ -10421,7 +10476,7 @@ IntervalVariable.Component = ({ model }) => {
|
|
10421
10476
|
ui.Select,
|
10422
10477
|
{
|
10423
10478
|
id: key,
|
10424
|
-
placeholder: i18n.t("variables.interval-variable.placeholder-select-value", "Select value"),
|
10479
|
+
placeholder: i18n.t("grafana-scenes.variables.interval-variable.placeholder-select-value", "Select value"),
|
10425
10480
|
width: "auto",
|
10426
10481
|
value,
|
10427
10482
|
tabSelectsValue: false,
|
@@ -10795,7 +10850,7 @@ function VizPanelExploreButtonComponent({ model }) {
|
|
10795
10850
|
(_a = options.onClick) == null ? void 0 : _a.call(options);
|
10796
10851
|
}
|
10797
10852
|
},
|
10798
|
-
/* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "components.viz-panel-explore-button.explore" }, "Explore")
|
10853
|
+
/* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "grafana-scenes.components.viz-panel-explore-button.explore" }, "Explore")
|
10799
10854
|
);
|
10800
10855
|
}
|
10801
10856
|
return null;
|
@@ -11394,7 +11449,7 @@ function SceneGridRowRenderer({ model }) {
|
|
11394
11449
|
{
|
11395
11450
|
onClick: model.onCollapseToggle,
|
11396
11451
|
className: styles.rowTitleButton,
|
11397
|
-
"aria-label": isCollapsed ? i18n.t("components.scene-grid-row.expand-row", "Expand row") : i18n.t("components.scene-grid-row.collapse-row", "Collapse row"),
|
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"),
|
11398
11453
|
"data-testid": e2eSelectors.selectors.components.DashboardRow.title(sceneGraph.interpolate(model, title, void 0, "text"))
|
11399
11454
|
},
|
11400
11455
|
isCollapsible && /* @__PURE__ */ React__default.default.createElement(ui.Icon, { name: isCollapsed ? "angle-right" : "angle-down" }),
|
@@ -11518,7 +11573,7 @@ function NestedSceneRenderer({ model }) {
|
|
11518
11573
|
variant: "default",
|
11519
11574
|
onClick: model.onRemove,
|
11520
11575
|
key: "remove-button",
|
11521
|
-
"aria-label": i18n.t("components.nested-scene-renderer.remove-button-label", "Remove scene")
|
11576
|
+
"aria-label": i18n.t("grafana-scenes.components.nested-scene-renderer.remove-button-label", "Remove scene")
|
11522
11577
|
}
|
11523
11578
|
)
|
11524
11579
|
);
|
@@ -11528,7 +11583,7 @@ function NestedSceneRenderer({ model }) {
|
|
11528
11583
|
{
|
11529
11584
|
onClick: model.onToggle,
|
11530
11585
|
className: gridRow.rowTitleButton,
|
11531
|
-
"aria-label": isCollapsed ? i18n.t("components.nested-scene-renderer.expand-button-label", "Expand scene") : i18n.t("components.nested-scene-renderer.collapse-button-label", "Collapse scene")
|
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")
|
11532
11587
|
},
|
11533
11588
|
canCollapse && /* @__PURE__ */ React__default.default.createElement(ui.Icon, { name: isCollapsed ? "angle-right" : "angle-down" }),
|
11534
11589
|
/* @__PURE__ */ React__default.default.createElement("span", { className: gridRow.rowTitle, role: "heading" }, sceneGraph.interpolate(model, title, void 0, "text"))
|
@@ -12101,7 +12156,10 @@ function SceneTimeRangeCompareRenderer({ model }) {
|
|
12101
12156
|
ui.ToolbarButton,
|
12102
12157
|
{
|
12103
12158
|
variant: "canvas",
|
12104
|
-
tooltip: i18n.t(
|
12159
|
+
tooltip: i18n.t(
|
12160
|
+
"grafana-scenes.components.scene-time-range-compare-renderer.button-tooltip",
|
12161
|
+
"Enable time frame comparison"
|
12162
|
+
),
|
12105
12163
|
onClick: (e) => {
|
12106
12164
|
e.stopPropagation();
|
12107
12165
|
e.preventDefault();
|
@@ -12109,7 +12167,7 @@ function SceneTimeRangeCompareRenderer({ model }) {
|
|
12109
12167
|
}
|
12110
12168
|
},
|
12111
12169
|
/* @__PURE__ */ React__default.default.createElement(ui.Checkbox, { label: " ", value: enabled, onClick }),
|
12112
|
-
/* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "components.scene-time-range-compare-renderer.button-label" }, "Comparison")
|
12170
|
+
/* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "grafana-scenes.components.scene-time-range-compare-renderer.button-label" }, "Comparison")
|
12113
12171
|
), enabled ? /* @__PURE__ */ React__default.default.createElement(
|
12114
12172
|
ui.ButtonSelect,
|
12115
12173
|
{
|
@@ -12695,7 +12753,7 @@ function Splitter({
|
|
12695
12753
|
"aria-valuemax": 100,
|
12696
12754
|
"aria-valuenow": 50,
|
12697
12755
|
"aria-controls": `start-panel-${id}`,
|
12698
|
-
"aria-label": i18n.t("components.splitter.aria-label-pane-resize-widget", "Pane resize widget"),
|
12756
|
+
"aria-label": i18n.t("grafana-scenes.components.splitter.aria-label-pane-resize-widget", "Pane resize widget"),
|
12699
12757
|
tabIndex: 0
|
12700
12758
|
}
|
12701
12759
|
), /* @__PURE__ */ React__default.default.createElement(
|
@@ -13008,11 +13066,11 @@ function SceneDebugger({ scene }) {
|
|
13008
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(
|
13009
13067
|
ui.Drawer,
|
13010
13068
|
{
|
13011
|
-
title: i18n.t("components.scene-debugger.title-scene-debugger", "Scene debugger"),
|
13069
|
+
title: i18n.t("grafana-scenes.components.scene-debugger.title-scene-debugger", "Scene debugger"),
|
13012
13070
|
onClose: () => setIsOpen(false),
|
13013
13071
|
size: "lg"
|
13014
13072
|
},
|
13015
|
-
/* @__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: "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: "components.scene-debugger.object-details" }, "Object details")), selectedObject && /* @__PURE__ */ React__default.default.createElement(DebugDetails, { node: selectedObject })))
|
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 })))
|
13016
13074
|
));
|
13017
13075
|
}
|
13018
13076
|
function getStyles(theme) {
|
@@ -13249,8 +13307,8 @@ function getFallbackRoute(page) {
|
|
13249
13307
|
function getDefaultFallbackPage() {
|
13250
13308
|
return new SceneAppPage({
|
13251
13309
|
url: "",
|
13252
|
-
title: i18n.t("components.fallback-page.title", "Not found"),
|
13253
|
-
subTitle: i18n.t("components.fallback-page.subTitle", "The url did not match any page"),
|
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"),
|
13254
13312
|
routePath: "*",
|
13255
13313
|
getScene: () => {
|
13256
13314
|
return new EmbeddedScene({
|
@@ -13260,7 +13318,7 @@ function getDefaultFallbackPage() {
|
|
13260
13318
|
new SceneFlexItem({
|
13261
13319
|
body: new SceneReactObject({
|
13262
13320
|
component: () => {
|
13263
|
-
return /* @__PURE__ */ React__default.default.createElement("div", { "data-testid": "default-fallback-content" }, /* @__PURE__ */ React__default.default.createElement(i18n.Trans, { i18nKey: "components.fallback-page.content" }, "If you found your way here using a link then there might be a bug in this application."));
|
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."));
|
13264
13322
|
}
|
13265
13323
|
})
|
13266
13324
|
})
|
@@ -14182,7 +14240,7 @@ const VizConfigBuilders = {
|
|
14182
14240
|
|
14183
14241
|
function __variableDynamicImportRuntime0__(path) {
|
14184
14242
|
switch (path) {
|
14185
|
-
case '../locales/en-US/grafana-scenes.json': return Promise.resolve().then(function () { return require('./grafana-scenes-
|
14243
|
+
case '../locales/en-US/grafana-scenes.json': return Promise.resolve().then(function () { return require('./grafana-scenes-DCHONTnD.js'); });
|
14186
14244
|
default: return new Promise(function(resolve, reject) {
|
14187
14245
|
(typeof queueMicrotask === 'function' ? queueMicrotask : setTimeout)(
|
14188
14246
|
reject.bind(null, new Error("Unknown variable dynamic import: " + path))
|
@@ -14198,9 +14256,6 @@ const loadResources = async (resolvedLanguage) => {
|
|
14198
14256
|
const translation = await resources[resolvedLanguage]();
|
14199
14257
|
return translation.default;
|
14200
14258
|
};
|
14201
|
-
const initTranslations = () => {
|
14202
|
-
return i18n.initPluginTranslations("grafana-scenes", [loadResources]);
|
14203
|
-
};
|
14204
14259
|
|
14205
14260
|
const sceneUtils = {
|
14206
14261
|
getUrlWithAppState,
|
@@ -14306,12 +14361,12 @@ exports.behaviors = index$1;
|
|
14306
14361
|
exports.dataLayers = index;
|
14307
14362
|
exports.formatRegistry = formatRegistry;
|
14308
14363
|
exports.getExploreURL = getExploreURL;
|
14309
|
-
exports.initTranslations = initTranslations;
|
14310
14364
|
exports.isCustomVariableValue = isCustomVariableValue;
|
14311
14365
|
exports.isDataLayer = isDataLayer;
|
14312
14366
|
exports.isDataRequestEnricher = isDataRequestEnricher;
|
14313
14367
|
exports.isFiltersRequestEnricher = isFiltersRequestEnricher;
|
14314
14368
|
exports.isSceneObject = isSceneObject;
|
14369
|
+
exports.loadResources = loadResources;
|
14315
14370
|
exports.registerQueryWithController = registerQueryWithController;
|
14316
14371
|
exports.registerRuntimeDataSource = registerRuntimeDataSource;
|
14317
14372
|
exports.sceneGraph = sceneGraph;
|