@girs/gcrui-3 5.3.0 → 5.4.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/gcrui-3-vocabulary.d.ts +13 -0
- package/gcrui-3-vocabulary.js +28 -0
- 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 GcrUi-3 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.
|
|
7
|
+
GJS TypeScript type definitions for GcrUi-3 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.4.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/gcrui-3-vocabulary.d.ts
CHANGED
|
@@ -456,6 +456,19 @@ export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
|
456
456
|
*/
|
|
457
457
|
export const PROP_ENUMS: Readonly<Record<string, string>>;
|
|
458
458
|
|
|
459
|
+
/**
|
|
460
|
+
* `<declaration GType>.<property>` -> the GType of that property's own type.
|
|
461
|
+
*
|
|
462
|
+
* `PROP_ENUMS` one case wider, and separate on purpose: that table promises the GType it names
|
|
463
|
+
* has NUMBERS, and this one promises only that the GType is the property's. A host inferring a
|
|
464
|
+
* type from a property — the middle of an uncast lookup chain, an uncast closure's return type —
|
|
465
|
+
* reads this one; a host resolving a nick to a number reads that one.
|
|
466
|
+
*
|
|
467
|
+
* Absent means no GType can be stated, not that the property is scalar: `gchararray` is carried
|
|
468
|
+
* like any other, so absence is readable as "unknown".
|
|
469
|
+
*/
|
|
470
|
+
export const PROP_TYPES: Readonly<Record<string, string>>;
|
|
471
|
+
|
|
459
472
|
/**
|
|
460
473
|
* The kinds of value a GTK accessible property, relation or state takes.
|
|
461
474
|
*
|
package/gcrui-3-vocabulary.js
CHANGED
|
@@ -147,6 +147,34 @@ export const FLAG_VALUES_UNREADABLE = {};
|
|
|
147
147
|
// vocabulary loaded too. Owners that emit none (Gdk, Pango) are inlined into the tables above.
|
|
148
148
|
export const PROP_ENUMS = {};
|
|
149
149
|
|
|
150
|
+
// `<declaration GType>.<property>` -> the GType of that property's own type.
|
|
151
|
+
//
|
|
152
|
+
// `PROP_ENUMS` one case wider, and a SEPARATE table on purpose. That one is a join with a
|
|
153
|
+
// contract — the GType it names has numbers, in this vocabulary or the owner's — and folding a
|
|
154
|
+
// plain type table in would mix "resolvable to numbers" with "not" and hand the distinction to
|
|
155
|
+
// the consumer. `ARIA_VALUE_ENUMS` beside `ARIA_VALUE_TYPES` is the same split.
|
|
156
|
+
//
|
|
157
|
+
// A row is ABSENT where no GType can be stated: a fundamental spelling outside the generator's
|
|
158
|
+
// closed map, a registered type with no `glib:type-name`, or a property with no `<type>`
|
|
159
|
+
// child. Absence therefore reads as "unknown" and never as "scalar".
|
|
160
|
+
export const PROP_TYPES = {
|
|
161
|
+
'GcrCertificateRenderer.certificate': 'GcrCertificate',
|
|
162
|
+
'GcrCertificateRenderer.label': 'gchararray',
|
|
163
|
+
'GcrCertificateWidget.certificate': 'GcrCertificate',
|
|
164
|
+
'GcrCollectionModel.collection': 'GcrCollection',
|
|
165
|
+
'GcrCollectionModel.columns': 'gpointer',
|
|
166
|
+
'GcrComboSelector.collection': 'GcrCollection',
|
|
167
|
+
'GcrFailureRenderer.label': 'gchararray',
|
|
168
|
+
'GcrKeyRenderer.object': 'GckObject',
|
|
169
|
+
'GcrListSelector.collection': 'GcrCollection',
|
|
170
|
+
'GcrRenderer.label': 'gchararray',
|
|
171
|
+
'GcrTreeSelector.collection': 'GcrCollection',
|
|
172
|
+
'GcrTreeSelector.columns': 'gpointer',
|
|
173
|
+
'GcrUnlockOptionsWidget.choice': 'gchararray',
|
|
174
|
+
'GcrUnlockOptionsWidget.ttl': 'guint',
|
|
175
|
+
'GcrViewerWidget.display-name': 'gchararray',
|
|
176
|
+
};
|
|
177
|
+
|
|
150
178
|
// `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
|
|
151
179
|
//
|
|
152
180
|
// The one table here that is not about a ParamSpec. A GtkBuilder or Blueprint
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gcrui-3",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.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": "^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-3": "^5.
|
|
54
|
-
"@girs/gck-1": "^5.
|
|
39
|
+
"@girs/gjs": "^5.4.0",
|
|
40
|
+
"@girs/gtk-3.0": "^5.4.0",
|
|
41
|
+
"@girs/xlib-2.0": "^5.4.0",
|
|
42
|
+
"@girs/gdk-3.0": "^5.4.0",
|
|
43
|
+
"@girs/cairo-1.0": "^5.4.0",
|
|
44
|
+
"@girs/gobject-2.0": "^5.4.0",
|
|
45
|
+
"@girs/glib-2.0": "^5.4.0",
|
|
46
|
+
"@girs/pango-1.0": "^5.4.0",
|
|
47
|
+
"@girs/harfbuzz-0.0": "^5.4.0",
|
|
48
|
+
"@girs/freetype2-2.0": "^5.4.0",
|
|
49
|
+
"@girs/gio-2.0": "^5.4.0",
|
|
50
|
+
"@girs/gmodule-2.0": "^5.4.0",
|
|
51
|
+
"@girs/gdkpixbuf-2.0": "^5.4.0",
|
|
52
|
+
"@girs/atk-1.0": "^5.4.0",
|
|
53
|
+
"@girs/gcr-3": "^5.4.0",
|
|
54
|
+
"@girs/gck-1": "^5.4.0" },
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"typescript": "*"
|
|
57
57
|
},
|