@shimotsuki/core 3.0.41 → 3.0.42

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.
@@ -1,16 +1,16 @@
1
1
  import e from "@babel/runtime-corejs3/core-js/global-this";
2
2
 
3
- import { AudioSource as t, _decorator as i, AudioClip as n, error as o, Node as s, director as r, log as a, Component as l, Prefab as c, instantiate as h, isValid as u, Layers as d, view as p, Widget as f, v3 as m, tween as _, Enum as y, game as g, Label as b, UIOpacity as v, Tween as C, BlockInputEvents as E, Button as S, Game as w, Director as A, assetManager as I, warn as O, AsyncDelegate as T, Asset as k, resources as R, sys as M, SpriteFrame as N, Sprite as U } from "cc";
3
+ import { AudioSource as t, _decorator as i, AudioClip as n, error as o, Node as s, director as r, log as a, Component as l, Prefab as c, instantiate as h, isValid as u, Layers as d, view as p, Widget as f, v3 as m, tween as _, Enum as y, game as g, Label as b, UIOpacity as v, Tween as C, BlockInputEvents as E, Button as S, Game as w, Director as A, assetManager as I, warn as O, AsyncDelegate as T, Asset as k, resources as R, sys as M, SpriteFrame as U, Sprite as N } from "cc";
4
4
 
5
5
  import D from "@babel/runtime-corejs3/core-js-stable/reflect/get";
6
6
 
7
- import F from "@babel/runtime-corejs3/core-js-stable/reflect/set";
7
+ import x from "@babel/runtime-corejs3/core-js-stable/reflect/set";
8
8
 
9
- import L from "@babel/runtime-corejs3/core-js-stable/object/assign";
9
+ import j from "@babel/runtime-corejs3/core-js-stable/object/assign";
10
10
 
11
- import x from "@babel/runtime-corejs3/core-js-stable/promise";
11
+ import F from "@babel/runtime-corejs3/core-js-stable/promise";
12
12
 
13
- import j from "eventemitter3";
13
+ import L from "eventemitter3";
14
14
 
15
15
  import B from "@babel/runtime-corejs3/core-js-stable/instance/includes";
16
16
 
