@shimotsuki/core 3.0.46 → 3.0.48

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
@@ -521,6 +521,7 @@ declare class Gui extends BaseComponent {
521
521
  hideNotice(): this;
522
522
  findBundleBySceneUUID(sceneUUID: string): AssetManager.Bundle | null;
523
523
  findSceneByUUIDFromBundle(bundle: AssetManager.Bundle, sceneUUID: string): void;
524
+ private _sceneChanging;
524
525
  /**
525
526
  * 加载并切换游戏场景
526
527
  * @param sceneName 场景名称、场景实例或场景资源,用于指定要加载的场景
@@ -1,6 +1,6 @@
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 g, game as y, 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";
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 g, Enum as _, game as y, 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
 
@@ -164,7 +164,7 @@ class BaseManager {
164
164
  }
165
165
  }
166
166
 
167
- var _e;
167
+ var ge;
168
168
 
169
169
  (function(e) {
170
170
  e["MUSIC_ON"] = "AudioEventConstant/MUSIC_ON";
@@ -173,7 +173,7 @@ var _e;
173
173
  e["EFFECT_OFF"] = "AudioEventConstant/EFFECT_OFF";
174
174
  e["PAUSE_AUDIO"] = "AudioEventConstant/PAUSE_AUDIO";
175
175
  e["RESUME_AUDIO"] = "AudioEventConstant/RESUME_AUDIO";
176
- })(_e || (_e = {}));
176
+ })(ge || (ge = {}));
177
177
 
178
178
  class AudioManager extends BaseManager {
179
179
  local_data={};
@@ -250,7 +250,7 @@ class AudioManager extends BaseManager {
250
250
  if (e == this._switch_music) return;
251
251
  this._switch_music = e;
252
252
  e ? this.resumeMusic() : this.pauseMusic();
253
- const t = e ? _e.MUSIC_ON : _e.MUSIC_OFF;
253
+ const t = e ? ge.MUSIC_ON : ge.MUSIC_OFF;
254
254
  this.cat.event.emit(t);
255
255
  this.save();
256
256
  }
@@ -286,7 +286,7 @@ class AudioManager extends BaseManager {
286
286
  if (e == this._switch_effect) return;
287
287
  this._switch_effect = e;
288
288
  e ? this.effect?.play() : this.effect?.stop();
289
- const t = e ? _e.EFFECT_ON : _e.EFFECT_OFF;
289
+ const t = e ? ge.EFFECT_ON : ge.EFFECT_OFF;
290
290
  this.cat.event.emit(t);
291
291
  this.save();
292
292
  }
@@ -334,7 +334,7 @@ class AudioManager extends BaseManager {
334
334
  }
335
335
  }
336
336
 
337
- function ge(e, t, i, n) {
337
+ function _e(e, t, i, n) {
338
338
  var o = arguments.length, s = o < 3 ? t : n === null ? n = Object.getOwnPropertyDescriptor(t, i) : n, r;
339
339
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") s = Reflect.decorate(e, t, i, n); else for (var a = e.length - 1; a >= 0; a--) if (r = e[a]) s = (o < 3 ? r(s) : o > 3 ? r(t, i, s) : r(t, i)) || s;
340
340
  return o > 3 && s && Object.defineProperty(t, i, s), s;
@@ -590,7 +590,7 @@ class UILayer extends BaseComponent {
590
590
  i = i || this.lastEnterDirection;
591
591
  if (this.isClosing) return;
592
592
  this.isClosing = true;
593
- _(this.node).removeSelf();
593
+ g(this.node).removeSelf();
594
594
  if (t) {
595
595
  const e = this.node.getComponent(f);
596
596
  if (e) e.enabled = false;
@@ -627,7 +627,7 @@ class UILayer extends BaseComponent {
627
627
  }
628
628
  deftween(e, t, i, n) {
629
629
  return new F((i, n) => {
630
- _(this.node).to(e, t).call(() => {
630
+ g(this.node).to(e, t).call(() => {
631
631
  i();
632
632
  }).start();
633
633
  });
@@ -658,7 +658,7 @@ class AudioSourceBaseComponent extends BaseComponent {
658
658
  this.audioSource.loop = this.loop;
659
659
  this.audioSource.volume = this.volume;
660
660
  this.audioSource.playOnAwake = this.playOnAwake;
661
- this.cat.event.on(_e.EFFECT_ON, this.onPlayEffectHandler, this).on(_e.EFFECT_OFF, this.onStopEffectHandler, this).on(_e.MUSIC_ON, this.onPlayMusicHandler, this).on(_e.MUSIC_OFF, this.onStopMusicHandler, this);
661
+ this.cat.event.on(ge.EFFECT_ON, this.onPlayEffectHandler, this).on(ge.EFFECT_OFF, this.onStopEffectHandler, this).on(ge.MUSIC_ON, this.onPlayMusicHandler, this).on(ge.MUSIC_OFF, this.onStopMusicHandler, this);
662
662
  }
663
663
  __preload() {
664
664
  super.__preload();
@@ -687,25 +687,25 @@ class AudioSourceBaseComponent extends BaseComponent {
687
687
  }
688
688
  }
689
689
 
690
- ge([ Ee({
690
+ _e([ Ee({
691
691
  tooltip: `类型:\n EFFECT 音效\n BGM 音乐`,
692
- type: g(Se)
692
+ type: _(Se)
693
693
  }), ye("design:type", Number) ], AudioSourceBaseComponent.prototype, "type", void 0);
694
694
 
695
- ge([ Ee({
695
+ _e([ Ee({
696
696
  tooltip: "音源",
697
697
  type: n
698
698
  }), ye("design:type", typeof (ve = typeof n !== "undefined" && n) === "function" ? ve : Object) ], AudioSourceBaseComponent.prototype, "clip", void 0);
699
699
 
700
- ge([ Ee({
700
+ _e([ Ee({
701
701
  tooltip: "循环"
702
702
  }), ye("design:type", Boolean) ], AudioSourceBaseComponent.prototype, "loop", void 0);
703
703
 
704
- ge([ Ee({
704
+ _e([ Ee({
705
705
  tooltip: "音量"
706
706
  }), ye("design:type", Number) ], AudioSourceBaseComponent.prototype, "volume", void 0);
707
707
 
708
- ge([ Ee({
708
+ _e([ Ee({
709
709
  tooltip: "是否启用自动播放"
710
710
  }), ye("design:type", Boolean) ], AudioSourceBaseComponent.prototype, "playOnAwake", void 0);
711
711
 
@@ -722,7 +722,7 @@ class AudioSourceUILayer extends UILayer {
722
722
  audioSource=(() => new t)();
723
723
  onEnable() {
724
724
  super.onEnable();
725
- this.cat.event.on(_e.EFFECT_ON, this.onPlayEffectHandler, this).on(_e.EFFECT_OFF, this.onStopEffectHandler, this).on(_e.MUSIC_ON, this.onPlayMusicHandler, this).on(_e.MUSIC_OFF, this.onStopMusicHandler, this);
725
+ this.cat.event.on(ge.EFFECT_ON, this.onPlayEffectHandler, this).on(ge.EFFECT_OFF, this.onStopEffectHandler, this).on(ge.MUSIC_ON, this.onPlayMusicHandler, this).on(ge.MUSIC_OFF, this.onStopMusicHandler, this);
726
726
  }
727
727
  __preload() {
728
728
  this.clip && (this.audioSource.clip = this.clip);
@@ -754,25 +754,25 @@ class AudioSourceUILayer extends UILayer {
754
754
  }
755
755
  }
756
756
 
757
- ge([ Ie({
757
+ _e([ Ie({
758
758
  tooltip: `类型:\n EFFECT 音效\n BGM 音乐`,
759
- type: g(Se)
759
+ type: _(Se)
760
760
  }), ye("design:type", Number) ], AudioSourceUILayer.prototype, "type", void 0);
761
761
 
762
- ge([ Ie({
762
+ _e([ Ie({
763
763
  tooltip: "音源",
764
764
  type: n
765
765
  }), ye("design:type", typeof (we = typeof n !== "undefined" && n) === "function" ? we : Object) ], AudioSourceUILayer.prototype, "clip", void 0);
766
766
 
767
- ge([ Ie({
767
+ _e([ Ie({
768
768
  tooltip: "循环"
769
769
  }), ye("design:type", Boolean) ], AudioSourceUILayer.prototype, "loop", void 0);
770
770
 
771
- ge([ Ie({
771
+ _e([ Ie({
772
772
  tooltip: "音量"
773
773
  }), ye("design:type", Number) ], AudioSourceUILayer.prototype, "volume", void 0);
774
774
 
775
- ge([ Ie({
775
+ _e([ Ie({
776
776
  tooltip: "是否启用自动播放"
777
777
  }), ye("design:type", Boolean) ], AudioSourceUILayer.prototype, "playOnAwake", void 0);
778
778
 
@@ -822,14 +822,14 @@ let xe = class CoreToast extends BaseComponent {
822
822
  const n = 1.2;
823
823
  const o = .5;
824
824
  const s = this.node.getComponent(v);
825
- const r = _(s).delay(n).to(o, {
825
+ const r = g(s).delay(n).to(o, {
826
826
  opacity: 0
827
827
  }).call(() => {
828
828
  C.stopAllByTarget(e);
829
829
  this.node.destroy();
830
830
  t();
831
831
  });
832
- _(e).by(o, {
832
+ g(e).by(o, {
833
833
  position: m(0, 400, 0)
834
834
  }).call(() => {
835
835
  r.start();
@@ -842,27 +842,27 @@ let xe = class CoreToast extends BaseComponent {
842
842
  }
843
843
  };
844
844
 
845
- ge([ Ue({
845
+ _e([ Ue({
846
846
  type: s,
847
847
  tooltip: "固定节点"
848
848
  }), ye("design:type", typeof (Oe = typeof s !== "undefined" && s) === "function" ? Oe : Object) ], xe.prototype, "fixed_node", void 0);
849
849
 
850
- ge([ Ue({
850
+ _e([ Ue({
851
851
  type: s,
852
852
  tooltip: "滑动节点"
853
853
  }), ye("design:type", typeof (Te = typeof s !== "undefined" && s) === "function" ? Te : Object) ], xe.prototype, "slide_node", void 0);
854
854
 
855
- ge([ Ue({
855
+ _e([ Ue({
856
856
  type: b,
857
857
  tooltip: "固定标签节点"
858
858
  }), ye("design:type", typeof (ke = typeof b !== "undefined" && b) === "function" ? ke : Object) ], xe.prototype, "fixed_label", void 0);
859
859
 
860
- ge([ Ue({
860
+ _e([ Ue({
861
861
  type: b,
862
862
  tooltip: "滑动标签节点"
863
863
  }), ye("design:type", typeof (Re = typeof b !== "undefined" && b) === "function" ? Re : Object) ], xe.prototype, "slide_label", void 0);
864
864
 
865
- xe = ge([ Me("CoreToast"), Ne("CATCORE/CoreToast") ], xe);
865
+ xe = _e([ Me("CoreToast"), Ne("CATCORE/CoreToast") ], xe);
866
866
 
867
867
  var je;
868
868
 
@@ -885,12 +885,12 @@ let Ge = class CoreBlackMask extends BaseComponent {
885
885
  tween;
886
886
  };
887
887
 
888
- ge([ Be({
888
+ _e([ Be({
889
889
  type: s,
890
890
  tooltip: "动画节点"
891
891
  }), ye("design:type", typeof (Fe = typeof s !== "undefined" && s) === "function" ? Fe : Object) ], Ge.prototype, "tween", void 0);
892
892
 
893
- Ge = ge([ Le("CoreBlackMask"), Pe("CATCORE/CoreBlackMask") ], Ge);
893
+ Ge = _e([ Le("CoreBlackMask"), Pe("CATCORE/CoreBlackMask") ], Ge);
894
894
 
895
895
  var He, $e;
896
896
 
@@ -952,15 +952,15 @@ let ze = class CoreUIContainer extends UILayer {
952
952
  }
953
953
  };
954
954
 
955
- ge([ We({
955
+ _e([ We({
956
956
  type: s
957
957
  }), ye("design:type", typeof (He = typeof s !== "undefined" && s) === "function" ? He : Object) ], ze.prototype, "scene_mask_node", void 0);
958
958
 
959
- ge([ We({
959
+ _e([ We({
960
960
  type: s
961
961
  }), ye("design:type", typeof ($e = typeof s !== "undefined" && s) === "function" ? $e : Object) ], ze.prototype, "ui_container", void 0);
962
962
 
963
- ze = ge([ Ke("CoreUIContainer"), Ve("CATCORE/CoreUIContainer") ], ze);
963
+ ze = _e([ Ke("CoreUIContainer"), Ve("CATCORE/CoreUIContainer") ], ze);
964
964
 
965
965
  class RootUILayer extends UILayer {
966
966
  onEnable() {
@@ -1003,17 +1003,17 @@ let Ye = class CoreShowLoading extends RootUILayer {
1003
1003
  }
1004
1004
  };
1005
1005
 
1006
- ge([ Xe({
1006
+ _e([ Xe({
1007
1007
  type: b,
1008
1008
  tooltip: "标题"
1009
1009
  }), ye("design:type", typeof (qe = typeof b !== "undefined" && b) === "function" ? qe : Object) ], Ye.prototype, "title", void 0);
1010
1010
 
1011
- ge([ Xe({
1011
+ _e([ Xe({
1012
1012
  type: s,
1013
1013
  tooltip: "动画"
1014
1014
  }), ye("design:type", typeof (Qe = typeof s !== "undefined" && s) === "function" ? Qe : Object) ], Ye.prototype, "loadingTween", void 0);
1015
1015
 
1016
- Ye = ge([ Je("CoreShowLoading"), Ze("CATCORE/CoreShowLoading") ], Ye);
1016
+ Ye = _e([ Je("CoreShowLoading"), Ze("CATCORE/CoreShowLoading") ], Ye);
1017
1017
 
1018
1018
  var et;
1019
1019
 
@@ -1075,22 +1075,22 @@ let at = class CoreReconnection extends RootUILayer {
1075
1075
  }
1076
1076
  };
1077
1077
 
1078
- ge([ st({
1078
+ _e([ st({
1079
1079
  type: b,
1080
1080
  tooltip: "通用提示文本"
1081
1081
  }), ye("design:type", typeof (tt = typeof b !== "undefined" && b) === "function" ? tt : Object) ], at.prototype, "common_prompt_text", void 0);
1082
1082
 
1083
- ge([ st({
1083
+ _e([ st({
1084
1084
  type: S,
1085
1085
  tooltip: "确定按钮"
1086
1086
  }), ye("design:type", typeof (it = typeof S !== "undefined" && S) === "function" ? it : Object) ], at.prototype, "btn_confirm", void 0);
1087
1087
 
1088
- ge([ st({
1088
+ _e([ st({
1089
1089
  type: S,
1090
1090
  tooltip: "关闭按钮"
1091
1091
  }), ye("design:type", typeof (nt = typeof S !== "undefined" && S) === "function" ? nt : Object) ], at.prototype, "btn_close", void 0);
1092
1092
 
1093
- at = ge([ ot("CoreReconnection"), rt("CATCORE/CoreReconnection") ], at);
1093
+ at = _e([ ot("CoreReconnection"), rt("CATCORE/CoreReconnection") ], at);
1094
1094
 
1095
1095
  var lt, ct, ht;
1096
1096
 
@@ -1120,28 +1120,28 @@ let ft = class CoreNotice extends RootUILayer {
1120
1120
  }
1121
1121
  };
1122
1122
 
1123
- ge([ dt({
1123
+ _e([ dt({
1124
1124
  type: b,
1125
1125
  tooltip: "提示文本"
1126
1126
  }), ye("design:type", typeof (lt = typeof b !== "undefined" && b) === "function" ? lt : Object) ], ft.prototype, "text", void 0);
1127
1127
 
1128
- ge([ dt({
1128
+ _e([ dt({
1129
1129
  type: S,
1130
1130
  tooltip: "确定按钮"
1131
1131
  }), ye("design:type", typeof (ct = typeof S !== "undefined" && S) === "function" ? ct : Object) ], ft.prototype, "btn_confirm", void 0);
1132
1132
 
1133
- ge([ dt({
1133
+ _e([ dt({
1134
1134
  type: S,
1135
1135
  tooltip: "关闭按钮"
1136
1136
  }), ye("design:type", typeof (ht = typeof S !== "undefined" && S) === "function" ? ht : Object) ], ft.prototype, "btn_close", void 0);
1137
1137
 
1138
- ft = ge([ ut("CoreNotice"), pt("CATCORE/CoreNotice") ], ft);
1138
+ ft = _e([ ut("CoreNotice"), pt("CATCORE/CoreNotice") ], ft);
1139
1139
 
1140
1140
  class SceneLayer extends BaseComponent {
1141
1141
  isReload;
1142
1142
  }
1143
1143
 
1144
- var mt, _t, gt, yt, bt, vt, Ct, Et;
1144
+ var mt, gt, _t, yt, bt, vt, Ct, Et;
1145
1145
 
1146
1146
  const {ccclass: St, property: wt, menu: At} = i;
1147
1147
 
@@ -1327,6 +1327,7 @@ let Ot = class Gui extends BaseComponent {
1327
1327
  findSceneByUUIDFromBundle(e, t) {
1328
1328
  return;
1329
1329
  }
1330
+ _sceneChanging=false;
1330
1331
  loadScene(e, t, i, n) {
1331
1332
  a("[加载场景参数]", e, t, i, n);
1332
1333
  let s;
@@ -1336,10 +1337,16 @@ let Ot = class Gui extends BaseComponent {
1336
1337
  for (const e of h) {
1337
1338
  if (typeof e === "boolean") l = e; else if (typeof e === "function") c = e; else if (e && typeof e === "object") s = e;
1338
1339
  }
1340
+ if (this._sceneChanging) {
1341
+ O("scene is changing, ignore");
1342
+ return this;
1343
+ }
1344
+ this._sceneChanging = true;
1339
1345
  r.once(A.EVENT_BEFORE_SCENE_LAUNCH, e => {
1340
1346
  this.changeScene(e, s ?? {}, l);
1341
1347
  });
1342
1348
  r.once(A.EVENT_AFTER_SCENE_LAUNCH, () => {
1349
+ this._sceneChanging = false;
1343
1350
  c?.();
1344
1351
  });
1345
1352
  if (typeof e === "string") {
@@ -1382,9 +1389,6 @@ let Ot = class Gui extends BaseComponent {
1382
1389
  n?.setOptions(t);
1383
1390
  }
1384
1391
  createUILayer(e) {
1385
- if (this.ui_container_component && u(this.ui_container_component.node) && this.ui_container_component.node.scene === e) {
1386
- return;
1387
- }
1388
1392
  this.ui_container_component?.removeAndDestroy();
1389
1393
  this.ui_container_component = null;
1390
1394
  if (u(this.node)) {
@@ -1473,47 +1477,47 @@ let Ot = class Gui extends BaseComponent {
1473
1477
  }
1474
1478
  };
1475
1479
 
1476
- ge([ wt({
1480
+ _e([ wt({
1477
1481
  type: c,
1478
1482
  tooltip: "断线重连UI预制体"
1479
1483
  }), ye("design:type", typeof (mt = typeof c !== "undefined" && c) === "function" ? mt : Object) ], Ot.prototype, "reconnection_ui_prefab", void 0);
1480
1484
 
1481
- ge([ wt({
1485
+ _e([ wt({
1482
1486
  type: c,
1483
1487
  tooltip: "提示UI预制体"
1484
- }), ye("design:type", typeof (_t = typeof c !== "undefined" && c) === "function" ? _t : Object) ], Ot.prototype, "toast_ui_prefab", void 0);
1488
+ }), ye("design:type", typeof (gt = typeof c !== "undefined" && c) === "function" ? gt : Object) ], Ot.prototype, "toast_ui_prefab", void 0);
1485
1489
 
1486
- ge([ wt({
1490
+ _e([ wt({
1487
1491
  type: c,
1488
1492
  tooltip: "加载UI预制体"
1489
- }), ye("design:type", typeof (gt = typeof c !== "undefined" && c) === "function" ? gt : Object) ], Ot.prototype, "loading_ui_prefab", void 0);
1493
+ }), ye("design:type", typeof (_t = typeof c !== "undefined" && c) === "function" ? _t : Object) ], Ot.prototype, "loading_ui_prefab", void 0);
1490
1494
 
1491
- ge([ wt({
1495
+ _e([ wt({
1492
1496
  type: c,
1493
1497
  tooltip: "公告UI预制体"
1494
1498
  }), ye("design:type", typeof (yt = typeof c !== "undefined" && c) === "function" ? yt : Object) ], Ot.prototype, "notice_ui_prefab", void 0);
1495
1499
 
1496
- ge([ wt({
1500
+ _e([ wt({
1497
1501
  type: c,
1498
1502
  tooltip: "UI层预制体"
1499
1503
  }), ye("design:type", typeof (bt = typeof c !== "undefined" && c) === "function" ? bt : Object) ], Ot.prototype, "ui_prefab", void 0);
1500
1504
 
1501
- ge([ wt({
1505
+ _e([ wt({
1502
1506
  type: s,
1503
1507
  tooltip: "root-UI层"
1504
1508
  }), ye("design:type", typeof (vt = typeof s !== "undefined" && s) === "function" ? vt : Object) ], Ot.prototype, "root_ui", void 0);
1505
1509
 
1506
- ge([ wt({
1510
+ _e([ wt({
1507
1511
  type: s,
1508
1512
  tooltip: "root-组件层"
1509
1513
  }), ye("design:type", typeof (Ct = typeof s !== "undefined" && s) === "function" ? Ct : Object) ], Ot.prototype, "root_toast", void 0);
1510
1514
 
1511
- ge([ wt({
1515
+ _e([ wt({
1512
1516
  type: s,
1513
1517
  tooltip: "root-mask"
1514
1518
  }), ye("design:type", typeof (Et = typeof s !== "undefined" && s) === "function" ? Et : Object) ], Ot.prototype, "root_mask", void 0);
1515
1519
 
1516
- Ot = ge([ St("Gui"), At("CATCORE/Gui") ], Ot);
1520
+ Ot = _e([ St("Gui"), At("CATCORE/Gui") ], Ot);
1517
1521
 
1518
1522
  var Tt;
1519
1523
 
@@ -2327,52 +2331,52 @@ let qt = class CoreUIModal extends UILayer {
2327
2331
  }
2328
2332
  };
2329
2333
 
2330
- ge([ Vt({
2334
+ _e([ Vt({
2331
2335
  type: U,
2332
2336
  tooltip: "默认标题"
2333
2337
  }), ye("design:type", typeof (jt = typeof U !== "undefined" && U) === "function" ? jt : Object) ], qt.prototype, "default_title", void 0);
2334
2338
 
2335
- ge([ Vt({
2339
+ _e([ Vt({
2336
2340
  type: N,
2337
2341
  tooltip: "标题节点"
2338
2342
  }), ye("design:type", typeof (Ft = typeof N !== "undefined" && N) === "function" ? Ft : Object) ], qt.prototype, "title", void 0);
2339
2343
 
2340
- ge([ Vt({
2344
+ _e([ Vt({
2341
2345
  type: b,
2342
2346
  tooltip: "字符串内容按钮"
2343
2347
  }), ye("design:type", typeof (Lt = typeof b !== "undefined" && b) === "function" ? Lt : Object) ], qt.prototype, "prompt_content_str", void 0);
2344
2348
 
2345
- ge([ Vt({
2349
+ _e([ Vt({
2346
2350
  type: N,
2347
2351
  tooltip: "图片精灵内容按钮"
2348
2352
  }), ye("design:type", typeof (Bt = typeof N !== "undefined" && N) === "function" ? Bt : Object) ], qt.prototype, "prompt_content_spriteFrame", void 0);
2349
2353
 
2350
- ge([ Vt({
2354
+ _e([ Vt({
2351
2355
  type: S,
2352
2356
  tooltip: "确认按钮"
2353
2357
  }), ye("design:type", typeof (Pt = typeof S !== "undefined" && S) === "function" ? Pt : Object) ], qt.prototype, "btn_confirm", void 0);
2354
2358
 
2355
- ge([ Vt({
2359
+ _e([ Vt({
2356
2360
  type: U,
2357
2361
  tooltip: "确认按钮精灵图"
2358
2362
  }), ye("design:type", typeof (Gt = typeof U !== "undefined" && U) === "function" ? Gt : Object) ], qt.prototype, "confirm_spriteFrame", void 0);
2359
2363
 
2360
- ge([ Vt({
2364
+ _e([ Vt({
2361
2365
  type: S,
2362
2366
  tooltip: "取消按钮"
2363
2367
  }), ye("design:type", typeof (Ht = typeof S !== "undefined" && S) === "function" ? Ht : Object) ], qt.prototype, "btn_cancel", void 0);
2364
2368
 
2365
- ge([ Vt({
2369
+ _e([ Vt({
2366
2370
  type: U,
2367
2371
  tooltip: "取消按钮精灵图"
2368
2372
  }), ye("design:type", typeof ($t = typeof U !== "undefined" && U) === "function" ? $t : Object) ], qt.prototype, "cancel_spriteFrame", void 0);
2369
2373
 
2370
- ge([ Vt({
2374
+ _e([ Vt({
2371
2375
  type: S,
2372
2376
  tooltip: "关闭按钮"
2373
2377
  }), ye("design:type", typeof (Kt = typeof S !== "undefined" && S) === "function" ? Kt : Object) ], qt.prototype, "btn_close", void 0);
2374
2378
 
2375
- qt = ge([ Wt("CoreUIModal"), zt("CATCORE/CoreUIModal") ], qt);
2379
+ qt = _e([ Wt("CoreUIModal"), zt("CATCORE/CoreUIModal") ], qt);
2376
2380
 
2377
2381
  var Qt;
2378
2382
 
@@ -2530,4 +2534,4 @@ y.onPostProjectInitDelegate.add(async () => {
2530
2534
  }
2531
2535
  });
2532
2536
 
2533
- 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 };
2537
+ export { Jt as AudioEffect, ge 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.46",
3
+ "version": "3.0.48",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "main": "dist/shimotsuki_core.js",