@girs/gcrui-3 4.5.0 → 4.7.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/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  ![version](https://img.shields.io/npm/v/@girs/gcrui-3)
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gcrui-3)
6
6
 
7
- GJS TypeScript type definitions for GcrUi-3 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.5.0.
7
+ GJS TypeScript type definitions for GcrUi-3 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.7.0.
8
8
 
9
9
  This package contains type declarations only. It ships no runtime code, so it adds
10
10
  nothing to your program and works with any bundler or none at all.
@@ -29,6 +29,7 @@ export const OWN_PROPS = {
29
29
 
30
30
  export const OWN_SIGNALS = {
31
31
  GcrImportButton: ['imported', 'importing'],
32
+ GcrPrompt: ['prompt-close'],
32
33
  GcrViewerWidget: ['added'],
33
34
  };
34
35
 
package/gcrui-3.d.ts CHANGED
@@ -92,7 +92,7 @@ export namespace GcrUi {
92
92
 
93
93
  namespace CertificateRenderer {
94
94
  // Signal signatures
95
- interface SignalSignatures extends GObject.Object.SignalSignatures {
95
+ interface SignalSignatures extends GObject.Object.SignalSignatures, Renderer.SignalSignatures {
96
96
  "notify::attributes": (pspec: GObject.ParamSpec) => void;
97
97
  "notify::certificate": (pspec: GObject.ParamSpec) => void;
98
98
  "notify::label": (pspec: GObject.ParamSpec) => void;
@@ -649,7 +649,7 @@ export namespace GcrUi {
649
649
 
650
650
  namespace CollectionModel {
651
651
  // Signal signatures
652
- interface SignalSignatures extends GObject.Object.SignalSignatures {
652
+ interface SignalSignatures extends GObject.Object.SignalSignatures, Gtk.TreeModel.SignalSignatures, Gtk.TreeSortable.SignalSignatures {
653
653
  "notify::collection": (pspec: GObject.ParamSpec) => void;
654
654
  "notify::columns": (pspec: GObject.ParamSpec) => void;
655
655
  }
@@ -1388,7 +1388,7 @@ export namespace GcrUi {
1388
1388
 
1389
1389
  namespace ComboSelector {
1390
1390
  // Signal signatures
1391
- interface SignalSignatures extends Gtk.ComboBox.SignalSignatures {
1391
+ interface SignalSignatures extends Gtk.ComboBox.SignalSignatures, Gtk.CellEditable.SignalSignatures {
1392
1392
  "notify::collection": (pspec: GObject.ParamSpec) => void;
1393
1393
  "notify::active": (pspec: GObject.ParamSpec) => void;
1394
1394
  "notify::active-id": (pspec: GObject.ParamSpec) => void;
@@ -1830,7 +1830,7 @@ export namespace GcrUi {
1830
1830
 
1831
1831
  namespace FailureRenderer {
1832
1832
  // Signal signatures
1833
- interface SignalSignatures extends GObject.Object.SignalSignatures {
1833
+ interface SignalSignatures extends GObject.Object.SignalSignatures, Renderer.SignalSignatures {
1834
1834
  "notify::attributes": (pspec: GObject.ParamSpec) => void;
1835
1835
  "notify::label": (pspec: GObject.ParamSpec) => void;
1836
1836
  }
@@ -2455,7 +2455,7 @@ export namespace GcrUi {
2455
2455
 
2456
2456
  namespace KeyRenderer {
2457
2457
  // Signal signatures
2458
- interface SignalSignatures extends GObject.Object.SignalSignatures {
2458
+ interface SignalSignatures extends GObject.Object.SignalSignatures, Renderer.SignalSignatures {
2459
2459
  "notify::object": (pspec: GObject.ParamSpec) => void;
2460
2460
  "notify::attributes": (pspec: GObject.ParamSpec) => void;
2461
2461
  "notify::label": (pspec: GObject.ParamSpec) => void;
@@ -2985,7 +2985,7 @@ export namespace GcrUi {
2985
2985
 
2986
2986
  namespace PromptDialog {
2987
2987
  // Signal signatures
2988
- interface SignalSignatures extends Gtk.Dialog.SignalSignatures {
2988
+ interface SignalSignatures extends Gtk.Dialog.SignalSignatures, Gcr.Prompt.SignalSignatures {
2989
2989
  "notify::choice-visible": (pspec: GObject.ParamSpec) => void;
2990
2990
  "notify::confirm-visible": (pspec: GObject.ParamSpec) => void;
2991
2991
  "notify::password-visible": (pspec: GObject.ParamSpec) => void;
@@ -4785,6 +4785,16 @@ export namespace GcrUi {
4785
4785
  type ViewerWidgetClass = typeof ViewerWidget;
4786
4786
 
4787
4787
  namespace Renderer {
4788
+ // Signal signatures
4789
+ interface SignalSignatures {
4790
+ /**
4791
+ * A signal that is emitted by the renderer when it's data
4792
+ * changed and should be rerendered.
4793
+ * @signal
4794
+ * @run-last
4795
+ */
4796
+ "data-changed": () => void;
4797
+ }
4788
4798
  /**
4789
4799
  * Interface for implementing Renderer.
4790
4800
  * Contains only the virtual methods that need to be implemented.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gcrui-3",
3
- "version": "4.5.0",
3
+ "version": "4.7.0",
4
4
  "description": "GJS TypeScript type definitions for GcrUi-3",
5
5
  "type": "module",
6
6
  "module": "gcrui-3.js",
@@ -36,22 +36,22 @@
36
36
  "test": "tsc --project tsconfig.json"
37
37
  },
38
38
  "dependencies": {
39
- "@girs/gjs": "^4.5.0",
40
- "@girs/gtk-3.0": "^4.5.0",
41
- "@girs/xlib-2.0": "^4.5.0",
42
- "@girs/gdk-3.0": "^4.5.0",
43
- "@girs/cairo-1.0": "^4.5.0",
44
- "@girs/gobject-2.0": "^4.5.0",
45
- "@girs/glib-2.0": "^4.5.0",
46
- "@girs/pango-1.0": "^4.5.0",
47
- "@girs/harfbuzz-0.0": "^4.5.0",
48
- "@girs/freetype2-2.0": "^4.5.0",
49
- "@girs/gio-2.0": "^4.5.0",
50
- "@girs/gmodule-2.0": "^4.5.0",
51
- "@girs/gdkpixbuf-2.0": "^4.5.0",
52
- "@girs/atk-1.0": "^4.5.0",
53
- "@girs/gcr-3": "^4.5.0",
54
- "@girs/gck-1": "^4.5.0" },
39
+ "@girs/gjs": "^4.7.0",
40
+ "@girs/gtk-3.0": "^4.7.0",
41
+ "@girs/xlib-2.0": "^4.7.0",
42
+ "@girs/gdk-3.0": "^4.7.0",
43
+ "@girs/cairo-1.0": "^4.7.0",
44
+ "@girs/gobject-2.0": "^4.7.0",
45
+ "@girs/glib-2.0": "^4.7.0",
46
+ "@girs/pango-1.0": "^4.7.0",
47
+ "@girs/harfbuzz-0.0": "^4.7.0",
48
+ "@girs/freetype2-2.0": "^4.7.0",
49
+ "@girs/gio-2.0": "^4.7.0",
50
+ "@girs/gmodule-2.0": "^4.7.0",
51
+ "@girs/gdkpixbuf-2.0": "^4.7.0",
52
+ "@girs/atk-1.0": "^4.7.0",
53
+ "@girs/gcr-3": "^4.7.0",
54
+ "@girs/gck-1": "^4.7.0" },
55
55
  "devDependencies": {
56
56
  "typescript": "*"
57
57
  },