@@ -67,7 +67,7 @@ const {ccclass: ue, menu: de} = i;
67
67
  let pe = class AudioEffect extends CommonAudio {
68
68
  effects=(() => new G)();
69
69
  load(e, t) {
70
- return new x((i, o) => {
70
+ return new F((i, o) => {
71
71
  let s = null;
72
72
  let r;
73
73
  if (t !== undefined) {
@@ -111,7 +111,7 @@ class AudioMusic extends CommonAudio {
111
111
  this.currentTime = e * this.duration;
112
112
  }
113
113
  load(e, t) {
114
- return new x((i, s) => {
114
+ return new F((i, s) => {
115
115
  let r = null;
116
116
  let a;
117
117
  if (t !== undefined) {
@@ -479,12 +479,12 @@ class BaseComponent extends l {
479
479
  }
480
480
  setUpdateData(e) {
481
481
  if (!this.data) return;
482
- e && L(this.data, this.toPlainObject(e));
482
+ e && j(this.data, this.toPlainObject(e));
483
483
  return this;
484
484
  }
485
485
  setUpdateProps(e) {
486
486
  if (!this.props) return;
487
- e && L(this.props, this.toPlainObject(e));
487
+ e && j(this.props, this.toPlainObject(e));
488
488
  return this;
489
489
  }
490
490
  toPlainObject(e) {
@@ -625,7 +625,7 @@ class UILayer extends BaseComponent {
625
625
  }, o);
626
626
  }
627
627
  deftween(e, t, i, n) {
628
- return new x((i, n) => {
628
+ return new F((i, n) => {
629
629
  _(this.node).to(e, t).call(() => {
630
630
  i();
631
631
  }).start();
@@ -777,7 +777,7 @@ ye([ Ie({
777
777
 
778
778
  var Oe, Te, ke, Re;
779
779
 
780
- const {ccclass: Me, property: Ne, menu: Ue} = i;
780
+ const {ccclass: Me, property: Ue, menu: Ne} = i;
781
781
 
782
782
  var De;
783
783
 
@@ -786,7 +786,7 @@ var De;
786
786
  e[e["SLIDE"] = 1] = "SLIDE";
787
787
  })(De || (De = {}));
788
788
 
789
- let Fe = class CoreToast extends BaseComponent {
789
+ let xe = class CoreToast extends BaseComponent {
790
790
  fixed_node;
791
791
  slide_node;
792
792
  fixed_label;
@@ -798,7 +798,7 @@ let Fe = class CoreToast extends BaseComponent {
798
798
  this.show();
799
799
  }
800
800
  async show() {
801
- return new x(async (e, t) => {
801
+ return new F(async (e, t) => {
802
802
  const {title: i, type: n, fixed_time: o} = this.props;
803
803
  if (n == De.FIXED) {
804
804
  this.fixed_node.active = true;
@@ -817,7 +817,7 @@ let Fe = class CoreToast extends BaseComponent {
817
817
  });
818
818
  }
819
819
  playAnim(e) {
820
- return new x((t, i) => {
820
+ return new F((t, i) => {
821
821
  const n = 1.2;
822
822
  const o = .5;
823
823
  const s = this.node.getComponent(v);
@@ -841,29 +841,29 @@ let Fe = class CoreToast extends BaseComponent {
841
841
  }
842
842
  };
843
843
 
844
- ye([ Ne({
844
+ ye([ Ue({
845
845
  type: s,
846
846
  tooltip: "固定节点"
847
- }), ge("design:type", typeof (Oe = typeof s !== "undefined" && s) === "function" ? Oe : Object) ], Fe.prototype, "fixed_node", void 0);
847
+ }), ge("design:type", typeof (Oe = typeof s !== "undefined" && s) === "function" ? Oe : Object) ], xe.prototype, "fixed_node", void 0);
848
848
 
849
- ye([ Ne({
849
+ ye([ Ue({
850
850
  type: s,
851
851
  tooltip: "滑动节点"
852
- }), ge("design:type", typeof (Te = typeof s !== "undefined" && s) === "function" ? Te : Object) ], Fe.prototype, "slide_node", void 0);
852
+ }), ge("design:type", typeof (Te = typeof s !== "undefined" && s) === "function" ? Te : Object) ], xe.prototype, "slide_node", void 0);
853
853
 
854
- ye([ Ne({
854
+ ye([ Ue({
855
855
  type: b,
856
856
  tooltip: "固定标签节点"
857
- }), ge("design:type", typeof (ke = typeof b !== "undefined" && b) === "function" ? ke : Object) ], Fe.prototype, "fixed_label", void 0);
857
+ }), ge("design:type", typeof (ke = typeof b !== "undefined" && b) === "function" ? ke : Object) ], xe.prototype, "fixed_label", void 0);
858
858
 
859
- ye([ Ne({
859
+ ye([ Ue({
860
860
  type: b,
861
861
  tooltip: "滑动标签节点"
862
- }), ge("design:type", typeof (Re = typeof b !== "undefined" && b) === "function" ? Re : Object) ], Fe.prototype, "slide_label", void 0);
862
+ }), ge("design:type", typeof (Re = typeof b !== "undefined" && b) === "function" ? Re : Object) ], xe.prototype, "slide_label", void 0);
863
863
 
864
- Fe = ye([ Me("CoreToast"), Ue("CATCORE/CoreToast") ], Fe);
864
+ xe = ye([ Me("CoreToast"), Ne("CATCORE/CoreToast") ], xe);
865
865
 
866
- var Le;
866
+ var je;
867
867
 
868
868
  (function(e) {
869
869
  e["EVENT_SHOW"] = "GlobalEventConstant/EVENT_SHOW";
@@ -874,11 +874,11 @@ var Le;
874
874
  e["OFFLINE"] = "GlobalEventConstant/OFFLINE";
875
875
  e["ROOT_MASK_UPDATE"] = "GlobalEventConstant/ROOT_MASK_UPDATE";
876
876
  e["ROOT_MASK_CHANGE"] = "GlobalEventConstant/ROOT_MASK_CHANGE";
877
- })(Le || (Le = {}));
877
+ })(je || (je = {}));
878
878
 
879
- var xe;
879
+ var Fe;
880
880
 
881
- const {ccclass: je, property: Be, menu: Pe} = i;
881
+ const {ccclass: Le, property: Be, menu: Pe} = i;
882
882
 
883
883
  let Ge = class CoreBlackMask extends BaseComponent {
884
884
  tween;
@@ -887,9 +887,9 @@ let Ge = class CoreBlackMask extends BaseComponent {
887
887
  ye([ Be({
888
888
  type: s,
889
889
  tooltip: "动画节点"
890
- }), ge("design:type", typeof (xe = typeof s !== "undefined" && s) === "function" ? xe : Object) ], Ge.prototype, "tween", void 0);
890
+ }), ge("design:type", typeof (Fe = typeof s !== "undefined" && s) === "function" ? Fe : Object) ], Ge.prototype, "tween", void 0);
891
891
 
892
- Ge = ye([ je("CoreBlackMask"), Pe("CATCORE/CoreBlackMask") ], Ge);
892
+ Ge = ye([ Le("CoreBlackMask"), Pe("CATCORE/CoreBlackMask") ], Ge);
893
893
 
894
894
  var He, $e;
895
895
 
@@ -912,7 +912,7 @@ let ze = class CoreUIContainer extends UILayer {
912
912
  return this.scene_mask.tween.children;
913
913
  }
914
914
  onEventListener() {
915
- this.cat.event.on(Le.ROOT_MASK_CHANGE, this.uiMaskChanged, this);
915
+ this.cat.event.on(je.ROOT_MASK_CHANGE, this.uiMaskChanged, this);
916
916
  }
917
917
  addMask() {
918
918
  const e = this.brother[this.brother.length - 1];
@@ -971,7 +971,7 @@ class RootUILayer extends UILayer {
971
971
  this.updateMask();
972
972
  }
973
973
  updateMask() {
974
- this.cat.event.emit(Le.ROOT_MASK_UPDATE);
974
+ this.cat.event.emit(je.ROOT_MASK_UPDATE);
975
975
  }
976
976
  }
977
977
 
@@ -1171,7 +1171,7 @@ let Ot = class Gui extends BaseComponent {
1171
1171
  currentScene;
1172
1172
  currentSceneUUID;
1173
1173
  onEventListener() {
1174
- this.cat.event.on(Le.ROOT_MASK_UPDATE, this.onRootUpdate, this);
1174
+ this.cat.event.on(je.ROOT_MASK_UPDATE, this.onRootUpdate, this);
1175
1175
  }
1176
1176
  initedScene=false;
1177
1177
  engineReady=false;
@@ -1218,7 +1218,7 @@ let Ot = class Gui extends BaseComponent {
1218
1218
  const e = this.toastQueue.shift();
1219
1219
  const t = () => {
1220
1220
  const t = h(this.toast_ui_prefab);
1221
- const i = t.getComponent(Fe);
1221
+ const i = t.getComponent(xe);
1222
1222
  i.addToParent(this.root_toast, {
1223
1223
  props: e
1224
1224
  });
@@ -1236,7 +1236,7 @@ let Ot = class Gui extends BaseComponent {
1236
1236
  if (this.root_toast) {
1237
1237
  var e;
1238
1238
  H(e = this.root_toast.children).call(e, e => {
1239
- e.getComponent(Fe)?.removeAndDestroy();
1239
+ e.getComponent(xe)?.removeAndDestroy();
1240
1240
  });
1241
1241
  }
1242
1242
  this.toastQueue = [];
@@ -1335,12 +1335,9 @@ let Ot = class Gui extends BaseComponent {
1335
1335
  for (const e of h) {
1336
1336
  if (typeof e === "boolean") l = e; else if (typeof e === "function") c = e; else if (e && typeof e === "object") s = e;
1337
1337
  }
1338
- r.off(A.EVENT_BEFORE_SCENE_LAUNCH);
1339
1338
  r.once(A.EVENT_BEFORE_SCENE_LAUNCH, e => {
1340
- a("监听场景事件", e);
1341
1339
  this.changeScene(e, s ?? {}, l);
1342
1340
  });
1343
- r.off(A.EVENT_AFTER_SCENE_LAUNCH);
1344
1341
  r.once(A.EVENT_AFTER_SCENE_LAUNCH, () => {
1345
1342
  c?.();
1346
1343
  });
@@ -1387,8 +1384,10 @@ let Ot = class Gui extends BaseComponent {
1387
1384
  this.ui_container_component?.removeAndDestroy();
1388
1385
  this.ui_container_component = null;
1389
1386
  const t = h(this.ui_prefab);
1390
- this.ui_container_component = t.getComponent(ze);
1391
- this.ui_container_component?.setGui(this).addToParent(e, this.node.getSiblingIndex());
1387
+ if (u(this.node)) {
1388
+ this.ui_container_component = t.getComponent(ze);
1389
+ this.ui_container_component?.setGui(this).addToParent(e, this.node.getSiblingIndex());
1390
+ }
1392
1391
  }
1393
1392
  reloadScene() {
1394
1393
  let e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : () => {};
@@ -1463,7 +1462,7 @@ let Ot = class Gui extends BaseComponent {
1463
1462
  const i = t.getSiblingIndex() - 1;
1464
1463
  this.root_mask.setSiblingIndex(i < 0 ? 0 : i);
1465
1464
  }
1466
- this.cat.event.emit(Le.ROOT_MASK_CHANGE);
1465
+ this.cat.event.emit(je.ROOT_MASK_CHANGE);
1467
1466
  }
1468
1467
  };
1469
1468
 
@@ -1523,7 +1522,7 @@ var Tt;
1523
1522
  class GuiManager extends BaseManager {
1524
1523
  gui;
1525
1524
  #e="core";
1526
- getGuiPrefabByType=(e, t) => new x((i, n) => {
1525
+ getGuiPrefabByType=(e, t) => new F((i, n) => {
1527
1526
  a(e, `${t}`);
1528
1527
  this.cat.res.load(e, t, (e, t) => {
1529
1528
  if (e) {
@@ -1560,7 +1559,7 @@ class WrapperSocialGameClient extends re {
1560
1559
  }
1561
1560
  async GameRequest(t, i, n) {
1562
1561
  let {forwardReq: s = false, forwardResp: r = false} = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
1563
- return new x((l, c) => {
1562
+ return new F((l, c) => {
1564
1563
  super.GameRequest(t, i, n, {
1565
1564
  forwardReq: s,
1566
1565
  forwardResp: r
@@ -1628,7 +1627,7 @@ class SocialGameClientManager extends BaseManager {
1628
1627
  t.destroy();
1629
1628
  a(`清理旧的 ${e} 客户端`);
1630
1629
  }
1631
- const o = new WrapperSocialGameClient(e, i, n, L({
1630
+ const o = new WrapperSocialGameClient(e, i, n, j({
1632
1631
  reconnectMaxAttempts: Infinity
1633
1632
  }, {
1634
1633
  isAutoConnect: false,
@@ -1651,7 +1650,7 @@ class SocialGameClientManager extends BaseManager {
1651
1650
  this.managedClients.delete(e.name);
1652
1651
  }
1653
1652
  initGlobalListeners() {
1654
- this.cat.event.on(Le.ONLINE, () => this.handleGlobalStateChange("online"), this).on(Le.OFFLINE, () => this.handleGlobalStateChange("offline"), this);
1653
+ this.cat.event.on(je.ONLINE, () => this.handleGlobalStateChange("online"), this).on(je.OFFLINE, () => this.handleGlobalStateChange("offline"), this);
1655
1654
  if (oe) {
1656
1655
  wx.onShow(e => {
1657
1656
  this.handleGlobalStateChange("show", e);
@@ -1729,7 +1728,7 @@ class SocialGameClientManager extends BaseManager {
1729
1728
  });
1730
1729
  try {
1731
1730
  var e, t;
1732
- await x.allSettled(Z(e = this.activeClients).call(e, async e => {
1731
+ await F.allSettled(Z(e = this.activeClients).call(e, async e => {
1733
1732
  try {
1734
1733
  await e.reconnectPromise();
1735
1734
  } catch (t) {
@@ -1771,7 +1770,7 @@ class SocialGameClientManager extends BaseManager {
1771
1770
  if (te(e = this.activeClients).call(e, e => e.socketConnectStatus === ie.CONNECTED)) {
1772
1771
  var t;
1773
1772
  a("单个WS重连成功回调===", this.managedClients);
1774
- await x.allSettled(Z(t = this.activeClients).call(t, async e => {
1773
+ await F.allSettled(Z(t = this.activeClients).call(t, async e => {
1775
1774
  try {
1776
1775
  await e.connectRequest();
1777
1776
  } catch (t) {
@@ -1897,7 +1896,7 @@ class ResLoader {
1897
1896
  ...t
1898
1897
  }, i);
1899
1898
  }
1900
- loadBundle=(e, t) => new x((i, n) => {
1899
+ loadBundle=(e, t) => new F((i, n) => {
1901
1900
  const o = (e, t) => {
1902
1901
  if (e) {
1903
1902
  return n(e);
@@ -1955,7 +1954,7 @@ class ResLoader {
1955
1954
  a(`当前资源总数:${I.assets.count}`);
1956
1955
  };
1957
1956
  loadAssetsWithProgress(e, t) {
1958
- return new x((i, n) => {
1957
+ return new F((i, n) => {
1959
1958
  const o = e.getDirWithPath("");
1960
1959
  const s = o.length;
1961
1960
  let r = 0;
@@ -1998,12 +1997,12 @@ const Mt = (e, t) => {
1998
1997
  kt = ae.enc.Hex.parse(t);
1999
1998
  };
2000
1999
 
2001
- const Nt = (e, t, i) => ae.AES.encrypt(e, t, {
2000
+ const Ut = (e, t, i) => ae.AES.encrypt(e, t, {
2002
2001
  iv: kt,
2003
2002
  format: Dt
2004
2003
  }).toString();
2005
2004
 
2006
- const Ut = (e, t, i) => {
2005
+ const Nt = (e, t, i) => {
2007
2006
  const n = ae.AES.decrypt(e, t, {
2008
2007
  iv: kt,
2009
2008
  format: Dt
@@ -2039,17 +2038,17 @@ const Dt = {
2039
2038
  }
2040
2039
  };
2041
2040
 
2042
- var Ft = Object.freeze({
2041
+ var xt = Object.freeze({
2043
2042
  __proto__: null,
2044
2043
  JsonFormatter: Dt,
2045
- aesDecrypt: Ut,
2046
- aesEncrypt: Nt,
2044
+ aesDecrypt: Nt,
2045
+ aesEncrypt: Ut,
2047
2046
  initCrypto: Mt,
2048
2047
  md5: Rt
2049
2048
  });
2050
2049
 
2051
2050
  class CoreUtil extends BaseManager {
2052
- encryptUtil=(() => Ft)();
2051
+ encryptUtil=(() => xt)();
2053
2052
  }
2054
2053
 
2055
2054
  class StorageManager extends BaseManager {
@@ -2218,7 +2217,7 @@ class Manager {
2218
2217
  this.#a = new ResLoader;
2219
2218
  this.#l = new CoreUtil(this);
2220
2219
  this.#r = new StorageManager(this);
2221
- this.#o = new j;
2220
+ this.#o = new L;
2222
2221
  this.#n = new AudioManager(this);
2223
2222
  this.#c = new SocialGameClientManager(this);
2224
2223
  this.#s = (await new GuiManager(this).init()).gui;
@@ -2234,14 +2233,14 @@ class Manager {
2234
2233
  throw new Error(`merge方法第一个参数应该为string类型`);
2235
2234
  }
2236
2235
  if (!D(this, e)) {
2237
- F(this, e, t);
2236
+ x(this, e, t);
2238
2237
  }
2239
- L(D(this, e), t);
2238
+ j(D(this, e), t);
2240
2239
  return this;
2241
2240
  }
2242
2241
  appendPlugInInitDelegate(e) {
2243
2242
  if (this.#i) {
2244
- x.resolve().then(e).catch(e => {
2243
+ F.resolve().then(e).catch(e => {
2245
2244
  console.error("[CAT] appendPlugInInitDelegate 回调执行失败:", e);
2246
2245
  });
2247
2246
  } else {
@@ -2251,7 +2250,7 @@ class Manager {
2251
2250
  }
2252
2251
  }
2253
2252
 
2254
- var Lt, xt, jt, Bt, Pt, Gt, Ht, $t, Kt;
2253
+ var jt, Ft, Lt, Bt, Pt, Gt, Ht, $t, Kt;
2255
2254
 
2256
2255
  const {ccclass: Wt, property: Vt, menu: zt} = i;
2257
2256
 
@@ -2281,7 +2280,7 @@ let qt = class CoreUIModal extends UILayer {
2281
2280
  this.title.spriteFrame = this.props?.title || this.default_title;
2282
2281
  }, () => {
2283
2282
  if (this.props.content) {
2284
- if (this.props.content instanceof N) {
2283
+ if (this.props.content instanceof U) {
2285
2284
  this.prompt_content_spriteFrame.spriteFrame = this.props.content;
2286
2285
  } else if (typeof this.props.content === "string") {
2287
2286
  this.prompt_content_str.string = this.props.content;
@@ -2294,13 +2293,13 @@ let qt = class CoreUIModal extends UILayer {
2294
2293
  this.btn_confirm.node.active = false;
2295
2294
  } else {
2296
2295
  this.btn_confirm.node.active = true;
2297
- this.btn_confirm.getComponent(U).spriteFrame = this.props.style?.confirm || this.confirm_spriteFrame;
2296
+ this.btn_confirm.getComponent(N).spriteFrame = this.props.style?.confirm || this.confirm_spriteFrame;
2298
2297
  }
2299
2298
  if (this.props?.style?.cancel === null) {
2300
2299
  this.btn_cancel.node.active = false;
2301
2300
  } else {
2302
2301
  this.btn_cancel.node.active = true;
2303
- this.btn_cancel.getComponent(U).spriteFrame = this.props.style?.cancel || this.cancel_spriteFrame;
2302
+ this.btn_cancel.getComponent(N).spriteFrame = this.props.style?.cancel || this.cancel_spriteFrame;
2304
2303
  }
2305
2304
  } ]);
2306
2305
  }
@@ -2323,24 +2322,24 @@ let qt = class CoreUIModal extends UILayer {
2323
2322
  };
2324
2323
 
2325
2324
  ye([ Vt({
2326
- type: N,
2325
+ type: U,
2327
2326
  tooltip: "默认标题"
2328
- }), ge("design:type", typeof (Lt = typeof N !== "undefined" && N) === "function" ? Lt : Object) ], qt.prototype, "default_title", void 0);
2327
+ }), ge("design:type", typeof (jt = typeof U !== "undefined" && U) === "function" ? jt : Object) ], qt.prototype, "default_title", void 0);
2329
2328
 
2330
2329
  ye([ Vt({
2331
- type: U,
2330
+ type: N,
2332
2331
  tooltip: "标题节点"
2333
- }), ge("design:type", typeof (xt = typeof U !== "undefined" && U) === "function" ? xt : Object) ], qt.prototype, "title", void 0);
2332
+ }), ge("design:type", typeof (Ft = typeof N !== "undefined" && N) === "function" ? Ft : Object) ], qt.prototype, "title", void 0);
2334
2333
 
2335
2334
  ye([ Vt({
2336
2335
  type: b,
2337
2336
  tooltip: "字符串内容按钮"
2338
- }), ge("design:type", typeof (jt = typeof b !== "undefined" && b) === "function" ? jt : Object) ], qt.prototype, "prompt_content_str", void 0);
2337
+ }), ge("design:type", typeof (Lt = typeof b !== "undefined" && b) === "function" ? Lt : Object) ], qt.prototype, "prompt_content_str", void 0);
2339
2338
 
2340
2339
  ye([ Vt({
2341
- type: U,
2340
+ type: N,
2342
2341
  tooltip: "图片精灵内容按钮"
2343
- }), ge("design:type", typeof (Bt = typeof U !== "undefined" && U) === "function" ? Bt : Object) ], qt.prototype, "prompt_content_spriteFrame", void 0);
2342
+ }), ge("design:type", typeof (Bt = typeof N !== "undefined" && N) === "function" ? Bt : Object) ], qt.prototype, "prompt_content_spriteFrame", void 0);
2344
2343
 
2345
2344
  ye([ Vt({
2346
2345
  type: S,
@@ -2348,9 +2347,9 @@ ye([ Vt({
2348
2347
  }), ge("design:type", typeof (Pt = typeof S !== "undefined" && S) === "function" ? Pt : Object) ], qt.prototype, "btn_confirm", void 0);
2349
2348
 
2350
2349
  ye([ Vt({
2351
- type: N,
2350
+ type: U,
2352
2351
  tooltip: "确认按钮精灵图"
2353
- }), ge("design:type", typeof (Gt = typeof N !== "undefined" && N) === "function" ? Gt : Object) ], qt.prototype, "confirm_spriteFrame", void 0);
2352
+ }), ge("design:type", typeof (Gt = typeof U !== "undefined" && U) === "function" ? Gt : Object) ], qt.prototype, "confirm_spriteFrame", void 0);
2354
2353
 
2355
2354
  ye([ Vt({
2356
2355
  type: S,
@@ -2358,9 +2357,9 @@ ye([ Vt({
2358
2357
  }), ge("design:type", typeof (Ht = typeof S !== "undefined" && S) === "function" ? Ht : Object) ], qt.prototype, "btn_cancel", void 0);
2359
2358
 
2360
2359
  ye([ Vt({
2361
- type: N,
2360
+ type: U,
2362
2361
  tooltip: "取消按钮精灵图"
2363
- }), ge("design:type", typeof ($t = typeof N !== "undefined" && N) === "function" ? $t : Object) ], qt.prototype, "cancel_spriteFrame", void 0);
2362
+ }), ge("design:type", typeof ($t = typeof U !== "undefined" && U) === "function" ? $t : Object) ], qt.prototype, "cancel_spriteFrame", void 0);
2364
2363
 
2365
2364
  ye([ Vt({
2366
2365
  type: S,
@@ -2398,8 +2397,8 @@ class TimerManager extends BaseManager {
2398
2397
  constructor(e) {
2399
2398
  var t;
2400
2399
  super(e);
2401
- e.event.on(Le.EVENT_HIDE, this.onHandleAppBackground, this);
2402
- e.event.on(Le.EVENT_SHOW, this.onHandleAppForeground, this);
2400
+ e.event.on(je.EVENT_HIDE, this.onHandleAppBackground, this);
2401
+ e.event.on(je.EVENT_SHOW, this.onHandleAppForeground, this);
2403
2402
  le(V(t = this.update).call(t, this), 1e3);
2404
2403
  }
2405
2404
  onHandleAppBackground() {
@@ -2525,4 +2524,4 @@ g.onPostProjectInitDelegate.add(async () => {
2525
2524
  }
2526
2525
  });
2527
2526
 
2528
- export { Jt as AudioEffect, _e as AudioEventConstant, AudioManager, AudioSourceBaseComponent, AudioSourceUILayer, Se as AudioTypeEnum, BaseComponent, BaseManager, Tt as BasePrefab, BaseStore, Xt as ButtonLock, Ge as CoreBlackMask, ft as CoreNotice, at as CoreReconnection, Ye as CoreShowLoading, CoreStore, Fe as CoreToast, ze as CoreUIContainer, qt as CoreUIModal, CoreUtil, Le as GlobalEventConstant, Ot as Gui, GuiManager, It as LayerType, Manager, et as ReconnectPrompt, RootUILayer, SceneLayer, TimerManager, De as ToastType, UILayer, WrapperSocialGameClient, Zt as cat };
2527
+ export { Jt as AudioEffect, _e as AudioEventConstant, AudioManager, AudioSourceBaseComponent, AudioSourceUILayer, Se as AudioTypeEnum, BaseComponent, BaseManager, Tt as BasePrefab, BaseStore, Xt as ButtonLock, Ge as CoreBlackMask, ft as CoreNotice, at as CoreReconnection, Ye as CoreShowLoading, CoreStore, xe as CoreToast, ze as CoreUIContainer, qt as CoreUIModal, CoreUtil, je as GlobalEventConstant, Ot as Gui, GuiManager, It as LayerType, Manager, et as ReconnectPrompt, RootUILayer, SceneLayer, TimerManager, De as ToastType, UILayer, WrapperSocialGameClient, Zt as cat };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shimotsuki/core",
3
- "version": "3.0.41",
3
+ "version": "3.0.42",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "main": "dist/shimotsuki_core.js",