Skip to content

Commit

Permalink
fix for RGAA
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesGrimont committed Sep 22, 2022
1 parent 0511e63 commit ab30211
Show file tree
Hide file tree
Showing 31 changed files with 12,131 additions and 11,378 deletions.
6 changes: 3 additions & 3 deletions DisplayObjects/mobile/assets/i18n/en.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version_c8o": "2.0.0-beta17",
"version_c8o": "2.0.0-beta18",
"configure": "Configure",
"respMandartory1": "The field \"",
"respMandartory2": "\" must be filled.",
Expand Down Expand Up @@ -319,7 +319,7 @@
"copy_elem_to": "To which page do you want to copy this item?",
"copy_to": "Copy this element to another page",
"copy_here": "Copy this item to this page",
"previous": "Previous",
"previous": "Previous page",
"deletePageConfirm": "Are you sure you want to delete the page?",
"organization_page": "Page",
"Organization": "Organization",
Expand Down Expand Up @@ -505,7 +505,7 @@
"access": "Go to No Code Studio",
"email": "Username",
"password": "Password",
"next": "Next",
"next": "Next page",
"loginko": "Wrong password. Please try again",
"loginko2": "You do not have sufficient rights to access Convertigo Forms",
"chooseformselect": "Select a form",
Expand Down
6 changes: 3 additions & 3 deletions DisplayObjects/mobile/assets/i18n/es.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version_c8o": "2.0.0-beta17",
"version_c8o": "2.0.0-beta18",
"configure": "Configurar",
"respMandartory1": "El campo \"",
"respMandartory2": "\" debe ser llenado.",
Expand Down Expand Up @@ -319,7 +319,7 @@
"copy_elem_to": "¿En qué página desea copiar este elemento?",
"copy_to": "Copiar este elemento a otra página",
"copy_here": "Copiar este artículo a esta página",
"previous": "Anterior",
"previous": "Página anterior",
"deletePageConfirm": "¿Estás seguro de que quieres eliminar la página?",
"organization_page": "Página",
"Organization": "Organización",
Expand Down Expand Up @@ -506,7 +506,7 @@
"access": "Ir a No Code Studio",
"email": "Nombre de usuario",
"password": "Contraseña",
"next": "Siguiente",
"next": "Siguiente página",
"loginko": "La contraseña o el correo es incorrecto. Vuelve a intentarlo",
"loginko2": "No tienes suficientes derechos para acceder a los formularios convertigo",
"chooseformselect": "Eligir un formulario o crear un nuevo",
Expand Down
6 changes: 3 additions & 3 deletions DisplayObjects/mobile/assets/i18n/fr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version_c8o": "2.0.0-beta17",
"version_c8o": "2.0.0-beta18",
"configure": "Configurer",
"respMandartory1": "Le champ \"",
"respMandartory2": "\" doit être rempli.",
Expand Down Expand Up @@ -318,7 +318,7 @@
"copy_elem_to": "Vers quelle page voulez-vous copier cet élément ?",
"copy_to": "Copier cet élément vers une autre page",
"copy_here": "Copier cet élément dans cette page",
"previous": "Précédent",
"previous": "Page précédente",
"deletePageConfirm": "Etes-vous sur de vouloir supprimer la page ?",
"organization_page": "Page",
"Organization": "Organisation",
Expand Down Expand Up @@ -533,7 +533,7 @@
"access": "Accéder au No Code Studio",
"email": "Identifiant",
"password": "Mot de passe",
"next": "Suivant",
"next": "Page suivante",
"loginko": "Mot de passe incorrect. Merci de réessayer",
"loginko2": "Vous n'avez pas les droits suffisant pour accéder à Convertigo Forms",
"chooseformselect": "Sélectionner un formulaire existant",
Expand Down
6 changes: 3 additions & 3 deletions DisplayObjects/mobile/assets/i18n/it.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version_c8o": "2.0.0-beta17",
"version_c8o": "2.0.0-beta18",
"configure": "Configura",
"respMandartory1": "Il campo \"",
"respMandartory2": "\" deve essere compilato",
Expand Down Expand Up @@ -319,7 +319,7 @@
"copy_elem_to": "In quale pagina vuoi copiare questo elemento?",
"copy_to": "Copia questo elemento in un'altra pagina",
"copy_here": "Copia questo oggetto in questa pagina",
"previous": "Precedente",
"previous": "Pagina precedente",
"deletePageConfirm": "Sei sicuro di voler eliminare la pagina ?",
"organization_page": "Pagina",
"Organization": "Organizzazione",
Expand Down Expand Up @@ -505,7 +505,7 @@
"access": "Vai a No Code Studio",
"email": "Nome utente",
"password": "Parola d'ordine",
"next": "Il prossimo",
"next": "Pagina successiva",
"loginko": "Password errata. Per favore riprova",
"loginko2": "Non disponi di diritti sufficienti per accedere ai moduli convertigo",
"chooseformselect": "Seleziona un modulo",
Expand Down
44 changes: 31 additions & 13 deletions _c8oProject/mobileApplication.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1238,12 +1238,12 @@ useClickForTap: true
--ion-font-family: $font-family-base;
/** Custom Convertigo Forms color: primary (root declaration) **/
--ion-color-primary: #0cbbe7;
--ion-color-primary-rgb: 12,187,231;
--ion-color-primary-contrast: #000000;
--ion-color-primary-contrast-rgb: 0,0,0;
--ion-color-primary-shade: #0ba5cb;
--ion-color-primary-tint: #24c2e9;
--ion-color-primary: #3880ff;
--ion-color-primary-rgb: 56,128,255;
--ion-color-primary-contrast: #fff;
--ion-color-primary-contrast-rgb: 255,255,255;
--ion-color-primary-shade: #3171e0;
--ion-color-primary-tint: #4c8dff;
/** Custom Convertigo Forms color: primaryB (root declaration) **/
--ion-color-primaryB: #488aff;
--ion-color-primaryB-rgb: 72,138,255;
Expand Down Expand Up @@ -1294,12 +1294,12 @@ useClickForTap: true
--ion-color-white-shade: #e0e0e0;
--ion-color-white-tint: #ffffff;
/** Custom Convertigo Forms color: convertigo (root declaration) **/
--ion-color-convertigo: #0cbbe7;
--ion-color-convertigo-rgb: 12,187,231;
--ion-color-convertigo-contrast: #000000;
--ion-color-convertigo-contrast-rgb: 0,0,0;
--ion-color-convertigo-shade: #0ba5cb;
--ion-color-convertigo-tint: #24c2e9;
--ion-color-convertigo: #3880ff;
--ion-color-convertigo-rgb: 56,128,255;
--ion-color-convertigo-contrast: #fff;
--ion-color-convertigo-contrast-rgb: 255,255,255;
--ion-color-convertigo-shade: #3171e0;
--ion-color-convertigo-tint: #4c8dff;
/** Custom Convertigo Forms color: greenSelector (root declaration) **/
--ion-color-greenSelector: #25e056;
--ion-color-greenSelector-rgb: 37,224,86;
Expand Down Expand Up @@ -3571,4 +3571,22 @@ useClickForTap: true
font-weight: 400;
font-style: "normal";
font-variant: "latin";
'
'
↓StyleWCAG [ngx.components.UIStyle-1663773018293]:
styleContent:
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.common.FormatedContent
- com.twinsoft.convertigo.beans.common.FormatedContent:
: |
'fieldset{
//visibility: hidden
margin: 0;
border:0;
padding:0;
}
legend{
position:absolute; clip:rect(0 0 0 0);
}
.my-custom-interface .ion-focused {
border: 2px solid;
} '
136 changes: 83 additions & 53 deletions _c8oProject/mobileMenus/Menu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1105,6 +1105,12 @@ tagName: ion-menu
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.ngx.components.MobileSmartSourceType
- MobileSmartSourceType: script:'fr'|translate
↓Attr [ngx.components.UIAttribute-1663851062925]:
attrName: lang
attrValue:
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.ngx.components.MobileSmartSourceType
- MobileSmartSourceType: plain:fr
↓SelectOptionEN [ngx.components.UIDynamicElement-1663174471165]:
beanData: '{"ionBean":"SelectOption","Value":"plain:en"}'
tagName: ion-select-option
Expand All @@ -1113,6 +1119,12 @@ tagName: ion-menu
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.ngx.components.MobileSmartSourceType
- MobileSmartSourceType: script:'en' | translate
↓Attr [ngx.components.UIAttribute-1663851081845]:
attrName: '[attr.lang]'
attrValue:
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.ngx.components.MobileSmartSourceType
- MobileSmartSourceType: plain:en
↓SelectOptionES [ngx.components.UIDynamicElement-1663174471171]:
beanData: '{"ionBean":"SelectOption","Value":"plain:es"}'
tagName: ion-select-option
Expand All @@ -1121,6 +1133,12 @@ tagName: ion-menu
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.ngx.components.MobileSmartSourceType
- MobileSmartSourceType: script:'es' | translate
↓Attr [ngx.components.UIAttribute-1663851089017]:
attrName: lang
attrValue:
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.ngx.components.MobileSmartSourceType
- MobileSmartSourceType: plain:es
↓Event [ngx.components.UIControlEvent-1663174471177]:
attrName: (ionChange)
eventName: ionChange
Expand Down Expand Up @@ -1173,6 +1191,40 @@ tagName: ion-menu
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.ngx.components.MobileSmartSourceType
- MobileSmartSourceType: script:'it' | translate
↓Attr [ngx.components.UIAttribute-1663851096566]:
attrName: lang
attrValue:
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.ngx.components.MobileSmartSourceType
- MobileSmartSourceType: plain:it
↓Attr1 [ngx.components.UIAttribute-1663847282529]:
attrName: '[interfaceOptions]'
attrValue:
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.ngx.components.MobileSmartSourceType
- MobileSmartSourceType: 'script:{cssClass: ''my-custom-interface''}'
↓Event1 [ngx.components.UIControlEvent-1663852327292]:
↓CustomAsyncAction [ngx.components.UICustomAsyncAction-1663852338212]:
actionValue:
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.common.FormatedContent
- com.twinsoft.convertigo.beans.common.FormatedContent:
: |
//done for rgaa / wcag
try {
setTimeout(()=>{
let elems = document.getElementsByClassName("my-custom-interface")[0].querySelectorAll("ion-item ion-label");
elems[0]["lang"]= "fr";
elems[1]["lang"]= "en";
elems[2]["lang"]= "es";
elems[3]["lang"]= "it";
},1000)
} catch (e) {
} finally {
return;
}
↓Attr2 [ngx.components.UIAttribute-1663174471195]:
attrName: '[ngClass]'
attrValue:
Expand All @@ -1185,62 +1237,10 @@ tagName: ion-menu
- ↑classname: com.twinsoft.convertigo.beans.common.FormatedContent
- com.twinsoft.convertigo.beans.common.FormatedContent:
: |
'/*border-bottom: 1px solid var(--ion-color-greyButton) !important*/
'
↓Style1 [ngx.components.UIStyle-1663174471201]:
styleContent:
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.common.FormatedContent
- com.twinsoft.convertigo.beans.common.FormatedContent:
: |
'/**
* Custom properties (sometimes referred to as CSS variables or cascading variables)
* are entities defined by CSS authors that contain specific values to be reused throughout a document.
* They are set using custom property notation, e.g.: --main-color: black;
* and are accessed using the var() function, e.g.: color: var(--main-color);
* You can find below your component''s properties you can customize within the page.
* If you''d like to make some customizations for whole app, please see your app Style & Theme components.
* For more informations see https://ionicframework.com/docs/theming.
**/
//--background //Background of the item
//--background-activated //Background of the item when pressed. Note: setting this will interfere with the Material Design ripple
//--background-activated-opacity //Opacity of the item background when pressed
//--background-focused //Background of the item when focused with the tab key
//--background-focused-opacity //Opacity of the item background when focused with the tab key
//--background-hover //Background of the item on hover
//--background-hover-opacity //Opacity of the background of the item on hover
//--border-color //Color of the item border
//--border-radius //Radius of the item border
//--border-style //Style of the item border
//--border-width //Width of the item border
//--color //Color of the item
//--color-activated //Color of the item when pressed
//--color-focused //Color of the item when focused with the tab key
//--color-hover //Color of the item on hover
//--detail-icon-color //Color of the item detail icon
//--detail-icon-font-size //Font size of the item detail icon
//--detail-icon-opacity //Opacity of the item detail icon
//--highlight-color-focused //The color of the highlight on the item when focused
//--highlight-color-invalid //The color of the highlight on the item when invalid
//--highlight-color-valid //The color of the highlight on the item when valid
//--highlight-height //The height of the highlight on the item
//--inner-border-width //Width of the item inner border
//--inner-box-shadow //Box shadow of the item inner
//--inner-padding-bottom //Bottom padding of the item inner
//--inner-padding-end //Right padding if direction is left-to-right, and left padding if direction is right-to-left of the item inner
//--inner-padding-start //Left padding if direction is left-to-right, and right padding if direction is right-to-left of the item inner
//--inner-padding-top //Top padding of the item inner
//--min-height //Minimum height of the item
//--padding-bottom //Bottom padding of the item
//--padding-end //Right padding if direction is left-to-right, and left padding if direction is right-to-left of the item
//--padding-start //Left padding if direction is left-to-right, and right padding if direction is right-to-left of the item
//--padding-top //Top padding of the item
//--ripple-color //Color of the item ripple effect
//--transition //Transition of the item
&:hover{
cursor:pointer;
}
'
↓Attr [ngx.components.UIAttribute-1663174752094]:
attrName: role
attrValue:
Expand Down Expand Up @@ -1270,6 +1270,12 @@ tagName: ion-menu
"IconSlot": "plain:start"
}'
tagName: ion-icon
↓Attr [ngx.components.UIAttribute-1663840890046]:
attrName: '[attr.aria-hidden]'
attrValue:
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.ngx.components.MobileSmartSourceType
- MobileSmartSourceType: script:true
↓Label [ngx.components.UIDynamicElement-1663174471210]:
beanData: '{"ionBean":"Label"}'
tagName: ion-label
Expand Down Expand Up @@ -1365,6 +1371,12 @@ tagName: ion-menu
"IconSlot": "plain:start"
}'
tagName: ion-icon
↓Attr [ngx.components.UIAttribute-1663840912926]:
attrName: '[attr.aria-hidden]'
attrValue:
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.ngx.components.MobileSmartSourceType
- MobileSmartSourceType: script:true
↓Label [ngx.components.UIDynamicElement-1663174471231]:
beanData: '{"ionBean":"Label"}'
tagName: ion-label
Expand Down Expand Up @@ -1495,6 +1507,24 @@ tagName: ion-menu
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.ngx.components.MobileSmartSourceType
- MobileSmartSourceType: plain:close
↓Style [ngx.components.UIStyle-1663850140649]:
styleContent:
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.common.FormatedContent
- com.twinsoft.convertigo.beans.common.FormatedContent:
: |
'/**
* Custom properties (sometimes referred to as CSS variables or cascading variables)
* are entities defined by CSS authors that contain specific values to be reused throughout a document.
* They are set using custom property notation, e.g.: --main-color: black;
* and are accessed using the var() function, e.g.: color: var(--main-color);
* You can find below your component''s properties you can customize within the page.
* If you''d like to make some customizations for whole app, please see your app Style & Theme components.
* For more informations see https://ionicframework.com/docs/theming.
**/
--color: black; //Color of the label
color:black;
'
↓Event [ngx.components.UIControlEvent-1663173745715]:
↓CustomAsyncAction [ngx.components.UICustomAsyncAction-1663174974473]:
actionValue:
Expand Down
Loading

0 comments on commit ab30211

Please sign in to comment.
-