clickgo 6.8.1 → 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.
- package/AGENTS.md +1 -0
- package/dist/app/demo.cga +0 -0
- package/dist/app/task.cga +0 -0
- package/dist/clickgo.d.ts +6 -0
- package/dist/control/common.cgc +0 -0
- package/dist/control/form.cgc +0 -0
- package/dist/control/novnc.cgc +0 -0
- package/dist/control/task.cgc +0 -0
- package/dist/global.css +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/core.d.ts +7 -1
- package/dist/lib/form.d.ts +15 -2
- package/dist/theme/admin.cgt +0 -0
- package/dist/theme/classic.cgt +0 -0
- package/dist/theme/cyber.cgt +0 -0
- package/dist/theme/dark.cgt +0 -0
- package/dist/theme/light.cgt +0 -0
- package/dist/theme/modern-light.cgt +0 -0
- package/dist/theme/modern.cgt +0 -0
- package/dist/theme/software-dark.cgt +0 -0
- package/dist/theme/software-light.cgt +0 -0
- package/doc/clickgo-rag.md +471 -282
- package/package.json +5 -3
- package/test/form-launcher.mjs +75 -0
- package/test/form-notify-animation.mjs +102 -0
- package/test/rtl-archive.mjs +13 -1
- package/test/select.mjs +885 -0
- package/test/task-start.mjs +141 -0
package/dist/lib/core.d.ts
CHANGED
|
@@ -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 | {
|
package/dist/lib/form.d.ts
CHANGED
|
@@ -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
|
-
* ---
|
|
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;
|
package/dist/theme/admin.cgt
CHANGED
|
Binary file
|
|
Binary file
|
package/dist/theme/cyber.cgt
CHANGED
|
Binary file
|
package/dist/theme/dark.cgt
CHANGED
|
Binary file
|
package/dist/theme/light.cgt
CHANGED
|
Binary file
|
|
Binary file
|
package/dist/theme/modern.cgt
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|