clickgo 5.18.7 → 5.19.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.
@@ -21,6 +21,12 @@ import * as lForm from './form';
21
21
  * @param id 系统级 ID
22
22
  */
23
23
  export declare function initSysId(id: string): void;
24
+ /**
25
+ * --- 清理控件组件定义缓存 ---
26
+ * @param taskId 任务 ID
27
+ * @param formId 窗体 ID,不传时清理整个任务
28
+ */
29
+ export declare function clearComponents(taskId: string, formId?: string): void;
24
30
  /** --- 窗体的抽象类 --- */
25
31
  export declare abstract class AbstractControl {
26
32
  /** --- 当前文件在包内的路径 --- */
@@ -616,6 +622,7 @@ export interface ISelectTagclickEvent {
616
622
  export interface ISelectRemoteEvent {
617
623
  'detail': {
618
624
  'value': string;
625
+ /** --- 返回远程结果的一次性回调;过期搜索结果不会覆盖当前结果 --- */
619
626
  'callback': (data?: any[] | Record<string, string>) => Promise<void>;
620
627
  };
621
628
  }
@@ -274,6 +274,8 @@ export interface ICreateTimerOptions {
274
274
  }
275
275
  /** --- Task 的简略情况,通常在 list 当中 --- */
276
276
  export interface ITaskInfo {
277
+ /** --- 任务 ID --- */
278
+ 'id': string;
277
279
  'name': string;
278
280
  'locale': string;
279
281
  'customTheme': boolean;
@@ -348,6 +348,7 @@ export declare function blob2Text(blob: Blob): Promise<string>;
348
348
  /**
349
349
  * --- 将 blob 对象转换为 base64 url ---
350
350
  * @param blob 对象
351
+ * @returns base64 URL
351
352
  */
352
353
  export declare function blob2DataUrl(blob: Blob): Promise<string>;
353
354
  export declare function execCommand(ac: string): void;
Binary file