zova-core 5.1.76 → 5.1.77

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,7 +1,7 @@
1
1
  {
2
2
  "name": "zova-core",
3
- "version": "5.1.76",
4
- "gitHead": "7a711c5f09e0c1d3b0fda2084710297ea45b5d8e",
3
+ "version": "5.1.77",
4
+ "gitHead": "f7296d0004da7e5c173bc9149d209c2e57cab1b8",
5
5
  "description": "A vue3 framework with ioc",
6
6
  "keywords": [
7
7
  "ioc",
@@ -28,22 +28,18 @@ import type { AppEvent } from '../core/component/event.ts';
28
28
  import type { ILoggerChildRecord, ILoggerClientRecord } from '../core/logger/types.ts';
29
29
  import type { FunctionAsync } from '../decorator/type/functionable.ts';
30
30
  import type { MapSources, MaybeUndefined } from '../vueExtra/watch.ts';
31
- import type {
32
- IErrorHandlerEventResult,
33
- IModuleLocaleText,
34
- IZovaComponentRecord,
35
- } from './resource/index.ts';
31
+ import type { IErrorHandlerEventResult, IZovaComponentRecord } from './resource/index.ts';
36
32
 
37
33
  import { cast } from '../types/utils/cast.ts';
38
34
  import { BeanBaseSimple, SymbolModuleBelong } from './beanBaseSimple.ts';
39
35
  import { SymbolErrorInstanceInfo } from './resource/index.ts';
40
36
 
41
- const SymbolText = Symbol('SymbolText');
37
+ // const SymbolText = Symbol('SymbolText');
42
38
  const SymbolLogger = Symbol('SymbolLogger');
43
39
  const SymbolLoggerChildren = Symbol('SymbolLoggerChildren');
44
40
 
45
41
  export class BeanBase extends BeanBaseSimple {
46
- private [SymbolText]: IModuleLocaleText;
42
+ // private [SymbolText]: IModuleLocaleText;
47
43
  private [SymbolLogger]: Record<keyof ILoggerClientRecord, Logger> = {} as any;
48
44
  private [SymbolLoggerChildren]: Record<keyof ILoggerClientRecord, Record<string, Logger>> =
49
45
  {} as any;
@@ -55,12 +51,12 @@ export class BeanBase extends BeanBaseSimple {
55
51
  return this.ctx.meta.el;
56
52
  }
57
53
 
58
- protected get $text(): IModuleLocaleText {
59
- if (!this[SymbolText]) {
60
- this[SymbolText] = this.app.meta.locale.createLocaleText(this[SymbolModuleBelong]);
61
- }
62
- return this[SymbolText];
63
- }
54
+ // protected get $text(): IModuleLocaleText {
55
+ // if (!this[SymbolText]) {
56
+ // this[SymbolText] = this.app.meta.locale.createLocaleText(this[SymbolModuleBelong]);
57
+ // }
58
+ // return this[SymbolText];
59
+ // }
64
60
 
65
61
  protected get $logger() {
66
62
  return this.$loggerClient('default');