@shimotsuki/core 2.0.51 → 2.0.53
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 +9 -6
- package/dist/shimotsuki_core.js +1 -2960
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Node, Prefab, Vec3, Quat, math, Layers, AudioSource, Label, Button, Scene, Asset,
|
|
1
|
+
import { Component, Node, Prefab, Vec3, Quat, math, Layers, AudioSource, Label, Button, Scene, Asset, AssetManager, Constructor, AsyncDelegate, SpriteFrame, Sprite } from 'cc';
|
|
2
2
|
import { IReactionPublic, IReactionOptions } from '@shimotsuki/mobx';
|
|
3
3
|
import EventEmitter, { EventEmitter as EventEmitter$1 } from 'eventemitter3';
|
|
4
4
|
import * as crypto_es_lib_cipher_core from 'crypto-es/lib/cipher-core';
|
|
@@ -188,6 +188,7 @@ interface IUIOption<T extends object = {}, U extends object = {}> {
|
|
|
188
188
|
hook?: HOOK;
|
|
189
189
|
}
|
|
190
190
|
/**参数 */
|
|
191
|
+
/**initUI->onAutoObserver->onLoad->start */
|
|
191
192
|
declare class BaseComponent<T extends object = {}, K extends object = {}> extends Component {
|
|
192
193
|
/**组件(传值)属性 */
|
|
193
194
|
props: T;
|
|
@@ -438,6 +439,7 @@ type CoreReconnectionProps = {
|
|
|
438
439
|
declare class CoreReconnection extends RootUILayer<CoreReconnectionProps> {
|
|
439
440
|
common_prompt_text: Label;
|
|
440
441
|
btn_confirm: Button;
|
|
442
|
+
btn_close: Button;
|
|
441
443
|
protected is_close: boolean;
|
|
442
444
|
props: CoreReconnectionProps;
|
|
443
445
|
protected initUI(): void;
|
|
@@ -461,6 +463,7 @@ type CoreNoticeProps = {
|
|
|
461
463
|
declare class CoreNotice<T extends CoreNoticeProps = CoreNoticeProps> extends RootUILayer<T> {
|
|
462
464
|
text: Label;
|
|
463
465
|
btn_confirm: Button;
|
|
466
|
+
btn_close: Button;
|
|
464
467
|
protected onLoad(): void;
|
|
465
468
|
start(): void;
|
|
466
469
|
protected onConfrimHandler(): void;
|
|
@@ -746,13 +749,13 @@ declare const JsonFormatter: {
|
|
|
746
749
|
parse: (jsonStr: string) => crypto_es_lib_cipher_core.CipherParams;
|
|
747
750
|
};
|
|
748
751
|
|
|
749
|
-
declare const EncryptUtil_JsonFormatter: typeof JsonFormatter;
|
|
750
|
-
declare const EncryptUtil_aesDecrypt: typeof aesDecrypt;
|
|
751
|
-
declare const EncryptUtil_aesEncrypt: typeof aesEncrypt;
|
|
752
|
-
declare const EncryptUtil_initCrypto: typeof initCrypto;
|
|
753
752
|
declare const EncryptUtil_md5: typeof md5;
|
|
753
|
+
declare const EncryptUtil_initCrypto: typeof initCrypto;
|
|
754
|
+
declare const EncryptUtil_aesEncrypt: typeof aesEncrypt;
|
|
755
|
+
declare const EncryptUtil_aesDecrypt: typeof aesDecrypt;
|
|
756
|
+
declare const EncryptUtil_JsonFormatter: typeof JsonFormatter;
|
|
754
757
|
declare namespace EncryptUtil {
|
|
755
|
-
export {
|
|
758
|
+
export { EncryptUtil_md5 as md5, EncryptUtil_initCrypto as initCrypto, EncryptUtil_aesEncrypt as aesEncrypt, EncryptUtil_aesDecrypt as aesDecrypt, EncryptUtil_JsonFormatter as JsonFormatter };
|
|
756
759
|
}
|
|
757
760
|
|
|
758
761
|
/**
|