@girs/xreaderview-1.5 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/package.json +16 -16
- package/xreaderview-1.5-vocabulary.d.ts +30 -5
- package/xreaderview-1.5-vocabulary.js +20 -18
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|

|
|
5
5
|

|
|
6
6
|
|
|
7
|
-
GJS TypeScript type definitions for XreaderView-1.5 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.
|
|
7
|
+
GJS TypeScript type definitions for XreaderView-1.5 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.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/xreaderview-1.5",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for XreaderView-1.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "xreaderview-1.5.js",
|
|
@@ -36,21 +36,21 @@
|
|
|
36
36
|
"test": "tsc --project tsconfig.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@girs/gjs": "^5.
|
|
40
|
-
"@girs/xreaderdocument-1.5": "^5.
|
|
41
|
-
"@girs/gtk-3.0": "^5.
|
|
42
|
-
"@girs/xlib-2.0": "^5.
|
|
43
|
-
"@girs/gdk-3.0": "^5.
|
|
44
|
-
"@girs/cairo-1.0": "^5.
|
|
45
|
-
"@girs/gobject-2.0": "^5.
|
|
46
|
-
"@girs/glib-2.0": "^5.
|
|
47
|
-
"@girs/pango-1.0": "^5.
|
|
48
|
-
"@girs/harfbuzz-0.0": "^5.
|
|
49
|
-
"@girs/freetype2-2.0": "^5.
|
|
50
|
-
"@girs/gio-2.0": "^5.
|
|
51
|
-
"@girs/gmodule-2.0": "^5.
|
|
52
|
-
"@girs/gdkpixbuf-2.0": "^5.
|
|
53
|
-
"@girs/atk-1.0": "^5.
|
|
39
|
+
"@girs/gjs": "^5.3.0",
|
|
40
|
+
"@girs/xreaderdocument-1.5": "^5.3.0",
|
|
41
|
+
"@girs/gtk-3.0": "^5.3.0",
|
|
42
|
+
"@girs/xlib-2.0": "^5.3.0",
|
|
43
|
+
"@girs/gdk-3.0": "^5.3.0",
|
|
44
|
+
"@girs/cairo-1.0": "^5.3.0",
|
|
45
|
+
"@girs/gobject-2.0": "^5.3.0",
|
|
46
|
+
"@girs/glib-2.0": "^5.3.0",
|
|
47
|
+
"@girs/pango-1.0": "^5.3.0",
|
|
48
|
+
"@girs/harfbuzz-0.0": "^5.3.0",
|
|
49
|
+
"@girs/freetype2-2.0": "^5.3.0",
|
|
50
|
+
"@girs/gio-2.0": "^5.3.0",
|
|
51
|
+
"@girs/gmodule-2.0": "^5.3.0",
|
|
52
|
+
"@girs/gdkpixbuf-2.0": "^5.3.0",
|
|
53
|
+
"@girs/atk-1.0": "^5.3.0" },
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"typescript": "*"
|
|
56
56
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The GIR-derived widget VOCABULARY for XreaderView-1.5.
|
|
3
3
|
*
|
|
4
|
-
* GENERATED — do not edit. Provenance: XreaderView-1.5 — dropped empty base(s):
|
|
4
|
+
* GENERATED — do not edit. Provenance: XreaderView-1.5 — dropped empty base(s): Atk.ImplementorIface
|
|
5
5
|
*
|
|
6
6
|
* 16 instantiable GTypes (of which 2 concrete widgets), 17 declarations, 4 enum nick unions, 0 slot candidates.
|
|
7
7
|
*
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
import type XreaderDocument from '@girs/xreaderdocument-1.5';
|
|
28
28
|
import type XreaderView from './xreaderview-1.5.js';
|
|
29
|
+
import type { GInitiallyUnownedConstructOnly, GInitiallyUnownedProps, GObjectConstructOnly, GObjectProps } from '@girs/gobject-2.0/vocabulary';
|
|
29
30
|
import type { GtkBuildableConstructOnly, GtkBuildableProps, GtkContainerConstructOnly, GtkContainerProps, GtkScrollableConstructOnly, GtkScrollableProps, GtkWidgetConstructOnly, GtkWidgetProps } from '@girs/gtk-3.0/vocabulary';
|
|
30
31
|
|
|
31
32
|
// ---------------------------------------------------------------------------
|
|
@@ -53,7 +54,7 @@ export type EvViewSelectionModeNick = 'text' | 'rectangle';
|
|
|
53
54
|
// GIR keeps them once, on the interface.
|
|
54
55
|
// ---------------------------------------------------------------------------
|
|
55
56
|
|
|
56
|
-
export interface EvDocumentModelProps {
|
|
57
|
+
export interface EvDocumentModelProps extends GObjectProps {
|
|
57
58
|
/** @default TRUE */
|
|
58
59
|
continuous?: boolean;
|
|
59
60
|
document?: XreaderDocument.Document;
|
|
@@ -77,12 +78,12 @@ export interface EvDocumentModelProps {
|
|
|
77
78
|
'sizing-mode'?: EvSizingModeNick | XreaderView.SizingMode;
|
|
78
79
|
}
|
|
79
80
|
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
80
|
-
export type EvDocumentModelConstructOnly =
|
|
81
|
+
export type EvDocumentModelConstructOnly = GObjectConstructOnly;
|
|
81
82
|
|
|
82
|
-
export interface EvJobProps {
|
|
83
|
+
export interface EvJobProps extends GObjectProps {
|
|
83
84
|
}
|
|
84
85
|
/** Settable only at construction — a renderer must REBUILD, not patch. */
|
|
85
|
-
export type EvJobConstructOnly =
|
|
86
|
+
export type EvJobConstructOnly = GObjectConstructOnly;
|
|
86
87
|
|
|
87
88
|
export interface EvJobAnnotsProps extends EvJobProps {
|
|
88
89
|
}
|
|
@@ -262,6 +263,30 @@ export const PROVENANCE: {
|
|
|
262
263
|
* GIRs disagreeing, which is what the main emitter answers `never` for as well.
|
|
263
264
|
*/
|
|
264
265
|
readonly unresolvedProps: readonly string[];
|
|
266
|
+
/**
|
|
267
|
+
* `c:identifier-prefixes` from the GIR, verbatim and in order — `['G']` for Gio.
|
|
268
|
+
*
|
|
269
|
+
* The C prefix a type REFERENCE needs: resolving `Gio.Icon` means producing `GIcon`,
|
|
270
|
+
* and nothing else in this package states that `Gio` spells itself `G`. Carried rather
|
|
271
|
+
* than derived because GIR carries it, and a derivation over the `DECLS` keys is wrong
|
|
272
|
+
* wherever the C prefix is not a prefix of the type NAMES: gdkx11-4.0 and gdkwayland-4.0
|
|
273
|
+
* both state `Gdk` while every key they declare begins `GdkX11`/`GdkWayland`.
|
|
274
|
+
*
|
|
275
|
+
* Empty where the GIR states none — 17 of the 627 emitting namespaces — because
|
|
276
|
+
* inventing the namespace name there is a confident wrong answer in place of a missing
|
|
277
|
+
* one. A LIST because 20 of them state more than one, which no single string expresses.
|
|
278
|
+
*/
|
|
279
|
+
readonly identifierPrefixes: readonly string[];
|
|
280
|
+
/**
|
|
281
|
+
* Sibling vocabularies this one's DECLARATIONS come from, as import specifiers.
|
|
282
|
+
*
|
|
283
|
+
* A chain link with no `OWN_PROPS` row is ambiguous on its own — `GtkSeparator` has no
|
|
284
|
+
* settable property, `GApplication` has its properties in another package — and this
|
|
285
|
+
* list is what tells the two apart. Enum and bitfield NUMBERS are not here: those are
|
|
286
|
+
* carried in this file, because a `PROP_ENUMS` row naming a foreign GType gives a
|
|
287
|
+
* consumer nothing to load and a `.ui` file using the property never names its owner.
|
|
288
|
+
*/
|
|
289
|
+
readonly requiredVocabularies: readonly string[];
|
|
265
290
|
};
|
|
266
291
|
|
|
267
292
|
/** Declaration GType -> its own settable properties, as GObject registered them. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// The widget vocabulary of XreaderView-1.5 as runtime data.
|
|
2
2
|
//
|
|
3
|
-
// GENERATED — do not edit. Provenance: XreaderView-1.5 — dropped empty base(s):
|
|
3
|
+
// GENERATED — do not edit. Provenance: XreaderView-1.5 — 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: '1.5',
|
|
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: ['Ev'],
|
|
19
|
+
requiredVocabularies: ['@girs/gobject-2.0/vocabulary', '@girs/gtk-3.0/vocabulary'],
|
|
18
20
|
};
|
|
19
21
|
|
|
20
22
|
export const OWN_PROPS = {
|
|
@@ -39,22 +41,22 @@ export const OWN_SIGNALS = {
|
|
|
39
41
|
// `GtkEventController*` and `GtkCellRenderer*`. Use `Widgets` and `CHILD_HOLDERS`
|
|
40
42
|
// below for the narrower questions; they did not move.
|
|
41
43
|
export const DECLS = {
|
|
42
|
-
EvDocumentModel: ['EvDocumentModel'],
|
|
43
|
-
EvJobAnnots: ['EvJobAnnots', 'EvJob'],
|
|
44
|
-
EvJobAttachments: ['EvJobAttachments', 'EvJob'],
|
|
45
|
-
EvJobExport: ['EvJobExport', 'EvJob'],
|
|
46
|
-
EvJobFind: ['EvJobFind', 'EvJob'],
|
|
47
|
-
EvJobFonts: ['EvJobFonts', 'EvJob'],
|
|
48
|
-
EvJobLayers: ['EvJobLayers', 'EvJob'],
|
|
49
|
-
EvJobLinks: ['EvJobLinks', 'EvJob'],
|
|
50
|
-
EvJobLoad: ['EvJobLoad', 'EvJob'],
|
|
51
|
-
EvJobPageData: ['EvJobPageData', 'EvJob'],
|
|
52
|
-
EvJobPrint: ['EvJobPrint', 'EvJob'],
|
|
53
|
-
EvJobRender: ['EvJobRender', 'EvJob'],
|
|
54
|
-
EvJobSave: ['EvJobSave', 'EvJob'],
|
|
55
|
-
EvJobThumbnail: ['EvJobThumbnail', 'EvJob'],
|
|
56
|
-
EvView: ['EvView', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkScrollable'],
|
|
57
|
-
EvViewPresentation: ['EvViewPresentation', 'GtkWidget', 'GtkBuildable'],
|
|
44
|
+
EvDocumentModel: ['EvDocumentModel', 'GObject'],
|
|
45
|
+
EvJobAnnots: ['EvJobAnnots', 'EvJob', 'GObject'],
|
|
46
|
+
EvJobAttachments: ['EvJobAttachments', 'EvJob', 'GObject'],
|
|
47
|
+
EvJobExport: ['EvJobExport', 'EvJob', 'GObject'],
|
|
48
|
+
EvJobFind: ['EvJobFind', 'EvJob', 'GObject'],
|
|
49
|
+
EvJobFonts: ['EvJobFonts', 'EvJob', 'GObject'],
|
|
50
|
+
EvJobLayers: ['EvJobLayers', 'EvJob', 'GObject'],
|
|
51
|
+
EvJobLinks: ['EvJobLinks', 'EvJob', 'GObject'],
|
|
52
|
+
EvJobLoad: ['EvJobLoad', 'EvJob', 'GObject'],
|
|
53
|
+
EvJobPageData: ['EvJobPageData', 'EvJob', 'GObject'],
|
|
54
|
+
EvJobPrint: ['EvJobPrint', 'EvJob', 'GObject'],
|
|
55
|
+
EvJobRender: ['EvJobRender', 'EvJob', 'GObject'],
|
|
56
|
+
EvJobSave: ['EvJobSave', 'EvJob', 'GObject'],
|
|
57
|
+
EvJobThumbnail: ['EvJobThumbnail', 'EvJob', 'GObject'],
|
|
58
|
+
EvView: ['EvView', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable', 'GtkScrollable'],
|
|
59
|
+
EvViewPresentation: ['EvViewPresentation', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
|
|
58
60
|
};
|
|
59
61
|
|
|
60
62
|
// The GTypes above that ARE widgets are the `Widgets` map in the sibling `.d.ts`; these
|