@acrodata/gui 3.2.2 → 3.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acrodata/gui",
3
- "version": "3.2.2",
3
+ "version": "3.3.0",
4
4
  "description": "JSON powered GUI for configurable panels.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -23,7 +23,7 @@
23
23
  "exports": {
24
24
  ".": {
25
25
  "sass": "./_index.scss",
26
- "types": "./index.d.ts",
26
+ "types": "./types/acrodata-gui.d.ts",
27
27
  "default": "./fesm2022/acrodata-gui.mjs"
28
28
  },
29
29
  "./package.json": {
@@ -41,10 +41,11 @@
41
41
  "dependencies": {
42
42
  "@acrodata/code-editor": "^0.6.0",
43
43
  "@acrodata/gradient-picker": "^0.14.0",
44
- "@acrodata/rnd-dialog": "^0.6.0",
44
+ "@acrodata/rnd-dialog": "^0.7.0",
45
45
  "tslib": "^2.3.0"
46
46
  },
47
47
  "sideEffects": false,
48
48
  "module": "fesm2022/acrodata-gui.mjs",
49
- "typings": "index.d.ts"
49
+ "typings": "types/acrodata-gui.d.ts",
50
+ "type": "module"
50
51
  }
@@ -476,6 +476,10 @@ declare class GuiFileUploader implements ControlValueAccessor, OnChanges {
476
476
  fileChange: EventEmitter<string>;
477
477
  url: string;
478
478
  fileUpload: FileUploadContent;
479
+ lastPasteFileMeta: {
480
+ size: number;
481
+ type: string;
482
+ };
479
483
  private onChange;
480
484
  private onTouched;
481
485
  constructor();
@@ -489,6 +493,7 @@ declare class GuiFileUploader implements ControlValueAccessor, OnChanges {
489
493
  onFileChange(e: Event): void;
490
494
  onBlur(): void;
491
495
  onClear(): void;
496
+ onPaste(e: ClipboardEvent): void;
492
497
  static ɵfac: i0.ɵɵFactoryDeclaration<GuiFileUploader, never>;
493
498
  static ɵcmp: i0.ɵɵComponentDeclaration<GuiFileUploader, "gui-file-uploader", never, { "config": { "alias": "config"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; }, { "fileChange": "fileChange"; }, never, never, true, never>;
494
499
  }