@noldova/git.window 0.0.17 → 0.0.19

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.
Files changed (84) hide show
  1. package/package.json +10 -10
  2. package/src/api/index.d.ts +53 -4
  3. package/src/api/index.js +1 -0
  4. package/src/api/index.js.map +1 -1
  5. package/src/app/components/git-account-dialog/git-account-dialog.component.js +3 -3
  6. package/src/app/components/git-accounts/git-accounts.component.js +3 -3
  7. package/src/app/components/git-agents/git-agents.component.js +3 -3
  8. package/src/app/components/git-branch-card/git-branch-card.component.js +3 -3
  9. package/src/app/components/git-branch-drop/git-branch-drop.component.js +3 -3
  10. package/src/app/components/git-bulk-branch-dialog/git-bulk-branch-dialog.component.js +3 -3
  11. package/src/app/components/git-bulk-push-dialog/git-bulk-push-dialog.component.js +3 -3
  12. package/src/app/components/git-clone-dialog/git-clone-dialog.component.js +6 -10
  13. package/src/app/components/git-clone-dialog/git-clone-dialog.component.js.map +1 -1
  14. package/src/app/components/git-command-log/git-command-log.component.js +3 -3
  15. package/src/app/components/git-commit-card/git-commit-card.component.js +3 -3
  16. package/src/app/components/git-commit-detail/git-commit-detail.component.js +3 -3
  17. package/src/app/components/git-commit-detail-view/git-commit-detail-view.component.js +3 -3
  18. package/src/app/components/git-commit-document/git-commit-document.component.js +3 -3
  19. package/src/app/components/git-conflict-detail/git-conflict-detail.component.js +3 -3
  20. package/src/app/components/git-conflicts/git-conflicts.component.js +5 -5
  21. package/src/app/components/git-conflicts/git-conflicts.component.js.map +1 -1
  22. package/src/app/components/git-dashboard/git-dashboard.component.js +3 -3
  23. package/src/app/components/git-diff-files/git-diff-files.component.js +3 -3
  24. package/src/app/components/git-discard-dialog/git-discard-dialog.component.js +3 -3
  25. package/src/app/components/git-file-group/git-file-group.component.js +3 -3
  26. package/src/app/components/git-file-layout-button/git-file-layout-button.component.js +3 -3
  27. package/src/app/components/git-force-push-dialog/git-force-push-dialog.component.js +3 -3
  28. package/src/app/components/git-history/git-history.component.js +29 -15
  29. package/src/app/components/git-history/git-history.component.js.map +1 -1
  30. package/src/app/components/git-host-row/git-host-row.component.js +3 -3
  31. package/src/app/components/git-person-avatar/git-person-avatar.component.js +3 -3
  32. package/src/app/components/git-pull-request-commits/git-pull-request-commits.component.js +3 -3
  33. package/src/app/components/git-pull-request-conflicts/git-pull-request-conflicts.component.js +3 -3
  34. package/src/app/components/git-pull-request-files/git-pull-request-files.component.js +3 -3
  35. package/src/app/components/git-pull-request-threads/git-pull-request-threads.component.js +11 -12
  36. package/src/app/components/git-pull-request-threads/git-pull-request-threads.component.js.map +1 -1
  37. package/src/app/components/git-pull-requests/git-pull-requests.component.js +3 -3
  38. package/src/app/components/git-rebase/git-rebase.component.js +3 -3
  39. package/src/app/components/git-rebase-preview/git-rebase-preview.component.js +3 -3
  40. package/src/app/components/git-reference-text/git-reference-text.component.js +3 -3
  41. package/src/app/components/git-repository/git-repository.component.js +19 -17
  42. package/src/app/components/git-repository/git-repository.component.js.map +1 -1
  43. package/src/app/components/git-repository-scan-dialog/git-repository-scan-dialog.component.js +3 -3
  44. package/src/app/components/git-switch-merge-dialog/git-switch-merge-dialog.component.js +3 -3
  45. package/src/app/components/git-undo-menu/git-undo-menu.component.js +3 -3
  46. package/src/app/components/git-view/git-view.component.js +4 -17
  47. package/src/app/components/git-view/git-view.component.js.map +1 -1
  48. package/src/app/components/git-workspace/git-visible.directive.js +3 -3
  49. package/src/app/components/git-workspace/git-workspace.component.js +59 -7
  50. package/src/app/components/git-workspace/git-workspace.component.js.map +1 -1
  51. package/src/app/components/git-workspace-across/git-workspace-across.component.js +3 -3
  52. package/src/app/components/git-workspace-across-view/git-workspace-across-view.component.js +3 -3
  53. package/src/app/components/git-workspaces/git-workspaces.component.js +4 -4
  54. package/src/app/enums/git-workspace-column.js +19 -0
  55. package/src/app/enums/git-workspace-column.js.map +1 -0
  56. package/src/app/models/git-force-push-offer.js +20 -3
  57. package/src/app/models/git-force-push-offer.js.map +1 -1
  58. package/src/app/models/git-workspace-header.js +31 -0
  59. package/src/app/models/git-workspace-header.js.map +1 -0
  60. package/src/app/models/git-workspace-overview.js +11 -0
  61. package/src/app/models/git-workspace-overview.js.map +1 -1
  62. package/src/app/models/git-workspace-page-sort.js +32 -0
  63. package/src/app/models/git-workspace-page-sort.js.map +1 -0
  64. package/src/app/models/git-workspace-row.js +7 -2
  65. package/src/app/models/git-workspace-row.js.map +1 -1
  66. package/src/app/models/git-workspace-sort.js +81 -0
  67. package/src/app/models/git-workspace-sort.js.map +1 -0
  68. package/src/app/services/git-action-notices.js +36 -0
  69. package/src/app/services/git-action-notices.js.map +1 -0
  70. package/src/app/services/git-code-colors.js +3 -3
  71. package/src/app/services/git-recent-repositories.js +18 -6
  72. package/src/app/services/git-recent-repositories.js.map +1 -1
  73. package/src/app/services/git-view-commands.js +46 -3
  74. package/src/app/services/git-view-commands.js.map +1 -1
  75. package/src/app/services/git-view-state.service.js +63 -75
  76. package/src/app/services/git-view-state.service.js.map +1 -1
  77. package/src/app/services/git-window-part.js +4 -1
  78. package/src/app/services/git-window-part.js.map +1 -1
  79. package/src/app/services/git-workspace-sorts.js +43 -0
  80. package/src/app/services/git-workspace-sorts.js.map +1 -0
  81. package/src/app/services/git-workspaces.js +3 -0
  82. package/src/app/services/git-workspaces.js.map +1 -1
  83. package/src/resources.js +49 -0
  84. package/src/resources.js.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noldova/git.window",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "description": "The Git module's window part: the Git view of a folder's branch, changes and commit.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -32,9 +32,9 @@
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@angular/cdk": ">=22.3.0 <23.0.0",
35
- "@angular/common": ">=22.3.0 <23.0.0",
36
- "@angular/core": ">=22.3.0 <23.0.0",
37
- "@angular/forms": ">=22.3.0 <23.0.0",
35
+ "@angular/common": ">=22.3.2 <23.0.0",
36
+ "@angular/core": ">=22.3.2 <23.0.0",
37
+ "@angular/forms": ">=22.3.2 <23.0.0",
38
38
  "@noldova/code.editor": ">=0.0.3 <0.1.0",
39
39
  "@noldova/code.editor.angular": ">=0.0.3 <0.1.0",
40
40
  "@noldova/code.editor.merge.angular": ">=0.0.3 <0.1.0",
@@ -42,9 +42,9 @@
42
42
  "@noldova/context.core": ">=0.0.18 <0.1.0",
43
43
  "@noldova/context.exceptions": ">=0.0.18 <0.1.0",
44
44
  "@noldova/context.json": ">=0.0.18 <0.1.0",
45
- "@noldova/desktop.protocol": ">=0.0.24 <0.1.0",
46
- "@noldova/desktop.window": ">=0.0.24 <0.1.0",
47
- "@noldova/ui.components.angular": ">=0.0.50 <0.1.0"
45
+ "@noldova/desktop.protocol": ">=0.0.29 <0.1.0",
46
+ "@noldova/desktop.window": ">=0.0.29 <0.1.0",
47
+ "@noldova/ui.components.angular": ">=0.0.52 <0.1.0"
48
48
  },
49
49
  "peerDependenciesMeta": {
50
50
  "@angular/cdk": {
@@ -91,8 +91,8 @@
91
91
  }
92
92
  },
93
93
  "dependencies": {
94
- "@noldova/git.hosting.protocol": "0.0.17",
95
- "@noldova/git.protocol": "0.0.17"
94
+ "@noldova/git.hosting.protocol": "0.0.19",
95
+ "@noldova/git.protocol": "0.0.19"
96
96
  },
97
- "gitHead": "fa612262b7a7dbb77940eacbbd1c5e9dd5f16bd1"
97
+ "gitHead": "3600adfff90c3deaf05f86ae7757369020d65f2f"
98
98
  }
@@ -752,6 +752,52 @@ export interface IProvidedGitHostAccount {
752
752
  readonly account: IGitHostAccount;
753
753
  }
754
754
 
755
+ /**
756
+ * Posts a Git action's result as one of Desktop's notifications, which toasts and stays in the notification list until the person dismisses it.
757
+ * Each module posts its own kinds, `<module>.actionFailed`, `<module>.actionWarning` and `<module>.actionDone`, which its manifest declares under
758
+ * `contributes.notifications`.
759
+ */
760
+ export declare class GitActionNotices {
761
+ /**
762
+ * @param context The window part's context, which posts the notifications.
763
+ * @param module The id of the module that posts them, which names their kinds.
764
+ */
765
+ public constructor(context: IWindowPartContext, module: string);
766
+
767
+ /**
768
+ * Posts an action that was refused or failed, as an error.
769
+ * @param action The action, as its control names it, which titles the notification.
770
+ * @param message What went wrong.
771
+ * @returns A promise that settles once Desktop took the notification.
772
+ * @example
773
+ * ```ts
774
+ * import type { IWindowPartContext } from "@noldova/desktop.window";
775
+ * import { GitActionNotices } from "@noldova/git.window";
776
+ *
777
+ * export async function voteFailedAsync(context: IWindowPartContext, message: string): Promise<void> {
778
+ * await new GitActionNotices(context, "git-azure-devops").failAsync("Approve", message);
779
+ * }
780
+ * ```
781
+ */
782
+ public failAsync(action: string, message: string): Promise<void>;
783
+
784
+ /**
785
+ * Posts an action that went through with something to look at, as a warning.
786
+ * @param action The action, as its control names it, which titles the notification.
787
+ * @param message What to look at.
788
+ * @returns A promise that settles once Desktop took the notification.
789
+ */
790
+ public warnAsync(action: string, message: string): Promise<void>;
791
+
792
+ /**
793
+ * Posts an action that went through and whose end shows nowhere else, as a success.
794
+ * @param action The action, as its control names it, which titles the notification.
795
+ * @param message What it did, or `null` for the title alone.
796
+ * @returns A promise that settles once Desktop took the notification.
797
+ */
798
+ public succeedAsync(action: string, message: string | null): Promise<void>;
799
+ }
800
+
755
801
  /**
756
802
  * The folder the Git view shows, which the app provides.
757
803
  */
