Merge branch 'feature/action_fixes' into 'develop'

missing action params

See merge request BPHV_MIPS/mvm_core!55
This commit is contained in:
Pfeil, Scott Robert 2020-02-12 22:07:30 -05:00
commit 1439afa56d
9 changed files with 80 additions and 0 deletions

View File

@ -14,5 +14,14 @@ import Foundation
public var extraParameters: JSONValueDictionary?
public var analyticsData: JSONValueDictionary?
// Temporary fix till server changes
//TODO: Should be removed in future releases. This should be MF specific.
//Missing params
public var presentationStyle: String?
public var tryToReplaceFirst: Bool?
public var disableAction: Bool?
public var selected: Bool?
public var isSelected: Bool?
public var title: String?
}

View File

@ -17,6 +17,14 @@ import Foundation
// Temporary fix till server changes
public var title: String?
//TODO: Should be removed in future releases. This should be MF specific.
//Missing params
public var presentationStyle: String?
public var tryToReplaceFirst: Bool?
public var disableAction: Bool?
public var selected: Bool?
public var isSelected: Bool?
public init(callNumber: String) {
self.callNumber = callNumber
}

View File

@ -20,6 +20,14 @@ public protocol ActionModelProtocol: Model {
// Temporary fix till server changes
var title: String? { get set }
//TODO: Should be removed in future releases. This should be MF specific.
//Missing params
var presentationStyle: String? { get set }
var tryToReplaceFirst: Bool? { get set }
var disableAction: Bool? { get set }
var selected: Bool? { get set }
var isSelected: Bool? { get set }
}
public extension ActionModelProtocol {

View File

@ -16,6 +16,14 @@ import Foundation
public var analyticsData: JSONValueDictionary?
// Temporary fix till server changes
public var title: String?
//TODO: Should be removed in future releases. This should be MF specific.
//Missing params
public var presentationStyle: String?
public var tryToReplaceFirst: Bool?
public var disableAction: Bool?
public var selected: Bool?
public var isSelected: Bool?
public init(appURL: String) {
self.appURL = appURL

View File

@ -16,6 +16,14 @@ import Foundation
public var analyticsData: JSONValueDictionary?
// Temporary fix till server changes
public var title: String?
//TODO: Should be removed in future releases. This should be MF specific.
//Missing params
public var presentationStyle: String?
public var tryToReplaceFirst: Bool?
public var disableAction: Bool?
public var selected: Bool?
public var isSelected: Bool?
public init(pageType: String) {
self.pageType = pageType

View File

@ -16,6 +16,14 @@ import Foundation
public var analyticsData: JSONValueDictionary?
// Temporary fix till server changes
public var title: String?
//TODO: Should be removed in future releases. This should be MF specific.
//Missing params
public var presentationStyle: String?
public var tryToReplaceFirst: Bool?
public var disableAction: Bool?
public var selected: Bool?
public var isSelected: Bool?
public init(panel: String) {
self.panel = panel

View File

@ -9,6 +9,7 @@
import Foundation
@objcMembers public class ActionOpenUrlModel: ActionModelProtocol {
public static var identifier: String = "openURL"
public var actionType: String?
public var browserUrl: String
@ -23,6 +24,19 @@ import Foundation
public var openOauthWebView: Bool?
public var showNativeNavigation: Bool?
public var openInWebview: Bool?
public var customUserAgent: JSONValueDictionary?
public var postRequest: Bool?
public var dontShowProgress: Bool?
public var headerParameters: JSONValueDictionary?
//TODO: Should be removed in future releases. This should be MF specific.
//Missing params
public var presentationStyle: String?
public var tryToReplaceFirst: Bool?
public var disableAction: Bool?
public var selected: Bool?
public var isSelected: Bool?
public init(browserUrl: String) {
self.browserUrl = browserUrl

View File

@ -16,6 +16,15 @@ import Foundation
public var pageType: String
public var extraParameters: JSONValueDictionary?
public var analyticsData: JSONValueDictionary?
//TODO: Should be removed in future releases. This should be MF specific.
//Missing params
public var presentationStyle: String?
public var tryToReplaceFirst: Bool?
public var disableAction: Bool?
public var selected: Bool?
public var isSelected: Bool?
public init(pageType: String) {
self.pageType = pageType
}

View File

@ -17,6 +17,14 @@ import Foundation
public var analyticsData: JSONValueDictionary?
// Temporary fix till server changes
public var title: String?
//TODO: Should be removed in future releases. This should be MF specific.
//Missing params
public var presentationStyle: String?
public var tryToReplaceFirst: Bool?
public var disableAction: Bool?
public var selected: Bool?
public var isSelected: Bool?
public init(pageType: String) {
self.pageType = pageType