Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
2f16a09ab8 | |||
183ae98c30 | |||
ba15e63879 | |||
654277feda |
@ -1,3 +1,7 @@
|
|||||||
|
### **0.3.19** (2021-04-01)
|
||||||
|
|
||||||
|
- Fix previous release
|
||||||
|
|
||||||
### **0.3.18** (2021-04-01)
|
### **0.3.18** (2021-04-01)
|
||||||
|
|
||||||
- Fix error.ftt, Adopt best effort strategy to convert ftl values into JS
|
- Fix error.ftt, Adopt best effort strategy to convert ftl values into JS
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "keycloakify",
|
"name": "keycloakify",
|
||||||
"version": "0.3.18",
|
"version": "0.3.19",
|
||||||
"description": "Keycloak theme generator for Reacts app",
|
"description": "Keycloak theme generator for Reacts app",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -2,17 +2,19 @@
|
|||||||
{
|
{
|
||||||
"url": (function (){
|
"url": (function (){
|
||||||
|
|
||||||
<#if !url?has_content>
|
<#if url?has_content>
|
||||||
return undefined;
|
|
||||||
|
return {
|
||||||
|
"loginAction": "${(url.loginAction!'')?no_esc}",
|
||||||
|
"resourcesPath": "${(url.resourcesPath!'')?no_esc}",
|
||||||
|
"resourcesCommonPath": "${(url.resourcesCommonPath!'')?no_esc}",
|
||||||
|
"loginRestartFlowUrl": "${(url.loginRestartFlowUrl!'')?no_esc}",
|
||||||
|
"loginUrl": "${(url.loginUrl!'')?no_esc}"
|
||||||
|
};
|
||||||
|
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
return {
|
return undefined;
|
||||||
"loginAction": "${(url.loginAction!'')?no_esc}",
|
|
||||||
"resourcesPath": "${(url.resourcesPath!'')?no_esc}",
|
|
||||||
"resourcesCommonPath": "${(url.resourcesCommonPath!'')?no_esc}",
|
|
||||||
"loginRestartFlowUrl": "${(url.loginRestartFlowUrl!'')?no_esc}",
|
|
||||||
"loginUrl": "${(url.loginUrl!'')?no_esc}"
|
|
||||||
};
|
|
||||||
|
|
||||||
})(),
|
})(),
|
||||||
"realm": {
|
"realm": {
|
||||||
@ -23,56 +25,58 @@
|
|||||||
},
|
},
|
||||||
"locale": (function (){
|
"locale": (function (){
|
||||||
|
|
||||||
<#if !realm.internationalizationEnabled>
|
<#if realm.internationalizationEnabled>
|
||||||
return undefined;
|
|
||||||
|
return {
|
||||||
|
"supported": (function(){
|
||||||
|
|
||||||
|
var out= [];
|
||||||
|
|
||||||
|
<#list locale.supported as lng>
|
||||||
|
out.push({
|
||||||
|
"url": "${lng.url?no_esc}",
|
||||||
|
"label": "${lng.label}",
|
||||||
|
"languageTag": "${lng.languageTag}"
|
||||||
|
});
|
||||||
|
</#list>
|
||||||
|
|
||||||
|
return out;
|
||||||
|
|
||||||
|
})(),
|
||||||
|
"current": "${locale.current}"
|
||||||
|
};
|
||||||
|
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
return {
|
return undefined;
|
||||||
"supported": (function(){
|
|
||||||
|
|
||||||
<#if !realm.internationalizationEnabled>
|
|
||||||
return undefined;
|
|
||||||
</#if>
|
|
||||||
|
|
||||||
var out= [];
|
|
||||||
|
|
||||||
<#list locale.supported as lng>
|
|
||||||
out.push({
|
|
||||||
"url": "${lng.url?no_esc}",
|
|
||||||
"label": "${lng.label}",
|
|
||||||
"languageTag": "${lng.languageTag}"
|
|
||||||
});
|
|
||||||
</#list>
|
|
||||||
|
|
||||||
return out;
|
|
||||||
|
|
||||||
})(),
|
|
||||||
"current": "${locale.current}"
|
|
||||||
};
|
|
||||||
|
|
||||||
})(),
|
})(),
|
||||||
"auth": (function (){
|
"auth": (function (){
|
||||||
|
|
||||||
<#if !auth?has_content>
|
<#if auth?has_content>
|
||||||
return undefined;
|
|
||||||
|
var out= {
|
||||||
|
"showUsername": ${auth.showUsername()?c},
|
||||||
|
"showResetCredentials": ${auth.showResetCredentials()?c},
|
||||||
|
"showTryAnotherWayLink": ${auth.showTryAnotherWayLink()?c},
|
||||||
|
};
|
||||||
|
|
||||||
|
<#if auth.showUsername() && !auth.showResetCredentials()>
|
||||||
|
Object.assign(
|
||||||
|
out,
|
||||||
|
{
|
||||||
|
"attemptedUsername": "${auth.attemptedUsername}"
|
||||||
|
}
|
||||||
|
);
|
||||||
|
</#if>
|
||||||
|
|
||||||
|
return out;
|
||||||
|
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
var out= {
|
return undefined;
|
||||||
"showUsername": ${auth.showUsername()?c},
|
|
||||||
"showResetCredentials": ${auth.showResetCredentials()?c},
|
|
||||||
"showTryAnotherWayLink": ${auth.showTryAnotherWayLink()?c},
|
|
||||||
};
|
|
||||||
|
|
||||||
<#if auth.showUsername() && !auth.showResetCredentials()>
|
|
||||||
Object.assign(
|
|
||||||
out,
|
|
||||||
{
|
|
||||||
"attemptedUsername": "${auth.attemptedUsername}"
|
|
||||||
}
|
|
||||||
);
|
|
||||||
</#if>
|
|
||||||
|
|
||||||
return out;
|
|
||||||
|
|
||||||
})(),
|
})(),
|
||||||
"scripts": (function(){
|
"scripts": (function(){
|
||||||
@ -90,14 +94,16 @@
|
|||||||
})(),
|
})(),
|
||||||
"message": (function (){
|
"message": (function (){
|
||||||
|
|
||||||
<#if !message?has_content>
|
<#if message?has_content>
|
||||||
return undefined;
|
|
||||||
|
return {
|
||||||
|
"type": "${message.type}",
|
||||||
|
"summary": String.htmlUnescape("${message.summary}")
|
||||||
|
};
|
||||||
|
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
return {
|
return undefined;
|
||||||
"type": "${message.type}",
|
|
||||||
"summary": String.htmlUnescape("${message.summary}")
|
|
||||||
};
|
|
||||||
|
|
||||||
})(),
|
})(),
|
||||||
"isAppInitiatedAction": (function (){
|
"isAppInitiatedAction": (function (){
|
||||||
|
Reference in New Issue
Block a user