@@ -1327,7 +1373,7 @@ export declare class GitWorkspaces {
1327
1373
 
1328
1374
  /**
1329
1375
  * The repositories opened lately, newest first, kept in the window's storage. The Git module's `git.openHistory` command puts the repository it
1330
- * opens first, and the workspace page lists them as its open repositories.
1376
+ * opens first. The recent list keeps the newest twenty; the opened set keeps every repository until it's forgotten, and the Dashboard lists it.
1331
1377
  * @example
1332
1378
  * ```ts
1333
1379
  * import { computed, type Signal } from "@angular/core";
@@ -1340,17 +1386,20 @@ export declare class GitRecentRepositories {
1340
1386
  /** The repositories' absolute folders, newest first, at most twenty. */
1341
1387
  public static readonly recent: Signal<readonly string[]>;
1342
1388
 
1343
- /** Reads the list kept in the window's storage again, keeping only its folders. */
1389
+ /** Every repository remembered and not forgotten, newest first, with no limit: the Dashboard's repositories. */
1390
+ public static readonly opened: Signal<readonly string[]>;
1391
+
1392
+ /** Reads the recent list and the opened set kept in the window's storage again, keeping only their folders; the opened set takes in any recent folder it lacks. */
1344
1393
  public static restore(): void;
1345
1394
 
1346
1395
  /**
1347
- * Puts a repository first, and drops the oldest past twenty.
1396
+ * Puts a repository first in the recent list, dropping the oldest past twenty, and first in the opened set, which drops none.
1348
1397
  * @param folder The repository's absolute folder.
1349
1398
  */
1350
1399
  public static remember(folder: string): void;
1351
1400
 
1352
1401
  /**
1353
- * Takes repositories off the list.
1402
+ * Takes repositories off the recent list and the opened set.
1354
1403
  * @param folders The repositories' absolute folders.
1355
1404
  */
1356
1405
  public static forget(folders: ReadonlySet<string>): void;
package/src/api/index.js CHANGED
@@ -20,6 +20,7 @@ export { GitPullRequestRow } from "../app/models/git-pull-request-row.js";
20
20
  export { GitBranchPullRequest } from "../app/models/git-branch-pull-request.js";
21
21
  export { GitCommitComments } from "../app/models/git-commit-comments.js";
22
22
  export { GitHostCard } from "../app/models/git-host-card.js";
23
+ export { GitActionNotices } from "../app/services/git-action-notices.js";
23
24
  export { GitFolder } from "../app/services/git-folder.js";
24
25
  export { GitViewOptions } from "../app/services/git-view-options.js";
25
26
  export { GitHostRows } from "../app/services/git-host-rows.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/noldova.git.window/src/api/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAWnD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAElE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACnG,OAAO,EAAE,qBAAqB,EAAE,MAAM,8DAA8D,CAAC;AACrG,OAAO,EAAE,8BAA8B,EAAE,MAAM,kFAAkF,CAAC;AAClI,OAAO,EAAE,gCAAgC,EAAE,MAAM,sFAAsF,CAAC;AACxI,OAAO,EAAE,4BAA4B,EAAE,MAAM,8EAA8E,CAAC;AAC5H,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,8BAA8B,EAAE,MAAM,kFAAkF,CAAC;AAClI,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/noldova.git.window/src/api/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAWnD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAElE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACnG,OAAO,EAAE,qBAAqB,EAAE,MAAM,8DAA8D,CAAC;AACrG,OAAO,EAAE,8BAA8B,EAAE,MAAM,kFAAkF,CAAC;AAClI,OAAO,EAAE,gCAAgC,EAAE,MAAM,sFAAsF,CAAC;AACxI,OAAO,EAAE,4BAA4B,EAAE,MAAM,8EAA8E,CAAC;AAC5H,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,8BAA8B,EAAE,MAAM,kFAAkF,CAAC;AAClI,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC"}
@@ -23,10 +23,10 @@ export class GitAccountDialogComponent {
23
23
  chosen = input(null, /* @ts-ignore */
24
24
  ...(ngDevMode ? [{ debugName: "chosen" }] : /* istanbul ignore next */ []));
25
25
  closed = output();
26
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitAccountDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
27
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.3.0", type: GitAccountDialogComponent, isStandalone: true, selector: "nol-git-account-dialog", inputs: { account: { classPropertyName: "account", publicName: "account", isSignal: true, isRequired: true, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, chosen: { classPropertyName: "chosen", publicName: "chosen", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closed: "closed" }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-dialog [title]=\"title()\" (dismissed)=\"closed.emit()\">\n <ng-container *ngComponentOutlet=\"account().account.signIn; injector: hostInjector()\" />\n</nol-dialog>\n", dependencies: [{ kind: "component", type: DialogComponent, selector: "nol-dialog", inputs: ["title", "size"], outputs: ["dismissed"] }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }] });
26
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitAccountDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
27
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.3.2", type: GitAccountDialogComponent, isStandalone: true, selector: "nol-git-account-dialog", inputs: { account: { classPropertyName: "account", publicName: "account", isSignal: true, isRequired: true, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, chosen: { classPropertyName: "chosen", publicName: "chosen", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closed: "closed" }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-dialog [title]=\"title()\" (dismissed)=\"closed.emit()\">\n <ng-container *ngComponentOutlet=\"account().account.signIn; injector: hostInjector()\" />\n</nol-dialog>\n", dependencies: [{ kind: "component", type: DialogComponent, selector: "nol-dialog", inputs: ["title", "size"], outputs: ["dismissed"] }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }] });
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitAccountDialogComponent, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitAccountDialogComponent, decorators: [{
30
30
  type: Component,
31
31
  args: [{ selector: "nol-git-account-dialog", imports: [DialogComponent, NgComponentOutlet], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-dialog [title]=\"title()\" (dismissed)=\"closed.emit()\">\n <ng-container *ngComponentOutlet=\"account().account.signIn; injector: hostInjector()\" />\n</nol-dialog>\n" }]
32
32
  }], propDecorators: { account: [{ type: i0.Input, args: [{ isSignal: true, alias: "account", required: true }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: true }] }], chosen: [{ type: i0.Input, args: [{ isSignal: true, alias: "chosen", required: false }] }], closed: [{ type: i0.Output, args: ["closed"] }] } });
@@ -38,10 +38,10 @@ export class GitAccountsComponent {
38
38
  dialog.close();
39
39
  });
40
40
  }
