@girs/tepl-5 5.0.0-3.2.7 → 5.0.0-3.2.8

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
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/tepl-5)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Tepl-5, generated from library version 5.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
8
+ GJS TypeScript type definitions for Tepl-5, generated from library version 5.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
9
9
 
10
10
 
11
11
  ## Install
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/tepl-5",
3
- "version": "5.0.0-3.2.7",
3
+ "version": "5.0.0-3.2.8",
4
4
  "description": "GJS TypeScript type definitions for Tepl-5, generated from library version 5.0.0",
5
5
  "type": "module",
6
6
  "module": "tepl-5.js",
7
7
  "main": "tepl-5.js",
8
8
  "exports": {
9
- "./ambient": "./tepl-5-ambient.d.ts",
10
- "./import": "./tepl-5-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./tepl-5-ambient.d.ts",
11
+ "default": "./tepl-5-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./tepl-5-import.d.ts",
15
+ "default": "./tepl-5-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./tepl-5.d.ts",
@@ -25,22 +31,22 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit tepl-5.d.cts"
26
32
  },
27
33
  "dependencies": {
28
- "@girs/amtk-5": "^5.0.0-3.2.7",
29
- "@girs/atk-1.0": "^2.50.0-3.2.7",
30
- "@girs/cairo-1.0": "^1.0.0-3.2.7",
31
- "@girs/freetype2-2.0": "^2.0.0-3.2.7",
32
- "@girs/gdk-3.0": "^3.24.38-3.2.7",
33
- "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
34
- "@girs/gio-2.0": "^2.78.0-3.2.7",
35
- "@girs/gjs": "^3.2.7",
36
- "@girs/glib-2.0": "^2.78.0-3.2.7",
37
- "@girs/gmodule-2.0": "^2.0.0-3.2.7",
38
- "@girs/gobject-2.0": "^2.78.0-3.2.7",
39
- "@girs/gtk-3.0": "^3.24.38-3.2.7",
40
- "@girs/gtksource-4": "^4.0.0-3.2.7",
41
- "@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
42
- "@girs/pango-1.0": "^1.51.0-3.2.7",
43
- "@girs/xlib-2.0": "^2.0.0-3.2.7"
34
+ "@girs/amtk-5": "^5.0.0-3.2.8",
35
+ "@girs/atk-1.0": "^2.45.1-3.2.8",
36
+ "@girs/cairo-1.0": "^1.0.0-3.2.8",
37
+ "@girs/freetype2-2.0": "^2.0.0-3.2.8",
38
+ "@girs/gdk-3.0": "^3.24.39-3.2.8",
39
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.8",
40
+ "@girs/gio-2.0": "^2.77.0-3.2.8",
41
+ "@girs/gjs": "^3.2.8",
42
+ "@girs/glib-2.0": "^2.77.0-3.2.8",
43
+ "@girs/gmodule-2.0": "^2.0.0-3.2.8",
44
+ "@girs/gobject-2.0": "^2.77.0-3.2.8",
45
+ "@girs/gtk-3.0": "^3.24.39-3.2.8",
46
+ "@girs/gtksource-4": "^4.0.0-3.2.8",
47
+ "@girs/harfbuzz-0.0": "^8.1.1-3.2.8",
48
+ "@girs/pango-1.0": "^1.51.0-3.2.8",
49
+ "@girs/xlib-2.0": "^2.0.0-3.2.8"
44
50
  },
