@starterlib/ui 0.10.13 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENCES-TIERCES.md +9 -3
- package/README.md +167 -32
- package/assets/icones/catalogue.json +199 -4
- package/assets/icones/sprite.svg +14 -0
- package/assets/logos/starter-bank-clair.svg +1 -0
- package/assets/logos/starter-bank-monochrome.svg +1 -0
- package/assets/logos/starter-bank-sombre.svg +1 -0
- package/fesm2022/starterlib-ui-arbre.mjs +25 -25
- package/fesm2022/starterlib-ui-arbre.mjs.map +1 -1
- package/fesm2022/starterlib-ui-donnees.mjs +760 -274
- package/fesm2022/starterlib-ui-donnees.mjs.map +1 -1
- package/fesm2022/starterlib-ui-etats.mjs +82 -82
- package/fesm2022/starterlib-ui-etats.mjs.map +1 -1
- package/fesm2022/starterlib-ui-force.mjs +18 -0
- package/fesm2022/starterlib-ui-force.mjs.map +1 -0
- package/fesm2022/starterlib-ui-formulaires.mjs +580 -198
- package/fesm2022/starterlib-ui-formulaires.mjs.map +1 -1
- package/fesm2022/starterlib-ui-graphiques.mjs +934 -0
- package/fesm2022/starterlib-ui-graphiques.mjs.map +1 -0
- package/fesm2022/starterlib-ui-indicateurs.mjs +59 -59
- package/fesm2022/starterlib-ui-indicateurs.mjs.map +1 -1
- package/fesm2022/starterlib-ui-libelles-en.mjs +11 -0
- package/fesm2022/starterlib-ui-libelles-en.mjs.map +1 -1
- package/fesm2022/starterlib-ui-listes.mjs +727 -315
- package/fesm2022/starterlib-ui-listes.mjs.map +1 -1
- package/fesm2022/starterlib-ui-messagerie.mjs +45 -45
- package/fesm2022/starterlib-ui-messagerie.mjs.map +1 -1
- package/fesm2022/starterlib-ui-mise-en-page.mjs +46 -46
- package/fesm2022/starterlib-ui-mise-en-page.mjs.map +1 -1
- package/fesm2022/starterlib-ui-navigation.mjs +200 -42
- package/fesm2022/starterlib-ui-navigation.mjs.map +1 -1
- package/fesm2022/starterlib-ui-onglets.mjs +20 -20
- package/fesm2022/starterlib-ui-onglets.mjs.map +1 -1
- package/fesm2022/starterlib-ui-parcours.mjs +631 -168
- package/fesm2022/starterlib-ui-parcours.mjs.map +1 -1
- package/fesm2022/starterlib-ui-qr.mjs +11 -11
- package/fesm2022/starterlib-ui-qr.mjs.map +1 -1
- package/fesm2022/starterlib-ui-saisie.mjs +617 -511
- package/fesm2022/starterlib-ui-saisie.mjs.map +1 -1
- package/fesm2022/starterlib-ui-selection.mjs +64 -64
- package/fesm2022/starterlib-ui-selection.mjs.map +1 -1
- package/fesm2022/starterlib-ui-sens.mjs +3 -3
- package/fesm2022/starterlib-ui-surfaces.mjs +246 -242
- package/fesm2022/starterlib-ui-surfaces.mjs.map +1 -1
- package/fesm2022/starterlib-ui-virtuel.mjs +272 -0
- package/fesm2022/starterlib-ui-virtuel.mjs.map +1 -0
- package/fesm2022/starterlib-ui.mjs +1142 -898
- package/fesm2022/starterlib-ui.mjs.map +1 -1
- package/package.json +31 -3
- package/types/starterlib-ui-donnees.d.ts +231 -5
- package/types/starterlib-ui-force.d.ts +19 -0
- package/types/starterlib-ui-formulaires.d.ts +132 -1
- package/types/starterlib-ui-graphiques.d.ts +421 -0
- package/types/starterlib-ui-indicateurs.d.ts +11 -4
- package/types/starterlib-ui-listes.d.ts +230 -13
- package/types/starterlib-ui-navigation.d.ts +82 -1
- package/types/starterlib-ui-parcours.d.ts +265 -5
- package/types/starterlib-ui-saisie.d.ts +91 -10
- package/types/starterlib-ui-selection.d.ts +1 -1
- package/types/starterlib-ui-surfaces.d.ts +10 -9
- package/types/starterlib-ui-virtuel.d.ts +103 -0
- package/types/starterlib-ui.d.ts +175 -24
- package/virtuel/README.md +46 -0
|
@@ -125,10 +125,20 @@ const LIBELLES_FR = {
|
|
|
125
125
|
reglesDuMotDePasse: "Exigences du mot de passe\xA0:",
|
|
126
126
|
regleRespectee: "respectée",
|
|
127
127
|
regleNonRespectee: "à respecter",
|
|
128
|
+
forceDuMotDePasse: "Robustesse estimée",
|
|
129
|
+
niveauxDeForce: [
|
|
130
|
+
"faible",
|
|
131
|
+
"moyenne",
|
|
132
|
+
"élevée"
|
|
133
|
+
],
|
|
134
|
+
forceAnnoncee: (niveau) => `Robustesse estim\u00e9e\u00a0: ${niveau}.`,
|
|
128
135
|
revelerPendant: (duree) => `R\u00e9v\u00e9ler ${duree}`,
|
|
129
136
|
rechercher: "Rechercher",
|
|
130
137
|
effacerLaRecherche: "Effacer la recherche",
|
|
131
138
|
fermerLeMessage: "Fermer le message",
|
|
139
|
+
environnementDEssai: "Données fictives",
|
|
140
|
+
environnementDEssaiMessage: "Les données affichées sont des exemples\xA0; aucune opération n’a d’effet réel.",
|
|
141
|
+
finDeLEnvironnementDEssai: (mot) => `Fin\u00a0: ${mot}.`,
|
|
132
142
|
regionDesMessages: "Messages",
|
|
133
143
|
ignorerLeMessage: "Ignorer",
|
|
134
144
|
actionDisponible: (libelle) => `Action disponible\u00a0: ${libelle}`,
|
|
@@ -137,6 +147,7 @@ const LIBELLES_FR = {
|
|
|
137
147
|
tonInformation: "Information\xA0: ",
|
|
138
148
|
tonSucces: "Succès\xA0: ",
|
|
139
149
|
tonAvertissement: "Avertissement\xA0: ",
|
|
150
|
+
tonErreur: "Erreur\xA0: ",
|
|
140
151
|
tonDanger: "Erreur\xA0: ",
|
|
141
152
|
montantIllisible: (exemple) => `Saisissez un montant en chiffres, par exemple ${exemple}.`,
|
|
142
153
|
nombreIllisible: (exemple) => `Saisissez un nombre en chiffres, par exemple ${exemple}.`,
|
|
@@ -499,7 +510,7 @@ var StIdentifiants = class StIdentifiants {
|
|
|
499
510
|
}
|
|
500
511
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
501
512
|
minVersion: "12.0.0",
|
|
502
|
-
version: "22.2.
|
|
513
|
+
version: "22.2.1",
|
|
503
514
|
ngImport: i0,
|
|
504
515
|
type: StIdentifiants,
|
|
505
516
|
deps: [],
|
|
@@ -507,7 +518,7 @@ var StIdentifiants = class StIdentifiants {
|
|
|
507
518
|
});
|
|
508
519
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
509
520
|
minVersion: "12.0.0",
|
|
510
|
-
version: "22.2.
|
|
521
|
+
version: "22.2.1",
|
|
511
522
|
ngImport: i0,
|
|
512
523
|
type: StIdentifiants,
|
|
513
524
|
providedIn: "root"
|
|
@@ -515,7 +526,7 @@ var StIdentifiants = class StIdentifiants {
|
|
|
515
526
|
};
|
|
516
527
|
i0.ɵɵngDeclareClassMetadata({
|
|
517
528
|
minVersion: "12.0.0",
|
|
518
|
-
version: "22.2.
|
|
529
|
+
version: "22.2.1",
|
|
519
530
|
ngImport: i0,
|
|
520
531
|
type: StIdentifiants,
|
|
521
532
|
decorators: [{
|
|
@@ -559,7 +570,7 @@ function signalerLeRepli(pointDEntree, langue, fournisseur) {
|
|
|
559
570
|
console.warn(`[${pointDEntree}] Aucun catalogue pour la langue \u00ab ${langue} \u00bb : repli sur le francais. Fournir le sien par ${fournisseur}({ ${langue}: ... }).`);
|
|
560
571
|
}
|
|
561
572
|
var AnnonceLocale = class {
|
|
562
|
-
contenu = signal("", ...ngDevMode ? [{ debugName: "contenu" }] :
|
|
573
|
+
contenu = signal("", ...ngDevMode ? [{ debugName: "contenu" }] : /* istanbul ignore next */ []);
|
|
563
574
|
minuteries = [];
|
|
564
575
|
texte = this.contenu.asReadonly();
|
|
565
576
|
constructor(destruction) {
|
|
@@ -607,7 +618,7 @@ function formaterDuree(totalEnSecondes, locale) {
|
|
|
607
618
|
return `${unite(Math.floor(total / 60), "minute")} ${unite(total % 60, "second")}`;
|
|
608
619
|
}
|
|
609
620
|
function affichageDiffere(actif, options = {}) {
|
|
610
|
-
const visible = signal(false, ...ngDevMode ? [{ debugName: "visible" }] :
|
|
621
|
+
const visible = signal(false, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
|
|
611
622
|
const tenueMinimale = options.tenue ?? tenue.affichageMinimal;
|
|
612
623
|
let attenteEnCours = null;
|
|
613
624
|
let tenueEnCours = null;
|
|
@@ -672,7 +683,7 @@ function observer(element, nom, rappel) {
|
|
|
672
683
|
}
|
|
673
684
|
function partagerLaValeur(element, nom, propre) {
|
|
674
685
|
let ecrite = element.getAttribute(nom);
|
|
675
|
-
const deLAppelant = signal(ecrite, ...ngDevMode ? [{ debugName: "deLAppelant" }] :
|
|
686
|
+
const deLAppelant = signal(ecrite, ...ngDevMode ? [{ debugName: "deLAppelant" }] : /* istanbul ignore next */ []);
|
|
676
687
|
const reconcilier = () => {
|
|
677
688
|
const courante = element.getAttribute(nom);
|
|
678
689
|
if (courante !== ecrite) deLAppelant.set(courante);
|
|
@@ -796,7 +807,9 @@ const ICONES_DE_TON = {
|
|
|
796
807
|
information: "cercle-info",
|
|
797
808
|
succes: "cercle-coche",
|
|
798
809
|
avertissement: "triangle-alerte",
|
|
799
|
-
|
|
810
|
+
erreur: "cercle-croix",
|
|
811
|
+
danger: "cercle-croix",
|
|
812
|
+
essai: "essai"
|
|
800
813
|
};
|
|
801
814
|
const ST_RECHERCHE_D_ADRESSES = new InjectionToken("st.recherche-d-adresses", {
|
|
802
815
|
providedIn: "root",
|
|
@@ -808,10 +821,13 @@ const ST_LISTES_D_ADRESSES = new InjectionToken("st.listes-d-adresses", {
|
|
|
808
821
|
});
|
|
809
822
|
const NOMS_DICONE = [
|
|
810
823
|
"accessibilite",
|
|
824
|
+
"alimentation",
|
|
825
|
+
"appareil-photo",
|
|
811
826
|
"appareils",
|
|
812
827
|
"arborescence",
|
|
813
828
|
"asterisque",
|
|
814
829
|
"badge-coche",
|
|
830
|
+
"balance",
|
|
815
831
|
"banque",
|
|
816
832
|
"batiment",
|
|
817
833
|
"bifurcation",
|
|
@@ -869,6 +885,7 @@ const NOMS_DICONE = [
|
|
|
869
885
|
"chevron-haut",
|
|
870
886
|
"chevrons-droite",
|
|
871
887
|
"chevrons-haut-bas",
|
|
888
|
+
"cible",
|
|
872
889
|
"cle",
|
|
873
890
|
"cloche",
|
|
874
891
|
"cloche-sonnerie",
|
|
@@ -878,6 +895,7 @@ const NOMS_DICONE = [
|
|
|
878
895
|
"code-qr-scanner",
|
|
879
896
|
"coffre-fort",
|
|
880
897
|
"colonnes",
|
|
898
|
+
"comparer",
|
|
881
899
|
"connexion",
|
|
882
900
|
"contraste",
|
|
883
901
|
"copie",
|
|
@@ -895,6 +913,7 @@ const NOMS_DICONE = [
|
|
|
895
913
|
"dossier-barre",
|
|
896
914
|
"dossier-ouvert",
|
|
897
915
|
"double-coche",
|
|
916
|
+
"drapeau",
|
|
898
917
|
"echange",
|
|
899
918
|
"eclair",
|
|
900
919
|
"empreinte-digitale",
|
|
@@ -903,6 +922,7 @@ const NOMS_DICONE = [
|
|
|
903
922
|
"envoyer",
|
|
904
923
|
"epaisseur-de-trait",
|
|
905
924
|
"epingle",
|
|
925
|
+
"essai",
|
|
906
926
|
"etoile",
|
|
907
927
|
"euro",
|
|
908
928
|
"fichier",
|
|
@@ -943,6 +963,7 @@ const NOMS_DICONE = [
|
|
|
943
963
|
"interdit",
|
|
944
964
|
"jalons",
|
|
945
965
|
"jauge",
|
|
966
|
+
"lecture",
|
|
946
967
|
"lien",
|
|
947
968
|
"lien-externe",
|
|
948
969
|
"lignes",
|
|
@@ -972,6 +993,8 @@ const NOMS_DICONE = [
|
|
|
972
993
|
"parametres",
|
|
973
994
|
"parapluie",
|
|
974
995
|
"parchemin",
|
|
996
|
+
"passerelle",
|
|
997
|
+
"pause",
|
|
975
998
|
"pieces",
|
|
976
999
|
"plus",
|
|
977
1000
|
"pointeur",
|
|
@@ -991,7 +1014,9 @@ const NOMS_DICONE = [
|
|
|
991
1014
|
"redemarrer",
|
|
992
1015
|
"reglages",
|
|
993
1016
|
"regle",
|
|
1017
|
+
"reseau",
|
|
994
1018
|
"reseau-jauge",
|
|
1019
|
+
"robot",
|
|
995
1020
|
"rotation-arriere",
|
|
996
1021
|
"routeur",
|
|
997
1022
|
"sablier",
|
|
@@ -1023,6 +1048,7 @@ const NOMS_DICONE = [
|
|
|
1023
1048
|
"utilisateur",
|
|
1024
1049
|
"utilisateur-crayon",
|
|
1025
1050
|
"utilisateurs",
|
|
1051
|
+
"visage",
|
|
1026
1052
|
"wifi",
|
|
1027
1053
|
"wifi-barre"
|
|
1028
1054
|
];
|
|
@@ -1043,6 +1069,7 @@ const NOMS_DICONE_PLEINE = [
|
|
|
1043
1069
|
"cercle-question",
|
|
1044
1070
|
"cloche",
|
|
1045
1071
|
"epingle",
|
|
1072
|
+
"essai",
|
|
1046
1073
|
"etoile",
|
|
1047
1074
|
"grille",
|
|
1048
1075
|
"horloge",
|
|
@@ -1114,23 +1141,23 @@ function nomCourant(nom) {
|
|
|
1114
1141
|
}
|
|
1115
1142
|
var StIcon = class StIcon {
|
|
1116
1143
|
cheminDuSprite = inject(CHEMIN_DU_SPRITE);
|
|
1117
|
-
icone = input(null, ...ngDevMode ? [{ debugName: "icone" }] :
|
|
1118
|
-
nom = input(null, ...ngDevMode ? [{ debugName: "nom" }] :
|
|
1119
|
-
variante = input("contour", ...ngDevMode ? [{ debugName: "variante" }] :
|
|
1120
|
-
sprite = input(null, ...ngDevMode ? [{ debugName: "sprite" }] :
|
|
1121
|
-
nomMetier = input(null, ...ngDevMode ? [{ debugName: "nomMetier" }] :
|
|
1122
|
-
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] :
|
|
1123
|
-
ton = input("neutre", ...ngDevMode ? [{ debugName: "ton" }] :
|
|
1124
|
-
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] :
|
|
1144
|
+
icone = input(null, ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
1145
|
+
nom = input(null, ...ngDevMode ? [{ debugName: "nom" }] : /* istanbul ignore next */ []);
|
|
1146
|
+
variante = input("contour", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
1147
|
+
sprite = input(null, ...ngDevMode ? [{ debugName: "sprite" }] : /* istanbul ignore next */ []);
|
|
1148
|
+
nomMetier = input(null, ...ngDevMode ? [{ debugName: "nomMetier" }] : /* istanbul ignore next */ []);
|
|
1149
|
+
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
1150
|
+
ton = input("neutre", ...ngDevMode ? [{ debugName: "ton" }] : /* istanbul ignore next */ []);
|
|
1151
|
+
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
1125
1152
|
miroir = input("auto", {
|
|
1126
|
-
...ngDevMode ? { debugName: "miroir" } :
|
|
1153
|
+
...ngDevMode ? { debugName: "miroir" } : /* istanbul ignore next */ {},
|
|
1127
1154
|
transform: (valeur) => valeur === "auto" ? "auto" : booleanAttribute(valeur)
|
|
1128
1155
|
});
|
|
1129
1156
|
estDecorative = computed(() => {
|
|
1130
1157
|
const etiquette = this.etiquette();
|
|
1131
1158
|
if (etiquette !== null && etiquette.trim() === "" && isDevMode()) throw new Error("st-icon : `etiquette` vide. Une icone decorative ne prend pas d etiquette (null) ; une icone porteuse de sens prend le texte que le lecteur d ecran doit dire.");
|
|
1132
1159
|
return etiquette === null;
|
|
1133
|
-
}, ...ngDevMode ? [{ debugName: "estDecorative" }] :
|
|
1160
|
+
}, ...ngDevMode ? [{ debugName: "estDecorative" }] : /* istanbul ignore next */ []);
|
|
1134
1161
|
resolution = computed(() => {
|
|
1135
1162
|
const icone = this.icone();
|
|
1136
1163
|
if (icone !== null) {
|
|
@@ -1149,17 +1176,17 @@ var StIcon = class StIcon {
|
|
|
1149
1176
|
const metier = this.nomMetier();
|
|
1150
1177
|
if (metier !== null) throw new Error(`st-icon : "${metier}" est un nom metier, absent du sprite du socle. Fournir le \`sprite\` du remote qui le dessine, ou \`[icone]="iconeMetier(sprite, nom)"\`.`);
|
|
1151
1178
|
throw new Error("st-icon : `icone` ou `nom` est obligatoire : un nom du sprite du socle.");
|
|
1152
|
-
}, ...ngDevMode ? [{ debugName: "resolution" }] :
|
|
1179
|
+
}, ...ngDevMode ? [{ debugName: "resolution" }] : /* istanbul ignore next */ []);
|
|
1153
1180
|
reference = computed(() => {
|
|
1154
1181
|
const r = this.resolution();
|
|
1155
1182
|
return r.metier ? `${r.sprite}#${r.id}` : `${this.cheminDuSprite}#${r.id}`;
|
|
1156
|
-
}, ...ngDevMode ? [{ debugName: "reference" }] :
|
|
1183
|
+
}, ...ngDevMode ? [{ debugName: "reference" }] : /* istanbul ignore next */ []);
|
|
1157
1184
|
miroite = computed(() => {
|
|
1158
1185
|
const force = this.miroir();
|
|
1159
1186
|
if (force !== "auto") return force;
|
|
1160
1187
|
const r = this.resolution();
|
|
1161
1188
|
return r.metier ? r.miroir : NOMS_DICONE_MIROITEE.has(r.courant);
|
|
1162
|
-
}, ...ngDevMode ? [{ debugName: "miroite" }] :
|
|
1189
|
+
}, ...ngDevMode ? [{ debugName: "miroite" }] : /* istanbul ignore next */ []);
|
|
1163
1190
|
duSocle(nom, variante) {
|
|
1164
1191
|
const courant = nomCourant(nom);
|
|
1165
1192
|
if (this.taille() === "xs" && !NOMS_DICONE_MARQUE.has(courant)) avertir(`"${courant}" a la taille xs : a 12 px, seules les marques restent lisibles (chevrons, fleches, croix, coche, plus, moins). Prendre sm.`);
|
|
@@ -1188,7 +1215,7 @@ var StIcon = class StIcon {
|
|
|
1188
1215
|
}
|
|
1189
1216
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1190
1217
|
minVersion: "12.0.0",
|
|
1191
|
-
version: "22.2.
|
|
1218
|
+
version: "22.2.1",
|
|
1192
1219
|
ngImport: i0,
|
|
1193
1220
|
type: StIcon,
|
|
1194
1221
|
deps: [],
|
|
@@ -1196,7 +1223,7 @@ var StIcon = class StIcon {
|
|
|
1196
1223
|
});
|
|
1197
1224
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1198
1225
|
minVersion: "17.1.0",
|
|
1199
|
-
version: "22.2.
|
|
1226
|
+
version: "22.2.1",
|
|
1200
1227
|
type: StIcon,
|
|
1201
1228
|
isStandalone: true,
|
|
1202
1229
|
selector: "st-icon",
|
|
@@ -1274,13 +1301,13 @@ var StIcon = class StIcon {
|
|
|
1274
1301
|
},
|
|
1275
1302
|
ngImport: i0,
|
|
1276
1303
|
template: "<svg\n [class.st-icon__miroir]=\"miroite()\"\n [attr.aria-hidden]=\"estDecorative() ? 'true' : null\"\n [attr.role]=\"estDecorative() ? null : 'img'\"\n [attr.aria-label]=\"etiquette()\"\n focusable=\"false\"\n>\n <use [attr.href]=\"reference()\" />\n</svg>\n",
|
|
1277
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-flex;flex:none;vertical-align:-.125em;color:inherit}svg{inline-size:var(--st-icone-taille, 1.25em);block-size:var(--st-icone-taille, 1.25em)}:host(:dir(rtl)) .st-icon__miroir{transform:scaleX(-1)}:host([data-taille=xs]) svg{--st-icone-taille: .75em}:host([data-taille=sm]) svg{--st-icone-taille: 1em}:host([data-taille=lg]) svg{--st-icone-taille: 1.5em}:host([data-taille=xl]) svg{--st-icone-taille: 2em}:host([data-taille=\"14\"]) svg{--st-icone-taille: .875rem}:host([data-taille=\"16\"]) svg{--st-icone-taille: 1rem}:host([data-taille=\"18\"]) svg{--st-icone-taille: 1.125rem}:host([data-taille=\"20\"]) svg{--st-icone-taille: 1.25rem}:host([data-taille=\"22\"]) svg{--st-icone-taille: 1.375rem}:host([data-taille=\"24\"]) svg{--st-icone-taille: 1.5rem}:host([data-taille=\"28\"]) svg{--st-icone-taille: 1.75rem}:host([data-taille=\"48\"]) svg{--st-icone-taille: 3rem}:host([data-ton=discret]){color:var(--st-couleur-texte-discret)}:host([data-ton=primaire]){color:var(--st-couleur-primaire)}:host([data-ton=succes]){color:var(--st-couleur-succes)}:host([data-ton=information]){color:var(--st-couleur-information)}:host([data-ton=avertissement]){color:var(--st-couleur-avertissement)}:host([data-ton=danger]){color:var(--st-couleur-danger)}\n"],
|
|
1304
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-flex;flex:none;vertical-align:-.125em;color:inherit}svg{inline-size:var(--st-icone-taille, 1.25em);block-size:var(--st-icone-taille, 1.25em)}:host(:dir(rtl)) .st-icon__miroir{transform:scaleX(-1)}:host([data-taille=xs]) svg{--st-icone-taille: .75em}:host([data-taille=sm]) svg{--st-icone-taille: 1em}:host([data-taille=lg]) svg{--st-icone-taille: 1.5em}:host([data-taille=xl]) svg{--st-icone-taille: 2em}:host([data-taille=\"14\"]) svg{--st-icone-taille: .875rem}:host([data-taille=\"16\"]) svg{--st-icone-taille: 1rem}:host([data-taille=\"18\"]) svg{--st-icone-taille: 1.125rem}:host([data-taille=\"20\"]) svg{--st-icone-taille: 1.25rem}:host([data-taille=\"22\"]) svg{--st-icone-taille: 1.375rem}:host([data-taille=\"24\"]) svg{--st-icone-taille: 1.5rem}:host([data-taille=\"28\"]) svg{--st-icone-taille: 1.75rem}:host([data-taille=\"48\"]) svg{--st-icone-taille: 3rem}:host([data-ton=discret]){color:var(--st-couleur-texte-discret)}:host([data-ton=primaire]){color:var(--st-couleur-primaire)}:host([data-ton=succes]){color:var(--st-couleur-succes)}:host([data-ton=information]){color:var(--st-couleur-information)}:host([data-ton=avertissement]){color:var(--st-couleur-avertissement)}:host([data-ton=erreur]){color:var(--st-couleur-erreur)}:host([data-ton=danger]){color:var(--st-couleur-danger)}:host([data-ton=essai]){color:var(--st-couleur-essai)}\n"],
|
|
1278
1305
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
1279
1306
|
});
|
|
1280
1307
|
};
|
|
1281
1308
|
i0.ɵɵngDeclareClassMetadata({
|
|
1282
1309
|
minVersion: "12.0.0",
|
|
1283
|
-
version: "22.2.
|
|
1310
|
+
version: "22.2.1",
|
|
1284
1311
|
ngImport: i0,
|
|
1285
1312
|
type: StIcon,
|
|
1286
1313
|
decorators: [{
|
|
@@ -1294,7 +1321,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1294
1321
|
"[attr.data-ton]": "ton()"
|
|
1295
1322
|
},
|
|
1296
1323
|
template: "<svg\n [class.st-icon__miroir]=\"miroite()\"\n [attr.aria-hidden]=\"estDecorative() ? 'true' : null\"\n [attr.role]=\"estDecorative() ? null : 'img'\"\n [attr.aria-label]=\"etiquette()\"\n focusable=\"false\"\n>\n <use [attr.href]=\"reference()\" />\n</svg>\n",
|
|
1297
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-flex;flex:none;vertical-align:-.125em;color:inherit}svg{inline-size:var(--st-icone-taille, 1.25em);block-size:var(--st-icone-taille, 1.25em)}:host(:dir(rtl)) .st-icon__miroir{transform:scaleX(-1)}:host([data-taille=xs]) svg{--st-icone-taille: .75em}:host([data-taille=sm]) svg{--st-icone-taille: 1em}:host([data-taille=lg]) svg{--st-icone-taille: 1.5em}:host([data-taille=xl]) svg{--st-icone-taille: 2em}:host([data-taille=\"14\"]) svg{--st-icone-taille: .875rem}:host([data-taille=\"16\"]) svg{--st-icone-taille: 1rem}:host([data-taille=\"18\"]) svg{--st-icone-taille: 1.125rem}:host([data-taille=\"20\"]) svg{--st-icone-taille: 1.25rem}:host([data-taille=\"22\"]) svg{--st-icone-taille: 1.375rem}:host([data-taille=\"24\"]) svg{--st-icone-taille: 1.5rem}:host([data-taille=\"28\"]) svg{--st-icone-taille: 1.75rem}:host([data-taille=\"48\"]) svg{--st-icone-taille: 3rem}:host([data-ton=discret]){color:var(--st-couleur-texte-discret)}:host([data-ton=primaire]){color:var(--st-couleur-primaire)}:host([data-ton=succes]){color:var(--st-couleur-succes)}:host([data-ton=information]){color:var(--st-couleur-information)}:host([data-ton=avertissement]){color:var(--st-couleur-avertissement)}:host([data-ton=danger]){color:var(--st-couleur-danger)}\n"]
|
|
1324
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-flex;flex:none;vertical-align:-.125em;color:inherit}svg{inline-size:var(--st-icone-taille, 1.25em);block-size:var(--st-icone-taille, 1.25em)}:host(:dir(rtl)) .st-icon__miroir{transform:scaleX(-1)}:host([data-taille=xs]) svg{--st-icone-taille: .75em}:host([data-taille=sm]) svg{--st-icone-taille: 1em}:host([data-taille=lg]) svg{--st-icone-taille: 1.5em}:host([data-taille=xl]) svg{--st-icone-taille: 2em}:host([data-taille=\"14\"]) svg{--st-icone-taille: .875rem}:host([data-taille=\"16\"]) svg{--st-icone-taille: 1rem}:host([data-taille=\"18\"]) svg{--st-icone-taille: 1.125rem}:host([data-taille=\"20\"]) svg{--st-icone-taille: 1.25rem}:host([data-taille=\"22\"]) svg{--st-icone-taille: 1.375rem}:host([data-taille=\"24\"]) svg{--st-icone-taille: 1.5rem}:host([data-taille=\"28\"]) svg{--st-icone-taille: 1.75rem}:host([data-taille=\"48\"]) svg{--st-icone-taille: 3rem}:host([data-ton=discret]){color:var(--st-couleur-texte-discret)}:host([data-ton=primaire]){color:var(--st-couleur-primaire)}:host([data-ton=succes]){color:var(--st-couleur-succes)}:host([data-ton=information]){color:var(--st-couleur-information)}:host([data-ton=avertissement]){color:var(--st-couleur-avertissement)}:host([data-ton=erreur]){color:var(--st-couleur-erreur)}:host([data-ton=danger]){color:var(--st-couleur-danger)}:host([data-ton=essai]){color:var(--st-couleur-essai)}\n"]
|
|
1298
1325
|
}]
|
|
1299
1326
|
}],
|
|
1300
1327
|
propDecorators: {
|
|
@@ -1389,22 +1416,22 @@ const NIVEAU_DE_LA_BALISE = {
|
|
|
1389
1416
|
H6: 6
|
|
1390
1417
|
};
|
|
1391
1418
|
var StHeading = class StHeading {
|
|
1392
|
-
taille = input(null, ...ngDevMode ? [{ debugName: "taille" }] :
|
|
1419
|
+
taille = input(null, ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
1393
1420
|
serre = input(false, {
|
|
1394
|
-
...ngDevMode ? { debugName: "serre" } :
|
|
1421
|
+
...ngDevMode ? { debugName: "serre" } : /* istanbul ignore next */ {},
|
|
1395
1422
|
transform: booleanAttribute
|
|
1396
1423
|
});
|
|
1397
|
-
identifiant = input(null, ...ngDevMode ? [{ debugName: "identifiant" }] :
|
|
1424
|
+
identifiant = input(null, ...ngDevMode ? [{ debugName: "identifiant" }] : /* istanbul ignore next */ []);
|
|
1398
1425
|
element = inject(ElementRef).nativeElement;
|
|
1399
1426
|
niveau = NIVEAU_DE_LA_BALISE[this.element.tagName] ?? 2;
|
|
1400
1427
|
identifiantPartage = partagerLaValeur(this.element, "id", () => this.identifiant());
|
|
1401
|
-
tailleEffective = computed(() => this.taille() ?? TAILLE_PAR_NIVEAU[this.niveau], ...ngDevMode ? [{ debugName: "tailleEffective" }] :
|
|
1428
|
+
tailleEffective = computed(() => this.taille() ?? TAILLE_PAR_NIVEAU[this.niveau], ...ngDevMode ? [{ debugName: "tailleEffective" }] : /* istanbul ignore next */ []);
|
|
1402
1429
|
constructor() {
|
|
1403
1430
|
inject(DestroyRef).onDestroy(this.identifiantPartage.liberer);
|
|
1404
1431
|
}
|
|
1405
1432
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1406
1433
|
minVersion: "12.0.0",
|
|
1407
|
-
version: "22.2.
|
|
1434
|
+
version: "22.2.1",
|
|
1408
1435
|
ngImport: i0,
|
|
1409
1436
|
type: StHeading,
|
|
1410
1437
|
deps: [],
|
|
@@ -1412,7 +1439,7 @@ var StHeading = class StHeading {
|
|
|
1412
1439
|
});
|
|
1413
1440
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1414
1441
|
minVersion: "17.1.0",
|
|
1415
|
-
version: "22.2.
|
|
1442
|
+
version: "22.2.1",
|
|
1416
1443
|
type: StHeading,
|
|
1417
1444
|
isStandalone: true,
|
|
1418
1445
|
selector: "h1[stHeading], h2[stHeading], h3[stHeading], h4[stHeading], h5[stHeading], h6[stHeading]",
|
|
@@ -1448,13 +1475,13 @@ var StHeading = class StHeading {
|
|
|
1448
1475
|
},
|
|
1449
1476
|
ngImport: i0,
|
|
1450
1477
|
template: "<ng-content />\n",
|
|
1451
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:block;margin-block:0 var(--st-espacement-3);margin-inline:0;font-family:var(--st-police-base);color:var(--st-couleur-texte);break-after:avoid}:host([titre]){margin-block-end:0}:host([data-taille=sm]){font-size:var(--st-taille-sm);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-sm);letter-spacing:var(--st-interlettrage-normal)}:host([data-taille=md]){font-size:var(--st-taille-md);line-height:var(--st-interligne-md);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-interlettrage-normal)}:host([data-taille=lg]){font-size:var(--st-taille-lg);line-height:var(--st-interligne-md);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-lg)}:host([data-taille=xl]){font-size:var(--st-taille-xl);line-height:var(--st-interligne-xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-xl)}:host([data-taille=\"2xl\"]){font-size:var(--st-taille-2xl);line-height:var(--st-interligne-2xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-2xl)}:host([data-taille=\"3xl\"]){font-size:var(--st-taille-3xl);line-height:var(--st-interligne-3xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-3xl)}:host([data-taille=\"4xl\"]){font-size:var(--st-taille-4xl);line-height:var(--st-interligne-4xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-4xl)}:host([data-serre]){letter-spacing:var(--st-approche-4xl)}\n"],
|
|
1478
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:block;margin-block:0 var(--st-espacement-3);margin-inline:0;font-family:var(--st-police-base);color:var(--st-couleur-texte);break-after:avoid}:host([titre]){margin-block-end:0}:host([data-taille=sm]){font-size:var(--st-taille-sm);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-sm);letter-spacing:var(--st-interlettrage-normal)}:host([data-taille=md]){font-size:var(--st-taille-md);line-height:var(--st-interligne-md);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-interlettrage-normal)}:host([data-taille=lg]){font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-lg);line-height:var(--st-interligne-md);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-lg)}:host([data-taille=xl]){font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-xl);line-height:var(--st-interligne-xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-xl)}:host([data-taille=\"2xl\"]){font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-2xl);line-height:var(--st-interligne-2xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-2xl)}:host([data-taille=\"3xl\"]){font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-3xl);line-height:var(--st-interligne-3xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-3xl)}:host([data-taille=\"4xl\"]){font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-4xl);line-height:var(--st-interligne-4xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-4xl)}:host([data-serre]){letter-spacing:var(--st-approche-4xl)}\n"],
|
|
1452
1479
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
1453
1480
|
});
|
|
1454
1481
|
};
|
|
1455
1482
|
i0.ɵɵngDeclareClassMetadata({
|
|
1456
1483
|
minVersion: "12.0.0",
|
|
1457
|
-
version: "22.2.
|
|
1484
|
+
version: "22.2.1",
|
|
1458
1485
|
ngImport: i0,
|
|
1459
1486
|
type: StHeading,
|
|
1460
1487
|
decorators: [{
|
|
@@ -1468,7 +1495,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1468
1495
|
"[attr.data-serre]": "serre() ? \"\" : null"
|
|
1469
1496
|
},
|
|
1470
1497
|
template: "<ng-content />\n",
|
|
1471
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:block;margin-block:0 var(--st-espacement-3);margin-inline:0;font-family:var(--st-police-base);color:var(--st-couleur-texte);break-after:avoid}:host([titre]){margin-block-end:0}:host([data-taille=sm]){font-size:var(--st-taille-sm);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-sm);letter-spacing:var(--st-interlettrage-normal)}:host([data-taille=md]){font-size:var(--st-taille-md);line-height:var(--st-interligne-md);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-interlettrage-normal)}:host([data-taille=lg]){font-size:var(--st-taille-lg);line-height:var(--st-interligne-md);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-lg)}:host([data-taille=xl]){font-size:var(--st-taille-xl);line-height:var(--st-interligne-xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-xl)}:host([data-taille=\"2xl\"]){font-size:var(--st-taille-2xl);line-height:var(--st-interligne-2xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-2xl)}:host([data-taille=\"3xl\"]){font-size:var(--st-taille-3xl);line-height:var(--st-interligne-3xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-3xl)}:host([data-taille=\"4xl\"]){font-size:var(--st-taille-4xl);line-height:var(--st-interligne-4xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-4xl)}:host([data-serre]){letter-spacing:var(--st-approche-4xl)}\n"]
|
|
1498
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:block;margin-block:0 var(--st-espacement-3);margin-inline:0;font-family:var(--st-police-base);color:var(--st-couleur-texte);break-after:avoid}:host([titre]){margin-block-end:0}:host([data-taille=sm]){font-size:var(--st-taille-sm);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-sm);letter-spacing:var(--st-interlettrage-normal)}:host([data-taille=md]){font-size:var(--st-taille-md);line-height:var(--st-interligne-md);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-interlettrage-normal)}:host([data-taille=lg]){font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-lg);line-height:var(--st-interligne-md);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-lg)}:host([data-taille=xl]){font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-xl);line-height:var(--st-interligne-xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-xl)}:host([data-taille=\"2xl\"]){font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-2xl);line-height:var(--st-interligne-2xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-2xl)}:host([data-taille=\"3xl\"]){font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-3xl);line-height:var(--st-interligne-3xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-3xl)}:host([data-taille=\"4xl\"]){font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-4xl);line-height:var(--st-interligne-4xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-4xl)}:host([data-serre]){letter-spacing:var(--st-approche-4xl)}\n"]
|
|
1472
1499
|
}]
|
|
1473
1500
|
}],
|
|
1474
1501
|
ctorParameters: () => [],
|
|
@@ -1522,21 +1549,21 @@ const DESSINS = {
|
|
|
1522
1549
|
var StSpinner = class StSpinner {
|
|
1523
1550
|
regionParente = inject(REGION_VIVANTE_PARENTE, { optional: true });
|
|
1524
1551
|
libelles = inject(ST_LIBELLES);
|
|
1525
|
-
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] :
|
|
1526
|
-
ton = input("primaire", ...ngDevMode ? [{ debugName: "ton" }] :
|
|
1527
|
-
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] :
|
|
1528
|
-
icone = input(null, ...ngDevMode ? [{ debugName: "icone" }] :
|
|
1529
|
-
dessin = computed(() => DESSINS[this.taille()], ...ngDevMode ? [{ debugName: "dessin" }] :
|
|
1552
|
+
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
1553
|
+
ton = input("primaire", ...ngDevMode ? [{ debugName: "ton" }] : /* istanbul ignore next */ []);
|
|
1554
|
+
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
1555
|
+
icone = input(null, ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
1556
|
+
dessin = computed(() => DESSINS[this.taille()], ...ngDevMode ? [{ debugName: "dessin" }] : /* istanbul ignore next */ []);
|
|
1530
1557
|
boite = computed(() => {
|
|
1531
1558
|
const cote = this.dessin().cote.toString();
|
|
1532
1559
|
return `0 0 ${cote} ${cote}`;
|
|
1533
|
-
}, ...ngDevMode ? [{ debugName: "boite" }] :
|
|
1534
|
-
centre = computed(() => this.dessin().cote / 2, ...ngDevMode ? [{ debugName: "centre" }] :
|
|
1535
|
-
iconeCentrale = computed(() => this.taille() === "lg" ? this.icone() : null, ...ngDevMode ? [{ debugName: "iconeCentrale" }] :
|
|
1536
|
-
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().chargementEnCours, ...ngDevMode ? [{ debugName: "etiquetteLue" }] :
|
|
1537
|
-
sAnnonce = computed(() => this.regionParente === null, ...ngDevMode ? [{ debugName: "sAnnonce" }] :
|
|
1538
|
-
annonceEchue = signal(false, ...ngDevMode ? [{ debugName: "annonceEchue" }] :
|
|
1539
|
-
texteAnnonce = computed(() => this.sAnnonce() && this.annonceEchue() ? this.etiquetteLue() : "", ...ngDevMode ? [{ debugName: "texteAnnonce" }] :
|
|
1560
|
+
}, ...ngDevMode ? [{ debugName: "boite" }] : /* istanbul ignore next */ []);
|
|
1561
|
+
centre = computed(() => this.dessin().cote / 2, ...ngDevMode ? [{ debugName: "centre" }] : /* istanbul ignore next */ []);
|
|
1562
|
+
iconeCentrale = computed(() => this.taille() === "lg" ? this.icone() : null, ...ngDevMode ? [{ debugName: "iconeCentrale" }] : /* istanbul ignore next */ []);
|
|
1563
|
+
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().chargementEnCours, ...ngDevMode ? [{ debugName: "etiquetteLue" }] : /* istanbul ignore next */ []);
|
|
1564
|
+
sAnnonce = computed(() => this.regionParente === null, ...ngDevMode ? [{ debugName: "sAnnonce" }] : /* istanbul ignore next */ []);
|
|
1565
|
+
annonceEchue = signal(false, ...ngDevMode ? [{ debugName: "annonceEchue" }] : /* istanbul ignore next */ []);
|
|
1566
|
+
texteAnnonce = computed(() => this.sAnnonce() && this.annonceEchue() ? this.etiquetteLue() : "", ...ngDevMode ? [{ debugName: "texteAnnonce" }] : /* istanbul ignore next */ []);
|
|
1540
1567
|
constructor() {
|
|
1541
1568
|
const minuterie = setTimeout(() => {
|
|
1542
1569
|
this.annonceEchue.set(true);
|
|
@@ -1547,7 +1574,7 @@ var StSpinner = class StSpinner {
|
|
|
1547
1574
|
}
|
|
1548
1575
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1549
1576
|
minVersion: "12.0.0",
|
|
1550
|
-
version: "22.2.
|
|
1577
|
+
version: "22.2.1",
|
|
1551
1578
|
ngImport: i0,
|
|
1552
1579
|
type: StSpinner,
|
|
1553
1580
|
deps: [],
|
|
@@ -1555,7 +1582,7 @@ var StSpinner = class StSpinner {
|
|
|
1555
1582
|
});
|
|
1556
1583
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1557
1584
|
minVersion: "17.0.0",
|
|
1558
|
-
version: "22.2.
|
|
1585
|
+
version: "22.2.1",
|
|
1559
1586
|
type: StSpinner,
|
|
1560
1587
|
isStandalone: true,
|
|
1561
1588
|
selector: "st-spinner",
|
|
@@ -1622,7 +1649,7 @@ var StSpinner = class StSpinner {
|
|
|
1622
1649
|
};
|
|
1623
1650
|
i0.ɵɵngDeclareClassMetadata({
|
|
1624
1651
|
minVersion: "12.0.0",
|
|
1625
|
-
version: "22.2.
|
|
1652
|
+
version: "22.2.1",
|
|
1626
1653
|
ngImport: i0,
|
|
1627
1654
|
type: StSpinner,
|
|
1628
1655
|
decorators: [{
|
|
@@ -1680,45 +1707,45 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1680
1707
|
});
|
|
1681
1708
|
var StProgress = class StProgress {
|
|
1682
1709
|
locale = inject(ST_LOCALE);
|
|
1683
|
-
valeur = input(null, ...ngDevMode ? [{ debugName: "valeur" }] :
|
|
1710
|
+
valeur = input(null, ...ngDevMode ? [{ debugName: "valeur" }] : /* istanbul ignore next */ []);
|
|
1684
1711
|
max = input(100, {
|
|
1685
|
-
...ngDevMode ? { debugName: "max" } :
|
|
1712
|
+
...ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {},
|
|
1686
1713
|
transform: numberAttribute
|
|
1687
1714
|
});
|
|
1688
|
-
etiquette = input.required(...ngDevMode ? [{ debugName: "etiquette" }] :
|
|
1689
|
-
ton = input("primaire", ...ngDevMode ? [{ debugName: "ton" }] :
|
|
1690
|
-
epaisseur = input("normale", ...ngDevMode ? [{ debugName: "epaisseur" }] :
|
|
1691
|
-
texteDeValeur = input(null, ...ngDevMode ? [{ debugName: "texteDeValeur" }] :
|
|
1715
|
+
etiquette = input.required(...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
1716
|
+
ton = input("primaire", ...ngDevMode ? [{ debugName: "ton" }] : /* istanbul ignore next */ []);
|
|
1717
|
+
epaisseur = input("normale", ...ngDevMode ? [{ debugName: "epaisseur" }] : /* istanbul ignore next */ []);
|
|
1718
|
+
texteDeValeur = input(null, ...ngDevMode ? [{ debugName: "texteDeValeur" }] : /* istanbul ignore next */ []);
|
|
1692
1719
|
avecValeur = input(false, {
|
|
1693
|
-
...ngDevMode ? { debugName: "avecValeur" } :
|
|
1720
|
+
...ngDevMode ? { debugName: "avecValeur" } : /* istanbul ignore next */ {},
|
|
1694
1721
|
transform: booleanAttribute
|
|
1695
1722
|
});
|
|
1696
1723
|
decompte = input(false, {
|
|
1697
|
-
...ngDevMode ? { debugName: "decompte" } :
|
|
1724
|
+
...ngDevMode ? { debugName: "decompte" } : /* istanbul ignore next */ {},
|
|
1698
1725
|
transform: booleanAttribute
|
|
1699
1726
|
});
|
|
1700
|
-
estIndeterminee = computed(() => this.valeur() === null, ...ngDevMode ? [{ debugName: "estIndeterminee" }] :
|
|
1701
|
-
valeurVisible = computed(() => this.avecValeur() && !this.estIndeterminee(), ...ngDevMode ? [{ debugName: "valeurVisible" }] :
|
|
1702
|
-
maxLu = computed(() => this.max() > 0 ? this.max() : 100, ...ngDevMode ? [{ debugName: "maxLu" }] :
|
|
1727
|
+
estIndeterminee = computed(() => this.valeur() === null, ...ngDevMode ? [{ debugName: "estIndeterminee" }] : /* istanbul ignore next */ []);
|
|
1728
|
+
valeurVisible = computed(() => this.avecValeur() && !this.estIndeterminee(), ...ngDevMode ? [{ debugName: "valeurVisible" }] : /* istanbul ignore next */ []);
|
|
1729
|
+
maxLu = computed(() => this.max() > 0 ? this.max() : 100, ...ngDevMode ? [{ debugName: "maxLu" }] : /* istanbul ignore next */ []);
|
|
1703
1730
|
valeurAnnoncee = computed(() => {
|
|
1704
1731
|
const valeur = this.valeur();
|
|
1705
1732
|
if (valeur === null) return null;
|
|
1706
1733
|
if (this.max() <= 0) return 0;
|
|
1707
1734
|
return Math.min(this.max(), Math.max(0, valeur));
|
|
1708
|
-
}, ...ngDevMode ? [{ debugName: "valeurAnnoncee" }] :
|
|
1735
|
+
}, ...ngDevMode ? [{ debugName: "valeurAnnoncee" }] : /* istanbul ignore next */ []);
|
|
1709
1736
|
pourcentage = computed(() => {
|
|
1710
1737
|
const valeur = this.valeur();
|
|
1711
1738
|
if (valeur === null) return 0;
|
|
1712
1739
|
const max = this.max();
|
|
1713
1740
|
if (max <= 0) return 0;
|
|
1714
1741
|
return Math.min(100, Math.max(0, valeur / max * 100));
|
|
1715
|
-
}, ...ngDevMode ? [{ debugName: "pourcentage" }] :
|
|
1742
|
+
}, ...ngDevMode ? [{ debugName: "pourcentage" }] : /* istanbul ignore next */ []);
|
|
1716
1743
|
formatDuPourcentage = computed(() => new Intl.NumberFormat(this.locale(), {
|
|
1717
1744
|
style: "percent",
|
|
1718
1745
|
maximumFractionDigits: 0
|
|
1719
|
-
}), ...ngDevMode ? [{ debugName: "formatDuPourcentage" }] :
|
|
1720
|
-
valeurAffichee = computed(() => this.texteDeValeur() ?? this.formatDuPourcentage().format(this.pourcentage() / 100), ...ngDevMode ? [{ debugName: "valeurAffichee" }] :
|
|
1721
|
-
barre = viewChild.required("barre", ...ngDevMode ? [{ debugName: "barre" }] :
|
|
1746
|
+
}), ...ngDevMode ? [{ debugName: "formatDuPourcentage" }] : /* istanbul ignore next */ []);
|
|
1747
|
+
valeurAffichee = computed(() => this.texteDeValeur() ?? this.formatDuPourcentage().format(this.pourcentage() / 100), ...ngDevMode ? [{ debugName: "valeurAffichee" }] : /* istanbul ignore next */ []);
|
|
1748
|
+
barre = viewChild.required("barre", ...ngDevMode ? [{ debugName: "barre" }] : /* istanbul ignore next */ []);
|
|
1722
1749
|
constructor() {
|
|
1723
1750
|
let precedent = null;
|
|
1724
1751
|
afterRenderEffect(() => {
|
|
@@ -1743,7 +1770,7 @@ var StProgress = class StProgress {
|
|
|
1743
1770
|
}
|
|
1744
1771
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1745
1772
|
minVersion: "12.0.0",
|
|
1746
|
-
version: "22.2.
|
|
1773
|
+
version: "22.2.1",
|
|
1747
1774
|
ngImport: i0,
|
|
1748
1775
|
type: StProgress,
|
|
1749
1776
|
deps: [],
|
|
@@ -1751,7 +1778,7 @@ var StProgress = class StProgress {
|
|
|
1751
1778
|
});
|
|
1752
1779
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1753
1780
|
minVersion: "17.0.0",
|
|
1754
|
-
version: "22.2.
|
|
1781
|
+
version: "22.2.1",
|
|
1755
1782
|
type: StProgress,
|
|
1756
1783
|
isStandalone: true,
|
|
1757
1784
|
selector: "st-progress",
|
|
@@ -1838,7 +1865,7 @@ var StProgress = class StProgress {
|
|
|
1838
1865
|
};
|
|
1839
1866
|
i0.ɵɵngDeclareClassMetadata({
|
|
1840
1867
|
minVersion: "12.0.0",
|
|
1841
|
-
version: "22.2.
|
|
1868
|
+
version: "22.2.1",
|
|
1842
1869
|
ngImport: i0,
|
|
1843
1870
|
type: StProgress,
|
|
1844
1871
|
decorators: [{
|
|
@@ -1951,35 +1978,35 @@ function garderLesClics$1(element, bloque) {
|
|
|
1951
1978
|
}
|
|
1952
1979
|
var StButton = class StButton {
|
|
1953
1980
|
element = inject(ElementRef).nativeElement;
|
|
1954
|
-
variante = input("secondaire", ...ngDevMode ? [{ debugName: "variante" }] :
|
|
1955
|
-
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] :
|
|
1981
|
+
variante = input("secondaire", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
1982
|
+
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
1956
1983
|
pleineLargeur = input(false, {
|
|
1957
|
-
...ngDevMode ? { debugName: "pleineLargeur" } :
|
|
1984
|
+
...ngDevMode ? { debugName: "pleineLargeur" } : /* istanbul ignore next */ {},
|
|
1958
1985
|
transform: booleanAttribute
|
|
1959
1986
|
});
|
|
1960
|
-
iconeAvant = input(null, ...ngDevMode ? [{ debugName: "iconeAvant" }] :
|
|
1961
|
-
iconeApres = input(null, ...ngDevMode ? [{ debugName: "iconeApres" }] :
|
|
1987
|
+
iconeAvant = input(null, ...ngDevMode ? [{ debugName: "iconeAvant" }] : /* istanbul ignore next */ []);
|
|
1988
|
+
iconeApres = input(null, ...ngDevMode ? [{ debugName: "iconeApres" }] : /* istanbul ignore next */ []);
|
|
1962
1989
|
chargement = input(false, {
|
|
1963
|
-
...ngDevMode ? { debugName: "chargement" } :
|
|
1990
|
+
...ngDevMode ? { debugName: "chargement" } : /* istanbul ignore next */ {},
|
|
1964
1991
|
transform: booleanAttribute
|
|
1965
1992
|
});
|
|
1966
1993
|
indisponible = input(false, {
|
|
1967
|
-
...ngDevMode ? { debugName: "indisponible" } :
|
|
1994
|
+
...ngDevMode ? { debugName: "indisponible" } : /* istanbul ignore next */ {},
|
|
1968
1995
|
transform: booleanAttribute
|
|
1969
1996
|
});
|
|
1970
|
-
raisonIndisponible = input(null, ...ngDevMode ? [{ debugName: "raisonIndisponible" }] :
|
|
1997
|
+
raisonIndisponible = input(null, ...ngDevMode ? [{ debugName: "raisonIndisponible" }] : /* istanbul ignore next */ []);
|
|
1971
1998
|
identifiantDeRaison = inject(StIdentifiants).prochain("st-bouton-raison");
|
|
1972
|
-
tailleDIcone = computed(() => TAILLE_DICONE[this.taille()], ...ngDevMode ? [{ debugName: "tailleDIcone" }] :
|
|
1973
|
-
tonDuChargement = computed(() => this.variante() === "primaire" || this.variante() === "danger" ? "inverse" : "neutre", ...ngDevMode ? [{ debugName: "tonDuChargement" }] :
|
|
1999
|
+
tailleDIcone = computed(() => TAILLE_DICONE[this.taille()], ...ngDevMode ? [{ debugName: "tailleDIcone" }] : /* istanbul ignore next */ []);
|
|
2000
|
+
tonDuChargement = computed(() => this.variante() === "primaire" || this.variante() === "danger" ? "inverse" : "neutre", ...ngDevMode ? [{ debugName: "tonDuChargement" }] : /* istanbul ignore next */ []);
|
|
1974
2001
|
indicateurVisible = affichageDiffere(() => this.chargement());
|
|
1975
|
-
occupe = computed(() => this.chargement() || this.indicateurVisible(), ...ngDevMode ? [{ debugName: "occupe" }] :
|
|
2002
|
+
occupe = computed(() => this.chargement() || this.indicateurVisible(), ...ngDevMode ? [{ debugName: "occupe" }] : /* istanbul ignore next */ []);
|
|
1976
2003
|
fonduDeSortie = fonduDeSortie;
|
|
1977
2004
|
disponibilite = partagerLaValeur(this.element, "aria-disabled", () => this.occupe() || this.indisponible() ? "true" : null);
|
|
1978
|
-
horsService = computed(() => this.indisponible() || this.disponibilite.deLAppelant() === "true", ...ngDevMode ? [{ debugName: "horsService" }] :
|
|
2005
|
+
horsService = computed(() => this.indisponible() || this.disponibilite.deLAppelant() === "true", ...ngDevMode ? [{ debugName: "horsService" }] : /* istanbul ignore next */ []);
|
|
1979
2006
|
raisonLue = computed(() => {
|
|
1980
2007
|
const raison = this.raisonIndisponible()?.trim() ?? "";
|
|
1981
2008
|
return this.horsService() && raison !== "" ? raison : null;
|
|
1982
|
-
}, ...ngDevMode ? [{ debugName: "raisonLue" }] :
|
|
2009
|
+
}, ...ngDevMode ? [{ debugName: "raisonLue" }] : /* istanbul ignore next */ []);
|
|
1983
2010
|
libererLesDescriptions = partagerDesJetons(this.element, "aria-describedby", () => this.raisonLue() === null ? [] : [this.identifiantDeRaison]);
|
|
1984
2011
|
constructor() {
|
|
1985
2012
|
poserLeTypeParDefaut$1(this.element);
|
|
@@ -1990,7 +2017,7 @@ var StButton = class StButton {
|
|
|
1990
2017
|
}
|
|
1991
2018
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1992
2019
|
minVersion: "12.0.0",
|
|
1993
|
-
version: "22.2.
|
|
2020
|
+
version: "22.2.1",
|
|
1994
2021
|
ngImport: i0,
|
|
1995
2022
|
type: StButton,
|
|
1996
2023
|
deps: [],
|
|
@@ -1998,7 +2025,7 @@ var StButton = class StButton {
|
|
|
1998
2025
|
});
|
|
1999
2026
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2000
2027
|
minVersion: "17.0.0",
|
|
2001
|
-
version: "22.2.
|
|
2028
|
+
version: "22.2.1",
|
|
2002
2029
|
type: StButton,
|
|
2003
2030
|
isStandalone: true,
|
|
2004
2031
|
selector: "button[stButton]",
|
|
@@ -2105,7 +2132,7 @@ var StButton = class StButton {
|
|
|
2105
2132
|
};
|
|
2106
2133
|
i0.ɵɵngDeclareClassMetadata({
|
|
2107
2134
|
minVersion: "12.0.0",
|
|
2108
|
-
version: "22.2.
|
|
2135
|
+
version: "22.2.1",
|
|
2109
2136
|
ngImport: i0,
|
|
2110
2137
|
type: StButton,
|
|
2111
2138
|
decorators: [{
|
|
@@ -2218,46 +2245,46 @@ function garderLesClics(element, bloque) {
|
|
|
2218
2245
|
}
|
|
2219
2246
|
var StIconButton = class StIconButton {
|
|
2220
2247
|
element = inject(ElementRef).nativeElement;
|
|
2221
|
-
icone = input.required(...ngDevMode ? [{ debugName: "icone" }] :
|
|
2248
|
+
icone = input.required(...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
2222
2249
|
etiquette = input.required({
|
|
2223
|
-
...ngDevMode ? { debugName: "etiquette" } :
|
|
2250
|
+
...ngDevMode ? { debugName: "etiquette" } : /* istanbul ignore next */ {},
|
|
2224
2251
|
transform: (valeur) => {
|
|
2225
2252
|
if (valeur.trim() === "" && isDevMode()) throw new Error("stIconButton : `etiquette` vide. Un bouton reduit a une icone doit dire ce qu il fait : \"Fermer\", \"Copier la reference\"...");
|
|
2226
2253
|
return valeur;
|
|
2227
2254
|
}
|
|
2228
2255
|
});
|
|
2229
|
-
variante = input("discret", ...ngDevMode ? [{ debugName: "variante" }] :
|
|
2230
|
-
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] :
|
|
2231
|
-
tailleDuGlyphe = input(null, ...ngDevMode ? [{ debugName: "tailleDuGlyphe" }] :
|
|
2256
|
+
variante = input("discret", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
2257
|
+
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
2258
|
+
tailleDuGlyphe = input(null, ...ngDevMode ? [{ debugName: "tailleDuGlyphe" }] : /* istanbul ignore next */ []);
|
|
2232
2259
|
enfonce = input(null, {
|
|
2233
|
-
...ngDevMode ? { debugName: "enfonce" } :
|
|
2260
|
+
...ngDevMode ? { debugName: "enfonce" } : /* istanbul ignore next */ {},
|
|
2234
2261
|
transform: (valeur) => valeur === null || valeur === void 0 ? null : booleanAttribute(valeur)
|
|
2235
2262
|
});
|
|
2236
|
-
iconeEnfoncee = input(null, ...ngDevMode ? [{ debugName: "iconeEnfoncee" }] :
|
|
2263
|
+
iconeEnfoncee = input(null, ...ngDevMode ? [{ debugName: "iconeEnfoncee" }] : /* istanbul ignore next */ []);
|
|
2237
2264
|
chargement = input(false, {
|
|
2238
|
-
...ngDevMode ? { debugName: "chargement" } :
|
|
2265
|
+
...ngDevMode ? { debugName: "chargement" } : /* istanbul ignore next */ {},
|
|
2239
2266
|
transform: booleanAttribute
|
|
2240
2267
|
});
|
|
2241
2268
|
indisponible = input(false, {
|
|
2242
|
-
...ngDevMode ? { debugName: "indisponible" } :
|
|
2269
|
+
...ngDevMode ? { debugName: "indisponible" } : /* istanbul ignore next */ {},
|
|
2243
2270
|
transform: booleanAttribute
|
|
2244
2271
|
});
|
|
2245
|
-
raisonIndisponible = input(null, ...ngDevMode ? [{ debugName: "raisonIndisponible" }] :
|
|
2272
|
+
raisonIndisponible = input(null, ...ngDevMode ? [{ debugName: "raisonIndisponible" }] : /* istanbul ignore next */ []);
|
|
2246
2273
|
identifiantDeRaison = inject(StIdentifiants).prochain("st-bouton-icone-raison");
|
|
2247
2274
|
glyphe = computed(() => {
|
|
2248
2275
|
const icone = this.icone();
|
|
2249
2276
|
if (this.enfonce() !== true) return icone;
|
|
2250
2277
|
return this.iconeEnfoncee() ?? jumeauPlein(icone) ?? icone;
|
|
2251
|
-
}, ...ngDevMode ? [{ debugName: "glyphe" }] :
|
|
2278
|
+
}, ...ngDevMode ? [{ debugName: "glyphe" }] : /* istanbul ignore next */ []);
|
|
2252
2279
|
indicateurVisible = affichageDiffere(() => this.chargement());
|
|
2253
|
-
occupe = computed(() => this.chargement() || this.indicateurVisible(), ...ngDevMode ? [{ debugName: "occupe" }] :
|
|
2280
|
+
occupe = computed(() => this.chargement() || this.indicateurVisible(), ...ngDevMode ? [{ debugName: "occupe" }] : /* istanbul ignore next */ []);
|
|
2254
2281
|
fonduDeSortie = fonduDeSortie;
|
|
2255
2282
|
disponibilite = partagerLaValeur(this.element, "aria-disabled", () => this.occupe() || this.indisponible() ? "true" : null);
|
|
2256
|
-
horsService = computed(() => this.indisponible() || this.disponibilite.deLAppelant() === "true", ...ngDevMode ? [{ debugName: "horsService" }] :
|
|
2283
|
+
horsService = computed(() => this.indisponible() || this.disponibilite.deLAppelant() === "true", ...ngDevMode ? [{ debugName: "horsService" }] : /* istanbul ignore next */ []);
|
|
2257
2284
|
raisonLue = computed(() => {
|
|
2258
2285
|
const raison = this.raisonIndisponible()?.trim() ?? "";
|
|
2259
2286
|
return this.horsService() && raison !== "" ? raison : null;
|
|
2260
|
-
}, ...ngDevMode ? [{ debugName: "raisonLue" }] :
|
|
2287
|
+
}, ...ngDevMode ? [{ debugName: "raisonLue" }] : /* istanbul ignore next */ []);
|
|
2261
2288
|
libererLesDescriptions = partagerDesJetons(this.element, "aria-describedby", () => this.raisonLue() === null ? [] : [this.identifiantDeRaison]);
|
|
2262
2289
|
constructor() {
|
|
2263
2290
|
poserLeTypeParDefaut(this.element);
|
|
@@ -2268,7 +2295,7 @@ var StIconButton = class StIconButton {
|
|
|
2268
2295
|
}
|
|
2269
2296
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2270
2297
|
minVersion: "12.0.0",
|
|
2271
|
-
version: "22.2.
|
|
2298
|
+
version: "22.2.1",
|
|
2272
2299
|
ngImport: i0,
|
|
2273
2300
|
type: StIconButton,
|
|
2274
2301
|
deps: [],
|
|
@@ -2276,7 +2303,7 @@ var StIconButton = class StIconButton {
|
|
|
2276
2303
|
});
|
|
2277
2304
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2278
2305
|
minVersion: "17.0.0",
|
|
2279
|
-
version: "22.2.
|
|
2306
|
+
version: "22.2.1",
|
|
2280
2307
|
type: StIconButton,
|
|
2281
2308
|
isStandalone: true,
|
|
2282
2309
|
selector: "button[stIconButton]",
|
|
@@ -2399,7 +2426,7 @@ var StIconButton = class StIconButton {
|
|
|
2399
2426
|
};
|
|
2400
2427
|
i0.ɵɵngDeclareClassMetadata({
|
|
2401
2428
|
minVersion: "12.0.0",
|
|
2402
|
-
version: "22.2.
|
|
2429
|
+
version: "22.2.1",
|
|
2403
2430
|
ngImport: i0,
|
|
2404
2431
|
type: StIconButton,
|
|
2405
2432
|
decorators: [{
|
|
@@ -2510,15 +2537,15 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2510
2537
|
var StLink = class StLink {
|
|
2511
2538
|
libelles = inject(ST_LIBELLES);
|
|
2512
2539
|
element = inject(ElementRef).nativeElement;
|
|
2513
|
-
variante = input("texte", ...ngDevMode ? [{ debugName: "variante" }] :
|
|
2540
|
+
variante = input("texte", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
2514
2541
|
externe = input(false, {
|
|
2515
|
-
...ngDevMode ? { debugName: "externe" } :
|
|
2542
|
+
...ngDevMode ? { debugName: "externe" } : /* istanbul ignore next */ {},
|
|
2516
2543
|
transform: booleanAttribute
|
|
2517
2544
|
});
|
|
2518
|
-
mentionExterne = input(null, ...ngDevMode ? [{ debugName: "mentionExterne" }] :
|
|
2519
|
-
iconeAvant = input(null, ...ngDevMode ? [{ debugName: "iconeAvant" }] :
|
|
2520
|
-
iconeApres = input(null, ...ngDevMode ? [{ debugName: "iconeApres" }] :
|
|
2521
|
-
mentionExterneLue = computed(() => this.mentionExterne() ?? this.libelles().nouvelleFenetre, ...ngDevMode ? [{ debugName: "mentionExterneLue" }] :
|
|
2545
|
+
mentionExterne = input(null, ...ngDevMode ? [{ debugName: "mentionExterne" }] : /* istanbul ignore next */ []);
|
|
2546
|
+
iconeAvant = input(null, ...ngDevMode ? [{ debugName: "iconeAvant" }] : /* istanbul ignore next */ []);
|
|
2547
|
+
iconeApres = input(null, ...ngDevMode ? [{ debugName: "iconeApres" }] : /* istanbul ignore next */ []);
|
|
2548
|
+
mentionExterneLue = computed(() => this.mentionExterne() ?? this.libelles().nouvelleFenetre, ...ngDevMode ? [{ debugName: "mentionExterneLue" }] : /* istanbul ignore next */ []);
|
|
2522
2549
|
cible = partagerLaValeur(this.element, "target", () => this.externe() ? "_blank" : null);
|
|
2523
2550
|
libererLaRelation = partagerDesJetons(this.element, "rel", () => this.externe() || this.ouvreUneFenetreATiers(this.cible.deLAppelant()) ? ["noopener", "noreferrer"] : []);
|
|
2524
2551
|
ouvreUneFenetreATiers(cible) {
|
|
@@ -2544,7 +2571,7 @@ var StLink = class StLink {
|
|
|
2544
2571
|
}
|
|
2545
2572
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2546
2573
|
minVersion: "12.0.0",
|
|
2547
|
-
version: "22.2.
|
|
2574
|
+
version: "22.2.1",
|
|
2548
2575
|
ngImport: i0,
|
|
2549
2576
|
type: StLink,
|
|
2550
2577
|
deps: [],
|
|
@@ -2552,7 +2579,7 @@ var StLink = class StLink {
|
|
|
2552
2579
|
});
|
|
2553
2580
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2554
2581
|
minVersion: "17.0.0",
|
|
2555
|
-
version: "22.2.
|
|
2582
|
+
version: "22.2.1",
|
|
2556
2583
|
type: StLink,
|
|
2557
2584
|
isStandalone: true,
|
|
2558
2585
|
selector: "a[stLink]",
|
|
@@ -2624,7 +2651,7 @@ var StLink = class StLink {
|
|
|
2624
2651
|
};
|
|
2625
2652
|
i0.ɵɵngDeclareClassMetadata({
|
|
2626
2653
|
minVersion: "12.0.0",
|
|
2627
|
-
version: "22.2.
|
|
2654
|
+
version: "22.2.1",
|
|
2628
2655
|
ngImport: i0,
|
|
2629
2656
|
type: StLink,
|
|
2630
2657
|
decorators: [{
|
|
@@ -2688,37 +2715,37 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2688
2715
|
});
|
|
2689
2716
|
var StSegmentedControl = class StSegmentedControl {
|
|
2690
2717
|
element = inject(ElementRef);
|
|
2691
|
-
legende = input.required(...ngDevMode ? [{ debugName: "legende" }] :
|
|
2718
|
+
legende = input.required(...ngDevMode ? [{ debugName: "legende" }] : /* istanbul ignore next */ []);
|
|
2692
2719
|
legendeMasquee = input(false, {
|
|
2693
|
-
...ngDevMode ? { debugName: "legendeMasquee" } :
|
|
2720
|
+
...ngDevMode ? { debugName: "legendeMasquee" } : /* istanbul ignore next */ {},
|
|
2694
2721
|
transform: booleanAttribute
|
|
2695
2722
|
});
|
|
2696
|
-
options = input.required(...ngDevMode ? [{ debugName: "options" }] :
|
|
2697
|
-
taille = input("sm", ...ngDevMode ? [{ debugName: "taille" }] :
|
|
2698
|
-
casse = input("phrase", ...ngDevMode ? [{ debugName: "casse" }] :
|
|
2723
|
+
options = input.required(...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
|
|
2724
|
+
taille = input("sm", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
2725
|
+
casse = input("phrase", ...ngDevMode ? [{ debugName: "casse" }] : /* istanbul ignore next */ []);
|
|
2699
2726
|
pleineLargeur = input(false, {
|
|
2700
|
-
...ngDevMode ? { debugName: "pleineLargeur" } :
|
|
2727
|
+
...ngDevMode ? { debugName: "pleineLargeur" } : /* istanbul ignore next */ {},
|
|
2701
2728
|
transform: booleanAttribute
|
|
2702
2729
|
});
|
|
2703
|
-
forme = input("enfoncee", ...ngDevMode ? [{ debugName: "forme" }] :
|
|
2730
|
+
forme = input("enfoncee", ...ngDevMode ? [{ debugName: "forme" }] : /* istanbul ignore next */ []);
|
|
2704
2731
|
enLigne = input(false, {
|
|
2705
|
-
...ngDevMode ? { debugName: "enLigne" } :
|
|
2732
|
+
...ngDevMode ? { debugName: "enLigne" } : /* istanbul ignore next */ {},
|
|
2706
2733
|
transform: booleanAttribute
|
|
2707
2734
|
});
|
|
2708
2735
|
iconesSeules = input(false, {
|
|
2709
|
-
...ngDevMode ? { debugName: "iconesSeules" } :
|
|
2736
|
+
...ngDevMode ? { debugName: "iconesSeules" } : /* istanbul ignore next */ {},
|
|
2710
2737
|
transform: booleanAttribute
|
|
2711
2738
|
});
|
|
2712
|
-
value = model("", ...ngDevMode ? [{ debugName: "value" }] :
|
|
2739
|
+
value = model("", ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
2713
2740
|
disabled = input(false, {
|
|
2714
|
-
...ngDevMode ? { debugName: "disabled" } :
|
|
2741
|
+
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
2715
2742
|
transform: booleanAttribute
|
|
2716
2743
|
});
|
|
2717
2744
|
touched = input(false, {
|
|
2718
|
-
...ngDevMode ? { debugName: "touched" } :
|
|
2745
|
+
...ngDevMode ? { debugName: "touched" } : /* istanbul ignore next */ {},
|
|
2719
2746
|
transform: booleanAttribute
|
|
2720
2747
|
});
|
|
2721
|
-
name = input("", ...ngDevMode ? [{ debugName: "name" }] :
|
|
2748
|
+
name = input("", ...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
2722
2749
|
touch = output();
|
|
2723
2750
|
nomParDefaut = inject(StIdentifiants).prochain("st-segment");
|
|
2724
2751
|
constructor() {
|
|
@@ -2732,7 +2759,7 @@ var StSegmentedControl = class StSegmentedControl {
|
|
|
2732
2759
|
const legende = this.legende();
|
|
2733
2760
|
if (legende.trim() === "" && isDevMode()) console.warn("st-segmented-control : la legende est vide, le groupe n a plus de nom.");
|
|
2734
2761
|
return legende;
|
|
2735
|
-
}, ...ngDevMode ? [{ debugName: "legendeLue" }] :
|
|
2762
|
+
}, ...ngDevMode ? [{ debugName: "legendeLue" }] : /* istanbul ignore next */ []);
|
|
2736
2763
|
optionsLues = computed(() => {
|
|
2737
2764
|
const options = this.options();
|
|
2738
2765
|
if (this.iconesSeules() && isDevMode()) {
|
|
@@ -2740,7 +2767,7 @@ var StSegmentedControl = class StSegmentedControl {
|
|
|
2740
2767
|
if (sansIcone.length > 0) console.warn("st-segmented-control : iconesSeules, mais sans icone : " + sansIcone.map((option) => option.valeur).join(", ") + " ; le segment serait vide a l ecran.");
|
|
2741
2768
|
}
|
|
2742
2769
|
return options;
|
|
2743
|
-
}, ...ngDevMode ? [{ debugName: "optionsLues" }] :
|
|
2770
|
+
}, ...ngDevMode ? [{ debugName: "optionsLues" }] : /* istanbul ignore next */ []);
|
|
2744
2771
|
focus(options) {
|
|
2745
2772
|
const hote = this.element.nativeElement;
|
|
2746
2773
|
(hote.querySelector("input:checked:not(:disabled)") ?? hote.querySelector("input:not(:disabled)"))?.focus(options);
|
|
@@ -2755,7 +2782,7 @@ var StSegmentedControl = class StSegmentedControl {
|
|
|
2755
2782
|
}
|
|
2756
2783
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2757
2784
|
minVersion: "12.0.0",
|
|
2758
|
-
version: "22.2.
|
|
2785
|
+
version: "22.2.1",
|
|
2759
2786
|
ngImport: i0,
|
|
2760
2787
|
type: StSegmentedControl,
|
|
2761
2788
|
deps: [],
|
|
@@ -2763,7 +2790,7 @@ var StSegmentedControl = class StSegmentedControl {
|
|
|
2763
2790
|
});
|
|
2764
2791
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2765
2792
|
minVersion: "17.0.0",
|
|
2766
|
-
version: "22.2.
|
|
2793
|
+
version: "22.2.1",
|
|
2767
2794
|
type: StSegmentedControl,
|
|
2768
2795
|
isStandalone: true,
|
|
2769
2796
|
selector: "st-segmented-control",
|
|
@@ -2878,7 +2905,7 @@ var StSegmentedControl = class StSegmentedControl {
|
|
|
2878
2905
|
},
|
|
2879
2906
|
ngImport: i0,
|
|
2880
2907
|
template: "<fieldset class=\"st-segmented-control__groupe\" [disabled]=\"disabled()\">\n <legend [class.st-vh]=\"legendeMasquee()\">{{ legendeLue() }}</legend>\n <div class=\"st-segmented-control__piste\">\n @for (option of optionsLues(); track option.valeur) {\n <label class=\"st-segmented-control__segment\">\n <input\n type=\"radio\"\n [name]=\"nomDuGroupe()\"\n [value]=\"option.valeur\"\n [checked]=\"option.valeur === value()\"\n [disabled]=\"option.desactivee === true\"\n (change)=\"choisir(option.valeur)\"\n />\n @if (option.icone; as icone) {\n <st-icon [nom]=\"icone\" [taille]=\"iconesSeules() ? '20' : '16'\" />\n }\n @if (option.etiquette === undefined) {\n <span [class.st-vh]=\"iconesSeules()\" [attr.lang]=\"option.lang ?? null\">{{\n option.libelle\n }}</span>\n } @else {\n <!-- Le texte VISIBLE ouvre le nom (WCAG 2.5.3 : « cliquer FR » en commande vocale), puis\n l'etiquette, masquee, lue dans sa langue : « FR Francais », comme st-lang-switch.\n Masque, le texte laissait un nom que la commande vocale ne trouvait pas (audit UI du\n 2026-09-27, D-30). Icones seules, rien n'est ecrit : l'etiquette seule. -->\n @if (!iconesSeules()) {\n <span>{{ option.libelle }}</span\n >{{ ' ' }}\n }\n <span class=\"st-vh\" [attr.lang]=\"option.lang ?? null\">{{ option.etiquette }}</span>\n }\n </label>\n }\n </div>\n</fieldset>\n",
|
|
2881
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-block}:host([data-pleine-largeur]){display:block}.st-segmented-control__groupe{display:flex;min-inline-size:0;padding:0;margin:0;border:0;isolation:isolate}.st-segmented-control__groupe input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.st-segmented-control__groupe{flex-direction:column;align-items:stretch}.st-segmented-control__groupe legend{padding:0;margin-block-end:var(--st-espacement-2);font-size:var(--st-taille-sm);font-weight:var(--st-graisse-moyenne);line-height:var(--st-interligne-sm)}.st-segmented-control__piste{display:flex;align-items:center;padding:var(--st-espacement-demi);background-color:var(--st-couleur-surface-enfoncee);border-radius:var(--st-rayon-sm);flex-direction:column;align-items:stretch}@media(min-width:30rem){.st-segmented-control__piste{flex-direction:row;align-items:center}}:host([data-en-ligne]) .st-segmented-control__piste{flex-direction:row;align-items:center}:host([data-forme=conteneur]) .st-segmented-control__piste{display:flex;align-items:center;padding:var(--st-espacement-1);background-color:var(--st-couleur-surface-conteneur-bas);border-radius:var(--st-rayon-md)}:host([data-forme=nue]) .st-segmented-control__piste{padding:0;background:none;border-radius:0}.st-segmented-control__segment{box-sizing:border-box;display:inline-flex;flex:1 1 auto;gap:var(--st-espacement-1);align-items:center;justify-content:center;min-block-size:var(--st-hauteur-commande-sm);padding:var(--st-espacement-1) var(--st-espacement-2-5);font-size:var(--st-taille-2xs);font-weight:var(--st-graisse-moyenne);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-discret);text-align:center;cursor:pointer;border-radius:var(--st-rayon-sm)}@media(pointer:coarse){.st-segmented-control__segment{min-block-size:var(--st-cible-tactile-min)}}@media(hover:hover){.st-segmented-control__segment:not(:has(input:checked,input:disabled)):hover{color:var(--st-couleur-texte);background-color:var(--st-couleur-surface-survol)}}.st-segmented-control__segment:not(:has(input:checked,input:disabled)):active{background-color:var(--st-couleur-surface-active)}.st-segmented-control__segment:has(input:checked){font-weight:var(--st-graisse-semi);color:var(--st-couleur-texte-primaire);background-color:var(--st-couleur-surface);box-shadow:var(--st-ombre-repos),inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-bordure-forte)}.st-segmented-control__segment:has(input:focus-visible){position:relative;z-index:var(--st-plan-contenu-eleve);outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:var(--st-focus-decalage);box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus)}.st-segmented-control__segment:has(input:checked:focus-visible){box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus),inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-bordure-forte)}@media(forced-colors:active){.st-segmented-control__segment:has(input:checked){forced-color-adjust:none;color:HighlightText;background-color:Highlight}}.st-segmented-control__segment{font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs)}:host([data-pleine-largeur]) .st-segmented-control__segment{flex:1 1 0}:host([data-casse=capitales]) .st-segmented-control__segment{font-size:var(--st-taille-2xs);line-height:var(--st-interligne-2xs)}:host([data-taille=md]) .st-segmented-control__segment{min-block-size:var(--st-hauteur-commande-xl)}:host([data-icones-seules]) .st-segmented-control__segment{min-inline-size:var(--st-hauteur-commande-sm);padding-inline:var(--st-espacement-1-5)}@media(pointer:coarse){:host([data-icones-seules]) .st-segmented-control__segment{min-inline-size:var(--st-cible-tactile-min)}}.st-segmented-control__segment:has(input:disabled){color:var(--st-couleur-texte-desactive);cursor:not-allowed}@media(forced-colors:active){.st-segmented-control__segment:has(input:disabled){color:GrayText}}\n"],
|
|
2908
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-block}:host([data-pleine-largeur]){display:block}.st-segmented-control__groupe{display:flex;min-inline-size:0;padding:0;margin:0;border:0;isolation:isolate}.st-segmented-control__groupe input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.st-segmented-control__groupe{flex-direction:column;align-items:stretch}.st-segmented-control__groupe legend{padding:0;margin-block-end:var(--st-espacement-2);font-size:var(--st-taille-sm);font-weight:var(--st-graisse-moyenne);line-height:var(--st-interligne-sm)}.st-segmented-control__piste{display:flex;align-items:center;padding:var(--st-espacement-demi);background-color:var(--st-couleur-surface-enfoncee);border-radius:var(--st-rayon-sm);flex-direction:column;align-items:stretch}@media(min-width:30rem){.st-segmented-control__piste{flex-direction:row;align-items:center}}:host([data-en-ligne]) .st-segmented-control__piste{flex-direction:row;align-items:center}:host([data-forme=conteneur]) .st-segmented-control__piste{display:flex;align-items:center;padding:var(--st-espacement-1);background-color:var(--st-couleur-surface-conteneur-bas);border-radius:var(--st-rayon-md)}:host([data-forme=nue]) .st-segmented-control__piste{padding:0;background:none;border-radius:0}.st-segmented-control__segment{box-sizing:border-box;display:inline-flex;flex:1 1 auto;gap:var(--st-espacement-1);align-items:center;justify-content:center;min-block-size:var(--st-hauteur-commande-sm);padding:var(--st-espacement-1) var(--st-espacement-2-5);font-size:var(--st-taille-2xs);font-weight:var(--st-graisse-moyenne);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-discret);text-align:center;cursor:pointer;border-radius:var(--st-rayon-sm)}@media(pointer:coarse){.st-segmented-control__segment{min-block-size:var(--st-cible-tactile-min);min-inline-size:var(--st-cible-tactile-min)}}@media(hover:hover){.st-segmented-control__segment:not(:has(input:checked,input:disabled)):hover{color:var(--st-couleur-texte);background-color:var(--st-couleur-surface-survol)}}.st-segmented-control__segment:not(:has(input:checked,input:disabled)):active{background-color:var(--st-couleur-surface-active)}.st-segmented-control__segment:has(input:checked){font-weight:var(--st-graisse-semi);color:var(--st-couleur-texte-primaire);background-color:var(--st-couleur-surface);box-shadow:var(--st-ombre-repos),inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-bordure-forte)}.st-segmented-control__segment:has(input:focus-visible){position:relative;z-index:var(--st-plan-contenu-eleve);outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:var(--st-focus-decalage);box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus)}.st-segmented-control__segment:has(input:checked:focus-visible){box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus),inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-bordure-forte)}@media(forced-colors:active){.st-segmented-control__segment:has(input:checked){forced-color-adjust:none;color:HighlightText;background-color:Highlight}}.st-segmented-control__segment{font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs)}:host([data-pleine-largeur]) .st-segmented-control__segment{flex:1 1 0}:host([data-casse=capitales]) .st-segmented-control__segment{font-size:var(--st-taille-2xs);line-height:var(--st-interligne-2xs)}:host([data-taille=md]) .st-segmented-control__segment{min-block-size:var(--st-hauteur-commande-xl)}:host([data-icones-seules]) .st-segmented-control__segment{min-inline-size:var(--st-hauteur-commande-sm);padding-inline:var(--st-espacement-1-5)}@media(pointer:coarse){:host([data-icones-seules]) .st-segmented-control__segment{min-inline-size:var(--st-cible-tactile-min)}}.st-segmented-control__segment:has(input:disabled){color:var(--st-couleur-texte-desactive);cursor:not-allowed}@media(forced-colors:active){.st-segmented-control__segment:has(input:disabled){color:GrayText}}\n"],
|
|
2882
2909
|
dependencies: [{
|
|
2883
2910
|
kind: "component",
|
|
2884
2911
|
type: StIcon,
|
|
@@ -2900,7 +2927,7 @@ var StSegmentedControl = class StSegmentedControl {
|
|
|
2900
2927
|
};
|
|
2901
2928
|
i0.ɵɵngDeclareClassMetadata({
|
|
2902
2929
|
minVersion: "12.0.0",
|
|
2903
|
-
version: "22.2.
|
|
2930
|
+
version: "22.2.1",
|
|
2904
2931
|
ngImport: i0,
|
|
2905
2932
|
type: StSegmentedControl,
|
|
2906
2933
|
decorators: [{
|
|
@@ -2920,7 +2947,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2920
2947
|
"(focusout)": "aLaSortie($event)"
|
|
2921
2948
|
},
|
|
2922
2949
|
template: "<fieldset class=\"st-segmented-control__groupe\" [disabled]=\"disabled()\">\n <legend [class.st-vh]=\"legendeMasquee()\">{{ legendeLue() }}</legend>\n <div class=\"st-segmented-control__piste\">\n @for (option of optionsLues(); track option.valeur) {\n <label class=\"st-segmented-control__segment\">\n <input\n type=\"radio\"\n [name]=\"nomDuGroupe()\"\n [value]=\"option.valeur\"\n [checked]=\"option.valeur === value()\"\n [disabled]=\"option.desactivee === true\"\n (change)=\"choisir(option.valeur)\"\n />\n @if (option.icone; as icone) {\n <st-icon [nom]=\"icone\" [taille]=\"iconesSeules() ? '20' : '16'\" />\n }\n @if (option.etiquette === undefined) {\n <span [class.st-vh]=\"iconesSeules()\" [attr.lang]=\"option.lang ?? null\">{{\n option.libelle\n }}</span>\n } @else {\n <!-- Le texte VISIBLE ouvre le nom (WCAG 2.5.3 : « cliquer FR » en commande vocale), puis\n l'etiquette, masquee, lue dans sa langue : « FR Francais », comme st-lang-switch.\n Masque, le texte laissait un nom que la commande vocale ne trouvait pas (audit UI du\n 2026-09-27, D-30). Icones seules, rien n'est ecrit : l'etiquette seule. -->\n @if (!iconesSeules()) {\n <span>{{ option.libelle }}</span\n >{{ ' ' }}\n }\n <span class=\"st-vh\" [attr.lang]=\"option.lang ?? null\">{{ option.etiquette }}</span>\n }\n </label>\n }\n </div>\n</fieldset>\n",
|
|
2923
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-block}:host([data-pleine-largeur]){display:block}.st-segmented-control__groupe{display:flex;min-inline-size:0;padding:0;margin:0;border:0;isolation:isolate}.st-segmented-control__groupe input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.st-segmented-control__groupe{flex-direction:column;align-items:stretch}.st-segmented-control__groupe legend{padding:0;margin-block-end:var(--st-espacement-2);font-size:var(--st-taille-sm);font-weight:var(--st-graisse-moyenne);line-height:var(--st-interligne-sm)}.st-segmented-control__piste{display:flex;align-items:center;padding:var(--st-espacement-demi);background-color:var(--st-couleur-surface-enfoncee);border-radius:var(--st-rayon-sm);flex-direction:column;align-items:stretch}@media(min-width:30rem){.st-segmented-control__piste{flex-direction:row;align-items:center}}:host([data-en-ligne]) .st-segmented-control__piste{flex-direction:row;align-items:center}:host([data-forme=conteneur]) .st-segmented-control__piste{display:flex;align-items:center;padding:var(--st-espacement-1);background-color:var(--st-couleur-surface-conteneur-bas);border-radius:var(--st-rayon-md)}:host([data-forme=nue]) .st-segmented-control__piste{padding:0;background:none;border-radius:0}.st-segmented-control__segment{box-sizing:border-box;display:inline-flex;flex:1 1 auto;gap:var(--st-espacement-1);align-items:center;justify-content:center;min-block-size:var(--st-hauteur-commande-sm);padding:var(--st-espacement-1) var(--st-espacement-2-5);font-size:var(--st-taille-2xs);font-weight:var(--st-graisse-moyenne);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-discret);text-align:center;cursor:pointer;border-radius:var(--st-rayon-sm)}@media(pointer:coarse){.st-segmented-control__segment{min-block-size:var(--st-cible-tactile-min)}}@media(hover:hover){.st-segmented-control__segment:not(:has(input:checked,input:disabled)):hover{color:var(--st-couleur-texte);background-color:var(--st-couleur-surface-survol)}}.st-segmented-control__segment:not(:has(input:checked,input:disabled)):active{background-color:var(--st-couleur-surface-active)}.st-segmented-control__segment:has(input:checked){font-weight:var(--st-graisse-semi);color:var(--st-couleur-texte-primaire);background-color:var(--st-couleur-surface);box-shadow:var(--st-ombre-repos),inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-bordure-forte)}.st-segmented-control__segment:has(input:focus-visible){position:relative;z-index:var(--st-plan-contenu-eleve);outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:var(--st-focus-decalage);box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus)}.st-segmented-control__segment:has(input:checked:focus-visible){box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus),inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-bordure-forte)}@media(forced-colors:active){.st-segmented-control__segment:has(input:checked){forced-color-adjust:none;color:HighlightText;background-color:Highlight}}.st-segmented-control__segment{font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs)}:host([data-pleine-largeur]) .st-segmented-control__segment{flex:1 1 0}:host([data-casse=capitales]) .st-segmented-control__segment{font-size:var(--st-taille-2xs);line-height:var(--st-interligne-2xs)}:host([data-taille=md]) .st-segmented-control__segment{min-block-size:var(--st-hauteur-commande-xl)}:host([data-icones-seules]) .st-segmented-control__segment{min-inline-size:var(--st-hauteur-commande-sm);padding-inline:var(--st-espacement-1-5)}@media(pointer:coarse){:host([data-icones-seules]) .st-segmented-control__segment{min-inline-size:var(--st-cible-tactile-min)}}.st-segmented-control__segment:has(input:disabled){color:var(--st-couleur-texte-desactive);cursor:not-allowed}@media(forced-colors:active){.st-segmented-control__segment:has(input:disabled){color:GrayText}}\n"]
|
|
2950
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-block}:host([data-pleine-largeur]){display:block}.st-segmented-control__groupe{display:flex;min-inline-size:0;padding:0;margin:0;border:0;isolation:isolate}.st-segmented-control__groupe input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.st-segmented-control__groupe{flex-direction:column;align-items:stretch}.st-segmented-control__groupe legend{padding:0;margin-block-end:var(--st-espacement-2);font-size:var(--st-taille-sm);font-weight:var(--st-graisse-moyenne);line-height:var(--st-interligne-sm)}.st-segmented-control__piste{display:flex;align-items:center;padding:var(--st-espacement-demi);background-color:var(--st-couleur-surface-enfoncee);border-radius:var(--st-rayon-sm);flex-direction:column;align-items:stretch}@media(min-width:30rem){.st-segmented-control__piste{flex-direction:row;align-items:center}}:host([data-en-ligne]) .st-segmented-control__piste{flex-direction:row;align-items:center}:host([data-forme=conteneur]) .st-segmented-control__piste{display:flex;align-items:center;padding:var(--st-espacement-1);background-color:var(--st-couleur-surface-conteneur-bas);border-radius:var(--st-rayon-md)}:host([data-forme=nue]) .st-segmented-control__piste{padding:0;background:none;border-radius:0}.st-segmented-control__segment{box-sizing:border-box;display:inline-flex;flex:1 1 auto;gap:var(--st-espacement-1);align-items:center;justify-content:center;min-block-size:var(--st-hauteur-commande-sm);padding:var(--st-espacement-1) var(--st-espacement-2-5);font-size:var(--st-taille-2xs);font-weight:var(--st-graisse-moyenne);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-discret);text-align:center;cursor:pointer;border-radius:var(--st-rayon-sm)}@media(pointer:coarse){.st-segmented-control__segment{min-block-size:var(--st-cible-tactile-min);min-inline-size:var(--st-cible-tactile-min)}}@media(hover:hover){.st-segmented-control__segment:not(:has(input:checked,input:disabled)):hover{color:var(--st-couleur-texte);background-color:var(--st-couleur-surface-survol)}}.st-segmented-control__segment:not(:has(input:checked,input:disabled)):active{background-color:var(--st-couleur-surface-active)}.st-segmented-control__segment:has(input:checked){font-weight:var(--st-graisse-semi);color:var(--st-couleur-texte-primaire);background-color:var(--st-couleur-surface);box-shadow:var(--st-ombre-repos),inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-bordure-forte)}.st-segmented-control__segment:has(input:focus-visible){position:relative;z-index:var(--st-plan-contenu-eleve);outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:var(--st-focus-decalage);box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus)}.st-segmented-control__segment:has(input:checked:focus-visible){box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus),inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-bordure-forte)}@media(forced-colors:active){.st-segmented-control__segment:has(input:checked){forced-color-adjust:none;color:HighlightText;background-color:Highlight}}.st-segmented-control__segment{font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs)}:host([data-pleine-largeur]) .st-segmented-control__segment{flex:1 1 0}:host([data-casse=capitales]) .st-segmented-control__segment{font-size:var(--st-taille-2xs);line-height:var(--st-interligne-2xs)}:host([data-taille=md]) .st-segmented-control__segment{min-block-size:var(--st-hauteur-commande-xl)}:host([data-icones-seules]) .st-segmented-control__segment{min-inline-size:var(--st-hauteur-commande-sm);padding-inline:var(--st-espacement-1-5)}@media(pointer:coarse){:host([data-icones-seules]) .st-segmented-control__segment{min-inline-size:var(--st-cible-tactile-min)}}.st-segmented-control__segment:has(input:disabled){color:var(--st-couleur-texte-desactive);cursor:not-allowed}@media(forced-colors:active){.st-segmented-control__segment:has(input:disabled){color:GrayText}}\n"]
|
|
2924
2951
|
}]
|
|
2925
2952
|
}],
|
|
2926
2953
|
ctorParameters: () => [],
|
|
@@ -3040,23 +3067,23 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3040
3067
|
});
|
|
3041
3068
|
var StAvatar = class StAvatar {
|
|
3042
3069
|
locale = inject(ST_LOCALE);
|
|
3043
|
-
nom = input.required(...ngDevMode ? [{ debugName: "nom" }] :
|
|
3044
|
-
sourceImage = input(null, ...ngDevMode ? [{ debugName: "sourceImage" }] :
|
|
3045
|
-
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] :
|
|
3046
|
-
forme = input("cercle", ...ngDevMode ? [{ debugName: "forme" }] :
|
|
3047
|
-
ton = input("primaire", ...ngDevMode ? [{ debugName: "ton" }] :
|
|
3048
|
-
variante = input("discrete", ...ngDevMode ? [{ debugName: "variante" }] :
|
|
3070
|
+
nom = input.required(...ngDevMode ? [{ debugName: "nom" }] : /* istanbul ignore next */ []);
|
|
3071
|
+
sourceImage = input(null, ...ngDevMode ? [{ debugName: "sourceImage" }] : /* istanbul ignore next */ []);
|
|
3072
|
+
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
3073
|
+
forme = input("cercle", ...ngDevMode ? [{ debugName: "forme" }] : /* istanbul ignore next */ []);
|
|
3074
|
+
ton = input("primaire", ...ngDevMode ? [{ debugName: "ton" }] : /* istanbul ignore next */ []);
|
|
3075
|
+
variante = input("discrete", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
3049
3076
|
nomAdjacent = input(true, {
|
|
3050
|
-
...ngDevMode ? { debugName: "nomAdjacent" } :
|
|
3077
|
+
...ngDevMode ? { debugName: "nomAdjacent" } : /* istanbul ignore next */ {},
|
|
3051
3078
|
transform: booleanAttribute
|
|
3052
3079
|
});
|
|
3053
3080
|
imageEchouee = linkedSignal({
|
|
3054
|
-
...ngDevMode ? { debugName: "imageEchouee" } :
|
|
3081
|
+
...ngDevMode ? { debugName: "imageEchouee" } : /* istanbul ignore next */ {},
|
|
3055
3082
|
source: this.sourceImage,
|
|
3056
3083
|
computation: () => false
|
|
3057
3084
|
});
|
|
3058
|
-
afficheLImage = computed(() => this.sourceImage() !== null && !this.imageEchouee(), ...ngDevMode ? [{ debugName: "afficheLImage" }] :
|
|
3059
|
-
segmenteur = computed(() => new Intl.Segmenter(this.locale(), { granularity: "grapheme" }), ...ngDevMode ? [{ debugName: "segmenteur" }] :
|
|
3085
|
+
afficheLImage = computed(() => this.sourceImage() !== null && !this.imageEchouee(), ...ngDevMode ? [{ debugName: "afficheLImage" }] : /* istanbul ignore next */ []);
|
|
3086
|
+
segmenteur = computed(() => new Intl.Segmenter(this.locale(), { granularity: "grapheme" }), ...ngDevMode ? [{ debugName: "segmenteur" }] : /* istanbul ignore next */ []);
|
|
3060
3087
|
initiales = computed(() => {
|
|
3061
3088
|
const segmenteur = this.segmenteur();
|
|
3062
3089
|
const premier = (mot) => {
|
|
@@ -3064,14 +3091,14 @@ var StAvatar = class StAvatar {
|
|
|
3064
3091
|
return "";
|
|
3065
3092
|
};
|
|
3066
3093
|
return this.nom().trim().split(/\s+/).filter((mot) => mot !== "").slice(0, this.taille() === "xs" ? 1 : 2).map(premier).join("").toLocaleUpperCase(this.locale());
|
|
3067
|
-
}, ...ngDevMode ? [{ debugName: "initiales" }] :
|
|
3068
|
-
texteAlternatif = computed(() => this.nomAdjacent() ? "" : this.nom(), ...ngDevMode ? [{ debugName: "texteAlternatif" }] :
|
|
3094
|
+
}, ...ngDevMode ? [{ debugName: "initiales" }] : /* istanbul ignore next */ []);
|
|
3095
|
+
texteAlternatif = computed(() => this.nomAdjacent() ? "" : this.nom(), ...ngDevMode ? [{ debugName: "texteAlternatif" }] : /* istanbul ignore next */ []);
|
|
3069
3096
|
auxEchecsDImage() {
|
|
3070
3097
|
this.imageEchouee.set(true);
|
|
3071
3098
|
}
|
|
3072
3099
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3073
3100
|
minVersion: "12.0.0",
|
|
3074
|
-
version: "22.2.
|
|
3101
|
+
version: "22.2.1",
|
|
3075
3102
|
ngImport: i0,
|
|
3076
3103
|
type: StAvatar,
|
|
3077
3104
|
deps: [],
|
|
@@ -3079,7 +3106,7 @@ var StAvatar = class StAvatar {
|
|
|
3079
3106
|
});
|
|
3080
3107
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3081
3108
|
minVersion: "17.0.0",
|
|
3082
|
-
version: "22.2.
|
|
3109
|
+
version: "22.2.1",
|
|
3083
3110
|
type: StAvatar,
|
|
3084
3111
|
isStandalone: true,
|
|
3085
3112
|
selector: "st-avatar",
|
|
@@ -3146,7 +3173,7 @@ var StAvatar = class StAvatar {
|
|
|
3146
3173
|
},
|
|
3147
3174
|
ngImport: i0,
|
|
3148
3175
|
template: "@if (afficheLImage()) {\n <!-- `prefer-ngsrc` ecarte ici (eslint.config.mjs) :\n NgOptimizedImage exige des dimensions statiques ou un chargeur configure.\n Une photo de profil vient d'une URL tierce de dimensions inconnues, et\n optimiser une image de 40 px ne rapporte rien. -->\n <img\n [src]=\"sourceImage()\"\n [alt]=\"texteAlternatif()\"\n loading=\"lazy\"\n decoding=\"async\"\n referrerpolicy=\"no-referrer\"\n (error)=\"auxEchecsDImage()\"\n />\n} @else {\n @if (initiales() !== '') {\n <!-- Toujours muettes : seules, elles se liraient « A K » ; le nom entier est dit par le\n texte masque ci-dessous quand il n'est pas deja a cote. -->\n <span class=\"st-avatar__initiales\" aria-hidden=\"true\">{{ initiales() }}</span>\n } @else {\n <st-icon class=\"st-avatar__repli\" nom=\"utilisateur\" taille=\"lg\" />\n }\n @if (!nomAdjacent() && nom().trim() !== '') {\n <span class=\"st-vh\">{{ nom() }}</span>\n }\n}\n",
|
|
3149
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-flex;flex:none;align-items:center;justify-content:center;inline-size:var(--st-avatar-taille);block-size:var(--st-avatar-taille);overflow:hidden;color:var(--st-couleur-sur-primaire-discret);background:var(--st-couleur-primaire-discret);border-radius:var(--st-rayon-pleine);--st-avatar-taille: var(--st-espacement-10)}:host([data-taille=xs]){--st-avatar-taille: var(--st-espacement-6)}:host([data-taille=sm]){--st-avatar-taille: var(--st-espacement-8)}:host([data-taille=lg]){--st-avatar-taille: var(--st-espacement-16)}:host([data-taille=xl]){--st-avatar-taille: var(--st-espacement-24)}:host([data-forme=carre]){border-radius:var(--st-rayon-md)}.st-avatar__initiales{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-interlettrage-capitales)}:host([data-taille=xs]) .st-avatar__initiales,:host([data-taille=sm]) .st-avatar__initiales{font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs)}:host([data-taille=lg]) .st-avatar__initiales{font-size:var(--st-taille-xl);line-height:var(--st-interligne-xl)}:host([data-taille=xl]) .st-avatar__initiales{font-size:var(--st-taille-3xl);line-height:var(--st-interligne-3xl)}.st-avatar__repli{color:var(--st-couleur-texte-discret)}:host([data-image]){box-shadow:inset 0 0 0 var(--st-epaisseur-capillaire) var(--st-couleur-bordure)}img{inline-size:100%;block-size:100%;object-fit:cover}:host([data-ton=neutre]){color:var(--st-couleur-texte);background:var(--st-couleur-surface-enfoncee)}:host([data-ton=information]){color:var(--st-couleur-sur-information-discret);background:var(--st-couleur-information-discret)}:host([data-ton=succes]){color:var(--st-couleur-sur-succes-discret);background:var(--st-couleur-succes-discret)}:host([data-ton=avertissement]){color:var(--st-couleur-sur-avertissement-discret);background:var(--st-couleur-avertissement-discret)}:host([data-ton=danger]){color:var(--st-couleur-sur-danger-discret);background:var(--st-couleur-danger-discret)}:host([data-variante=pleine]){color:var(--st-couleur-sur-primaire);background:var(--st-couleur-primaire)}:host([data-variante=pleine][data-ton=neutre]){color:var(--st-couleur-texte-inverse);background:var(--st-couleur-surface-inverse)}:host([data-variante=pleine][data-ton=information]){color:var(--st-couleur-sur-information);background:var(--st-couleur-information)}:host([data-variante=pleine][data-ton=succes]){color:var(--st-couleur-sur-succes);background:var(--st-couleur-succes)}:host([data-variante=pleine][data-ton=avertissement]){color:var(--st-couleur-sur-avertissement);background:var(--st-couleur-avertissement)}:host([data-variante=pleine][data-ton=danger]){color:var(--st-couleur-sur-danger);background:var(--st-couleur-danger)}:host([data-variante=pleine]) .st-avatar__repli{color:inherit}@media(forced-colors:active){:host,:host([data-variante=pleine]),:host([data-variante=pleine][data-ton]){forced-color-adjust:none;color:CanvasText;background:Canvas;box-shadow:none;outline:var(--st-epaisseur-fine) solid CanvasText;outline-offset:calc(-1 * var(--st-epaisseur-fine))}}\n"],
|
|
3176
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-flex;flex:none;align-items:center;justify-content:center;inline-size:var(--st-avatar-taille);block-size:var(--st-avatar-taille);overflow:hidden;color:var(--st-couleur-sur-primaire-discret);background:var(--st-couleur-primaire-discret);border-radius:var(--st-rayon-pleine);--st-avatar-taille: var(--st-espacement-10)}:host([data-taille=xs]){--st-avatar-taille: var(--st-espacement-6)}:host([data-taille=sm]){--st-avatar-taille: var(--st-espacement-8)}:host([data-taille=lg]){--st-avatar-taille: var(--st-espacement-16)}:host([data-taille=xl]){--st-avatar-taille: var(--st-espacement-24)}:host([data-forme=carre]){border-radius:var(--st-rayon-md)}.st-avatar__initiales{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-interlettrage-capitales)}:host([data-taille=xs]) .st-avatar__initiales,:host([data-taille=sm]) .st-avatar__initiales{font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs)}:host([data-taille=lg]) .st-avatar__initiales{font-size:var(--st-taille-xl);line-height:var(--st-interligne-xl)}:host([data-taille=xl]) .st-avatar__initiales{font-size:var(--st-taille-3xl);line-height:var(--st-interligne-3xl)}.st-avatar__repli{color:var(--st-couleur-texte-discret)}:host([data-image]){box-shadow:inset 0 0 0 var(--st-epaisseur-capillaire) var(--st-couleur-bordure)}img{inline-size:100%;block-size:100%;object-fit:cover}:host([data-ton=neutre]){color:var(--st-couleur-texte);background:var(--st-couleur-surface-enfoncee)}:host([data-ton=information]){color:var(--st-couleur-sur-information-discret);background:var(--st-couleur-information-discret)}:host([data-ton=succes]){color:var(--st-couleur-sur-succes-discret);background:var(--st-couleur-succes-discret)}:host([data-ton=avertissement]){color:var(--st-couleur-sur-avertissement-discret);background:var(--st-couleur-avertissement-discret)}:host([data-ton=erreur]){color:var(--st-couleur-sur-erreur-discret);background:var(--st-couleur-erreur-discret)}:host([data-ton=danger]){color:var(--st-couleur-sur-danger-discret);background:var(--st-couleur-danger-discret)}:host([data-variante=pleine]){color:var(--st-couleur-sur-primaire);background:var(--st-couleur-primaire)}:host([data-variante=pleine][data-ton=neutre]){color:var(--st-couleur-texte-inverse);background:var(--st-couleur-surface-inverse)}:host([data-variante=pleine][data-ton=information]){color:var(--st-couleur-sur-information);background:var(--st-couleur-information)}:host([data-variante=pleine][data-ton=succes]){color:var(--st-couleur-sur-succes);background:var(--st-couleur-succes)}:host([data-variante=pleine][data-ton=avertissement]){color:var(--st-couleur-sur-avertissement);background:var(--st-couleur-avertissement)}:host([data-variante=pleine][data-ton=erreur]){color:var(--st-couleur-sur-erreur);background:var(--st-couleur-erreur)}:host([data-variante=pleine][data-ton=danger]){color:var(--st-couleur-sur-danger);background:var(--st-couleur-danger)}:host([data-variante=pleine]) .st-avatar__repli{color:inherit}@media(forced-colors:active){:host,:host([data-variante=pleine]),:host([data-variante=pleine][data-ton]){forced-color-adjust:none;color:CanvasText;background:Canvas;box-shadow:none;outline:var(--st-epaisseur-fine) solid CanvasText;outline-offset:calc(-1 * var(--st-epaisseur-fine))}}\n"],
|
|
3150
3177
|
dependencies: [{
|
|
3151
3178
|
kind: "component",
|
|
3152
3179
|
type: StIcon,
|
|
@@ -3168,7 +3195,7 @@ var StAvatar = class StAvatar {
|
|
|
3168
3195
|
};
|
|
3169
3196
|
i0.ɵɵngDeclareClassMetadata({
|
|
3170
3197
|
minVersion: "12.0.0",
|
|
3171
|
-
version: "22.2.
|
|
3198
|
+
version: "22.2.1",
|
|
3172
3199
|
ngImport: i0,
|
|
3173
3200
|
type: StAvatar,
|
|
3174
3201
|
decorators: [{
|
|
@@ -3186,7 +3213,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3186
3213
|
"[attr.data-image]": "afficheLImage() ? \"\" : null"
|
|
3187
3214
|
},
|
|
3188
3215
|
template: "@if (afficheLImage()) {\n <!-- `prefer-ngsrc` ecarte ici (eslint.config.mjs) :\n NgOptimizedImage exige des dimensions statiques ou un chargeur configure.\n Une photo de profil vient d'une URL tierce de dimensions inconnues, et\n optimiser une image de 40 px ne rapporte rien. -->\n <img\n [src]=\"sourceImage()\"\n [alt]=\"texteAlternatif()\"\n loading=\"lazy\"\n decoding=\"async\"\n referrerpolicy=\"no-referrer\"\n (error)=\"auxEchecsDImage()\"\n />\n} @else {\n @if (initiales() !== '') {\n <!-- Toujours muettes : seules, elles se liraient « A K » ; le nom entier est dit par le\n texte masque ci-dessous quand il n'est pas deja a cote. -->\n <span class=\"st-avatar__initiales\" aria-hidden=\"true\">{{ initiales() }}</span>\n } @else {\n <st-icon class=\"st-avatar__repli\" nom=\"utilisateur\" taille=\"lg\" />\n }\n @if (!nomAdjacent() && nom().trim() !== '') {\n <span class=\"st-vh\">{{ nom() }}</span>\n }\n}\n",
|
|
3189
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-flex;flex:none;align-items:center;justify-content:center;inline-size:var(--st-avatar-taille);block-size:var(--st-avatar-taille);overflow:hidden;color:var(--st-couleur-sur-primaire-discret);background:var(--st-couleur-primaire-discret);border-radius:var(--st-rayon-pleine);--st-avatar-taille: var(--st-espacement-10)}:host([data-taille=xs]){--st-avatar-taille: var(--st-espacement-6)}:host([data-taille=sm]){--st-avatar-taille: var(--st-espacement-8)}:host([data-taille=lg]){--st-avatar-taille: var(--st-espacement-16)}:host([data-taille=xl]){--st-avatar-taille: var(--st-espacement-24)}:host([data-forme=carre]){border-radius:var(--st-rayon-md)}.st-avatar__initiales{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-interlettrage-capitales)}:host([data-taille=xs]) .st-avatar__initiales,:host([data-taille=sm]) .st-avatar__initiales{font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs)}:host([data-taille=lg]) .st-avatar__initiales{font-size:var(--st-taille-xl);line-height:var(--st-interligne-xl)}:host([data-taille=xl]) .st-avatar__initiales{font-size:var(--st-taille-3xl);line-height:var(--st-interligne-3xl)}.st-avatar__repli{color:var(--st-couleur-texte-discret)}:host([data-image]){box-shadow:inset 0 0 0 var(--st-epaisseur-capillaire) var(--st-couleur-bordure)}img{inline-size:100%;block-size:100%;object-fit:cover}:host([data-ton=neutre]){color:var(--st-couleur-texte);background:var(--st-couleur-surface-enfoncee)}:host([data-ton=information]){color:var(--st-couleur-sur-information-discret);background:var(--st-couleur-information-discret)}:host([data-ton=succes]){color:var(--st-couleur-sur-succes-discret);background:var(--st-couleur-succes-discret)}:host([data-ton=avertissement]){color:var(--st-couleur-sur-avertissement-discret);background:var(--st-couleur-avertissement-discret)}:host([data-ton=danger]){color:var(--st-couleur-sur-danger-discret);background:var(--st-couleur-danger-discret)}:host([data-variante=pleine]){color:var(--st-couleur-sur-primaire);background:var(--st-couleur-primaire)}:host([data-variante=pleine][data-ton=neutre]){color:var(--st-couleur-texte-inverse);background:var(--st-couleur-surface-inverse)}:host([data-variante=pleine][data-ton=information]){color:var(--st-couleur-sur-information);background:var(--st-couleur-information)}:host([data-variante=pleine][data-ton=succes]){color:var(--st-couleur-sur-succes);background:var(--st-couleur-succes)}:host([data-variante=pleine][data-ton=avertissement]){color:var(--st-couleur-sur-avertissement);background:var(--st-couleur-avertissement)}:host([data-variante=pleine][data-ton=danger]){color:var(--st-couleur-sur-danger);background:var(--st-couleur-danger)}:host([data-variante=pleine]) .st-avatar__repli{color:inherit}@media(forced-colors:active){:host,:host([data-variante=pleine]),:host([data-variante=pleine][data-ton]){forced-color-adjust:none;color:CanvasText;background:Canvas;box-shadow:none;outline:var(--st-epaisseur-fine) solid CanvasText;outline-offset:calc(-1 * var(--st-epaisseur-fine))}}\n"]
|
|
3216
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-flex;flex:none;align-items:center;justify-content:center;inline-size:var(--st-avatar-taille);block-size:var(--st-avatar-taille);overflow:hidden;color:var(--st-couleur-sur-primaire-discret);background:var(--st-couleur-primaire-discret);border-radius:var(--st-rayon-pleine);--st-avatar-taille: var(--st-espacement-10)}:host([data-taille=xs]){--st-avatar-taille: var(--st-espacement-6)}:host([data-taille=sm]){--st-avatar-taille: var(--st-espacement-8)}:host([data-taille=lg]){--st-avatar-taille: var(--st-espacement-16)}:host([data-taille=xl]){--st-avatar-taille: var(--st-espacement-24)}:host([data-forme=carre]){border-radius:var(--st-rayon-md)}.st-avatar__initiales{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-interlettrage-capitales)}:host([data-taille=xs]) .st-avatar__initiales,:host([data-taille=sm]) .st-avatar__initiales{font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs)}:host([data-taille=lg]) .st-avatar__initiales{font-size:var(--st-taille-xl);line-height:var(--st-interligne-xl)}:host([data-taille=xl]) .st-avatar__initiales{font-size:var(--st-taille-3xl);line-height:var(--st-interligne-3xl)}.st-avatar__repli{color:var(--st-couleur-texte-discret)}:host([data-image]){box-shadow:inset 0 0 0 var(--st-epaisseur-capillaire) var(--st-couleur-bordure)}img{inline-size:100%;block-size:100%;object-fit:cover}:host([data-ton=neutre]){color:var(--st-couleur-texte);background:var(--st-couleur-surface-enfoncee)}:host([data-ton=information]){color:var(--st-couleur-sur-information-discret);background:var(--st-couleur-information-discret)}:host([data-ton=succes]){color:var(--st-couleur-sur-succes-discret);background:var(--st-couleur-succes-discret)}:host([data-ton=avertissement]){color:var(--st-couleur-sur-avertissement-discret);background:var(--st-couleur-avertissement-discret)}:host([data-ton=erreur]){color:var(--st-couleur-sur-erreur-discret);background:var(--st-couleur-erreur-discret)}:host([data-ton=danger]){color:var(--st-couleur-sur-danger-discret);background:var(--st-couleur-danger-discret)}:host([data-variante=pleine]){color:var(--st-couleur-sur-primaire);background:var(--st-couleur-primaire)}:host([data-variante=pleine][data-ton=neutre]){color:var(--st-couleur-texte-inverse);background:var(--st-couleur-surface-inverse)}:host([data-variante=pleine][data-ton=information]){color:var(--st-couleur-sur-information);background:var(--st-couleur-information)}:host([data-variante=pleine][data-ton=succes]){color:var(--st-couleur-sur-succes);background:var(--st-couleur-succes)}:host([data-variante=pleine][data-ton=avertissement]){color:var(--st-couleur-sur-avertissement);background:var(--st-couleur-avertissement)}:host([data-variante=pleine][data-ton=erreur]){color:var(--st-couleur-sur-erreur);background:var(--st-couleur-erreur)}:host([data-variante=pleine][data-ton=danger]){color:var(--st-couleur-sur-danger);background:var(--st-couleur-danger)}:host([data-variante=pleine]) .st-avatar__repli{color:inherit}@media(forced-colors:active){:host,:host([data-variante=pleine]),:host([data-variante=pleine][data-ton]){forced-color-adjust:none;color:CanvasText;background:Canvas;box-shadow:none;outline:var(--st-epaisseur-fine) solid CanvasText;outline-offset:calc(-1 * var(--st-epaisseur-fine))}}\n"]
|
|
3190
3217
|
}]
|
|
3191
3218
|
}],
|
|
3192
3219
|
propDecorators: {
|
|
@@ -3250,23 +3277,23 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3250
3277
|
});
|
|
3251
3278
|
var StEmpty = class StEmpty {
|
|
3252
3279
|
element = inject(ElementRef).nativeElement;
|
|
3253
|
-
titre = input.required(...ngDevMode ? [{ debugName: "titre" }] :
|
|
3254
|
-
description = input(null, ...ngDevMode ? [{ debugName: "description" }] :
|
|
3255
|
-
icone = input("boite", ...ngDevMode ? [{ debugName: "icone" }] :
|
|
3256
|
-
niveauDuTitre = input(3, ...ngDevMode ? [{ debugName: "niveauDuTitre" }] :
|
|
3257
|
-
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] :
|
|
3258
|
-
variante = input("bloc", ...ngDevMode ? [{ debugName: "variante" }] :
|
|
3280
|
+
titre = input.required(...ngDevMode ? [{ debugName: "titre" }] : /* istanbul ignore next */ []);
|
|
3281
|
+
description = input(null, ...ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []);
|
|
3282
|
+
icone = input("boite", ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
3283
|
+
niveauDuTitre = input(3, ...ngDevMode ? [{ debugName: "niveauDuTitre" }] : /* istanbul ignore next */ []);
|
|
3284
|
+
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
3285
|
+
variante = input("bloc", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
3259
3286
|
identifiantDuTitre = inject(StIdentifiants).prochain("st-vide-titre");
|
|
3260
|
-
niveau = computed(() => this.variante() === "pleine-page" ? 1 : this.niveauDuTitre(), ...ngDevMode ? [{ debugName: "niveau" }] :
|
|
3287
|
+
niveau = computed(() => this.variante() === "pleine-page" ? 1 : this.niveauDuTitre(), ...ngDevMode ? [{ debugName: "niveau" }] : /* istanbul ignore next */ []);
|
|
3261
3288
|
tailleDuTitre = computed(() => {
|
|
3262
3289
|
const variante = this.variante();
|
|
3263
3290
|
if (variante === "encadree") return "md";
|
|
3264
3291
|
return variante === "pleine-page" ? "xl" : "lg";
|
|
3265
|
-
}, ...ngDevMode ? [{ debugName: "tailleDuTitre" }] :
|
|
3292
|
+
}, ...ngDevMode ? [{ debugName: "tailleDuTitre" }] : /* istanbul ignore next */ []);
|
|
3266
3293
|
tailleDuGlyphe = computed(() => {
|
|
3267
3294
|
if (this.variante() === "pleine-page") return "48";
|
|
3268
3295
|
return this.taille() === "sm" || this.variante() === "encadree" ? "24" : "28";
|
|
3269
|
-
}, ...ngDevMode ? [{ debugName: "tailleDuGlyphe" }] :
|
|
3296
|
+
}, ...ngDevMode ? [{ debugName: "tailleDuGlyphe" }] : /* istanbul ignore next */ []);
|
|
3270
3297
|
role = partagerLaValeur(this.element, "role", () => this.role.deLAppelant() === null ? "group" : null);
|
|
3271
3298
|
nommePar = partagerLaValeur(this.element, "aria-labelledby", () => this.nommePar.deLAppelant() === null ? this.identifiantDuTitre : null);
|
|
3272
3299
|
constructor() {
|
|
@@ -3276,7 +3303,7 @@ var StEmpty = class StEmpty {
|
|
|
3276
3303
|
}
|
|
3277
3304
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3278
3305
|
minVersion: "12.0.0",
|
|
3279
|
-
version: "22.2.
|
|
3306
|
+
version: "22.2.1",
|
|
3280
3307
|
ngImport: i0,
|
|
3281
3308
|
type: StEmpty,
|
|
3282
3309
|
deps: [],
|
|
@@ -3284,7 +3311,7 @@ var StEmpty = class StEmpty {
|
|
|
3284
3311
|
});
|
|
3285
3312
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3286
3313
|
minVersion: "17.0.0",
|
|
3287
|
-
version: "22.2.
|
|
3314
|
+
version: "22.2.1",
|
|
3288
3315
|
type: StEmpty,
|
|
3289
3316
|
isStandalone: true,
|
|
3290
3317
|
selector: "st-empty",
|
|
@@ -3372,7 +3399,7 @@ var StEmpty = class StEmpty {
|
|
|
3372
3399
|
};
|
|
3373
3400
|
i0.ɵɵngDeclareClassMetadata({
|
|
3374
3401
|
minVersion: "12.0.0",
|
|
3375
|
-
version: "22.2.
|
|
3402
|
+
version: "22.2.1",
|
|
3376
3403
|
ngImport: i0,
|
|
3377
3404
|
type: StEmpty,
|
|
3378
3405
|
decorators: [{
|
|
@@ -3445,12 +3472,12 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3445
3472
|
const PROFILS_D_ERREUR = {
|
|
3446
3473
|
serveur: {
|
|
3447
3474
|
icone: "nuage-barre",
|
|
3448
|
-
ton: "
|
|
3475
|
+
ton: "erreur",
|
|
3449
3476
|
rejouable: true
|
|
3450
3477
|
},
|
|
3451
3478
|
client: {
|
|
3452
3479
|
icone: "triangle-alerte",
|
|
3453
|
-
ton: "
|
|
3480
|
+
ton: "erreur",
|
|
3454
3481
|
rejouable: false
|
|
3455
3482
|
},
|
|
3456
3483
|
"hors-ligne": {
|
|
@@ -3519,22 +3546,23 @@ function prefixeDeTon(ton, libelles) {
|
|
|
3519
3546
|
case "information": return libelles.tonInformation;
|
|
3520
3547
|
case "succes": return libelles.tonSucces;
|
|
3521
3548
|
case "avertissement": return libelles.tonAvertissement;
|
|
3549
|
+
case "erreur": return libelles.tonErreur;
|
|
3522
3550
|
case "danger": return libelles.tonDanger;
|
|
3523
3551
|
}
|
|
3524
3552
|
}
|
|
3525
3553
|
var StInlineMessage = class StInlineMessage {
|
|
3526
3554
|
libelles = inject(ST_LIBELLES);
|
|
3527
|
-
ton = input("neutre", ...ngDevMode ? [{ debugName: "ton" }] :
|
|
3528
|
-
identifiant = input(null, ...ngDevMode ? [{ debugName: "identifiant" }] :
|
|
3555
|
+
ton = input("neutre", ...ngDevMode ? [{ debugName: "ton" }] : /* istanbul ignore next */ []);
|
|
3556
|
+
identifiant = input(null, ...ngDevMode ? [{ debugName: "identifiant" }] : /* istanbul ignore next */ []);
|
|
3529
3557
|
annonce = input(false, {
|
|
3530
|
-
...ngDevMode ? { debugName: "annonce" } :
|
|
3558
|
+
...ngDevMode ? { debugName: "annonce" } : /* istanbul ignore next */ {},
|
|
3531
3559
|
transform: booleanAttribute
|
|
3532
3560
|
});
|
|
3533
3561
|
encadre = input(false, {
|
|
3534
|
-
...ngDevMode ? { debugName: "encadre" } :
|
|
3562
|
+
...ngDevMode ? { debugName: "encadre" } : /* istanbul ignore next */ {},
|
|
3535
3563
|
transform: booleanAttribute
|
|
3536
3564
|
});
|
|
3537
|
-
icone = input(null, ...ngDevMode ? [{ debugName: "icone" }] :
|
|
3565
|
+
icone = input(null, ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
3538
3566
|
iconeLue = computed(() => {
|
|
3539
3567
|
const propre = this.icone();
|
|
3540
3568
|
if (propre !== null) return propre;
|
|
@@ -3544,14 +3572,15 @@ var StInlineMessage = class StInlineMessage {
|
|
|
3544
3572
|
nom: ICONES_DE_TON[ton],
|
|
3545
3573
|
variante: "plein"
|
|
3546
3574
|
};
|
|
3547
|
-
}, ...ngDevMode ? [{ debugName: "iconeLue" }] :
|
|
3548
|
-
prefixe = computed(() => prefixeDeTon(this.ton(), this.libelles()), ...ngDevMode ? [{ debugName: "prefixe" }] :
|
|
3575
|
+
}, ...ngDevMode ? [{ debugName: "iconeLue" }] : /* istanbul ignore next */ []);
|
|
3576
|
+
prefixe = computed(() => prefixeDeTon(this.ton(), this.libelles()), ...ngDevMode ? [{ debugName: "prefixe" }] : /* istanbul ignore next */ []);
|
|
3549
3577
|
role = computed(() => {
|
|
3550
3578
|
if (!this.annonce()) return null;
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3579
|
+
const ton = this.ton();
|
|
3580
|
+
return ton === "erreur" || ton === "danger" ? "alert" : "status";
|
|
3581
|
+
}, ...ngDevMode ? [{ debugName: "role" }] : /* istanbul ignore next */ []);
|
|
3582
|
+
contenuInsere = signal(false, ...ngDevMode ? [{ debugName: "contenuInsere" }] : /* istanbul ignore next */ []);
|
|
3583
|
+
contenuVisible = computed(() => !this.annonce() || this.contenuInsere(), ...ngDevMode ? [{ debugName: "contenuVisible" }] : /* istanbul ignore next */ []);
|
|
3555
3584
|
constructor() {
|
|
3556
3585
|
let minuterie = null;
|
|
3557
3586
|
afterNextRender(() => {
|
|
@@ -3565,7 +3594,7 @@ var StInlineMessage = class StInlineMessage {
|
|
|
3565
3594
|
}
|
|
3566
3595
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3567
3596
|
minVersion: "12.0.0",
|
|
3568
|
-
version: "22.2.
|
|
3597
|
+
version: "22.2.1",
|
|
3569
3598
|
ngImport: i0,
|
|
3570
3599
|
type: StInlineMessage,
|
|
3571
3600
|
deps: [],
|
|
@@ -3573,7 +3602,7 @@ var StInlineMessage = class StInlineMessage {
|
|
|
3573
3602
|
});
|
|
3574
3603
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3575
3604
|
minVersion: "17.0.0",
|
|
3576
|
-
version: "22.2.
|
|
3605
|
+
version: "22.2.1",
|
|
3577
3606
|
type: StInlineMessage,
|
|
3578
3607
|
isStandalone: true,
|
|
3579
3608
|
selector: "st-inline-message",
|
|
@@ -3624,8 +3653,8 @@ var StInlineMessage = class StInlineMessage {
|
|
|
3624
3653
|
classAttribute: "st-inline-message"
|
|
3625
3654
|
},
|
|
3626
3655
|
ngImport: i0,
|
|
3627
|
-
template: "<!-- Avec `annonce`, la region (l'hote) existe VIDE avant que son contenu n'y entre. -->\n@if (contenuVisible()) {\n <span class=\"st-inline-message__icone\">\n <st-icon [icone]=\"iconeLue()\" [taille]=\"encadre() ? '18' : 'md'\" />\n </span>\n <span class=\"st-inline-message__texte\">\n @if (prefixe() !== null) {\n <span class=\"st-
|
|
3628
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;gap:var(--st-espacement-1-5);align-items:flex-start;font-size:var(--st-taille-xs);font-weight:var(--st-graisse-moyenne);line-height:var(--st-interligne-xs)}.st-inline-message__icone{display:inline-flex;flex:none;align-items:center;block-size:var(--st-interligne-xs)}.st-inline-message__texte{flex:1 1 auto;min-inline-size:0}.st-inline-message__mention{flex:none;font-size:var(--st-taille-2xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-capitales);text-transform:uppercase}.st-inline-message__mention:empty{display:none}:host([data-ton=neutre]){color:var(--st-couleur-texte-discret)}:host([data-ton=information]){color:var(--st-couleur-information)}:host([data-ton=succes]){color:var(--st-couleur-succes)}:host([data-ton=avertissement]){color:var(--st-couleur-avertissement)}:host([data-ton=danger]){color:var(--st-couleur-danger)}:host([data-encadre]){gap:var(--st-espacement-2);padding:var(--st-espacement-3);font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;background-color:var(--st-couleur-surface-conteneur-bas);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);border-radius:var(--st-rayon-sm)}:host([data-encadre]) .st-inline-message__icone{align-items:flex-end;block-size:var(--st-interligne-sm)}:host([data-encadre]) .st-inline-message__texte{font-size:var(--st-taille-sm);font-weight:var(--st-graisse-normale);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}:host([data-encadre]) .st-inline-message__mention{align-self:center}:host([data-encadre][data-ton=neutre]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-texte-discret)}:host([data-encadre][data-ton=information]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-information)}:host([data-encadre][data-ton=succes]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-succes)}:host([data-encadre][data-ton=avertissement]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-avertissement)}:host([data-encadre][data-ton=danger]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-danger)}@media(forced-colors:active){:host([data-encadre]){border-color:CanvasText}}\n"],
|
|
3656
|
+
template: "<!-- Avec `annonce`, la region (l'hote) existe VIDE avant que son contenu n'y entre. -->\n@if (contenuVisible()) {\n <span class=\"st-inline-message__icone\">\n <st-icon [icone]=\"iconeLue()\" [taille]=\"encadre() ? '18' : 'md'\" />\n </span>\n <span class=\"st-inline-message__texte\">\n @if (prefixe() !== null) {\n <span class=\"st-prefixe-de-ton st-inline-message__prefixe\">{{ prefixe() }}</span>\n }\n <ng-content />\n </span>\n <span class=\"st-inline-message__mention\"><ng-content select=\"[mention]\" /></span>\n}\n",
|
|
3657
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;gap:var(--st-espacement-1-5);align-items:flex-start;font-size:var(--st-taille-xs);font-weight:var(--st-graisse-moyenne);line-height:var(--st-interligne-xs)}.st-inline-message__icone{display:inline-flex;flex:none;align-items:center;block-size:var(--st-interligne-xs)}.st-inline-message__texte{flex:1 1 auto;min-inline-size:0}.st-inline-message__prefixe{font-weight:var(--st-graisse-semi)}.st-inline-message__mention{flex:none;font-size:var(--st-taille-2xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-capitales);text-transform:uppercase}.st-inline-message__mention:empty{display:none}:host([data-ton=neutre]){color:var(--st-couleur-texte-discret)}:host([data-ton=information]){color:var(--st-couleur-information)}:host([data-ton=succes]){color:var(--st-couleur-succes)}:host([data-ton=avertissement]){color:var(--st-couleur-avertissement)}:host([data-ton=erreur]){color:var(--st-couleur-erreur)}:host([data-ton=danger]){color:var(--st-couleur-danger)}:host([data-encadre]){gap:var(--st-espacement-2);padding:var(--st-espacement-3);font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;background-color:var(--st-couleur-surface-conteneur-bas);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);border-radius:var(--st-rayon-sm)}:host([data-encadre]) .st-inline-message__icone{align-items:flex-end;block-size:var(--st-interligne-sm)}:host([data-encadre]) .st-inline-message__texte{font-size:var(--st-taille-sm);font-weight:var(--st-graisse-normale);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}:host([data-encadre]) .st-inline-message__mention{align-self:center}:host([data-encadre][data-ton=neutre]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-texte-discret)}:host([data-encadre][data-ton=information]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-information)}:host([data-encadre][data-ton=succes]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-succes)}:host([data-encadre][data-ton=avertissement]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-avertissement)}:host([data-encadre][data-ton=erreur]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-erreur)}:host([data-encadre][data-ton=danger]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-danger)}@media(forced-colors:active){:host([data-encadre]){border-color:CanvasText}}\n"],
|
|
3629
3658
|
dependencies: [{
|
|
3630
3659
|
kind: "component",
|
|
3631
3660
|
type: StIcon,
|
|
@@ -3647,7 +3676,7 @@ var StInlineMessage = class StInlineMessage {
|
|
|
3647
3676
|
};
|
|
3648
3677
|
i0.ɵɵngDeclareClassMetadata({
|
|
3649
3678
|
minVersion: "12.0.0",
|
|
3650
|
-
version: "22.2.
|
|
3679
|
+
version: "22.2.1",
|
|
3651
3680
|
ngImport: i0,
|
|
3652
3681
|
type: StInlineMessage,
|
|
3653
3682
|
decorators: [{
|
|
@@ -3663,8 +3692,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3663
3692
|
"[attr.id]": "identifiant()",
|
|
3664
3693
|
"[attr.role]": "role()"
|
|
3665
3694
|
},
|
|
3666
|
-
template: "<!-- Avec `annonce`, la region (l'hote) existe VIDE avant que son contenu n'y entre. -->\n@if (contenuVisible()) {\n <span class=\"st-inline-message__icone\">\n <st-icon [icone]=\"iconeLue()\" [taille]=\"encadre() ? '18' : 'md'\" />\n </span>\n <span class=\"st-inline-message__texte\">\n @if (prefixe() !== null) {\n <span class=\"st-
|
|
3667
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;gap:var(--st-espacement-1-5);align-items:flex-start;font-size:var(--st-taille-xs);font-weight:var(--st-graisse-moyenne);line-height:var(--st-interligne-xs)}.st-inline-message__icone{display:inline-flex;flex:none;align-items:center;block-size:var(--st-interligne-xs)}.st-inline-message__texte{flex:1 1 auto;min-inline-size:0}.st-inline-message__mention{flex:none;font-size:var(--st-taille-2xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-capitales);text-transform:uppercase}.st-inline-message__mention:empty{display:none}:host([data-ton=neutre]){color:var(--st-couleur-texte-discret)}:host([data-ton=information]){color:var(--st-couleur-information)}:host([data-ton=succes]){color:var(--st-couleur-succes)}:host([data-ton=avertissement]){color:var(--st-couleur-avertissement)}:host([data-ton=danger]){color:var(--st-couleur-danger)}:host([data-encadre]){gap:var(--st-espacement-2);padding:var(--st-espacement-3);font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;background-color:var(--st-couleur-surface-conteneur-bas);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);border-radius:var(--st-rayon-sm)}:host([data-encadre]) .st-inline-message__icone{align-items:flex-end;block-size:var(--st-interligne-sm)}:host([data-encadre]) .st-inline-message__texte{font-size:var(--st-taille-sm);font-weight:var(--st-graisse-normale);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}:host([data-encadre]) .st-inline-message__mention{align-self:center}:host([data-encadre][data-ton=neutre]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-texte-discret)}:host([data-encadre][data-ton=information]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-information)}:host([data-encadre][data-ton=succes]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-succes)}:host([data-encadre][data-ton=avertissement]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-avertissement)}:host([data-encadre][data-ton=danger]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-danger)}@media(forced-colors:active){:host([data-encadre]){border-color:CanvasText}}\n"]
|
|
3695
|
+
template: "<!-- Avec `annonce`, la region (l'hote) existe VIDE avant que son contenu n'y entre. -->\n@if (contenuVisible()) {\n <span class=\"st-inline-message__icone\">\n <st-icon [icone]=\"iconeLue()\" [taille]=\"encadre() ? '18' : 'md'\" />\n </span>\n <span class=\"st-inline-message__texte\">\n @if (prefixe() !== null) {\n <span class=\"st-prefixe-de-ton st-inline-message__prefixe\">{{ prefixe() }}</span>\n }\n <ng-content />\n </span>\n <span class=\"st-inline-message__mention\"><ng-content select=\"[mention]\" /></span>\n}\n",
|
|
3696
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;gap:var(--st-espacement-1-5);align-items:flex-start;font-size:var(--st-taille-xs);font-weight:var(--st-graisse-moyenne);line-height:var(--st-interligne-xs)}.st-inline-message__icone{display:inline-flex;flex:none;align-items:center;block-size:var(--st-interligne-xs)}.st-inline-message__texte{flex:1 1 auto;min-inline-size:0}.st-inline-message__prefixe{font-weight:var(--st-graisse-semi)}.st-inline-message__mention{flex:none;font-size:var(--st-taille-2xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-capitales);text-transform:uppercase}.st-inline-message__mention:empty{display:none}:host([data-ton=neutre]){color:var(--st-couleur-texte-discret)}:host([data-ton=information]){color:var(--st-couleur-information)}:host([data-ton=succes]){color:var(--st-couleur-succes)}:host([data-ton=avertissement]){color:var(--st-couleur-avertissement)}:host([data-ton=erreur]){color:var(--st-couleur-erreur)}:host([data-ton=danger]){color:var(--st-couleur-danger)}:host([data-encadre]){gap:var(--st-espacement-2);padding:var(--st-espacement-3);font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;background-color:var(--st-couleur-surface-conteneur-bas);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);border-radius:var(--st-rayon-sm)}:host([data-encadre]) .st-inline-message__icone{align-items:flex-end;block-size:var(--st-interligne-sm)}:host([data-encadre]) .st-inline-message__texte{font-size:var(--st-taille-sm);font-weight:var(--st-graisse-normale);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}:host([data-encadre]) .st-inline-message__mention{align-self:center}:host([data-encadre][data-ton=neutre]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-texte-discret)}:host([data-encadre][data-ton=information]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-information)}:host([data-encadre][data-ton=succes]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-succes)}:host([data-encadre][data-ton=avertissement]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-avertissement)}:host([data-encadre][data-ton=erreur]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-erreur)}:host([data-encadre][data-ton=danger]) :is(.st-inline-message__icone,.st-inline-message__mention){color:var(--st-couleur-danger)}@media(forced-colors:active){:host([data-encadre]){border-color:CanvasText}}\n"]
|
|
3668
3697
|
}]
|
|
3669
3698
|
}],
|
|
3670
3699
|
ctorParameters: () => [],
|
|
@@ -3715,26 +3744,26 @@ const anonymesParDocument = /* @__PURE__ */ new WeakMap();
|
|
|
3715
3744
|
var StCopyButton = class StCopyButton {
|
|
3716
3745
|
document = inject(DOCUMENT);
|
|
3717
3746
|
libelles = inject(ST_LIBELLES);
|
|
3718
|
-
valeur = input.required(...ngDevMode ? [{ debugName: "valeur" }] :
|
|
3719
|
-
libelle = input(null, ...ngDevMode ? [{ debugName: "libelle" }] :
|
|
3747
|
+
valeur = input.required(...ngDevMode ? [{ debugName: "valeur" }] : /* istanbul ignore next */ []);
|
|
3748
|
+
libelle = input(null, ...ngDevMode ? [{ debugName: "libelle" }] : /* istanbul ignore next */ []);
|
|
3720
3749
|
iconeSeule = input(false, {
|
|
3721
|
-
...ngDevMode ? { debugName: "iconeSeule" } :
|
|
3750
|
+
...ngDevMode ? { debugName: "iconeSeule" } : /* istanbul ignore next */ {},
|
|
3722
3751
|
transform: booleanAttribute
|
|
3723
3752
|
});
|
|
3724
|
-
messageDeConfirmation = input(null, ...ngDevMode ? [{ debugName: "messageDeConfirmation" }] :
|
|
3725
|
-
variante = input(null, ...ngDevMode ? [{ debugName: "variante" }] :
|
|
3726
|
-
taille = input("sm", ...ngDevMode ? [{ debugName: "taille" }] :
|
|
3727
|
-
tailleDuGlyphe = input(null, ...ngDevMode ? [{ debugName: "tailleDuGlyphe" }] :
|
|
3753
|
+
messageDeConfirmation = input(null, ...ngDevMode ? [{ debugName: "messageDeConfirmation" }] : /* istanbul ignore next */ []);
|
|
3754
|
+
variante = input(null, ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
3755
|
+
taille = input("sm", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
3756
|
+
tailleDuGlyphe = input(null, ...ngDevMode ? [{ debugName: "tailleDuGlyphe" }] : /* istanbul ignore next */ []);
|
|
3728
3757
|
copie = output();
|
|
3729
3758
|
annonce = new AnnonceLocale(inject(DestroyRef));
|
|
3730
3759
|
disponible = pressePapiersDisponible(this.document);
|
|
3731
|
-
libelleLu = computed(() => this.libelle() ?? this.libelles().copier, ...ngDevMode ? [{ debugName: "libelleLu" }] :
|
|
3732
|
-
varianteLue = computed(() => this.variante() ?? (this.iconeSeule() ? "discret" : "secondaire"), ...ngDevMode ? [{ debugName: "varianteLue" }] :
|
|
3733
|
-
copieConfirmee = signal(false, ...ngDevMode ? [{ debugName: "copieConfirmee" }] :
|
|
3760
|
+
libelleLu = computed(() => this.libelle() ?? this.libelles().copier, ...ngDevMode ? [{ debugName: "libelleLu" }] : /* istanbul ignore next */ []);
|
|
3761
|
+
varianteLue = computed(() => this.variante() ?? (this.iconeSeule() ? "discret" : "secondaire"), ...ngDevMode ? [{ debugName: "varianteLue" }] : /* istanbul ignore next */ []);
|
|
3762
|
+
copieConfirmee = signal(false, ...ngDevMode ? [{ debugName: "copieConfirmee" }] : /* istanbul ignore next */ []);
|
|
3734
3763
|
minuterieDeConfirmation;
|
|
3735
|
-
icone = computed(() => this.copieConfirmee() ? "presse-papiers-coche" : "copie", ...ngDevMode ? [{ debugName: "icone" }] :
|
|
3736
|
-
copieRefusee = signal(false, ...ngDevMode ? [{ debugName: "copieRefusee" }] :
|
|
3737
|
-
messageDeRefus = computed(() => this.libelles().copieImpossible, ...ngDevMode ? [{ debugName: "messageDeRefus" }] :
|
|
3764
|
+
icone = computed(() => this.copieConfirmee() ? "presse-papiers-coche" : "copie", ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
3765
|
+
copieRefusee = signal(false, ...ngDevMode ? [{ debugName: "copieRefusee" }] : /* istanbul ignore next */ []);
|
|
3766
|
+
messageDeRefus = computed(() => this.libelles().copieImpossible, ...ngDevMode ? [{ debugName: "messageDeRefus" }] : /* istanbul ignore next */ []);
|
|
3738
3767
|
constructor() {
|
|
3739
3768
|
inject(DestroyRef).onDestroy(() => {
|
|
3740
3769
|
clearTimeout(this.minuterieDeConfirmation);
|
|
@@ -3768,7 +3797,7 @@ var StCopyButton = class StCopyButton {
|
|
|
3768
3797
|
}
|
|
3769
3798
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3770
3799
|
minVersion: "12.0.0",
|
|
3771
|
-
version: "22.2.
|
|
3800
|
+
version: "22.2.1",
|
|
3772
3801
|
ngImport: i0,
|
|
3773
3802
|
type: StCopyButton,
|
|
3774
3803
|
deps: [],
|
|
@@ -3776,7 +3805,7 @@ var StCopyButton = class StCopyButton {
|
|
|
3776
3805
|
});
|
|
3777
3806
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3778
3807
|
minVersion: "17.0.0",
|
|
3779
|
-
version: "22.2.
|
|
3808
|
+
version: "22.2.1",
|
|
3780
3809
|
type: StCopyButton,
|
|
3781
3810
|
isStandalone: true,
|
|
3782
3811
|
selector: "st-copy-button",
|
|
@@ -3834,7 +3863,7 @@ var StCopyButton = class StCopyButton {
|
|
|
3834
3863
|
outputs: { copie: "copie" },
|
|
3835
3864
|
host: { classAttribute: "st-copy-button" },
|
|
3836
3865
|
ngImport: i0,
|
|
3837
|
-
template: "@if (disponible) {\n @if (iconeSeule()) {\n <button\n stIconButton\n class=\"st-copy-button__bouton\"\n type=\"button\"\n [icone]=\"icone()\"\n [variante]=\"varianteLue()\"\n [taille]=\"taille()\"\n [tailleDuGlyphe]=\"tailleDuGlyphe()\"\n [etiquette]=\"libelleLu()\"\n [attr.data-copie]=\"copieConfirmee() ? '' : null\"\n (click)=\"copier()\"\n ></button>\n } @else {\n <button\n stButton\n class=\"st-copy-button__bouton\"\n type=\"button\"\n [variante]=\"varianteLue()\"\n [taille]=\"taille()\"\n [iconeAvant]=\"icone()\"\n [attr.data-copie]=\"copieConfirmee() ? '' : null\"\n (click)=\"copier()\"\n >\n {{ libelleLu() }}\n </button>\n }\n @if (copieRefusee()) {\n <st-inline-message class=\"st-copy-button__refus\" ton=\"
|
|
3866
|
+
template: "@if (disponible) {\n @if (iconeSeule()) {\n <button\n stIconButton\n class=\"st-copy-button__bouton\"\n type=\"button\"\n [icone]=\"icone()\"\n [variante]=\"varianteLue()\"\n [taille]=\"taille()\"\n [tailleDuGlyphe]=\"tailleDuGlyphe()\"\n [etiquette]=\"libelleLu()\"\n [attr.data-copie]=\"copieConfirmee() ? '' : null\"\n (click)=\"copier()\"\n ></button>\n } @else {\n <button\n stButton\n class=\"st-copy-button__bouton\"\n type=\"button\"\n [variante]=\"varianteLue()\"\n [taille]=\"taille()\"\n [iconeAvant]=\"icone()\"\n [attr.data-copie]=\"copieConfirmee() ? '' : null\"\n (click)=\"copier()\"\n >\n {{ libelleLu() }}\n </button>\n }\n @if (copieRefusee()) {\n <st-inline-message class=\"st-copy-button__refus\" ton=\"erreur\">{{\n messageDeRefus()\n }}</st-inline-message>\n }\n}\n<span class=\"st-vh\" aria-live=\"polite\">{{ annonce.texte() }}</span>\n",
|
|
3838
3867
|
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-flex;flex-wrap:wrap;gap:var(--st-espacement-1);align-items:center}:host ::ng-deep [data-copie] .st-icon{color:var(--st-couleur-succes)}:host ::ng-deep .st-button[data-copie][data-variante=primaire] .st-icon{color:var(--st-couleur-sur-primaire)}.st-copy-button__refus{flex-basis:100%}@media print{:host{display:none}}\n"],
|
|
3839
3868
|
dependencies: [
|
|
3840
3869
|
{
|
|
@@ -3887,7 +3916,7 @@ var StCopyButton = class StCopyButton {
|
|
|
3887
3916
|
};
|
|
3888
3917
|
i0.ɵɵngDeclareClassMetadata({
|
|
3889
3918
|
minVersion: "12.0.0",
|
|
3890
|
-
version: "22.2.
|
|
3919
|
+
version: "22.2.1",
|
|
3891
3920
|
ngImport: i0,
|
|
3892
3921
|
type: StCopyButton,
|
|
3893
3922
|
decorators: [{
|
|
@@ -3901,7 +3930,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3901
3930
|
StInlineMessage
|
|
3902
3931
|
],
|
|
3903
3932
|
host: { class: "st-copy-button" },
|
|
3904
|
-
template: "@if (disponible) {\n @if (iconeSeule()) {\n <button\n stIconButton\n class=\"st-copy-button__bouton\"\n type=\"button\"\n [icone]=\"icone()\"\n [variante]=\"varianteLue()\"\n [taille]=\"taille()\"\n [tailleDuGlyphe]=\"tailleDuGlyphe()\"\n [etiquette]=\"libelleLu()\"\n [attr.data-copie]=\"copieConfirmee() ? '' : null\"\n (click)=\"copier()\"\n ></button>\n } @else {\n <button\n stButton\n class=\"st-copy-button__bouton\"\n type=\"button\"\n [variante]=\"varianteLue()\"\n [taille]=\"taille()\"\n [iconeAvant]=\"icone()\"\n [attr.data-copie]=\"copieConfirmee() ? '' : null\"\n (click)=\"copier()\"\n >\n {{ libelleLu() }}\n </button>\n }\n @if (copieRefusee()) {\n <st-inline-message class=\"st-copy-button__refus\" ton=\"
|
|
3933
|
+
template: "@if (disponible) {\n @if (iconeSeule()) {\n <button\n stIconButton\n class=\"st-copy-button__bouton\"\n type=\"button\"\n [icone]=\"icone()\"\n [variante]=\"varianteLue()\"\n [taille]=\"taille()\"\n [tailleDuGlyphe]=\"tailleDuGlyphe()\"\n [etiquette]=\"libelleLu()\"\n [attr.data-copie]=\"copieConfirmee() ? '' : null\"\n (click)=\"copier()\"\n ></button>\n } @else {\n <button\n stButton\n class=\"st-copy-button__bouton\"\n type=\"button\"\n [variante]=\"varianteLue()\"\n [taille]=\"taille()\"\n [iconeAvant]=\"icone()\"\n [attr.data-copie]=\"copieConfirmee() ? '' : null\"\n (click)=\"copier()\"\n >\n {{ libelleLu() }}\n </button>\n }\n @if (copieRefusee()) {\n <st-inline-message class=\"st-copy-button__refus\" ton=\"erreur\">{{\n messageDeRefus()\n }}</st-inline-message>\n }\n}\n<span class=\"st-vh\" aria-live=\"polite\">{{ annonce.texte() }}</span>\n",
|
|
3905
3934
|
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-flex;flex-wrap:wrap;gap:var(--st-espacement-1);align-items:center}:host ::ng-deep [data-copie] .st-icon{color:var(--st-couleur-succes)}:host ::ng-deep .st-button[data-copie][data-variante=primaire] .st-icon{color:var(--st-couleur-sur-primaire)}.st-copy-button__refus{flex-basis:100%}@media print{:host{display:none}}\n"]
|
|
3906
3935
|
}]
|
|
3907
3936
|
}],
|
|
@@ -3999,14 +4028,14 @@ var StTimer = class StTimer {
|
|
|
3999
4028
|
locale = inject(ST_LOCALE);
|
|
4000
4029
|
regionParente = inject(REGION_VIVANTE_PARENTE, { optional: true });
|
|
4001
4030
|
secondes = input.required({
|
|
4002
|
-
...ngDevMode ? { debugName: "secondes" } :
|
|
4031
|
+
...ngDevMode ? { debugName: "secondes" } : /* istanbul ignore next */ {},
|
|
4003
4032
|
transform: numberAttribute
|
|
4004
4033
|
});
|
|
4005
|
-
echeance = input(null, ...ngDevMode ? [{ debugName: "echeance" }] :
|
|
4006
|
-
nature = input("reessai", ...ngDevMode ? [{ debugName: "nature" }] :
|
|
4007
|
-
variante = input("texte", ...ngDevMode ? [{ debugName: "variante" }] :
|
|
4034
|
+
echeance = input(null, ...ngDevMode ? [{ debugName: "echeance" }] : /* istanbul ignore next */ []);
|
|
4035
|
+
nature = input("reessai", ...ngDevMode ? [{ debugName: "nature" }] : /* istanbul ignore next */ []);
|
|
4036
|
+
variante = input("texte", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
4008
4037
|
avecIcone = input(false, {
|
|
4009
|
-
...ngDevMode ? { debugName: "avecIcone" } :
|
|
4038
|
+
...ngDevMode ? { debugName: "avecIcone" } : /* istanbul ignore next */ {},
|
|
4010
4039
|
transform: booleanAttribute
|
|
4011
4040
|
});
|
|
4012
4041
|
termine = output();
|
|
@@ -4015,11 +4044,11 @@ var StTimer = class StTimer {
|
|
|
4015
4044
|
const echeance = this.echeance();
|
|
4016
4045
|
if (echeance !== null) return echeance instanceof Date ? echeance.getTime() : echeance;
|
|
4017
4046
|
return Date.now() + Math.max(0, this.secondes()) * 1e3;
|
|
4018
|
-
}, ...ngDevMode ? [{ debugName: "fin" }] :
|
|
4019
|
-
restant = linkedSignal(() => Math.max(0, Math.ceil((this.fin() - Date.now()) / 1e3)), ...ngDevMode ? [{ debugName: "restant" }] :
|
|
4047
|
+
}, ...ngDevMode ? [{ debugName: "fin" }] : /* istanbul ignore next */ []);
|
|
4048
|
+
restant = linkedSignal(() => Math.max(0, Math.ceil((this.fin() - Date.now()) / 1e3)), ...ngDevMode ? [{ debugName: "restant" }] : /* istanbul ignore next */ []);
|
|
4020
4049
|
minuterie = null;
|
|
4021
|
-
textes = computed(() => textesDuMinuteur(this.nature(), this.libelles()), ...ngDevMode ? [{ debugName: "textes" }] :
|
|
4022
|
-
phraseDeFin = computed(() => this.textes().fin, ...ngDevMode ? [{ debugName: "phraseDeFin" }] :
|
|
4050
|
+
textes = computed(() => textesDuMinuteur(this.nature(), this.libelles()), ...ngDevMode ? [{ debugName: "textes" }] : /* istanbul ignore next */ []);
|
|
4051
|
+
phraseDeFin = computed(() => this.textes().fin, ...ngDevMode ? [{ debugName: "phraseDeFin" }] : /* istanbul ignore next */ []);
|
|
4023
4052
|
morceaux = computed(() => {
|
|
4024
4053
|
const restant = this.restant();
|
|
4025
4054
|
if (restant === 0) return [{
|
|
@@ -4039,10 +4068,10 @@ var StTimer = class StTimer {
|
|
|
4039
4068
|
nombre: false
|
|
4040
4069
|
}]
|
|
4041
4070
|
];
|
|
4042
|
-
}, ...ngDevMode ? [{ debugName: "morceaux" }] :
|
|
4043
|
-
phraseCourante = signal("", ...ngDevMode ? [{ debugName: "phraseCourante" }] :
|
|
4071
|
+
}, ...ngDevMode ? [{ debugName: "morceaux" }] : /* istanbul ignore next */ []);
|
|
4072
|
+
phraseCourante = signal("", ...ngDevMode ? [{ debugName: "phraseCourante" }] : /* istanbul ignore next */ []);
|
|
4044
4073
|
phrase = this.phraseCourante.asReadonly();
|
|
4045
|
-
nom = computed(() => this.textes().nom, ...ngDevMode ? [{ debugName: "nom" }] :
|
|
4074
|
+
nom = computed(() => this.textes().nom, ...ngDevMode ? [{ debugName: "nom" }] : /* istanbul ignore next */ []);
|
|
4046
4075
|
constructor() {
|
|
4047
4076
|
inject(DestroyRef).onDestroy(() => {
|
|
4048
4077
|
this.arreter();
|
|
@@ -4082,7 +4111,7 @@ var StTimer = class StTimer {
|
|
|
4082
4111
|
}
|
|
4083
4112
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4084
4113
|
minVersion: "12.0.0",
|
|
4085
|
-
version: "22.2.
|
|
4114
|
+
version: "22.2.1",
|
|
4086
4115
|
ngImport: i0,
|
|
4087
4116
|
type: StTimer,
|
|
4088
4117
|
deps: [],
|
|
@@ -4090,7 +4119,7 @@ var StTimer = class StTimer {
|
|
|
4090
4119
|
});
|
|
4091
4120
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4092
4121
|
minVersion: "17.0.0",
|
|
4093
|
-
version: "22.2.
|
|
4122
|
+
version: "22.2.1",
|
|
4094
4123
|
type: StTimer,
|
|
4095
4124
|
isStandalone: true,
|
|
4096
4125
|
selector: "st-timer",
|
|
@@ -4141,7 +4170,7 @@ var StTimer = class StTimer {
|
|
|
4141
4170
|
},
|
|
4142
4171
|
ngImport: i0,
|
|
4143
4172
|
template: "@if (variante() === 'pastille') {\n <span class=\"st-timer__point\" aria-hidden=\"true\"></span>\n} @else if (avecIcone()) {\n <st-icon nom=\"minuteur\" taille=\"sm\" />\n}\n<span class=\"st-timer__decompte\" role=\"timer\" [attr.aria-label]=\"nom()\">\n @for (morceau of morceaux(); track $index) {\n @if (morceau.nombre) {\n <span class=\"st-timer__nombre\">{{ morceau.texte }}</span>\n } @else {\n {{ morceau.texte }}\n }\n }\n</span>\n<span class=\"st-vh\" aria-live=\"polite\">{{ annonce.texte() }}</span>\n",
|
|
4144
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-block;color:var(--st-couleur-texte-discret)}:host([data-variante=texte]){font-variant-numeric:var(--st-chiffres-alignes)}.st-timer__decompte{unicode-bidi:isolate}:host([data-termine]){color:var(--st-couleur-texte)}:host([data-variante=pastille]){display:inline-flex;gap:var(--st-espacement-1);align-items:center;padding:var(--st-espacement-demi) var(--st-espacement-2);font-family:var(--st-police-mono);font-size:var(--st-taille-xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-primaire);white-space:nowrap;background:var(--st-couleur-surface);border-radius:var(--st-rayon-pleine);box-shadow:var(--st-ombre-repos);outline:var(--st-epaisseur-fine) solid transparent}:host([data-variante=pastille]) .st-timer__decompte{display:inline-flex;gap:var(--st-espacement-1);align-items:center}.st-timer__point{flex:none;inline-size:var(--st-espacement-2);block-size:var(--st-espacement-2);background:var(--st-couleur-danger);border-radius:var(--st-rayon-pleine)}\n"],
|
|
4173
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-block;color:var(--st-couleur-texte-discret)}:host([data-variante=texte]){font-variant-numeric:var(--st-chiffres-alignes)}.st-timer__decompte{unicode-bidi:isolate}:host([data-termine]){color:var(--st-couleur-texte)}:host([data-variante=pastille]){display:inline-flex;gap:var(--st-espacement-1);align-items:center;padding:var(--st-espacement-demi) var(--st-espacement-2);font-family:var(--st-police-mono);font-size:var(--st-taille-xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-primaire);white-space:nowrap;background:var(--st-couleur-surface);border-radius:var(--st-rayon-pleine);box-shadow:var(--st-ombre-repos);outline:var(--st-epaisseur-fine) solid transparent}:host([data-variante=pastille]) .st-timer__decompte{display:inline-flex;gap:var(--st-espacement-1);align-items:center}.st-timer__point{flex:none;inline-size:var(--st-espacement-2);block-size:var(--st-espacement-2);background:var(--st-couleur-danger);border-radius:var(--st-rayon-pleine)}@media(forced-colors:active){:host([data-variante=pastille]){outline-color:CanvasText}.st-timer__point{forced-color-adjust:none;background:CanvasText}}\n"],
|
|
4145
4174
|
dependencies: [{
|
|
4146
4175
|
kind: "component",
|
|
4147
4176
|
type: StIcon,
|
|
@@ -4163,7 +4192,7 @@ var StTimer = class StTimer {
|
|
|
4163
4192
|
};
|
|
4164
4193
|
i0.ɵɵngDeclareClassMetadata({
|
|
4165
4194
|
minVersion: "12.0.0",
|
|
4166
|
-
version: "22.2.
|
|
4195
|
+
version: "22.2.1",
|
|
4167
4196
|
ngImport: i0,
|
|
4168
4197
|
type: StTimer,
|
|
4169
4198
|
decorators: [{
|
|
@@ -4178,7 +4207,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4178
4207
|
"[attr.data-termine]": "restant() === 0 ? \"\" : null"
|
|
4179
4208
|
},
|
|
4180
4209
|
template: "@if (variante() === 'pastille') {\n <span class=\"st-timer__point\" aria-hidden=\"true\"></span>\n} @else if (avecIcone()) {\n <st-icon nom=\"minuteur\" taille=\"sm\" />\n}\n<span class=\"st-timer__decompte\" role=\"timer\" [attr.aria-label]=\"nom()\">\n @for (morceau of morceaux(); track $index) {\n @if (morceau.nombre) {\n <span class=\"st-timer__nombre\">{{ morceau.texte }}</span>\n } @else {\n {{ morceau.texte }}\n }\n }\n</span>\n<span class=\"st-vh\" aria-live=\"polite\">{{ annonce.texte() }}</span>\n",
|
|
4181
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-block;color:var(--st-couleur-texte-discret)}:host([data-variante=texte]){font-variant-numeric:var(--st-chiffres-alignes)}.st-timer__decompte{unicode-bidi:isolate}:host([data-termine]){color:var(--st-couleur-texte)}:host([data-variante=pastille]){display:inline-flex;gap:var(--st-espacement-1);align-items:center;padding:var(--st-espacement-demi) var(--st-espacement-2);font-family:var(--st-police-mono);font-size:var(--st-taille-xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-primaire);white-space:nowrap;background:var(--st-couleur-surface);border-radius:var(--st-rayon-pleine);box-shadow:var(--st-ombre-repos);outline:var(--st-epaisseur-fine) solid transparent}:host([data-variante=pastille]) .st-timer__decompte{display:inline-flex;gap:var(--st-espacement-1);align-items:center}.st-timer__point{flex:none;inline-size:var(--st-espacement-2);block-size:var(--st-espacement-2);background:var(--st-couleur-danger);border-radius:var(--st-rayon-pleine)}\n"]
|
|
4210
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:inline-block;color:var(--st-couleur-texte-discret)}:host([data-variante=texte]){font-variant-numeric:var(--st-chiffres-alignes)}.st-timer__decompte{unicode-bidi:isolate}:host([data-termine]){color:var(--st-couleur-texte)}:host([data-variante=pastille]){display:inline-flex;gap:var(--st-espacement-1);align-items:center;padding:var(--st-espacement-demi) var(--st-espacement-2);font-family:var(--st-police-mono);font-size:var(--st-taille-xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-primaire);white-space:nowrap;background:var(--st-couleur-surface);border-radius:var(--st-rayon-pleine);box-shadow:var(--st-ombre-repos);outline:var(--st-epaisseur-fine) solid transparent}:host([data-variante=pastille]) .st-timer__decompte{display:inline-flex;gap:var(--st-espacement-1);align-items:center}.st-timer__point{flex:none;inline-size:var(--st-espacement-2);block-size:var(--st-espacement-2);background:var(--st-couleur-danger);border-radius:var(--st-rayon-pleine)}@media(forced-colors:active){:host([data-variante=pastille]){outline-color:CanvasText}.st-timer__point{forced-color-adjust:none;background:CanvasText}}\n"]
|
|
4182
4211
|
}]
|
|
4183
4212
|
}],
|
|
4184
4213
|
ctorParameters: () => [],
|
|
@@ -4253,62 +4282,62 @@ var StError = class StError {
|
|
|
4253
4282
|
regionParente = inject(REGION_VIVANTE_PARENTE, { optional: true });
|
|
4254
4283
|
libelles = inject(ST_LIBELLES);
|
|
4255
4284
|
locale = inject(ST_LOCALE);
|
|
4256
|
-
variante = input("serveur", ...ngDevMode ? [{ debugName: "variante" }] :
|
|
4257
|
-
disposition = input("encart", ...ngDevMode ? [{ debugName: "disposition" }] :
|
|
4258
|
-
code = input.required(...ngDevMode ? [{ debugName: "code" }] :
|
|
4259
|
-
titre = input.required(...ngDevMode ? [{ debugName: "titre" }] :
|
|
4260
|
-
message = input(null, ...ngDevMode ? [{ debugName: "message" }] :
|
|
4261
|
-
traceId = input(null, ...ngDevMode ? [{ debugName: "traceId" }] :
|
|
4262
|
-
niveauDuTitre = input(3, ...ngDevMode ? [{ debugName: "niveauDuTitre" }] :
|
|
4263
|
-
icone = input(null, ...ngDevMode ? [{ debugName: "icone" }] :
|
|
4285
|
+
variante = input("serveur", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
4286
|
+
disposition = input("encart", ...ngDevMode ? [{ debugName: "disposition" }] : /* istanbul ignore next */ []);
|
|
4287
|
+
code = input.required(...ngDevMode ? [{ debugName: "code" }] : /* istanbul ignore next */ []);
|
|
4288
|
+
titre = input.required(...ngDevMode ? [{ debugName: "titre" }] : /* istanbul ignore next */ []);
|
|
4289
|
+
message = input(null, ...ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []);
|
|
4290
|
+
traceId = input(null, ...ngDevMode ? [{ debugName: "traceId" }] : /* istanbul ignore next */ []);
|
|
4291
|
+
niveauDuTitre = input(3, ...ngDevMode ? [{ debugName: "niveauDuTitre" }] : /* istanbul ignore next */ []);
|
|
4292
|
+
icone = input(null, ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
4264
4293
|
rejouable = input(null, {
|
|
4265
|
-
...ngDevMode ? { debugName: "rejouable" } :
|
|
4294
|
+
...ngDevMode ? { debugName: "rejouable" } : /* istanbul ignore next */ {},
|
|
4266
4295
|
transform: (valeur) => valeur === null || valeur === void 0 ? null : booleanAttribute(valeur)
|
|
4267
4296
|
});
|
|
4268
4297
|
rejeuEnCours = input(false, {
|
|
4269
|
-
...ngDevMode ? { debugName: "rejeuEnCours" } :
|
|
4298
|
+
...ngDevMode ? { debugName: "rejeuEnCours" } : /* istanbul ignore next */ {},
|
|
4270
4299
|
transform: booleanAttribute
|
|
4271
4300
|
});
|
|
4272
4301
|
secondesAvantNouvelEssai = input(null, {
|
|
4273
|
-
...ngDevMode ? { debugName: "secondesAvantNouvelEssai" } :
|
|
4302
|
+
...ngDevMode ? { debugName: "secondesAvantNouvelEssai" } : /* istanbul ignore next */ {},
|
|
4274
4303
|
transform: (valeur) => valeur === null || valeur === void 0 ? null : numberAttribute(valeur, 0)
|
|
4275
4304
|
});
|
|
4276
|
-
echeance = input(null, ...ngDevMode ? [{ debugName: "echeance" }] :
|
|
4305
|
+
echeance = input(null, ...ngDevMode ? [{ debugName: "echeance" }] : /* istanbul ignore next */ []);
|
|
4277
4306
|
sansDetails = input(false, {
|
|
4278
|
-
...ngDevMode ? { debugName: "sansDetails" } :
|
|
4307
|
+
...ngDevMode ? { debugName: "sansDetails" } : /* istanbul ignore next */ {},
|
|
4279
4308
|
transform: booleanAttribute
|
|
4280
4309
|
});
|
|
4281
|
-
libelleRejeu = input(null, ...ngDevMode ? [{ debugName: "libelleRejeu" }] :
|
|
4282
|
-
etiquetteDeTrace = input(null, ...ngDevMode ? [{ debugName: "etiquetteDeTrace" }] :
|
|
4310
|
+
libelleRejeu = input(null, ...ngDevMode ? [{ debugName: "libelleRejeu" }] : /* istanbul ignore next */ []);
|
|
4311
|
+
etiquetteDeTrace = input(null, ...ngDevMode ? [{ debugName: "etiquetteDeTrace" }] : /* istanbul ignore next */ []);
|
|
4283
4312
|
rejeu = output();
|
|
4284
4313
|
decompteTermine = linkedSignal(() => {
|
|
4285
4314
|
this.secondesAvantNouvelEssai();
|
|
4286
4315
|
this.echeance();
|
|
4287
4316
|
return false;
|
|
4288
|
-
}, ...ngDevMode ? [{ debugName: "decompteTermine" }] :
|
|
4289
|
-
decompte = viewChild(StTimer, ...ngDevMode ? [{ debugName: "decompte" }] :
|
|
4290
|
-
profil = computed(() => PROFILS_D_ERREUR[this.variante()], ...ngDevMode ? [{ debugName: "profil" }] :
|
|
4291
|
-
iconeLue = computed(() => this.icone() ?? this.profil().icone, ...ngDevMode ? [{ debugName: "iconeLue" }] :
|
|
4317
|
+
}, ...ngDevMode ? [{ debugName: "decompteTermine" }] : /* istanbul ignore next */ []);
|
|
4318
|
+
decompte = viewChild(StTimer, ...ngDevMode ? [{ debugName: "decompte" }] : /* istanbul ignore next */ []);
|
|
4319
|
+
profil = computed(() => PROFILS_D_ERREUR[this.variante()], ...ngDevMode ? [{ debugName: "profil" }] : /* istanbul ignore next */ []);
|
|
4320
|
+
iconeLue = computed(() => this.icone() ?? this.profil().icone, ...ngDevMode ? [{ debugName: "iconeLue" }] : /* istanbul ignore next */ []);
|
|
4292
4321
|
rejouableLu = computed(() => {
|
|
4293
4322
|
const choisi = this.rejouable();
|
|
4294
4323
|
if (choisi !== null) return choisi;
|
|
4295
4324
|
if (this.variante() === "limite") return this.secondesAvantNouvelEssai() !== null;
|
|
4296
4325
|
return this.profil().rejouable;
|
|
4297
|
-
}, ...ngDevMode ? [{ debugName: "rejouableLu" }] :
|
|
4298
|
-
enAttente = computed(() => this.variante() === "limite" && this.secondesAvantNouvelEssai() !== null && !this.decompteTermine(), ...ngDevMode ? [{ debugName: "enAttente" }] :
|
|
4299
|
-
raisonDuRejeu = computed(() => this.enAttente() ? this.decompte()?.phrase() ?? null : null, ...ngDevMode ? [{ debugName: "raisonDuRejeu" }] :
|
|
4300
|
-
libelleRejeuLu = computed(() => this.libelleRejeu() ?? this.libelles().reessayer, ...ngDevMode ? [{ debugName: "libelleRejeuLu" }] :
|
|
4301
|
-
nomDeLaCopie = computed(() => this.libelles().copierLaValeur(this.etiquetteDeTrace() ?? this.libelles().identifiantDeTrace), ...ngDevMode ? [{ debugName: "nomDeLaCopie" }] :
|
|
4302
|
-
etiquetteDuCode = computed(() => this.libelles().libelleDeChamp(this.libelles().codeTechnique.toLocaleUpperCase(this.locale())), ...ngDevMode ? [{ debugName: "etiquetteDuCode" }] :
|
|
4303
|
-
etiquetteDeLaTrace = computed(() => this.libelles().libelleDeChamp(this.libelles().trace.toLocaleUpperCase(this.locale())), ...ngDevMode ? [{ debugName: "etiquetteDeLaTrace" }] :
|
|
4326
|
+
}, ...ngDevMode ? [{ debugName: "rejouableLu" }] : /* istanbul ignore next */ []);
|
|
4327
|
+
enAttente = computed(() => this.variante() === "limite" && this.secondesAvantNouvelEssai() !== null && !this.decompteTermine(), ...ngDevMode ? [{ debugName: "enAttente" }] : /* istanbul ignore next */ []);
|
|
4328
|
+
raisonDuRejeu = computed(() => this.enAttente() ? this.decompte()?.phrase() ?? null : null, ...ngDevMode ? [{ debugName: "raisonDuRejeu" }] : /* istanbul ignore next */ []);
|
|
4329
|
+
libelleRejeuLu = computed(() => this.libelleRejeu() ?? this.libelles().reessayer, ...ngDevMode ? [{ debugName: "libelleRejeuLu" }] : /* istanbul ignore next */ []);
|
|
4330
|
+
nomDeLaCopie = computed(() => this.libelles().copierLaValeur(this.etiquetteDeTrace() ?? this.libelles().identifiantDeTrace), ...ngDevMode ? [{ debugName: "nomDeLaCopie" }] : /* istanbul ignore next */ []);
|
|
4331
|
+
etiquetteDuCode = computed(() => this.libelles().libelleDeChamp(this.libelles().codeTechnique.toLocaleUpperCase(this.locale())), ...ngDevMode ? [{ debugName: "etiquetteDuCode" }] : /* istanbul ignore next */ []);
|
|
4332
|
+
etiquetteDeLaTrace = computed(() => this.libelles().libelleDeChamp(this.libelles().trace.toLocaleUpperCase(this.locale())), ...ngDevMode ? [{ debugName: "etiquetteDeLaTrace" }] : /* istanbul ignore next */ []);
|
|
4304
4333
|
affichable = sansCommandesDeDirection;
|
|
4305
|
-
sAnnonce = computed(() => this.regionParente === null, ...ngDevMode ? [{ debugName: "sAnnonce" }] :
|
|
4334
|
+
sAnnonce = computed(() => this.regionParente === null, ...ngDevMode ? [{ debugName: "sAnnonce" }] : /* istanbul ignore next */ []);
|
|
4306
4335
|
quandLeDecompteFinit() {
|
|
4307
4336
|
this.decompteTermine.set(true);
|
|
4308
4337
|
}
|
|
4309
4338
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4310
4339
|
minVersion: "12.0.0",
|
|
4311
|
-
version: "22.2.
|
|
4340
|
+
version: "22.2.1",
|
|
4312
4341
|
ngImport: i0,
|
|
4313
4342
|
type: StError,
|
|
4314
4343
|
deps: [],
|
|
@@ -4316,7 +4345,7 @@ var StError = class StError {
|
|
|
4316
4345
|
});
|
|
4317
4346
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4318
4347
|
minVersion: "17.0.0",
|
|
4319
|
-
version: "22.2.
|
|
4348
|
+
version: "22.2.1",
|
|
4320
4349
|
type: StError,
|
|
4321
4350
|
isStandalone: true,
|
|
4322
4351
|
selector: "st-error",
|
|
@@ -4445,7 +4474,7 @@ var StError = class StError {
|
|
|
4445
4474
|
}],
|
|
4446
4475
|
ngImport: i0,
|
|
4447
4476
|
template: "<ng-content select=\"[entete]\" />\n\n<div class=\"st-error__corps\">\n <div class=\"st-error__medaillon\">\n <st-icon [icone]=\"iconeLue()\" [taille]=\"disposition() === 'centree' ? '24' : '20'\" />\n </div>\n <!-- Le SEUL noeud assertif : le titre et le message, jamais le code ni la trace. -->\n <div class=\"st-error__textes\" [attr.role]=\"sAnnonce() ? 'alert' : null\">\n @switch (niveauDuTitre()) {\n @case (1) {\n <h1 stHeading class=\"st-error__titre\" taille=\"lg\">{{ titre() }}</h1>\n }\n @case (2) {\n <h2 stHeading class=\"st-error__titre\" taille=\"lg\">{{ titre() }}</h2>\n }\n @case (4) {\n <h4 stHeading class=\"st-error__titre\" taille=\"lg\">{{ titre() }}</h4>\n }\n @case (5) {\n <h5 stHeading class=\"st-error__titre\" taille=\"lg\">{{ titre() }}</h5>\n }\n @case (6) {\n <h6 stHeading class=\"st-error__titre\" taille=\"lg\">{{ titre() }}</h6>\n }\n @default {\n <h3 stHeading class=\"st-error__titre\" taille=\"lg\">{{ titre() }}</h3>\n }\n }\n @if (message(); as texte) {\n <p class=\"st-error__message\">{{ texte }}</p>\n }\n </div>\n</div>\n\n<!-- L'action AVANT les details techniques : on rejoue, puis on copie une trace. -->\n<div class=\"st-error__actions\">\n @if (rejouableLu()) {\n <button\n stButton\n type=\"button\"\n variante=\"primaire\"\n iconeAvant=\"rafraichir\"\n [chargement]=\"rejeuEnCours()\"\n [indisponible]=\"enAttente()\"\n [raisonIndisponible]=\"raisonDuRejeu()\"\n (click)=\"rejeu.emit()\"\n >\n {{ libelleRejeuLu() }}\n </button>\n }\n @if (variante() === 'limite' && secondesAvantNouvelEssai() !== null) {\n <st-timer\n [secondes]=\"secondesAvantNouvelEssai() ?? 0\"\n [echeance]=\"echeance()\"\n (termine)=\"quandLeDecompteFinit()\"\n />\n }\n <ng-content select=\"[actions]\" />\n</div>\n\n@if (!sansDetails()) {\n <div class=\"st-error__technique\">\n <p class=\"st-error__ligne\">\n <span class=\"st-error__code\"\n >{{ etiquetteDuCode() }} <bdi dir=\"ltr\">{{ affichable(code()) }}</bdi></span\n >\n @if (traceId(); as trace) {\n <span class=\"st-error__separateur\" aria-hidden=\"true\">|</span>\n <span class=\"st-error__trace\"\n >{{ etiquetteDeLaTrace() }} <bdi dir=\"ltr\">{{ affichable(trace) }}</bdi></span\n >\n }\n </p>\n @if (traceId(); as trace) {\n <st-copy-button\n class=\"st-error__copie\"\n iconeSeule\n taille=\"xs\"\n tailleDuGlyphe=\"16\"\n [valeur]=\"trace\"\n [libelle]=\"nomDeLaCopie()\"\n />\n }\n </div>\n}\n",
|
|
4448
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;flex-direction:column}.st-error__corps{display:flex;gap:var(--st-espacement-3);align-items:flex-start}.st-error__medaillon{display:flex;flex:none;align-items:center;justify-content:center;border-radius:var(--st-rayon-pleine);outline:var(--st-epaisseur-fine) solid transparent}.st-error__textes{display:flex;flex-direction:column;min-inline-size:0}.st-error__titre{margin:0;color:inherit}.st-error__message{margin:0;font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm)}.st-error__actions{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2);align-items:center;justify-content:space-between}.st-error__actions:empty{display:none}.st-error__technique{display:flex;gap:var(--st-espacement-2);align-items:center;justify-content:space-between;padding:var(--st-espacement-2);font-family:var(--st-police-mono);font-size:var(--st-taille-xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-xs);font-variant-numeric:var(--st-chiffres-references);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte);background:var(--st-couleur-surface);border-radius:var(--st-rayon-md)}.st-error__ligne{display:flex;flex-wrap:wrap;gap:var(--st-espacement-1) var(--st-espacement-3);align-items:center;min-inline-size:0;margin:0}.st-error__code{color:var(--st-couleur-texte-attenue);overflow-wrap:anywhere}.st-error__separateur{display:none;color:var(--st-couleur-texte-attenue);white-space:nowrap}@media(min-width:30rem){.st-error__separateur{display:inline}}.st-error__trace{color:var(--st-couleur-texte-discret);overflow-wrap:anywhere}:host([data-disposition=encart]){padding:var(--st-espacement-6);background:var(--st-couleur-
|
|
4477
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;flex-direction:column}.st-error__corps{display:flex;gap:var(--st-espacement-3);align-items:flex-start}.st-error__medaillon{display:flex;flex:none;align-items:center;justify-content:center;border-radius:var(--st-rayon-pleine);outline:var(--st-epaisseur-fine) solid transparent}.st-error__textes{display:flex;flex-direction:column;min-inline-size:0}.st-error__titre{margin:0;color:inherit}.st-error__message{margin:0;font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm)}.st-error__actions{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2);align-items:center;justify-content:space-between}.st-error__actions:empty{display:none}.st-error__technique{display:flex;gap:var(--st-espacement-2);align-items:center;justify-content:space-between;padding:var(--st-espacement-2);font-family:var(--st-police-mono);font-size:var(--st-taille-xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-xs);font-variant-numeric:var(--st-chiffres-references);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte);background:var(--st-couleur-surface);border-radius:var(--st-rayon-md)}.st-error__ligne{display:flex;flex-wrap:wrap;gap:var(--st-espacement-1) var(--st-espacement-3);align-items:center;min-inline-size:0;margin:0}.st-error__code{color:var(--st-couleur-texte-attenue);overflow-wrap:anywhere}.st-error__separateur{display:none;color:var(--st-couleur-texte-attenue);white-space:nowrap}@media(min-width:30rem){.st-error__separateur{display:inline}}.st-error__trace{color:var(--st-couleur-texte-discret);overflow-wrap:anywhere}:host([data-disposition=encart]){padding:var(--st-espacement-6);background:var(--st-couleur-erreur-discret);border-radius:var(--st-rayon-lg);box-shadow:var(--st-ombre-repos);outline:var(--st-epaisseur-fine) solid transparent}:host([data-disposition=encart]) .st-error__medaillon{inline-size:var(--st-hauteur-commande-md);block-size:var(--st-hauteur-commande-md);margin-block-start:var(--st-espacement-demi);color:var(--st-couleur-erreur);background:color-mix(in srgb,var(--st-couleur-erreur) 12%,var(--st-couleur-erreur-discret))}:host([data-disposition=encart]) .st-error__titre,:host([data-disposition=encart]) .st-error__actions{color:var(--st-couleur-sur-erreur-discret)}:host([data-disposition=encart]) .st-error__message{margin-block-start:var(--st-espacement-1);color:color-mix(in srgb,var(--st-couleur-sur-erreur-discret) 80%,transparent)}:host([data-disposition=encart]) .st-error__actions{margin-block-start:var(--st-espacement-6);padding-block-start:var(--st-espacement-4)}:host([data-disposition=encart]) .st-error__technique{margin-block-start:var(--st-espacement-4)}:host([data-disposition=encart][data-ton=avertissement]){background:var(--st-couleur-avertissement-discret)}:host([data-disposition=encart][data-ton=avertissement]) .st-error__titre,:host([data-disposition=encart][data-ton=avertissement]) .st-error__actions{color:var(--st-couleur-sur-avertissement-discret)}:host([data-disposition=encart][data-ton=avertissement]) .st-error__message{color:color-mix(in srgb,var(--st-couleur-sur-avertissement-discret) 80%,transparent)}:host([data-disposition=encart][data-ton=avertissement]) .st-error__medaillon{color:var(--st-couleur-avertissement);background:color-mix(in srgb,var(--st-couleur-avertissement) 12%,var(--st-couleur-avertissement-discret))}:host([data-disposition=encart][data-ton=neutre]){background:var(--st-couleur-surface-enfoncee)}:host([data-disposition=encart][data-ton=neutre]) .st-error__titre,:host([data-disposition=encart][data-ton=neutre]) .st-error__actions{color:var(--st-couleur-texte)}:host([data-disposition=encart][data-ton=neutre]) .st-error__message{color:var(--st-couleur-texte-discret)}:host([data-disposition=encart][data-ton=neutre]) .st-error__medaillon{color:var(--st-couleur-texte-discret);background:var(--st-couleur-surface-conteneur-haut)}:host([data-disposition=centree]){gap:var(--st-espacement-1);align-items:center;padding:var(--st-espacement-2) 0;text-align:center}:host([data-disposition=centree]) .st-error__corps{flex-direction:column;gap:var(--st-espacement-1);align-items:center}:host([data-disposition=centree]) .st-error__textes{gap:var(--st-espacement-1);align-items:center}:host([data-disposition=centree]) .st-error__medaillon{inline-size:var(--st-espacement-12);block-size:var(--st-espacement-12);color:var(--st-couleur-erreur);background:var(--st-couleur-erreur-discret)}:host([data-disposition=centree]) .st-error__titre{color:var(--st-couleur-erreur)}:host([data-disposition=centree]) .st-error__message{color:var(--st-couleur-texte-discret)}:host([data-disposition=centree]) .st-error__actions{justify-content:center;margin-block-start:var(--st-espacement-1)}:host([data-disposition=centree]) .st-error__technique{align-self:stretch;text-align:start}:host([data-disposition=centree][data-ton=avertissement]) .st-error__medaillon{color:var(--st-couleur-avertissement);background:var(--st-couleur-avertissement-discret)}:host([data-disposition=centree][data-ton=avertissement]) .st-error__titre{color:var(--st-couleur-sur-avertissement-discret)}:host([data-disposition=centree][data-ton=neutre]) .st-error__medaillon{color:var(--st-couleur-texte-discret);background:var(--st-couleur-surface-enfoncee)}:host([data-disposition=centree][data-ton=neutre]) .st-error__titre{color:var(--st-couleur-texte)}@media print{.st-error__actions button,.st-error__copie{display:none}}\n"],
|
|
4449
4478
|
dependencies: [
|
|
4450
4479
|
{
|
|
4451
4480
|
kind: "component",
|
|
@@ -4522,7 +4551,7 @@ var StError = class StError {
|
|
|
4522
4551
|
};
|
|
4523
4552
|
i0.ɵɵngDeclareClassMetadata({
|
|
4524
4553
|
minVersion: "12.0.0",
|
|
4525
|
-
version: "22.2.
|
|
4554
|
+
version: "22.2.1",
|
|
4526
4555
|
ngImport: i0,
|
|
4527
4556
|
type: StError,
|
|
4528
4557
|
decorators: [{
|
|
@@ -4544,7 +4573,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4544
4573
|
"[attr.data-ton]": "profil().ton"
|
|
4545
4574
|
},
|
|
4546
4575
|
template: "<ng-content select=\"[entete]\" />\n\n<div class=\"st-error__corps\">\n <div class=\"st-error__medaillon\">\n <st-icon [icone]=\"iconeLue()\" [taille]=\"disposition() === 'centree' ? '24' : '20'\" />\n </div>\n <!-- Le SEUL noeud assertif : le titre et le message, jamais le code ni la trace. -->\n <div class=\"st-error__textes\" [attr.role]=\"sAnnonce() ? 'alert' : null\">\n @switch (niveauDuTitre()) {\n @case (1) {\n <h1 stHeading class=\"st-error__titre\" taille=\"lg\">{{ titre() }}</h1>\n }\n @case (2) {\n <h2 stHeading class=\"st-error__titre\" taille=\"lg\">{{ titre() }}</h2>\n }\n @case (4) {\n <h4 stHeading class=\"st-error__titre\" taille=\"lg\">{{ titre() }}</h4>\n }\n @case (5) {\n <h5 stHeading class=\"st-error__titre\" taille=\"lg\">{{ titre() }}</h5>\n }\n @case (6) {\n <h6 stHeading class=\"st-error__titre\" taille=\"lg\">{{ titre() }}</h6>\n }\n @default {\n <h3 stHeading class=\"st-error__titre\" taille=\"lg\">{{ titre() }}</h3>\n }\n }\n @if (message(); as texte) {\n <p class=\"st-error__message\">{{ texte }}</p>\n }\n </div>\n</div>\n\n<!-- L'action AVANT les details techniques : on rejoue, puis on copie une trace. -->\n<div class=\"st-error__actions\">\n @if (rejouableLu()) {\n <button\n stButton\n type=\"button\"\n variante=\"primaire\"\n iconeAvant=\"rafraichir\"\n [chargement]=\"rejeuEnCours()\"\n [indisponible]=\"enAttente()\"\n [raisonIndisponible]=\"raisonDuRejeu()\"\n (click)=\"rejeu.emit()\"\n >\n {{ libelleRejeuLu() }}\n </button>\n }\n @if (variante() === 'limite' && secondesAvantNouvelEssai() !== null) {\n <st-timer\n [secondes]=\"secondesAvantNouvelEssai() ?? 0\"\n [echeance]=\"echeance()\"\n (termine)=\"quandLeDecompteFinit()\"\n />\n }\n <ng-content select=\"[actions]\" />\n</div>\n\n@if (!sansDetails()) {\n <div class=\"st-error__technique\">\n <p class=\"st-error__ligne\">\n <span class=\"st-error__code\"\n >{{ etiquetteDuCode() }} <bdi dir=\"ltr\">{{ affichable(code()) }}</bdi></span\n >\n @if (traceId(); as trace) {\n <span class=\"st-error__separateur\" aria-hidden=\"true\">|</span>\n <span class=\"st-error__trace\"\n >{{ etiquetteDeLaTrace() }} <bdi dir=\"ltr\">{{ affichable(trace) }}</bdi></span\n >\n }\n </p>\n @if (traceId(); as trace) {\n <st-copy-button\n class=\"st-error__copie\"\n iconeSeule\n taille=\"xs\"\n tailleDuGlyphe=\"16\"\n [valeur]=\"trace\"\n [libelle]=\"nomDeLaCopie()\"\n />\n }\n </div>\n}\n",
|
|
4547
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;flex-direction:column}.st-error__corps{display:flex;gap:var(--st-espacement-3);align-items:flex-start}.st-error__medaillon{display:flex;flex:none;align-items:center;justify-content:center;border-radius:var(--st-rayon-pleine);outline:var(--st-epaisseur-fine) solid transparent}.st-error__textes{display:flex;flex-direction:column;min-inline-size:0}.st-error__titre{margin:0;color:inherit}.st-error__message{margin:0;font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm)}.st-error__actions{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2);align-items:center;justify-content:space-between}.st-error__actions:empty{display:none}.st-error__technique{display:flex;gap:var(--st-espacement-2);align-items:center;justify-content:space-between;padding:var(--st-espacement-2);font-family:var(--st-police-mono);font-size:var(--st-taille-xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-xs);font-variant-numeric:var(--st-chiffres-references);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte);background:var(--st-couleur-surface);border-radius:var(--st-rayon-md)}.st-error__ligne{display:flex;flex-wrap:wrap;gap:var(--st-espacement-1) var(--st-espacement-3);align-items:center;min-inline-size:0;margin:0}.st-error__code{color:var(--st-couleur-texte-attenue);overflow-wrap:anywhere}.st-error__separateur{display:none;color:var(--st-couleur-texte-attenue);white-space:nowrap}@media(min-width:30rem){.st-error__separateur{display:inline}}.st-error__trace{color:var(--st-couleur-texte-discret);overflow-wrap:anywhere}:host([data-disposition=encart]){padding:var(--st-espacement-6);background:var(--st-couleur-
|
|
4576
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;flex-direction:column}.st-error__corps{display:flex;gap:var(--st-espacement-3);align-items:flex-start}.st-error__medaillon{display:flex;flex:none;align-items:center;justify-content:center;border-radius:var(--st-rayon-pleine);outline:var(--st-epaisseur-fine) solid transparent}.st-error__textes{display:flex;flex-direction:column;min-inline-size:0}.st-error__titre{margin:0;color:inherit}.st-error__message{margin:0;font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm)}.st-error__actions{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2);align-items:center;justify-content:space-between}.st-error__actions:empty{display:none}.st-error__technique{display:flex;gap:var(--st-espacement-2);align-items:center;justify-content:space-between;padding:var(--st-espacement-2);font-family:var(--st-police-mono);font-size:var(--st-taille-xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-xs);font-variant-numeric:var(--st-chiffres-references);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte);background:var(--st-couleur-surface);border-radius:var(--st-rayon-md)}.st-error__ligne{display:flex;flex-wrap:wrap;gap:var(--st-espacement-1) var(--st-espacement-3);align-items:center;min-inline-size:0;margin:0}.st-error__code{color:var(--st-couleur-texte-attenue);overflow-wrap:anywhere}.st-error__separateur{display:none;color:var(--st-couleur-texte-attenue);white-space:nowrap}@media(min-width:30rem){.st-error__separateur{display:inline}}.st-error__trace{color:var(--st-couleur-texte-discret);overflow-wrap:anywhere}:host([data-disposition=encart]){padding:var(--st-espacement-6);background:var(--st-couleur-erreur-discret);border-radius:var(--st-rayon-lg);box-shadow:var(--st-ombre-repos);outline:var(--st-epaisseur-fine) solid transparent}:host([data-disposition=encart]) .st-error__medaillon{inline-size:var(--st-hauteur-commande-md);block-size:var(--st-hauteur-commande-md);margin-block-start:var(--st-espacement-demi);color:var(--st-couleur-erreur);background:color-mix(in srgb,var(--st-couleur-erreur) 12%,var(--st-couleur-erreur-discret))}:host([data-disposition=encart]) .st-error__titre,:host([data-disposition=encart]) .st-error__actions{color:var(--st-couleur-sur-erreur-discret)}:host([data-disposition=encart]) .st-error__message{margin-block-start:var(--st-espacement-1);color:color-mix(in srgb,var(--st-couleur-sur-erreur-discret) 80%,transparent)}:host([data-disposition=encart]) .st-error__actions{margin-block-start:var(--st-espacement-6);padding-block-start:var(--st-espacement-4)}:host([data-disposition=encart]) .st-error__technique{margin-block-start:var(--st-espacement-4)}:host([data-disposition=encart][data-ton=avertissement]){background:var(--st-couleur-avertissement-discret)}:host([data-disposition=encart][data-ton=avertissement]) .st-error__titre,:host([data-disposition=encart][data-ton=avertissement]) .st-error__actions{color:var(--st-couleur-sur-avertissement-discret)}:host([data-disposition=encart][data-ton=avertissement]) .st-error__message{color:color-mix(in srgb,var(--st-couleur-sur-avertissement-discret) 80%,transparent)}:host([data-disposition=encart][data-ton=avertissement]) .st-error__medaillon{color:var(--st-couleur-avertissement);background:color-mix(in srgb,var(--st-couleur-avertissement) 12%,var(--st-couleur-avertissement-discret))}:host([data-disposition=encart][data-ton=neutre]){background:var(--st-couleur-surface-enfoncee)}:host([data-disposition=encart][data-ton=neutre]) .st-error__titre,:host([data-disposition=encart][data-ton=neutre]) .st-error__actions{color:var(--st-couleur-texte)}:host([data-disposition=encart][data-ton=neutre]) .st-error__message{color:var(--st-couleur-texte-discret)}:host([data-disposition=encart][data-ton=neutre]) .st-error__medaillon{color:var(--st-couleur-texte-discret);background:var(--st-couleur-surface-conteneur-haut)}:host([data-disposition=centree]){gap:var(--st-espacement-1);align-items:center;padding:var(--st-espacement-2) 0;text-align:center}:host([data-disposition=centree]) .st-error__corps{flex-direction:column;gap:var(--st-espacement-1);align-items:center}:host([data-disposition=centree]) .st-error__textes{gap:var(--st-espacement-1);align-items:center}:host([data-disposition=centree]) .st-error__medaillon{inline-size:var(--st-espacement-12);block-size:var(--st-espacement-12);color:var(--st-couleur-erreur);background:var(--st-couleur-erreur-discret)}:host([data-disposition=centree]) .st-error__titre{color:var(--st-couleur-erreur)}:host([data-disposition=centree]) .st-error__message{color:var(--st-couleur-texte-discret)}:host([data-disposition=centree]) .st-error__actions{justify-content:center;margin-block-start:var(--st-espacement-1)}:host([data-disposition=centree]) .st-error__technique{align-self:stretch;text-align:start}:host([data-disposition=centree][data-ton=avertissement]) .st-error__medaillon{color:var(--st-couleur-avertissement);background:var(--st-couleur-avertissement-discret)}:host([data-disposition=centree][data-ton=avertissement]) .st-error__titre{color:var(--st-couleur-sur-avertissement-discret)}:host([data-disposition=centree][data-ton=neutre]) .st-error__medaillon{color:var(--st-couleur-texte-discret);background:var(--st-couleur-surface-enfoncee)}:host([data-disposition=centree][data-ton=neutre]) .st-error__titre{color:var(--st-couleur-texte)}@media print{.st-error__actions button,.st-error__copie{display:none}}\n"]
|
|
4548
4577
|
}]
|
|
4549
4578
|
}],
|
|
4550
4579
|
propDecorators: {
|
|
@@ -4680,19 +4709,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4680
4709
|
});
|
|
4681
4710
|
var StOfflineBanner = class StOfflineBanner {
|
|
4682
4711
|
regionParente = inject(REGION_VIVANTE_PARENTE, { optional: true });
|
|
4683
|
-
message = input.required(...ngDevMode ? [{ debugName: "message" }] :
|
|
4684
|
-
titre = input(null, ...ngDevMode ? [{ debugName: "titre" }] :
|
|
4685
|
-
variante = input("hors-ligne", ...ngDevMode ? [{ debugName: "variante" }] :
|
|
4686
|
-
libelleRejeu = input(null, ...ngDevMode ? [{ debugName: "libelleRejeu" }] :
|
|
4712
|
+
message = input.required(...ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []);
|
|
4713
|
+
titre = input(null, ...ngDevMode ? [{ debugName: "titre" }] : /* istanbul ignore next */ []);
|
|
4714
|
+
variante = input("hors-ligne", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
4715
|
+
libelleRejeu = input(null, ...ngDevMode ? [{ debugName: "libelleRejeu" }] : /* istanbul ignore next */ []);
|
|
4687
4716
|
rejeuEnCours = input(false, {
|
|
4688
|
-
...ngDevMode ? { debugName: "rejeuEnCours" } :
|
|
4717
|
+
...ngDevMode ? { debugName: "rejeuEnCours" } : /* istanbul ignore next */ {},
|
|
4689
4718
|
transform: booleanAttribute
|
|
4690
4719
|
});
|
|
4691
4720
|
rejeu = output();
|
|
4692
|
-
sAnnonce = computed(() => this.regionParente === null, ...ngDevMode ? [{ debugName: "sAnnonce" }] :
|
|
4693
|
-
annonceEchue = signal(false, ...ngDevMode ? [{ debugName: "annonceEchue" }] :
|
|
4694
|
-
copieLisible = computed(() => !this.sAnnonce() || this.annonceEchue(), ...ngDevMode ? [{ debugName: "copieLisible" }] :
|
|
4695
|
-
icone = computed(() => this.variante() === "retablie" ? "wifi" : "nuage-barre", ...ngDevMode ? [{ debugName: "icone" }] :
|
|
4721
|
+
sAnnonce = computed(() => this.regionParente === null, ...ngDevMode ? [{ debugName: "sAnnonce" }] : /* istanbul ignore next */ []);
|
|
4722
|
+
annonceEchue = signal(false, ...ngDevMode ? [{ debugName: "annonceEchue" }] : /* istanbul ignore next */ []);
|
|
4723
|
+
copieLisible = computed(() => !this.sAnnonce() || this.annonceEchue(), ...ngDevMode ? [{ debugName: "copieLisible" }] : /* istanbul ignore next */ []);
|
|
4724
|
+
icone = computed(() => this.variante() === "retablie" ? "wifi" : "nuage-barre", ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
4696
4725
|
constructor() {
|
|
4697
4726
|
const minuterie = setTimeout(() => {
|
|
4698
4727
|
this.annonceEchue.set(true);
|
|
@@ -4703,7 +4732,7 @@ var StOfflineBanner = class StOfflineBanner {
|
|
|
4703
4732
|
}
|
|
4704
4733
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4705
4734
|
minVersion: "12.0.0",
|
|
4706
|
-
version: "22.2.
|
|
4735
|
+
version: "22.2.1",
|
|
4707
4736
|
ngImport: i0,
|
|
4708
4737
|
type: StOfflineBanner,
|
|
4709
4738
|
deps: [],
|
|
@@ -4711,7 +4740,7 @@ var StOfflineBanner = class StOfflineBanner {
|
|
|
4711
4740
|
});
|
|
4712
4741
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4713
4742
|
minVersion: "17.0.0",
|
|
4714
|
-
version: "22.2.
|
|
4743
|
+
version: "22.2.1",
|
|
4715
4744
|
type: StOfflineBanner,
|
|
4716
4745
|
isStandalone: true,
|
|
4717
4746
|
selector: "st-offline-banner",
|
|
@@ -4799,7 +4828,7 @@ var StOfflineBanner = class StOfflineBanner {
|
|
|
4799
4828
|
};
|
|
4800
4829
|
i0.ɵɵngDeclareClassMetadata({
|
|
4801
4830
|
minVersion: "12.0.0",
|
|
4802
|
-
version: "22.2.
|
|
4831
|
+
version: "22.2.1",
|
|
4803
4832
|
ngImport: i0,
|
|
4804
4833
|
type: StOfflineBanner,
|
|
4805
4834
|
decorators: [{
|
|
@@ -4867,16 +4896,16 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4867
4896
|
}
|
|
4868
4897
|
});
|
|
4869
4898
|
var StCard = class StCard {
|
|
4870
|
-
relief = input("pose", ...ngDevMode ? [{ debugName: "relief" }] :
|
|
4871
|
-
rembourrage = input("md", ...ngDevMode ? [{ debugName: "rembourrage" }] :
|
|
4899
|
+
relief = input("pose", ...ngDevMode ? [{ debugName: "relief" }] : /* istanbul ignore next */ []);
|
|
4900
|
+
rembourrage = input("md", ...ngDevMode ? [{ debugName: "rembourrage" }] : /* istanbul ignore next */ []);
|
|
4872
4901
|
filet = input(false, {
|
|
4873
|
-
...ngDevMode ? { debugName: "filet" } :
|
|
4902
|
+
...ngDevMode ? { debugName: "filet" } : /* istanbul ignore next */ {},
|
|
4874
4903
|
transform: booleanAttribute
|
|
4875
4904
|
});
|
|
4876
|
-
liensEtendus = signal(0, ...ngDevMode ? [{ debugName: "liensEtendus" }] :
|
|
4877
|
-
focalises = signal(0, ...ngDevMode ? [{ debugName: "focalises" }] :
|
|
4878
|
-
interactive = computed(() => this.liensEtendus() > 0, ...ngDevMode ? [{ debugName: "interactive" }] :
|
|
4879
|
-
lienFocalise = computed(() => this.focalises() > 0, ...ngDevMode ? [{ debugName: "lienFocalise" }] :
|
|
4905
|
+
liensEtendus = signal(0, ...ngDevMode ? [{ debugName: "liensEtendus" }] : /* istanbul ignore next */ []);
|
|
4906
|
+
focalises = signal(0, ...ngDevMode ? [{ debugName: "focalises" }] : /* istanbul ignore next */ []);
|
|
4907
|
+
interactive = computed(() => this.liensEtendus() > 0, ...ngDevMode ? [{ debugName: "interactive" }] : /* istanbul ignore next */ []);
|
|
4908
|
+
lienFocalise = computed(() => this.focalises() > 0, ...ngDevMode ? [{ debugName: "lienFocalise" }] : /* istanbul ignore next */ []);
|
|
4880
4909
|
inscrireUnLienEtendu() {
|
|
4881
4910
|
this.liensEtendus.update((n) => n + 1);
|
|
4882
4911
|
let focalise = false;
|
|
@@ -4898,7 +4927,7 @@ var StCard = class StCard {
|
|
|
4898
4927
|
}
|
|
4899
4928
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4900
4929
|
minVersion: "12.0.0",
|
|
4901
|
-
version: "22.2.
|
|
4930
|
+
version: "22.2.1",
|
|
4902
4931
|
ngImport: i0,
|
|
4903
4932
|
type: StCard,
|
|
4904
4933
|
deps: [],
|
|
@@ -4906,7 +4935,7 @@ var StCard = class StCard {
|
|
|
4906
4935
|
});
|
|
4907
4936
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4908
4937
|
minVersion: "17.1.0",
|
|
4909
|
-
version: "22.2.
|
|
4938
|
+
version: "22.2.1",
|
|
4910
4939
|
type: StCard,
|
|
4911
4940
|
isStandalone: true,
|
|
4912
4941
|
selector: "st-card",
|
|
@@ -4951,7 +4980,7 @@ var StCard = class StCard {
|
|
|
4951
4980
|
};
|
|
4952
4981
|
i0.ɵɵngDeclareClassMetadata({
|
|
4953
4982
|
minVersion: "12.0.0",
|
|
4954
|
-
version: "22.2.
|
|
4983
|
+
version: "22.2.1",
|
|
4955
4984
|
ngImport: i0,
|
|
4956
4985
|
type: StCard,
|
|
4957
4986
|
decorators: [{
|
|
@@ -5002,7 +5031,7 @@ var StLienEtendu = class StLienEtendu {
|
|
|
5002
5031
|
element = inject(ElementRef).nativeElement;
|
|
5003
5032
|
carte = inject(StCard, { optional: true });
|
|
5004
5033
|
inscription = hotePositionneParLeSocle(this.element) ? void 0 : this.carte?.inscrireUnLienEtendu();
|
|
5005
|
-
actif = signal(this.inscription !== void 0, ...ngDevMode ? [{ debugName: "actif" }] :
|
|
5034
|
+
actif = signal(this.inscription !== void 0, ...ngDevMode ? [{ debugName: "actif" }] : /* istanbul ignore next */ []);
|
|
5006
5035
|
verifie = false;
|
|
5007
5036
|
constructor() {
|
|
5008
5037
|
inject(DestroyRef).onDestroy(() => this.inscription?.retirer());
|
|
@@ -5032,7 +5061,7 @@ var StLienEtendu = class StLienEtendu {
|
|
|
5032
5061
|
}
|
|
5033
5062
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5034
5063
|
minVersion: "12.0.0",
|
|
5035
|
-
version: "22.2.
|
|
5064
|
+
version: "22.2.1",
|
|
5036
5065
|
ngImport: i0,
|
|
5037
5066
|
type: StLienEtendu,
|
|
5038
5067
|
deps: [],
|
|
@@ -5040,7 +5069,7 @@ var StLienEtendu = class StLienEtendu {
|
|
|
5040
5069
|
});
|
|
5041
5070
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
5042
5071
|
minVersion: "14.0.0",
|
|
5043
|
-
version: "22.2.
|
|
5072
|
+
version: "22.2.1",
|
|
5044
5073
|
type: StLienEtendu,
|
|
5045
5074
|
isStandalone: true,
|
|
5046
5075
|
selector: "a[stLienEtendu], button[stLienEtendu]",
|
|
@@ -5056,7 +5085,7 @@ var StLienEtendu = class StLienEtendu {
|
|
|
5056
5085
|
};
|
|
5057
5086
|
i0.ɵɵngDeclareClassMetadata({
|
|
5058
5087
|
minVersion: "12.0.0",
|
|
5059
|
-
version: "22.2.
|
|
5088
|
+
version: "22.2.1",
|
|
5060
5089
|
ngImport: i0,
|
|
5061
5090
|
type: StLienEtendu,
|
|
5062
5091
|
decorators: [{
|
|
@@ -5101,14 +5130,14 @@ function avertirDesControlesRecouverts(lien) {
|
|
|
5101
5130
|
}
|
|
5102
5131
|
}
|
|
5103
5132
|
var StPageTitle = class StPageTitle {
|
|
5104
|
-
precision = input(null, ...ngDevMode ? [{ debugName: "precision" }] :
|
|
5105
|
-
identifiant = input(null, ...ngDevMode ? [{ debugName: "identifiant" }] :
|
|
5106
|
-
niveau = input(1, ...ngDevMode ? [{ debugName: "niveau" }] :
|
|
5107
|
-
taille = input("3xl", ...ngDevMode ? [{ debugName: "taille" }] :
|
|
5133
|
+
precision = input(null, ...ngDevMode ? [{ debugName: "precision" }] : /* istanbul ignore next */ []);
|
|
5134
|
+
identifiant = input(null, ...ngDevMode ? [{ debugName: "identifiant" }] : /* istanbul ignore next */ []);
|
|
5135
|
+
niveau = input(1, ...ngDevMode ? [{ debugName: "niveau" }] : /* istanbul ignore next */ []);
|
|
5136
|
+
taille = input("3xl", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
5108
5137
|
identifiantDeLaPrecision = inject(StIdentifiants).prochain("st-precision");
|
|
5109
|
-
zoneDeLaPrecision = viewChild.required("zoneDeLaPrecision", ...ngDevMode ? [{ debugName: "zoneDeLaPrecision" }] :
|
|
5110
|
-
precisionProjetee = signal(false, ...ngDevMode ? [{ debugName: "precisionProjetee" }] :
|
|
5111
|
-
aUnePrecision = computed(() => this.precision() !== null || this.precisionProjetee(), ...ngDevMode ? [{ debugName: "aUnePrecision" }] :
|
|
5138
|
+
zoneDeLaPrecision = viewChild.required("zoneDeLaPrecision", ...ngDevMode ? [{ debugName: "zoneDeLaPrecision" }] : /* istanbul ignore next */ []);
|
|
5139
|
+
precisionProjetee = signal(false, ...ngDevMode ? [{ debugName: "precisionProjetee" }] : /* istanbul ignore next */ []);
|
|
5140
|
+
aUnePrecision = computed(() => this.precision() !== null || this.precisionProjetee(), ...ngDevMode ? [{ debugName: "aUnePrecision" }] : /* istanbul ignore next */ []);
|
|
5112
5141
|
constructor() {
|
|
5113
5142
|
afterEveryRender({ read: () => {
|
|
5114
5143
|
const projetee = this.zoneDeLaPrecision().nativeElement.querySelector(":scope > [precision]") !== null;
|
|
@@ -5125,7 +5154,7 @@ var StPageTitle = class StPageTitle {
|
|
|
5125
5154
|
}
|
|
5126
5155
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5127
5156
|
minVersion: "12.0.0",
|
|
5128
|
-
version: "22.2.
|
|
5157
|
+
version: "22.2.1",
|
|
5129
5158
|
ngImport: i0,
|
|
5130
5159
|
type: StPageTitle,
|
|
5131
5160
|
deps: [],
|
|
@@ -5133,7 +5162,7 @@ var StPageTitle = class StPageTitle {
|
|
|
5133
5162
|
});
|
|
5134
5163
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5135
5164
|
minVersion: "17.0.0",
|
|
5136
|
-
version: "22.2.
|
|
5165
|
+
version: "22.2.1",
|
|
5137
5166
|
type: StPageTitle,
|
|
5138
5167
|
isStandalone: true,
|
|
5139
5168
|
selector: "st-page-title",
|
|
@@ -5180,7 +5209,7 @@ var StPageTitle = class StPageTitle {
|
|
|
5180
5209
|
}],
|
|
5181
5210
|
ngImport: i0,
|
|
5182
5211
|
template: "<!-- Le texte du titre est projete UNE fois, dans un gabarit que la seule balise rendue instancie :\n une projection par branche de @switch ne recevrait le contenu que dans l'une d'elles. -->\n<ng-template #texteDuTitre><ng-content /></ng-template>\n<div class=\"st-page-title__ligne\">\n <div class=\"st-page-title__titraille\">\n <div class=\"st-page-title__rangee\">\n @switch (niveau()) {\n @case (1) {\n <h1\n class=\"st-page-title__titre\"\n [attr.id]=\"identifiant()\"\n [attr.aria-describedby]=\"aUnePrecision() ? identifiantDeLaPrecision : null\"\n >\n <ng-container [ngTemplateOutlet]=\"texteDuTitre\" />\n </h1>\n }\n @case (2) {\n <h2\n class=\"st-page-title__titre\"\n [attr.id]=\"identifiant()\"\n [attr.aria-describedby]=\"aUnePrecision() ? identifiantDeLaPrecision : null\"\n >\n <ng-container [ngTemplateOutlet]=\"texteDuTitre\" />\n </h2>\n }\n @case (3) {\n <h3\n class=\"st-page-title__titre\"\n [attr.id]=\"identifiant()\"\n [attr.aria-describedby]=\"aUnePrecision() ? identifiantDeLaPrecision : null\"\n >\n <ng-container [ngTemplateOutlet]=\"texteDuTitre\" />\n </h3>\n }\n @case (4) {\n <h4\n class=\"st-page-title__titre\"\n [attr.id]=\"identifiant()\"\n [attr.aria-describedby]=\"aUnePrecision() ? identifiantDeLaPrecision : null\"\n >\n <ng-container [ngTemplateOutlet]=\"texteDuTitre\" />\n </h4>\n }\n @case (5) {\n <h5\n class=\"st-page-title__titre\"\n [attr.id]=\"identifiant()\"\n [attr.aria-describedby]=\"aUnePrecision() ? identifiantDeLaPrecision : null\"\n >\n <ng-container [ngTemplateOutlet]=\"texteDuTitre\" />\n </h5>\n }\n @default {\n <h6\n class=\"st-page-title__titre\"\n [attr.id]=\"identifiant()\"\n [attr.aria-describedby]=\"aUnePrecision() ? identifiantDeLaPrecision : null\"\n >\n <ng-container [ngTemplateOutlet]=\"texteDuTitre\" />\n </h6>\n }\n }\n <!-- L'aide contextuelle (lot 280) : a cote du titre, HORS de lui ; son nom n'entre pas dans\n celui du titre, que le noyau lit a l'atterrissage. -->\n <ng-content select=\"[aide]\" />\n <ng-content select=\"[puces]\" />\n </div>\n <!-- Precision en texte (entree) ou riche, a codes (emplacement [precision]) : un seul\n paragraphe, relie au titre des qu'il porte quelque chose. -->\n <p\n #zoneDeLaPrecision\n class=\"st-page-title__precision\"\n [id]=\"identifiantDeLaPrecision\"\n [hidden]=\"!aUnePrecision()\"\n >\n @if (precision(); as texte) {\n <span>{{ texte }}</span>\n }\n <ng-content select=\"[precision]\" />\n </p>\n </div>\n <div class=\"st-page-title__actions\"><ng-content select=\"[actions]\" /></div>\n</div>\n",
|
|
5183
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:block;margin-block-end:var(--st-espacement-6)}.st-page-title__ligne{display:flex;flex-wrap:wrap;gap:var(--st-espacement-3);align-items:flex-start;justify-content:space-between}.st-page-title__titraille{display:flex;flex-direction:column;gap:var(--st-espacement-1);min-inline-size:0}.st-page-title__rangee{display:flex;flex-wrap:wrap;align-items:center;gap:var(--st-espacement-2)}.st-page-title__titre{margin:0;font-family:var(--st-police-base);color:var(--st-couleur-texte);font-size:var(--st-taille-2xl);line-height:var(--st-interligne-2xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-2xl);letter-spacing:var(--st-approche-4xl)}.st-page-title__titre:focus-visible{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:var(--st-focus-decalage);box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus)}.st-page-title__titre[data-focus-programme]:focus{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:var(--st-focus-decalage);box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus)}@media(min-width:48rem){:host([data-taille=\"3xl\"]) .st-page-title__titre{font-size:var(--st-taille-3xl);line-height:var(--st-interligne-3xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-3xl);letter-spacing:var(--st-approche-4xl)}}:host([data-taille=\"4xl\"]) .st-page-title__titre{font-size:var(--st-taille-3xl);line-height:var(--st-interligne-3xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-3xl);letter-spacing:var(--st-approche-4xl)}@media(min-width:48rem){:host([data-taille=\"4xl\"]) .st-page-title__titre{font-size:var(--st-taille-4xl);line-height:var(--st-interligne-4xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-4xl)}}:host([data-taille=xl]) .st-page-title__titre{font-size:var(--st-taille-xl);line-height:var(--st-interligne-xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-xl)}:host([data-taille=xl]) .st-page-title__titraille{gap:0}.st-page-title__precision{margin:0;font-size:var(--st-taille-md);line-height:var(--st-interligne-md);font-weight:var(--st-graisse-normale);letter-spacing:var(--st-interlettrage-normal);color:var(--st-couleur-texte-discret)}:host([data-taille=xl]) .st-page-title__precision{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-normale);letter-spacing:var(--st-interlettrage-normal)}.st-page-title__actions:empty{display:none}.st-page-title__actions{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2);align-items:center;margin-block:calc((var(--st-interligne-2xl) - var(--st-hauteur-commande-defaut)) / 2)}@media(min-width:48rem){:host([data-taille=\"3xl\"]) .st-page-title__actions{margin-block:calc((var(--st-interligne-3xl) - var(--st-hauteur-commande-defaut)) / 2)}}:host([data-taille=\"4xl\"]) .st-page-title__actions{margin-block:calc((var(--st-interligne-3xl) - var(--st-hauteur-commande-defaut)) / 2)}@media(min-width:48rem){:host([data-taille=\"4xl\"]) .st-page-title__actions{margin-block:calc((var(--st-interligne-4xl) - var(--st-hauteur-commande-defaut)) / 2)}}:host([data-taille=xl]) .st-page-title__actions{margin-block:calc((var(--st-interligne-xl) - var(--st-hauteur-commande-defaut)) / 2)}.st-page-title__actions{inline-size:100%}@media(min-width:30rem){.st-page-title__actions{inline-size:auto}}@media print{.st-page-title__actions{display:none}}:host([data-dans-en-tete]){margin-block-end:0}:host([data-dans-en-tete]) .st-page-title__ligne{flex-flow:column nowrap;gap:var(--st-espacement-4);align-items:stretch}@media(min-width:64rem){:host([data-dans-en-tete]) .st-page-title__ligne{flex-flow:row wrap;gap:var(--st-espacement-4) var(--st-espacement-6);align-items:center}}:host([data-dans-en-tete]) .st-page-title__titraille{flex:1 1 auto;max-inline-size:48rem}@media(min-width:64rem){:host([data-dans-en-tete]) .st-page-title__titraille{flex-basis:20rem}}:host([data-dans-en-tete]) .st-page-title__actions{flex:0 1 auto;inline-size:auto;margin-block:0}\n"],
|
|
5212
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:block;margin-block-end:var(--st-espacement-6)}.st-page-title__ligne{display:flex;flex-wrap:wrap;gap:var(--st-espacement-3);align-items:flex-start;justify-content:space-between}.st-page-title__titraille{display:flex;flex-direction:column;gap:var(--st-espacement-1);min-inline-size:0}.st-page-title__rangee{display:flex;flex-wrap:wrap;align-items:center;gap:var(--st-espacement-2)}.st-page-title__titre{margin:0;font-family:var(--st-police-base);color:var(--st-couleur-texte);font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-2xl);line-height:var(--st-interligne-2xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-2xl);letter-spacing:var(--st-approche-4xl)}.st-page-title__titre:focus-visible{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:var(--st-focus-decalage);box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus)}.st-page-title__titre[data-focus-programme]:focus{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:var(--st-focus-decalage);box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus)}@media(min-width:48rem){:host([data-taille=\"3xl\"]) .st-page-title__titre{font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-3xl);line-height:var(--st-interligne-3xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-3xl);letter-spacing:var(--st-approche-4xl)}}:host([data-taille=\"4xl\"]) .st-page-title__titre{font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-3xl);line-height:var(--st-interligne-3xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-3xl);letter-spacing:var(--st-approche-4xl)}@media(min-width:48rem){:host([data-taille=\"4xl\"]) .st-page-title__titre{font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-4xl);line-height:var(--st-interligne-4xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-4xl)}}:host([data-taille=xl]) .st-page-title__titre{font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-xl);line-height:var(--st-interligne-xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-xl)}:host([data-taille=xl]) .st-page-title__titraille{gap:0}.st-page-title__precision{margin:0;font-size:var(--st-taille-md);line-height:var(--st-interligne-md);font-weight:var(--st-graisse-normale);letter-spacing:var(--st-interlettrage-normal);color:var(--st-couleur-texte-discret)}:host([data-taille=xl]) .st-page-title__precision{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-normale);letter-spacing:var(--st-interlettrage-normal)}.st-page-title__actions:empty{display:none}.st-page-title__actions{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2);align-items:center;margin-block:calc((var(--st-interligne-2xl) - var(--st-hauteur-commande-defaut)) / 2)}@media(min-width:48rem){:host([data-taille=\"3xl\"]) .st-page-title__actions{margin-block:calc((var(--st-interligne-3xl) - var(--st-hauteur-commande-defaut)) / 2)}}:host([data-taille=\"4xl\"]) .st-page-title__actions{margin-block:calc((var(--st-interligne-3xl) - var(--st-hauteur-commande-defaut)) / 2)}@media(min-width:48rem){:host([data-taille=\"4xl\"]) .st-page-title__actions{margin-block:calc((var(--st-interligne-4xl) - var(--st-hauteur-commande-defaut)) / 2)}}:host([data-taille=xl]) .st-page-title__actions{margin-block:calc((var(--st-interligne-xl) - var(--st-hauteur-commande-defaut)) / 2)}.st-page-title__actions{inline-size:100%}@media(min-width:30rem){.st-page-title__actions{inline-size:auto}}@media print{.st-page-title__actions{display:none}}:host([data-dans-en-tete]){margin-block-end:0}:host([data-dans-en-tete]) .st-page-title__ligne{flex-flow:column nowrap;gap:var(--st-espacement-4);align-items:stretch}@media(min-width:64rem){:host([data-dans-en-tete]) .st-page-title__ligne{flex-flow:row wrap;gap:var(--st-espacement-4) var(--st-espacement-6);align-items:center}}:host([data-dans-en-tete]) .st-page-title__titraille{flex:1 1 auto;max-inline-size:48rem}@media(min-width:64rem){:host([data-dans-en-tete]) .st-page-title__titraille{flex-basis:20rem}}:host([data-dans-en-tete]) .st-page-title__actions{flex:0 1 auto;inline-size:auto;margin-block:0}\n"],
|
|
5184
5213
|
dependencies: [{
|
|
5185
5214
|
kind: "directive",
|
|
5186
5215
|
type: NgTemplateOutlet,
|
|
@@ -5196,7 +5225,7 @@ var StPageTitle = class StPageTitle {
|
|
|
5196
5225
|
};
|
|
5197
5226
|
i0.ɵɵngDeclareClassMetadata({
|
|
5198
5227
|
minVersion: "12.0.0",
|
|
5199
|
-
version: "22.2.
|
|
5228
|
+
version: "22.2.1",
|
|
5200
5229
|
ngImport: i0,
|
|
5201
5230
|
type: StPageTitle,
|
|
5202
5231
|
decorators: [{
|
|
@@ -5210,7 +5239,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5210
5239
|
"[attr.data-taille]": "taille()"
|
|
5211
5240
|
},
|
|
5212
5241
|
template: "<!-- Le texte du titre est projete UNE fois, dans un gabarit que la seule balise rendue instancie :\n une projection par branche de @switch ne recevrait le contenu que dans l'une d'elles. -->\n<ng-template #texteDuTitre><ng-content /></ng-template>\n<div class=\"st-page-title__ligne\">\n <div class=\"st-page-title__titraille\">\n <div class=\"st-page-title__rangee\">\n @switch (niveau()) {\n @case (1) {\n <h1\n class=\"st-page-title__titre\"\n [attr.id]=\"identifiant()\"\n [attr.aria-describedby]=\"aUnePrecision() ? identifiantDeLaPrecision : null\"\n >\n <ng-container [ngTemplateOutlet]=\"texteDuTitre\" />\n </h1>\n }\n @case (2) {\n <h2\n class=\"st-page-title__titre\"\n [attr.id]=\"identifiant()\"\n [attr.aria-describedby]=\"aUnePrecision() ? identifiantDeLaPrecision : null\"\n >\n <ng-container [ngTemplateOutlet]=\"texteDuTitre\" />\n </h2>\n }\n @case (3) {\n <h3\n class=\"st-page-title__titre\"\n [attr.id]=\"identifiant()\"\n [attr.aria-describedby]=\"aUnePrecision() ? identifiantDeLaPrecision : null\"\n >\n <ng-container [ngTemplateOutlet]=\"texteDuTitre\" />\n </h3>\n }\n @case (4) {\n <h4\n class=\"st-page-title__titre\"\n [attr.id]=\"identifiant()\"\n [attr.aria-describedby]=\"aUnePrecision() ? identifiantDeLaPrecision : null\"\n >\n <ng-container [ngTemplateOutlet]=\"texteDuTitre\" />\n </h4>\n }\n @case (5) {\n <h5\n class=\"st-page-title__titre\"\n [attr.id]=\"identifiant()\"\n [attr.aria-describedby]=\"aUnePrecision() ? identifiantDeLaPrecision : null\"\n >\n <ng-container [ngTemplateOutlet]=\"texteDuTitre\" />\n </h5>\n }\n @default {\n <h6\n class=\"st-page-title__titre\"\n [attr.id]=\"identifiant()\"\n [attr.aria-describedby]=\"aUnePrecision() ? identifiantDeLaPrecision : null\"\n >\n <ng-container [ngTemplateOutlet]=\"texteDuTitre\" />\n </h6>\n }\n }\n <!-- L'aide contextuelle (lot 280) : a cote du titre, HORS de lui ; son nom n'entre pas dans\n celui du titre, que le noyau lit a l'atterrissage. -->\n <ng-content select=\"[aide]\" />\n <ng-content select=\"[puces]\" />\n </div>\n <!-- Precision en texte (entree) ou riche, a codes (emplacement [precision]) : un seul\n paragraphe, relie au titre des qu'il porte quelque chose. -->\n <p\n #zoneDeLaPrecision\n class=\"st-page-title__precision\"\n [id]=\"identifiantDeLaPrecision\"\n [hidden]=\"!aUnePrecision()\"\n >\n @if (precision(); as texte) {\n <span>{{ texte }}</span>\n }\n <ng-content select=\"[precision]\" />\n </p>\n </div>\n <div class=\"st-page-title__actions\"><ng-content select=\"[actions]\" /></div>\n</div>\n",
|
|
5213
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:block;margin-block-end:var(--st-espacement-6)}.st-page-title__ligne{display:flex;flex-wrap:wrap;gap:var(--st-espacement-3);align-items:flex-start;justify-content:space-between}.st-page-title__titraille{display:flex;flex-direction:column;gap:var(--st-espacement-1);min-inline-size:0}.st-page-title__rangee{display:flex;flex-wrap:wrap;align-items:center;gap:var(--st-espacement-2)}.st-page-title__titre{margin:0;font-family:var(--st-police-base);color:var(--st-couleur-texte);font-size:var(--st-taille-2xl);line-height:var(--st-interligne-2xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-2xl);letter-spacing:var(--st-approche-4xl)}.st-page-title__titre:focus-visible{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:var(--st-focus-decalage);box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus)}.st-page-title__titre[data-focus-programme]:focus{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:var(--st-focus-decalage);box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus)}@media(min-width:48rem){:host([data-taille=\"3xl\"]) .st-page-title__titre{font-size:var(--st-taille-3xl);line-height:var(--st-interligne-3xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-3xl);letter-spacing:var(--st-approche-4xl)}}:host([data-taille=\"4xl\"]) .st-page-title__titre{font-size:var(--st-taille-3xl);line-height:var(--st-interligne-3xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-3xl);letter-spacing:var(--st-approche-4xl)}@media(min-width:48rem){:host([data-taille=\"4xl\"]) .st-page-title__titre{font-size:var(--st-taille-4xl);line-height:var(--st-interligne-4xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-4xl)}}:host([data-taille=xl]) .st-page-title__titre{font-size:var(--st-taille-xl);line-height:var(--st-interligne-xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-xl)}:host([data-taille=xl]) .st-page-title__titraille{gap:0}.st-page-title__precision{margin:0;font-size:var(--st-taille-md);line-height:var(--st-interligne-md);font-weight:var(--st-graisse-normale);letter-spacing:var(--st-interlettrage-normal);color:var(--st-couleur-texte-discret)}:host([data-taille=xl]) .st-page-title__precision{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-normale);letter-spacing:var(--st-interlettrage-normal)}.st-page-title__actions:empty{display:none}.st-page-title__actions{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2);align-items:center;margin-block:calc((var(--st-interligne-2xl) - var(--st-hauteur-commande-defaut)) / 2)}@media(min-width:48rem){:host([data-taille=\"3xl\"]) .st-page-title__actions{margin-block:calc((var(--st-interligne-3xl) - var(--st-hauteur-commande-defaut)) / 2)}}:host([data-taille=\"4xl\"]) .st-page-title__actions{margin-block:calc((var(--st-interligne-3xl) - var(--st-hauteur-commande-defaut)) / 2)}@media(min-width:48rem){:host([data-taille=\"4xl\"]) .st-page-title__actions{margin-block:calc((var(--st-interligne-4xl) - var(--st-hauteur-commande-defaut)) / 2)}}:host([data-taille=xl]) .st-page-title__actions{margin-block:calc((var(--st-interligne-xl) - var(--st-hauteur-commande-defaut)) / 2)}.st-page-title__actions{inline-size:100%}@media(min-width:30rem){.st-page-title__actions{inline-size:auto}}@media print{.st-page-title__actions{display:none}}:host([data-dans-en-tete]){margin-block-end:0}:host([data-dans-en-tete]) .st-page-title__ligne{flex-flow:column nowrap;gap:var(--st-espacement-4);align-items:stretch}@media(min-width:64rem){:host([data-dans-en-tete]) .st-page-title__ligne{flex-flow:row wrap;gap:var(--st-espacement-4) var(--st-espacement-6);align-items:center}}:host([data-dans-en-tete]) .st-page-title__titraille{flex:1 1 auto;max-inline-size:48rem}@media(min-width:64rem){:host([data-dans-en-tete]) .st-page-title__titraille{flex-basis:20rem}}:host([data-dans-en-tete]) .st-page-title__actions{flex:0 1 auto;inline-size:auto;margin-block:0}\n"]
|
|
5242
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:block;margin-block-end:var(--st-espacement-6)}.st-page-title__ligne{display:flex;flex-wrap:wrap;gap:var(--st-espacement-3);align-items:flex-start;justify-content:space-between}.st-page-title__titraille{display:flex;flex-direction:column;gap:var(--st-espacement-1);min-inline-size:0}.st-page-title__rangee{display:flex;flex-wrap:wrap;align-items:center;gap:var(--st-espacement-2)}.st-page-title__titre{margin:0;font-family:var(--st-police-base);color:var(--st-couleur-texte);font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-2xl);line-height:var(--st-interligne-2xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-2xl);letter-spacing:var(--st-approche-4xl)}.st-page-title__titre:focus-visible{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:var(--st-focus-decalage);box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus)}.st-page-title__titre[data-focus-programme]:focus{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:var(--st-focus-decalage);box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus)}@media(min-width:48rem){:host([data-taille=\"3xl\"]) .st-page-title__titre{font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-3xl);line-height:var(--st-interligne-3xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-3xl);letter-spacing:var(--st-approche-4xl)}}:host([data-taille=\"4xl\"]) .st-page-title__titre{font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-3xl);line-height:var(--st-interligne-3xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-3xl);letter-spacing:var(--st-approche-4xl)}@media(min-width:48rem){:host([data-taille=\"4xl\"]) .st-page-title__titre{font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-4xl);line-height:var(--st-interligne-4xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-4xl)}}:host([data-taille=xl]) .st-page-title__titre{font-family:var(--st-police-titre, var(--st-police-base));font-size:var(--st-taille-xl);line-height:var(--st-interligne-xl);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-approche-xl)}:host([data-taille=xl]) .st-page-title__titraille{gap:0}.st-page-title__precision{margin:0;font-size:var(--st-taille-md);line-height:var(--st-interligne-md);font-weight:var(--st-graisse-normale);letter-spacing:var(--st-interlettrage-normal);color:var(--st-couleur-texte-discret)}:host([data-taille=xl]) .st-page-title__precision{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-normale);letter-spacing:var(--st-interlettrage-normal)}.st-page-title__actions:empty{display:none}.st-page-title__actions{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2);align-items:center;margin-block:calc((var(--st-interligne-2xl) - var(--st-hauteur-commande-defaut)) / 2)}@media(min-width:48rem){:host([data-taille=\"3xl\"]) .st-page-title__actions{margin-block:calc((var(--st-interligne-3xl) - var(--st-hauteur-commande-defaut)) / 2)}}:host([data-taille=\"4xl\"]) .st-page-title__actions{margin-block:calc((var(--st-interligne-3xl) - var(--st-hauteur-commande-defaut)) / 2)}@media(min-width:48rem){:host([data-taille=\"4xl\"]) .st-page-title__actions{margin-block:calc((var(--st-interligne-4xl) - var(--st-hauteur-commande-defaut)) / 2)}}:host([data-taille=xl]) .st-page-title__actions{margin-block:calc((var(--st-interligne-xl) - var(--st-hauteur-commande-defaut)) / 2)}.st-page-title__actions{inline-size:100%}@media(min-width:30rem){.st-page-title__actions{inline-size:auto}}@media print{.st-page-title__actions{display:none}}:host([data-dans-en-tete]){margin-block-end:0}:host([data-dans-en-tete]) .st-page-title__ligne{flex-flow:column nowrap;gap:var(--st-espacement-4);align-items:stretch}@media(min-width:64rem){:host([data-dans-en-tete]) .st-page-title__ligne{flex-flow:row wrap;gap:var(--st-espacement-4) var(--st-espacement-6);align-items:center}}:host([data-dans-en-tete]) .st-page-title__titraille{flex:1 1 auto;max-inline-size:48rem}@media(min-width:64rem){:host([data-dans-en-tete]) .st-page-title__titraille{flex-basis:20rem}}:host([data-dans-en-tete]) .st-page-title__actions{flex:0 1 auto;inline-size:auto;margin-block:0}\n"]
|
|
5214
5243
|
}]
|
|
5215
5244
|
}],
|
|
5216
5245
|
ctorParameters: () => [],
|
|
@@ -5256,23 +5285,23 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5256
5285
|
var StBreadcrumb = class StBreadcrumb {
|
|
5257
5286
|
affichable = sansCommandesDeDirection;
|
|
5258
5287
|
libelles = inject(ST_LIBELLES);
|
|
5259
|
-
maillons = input.required(...ngDevMode ? [{ debugName: "maillons" }] :
|
|
5260
|
-
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] :
|
|
5261
|
-
separateur = input("chevron", ...ngDevMode ? [{ debugName: "separateur" }] :
|
|
5262
|
-
forme = input("complete", ...ngDevMode ? [{ debugName: "forme" }] :
|
|
5288
|
+
maillons = input.required(...ngDevMode ? [{ debugName: "maillons" }] : /* istanbul ignore next */ []);
|
|
5289
|
+
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
5290
|
+
separateur = input("chevron", ...ngDevMode ? [{ debugName: "separateur" }] : /* istanbul ignore next */ []);
|
|
5291
|
+
forme = input("complete", ...ngDevMode ? [{ debugName: "forme" }] : /* istanbul ignore next */ []);
|
|
5263
5292
|
repli = input(true, {
|
|
5264
|
-
...ngDevMode ? { debugName: "repli" } :
|
|
5293
|
+
...ngDevMode ? { debugName: "repli" } : /* istanbul ignore next */ {},
|
|
5265
5294
|
transform: booleanAttribute
|
|
5266
5295
|
});
|
|
5267
|
-
iconeDeTete = input(null, ...ngDevMode ? [{ debugName: "iconeDeTete" }] :
|
|
5268
|
-
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().filDAriane, ...ngDevMode ? [{ debugName: "etiquetteLue" }] :
|
|
5269
|
-
derniereIndice = computed(() => this.maillons().length - 1, ...ngDevMode ? [{ debugName: "derniereIndice" }] :
|
|
5296
|
+
iconeDeTete = input(null, ...ngDevMode ? [{ debugName: "iconeDeTete" }] : /* istanbul ignore next */ []);
|
|
5297
|
+
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().filDAriane, ...ngDevMode ? [{ debugName: "etiquetteLue" }] : /* istanbul ignore next */ []);
|
|
5298
|
+
derniereIndice = computed(() => this.maillons().length - 1, ...ngDevMode ? [{ debugName: "derniereIndice" }] : /* istanbul ignore next */ []);
|
|
5270
5299
|
indiceDuParent = computed(() => {
|
|
5271
5300
|
const maillons = this.maillons();
|
|
5272
5301
|
for (let indice = maillons.length - 2; indice >= 0; indice--) if (maillons[indice]?.lien !== void 0) return indice;
|
|
5273
5302
|
return -1;
|
|
5274
|
-
}, ...ngDevMode ? [{ debugName: "indiceDuParent" }] :
|
|
5275
|
-
tailleDeLIcone = computed(() => this.forme() === "compacte" ? "16" : "18", ...ngDevMode ? [{ debugName: "tailleDeLIcone" }] :
|
|
5303
|
+
}, ...ngDevMode ? [{ debugName: "indiceDuParent" }] : /* istanbul ignore next */ []);
|
|
5304
|
+
tailleDeLIcone = computed(() => this.forme() === "compacte" ? "16" : "18", ...ngDevMode ? [{ debugName: "tailleDeLIcone" }] : /* istanbul ignore next */ []);
|
|
5276
5305
|
constructor() {
|
|
5277
5306
|
if (isDevMode()) effect(() => {
|
|
5278
5307
|
const vides = this.maillons().filter((maillon) => maillon.libelle.trim() === "");
|
|
@@ -5281,7 +5310,7 @@ var StBreadcrumb = class StBreadcrumb {
|
|
|
5281
5310
|
}
|
|
5282
5311
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5283
5312
|
minVersion: "12.0.0",
|
|
5284
|
-
version: "22.2.
|
|
5313
|
+
version: "22.2.1",
|
|
5285
5314
|
ngImport: i0,
|
|
5286
5315
|
type: StBreadcrumb,
|
|
5287
5316
|
deps: [],
|
|
@@ -5289,7 +5318,7 @@ var StBreadcrumb = class StBreadcrumb {
|
|
|
5289
5318
|
});
|
|
5290
5319
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5291
5320
|
minVersion: "17.0.0",
|
|
5292
|
-
version: "22.2.
|
|
5321
|
+
version: "22.2.1",
|
|
5293
5322
|
type: StBreadcrumb,
|
|
5294
5323
|
isStandalone: true,
|
|
5295
5324
|
selector: "st-breadcrumb",
|
|
@@ -5386,7 +5415,7 @@ var StBreadcrumb = class StBreadcrumb {
|
|
|
5386
5415
|
};
|
|
5387
5416
|
i0.ɵɵngDeclareClassMetadata({
|
|
5388
5417
|
minVersion: "12.0.0",
|
|
5389
|
-
version: "22.2.
|
|
5418
|
+
version: "22.2.1",
|
|
5390
5419
|
ngImport: i0,
|
|
5391
5420
|
type: StBreadcrumb,
|
|
5392
5421
|
decorators: [{
|
|
@@ -5460,15 +5489,27 @@ const IDENTIFIANT_DU_CONTENU_PRINCIPAL = "contenu-principal";
|
|
|
5460
5489
|
var StSkipLink = class StSkipLink {
|
|
5461
5490
|
document = inject(DOCUMENT);
|
|
5462
5491
|
libelles = inject(ST_LIBELLES);
|
|
5463
|
-
cible = input(IDENTIFIANT_DU_CONTENU_PRINCIPAL, ...ngDevMode ? [{ debugName: "cible" }] :
|
|
5464
|
-
libelle = input(null, ...ngDevMode ? [{ debugName: "libelle" }] :
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5492
|
+
cible = input(IDENTIFIANT_DU_CONTENU_PRINCIPAL, ...ngDevMode ? [{ debugName: "cible" }] : /* istanbul ignore next */ []);
|
|
5493
|
+
libelle = input(null, ...ngDevMode ? [{ debugName: "libelle" }] : /* istanbul ignore next */ []);
|
|
5494
|
+
secondeCible = input(null, ...ngDevMode ? [{ debugName: "secondeCible" }] : /* istanbul ignore next */ []);
|
|
5495
|
+
secondeEnPremier = input(false, {
|
|
5496
|
+
...ngDevMode ? { debugName: "secondeEnPremier" } : /* istanbul ignore next */ {},
|
|
5497
|
+
transform: booleanAttribute
|
|
5498
|
+
});
|
|
5499
|
+
liens = computed(() => {
|
|
5500
|
+
const contenu = {
|
|
5501
|
+
cible: this.cible(),
|
|
5502
|
+
libelle: this.libelle() ?? this.libelles().allerAuContenu
|
|
5503
|
+
};
|
|
5504
|
+
const seconde = this.secondeCible();
|
|
5505
|
+
if (seconde === null) return [contenu];
|
|
5506
|
+
return this.secondeEnPremier() ? [seconde, contenu] : [contenu, seconde];
|
|
5507
|
+
}, ...ngDevMode ? [{ debugName: "liens" }] : /* istanbul ignore next */ []);
|
|
5508
|
+
aller(evenement, identifiant) {
|
|
5509
|
+
const cible = this.document.getElementById(identifiant);
|
|
5469
5510
|
if (cible === null) return;
|
|
5470
5511
|
evenement.preventDefault();
|
|
5471
|
-
if (!cible.hasAttribute("tabindex")) {
|
|
5512
|
+
if (cible.tabIndex < 0 && !cible.hasAttribute("tabindex")) {
|
|
5472
5513
|
cible.setAttribute("tabindex", "-1");
|
|
5473
5514
|
cible.addEventListener("blur", () => {
|
|
5474
5515
|
cible.removeAttribute("tabindex");
|
|
@@ -5478,15 +5519,15 @@ var StSkipLink = class StSkipLink {
|
|
|
5478
5519
|
}
|
|
5479
5520
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5480
5521
|
minVersion: "12.0.0",
|
|
5481
|
-
version: "22.2.
|
|
5522
|
+
version: "22.2.1",
|
|
5482
5523
|
ngImport: i0,
|
|
5483
5524
|
type: StSkipLink,
|
|
5484
5525
|
deps: [],
|
|
5485
5526
|
target: i0.ɵɵFactoryTarget.Component
|
|
5486
5527
|
});
|
|
5487
5528
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5488
|
-
minVersion: "17.
|
|
5489
|
-
version: "22.2.
|
|
5529
|
+
minVersion: "17.0.0",
|
|
5530
|
+
version: "22.2.1",
|
|
5490
5531
|
type: StSkipLink,
|
|
5491
5532
|
isStandalone: true,
|
|
5492
5533
|
selector: "st-skip-link",
|
|
@@ -5504,18 +5545,32 @@ var StSkipLink = class StSkipLink {
|
|
|
5504
5545
|
isSignal: true,
|
|
5505
5546
|
isRequired: false,
|
|
5506
5547
|
transformFunction: null
|
|
5548
|
+
},
|
|
5549
|
+
secondeCible: {
|
|
5550
|
+
classPropertyName: "secondeCible",
|
|
5551
|
+
publicName: "secondeCible",
|
|
5552
|
+
isSignal: true,
|
|
5553
|
+
isRequired: false,
|
|
5554
|
+
transformFunction: null
|
|
5555
|
+
},
|
|
5556
|
+
secondeEnPremier: {
|
|
5557
|
+
classPropertyName: "secondeEnPremier",
|
|
5558
|
+
publicName: "secondeEnPremier",
|
|
5559
|
+
isSignal: true,
|
|
5560
|
+
isRequired: false,
|
|
5561
|
+
transformFunction: null
|
|
5507
5562
|
}
|
|
5508
5563
|
},
|
|
5509
5564
|
host: { classAttribute: "st-skip-link" },
|
|
5510
5565
|
ngImport: i0,
|
|
5511
|
-
template: "<a
|
|
5512
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host(:focus-within){position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal;position:fixed;inset-block-start:var(--st-espacement-2);inset-inline-start:var(--st-espacement-2);z-index:var(--st-plan-evitement);display:flex;gap:var(--st-espacement-1);align-items:center;min-block-size:var(--st-hauteur-commande-defaut);padding-inline:var(--st-espacement-4);font-family:var(--st-police-base);color:var(--st-couleur-sur-primaire);white-space:nowrap;background:var(--st-couleur-primaire);border-radius:var(--st-rayon-md);outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:var(--st-focus-decalage);box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus),var(--st-ombre-survol);font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-interlettrage-normal)}.st-skip-link__lien{color:inherit;text-decoration:none;outline:none}.st-skip-link__lien:after{position:absolute;inset:0;content:\"\"}@media(forced-colors:active){:host(:focus-within){color:LinkText;background:Canvas;border:var(--st-epaisseur-fine) solid CanvasText}}@media print{:host{display:none}}\n"],
|
|
5566
|
+
template: "@for (lien of liens(); track $index) {\n <a\n class=\"st-skip-link__lien\"\n [attr.href]=\"'#' + lien.cible\"\n (click)=\"aller($event, lien.cible)\"\n >{{ lien.libelle }}</a\n >\n}\n",
|
|
5567
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host(:focus-within){position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal;position:fixed;inset-block-start:var(--st-espacement-2);inset-inline-start:var(--st-espacement-2);z-index:var(--st-plan-evitement);display:flex;gap:var(--st-espacement-1);align-items:center;min-block-size:var(--st-hauteur-commande-defaut);padding-inline:var(--st-espacement-4);font-family:var(--st-police-base);color:var(--st-couleur-sur-primaire);white-space:nowrap;background:var(--st-couleur-primaire);border-radius:var(--st-rayon-md);outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:var(--st-focus-decalage);box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus),var(--st-ombre-survol);font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-interlettrage-normal)}:host(:focus-within) .st-skip-link__lien:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.st-skip-link__lien{color:inherit;text-decoration:none;outline:none}.st-skip-link__lien:after{position:absolute;inset:0;content:\"\"}@media(forced-colors:active){:host(:focus-within){color:LinkText;background:Canvas;border:var(--st-epaisseur-fine) solid CanvasText}}@media print{:host{display:none}}\n"],
|
|
5513
5568
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
5514
5569
|
});
|
|
5515
5570
|
};
|
|
5516
5571
|
i0.ɵɵngDeclareClassMetadata({
|
|
5517
5572
|
minVersion: "12.0.0",
|
|
5518
|
-
version: "22.2.
|
|
5573
|
+
version: "22.2.1",
|
|
5519
5574
|
ngImport: i0,
|
|
5520
5575
|
type: StSkipLink,
|
|
5521
5576
|
decorators: [{
|
|
@@ -5524,8 +5579,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5524
5579
|
selector: "st-skip-link",
|
|
5525
5580
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5526
5581
|
host: { class: "st-skip-link" },
|
|
5527
|
-
template: "<a
|
|
5528
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host(:focus-within){position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal;position:fixed;inset-block-start:var(--st-espacement-2);inset-inline-start:var(--st-espacement-2);z-index:var(--st-plan-evitement);display:flex;gap:var(--st-espacement-1);align-items:center;min-block-size:var(--st-hauteur-commande-defaut);padding-inline:var(--st-espacement-4);font-family:var(--st-police-base);color:var(--st-couleur-sur-primaire);white-space:nowrap;background:var(--st-couleur-primaire);border-radius:var(--st-rayon-md);outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:var(--st-focus-decalage);box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus),var(--st-ombre-survol);font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-interlettrage-normal)}.st-skip-link__lien{color:inherit;text-decoration:none;outline:none}.st-skip-link__lien:after{position:absolute;inset:0;content:\"\"}@media(forced-colors:active){:host(:focus-within){color:LinkText;background:Canvas;border:var(--st-epaisseur-fine) solid CanvasText}}@media print{:host{display:none}}\n"]
|
|
5582
|
+
template: "@for (lien of liens(); track $index) {\n <a\n class=\"st-skip-link__lien\"\n [attr.href]=\"'#' + lien.cible\"\n (click)=\"aller($event, lien.cible)\"\n >{{ lien.libelle }}</a\n >\n}\n",
|
|
5583
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host(:focus-within){position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal;position:fixed;inset-block-start:var(--st-espacement-2);inset-inline-start:var(--st-espacement-2);z-index:var(--st-plan-evitement);display:flex;gap:var(--st-espacement-1);align-items:center;min-block-size:var(--st-hauteur-commande-defaut);padding-inline:var(--st-espacement-4);font-family:var(--st-police-base);color:var(--st-couleur-sur-primaire);white-space:nowrap;background:var(--st-couleur-primaire);border-radius:var(--st-rayon-md);outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:var(--st-focus-decalage);box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus),var(--st-ombre-survol);font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-semi);letter-spacing:var(--st-interlettrage-normal)}:host(:focus-within) .st-skip-link__lien:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.st-skip-link__lien{color:inherit;text-decoration:none;outline:none}.st-skip-link__lien:after{position:absolute;inset:0;content:\"\"}@media(forced-colors:active){:host(:focus-within){color:LinkText;background:Canvas;border:var(--st-epaisseur-fine) solid CanvasText}}@media print{:host{display:none}}\n"]
|
|
5529
5584
|
}]
|
|
5530
5585
|
}],
|
|
5531
5586
|
propDecorators: {
|
|
@@ -5544,146 +5599,582 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5544
5599
|
alias: "libelle",
|
|
5545
5600
|
required: false
|
|
5546
5601
|
}]
|
|
5602
|
+
}],
|
|
5603
|
+
secondeCible: [{
|
|
5604
|
+
type: i0.Input,
|
|
5605
|
+
args: [{
|
|
5606
|
+
isSignal: true,
|
|
5607
|
+
alias: "secondeCible",
|
|
5608
|
+
required: false
|
|
5609
|
+
}]
|
|
5610
|
+
}],
|
|
5611
|
+
secondeEnPremier: [{
|
|
5612
|
+
type: i0.Input,
|
|
5613
|
+
args: [{
|
|
5614
|
+
isSignal: true,
|
|
5615
|
+
alias: "secondeEnPremier",
|
|
5616
|
+
required: false
|
|
5617
|
+
}]
|
|
5547
5618
|
}]
|
|
5548
5619
|
}
|
|
5549
5620
|
});
|
|
5550
|
-
const
|
|
5551
|
-
const
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5621
|
+
const HORS_TABULATION = ":not([tabindex^=\"-\"])";
|
|
5622
|
+
const FOCALISABLES = [
|
|
5623
|
+
"a[href]",
|
|
5624
|
+
"button:not([disabled])",
|
|
5625
|
+
"input:not([disabled]):not([type=\"hidden\"])",
|
|
5626
|
+
"select:not([disabled])",
|
|
5627
|
+
"textarea:not([disabled])",
|
|
5628
|
+
"summary",
|
|
5629
|
+
"[tabindex]",
|
|
5630
|
+
"[contenteditable=\"\"]",
|
|
5631
|
+
"[contenteditable=\"true\"]"
|
|
5632
|
+
].map((selecteur) => selecteur + HORS_TABULATION).join(", ");
|
|
5633
|
+
const BORNES = "dialog[open], [role=\"dialog\"], [role=\"alertdialog\"], [aria-modal=\"true\"]";
|
|
5634
|
+
const PRECEDE = 2;
|
|
5635
|
+
const SUIT = 4;
|
|
5636
|
+
function estFocalisable(element) {
|
|
5637
|
+
if (element.closest("[inert], [aria-hidden=\"true\"], fieldset[disabled]") !== null) return false;
|
|
5638
|
+
const details = element.closest("details:not([open])");
|
|
5639
|
+
if (details !== null && element.closest("summary")?.parentElement !== details) return false;
|
|
5640
|
+
if (typeof element.checkVisibility === "function") return element.checkVisibility({ visibilityProperty: true });
|
|
5641
|
+
const vue = element.ownerDocument.defaultView;
|
|
5642
|
+
if (vue === null) return false;
|
|
5643
|
+
if (vue.getComputedStyle(element).visibility === "hidden") return false;
|
|
5644
|
+
for (let e = element; e !== null; e = e.parentElement) if (e.hidden || vue.getComputedStyle(e).display === "none") return false;
|
|
5645
|
+
return true;
|
|
5646
|
+
}
|
|
5647
|
+
function estUnRadio(element) {
|
|
5648
|
+
return element.tagName === "INPUT" && element.type === "radio";
|
|
5649
|
+
}
|
|
5650
|
+
function estArretDeRadio(radio, candidats) {
|
|
5651
|
+
if (radio.name === "") return true;
|
|
5652
|
+
const groupe = candidats.filter((c) => estUnRadio(c) && c.name === radio.name && c.form === radio.form);
|
|
5653
|
+
const coche = groupe.find((c) => c.checked);
|
|
5654
|
+
return coche !== void 0 ? coche === radio : groupe[0] === radio;
|
|
5655
|
+
}
|
|
5656
|
+
function deplacerLeFocusAuVoisin(depart) {
|
|
5657
|
+
const focalisables = [...(depart.closest(BORNES) ?? depart.ownerDocument).querySelectorAll(FOCALISABLES)].filter((candidat) => !depart.contains(candidat) && estFocalisable(candidat));
|
|
5658
|
+
const candidats = focalisables.filter((c) => !estUnRadio(c) || estArretDeRadio(c, focalisables));
|
|
5659
|
+
const suivants = candidats.filter((c) => (depart.compareDocumentPosition(c) & SUIT) !== 0);
|
|
5660
|
+
const precedents = candidats.filter((c) => (depart.compareDocumentPosition(c) & PRECEDE) !== 0).reverse();
|
|
5661
|
+
for (const candidat of [...suivants, ...precedents]) {
|
|
5662
|
+
candidat.focus();
|
|
5663
|
+
if (depart.ownerDocument.activeElement === candidat) return candidat;
|
|
5574
5664
|
}
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
if (
|
|
5579
|
-
const entete = this.entete().nativeElement;
|
|
5580
|
-
this.observateur = new Observateur((entrees) => {
|
|
5581
|
-
for (const entree of entrees) this.hauteurs.set(entree.target, entree.borderBoxSize[0]?.blockSize ?? entree.target.getBoundingClientRect().height);
|
|
5582
|
-
this.poserLesHauteurs(entete);
|
|
5583
|
-
});
|
|
5584
|
-
this.observateur.observe(entete);
|
|
5585
|
-
this.suivreLesBannieresCollees();
|
|
5586
|
-
const Surveillant = fenetre?.MutationObserver;
|
|
5587
|
-
if (Surveillant === void 0) return;
|
|
5588
|
-
this.surveillant = new Surveillant(() => {
|
|
5589
|
-
this.suivreLesBannieresCollees();
|
|
5590
|
-
this.poserLesHauteurs(entete);
|
|
5591
|
-
});
|
|
5592
|
-
this.surveillant.observe(this.bannieres().nativeElement, {
|
|
5593
|
-
childList: true,
|
|
5594
|
-
subtree: true,
|
|
5595
|
-
attributes: true,
|
|
5596
|
-
attributeFilter: ["data-collee"]
|
|
5597
|
-
});
|
|
5665
|
+
const parent = depart.parentElement;
|
|
5666
|
+
if (parent?.hasAttribute("tabindex") === true) {
|
|
5667
|
+
parent.focus();
|
|
5668
|
+
if (depart.ownerDocument.activeElement === parent) return parent;
|
|
5598
5669
|
}
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5670
|
+
return null;
|
|
5671
|
+
}
|
|
5672
|
+
var StBanner = class StBanner {
|
|
5673
|
+
element = inject(ElementRef);
|
|
5674
|
+
regionParente = inject(REGION_VIVANTE_PARENTE, {
|
|
5675
|
+
optional: true,
|
|
5676
|
+
skipSelf: true
|
|
5677
|
+
});
|
|
5678
|
+
libelles = inject(ST_LIBELLES);
|
|
5679
|
+
idEngendre = inject(StIdentifiants).prochain("st-banniere-titre");
|
|
5680
|
+
ton = input("neutre", ...ngDevMode ? [{ debugName: "ton" }] : /* istanbul ignore next */ []);
|
|
5681
|
+
message = input.required(...ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []);
|
|
5682
|
+
titre = input(null, ...ngDevMode ? [{ debugName: "titre" }] : /* istanbul ignore next */ []);
|
|
5683
|
+
forme = input("bloc", ...ngDevMode ? [{ debugName: "forme" }] : /* istanbul ignore next */ []);
|
|
5684
|
+
identifiant = input(null, ...ngDevMode ? [{ debugName: "identifiant" }] : /* istanbul ignore next */ []);
|
|
5685
|
+
fermable = input(false, {
|
|
5686
|
+
...ngDevMode ? { debugName: "fermable" } : /* istanbul ignore next */ {},
|
|
5687
|
+
transform: booleanAttribute
|
|
5688
|
+
});
|
|
5689
|
+
libelleFermeture = input(null, ...ngDevMode ? [{ debugName: "libelleFermeture" }] : /* istanbul ignore next */ []);
|
|
5690
|
+
ferme = output();
|
|
5691
|
+
icone = computed(() => ICONES_DE_TON[this.ton()], ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
5692
|
+
idDuTitre = computed(() => this.identifiant() ?? this.idEngendre, ...ngDevMode ? [{ debugName: "idDuTitre" }] : /* istanbul ignore next */ []);
|
|
5693
|
+
prefixe = computed(() => {
|
|
5694
|
+
const ton = this.ton();
|
|
5695
|
+
return ton === "essai" ? null : prefixeDeTon(ton, this.libelles());
|
|
5696
|
+
}, ...ngDevMode ? [{ debugName: "prefixe" }] : /* istanbul ignore next */ []);
|
|
5697
|
+
fermableLu = computed(() => this.fermable() && this.ton() !== "essai", ...ngDevMode ? [{ debugName: "fermableLu" }] : /* istanbul ignore next */ []);
|
|
5698
|
+
libelleFermetureLu = computed(() => this.libelleFermeture() ?? this.libelles().fermerLeMessage, ...ngDevMode ? [{ debugName: "libelleFermetureLu" }] : /* istanbul ignore next */ []);
|
|
5699
|
+
roleLu = computed(() => {
|
|
5700
|
+
if (this.regionParente !== null) return null;
|
|
5701
|
+
const ton = this.ton();
|
|
5702
|
+
return ton === "erreur" || ton === "danger" ? "alert" : "status";
|
|
5703
|
+
}, ...ngDevMode ? [{ debugName: "roleLu" }] : /* istanbul ignore next */ []);
|
|
5704
|
+
constructor() {
|
|
5705
|
+
let averti = false;
|
|
5706
|
+
effect(() => {
|
|
5707
|
+
if (!isDevMode() || averti || this.ton() !== "essai" || this.titre() !== null) return;
|
|
5708
|
+
averti = true;
|
|
5709
|
+
console.warn("[st-banner] ton essai sans titre : le mot de l environnement (\"Donnees fictives\") manque.");
|
|
5710
|
+
});
|
|
5612
5711
|
}
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
const px = (valeur) => `${Math.ceil(valeur).toString()}px`;
|
|
5617
|
-
this.hote.nativeElement.style.setProperty(PROPRIETE_HAUTEUR_ENTETE_SEUL, px(this.hauteurs.get(entete) ?? 0));
|
|
5618
|
-
this.document.documentElement.style.setProperty(PROPRIETE_HAUTEUR_ENTETE, px(bloc));
|
|
5712
|
+
fermer() {
|
|
5713
|
+
deplacerLeFocusAuVoisin(this.element.nativeElement);
|
|
5714
|
+
this.ferme.emit();
|
|
5619
5715
|
}
|
|
5620
5716
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5621
5717
|
minVersion: "12.0.0",
|
|
5622
|
-
version: "22.2.
|
|
5718
|
+
version: "22.2.1",
|
|
5623
5719
|
ngImport: i0,
|
|
5624
|
-
type:
|
|
5720
|
+
type: StBanner,
|
|
5625
5721
|
deps: [],
|
|
5626
5722
|
target: i0.ɵɵFactoryTarget.Component
|
|
5627
5723
|
});
|
|
5628
5724
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5629
|
-
minVersion: "17.
|
|
5630
|
-
version: "22.2.
|
|
5631
|
-
type:
|
|
5725
|
+
minVersion: "17.0.0",
|
|
5726
|
+
version: "22.2.1",
|
|
5727
|
+
type: StBanner,
|
|
5632
5728
|
isStandalone: true,
|
|
5633
|
-
selector: "st-
|
|
5634
|
-
inputs: {
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5729
|
+
selector: "st-banner",
|
|
5730
|
+
inputs: {
|
|
5731
|
+
ton: {
|
|
5732
|
+
classPropertyName: "ton",
|
|
5733
|
+
publicName: "ton",
|
|
5734
|
+
isSignal: true,
|
|
5735
|
+
isRequired: false,
|
|
5736
|
+
transformFunction: null
|
|
5737
|
+
},
|
|
5738
|
+
message: {
|
|
5739
|
+
classPropertyName: "message",
|
|
5740
|
+
publicName: "message",
|
|
5741
|
+
isSignal: true,
|
|
5742
|
+
isRequired: true,
|
|
5743
|
+
transformFunction: null
|
|
5744
|
+
},
|
|
5745
|
+
titre: {
|
|
5746
|
+
classPropertyName: "titre",
|
|
5747
|
+
publicName: "titre",
|
|
5748
|
+
isSignal: true,
|
|
5749
|
+
isRequired: false,
|
|
5750
|
+
transformFunction: null
|
|
5751
|
+
},
|
|
5752
|
+
forme: {
|
|
5753
|
+
classPropertyName: "forme",
|
|
5754
|
+
publicName: "forme",
|
|
5755
|
+
isSignal: true,
|
|
5756
|
+
isRequired: false,
|
|
5757
|
+
transformFunction: null
|
|
5758
|
+
},
|
|
5759
|
+
identifiant: {
|
|
5760
|
+
classPropertyName: "identifiant",
|
|
5761
|
+
publicName: "identifiant",
|
|
5762
|
+
isSignal: true,
|
|
5763
|
+
isRequired: false,
|
|
5764
|
+
transformFunction: null
|
|
5765
|
+
},
|
|
5766
|
+
fermable: {
|
|
5767
|
+
classPropertyName: "fermable",
|
|
5768
|
+
publicName: "fermable",
|
|
5769
|
+
isSignal: true,
|
|
5770
|
+
isRequired: false,
|
|
5771
|
+
transformFunction: null
|
|
5772
|
+
},
|
|
5773
|
+
libelleFermeture: {
|
|
5774
|
+
classPropertyName: "libelleFermeture",
|
|
5775
|
+
publicName: "libelleFermeture",
|
|
5776
|
+
isSignal: true,
|
|
5777
|
+
isRequired: false,
|
|
5778
|
+
transformFunction: null
|
|
5779
|
+
}
|
|
5780
|
+
},
|
|
5781
|
+
outputs: { ferme: "ferme" },
|
|
5641
5782
|
host: {
|
|
5642
|
-
properties: {
|
|
5643
|
-
|
|
5783
|
+
properties: {
|
|
5784
|
+
"attr.data-ton": "ton()",
|
|
5785
|
+
"attr.data-forme": "forme()",
|
|
5786
|
+
"attr.role": "roleLu()",
|
|
5787
|
+
"attr.aria-labelledby": "roleLu() !== null && titre() !== null ? idDuTitre() : null"
|
|
5788
|
+
},
|
|
5789
|
+
classAttribute: "st-banner"
|
|
5644
5790
|
},
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
predicate: ["entete"],
|
|
5649
|
-
descendants: true,
|
|
5650
|
-
isSignal: true
|
|
5651
|
-
}, {
|
|
5652
|
-
propertyName: "bannieres",
|
|
5653
|
-
first: true,
|
|
5654
|
-
predicate: ["bannieres"],
|
|
5655
|
-
descendants: true,
|
|
5656
|
-
isSignal: true
|
|
5791
|
+
providers: [{
|
|
5792
|
+
provide: REGION_VIVANTE_PARENTE,
|
|
5793
|
+
useValue: true
|
|
5657
5794
|
}],
|
|
5658
5795
|
ngImport: i0,
|
|
5659
|
-
template: "<
|
|
5660
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;
|
|
5796
|
+
template: "<span class=\"st-banner__icone\">\n <st-icon [nom]=\"icone()\" variante=\"plein\" taille=\"20\" />\n</span>\n<div class=\"st-banner__corps\">\n @if (titre() !== null) {\n <p class=\"st-banner__titre\" [id]=\"idDuTitre()\">\n @if (prefixe() !== null) {\n <span class=\"st-prefixe-de-ton\">{{ prefixe() }}</span>\n }\n {{ titre() }}\n </p>\n }\n <p class=\"st-banner__message\">\n @if (titre() === null && prefixe() !== null) {\n <span class=\"st-prefixe-de-ton st-banner__prefixe\">{{ prefixe() }}</span>\n }\n {{ message() }}\n </p>\n <div class=\"st-banner__projete\"><ng-content /></div>\n</div>\n@if (fermableLu()) {\n <button\n stIconButton\n class=\"st-banner__fermer\"\n type=\"button\"\n icone=\"croix\"\n taille=\"xs\"\n [etiquette]=\"libelleFermetureLu()\"\n (click)=\"fermer()\"\n ></button>\n}\n",
|
|
5797
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;gap:var(--st-espacement-3);align-items:flex-start;padding:var(--st-espacement-3) var(--st-espacement-4);font-size:var(--st-taille-md);line-height:var(--st-interligne-md);color:var(--st-couleur-texte);background:var(--st-couleur-surface-enfoncee);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);border-radius:var(--st-rayon-md)}:host([data-forme=bandeau]){border-width:0 0 var(--st-epaisseur-capillaire);border-radius:var(--st-rayon-none)}.st-banner__icone{display:inline-flex;flex:none;align-items:center;block-size:var(--st-interligne-md);color:var(--st-couleur-texte-discret)}.st-banner__corps{flex:1 1 auto;min-inline-size:0}.st-banner__titre{margin:0 0 var(--st-espacement-1);font-weight:var(--st-graisse-semi)}.st-banner__message{margin:0}.st-banner__projete{margin-block-start:var(--st-espacement-2)}.st-banner__projete:empty{display:none}.st-banner__fermer{flex:none;margin-block:calc((var(--st-interligne-md) - var(--st-hauteur-commande-sm)) / 2)}:host([data-ton=information]){color:var(--st-couleur-sur-information-discret);background:var(--st-couleur-information-discret);border-color:transparent;border-inline-start:var(--st-epaisseur-forte) solid var(--st-couleur-information)}:host([data-ton=information]) .st-banner__icone{color:var(--st-couleur-information)}:host([data-ton=succes]){color:var(--st-couleur-sur-succes-discret);background:var(--st-couleur-succes-discret);border-color:transparent;border-inline-start:var(--st-epaisseur-forte) solid var(--st-couleur-succes)}:host([data-ton=succes]) .st-banner__icone{color:var(--st-couleur-succes)}:host([data-ton=avertissement]){color:var(--st-couleur-sur-avertissement-discret);background:var(--st-couleur-avertissement-discret);border-color:transparent;border-inline-start:var(--st-epaisseur-forte) solid var(--st-couleur-avertissement)}:host([data-ton=avertissement]) .st-banner__icone{color:var(--st-couleur-avertissement)}:host([data-ton=erreur]){color:var(--st-couleur-sur-erreur-discret);background:var(--st-couleur-erreur-discret);border-color:transparent;border-inline-start:var(--st-epaisseur-forte) solid var(--st-couleur-erreur)}:host([data-ton=erreur]) .st-banner__icone{color:var(--st-couleur-erreur)}:host([data-ton=danger]){color:var(--st-couleur-sur-danger-discret);background:var(--st-couleur-danger-discret);border-color:transparent;border-inline-start:var(--st-epaisseur-forte) solid var(--st-couleur-danger)}:host([data-ton=danger]) .st-banner__icone{color:var(--st-couleur-danger)}:host([data-ton=essai]){color:var(--st-couleur-sur-essai-discret);background:var(--st-couleur-essai-discret);border-color:transparent;border-inline-start:var(--st-epaisseur-forte) solid var(--st-couleur-essai)}:host([data-ton=essai]) .st-banner__icone{color:var(--st-couleur-essai)}.st-banner__prefixe{font-weight:var(--st-graisse-semi)}:host([data-forme=bandeau]:not([data-ton=neutre])){border-block-end:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}@media(forced-colors:active){:host{border-color:CanvasText}}@media print{:host{color:var(--st-couleur-texte);background:var(--st-couleur-surface)}.st-banner__fermer{display:none}}\n"],
|
|
5661
5798
|
dependencies: [{
|
|
5662
5799
|
kind: "component",
|
|
5663
|
-
type:
|
|
5664
|
-
selector: "st-
|
|
5665
|
-
inputs: [
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5800
|
+
type: StIcon,
|
|
5801
|
+
selector: "st-icon",
|
|
5802
|
+
inputs: [
|
|
5803
|
+
"icone",
|
|
5804
|
+
"nom",
|
|
5805
|
+
"variante",
|
|
5806
|
+
"sprite",
|
|
5807
|
+
"nomMetier",
|
|
5808
|
+
"taille",
|
|
5809
|
+
"ton",
|
|
5810
|
+
"etiquette",
|
|
5811
|
+
"miroir"
|
|
5812
|
+
]
|
|
5813
|
+
}, {
|
|
5814
|
+
kind: "component",
|
|
5815
|
+
type: StIconButton,
|
|
5816
|
+
selector: "button[stIconButton]",
|
|
5817
|
+
inputs: [
|
|
5818
|
+
"icone",
|
|
5819
|
+
"etiquette",
|
|
5820
|
+
"variante",
|
|
5821
|
+
"taille",
|
|
5822
|
+
"tailleDuGlyphe",
|
|
5823
|
+
"enfonce",
|
|
5824
|
+
"iconeEnfoncee",
|
|
5825
|
+
"chargement",
|
|
5826
|
+
"indisponible",
|
|
5827
|
+
"raisonIndisponible"
|
|
5828
|
+
]
|
|
5829
|
+
}],
|
|
5830
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
5831
|
+
});
|
|
5832
|
+
};
|
|
5833
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
5834
|
+
minVersion: "12.0.0",
|
|
5835
|
+
version: "22.2.1",
|
|
5836
|
+
ngImport: i0,
|
|
5837
|
+
type: StBanner,
|
|
5838
|
+
decorators: [{
|
|
5839
|
+
type: Component,
|
|
5840
|
+
args: [{
|
|
5841
|
+
selector: "st-banner",
|
|
5842
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5843
|
+
imports: [StIcon, StIconButton],
|
|
5844
|
+
providers: [{
|
|
5845
|
+
provide: REGION_VIVANTE_PARENTE,
|
|
5846
|
+
useValue: true
|
|
5847
|
+
}],
|
|
5848
|
+
host: {
|
|
5849
|
+
class: "st-banner",
|
|
5850
|
+
"[attr.data-ton]": "ton()",
|
|
5851
|
+
"[attr.data-forme]": "forme()",
|
|
5852
|
+
"[attr.role]": "roleLu()",
|
|
5853
|
+
"[attr.aria-labelledby]": "roleLu() !== null && titre() !== null ? idDuTitre() : null"
|
|
5854
|
+
},
|
|
5855
|
+
template: "<span class=\"st-banner__icone\">\n <st-icon [nom]=\"icone()\" variante=\"plein\" taille=\"20\" />\n</span>\n<div class=\"st-banner__corps\">\n @if (titre() !== null) {\n <p class=\"st-banner__titre\" [id]=\"idDuTitre()\">\n @if (prefixe() !== null) {\n <span class=\"st-prefixe-de-ton\">{{ prefixe() }}</span>\n }\n {{ titre() }}\n </p>\n }\n <p class=\"st-banner__message\">\n @if (titre() === null && prefixe() !== null) {\n <span class=\"st-prefixe-de-ton st-banner__prefixe\">{{ prefixe() }}</span>\n }\n {{ message() }}\n </p>\n <div class=\"st-banner__projete\"><ng-content /></div>\n</div>\n@if (fermableLu()) {\n <button\n stIconButton\n class=\"st-banner__fermer\"\n type=\"button\"\n icone=\"croix\"\n taille=\"xs\"\n [etiquette]=\"libelleFermetureLu()\"\n (click)=\"fermer()\"\n ></button>\n}\n",
|
|
5856
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;gap:var(--st-espacement-3);align-items:flex-start;padding:var(--st-espacement-3) var(--st-espacement-4);font-size:var(--st-taille-md);line-height:var(--st-interligne-md);color:var(--st-couleur-texte);background:var(--st-couleur-surface-enfoncee);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);border-radius:var(--st-rayon-md)}:host([data-forme=bandeau]){border-width:0 0 var(--st-epaisseur-capillaire);border-radius:var(--st-rayon-none)}.st-banner__icone{display:inline-flex;flex:none;align-items:center;block-size:var(--st-interligne-md);color:var(--st-couleur-texte-discret)}.st-banner__corps{flex:1 1 auto;min-inline-size:0}.st-banner__titre{margin:0 0 var(--st-espacement-1);font-weight:var(--st-graisse-semi)}.st-banner__message{margin:0}.st-banner__projete{margin-block-start:var(--st-espacement-2)}.st-banner__projete:empty{display:none}.st-banner__fermer{flex:none;margin-block:calc((var(--st-interligne-md) - var(--st-hauteur-commande-sm)) / 2)}:host([data-ton=information]){color:var(--st-couleur-sur-information-discret);background:var(--st-couleur-information-discret);border-color:transparent;border-inline-start:var(--st-epaisseur-forte) solid var(--st-couleur-information)}:host([data-ton=information]) .st-banner__icone{color:var(--st-couleur-information)}:host([data-ton=succes]){color:var(--st-couleur-sur-succes-discret);background:var(--st-couleur-succes-discret);border-color:transparent;border-inline-start:var(--st-epaisseur-forte) solid var(--st-couleur-succes)}:host([data-ton=succes]) .st-banner__icone{color:var(--st-couleur-succes)}:host([data-ton=avertissement]){color:var(--st-couleur-sur-avertissement-discret);background:var(--st-couleur-avertissement-discret);border-color:transparent;border-inline-start:var(--st-epaisseur-forte) solid var(--st-couleur-avertissement)}:host([data-ton=avertissement]) .st-banner__icone{color:var(--st-couleur-avertissement)}:host([data-ton=erreur]){color:var(--st-couleur-sur-erreur-discret);background:var(--st-couleur-erreur-discret);border-color:transparent;border-inline-start:var(--st-epaisseur-forte) solid var(--st-couleur-erreur)}:host([data-ton=erreur]) .st-banner__icone{color:var(--st-couleur-erreur)}:host([data-ton=danger]){color:var(--st-couleur-sur-danger-discret);background:var(--st-couleur-danger-discret);border-color:transparent;border-inline-start:var(--st-epaisseur-forte) solid var(--st-couleur-danger)}:host([data-ton=danger]) .st-banner__icone{color:var(--st-couleur-danger)}:host([data-ton=essai]){color:var(--st-couleur-sur-essai-discret);background:var(--st-couleur-essai-discret);border-color:transparent;border-inline-start:var(--st-epaisseur-forte) solid var(--st-couleur-essai)}:host([data-ton=essai]) .st-banner__icone{color:var(--st-couleur-essai)}.st-banner__prefixe{font-weight:var(--st-graisse-semi)}:host([data-forme=bandeau]:not([data-ton=neutre])){border-block-end:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}@media(forced-colors:active){:host{border-color:CanvasText}}@media print{:host{color:var(--st-couleur-texte);background:var(--st-couleur-surface)}.st-banner__fermer{display:none}}\n"]
|
|
5857
|
+
}]
|
|
5858
|
+
}],
|
|
5859
|
+
ctorParameters: () => [],
|
|
5860
|
+
propDecorators: {
|
|
5861
|
+
ton: [{
|
|
5862
|
+
type: i0.Input,
|
|
5863
|
+
args: [{
|
|
5864
|
+
isSignal: true,
|
|
5865
|
+
alias: "ton",
|
|
5866
|
+
required: false
|
|
5867
|
+
}]
|
|
5868
|
+
}],
|
|
5869
|
+
message: [{
|
|
5870
|
+
type: i0.Input,
|
|
5871
|
+
args: [{
|
|
5872
|
+
isSignal: true,
|
|
5873
|
+
alias: "message",
|
|
5874
|
+
required: true
|
|
5875
|
+
}]
|
|
5876
|
+
}],
|
|
5877
|
+
titre: [{
|
|
5878
|
+
type: i0.Input,
|
|
5879
|
+
args: [{
|
|
5880
|
+
isSignal: true,
|
|
5881
|
+
alias: "titre",
|
|
5882
|
+
required: false
|
|
5883
|
+
}]
|
|
5884
|
+
}],
|
|
5885
|
+
forme: [{
|
|
5886
|
+
type: i0.Input,
|
|
5887
|
+
args: [{
|
|
5888
|
+
isSignal: true,
|
|
5889
|
+
alias: "forme",
|
|
5890
|
+
required: false
|
|
5891
|
+
}]
|
|
5892
|
+
}],
|
|
5893
|
+
identifiant: [{
|
|
5894
|
+
type: i0.Input,
|
|
5895
|
+
args: [{
|
|
5896
|
+
isSignal: true,
|
|
5897
|
+
alias: "identifiant",
|
|
5898
|
+
required: false
|
|
5899
|
+
}]
|
|
5900
|
+
}],
|
|
5901
|
+
fermable: [{
|
|
5902
|
+
type: i0.Input,
|
|
5903
|
+
args: [{
|
|
5904
|
+
isSignal: true,
|
|
5905
|
+
alias: "fermable",
|
|
5906
|
+
required: false
|
|
5907
|
+
}]
|
|
5908
|
+
}],
|
|
5909
|
+
libelleFermeture: [{
|
|
5910
|
+
type: i0.Input,
|
|
5911
|
+
args: [{
|
|
5912
|
+
isSignal: true,
|
|
5913
|
+
alias: "libelleFermeture",
|
|
5914
|
+
required: false
|
|
5915
|
+
}]
|
|
5916
|
+
}],
|
|
5917
|
+
ferme: [{
|
|
5918
|
+
type: i0.Output,
|
|
5919
|
+
args: ["ferme"]
|
|
5920
|
+
}]
|
|
5921
|
+
}
|
|
5922
|
+
});
|
|
5923
|
+
const PROPRIETE_HAUTEUR_ENTETE = "--st-hauteur-entete";
|
|
5924
|
+
const PROPRIETE_HAUTEUR_ENTETE_SEUL = "--st-coquille-hauteur-entete";
|
|
5925
|
+
const PROPRIETE_HAUTEUR_ACTION = "--st-hauteur-action";
|
|
5926
|
+
const ATTRIBUT_D_ENVIRONNEMENT = "data-environnement";
|
|
5927
|
+
var StAppShell = class StAppShell {
|
|
5928
|
+
variante = input("standard", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
5929
|
+
titreDEssai = input(null, ...ngDevMode ? [{ debugName: "titreDEssai" }] : /* istanbul ignore next */ []);
|
|
5930
|
+
messageDEssai = input(null, ...ngDevMode ? [{ debugName: "messageDEssai" }] : /* istanbul ignore next */ []);
|
|
5931
|
+
lienVersLAction = input(null, ...ngDevMode ? [{ debugName: "lienVersLAction" }] : /* istanbul ignore next */ []);
|
|
5932
|
+
lienVersLActionEnPremier = input(false, {
|
|
5933
|
+
...ngDevMode ? { debugName: "lienVersLActionEnPremier" } : /* istanbul ignore next */ {},
|
|
5934
|
+
transform: booleanAttribute
|
|
5935
|
+
});
|
|
5936
|
+
document = inject(DOCUMENT);
|
|
5937
|
+
hote = inject(ElementRef);
|
|
5938
|
+
entete = viewChild.required("entete", ...ngDevMode ? [{ debugName: "entete" }] : /* istanbul ignore next */ []);
|
|
5939
|
+
bannieres = viewChild.required("bannieres", ...ngDevMode ? [{ debugName: "bannieres" }] : /* istanbul ignore next */ []);
|
|
5940
|
+
action = viewChild.required("action", ...ngDevMode ? [{ debugName: "action" }] : /* istanbul ignore next */ []);
|
|
5941
|
+
observateur = null;
|
|
5942
|
+
observateurDAction = null;
|
|
5943
|
+
surveillant = null;
|
|
5944
|
+
hauteurs = /* @__PURE__ */ new Map();
|
|
5945
|
+
identifiantDuContenu = IDENTIFIANT_DU_CONTENU_PRINCIPAL;
|
|
5946
|
+
libelles = inject(ST_LIBELLES);
|
|
5947
|
+
annonce = new AnnonceLocale(inject(DestroyRef));
|
|
5948
|
+
enEssai = computed(() => this.variante() === "essai", ...ngDevMode ? [{ debugName: "enEssai" }] : /* istanbul ignore next */ []);
|
|
5949
|
+
titreDEssaiLu = computed(() => this.titreDEssai() ?? this.libelles().environnementDEssai, ...ngDevMode ? [{ debugName: "titreDEssaiLu" }] : /* istanbul ignore next */ []);
|
|
5950
|
+
messageDEssaiLu = computed(() => this.messageDEssai() ?? this.libelles().environnementDEssaiMessage, ...ngDevMode ? [{ debugName: "messageDEssaiLu" }] : /* istanbul ignore next */ []);
|
|
5951
|
+
constructor() {
|
|
5952
|
+
afterNextRender(() => {
|
|
5953
|
+
this.mesurerLeBlocCollant();
|
|
5954
|
+
this.mesurerLActionFlottante();
|
|
5955
|
+
});
|
|
5956
|
+
let precedente = null;
|
|
5957
|
+
afterRenderEffect({ write: () => {
|
|
5958
|
+
const variante = this.variante();
|
|
5959
|
+
if (variante === precedente) return;
|
|
5960
|
+
const racine = this.document.documentElement;
|
|
5961
|
+
untracked(() => {
|
|
5962
|
+
if (variante === "essai") {
|
|
5963
|
+
racine.setAttribute(ATTRIBUT_D_ENVIRONNEMENT, "essai");
|
|
5964
|
+
this.annonce.annoncer(`${this.libelles().libelleDeChamp(this.titreDEssaiLu())} ${this.messageDEssaiLu()}`);
|
|
5965
|
+
} else if (precedente === "essai") {
|
|
5966
|
+
racine.removeAttribute(ATTRIBUT_D_ENVIRONNEMENT);
|
|
5967
|
+
this.annonce.annoncer(this.libelles().finDeLEnvironnementDEssai(this.titreDEssaiLu()));
|
|
5968
|
+
}
|
|
5969
|
+
});
|
|
5970
|
+
precedente = variante;
|
|
5971
|
+
} });
|
|
5972
|
+
inject(DestroyRef).onDestroy(() => {
|
|
5973
|
+
if (precedente === "essai") this.document.documentElement.removeAttribute(ATTRIBUT_D_ENVIRONNEMENT);
|
|
5974
|
+
this.observateur?.disconnect();
|
|
5975
|
+
this.observateur = null;
|
|
5976
|
+
this.surveillant?.disconnect();
|
|
5977
|
+
this.surveillant = null;
|
|
5978
|
+
this.observateurDAction?.disconnect();
|
|
5979
|
+
this.observateurDAction = null;
|
|
5980
|
+
this.hauteurs.clear();
|
|
5981
|
+
const style = this.document.documentElement.style;
|
|
5982
|
+
style.removeProperty(PROPRIETE_HAUTEUR_ENTETE);
|
|
5983
|
+
style.removeProperty(PROPRIETE_HAUTEUR_ACTION);
|
|
5984
|
+
});
|
|
5985
|
+
}
|
|
5986
|
+
mesurerLActionFlottante() {
|
|
5987
|
+
const fenetre = this.document.defaultView;
|
|
5988
|
+
const Observateur = fenetre?.ResizeObserver;
|
|
5989
|
+
if (fenetre === null || Observateur === void 0) return;
|
|
5990
|
+
const action = this.action().nativeElement;
|
|
5991
|
+
const style = this.document.documentElement.style;
|
|
5992
|
+
this.observateurDAction = new Observateur(([entree]) => {
|
|
5993
|
+
const hauteur = entree?.borderBoxSize[0]?.blockSize ?? action.getBoundingClientRect().height;
|
|
5994
|
+
if (hauteur > 0 && fenetre.getComputedStyle(action).position === "fixed") style.setProperty(PROPRIETE_HAUTEUR_ACTION, `${Math.ceil(hauteur).toString()}px`);
|
|
5995
|
+
else style.removeProperty(PROPRIETE_HAUTEUR_ACTION);
|
|
5996
|
+
});
|
|
5997
|
+
this.observateurDAction.observe(action);
|
|
5998
|
+
}
|
|
5999
|
+
mesurerLeBlocCollant() {
|
|
6000
|
+
const fenetre = this.document.defaultView;
|
|
6001
|
+
const Observateur = fenetre?.ResizeObserver;
|
|
6002
|
+
if (Observateur === void 0) return;
|
|
6003
|
+
const entete = this.entete().nativeElement;
|
|
6004
|
+
this.observateur = new Observateur((entrees) => {
|
|
6005
|
+
for (const entree of entrees) this.hauteurs.set(entree.target, entree.borderBoxSize[0]?.blockSize ?? entree.target.getBoundingClientRect().height);
|
|
6006
|
+
this.poserLesHauteurs(entete);
|
|
6007
|
+
});
|
|
6008
|
+
this.observateur.observe(entete);
|
|
6009
|
+
this.suivreLesBannieresCollees();
|
|
6010
|
+
const Surveillant = fenetre?.MutationObserver;
|
|
6011
|
+
if (Surveillant === void 0) return;
|
|
6012
|
+
this.surveillant = new Surveillant(() => {
|
|
6013
|
+
this.suivreLesBannieresCollees();
|
|
6014
|
+
this.poserLesHauteurs(entete);
|
|
6015
|
+
});
|
|
6016
|
+
this.surveillant.observe(this.bannieres().nativeElement, {
|
|
6017
|
+
childList: true,
|
|
6018
|
+
subtree: true,
|
|
6019
|
+
attributes: true,
|
|
6020
|
+
attributeFilter: ["data-collee"]
|
|
6021
|
+
});
|
|
6022
|
+
}
|
|
6023
|
+
suivreLesBannieresCollees() {
|
|
6024
|
+
const observateur = this.observateur;
|
|
6025
|
+
if (observateur === null) return;
|
|
6026
|
+
const entete = this.entete().nativeElement;
|
|
6027
|
+
const collees = new Set(this.bannieres().nativeElement.querySelectorAll("[data-collee]"));
|
|
6028
|
+
for (const element of [...this.hauteurs.keys()]) if (element !== entete && !collees.has(element)) {
|
|
6029
|
+
observateur.unobserve(element);
|
|
6030
|
+
this.hauteurs.delete(element);
|
|
6031
|
+
}
|
|
6032
|
+
for (const element of collees) if (!this.hauteurs.has(element)) {
|
|
6033
|
+
this.hauteurs.set(element, 0);
|
|
6034
|
+
observateur.observe(element);
|
|
6035
|
+
}
|
|
6036
|
+
}
|
|
6037
|
+
poserLesHauteurs(entete) {
|
|
6038
|
+
let bloc = 0;
|
|
6039
|
+
for (const hauteur of this.hauteurs.values()) bloc += hauteur;
|
|
6040
|
+
const px = (valeur) => `${Math.ceil(valeur).toString()}px`;
|
|
6041
|
+
this.hote.nativeElement.style.setProperty(PROPRIETE_HAUTEUR_ENTETE_SEUL, px(this.hauteurs.get(entete) ?? 0));
|
|
6042
|
+
this.document.documentElement.style.setProperty(PROPRIETE_HAUTEUR_ENTETE, px(bloc));
|
|
6043
|
+
}
|
|
6044
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
6045
|
+
minVersion: "12.0.0",
|
|
6046
|
+
version: "22.2.1",
|
|
6047
|
+
ngImport: i0,
|
|
6048
|
+
type: StAppShell,
|
|
6049
|
+
deps: [],
|
|
6050
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
6051
|
+
});
|
|
6052
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
6053
|
+
minVersion: "17.0.0",
|
|
6054
|
+
version: "22.2.1",
|
|
6055
|
+
type: StAppShell,
|
|
6056
|
+
isStandalone: true,
|
|
6057
|
+
selector: "st-app-shell",
|
|
6058
|
+
inputs: {
|
|
6059
|
+
variante: {
|
|
6060
|
+
classPropertyName: "variante",
|
|
6061
|
+
publicName: "variante",
|
|
6062
|
+
isSignal: true,
|
|
6063
|
+
isRequired: false,
|
|
6064
|
+
transformFunction: null
|
|
6065
|
+
},
|
|
6066
|
+
titreDEssai: {
|
|
6067
|
+
classPropertyName: "titreDEssai",
|
|
6068
|
+
publicName: "titreDEssai",
|
|
6069
|
+
isSignal: true,
|
|
6070
|
+
isRequired: false,
|
|
6071
|
+
transformFunction: null
|
|
6072
|
+
},
|
|
6073
|
+
messageDEssai: {
|
|
6074
|
+
classPropertyName: "messageDEssai",
|
|
6075
|
+
publicName: "messageDEssai",
|
|
6076
|
+
isSignal: true,
|
|
6077
|
+
isRequired: false,
|
|
6078
|
+
transformFunction: null
|
|
6079
|
+
},
|
|
6080
|
+
lienVersLAction: {
|
|
6081
|
+
classPropertyName: "lienVersLAction",
|
|
6082
|
+
publicName: "lienVersLAction",
|
|
6083
|
+
isSignal: true,
|
|
6084
|
+
isRequired: false,
|
|
6085
|
+
transformFunction: null
|
|
6086
|
+
},
|
|
6087
|
+
lienVersLActionEnPremier: {
|
|
6088
|
+
classPropertyName: "lienVersLActionEnPremier",
|
|
6089
|
+
publicName: "lienVersLActionEnPremier",
|
|
6090
|
+
isSignal: true,
|
|
6091
|
+
isRequired: false,
|
|
6092
|
+
transformFunction: null
|
|
6093
|
+
}
|
|
6094
|
+
},
|
|
6095
|
+
host: {
|
|
6096
|
+
properties: { "attr.data-variante": "variante()" },
|
|
6097
|
+
classAttribute: "st-app-shell"
|
|
6098
|
+
},
|
|
6099
|
+
viewQueries: [
|
|
6100
|
+
{
|
|
6101
|
+
propertyName: "entete",
|
|
6102
|
+
first: true,
|
|
6103
|
+
predicate: ["entete"],
|
|
6104
|
+
descendants: true,
|
|
6105
|
+
isSignal: true
|
|
6106
|
+
},
|
|
6107
|
+
{
|
|
6108
|
+
propertyName: "bannieres",
|
|
6109
|
+
first: true,
|
|
6110
|
+
predicate: ["bannieres"],
|
|
6111
|
+
descendants: true,
|
|
6112
|
+
isSignal: true
|
|
6113
|
+
},
|
|
6114
|
+
{
|
|
6115
|
+
propertyName: "action",
|
|
6116
|
+
first: true,
|
|
6117
|
+
predicate: ["action"],
|
|
6118
|
+
descendants: true,
|
|
6119
|
+
isSignal: true
|
|
6120
|
+
}
|
|
6121
|
+
],
|
|
6122
|
+
ngImport: i0,
|
|
6123
|
+
template: "<st-skip-link\n [cible]=\"identifiantDuContenu\"\n [secondeCible]=\"lienVersLAction()\"\n [secondeEnPremier]=\"lienVersLActionEnPremier()\"\n/>\n\n<header #entete class=\"st-app-shell__entete\">\n <!-- L'action critique permanente (P08-06) : premier arret apres le lien d'evitement, jamais\n repliee ; au bout de l'en-tete des md, flottante au-dessus de la barre inferieure dessous. -->\n <div #action class=\"st-app-shell__action-permanente\">\n <ng-content select=\"[actionPermanente]\" />\n </div>\n <ng-content select=\"[entete]\" />\n <ng-content select=\"st-route-progress\" />\n</header>\n\n<div #bannieres class=\"st-app-shell__bannieres\">\n <!-- Environnement d'essai : en tete des bannieres, et jamais fermee. -->\n @if (enEssai()) {\n <st-banner\n class=\"st-app-shell__essai\"\n ton=\"essai\"\n forme=\"bandeau\"\n [titre]=\"titreDEssaiLu()\"\n [message]=\"messageDEssaiLu()\"\n />\n }\n <ng-content select=\"[bannieres]\" />\n</div>\n\n<div class=\"st-app-shell__corps\">\n <div class=\"st-app-shell__navigation\">\n <ng-content select=\"[navigation]\" />\n </div>\n\n <main class=\"st-app-shell__contenu\" [id]=\"identifiantDuContenu\">\n <div class=\"st-app-shell__page\">\n <ng-content />\n </div>\n </main>\n</div>\n\n<footer class=\"st-app-shell__pied\">\n <ng-content select=\"[pied]\" />\n</footer>\n\n<!-- La barre de navigation inferieure (P08-05) : fixee au bas de la fenetre sous md, apres le\n contenu dans l'ordre de lecture ; la coquille lui reserve sa hauteur. -->\n<div class=\"st-app-shell__navigation-basse\">\n <ng-content select=\"[navigationBasse]\" />\n</div>\n\n@if (enEssai()) {\n <div class=\"st-app-shell__liseret\" aria-hidden=\"true\"></div>\n}\n<!-- Entree et sortie de l'environnement d'essai : une annonce polie, posee vide des la creation. -->\n<span class=\"st-vh\" aria-live=\"polite\">{{ annonce.texte() }}</span>\n",
|
|
6124
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;flex-direction:column;padding-block-end:max(var(--st-hauteur-pied, 0px),var(--st-hauteur-action, 0px));min-block-size:100vh;min-block-size:100dvh;color:var(--st-couleur-texte);background:var(--st-couleur-fond)}.st-app-shell__entete{position:sticky;inset-block-start:0;z-index:var(--st-plan-entete);padding-block-start:env(safe-area-inset-top,0);padding-inline:env(safe-area-inset-left,0) env(safe-area-inset-right,0);background:var(--st-couleur-surface);border-block-end:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);view-transition-name:st-entete}:host([data-variante=marque]) .st-app-shell__entete{--st-couleur-surface: var(--st-couleur-surface-marque);--st-couleur-surface-elevee: var(--st-couleur-surface-marque);--st-couleur-bordure: color-mix( in oklab, var(--st-couleur-texte-sur-marque) 24%, var(--st-couleur-surface-marque) );--st-couleur-texte: var(--st-couleur-texte-sur-marque);--st-couleur-texte-primaire: var(--st-couleur-texte-sur-marque);--st-couleur-texte-discret: var(--st-couleur-texte-sur-marque-discret);--st-couleur-texte-attenue: var(--st-couleur-texte-sur-marque-discret);--st-couleur-bordure-forte: var(--st-couleur-texte-sur-marque-discret);--st-couleur-surface-survol: color-mix( in oklab, var(--st-couleur-texte-sur-marque) 10%, var(--st-couleur-surface-marque) );--st-couleur-surface-active: color-mix( in oklab, var(--st-couleur-texte-sur-marque) 16%, var(--st-couleur-surface-marque) );color:var(--st-couleur-texte-sur-marque);background:var(--st-couleur-surface-marque);border-block-end-color:transparent}.st-app-shell__bannieres{display:contents}.st-app-shell__corps{display:flex;flex:1 1 auto;flex-direction:column}.st-app-shell__navigation:empty,.st-app-shell__action-permanente:empty,.st-app-shell__pied:empty{display:none}.st-app-shell__entete:has(>.st-app-shell__action-permanente:empty:only-child){display:none}.st-app-shell__action-permanente{position:fixed;inset-block-end:0;inset-inline-end:0;display:flex;padding-block-end:calc(max(var(--st-hauteur-pied, 0px),env(safe-area-inset-bottom,0px)) + var(--st-espacement-4));padding-inline-end:calc(env(safe-area-inset-right,0px) + var(--st-espacement-4));pointer-events:none}.st-app-shell__action-permanente ::ng-deep>*{pointer-events:auto}.st-app-shell__contenu{flex:1 1 auto;min-inline-size:0;padding:var(--st-espacement-6) var(--st-espacement-4)}.st-app-shell__page{max-inline-size:var(--st-largeur-page);margin-inline:auto}.st-app-shell__contenu:focus{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:calc(-1 * var(--st-focus-decalage))}.st-app-shell__liseret{position:fixed;inset:var(--st-hauteur-entete, 0px) 0 var(--st-hauteur-pied, 0px);z-index:var(--st-plan-contenu-eleve);pointer-events:none;border:var(--st-epaisseur-epaisse) solid var(--st-couleur-essai)}@media print{.st-app-shell__liseret{display:none}}.st-app-shell__navigation-basse{display:contents}.st-app-shell__pied{padding:var(--st-espacement-4);background:var(--st-couleur-surface-conteneur-bas);padding-block-end:calc(var(--st-espacement-4) + env(safe-area-inset-bottom,0));color:var(--st-couleur-texte-discret);border-block-start:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}@media(min-width:48rem){.st-app-shell__corps{flex-direction:row}.st-app-shell__navigation{display:flex;flex:none;flex-direction:column;view-transition-name:st-navigation}.st-app-shell__navigation ::ng-deep>*{flex:1 0 auto}.st-app-shell__entete:has(>.st-app-shell__action-permanente:not(:empty)){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.st-app-shell__entete:has(>.st-app-shell__action-permanente:not(:empty)) ::ng-deep>st-route-progress{grid-column:1/-1}.st-app-shell__action-permanente{position:static;grid-area:1/2;padding-block-end:0;padding-inline-end:var(--st-espacement-4);pointer-events:auto}}@media(min-width:64rem){.st-app-shell__contenu{padding:var(--st-espacement-8)}.st-app-shell__action-permanente{padding-inline-end:var(--st-espacement-8)}}@media print{.st-app-shell__entete,.st-app-shell__bannieres,.st-app-shell__navigation,.st-app-shell__pied{display:none}.st-app-shell__entete{position:static}.st-app-shell__contenu{padding:0}.st-app-shell__page{max-inline-size:none}}\n"],
|
|
6125
|
+
dependencies: [{
|
|
6126
|
+
kind: "component",
|
|
6127
|
+
type: StSkipLink,
|
|
6128
|
+
selector: "st-skip-link",
|
|
6129
|
+
inputs: [
|
|
6130
|
+
"cible",
|
|
6131
|
+
"libelle",
|
|
6132
|
+
"secondeCible",
|
|
6133
|
+
"secondeEnPremier"
|
|
6134
|
+
]
|
|
6135
|
+
}, {
|
|
6136
|
+
kind: "component",
|
|
6137
|
+
type: StBanner,
|
|
6138
|
+
selector: "st-banner",
|
|
6139
|
+
inputs: [
|
|
6140
|
+
"ton",
|
|
6141
|
+
"message",
|
|
6142
|
+
"titre",
|
|
6143
|
+
"forme",
|
|
6144
|
+
"identifiant",
|
|
6145
|
+
"fermable",
|
|
6146
|
+
"libelleFermeture"
|
|
6147
|
+
],
|
|
6148
|
+
outputs: ["ferme"]
|
|
6149
|
+
}],
|
|
6150
|
+
viewProviders: [{
|
|
6151
|
+
provide: REGION_VIVANTE_PARENTE,
|
|
6152
|
+
useValue: true
|
|
6153
|
+
}],
|
|
6154
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
6155
|
+
});
|
|
6156
|
+
};
|
|
6157
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
6158
|
+
minVersion: "12.0.0",
|
|
6159
|
+
version: "22.2.1",
|
|
6160
|
+
ngImport: i0,
|
|
6161
|
+
type: StAppShell,
|
|
6162
|
+
decorators: [{
|
|
6163
|
+
type: Component,
|
|
6164
|
+
args: [{
|
|
6165
|
+
selector: "st-app-shell",
|
|
5679
6166
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5680
|
-
imports: [StSkipLink],
|
|
6167
|
+
imports: [StSkipLink, StBanner],
|
|
6168
|
+
viewProviders: [{
|
|
6169
|
+
provide: REGION_VIVANTE_PARENTE,
|
|
6170
|
+
useValue: true
|
|
6171
|
+
}],
|
|
5681
6172
|
host: {
|
|
5682
6173
|
class: "st-app-shell",
|
|
5683
6174
|
"[attr.data-variante]": "variante()"
|
|
5684
6175
|
},
|
|
5685
|
-
template: "<st-skip-link
|
|
5686
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;flex-direction:column;min-block-size:100vh;min-block-size:100dvh;color:var(--st-couleur-texte);background:var(--st-couleur-fond)}.st-app-shell__entete{position:sticky;inset-block-start:0;z-index:var(--st-plan-entete);padding-block-start:env(safe-area-inset-top,0);padding-inline:env(safe-area-inset-left,0) env(safe-area-inset-right,0);background:var(--st-couleur-surface);border-block-end:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);view-transition-name:st-entete}:host([data-variante=marque]) .st-app-shell__entete{--st-couleur-surface: var(--st-couleur-surface-marque);--st-couleur-surface-elevee: var(--st-couleur-surface-marque);--st-couleur-bordure: color-mix( in oklab, var(--st-couleur-texte-sur-marque) 24%, var(--st-couleur-surface-marque) );--st-couleur-texte: var(--st-couleur-texte-sur-marque);--st-couleur-texte-primaire: var(--st-couleur-texte-sur-marque);--st-couleur-texte-discret: var(--st-couleur-texte-sur-marque-discret);--st-couleur-texte-attenue: var(--st-couleur-texte-sur-marque-discret);--st-couleur-bordure-forte: var(--st-couleur-texte-sur-marque-discret);--st-couleur-surface-survol: color-mix( in oklab, var(--st-couleur-texte-sur-marque) 10%, var(--st-couleur-surface-marque) );--st-couleur-surface-active: color-mix( in oklab, var(--st-couleur-texte-sur-marque) 16%, var(--st-couleur-surface-marque) );color:var(--st-couleur-texte-sur-marque);background:var(--st-couleur-surface-marque);border-block-end-color:transparent}.st-app-shell__bannieres{display:contents}.st-app-shell__corps{display:flex;flex:1 1 auto;flex-direction:column}.st-app-shell__navigation:empty,.st-app-
|
|
6176
|
+
template: "<st-skip-link\n [cible]=\"identifiantDuContenu\"\n [secondeCible]=\"lienVersLAction()\"\n [secondeEnPremier]=\"lienVersLActionEnPremier()\"\n/>\n\n<header #entete class=\"st-app-shell__entete\">\n <!-- L'action critique permanente (P08-06) : premier arret apres le lien d'evitement, jamais\n repliee ; au bout de l'en-tete des md, flottante au-dessus de la barre inferieure dessous. -->\n <div #action class=\"st-app-shell__action-permanente\">\n <ng-content select=\"[actionPermanente]\" />\n </div>\n <ng-content select=\"[entete]\" />\n <ng-content select=\"st-route-progress\" />\n</header>\n\n<div #bannieres class=\"st-app-shell__bannieres\">\n <!-- Environnement d'essai : en tete des bannieres, et jamais fermee. -->\n @if (enEssai()) {\n <st-banner\n class=\"st-app-shell__essai\"\n ton=\"essai\"\n forme=\"bandeau\"\n [titre]=\"titreDEssaiLu()\"\n [message]=\"messageDEssaiLu()\"\n />\n }\n <ng-content select=\"[bannieres]\" />\n</div>\n\n<div class=\"st-app-shell__corps\">\n <div class=\"st-app-shell__navigation\">\n <ng-content select=\"[navigation]\" />\n </div>\n\n <main class=\"st-app-shell__contenu\" [id]=\"identifiantDuContenu\">\n <div class=\"st-app-shell__page\">\n <ng-content />\n </div>\n </main>\n</div>\n\n<footer class=\"st-app-shell__pied\">\n <ng-content select=\"[pied]\" />\n</footer>\n\n<!-- La barre de navigation inferieure (P08-05) : fixee au bas de la fenetre sous md, apres le\n contenu dans l'ordre de lecture ; la coquille lui reserve sa hauteur. -->\n<div class=\"st-app-shell__navigation-basse\">\n <ng-content select=\"[navigationBasse]\" />\n</div>\n\n@if (enEssai()) {\n <div class=\"st-app-shell__liseret\" aria-hidden=\"true\"></div>\n}\n<!-- Entree et sortie de l'environnement d'essai : une annonce polie, posee vide des la creation. -->\n<span class=\"st-vh\" aria-live=\"polite\">{{ annonce.texte() }}</span>\n",
|
|
6177
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;flex-direction:column;padding-block-end:max(var(--st-hauteur-pied, 0px),var(--st-hauteur-action, 0px));min-block-size:100vh;min-block-size:100dvh;color:var(--st-couleur-texte);background:var(--st-couleur-fond)}.st-app-shell__entete{position:sticky;inset-block-start:0;z-index:var(--st-plan-entete);padding-block-start:env(safe-area-inset-top,0);padding-inline:env(safe-area-inset-left,0) env(safe-area-inset-right,0);background:var(--st-couleur-surface);border-block-end:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);view-transition-name:st-entete}:host([data-variante=marque]) .st-app-shell__entete{--st-couleur-surface: var(--st-couleur-surface-marque);--st-couleur-surface-elevee: var(--st-couleur-surface-marque);--st-couleur-bordure: color-mix( in oklab, var(--st-couleur-texte-sur-marque) 24%, var(--st-couleur-surface-marque) );--st-couleur-texte: var(--st-couleur-texte-sur-marque);--st-couleur-texte-primaire: var(--st-couleur-texte-sur-marque);--st-couleur-texte-discret: var(--st-couleur-texte-sur-marque-discret);--st-couleur-texte-attenue: var(--st-couleur-texte-sur-marque-discret);--st-couleur-bordure-forte: var(--st-couleur-texte-sur-marque-discret);--st-couleur-surface-survol: color-mix( in oklab, var(--st-couleur-texte-sur-marque) 10%, var(--st-couleur-surface-marque) );--st-couleur-surface-active: color-mix( in oklab, var(--st-couleur-texte-sur-marque) 16%, var(--st-couleur-surface-marque) );color:var(--st-couleur-texte-sur-marque);background:var(--st-couleur-surface-marque);border-block-end-color:transparent}.st-app-shell__bannieres{display:contents}.st-app-shell__corps{display:flex;flex:1 1 auto;flex-direction:column}.st-app-shell__navigation:empty,.st-app-shell__action-permanente:empty,.st-app-shell__pied:empty{display:none}.st-app-shell__entete:has(>.st-app-shell__action-permanente:empty:only-child){display:none}.st-app-shell__action-permanente{position:fixed;inset-block-end:0;inset-inline-end:0;display:flex;padding-block-end:calc(max(var(--st-hauteur-pied, 0px),env(safe-area-inset-bottom,0px)) + var(--st-espacement-4));padding-inline-end:calc(env(safe-area-inset-right,0px) + var(--st-espacement-4));pointer-events:none}.st-app-shell__action-permanente ::ng-deep>*{pointer-events:auto}.st-app-shell__contenu{flex:1 1 auto;min-inline-size:0;padding:var(--st-espacement-6) var(--st-espacement-4)}.st-app-shell__page{max-inline-size:var(--st-largeur-page);margin-inline:auto}.st-app-shell__contenu:focus{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:calc(-1 * var(--st-focus-decalage))}.st-app-shell__liseret{position:fixed;inset:var(--st-hauteur-entete, 0px) 0 var(--st-hauteur-pied, 0px);z-index:var(--st-plan-contenu-eleve);pointer-events:none;border:var(--st-epaisseur-epaisse) solid var(--st-couleur-essai)}@media print{.st-app-shell__liseret{display:none}}.st-app-shell__navigation-basse{display:contents}.st-app-shell__pied{padding:var(--st-espacement-4);background:var(--st-couleur-surface-conteneur-bas);padding-block-end:calc(var(--st-espacement-4) + env(safe-area-inset-bottom,0));color:var(--st-couleur-texte-discret);border-block-start:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}@media(min-width:48rem){.st-app-shell__corps{flex-direction:row}.st-app-shell__navigation{display:flex;flex:none;flex-direction:column;view-transition-name:st-navigation}.st-app-shell__navigation ::ng-deep>*{flex:1 0 auto}.st-app-shell__entete:has(>.st-app-shell__action-permanente:not(:empty)){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.st-app-shell__entete:has(>.st-app-shell__action-permanente:not(:empty)) ::ng-deep>st-route-progress{grid-column:1/-1}.st-app-shell__action-permanente{position:static;grid-area:1/2;padding-block-end:0;padding-inline-end:var(--st-espacement-4);pointer-events:auto}}@media(min-width:64rem){.st-app-shell__contenu{padding:var(--st-espacement-8)}.st-app-shell__action-permanente{padding-inline-end:var(--st-espacement-8)}}@media print{.st-app-shell__entete,.st-app-shell__bannieres,.st-app-shell__navigation,.st-app-shell__pied{display:none}.st-app-shell__entete{position:static}.st-app-shell__contenu{padding:0}.st-app-shell__page{max-inline-size:none}}\n"]
|
|
5687
6178
|
}]
|
|
5688
6179
|
}],
|
|
5689
6180
|
ctorParameters: () => [],
|
|
@@ -5696,6 +6187,38 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5696
6187
|
required: false
|
|
5697
6188
|
}]
|
|
5698
6189
|
}],
|
|
6190
|
+
titreDEssai: [{
|
|
6191
|
+
type: i0.Input,
|
|
6192
|
+
args: [{
|
|
6193
|
+
isSignal: true,
|
|
6194
|
+
alias: "titreDEssai",
|
|
6195
|
+
required: false
|
|
6196
|
+
}]
|
|
6197
|
+
}],
|
|
6198
|
+
messageDEssai: [{
|
|
6199
|
+
type: i0.Input,
|
|
6200
|
+
args: [{
|
|
6201
|
+
isSignal: true,
|
|
6202
|
+
alias: "messageDEssai",
|
|
6203
|
+
required: false
|
|
6204
|
+
}]
|
|
6205
|
+
}],
|
|
6206
|
+
lienVersLAction: [{
|
|
6207
|
+
type: i0.Input,
|
|
6208
|
+
args: [{
|
|
6209
|
+
isSignal: true,
|
|
6210
|
+
alias: "lienVersLAction",
|
|
6211
|
+
required: false
|
|
6212
|
+
}]
|
|
6213
|
+
}],
|
|
6214
|
+
lienVersLActionEnPremier: [{
|
|
6215
|
+
type: i0.Input,
|
|
6216
|
+
args: [{
|
|
6217
|
+
isSignal: true,
|
|
6218
|
+
alias: "lienVersLActionEnPremier",
|
|
6219
|
+
required: false
|
|
6220
|
+
}]
|
|
6221
|
+
}],
|
|
5699
6222
|
entete: [{
|
|
5700
6223
|
type: i0.ViewChild,
|
|
5701
6224
|
args: ["entete", { isSignal: true }]
|
|
@@ -5703,13 +6226,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5703
6226
|
bannieres: [{
|
|
5704
6227
|
type: i0.ViewChild,
|
|
5705
6228
|
args: ["bannieres", { isSignal: true }]
|
|
6229
|
+
}],
|
|
6230
|
+
action: [{
|
|
6231
|
+
type: i0.ViewChild,
|
|
6232
|
+
args: ["action", { isSignal: true }]
|
|
5706
6233
|
}]
|
|
5707
6234
|
}
|
|
5708
6235
|
});
|
|
5709
6236
|
var StHeader = class StHeader {
|
|
5710
6237
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5711
6238
|
minVersion: "12.0.0",
|
|
5712
|
-
version: "22.2.
|
|
6239
|
+
version: "22.2.1",
|
|
5713
6240
|
ngImport: i0,
|
|
5714
6241
|
type: StHeader,
|
|
5715
6242
|
deps: [],
|
|
@@ -5717,20 +6244,20 @@ var StHeader = class StHeader {
|
|
|
5717
6244
|
});
|
|
5718
6245
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5719
6246
|
minVersion: "14.0.0",
|
|
5720
|
-
version: "22.2.
|
|
6247
|
+
version: "22.2.1",
|
|
5721
6248
|
type: StHeader,
|
|
5722
6249
|
isStandalone: true,
|
|
5723
6250
|
selector: "st-header",
|
|
5724
6251
|
host: { classAttribute: "st-header" },
|
|
5725
6252
|
ngImport: i0,
|
|
5726
6253
|
template: "<div class=\"st-header__debut\">\n <ng-content select=\"[bascule]\" />\n <ng-content select=\"[marque]\" />\n</div>\n<div class=\"st-header__actions\">\n <ng-content />\n</div>\n",
|
|
5727
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;flex-wrap:nowrap;gap:var(--st-espacement-3);align-items:center;justify-content:space-between;box-sizing:border-box;min-block-size:calc(var(--st-hauteur-commande-defaut) + 2 * var(--st-espacement-2-5));padding-block:var(--st-espacement-2-5);padding-inline:var(--st-espacement-4);background:var(--st-couleur-surface)}.st-header__debut,.st-header__actions{display:flex;gap:var(--st-espacement-1);align-items:center}.st-header__debut{flex:1 1 0%;flex-wrap:nowrap;min-inline-size:var(--st-hauteur-commande-defaut)}.st-header__actions{flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;min-inline-size:0}@media(width<48rem){.st-header__actions ::ng-deep>[secondaire]{display:none}}.st-header__debut:empty,.st-header__actions:empty{display:none}@media(min-width:48rem){.st-header__debut{gap:var(--st-espacement-6)}.st-header__actions{
|
|
6254
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;flex-wrap:nowrap;gap:var(--st-espacement-3);align-items:center;justify-content:space-between;box-sizing:border-box;min-block-size:calc(var(--st-hauteur-commande-defaut) + 2 * var(--st-espacement-2-5));padding-block:var(--st-espacement-2-5);padding-inline:var(--st-espacement-4);background:var(--st-couleur-surface)}.st-header__debut,.st-header__actions{display:flex;gap:var(--st-espacement-1);align-items:center}.st-header__debut{flex:1 1 0%;flex-wrap:nowrap;min-inline-size:var(--st-hauteur-commande-defaut)}.st-header__actions{flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;min-inline-size:0}@media(width<48rem){.st-header__actions ::ng-deep>[secondaire]{display:none}}.st-header__debut:empty,.st-header__actions:empty{display:none}@media(min-width:48rem){.st-header__debut{gap:var(--st-espacement-6)}.st-header__actions{gap:var(--st-espacement-4)}}@media(min-width:64rem){:host{padding-inline:var(--st-espacement-8)}}\n"],
|
|
5728
6255
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
5729
6256
|
});
|
|
5730
6257
|
};
|
|
5731
6258
|
i0.ɵɵngDeclareClassMetadata({
|
|
5732
6259
|
minVersion: "12.0.0",
|
|
5733
|
-
version: "22.2.
|
|
6260
|
+
version: "22.2.1",
|
|
5734
6261
|
ngImport: i0,
|
|
5735
6262
|
type: StHeader,
|
|
5736
6263
|
decorators: [{
|
|
@@ -5740,17 +6267,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5740
6267
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5741
6268
|
host: { class: "st-header" },
|
|
5742
6269
|
template: "<div class=\"st-header__debut\">\n <ng-content select=\"[bascule]\" />\n <ng-content select=\"[marque]\" />\n</div>\n<div class=\"st-header__actions\">\n <ng-content />\n</div>\n",
|
|
5743
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;flex-wrap:nowrap;gap:var(--st-espacement-3);align-items:center;justify-content:space-between;box-sizing:border-box;min-block-size:calc(var(--st-hauteur-commande-defaut) + 2 * var(--st-espacement-2-5));padding-block:var(--st-espacement-2-5);padding-inline:var(--st-espacement-4);background:var(--st-couleur-surface)}.st-header__debut,.st-header__actions{display:flex;gap:var(--st-espacement-1);align-items:center}.st-header__debut{flex:1 1 0%;flex-wrap:nowrap;min-inline-size:var(--st-hauteur-commande-defaut)}.st-header__actions{flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;min-inline-size:0}@media(width<48rem){.st-header__actions ::ng-deep>[secondaire]{display:none}}.st-header__debut:empty,.st-header__actions:empty{display:none}@media(min-width:48rem){.st-header__debut{gap:var(--st-espacement-6)}.st-header__actions{
|
|
6270
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{display:flex;flex-wrap:nowrap;gap:var(--st-espacement-3);align-items:center;justify-content:space-between;box-sizing:border-box;min-block-size:calc(var(--st-hauteur-commande-defaut) + 2 * var(--st-espacement-2-5));padding-block:var(--st-espacement-2-5);padding-inline:var(--st-espacement-4);background:var(--st-couleur-surface)}.st-header__debut,.st-header__actions{display:flex;gap:var(--st-espacement-1);align-items:center}.st-header__debut{flex:1 1 0%;flex-wrap:nowrap;min-inline-size:var(--st-hauteur-commande-defaut)}.st-header__actions{flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;min-inline-size:0}@media(width<48rem){.st-header__actions ::ng-deep>[secondaire]{display:none}}.st-header__debut:empty,.st-header__actions:empty{display:none}@media(min-width:48rem){.st-header__debut{gap:var(--st-espacement-6)}.st-header__actions{gap:var(--st-espacement-4)}}@media(min-width:64rem){:host{padding-inline:var(--st-espacement-8)}}\n"]
|
|
5744
6271
|
}]
|
|
5745
6272
|
}]
|
|
5746
6273
|
});
|
|
5747
6274
|
var StFooter = class StFooter {
|
|
5748
6275
|
libelles = inject(ST_LIBELLES);
|
|
5749
|
-
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] :
|
|
5750
|
-
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().liensDuPied, ...ngDevMode ? [{ debugName: "etiquetteLue" }] :
|
|
6276
|
+
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
6277
|
+
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().liensDuPied, ...ngDevMode ? [{ debugName: "etiquetteLue" }] : /* istanbul ignore next */ []);
|
|
5751
6278
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5752
6279
|
minVersion: "12.0.0",
|
|
5753
|
-
version: "22.2.
|
|
6280
|
+
version: "22.2.1",
|
|
5754
6281
|
ngImport: i0,
|
|
5755
6282
|
type: StFooter,
|
|
5756
6283
|
deps: [],
|
|
@@ -5758,7 +6285,7 @@ var StFooter = class StFooter {
|
|
|
5758
6285
|
});
|
|
5759
6286
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5760
6287
|
minVersion: "17.1.0",
|
|
5761
|
-
version: "22.2.
|
|
6288
|
+
version: "22.2.1",
|
|
5762
6289
|
type: StFooter,
|
|
5763
6290
|
isStandalone: true,
|
|
5764
6291
|
selector: "st-footer",
|
|
@@ -5778,7 +6305,7 @@ var StFooter = class StFooter {
|
|
|
5778
6305
|
};
|
|
5779
6306
|
i0.ɵɵngDeclareClassMetadata({
|
|
5780
6307
|
minVersion: "12.0.0",
|
|
5781
|
-
version: "22.2.
|
|
6308
|
+
version: "22.2.1",
|
|
5782
6309
|
ngImport: i0,
|
|
5783
6310
|
type: StFooter,
|
|
5784
6311
|
decorators: [{
|
|
@@ -5823,7 +6350,7 @@ var StNavLink = class StNavLink {
|
|
|
5823
6350
|
}
|
|
5824
6351
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5825
6352
|
minVersion: "12.0.0",
|
|
5826
|
-
version: "22.2.
|
|
6353
|
+
version: "22.2.1",
|
|
5827
6354
|
ngImport: i0,
|
|
5828
6355
|
type: StNavLink,
|
|
5829
6356
|
deps: [],
|
|
@@ -5831,7 +6358,7 @@ var StNavLink = class StNavLink {
|
|
|
5831
6358
|
});
|
|
5832
6359
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5833
6360
|
minVersion: "14.0.0",
|
|
5834
|
-
version: "22.2.
|
|
6361
|
+
version: "22.2.1",
|
|
5835
6362
|
type: StNavLink,
|
|
5836
6363
|
isStandalone: true,
|
|
5837
6364
|
selector: "a[stNavLink]",
|
|
@@ -5876,7 +6403,7 @@ var StNavLink = class StNavLink {
|
|
|
5876
6403
|
};
|
|
5877
6404
|
i0.ɵɵngDeclareClassMetadata({
|
|
5878
6405
|
minVersion: "12.0.0",
|
|
5879
|
-
version: "22.2.
|
|
6406
|
+
version: "22.2.1",
|
|
5880
6407
|
ngImport: i0,
|
|
5881
6408
|
type: StNavLink,
|
|
5882
6409
|
decorators: [{
|
|
@@ -5912,11 +6439,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5912
6439
|
ctorParameters: () => []
|
|
5913
6440
|
});
|
|
5914
6441
|
var StPageHeader = class StPageHeader {
|
|
5915
|
-
precision = input(null, ...ngDevMode ? [{ debugName: "precision" }] :
|
|
5916
|
-
identifiant = input(null, ...ngDevMode ? [{ debugName: "identifiant" }] :
|
|
5917
|
-
niveau = input(1, ...ngDevMode ? [{ debugName: "niveau" }] :
|
|
5918
|
-
taille = input("3xl", ...ngDevMode ? [{ debugName: "taille" }] :
|
|
5919
|
-
retour = input(null, ...ngDevMode ? [{ debugName: "retour" }] :
|
|
6442
|
+
precision = input(null, ...ngDevMode ? [{ debugName: "precision" }] : /* istanbul ignore next */ []);
|
|
6443
|
+
identifiant = input(null, ...ngDevMode ? [{ debugName: "identifiant" }] : /* istanbul ignore next */ []);
|
|
6444
|
+
niveau = input(1, ...ngDevMode ? [{ debugName: "niveau" }] : /* istanbul ignore next */ []);
|
|
6445
|
+
taille = input("3xl", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
6446
|
+
retour = input(null, ...ngDevMode ? [{ debugName: "retour" }] : /* istanbul ignore next */ []);
|
|
5920
6447
|
constructor() {
|
|
5921
6448
|
if (isDevMode()) {
|
|
5922
6449
|
const hote = inject(ElementRef).nativeElement;
|
|
@@ -5928,7 +6455,7 @@ var StPageHeader = class StPageHeader {
|
|
|
5928
6455
|
}
|
|
5929
6456
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5930
6457
|
minVersion: "12.0.0",
|
|
5931
|
-
version: "22.2.
|
|
6458
|
+
version: "22.2.1",
|
|
5932
6459
|
ngImport: i0,
|
|
5933
6460
|
type: StPageHeader,
|
|
5934
6461
|
deps: [],
|
|
@@ -5936,7 +6463,7 @@ var StPageHeader = class StPageHeader {
|
|
|
5936
6463
|
});
|
|
5937
6464
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5938
6465
|
minVersion: "17.0.0",
|
|
5939
|
-
version: "22.2.
|
|
6466
|
+
version: "22.2.1",
|
|
5940
6467
|
type: StPageHeader,
|
|
5941
6468
|
isStandalone: true,
|
|
5942
6469
|
selector: "st-page-header",
|
|
@@ -6030,7 +6557,7 @@ var StPageHeader = class StPageHeader {
|
|
|
6030
6557
|
};
|
|
6031
6558
|
i0.ɵɵngDeclareClassMetadata({
|
|
6032
6559
|
minVersion: "12.0.0",
|
|
6033
|
-
version: "22.2.
|
|
6560
|
+
version: "22.2.1",
|
|
6034
6561
|
ngImport: i0,
|
|
6035
6562
|
type: StPageHeader,
|
|
6036
6563
|
decorators: [{
|
|
@@ -6073,388 +6600,95 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
6073
6600
|
alias: "niveau",
|
|
6074
6601
|
required: false
|
|
6075
6602
|
}]
|
|
6076
|
-
}],
|
|
6077
|
-
taille: [{
|
|
6078
|
-
type: i0.Input,
|
|
6079
|
-
args: [{
|
|
6080
|
-
isSignal: true,
|
|
6081
|
-
alias: "taille",
|
|
6082
|
-
required: false
|
|
6083
|
-
}]
|
|
6084
|
-
}],
|
|
6085
|
-
retour: [{
|
|
6086
|
-
type: i0.Input,
|
|
6087
|
-
args: [{
|
|
6088
|
-
isSignal: true,
|
|
6089
|
-
alias: "retour",
|
|
6090
|
-
required: false
|
|
6091
|
-
}]
|
|
6092
|
-
}]
|
|
6093
|
-
}
|
|
6094
|
-
});
|
|
6095
|
-
var StRouteProgress = class StRouteProgress {
|
|
6096
|
-
libelles = inject(ST_LIBELLES);
|
|
6097
|
-
actif = input(false, {
|
|
6098
|
-
...ngDevMode ? { debugName: "actif" } : /* istanbul ignore next */ {},
|
|
6099
|
-
transform: booleanAttribute
|
|
6100
|
-
});
|
|
6101
|
-
delaiMs = input(delai.attente, {
|
|
6102
|
-
...ngDevMode ? { debugName: "delaiMs" } : /* istanbul ignore next */ {},
|
|
6103
|
-
transform: numberAttribute
|
|
6104
|
-
});
|
|
6105
|
-
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
6106
|
-
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().chargementEnCours, ...ngDevMode ? [{ debugName: "etiquetteLue" }] : /* istanbul ignore next */ []);
|
|
6107
|
-
visible = affichageDiffere(() => this.actif(), { delai: () => this.delaiMs() });
|
|
6108
|
-
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
6109
|
-
minVersion: "12.0.0",
|
|
6110
|
-
version: "22.2.0",
|
|
6111
|
-
ngImport: i0,
|
|
6112
|
-
type: StRouteProgress,
|
|
6113
|
-
deps: [],
|
|
6114
|
-
target: i0.ɵɵFactoryTarget.Component
|
|
6115
|
-
});
|
|
6116
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
6117
|
-
minVersion: "17.0.0",
|
|
6118
|
-
version: "22.2.0",
|
|
6119
|
-
type: StRouteProgress,
|
|
6120
|
-
isStandalone: true,
|
|
6121
|
-
selector: "st-route-progress",
|
|
6122
|
-
inputs: {
|
|
6123
|
-
actif: {
|
|
6124
|
-
classPropertyName: "actif",
|
|
6125
|
-
publicName: "actif",
|
|
6126
|
-
isSignal: true,
|
|
6127
|
-
isRequired: false,
|
|
6128
|
-
transformFunction: null
|
|
6129
|
-
},
|
|
6130
|
-
delaiMs: {
|
|
6131
|
-
classPropertyName: "delaiMs",
|
|
6132
|
-
publicName: "delaiMs",
|
|
6133
|
-
isSignal: true,
|
|
6134
|
-
isRequired: false,
|
|
6135
|
-
transformFunction: null
|
|
6136
|
-
},
|
|
6137
|
-
etiquette: {
|
|
6138
|
-
classPropertyName: "etiquette",
|
|
6139
|
-
publicName: "etiquette",
|
|
6140
|
-
isSignal: true,
|
|
6141
|
-
isRequired: false,
|
|
6142
|
-
transformFunction: null
|
|
6143
|
-
}
|
|
6144
|
-
},
|
|
6145
|
-
host: {
|
|
6146
|
-
properties: { "attr.data-visible": "visible() ? \"\" : null" },
|
|
6147
|
-
classAttribute: "st-route-progress"
|
|
6148
|
-
},
|
|
6149
|
-
ngImport: i0,
|
|
6150
|
-
template: "@if (visible()) {\n <st-progress class=\"st-route-progress__barre\" epaisseur=\"route\" [etiquette]=\"etiquetteLue()\" />\n}\n",
|
|
6151
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{position:relative;z-index:var(--st-plan-entete);display:block;block-size:var(--st-epaisseur-moyenne);margin-block-start:calc(-1 * var(--st-epaisseur-moyenne));pointer-events:none}:host([data-visible]){background:var(--st-couleur-surface-enfoncee)}.st-route-progress__barre{display:block}@media print{:host{display:none}}\n"],
|
|
6152
|
-
dependencies: [{
|
|
6153
|
-
kind: "component",
|
|
6154
|
-
type: StProgress,
|
|
6155
|
-
selector: "st-progress",
|
|
6156
|
-
inputs: [
|
|
6157
|
-
"valeur",
|
|
6158
|
-
"max",
|
|
6159
|
-
"etiquette",
|
|
6160
|
-
"ton",
|
|
6161
|
-
"epaisseur",
|
|
6162
|
-
"texteDeValeur",
|
|
6163
|
-
"avecValeur",
|
|
6164
|
-
"decompte"
|
|
6165
|
-
]
|
|
6166
|
-
}],
|
|
6167
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
6168
|
-
});
|
|
6169
|
-
};
|
|
6170
|
-
i0.ɵɵngDeclareClassMetadata({
|
|
6171
|
-
minVersion: "12.0.0",
|
|
6172
|
-
version: "22.2.0",
|
|
6173
|
-
ngImport: i0,
|
|
6174
|
-
type: StRouteProgress,
|
|
6175
|
-
decorators: [{
|
|
6176
|
-
type: Component,
|
|
6177
|
-
args: [{
|
|
6178
|
-
selector: "st-route-progress",
|
|
6179
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6180
|
-
imports: [StProgress],
|
|
6181
|
-
host: {
|
|
6182
|
-
class: "st-route-progress",
|
|
6183
|
-
"[attr.data-visible]": "visible() ? \"\" : null"
|
|
6184
|
-
},
|
|
6185
|
-
template: "@if (visible()) {\n <st-progress class=\"st-route-progress__barre\" epaisseur=\"route\" [etiquette]=\"etiquetteLue()\" />\n}\n",
|
|
6186
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{position:relative;z-index:var(--st-plan-entete);display:block;block-size:var(--st-epaisseur-moyenne);margin-block-start:calc(-1 * var(--st-epaisseur-moyenne));pointer-events:none}:host([data-visible]){background:var(--st-couleur-surface-enfoncee)}.st-route-progress__barre{display:block}@media print{:host{display:none}}\n"]
|
|
6187
|
-
}]
|
|
6188
|
-
}],
|
|
6189
|
-
propDecorators: {
|
|
6190
|
-
actif: [{
|
|
6191
|
-
type: i0.Input,
|
|
6192
|
-
args: [{
|
|
6193
|
-
isSignal: true,
|
|
6194
|
-
alias: "actif",
|
|
6195
|
-
required: false
|
|
6196
|
-
}]
|
|
6197
|
-
}],
|
|
6198
|
-
delaiMs: [{
|
|
6199
|
-
type: i0.Input,
|
|
6200
|
-
args: [{
|
|
6201
|
-
isSignal: true,
|
|
6202
|
-
alias: "delaiMs",
|
|
6203
|
-
required: false
|
|
6204
|
-
}]
|
|
6205
|
-
}],
|
|
6206
|
-
etiquette: [{
|
|
6207
|
-
type: i0.Input,
|
|
6208
|
-
args: [{
|
|
6209
|
-
isSignal: true,
|
|
6210
|
-
alias: "etiquette",
|
|
6211
|
-
required: false
|
|
6212
|
-
}]
|
|
6213
|
-
}]
|
|
6214
|
-
}
|
|
6215
|
-
});
|
|
6216
|
-
var StAuthShell = class StAuthShell {
|
|
6217
|
-
libelles = inject(ST_LIBELLES);
|
|
6218
|
-
identifiantDuContenu = IDENTIFIANT_DU_CONTENU_PRINCIPAL;
|
|
6219
|
-
liensDuPied = computed(() => this.libelles().liensDuPied, ...ngDevMode ? [{ debugName: "liensDuPied" }] : /* istanbul ignore next */ []);
|
|
6220
|
-
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
6221
|
-
minVersion: "12.0.0",
|
|
6222
|
-
version: "22.2.0",
|
|
6223
|
-
ngImport: i0,
|
|
6224
|
-
type: StAuthShell,
|
|
6225
|
-
deps: [],
|
|
6226
|
-
target: i0.ɵɵFactoryTarget.Component
|
|
6227
|
-
});
|
|
6228
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
6229
|
-
minVersion: "14.0.0",
|
|
6230
|
-
version: "22.2.0",
|
|
6231
|
-
type: StAuthShell,
|
|
6232
|
-
isStandalone: true,
|
|
6233
|
-
selector: "st-auth-shell",
|
|
6234
|
-
host: { classAttribute: "st-auth-shell" },
|
|
6235
|
-
ngImport: i0,
|
|
6236
|
-
template: "<st-skip-link [cible]=\"identifiantDuContenu\" />\n\n<header class=\"st-auth-shell__entete\">\n <ng-content select=\"[entete]\" />\n</header>\n\n<main class=\"st-auth-shell__contenu\" [id]=\"identifiantDuContenu\">\n <div class=\"st-auth-shell__carte\">\n <div class=\"st-auth-shell__banniere\">\n <ng-content select=\"[banniere]\" />\n </div>\n <ng-content />\n </div>\n</main>\n\n<footer class=\"st-auth-shell__pied\">\n <nav class=\"st-auth-shell__liens\" [attr.aria-label]=\"liensDuPied()\">\n <ng-content select=\"[pied]\" />\n </nav>\n <span class=\"st-auth-shell__version\"><ng-content select=\"[version]\" /></span>\n</footer>\n",
|
|
6237
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{position:relative;display:flex;flex-direction:column;min-block-size:100vh;min-block-size:100dvh;padding-block:env(safe-area-inset-top,0) env(safe-area-inset-bottom,0);padding-inline:env(safe-area-inset-left,0) env(safe-area-inset-right,0);color:var(--st-couleur-texte);background:var(--st-couleur-surface);isolation:isolate}@media(min-width:48rem){:host{background:var(--st-couleur-surface-conteneur-bas)}:host:before{position:absolute;inset:0;pointer-events:none;content:\"\";background-image:linear-gradient(to bottom right,color-mix(in srgb,var(--st-couleur-primaire-discret) 60%,transparent),transparent 50%)}}.st-auth-shell__entete,.st-auth-shell__contenu,.st-auth-shell__pied{position:relative}.st-auth-shell__entete{display:flex;flex-wrap:wrap;gap:var(--st-espacement-3);align-items:center;justify-content:space-between;min-block-size:var(--st-hauteur-commande-defaut);padding:var(--st-espacement-3) var(--st-espacement-4)}.st-auth-shell__entete:empty,.st-auth-shell__banniere:empty,.st-auth-shell__liens:empty,.st-auth-shell__version:empty,.st-auth-shell__pied:not(:has(>:not(:empty))){display:none}.st-auth-shell__contenu{box-sizing:border-box;flex:1 1 auto;inline-size:min(100%,var(--st-largeur-carte-auth));margin-inline:auto;padding:var(--st-espacement-6) var(--st-espacement-4)}.st-auth-shell__contenu:focus-visible{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:calc(-1 * var(--st-focus-epaisseur))}@media(min-width:48rem){.st-auth-shell__contenu{padding:var(--st-espacement-12) 0 var(--st-espacement-6)}}.st-auth-shell__carte{display:flex;flex-direction:column;gap:var(--st-espacement-4)}@media(min-width:48rem){.st-auth-shell__carte{padding:var(--st-espacement-6);background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid light-dark(transparent,var(--st-couleur-bordure));border-radius:var(--st-rayon-lg);box-shadow:var(--st-ombre-survol)}}.st-auth-shell__pied{display:flex;flex-direction:column;gap:var(--st-espacement-1);align-items:center;padding:var(--st-espacement-4);font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}.st-auth-shell__liens{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2) var(--st-espacement-4);align-items:center;justify-content:center}.st-auth-shell__version{font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs);font-variant-numeric:var(--st-chiffres-alignes)}@media(forced-colors:active){:host:before{display:none}}@media print{:host:before,.st-auth-shell__entete,.st-auth-shell__pied{display:none}.st-auth-shell__carte{box-shadow:none}}\n"],
|
|
6238
|
-
dependencies: [{
|
|
6239
|
-
kind: "component",
|
|
6240
|
-
type: StSkipLink,
|
|
6241
|
-
selector: "st-skip-link",
|
|
6242
|
-
inputs: ["cible", "libelle"]
|
|
6243
|
-
}],
|
|
6244
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
6245
|
-
});
|
|
6246
|
-
};
|
|
6247
|
-
i0.ɵɵngDeclareClassMetadata({
|
|
6248
|
-
minVersion: "12.0.0",
|
|
6249
|
-
version: "22.2.0",
|
|
6250
|
-
ngImport: i0,
|
|
6251
|
-
type: StAuthShell,
|
|
6252
|
-
decorators: [{
|
|
6253
|
-
type: Component,
|
|
6254
|
-
args: [{
|
|
6255
|
-
selector: "st-auth-shell",
|
|
6256
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6257
|
-
imports: [StSkipLink],
|
|
6258
|
-
host: { class: "st-auth-shell" },
|
|
6259
|
-
template: "<st-skip-link [cible]=\"identifiantDuContenu\" />\n\n<header class=\"st-auth-shell__entete\">\n <ng-content select=\"[entete]\" />\n</header>\n\n<main class=\"st-auth-shell__contenu\" [id]=\"identifiantDuContenu\">\n <div class=\"st-auth-shell__carte\">\n <div class=\"st-auth-shell__banniere\">\n <ng-content select=\"[banniere]\" />\n </div>\n <ng-content />\n </div>\n</main>\n\n<footer class=\"st-auth-shell__pied\">\n <nav class=\"st-auth-shell__liens\" [attr.aria-label]=\"liensDuPied()\">\n <ng-content select=\"[pied]\" />\n </nav>\n <span class=\"st-auth-shell__version\"><ng-content select=\"[version]\" /></span>\n</footer>\n",
|
|
6260
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{position:relative;display:flex;flex-direction:column;min-block-size:100vh;min-block-size:100dvh;padding-block:env(safe-area-inset-top,0) env(safe-area-inset-bottom,0);padding-inline:env(safe-area-inset-left,0) env(safe-area-inset-right,0);color:var(--st-couleur-texte);background:var(--st-couleur-surface);isolation:isolate}@media(min-width:48rem){:host{background:var(--st-couleur-surface-conteneur-bas)}:host:before{position:absolute;inset:0;pointer-events:none;content:\"\";background-image:linear-gradient(to bottom right,color-mix(in srgb,var(--st-couleur-primaire-discret) 60%,transparent),transparent 50%)}}.st-auth-shell__entete,.st-auth-shell__contenu,.st-auth-shell__pied{position:relative}.st-auth-shell__entete{display:flex;flex-wrap:wrap;gap:var(--st-espacement-3);align-items:center;justify-content:space-between;min-block-size:var(--st-hauteur-commande-defaut);padding:var(--st-espacement-3) var(--st-espacement-4)}.st-auth-shell__entete:empty,.st-auth-shell__banniere:empty,.st-auth-shell__liens:empty,.st-auth-shell__version:empty,.st-auth-shell__pied:not(:has(>:not(:empty))){display:none}.st-auth-shell__contenu{box-sizing:border-box;flex:1 1 auto;inline-size:min(100%,var(--st-largeur-carte-auth));margin-inline:auto;padding:var(--st-espacement-6) var(--st-espacement-4)}.st-auth-shell__contenu:focus-visible{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:calc(-1 * var(--st-focus-epaisseur))}@media(min-width:48rem){.st-auth-shell__contenu{padding:var(--st-espacement-12) 0 var(--st-espacement-6)}}.st-auth-shell__carte{display:flex;flex-direction:column;gap:var(--st-espacement-4)}@media(min-width:48rem){.st-auth-shell__carte{padding:var(--st-espacement-6);background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid light-dark(transparent,var(--st-couleur-bordure));border-radius:var(--st-rayon-lg);box-shadow:var(--st-ombre-survol)}}.st-auth-shell__pied{display:flex;flex-direction:column;gap:var(--st-espacement-1);align-items:center;padding:var(--st-espacement-4);font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}.st-auth-shell__liens{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2) var(--st-espacement-4);align-items:center;justify-content:center}.st-auth-shell__version{font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs);font-variant-numeric:var(--st-chiffres-alignes)}@media(forced-colors:active){:host:before{display:none}}@media print{:host:before,.st-auth-shell__entete,.st-auth-shell__pied{display:none}.st-auth-shell__carte{box-shadow:none}}\n"]
|
|
6261
|
-
}]
|
|
6262
|
-
}]
|
|
6263
|
-
});
|
|
6264
|
-
const HORS_TABULATION = ":not([tabindex^=\"-\"])";
|
|
6265
|
-
const FOCALISABLES = [
|
|
6266
|
-
"a[href]",
|
|
6267
|
-
"button:not([disabled])",
|
|
6268
|
-
"input:not([disabled]):not([type=\"hidden\"])",
|
|
6269
|
-
"select:not([disabled])",
|
|
6270
|
-
"textarea:not([disabled])",
|
|
6271
|
-
"summary",
|
|
6272
|
-
"[tabindex]",
|
|
6273
|
-
"[contenteditable=\"\"]",
|
|
6274
|
-
"[contenteditable=\"true\"]"
|
|
6275
|
-
].map((selecteur) => selecteur + HORS_TABULATION).join(", ");
|
|
6276
|
-
const BORNES = "dialog[open], [role=\"dialog\"], [role=\"alertdialog\"], [aria-modal=\"true\"]";
|
|
6277
|
-
const PRECEDE = 2;
|
|
6278
|
-
const SUIT = 4;
|
|
6279
|
-
function estFocalisable(element) {
|
|
6280
|
-
if (element.closest("[inert], [aria-hidden=\"true\"], fieldset[disabled]") !== null) return false;
|
|
6281
|
-
const details = element.closest("details:not([open])");
|
|
6282
|
-
if (details !== null && element.closest("summary")?.parentElement !== details) return false;
|
|
6283
|
-
if (typeof element.checkVisibility === "function") return element.checkVisibility({ visibilityProperty: true });
|
|
6284
|
-
const vue = element.ownerDocument.defaultView;
|
|
6285
|
-
if (vue === null) return false;
|
|
6286
|
-
if (vue.getComputedStyle(element).visibility === "hidden") return false;
|
|
6287
|
-
for (let e = element; e !== null; e = e.parentElement) if (e.hidden || vue.getComputedStyle(e).display === "none") return false;
|
|
6288
|
-
return true;
|
|
6289
|
-
}
|
|
6290
|
-
function estUnRadio(element) {
|
|
6291
|
-
return element.tagName === "INPUT" && element.type === "radio";
|
|
6292
|
-
}
|
|
6293
|
-
function estArretDeRadio(radio, candidats) {
|
|
6294
|
-
if (radio.name === "") return true;
|
|
6295
|
-
const groupe = candidats.filter((c) => estUnRadio(c) && c.name === radio.name && c.form === radio.form);
|
|
6296
|
-
const coche = groupe.find((c) => c.checked);
|
|
6297
|
-
return coche !== void 0 ? coche === radio : groupe[0] === radio;
|
|
6298
|
-
}
|
|
6299
|
-
function deplacerLeFocusAuVoisin(depart) {
|
|
6300
|
-
const focalisables = [...(depart.closest(BORNES) ?? depart.ownerDocument).querySelectorAll(FOCALISABLES)].filter((candidat) => !depart.contains(candidat) && estFocalisable(candidat));
|
|
6301
|
-
const candidats = focalisables.filter((c) => !estUnRadio(c) || estArretDeRadio(c, focalisables));
|
|
6302
|
-
const suivants = candidats.filter((c) => (depart.compareDocumentPosition(c) & SUIT) !== 0);
|
|
6303
|
-
const precedents = candidats.filter((c) => (depart.compareDocumentPosition(c) & PRECEDE) !== 0).reverse();
|
|
6304
|
-
for (const candidat of [...suivants, ...precedents]) {
|
|
6305
|
-
candidat.focus();
|
|
6306
|
-
if (depart.ownerDocument.activeElement === candidat) return candidat;
|
|
6307
|
-
}
|
|
6308
|
-
const parent = depart.parentElement;
|
|
6309
|
-
if (parent?.hasAttribute("tabindex") === true) {
|
|
6310
|
-
parent.focus();
|
|
6311
|
-
if (depart.ownerDocument.activeElement === parent) return parent;
|
|
6603
|
+
}],
|
|
6604
|
+
taille: [{
|
|
6605
|
+
type: i0.Input,
|
|
6606
|
+
args: [{
|
|
6607
|
+
isSignal: true,
|
|
6608
|
+
alias: "taille",
|
|
6609
|
+
required: false
|
|
6610
|
+
}]
|
|
6611
|
+
}],
|
|
6612
|
+
retour: [{
|
|
6613
|
+
type: i0.Input,
|
|
6614
|
+
args: [{
|
|
6615
|
+
isSignal: true,
|
|
6616
|
+
alias: "retour",
|
|
6617
|
+
required: false
|
|
6618
|
+
}]
|
|
6619
|
+
}]
|
|
6312
6620
|
}
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
var StBanner = class StBanner {
|
|
6316
|
-
element = inject(ElementRef);
|
|
6317
|
-
regionParente = inject(REGION_VIVANTE_PARENTE, {
|
|
6318
|
-
optional: true,
|
|
6319
|
-
skipSelf: true
|
|
6320
|
-
});
|
|
6621
|
+
});
|
|
6622
|
+
var StRouteProgress = class StRouteProgress {
|
|
6321
6623
|
libelles = inject(ST_LIBELLES);
|
|
6322
|
-
|
|
6323
|
-
|
|
6324
|
-
message = input.required(...ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []);
|
|
6325
|
-
titre = input(null, ...ngDevMode ? [{ debugName: "titre" }] : /* istanbul ignore next */ []);
|
|
6326
|
-
forme = input("bloc", ...ngDevMode ? [{ debugName: "forme" }] : /* istanbul ignore next */ []);
|
|
6327
|
-
identifiant = input(null, ...ngDevMode ? [{ debugName: "identifiant" }] : /* istanbul ignore next */ []);
|
|
6328
|
-
fermable = input(false, {
|
|
6329
|
-
...ngDevMode ? { debugName: "fermable" } : /* istanbul ignore next */ {},
|
|
6624
|
+
actif = input(false, {
|
|
6625
|
+
...ngDevMode ? { debugName: "actif" } : /* istanbul ignore next */ {},
|
|
6330
6626
|
transform: booleanAttribute
|
|
6331
6627
|
});
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
if (this.regionParente !== null) return null;
|
|
6340
|
-
return this.ton() === "danger" ? "alert" : "status";
|
|
6341
|
-
}, ...ngDevMode ? [{ debugName: "roleLu" }] : /* istanbul ignore next */ []);
|
|
6342
|
-
fermer() {
|
|
6343
|
-
deplacerLeFocusAuVoisin(this.element.nativeElement);
|
|
6344
|
-
this.ferme.emit();
|
|
6345
|
-
}
|
|
6628
|
+
delaiMs = input(delai.attente, {
|
|
6629
|
+
...ngDevMode ? { debugName: "delaiMs" } : /* istanbul ignore next */ {},
|
|
6630
|
+
transform: numberAttribute
|
|
6631
|
+
});
|
|
6632
|
+
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
6633
|
+
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().chargementEnCours, ...ngDevMode ? [{ debugName: "etiquetteLue" }] : /* istanbul ignore next */ []);
|
|
6634
|
+
visible = affichageDiffere(() => this.actif(), { delai: () => this.delaiMs() });
|
|
6346
6635
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
6347
6636
|
minVersion: "12.0.0",
|
|
6348
|
-
version: "22.2.
|
|
6637
|
+
version: "22.2.1",
|
|
6349
6638
|
ngImport: i0,
|
|
6350
|
-
type:
|
|
6639
|
+
type: StRouteProgress,
|
|
6351
6640
|
deps: [],
|
|
6352
6641
|
target: i0.ɵɵFactoryTarget.Component
|
|
6353
6642
|
});
|
|
6354
6643
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
6355
6644
|
minVersion: "17.0.0",
|
|
6356
|
-
version: "22.2.
|
|
6357
|
-
type:
|
|
6645
|
+
version: "22.2.1",
|
|
6646
|
+
type: StRouteProgress,
|
|
6358
6647
|
isStandalone: true,
|
|
6359
|
-
selector: "st-
|
|
6648
|
+
selector: "st-route-progress",
|
|
6360
6649
|
inputs: {
|
|
6361
|
-
|
|
6362
|
-
classPropertyName: "
|
|
6363
|
-
publicName: "
|
|
6364
|
-
isSignal: true,
|
|
6365
|
-
isRequired: false,
|
|
6366
|
-
transformFunction: null
|
|
6367
|
-
},
|
|
6368
|
-
message: {
|
|
6369
|
-
classPropertyName: "message",
|
|
6370
|
-
publicName: "message",
|
|
6371
|
-
isSignal: true,
|
|
6372
|
-
isRequired: true,
|
|
6373
|
-
transformFunction: null
|
|
6374
|
-
},
|
|
6375
|
-
titre: {
|
|
6376
|
-
classPropertyName: "titre",
|
|
6377
|
-
publicName: "titre",
|
|
6378
|
-
isSignal: true,
|
|
6379
|
-
isRequired: false,
|
|
6380
|
-
transformFunction: null
|
|
6381
|
-
},
|
|
6382
|
-
forme: {
|
|
6383
|
-
classPropertyName: "forme",
|
|
6384
|
-
publicName: "forme",
|
|
6385
|
-
isSignal: true,
|
|
6386
|
-
isRequired: false,
|
|
6387
|
-
transformFunction: null
|
|
6388
|
-
},
|
|
6389
|
-
identifiant: {
|
|
6390
|
-
classPropertyName: "identifiant",
|
|
6391
|
-
publicName: "identifiant",
|
|
6650
|
+
actif: {
|
|
6651
|
+
classPropertyName: "actif",
|
|
6652
|
+
publicName: "actif",
|
|
6392
6653
|
isSignal: true,
|
|
6393
6654
|
isRequired: false,
|
|
6394
6655
|
transformFunction: null
|
|
6395
6656
|
},
|
|
6396
|
-
|
|
6397
|
-
classPropertyName: "
|
|
6398
|
-
publicName: "
|
|
6657
|
+
delaiMs: {
|
|
6658
|
+
classPropertyName: "delaiMs",
|
|
6659
|
+
publicName: "delaiMs",
|
|
6399
6660
|
isSignal: true,
|
|
6400
6661
|
isRequired: false,
|
|
6401
6662
|
transformFunction: null
|
|
6402
6663
|
},
|
|
6403
|
-
|
|
6404
|
-
classPropertyName: "
|
|
6405
|
-
publicName: "
|
|
6664
|
+
etiquette: {
|
|
6665
|
+
classPropertyName: "etiquette",
|
|
6666
|
+
publicName: "etiquette",
|
|
6406
6667
|
isSignal: true,
|
|
6407
6668
|
isRequired: false,
|
|
6408
6669
|
transformFunction: null
|
|
6409
6670
|
}
|
|
6410
6671
|
},
|
|
6411
|
-
outputs: { ferme: "ferme" },
|
|
6412
6672
|
host: {
|
|
6413
|
-
properties: {
|
|
6414
|
-
|
|
6415
|
-
"attr.data-forme": "forme()",
|
|
6416
|
-
"attr.role": "roleLu()",
|
|
6417
|
-
"attr.aria-labelledby": "roleLu() !== null && titre() !== null ? idDuTitre() : null"
|
|
6418
|
-
},
|
|
6419
|
-
classAttribute: "st-banner"
|
|
6673
|
+
properties: { "attr.data-visible": "visible() ? \"\" : null" },
|
|
6674
|
+
classAttribute: "st-route-progress"
|
|
6420
6675
|
},
|
|
6421
|
-
providers: [{
|
|
6422
|
-
provide: REGION_VIVANTE_PARENTE,
|
|
6423
|
-
useValue: true
|
|
6424
|
-
}],
|
|
6425
6676
|
ngImport: i0,
|
|
6426
|
-
template: "
|
|
6427
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{
|
|
6677
|
+
template: "@if (visible()) {\n <st-progress class=\"st-route-progress__barre\" epaisseur=\"route\" [etiquette]=\"etiquetteLue()\" />\n}\n",
|
|
6678
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{position:relative;z-index:var(--st-plan-entete);display:block;block-size:var(--st-epaisseur-moyenne);margin-block-start:calc(-1 * var(--st-epaisseur-moyenne));pointer-events:none}:host([data-visible]){background:var(--st-couleur-surface-enfoncee)}.st-route-progress__barre{display:block}@media print{:host{display:none}}\n"],
|
|
6428
6679
|
dependencies: [{
|
|
6429
6680
|
kind: "component",
|
|
6430
|
-
type:
|
|
6431
|
-
selector: "st-
|
|
6432
|
-
inputs: [
|
|
6433
|
-
"icone",
|
|
6434
|
-
"nom",
|
|
6435
|
-
"variante",
|
|
6436
|
-
"sprite",
|
|
6437
|
-
"nomMetier",
|
|
6438
|
-
"taille",
|
|
6439
|
-
"ton",
|
|
6440
|
-
"etiquette",
|
|
6441
|
-
"miroir"
|
|
6442
|
-
]
|
|
6443
|
-
}, {
|
|
6444
|
-
kind: "component",
|
|
6445
|
-
type: StIconButton,
|
|
6446
|
-
selector: "button[stIconButton]",
|
|
6681
|
+
type: StProgress,
|
|
6682
|
+
selector: "st-progress",
|
|
6447
6683
|
inputs: [
|
|
6448
|
-
"
|
|
6684
|
+
"valeur",
|
|
6685
|
+
"max",
|
|
6449
6686
|
"etiquette",
|
|
6450
|
-
"
|
|
6451
|
-
"
|
|
6452
|
-
"
|
|
6453
|
-
"
|
|
6454
|
-
"
|
|
6455
|
-
"chargement",
|
|
6456
|
-
"indisponible",
|
|
6457
|
-
"raisonIndisponible"
|
|
6687
|
+
"ton",
|
|
6688
|
+
"epaisseur",
|
|
6689
|
+
"texteDeValeur",
|
|
6690
|
+
"avecValeur",
|
|
6691
|
+
"decompte"
|
|
6458
6692
|
]
|
|
6459
6693
|
}],
|
|
6460
6694
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
@@ -6462,93 +6696,103 @@ var StBanner = class StBanner {
|
|
|
6462
6696
|
};
|
|
6463
6697
|
i0.ɵɵngDeclareClassMetadata({
|
|
6464
6698
|
minVersion: "12.0.0",
|
|
6465
|
-
version: "22.2.
|
|
6699
|
+
version: "22.2.1",
|
|
6466
6700
|
ngImport: i0,
|
|
6467
|
-
type:
|
|
6701
|
+
type: StRouteProgress,
|
|
6468
6702
|
decorators: [{
|
|
6469
6703
|
type: Component,
|
|
6470
6704
|
args: [{
|
|
6471
|
-
selector: "st-
|
|
6705
|
+
selector: "st-route-progress",
|
|
6472
6706
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6473
|
-
imports: [
|
|
6474
|
-
providers: [{
|
|
6475
|
-
provide: REGION_VIVANTE_PARENTE,
|
|
6476
|
-
useValue: true
|
|
6477
|
-
}],
|
|
6707
|
+
imports: [StProgress],
|
|
6478
6708
|
host: {
|
|
6479
|
-
class: "st-
|
|
6480
|
-
"[attr.data-
|
|
6481
|
-
"[attr.data-forme]": "forme()",
|
|
6482
|
-
"[attr.role]": "roleLu()",
|
|
6483
|
-
"[attr.aria-labelledby]": "roleLu() !== null && titre() !== null ? idDuTitre() : null"
|
|
6709
|
+
class: "st-route-progress",
|
|
6710
|
+
"[attr.data-visible]": "visible() ? \"\" : null"
|
|
6484
6711
|
},
|
|
6485
|
-
template: "
|
|
6486
|
-
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{
|
|
6712
|
+
template: "@if (visible()) {\n <st-progress class=\"st-route-progress__barre\" epaisseur=\"route\" [etiquette]=\"etiquetteLue()\" />\n}\n",
|
|
6713
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{position:relative;z-index:var(--st-plan-entete);display:block;block-size:var(--st-epaisseur-moyenne);margin-block-start:calc(-1 * var(--st-epaisseur-moyenne));pointer-events:none}:host([data-visible]){background:var(--st-couleur-surface-enfoncee)}.st-route-progress__barre{display:block}@media print{:host{display:none}}\n"]
|
|
6487
6714
|
}]
|
|
6488
6715
|
}],
|
|
6489
6716
|
propDecorators: {
|
|
6490
|
-
|
|
6491
|
-
type: i0.Input,
|
|
6492
|
-
args: [{
|
|
6493
|
-
isSignal: true,
|
|
6494
|
-
alias: "ton",
|
|
6495
|
-
required: false
|
|
6496
|
-
}]
|
|
6497
|
-
}],
|
|
6498
|
-
message: [{
|
|
6499
|
-
type: i0.Input,
|
|
6500
|
-
args: [{
|
|
6501
|
-
isSignal: true,
|
|
6502
|
-
alias: "message",
|
|
6503
|
-
required: true
|
|
6504
|
-
}]
|
|
6505
|
-
}],
|
|
6506
|
-
titre: [{
|
|
6507
|
-
type: i0.Input,
|
|
6508
|
-
args: [{
|
|
6509
|
-
isSignal: true,
|
|
6510
|
-
alias: "titre",
|
|
6511
|
-
required: false
|
|
6512
|
-
}]
|
|
6513
|
-
}],
|
|
6514
|
-
forme: [{
|
|
6515
|
-
type: i0.Input,
|
|
6516
|
-
args: [{
|
|
6517
|
-
isSignal: true,
|
|
6518
|
-
alias: "forme",
|
|
6519
|
-
required: false
|
|
6520
|
-
}]
|
|
6521
|
-
}],
|
|
6522
|
-
identifiant: [{
|
|
6717
|
+
actif: [{
|
|
6523
6718
|
type: i0.Input,
|
|
6524
6719
|
args: [{
|
|
6525
6720
|
isSignal: true,
|
|
6526
|
-
alias: "
|
|
6721
|
+
alias: "actif",
|
|
6527
6722
|
required: false
|
|
6528
6723
|
}]
|
|
6529
6724
|
}],
|
|
6530
|
-
|
|
6725
|
+
delaiMs: [{
|
|
6531
6726
|
type: i0.Input,
|
|
6532
6727
|
args: [{
|
|
6533
6728
|
isSignal: true,
|
|
6534
|
-
alias: "
|
|
6729
|
+
alias: "delaiMs",
|
|
6535
6730
|
required: false
|
|
6536
6731
|
}]
|
|
6537
6732
|
}],
|
|
6538
|
-
|
|
6733
|
+
etiquette: [{
|
|
6539
6734
|
type: i0.Input,
|
|
6540
6735
|
args: [{
|
|
6541
6736
|
isSignal: true,
|
|
6542
|
-
alias: "
|
|
6737
|
+
alias: "etiquette",
|
|
6543
6738
|
required: false
|
|
6544
6739
|
}]
|
|
6545
|
-
}],
|
|
6546
|
-
ferme: [{
|
|
6547
|
-
type: i0.Output,
|
|
6548
|
-
args: ["ferme"]
|
|
6549
6740
|
}]
|
|
6550
6741
|
}
|
|
6551
6742
|
});
|
|
6743
|
+
var StAuthShell = class StAuthShell {
|
|
6744
|
+
libelles = inject(ST_LIBELLES);
|
|
6745
|
+
identifiantDuContenu = IDENTIFIANT_DU_CONTENU_PRINCIPAL;
|
|
6746
|
+
liensDuPied = computed(() => this.libelles().liensDuPied, ...ngDevMode ? [{ debugName: "liensDuPied" }] : /* istanbul ignore next */ []);
|
|
6747
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
6748
|
+
minVersion: "12.0.0",
|
|
6749
|
+
version: "22.2.1",
|
|
6750
|
+
ngImport: i0,
|
|
6751
|
+
type: StAuthShell,
|
|
6752
|
+
deps: [],
|
|
6753
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
6754
|
+
});
|
|
6755
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
6756
|
+
minVersion: "14.0.0",
|
|
6757
|
+
version: "22.2.1",
|
|
6758
|
+
type: StAuthShell,
|
|
6759
|
+
isStandalone: true,
|
|
6760
|
+
selector: "st-auth-shell",
|
|
6761
|
+
host: { classAttribute: "st-auth-shell" },
|
|
6762
|
+
ngImport: i0,
|
|
6763
|
+
template: "<st-skip-link [cible]=\"identifiantDuContenu\" />\n\n<header class=\"st-auth-shell__entete\">\n <ng-content select=\"[entete]\" />\n</header>\n\n<main class=\"st-auth-shell__contenu\" [id]=\"identifiantDuContenu\">\n <div class=\"st-auth-shell__carte\">\n <div class=\"st-auth-shell__banniere\">\n <ng-content select=\"[banniere]\" />\n </div>\n <ng-content />\n </div>\n</main>\n\n<footer class=\"st-auth-shell__pied\">\n <nav class=\"st-auth-shell__liens\" [attr.aria-label]=\"liensDuPied()\">\n <ng-content select=\"[pied]\" />\n </nav>\n <span class=\"st-auth-shell__version\"><ng-content select=\"[version]\" /></span>\n</footer>\n",
|
|
6764
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{position:relative;display:flex;flex-direction:column;min-block-size:100vh;min-block-size:100dvh;padding-block:env(safe-area-inset-top,0) env(safe-area-inset-bottom,0);padding-inline:env(safe-area-inset-left,0) env(safe-area-inset-right,0);color:var(--st-couleur-texte);background:var(--st-couleur-surface);isolation:isolate}@media(min-width:48rem){:host{background:var(--st-couleur-surface-conteneur-bas)}:host:before{position:absolute;inset:0;pointer-events:none;content:\"\";background-image:linear-gradient(to bottom right,color-mix(in srgb,var(--st-couleur-primaire-discret) 60%,transparent),transparent 50%)}}.st-auth-shell__entete,.st-auth-shell__contenu,.st-auth-shell__pied{position:relative}.st-auth-shell__entete{display:flex;flex-wrap:wrap;gap:var(--st-espacement-3);align-items:center;justify-content:space-between;min-block-size:var(--st-hauteur-commande-defaut);padding:var(--st-espacement-3) var(--st-espacement-4)}.st-auth-shell__entete:empty,.st-auth-shell__banniere:empty,.st-auth-shell__liens:empty,.st-auth-shell__version:empty,.st-auth-shell__pied:not(:has(>:not(:empty))){display:none}.st-auth-shell__contenu{box-sizing:border-box;flex:1 1 auto;inline-size:min(100%,var(--st-largeur-carte-auth));margin-inline:auto;padding:var(--st-espacement-6) var(--st-espacement-4)}.st-auth-shell__contenu:focus-visible{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:calc(-1 * var(--st-focus-epaisseur))}@media(min-width:48rem){.st-auth-shell__contenu{padding:var(--st-espacement-12) 0 var(--st-espacement-6)}}.st-auth-shell__carte{display:flex;flex-direction:column;gap:var(--st-espacement-4)}@media(min-width:48rem){.st-auth-shell__carte{padding:var(--st-espacement-6);background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid light-dark(transparent,var(--st-couleur-bordure));border-radius:var(--st-rayon-lg);box-shadow:var(--st-ombre-survol)}}.st-auth-shell__pied{display:flex;flex-direction:column;gap:var(--st-espacement-1);align-items:center;padding:var(--st-espacement-4);font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}.st-auth-shell__liens{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2) var(--st-espacement-4);align-items:center;justify-content:center}.st-auth-shell__version{font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs);font-variant-numeric:var(--st-chiffres-alignes)}@media(forced-colors:active){:host:before{display:none}}@media print{:host:before,.st-auth-shell__entete,.st-auth-shell__pied{display:none}.st-auth-shell__carte{box-shadow:none}}\n"],
|
|
6765
|
+
dependencies: [{
|
|
6766
|
+
kind: "component",
|
|
6767
|
+
type: StSkipLink,
|
|
6768
|
+
selector: "st-skip-link",
|
|
6769
|
+
inputs: [
|
|
6770
|
+
"cible",
|
|
6771
|
+
"libelle",
|
|
6772
|
+
"secondeCible",
|
|
6773
|
+
"secondeEnPremier"
|
|
6774
|
+
]
|
|
6775
|
+
}],
|
|
6776
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
6777
|
+
});
|
|
6778
|
+
};
|
|
6779
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
6780
|
+
minVersion: "12.0.0",
|
|
6781
|
+
version: "22.2.1",
|
|
6782
|
+
ngImport: i0,
|
|
6783
|
+
type: StAuthShell,
|
|
6784
|
+
decorators: [{
|
|
6785
|
+
type: Component,
|
|
6786
|
+
args: [{
|
|
6787
|
+
selector: "st-auth-shell",
|
|
6788
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6789
|
+
imports: [StSkipLink],
|
|
6790
|
+
host: { class: "st-auth-shell" },
|
|
6791
|
+
template: "<st-skip-link [cible]=\"identifiantDuContenu\" />\n\n<header class=\"st-auth-shell__entete\">\n <ng-content select=\"[entete]\" />\n</header>\n\n<main class=\"st-auth-shell__contenu\" [id]=\"identifiantDuContenu\">\n <div class=\"st-auth-shell__carte\">\n <div class=\"st-auth-shell__banniere\">\n <ng-content select=\"[banniere]\" />\n </div>\n <ng-content />\n </div>\n</main>\n\n<footer class=\"st-auth-shell__pied\">\n <nav class=\"st-auth-shell__liens\" [attr.aria-label]=\"liensDuPied()\">\n <ng-content select=\"[pied]\" />\n </nav>\n <span class=\"st-auth-shell__version\"><ng-content select=\"[version]\" /></span>\n</footer>\n",
|
|
6792
|
+
styles: [".st-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:host([hidden]){display:none!important}:host{position:relative;display:flex;flex-direction:column;min-block-size:100vh;min-block-size:100dvh;padding-block:env(safe-area-inset-top,0) env(safe-area-inset-bottom,0);padding-inline:env(safe-area-inset-left,0) env(safe-area-inset-right,0);color:var(--st-couleur-texte);background:var(--st-couleur-surface);isolation:isolate}@media(min-width:48rem){:host{background:var(--st-couleur-surface-conteneur-bas)}:host:before{position:absolute;inset:0;pointer-events:none;content:\"\";background-image:linear-gradient(to bottom right,color-mix(in srgb,var(--st-couleur-primaire-discret) 60%,transparent),transparent 50%)}}.st-auth-shell__entete,.st-auth-shell__contenu,.st-auth-shell__pied{position:relative}.st-auth-shell__entete{display:flex;flex-wrap:wrap;gap:var(--st-espacement-3);align-items:center;justify-content:space-between;min-block-size:var(--st-hauteur-commande-defaut);padding:var(--st-espacement-3) var(--st-espacement-4)}.st-auth-shell__entete:empty,.st-auth-shell__banniere:empty,.st-auth-shell__liens:empty,.st-auth-shell__version:empty,.st-auth-shell__pied:not(:has(>:not(:empty))){display:none}.st-auth-shell__contenu{box-sizing:border-box;flex:1 1 auto;inline-size:min(100%,var(--st-largeur-carte-auth));margin-inline:auto;padding:var(--st-espacement-6) var(--st-espacement-4)}.st-auth-shell__contenu:focus-visible{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:calc(-1 * var(--st-focus-epaisseur))}@media(min-width:48rem){.st-auth-shell__contenu{padding:var(--st-espacement-12) 0 var(--st-espacement-6)}}.st-auth-shell__carte{display:flex;flex-direction:column;gap:var(--st-espacement-4)}@media(min-width:48rem){.st-auth-shell__carte{padding:var(--st-espacement-6);background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid light-dark(transparent,var(--st-couleur-bordure));border-radius:var(--st-rayon-lg);box-shadow:var(--st-ombre-survol)}}.st-auth-shell__pied{display:flex;flex-direction:column;gap:var(--st-espacement-1);align-items:center;padding:var(--st-espacement-4);font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}.st-auth-shell__liens{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2) var(--st-espacement-4);align-items:center;justify-content:center}.st-auth-shell__version{font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs);font-variant-numeric:var(--st-chiffres-alignes)}@media(forced-colors:active){:host:before{display:none}}@media print{:host:before,.st-auth-shell__entete,.st-auth-shell__pied{display:none}.st-auth-shell__carte{box-shadow:none}}\n"]
|
|
6793
|
+
}]
|
|
6794
|
+
}]
|
|
6795
|
+
});
|
|
6552
6796
|
const ORDRE_DES_CHOIX = [
|
|
6553
6797
|
"clair",
|
|
6554
6798
|
"systeme",
|
|
@@ -6561,19 +6805,19 @@ const ICONES_DE_THEME = {
|
|
|
6561
6805
|
};
|
|
6562
6806
|
var StThemeToggle = class StThemeToggle {
|
|
6563
6807
|
libelles = inject(ST_LIBELLES);
|
|
6564
|
-
choix = input.required(...ngDevMode ? [{ debugName: "choix" }] :
|
|
6808
|
+
choix = input.required(...ngDevMode ? [{ debugName: "choix" }] : /* istanbul ignore next */ []);
|
|
6565
6809
|
legendeVisible = input(false, {
|
|
6566
|
-
...ngDevMode ? { debugName: "legendeVisible" } :
|
|
6810
|
+
...ngDevMode ? { debugName: "legendeVisible" } : /* istanbul ignore next */ {},
|
|
6567
6811
|
transform: booleanAttribute
|
|
6568
6812
|
});
|
|
6569
6813
|
compact = input(false, {
|
|
6570
|
-
...ngDevMode ? { debugName: "compact" } :
|
|
6814
|
+
...ngDevMode ? { debugName: "compact" } : /* istanbul ignore next */ {},
|
|
6571
6815
|
transform: booleanAttribute
|
|
6572
6816
|
});
|
|
6573
6817
|
choisi = output();
|
|
6574
6818
|
injecteur = inject(Injector);
|
|
6575
|
-
affiche = linkedSignal(() => this.choix(), ...ngDevMode ? [{ debugName: "affiche" }] :
|
|
6576
|
-
legende = computed(() => this.libelles().theme, ...ngDevMode ? [{ debugName: "legende" }] :
|
|
6819
|
+
affiche = linkedSignal(() => this.choix(), ...ngDevMode ? [{ debugName: "affiche" }] : /* istanbul ignore next */ []);
|
|
6820
|
+
legende = computed(() => this.libelles().theme, ...ngDevMode ? [{ debugName: "legende" }] : /* istanbul ignore next */ []);
|
|
6577
6821
|
options = computed(() => {
|
|
6578
6822
|
const libelles = this.libelles();
|
|
6579
6823
|
const texte = {
|
|
@@ -6586,7 +6830,7 @@ var StThemeToggle = class StThemeToggle {
|
|
|
6586
6830
|
libelle: texte[valeur],
|
|
6587
6831
|
icone: ICONES_DE_THEME[valeur]
|
|
6588
6832
|
}));
|
|
6589
|
-
}, ...ngDevMode ? [{ debugName: "options" }] :
|
|
6833
|
+
}, ...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
|
|
6590
6834
|
choisir(valeur) {
|
|
6591
6835
|
const choix = valeur;
|
|
6592
6836
|
this.affiche.set(choix);
|
|
@@ -6597,7 +6841,7 @@ var StThemeToggle = class StThemeToggle {
|
|
|
6597
6841
|
}
|
|
6598
6842
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
6599
6843
|
minVersion: "12.0.0",
|
|
6600
|
-
version: "22.2.
|
|
6844
|
+
version: "22.2.1",
|
|
6601
6845
|
ngImport: i0,
|
|
6602
6846
|
type: StThemeToggle,
|
|
6603
6847
|
deps: [],
|
|
@@ -6605,7 +6849,7 @@ var StThemeToggle = class StThemeToggle {
|
|
|
6605
6849
|
});
|
|
6606
6850
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
6607
6851
|
minVersion: "17.1.0",
|
|
6608
|
-
version: "22.2.
|
|
6852
|
+
version: "22.2.1",
|
|
6609
6853
|
type: StThemeToggle,
|
|
6610
6854
|
isStandalone: true,
|
|
6611
6855
|
selector: "st-theme-toggle",
|
|
@@ -6669,7 +6913,7 @@ var StThemeToggle = class StThemeToggle {
|
|
|
6669
6913
|
};
|
|
6670
6914
|
i0.ɵɵngDeclareClassMetadata({
|
|
6671
6915
|
minVersion: "12.0.0",
|
|
6672
|
-
version: "22.2.
|
|
6916
|
+
version: "22.2.1",
|
|
6673
6917
|
ngImport: i0,
|
|
6674
6918
|
type: StThemeToggle,
|
|
6675
6919
|
decorators: [{
|
|
@@ -6724,20 +6968,20 @@ const ENDONYMES = {
|
|
|
6724
6968
|
};
|
|
6725
6969
|
var StLangSwitch = class StLangSwitch {
|
|
6726
6970
|
libelles = inject(ST_LIBELLES);
|
|
6727
|
-
courante = input.required(...ngDevMode ? [{ debugName: "courante" }] :
|
|
6728
|
-
langues = input(LANGUES, ...ngDevMode ? [{ debugName: "langues" }] :
|
|
6971
|
+
courante = input.required(...ngDevMode ? [{ debugName: "courante" }] : /* istanbul ignore next */ []);
|
|
6972
|
+
langues = input(LANGUES, ...ngDevMode ? [{ debugName: "langues" }] : /* istanbul ignore next */ []);
|
|
6729
6973
|
legendeVisible = input(false, {
|
|
6730
|
-
...ngDevMode ? { debugName: "legendeVisible" } :
|
|
6974
|
+
...ngDevMode ? { debugName: "legendeVisible" } : /* istanbul ignore next */ {},
|
|
6731
6975
|
transform: booleanAttribute
|
|
6732
6976
|
});
|
|
6733
6977
|
compact = input(false, {
|
|
6734
|
-
...ngDevMode ? { debugName: "compact" } :
|
|
6978
|
+
...ngDevMode ? { debugName: "compact" } : /* istanbul ignore next */ {},
|
|
6735
6979
|
transform: booleanAttribute
|
|
6736
6980
|
});
|
|
6737
6981
|
choisie = output();
|
|
6738
6982
|
injecteur = inject(Injector);
|
|
6739
|
-
affiche = linkedSignal(() => this.courante(), ...ngDevMode ? [{ debugName: "affiche" }] :
|
|
6740
|
-
legende = computed(() => this.libelles().langue, ...ngDevMode ? [{ debugName: "legende" }] :
|
|
6983
|
+
affiche = linkedSignal(() => this.courante(), ...ngDevMode ? [{ debugName: "affiche" }] : /* istanbul ignore next */ []);
|
|
6984
|
+
legende = computed(() => this.libelles().langue, ...ngDevMode ? [{ debugName: "legende" }] : /* istanbul ignore next */ []);
|
|
6741
6985
|
options = computed(() => this.langues().map((code) => this.compact() ? {
|
|
6742
6986
|
valeur: code,
|
|
6743
6987
|
libelle: code.toUpperCase(),
|
|
@@ -6747,7 +6991,7 @@ var StLangSwitch = class StLangSwitch {
|
|
|
6747
6991
|
valeur: code,
|
|
6748
6992
|
libelle: ENDONYMES[code],
|
|
6749
6993
|
lang: code
|
|
6750
|
-
}), ...ngDevMode ? [{ debugName: "options" }] :
|
|
6994
|
+
}), ...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
|
|
6751
6995
|
choisir(code) {
|
|
6752
6996
|
const langue = code;
|
|
6753
6997
|
this.affiche.set(langue);
|
|
@@ -6758,7 +7002,7 @@ var StLangSwitch = class StLangSwitch {
|
|
|
6758
7002
|
}
|
|
6759
7003
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
6760
7004
|
minVersion: "12.0.0",
|
|
6761
|
-
version: "22.2.
|
|
7005
|
+
version: "22.2.1",
|
|
6762
7006
|
ngImport: i0,
|
|
6763
7007
|
type: StLangSwitch,
|
|
6764
7008
|
deps: [],
|
|
@@ -6766,7 +7010,7 @@ var StLangSwitch = class StLangSwitch {
|
|
|
6766
7010
|
});
|
|
6767
7011
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
6768
7012
|
minVersion: "17.1.0",
|
|
6769
|
-
version: "22.2.
|
|
7013
|
+
version: "22.2.1",
|
|
6770
7014
|
type: StLangSwitch,
|
|
6771
7015
|
isStandalone: true,
|
|
6772
7016
|
selector: "st-lang-switch",
|
|
@@ -6837,7 +7081,7 @@ var StLangSwitch = class StLangSwitch {
|
|
|
6837
7081
|
};
|
|
6838
7082
|
i0.ɵɵngDeclareClassMetadata({
|
|
6839
7083
|
minVersion: "12.0.0",
|
|
6840
|
-
version: "22.2.
|
|
7084
|
+
version: "22.2.1",
|
|
6841
7085
|
ngImport: i0,
|
|
6842
7086
|
type: StLangSwitch,
|
|
6843
7087
|
decorators: [{
|
|
@@ -6896,15 +7140,15 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
6896
7140
|
});
|
|
6897
7141
|
var StPrivacyToggle = class StPrivacyToggle {
|
|
6898
7142
|
libelles = inject(ST_LIBELLES);
|
|
6899
|
-
masque = model(false, ...ngDevMode ? [{ debugName: "masque" }] :
|
|
6900
|
-
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] :
|
|
7143
|
+
masque = model(false, ...ngDevMode ? [{ debugName: "masque" }] : /* istanbul ignore next */ []);
|
|
7144
|
+
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
6901
7145
|
avecLibelle = input(false, {
|
|
6902
|
-
...ngDevMode ? { debugName: "avecLibelle" } :
|
|
7146
|
+
...ngDevMode ? { debugName: "avecLibelle" } : /* istanbul ignore next */ {},
|
|
6903
7147
|
transform: booleanAttribute
|
|
6904
7148
|
});
|
|
6905
|
-
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] :
|
|
7149
|
+
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
6906
7150
|
annonce = new AnnonceLocale(inject(DestroyRef));
|
|
6907
|
-
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().masquerLesMontants, ...ngDevMode ? [{ debugName: "etiquetteLue" }] :
|
|
7151
|
+
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().masquerLesMontants, ...ngDevMode ? [{ debugName: "etiquetteLue" }] : /* istanbul ignore next */ []);
|
|
6908
7152
|
basculer() {
|
|
6909
7153
|
const masque = !this.masque();
|
|
6910
7154
|
this.masque.set(masque);
|
|
@@ -6913,7 +7157,7 @@ var StPrivacyToggle = class StPrivacyToggle {
|
|
|
6913
7157
|
}
|
|
6914
7158
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
6915
7159
|
minVersion: "12.0.0",
|
|
6916
|
-
version: "22.2.
|
|
7160
|
+
version: "22.2.1",
|
|
6917
7161
|
ngImport: i0,
|
|
6918
7162
|
type: StPrivacyToggle,
|
|
6919
7163
|
deps: [],
|
|
@@ -6921,7 +7165,7 @@ var StPrivacyToggle = class StPrivacyToggle {
|
|
|
6921
7165
|
});
|
|
6922
7166
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
6923
7167
|
minVersion: "17.0.0",
|
|
6924
|
-
version: "22.2.
|
|
7168
|
+
version: "22.2.1",
|
|
6925
7169
|
type: StPrivacyToggle,
|
|
6926
7170
|
isStandalone: true,
|
|
6927
7171
|
selector: "st-privacy-toggle",
|
|
@@ -6996,7 +7240,7 @@ var StPrivacyToggle = class StPrivacyToggle {
|
|
|
6996
7240
|
};
|
|
6997
7241
|
i0.ɵɵngDeclareClassMetadata({
|
|
6998
7242
|
minVersion: "12.0.0",
|
|
6999
|
-
version: "22.2.
|
|
7243
|
+
version: "22.2.1",
|
|
7000
7244
|
ngImport: i0,
|
|
7001
7245
|
type: StPrivacyToggle,
|
|
7002
7246
|
decorators: [{
|
|
@@ -7049,36 +7293,36 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7049
7293
|
}
|
|
7050
7294
|
});
|
|
7051
7295
|
var StLogo = class StLogo {
|
|
7052
|
-
nom = input.required(...ngDevMode ? [{ debugName: "nom" }] :
|
|
7053
|
-
clair = input(null, ...ngDevMode ? [{ debugName: "clair" }] :
|
|
7054
|
-
sousTitre = input(null, ...ngDevMode ? [{ debugName: "sousTitre" }] :
|
|
7055
|
-
icone = input("banque", ...ngDevMode ? [{ debugName: "icone" }] :
|
|
7056
|
-
sombre = input(null, ...ngDevMode ? [{ debugName: "sombre" }] :
|
|
7057
|
-
monochrome = input(null, ...ngDevMode ? [{ debugName: "monochrome" }] :
|
|
7296
|
+
nom = input.required(...ngDevMode ? [{ debugName: "nom" }] : /* istanbul ignore next */ []);
|
|
7297
|
+
clair = input(null, ...ngDevMode ? [{ debugName: "clair" }] : /* istanbul ignore next */ []);
|
|
7298
|
+
sousTitre = input(null, ...ngDevMode ? [{ debugName: "sousTitre" }] : /* istanbul ignore next */ []);
|
|
7299
|
+
icone = input("banque", ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
7300
|
+
sombre = input(null, ...ngDevMode ? [{ debugName: "sombre" }] : /* istanbul ignore next */ []);
|
|
7301
|
+
monochrome = input(null, ...ngDevMode ? [{ debugName: "monochrome" }] : /* istanbul ignore next */ []);
|
|
7058
7302
|
decoratif = input(false, {
|
|
7059
|
-
...ngDevMode ? { debugName: "decoratif" } :
|
|
7303
|
+
...ngDevMode ? { debugName: "decoratif" } : /* istanbul ignore next */ {},
|
|
7060
7304
|
transform: booleanAttribute
|
|
7061
7305
|
});
|
|
7062
|
-
hauteur = input("2rem", ...ngDevMode ? [{ debugName: "hauteur" }] :
|
|
7306
|
+
hauteur = input("2rem", ...ngDevMode ? [{ debugName: "hauteur" }] : /* istanbul ignore next */ []);
|
|
7063
7307
|
ratio = input(null, {
|
|
7064
|
-
...ngDevMode ? { debugName: "ratio" } :
|
|
7308
|
+
...ngDevMode ? { debugName: "ratio" } : /* istanbul ignore next */ {},
|
|
7065
7309
|
transform: (valeur) => valeur === null || valeur === void 0 || valeur === "" ? null : numberAttribute(valeur, NaN)
|
|
7066
7310
|
});
|
|
7067
7311
|
ratioValide = computed(() => {
|
|
7068
7312
|
const ratio = this.ratio();
|
|
7069
7313
|
return ratio === null || !Number.isFinite(ratio) || ratio <= 0 ? null : ratio;
|
|
7070
|
-
}, ...ngDevMode ? [{ debugName: "ratioValide" }] :
|
|
7314
|
+
}, ...ngDevMode ? [{ debugName: "ratioValide" }] : /* istanbul ignore next */ []);
|
|
7071
7315
|
largeurIntrinseque = computed(() => {
|
|
7072
7316
|
const ratio = this.ratioValide();
|
|
7073
7317
|
return ratio === null ? null : Math.round(ratio * 100);
|
|
7074
|
-
}, ...ngDevMode ? [{ debugName: "largeurIntrinseque" }] :
|
|
7075
|
-
hauteurIntrinseque = computed(() => this.largeurIntrinseque() === null ? null : 100, ...ngDevMode ? [{ debugName: "hauteurIntrinseque" }] :
|
|
7318
|
+
}, ...ngDevMode ? [{ debugName: "largeurIntrinseque" }] : /* istanbul ignore next */ []);
|
|
7319
|
+
hauteurIntrinseque = computed(() => this.largeurIntrinseque() === null ? null : 100, ...ngDevMode ? [{ debugName: "hauteurIntrinseque" }] : /* istanbul ignore next */ []);
|
|
7076
7320
|
hote = inject(ElementRef).nativeElement;
|
|
7077
7321
|
document = inject(DOCUMENT);
|
|
7078
7322
|
sombreAuRendu = this.themeAuRenduEstSombre();
|
|
7079
|
-
texteAlternatif = computed(() => this.decoratif() ? "" : this.nom(), ...ngDevMode ? [{ debugName: "texteAlternatif" }] :
|
|
7080
|
-
sourceSombre = computed(() => this.sombre() ?? this.clair(), ...ngDevMode ? [{ debugName: "sourceSombre" }] :
|
|
7081
|
-
textuel = computed(() => this.clair() === null, ...ngDevMode ? [{ debugName: "textuel" }] :
|
|
7323
|
+
texteAlternatif = computed(() => this.decoratif() ? "" : this.nom(), ...ngDevMode ? [{ debugName: "texteAlternatif" }] : /* istanbul ignore next */ []);
|
|
7324
|
+
sourceSombre = computed(() => this.sombre() ?? this.clair(), ...ngDevMode ? [{ debugName: "sourceSombre" }] : /* istanbul ignore next */ []);
|
|
7325
|
+
textuel = computed(() => this.clair() === null, ...ngDevMode ? [{ debugName: "textuel" }] : /* istanbul ignore next */ []);
|
|
7082
7326
|
themeAuRenduEstSombre() {
|
|
7083
7327
|
const theme = (this.hote.closest("[data-theme]") ?? this.document.documentElement.closest("[data-theme]"))?.getAttribute("data-theme");
|
|
7084
7328
|
if (theme === "sombre") return true;
|
|
@@ -7089,7 +7333,7 @@ var StLogo = class StLogo {
|
|
|
7089
7333
|
}
|
|
7090
7334
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
7091
7335
|
minVersion: "12.0.0",
|
|
7092
|
-
version: "22.2.
|
|
7336
|
+
version: "22.2.1",
|
|
7093
7337
|
ngImport: i0,
|
|
7094
7338
|
type: StLogo,
|
|
7095
7339
|
deps: [],
|
|
@@ -7097,7 +7341,7 @@ var StLogo = class StLogo {
|
|
|
7097
7341
|
});
|
|
7098
7342
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
7099
7343
|
minVersion: "17.0.0",
|
|
7100
|
-
version: "22.2.
|
|
7344
|
+
version: "22.2.1",
|
|
7101
7345
|
type: StLogo,
|
|
7102
7346
|
isStandalone: true,
|
|
7103
7347
|
selector: "st-logo",
|
|
@@ -7199,7 +7443,7 @@ var StLogo = class StLogo {
|
|
|
7199
7443
|
};
|
|
7200
7444
|
i0.ɵɵngDeclareClassMetadata({
|
|
7201
7445
|
minVersion: "12.0.0",
|
|
7202
|
-
version: "22.2.
|
|
7446
|
+
version: "22.2.1",
|
|
7203
7447
|
ngImport: i0,
|
|
7204
7448
|
type: StLogo,
|
|
7205
7449
|
decorators: [{
|
|
@@ -7294,6 +7538,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7294
7538
|
}]
|
|
7295
7539
|
}
|
|
7296
7540
|
});
|
|
7297
|
-
export { AnnonceLocale, CHEMIN_DU_SPRITE, ETATS_DE_BLOC, FUSEAU_PAR_DEFAUT, ICONES_DE_TON, IDENTIFIANT_DU_CONTENU_PRINCIPAL, LIBELLES_FR, NOMS_DICONE, NOMS_DICONE_DEPRECIES, NOMS_DICONE_MARQUE, NOMS_DICONE_MIROITEE, NOMS_DICONE_PLEINE, PROFILS_D_ERREUR, PROPRIETE_HAUTEUR_ENTETE, PROPRIETE_HAUTEUR_ENTETE_SEUL, REGION_VIVANTE_PARENTE, ST_LIBELLES, ST_LISTES_D_ADRESSES, ST_LOCALE, ST_MONTANTS_MASQUES, ST_RECHERCHE_D_ADRESSES, StAppShell, StAuthShell, StAvatar, StBanner, StBreadcrumb, StButton, StCard, StCopyButton, StEmpty, StError, StFooter, StHeader, StHeading, StIcon, StIconButton, StIdentifiants, StInlineMessage, StLangSwitch, StLienEtendu, StLink, StLogo, StNavLink, StOfflineBanner, StPageHeader, StPageTitle, StPrivacyToggle, StProgress, StRouteProgress, StSegmentedControl, StSkipLink, StSpinner, StThemeToggle, StTimer, affichageDiffere, catalogueDuPointDEntree, copierDansLePressePapiers, decrireLErreur, dureeDuJeton, estIconeMetier, fermerApresLaSortie, fonduDEntree, fonduDeSortie, formaterDuree, fournirCheminDuSprite, iconeMetier, jetonsDeLAttribut, partagerDesJetons, partagerLaValeur, plusLongueTransition, pressePapiersDisponible, provideStarterUi, resoudreLeNomDIcone, verifierLeCheminDuSprite };
|
|
7541
|
+
export { ATTRIBUT_D_ENVIRONNEMENT, AnnonceLocale, CHEMIN_DU_SPRITE, ETATS_DE_BLOC, FUSEAU_PAR_DEFAUT, ICONES_DE_TON, IDENTIFIANT_DU_CONTENU_PRINCIPAL, LIBELLES_FR, NOMS_DICONE, NOMS_DICONE_DEPRECIES, NOMS_DICONE_MARQUE, NOMS_DICONE_MIROITEE, NOMS_DICONE_PLEINE, PROFILS_D_ERREUR, PROPRIETE_HAUTEUR_ACTION, PROPRIETE_HAUTEUR_ENTETE, PROPRIETE_HAUTEUR_ENTETE_SEUL, REGION_VIVANTE_PARENTE, ST_LIBELLES, ST_LISTES_D_ADRESSES, ST_LOCALE, ST_MONTANTS_MASQUES, ST_RECHERCHE_D_ADRESSES, StAppShell, StAuthShell, StAvatar, StBanner, StBreadcrumb, StButton, StCard, StCopyButton, StEmpty, StError, StFooter, StHeader, StHeading, StIcon, StIconButton, StIdentifiants, StInlineMessage, StLangSwitch, StLienEtendu, StLink, StLogo, StNavLink, StOfflineBanner, StPageHeader, StPageTitle, StPrivacyToggle, StProgress, StRouteProgress, StSegmentedControl, StSkipLink, StSpinner, StThemeToggle, StTimer, affichageDiffere, catalogueDuPointDEntree, copierDansLePressePapiers, decrireLErreur, dureeDuJeton, estIconeMetier, fermerApresLaSortie, fonduDEntree, fonduDeSortie, formaterDuree, fournirCheminDuSprite, iconeMetier, jetonsDeLAttribut, partagerDesJetons, partagerLaValeur, plusLongueTransition, pressePapiersDisponible, provideStarterUi, resoudreLeNomDIcone, verifierLeCheminDuSprite };
|
|
7298
7542
|
|
|
7299
7543
|
//# sourceMappingURL=starterlib-ui.mjs.map
|