@girs/gcrgtk3-4 5.2.0 → 5.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/README.md +1 -1
- package/gcrgtk3-4-vocabulary.d.ts +26 -1
- package/gcrgtk3-4-vocabulary.js +6 -4
- package/package.json +17 -17
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|

|
|
5
5
|

|
|
6
6
|
|
|
7
|
-
GJS TypeScript type definitions for GcrGtk3-4 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.
|
|
7
|
+
GJS TypeScript type definitions for GcrGtk3-4 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.3.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.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The GIR-derived widget VOCABULARY for GcrGtk3-4.
|
|
3
3
|
*
|
|
4
|
-
* GENERATED — do not edit. Provenance: GcrGtk3-4 — dropped empty base(s):
|
|
4
|
+
* GENERATED — do not edit. Provenance: GcrGtk3-4 — dropped empty base(s): Atk.ImplementorIface
|
|
5
5
|
*
|
|
6
6
|
* 2 instantiable GTypes (of which 1 concrete widgets), 2 declarations, 0 enum nick unions, 0 slot candidates.
|
|
7
7
|
*
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
import type Gcr from '@girs/gcr-4';
|
|
28
28
|
import type GcrGtk3 from './gcrgtk3-4.js';
|
|
29
|
+
import type { GInitiallyUnownedConstructOnly, GInitiallyUnownedProps, GObjectConstructOnly, GObjectProps } from '@girs/gobject-2.0/vocabulary';
|
|
29
30
|
import type { GtkBoxConstructOnly, GtkBoxProps, GtkBuildableConstructOnly, GtkBuildableProps, GtkContainerConstructOnly, GtkContainerProps, GtkEntryBufferConstructOnly, GtkEntryBufferProps, GtkOrientableConstructOnly, GtkOrientableProps, GtkWidgetConstructOnly, GtkWidgetProps } from '@girs/gtk-3.0/vocabulary';
|
|
30
31
|
|
|
31
32
|
// ---------------------------------------------------------------------------
|
|
@@ -151,6 +152,30 @@ export const PROVENANCE: {
|
|
|
151
152
|
* GIRs disagreeing, which is what the main emitter answers `never` for as well.
|
|
152
153
|
*/
|
|
153
154
|
readonly unresolvedProps: readonly string[];
|
|
155
|
+
/**
|
|
156
|
+
* `c:identifier-prefixes` from the GIR, verbatim and in order — `['G']` for Gio.
|
|
157
|
+
*
|
|
158
|
+
* The C prefix a type REFERENCE needs: resolving `Gio.Icon` means producing `GIcon`,
|
|
159
|
+
* and nothing else in this package states that `Gio` spells itself `G`. Carried rather
|
|
160
|
+
* than derived because GIR carries it, and a derivation over the `DECLS` keys is wrong
|
|
161
|
+
* wherever the C prefix is not a prefix of the type NAMES: gdkx11-4.0 and gdkwayland-4.0
|
|
162
|
+
* both state `Gdk` while every key they declare begins `GdkX11`/`GdkWayland`.
|
|
163
|
+
*
|
|
164
|
+
* Empty where the GIR states none — 17 of the 627 emitting namespaces — because
|
|
165
|
+
* inventing the namespace name there is a confident wrong answer in place of a missing
|
|
166
|
+
* one. A LIST because 20 of them state more than one, which no single string expresses.
|
|
167
|
+
*/
|
|
168
|
+
readonly identifierPrefixes: readonly string[];
|
|
169
|
+
/**
|
|
170
|
+
* Sibling vocabularies this one's DECLARATIONS come from, as import specifiers.
|
|
171
|
+
*
|
|
172
|
+
* A chain link with no `OWN_PROPS` row is ambiguous on its own — `GtkSeparator` has no
|
|
173
|
+
* settable property, `GApplication` has its properties in another package — and this
|
|
174
|
+
* list is what tells the two apart. Enum and bitfield NUMBERS are not here: those are
|
|
175
|
+
* carried in this file, because a `PROP_ENUMS` row naming a foreign GType gives a
|
|
176
|
+
* consumer nothing to load and a `.ui` file using the property never names its owner.
|
|
177
|
+
*/
|
|
178
|
+
readonly requiredVocabularies: readonly string[];
|
|
154
179
|
};
|
|
155
180
|
|
|
156
181
|
/** Declaration GType -> its own settable properties, as GObject registered them. */
|
package/gcrgtk3-4-vocabulary.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// The widget vocabulary of GcrGtk3-4 as runtime data.
|
|
2
2
|
//
|
|
3
|
-
// GENERATED — do not edit. Provenance: GcrGtk3-4 — dropped empty base(s):
|
|
3
|
+
// GENERATED — do not edit. Provenance: GcrGtk3-4 — dropped empty base(s): Atk.ImplementorIface
|
|
4
4
|
//
|
|
5
5
|
// The type half of this subpath is the sibling `.d.ts`. This file exists because
|
|
6
6
|
// types are erased: a consumer that wants to ask the installed library whether every
|
|
@@ -11,10 +11,12 @@ export const PROVENANCE = {
|
|
|
11
11
|
version: '4',
|
|
12
12
|
libraryVersion: null,
|
|
13
13
|
childHolders: 0,
|
|
14
|
-
droppedBases: ['
|
|
14
|
+
droppedBases: ['Atk.ImplementorIface'],
|
|
15
15
|
inlinedBases: [],
|
|
16
16
|
unsettableProps: [],
|
|
17
17
|
unresolvedProps: [],
|
|
18
|
+
identifierPrefixes: ['Gcr'],
|
|
19
|
+
requiredVocabularies: ['@girs/gobject-2.0/vocabulary', '@girs/gtk-3.0/vocabulary'],
|
|
18
20
|
};
|
|
19
21
|
|
|
20
22
|
export const OWN_PROPS = {
|
|
@@ -31,8 +33,8 @@ export const OWN_SIGNALS = {};
|
|
|
31
33
|
// `GtkEventController*` and `GtkCellRenderer*`. Use `Widgets` and `CHILD_HOLDERS`
|
|
32
34
|
// below for the narrower questions; they did not move.
|
|
33
35
|
export const DECLS = {
|
|
34
|
-
GcrCertificateWidget: ['GcrCertificateWidget', 'GtkBox', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkOrientable'],
|
|
35
|
-
GcrSecureEntryBuffer: ['GcrSecureEntryBuffer', 'GtkEntryBuffer'],
|
|
36
|
+
GcrCertificateWidget: ['GcrCertificateWidget', 'GtkBox', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable', 'GtkOrientable'],
|
|
37
|
+
GcrSecureEntryBuffer: ['GcrSecureEntryBuffer', 'GtkEntryBuffer', 'GObject'],
|
|
36
38
|
};
|
|
37
39
|
|
|
38
40
|
// The GTypes above that ARE widgets are the `Widgets` map in the sibling `.d.ts`; these
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gcrgtk3-4",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GcrGtk3-4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gcrgtk3-4.js",
|
|
@@ -36,22 +36,22 @@
|
|
|
36
36
|
"test": "tsc --project tsconfig.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@girs/gjs": "^5.
|
|
40
|
-
"@girs/gtk-3.0": "^5.
|
|
41
|
-
"@girs/xlib-2.0": "^5.
|
|
42
|
-
"@girs/gdk-3.0": "^5.
|
|
43
|
-
"@girs/cairo-1.0": "^5.
|
|
44
|
-
"@girs/gobject-2.0": "^5.
|
|
45
|
-
"@girs/glib-2.0": "^5.
|
|
46
|
-
"@girs/pango-1.0": "^5.
|
|
47
|
-
"@girs/harfbuzz-0.0": "^5.
|
|
48
|
-
"@girs/freetype2-2.0": "^5.
|
|
49
|
-
"@girs/gio-2.0": "^5.
|
|
50
|
-
"@girs/gmodule-2.0": "^5.
|
|
51
|
-
"@girs/gdkpixbuf-2.0": "^5.
|
|
52
|
-
"@girs/atk-1.0": "^5.
|
|
53
|
-
"@girs/gcr-4": "^5.
|
|
54
|
-
"@girs/gck-2": "^5.
|
|
39
|
+
"@girs/gjs": "^5.3.0",
|
|
40
|
+
"@girs/gtk-3.0": "^5.3.0",
|
|
41
|
+
"@girs/xlib-2.0": "^5.3.0",
|
|
42
|
+
"@girs/gdk-3.0": "^5.3.0",
|
|
43
|
+
"@girs/cairo-1.0": "^5.3.0",
|
|
44
|
+
"@girs/gobject-2.0": "^5.3.0",
|
|
45
|
+
"@girs/glib-2.0": "^5.3.0",
|
|
46
|
+
"@girs/pango-1.0": "^5.3.0",
|
|
47
|
+
"@girs/harfbuzz-0.0": "^5.3.0",
|
|
48
|
+
"@girs/freetype2-2.0": "^5.3.0",
|
|
49
|
+
"@girs/gio-2.0": "^5.3.0",
|
|
50
|
+
"@girs/gmodule-2.0": "^5.3.0",
|
|
51
|
+
"@girs/gdkpixbuf-2.0": "^5.3.0",
|
|
52
|
+
"@girs/atk-1.0": "^5.3.0",
|
|
53
|
+
"@girs/gcr-4": "^5.3.0",
|
|
54
|
+
"@girs/gck-2": "^5.3.0" },
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"typescript": "*"
|
|
57
57
|
},
|