41
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitAccountsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
42
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitAccountsComponent, isStandalone: true, selector: "nol-git-accounts", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"page\">\n <section class=\"accounts\" [attr.aria-label]=\"resources.accountsTitle\">\n <div class=\"head\">\n <h2 class=\"title\">{{ resources.accountsTitle }}</h2>\n <button type=\"button\" nol-button class=\"add\" [disabled]=\"accounts().length === 0\" [nolMenuTriggerFor]=\"hosts\">\n <span class=\"material-symbols-rounded\" nolButtonIcon aria-hidden=\"true\">{{ resources.addAccountIcon }}</span>{{ resources.addAccount }}\n </button>\n <ng-template #hosts>\n <nol-menu>\n @for (provided of accounts(); track provided) {\n <button nol-menu-item [label]=\"provided.account.host\" (triggered)=\"open(provided, resources.formatSignInTitle(provided.account.host))\"></button>\n }\n </nol-menu>\n </ng-template>\n </div>\n <p class=\"intro\">{{ resources.accountsIntro }}</p>\n @for (provided of accounts(); track provided) {\n <div class=\"host\" [attr.data-setting]=\"rowOf(provided)\">\n @for (card of provided.account.cards(); track $index) {\n <div class=\"card\">\n @if (card.person; as person) {\n <span class=\"mark person\" aria-hidden=\"true\">\n <nol-avatar [name]=\"person.login\" [image]=\"person.avatar\" [initials]=\"initialOf(person)\" [colorKey]=\"person.login\" [decorative]=\"true\" />\n </span>\n } @else {\n <span class=\"mark\" [style.background-color]=\"provided.account.markColor\" aria-hidden=\"true\">{{ provided.account.mark }}</span>\n }\n <span class=\"text\">\n <span class=\"card-title\">{{ card.title }}</span>\n <span class=\"detail\">{{ card.detail }}</span>\n </span>\n @if (card.asksToSignIn) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"open(provided, resources.formatSignInTitle(provided.account.host), card.account)\">{{ card.label }}</button>\n } @else {\n <span class=\"end\">\n <nol-chip [kind]=\"chipOf(card)\">{{ card.label }}</nol-chip>\n <button type=\"button\" nol-icon-button [icon]=\"resources.manageAccountIcon\" [label]=\"resources.formatManageAccount(provided.account.host)\"\n [nolTooltip]=\"resources.formatManageAccount(provided.account.host)\"\n (click)=\"open(provided, resources.formatAccountRowTitle(provided.account.host), card.account)\"></button>\n </span>\n }\n </div>\n }\n </div>\n } @empty {\n <p class=\"intro\">{{ resources.noHosts }}</p>\n }\n </section>\n <section class=\"features\" [attr.aria-label]=\"resources.featuresTitle\">\n <h2 class=\"title\">{{ resources.featuresTitle }}</h2>\n <div class=\"matrix\" role=\"table\" [attr.aria-label]=\"resources.featuresTitle\" [style.--git-host-columns]=\"accounts().length\">\n <div class=\"matrix-row caps\" role=\"row\">\n <span role=\"columnheader\"></span>\n @for (provided of accounts(); track provided) {\n <span role=\"columnheader\">{{ provided.account.column }}</span>\n }\n </div>\n @for (feature of resources.hostFeatures; track feature) {\n <div class=\"matrix-row\" role=\"row\">\n <span role=\"rowheader\">{{ resources.hostFeatureTitles[feature] }}</span>\n @for (provided of accounts(); track provided) {\n <span role=\"cell\" class=\"answer\" [class.yes]=\"has(provided, feature)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ has(provided, feature) ? resources.featureYesIcon : resources.featureNoIcon }}</span>\n <span class=\"answer-text\">{{ has(provided, feature) ? resources.featureYes : resources.featureNo }}</span>\n </span>\n }\n </div>\n }\n </div>\n </section>\n</div>\n", styles: ["/*\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n container-type: inline-size;\n}\n\n.page {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: var(--nol-space-4);\n align-items: start;\n}\n\n@container (min-width: 48rem) {\n .page {\n grid-template-columns: minmax(0, 1fr) 26rem;\n }\n}\n\n.accounts,\n.features {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.accounts {\n gap: var(--nol-space-3);\n}\n\n.features {\n gap: var(--nol-space-2);\n}\n\n.head {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.title {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n font-size: var(--nol-text-title);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.intro {\n margin: 0;\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.host {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-3);\n}\n\n.card {\n display: grid;\n grid-template-columns: 2rem minmax(0, 1fr) auto;\n gap: var(--nol-space-3);\n align-items: center;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background: var(--nol-panel);\n}\n\n.mark {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: var(--nol-radius-medium);\n color: var(--nol-button-text);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.mark.person {\n flex-shrink: 0;\n}\n\n.text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.card-title,\n.detail {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.card-title {\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.detail {\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.end {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n margin-inline-end: calc((var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n}\n\n.matrix {\n display: flex;\n flex-direction: column;\n}\n\n.matrix-row {\n display: grid;\n grid-template-columns: minmax(0, 1fr) repeat(var(--git-host-columns), 4.75rem);\n gap: var(--nol-space-1);\n align-items: center;\n min-height: 1.625rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n font-size: var(--nol-text-small);\n}\n\n.caps {\n font-size: 0.625rem;\n text-transform: uppercase;\n letter-spacing: var(--nol-letter-spacing-caps);\n color: var(--nol-text-muted);\n}\n\n.matrix-row > :not(:first-child) {\n text-align: center;\n}\n\n.answer {\n display: flex;\n justify-content: center;\n color: var(--nol-text-muted);\n}\n\n.answer.yes {\n color: var(--nol-status-ok);\n}\n\n.answer .material-symbols-rounded {\n font-size: 1rem;\n color: inherit;\n}\n\n.answer-text {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n"], dependencies: [{ kind: "component", type: AvatarComponent, selector: "nol-avatar", inputs: ["name", "image", "initials", "color", "colorKey", "size", "label", "decorative", "unavailable", "filled", "filledColor"] }, { kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: ChipComponent, selector: "nol-chip", inputs: ["kind", "count"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "component", type: MenuComponent, selector: "nol-menu", inputs: ["minWidth"] }, { kind: "component", type: MenuItemComponent, selector: "button[nol-menu-item]", inputs: ["label", "icon", "checked", "checkbox", "shortcut", "description", "value", "tag", "danger", "isShowingChevron"] }, { kind: "directive", type: MenuTriggerDirective, selector: "[nolMenuTriggerFor]", inputs: ["nolMenuTriggerFor", "nolMenuAlignment"], exportAs: ["nolMenuTriggerFor"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside", "nolTooltipAnchor"] }] });
41
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitAccountsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
42
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitAccountsComponent, isStandalone: true, selector: "nol-git-accounts", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"page\">\n <section class=\"accounts\" [attr.aria-label]=\"resources.accountsTitle\">\n <div class=\"head\">\n <h2 class=\"title\">{{ resources.accountsTitle }}</h2>\n <button type=\"button\" nol-button class=\"add\" [disabled]=\"accounts().length === 0\" [nolMenuTriggerFor]=\"hosts\">\n <span class=\"material-symbols-rounded\" nolButtonIcon aria-hidden=\"true\">{{ resources.addAccountIcon }}</span>{{ resources.addAccount }}\n </button>\n <ng-template #hosts>\n <nol-menu>\n @for (provided of accounts(); track provided) {\n <button nol-menu-item [label]=\"provided.account.host\" (triggered)=\"open(provided, resources.formatSignInTitle(provided.account.host))\"></button>\n }\n </nol-menu>\n </ng-template>\n </div>\n <p class=\"intro\">{{ resources.accountsIntro }}</p>\n @for (provided of accounts(); track provided) {\n <div class=\"host\" [attr.data-setting]=\"rowOf(provided)\">\n @for (card of provided.account.cards(); track $index) {\n <div class=\"card\">\n @if (card.person; as person) {\n <span class=\"mark person\" aria-hidden=\"true\">\n <nol-avatar [name]=\"person.login\" [image]=\"person.avatar\" [initials]=\"initialOf(person)\" [colorKey]=\"person.login\" [decorative]=\"true\" />\n </span>\n } @else {\n <span class=\"mark\" [style.background-color]=\"provided.account.markColor\" aria-hidden=\"true\">{{ provided.account.mark }}</span>\n }\n <span class=\"text\">\n <span class=\"card-title\">{{ card.title }}</span>\n <span class=\"detail\">{{ card.detail }}</span>\n </span>\n @if (card.asksToSignIn) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"open(provided, resources.formatSignInTitle(provided.account.host), card.account)\">{{ card.label }}</button>\n } @else {\n <span class=\"end\">\n <nol-chip [kind]=\"chipOf(card)\">{{ card.label }}</nol-chip>\n <button type=\"button\" nol-icon-button [icon]=\"resources.manageAccountIcon\" [label]=\"resources.formatManageAccount(provided.account.host)\"\n [nolTooltip]=\"resources.formatManageAccount(provided.account.host)\"\n (click)=\"open(provided, resources.formatAccountRowTitle(provided.account.host), card.account)\"></button>\n </span>\n }\n </div>\n }\n </div>\n } @empty {\n <p class=\"intro\">{{ resources.noHosts }}</p>\n }\n </section>\n <section class=\"features\" [attr.aria-label]=\"resources.featuresTitle\">\n <h2 class=\"title\">{{ resources.featuresTitle }}</h2>\n <div class=\"matrix\" role=\"table\" [attr.aria-label]=\"resources.featuresTitle\" [style.--git-host-columns]=\"accounts().length\">\n <div class=\"matrix-row caps\" role=\"row\">\n <span role=\"columnheader\"></span>\n @for (provided of accounts(); track provided) {\n <span role=\"columnheader\">{{ provided.account.column }}</span>\n }\n </div>\n @for (feature of resources.hostFeatures; track feature) {\n <div class=\"matrix-row\" role=\"row\">\n <span role=\"rowheader\">{{ resources.hostFeatureTitles[feature] }}</span>\n @for (provided of accounts(); track provided) {\n <span role=\"cell\" class=\"answer\" [class.yes]=\"has(provided, feature)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ has(provided, feature) ? resources.featureYesIcon : resources.featureNoIcon }}</span>\n <span class=\"answer-text\">{{ has(provided, feature) ? resources.featureYes : resources.featureNo }}</span>\n </span>\n }\n </div>\n }\n </div>\n </section>\n</div>\n", styles: ["/*\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n container-type: inline-size;\n}\n\n.page {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: var(--nol-space-4);\n align-items: start;\n}\n\n@container (min-width: 48rem) {\n .page {\n grid-template-columns: minmax(0, 1fr) 26rem;\n }\n}\n\n.accounts,\n.features {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.accounts {\n gap: var(--nol-space-3);\n}\n\n.features {\n gap: var(--nol-space-2);\n}\n\n.head {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.title {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n font-size: var(--nol-text-title);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.intro {\n margin: 0;\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.host {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-3);\n}\n\n.card {\n display: grid;\n grid-template-columns: 2rem minmax(0, 1fr) auto;\n gap: var(--nol-space-3);\n align-items: center;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background: var(--nol-panel);\n}\n\n.mark {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: var(--nol-radius-medium);\n color: var(--nol-button-text);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.mark.person {\n flex-shrink: 0;\n}\n\n.text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.card-title,\n.detail {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.card-title {\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.detail {\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.end {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n margin-inline-end: calc((var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n}\n\n.matrix {\n display: flex;\n flex-direction: column;\n}\n\n.matrix-row {\n display: grid;\n grid-template-columns: minmax(0, 1fr) repeat(var(--git-host-columns), 4.75rem);\n gap: var(--nol-space-1);\n align-items: center;\n min-height: 1.625rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n font-size: var(--nol-text-small);\n}\n\n.caps {\n font-size: 0.625rem;\n text-transform: uppercase;\n letter-spacing: var(--nol-letter-spacing-caps);\n color: var(--nol-text-muted);\n}\n\n.matrix-row > :not(:first-child) {\n text-align: center;\n}\n\n.answer {\n display: flex;\n justify-content: center;\n color: var(--nol-text-muted);\n}\n\n.answer.yes {\n color: var(--nol-status-ok);\n}\n\n.answer .material-symbols-rounded {\n font-size: 1rem;\n color: inherit;\n}\n\n.answer-text {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n"], dependencies: [{ kind: "component", type: AvatarComponent, selector: "nol-avatar", inputs: ["name", "image", "initials", "color", "colorKey", "size", "label", "decorative", "unavailable", "filled", "filledColor"] }, { kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: ChipComponent, selector: "nol-chip", inputs: ["kind", "count"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "component", type: MenuComponent, selector: "nol-menu", inputs: ["minWidth"] }, { kind: "component", type: MenuItemComponent, selector: "button[nol-menu-item]", inputs: ["label", "icon", "checked", "checkbox", "shortcut", "description", "value", "tag", "danger", "isShowingChevron"] }, { kind: "directive", type: MenuTriggerDirective, selector: "[nolMenuTriggerFor]", inputs: ["nolMenuTriggerFor", "nolMenuAlignment"], exportAs: ["nolMenuTriggerFor"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside", "nolTooltipAnchor"] }] });
43
43
  }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitAccountsComponent, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitAccountsComponent, decorators: [{
45
45
  type: Component,
46
46
  args: [{ selector: "nol-git-accounts", imports: [AvatarComponent, ButtonComponent, ChipComponent, IconButtonComponent, MenuComponent, MenuItemComponent, MenuTriggerDirective, TooltipDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"page\">\n <section class=\"accounts\" [attr.aria-label]=\"resources.accountsTitle\">\n <div class=\"head\">\n <h2 class=\"title\">{{ resources.accountsTitle }}</h2>\n <button type=\"button\" nol-button class=\"add\" [disabled]=\"accounts().length === 0\" [nolMenuTriggerFor]=\"hosts\">\n <span class=\"material-symbols-rounded\" nolButtonIcon aria-hidden=\"true\">{{ resources.addAccountIcon }}</span>{{ resources.addAccount }}\n </button>\n <ng-template #hosts>\n <nol-menu>\n @for (provided of accounts(); track provided) {\n <button nol-menu-item [label]=\"provided.account.host\" (triggered)=\"open(provided, resources.formatSignInTitle(provided.account.host))\"></button>\n }\n </nol-menu>\n </ng-template>\n </div>\n <p class=\"intro\">{{ resources.accountsIntro }}</p>\n @for (provided of accounts(); track provided) {\n <div class=\"host\" [attr.data-setting]=\"rowOf(provided)\">\n @for (card of provided.account.cards(); track $index) {\n <div class=\"card\">\n @if (card.person; as person) {\n <span class=\"mark person\" aria-hidden=\"true\">\n <nol-avatar [name]=\"person.login\" [image]=\"person.avatar\" [initials]=\"initialOf(person)\" [colorKey]=\"person.login\" [decorative]=\"true\" />\n </span>\n } @else {\n <span class=\"mark\" [style.background-color]=\"provided.account.markColor\" aria-hidden=\"true\">{{ provided.account.mark }}</span>\n }\n <span class=\"text\">\n <span class=\"card-title\">{{ card.title }}</span>\n <span class=\"detail\">{{ card.detail }}</span>\n </span>\n @if (card.asksToSignIn) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"open(provided, resources.formatSignInTitle(provided.account.host), card.account)\">{{ card.label }}</button>\n } @else {\n <span class=\"end\">\n <nol-chip [kind]=\"chipOf(card)\">{{ card.label }}</nol-chip>\n <button type=\"button\" nol-icon-button [icon]=\"resources.manageAccountIcon\" [label]=\"resources.formatManageAccount(provided.account.host)\"\n [nolTooltip]=\"resources.formatManageAccount(provided.account.host)\"\n (click)=\"open(provided, resources.formatAccountRowTitle(provided.account.host), card.account)\"></button>\n </span>\n }\n </div>\n }\n </div>\n } @empty {\n <p class=\"intro\">{{ resources.noHosts }}</p>\n }\n </section>\n <section class=\"features\" [attr.aria-label]=\"resources.featuresTitle\">\n <h2 class=\"title\">{{ resources.featuresTitle }}</h2>\n <div class=\"matrix\" role=\"table\" [attr.aria-label]=\"resources.featuresTitle\" [style.--git-host-columns]=\"accounts().length\">\n <div class=\"matrix-row caps\" role=\"row\">\n <span role=\"columnheader\"></span>\n @for (provided of accounts(); track provided) {\n <span role=\"columnheader\">{{ provided.account.column }}</span>\n }\n </div>\n @for (feature of resources.hostFeatures; track feature) {\n <div class=\"matrix-row\" role=\"row\">\n <span role=\"rowheader\">{{ resources.hostFeatureTitles[feature] }}</span>\n @for (provided of accounts(); track provided) {\n <span role=\"cell\" class=\"answer\" [class.yes]=\"has(provided, feature)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ has(provided, feature) ? resources.featureYesIcon : resources.featureNoIcon }}</span>\n <span class=\"answer-text\">{{ has(provided, feature) ? resources.featureYes : resources.featureNo }}</span>\n </span>\n }\n </div>\n }\n </div>\n </section>\n</div>\n", styles: ["/*\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n container-type: inline-size;\n}\n\n.page {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: var(--nol-space-4);\n align-items: start;\n}\n\n@container (min-width: 48rem) {\n .page {\n grid-template-columns: minmax(0, 1fr) 26rem;\n }\n}\n\n.accounts,\n.features {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.accounts {\n gap: var(--nol-space-3);\n}\n\n.features {\n gap: var(--nol-space-2);\n}\n\n.head {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.title {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n font-size: var(--nol-text-title);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.intro {\n margin: 0;\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.host {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-3);\n}\n\n.card {\n display: grid;\n grid-template-columns: 2rem minmax(0, 1fr) auto;\n gap: var(--nol-space-3);\n align-items: center;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background: var(--nol-panel);\n}\n\n.mark {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: var(--nol-radius-medium);\n color: var(--nol-button-text);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.mark.person {\n flex-shrink: 0;\n}\n\n.text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.card-title,\n.detail {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.card-title {\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.detail {\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.end {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n margin-inline-end: calc((var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n}\n\n.matrix {\n display: flex;\n flex-direction: column;\n}\n\n.matrix-row {\n display: grid;\n grid-template-columns: minmax(0, 1fr) repeat(var(--git-host-columns), 4.75rem);\n gap: var(--nol-space-1);\n align-items: center;\n min-height: 1.625rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n font-size: var(--nol-text-small);\n}\n\n.caps {\n font-size: 0.625rem;\n text-transform: uppercase;\n letter-spacing: var(--nol-letter-spacing-caps);\n color: var(--nol-text-muted);\n}\n\n.matrix-row > :not(:first-child) {\n text-align: center;\n}\n\n.answer {\n display: flex;\n justify-content: center;\n color: var(--nol-text-muted);\n}\n\n.answer.yes {\n color: var(--nol-status-ok);\n}\n\n.answer .material-symbols-rounded {\n font-size: 1rem;\n color: inherit;\n}\n\n.answer-text {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n"] }]
47
47
  }] });
@@ -43,10 +43,10 @@ export class GitAgentsComponent {
43
43
  return fallback;
44
44
  }
45
45
  }
46
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitAgentsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
47
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitAgentsComponent, isStandalone: true, selector: "nol-git-agents", inputs: { folder: { classPropertyName: "folder", publicName: "folder", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (hasProvider()) {\n <nol-section-header [label]=\"resources.agentsLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [(expanded)]=\"isOpen\">\n @if (worktrees() > 0) {\n <span nolSectionHeaderDetail class=\"worktrees\">{{ resources.formatAgentWorktrees(worktrees()) }}</span>\n }\n </nol-section-header>\n @if (isOpen()) {\n @for (run of runs(); track run.row.key) {\n <button type=\"button\" class=\"row run\" [title]=\"run.row.worktree\" (click)=\"open(run)\">\n <span class=\"ms agent\">{{ resources.agentIcon }}</span>\n <span class=\"grow name\">{{ run.row.name }}</span>\n <span [class]=\"'ms state ' + run.row.state\" role=\"img\" [attr.aria-label]=\"labelOf(run.row.state)\">{{ iconOf(run.row.state) }}</span>\n </button>\n } @empty {\n <div class=\"row small muted note\">{{ resources.agentsEmpty }}</div>\n }\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: contents;\n}\n\n.ms {\n display: inline-block;\n flex: none;\n overflow: hidden;\n width: 1rem;\n height: 1rem;\n color: var(--nol-icon-color);\n font-family: \"Material Symbols Rounded\";\n font-size: 1rem;\n font-weight: 400;\n font-style: normal;\n line-height: 1;\n white-space: nowrap;\n font-feature-settings: \"liga\";\n}\n\n.row {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 0.375rem;\n min-width: 0;\n width: 100%;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.row {\n cursor: pointer;\n}\n\n.row:hover {\n background: var(--nol-hover);\n}\n\n.row.note:hover {\n background: transparent;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: start;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.agent {\n color: var(--nol-author-8);\n}\n\n.state.WaitingForYou {\n color: var(--nol-warning);\n}\n\n.state.Done {\n color: var(--nol-status-ok);\n}\n\n.state.Failed {\n color: var(--nol-status-failed);\n}\n\n.state.Working {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: SectionHeaderComponent, selector: "nol-section-header", inputs: ["label", "level", "icon", "collapsible", "uppercase", "quiet", "controls", "actionsShown", "caretPosition", "expanded"], outputs: ["expandedChange"] }, { kind: "directive", type: SectionHeaderDetailDirective, selector: "[nolSectionHeaderDetail]" }] });
46
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitAgentsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
47
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitAgentsComponent, isStandalone: true, selector: "nol-git-agents", inputs: { folder: { classPropertyName: "folder", publicName: "folder", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (hasProvider()) {\n <nol-section-header [label]=\"resources.agentsLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [(expanded)]=\"isOpen\">\n @if (worktrees() > 0) {\n <span nolSectionHeaderDetail class=\"worktrees\">{{ resources.formatAgentWorktrees(worktrees()) }}</span>\n }\n </nol-section-header>\n @if (isOpen()) {\n @for (run of runs(); track run.row.key) {\n <button type=\"button\" class=\"row run\" [title]=\"run.row.worktree\" (click)=\"open(run)\">\n <span class=\"ms agent\">{{ resources.agentIcon }}</span>\n <span class=\"grow name\">{{ run.row.name }}</span>\n <span [class]=\"'ms state ' + run.row.state\" role=\"img\" [attr.aria-label]=\"labelOf(run.row.state)\">{{ iconOf(run.row.state) }}</span>\n </button>\n } @empty {\n <div class=\"row small muted note\">{{ resources.agentsEmpty }}</div>\n }\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: contents;\n}\n\n.ms {\n display: inline-block;\n flex: none;\n overflow: hidden;\n width: 1rem;\n height: 1rem;\n color: var(--nol-icon-color);\n font-family: \"Material Symbols Rounded\";\n font-size: 1rem;\n font-weight: 400;\n font-style: normal;\n line-height: 1;\n white-space: nowrap;\n font-feature-settings: \"liga\";\n}\n\n.row {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 0.375rem;\n min-width: 0;\n width: 100%;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.row {\n cursor: pointer;\n}\n\n.row:hover {\n background: var(--nol-hover);\n}\n\n.row.note:hover {\n background: transparent;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: start;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.agent {\n color: var(--nol-author-8);\n}\n\n.state.WaitingForYou {\n color: var(--nol-warning);\n}\n\n.state.Done {\n color: var(--nol-status-ok);\n}\n\n.state.Failed {\n color: var(--nol-status-failed);\n}\n\n.state.Working {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: SectionHeaderComponent, selector: "nol-section-header", inputs: ["label", "level", "icon", "collapsible", "uppercase", "quiet", "controls", "actionsShown", "caretPosition", "expanded"], outputs: ["expandedChange"] }, { kind: "directive", type: SectionHeaderDetailDirective, selector: "[nolSectionHeaderDetail]" }] });
48
48
  }
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitAgentsComponent, decorators: [{
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitAgentsComponent, decorators: [{
50
50
  type: Component,
51
51
  args: [{ selector: "nol-git-agents", imports: [SectionHeaderComponent, SectionHeaderDetailDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (hasProvider()) {\n <nol-section-header [label]=\"resources.agentsLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [(expanded)]=\"isOpen\">\n @if (worktrees() > 0) {\n <span nolSectionHeaderDetail class=\"worktrees\">{{ resources.formatAgentWorktrees(worktrees()) }}</span>\n }\n </nol-section-header>\n @if (isOpen()) {\n @for (run of runs(); track run.row.key) {\n <button type=\"button\" class=\"row run\" [title]=\"run.row.worktree\" (click)=\"open(run)\">\n <span class=\"ms agent\">{{ resources.agentIcon }}</span>\n <span class=\"grow name\">{{ run.row.name }}</span>\n <span [class]=\"'ms state ' + run.row.state\" role=\"img\" [attr.aria-label]=\"labelOf(run.row.state)\">{{ iconOf(run.row.state) }}</span>\n </button>\n } @empty {\n <div class=\"row small muted note\">{{ resources.agentsEmpty }}</div>\n }\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: contents;\n}\n\n.ms {\n display: inline-block;\n flex: none;\n overflow: hidden;\n width: 1rem;\n height: 1rem;\n color: var(--nol-icon-color);\n font-family: \"Material Symbols Rounded\";\n font-size: 1rem;\n font-weight: 400;\n font-style: normal;\n line-height: 1;\n white-space: nowrap;\n font-feature-settings: \"liga\";\n}\n\n.row {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 0.375rem;\n min-width: 0;\n width: 100%;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.row {\n cursor: pointer;\n}\n\n.row:hover {\n background: var(--nol-hover);\n}\n\n.row.note:hover {\n background: transparent;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: start;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.agent {\n color: var(--nol-author-8);\n}\n\n.state.WaitingForYou {\n color: var(--nol-warning);\n}\n\n.state.Done {\n color: var(--nol-status-ok);\n}\n\n.state.Failed {\n color: var(--nol-status-failed);\n}\n\n.state.Working {\n color: var(--nol-text-muted);\n}\n"] }]
52
52
  }], propDecorators: { folder: [{ type: i0.Input, args: [{ isSignal: true, alias: "folder", required: true }] }] } });
@@ -117,10 +117,10 @@ export class GitBranchCardComponent {
117
117
  close() {
118
118
  this.isOpen.set(false);
119
119
  }
120
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitBranchCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
121
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitBranchCardComponent, isStandalone: true, selector: "nol-git-branch-card", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "document:pointerdown": "closeOutside($event)", "focusout": "closeOnLeave($event)", "keydown.escape": "escape($event)" } }, viewQueries: [{ propertyName: "trigger", first: true, predicate: ["trigger"], descendants: true, isSignal: true }, { propertyName: "filter", first: true, predicate: ["filter"], descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"line\">\n <button #trigger type=\"button\" class=\"name\" [class.open]=\"isOpen()\" [attr.aria-expanded]=\"isOpen()\" aria-haspopup=\"listbox\" [attr.aria-label]=\"resources.formatSwitchBranch(name())\"\n [nolTooltip]=\"resources.switchBranchLabel\" [attr.aria-disabled]=\"state.busy()\" (click)=\"toggle()\">\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg>\n <span class=\"branch\" data-truncates [nolTooltip]=\"name()\" [nolTooltipTruncated]=\"true\">{{ name() }}</span>\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ isOpen() ? resources.menuOpenIcon : resources.menuClosedIcon }}</span>\n </button>\n <nol-git-undo-menu class=\"recent-actions\" />\n <span class=\"spacer\"></span>\n @if (status().branch !== null) {\n @if (upstream(); as upstream) {\n <button nol-button type=\"button\" class=\"pull\" [variant]=\"secondary\" [disabled]=\"!state.canPull()\"\n [nolTooltip]=\"resources.formatPullHooks(state.pullHooks())\" (pointerenter)=\"loadPullHooks()\" (focus)=\"loadPullHooks()\" (click)=\"pull()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pullIcon }}</span>{{ resources.formatPull(upstream.behind) }}\n </button>\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"!state.canPush()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pushIcon }}</span>{{ resources.formatPush(upstream.ahead) }}\n </button>\n } @else {\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"!state.canPush()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.publishIcon }}</span>{{ resources.publishLabel }}\n </button>\n }\n }\n</div>\n<div class=\"upstream\">\n @if (upstream(); as upstream) {\n @if (upstream.gone) {\n <span>{{ resources.formatUpstreamGone(upstream.name) }}</span>\n } @else {\n <span>{{ upstream.name }}</span>\n <span>{{ resources.formatAheadBehind(upstream.ahead, upstream.behind) }}</span>\n }\n } @else {\n <span>{{ resources.noUpstream }}</span>\n }\n</div>\n@if (isOpen()) {\n <div class=\"menu\">\n <input #filter class=\"filter\" type=\"text\" role=\"combobox\" aria-autocomplete=\"list\" aria-expanded=\"true\" aria-controls=\"git-branch-list\"\n [attr.aria-label]=\"resources.branchPickerLabel\" [attr.aria-activedescendant]=\"items().length > 0 ? resources.formatBranchOptionId(active()) : null\"\n [placeholder]=\"resources.branchPickerLabel\" [ngModel]=\"query()\" (ngModelChange)=\"find($event)\" (keydown)=\"onKey($event)\" />\n <div id=\"git-branch-list\" class=\"list\" role=\"listbox\" [attr.aria-label]=\"resources.branchPickerLabel\">\n @for (item of items(); track resources.formatBranchItemKey(item.kind, item.title); let index = $index) {\n @let previous = items()[index - 1];\n @if (item.kind !== kinds.Create && previous?.kind !== item.kind) {\n @if (previous?.kind === kinds.Create) {\n <div class=\"separator\" role=\"presentation\"></div>\n }\n <div class=\"label\" role=\"presentation\">{{ item.kind === kinds.Local ? resources.localBranchesLabel : resources.remoteBranchesLabel }}</div>\n }\n <div [id]=\"resources.formatBranchOptionId(index)\" class=\"item\" role=\"option\" [class.active]=\"index === active()\" [class.current]=\"item.isCurrent\"\n [attr.aria-selected]=\"index === active()\" (pointerdown)=\"$event.preventDefault()\" (pointerenter)=\"chosen.set(index)\" (click)=\"choose(item)\">\n <span class=\"material-symbols-rounded\" [class.hidden]=\"item.kind !== kinds.Create && !item.isCurrent\" aria-hidden=\"true\">{{ item.kind === kinds.Create ? resources.createBranchIcon : resources.currentBranchIcon }}</span>\n <span class=\"title\" data-truncates [nolTooltip]=\"item.title\" [nolTooltipTruncated]=\"true\">{{ item.title }}</span>\n </div>\n }\n </div>\n </div>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n position: relative;\n display: grid;\n gap: var(--nol-tab-part-gap);\n min-width: 0;\n padding: var(--nol-space-2) var(--nol-view-padding-inline);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-raised);\n}\n\n.line {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.name {\n display: inline-flex;\n gap: var(--nol-space-1);\n align-items: center;\n min-width: 0;\n min-height: var(--nol-pointer-target);\n margin-left: calc(var(--nol-space-1) * -1);\n padding: 0 var(--nol-space-1);\n border: 0;\n border-radius: var(--nol-radius-small);\n background: none;\n color: var(--nol-text);\n font: inherit;\n}\n\n.name:hover:not([aria-disabled=\"true\"]),\n.name.open {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n &:not(:focus-visible) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n }\n}\n\n.branch {\n overflow: hidden;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.recent-actions {\n display: flex;\n flex: none;\n}\n\n.spacer {\n flex: 1;\n}\n\n.pull,\n.push {\n flex: none;\n}\n\n.upstream {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n align-items: center;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.octicon {\n flex: none;\n width: var(--nol-icon);\n height: var(--nol-icon);\n fill: currentcolor;\n}\n\n.menu {\n position: absolute;\n z-index: 2;\n top: calc(var(--nol-space-2) + var(--nol-button-height) + var(--nol-tab-part-gap));\n right: var(--nol-space-1);\n left: var(--nol-space-1);\n padding: var(--nol-menu-padding);\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-menu);\n box-shadow: var(--nol-shadow-large);\n color: var(--nol-menu-text);\n}\n\n.filter {\n box-sizing: border-box;\n width: calc(100% - var(--nol-space-1));\n height: var(--nol-field-height);\n margin: var(--nol-tab-inset) var(--nol-tab-inset) var(--nol-space-1);\n padding: 0 var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-accent);\n border-radius: var(--nol-radius-small);\n outline: none;\n background-color: var(--nol-input);\n color: var(--nol-text);\n font: inherit;\n}\n\n.filter::placeholder {\n color: var(--nol-placeholder);\n}\n\n.list {\n max-height: var(--nol-list-max-height);\n overflow-y: auto;\n}\n\n.item {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n height: var(--nol-menu-item-height);\n padding: 0 var(--nol-menu-item-padding);\n border-radius: var(--nol-radius-small);\n white-space: nowrap;\n cursor: pointer;\n}\n\n.item:hover:not(.active) {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.item.current,\n.item.active {\n --nol-text-muted: var(--nol-list-active-text);\n\n background-color: var(--nol-list-active);\n color: var(--nol-list-active-text);\n}\n\n.item.active {\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-active-text: HighlightText;\n\n background-color: Highlight;\n color: HighlightText;\n forced-color-adjust: none;\n }\n}\n\n.item .hidden {\n visibility: hidden;\n}\n\n.item .title {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.label {\n padding: var(--nol-menu-label-padding);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.separator {\n height: var(--nol-border-width);\n margin: var(--nol-menu-separator-spacing) 0;\n background-color: var(--nol-menu-separator);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: GitUndoMenuComponent, selector: "nol-git-undo-menu" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside", "nolTooltipAnchor"] }] });
120
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitBranchCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
121
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitBranchCardComponent, isStandalone: true, selector: "nol-git-branch-card", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "document:pointerdown": "closeOutside($event)", "focusout": "closeOnLeave($event)", "keydown.escape": "escape($event)" } }, viewQueries: [{ propertyName: "trigger", first: true, predicate: ["trigger"], descendants: true, isSignal: true }, { propertyName: "filter", first: true, predicate: ["filter"], descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"line\">\n <button #trigger type=\"button\" class=\"name\" [class.open]=\"isOpen()\" [attr.aria-expanded]=\"isOpen()\" aria-haspopup=\"listbox\" [attr.aria-label]=\"resources.formatSwitchBranch(name())\"\n [nolTooltip]=\"resources.switchBranchLabel\" [attr.aria-disabled]=\"state.busy()\" (click)=\"toggle()\">\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg>\n <span class=\"branch\" data-truncates [nolTooltip]=\"name()\" [nolTooltipTruncated]=\"true\">{{ name() }}</span>\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ isOpen() ? resources.menuOpenIcon : resources.menuClosedIcon }}</span>\n </button>\n <nol-git-undo-menu class=\"recent-actions\" />\n <span class=\"spacer\"></span>\n @if (status().branch !== null) {\n @if (upstream(); as upstream) {\n <button nol-button type=\"button\" class=\"pull\" [variant]=\"secondary\" [disabled]=\"!state.canPull()\"\n [nolTooltip]=\"resources.formatPullHooks(state.pullHooks())\" (pointerenter)=\"loadPullHooks()\" (focus)=\"loadPullHooks()\" (click)=\"pull()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pullIcon }}</span>{{ resources.formatPull(upstream.behind) }}\n </button>\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"!state.canPush()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pushIcon }}</span>{{ resources.formatPush(upstream.ahead) }}\n </button>\n } @else {\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"!state.canPush()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.publishIcon }}</span>{{ resources.publishLabel }}\n </button>\n }\n }\n</div>\n<div class=\"upstream\">\n @if (upstream(); as upstream) {\n @if (upstream.gone) {\n <span>{{ resources.formatUpstreamGone(upstream.name) }}</span>\n } @else {\n <span>{{ upstream.name }}</span>\n <span>{{ resources.formatAheadBehind(upstream.ahead, upstream.behind) }}</span>\n }\n } @else {\n <span>{{ resources.noUpstream }}</span>\n }\n</div>\n@if (isOpen()) {\n <div class=\"menu\">\n <input #filter class=\"filter\" type=\"text\" role=\"combobox\" aria-autocomplete=\"list\" aria-expanded=\"true\" aria-controls=\"git-branch-list\"\n [attr.aria-label]=\"resources.branchPickerLabel\" [attr.aria-activedescendant]=\"items().length > 0 ? resources.formatBranchOptionId(active()) : null\"\n [placeholder]=\"resources.branchPickerLabel\" [ngModel]=\"query()\" (ngModelChange)=\"find($event)\" (keydown)=\"onKey($event)\" />\n <div id=\"git-branch-list\" class=\"list\" role=\"listbox\" [attr.aria-label]=\"resources.branchPickerLabel\">\n @for (item of items(); track resources.formatBranchItemKey(item.kind, item.title); let index = $index) {\n @let previous = items()[index - 1];\n @if (item.kind !== kinds.Create && previous?.kind !== item.kind) {\n @if (previous?.kind === kinds.Create) {\n <div class=\"separator\" role=\"presentation\"></div>\n }\n <div class=\"label\" role=\"presentation\">{{ item.kind === kinds.Local ? resources.localBranchesLabel : resources.remoteBranchesLabel }}</div>\n }\n <div [id]=\"resources.formatBranchOptionId(index)\" class=\"item\" role=\"option\" [class.active]=\"index === active()\" [class.current]=\"item.isCurrent\"\n [attr.aria-selected]=\"index === active()\" (pointerdown)=\"$event.preventDefault()\" (pointerenter)=\"chosen.set(index)\" (click)=\"choose(item)\">\n <span class=\"material-symbols-rounded\" [class.hidden]=\"item.kind !== kinds.Create && !item.isCurrent\" aria-hidden=\"true\">{{ item.kind === kinds.Create ? resources.createBranchIcon : resources.currentBranchIcon }}</span>\n <span class=\"title\" data-truncates [nolTooltip]=\"item.title\" [nolTooltipTruncated]=\"true\">{{ item.title }}</span>\n </div>\n }\n </div>\n </div>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n position: relative;\n display: grid;\n gap: var(--nol-tab-part-gap);\n min-width: 0;\n padding: var(--nol-space-2) var(--nol-view-padding-inline);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-raised);\n}\n\n.line {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.name {\n display: inline-flex;\n gap: var(--nol-space-1);\n align-items: center;\n min-width: 0;\n min-height: var(--nol-pointer-target);\n margin-left: calc(var(--nol-space-1) * -1);\n padding: 0 var(--nol-space-1);\n border: 0;\n border-radius: var(--nol-radius-small);\n background: none;\n color: var(--nol-text);\n font: inherit;\n}\n\n.name:hover:not([aria-disabled=\"true\"]),\n.name.open {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n &:not(:focus-visible) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n }\n}\n\n.branch {\n overflow: hidden;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.recent-actions {\n display: flex;\n flex: none;\n}\n\n.spacer {\n flex: 1;\n}\n\n.pull,\n.push {\n flex: none;\n}\n\n.upstream {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n align-items: center;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.octicon {\n flex: none;\n width: var(--nol-icon);\n height: var(--nol-icon);\n fill: currentcolor;\n}\n\n.menu {\n position: absolute;\n z-index: 2;\n top: calc(var(--nol-space-2) + var(--nol-button-height) + var(--nol-tab-part-gap));\n right: var(--nol-space-1);\n left: var(--nol-space-1);\n padding: var(--nol-menu-padding);\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-menu);\n box-shadow: var(--nol-shadow-large);\n color: var(--nol-menu-text);\n}\n\n.filter {\n box-sizing: border-box;\n width: calc(100% - var(--nol-space-1));\n height: var(--nol-field-height);\n margin: var(--nol-tab-inset) var(--nol-tab-inset) var(--nol-space-1);\n padding: 0 var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-accent);\n border-radius: var(--nol-radius-small);\n outline: none;\n background-color: var(--nol-input);\n color: var(--nol-text);\n font: inherit;\n}\n\n.filter::placeholder {\n color: var(--nol-placeholder);\n}\n\n.list {\n max-height: var(--nol-list-max-height);\n overflow-y: auto;\n}\n\n.item {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n height: var(--nol-menu-item-height);\n padding: 0 var(--nol-menu-item-padding);\n border-radius: var(--nol-radius-small);\n white-space: nowrap;\n cursor: pointer;\n}\n\n.item:hover:not(.active) {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.item.current,\n.item.active {\n --nol-text-muted: var(--nol-list-active-text);\n\n background-color: var(--nol-list-active);\n color: var(--nol-list-active-text);\n}\n\n.item.active {\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-active-text: HighlightText;\n\n background-color: Highlight;\n color: HighlightText;\n forced-color-adjust: none;\n }\n}\n\n.item .hidden {\n visibility: hidden;\n}\n\n.item .title {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.label {\n padding: var(--nol-menu-label-padding);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.separator {\n height: var(--nol-border-width);\n margin: var(--nol-menu-separator-spacing) 0;\n background-color: var(--nol-menu-separator);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: GitUndoMenuComponent, selector: "nol-git-undo-menu" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside", "nolTooltipAnchor"] }] });
122
122
  }
