@vnejs/compatibility.platform.electron-with-text.locs 0.2.2 → 0.2.3

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/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ModuleCore } from "@vnejs/module.core";
2
2
  import type { PluginConstants, PluginEvents, PluginParams, PluginSettings } from "./types.js";
3
3
  import type { ElectronConfigPayload } from "./utils.js";
4
- export declare class CompatibilityElectronLocs extends ModuleCore<PluginEvents, PluginConstants, PluginSettings, PluginParams> {
4
+ export declare class CompatibilityPlatformElectronWithTextLocs extends ModuleCore<PluginEvents, PluginConstants, PluginSettings, PluginParams> {
5
5
  name: string;
6
6
  subscribe: () => void;
7
7
  onElectronConfig: ({ language }?: ElectronConfigPayload) => Promise<unknown[]> | undefined;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ModuleCore } from "@vnejs/module.core";
2
2
  import { regModule } from "@vnejs/shared";
3
- export class CompatibilityElectronLocs extends ModuleCore {
3
+ export class CompatibilityPlatformElectronWithTextLocs extends ModuleCore {
4
4
  name = "compatibility.platform.electron-with-text.locs";
5
5
  subscribe = () => {
6
6
  if (this.PARAMS.PLATFORMS.CURRENT_PLATFORM !== this.CONST.PLATFORMS.ELECTRON)
@@ -9,4 +9,4 @@ export class CompatibilityElectronLocs extends ModuleCore {
9
9
  };
10
10
  onElectronConfig = ({ language } = {}) => this.emit(this.EVENTS.SETTINGS.INIT, { name: this.SETTINGS.LOCS.LANG, value: language || this.PARAMS.LOCS.DEFAULT_LANG });
11
11
  }
12
- regModule(CompatibilityElectronLocs);
12
+ regModule(CompatibilityPlatformElectronWithTextLocs);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vnejs/compatibility.platform.electron-with-text.locs",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -4,7 +4,7 @@ import { regModule } from "@vnejs/shared";
4
4
  import type { PluginConstants, PluginEvents, PluginParams, PluginSettings } from "./types.js";
5
5
  import type { ElectronConfigPayload } from "./utils.js";
6
6
 
7
- export class CompatibilityElectronLocs extends ModuleCore<PluginEvents, PluginConstants, PluginSettings, PluginParams> {
7
+ export class CompatibilityPlatformElectronWithTextLocs extends ModuleCore<PluginEvents, PluginConstants, PluginSettings, PluginParams> {
8
8
  name = "compatibility.platform.electron-with-text.locs";
9
9
 
10
10
  subscribe = () => {
@@ -17,4 +17,4 @@ export class CompatibilityElectronLocs extends ModuleCore<PluginEvents, PluginCo
17
17
  this.emit(this.EVENTS.SETTINGS.INIT, { name: this.SETTINGS.LOCS.LANG, value: language || this.PARAMS.LOCS.DEFAULT_LANG });
18
18
  }
19
19
 
20
- regModule(CompatibilityElectronLocs);
20
+ regModule(CompatibilityPlatformElectronWithTextLocs);