@gravionlabs/helix-desktop 22.7.0 → 22.9.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.
@@ -1,6 +1,6 @@
1
+ import { DOCUMENT } from "@angular/common";
1
2
  import * as i0 from "@angular/core";
2
3
  import { ChangeDetectionStrategy, Component, Injectable, InjectionToken, computed, inject, input, provideEnvironmentInitializer, signal } from "@angular/core";
3
- import { DOCUMENT } from "@angular/common";
4
4
  import { HxStatusItem, HxStatusPopover, HxStatusVersion, getHxPlatform, getHxPlatformKind, setHxPlatform } from "@gravionlabs/helix-desktop";
5
5
  const noopUpdateBackend = {
6
6
  check: () => Promise.resolve(null),
@@ -95,7 +95,7 @@ var HxStatusAppVersion = class HxStatusAppVersion {
95
95
  info = inject(HX_APP_INFO);
96
96
  static ɵfac = i0.ɵɵngDeclareFactory({
97
97
  minVersion: "12.0.0",
98
- version: "22.2.6",
98
+ version: "22.3.0",
99
99
  ngImport: i0,
100
100
  type: HxStatusAppVersion,
101
101
  deps: [],
@@ -103,7 +103,7 @@ var HxStatusAppVersion = class HxStatusAppVersion {
103
103
  });
104
104
  static ɵcmp = i0.ɵɵngDeclareComponent({
105
105
  minVersion: "14.0.0",
106
- version: "22.2.6",
106
+ version: "22.3.0",
107
107
  type: HxStatusAppVersion,
108
108
  isStandalone: true,
109
109
  selector: "hx-status-app-version",
@@ -120,7 +120,7 @@ var HxStatusAppVersion = class HxStatusAppVersion {
120
120
  };
121
121
  i0.ɵɵngDeclareClassMetadata({
122
122
  minVersion: "12.0.0",
123
- version: "22.2.6",
123
+ version: "22.3.0",
124
124
  ngImport: i0,
125
125
  type: HxStatusAppVersion,
126
126
  decorators: [{
@@ -217,7 +217,7 @@ var HxUpdateService = class HxUpdateService {
217
217
  }
218
218
  static ɵfac = i0.ɵɵngDeclareFactory({
219
219
  minVersion: "12.0.0",
220
- version: "22.2.6",
220
+ version: "22.3.0",
221
221
  ngImport: i0,
222
222
  type: HxUpdateService,
223
223
  deps: [],
@@ -225,7 +225,7 @@ var HxUpdateService = class HxUpdateService {
225
225
  });
226
226
  static ɵprov = i0.ɵɵngDeclareInjectable({
227
227
  minVersion: "12.0.0",
228
- version: "22.2.6",
228
+ version: "22.3.0",
229
229
  ngImport: i0,
230
230
  type: HxUpdateService,
231
231
  providedIn: "root"
@@ -233,7 +233,7 @@ var HxUpdateService = class HxUpdateService {
233
233
  };
234
234
  i0.ɵɵngDeclareClassMetadata({
235
235
  minVersion: "12.0.0",
236
- version: "22.2.6",
236
+ version: "22.3.0",
237
237
  ngImport: i0,
238
238
  type: HxUpdateService,
239
239
  decorators: [{
@@ -296,7 +296,7 @@ var HxStatusUpdate = class HxStatusUpdate {
296
296
  }, ...ngDevMode ? [{ debugName: "errorText" }] : /* istanbul ignore next */ []);
297
297
  static ɵfac = i0.ɵɵngDeclareFactory({
298
298
  minVersion: "12.0.0",
299
- version: "22.2.6",
299
+ version: "22.3.0",
300
300
  ngImport: i0,
301
301
  type: HxStatusUpdate,
302
302
  deps: [],
@@ -304,7 +304,7 @@ var HxStatusUpdate = class HxStatusUpdate {
304
304
  });
305
305
  static ɵcmp = i0.ɵɵngDeclareComponent({
306
306
  minVersion: "17.0.0",
307
- version: "22.2.6",
307
+ version: "22.3.0",
308
308
  type: HxStatusUpdate,
309
309
  isStandalone: true,
310
310
  selector: "hx-status-update",
@@ -399,7 +399,7 @@ var HxStatusUpdate = class HxStatusUpdate {
399
399
  };
400
400
  i0.ɵɵngDeclareClassMetadata({
401
401
  minVersion: "12.0.0",
402
- version: "22.2.6",
402
+ version: "22.3.0",
403
403
  ngImport: i0,
404
404
  type: HxStatusUpdate,
405
405
  decorators: [{
@@ -63,7 +63,7 @@ var HxActivityBar = class HxActivityBar {
63
63
  }
64
64
  static ɵfac = i0.ɵɵngDeclareFactory({
65
65
  minVersion: "12.0.0",
66
- version: "22.2.6",
66
+ version: "22.3.0",
67
67
  ngImport: i0,
68
68
  type: HxActivityBar,
69
69
  deps: [],
@@ -71,7 +71,7 @@ var HxActivityBar = class HxActivityBar {
71
71
  });
72
72
  static ɵcmp = i0.ɵɵngDeclareComponent({
73
73
  minVersion: "17.0.0",
74
- version: "22.2.6",
74
+ version: "22.3.0",
75
75
  type: HxActivityBar,
76
76
  isStandalone: true,
77
77
  selector: "hx-activity-bar",
@@ -138,7 +138,7 @@ var HxActivityBar = class HxActivityBar {
138
138
  };
139
139
  i0.ɵɵngDeclareClassMetadata({
140
140
  minVersion: "12.0.0",
141
- version: "22.2.6",
141
+ version: "22.3.0",
142
142
  ngImport: i0,
143
143
  type: HxActivityBar,
144
144
  decorators: [{
@@ -359,7 +359,7 @@ var HxAppShell = class HxAppShell {
359
359
  }
360
360
  static ɵfac = i0.ɵɵngDeclareFactory({
361
361
  minVersion: "12.0.0",
362
- version: "22.2.6",
362
+ version: "22.3.0",
363
363
  ngImport: i0,
364
364
  type: HxAppShell,
365
365
  deps: [],
@@ -367,7 +367,7 @@ var HxAppShell = class HxAppShell {
367
367
  });
368
368
  static ɵcmp = i0.ɵɵngDeclareComponent({
369
369
  minVersion: "17.0.0",
370
- version: "22.2.6",
370
+ version: "22.3.0",
371
371
  type: HxAppShell,
372
372
  isStandalone: true,
373
373
  selector: "hx-app-shell",
@@ -480,7 +480,7 @@ var HxAppShell = class HxAppShell {
480
480
  };
481
481
  i0.ɵɵngDeclareClassMetadata({
482
482
  minVersion: "12.0.0",
483
- version: "22.2.6",
483
+ version: "22.3.0",
484
484
  ngImport: i0,
485
485
  type: HxAppShell,
486
486
  decorators: [{
@@ -625,7 +625,7 @@ var HxAppToolbar = class HxAppToolbar {
625
625
  });
626
626
  static ɵfac = i0.ɵɵngDeclareFactory({
627
627
  minVersion: "12.0.0",
628
- version: "22.2.6",
628
+ version: "22.3.0",
629
629
  ngImport: i0,
630
630
  type: HxAppToolbar,
631
631
  deps: [],
@@ -633,7 +633,7 @@ var HxAppToolbar = class HxAppToolbar {
633
633
  });
634
634
  static ɵcmp = i0.ɵɵngDeclareComponent({
635
635
  minVersion: "17.1.0",
636
- version: "22.2.6",
636
+ version: "22.3.0",
637
637
  type: HxAppToolbar,
638
638
  isStandalone: true,
639
639
  selector: "hx-app-toolbar",
@@ -656,7 +656,7 @@ var HxAppToolbar = class HxAppToolbar {
656
656
  };
657
657
  i0.ɵɵngDeclareClassMetadata({
658
658
  minVersion: "12.0.0",
659
- version: "22.2.6",
659
+ version: "22.3.0",
660
660
  ngImport: i0,
661
661
  type: HxAppToolbar,
662
662
  decorators: [{
@@ -696,7 +696,7 @@ var HxBottomBar = class HxBottomBar {
696
696
  }
697
697
  static ɵfac = i0.ɵɵngDeclareFactory({
698
698
  minVersion: "12.0.0",
699
- version: "22.2.6",
699
+ version: "22.3.0",
700
700
  ngImport: i0,
701
701
  type: HxBottomBar,
702
702
  deps: [],
@@ -704,7 +704,7 @@ var HxBottomBar = class HxBottomBar {
704
704
  });
705
705
  static ɵcmp = i0.ɵɵngDeclareComponent({
706
706
  minVersion: "17.0.0",
707
- version: "22.2.6",
707
+ version: "22.3.0",
708
708
  type: HxBottomBar,
709
709
  isStandalone: true,
710
710
  selector: "hx-bottom-bar",
@@ -754,7 +754,7 @@ var HxBottomBar = class HxBottomBar {
754
754
  };
755
755
  i0.ɵɵngDeclareClassMetadata({
756
756
  minVersion: "12.0.0",
757
- version: "22.2.6",
757
+ version: "22.3.0",
758
758
  ngImport: i0,
759
759
  type: HxBottomBar,
760
760
  decorators: [{
@@ -834,7 +834,7 @@ var HxMobileShell = class HxMobileShell {
834
834
  }
835
835
  static ɵfac = i0.ɵɵngDeclareFactory({
836
836
  minVersion: "12.0.0",
837
- version: "22.2.6",
837
+ version: "22.3.0",
838
838
  ngImport: i0,
839
839
  type: HxMobileShell,
840
840
  deps: [],
@@ -842,7 +842,7 @@ var HxMobileShell = class HxMobileShell {
842
842
  });
843
843
  static ɵcmp = i0.ɵɵngDeclareComponent({
844
844
  minVersion: "17.1.0",
845
- version: "22.2.6",
845
+ version: "22.3.0",
846
846
  type: HxMobileShell,
847
847
  isStandalone: true,
848
848
  selector: "hx-mobile-shell",
@@ -944,7 +944,7 @@ var HxMobileShell = class HxMobileShell {
944
944
  };
945
945
  i0.ɵɵngDeclareClassMetadata({
946
946
  minVersion: "12.0.0",
947
- version: "22.2.6",
947
+ version: "22.3.0",
948
948
  ngImport: i0,
949
949
  type: HxMobileShell,
950
950
  decorators: [{
@@ -1046,7 +1046,7 @@ function setHxPlatform(platform, root = document.documentElement) {
1046
1046
  var HxStatusBar = class HxStatusBar {
1047
1047
  static ɵfac = i0.ɵɵngDeclareFactory({
1048
1048
  minVersion: "12.0.0",
1049
- version: "22.2.6",
1049
+ version: "22.3.0",
1050
1050
  ngImport: i0,
1051
1051
  type: HxStatusBar,
1052
1052
  deps: [],
@@ -1054,7 +1054,7 @@ var HxStatusBar = class HxStatusBar {
1054
1054
  });
1055
1055
  static ɵcmp = i0.ɵɵngDeclareComponent({
1056
1056
  minVersion: "14.0.0",
1057
- version: "22.2.6",
1057
+ version: "22.3.0",
1058
1058
  type: HxStatusBar,
1059
1059
  isStandalone: true,
1060
1060
  selector: "hx-status-bar",
@@ -1066,7 +1066,7 @@ var HxStatusBar = class HxStatusBar {
1066
1066
  };
1067
1067
  i0.ɵɵngDeclareClassMetadata({
1068
1068
  minVersion: "12.0.0",
1069
- version: "22.2.6",
1069
+ version: "22.3.0",
1070
1070
  ngImport: i0,
1071
1071
  type: HxStatusBar,
1072
1072
  decorators: [{
@@ -1082,7 +1082,7 @@ i0.ɵɵngDeclareClassMetadata({
1082
1082
  var HxStatusPopover = class HxStatusPopover {
1083
1083
  static ɵfac = i0.ɵɵngDeclareFactory({
1084
1084
  minVersion: "12.0.0",
1085
- version: "22.2.6",
1085
+ version: "22.3.0",
1086
1086
  ngImport: i0,
1087
1087
  type: HxStatusPopover,
1088
1088
  deps: [],
@@ -1090,7 +1090,7 @@ var HxStatusPopover = class HxStatusPopover {
1090
1090
  });
1091
1091
  static ɵdir = i0.ɵɵngDeclareDirective({
1092
1092
  minVersion: "14.0.0",
1093
- version: "22.2.6",
1093
+ version: "22.3.0",
1094
1094
  type: HxStatusPopover,
1095
1095
  isStandalone: true,
1096
1096
  selector: "[hxStatusPopover]",
@@ -1099,7 +1099,7 @@ var HxStatusPopover = class HxStatusPopover {
1099
1099
  };
1100
1100
  i0.ɵɵngDeclareClassMetadata({
1101
1101
  minVersion: "12.0.0",
1102
- version: "22.2.6",
1102
+ version: "22.3.0",
1103
1103
  ngImport: i0,
1104
1104
  type: HxStatusPopover,
1105
1105
  decorators: [{
@@ -1133,7 +1133,7 @@ var HxStatusItem = class HxStatusItem {
1133
1133
  }
1134
1134
  static ɵfac = i0.ɵɵngDeclareFactory({
1135
1135
  minVersion: "12.0.0",
1136
- version: "22.2.6",
1136
+ version: "22.3.0",
1137
1137
  ngImport: i0,
1138
1138
  type: HxStatusItem,
1139
1139
  deps: [],
@@ -1141,7 +1141,7 @@ var HxStatusItem = class HxStatusItem {
1141
1141
  });
1142
1142
  static ɵcmp = i0.ɵɵngDeclareComponent({
1143
1143
  minVersion: "17.0.0",
1144
- version: "22.2.6",
1144
+ version: "22.3.0",
1145
1145
  type: HxStatusItem,
1146
1146
  isStandalone: true,
1147
1147
  selector: "hx-status-item",
@@ -1238,7 +1238,7 @@ var HxStatusItem = class HxStatusItem {
1238
1238
  };
1239
1239
  i0.ɵɵngDeclareClassMetadata({
1240
1240
  minVersion: "12.0.0",
1241
- version: "22.2.6",
1241
+ version: "22.3.0",
1242
1242
  ngImport: i0,
1243
1243
  type: HxStatusItem,
1244
1244
  decorators: [{
@@ -1335,7 +1335,7 @@ var HxStatusVersion = class HxStatusVersion {
1335
1335
  channel = input(null, ...ngDevMode ? [{ debugName: "channel" }] : /* istanbul ignore next */ []);
1336
1336
  static ɵfac = i0.ɵɵngDeclareFactory({
1337
1337
  minVersion: "12.0.0",
1338
- version: "22.2.6",
1338
+ version: "22.3.0",
1339
1339
  ngImport: i0,
1340
1340
  type: HxStatusVersion,
1341
1341
  deps: [],
@@ -1343,7 +1343,7 @@ var HxStatusVersion = class HxStatusVersion {
1343
1343
  });
1344
1344
  static ɵcmp = i0.ɵɵngDeclareComponent({
1345
1345
  minVersion: "17.0.0",
1346
- version: "22.2.6",
1346
+ version: "22.3.0",
1347
1347
  type: HxStatusVersion,
1348
1348
  isStandalone: true,
1349
1349
  selector: "hx-status-version",
@@ -1371,7 +1371,7 @@ var HxStatusVersion = class HxStatusVersion {
1371
1371
  };
1372
1372
  i0.ɵɵngDeclareClassMetadata({
1373
1373
  minVersion: "12.0.0",
1374
- version: "22.2.6",
1374
+ version: "22.3.0",
1375
1375
  ngImport: i0,
1376
1376
  type: HxStatusVersion,
1377
1377
  decorators: [{
@@ -1417,7 +1417,7 @@ var HxStatusZoom = class HxStatusZoom {
1417
1417
  }
1418
1418
  static ɵfac = i0.ɵɵngDeclareFactory({
1419
1419
  minVersion: "12.0.0",
1420
- version: "22.2.6",
1420
+ version: "22.3.0",
1421
1421
  ngImport: i0,
1422
1422
  type: HxStatusZoom,
1423
1423
  deps: [],
@@ -1425,7 +1425,7 @@ var HxStatusZoom = class HxStatusZoom {
1425
1425
  });
1426
1426
  static ɵcmp = i0.ɵɵngDeclareComponent({
1427
1427
  minVersion: "17.1.0",
1428
- version: "22.2.6",
1428
+ version: "22.3.0",
1429
1429
  type: HxStatusZoom,
1430
1430
  isStandalone: true,
1431
1431
  selector: "hx-status-zoom",
@@ -1475,7 +1475,7 @@ var HxStatusZoom = class HxStatusZoom {
1475
1475
  };
1476
1476
  i0.ɵɵngDeclareClassMetadata({
1477
1477
  minVersion: "12.0.0",
1478
- version: "22.2.6",
1478
+ version: "22.3.0",
1479
1479
  ngImport: i0,
1480
1480
  type: HxStatusZoom,
1481
1481
  decorators: [{
package/package.json CHANGED
@@ -1,6 +1,4 @@
1
1
  {
2
- "name": "@gravionlabs/helix-desktop",
3
- "version": "22.7.0",
4
2
  "description": "Helix desktop frame for Angular: activity bar, views, status bar and the platform switch. Tauri bindings in the optional /tauri entry.",
5
3
  "license": "MIT",
6
4
  "keywords": [
@@ -43,12 +41,13 @@
43
41
  "optional": true
44
42
  }
45
43
  },
46
- "module": "fesm2022/gravionlabs-helix-desktop.mjs",
47
- "typings": "types/gravionlabs-helix-desktop.d.ts",
44
+ "name": "@gravionlabs/helix-desktop",
45
+ "type": "module",
46
+ "main": "./fesm2022/gravionlabs-helix-desktop.mjs",
47
+ "module": "./fesm2022/gravionlabs-helix-desktop.mjs",
48
+ "typings": "./types/gravionlabs-helix-desktop.d.ts",
49
+ "types": "./types/gravionlabs-helix-desktop.d.ts",
48
50
  "exports": {
49
- "./package.json": {
50
- "default": "./package.json"
51
- },
52
51
  ".": {
53
52
  "types": "./types/gravionlabs-helix-desktop.d.ts",
54
53
  "default": "./fesm2022/gravionlabs-helix-desktop.mjs"
@@ -57,7 +56,10 @@
57
56
  "types": "./types/gravionlabs-helix-desktop-tauri.d.ts",
58
57
  "default": "./fesm2022/gravionlabs-helix-desktop-tauri.mjs"
59
58
  },
59
+ "./package.json": {
60
+ "default": "./package.json"
61
+ },
60
62
  "./styles.css": "./styles.css"
61
63
  },
62
- "type": "module"
64
+ "version": "22.9.0"
63
65
  }
@@ -1,4 +1,5 @@
1
1
  {
2
2
  "module": "../fesm2022/gravionlabs-helix-desktop-tauri.mjs",
3
- "typings": "../types/gravionlabs-helix-desktop-tauri.d.ts"
4
- }
3
+ "typings": "../types/gravionlabs-helix-desktop-tauri.d.ts",
4
+ "types": "../types/gravionlabs-helix-desktop-tauri.d.ts"
5
+ }
@@ -24,7 +24,7 @@ export declare function detectHxOs(ua?: string, tauri?: boolean): HxOs;
24
24
  export declare function providePlatform(os?: HxOs): EnvironmentProviders;
25
25
  /** The app version with the `RC` badge on a release candidate; reads `provideHxAppInfo()`. */
26
26
  export declare class HxStatusAppVersion {
27
- protected readonly info: import("@gravionlabs/helix-desktop/tauri").HxAppInfo;
27
+ protected readonly info: HxAppInfo;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<HxStatusAppVersion, never>;
29
29
  static ɵcmp: i0.ɵɵComponentDeclaration<HxStatusAppVersion, "hx-status-app-version", never, {}, {}, never, never, true, never>;
30
30
  }
@@ -105,7 +105,7 @@ export declare class HxUpdateService {
105
105
  /** True while a manual check shows its "up to date" result. */
106
106
  readonly currentShown: import("@angular/core").Signal<boolean>;
107
107
  readonly version: string;
108
- readonly channel: import("@gravionlabs/helix-desktop/tauri").HxChannel;
108
+ readonly channel: HxChannel;
109
109
  /** The found update, while available or installing. */
110
110
  readonly update: import("@angular/core").Signal<HxUpdateInfo | null>;
111
111
  /** The automatic check at startup; skipped for an RC build. */
@@ -145,7 +145,7 @@ export declare class HxStatusUpdate {
145
145
  /** Show the item in `idle` and `current` too, as "Check for updates"; a click runs a manual check. */
146
146
  readonly alwaysVisible: import("@angular/core").InputSignal<boolean>;
147
147
  protected readonly open: import("@angular/core").WritableSignal<boolean>;
148
- protected readonly state: import("@angular/core").Signal<import("@gravionlabs/helix-desktop/tauri").HxUpdateState>;
148
+ protected readonly state: import("@angular/core").Signal<HxUpdateState>;
149
149
  protected readonly visible: import("@angular/core").Signal<boolean>;
150
150
  /** An item that only starts a check (idle, current): no popover. */
151
151
  protected readonly checkOnly: import("@angular/core").Signal<boolean>;
@@ -341,7 +341,7 @@ export declare class HxBottomBar {
341
341
  */
342
342
  export declare class HxMobileShell {
343
343
  /** The views and actions of the bottom bar (at most five are shown). */
344
- readonly items: import("@angular/core").InputSignal<readonly import("@gravionlabs/helix-desktop").HxActivityBarItem[]>;
344
+ readonly items: import("@angular/core").InputSignal<readonly HxActivityBarItem[]>;
345
345
  /** The id of the active view (two-way). */
346
346
  readonly activeId: import("@angular/core").ModelSignal<string | null>;
347
347
  /** Whether the drawer is open (two-way). */