45
51
  "devDependencies": {
46
52
  "typescript": "*"
@@ -57,7 +63,7 @@
57
63
  "license": "MIT",
58
64
  "repository": {
59
65
  "type": "git",
60
- "url": "git+https://github.com/gjsify/types.git"
66
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
61
67
  },
62
68
  "bugs": {
63
69
  "url": "https://github.com/gjsify/ts-for-gir/issues"
@@ -0,0 +1,2 @@
1
+ export {}
2
+
@@ -0,0 +1,3 @@
1
+ const gi = globalThis.imports?.gi || {};
2
+ export default gi;
3
+
package/tepl-5.d.cts CHANGED
@@ -477,10 +477,6 @@ export module TabGroup {
477
477
 
478
478
  // Own constructor properties of Tepl-5.Tepl.TabGroup
479
479
 
480
- /**
481
- * The #TeplTab currently shown.
482
- */
483
- active_tab?: Tab | null
484
480
  /**
485
481
  * The #TeplTab currently shown.
486
482
  */
@@ -493,26 +489,14 @@ export interface TabGroup {
493
489
 
494
490
  // Own properties of Tepl-5.Tepl.TabGroup
495
491
 
496
- /**
497
- * The #TeplBuffer of the active tab.
498
- */
499
- readonly active_buffer: Buffer
500
492
  /**
501
493
  * The #TeplBuffer of the active tab.
502
494
  */
503
495
  readonly activeBuffer: Buffer
504
- /**
505
- * The #TeplTab currently shown.
506
- */
507
- active_tab: Tab
508
496
  /**
509
497
  * The #TeplTab currently shown.
510
498
  */
511
499
  activeTab: Tab
512
- /**
513
- * The #TeplView of the active tab.
514
- */
515
- readonly active_view: View
516
500
  /**
517
501
  * The #TeplView of the active tab.
518
502
  */
@@ -860,25 +844,6 @@ export module ApplicationWindow {
860
844
 
861
845
  // Own constructor properties of Tepl-5.Tepl.ApplicationWindow
862
846
 
863
- /**
864
- * The #GtkApplicationWindow.
865
- */
866
- application_window?: Gtk.ApplicationWindow | null
867
- /**
868
- * Whether to handle the #GtkWindow:title. The title is probably not
869
- * appropriate if a #GtkHeaderBar is used, the title is meant to be used
870
- * only for applications with a traditional UI.
871
- *
872
- * If %TRUE, the title will contain:
873
- * - the #TeplBuffer:tepl-full-title of the active buffer.
874
- * - if the active view is not #GtkTextView:editable, the
875
- * `"[Read-Only]"` string.
876
- * - the application name as returned by g_get_application_name().
877
- *
878
- * If the active view is %NULL, the title contains only the application
879
- * name.
880
- */
881
- handle_title?: boolean | null
882
847
  /**
883
848
  * The #GtkApplicationWindow.
884
849
  */
@@ -906,29 +871,10 @@ export interface ApplicationWindow extends TabGroup {
906
871
 
907
872
  // Own properties of Tepl-5.Tepl.ApplicationWindow
908
873
 
909
- /**
910
- * The #GtkApplicationWindow.
911
- */
912
- readonly application_window: Gtk.ApplicationWindow
913
874
  /**
914
875
  * The #GtkApplicationWindow.
915
876
  */
916
877
  readonly applicationWindow: Gtk.ApplicationWindow
917
- /**
918
- * Whether to handle the #GtkWindow:title. The title is probably not
919
- * appropriate if a #GtkHeaderBar is used, the title is meant to be used
920
- * only for applications with a traditional UI.
921
- *
922
- * If %TRUE, the title will contain:
923
- * - the #TeplBuffer:tepl-full-title of the active buffer.
924
- * - if the active view is not #GtkTextView:editable, the
925
- * `"[Read-Only]"` string.
926
- * - the application name as returned by g_get_application_name().
927
- *
928
- * If the active view is %NULL, the title contains only the application
929
- * name.
930
- */
931
- handle_title: boolean
932
878
  /**
933
879
  * Whether to handle the #GtkWindow:title. The title is probably not
934
880
  * appropriate if a #GtkHeaderBar is used, the title is meant to be used
@@ -1061,14 +1007,6 @@ export module Buffer {
1061
1007
 
1062
1008
  // Own constructor properties of Tepl-5.Tepl.Buffer
1063
1009
 
1064
- /**
1065
- * The #GtkSourceBuffer:style-scheme ID, as a string. This property is
1066
- * useful for binding it to a #GSettings key.
1067
- *
1068
- * When the #GtkSourceBuffer:style-scheme is %NULL,
1069
- * #TeplBuffer:tepl-style-scheme-id contains the empty string.
1070
- */
1071
- tepl_style_scheme_id?: string | null
1072
1010
  /**
1073
1011
  * The #GtkSourceBuffer:style-scheme ID, as a string. This property is
1074
1012
  * useful for binding it to a #GSettings key.
@@ -1085,30 +1023,14 @@ export interface Buffer {
1085
1023
 
1086
1024
  // Own properties of Tepl-5.Tepl.Buffer
1087
1025
 
1088
- /**
1089
- * The full title. See tepl_buffer_get_full_title().
1090
- */
1091
- readonly tepl_full_title: string | null
1092
1026
  /**
1093
1027
  * The full title. See tepl_buffer_get_full_title().
1094
1028
  */
1095
1029
  readonly teplFullTitle: string | null
1096
- /**
1097
- * The short title. See tepl_buffer_get_short_title().
1098
- */
1099
- readonly tepl_short_title: string | null
1100
1030
  /**
1101
1031
  * The short title. See tepl_buffer_get_short_title().
1102
1032
  */
1103
1033
  readonly teplShortTitle: string | null
1104
- /**
1105
- * The #GtkSourceBuffer:style-scheme ID, as a string. This property is
1106
- * useful for binding it to a #GSettings key.
1107
- *
1108
- * When the #GtkSourceBuffer:style-scheme is %NULL,
1109
- * #TeplBuffer:tepl-style-scheme-id contains the empty string.
1110
- */
1111
- tepl_style_scheme_id: string | null
1112
1034
  /**
1113
1035
  * The #GtkSourceBuffer:style-scheme ID, as a string. This property is
1114
1036
  * useful for binding it to a #GSettings key.
@@ -1319,18 +1241,10 @@ export interface File {
1319
1241
  * The location.
1320
1242
  */
1321
1243
  location: Gio.File
1322
- /**
1323
- * The line ending type.
1324
- */
1325
- readonly newline_type: NewlineType
1326
1244
  /**
1327
1245
  * The line ending type.
1328
1246
  */
1329
1247
  readonly newlineType: NewlineType
1330
- /**
1331
- * The file short name. See tepl_file_get_short_name().
1332
- */
1333
- readonly short_name: string | null
1334
1248
  /**
1335
1249
  * The file short name. See tepl_file_get_short_name().
1336
1250
  */
@@ -1591,10 +1505,6 @@ export module FileSaver {
1591
1505
  * from the #TeplFile at construction time.
1592
1506
  */
1593
1507
  location?: Gio.File | null
1594
- /**
1595
- * The newline type.
1596
- */
1597
- newline_type?: NewlineType | null
1598
1508
  /**
1599
1509
  * The newline type.
1600
1510
  */
@@ -1626,10 +1536,6 @@ export interface FileSaver {
1626
1536
  * from the #TeplFile at construction time.
1627
1537
  */
1628
1538
  readonly location: Gio.File
1629
- /**
1630
- * The newline type.
1631
- */
1632
- newline_type: NewlineType
1633
1539
  /**
1634
1540
  * The newline type.
1635
1541
  */
@@ -4342,14 +4248,6 @@ export module StyleSchemeChooserWidget {
4342
4248
 
4343
4249
  // Own constructor properties of Tepl-5.Tepl.StyleSchemeChooserWidget
4344
4250
 
4345
- /**
4346
- * The #GtkSourceStyleSchemeChooser:style-scheme ID, as a string. This
4347
- * property is useful for binding it to a #GSettings key.
4348
- *
4349
- * When the #GtkSourceStyleSchemeChooser:style-scheme is %NULL, this
4350
- * property contains the empty string.
4351
- */
4352
- tepl_style_scheme_id?: string | null
4353
4251
  /**
4354
4252
  * The #GtkSourceStyleSchemeChooser:style-scheme ID, as a string. This
4355
4253
  * property is useful for binding it to a #GSettings key.
@@ -4366,14 +4264,6 @@ export interface StyleSchemeChooserWidget extends Atk.ImplementorIface, Gtk.Buil
4366
4264
 
4367
4265
  // Own properties of Tepl-5.Tepl.StyleSchemeChooserWidget
4368
4266
 
4369
- /**
4370
- * The #GtkSourceStyleSchemeChooser:style-scheme ID, as a string. This
4371
- * property is useful for binding it to a #GSettings key.
4372
- *
4373
- * When the #GtkSourceStyleSchemeChooser:style-scheme is %NULL, this
4374
- * property contains the empty string.
4375
- */
4376
- tepl_style_scheme_id: string | null
4377
4267
  /**
4378
4268
  * The #GtkSourceStyleSchemeChooser:style-scheme ID, as a string. This
4379
4269
  * property is useful for binding it to a #GSettings key.
package/tepl-5.d.ts CHANGED
@@ -479,10 +479,6 @@ module TabGroup {
479
479
 
480
480
  // Own constructor properties of Tepl-5.Tepl.TabGroup
481
481
 
482
- /**
483
- * The #TeplTab currently shown.
484
- */
485
- active_tab?: Tab | null
486
482
  /**
487
483
  * The #TeplTab currently shown.
488
484
  */
@@ -495,26 +491,14 @@ interface TabGroup {
495
491
 
496
492
  // Own properties of Tepl-5.Tepl.TabGroup
497
493
 
498
- /**
499
- * The #TeplBuffer of the active tab.
500
- */
501
- readonly active_buffer: Buffer
502
494
  /**
503
495
  * The #TeplBuffer of the active tab.
504
496
  */
505
497
  readonly activeBuffer: Buffer
506
- /**
507
- * The #TeplTab currently shown.
508
- */
509
- active_tab: Tab
510
498
  /**
511
499
  * The #TeplTab currently shown.
512
500
  */
513
501
  activeTab: Tab
514
- /**
515
- * The #TeplView of the active tab.
516
- */
517
- readonly active_view: View
518
502
  /**
519
503
  * The #TeplView of the active tab.
520
504
  */
@@ -862,25 +846,6 @@ module ApplicationWindow {
862
846
 
863
847
  // Own constructor properties of Tepl-5.Tepl.ApplicationWindow
864
848
 
865
- /**
866
- * The #GtkApplicationWindow.
867
- */
868
- application_window?: Gtk.ApplicationWindow | null
869
- /**
870
- * Whether to handle the #GtkWindow:title. The title is probably not
871
- * appropriate if a #GtkHeaderBar is used, the title is meant to be used
872
- * only for applications with a traditional UI.
873
- *
874
- * If %TRUE, the title will contain:
875
- * - the #TeplBuffer:tepl-full-title of the active buffer.
876
- * - if the active view is not #GtkTextView:editable, the
877
- * `"[Read-Only]"` string.
878
- * - the application name as returned by g_get_application_name().
879
- *
880
- * If the active view is %NULL, the title contains only the application
881
- * name.
882
- */
883
- handle_title?: boolean | null
884
849
  /**
885
850
  * The #GtkApplicationWindow.
886
851
  */
@@ -908,29 +873,10 @@ interface ApplicationWindow extends TabGroup {
908
873
 
909
874
  // Own properties of Tepl-5.Tepl.ApplicationWindow
910
875
 
911
- /**
912
- * The #GtkApplicationWindow.
913
- */
914
- readonly application_window: Gtk.ApplicationWindow
915
876
  /**
916
877
  * The #GtkApplicationWindow.
917
878
  */
918
879
  readonly applicationWindow: Gtk.ApplicationWindow
919
- /**
920
- * Whether to handle the #GtkWindow:title. The title is probably not
921
- * appropriate if a #GtkHeaderBar is used, the title is meant to be used
922
- * only for applications with a traditional UI.
923
- *
924
- * If %TRUE, the title will contain:
925
- * - the #TeplBuffer:tepl-full-title of the active buffer.
926
- * - if the active view is not #GtkTextView:editable, the
927
- * `"[Read-Only]"` string.
928
- * - the application name as returned by g_get_application_name().
929
- *
930
- * If the active view is %NULL, the title contains only the application
931
- * name.
932
- */
933
- handle_title: boolean
934
880
  /**
935
881
  * Whether to handle the #GtkWindow:title. The title is probably not
936
882
  * appropriate if a #GtkHeaderBar is used, the title is meant to be used
@@ -1063,14 +1009,6 @@ module Buffer {
1063
1009
 
1064
1010
  // Own constructor properties of Tepl-5.Tepl.Buffer
1065
1011
 
1066
- /**
1067
- * The #GtkSourceBuffer:style-scheme ID, as a string. This property is
1068
- * useful for binding it to a #GSettings key.
1069
- *
1070
- * When the #GtkSourceBuffer:style-scheme is %NULL,
1071
- * #TeplBuffer:tepl-style-scheme-id contains the empty string.
1072
- */
1073
- tepl_style_scheme_id?: string | null
1074
1012
  /**
1075
1013
  * The #GtkSourceBuffer:style-scheme ID, as a string. This property is
1076
1014
  * useful for binding it to a #GSettings key.
@@ -1087,30 +1025,14 @@ interface Buffer {
1087
1025
 
1088
1026
  // Own properties of Tepl-5.Tepl.Buffer
1089
1027
 
1090
- /**
1091
- * The full title. See tepl_buffer_get_full_title().
1092
- */
1093
- readonly tepl_full_title: string | null
1094
1028
  /**
1095
1029
  * The full title. See tepl_buffer_get_full_title().
1096
1030
  */
1097
1031
  readonly teplFullTitle: string | null
1098
- /**
1099
- * The short title. See tepl_buffer_get_short_title().
1100
- */
1101
- readonly tepl_short_title: string | null
1102
1032
  /**
1103
1033
  * The short title. See tepl_buffer_get_short_title().
1104
1034
  */
1105
1035
  readonly teplShortTitle: string | null
1106
- /**
1107
- * The #GtkSourceBuffer:style-scheme ID, as a string. This property is
1108
- * useful for binding it to a #GSettings key.
1109
- *
1110
- * When the #GtkSourceBuffer:style-scheme is %NULL,
1111
- * #TeplBuffer:tepl-style-scheme-id contains the empty string.
1112
- */
1113
- tepl_style_scheme_id: string | null
1114
1036
  /**
1115
1037
  * The #GtkSourceBuffer:style-scheme ID, as a string. This property is
1116
1038
  * useful for binding it to a #GSettings key.
@@ -1321,18 +1243,10 @@ interface File {
1321
1243
  * The location.
1322
1244
  */
1323
1245
  location: Gio.File
1324
- /**
1325
- * The line ending type.
1326
- */
1327
- readonly newline_type: NewlineType
1328
1246
  /**
1329
1247
  * The line ending type.
1330
1248
  */
1331
1249
  readonly newlineType: NewlineType
1332
- /**
1333
- * The file short name. See tepl_file_get_short_name().
1334
- */
1335
- readonly short_name: string | null
1336
1250
  /**
1337
1251
  * The file short name. See tepl_file_get_short_name().
1338
1252
  */
@@ -1593,10 +1507,6 @@ module FileSaver {
1593
1507
  * from the #TeplFile at construction time.
1594
1508
  */
1595
1509
  location?: Gio.File | null
1596
- /**
1597
- * The newline type.
1598
- */
1599
- newline_type?: NewlineType | null
1600
1510
  /**
1601
1511
  * The newline type.
1602
1512
  */
@@ -1628,10 +1538,6 @@ interface FileSaver {
1628
1538
  * from the #TeplFile at construction time.
1629
1539
  */
1630
1540
  readonly location: Gio.File
1631
- /**
1632
- * The newline type.
1633
- */
1634
- newline_type: NewlineType
1635
1541
  /**
1636
1542
  * The newline type.
1637
1543
  */
@@ -4344,14 +4250,6 @@ module StyleSchemeChooserWidget {
4344
4250
 
4345
4251
  // Own constructor properties of Tepl-5.Tepl.StyleSchemeChooserWidget
4346
4252
 
4347
- /**
4348
- * The #GtkSourceStyleSchemeChooser:style-scheme ID, as a string. This
4349
- * property is useful for binding it to a #GSettings key.
4350
- *
4351
- * When the #GtkSourceStyleSchemeChooser:style-scheme is %NULL, this
4352
- * property contains the empty string.
4353
- */
4354
- tepl_style_scheme_id?: string | null
4355
4253
  /**
4356
4254
  * The #GtkSourceStyleSchemeChooser:style-scheme ID, as a string. This
4357
4255
  * property is useful for binding it to a #GSettings key.
@@ -4368,14 +4266,6 @@ interface StyleSchemeChooserWidget extends Atk.ImplementorIface, Gtk.Buildable,
4368
4266
 
4369
4267
  // Own properties of Tepl-5.Tepl.StyleSchemeChooserWidget
4370
4268
 
4371
- /**
4372
- * The #GtkSourceStyleSchemeChooser:style-scheme ID, as a string. This
4373
- * property is useful for binding it to a #GSettings key.
4374
- *
4375
- * When the #GtkSourceStyleSchemeChooser:style-scheme is %NULL, this
4376
- * property contains the empty string.
4377
- */
4378
- tepl_style_scheme_id: string | null
4379
4269
  /**
4380
4270
  * The #GtkSourceStyleSchemeChooser:style-scheme ID, as a string. This
4381
4271
  * property is useful for binding it to a #GSettings key.