@shimotsuki/core 3.0.45 → 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 +75 -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;
|
|
@@ -502,6 +502,7 @@ class BaseComponent extends l {
|
|
|
502
502
|
if (u(this?.node)) {
|
|
503
503
|
this.node.removeFromParent();
|
|
504
504
|
this.node.destroy();
|
|
505
|
+
console.log(this.node.name, this.node.uuid, this.node);
|
|
505
506
|
}
|
|
506
507
|
}
|
|
507
508
|
setPosition(e) {
|
|
@@ -589,7 +590,7 @@ class UILayer extends BaseComponent {
|
|
|
589
590
|
i = i || this.lastEnterDirection;
|
|
590
591
|
if (this.isClosing) return;
|
|
591
592
|
this.isClosing = true;
|
|
592
|
-
|
|
593
|
+
g(this.node).removeSelf();
|
|
593
594
|
if (t) {
|
|
594
595
|
const e = this.node.getComponent(f);
|
|
595
596
|
if (e) e.enabled = false;
|
|
@@ -626,7 +627,7 @@ class UILayer extends BaseComponent {
|
|
|
626
627
|
}
|
|
627
628
|
deftween(e, t, i, n) {
|
|
628
629
|
return new F((i, n) => {
|
|
629
|
-
|
|
630
|
+
g(this.node).to(e, t).call(() => {
|
|
630
631
|
i();
|
|
631
632
|
}).start();
|
|
632
633
|
});
|
|
@@ -657,7 +658,7 @@ class AudioSourceBaseComponent extends BaseComponent {
|
|
|
657
658
|
this.audioSource.loop = this.loop;
|
|
658
659
|
this.audioSource.volume = this.volume;
|
|
659
660
|
this.audioSource.playOnAwake = this.playOnAwake;
|
|
660
|
-
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);
|
|
661
662
|
}
|
|
662
663
|
__preload() {
|
|
663
664
|
super.__preload();
|
|
@@ -686,25 +687,25 @@ class AudioSourceBaseComponent extends BaseComponent {
|
|
|
686
687
|
}
|
|
687
688
|
}
|
|
688
689
|
|
|
689
|
-
|
|
690
|
+
_e([ Ee({
|
|
690
691
|
tooltip: `类型:\n EFFECT 音效\n BGM 音乐`,
|
|
691
|
-
type:
|
|
692
|
+
type: _(Se)
|
|
692
693
|
}), ye("design:type", Number) ], AudioSourceBaseComponent.prototype, "type", void 0);
|
|
693
694
|
|
|
694
|
-
|
|
695
|
+
_e([ Ee({
|
|
695
696
|
tooltip: "音源",
|
|
696
697
|
type: n
|
|
697
698
|
}), ye("design:type", typeof (ve = typeof n !== "undefined" && n) === "function" ? ve : Object) ], AudioSourceBaseComponent.prototype, "clip", void 0);
|
|
698
699
|
|
|
699
|
-
|
|
700
|
+
_e([ Ee({
|
|
700
701
|
tooltip: "循环"
|
|
701
702
|
}), ye("design:type", Boolean) ], AudioSourceBaseComponent.prototype, "loop", void 0);
|
|
702
703
|
|
|
703
|
-
|
|
704
|
+
_e([ Ee({
|
|
704
705
|
tooltip: "音量"
|
|
705
706
|
}), ye("design:type", Number) ], AudioSourceBaseComponent.prototype, "volume", void 0);
|
|
706
707
|
|
|
707
|
-
|
|
708
|
+
_e([ Ee({
|
|
708
709
|
tooltip: "是否启用自动播放"
|
|
709
710
|
}), ye("design:type", Boolean) ], AudioSourceBaseComponent.prototype, "playOnAwake", void 0);
|
|
710
711
|
|
|
@@ -721,7 +722,7 @@ class AudioSourceUILayer extends UILayer {
|
|
|
721
722
|
audioSource=(() => new t)();
|
|
722
723
|
onEnable() {
|
|
723
724
|
super.onEnable();
|
|
724
|
-
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);
|
|
725
726
|
}
|
|
726
727
|
__preload() {
|
|
727
728
|
this.clip && (this.audioSource.clip = this.clip);
|
|
@@ -753,25 +754,25 @@ class AudioSourceUILayer extends UILayer {
|
|
|
753
754
|
}
|
|
754
755
|
}
|
|
755
756
|
|
|
756
|
-
|
|
757
|
+
_e([ Ie({
|
|
757
758
|
tooltip: `类型:\n EFFECT 音效\n BGM 音乐`,
|
|
758
|
-
type:
|
|
759
|
+
type: _(Se)
|
|
759
760
|
}), ye("design:type", Number) ], AudioSourceUILayer.prototype, "type", void 0);
|
|
760
761
|
|
|
761
|
-
|
|
762
|
+
_e([ Ie({
|
|
762
763
|
tooltip: "音源",
|
|
763
764
|
type: n
|
|
764
765
|
}), ye("design:type", typeof (we = typeof n !== "undefined" && n) === "function" ? we : Object) ], AudioSourceUILayer.prototype, "clip", void 0);
|
|
765
766
|
|
|
766
|
-
|
|
767
|
+
_e([ Ie({
|
|
767
768
|
tooltip: "循环"
|
|
768
769
|
}), ye("design:type", Boolean) ], AudioSourceUILayer.prototype, "loop", void 0);
|
|
769
770
|
|
|
770
|
-
|
|
771
|
+
_e([ Ie({
|
|
771
772
|
tooltip: "音量"
|
|
772
773
|
}), ye("design:type", Number) ], AudioSourceUILayer.prototype, "volume", void 0);
|
|
773
774
|
|
|
774
|
-
|
|
775
|
+
_e([ Ie({
|
|
775
776
|
tooltip: "是否启用自动播放"
|
|
776
777
|
}), ye("design:type", Boolean) ], AudioSourceUILayer.prototype, "playOnAwake", void 0);
|
|
777
778
|
|
|
@@ -821,14 +822,14 @@ let xe = class CoreToast extends BaseComponent {
|
|
|
821
822
|
const n = 1.2;
|
|
822
823
|
const o = .5;
|
|
823
824
|
const s = this.node.getComponent(v);
|
|
824
|
-
const r =
|
|
825
|
+
const r = g(s).delay(n).to(o, {
|
|
825
826
|
opacity: 0
|
|
826
827
|
}).call(() => {
|
|
827
828
|
C.stopAllByTarget(e);
|
|
828
829
|
this.node.destroy();
|
|
829
830
|
t();
|
|
830
831
|
});
|
|
831
|
-
|
|
832
|
+
g(e).by(o, {
|
|
832
833
|
position: m(0, 400, 0)
|
|
833
834
|
}).call(() => {
|
|
834
835
|
r.start();
|
|
@@ -841,27 +842,27 @@ let xe = class CoreToast extends BaseComponent {
|
|
|
841
842
|
}
|
|
842
843
|
};
|
|
843
844
|
|
|
844
|
-
|
|
845
|
+
_e([ Ue({
|
|
845
846
|
type: s,
|
|
846
847
|
tooltip: "固定节点"
|
|
847
848
|
}), ye("design:type", typeof (Oe = typeof s !== "undefined" && s) === "function" ? Oe : Object) ], xe.prototype, "fixed_node", void 0);
|
|
848
849
|
|
|
849
|
-
|
|
850
|
+
_e([ Ue({
|
|
850
851
|
type: s,
|
|
851
852
|
tooltip: "滑动节点"
|
|
852
853
|
}), ye("design:type", typeof (Te = typeof s !== "undefined" && s) === "function" ? Te : Object) ], xe.prototype, "slide_node", void 0);
|
|
853
854
|
|
|
854
|
-
|
|
855
|
+
_e([ Ue({
|
|
855
856
|
type: b,
|
|
856
857
|
tooltip: "固定标签节点"
|
|
857
858
|
}), ye("design:type", typeof (ke = typeof b !== "undefined" && b) === "function" ? ke : Object) ], xe.prototype, "fixed_label", void 0);
|
|
858
859
|
|
|
859
|
-
|
|
860
|
+
_e([ Ue({
|
|
860
861
|
type: b,
|
|
861
862
|
tooltip: "滑动标签节点"
|
|
862
863
|
}), ye("design:type", typeof (Re = typeof b !== "undefined" && b) === "function" ? Re : Object) ], xe.prototype, "slide_label", void 0);
|
|
863
864
|
|
|
864
|
-
xe =
|
|
865
|
+
xe = _e([ Me("CoreToast"), Ne("CATCORE/CoreToast") ], xe);
|
|
865
866
|
|
|
866
867
|
var je;
|
|
867
868
|
|
|
@@ -884,12 +885,12 @@ let Ge = class CoreBlackMask extends BaseComponent {
|
|
|
884
885
|
tween;
|
|
885
886
|
};
|
|
886
887
|
|
|
887
|
-
|
|
888
|
+
_e([ Be({
|
|
888
889
|
type: s,
|
|
889
890
|
tooltip: "动画节点"
|
|
890
891
|
}), ye("design:type", typeof (Fe = typeof s !== "undefined" && s) === "function" ? Fe : Object) ], Ge.prototype, "tween", void 0);
|
|
891
892
|
|
|
892
|
-
Ge =
|
|
893
|
+
Ge = _e([ Le("CoreBlackMask"), Pe("CATCORE/CoreBlackMask") ], Ge);
|
|
893
894
|
|
|
894
895
|
var He, $e;
|
|
895
896
|
|
|
@@ -951,15 +952,15 @@ let ze = class CoreUIContainer extends UILayer {
|
|
|
951
952
|
}
|
|
952
953
|
};
|
|
953
954
|
|
|
954
|
-
|
|
955
|
+
_e([ We({
|
|
955
956
|
type: s
|
|
956
957
|
}), ye("design:type", typeof (He = typeof s !== "undefined" && s) === "function" ? He : Object) ], ze.prototype, "scene_mask_node", void 0);
|
|
957
958
|
|
|
958
|
-
|
|
959
|
+
_e([ We({
|
|
959
960
|
type: s
|
|
960
961
|
}), ye("design:type", typeof ($e = typeof s !== "undefined" && s) === "function" ? $e : Object) ], ze.prototype, "ui_container", void 0);
|
|
961
962
|
|
|
962
|
-
ze =
|
|
963
|
+
ze = _e([ Ke("CoreUIContainer"), Ve("CATCORE/CoreUIContainer") ], ze);
|
|
963
964
|
|
|
964
965
|
class RootUILayer extends UILayer {
|
|
965
966
|
onEnable() {
|
|
@@ -1002,17 +1003,17 @@ let Ye = class CoreShowLoading extends RootUILayer {
|
|
|
1002
1003
|
}
|
|
1003
1004
|
};
|
|
1004
1005
|
|
|
1005
|
-
|
|
1006
|
+
_e([ Xe({
|
|
1006
1007
|
type: b,
|
|
1007
1008
|
tooltip: "标题"
|
|
1008
1009
|
}), ye("design:type", typeof (qe = typeof b !== "undefined" && b) === "function" ? qe : Object) ], Ye.prototype, "title", void 0);
|
|
1009
1010
|
|
|
1010
|
-
|
|
1011
|
+
_e([ Xe({
|
|
1011
1012
|
type: s,
|
|
1012
1013
|
tooltip: "动画"
|
|
1013
1014
|
}), ye("design:type", typeof (Qe = typeof s !== "undefined" && s) === "function" ? Qe : Object) ], Ye.prototype, "loadingTween", void 0);
|
|
1014
1015
|
|
|
1015
|
-
Ye =
|
|
1016
|
+
Ye = _e([ Je("CoreShowLoading"), Ze("CATCORE/CoreShowLoading") ], Ye);
|
|
1016
1017
|
|
|
1017
1018
|
var et;
|
|
1018
1019
|
|
|
@@ -1074,22 +1075,22 @@ let at = class CoreReconnection extends RootUILayer {
|
|
|
1074
1075
|
}
|
|
1075
1076
|
};
|
|
1076
1077
|
|
|
1077
|
-
|
|
1078
|
+
_e([ st({
|
|
1078
1079
|
type: b,
|
|
1079
1080
|
tooltip: "通用提示文本"
|
|
1080
1081
|
}), ye("design:type", typeof (tt = typeof b !== "undefined" && b) === "function" ? tt : Object) ], at.prototype, "common_prompt_text", void 0);
|
|
1081
1082
|
|
|
1082
|
-
|
|
1083
|
+
_e([ st({
|
|
1083
1084
|
type: S,
|
|
1084
1085
|
tooltip: "确定按钮"
|
|
1085
1086
|
}), ye("design:type", typeof (it = typeof S !== "undefined" && S) === "function" ? it : Object) ], at.prototype, "btn_confirm", void 0);
|
|
1086
1087
|
|
|
1087
|
-
|
|
1088
|
+
_e([ st({
|
|
1088
1089
|
type: S,
|
|
1089
1090
|
tooltip: "关闭按钮"
|
|
1090
1091
|
}), ye("design:type", typeof (nt = typeof S !== "undefined" && S) === "function" ? nt : Object) ], at.prototype, "btn_close", void 0);
|
|
1091
1092
|
|
|
1092
|
-
at =
|
|
1093
|
+
at = _e([ ot("CoreReconnection"), rt("CATCORE/CoreReconnection") ], at);
|
|
1093
1094
|
|
|
1094
1095
|
var lt, ct, ht;
|
|
1095
1096
|
|
|
@@ -1119,28 +1120,28 @@ let ft = class CoreNotice extends RootUILayer {
|
|
|
1119
1120
|
}
|
|
1120
1121
|
};
|
|
1121
1122
|
|
|
1122
|
-
|
|
1123
|
+
_e([ dt({
|
|
1123
1124
|
type: b,
|
|
1124
1125
|
tooltip: "提示文本"
|
|
1125
1126
|
}), ye("design:type", typeof (lt = typeof b !== "undefined" && b) === "function" ? lt : Object) ], ft.prototype, "text", void 0);
|
|
1126
1127
|
|
|
1127
|
-
|
|
1128
|
+
_e([ dt({
|
|
1128
1129
|
type: S,
|
|
1129
1130
|
tooltip: "确定按钮"
|
|
1130
1131
|
}), ye("design:type", typeof (ct = typeof S !== "undefined" && S) === "function" ? ct : Object) ], ft.prototype, "btn_confirm", void 0);
|
|
1131
1132
|
|
|
1132
|
-
|
|
1133
|
+
_e([ dt({
|
|
1133
1134
|
type: S,
|
|
1134
1135
|
tooltip: "关闭按钮"
|
|
1135
1136
|
}), ye("design:type", typeof (ht = typeof S !== "undefined" && S) === "function" ? ht : Object) ], ft.prototype, "btn_close", void 0);
|
|
1136
1137
|
|
|
1137
|
-
ft =
|
|
1138
|
+
ft = _e([ ut("CoreNotice"), pt("CATCORE/CoreNotice") ], ft);
|
|
1138
1139
|
|
|
1139
1140
|
class SceneLayer extends BaseComponent {
|
|
1140
1141
|
isReload;
|
|
1141
1142
|
}
|
|
1142
1143
|
|
|
1143
|
-
var mt,
|
|
1144
|
+
var mt, gt, _t, yt, bt, vt, Ct, Et;
|
|
1144
1145
|
|
|
1145
1146
|
const {ccclass: St, property: wt, menu: At} = i;
|
|
1146
1147
|
|
|
@@ -1326,6 +1327,7 @@ let Ot = class Gui extends BaseComponent {
|
|
|
1326
1327
|
findSceneByUUIDFromBundle(e, t) {
|
|
1327
1328
|
return;
|
|
1328
1329
|
}
|
|
1330
|
+
_sceneChanging=false;
|
|
1329
1331
|
loadScene(e, t, i, n) {
|
|
1330
1332
|
a("[加载场景参数]", e, t, i, n);
|
|
1331
1333
|
let s;
|
|
@@ -1335,6 +1337,11 @@ let Ot = class Gui extends BaseComponent {
|
|
|
1335
1337
|
for (const e of h) {
|
|
1336
1338
|
if (typeof e === "boolean") l = e; else if (typeof e === "function") c = e; else if (e && typeof e === "object") s = e;
|
|
1337
1339
|
}
|
|
1340
|
+
if (this._sceneChanging) {
|
|
1341
|
+
O("scene is changing, ignore");
|
|
1342
|
+
return this;
|
|
1343
|
+
}
|
|
1344
|
+
this._sceneChanging = true;
|
|
1338
1345
|
r.once(A.EVENT_BEFORE_SCENE_LAUNCH, e => {
|
|
1339
1346
|
this.changeScene(e, s ?? {}, l);
|
|
1340
1347
|
});
|
|
@@ -1381,9 +1388,6 @@ let Ot = class Gui extends BaseComponent {
|
|
|
1381
1388
|
n?.setOptions(t);
|
|
1382
1389
|
}
|
|
1383
1390
|
createUILayer(e) {
|
|
1384
|
-
if (this.ui_container_component && u(this.ui_container_component.node) && this.ui_container_component.node.scene === e) {
|
|
1385
|
-
return;
|
|
1386
|
-
}
|
|
1387
1391
|
this.ui_container_component?.removeAndDestroy();
|
|
1388
1392
|
this.ui_container_component = null;
|
|
1389
1393
|
if (u(this.node)) {
|
|
@@ -1472,47 +1476,47 @@ let Ot = class Gui extends BaseComponent {
|
|
|
1472
1476
|
}
|
|
1473
1477
|
};
|
|
1474
1478
|
|
|
1475
|
-
|
|
1479
|
+
_e([ wt({
|
|
1476
1480
|
type: c,
|
|
1477
1481
|
tooltip: "断线重连UI预制体"
|
|
1478
1482
|
}), ye("design:type", typeof (mt = typeof c !== "undefined" && c) === "function" ? mt : Object) ], Ot.prototype, "reconnection_ui_prefab", void 0);
|
|
1479
1483
|
|
|
1480
|
-
|
|
1484
|
+
_e([ wt({
|
|
1481
1485
|
type: c,
|
|
1482
1486
|
tooltip: "提示UI预制体"
|
|
1483
|
-
}), ye("design:type", typeof (
|
|
1487
|
+
}), ye("design:type", typeof (gt = typeof c !== "undefined" && c) === "function" ? gt : Object) ], Ot.prototype, "toast_ui_prefab", void 0);
|
|
1484
1488
|
|
|
1485
|
-
|
|
1489
|
+
_e([ wt({
|
|
1486
1490
|
type: c,
|
|
1487
1491
|
tooltip: "加载UI预制体"
|
|
1488
|
-
}), ye("design:type", typeof (
|
|
1492
|
+
}), ye("design:type", typeof (_t = typeof c !== "undefined" && c) === "function" ? _t : Object) ], Ot.prototype, "loading_ui_prefab", void 0);
|
|
1489
1493
|
|
|
1490
|
-
|
|
1494
|
+
_e([ wt({
|
|
1491
1495
|
type: c,
|
|
1492
1496
|
tooltip: "公告UI预制体"
|
|
1493
1497
|
}), ye("design:type", typeof (yt = typeof c !== "undefined" && c) === "function" ? yt : Object) ], Ot.prototype, "notice_ui_prefab", void 0);
|
|
1494
1498
|
|
|
1495
|
-
|
|
1499
|
+
_e([ wt({
|
|
1496
1500
|
type: c,
|
|
1497
1501
|
tooltip: "UI层预制体"
|
|
1498
1502
|
}), ye("design:type", typeof (bt = typeof c !== "undefined" && c) === "function" ? bt : Object) ], Ot.prototype, "ui_prefab", void 0);
|
|
1499
1503
|
|
|
1500
|
-
|
|
1504
|
+
_e([ wt({
|
|
1501
1505
|
type: s,
|
|
1502
1506
|
tooltip: "root-UI层"
|
|
1503
1507
|
}), ye("design:type", typeof (vt = typeof s !== "undefined" && s) === "function" ? vt : Object) ], Ot.prototype, "root_ui", void 0);
|
|
1504
1508
|
|
|
1505
|
-
|
|
1509
|
+
_e([ wt({
|
|
1506
1510
|
type: s,
|
|
1507
1511
|
tooltip: "root-组件层"
|
|
1508
1512
|
}), ye("design:type", typeof (Ct = typeof s !== "undefined" && s) === "function" ? Ct : Object) ], Ot.prototype, "root_toast", void 0);
|
|
1509
1513
|
|
|
1510
|
-
|
|
1514
|
+
_e([ wt({
|
|
1511
1515
|
type: s,
|
|
1512
1516
|
tooltip: "root-mask"
|
|
1513
1517
|
}), ye("design:type", typeof (Et = typeof s !== "undefined" && s) === "function" ? Et : Object) ], Ot.prototype, "root_mask", void 0);
|
|
1514
1518
|
|
|
1515
|
-
Ot =
|
|
1519
|
+
Ot = _e([ St("Gui"), At("CATCORE/Gui") ], Ot);
|
|
1516
1520
|
|
|
1517
1521
|
var Tt;
|
|
1518
1522
|
|
|
@@ -2326,52 +2330,52 @@ let qt = class CoreUIModal extends UILayer {
|
|
|
2326
2330
|
}
|
|
2327
2331
|
};
|
|
2328
2332
|
|
|
2329
|
-
|
|
2333
|
+
_e([ Vt({
|
|
2330
2334
|
type: U,
|
|
2331
2335
|
tooltip: "默认标题"
|
|
2332
2336
|
}), ye("design:type", typeof (jt = typeof U !== "undefined" && U) === "function" ? jt : Object) ], qt.prototype, "default_title", void 0);
|
|
2333
2337
|
|
|
2334
|
-
|
|
2338
|
+
_e([ Vt({
|
|
2335
2339
|
type: N,
|
|
2336
2340
|
tooltip: "标题节点"
|
|
2337
2341
|
}), ye("design:type", typeof (Ft = typeof N !== "undefined" && N) === "function" ? Ft : Object) ], qt.prototype, "title", void 0);
|
|
2338
2342
|
|
|
2339
|
-
|
|
2343
|
+
_e([ Vt({
|
|
2340
2344
|
type: b,
|
|
2341
2345
|
tooltip: "字符串内容按钮"
|
|
2342
2346
|
}), ye("design:type", typeof (Lt = typeof b !== "undefined" && b) === "function" ? Lt : Object) ], qt.prototype, "prompt_content_str", void 0);
|
|
2343
2347
|
|
|
2344
|
-
|
|
2348
|
+
_e([ Vt({
|
|
2345
2349
|
type: N,
|
|
2346
2350
|
tooltip: "图片精灵内容按钮"
|
|
2347
2351
|
}), ye("design:type", typeof (Bt = typeof N !== "undefined" && N) === "function" ? Bt : Object) ], qt.prototype, "prompt_content_spriteFrame", void 0);
|
|
2348
2352
|
|
|
2349
|
-
|
|
2353
|
+
_e([ Vt({
|
|
2350
2354
|
type: S,
|
|
2351
2355
|
tooltip: "确认按钮"
|
|
2352
2356
|
}), ye("design:type", typeof (Pt = typeof S !== "undefined" && S) === "function" ? Pt : Object) ], qt.prototype, "btn_confirm", void 0);
|
|
2353
2357
|
|
|
2354
|
-
|
|
2358
|
+
_e([ Vt({
|
|
2355
2359
|
type: U,
|
|
2356
2360
|
tooltip: "确认按钮精灵图"
|
|
2357
2361
|
}), ye("design:type", typeof (Gt = typeof U !== "undefined" && U) === "function" ? Gt : Object) ], qt.prototype, "confirm_spriteFrame", void 0);
|
|
2358
2362
|
|
|
2359
|
-
|
|
2363
|
+
_e([ Vt({
|
|
2360
2364
|
type: S,
|
|
2361
2365
|
tooltip: "取消按钮"
|
|
2362
2366
|
}), ye("design:type", typeof (Ht = typeof S !== "undefined" && S) === "function" ? Ht : Object) ], qt.prototype, "btn_cancel", void 0);
|
|
2363
2367
|
|
|
2364
|
-
|
|
2368
|
+
_e([ Vt({
|
|
2365
2369
|
type: U,
|
|
2366
2370
|
tooltip: "取消按钮精灵图"
|
|
2367
2371
|
}), ye("design:type", typeof ($t = typeof U !== "undefined" && U) === "function" ? $t : Object) ], qt.prototype, "cancel_spriteFrame", void 0);
|
|
2368
2372
|
|
|
2369
|
-
|
|
2373
|
+
_e([ Vt({
|
|
2370
2374
|
type: S,
|
|
2371
2375
|
tooltip: "关闭按钮"
|
|
2372
2376
|
}), ye("design:type", typeof (Kt = typeof S !== "undefined" && S) === "function" ? Kt : Object) ], qt.prototype, "btn_close", void 0);
|
|
2373
2377
|
|
|
2374
|
-
qt =
|
|
2378
|
+
qt = _e([ Wt("CoreUIModal"), zt("CATCORE/CoreUIModal") ], qt);
|
|
2375
2379
|
|
|
2376
2380
|
var Qt;
|
|
2377
2381
|
|
|
@@ -2529,4 +2533,4 @@ y.onPostProjectInitDelegate.add(async () => {
|
|
|
2529
2533
|
}
|
|
2530
2534
|
});
|
|
2531
2535
|
|
|
2532
|
-
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 };
|