@whitesev/pops 2.3.0 → 2.3.1

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.
@@ -34,17 +34,16 @@ declare class Pops {
34
34
  };
35
35
  /** icon图标的svg代码 */
36
36
  iconSVG: {
37
- picture: string;
38
- search: string;
37
+ loading: string;
39
38
  min: string;
40
- mise: string;
41
39
  max: string;
40
+ mise: string;
42
41
  close: string;
43
42
  edit: string;
44
43
  share: string;
45
44
  delete: string;
45
+ search: string;
46
46
  upload: string;
47
- loading: string;
48
47
  next: string;
49
48
  prev: string;
50
49
  eleme: string;
@@ -56,6 +55,7 @@ declare class Pops {
56
55
  headset: string;
57
56
  monitor: string;
58
57
  documentCopy: string;
58
+ picture: string;
59
59
  circleClose: string;
60
60
  view: string;
61
61
  hide: string;
@@ -71,12 +71,12 @@ declare class Pops {
71
71
  instData: {
72
72
  iframe: import("./types/inst").PopsInstCommonConfig[];
73
73
  loading: import("./types/inst").PopsInstCommonConfig[];
74
+ folder: import("./types/inst").PopsInstCommonConfig[];
74
75
  alert: import("./types/inst").PopsInstCommonConfig[];
75
76
  confirm: import("./types/inst").PopsInstCommonConfig[];
76
77
  prompt: import("./types/inst").PopsInstCommonConfig[];
77
78
  tooltip: import("./types/inst").PopsInstCommonConfig[];
78
79
  drawer: import("./types/inst").PopsInstCommonConfig[];
79
- folder: import("./types/inst").PopsInstCommonConfig[];
80
80
  panel: import("./types/inst").PopsInstCommonConfig[];
81
81
  rightClickMenu: import("./types/inst").PopsInstCommonConfig[];
82
82
  };
@@ -379,7 +379,7 @@ declare class Pops {
379
379
  beforeAppendToPageCallBack: ($shadowRoot: ShadowRoot | HTMLElement, $shadowContainer: HTMLDivElement) => void;
380
380
  };
381
381
  $shadowContainer: HTMLDivElement;
382
- $shadowRoot: ShadowRoot | HTMLDivElement;
382
+ $shadowRoot: HTMLDivElement | ShadowRoot;
383
383
  toolTip: import("./components/tooltip").ToolTip;
384
384
  };
385
385
  /**
@@ -402,6 +402,7 @@ declare class Pops {
402
402
  close: () => Promise<void>;
403
403
  hide: () => Promise<void>;
404
404
  show: () => Promise<void>;
405
+ guid: string;
405
406
  $shadowContainer: HTMLDivElement;
406
407
  $shadowRoot: ShadowRoot | HTMLElement;
407
408
  element: HTMLDivElement;
@@ -409,7 +410,6 @@ declare class Pops {
409
410
  popsElement: HTMLDivElement;
410
411
  maskElement?: HTMLDivElement | undefined;
411
412
  mode: import("./types/main").PopsType;
412
- guid: string;
413
413
  };
414
414
  /**
415
415
  * 右键菜单
@@ -7,6 +7,7 @@ export declare const PopsPanel: {
7
7
  close: () => Promise<void>;
8
8
  hide: () => Promise<void>;
9
9
  show: () => Promise<void>;
10
+ guid: string;
10
11
  $shadowContainer: HTMLDivElement;
11
12
  $shadowRoot: ShadowRoot | HTMLElement;
12
13
  element: HTMLDivElement;
@@ -14,6 +15,5 @@ export declare const PopsPanel: {
14
15
  popsElement: HTMLDivElement;
15
16
  maskElement?: HTMLDivElement | undefined;
16
17
  mode: PopsType;
17
- guid: string;
18
18
  };
19
19
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whitesev/pops",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "弹窗库",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/WhiteSevs/TamperMonkeyScript/tree/master/lib/pops#readme",