mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-09-12 16:40:40 +08:00
067f3ed98a
1. 新增mp-html、qs等生产依赖,补全项目基础库 2. 新增平台判断、缓存、工具函数等通用工具集 3. 新增标签页、网站浏览页、关于页等业务页面 4. 新增分类卡片、通知弹窗等业务组件 5. 新增uts-progressNotification、liu-poster、uhalo-upgrade等uni模块 6. 补充audio/video组件样式补件,修复uni-components路径缺失问题 7. 新增环境变量Halo个人令牌配置项 8. 重构store导出结构,新增appConfig/halo/setting三个状态模块 9. 新增tsconfig编译目标配置,适配更高版本ES语法
47 lines
807 B
Plaintext
47 lines
807 B
Plaintext
export type CreateNotificationProgressOptions = {
|
|
/**
|
|
* 通知标题
|
|
* @defaultValue 应用名称
|
|
*/
|
|
title ?: string | null
|
|
/**
|
|
* 通知内容
|
|
*/
|
|
content : string,
|
|
/**
|
|
* 进度
|
|
*/
|
|
progress : number,
|
|
/**
|
|
* 点击通知消息回调
|
|
* @defaultValue null
|
|
*/
|
|
onClick? : (() => void) | null
|
|
}
|
|
|
|
|
|
export type FinishNotificationProgressOptions = {
|
|
/**
|
|
* 通知标题
|
|
* @defaultValue 应用名称
|
|
*/
|
|
title ?: string | null
|
|
/**
|
|
* 通知内容
|
|
*/
|
|
content : string,
|
|
/**
|
|
* 点击通知消息回调
|
|
*/
|
|
onClick : () => void
|
|
}
|
|
|
|
|
|
export type CreateNotificationProgress = (options : CreateNotificationProgressOptions) => void;
|
|
|
|
|
|
export type CancelNotificationProgress = () => void;
|
|
|
|
|
|
export type FinishNotificationProgress = (options: FinishNotificationProgressOptions) => void
|