-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into 12784-implement-selec…
…tion-of-datatypestosign-for-signing-tasks-in-process-config-panel
- Loading branch information
Showing
404 changed files
with
5,930 additions
and
13,017 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
using System.Collections.Generic; | ||
using System.Runtime.Serialization; | ||
using System.Text.Json.Serialization; | ||
using JetBrains.Annotations; | ||
|
||
namespace Altinn.Studio.Designer.Models; | ||
public class FooterFile | ||
{ | ||
[JsonPropertyName("$schema")] | ||
public string Schema { get; set; } | ||
|
||
[JsonPropertyName("footer")] | ||
public List<FooterLayout> Footer { get; set; } | ||
} | ||
|
||
public class FooterLayout | ||
{ | ||
[JsonPropertyName("type")] | ||
[JsonConverter(typeof(JsonStringEnumConverter))] | ||
public ComponentType Type { get; set; } | ||
|
||
[JsonPropertyName("title")] | ||
public string Title { get; set; } | ||
|
||
[JsonPropertyName("target")] | ||
[CanBeNull] | ||
public string Target { get; set; } | ||
|
||
[JsonPropertyName("icon")] | ||
[JsonConverter(typeof(JsonStringEnumConverter))] | ||
public IconType? Icon { get; set; } | ||
} | ||
|
||
public enum ComponentType | ||
{ | ||
Email, | ||
Link, | ||
Phone, | ||
Text | ||
} | ||
|
||
public enum IconType | ||
{ | ||
[EnumMember(Value = "information")] | ||
Information, | ||
[EnumMember(Value = "email")] | ||
Email, | ||
[EnumMember(Value = "phone")] | ||
Phone | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.