clickgo 6.8.2 → 6.9.0

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.
@@ -107,6 +107,12 @@ export declare abstract class AbstractApp {
107
107
  onTaskStarted(taskId: string): void | Promise<void>;
108
108
  /** --- 任务结束事件 --- */
109
109
  onTaskEnded(taskId: string): void | Promise<void>;
110
+ /**
111
+ * --- Launcher 显示状态改变事件 ---
112
+ * @param state 是否显示
113
+ * @returns 无返回值
114
+ */
115
+ onLauncherShowChanged(state: boolean): void | Promise<void>;
110
116
  /** --- launcher 文件夹名称修改事件 --- */
111
117
  onLauncherFolderNameChanged(id: string, name: string): void | Promise<void>;
112
118
  /** --- location hash 改变事件 --- */
@@ -238,7 +244,7 @@ export interface IAvailArea {
238
244
  'oheight': number;
239
245
  }
240
246
  /** --- 全局事件类型 --- */
241
- export type TGlobalEvent = 'trayCreated' | 'trayChanged' | 'trayRemoved' | 'error' | 'screenResize' | 'configChanged' | 'formCreated' | 'formRemoved' | 'formTitleChanged' | 'formIconChanged' | 'formStateMinChanged' | 'formStateMaxChanged' | 'formShowChanged' | 'formFocused' | 'formBlurred' | 'formFlash' | 'formShowInSystemTaskChange' | 'formHashChange' | 'taskStarted' | 'taskEnded' | 'launcherFolderNameChanged' | 'hashChanged' | 'keydown' | 'keyup';
247
+ export type TGlobalEvent = 'trayCreated' | 'trayChanged' | 'trayRemoved' | 'error' | 'screenResize' | 'configChanged' | 'formCreated' | 'formRemoved' | 'formTitleChanged' | 'formIconChanged' | 'formStateMinChanged' | 'formStateMaxChanged' | 'formShowChanged' | 'formFocused' | 'formBlurred' | 'formFlash' | 'formShowInSystemTaskChange' | 'formHashChange' | 'taskStarted' | 'taskEnded' | 'launcherShowChanged' | 'launcherFolderNameChanged' | 'hashChanged' | 'keydown' | 'keyup';
242
248
  /** --- 现场下载 app 的参数 --- */
243
249
  export interface ICoreFetchAppOptions {
244
250
  'notify'?: number | {
@@ -324,6 +324,12 @@ export declare abstract class AbstractForm extends AbstractCommon {
324
324
  onTaskStarted(taskId: string): void | Promise<void>;
325
325
  /** --- 任务结束事件 --- */
326
326
  onTaskEnded(taskId: string): void | Promise<void>;
327
+ /**
328
+ * --- Launcher 显示状态改变事件 ---
329
+ * @param state 是否显示
330
+ * @returns 无返回值
331
+ */
332
+ onLauncherShowChanged(state: boolean): void | Promise<void>;
327
333
  /** --- launcher 文件夹名称修改事件 --- */
328
334
  onLauncherFolderNameChanged(id: string, name: string): void | Promise<void>;
329
335
  /** --- location hash 改变事件 --- */
@@ -659,11 +665,18 @@ export declare function prompt(current: lCore.TCurrent, opt: string | IFormPromp
659
665
  */
660
666
  export declare function flash(current: lCore.TCurrent, formId: string): Promise<void>;
661
667
  /**
662
- * --- 显示 launcher 界面 ---
668
+ * --- 查询 Launcher 当前显示状态,供首次挂载时同步 ---
669
+ * @returns 是否显示
670
+ */
671
+ export declare function getLauncherShow(): boolean;
672
+ /**
673
+ * --- 显示 launcher 界面;状态变化时通知所有应用与窗体 ---
674
+ * @returns 无返回值
663
675
  */
664
676
  export declare function showLauncher(): void;
665
677
  /**
666
- * --- 隐藏 launcher 界面 ---
678
+ * --- 隐藏 launcher 界面;重复关闭不重复通知或安排清理 ---
679
+ * @returns 无返回值
667
680
  */
668
681
  export declare function hideLauncher(): void;
669
682
  export declare function init(): void;
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file