@shimotsuki/core 3.0.46 → 3.0.47
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 +1 -0
- package/dist/shimotsuki_core.js +74 -71
- package/package.json +1 -1
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 场景名称、场景实例或场景资源,用于指定要加载的场景
|
package/dist/shimotsuki_core.js
CHANGED
|
@@ -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
|
|
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
|
|
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
|
-
})(
|
|
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 ?
|
|
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 ?
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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(
|
|
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
|
-
|
|
690
|
+
_e([ Ee({
|
|
691
691
|
tooltip: `类型:\n EFFECT 音效\n BGM 音乐`,
|
|
692
|
-
type:
|
|
692
|
+
type: _(Se)
|
|
693
693
|
}), ye("design:type", Number) ], AudioSourceBaseComponent.prototype, "type", void 0);
|
|
694
694
|
|
|
695
|
-
|
|
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
|
-
|
|
700
|
+
_e([ Ee({
|
|
701
701
|
tooltip: "循环"
|
|
702
702
|
}), ye("design:type", Boolean) ], AudioSourceBaseComponent.prototype, "loop", void 0);
|
|
703
703
|
|
|
704
|
-
|
|
704
|
+
_e([ Ee({
|
|
705
705
|
tooltip: "音量"
|
|
706
706
|
}), ye("design:type", Number) ], AudioSourceBaseComponent.prototype, "volume", void 0);
|
|
707
707
|
|
|
708
|
-
|
|
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(
|
|
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
|
-
|
|
757
|
+
_e([ Ie({
|
|
758
758
|
tooltip: `类型:\n EFFECT 音效\n BGM 音乐`,
|
|
759
|
-
type:
|
|
759
|
+
type: _(Se)
|
|
760
760
|
}), ye("design:type", Number) ], AudioSourceUILayer.prototype, "type", void 0);
|
|
761
761
|
|
|
762
|
-
|
|
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
|
-
|
|
767
|
+
_e([ Ie({
|
|
768
768
|
tooltip: "循环"
|
|
769
769
|
}), ye("design:type", Boolean) ], AudioSourceUILayer.prototype, "loop", void 0);
|
|
770
770
|
|
|
771
|
-
|
|
771
|
+
_e([ Ie({
|
|
772
772
|
tooltip: "音量"
|
|
773
773
|
}), ye("design:type", Number) ], AudioSourceUILayer.prototype, "volume", void 0);
|
|
774
774
|
|
|
775
|
-
|
|
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 =
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 =
|
|
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
|
-
|
|
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 =
|
|
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
|
-
|
|
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
|
-
|
|
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 =
|
|
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
|
-
|
|
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
|
-
|
|
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 =
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 =
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 =
|
|
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,
|
|
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,6 +1337,11 @@ 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
|
});
|
|
@@ -1382,9 +1388,6 @@ let Ot = class Gui extends BaseComponent {
|
|
|
1382
1388
|
n?.setOptions(t);
|
|
1383
1389
|
}
|
|
1384
1390
|
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
1391
|
this.ui_container_component?.removeAndDestroy();
|
|
1389
1392
|
this.ui_container_component = null;
|
|
1390
1393
|
if (u(this.node)) {
|
|
@@ -1473,47 +1476,47 @@ let Ot = class Gui extends BaseComponent {
|
|
|
1473
1476
|
}
|
|
1474
1477
|
};
|
|
1475
1478
|
|
|
1476
|
-
|
|
1479
|
+
_e([ wt({
|
|
1477
1480
|
type: c,
|
|
1478
1481
|
tooltip: "断线重连UI预制体"
|
|
1479
1482
|
}), ye("design:type", typeof (mt = typeof c !== "undefined" && c) === "function" ? mt : Object) ], Ot.prototype, "reconnection_ui_prefab", void 0);
|
|
1480
1483
|
|
|
1481
|
-
|
|
1484
|
+
_e([ wt({
|
|
1482
1485
|
type: c,
|
|
1483
1486
|
tooltip: "提示UI预制体"
|
|
1484
|
-
}), ye("design:type", typeof (
|
|
1487
|
+
}), ye("design:type", typeof (gt = typeof c !== "undefined" && c) === "function" ? gt : Object) ], Ot.prototype, "toast_ui_prefab", void 0);
|
|
1485
1488
|
|
|
1486
|
-
|
|
1489
|
+
_e([ wt({
|
|
1487
1490
|
type: c,
|
|
1488
1491
|
tooltip: "加载UI预制体"
|
|
1489
|
-
}), ye("design:type", typeof (
|
|
1492
|
+
}), ye("design:type", typeof (_t = typeof c !== "undefined" && c) === "function" ? _t : Object) ], Ot.prototype, "loading_ui_prefab", void 0);
|
|
1490
1493
|
|
|
1491
|
-
|
|
1494
|
+
_e([ wt({
|
|
1492
1495
|
type: c,
|
|
1493
1496
|
tooltip: "公告UI预制体"
|
|
1494
1497
|
}), ye("design:type", typeof (yt = typeof c !== "undefined" && c) === "function" ? yt : Object) ], Ot.prototype, "notice_ui_prefab", void 0);
|
|
1495
1498
|
|
|
1496
|
-
|
|
1499
|
+
_e([ wt({
|
|
1497
1500
|
type: c,
|
|
1498
1501
|
tooltip: "UI层预制体"
|
|
1499
1502
|
}), ye("design:type", typeof (bt = typeof c !== "undefined" && c) === "function" ? bt : Object) ], Ot.prototype, "ui_prefab", void 0);
|
|
1500
1503
|
|
|
1501
|
-
|
|
1504
|
+
_e([ wt({
|
|
1502
1505
|
type: s,
|
|
1503
1506
|
tooltip: "root-UI层"
|
|
1504
1507
|
}), ye("design:type", typeof (vt = typeof s !== "undefined" && s) === "function" ? vt : Object) ], Ot.prototype, "root_ui", void 0);
|
|
1505
1508
|
|
|
1506
|
-
|
|
1509
|
+
_e([ wt({
|
|
1507
1510
|
type: s,
|
|
1508
1511
|
tooltip: "root-组件层"
|
|
1509
1512
|
}), ye("design:type", typeof (Ct = typeof s !== "undefined" && s) === "function" ? Ct : Object) ], Ot.prototype, "root_toast", void 0);
|
|
1510
1513
|
|
|
1511
|
-
|
|
1514
|
+
_e([ wt({
|
|
1512
1515
|
type: s,
|
|
1513
1516
|
tooltip: "root-mask"
|
|
1514
1517
|
}), ye("design:type", typeof (Et = typeof s !== "undefined" && s) === "function" ? Et : Object) ], Ot.prototype, "root_mask", void 0);
|
|
1515
1518
|
|
|
1516
|
-
Ot =
|
|
1519
|
+
Ot = _e([ St("Gui"), At("CATCORE/Gui") ], Ot);
|
|
1517
1520
|
|
|
1518
1521
|
var Tt;
|
|
1519
1522
|
|
|
@@ -2327,52 +2330,52 @@ let qt = class CoreUIModal extends UILayer {
|
|
|
2327
2330
|
}
|
|
2328
2331
|
};
|
|
2329
2332
|
|
|
2330
|
-
|
|
2333
|
+
_e([ Vt({
|
|
2331
2334
|
type: U,
|
|
2332
2335
|
tooltip: "默认标题"
|
|
2333
2336
|
}), ye("design:type", typeof (jt = typeof U !== "undefined" && U) === "function" ? jt : Object) ], qt.prototype, "default_title", void 0);
|
|
2334
2337
|
|
|
2335
|
-
|
|
2338
|
+
_e([ Vt({
|
|
2336
2339
|
type: N,
|
|
2337
2340
|
tooltip: "标题节点"
|
|
2338
2341
|
}), ye("design:type", typeof (Ft = typeof N !== "undefined" && N) === "function" ? Ft : Object) ], qt.prototype, "title", void 0);
|
|
2339
2342
|
|
|
2340
|
-
|
|
2343
|
+
_e([ Vt({
|
|
2341
2344
|
type: b,
|
|
2342
2345
|
tooltip: "字符串内容按钮"
|
|
2343
2346
|
}), ye("design:type", typeof (Lt = typeof b !== "undefined" && b) === "function" ? Lt : Object) ], qt.prototype, "prompt_content_str", void 0);
|
|
2344
2347
|
|
|
2345
|
-
|
|
2348
|
+
_e([ Vt({
|
|
2346
2349
|
type: N,
|
|
2347
2350
|
tooltip: "图片精灵内容按钮"
|
|
2348
2351
|
}), ye("design:type", typeof (Bt = typeof N !== "undefined" && N) === "function" ? Bt : Object) ], qt.prototype, "prompt_content_spriteFrame", void 0);
|
|
2349
2352
|
|
|
2350
|
-
|
|
2353
|
+
_e([ Vt({
|
|
2351
2354
|
type: S,
|
|
2352
2355
|
tooltip: "确认按钮"
|
|
2353
2356
|
}), ye("design:type", typeof (Pt = typeof S !== "undefined" && S) === "function" ? Pt : Object) ], qt.prototype, "btn_confirm", void 0);
|
|
2354
2357
|
|
|
2355
|
-
|
|
2358
|
+
_e([ Vt({
|
|
2356
2359
|
type: U,
|
|
2357
2360
|
tooltip: "确认按钮精灵图"
|
|
2358
2361
|
}), ye("design:type", typeof (Gt = typeof U !== "undefined" && U) === "function" ? Gt : Object) ], qt.prototype, "confirm_spriteFrame", void 0);
|
|
2359
2362
|
|
|
2360
|
-
|
|
2363
|
+
_e([ Vt({
|
|
2361
2364
|
type: S,
|
|
2362
2365
|
tooltip: "取消按钮"
|
|
2363
2366
|
}), ye("design:type", typeof (Ht = typeof S !== "undefined" && S) === "function" ? Ht : Object) ], qt.prototype, "btn_cancel", void 0);
|
|
2364
2367
|
|
|
2365
|
-
|
|
2368
|
+
_e([ Vt({
|
|
2366
2369
|
type: U,
|
|
2367
2370
|
tooltip: "取消按钮精灵图"
|
|
2368
2371
|
}), ye("design:type", typeof ($t = typeof U !== "undefined" && U) === "function" ? $t : Object) ], qt.prototype, "cancel_spriteFrame", void 0);
|
|
2369
2372
|
|
|
2370
|
-
|
|
2373
|
+
_e([ Vt({
|
|
2371
2374
|
type: S,
|
|
2372
2375
|
tooltip: "关闭按钮"
|
|
2373
2376
|
}), ye("design:type", typeof (Kt = typeof S !== "undefined" && S) === "function" ? Kt : Object) ], qt.prototype, "btn_close", void 0);
|
|
2374
2377
|
|
|
2375
|
-
qt =
|
|
2378
|
+
qt = _e([ Wt("CoreUIModal"), zt("CATCORE/CoreUIModal") ], qt);
|
|
2376
2379
|
|
|
2377
2380
|
var Qt;
|
|
2378
2381
|
|
|
@@ -2530,4 +2533,4 @@ y.onPostProjectInitDelegate.add(async () => {
|
|
|
2530
2533
|
}
|
|
2531
2534
|
});
|
|
2532
2535
|
|
|
2533
|
-
export { Jt as AudioEffect,
|
|
2536
|
+
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 };
|