clickgo 4.1.4 → 4.1.6

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.
@@ -392,6 +392,11 @@ export interface IPdfViewEvent {
392
392
  'pxheight': number;
393
393
  };
394
394
  }
395
+ export interface IUploaderRemoveEvent extends ICustomEvent {
396
+ 'detail': {
397
+ 'index': number;
398
+ };
399
+ }
395
400
  export interface IIconviewItemclickedEvent {
396
401
  'detail': {
397
402
  'event': MouseEvent | TouchEvent;
package/dist/lib/dom.d.ts CHANGED
@@ -33,6 +33,11 @@ export declare const dpi: number;
33
33
  * @param type 样式或留空,留空代表取消
34
34
  */
35
35
  export declare function setGlobalCursor(type?: string): void;
36
+ /**
37
+ * ---启用/禁用全局 transition ---
38
+ * @param disabled 是否禁用
39
+ */
40
+ export declare function setGlobalTransition(disabled: boolean): void;
36
41
  /**
37
42
  * --- 判断当前的事件是否是含有 touch 的设备触发的,如果当前就是 touch 则直接返回 false(false 代表 OK,true 代表 touch 设备却触发了 mouse 事件) ---
38
43
  */
@@ -260,9 +265,14 @@ export declare let is: {
260
265
  'shift': boolean;
261
266
  'ctrl': boolean;
262
267
  'meta': boolean;
268
+ /** --- 当前是否是全屏 --- */
263
269
  'full': boolean;
270
+ /** --- 是否是黑暗模式 --- */
264
271
  'dark': boolean;
272
+ /** --- 虚拟键盘是否正在显示 --- */
265
273
  'keyboard': boolean;
274
+ /** --- 动画开启状态 --- */
275
+ 'transition': boolean;
266
276
  };
267
277
  /**
268
278
  * --- 绑定拖动事件 ---
@@ -31,7 +31,7 @@ export declare function compressor<T extends File | Blob>(file: T, options?: {
31
31
  'maxHeight'?: number;
32
32
  /** --- 压缩质量,默认 0.8 --- */
33
33
  'quality'?: number;
34
- }): Promise<File | Blob | false>;
34
+ }): Promise<T | false>;
35
35
  interface IClassPrototype {
36
36
  'method': Record<string, any>;
37
37
  'access': Record<string, {
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clickgo",
3
- "version": "4.1.4",
3
+ "version": "4.1.6",
4
4
  "description": "Background interface, software interface, mobile phone APP interface operation library.",
5
5
  "type": "module",
6
6
  "keywords": [