@grafana/scenes 6.20.3--canary.1151.15685182570.0 → 6.20.3--canary.1151.15707564301.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/scenes",
3
- "version": "6.20.3--canary.1151.15685182570.0",
3
+ "version": "6.20.3--canary.1151.15707564301.0",
4
4
  "description": "Grafana framework for building dynamic dashboards",
5
5
  "author": "Grafana Labs",
6
6
  "license": "AGPL-3.0-only",
@@ -65,6 +65,7 @@
65
65
  "@eslint/js": "^9.28.0",
66
66
  "@grafana/eslint-config": "^8.1.0",
67
67
  "@grafana/tsconfig": "^1.3.0-rc1",
68
+ "@rollup/plugin-dynamic-import-vars": "2.1.5",
68
69
  "@rollup/plugin-json": "^6.1.0",
69
70
  "@stylistic/eslint-plugin-ts": "3.1.0",
70
71
  "@swc/core": "^1.2.162",
@@ -123,5 +124,5 @@
123
124
  "prettier --write"
124
125
  ]
125
126
  },
126
- "gitHead": "bc31cb573b0a9fedca727f484da2952d625be5f7"
127
+ "gitHead": "a7bd68d663d12b02b11ee1e021936ec07947771e"
127
128
  }
@@ -1,16 +0,0 @@
1
- import { initPluginTranslations } from '@grafana/i18n';
2
-
3
- const loadTranslationResources = async (locale) => {
4
- switch (locale) {
5
- case "en-US":
6
- // Don't load the en-US bundle, it's the default in the source
7
- default:
8
- return Promise.resolve({});
9
- }
10
- };
11
- const initTranslations = () => {
12
- return initPluginTranslations("grafana-scenes", [loadTranslationResources]);
13
- };
14
-
15
- export { initTranslations };
16
- //# sourceMappingURL=loadTranslationResources.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loadTranslationResources.js","sources":["../../../src/locales/loadTranslationResources.ts"],"sourcesContent":["import { ResourceLoader, initPluginTranslations } from '@grafana/i18n';\n\nconst loadTranslationResources: ResourceLoader = async (locale: string) => {\n switch (locale) {\n case 'en-US': // Don't load the en-US bundle, it's the default in the source\n default:\n return Promise.resolve({});\n }\n};\n\nexport const initTranslations = () => {\n return initPluginTranslations('grafana-scenes', [loadTranslationResources]);\n};\n"],"names":[],"mappings":";;AAEA,MAAM,wBAAA,GAA2C,OAAO,MAAmB,KAAA;AACzE,EAAA,QAAQ,MAAQ;AAAA,IACd,KAAK,OAAA;AAAA;AAAA,IACL;AACE,MAAO,OAAA,OAAA,CAAQ,OAAQ,CAAA,EAAE,CAAA;AAAA;AAE/B,CAAA;AAEO,MAAM,mBAAmB,MAAM;AACpC,EAAA,OAAO,sBAAuB,CAAA,gBAAA,EAAkB,CAAC,wBAAwB,CAAC,CAAA;AAC5E;;;;"}