123
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitBranchCardComponent, decorators: [{
123
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitBranchCardComponent, decorators: [{
124
124
  type: Component,
125
125
  args: [{ selector: "nol-git-branch-card", imports: [ButtonComponent, FormsModule, GitUndoMenuComponent, TooltipDirective], host: {
126
126
  "(document:pointerdown)": "closeOutside($event)",
@@ -74,10 +74,10 @@ export class GitBranchDropComponent {
74
74
  event.preventDefault();
75
75
  this.closed.emit();
76
76
  }
77
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitBranchDropComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
78
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitBranchDropComponent, isStandalone: true, selector: "nol-git-branch-drop", inputs: { drop: { classPropertyName: "drop", publicName: "drop", isSignal: true, isRequired: true, transformFunction: null }, prediction: { classPropertyName: "prediction", publicName: "prediction", isSignal: true, isRequired: true, transformFunction: null }, checking: { classPropertyName: "checking", publicName: "checking", isSignal: true, isRequired: true, transformFunction: null }, request: { classPropertyName: "request", publicName: "request", isSignal: true, isRequired: true, transformFunction: null }, busy: { classPropertyName: "busy", publicName: "busy", isSignal: true, isRequired: true, transformFunction: null }, left: { classPropertyName: "left", publicName: "left", isSignal: true, isRequired: true, transformFunction: null }, top: { classPropertyName: "top", publicName: "top", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { merged: "merged", switchMerged: "switchMerged", rebased: "rebased", requested: "requested", closed: "closed" }, viewQueries: [{ propertyName: "box", first: true, predicate: ["box"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"backdrop\" (click)=\"closed.emit()\" (contextmenu)=\"close($event)\"></div>\n<div #box class=\"drop\" role=\"dialog\" [attr.aria-label]=\"resources.formatDropTitle(drop().source, drop().target)\" [style.left.px]=\"left()\" [style.top.px]=\"top()\"\n (keydown.escape)=\"close($event)\">\n @if (heading(); as shown) {\n <div class=\"heading\" [class]=\"'heading ' + shown.tone\" role=\"status\">\n <span class=\"ms\" aria-hidden=\"true\">{{ shown.icon }}</span><span class=\"strong\">{{ shown.text }}</span>\n </div>\n }\n <p class=\"detail\">{{ detail() }}</p>\n @let merge = mergeLabel();\n <button type=\"button\" class=\"option merge\" [class.switching]=\"!drop().canMerge\" [disabled]=\"!(drop().canMerge || drop().canSwitchAndMerge) || busy()\"\n [title]=\"drop().canMerge || drop().canSwitchAndMerge ? merge : resources.formatDropMergeNeedsSwitch(drop().target)\"\n (click)=\"drop().canMerge ? merged.emit() : switchMerged.emit()\">\n <span class=\"ms\" aria-hidden=\"true\">{{ resources.mergeIcon }}</span><span class=\"grow\">{{ merge }}</span>\n </button>\n <button type=\"button\" class=\"option rebase\" [disabled]=\"!drop().canRebase\"\n [title]=\"drop().canRebase ? resources.formatDropRebase(drop().source, drop().target) : resources.formatDropRebaseNeedsSwitch(drop().source)\" (click)=\"rebased.emit()\">\n <span class=\"ms\" aria-hidden=\"true\">{{ resources.dropRebaseIcon }}</span><span class=\"grow\">{{ resources.formatDropRebase(drop().source, drop().target) }}</span>\n </button>\n @let requestUrl = request();\n <button type=\"button\" class=\"option request\" [disabled]=\"requestUrl === null\"\n [title]=\"requestUrl === null ? resources.formatDropRequestNeedsHost(drop().source, drop().target) : resources.formatDropRequest(drop().target)\"\n (click)=\"requestUrl !== null && requested.emit(requestUrl)\">\n <span class=\"ms\" aria-hidden=\"true\">{{ resources.dropRequestIcon }}</span><span class=\"grow\">{{ resources.formatDropRequest(drop().target) }}</span>\n </button>\n</div>\n", styles: [".backdrop {\n position: fixed;\n z-index: 10;\n inset: 0;\n}\n\n.drop {\n display: flex;\n position: fixed;\n z-index: 11;\n flex-direction: column;\n box-sizing: border-box;\n gap: 0.5rem;\n width: 24rem;\n max-width: calc(100vw - 1rem);\n padding: 0.75rem;\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: 0.5rem;\n background: var(--nol-menu);\n box-shadow: 0 0 0.75rem rgb(0 0 0 / 22%);\n}\n\n.heading {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n}\n\n.heading.ok .ms {\n color: var(--nol-status-ok);\n}\n\n.heading.warning .ms {\n color: var(--nol-warning);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: 600;\n}\n\n.detail {\n margin: 0;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n}\n\n.option {\n display: flex;\n align-items: center;\n gap: 0.375rem;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.option:enabled:hover,\n.option:focus-visible {\n background: var(--nol-hover);\n}\n\n.option:disabled {\n color: var(--nol-text-muted);\n cursor: default;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.ms {\n display: inline-block;\n flex: none;\n overflow: hidden;\n width: 1rem;\n height: 1rem;\n color: var(--nol-icon-color);\n font-family: \"Material Symbols Rounded\";\n font-size: 1rem;\n font-weight: 400;\n font-style: normal;\n line-height: 1;\n white-space: nowrap;\n font-feature-settings: \"liga\";\n}\n"] });
77
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitBranchDropComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
78
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitBranchDropComponent, isStandalone: true, selector: "nol-git-branch-drop", inputs: { drop: { classPropertyName: "drop", publicName: "drop", isSignal: true, isRequired: true, transformFunction: null }, prediction: { classPropertyName: "prediction", publicName: "prediction", isSignal: true, isRequired: true, transformFunction: null }, checking: { classPropertyName: "checking", publicName: "checking", isSignal: true, isRequired: true, transformFunction: null }, request: { classPropertyName: "request", publicName: "request", isSignal: true, isRequired: true, transformFunction: null }, busy: { classPropertyName: "busy", publicName: "busy", isSignal: true, isRequired: true, transformFunction: null }, left: { classPropertyName: "left", publicName: "left", isSignal: true, isRequired: true, transformFunction: null }, top: { classPropertyName: "top", publicName: "top", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { merged: "merged", switchMerged: "switchMerged", rebased: "rebased", requested: "requested", closed: "closed" }, viewQueries: [{ propertyName: "box", first: true, predicate: ["box"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"backdrop\" (click)=\"closed.emit()\" (contextmenu)=\"close($event)\"></div>\n<div #box class=\"drop\" role=\"dialog\" [attr.aria-label]=\"resources.formatDropTitle(drop().source, drop().target)\" [style.left.px]=\"left()\" [style.top.px]=\"top()\"\n (keydown.escape)=\"close($event)\">\n @if (heading(); as shown) {\n <div class=\"heading\" [class]=\"'heading ' + shown.tone\" role=\"status\">\n <span class=\"ms\" aria-hidden=\"true\">{{ shown.icon }}</span><span class=\"strong\">{{ shown.text }}</span>\n </div>\n }\n <p class=\"detail\">{{ detail() }}</p>\n @let merge = mergeLabel();\n <button type=\"button\" class=\"option merge\" [class.switching]=\"!drop().canMerge\" [disabled]=\"!(drop().canMerge || drop().canSwitchAndMerge) || busy()\"\n [title]=\"drop().canMerge || drop().canSwitchAndMerge ? merge : resources.formatDropMergeNeedsSwitch(drop().target)\"\n (click)=\"drop().canMerge ? merged.emit() : switchMerged.emit()\">\n <span class=\"ms\" aria-hidden=\"true\">{{ resources.mergeIcon }}</span><span class=\"grow\">{{ merge }}</span>\n </button>\n <button type=\"button\" class=\"option rebase\" [disabled]=\"!drop().canRebase\"\n [title]=\"drop().canRebase ? resources.formatDropRebase(drop().source, drop().target) : resources.formatDropRebaseNeedsSwitch(drop().source)\" (click)=\"rebased.emit()\">\n <span class=\"ms\" aria-hidden=\"true\">{{ resources.dropRebaseIcon }}</span><span class=\"grow\">{{ resources.formatDropRebase(drop().source, drop().target) }}</span>\n </button>\n @let requestUrl = request();\n <button type=\"button\" class=\"option request\" [disabled]=\"requestUrl === null\"\n [title]=\"requestUrl === null ? resources.formatDropRequestNeedsHost(drop().source, drop().target) : resources.formatDropRequest(drop().target)\"\n (click)=\"requestUrl !== null && requested.emit(requestUrl)\">\n <span class=\"ms\" aria-hidden=\"true\">{{ resources.dropRequestIcon }}</span><span class=\"grow\">{{ resources.formatDropRequest(drop().target) }}</span>\n </button>\n</div>\n", styles: [".backdrop {\n position: fixed;\n z-index: 10;\n inset: 0;\n}\n\n.drop {\n display: flex;\n position: fixed;\n z-index: 11;\n flex-direction: column;\n box-sizing: border-box;\n gap: 0.5rem;\n width: 24rem;\n max-width: calc(100vw - 1rem);\n padding: 0.75rem;\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: 0.5rem;\n background: var(--nol-menu);\n box-shadow: 0 0 0.75rem rgb(0 0 0 / 22%);\n}\n\n.heading {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n}\n\n.heading.ok .ms {\n color: var(--nol-status-ok);\n}\n\n.heading.warning .ms {\n color: var(--nol-warning);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: 600;\n}\n\n.detail {\n margin: 0;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n}\n\n.option {\n display: flex;\n align-items: center;\n gap: 0.375rem;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.option:enabled:hover,\n.option:focus-visible {\n background: var(--nol-hover);\n}\n\n.option:disabled {\n color: var(--nol-text-muted);\n cursor: default;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.ms {\n display: inline-block;\n flex: none;\n overflow: hidden;\n width: 1rem;\n height: 1rem;\n color: var(--nol-icon-color);\n font-family: \"Material Symbols Rounded\";\n font-size: 1rem;\n font-weight: 400;\n font-style: normal;\n line-height: 1;\n white-space: nowrap;\n font-feature-settings: \"liga\";\n}\n"] });
79
79
  }
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitBranchDropComponent, decorators: [{
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitBranchDropComponent, decorators: [{
81
81
  type: Component,
82
82
  args: [{ selector: "nol-git-branch-drop", template: "<div class=\"backdrop\" (click)=\"closed.emit()\" (contextmenu)=\"close($event)\"></div>\n<div #box class=\"drop\" role=\"dialog\" [attr.aria-label]=\"resources.formatDropTitle(drop().source, drop().target)\" [style.left.px]=\"left()\" [style.top.px]=\"top()\"\n (keydown.escape)=\"close($event)\">\n @if (heading(); as shown) {\n <div class=\"heading\" [class]=\"'heading ' + shown.tone\" role=\"status\">\n <span class=\"ms\" aria-hidden=\"true\">{{ shown.icon }}</span><span class=\"strong\">{{ shown.text }}</span>\n </div>\n }\n <p class=\"detail\">{{ detail() }}</p>\n @let merge = mergeLabel();\n <button type=\"button\" class=\"option merge\" [class.switching]=\"!drop().canMerge\" [disabled]=\"!(drop().canMerge || drop().canSwitchAndMerge) || busy()\"\n [title]=\"drop().canMerge || drop().canSwitchAndMerge ? merge : resources.formatDropMergeNeedsSwitch(drop().target)\"\n (click)=\"drop().canMerge ? merged.emit() : switchMerged.emit()\">\n <span class=\"ms\" aria-hidden=\"true\">{{ resources.mergeIcon }}</span><span class=\"grow\">{{ merge }}</span>\n </button>\n <button type=\"button\" class=\"option rebase\" [disabled]=\"!drop().canRebase\"\n [title]=\"drop().canRebase ? resources.formatDropRebase(drop().source, drop().target) : resources.formatDropRebaseNeedsSwitch(drop().source)\" (click)=\"rebased.emit()\">\n <span class=\"ms\" aria-hidden=\"true\">{{ resources.dropRebaseIcon }}</span><span class=\"grow\">{{ resources.formatDropRebase(drop().source, drop().target) }}</span>\n </button>\n @let requestUrl = request();\n <button type=\"button\" class=\"option request\" [disabled]=\"requestUrl === null\"\n [title]=\"requestUrl === null ? resources.formatDropRequestNeedsHost(drop().source, drop().target) : resources.formatDropRequest(drop().target)\"\n (click)=\"requestUrl !== null && requested.emit(requestUrl)\">\n <span class=\"ms\" aria-hidden=\"true\">{{ resources.dropRequestIcon }}</span><span class=\"grow\">{{ resources.formatDropRequest(drop().target) }}</span>\n </button>\n</div>\n", styles: [".backdrop {\n position: fixed;\n z-index: 10;\n inset: 0;\n}\n\n.drop {\n display: flex;\n position: fixed;\n z-index: 11;\n flex-direction: column;\n box-sizing: border-box;\n gap: 0.5rem;\n width: 24rem;\n max-width: calc(100vw - 1rem);\n padding: 0.75rem;\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: 0.5rem;\n background: var(--nol-menu);\n box-shadow: 0 0 0.75rem rgb(0 0 0 / 22%);\n}\n\n.heading {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n}\n\n.heading.ok .ms {\n color: var(--nol-status-ok);\n}\n\n.heading.warning .ms {\n color: var(--nol-warning);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: 600;\n}\n\n.detail {\n margin: 0;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n}\n\n.option {\n display: flex;\n align-items: center;\n gap: 0.375rem;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.option:enabled:hover,\n.option:focus-visible {\n background: var(--nol-hover);\n}\n\n.option:disabled {\n color: var(--nol-text-muted);\n cursor: default;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.ms {\n display: inline-block;\n flex: none;\n overflow: hidden;\n width: 1rem;\n height: 1rem;\n color: var(--nol-icon-color);\n font-family: \"Material Symbols Rounded\";\n font-size: 1rem;\n font-weight: 400;\n font-style: normal;\n line-height: 1;\n white-space: nowrap;\n font-feature-settings: \"liga\";\n}\n"] }]
83
83
  }], ctorParameters: () => [], propDecorators: { box: [{ type: i0.ViewChild, args: ["box", { isSignal: true }] }], drop: [{ type: i0.Input, args: [{ isSignal: true, alias: "drop", required: true }] }], prediction: [{ type: i0.Input, args: [{ isSignal: true, alias: "prediction", required: true }] }], checking: [{ type: i0.Input, args: [{ isSignal: true, alias: "checking", required: true }] }], request: [{ type: i0.Input, args: [{ isSignal: true, alias: "request", required: true }] }], busy: [{ type: i0.Input, args: [{ isSignal: true, alias: "busy", required: true }] }], left: [{ type: i0.Input, args: [{ isSignal: true, alias: "left", required: true }] }], top: [{ type: i0.Input, args: [{ isSignal: true, alias: "top", required: true }] }], merged: [{ type: i0.Output, args: ["merged"] }], switchMerged: [{ type: i0.Output, args: ["switchMerged"] }], rebased: [{ type: i0.Output, args: ["rebased"] }], requested: [{ type: i0.Output, args: ["requested"] }], closed: [{ type: i0.Output, args: ["closed"] }] } });
@@ -28,10 +28,10 @@ export class GitBulkBranchDialogComponent {
28
28
  if (this.isName())
29
29
  this.answered.emit(this.name());
30
30
  }
31
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitBulkBranchDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
32
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitBulkBranchDialogComponent, isStandalone: true, selector: "nol-git-bulk-branch-dialog", inputs: { repositories: { classPropertyName: "repositories", publicName: "repositories", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { answered: "answered" }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-dialog [title]=\"title()\" (dismissed)=\"answered.emit(null)\">\n <input nol-text-field class=\"name\" type=\"text\" name=\"branch\" [attr.aria-label]=\"resources.branchNameLabel\" [placeholder]=\"resources.branchNameLabel\"\n [attr.aria-invalid]=\"name().length > 0 && !isName()\" [ngModel]=\"name()\" (ngModelChange)=\"name.set($event)\" (keydown.enter)=\"create()\" />\n @if (name().length > 0 && !isName()) {\n <p class=\"small refused\" role=\"alert\">{{ resources.branchNameRefused }}</p>\n }\n <p class=\"text\">{{ resources.newBranchText }}</p>\n <ul class=\"targets\">\n @for (repository of repositories(); track $index) {\n <li>{{ repository }}</li>\n }\n </ul>\n <button nol-button nolDialogAction type=\"button\" class=\"create\" [disabled]=\"!isName()\" (click)=\"create()\">{{ resources.createLabel }}</button>\n <button nol-button nolDialogAction type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"answered.emit(null)\">{{ resources.cancelLabel }}</button>\n</nol-dialog>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.name {\n display: block;\n box-sizing: border-box;\n width: 100%;\n}\n\n.refused {\n margin: 0.25rem 0 0;\n color: var(--nol-error);\n}\n\n.text {\n margin: 0.75rem 0 0;\n}\n\n.targets {\n display: grid;\n gap: 0.25rem;\n margin: 0.5rem 0 0;\n padding-inline-start: 1.25rem;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: DialogComponent, selector: "nol-dialog", inputs: ["title", "size"], outputs: ["dismissed"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]", inputs: ["large", "quiet"] }] });
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitBulkBranchDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
32
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitBulkBranchDialogComponent, isStandalone: true, selector: "nol-git-bulk-branch-dialog", inputs: { repositories: { classPropertyName: "repositories", publicName: "repositories", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { answered: "answered" }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-dialog [title]=\"title()\" (dismissed)=\"answered.emit(null)\">\n <input nol-text-field class=\"name\" type=\"text\" name=\"branch\" [attr.aria-label]=\"resources.branchNameLabel\" [placeholder]=\"resources.branchNameLabel\"\n [attr.aria-invalid]=\"name().length > 0 && !isName()\" [ngModel]=\"name()\" (ngModelChange)=\"name.set($event)\" (keydown.enter)=\"create()\" />\n @if (name().length > 0 && !isName()) {\n <p class=\"small refused\" role=\"alert\">{{ resources.branchNameRefused }}</p>\n }\n <p class=\"text\">{{ resources.newBranchText }}</p>\n <ul class=\"targets\">\n @for (repository of repositories(); track $index) {\n <li>{{ repository }}</li>\n }\n </ul>\n <button nol-button nolDialogAction type=\"button\" class=\"create\" [disabled]=\"!isName()\" (click)=\"create()\">{{ resources.createLabel }}</button>\n <button nol-button nolDialogAction type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"answered.emit(null)\">{{ resources.cancelLabel }}</button>\n</nol-dialog>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.name {\n display: block;\n box-sizing: border-box;\n width: 100%;\n}\n\n.refused {\n margin: 0.25rem 0 0;\n color: var(--nol-error);\n}\n\n.text {\n margin: 0.75rem 0 0;\n}\n\n.targets {\n display: grid;\n gap: 0.25rem;\n margin: 0.5rem 0 0;\n padding-inline-start: 1.25rem;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: DialogComponent, selector: "nol-dialog", inputs: ["title", "size"], outputs: ["dismissed"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]", inputs: ["large", "quiet"] }] });
33
33
  }
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitBulkBranchDialogComponent, decorators: [{
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitBulkBranchDialogComponent, decorators: [{
35
35
  type: Component,
36
36
  args: [{ selector: "nol-git-bulk-branch-dialog", imports: [ButtonComponent, DialogComponent, FormsModule, TextFieldComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-dialog [title]=\"title()\" (dismissed)=\"answered.emit(null)\">\n <input nol-text-field class=\"name\" type=\"text\" name=\"branch\" [attr.aria-label]=\"resources.branchNameLabel\" [placeholder]=\"resources.branchNameLabel\"\n [attr.aria-invalid]=\"name().length > 0 && !isName()\" [ngModel]=\"name()\" (ngModelChange)=\"name.set($event)\" (keydown.enter)=\"create()\" />\n @if (name().length > 0 && !isName()) {\n <p class=\"small refused\" role=\"alert\">{{ resources.branchNameRefused }}</p>\n }\n <p class=\"text\">{{ resources.newBranchText }}</p>\n <ul class=\"targets\">\n @for (repository of repositories(); track $index) {\n <li>{{ repository }}</li>\n }\n </ul>\n <button nol-button nolDialogAction type=\"button\" class=\"create\" [disabled]=\"!isName()\" (click)=\"create()\">{{ resources.createLabel }}</button>\n <button nol-button nolDialogAction type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"answered.emit(null)\">{{ resources.cancelLabel }}</button>\n</nol-dialog>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.name {\n display: block;\n box-sizing: border-box;\n width: 100%;\n}\n\n.refused {\n margin: 0.25rem 0 0;\n color: var(--nol-error);\n}\n\n.text {\n margin: 0.75rem 0 0;\n}\n\n.targets {\n display: grid;\n gap: 0.25rem;\n margin: 0.5rem 0 0;\n padding-inline-start: 1.25rem;\n}\n"] }]
37
37
  }], propDecorators: { repositories: [{ type: i0.Input, args: [{ isSignal: true, alias: "repositories", required: true }] }], answered: [{ type: i0.Output, args: ["answered"] }] } });
@@ -24,10 +24,10 @@ export class GitBulkPushDialogComponent {
24
24
  lines = computed(() => this.targets().map(t => Object.isNull(t.upstream) ? Resources.formatPushSkipped(t.repository, t.branch)
25
25
  : Resources.formatPushTarget(t.repository, t.branch, t.upstream, GitWorkspaceOverview.placeOf(t.remote))), /* @ts-ignore */
26
26
  ...(ngDevMode ? [{ debugName: "lines" }] : /* istanbul ignore next */ []));
27
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitBulkPushDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
28
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitBulkPushDialogComponent, isStandalone: true, selector: "nol-git-bulk-push-dialog", inputs: { branch: { classPropertyName: "branch", publicName: "branch", isSignal: true, isRequired: true, transformFunction: null }, targets: { classPropertyName: "targets", publicName: "targets", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { answered: "answered" }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-dialog [title]=\"title()\" (dismissed)=\"answered.emit(false)\">\n <p class=\"text\">{{ resources.pushAllText }}</p>\n <ul class=\"targets\">\n @for (line of lines(); track $index) {\n <li>{{ line }}</li>\n }\n </ul>\n <button nol-button nolDialogAction type=\"button\" class=\"push\" (click)=\"answered.emit(true)\">{{ resources.pushLabel }}</button>\n <button nol-button nolDialogAction type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"answered.emit(false)\">{{ resources.cancelLabel }}</button>\n</nol-dialog>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.text {\n margin: 0;\n}\n\n.targets {\n display: grid;\n gap: 0.25rem;\n margin: 0.5rem 0 0;\n padding-inline-start: 1.25rem;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: DialogComponent, selector: "nol-dialog", inputs: ["title", "size"], outputs: ["dismissed"] }] });
27
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitBulkPushDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
28
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitBulkPushDialogComponent, isStandalone: true, selector: "nol-git-bulk-push-dialog", inputs: { branch: { classPropertyName: "branch", publicName: "branch", isSignal: true, isRequired: true, transformFunction: null }, targets: { classPropertyName: "targets", publicName: "targets", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { answered: "answered" }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-dialog [title]=\"title()\" (dismissed)=\"answered.emit(false)\">\n <p class=\"text\">{{ resources.pushAllText }}</p>\n <ul class=\"targets\">\n @for (line of lines(); track $index) {\n <li>{{ line }}</li>\n }\n </ul>\n <button nol-button nolDialogAction type=\"button\" class=\"push\" (click)=\"answered.emit(true)\">{{ resources.pushLabel }}</button>\n <button nol-button nolDialogAction type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"answered.emit(false)\">{{ resources.cancelLabel }}</button>\n</nol-dialog>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.text {\n margin: 0;\n}\n\n.targets {\n display: grid;\n gap: 0.25rem;\n margin: 0.5rem 0 0;\n padding-inline-start: 1.25rem;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: DialogComponent, selector: "nol-dialog", inputs: ["title", "size"], outputs: ["dismissed"] }] });
29
29
  }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitBulkPushDialogComponent, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitBulkPushDialogComponent, decorators: [{
31
31
  type: Component,
32
32
  args: [{ selector: "nol-git-bulk-push-dialog", imports: [ButtonComponent, DialogComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-dialog [title]=\"title()\" (dismissed)=\"answered.emit(false)\">\n <p class=\"text\">{{ resources.pushAllText }}</p>\n <ul class=\"targets\">\n @for (line of lines(); track $index) {\n <li>{{ line }}</li>\n }\n </ul>\n <button nol-button nolDialogAction type=\"button\" class=\"push\" (click)=\"answered.emit(true)\">{{ resources.pushLabel }}</button>\n <button nol-button nolDialogAction type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"answered.emit(false)\">{{ resources.cancelLabel }}</button>\n</nol-dialog>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.text {\n margin: 0;\n}\n\n.targets {\n display: grid;\n gap: 0.25rem;\n margin: 0.5rem 0 0;\n padding-inline-start: 1.25rem;\n}\n"] }]
33
33
  }], propDecorators: { branch: [{ type: i0.Input, args: [{ isSignal: true, alias: "branch", required: true }] }], targets: [{ type: i0.Input, args: [{ isSignal: true, alias: "targets", required: true }] }], answered: [{ type: i0.Output, args: ["answered"] }] } });