diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dd862ea..d84bcae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -327,7 +327,7 @@ jobs: ./mvnw --batch-mode --no-transfer-progress bonita-project:install ./mvnw --batch-mode --no-transfer-progress clean package \ -Pdocker \ - -Dbonita.environment=Qualification \ + -Dbonita.environment=presales \ -Ddocker.baseImageRepository=bonitasoft.jfrog.io/docker-releases/bonita-subscription \ -Ddocker.imageName=bonita_sca:1.0 diff --git a/.gitignore b/.gitignore index aab921d..4f61b9d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,6 @@ target/ dependency-reduced-pom.xml pom.xml.versionsBackup node/ -node_modules/ \ No newline at end of file +node_modules/ + +.DS_Store \ No newline at end of file diff --git a/app/.store/com/bonitasoft/connector-kafka-producer/1.1/connector-kafka-producer-1.1.jar b/app/.store/com/bonitasoft/connector-kafka-producer/1.1/connector-kafka-producer-1.1.jar deleted file mode 100644 index 94ca269..0000000 Binary files a/app/.store/com/bonitasoft/connector-kafka-producer/1.1/connector-kafka-producer-1.1.jar and /dev/null differ diff --git a/app/.store/com/bonitasoft/connector-kafka-producer/1.2/connector-kafka-producer-1.2.jar b/app/.store/com/bonitasoft/connector-kafka-producer/1.2/connector-kafka-producer-1.2.jar deleted file mode 100644 index 02c1b00..0000000 Binary files a/app/.store/com/bonitasoft/connector-kafka-producer/1.2/connector-kafka-producer-1.2.jar and /dev/null differ diff --git a/app/diagrams/_consumeRecord-1.0.proc b/app/diagrams/_consumeRecord-1.0.proc index 9adfb76..ef73448 100644 --- a/app/diagrams/_consumeRecord-1.0.proc +++ b/app/diagrams/_consumeRecord-1.0.proc @@ -1,5 +1,5 @@ - + @@ -13,10 +13,51 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -32,8 +73,8 @@ - - + + @@ -84,13 +125,45 @@ - + + - + + + + + + + member + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/diagrams/_produceRecord-1.0.proc b/app/diagrams/_produceRecord-1.0.proc index ca4488a..5f11c94 100644 --- a/app/diagrams/_produceRecord-1.0.proc +++ b/app/diagrams/_produceRecord-1.0.proc @@ -12,45 +12,54 @@ - - - - - + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + + + + + + - - - - + + + + + + - + + java.lang.String + @@ -116,6 +125,7 @@ + @@ -148,11 +158,42 @@ - + + + + + + + member + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/environements/presales.xml b/app/environements/presales.xml new file mode 100644 index 0000000..28e6517 --- /dev/null +++ b/app/environements/presales.xml @@ -0,0 +1,2 @@ + + diff --git a/app/pom.xml b/app/pom.xml index 7c3f3b2..4cb769e 100644 --- a/app/pom.xml +++ b/app/pom.xml @@ -88,9 +88,9 @@ provided - com.bonitasoft - connector-kafka-producer - 1.2 + com.bonitasoft.presales.connector + connector-kafka + 1.6 @@ -106,6 +106,10 @@ + + + + diff --git a/app/web_page/produceRecordInstanciation/produceRecordInstanciation.json b/app/web_page/produceRecordInstanciation/produceRecordInstanciation.json index 338159f..9ff1032 100644 --- a/app/web_page/produceRecordInstanciation/produceRecordInstanciation.json +++ b/app/web_page/produceRecordInstanciation/produceRecordInstanciation.json @@ -4,7 +4,7 @@ "type" : "form", "uuid" : "6a883136-d9c2-423f-8a78-49047e205676", "modelVersion" : "2.6", - "lastUpdate" : 1715939835751, + "lastUpdate" : 1720527672550, "description" : "Page generated with Bonita UI designer", "rows" : [ [ @@ -441,7 +441,7 @@ "value" : [ "{\r", " \"recordInput\" : {\r", - " \"topic\" : \"\",\r", + " \"topic\" : \"bonita-topic\",\r", " \"recordKey\" : \"\",\r", " \"recordValue\" : \"\"\r", " }\r", diff --git a/app/web_page/reviewMessages/assets/css/style.css b/app/web_page/reviewMessages/assets/css/style.css new file mode 100644 index 0000000..5c2b3ab --- /dev/null +++ b/app/web_page/reviewMessages/assets/css/style.css @@ -0,0 +1,56 @@ +/* Add margin bottom and top to each widgets */ +.component { + margin-bottom: 3px; + margin-top: 3px; +} + +/* Set cursor to pointer on table with selectable rows */ +.table-hover tr { + cursor: pointer; +} + +/* Set a red border to invalid input fields in forms */ +input[type='text'].ng-invalid.ng-dirty, input[type='email'].ng-invalid.ng-dirty, +input[type='number'].ng-invalid.ng-dirty, input[type='password'].ng-invalid.ng-dirty, +input[type='url'].ng-invalid.ng-dirty { + border-color: #C00; + border-width: 1px; +} + +/* Add a red star after required inputs */ +.control-label--required:after { + content: " *"; + color: #C00; +} +.btn-invalid{ + border-color: #C00; + border-width: 1px; +} + +.bonita-modal{ + overflow-y: auto; +} + +.modal-open .datepicker, +.modal-open .timepicker { + z-index: 9999; +} + +/* Error redirection dialog */ +.ngdialog.ngdialog-theme-default .ngdialog-content { + width: 700px; + box-shadow: 0 5px 15px rgba(0,0,0,0.5); + background: #fff; + padding: 0; +} + +.ngdialog.ngdialog-theme-default { + padding-top: 30px; +} + +@media screen and (max-width: 767px) { + .ngdialog.ngdialog-theme-default .ngdialog-content { + width: 75%; + } +} + diff --git a/app/web_page/reviewMessages/assets/json/localization.json b/app/web_page/reviewMessages/assets/json/localization.json new file mode 100644 index 0000000..82a01f6 --- /dev/null +++ b/app/web_page/reviewMessages/assets/json/localization.json @@ -0,0 +1,550 @@ +{ + "fr-FR": { + "Title": "Titre", + "Default label": "Libellé par défaut", + "Default name": "Nom par défaut", + "Select": "Sélection", + "Select an option": "Sélectionnez une option", + "green": "vert", + "red": "rouge", + "blue": "bleu", + "yes": "oui", + "no": "non", + "Id": "Id", + "Name": "Nom", + "Description": "Description", + "Link": "Lien", + "Submit": "Soumettre", + "This field is required": "Ce champ est obligatoire", + "This field length should be larger": "Ce champ doit contenir plus de caractères", + "This field length should be smaller": "Ce champ doit contenir moins de caractères", + "This value is too small": "La valeur de ce champ est trop petite", + "This value is too large": "La valeur de ce champ est trop grande", + "This is not a valid email": "L'email saisi n'est pas valide", + "Toggle the text area to HTML source code / Rich text area": "Basculer l'affichage du texte vers HTML / Rich Text", + "Heading ": "Titre ", + "Paragraph": "Paragraphe", + "Preformatted text": "Texte préformaté", + "Unordered List": "Liste", + "Ordered List": "Liste numérotée", + "Quote/unquote selection or paragraph": "Formater le paragraphe ou la sélection en citation", + "Undo": "Annuler", + "Redo": "Rétablir", + "Bold": "Gras", + "Italic": "Italique", + "Underline": "Souligné", + "Strikethrough": "Barré", + "Align text left": "Aligner le texte à gauche", + "Align text right": "Aligner le texte à droite", + "Justify text": "Justifier le texte", + "Center": "Centrer", + "Increase indent": "Augmenter l'indentation", + "Decrease indent": "Diminuer l'indentation", + "Clear formatting": "Effacer le formatage", + "Please enter an image URL to insert": "Saisissez l'URL de l'image à insérer", + "Insert image": "Insérer une image", + "Insert video": "Insérer une vidéo", + "Please enter a youtube URL to embed": "Saisissez une URL YouTube à embarquer", + "Insert / edit link": "Insérer/éditer un lien", + "Please enter a URL to insert": "Entrez une URL à insérer", + "Relink": "Changer le lien", + "Unlink": "Enlever le lien", + "Open in New Window": "Ouvrir dans une nouvelle fenêtre", + "Display words Count": "Afficher le nombre de mots", + "Display characters Count": "Afficher le nombre de caractères", + "The requested content cannot be loaded.
Please try again later.": "Le contenu demandé ne peut pas être téléchargé.
Veuillez réessayer plus tard.", + "An error occurred with the requested operation": "Une erreur s'est produite lors de l'opération demandée", + "Your session is no longer active.": "Votre session n'est plus active.", + "Click on OK to be redirected and log back in.": "Cliquez sur OK pour être redirigé et vous reconnecter.", + "Click on Cancel to remain on this page and try to execute the operation again once you logged back in (e.g. in another tab).": "Cliquez sur Annuler pour rester sur cette page et essayer d'exécuter à nouveau l'opération après vous être reconnecté (e.g. dans un autre onglet).", + "Server is under maintenance.": "Une maintenance est en cours sur le serveur.", + "Click on OK to be redirected to the maintenance page.": "Cliquez sur OK pour être redirigé vers la page de maintenance.", + "Click on Cancel to remain on this page and wait for the maintenance to end.": "Cliquez sur Annuler pour rester sur cette page et attendre la fin des opérations de maintenance.", + "OK": "OK", + "Cancel": "Annuler", + "Date": "Date", + "MM/dd/yyyy": "dd/MM/yyyy", + "Today": "Aujourd'hui", + "Now": "Maintenant", + "Enter a date (mm/dd/yyyy)": "Saisissez une date (jj/mm/aaaa)", + "Date and time": "Date et heure", + "h:mm:ss a": "HH:mm:ss", + "Enter a time (h:mm:ss a)": "Saisissez une heure (hh:mm:ss)", + "$locale": { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "dimanche", + "lundi", + "mardi", + "mercredi", + "jeudi", + "vendredi", + "samedi" + ], + "FIRSTDAYOFWEEK": 1, + "MONTH": [ + "janvier", + "f\u00e9vrier", + "mars", + "avril", + "mai", + "juin", + "juillet", + "ao\u00fbt", + "septembre", + "octobre", + "novembre", + "d\u00e9cembre" + ], + "SHORTDAY": [ + "dim.", + "lun.", + "mar.", + "mer.", + "jeu.", + "ven.", + "sam." + ], + "SHORTMONTH": [ + "janv.", + "f\u00e9vr.", + "mars", + "avr.", + "mai", + "juin", + "juil.", + "ao\u00fbt", + "sept.", + "oct.", + "nov.", + "d\u00e9c." + ], + "fullDate": "EEEE d MMMM y", + "longDate": "d MMMM y", + "medium": "d MMM y HH:mm:ss", + "mediumDate": "d MMM y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM/y HH:mm", + "shortDate": "dd/MM/y", + "shortTime": "HH:mm" + } + }, + "Uploading...": "Chargement...", + "Upload failed": "Erreur de chargement" + }, + "es-ES": { + "Title": "Título", + "Default label": "Etiqueta por defecto", + "Default name": "Nombre por defecto", + "Select": "Seleccionar", + "Select an option": "Selecciona una opción", + "green": "verde", + "red": "rojo", + "blue": "azul", + "yes": "sí", + "no": "no", + "Id": "Id", + "Name": "Nombre", + "Description": "Descripción", + "Link": "Enlace", + "Submit": "Enviar", + "This field is required": "Este campo es requerido", + "This field length should be larger": "La longitud de este campo debería ser mayor", + "This field length should be smaller": "La longitud de este campo debería ser menor", + "This value is too small": "El valor de este campo es demasiado pequeño", + "This value is too large": "El valor de este campo es demasiado grande", + "This is not a valid email": "El email introducido no es válido", + "Toggle the text area to HTML source code / Rich text area": "Cambia el area de texto a código fuente HTML", + "Heading ": "Titulo", + "Paragraph": "Parrafo", + "Preformatted text": "Texto preformateado", + "Unordered List": "Lista de puntos", + "Ordered List": "Lista numerada", + "Quote/unquote selection or paragraph": "Añade/elimina comillas del parrafo o texto seleccionado", + "Undo": "Deshacer", + "Redo": "Rehacer", + "Bold": "Negrita", + "Italic": "Cursiva", + "Underline": "Subrayado", + "Strikethrough": "Tachado", + "Align text left": "Alinear texto a la izquierda", + "Align text right": "Alinear texto a la derecha", + "Justify text": "Justificar texto", + "Center": "Centrar", + "Increase indent": "Aumentar sangría", + "Decrease indent": "Reducir sangría", + "Clear formatting": "Eliminar formato", + "Please enter an image URL to insert": "Introduzca la URL de la imagen a insertar", + "Insert image": "Insertar imagen", + "Insert video": "Insertar video", + "Please enter a youtube URL to embed": "Introduzca la URL de youtube a insertar", + "Insert / edit link": "Insertar / editar link", + "Please enter a URL to insert": "Introduzca la URL a insertar", + "Relink": "Volver a enlazar", + "Unlink": "Desenlazar", + "Open in New Window": "Abrir en nueva ventana", + "Display words Count": "Mostrar contador de palabras", + "Display characters Count": "Mostrar contador de caracteres", + "The requested content cannot be loaded.
Please try again later.": "El contenido solicitado no puede cargarse.
Intentelo de nuevo más tarde.", + "An error occurred with the requested operation": "Ha ocurrido un error con la operación solicitada", + "Your session is no longer active.": "Su sesión ya no es válida o ha expirado.", + "Click on OK to be redirected and log back in.": "Haz click en Aceptar para volver a iniciar sesión.", + "Click on Cancel to remain on this page and try to execute the operation again once you logged back in (e.g. in another tab).": "Haz click en Cancelar para permanecer en esta página e intentar de nuevo la operación cuando su sesión sera de nuevo iniciada (p.ej. en otra pestaña).", + "Server is under maintenance.": "El servidor está en mantenimiento.", + "Click on OK to be redirected to the maintenance page.": "Haz click en Aceptar para ser redirigido.", + "Click on Cancel to remain on this page and wait for the maintenance to end.": "Haz click en Cancelar para permanecer en esta página y esperar a que finalice el mantenimiento.", + "OK": "Aceptar", + "Cancel": "Cancelar", + "Today": "Hoy", + "Now": "Ahora", + "Date": "Fecha", + "MM/dd/yyyy": "dd/MM/yyyy", + "Enter a date (mm/dd/yyyy)": "Introducir una fecha (dd/mm/aaaa)", + "Date and time": "Fecha y hora", + "h:mm:ss a": "H:mm:ss", + "Enter a time (h:mm:ss a)": "Introducir una hora (h:mm:ss)", + "$locale": { + "DATETIME_FORMATS": { + "AMPMS": [ + "a. m.", + "p. m." + ], + "DAY": [ + "domingo", + "lunes", + "martes", + "mi\u00e9rcoles", + "jueves", + "viernes", + "s\u00e1bado" + ], + "FIRSTDAYOFWEEK": 0, + "MONTH": [ + "enero", + "febrero", + "marzo", + "abril", + "mayo", + "junio", + "julio", + "agosto", + "septiembre", + "octubre", + "noviembre", + "diciembre" + ], + "SHORTDAY": [ + "dom.", + "lun.", + "mar.", + "mi\u00e9.", + "jue.", + "vie.", + "s\u00e1b." + ], + "SHORTMONTH": [ + "ene.", + "feb.", + "mar.", + "abr.", + "may.", + "jun.", + "jul.", + "ago.", + "sept.", + "oct.", + "nov.", + "dic." + ], + "fullDate": "EEEE, d 'de' MMMM 'de' y", + "longDate": "d 'de' MMMM 'de' y", + "medium": "d 'de' MMM 'de' y H:mm:ss", + "mediumDate": "d 'de' MMM 'de' y", + "mediumTime": "H:mm:ss", + "short": "d/M/yy H:mm", + "shortDate": "d/M/yy", + "shortTime": "H:mm" + } + }, + "Uploading..." : "Cargando...", + "Upload failed" : "Fallo al cargar" + }, + "ja-JP": { + "Title": "タイトル", + "Default label": "デフォルト ラベル", + "Default name": "デフォルト名", + "Select": "選択", + "Select an option": "オプションを選択してください", + "green": "碧い", + "red": "赤", + "blue": "青", + "yes": "はい", + "no": "いいえ", + "Id": "ID", + "Name": "名前", + "Description": "説明", + "Link": "リンク", + "Submit": "送信", + "This field is required": "この項目は必須です", + "This field length should be larger": "このフィールドの長さはもっと大きくする必要があります", + "This field length should be smaller": "このフィールドの長さは短くする必要があります", + "This value is too small": "この値は小さすぎます", + "This value is too large": "この値は大きすぎます", + "This is not a valid email": "これは有効な電子メールではありません", + "Toggle the text area to HTML source code / Rich text area": "テキストエリアをHTMLソースコード/リッチテキストエリアに切り替え", + "Heading ": "見出し", + "Paragraph": "段落", + "Preformatted text": "フォーマット済みテキスト", + "Unordered List": "順不同リスト", + "Ordered List": "番号付リスト", + "Quote/unquote selection or paragraph": "引用/引用解除の選択。 または段落", + "Undo": "元に戻す", + "Redo": "やり直し", + "Bold": "太字", + "Italic": "斜体", + "Underline": "下線", + "Strikethrough": "取り消し線", + "Align text left": "テキストの左揃え", + "Align text right": "テキストの右揃え", + "Justify text": "テキストの両端揃え", + "Center": "中央揃え", + "Increase indent": "インデントを増す", + "Decrease indent": "インデントを減らす", + "Clear formatting": "フォーマットをクリア", + "Please enter an image URL to insert": "挿入する画像の URL を入力してください。", + "Insert image": "画像を挿入", + "Insert video": "ビデオの挿入", + "Please enter a youtube URL to embed": "埋め込む YouTube URL を入力してください。", + "Insert / edit link": "リンクの挿入/編集", + "Please enter a URL to insert": "挿入する URL を入力してください。", + "Relink": "再リンク", + "Unlink": "リンク解除", + "Open in New Window": "新しいウィンドウで開く", + "Display words Count": "表示単語数", + "Display characters Count": "表示文字数", + "The requested content cannot be loaded.
Please try again later.": "要求されたコンテンツを読み込めません。
後でもう一度やり直してください。", + "An error occurred with the requested operation": "要求された操作でエラーが発生しました。", + "Your session is no longer active.": "セッションは既にアクティブではありません。", + "Click on OK to be redirected and log back in.": "OKをクリックするとリダイレクトされ、再度ログインします。", + "Click on Cancel to remain on this page and try to execute the operation again once you logged back in (e.g. in another tab).": "キャンセルをクリックしてこのページのまま、再度ログインしてから (別のタブなどで) 操作を再度実行してください。", + "Server is under maintenance.": "サーバーはメンテナンス中です。", + "Click on OK to be redirected to the maintenance page.": "OKをクリックすると、メンテナンス ページにリダイレクトされます。", + "Click on Cancel to remain on this page and wait for the maintenance to end.": "このページのまま、メンテナンスが終了するまで待つには[キャンセル]をクリックしてください。", + "OK": "OK", + "Cancel": "キャンセル", + "Today": "今日", + "Now": "現在", + "Date": "日にち", + "MM/dd/yyyy": "y/MM/dd", + "Enter a date (mm/dd/yyyy)": "日付(mm/dd/yyyy)を入力します", + "Date and time": "日付と時刻", + "h:mm:ss a": "H:mm:ss", + "Enter a time (h:mm:ss a)": "時刻を入力 (h:mm:ss a)", + "$locale": { + "DATETIME_FORMATS": { + "AMPMS": [ + "\u5348\u524d", + "\u5348\u5f8c" + ], + "DAY": [ + "\u65e5\u66dc\u65e5", + "\u6708\u66dc\u65e5", + "\u706b\u66dc\u65e5", + "\u6c34\u66dc\u65e5", + "\u6728\u66dc\u65e5", + "\u91d1\u66dc\u65e5", + "\u571f\u66dc\u65e5" + ], + "FIRSTDAYOFWEEK": 6, + "MONTH": [ + "1\u6708", + "2\u6708", + "3\u6708", + "4\u6708", + "5\u6708", + "6\u6708", + "7\u6708", + "8\u6708", + "9\u6708", + "10\u6708", + "11\u6708", + "12\u6708" + ], + "SHORTDAY": [ + "\u65e5", + "\u6708", + "\u706b", + "\u6c34", + "\u6728", + "\u91d1", + "\u571f" + ], + "SHORTMONTH": [ + "1\u6708", + "2\u6708", + "3\u6708", + "4\u6708", + "5\u6708", + "6\u6708", + "7\u6708", + "8\u6708", + "9\u6708", + "10\u6708", + "11\u6708", + "12\u6708" + ], + "fullDate": "y\u5e74M\u6708d\u65e5EEEE", + "longDate": "y\u5e74M\u6708d\u65e5", + "medium": "y/MM/dd H:mm:ss", + "mediumDate": "y/MM/dd", + "mediumTime": "H:mm:ss", + "short": "y/MM/dd H:mm", + "shortDate": "y/MM/dd", + "shortTime": "H:mm" + } + }, + "Uploading..." : "アップロード中...", + "Upload failed" : "アップロードに失敗しました。" + }, + "pt-BR": { + "Title": "Título", + "Default label": "Etiqueta padrão", + "Default name": "Nome padrão", + "Select": " Selecionar", + "Select an option": "Selecione uma opção", + "green": "verde", + "red": "vermelho", + "blue": "azul", + "yes": "sim", + "no": "não", + "Id": "Id", + "Name": "Nome", + "Description": "Descrição", + "Link": "Link", + "Submit": "Enviar", + "This field is required": "Este campo é obrigatório", + "This field length should be larger": "Esse comprimento do campo deve ser maior", + "This field length should be smaller": "Esse comprimento do campo deve ser menor", + "This value is too small": "Este valor é muito pequeno", + "This value is too large": "Este valor é muito grande", + "This is not a valid email": "Este não é um email válido", + "Toggle the text area to HTML source code / Rich text area": "Alterne a área de texto para o código-fonte HTML / área Rich Text", + "Heading ": "Cabeçalho ", + "Paragraph": "Parágrafo", + "Preformatted text": "Texto pré-formatado", + "Unordered List": "Lista não ordenada", + "Ordered List": "Lista ordenada", + "Quote/unquote selection or paragraph": "Citar / não citar seleção ou parágrafo", + "Undo": " Desfazer ", + "Redo": " Refazer ", + "Bold": "Negrito", + "Italic": "Itálico", + "Underline": "Sublinhado", + "Strikethrough": "Tachado", + "Align text left": "Alinhar texto à esquerda", + "Align text right": "Alinhar texto à direita", + "Justify text": "Justificar texto", + "Center": "Centrar", + "Increase indent": "Aumentar recuo", + "Decrease indent": "Diminuri recuo", + "Clear formatting": "Esvaziar formatação", + "Please enter an image URL to insert": "Digite um URL da imagem para inserir", + "Insert image": "Inserir Imagem", + "Insert video": "Inserir vídeo", + "Please enter a youtube URL to embed": "Digite um URL do youtube para incorporar", + "Insert / edit link": "Inserir / editar link", + "Please enter a URL to insert": "Digite um URL para inserir", + "Relink": "Relink", + "Unlink": "Desvincular", + "Open in New Window": "Abrir em uma nova janela", + "Display words Count": "Exibir palavras contadas", + "Display characters Count": " Exibir caracteres contados", + "The requested content cannot be loaded.
Please try again later.": "O conteúdo solicitado não pode ser carregado.
Tente mais tarde", + "An error occurred with the requested operation": "Ocorreu um erro com a operação solicitada", + "Your session is no longer active.": "Sua sessão não está mais ativa.", + "Click on OK to be redirected and log back in.": "Clique em OK para ser redirecionado e faça login novamente.", + "Click on Cancel to remain on this page and try to execute the operation again once you logged back in (e.g. in another tab).": "Clique em Cancelar para permanecer nesta página e tente executar a operação novamente depois de fazer login novamente (por exemplo, em outra guia).", + "Server is under maintenance.": "O servidor está em manutenção.", + "Click on OK to be redirected to the maintenance page.": "Clique em OK para ser redirecionado para a página de manutenção.", + "Click on Cancel to remain on this page and wait for the maintenance to end.": "Clique em Cancelar para permanecer nesta página e aguardar o término da manutenção.", + "OK": "OK", + "Cancel": "Cancelar", + "Today": "Hoje", + "Now": "Agora", + "Date": "Data", + "MM/dd/yyyy": "dd/MM/yyyy", + "Enter a date (mm/dd/yyyy)": "Insira uma data (dd/mm/yyyy)", + "Date and time": "Data e hora", + "h:mm:ss a": "h:mm:ss a", + "Enter a time (h:mm:ss a)": "Insira uma hora (h:mm:ss a)", + "$locale": { + "DATETIME_FORMATS": { + "AMPMS": [ + "AM", + "PM" + ], + "DAY": [ + "domingo", + "segunda-feira", + "ter\u00e7a-feira", + "quarta-feira", + "quinta-feira", + "sexta-feira", + "s\u00e1bado" + ], + "FIRSTDAYOFWEEK": 6, + "MONTH": [ + "janeiro", + "fevereiro", + "mar\u00e7o", + "abril", + "maio", + "junho", + "julho", + "agosto", + "setembro", + "outubro", + "novembro", + "dezembro" + ], + "SHORTDAY": [ + "dom", + "seg", + "ter", + "qua", + "qui", + "sex", + "s\u00e1b" + ], + "SHORTMONTH": [ + "jan", + "fev", + "mar", + "abr", + "mai", + "jun", + "jul", + "ago", + "set", + "out", + "nov", + "dez" + ], + "fullDate": "EEEE, d 'de' MMMM 'de' y", + "longDate": "d 'de' MMMM 'de' y", + "medium": "d 'de' MMM 'de' y HH:mm:ss", + "mediumDate": "d 'de' MMM 'de' y", + "mediumTime": "HH:mm:ss", + "short": "dd/MM/yy HH:mm", + "shortDate": "dd/MM/yy", + "shortTime": "HH:mm" + } + }, + "Uploading..." : "Carregamento...", + "Upload failed" : "Upload falhou" + } +} diff --git a/app/web_page/reviewMessages/reviewMessages.json b/app/web_page/reviewMessages/reviewMessages.json new file mode 100644 index 0000000..d735828 --- /dev/null +++ b/app/web_page/reviewMessages/reviewMessages.json @@ -0,0 +1,811 @@ +{ + "id" : "reviewMessages", + "name" : "reviewMessages", + "type" : "form", + "uuid" : "c6fbe233-9485-4b67-a939-3c7dad3f8e2d", + "modelVersion" : "2.6", + "lastUpdate" : 1720529021102, + "description" : "Page generated with Bonita UI designer", + "rows" : [ + [ + { + "type" : "container", + "dimension" : { + "xs" : 12 + }, + "propertyValues" : { }, + "reference" : "3ec87be6-c0f2-4223-8719-7eb6450c7a0b", + "hasValidationError" : false, + "id" : "pbContainer", + "rows" : [ + [ + { + "type" : "component", + "dimension" : { + "md" : 12, + "sm" : 12, + "xs" : 12, + "lg" : 12 + }, + "propertyValues" : { + "hidden" : { + "type" : "constant", + "value" : false + }, + "level" : { + "type" : "constant", + "value" : "Level 1" + }, + "cssClasses" : { + "type" : "constant", + "value" : "" + }, + "text" : { + "type" : "interpolation", + "value" : "{{ task.displayName }}" + }, + "alignment" : { + "type" : "constant", + "value" : "center" + }, + "dimension" : { + "type" : "constant", + "value" : 12 + } + }, + "reference" : "afbe992d-2cf9-4cfd-9eac-c61c0709337d", + "hasValidationError" : false, + "id" : "pbTitle", + "description" : "" + } + ], + [ + { + "type" : "component", + "dimension" : { + "md" : 12, + "sm" : 12, + "xs" : 12, + "lg" : 12 + }, + "propertyValues" : { + "allowHtml" : { + "type" : "constant", + "value" : true + }, + "labelHidden" : { + "type" : "constant", + "value" : true + }, + "hidden" : { + "type" : "constant", + "value" : false + }, + "cssClasses" : { + "type" : "constant", + "value" : "" + }, + "label" : { + "type" : "interpolation" + }, + "text" : { + "type" : "interpolation", + "value" : "{{ task.displayDescription }}" + }, + "alignment" : { + "type" : "constant", + "value" : "left" + }, + "dimension" : { + "type" : "constant", + "value" : 12 + } + }, + "reference" : "e3bbe435-7aa0-4e93-8c6b-68ab4b609f48", + "hasValidationError" : false, + "id" : "pbText", + "description" : "" + } + ] + ] + } + ], + [ + { + "type" : "container", + "dimension" : { + "md" : 12, + "sm" : 12, + "xs" : 12, + "lg" : 12 + }, + "propertyValues" : { + "repeatedCollection" : { + "type" : "variable" + }, + "hidden" : { + "type" : "constant", + "value" : false + }, + "cssClasses" : { + "type" : "constant", + "value" : "" + }, + "dimension" : { + "type" : "constant", + "value" : 12 + } + }, + "reference" : "c56c1faa-3912-49f3-a670-2c9bc0470529", + "hasValidationError" : false, + "id" : "pbContainer", + "description" : "Auto generate ui for business object \"com.company.model.ConsumedRecords\"", + "rows" : [ + [ + { + "type" : "container", + "dimension" : { + "xs" : 12 + }, + "propertyValues" : { }, + "reference" : "55d0cc40-3494-409e-b3bf-89a7d25fbb01", + "hasValidationError" : false, + "id" : "pbContainer", + "description" : "\"com.company.model.ConsumedRecords\" object from \"consumedRecords\" variable", + "rows" : [ + [ + { + "type" : "component", + "dimension" : { + "md" : 12, + "sm" : 12, + "xs" : 12, + "lg" : 12 + }, + "propertyValues" : { + "hidden" : { + "type" : "constant", + "value" : false + }, + "level" : { + "type" : "constant", + "value" : "Level 4" + }, + "cssClasses" : { + "type" : "constant", + "value" : "" + }, + "text" : { + "type" : "interpolation", + "value" : "ConsumedRecords" + }, + "alignment" : { + "type" : "constant", + "value" : "left" + }, + "dimension" : { + "type" : "constant", + "value" : 12 + } + }, + "reference" : "3251c714-fa9b-40ed-8eb5-d16f8c012611", + "hasValidationError" : false, + "id" : "pbTitle", + "description" : "" + } + ], + [ + { + "type" : "component", + "dimension" : { + "md" : 12, + "sm" : 12, + "xs" : 12, + "lg" : 12 + }, + "propertyValues" : { + "headers" : { + "type" : "constant", + "value" : [ + "Topic", + "Record Key", + "Record Value" + ] + }, + "allowHtml" : { + "type" : "constant", + "value" : true + }, + "hidden" : { + "type" : "constant", + "value" : false + }, + "cssClasses" : { + "type" : "constant", + "value" : "" + }, + "caption" : { + "type" : "constant" + }, + "condensed" : { + "type" : "constant", + "value" : false + }, + "bordered" : { + "type" : "constant", + "value" : false + }, + "selectedRow" : { + "type" : "variable", + "value" : "consumedRecords_selected" + }, + "columnsKey" : { + "type" : "constant", + "value" : [ + "topic", + "recordKey", + "recordValue" + ] + }, + "dimension" : { + "type" : "constant", + "value" : 12 + }, + "content" : { + "type" : "expression", + "value" : "consumedRecords" + }, + "zebraStriping" : { + "type" : "constant", + "value" : true + } + }, + "reference" : "9d563698-db14-41cd-8178-f09358678374", + "hasValidationError" : false, + "id" : "pbTable", + "description" : "" + } + ], + [ + { + "type" : "container", + "dimension" : { + "md" : 1, + "sm" : 1, + "xs" : 1, + "lg" : 1 + }, + "propertyValues" : { + "repeatedCollection" : { + "type" : "variable" + }, + "hidden" : { + "type" : "expression", + "value" : "!consumedRecords_selected" + }, + "cssClasses" : { + "type" : "constant", + "value" : "" + }, + "dimension" : { + "type" : "constant", + "value" : 1 + } + }, + "reference" : "19a6d781-744b-4014-9429-f3ea74afc528", + "hasValidationError" : false, + "id" : "pbContainer", + "rows" : [ + [ ] + ] + }, + { + "type" : "container", + "dimension" : { + "md" : 11, + "sm" : 11, + "xs" : 11, + "lg" : 11 + }, + "propertyValues" : { + "repeatedCollection" : { + "type" : "variable" + }, + "hidden" : { + "type" : "expression", + "value" : "!consumedRecords_selected" + }, + "cssClasses" : { + "type" : "constant", + "value" : "" + }, + "dimension" : { + "type" : "constant", + "value" : 11 + } + }, + "reference" : "e89df8f1-1c65-44d4-8736-3b7d668685e9", + "hasValidationError" : false, + "id" : "pbContainer", + "description" : "Display \"ConsumedRecords\" details when a line is selected in the table above", + "rows" : [ + [ + { + "type" : "component", + "dimension" : { + "md" : 12, + "sm" : 12, + "xs" : 12, + "lg" : 12 + }, + "propertyValues" : { + "labelHidden" : { + "type" : "constant", + "value" : false + }, + "hidden" : { + "type" : "expression", + "value" : "!consumedRecords_selected.topic" + }, + "labelPosition" : { + "type" : "constant", + "value" : "top" + }, + "cssClasses" : { + "type" : "constant", + "value" : "" + }, + "labelWidth" : { + "type" : "constant", + "value" : 1 + }, + "readOnly" : { + "type" : "constant", + "value" : true + }, + "label" : { + "type" : "interpolation", + "value" : "Topic" + }, + "placeholder" : { + "type" : "constant" + }, + "type" : { + "type" : "constant", + "value" : "text" + }, + "dimension" : { + "type" : "constant", + "value" : 12 + }, + "value" : { + "type" : "variable", + "value" : "consumedRecords_selected.topic" + }, + "required" : { + "type" : "constant", + "value" : false + } + }, + "reference" : "ff02e552-4c7f-4602-84c1-b6ea550132cf", + "hasValidationError" : false, + "id" : "pbInput", + "description" : "" + } + ], + [ + { + "type" : "component", + "dimension" : { + "md" : 12, + "sm" : 12, + "xs" : 12, + "lg" : 12 + }, + "propertyValues" : { + "labelHidden" : { + "type" : "constant", + "value" : false + }, + "hidden" : { + "type" : "expression", + "value" : "!consumedRecords_selected.recordKey" + }, + "labelPosition" : { + "type" : "constant", + "value" : "top" + }, + "cssClasses" : { + "type" : "constant", + "value" : "" + }, + "labelWidth" : { + "type" : "constant", + "value" : 1 + }, + "readOnly" : { + "type" : "constant", + "value" : true + }, + "label" : { + "type" : "interpolation", + "value" : "Record Key" + }, + "placeholder" : { + "type" : "constant" + }, + "type" : { + "type" : "constant", + "value" : "text" + }, + "dimension" : { + "type" : "constant", + "value" : 12 + }, + "value" : { + "type" : "variable", + "value" : "consumedRecords_selected.recordKey" + }, + "required" : { + "type" : "constant", + "value" : false + } + }, + "reference" : "f72a36db-97d5-4293-8468-df56de36382d", + "hasValidationError" : false, + "id" : "pbInput", + "description" : "" + } + ], + [ + { + "type" : "component", + "dimension" : { + "md" : 12, + "sm" : 12, + "xs" : 12, + "lg" : 12 + }, + "propertyValues" : { + "labelHidden" : { + "type" : "constant", + "value" : false + }, + "hidden" : { + "type" : "expression", + "value" : "!consumedRecords_selected.recordValue" + }, + "labelPosition" : { + "type" : "constant", + "value" : "top" + }, + "cssClasses" : { + "type" : "constant", + "value" : "" + }, + "labelWidth" : { + "type" : "constant", + "value" : 1 + }, + "readOnly" : { + "type" : "constant", + "value" : true + }, + "label" : { + "type" : "interpolation", + "value" : "Record Value" + }, + "placeholder" : { + "type" : "constant" + }, + "type" : { + "type" : "constant", + "value" : "text" + }, + "dimension" : { + "type" : "constant", + "value" : 12 + }, + "value" : { + "type" : "variable", + "value" : "consumedRecords_selected.recordValue" + }, + "required" : { + "type" : "constant", + "value" : false + } + }, + "reference" : "e96018ea-f31a-4705-a68f-2d003cb0dc47", + "hasValidationError" : false, + "id" : "pbInput", + "description" : "" + } + ] + ] + } + ] + ] + } + ] + ] + } + ], + [ + { + "type" : "formContainer", + "dimension" : { + "xs" : 12 + }, + "propertyValues" : { + "cssClasses" : { + "type" : "constant", + "value" : "" + }, + "hidden" : { + "type" : "constant", + "value" : false + } + }, + "reference" : "302ce056-4ea8-4d43-90ac-4dc0fd9e91c7", + "hasValidationError" : false, + "id" : "pbFormContainer", + "container" : { + "type" : "container", + "dimension" : { + "xs" : 12 + }, + "propertyValues" : { }, + "reference" : "80d2b243-febc-4bcc-ac10-bd325ad45e86", + "hasValidationError" : false, + "id" : "pbContainer", + "rows" : [ + [ + { + "type" : "component", + "dimension" : { + "md" : 12, + "sm" : 12, + "xs" : 12, + "lg" : 12 + }, + "propertyValues" : { + "removeItem" : { + "type" : "variable" + }, + "hidden" : { + "type" : "constant", + "value" : false + }, + "cssClasses" : { + "type" : "constant", + "value" : "" + }, + "buttonStyle" : { + "type" : "constant", + "value" : "primary" + }, + "label" : { + "type" : "interpolation", + "value" : "Submit" + }, + "dataToSend" : { + "type" : "expression", + "value" : "formOutput" + }, + "dataFromError" : { + "type" : "variable", + "value" : "formOutput._submitError" + }, + "allowHTML" : { + "type" : "constant", + "value" : false + }, + "labelHidden" : { + "type" : "constant", + "value" : false + }, + "collectionPosition" : { + "type" : "constant" + }, + "targetUrlOnSuccess" : { + "type" : "interpolation", + "value" : "/bonita" + }, + "action" : { + "type" : "constant", + "value" : "Submit task" + }, + "collectionToModify" : { + "type" : "variable" + }, + "valueToAdd" : { + "type" : "expression" + }, + "disabled" : { + "type" : "expression", + "value" : "$form.$invalid" + }, + "alignment" : { + "type" : "constant", + "value" : "center" + }, + "dimension" : { + "type" : "constant", + "value" : 12 + }, + "assign" : { + "type" : "constant", + "value" : false + }, + "url" : { + "type" : "interpolation" + }, + "responseStatusCode" : { + "type" : "variable" + }, + "dataFromSuccess" : { + "type" : "variable" + }, + "closeOnSuccess" : { + "type" : "constant", + "value" : false + }, + "modalId" : { + "type" : "constant", + "value" : "" + } + }, + "reference" : "c8bb309f-b635-46b7-9596-5110ccf38c6e", + "hasValidationError" : false, + "id" : "pbButton", + "description" : "" + } + ], + [ + { + "type" : "component", + "dimension" : { + "md" : 12, + "sm" : 12, + "xs" : 12, + "lg" : 12 + }, + "propertyValues" : { + "allowHTML" : { + "type" : "constant", + "value" : true + }, + "allowHtml" : { + "type" : "constant", + "value" : true + }, + "labelHidden" : { + "type" : "constant", + "value" : true + }, + "hidden" : { + "type" : "expression", + "value" : "!formOutput._submitError.message" + }, + "cssClasses" : { + "type" : "constant", + "value" : "alert alert-danger col-lg-6 col-lg-offset-3" + }, + "label" : { + "type" : "interpolation" + }, + "text" : { + "type" : "interpolation", + "value" : "Debug message\n
\n{{formOutput._submitError.message}}\n{{submit_errors_list}}" + }, + "alignment" : { + "type" : "constant", + "value" : "left" + }, + "dimension" : { + "type" : "constant", + "value" : 12 + } + }, + "reference" : "a2c261e5-e932-4eee-9014-9708deff6ebd", + "hasValidationError" : false, + "id" : "pbText", + "description" : "" + } + ] + ] + } + } + ] + ], + "variables" : { + "task" : { + "type" : "url", + "value" : [ + "../API/bpm/userTask/{{taskId}}" + ], + "exposed" : false + }, + "records" : { + "type" : "url", + "value" : [ + "../{{context.records_ref.link}}" + ], + "exposed" : false + }, + "submit_errors_list" : { + "type" : "expression", + "value" : [ + "if($data.formOutput && $data.formOutput._submitError && $data.formOutput._submitError.explanations){", + "\tconst liElements = $data.formOutput._submitError.explanations", + "\t\t.filter(cause => cause !== null)", + "\t\t.map(cause => \"
  • \" + cause + \"
  • \")", + "\t\t.join('');", + "\tif(liElements){", + "\t\treturn \"
      \" + liElements + \"
    \";", + "\t}", + "}" + ], + "exposed" : false + }, + "formOutput" : { + "type" : "expression", + "value" : [ + "if( $data.records ){", + "\treturn {", + "\t", + "\t\t}))", + "\t}", + "}" + ], + "exposed" : false + }, + "context" : { + "type" : "url", + "value" : [ + "../API/bpm/userTask/{{taskId}}/context" + ], + "exposed" : false + }, + "taskId" : { + "type" : "urlparameter", + "value" : [ + "id" + ], + "exposed" : false + }, + "consumedRecords" : { + "type" : "businessdata", + "value" : [ + "{\"displayValue\":\"find [com.company.model.ConsumedRecords]\",\"businessObjectName\":\"ConsumedRecords\",\"query\":{\"name\":\"find\",\"displayName\":\"find\"},\"id\":\"com.company.model.ConsumedRecords\",\"filters\":[],\"pagination\":{\"p\":\"0\",\"c\":\"10\"}}" + ], + "exposed" : false + }, + "consumedRecords_selected" : { + "type" : "constant", + "value" : [ + "" + ], + "exposed" : false + } + }, + "assets" : [ + { + "id" : "37c7463d-eb1b-4a5f-86cb-05a9ce30558e", + "name" : "localization.json", + "type" : "json", + "order" : 0, + "external" : false + }, + { + "id" : "706ef45e-38f4-47f9-b29f-95735cccfac3", + "name" : "style.css", + "type" : "css", + "order" : 0, + "external" : false + } + ], + "inactiveAssets" : [ ], + "webResources" : [ ], + "hasValidationError" : false +} \ No newline at end of file