@girs/gjs 3.0.0-beta.12 → 3.0.0-beta.13
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/ambient.d.ts +65 -49
- package/cairo.cjs +6 -0
- package/cairo.d.cts +8 -0
- package/cairo.d.ts +6 -0
- package/cairo.js +6 -0
- package/gettext.cjs +6 -0
- package/gettext.d.cts +41 -0
- package/gettext.d.ts +41 -0
- package/gettext.js +6 -0
- package/gjs.cjs +4 -3
- package/gjs.d.cts +425 -459
- package/gjs.d.ts +36 -70
- package/gjs.js +3 -2
- package/package.json +435 -401
- package/system.cjs +5 -0
- package/system.d.cts +31 -0
- package/system.d.ts +31 -0
- package/system.js +5 -0
package/README.md
CHANGED
package/ambient.d.ts
CHANGED
|
@@ -167,9 +167,9 @@
|
|
|
167
167
|
import Cally10 from '@girs/cally-1.0';
|
|
168
168
|
export default Cally10;
|
|
169
169
|
}
|
|
170
|
-
declare module 'gi://Cally?version=
|
|
171
|
-
import
|
|
172
|
-
export default
|
|
170
|
+
declare module 'gi://Cally?version=12' {
|
|
171
|
+
import Cally12 from '@girs/cally-12';
|
|
172
|
+
export default Cally12;
|
|
173
173
|
}
|
|
174
174
|
declare module 'gi://Camel?version=1.2' {
|
|
175
175
|
import Camel12 from '@girs/camel-1.2';
|
|
@@ -211,9 +211,9 @@
|
|
|
211
211
|
import Clutter10 from '@girs/clutter-1.0';
|
|
212
212
|
export default Clutter10;
|
|
213
213
|
}
|
|
214
|
-
declare module 'gi://Clutter?version=
|
|
215
|
-
import
|
|
216
|
-
export default
|
|
214
|
+
declare module 'gi://Clutter?version=12' {
|
|
215
|
+
import Clutter12 from '@girs/clutter-12';
|
|
216
|
+
export default Clutter12;
|
|
217
217
|
}
|
|
218
218
|
declare module 'gi://ClutterGdk?version=1.0' {
|
|
219
219
|
import ClutterGdk10 from '@girs/cluttergdk-1.0';
|
|
@@ -253,9 +253,9 @@
|
|
|
253
253
|
import Cogl20 from '@girs/cogl-2.0';
|
|
254
254
|
export default Cogl20;
|
|
255
255
|
}
|
|
256
|
-
declare module 'gi://Cogl?version=
|
|
257
|
-
import
|
|
258
|
-
export default
|
|
256
|
+
declare module 'gi://Cogl?version=12' {
|
|
257
|
+
import Cogl12 from '@girs/cogl-12';
|
|
258
|
+
export default Cogl12;
|
|
259
259
|
}
|
|
260
260
|
declare module 'gi://CoglGst?version=2.0' {
|
|
261
261
|
import CoglGst20 from '@girs/coglgst-2.0';
|
|
@@ -274,9 +274,9 @@
|
|
|
274
274
|
import CoglPango20 from '@girs/coglpango-2.0';
|
|
275
275
|
export default CoglPango20;
|
|
276
276
|
}
|
|
277
|
-
declare module 'gi://CoglPango?version=
|
|
278
|
-
import
|
|
279
|
-
export default
|
|
277
|
+
declare module 'gi://CoglPango?version=12' {
|
|
278
|
+
import CoglPango12 from '@girs/coglpango-12';
|
|
279
|
+
export default CoglPango12;
|
|
280
280
|
}
|
|
281
281
|
declare module 'gi://ColorHug?version=1.0' {
|
|
282
282
|
import ColorHug10 from '@girs/colorhug-1.0';
|
|
@@ -2099,10 +2099,9 @@
|
|
|
2099
2099
|
import Peas10 from '@girs/peas-1.0';
|
|
2100
2100
|
export default Peas10;
|
|
2101
2101
|
}
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
export default Peas10;
|
|
2102
|
+
declare module 'gi://Peas?version=2' {
|
|
2103
|
+
import Peas2 from '@girs/peas-2';
|
|
2104
|
+
export default Peas2;
|
|
2106
2105
|
}
|
|
2107
2106
|
declare module 'gi://PeasGtk?version=1.0' {
|
|
2108
2107
|
import PeasGtk10 from '@girs/peasgtk-1.0';
|
|
@@ -2612,6 +2611,15 @@
|
|
|
2612
2611
|
import WebKitWebExtension60 from '@girs/webkitwebextension-6.0';
|
|
2613
2612
|
export default WebKitWebExtension60;
|
|
2614
2613
|
}
|
|
2614
|
+
declare module 'gi://WebKitWebProcessExtension?version=6.0' {
|
|
2615
|
+
import WebKitWebProcessExtension60 from '@girs/webkitwebprocessextension-6.0';
|
|
2616
|
+
export default WebKitWebProcessExtension60;
|
|
2617
|
+
}
|
|
2618
|
+
// Add support for ESM imports without version prefix only if there is no version conflict
|
|
2619
|
+
declare module 'gi://WebKitWebProcessExtension' {
|
|
2620
|
+
import WebKitWebProcessExtension60 from '@girs/webkitwebprocessextension-6.0';
|
|
2621
|
+
export default WebKitWebProcessExtension60;
|
|
2622
|
+
}
|
|
2615
2623
|
declare module 'gi://Wnck?version=3.0' {
|
|
2616
2624
|
import Wnck30 from '@girs/wnck-3.0';
|
|
2617
2625
|
export default Wnck30;
|
|
@@ -2792,24 +2800,6 @@
|
|
|
2792
2800
|
import SocialWebClient025 from '@girs/socialwebclient-0.25';
|
|
2793
2801
|
export default SocialWebClient025;
|
|
2794
2802
|
}
|
|
2795
|
-
declare module 'gi://AppIndicator3?version=0.1' {
|
|
2796
|
-
import AppIndicator301 from '@girs/appindicator3-0.1';
|
|
2797
|
-
export default AppIndicator301;
|
|
2798
|
-
}
|
|
2799
|
-
// Add support for ESM imports without version prefix only if there is no version conflict
|
|
2800
|
-
declare module 'gi://AppIndicator3' {
|
|
2801
|
-
import AppIndicator301 from '@girs/appindicator3-0.1';
|
|
2802
|
-
export default AppIndicator301;
|
|
2803
|
-
}
|
|
2804
|
-
declare module 'gi://CloudProviders?version=0.3' {
|
|
2805
|
-
import CloudProviders03 from '@girs/cloudproviders-0.3';
|
|
2806
|
-
export default CloudProviders03;
|
|
2807
|
-
}
|
|
2808
|
-
// Add support for ESM imports without version prefix only if there is no version conflict
|
|
2809
|
-
declare module 'gi://CloudProviders' {
|
|
2810
|
-
import CloudProviders03 from '@girs/cloudproviders-0.3';
|
|
2811
|
-
export default CloudProviders03;
|
|
2812
|
-
}
|
|
2813
2803
|
declare module 'gi://Gvc?version=1.0' {
|
|
2814
2804
|
import Gvc10 from '@girs/gvc-1.0';
|
|
2815
2805
|
export default Gvc10;
|
|
@@ -2819,23 +2809,23 @@
|
|
|
2819
2809
|
import Gvc10 from '@girs/gvc-1.0';
|
|
2820
2810
|
export default Gvc10;
|
|
2821
2811
|
}
|
|
2822
|
-
declare module 'gi://Shell?version=
|
|
2823
|
-
import
|
|
2824
|
-
export default
|
|
2812
|
+
declare module 'gi://Shell?version=12' {
|
|
2813
|
+
import Shell12 from '@girs/shell-12';
|
|
2814
|
+
export default Shell12;
|
|
2825
2815
|
}
|
|
2826
2816
|
// Add support for ESM imports without version prefix only if there is no version conflict
|
|
2827
2817
|
declare module 'gi://Shell' {
|
|
2828
|
-
import
|
|
2829
|
-
export default
|
|
2818
|
+
import Shell12 from '@girs/shell-12';
|
|
2819
|
+
export default Shell12;
|
|
2830
2820
|
}
|
|
2831
|
-
declare module 'gi://St?version=
|
|
2832
|
-
import
|
|
2833
|
-
export default
|
|
2821
|
+
declare module 'gi://St?version=12' {
|
|
2822
|
+
import St12 from '@girs/st-12';
|
|
2823
|
+
export default St12;
|
|
2834
2824
|
}
|
|
2835
2825
|
// Add support for ESM imports without version prefix only if there is no version conflict
|
|
2836
2826
|
declare module 'gi://St' {
|
|
2837
|
-
import
|
|
2838
|
-
export default
|
|
2827
|
+
import St12 from '@girs/st-12';
|
|
2828
|
+
export default St12;
|
|
2839
2829
|
}
|
|
2840
2830
|
declare module 'gi://Shew?version=0' {
|
|
2841
2831
|
import Shew0 from '@girs/shew-0';
|
|
@@ -2846,12 +2836,38 @@
|
|
|
2846
2836
|
import Shew0 from '@girs/shew-0';
|
|
2847
2837
|
export default Shew0;
|
|
2848
2838
|
}
|
|
2849
|
-
declare module 'gi://Meta?version=
|
|
2850
|
-
import
|
|
2851
|
-
export default
|
|
2839
|
+
declare module 'gi://Meta?version=12' {
|
|
2840
|
+
import Meta12 from '@girs/meta-12';
|
|
2841
|
+
export default Meta12;
|
|
2852
2842
|
}
|
|
2853
2843
|
// Add support for ESM imports without version prefix only if there is no version conflict
|
|
2854
2844
|
declare module 'gi://Meta' {
|
|
2855
|
-
import
|
|
2856
|
-
export default
|
|
2845
|
+
import Meta12 from '@girs/meta-12';
|
|
2846
|
+
export default Meta12;
|
|
2857
2847
|
}
|
|
2848
|
+
declare module 'gi://MetaTest?version=12' {
|
|
2849
|
+
import MetaTest12 from '@girs/metatest-12';
|
|
2850
|
+
export default MetaTest12;
|
|
2851
|
+
}
|
|
2852
|
+
// Add support for ESM imports without version prefix only if there is no version conflict
|
|
2853
|
+
declare module 'gi://MetaTest' {
|
|
2854
|
+
import MetaTest12 from '@girs/metatest-12';
|
|
2855
|
+
export default MetaTest12;
|
|
2856
|
+
}
|
|
2857
|
+
|
|
2858
|
+
declare module 'gettext' {
|
|
2859
|
+
export * from '@girs/gjs/gettext';
|
|
2860
|
+
import Gettext from '@girs/gjs/gettext';
|
|
2861
|
+
export default Gettext;
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
declare module 'system' {
|
|
2865
|
+
export * from '@girs/gjs/system';
|
|
2866
|
+
import System from '@girs/gjs/system';
|
|
2867
|
+
export default System;
|
|
2868
|
+
}
|
|
2869
|
+
|
|
2870
|
+
declare module 'cairo' {
|
|
2871
|
+
import Cairo from '@girs/gjs/cairo';
|
|
2872
|
+
export default Cairo;
|
|
2873
|
+
}
|
package/cairo.cjs
ADDED
package/cairo.d.cts
ADDED
package/cairo.d.ts
ADDED
package/cairo.js
ADDED
package/gettext.cjs
ADDED
package/gettext.d.cts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export enum LocaleCategory {
|
|
2
|
+
ALL,
|
|
3
|
+
COLLATE,
|
|
4
|
+
CTYPE,
|
|
5
|
+
MESSAGES,
|
|
6
|
+
MONETARY,
|
|
7
|
+
NUMERIC,
|
|
8
|
+
TIME,
|
|
9
|
+
}
|
|
10
|
+
export function setlocale(category: number, locale: string | null): string
|
|
11
|
+
export function textdomain(domainname: string | null): string
|
|
12
|
+
export function bindtextdomain(domainname: string, dirname: string | null): string
|
|
13
|
+
export function gettext(msgid: string): string
|
|
14
|
+
export function dgettext(domainname: string | null, msgid: string): string
|
|
15
|
+
export function dcgettext(domainname: string | null, msgid: string, category: number): string
|
|
16
|
+
export function ngettext(msgid: string, msgid_plural: string, n: number): string
|
|
17
|
+
export function dngettext(domainname: string, msgid: string, msgid_plural: string, n: number): string
|
|
18
|
+
export function pgettext(context: string, msgid: string): string
|
|
19
|
+
export function dpgettext(dom: string | null, context: string, msgid: string): string
|
|
20
|
+
export function domain(domainName: string): {
|
|
21
|
+
gettext: (msgid: string) => string
|
|
22
|
+
ngettext: (msgid: string, msgid_plural: string, n: number) => string
|
|
23
|
+
pgettext: (context: string, msgid: string) => string
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
declare const Gettext: {
|
|
27
|
+
LocaleCategory: typeof LocaleCategory,
|
|
28
|
+
setlocale: typeof setlocale,
|
|
29
|
+
textdomain: typeof textdomain,
|
|
30
|
+
bindtextdomain: typeof bindtextdomain,
|
|
31
|
+
gettext: typeof gettext,
|
|
32
|
+
dgettext: typeof dgettext,
|
|
33
|
+
dcgettext: typeof dcgettext,
|
|
34
|
+
ngettext: typeof ngettext,
|
|
35
|
+
dngettext: typeof dngettext,
|
|
36
|
+
pgettext: typeof pgettext,
|
|
37
|
+
dpgettext: typeof dpgettext,
|
|
38
|
+
domain: typeof domain,
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export default Gettext
|
package/gettext.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export enum LocaleCategory {
|
|
2
|
+
ALL,
|
|
3
|
+
COLLATE,
|
|
4
|
+
CTYPE,
|
|
5
|
+
MESSAGES,
|
|
6
|
+
MONETARY,
|
|
7
|
+
NUMERIC,
|
|
8
|
+
TIME,
|
|
9
|
+
}
|
|
10
|
+
export function setlocale(category: number, locale: string | null): string
|
|
11
|
+
export function textdomain(domainname: string | null): string
|
|
12
|
+
export function bindtextdomain(domainname: string, dirname: string | null): string
|
|
13
|
+
export function gettext(msgid: string): string
|
|
14
|
+
export function dgettext(domainname: string | null, msgid: string): string
|
|
15
|
+
export function dcgettext(domainname: string | null, msgid: string, category: number): string
|
|
16
|
+
export function ngettext(msgid: string, msgid_plural: string, n: number): string
|
|
17
|
+
export function dngettext(domainname: string, msgid: string, msgid_plural: string, n: number): string
|
|
18
|
+
export function pgettext(context: string, msgid: string): string
|
|
19
|
+
export function dpgettext(dom: string | null, context: string, msgid: string): string
|
|
20
|
+
export function domain(domainName: string): {
|
|
21
|
+
gettext: (msgid: string) => string
|
|
22
|
+
ngettext: (msgid: string, msgid_plural: string, n: number) => string
|
|
23
|
+
pgettext: (context: string, msgid: string) => string
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
declare const Gettext: {
|
|
27
|
+
LocaleCategory: typeof LocaleCategory,
|
|
28
|
+
setlocale: typeof setlocale,
|
|
29
|
+
textdomain: typeof textdomain,
|
|
30
|
+
bindtextdomain: typeof bindtextdomain,
|
|
31
|
+
gettext: typeof gettext,
|
|
32
|
+
dgettext: typeof dgettext,
|
|
33
|
+
dcgettext: typeof dcgettext,
|
|
34
|
+
ngettext: typeof ngettext,
|
|
35
|
+
dngettext: typeof dngettext,
|
|
36
|
+
pgettext: typeof pgettext,
|
|
37
|
+
dpgettext: typeof dpgettext,
|
|
38
|
+
domain: typeof domain,
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export default Gettext
|
package/gettext.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
import Gettext, { setlocale, textdomain, bindtextdomain, gettext, dgettext, dcgettext, ngettext, dngettext, pgettext, dpgettext, domain } from 'gettext';
|
|
3
|
+
|
|
4
|
+
export { setlocale, textdomain, bindtextdomain, gettext, dgettext, dcgettext, ngettext, dngettext, pgettext, dpgettext, domain }
|
|
5
|
+
export default Gettext;
|
|
6
|
+
|
package/gjs.cjs
CHANGED