@shimotsuki/core 1.0.3 → 1.0.5
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 +13 -32
- package/dist/index.js +2571 -1
- package/package.json +46 -47
- package/tsconfig.json +0 -24
package/dist/index.d.ts
CHANGED
|
@@ -357,6 +357,18 @@ declare class CoreToast extends BaseComponent<ToastProps> {
|
|
|
357
357
|
onDestroy(): void;
|
|
358
358
|
}
|
|
359
359
|
|
|
360
|
+
/**
|
|
361
|
+
* @describe 根级别的UI层 所有的ROOT UI层需继承自该自组件
|
|
362
|
+
* @author 游金宇(KM)
|
|
363
|
+
* @date 2023-08-04 10:42:26
|
|
364
|
+
*/
|
|
365
|
+
|
|
366
|
+
declare class RootUILayer<T extends object> extends UILayer<T> {
|
|
367
|
+
protected onEnable(): void;
|
|
368
|
+
protected onDisable(): void;
|
|
369
|
+
private updateMask;
|
|
370
|
+
}
|
|
371
|
+
|
|
360
372
|
type CoreShowLoadingProps = {
|
|
361
373
|
/**标题 */
|
|
362
374
|
title?: string;
|
|
@@ -910,37 +922,6 @@ declare class CoreUIModal extends UILayer<CoreUIModalProps> {
|
|
|
910
922
|
private onCloseHandler;
|
|
911
923
|
}
|
|
912
924
|
|
|
913
|
-
/**带有音频通道的UIlayer组件 */
|
|
914
|
-
declare class AudioSourceUILayer<T extends object, U extends object = {}> extends UILayer<T, U> {
|
|
915
|
-
type: AudioTypeEnum;
|
|
916
|
-
clip: never;
|
|
917
|
-
loop: boolean;
|
|
918
|
-
volume: number;
|
|
919
|
-
playOnAwake: boolean;
|
|
920
|
-
audioSource: AudioSource;
|
|
921
|
-
onEnable(): void;
|
|
922
|
-
__preload(): void;
|
|
923
|
-
protected stopAudio(): void;
|
|
924
|
-
protected playAudio(): void;
|
|
925
|
-
protected onPlayEffectHandler(): void;
|
|
926
|
-
protected onStopEffectHandler(): void;
|
|
927
|
-
protected onPlayMusicHandler(): void;
|
|
928
|
-
protected onStopMusicHandler(): void;
|
|
929
|
-
_onPreDestroy(): void;
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
/**
|
|
933
|
-
* @describe 根级别的UI层 所有的ROOT UI层需继承自该自组件
|
|
934
|
-
* @author 游金宇(KM)
|
|
935
|
-
* @date 2023-08-04 10:42:26
|
|
936
|
-
*/
|
|
937
|
-
|
|
938
|
-
declare class RootUILayer<T extends object> extends UILayer<T> {
|
|
939
|
-
protected onEnable(): void;
|
|
940
|
-
protected onDisable(): void;
|
|
941
|
-
private updateMask;
|
|
942
|
-
}
|
|
943
|
-
|
|
944
925
|
declare class CoreBlackMask extends BaseComponent {
|
|
945
926
|
tween: Node;
|
|
946
927
|
black_mask: Node;
|
|
@@ -1037,4 +1018,4 @@ declare class Manager {
|
|
|
1037
1018
|
}
|
|
1038
1019
|
declare const cat: Manager;
|
|
1039
1020
|
|
|
1040
|
-
export { AudioEventConstant, AudioSourceBaseComponent,
|
|
1021
|
+
export { AudioEventConstant, AudioSourceBaseComponent, AudioTypeEnum, BaseComponent, BaseManager, BasePrefab, CoreBlackMask, CoreNotice, type CoreNoticeProps, CoreReconnection, CoreShowLoading, type CoreShowLoadingProps, CoreToast, CoreUIContainer, CoreUIModal, type CoreUIModalProps, CoreUtil, GlobalEventConstant, Gui, GuiManager, type HOOK, type ICloseOptions, type IDirection, type IOpenOptions, type IUIOption, LayerType, Manager, ReconnectPrompt, type SceneComponentType, type SceneDataType, SceneLayer, type ScenePropsType, type ToastProps, ToastType, type UIComponentType, UILayer, WrapperSocialGameClient, cat };
|