Skip to content

Commit

Permalink
v11.19.0
Browse files Browse the repository at this point in the history
JabX committed Sep 1, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent c9a0c9d commit 72e4e3a
Showing 8 changed files with 334 additions and 481 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html lang="fr">
<head>
<title>Starter Kit Focus v4 - 11.18.2</title>
<title>Starter Kit Focus v4 - 11.19.0</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
756 changes: 306 additions & 450 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "focus4-starter-kit",
"version": "11.18.1",
"version": "11.19.0",
"description": "Starter kit pour Focus V4",
"repository": "http://www.github.com/klee-contrib/focus4-starter-kit",
"main": "src/index.ts",
@@ -13,9 +13,9 @@
"start": "vite"
},
"dependencies": {
"@focus4/tooling": "11.18.0",
"focus4": "11.18.2",
"vite-plugin-mock-dev-server": "1.5.1"
"@focus4/tooling": "11.19.0",
"focus4": "11.19.0",
"vite-plugin-mock-dev-server": "1.7.1"
},
"devDependencies": {
"@flydotio/dockerfile": "0.5.8"
@@ -36,8 +36,6 @@
"mobx-react": "7",
"numeral": "*",
"react": "*",
"react-dnd": "*",
"react-dnd-html5-backend": "*",
"react-dom": "*"
},
"author": "KleeGroup",
13 changes: 5 additions & 8 deletions src/locale/securite.ts
Original file line number Diff line number Diff line change
@@ -3,39 +3,36 @@
////

export const securite = {
profil: {
"profil": {
droit: {
code: "Droit",
libelle: "Droit",
typeDroitCode: "TypeDroitCode"
},
profil: {
dateCreation: "Date de création",
dateModification: "Date de modification",
droits: "Droits",
id: "Id technique du profil",
libelle: "Libellé du profil"
},
profilItem: {
id: "Id technique du profil",
libelle: "Libellé du profil",
nombreUtilisateurs: "Nombre d'utilisateurs affectés"
},
profilRead: {
utilisateurs: "Utilisateurs"
},
typeDroit: {
code: "Type de droit",
libelle: "Libelle"
}
},
utilisateur: {
"utilisateur": {
typeUtilisateur: {
code: "Type d'utilisateur",
libelle: "Libelle"
},
utilisateur: {
actif: "Actif",
adresse: "Adresse",
dateCreation: "Date de création",
dateModification: "Date de modification",
dateNaissance: "Date de naissance",
email: "Adresse email",
id: "Id technique",
4 changes: 3 additions & 1 deletion src/model/securite/profil/profil-read.ts
Original file line number Diff line number Diff line change
@@ -56,6 +56,8 @@ export const ProfilReadEntity: ProfilReadEntityType = {
},
utilisateurs: {
type: "list",
entity: UtilisateurItemEntity
entity: UtilisateurItemEntity,
isRequired: true,
label: "securite.profil.profilRead.utilisateurs"
}
}
2 changes: 1 addition & 1 deletion src/model/securite/utilisateur/utilisateur-item.ts
Original file line number Diff line number Diff line change
@@ -49,8 +49,8 @@ export const UtilisateurItemEntity: UtilisateurItemEntityType = {
type: "field",
name: "typeUtilisateurCode",
domain: DO_CODE,
isRequired: true,
defaultValue: "GEST",
isRequired: true,
label: "securite.utilisateur.utilisateur.typeUtilisateurCode"
}
}
4 changes: 2 additions & 2 deletions src/model/securite/utilisateur/utilisateur-read.ts
Original file line number Diff line number Diff line change
@@ -69,8 +69,8 @@ export const UtilisateurReadEntity: UtilisateurReadEntityType = {
type: "field",
name: "actif",
domain: DO_BOOLEEN,
isRequired: true,
defaultValue: true,
isRequired: true,
label: "securite.utilisateur.utilisateur.actif"
},
profilId: {
@@ -84,8 +84,8 @@ export const UtilisateurReadEntity: UtilisateurReadEntityType = {
type: "field",
name: "typeUtilisateurCode",
domain: DO_CODE,
isRequired: true,
defaultValue: "GEST",
isRequired: true,
label: "securite.utilisateur.utilisateur.typeUtilisateurCode"
},
dateCreation: {
24 changes: 12 additions & 12 deletions src/model/securite/utilisateur/utilisateur-write.ts
Original file line number Diff line number Diff line change
@@ -7,16 +7,16 @@ import {DO_BOOLEEN, DO_CODE, DO_DATE, DO_EMAIL, DO_ID, DO_LIBELLE} from "../../.

import {TypeUtilisateurCode} from "./references";

export type UtilisateurWrite = EntityToType<UtilisateurWriteEntityType>;
export type UtilisateurWrite = EntityToType<UtilisateurWriteEntityType>
export interface UtilisateurWriteEntityType {
nom: FieldEntry2<typeof DO_LIBELLE, string>;
prenom: FieldEntry2<typeof DO_LIBELLE, string>;
email: FieldEntry2<typeof DO_EMAIL, string>;
dateNaissance: FieldEntry2<typeof DO_DATE, string>;
adresse: FieldEntry2<typeof DO_LIBELLE, string>;
actif: FieldEntry2<typeof DO_BOOLEEN, boolean>;
profilId: FieldEntry2<typeof DO_ID, number>;
typeUtilisateurCode: FieldEntry2<typeof DO_CODE, TypeUtilisateurCode>;
nom: FieldEntry2<typeof DO_LIBELLE, string>,
prenom: FieldEntry2<typeof DO_LIBELLE, string>,
email: FieldEntry2<typeof DO_EMAIL, string>,
dateNaissance: FieldEntry2<typeof DO_DATE, string>,
adresse: FieldEntry2<typeof DO_LIBELLE, string>,
actif: FieldEntry2<typeof DO_BOOLEEN, boolean>,
profilId: FieldEntry2<typeof DO_ID, number>,
typeUtilisateurCode: FieldEntry2<typeof DO_CODE, TypeUtilisateurCode>
}

export const UtilisateurWriteEntity: UtilisateurWriteEntityType = {
@@ -59,8 +59,8 @@ export const UtilisateurWriteEntity: UtilisateurWriteEntityType = {
type: "field",
name: "actif",
domain: DO_BOOLEEN,
isRequired: true,
defaultValue: true,
isRequired: true,
label: "securite.utilisateur.utilisateur.actif"
},
profilId: {
@@ -74,8 +74,8 @@ export const UtilisateurWriteEntity: UtilisateurWriteEntityType = {
type: "field",
name: "typeUtilisateurCode",
domain: DO_CODE,
isRequired: true,
defaultValue: "GEST",
isRequired: true,
label: "securite.utilisateur.utilisateur.typeUtilisateurCode"
}
};
}

0 comments on commit 72e4e3a

Please sign in to comment.