rakutentech/r10/4.1.0

NOTE: the latest version is 7.0.0

R10.Context

Base

type alias AttrC decorative msg =
Attr Context decorative msg
type alias AttributeC msg =
Attribute Context msg
type alias Context =
{ language : Language
, theme : Theme
, userAgent : UserAgent
, emailDomainList : List String
, countryCode : CountryCode
, currentUrl : Url
, seenAnnouncement : Maybe String
, callCenterUrl : String
, contactUsLanguageSupport : Dict String String
, termsAndConditionsLink : String
, privacyPolicyLink : String
, cookiePolicyLink : String
, urlStartOver : String
, notifyText : String
, clientName : String
, referenceClientName : String
, externalError : Maybe String
, referenceExternalServiceName : String
, defaultWidgetWidth : Int
, specialWidgetWidth : Int
, verticalSpacingBetweenItems : Int
, mainPadding : Int
, inputFieldWithLargePattern_width : Int
, inputFieldWithLargePattern_height : Int
, inputFieldWithLargePattern_fontSize : Int
, inputFieldWithLargePattern_letterSpacing : Int
, displayPromoArea : Bool
, debugger_formStyleAsString : String
, debugger_transitionSpeed : Float
, disableInternationalPrefixPhoneChange : Bool
}
type alias ContextForForm =
{ language : Language
, countryCode : CountryCode
, emailDomainList : List String
}
type alias DecorationC =
Decoration Context
type alias ElementC msg =
Element Context msg
empty : Context
{ d
| flags :
{ a
| mode : Mode
, primaryColor : Color
, userAgent : String
, platform : String
, isOntouchendInDocument : Bool
, emailDomainList : List String
, countryCode : CountryCode
, callCenterUrl : String
, contactUsLanguageSupport : Dict String String
, termsAndConditionsLink : String
, privacyPolicyLink : String
, cookiePolicyLink : String
, registrationLink : String
, loginLink : String
, urlStartOver : String
, notifyText : Maybe String
, clientName : String
, referenceClientName : String
, referenceExternalServiceName : String
, externalError : Maybe String
, debugger_transitionSpeed : Float
, debugger_formStyleAsString : String
, displayPromoArea : Bool
, disableInternationalPrefixPhoneChange : Bool
, seenAnnouncement : Maybe String
}
, language : Language
, windowSize : { c | width : Int }
, url : Url
}
-> Context
toContextForForm : Context -> ContextForForm