clickgo 6.1.4 → 6.2.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.
@@ -27,7 +27,7 @@ export declare function initSysId(id: string): void;
27
27
  * @param formId 窗体 ID,不传时清理整个任务
28
28
  */
29
29
  export declare function clearComponents(taskId: string, formId?: string): void;
30
- /** --- 窗体的抽象类 --- */
30
+ /** --- 控件的抽象类 --- */
31
31
  export declare abstract class AbstractControl {
32
32
  /** --- 当前文件在包内的路径 --- */
33
33
  get filename(): string;
@@ -384,6 +384,22 @@ export interface ICaptchaResultEvent {
384
384
  'token': string;
385
385
  };
386
386
  }
387
+ /** --- Panzoom 视图状态,偏移单位为视口 CSS 像素 --- */
388
+ export interface IPanzoomView {
389
+ 'zoom': number;
390
+ 'x': number;
391
+ 'y': number;
392
+ }
393
+ /** --- Panzoom 内容坐标,单位为缩放前的内容像素 --- */
394
+ export interface IPanzoomPoint {
395
+ 'x': number;
396
+ 'y': number;
397
+ 'inside': boolean;
398
+ }
399
+ /** --- 编辑事件;editcancel 时 event 可能因主动销毁而不存在 --- */
400
+ export interface IPanzoomEditEvent extends IPanzoomPoint {
401
+ 'event': Event | undefined;
402
+ }
387
403
  export interface IPdfViewEvent {
388
404
  'detail': {
389
405
  /** --- 宽度 point --- */
@@ -154,6 +154,7 @@ export declare function regModule(current: TCurrent, name: string, opt: {
154
154
  * @param name 模块名
155
155
  */
156
156
  export declare function checkModule(name: string): boolean;
157
+ export declare function getModule(name: 'monaco-editor'): Promise<IMonacoLoader | null>;
157
158
  export declare function getModule(name: 'tums-player'): Promise<ITumsPlayer | null>;
158
159
  export declare function getModule(name: 'mpegts'): Promise<typeof mpegts.default | null>;
159
160
  export declare function getModule(name: 'fabric'): Promise<typeof fabric | null>;
@@ -360,3 +361,10 @@ export interface ITumsPlayer {
360
361
  /** --- 停止对讲 --- */
361
362
  'stopTalk': () => void;
362
363
  }
364
+ /** --- Monaco 模块的加载资源,编辑器实例由控件在独立 iframe 内创建 --- */
365
+ export interface IMonacoLoader {
366
+ /** --- AMD loader 的 data URL --- */
367
+ 'loader': string;
368
+ /** --- 编辑器和 Worker 的资源根路径,以 / 结尾 --- */
369
+ 'baseUrl': string;
370
+ }
@@ -517,6 +517,8 @@ export declare function showPop(el: HTMLElement | lCore.IVue, pop: HTMLElement |
517
517
  'autoPosition'?: boolean;
518
518
  'autoScroll'?: boolean;
519
519
  'flow'?: boolean;
520
+ /** --- 滚动内容默认 auto;带外部箭头的提示框使用 visible --- */
521
+ 'overflow'?: 'auto' | 'visible';
520
522
  /** --- 展示托管方式 --- */
521
523
  'way'?: 'normal' | 'click' | 'hover';
522
524
  }): void;