med-viewer-sdk 0.1.24 → 0.1.25

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.
@@ -14150,6 +14150,9 @@ function t(path) {
14150
14150
  }
14151
14151
  return typeof value === "string" ? value : path;
14152
14152
  }
14153
+ function getCurrentLocale() {
14154
+ return currentLocale;
14155
+ }
14153
14156
  function getWithUnit(value, unitSuffix) {
14154
14157
  return value.toFixed(2) + "μ" + unitSuffix;
14155
14158
  }
@@ -17325,6 +17328,10 @@ class MedViewerEngine {
17325
17328
  var _a2;
17326
17329
  return ((_a2 = this.themeManager) == null ? void 0 : _a2.getColors()) ?? null;
17327
17330
  }
17331
+ getThemeName() {
17332
+ var _a2;
17333
+ return ((_a2 = this.themeManager) == null ? void 0 : _a2.getThemeName()) ?? null;
17334
+ }
17328
17335
  /**
17329
17336
  * 销毁引擎与所有插件
17330
17337
  */
@@ -17355,6 +17362,9 @@ class MedViewerEngine {
17355
17362
  ;
17356
17363
  console.log(`[MedEngine] Locale changed to ${locale}`);
17357
17364
  }
17365
+ getLocale() {
17366
+ return getCurrentLocale();
17367
+ }
17358
17368
  }
17359
17369
  const MedViewer = defineComponent({
17360
17370
  name: "MedViewer",