@starterlib/ui 0.10.14 → 0.11.1
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/README.md +140 -33
- package/assets/icones/catalogue.json +199 -4
- package/assets/icones/sprite.svg +14 -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 +218 -218
- 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 +12 -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 +201 -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 +632 -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 +693 -515
- 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 +17 -17
- package/fesm2022/starterlib-ui-virtuel.mjs.map +1 -1
- package/fesm2022/starterlib-ui.mjs +1290 -938
- package/fesm2022/starterlib-ui.mjs.map +1 -1
- package/package.json +27 -3
- package/styles/amorce.css +304 -2
- package/types/starterlib-ui-donnees.d.ts +231 -5
- package/types/starterlib-ui-force.d.ts +19 -0
- 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 +142 -11
- package/types/starterlib-ui-selection.d.ts +1 -1
- package/types/starterlib-ui-surfaces.d.ts +10 -9
- package/types/starterlib-ui.d.ts +294 -32
|
@@ -125,10 +125,21 @@ 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}.`,
|
|
135
|
+
forceEnAttente: "en attente",
|
|
128
136
|
revelerPendant: (duree) => `R\u00e9v\u00e9ler ${duree}`,
|
|
129
137
|
rechercher: "Rechercher",
|
|
130
138
|
effacerLaRecherche: "Effacer la recherche",
|
|
131
139
|
fermerLeMessage: "Fermer le message",
|
|
140
|
+
environnementDEssai: "Données fictives",
|
|
141
|
+
environnementDEssaiMessage: "Les données affichées sont des exemples\xA0; aucune opération n’a d’effet réel.",
|
|
142
|
+
finDeLEnvironnementDEssai: (mot) => `Fin\u00a0: ${mot}.`,
|
|
132
143
|
regionDesMessages: "Messages",
|
|
133
144
|
ignorerLeMessage: "Ignorer",
|
|
134
145
|
actionDisponible: (libelle) => `Action disponible\u00a0: ${libelle}`,
|
|
@@ -137,6 +148,7 @@ const LIBELLES_FR = {
|
|
|
137
148
|
tonInformation: "Information\xA0: ",
|
|
138
149
|
tonSucces: "Succès\xA0: ",
|
|
139
150
|
tonAvertissement: "Avertissement\xA0: ",
|
|
151
|
+
tonErreur: "Erreur\xA0: ",
|
|
140
152
|
tonDanger: "Erreur\xA0: ",
|
|
141
153
|
montantIllisible: (exemple) => `Saisissez un montant en chiffres, par exemple ${exemple}.`,
|
|
142
154
|
nombreIllisible: (exemple) => `Saisissez un nombre en chiffres, par exemple ${exemple}.`,
|
|
@@ -438,6 +450,10 @@ function fournirCheminDuSprite(chemin) {
|
|
|
438
450
|
useValue: chemin
|
|
439
451
|
};
|
|
440
452
|
}
|
|
453
|
+
const ST_MARQUE_D_OBLIGATION = new InjectionToken("st.marque-d-obligation", {
|
|
454
|
+
providedIn: "root",
|
|
455
|
+
factory: () => "mention"
|
|
456
|
+
});
|
|
441
457
|
const UI_POSEE = new InjectionToken("st.ui-posee");
|
|
442
458
|
function provideStarterUi(configuration) {
|
|
443
459
|
const fournisseurs = [
|
|
@@ -473,6 +489,10 @@ function provideStarterUi(configuration) {
|
|
|
473
489
|
provide: FUSEAU_PAR_DEFAUT,
|
|
474
490
|
useValue: configuration.fuseau
|
|
475
491
|
});
|
|
492
|
+
if (configuration.marqueDObligation !== void 0) fournisseurs.push({
|
|
493
|
+
provide: ST_MARQUE_D_OBLIGATION,
|
|
494
|
+
useValue: configuration.marqueDObligation
|
|
495
|
+
});
|
|
476
496
|
return makeEnvironmentProviders(fournisseurs);
|
|
477
497
|
}
|
|
478
498
|
function enSignal(valeur) {
|
|
@@ -499,7 +519,7 @@ var StIdentifiants = class StIdentifiants {
|
|
|
499
519
|
}
|
|
500
520
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
501
521
|
minVersion: "12.0.0",
|
|
502
|
-
version: "22.2.
|
|
522
|
+
version: "22.2.1",
|
|
503
523
|
ngImport: i0,
|
|
504
524
|
type: StIdentifiants,
|
|
505
525
|
deps: [],
|
|
@@ -507,7 +527,7 @@ var StIdentifiants = class StIdentifiants {
|
|
|
507
527
|
});
|
|
508
528
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
509
529
|
minVersion: "12.0.0",
|
|
510
|
-
version: "22.2.
|
|
530
|
+
version: "22.2.1",
|
|
511
531
|
ngImport: i0,
|
|
512
532
|
type: StIdentifiants,
|
|
513
533
|
providedIn: "root"
|
|
@@ -515,7 +535,7 @@ var StIdentifiants = class StIdentifiants {
|
|
|
515
535
|
};
|
|
516
536
|
i0.ɵɵngDeclareClassMetadata({
|
|
517
537
|
minVersion: "12.0.0",
|
|
518
|
-
version: "22.2.
|
|
538
|
+
version: "22.2.1",
|
|
519
539
|
ngImport: i0,
|
|
520
540
|
type: StIdentifiants,
|
|
521
541
|
decorators: [{
|
|
@@ -559,7 +579,7 @@ function signalerLeRepli(pointDEntree, langue, fournisseur) {
|
|
|
559
579
|
console.warn(`[${pointDEntree}] Aucun catalogue pour la langue \u00ab ${langue} \u00bb : repli sur le francais. Fournir le sien par ${fournisseur}({ ${langue}: ... }).`);
|
|
560
580
|
}
|
|
561
581
|
var AnnonceLocale = class {
|
|
562
|
-
contenu = signal("", ...ngDevMode ? [{ debugName: "contenu" }] :
|
|
582
|
+
contenu = signal("", ...ngDevMode ? [{ debugName: "contenu" }] : /* istanbul ignore next */ []);
|
|
563
583
|
minuteries = [];
|
|
564
584
|
texte = this.contenu.asReadonly();
|
|
565
585
|
constructor(destruction) {
|
|
@@ -607,7 +627,7 @@ function formaterDuree(totalEnSecondes, locale) {
|
|
|
607
627
|
return `${unite(Math.floor(total / 60), "minute")} ${unite(total % 60, "second")}`;
|
|
608
628
|
}
|
|
609
629
|
function affichageDiffere(actif, options = {}) {
|
|
610
|
-
const visible = signal(false, ...ngDevMode ? [{ debugName: "visible" }] :
|
|
630
|
+
const visible = signal(false, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
|
|
611
631
|
const tenueMinimale = options.tenue ?? tenue.affichageMinimal;
|
|
612
632
|
let attenteEnCours = null;
|
|
613
633
|
let tenueEnCours = null;
|
|
@@ -672,7 +692,7 @@ function observer(element, nom, rappel) {
|
|
|
672
692
|
}
|
|
673
693
|
function partagerLaValeur(element, nom, propre) {
|
|
674
694
|
let ecrite = element.getAttribute(nom);
|
|
675
|
-
const deLAppelant = signal(ecrite, ...ngDevMode ? [{ debugName: "deLAppelant" }] :
|
|
695
|
+
const deLAppelant = signal(ecrite, ...ngDevMode ? [{ debugName: "deLAppelant" }] : /* istanbul ignore next */ []);
|
|
676
696
|
const reconcilier = () => {
|
|
677
697
|
const courante = element.getAttribute(nom);
|
|
678
698
|
if (courante !== ecrite) deLAppelant.set(courante);
|
|
@@ -796,7 +816,9 @@ const ICONES_DE_TON = {
|
|
|
796
816
|
information: "cercle-info",
|
|
797
817
|
succes: "cercle-coche",
|
|
798
818
|
avertissement: "triangle-alerte",
|
|
799
|
-
|
|
819
|
+
erreur: "cercle-croix",
|
|
820
|
+
danger: "cercle-croix",
|
|
821
|
+
essai: "essai"
|
|
800
822
|
};
|
|
801
823
|
const ST_RECHERCHE_D_ADRESSES = new InjectionToken("st.recherche-d-adresses", {
|
|
802
824
|
providedIn: "root",
|
|
@@ -808,10 +830,13 @@ const ST_LISTES_D_ADRESSES = new InjectionToken("st.listes-d-adresses", {
|
|
|
808
830
|
});
|
|
809
831
|
const NOMS_DICONE = [
|
|
810
832
|
"accessibilite",
|
|
833
|
+
"alimentation",
|
|
834
|
+
"appareil-photo",
|
|
811
835
|
"appareils",
|
|
812
836
|
"arborescence",
|
|
813
837
|
"asterisque",
|
|
814
838
|
"badge-coche",
|
|
839
|
+
"balance",
|
|
815
840
|
"banque",
|
|
816
841
|
"batiment",
|
|
817
842
|
"bifurcation",
|
|
@@ -869,6 +894,7 @@ const NOMS_DICONE = [
|
|
|
869
894
|
"chevron-haut",
|
|
870
895
|
"chevrons-droite",
|
|
871
896
|
"chevrons-haut-bas",
|
|
897
|
+
"cible",
|
|
872
898
|
"cle",
|
|
873
899
|
"cloche",
|
|
874
900
|
"cloche-sonnerie",
|
|
@@ -878,6 +904,7 @@ const NOMS_DICONE = [
|
|
|
878
904
|
"code-qr-scanner",
|
|
879
905
|
"coffre-fort",
|
|
880
906
|
"colonnes",
|
|
907
|
+
"comparer",
|
|
881
908
|
"connexion",
|
|
882
909
|
"contraste",
|
|
883
910
|
"copie",
|
|
@@ -895,6 +922,7 @@ const NOMS_DICONE = [
|
|
|
895
922
|
"dossier-barre",
|
|
896
923
|
"dossier-ouvert",
|
|
897
924
|
"double-coche",
|
|
925
|
+
"drapeau",
|
|
898
926
|
"echange",
|
|
899
927
|
"eclair",
|
|
900
928
|
"empreinte-digitale",
|
|
@@ -903,6 +931,7 @@ const NOMS_DICONE = [
|
|
|
903
931
|
"envoyer",
|
|
904
932
|
"epaisseur-de-trait",
|
|
905
933
|
"epingle",
|
|
934
|
+
"essai",
|
|
906
935
|
"etoile",
|
|
907
936
|
"euro",
|
|
908
937
|
"fichier",
|
|
@@ -943,6 +972,7 @@ const NOMS_DICONE = [
|
|
|
943
972
|
"interdit",
|
|
944
973
|
"jalons",
|
|
945
974
|
"jauge",
|
|
975
|
+
"lecture",
|
|
946
976
|
"lien",
|
|
947
977
|
"lien-externe",
|
|
948
978
|
"lignes",
|
|
@@ -972,6 +1002,8 @@ const NOMS_DICONE = [
|
|
|
972
1002
|
"parametres",
|
|
973
1003
|
"parapluie",
|
|
974
1004
|
"parchemin",
|
|
1005
|
+
"passerelle",
|
|
1006
|
+
"pause",
|
|
975
1007
|
"pieces",
|
|
976
1008
|
"plus",
|
|
977
1009
|
"pointeur",
|
|
@@ -991,7 +1023,9 @@ const NOMS_DICONE = [
|
|
|
991
1023
|
"redemarrer",
|
|
992
1024
|
"reglages",
|
|
993
1025
|
"regle",
|
|
1026
|
+
"reseau",
|
|
994
1027
|
"reseau-jauge",
|
|
1028
|
+
"robot",
|
|
995
1029
|
"rotation-arriere",
|
|
996
1030
|
"routeur",
|
|
997
1031
|
"sablier",
|
|
@@ -1023,6 +1057,7 @@ const NOMS_DICONE = [
|
|
|
1023
1057
|
"utilisateur",
|
|
1024
1058
|
"utilisateur-crayon",
|
|
1025
1059
|
"utilisateurs",
|
|
1060
|
+
"visage",
|
|
1026
1061
|
"wifi",
|
|
1027
1062
|
"wifi-barre"
|
|
1028
1063
|
];
|
|
@@ -1043,6 +1078,7 @@ const NOMS_DICONE_PLEINE = [
|
|
|
1043
1078
|
"cercle-question",
|
|
1044
1079
|
"cloche",
|
|
1045
1080
|
"epingle",
|
|
1081
|
+
"essai",
|
|
1046
1082
|
"etoile",
|
|
1047
1083
|
"grille",
|
|
1048
1084
|
"horloge",
|
|
@@ -1114,23 +1150,23 @@ function nomCourant(nom) {
|
|
|
1114
1150
|
}
|
|
1115
1151
|
var StIcon = class StIcon {
|
|
1116
1152
|
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" }] :
|
|
1153
|
+
icone = input(null, ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
1154
|
+
nom = input(null, ...ngDevMode ? [{ debugName: "nom" }] : /* istanbul ignore next */ []);
|
|
1155
|
+
variante = input("contour", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
1156
|
+
sprite = input(null, ...ngDevMode ? [{ debugName: "sprite" }] : /* istanbul ignore next */ []);
|
|
1157
|
+
nomMetier = input(null, ...ngDevMode ? [{ debugName: "nomMetier" }] : /* istanbul ignore next */ []);
|
|
1158
|
+
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
1159
|
+
ton = input("neutre", ...ngDevMode ? [{ debugName: "ton" }] : /* istanbul ignore next */ []);
|
|
1160
|
+
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
1125
1161
|
miroir = input("auto", {
|
|
1126
|
-
...ngDevMode ? { debugName: "miroir" } :
|
|
1162
|
+
...ngDevMode ? { debugName: "miroir" } : /* istanbul ignore next */ {},
|
|
1127
1163
|
transform: (valeur) => valeur === "auto" ? "auto" : booleanAttribute(valeur)
|
|
1128
1164
|
});
|
|
1129
1165
|
estDecorative = computed(() => {
|
|
1130
1166
|
const etiquette = this.etiquette();
|
|
1131
1167
|
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
1168
|
return etiquette === null;
|
|
1133
|
-
}, ...ngDevMode ? [{ debugName: "estDecorative" }] :
|
|
1169
|
+
}, ...ngDevMode ? [{ debugName: "estDecorative" }] : /* istanbul ignore next */ []);
|
|
1134
1170
|
resolution = computed(() => {
|
|
1135
1171
|
const icone = this.icone();
|
|
1136
1172
|
if (icone !== null) {
|
|
@@ -1149,17 +1185,17 @@ var StIcon = class StIcon {
|
|
|
1149
1185
|
const metier = this.nomMetier();
|
|
1150
1186
|
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
1187
|
throw new Error("st-icon : `icone` ou `nom` est obligatoire : un nom du sprite du socle.");
|
|
1152
|
-
}, ...ngDevMode ? [{ debugName: "resolution" }] :
|
|
1188
|
+
}, ...ngDevMode ? [{ debugName: "resolution" }] : /* istanbul ignore next */ []);
|
|
1153
1189
|
reference = computed(() => {
|
|
1154
1190
|
const r = this.resolution();
|
|
1155
1191
|
return r.metier ? `${r.sprite}#${r.id}` : `${this.cheminDuSprite}#${r.id}`;
|
|
1156
|
-
}, ...ngDevMode ? [{ debugName: "reference" }] :
|
|
1192
|
+
}, ...ngDevMode ? [{ debugName: "reference" }] : /* istanbul ignore next */ []);
|
|
1157
1193
|
miroite = computed(() => {
|
|
1158
1194
|
const force = this.miroir();
|
|
1159
1195
|
if (force !== "auto") return force;
|
|
1160
1196
|
const r = this.resolution();
|
|
1161
1197
|
return r.metier ? r.miroir : NOMS_DICONE_MIROITEE.has(r.courant);
|
|
1162
|
-
}, ...ngDevMode ? [{ debugName: "miroite" }] :
|
|
1198
|
+
}, ...ngDevMode ? [{ debugName: "miroite" }] : /* istanbul ignore next */ []);
|
|
1163
1199
|
duSocle(nom, variante) {
|
|
1164
1200
|
const courant = nomCourant(nom);
|
|
1165
1201
|
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 +1224,7 @@ var StIcon = class StIcon {
|
|
|
1188
1224
|
}
|
|
1189
1225
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1190
1226
|
minVersion: "12.0.0",
|
|
1191
|
-
version: "22.2.
|
|
1227
|
+
version: "22.2.1",
|
|
1192
1228
|
ngImport: i0,
|
|
1193
1229
|
type: StIcon,
|
|
1194
1230
|
deps: [],
|
|
@@ -1196,7 +1232,7 @@ var StIcon = class StIcon {
|
|
|
1196
1232
|
});
|
|
1197
1233
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1198
1234
|
minVersion: "17.1.0",
|
|
1199
|
-
version: "22.2.
|
|
1235
|
+
version: "22.2.1",
|
|
1200
1236
|
type: StIcon,
|
|
1201
1237
|
isStandalone: true,
|
|
1202
1238
|
selector: "st-icon",
|
|
@@ -1274,13 +1310,13 @@ var StIcon = class StIcon {
|
|
|
1274
1310
|
},
|
|
1275
1311
|
ngImport: i0,
|
|
1276
1312
|
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"],
|
|
1313
|
+
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
1314
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
1279
1315
|
});
|
|
1280
1316
|
};
|
|
1281
1317
|
i0.ɵɵngDeclareClassMetadata({
|
|
1282
1318
|
minVersion: "12.0.0",
|
|
1283
|
-
version: "22.2.
|
|
1319
|
+
version: "22.2.1",
|
|
1284
1320
|
ngImport: i0,
|
|
1285
1321
|
type: StIcon,
|
|
1286
1322
|
decorators: [{
|
|
@@ -1294,7 +1330,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1294
1330
|
"[attr.data-ton]": "ton()"
|
|
1295
1331
|
},
|
|
1296
1332
|
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"]
|
|
1333
|
+
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
1334
|
}]
|
|
1299
1335
|
}],
|
|
1300
1336
|
propDecorators: {
|
|
@@ -1389,22 +1425,22 @@ const NIVEAU_DE_LA_BALISE = {
|
|
|
1389
1425
|
H6: 6
|
|
1390
1426
|
};
|
|
1391
1427
|
var StHeading = class StHeading {
|
|
1392
|
-
taille = input(null, ...ngDevMode ? [{ debugName: "taille" }] :
|
|
1428
|
+
taille = input(null, ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
1393
1429
|
serre = input(false, {
|
|
1394
|
-
...ngDevMode ? { debugName: "serre" } :
|
|
1430
|
+
...ngDevMode ? { debugName: "serre" } : /* istanbul ignore next */ {},
|
|
1395
1431
|
transform: booleanAttribute
|
|
1396
1432
|
});
|
|
1397
|
-
identifiant = input(null, ...ngDevMode ? [{ debugName: "identifiant" }] :
|
|
1433
|
+
identifiant = input(null, ...ngDevMode ? [{ debugName: "identifiant" }] : /* istanbul ignore next */ []);
|
|
1398
1434
|
element = inject(ElementRef).nativeElement;
|
|
1399
1435
|
niveau = NIVEAU_DE_LA_BALISE[this.element.tagName] ?? 2;
|
|
1400
1436
|
identifiantPartage = partagerLaValeur(this.element, "id", () => this.identifiant());
|
|
1401
|
-
tailleEffective = computed(() => this.taille() ?? TAILLE_PAR_NIVEAU[this.niveau], ...ngDevMode ? [{ debugName: "tailleEffective" }] :
|
|
1437
|
+
tailleEffective = computed(() => this.taille() ?? TAILLE_PAR_NIVEAU[this.niveau], ...ngDevMode ? [{ debugName: "tailleEffective" }] : /* istanbul ignore next */ []);
|
|
1402
1438
|
constructor() {
|
|
1403
1439
|
inject(DestroyRef).onDestroy(this.identifiantPartage.liberer);
|
|
1404
1440
|
}
|
|
1405
1441
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1406
1442
|
minVersion: "12.0.0",
|
|
1407
|
-
version: "22.2.
|
|
1443
|
+
version: "22.2.1",
|
|
1408
1444
|
ngImport: i0,
|
|
1409
1445
|
type: StHeading,
|
|
1410
1446
|
deps: [],
|
|
@@ -1412,7 +1448,7 @@ var StHeading = class StHeading {
|
|
|
1412
1448
|
});
|
|
1413
1449
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1414
1450
|
minVersion: "17.1.0",
|
|
1415
|
-
version: "22.2.
|
|
1451
|
+
version: "22.2.1",
|
|
1416
1452
|
type: StHeading,
|
|
1417
1453
|
isStandalone: true,
|
|
1418
1454
|
selector: "h1[stHeading], h2[stHeading], h3[stHeading], h4[stHeading], h5[stHeading], h6[stHeading]",
|
|
@@ -1448,13 +1484,13 @@ var StHeading = class StHeading {
|
|
|
1448
1484
|
},
|
|
1449
1485
|
ngImport: i0,
|
|
1450
1486
|
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"],
|
|
1487
|
+
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
1488
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
1453
1489
|
});
|
|
1454
1490
|
};
|
|
1455
1491
|
i0.ɵɵngDeclareClassMetadata({
|
|
1456
1492
|
minVersion: "12.0.0",
|
|
1457
|
-
version: "22.2.
|
|
1493
|
+
version: "22.2.1",
|
|
1458
1494
|
ngImport: i0,
|
|
1459
1495
|
type: StHeading,
|
|
1460
1496
|
decorators: [{
|
|
@@ -1468,7 +1504,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1468
1504
|
"[attr.data-serre]": "serre() ? \"\" : null"
|
|
1469
1505
|
},
|
|
1470
1506
|
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"]
|
|
1507
|
+
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
1508
|
}]
|
|
1473
1509
|
}],
|
|
1474
1510
|
ctorParameters: () => [],
|
|
@@ -1522,21 +1558,21 @@ const DESSINS = {
|
|
|
1522
1558
|
var StSpinner = class StSpinner {
|
|
1523
1559
|
regionParente = inject(REGION_VIVANTE_PARENTE, { optional: true });
|
|
1524
1560
|
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" }] :
|
|
1561
|
+
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
1562
|
+
ton = input("primaire", ...ngDevMode ? [{ debugName: "ton" }] : /* istanbul ignore next */ []);
|
|
1563
|
+
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
1564
|
+
icone = input(null, ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
1565
|
+
dessin = computed(() => DESSINS[this.taille()], ...ngDevMode ? [{ debugName: "dessin" }] : /* istanbul ignore next */ []);
|
|
1530
1566
|
boite = computed(() => {
|
|
1531
1567
|
const cote = this.dessin().cote.toString();
|
|
1532
1568
|
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" }] :
|
|
1569
|
+
}, ...ngDevMode ? [{ debugName: "boite" }] : /* istanbul ignore next */ []);
|
|
1570
|
+
centre = computed(() => this.dessin().cote / 2, ...ngDevMode ? [{ debugName: "centre" }] : /* istanbul ignore next */ []);
|
|
1571
|
+
iconeCentrale = computed(() => this.taille() === "lg" ? this.icone() : null, ...ngDevMode ? [{ debugName: "iconeCentrale" }] : /* istanbul ignore next */ []);
|
|
1572
|
+
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().chargementEnCours, ...ngDevMode ? [{ debugName: "etiquetteLue" }] : /* istanbul ignore next */ []);
|
|
1573
|
+
sAnnonce = computed(() => this.regionParente === null, ...ngDevMode ? [{ debugName: "sAnnonce" }] : /* istanbul ignore next */ []);
|
|
1574
|
+
annonceEchue = signal(false, ...ngDevMode ? [{ debugName: "annonceEchue" }] : /* istanbul ignore next */ []);
|
|
1575
|
+
texteAnnonce = computed(() => this.sAnnonce() && this.annonceEchue() ? this.etiquetteLue() : "", ...ngDevMode ? [{ debugName: "texteAnnonce" }] : /* istanbul ignore next */ []);
|
|
1540
1576
|
constructor() {
|
|
1541
1577
|
const minuterie = setTimeout(() => {
|
|
1542
1578
|
this.annonceEchue.set(true);
|
|
@@ -1547,7 +1583,7 @@ var StSpinner = class StSpinner {
|
|
|
1547
1583
|
}
|
|
1548
1584
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1549
1585
|
minVersion: "12.0.0",
|
|
1550
|
-
version: "22.2.
|
|
1586
|
+
version: "22.2.1",
|
|
1551
1587
|
ngImport: i0,
|
|
1552
1588
|
type: StSpinner,
|
|
1553
1589
|
deps: [],
|
|
@@ -1555,7 +1591,7 @@ var StSpinner = class StSpinner {
|
|
|
1555
1591
|
});
|
|
1556
1592
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1557
1593
|
minVersion: "17.0.0",
|
|
1558
|
-
version: "22.2.
|
|
1594
|
+
version: "22.2.1",
|
|
1559
1595
|
type: StSpinner,
|
|
1560
1596
|
isStandalone: true,
|
|
1561
1597
|
selector: "st-spinner",
|
|
@@ -1622,7 +1658,7 @@ var StSpinner = class StSpinner {
|
|
|
1622
1658
|
};
|
|
1623
1659
|
i0.ɵɵngDeclareClassMetadata({
|
|
1624
1660
|
minVersion: "12.0.0",
|
|
1625
|
-
version: "22.2.
|
|
1661
|
+
version: "22.2.1",
|
|
1626
1662
|
ngImport: i0,
|
|
1627
1663
|
type: StSpinner,
|
|
1628
1664
|
decorators: [{
|
|
@@ -1680,45 +1716,45 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1680
1716
|
});
|
|
1681
1717
|
var StProgress = class StProgress {
|
|
1682
1718
|
locale = inject(ST_LOCALE);
|
|
1683
|
-
valeur = input(null, ...ngDevMode ? [{ debugName: "valeur" }] :
|
|
1719
|
+
valeur = input(null, ...ngDevMode ? [{ debugName: "valeur" }] : /* istanbul ignore next */ []);
|
|
1684
1720
|
max = input(100, {
|
|
1685
|
-
...ngDevMode ? { debugName: "max" } :
|
|
1721
|
+
...ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {},
|
|
1686
1722
|
transform: numberAttribute
|
|
1687
1723
|
});
|
|
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" }] :
|
|
1724
|
+
etiquette = input.required(...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
1725
|
+
ton = input("primaire", ...ngDevMode ? [{ debugName: "ton" }] : /* istanbul ignore next */ []);
|
|
1726
|
+
epaisseur = input("normale", ...ngDevMode ? [{ debugName: "epaisseur" }] : /* istanbul ignore next */ []);
|
|
1727
|
+
texteDeValeur = input(null, ...ngDevMode ? [{ debugName: "texteDeValeur" }] : /* istanbul ignore next */ []);
|
|
1692
1728
|
avecValeur = input(false, {
|
|
1693
|
-
...ngDevMode ? { debugName: "avecValeur" } :
|
|
1729
|
+
...ngDevMode ? { debugName: "avecValeur" } : /* istanbul ignore next */ {},
|
|
1694
1730
|
transform: booleanAttribute
|
|
1695
1731
|
});
|
|
1696
1732
|
decompte = input(false, {
|
|
1697
|
-
...ngDevMode ? { debugName: "decompte" } :
|
|
1733
|
+
...ngDevMode ? { debugName: "decompte" } : /* istanbul ignore next */ {},
|
|
1698
1734
|
transform: booleanAttribute
|
|
1699
1735
|
});
|
|
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" }] :
|
|
1736
|
+
estIndeterminee = computed(() => this.valeur() === null, ...ngDevMode ? [{ debugName: "estIndeterminee" }] : /* istanbul ignore next */ []);
|
|
1737
|
+
valeurVisible = computed(() => this.avecValeur() && !this.estIndeterminee(), ...ngDevMode ? [{ debugName: "valeurVisible" }] : /* istanbul ignore next */ []);
|
|
1738
|
+
maxLu = computed(() => this.max() > 0 ? this.max() : 100, ...ngDevMode ? [{ debugName: "maxLu" }] : /* istanbul ignore next */ []);
|
|
1703
1739
|
valeurAnnoncee = computed(() => {
|
|
1704
1740
|
const valeur = this.valeur();
|
|
1705
1741
|
if (valeur === null) return null;
|
|
1706
1742
|
if (this.max() <= 0) return 0;
|
|
1707
1743
|
return Math.min(this.max(), Math.max(0, valeur));
|
|
1708
|
-
}, ...ngDevMode ? [{ debugName: "valeurAnnoncee" }] :
|
|
1744
|
+
}, ...ngDevMode ? [{ debugName: "valeurAnnoncee" }] : /* istanbul ignore next */ []);
|
|
1709
1745
|
pourcentage = computed(() => {
|
|
1710
1746
|
const valeur = this.valeur();
|
|
1711
1747
|
if (valeur === null) return 0;
|
|
1712
1748
|
const max = this.max();
|
|
1713
1749
|
if (max <= 0) return 0;
|
|
1714
1750
|
return Math.min(100, Math.max(0, valeur / max * 100));
|
|
1715
|
-
}, ...ngDevMode ? [{ debugName: "pourcentage" }] :
|
|
1751
|
+
}, ...ngDevMode ? [{ debugName: "pourcentage" }] : /* istanbul ignore next */ []);
|
|
1716
1752
|
formatDuPourcentage = computed(() => new Intl.NumberFormat(this.locale(), {
|
|
1717
1753
|
style: "percent",
|
|
1718
1754
|
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" }] :
|
|
1755
|
+
}), ...ngDevMode ? [{ debugName: "formatDuPourcentage" }] : /* istanbul ignore next */ []);
|
|
1756
|
+
valeurAffichee = computed(() => this.texteDeValeur() ?? this.formatDuPourcentage().format(this.pourcentage() / 100), ...ngDevMode ? [{ debugName: "valeurAffichee" }] : /* istanbul ignore next */ []);
|
|
1757
|
+
barre = viewChild.required("barre", ...ngDevMode ? [{ debugName: "barre" }] : /* istanbul ignore next */ []);
|
|
1722
1758
|
constructor() {
|
|
1723
1759
|
let precedent = null;
|
|
1724
1760
|
afterRenderEffect(() => {
|
|
@@ -1743,7 +1779,7 @@ var StProgress = class StProgress {
|
|
|
1743
1779
|
}
|
|
1744
1780
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1745
1781
|
minVersion: "12.0.0",
|
|
1746
|
-
version: "22.2.
|
|
1782
|
+
version: "22.2.1",
|
|
1747
1783
|
ngImport: i0,
|
|
1748
1784
|
type: StProgress,
|
|
1749
1785
|
deps: [],
|
|
@@ -1751,7 +1787,7 @@ var StProgress = class StProgress {
|
|
|
1751
1787
|
});
|
|
1752
1788
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1753
1789
|
minVersion: "17.0.0",
|
|
1754
|
-
version: "22.2.
|
|
1790
|
+
version: "22.2.1",
|
|
1755
1791
|
type: StProgress,
|
|
1756
1792
|
isStandalone: true,
|
|
1757
1793
|
selector: "st-progress",
|
|
@@ -1838,7 +1874,7 @@ var StProgress = class StProgress {
|
|
|
1838
1874
|
};
|
|
1839
1875
|
i0.ɵɵngDeclareClassMetadata({
|
|
1840
1876
|
minVersion: "12.0.0",
|
|
1841
|
-
version: "22.2.
|
|
1877
|
+
version: "22.2.1",
|
|
1842
1878
|
ngImport: i0,
|
|
1843
1879
|
type: StProgress,
|
|
1844
1880
|
decorators: [{
|
|
@@ -1951,35 +1987,35 @@ function garderLesClics$1(element, bloque) {
|
|
|
1951
1987
|
}
|
|
1952
1988
|
var StButton = class StButton {
|
|
1953
1989
|
element = inject(ElementRef).nativeElement;
|
|
1954
|
-
variante = input("secondaire", ...ngDevMode ? [{ debugName: "variante" }] :
|
|
1955
|
-
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] :
|
|
1990
|
+
variante = input("secondaire", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
1991
|
+
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
1956
1992
|
pleineLargeur = input(false, {
|
|
1957
|
-
...ngDevMode ? { debugName: "pleineLargeur" } :
|
|
1993
|
+
...ngDevMode ? { debugName: "pleineLargeur" } : /* istanbul ignore next */ {},
|
|
1958
1994
|
transform: booleanAttribute
|
|
1959
1995
|
});
|
|
1960
|
-
iconeAvant = input(null, ...ngDevMode ? [{ debugName: "iconeAvant" }] :
|
|
1961
|
-
iconeApres = input(null, ...ngDevMode ? [{ debugName: "iconeApres" }] :
|
|
1996
|
+
iconeAvant = input(null, ...ngDevMode ? [{ debugName: "iconeAvant" }] : /* istanbul ignore next */ []);
|
|
1997
|
+
iconeApres = input(null, ...ngDevMode ? [{ debugName: "iconeApres" }] : /* istanbul ignore next */ []);
|
|
1962
1998
|
chargement = input(false, {
|
|
1963
|
-
...ngDevMode ? { debugName: "chargement" } :
|
|
1999
|
+
...ngDevMode ? { debugName: "chargement" } : /* istanbul ignore next */ {},
|
|
1964
2000
|
transform: booleanAttribute
|
|
1965
2001
|
});
|
|
1966
2002
|
indisponible = input(false, {
|
|
1967
|
-
...ngDevMode ? { debugName: "indisponible" } :
|
|
2003
|
+
...ngDevMode ? { debugName: "indisponible" } : /* istanbul ignore next */ {},
|
|
1968
2004
|
transform: booleanAttribute
|
|
1969
2005
|
});
|
|
1970
|
-
raisonIndisponible = input(null, ...ngDevMode ? [{ debugName: "raisonIndisponible" }] :
|
|
2006
|
+
raisonIndisponible = input(null, ...ngDevMode ? [{ debugName: "raisonIndisponible" }] : /* istanbul ignore next */ []);
|
|
1971
2007
|
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" }] :
|
|
2008
|
+
tailleDIcone = computed(() => TAILLE_DICONE[this.taille()], ...ngDevMode ? [{ debugName: "tailleDIcone" }] : /* istanbul ignore next */ []);
|
|
2009
|
+
tonDuChargement = computed(() => this.variante() === "primaire" || this.variante() === "danger" ? "inverse" : "neutre", ...ngDevMode ? [{ debugName: "tonDuChargement" }] : /* istanbul ignore next */ []);
|
|
1974
2010
|
indicateurVisible = affichageDiffere(() => this.chargement());
|
|
1975
|
-
occupe = computed(() => this.chargement() || this.indicateurVisible(), ...ngDevMode ? [{ debugName: "occupe" }] :
|
|
2011
|
+
occupe = computed(() => this.chargement() || this.indicateurVisible(), ...ngDevMode ? [{ debugName: "occupe" }] : /* istanbul ignore next */ []);
|
|
1976
2012
|
fonduDeSortie = fonduDeSortie;
|
|
1977
2013
|
disponibilite = partagerLaValeur(this.element, "aria-disabled", () => this.occupe() || this.indisponible() ? "true" : null);
|
|
1978
|
-
horsService = computed(() => this.indisponible() || this.disponibilite.deLAppelant() === "true", ...ngDevMode ? [{ debugName: "horsService" }] :
|
|
2014
|
+
horsService = computed(() => this.indisponible() || this.disponibilite.deLAppelant() === "true", ...ngDevMode ? [{ debugName: "horsService" }] : /* istanbul ignore next */ []);
|
|
1979
2015
|
raisonLue = computed(() => {
|
|
1980
2016
|
const raison = this.raisonIndisponible()?.trim() ?? "";
|
|
1981
2017
|
return this.horsService() && raison !== "" ? raison : null;
|
|
1982
|
-
}, ...ngDevMode ? [{ debugName: "raisonLue" }] :
|
|
2018
|
+
}, ...ngDevMode ? [{ debugName: "raisonLue" }] : /* istanbul ignore next */ []);
|
|
1983
2019
|
libererLesDescriptions = partagerDesJetons(this.element, "aria-describedby", () => this.raisonLue() === null ? [] : [this.identifiantDeRaison]);
|
|
1984
2020
|
constructor() {
|
|
1985
2021
|
poserLeTypeParDefaut$1(this.element);
|
|
@@ -1990,7 +2026,7 @@ var StButton = class StButton {
|
|
|
1990
2026
|
}
|
|
1991
2027
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1992
2028
|
minVersion: "12.0.0",
|
|
1993
|
-
version: "22.2.
|
|
2029
|
+
version: "22.2.1",
|
|
1994
2030
|
ngImport: i0,
|
|
1995
2031
|
type: StButton,
|
|
1996
2032
|
deps: [],
|
|
@@ -1998,7 +2034,7 @@ var StButton = class StButton {
|
|
|
1998
2034
|
});
|
|
1999
2035
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2000
2036
|
minVersion: "17.0.0",
|
|
2001
|
-
version: "22.2.
|
|
2037
|
+
version: "22.2.1",
|
|
2002
2038
|
type: StButton,
|
|
2003
2039
|
isStandalone: true,
|
|
2004
2040
|
selector: "button[stButton]",
|
|
@@ -2105,7 +2141,7 @@ var StButton = class StButton {
|
|
|
2105
2141
|
};
|
|
2106
2142
|
i0.ɵɵngDeclareClassMetadata({
|
|
2107
2143
|
minVersion: "12.0.0",
|
|
2108
|
-
version: "22.2.
|
|
2144
|
+
version: "22.2.1",
|
|
2109
2145
|
ngImport: i0,
|
|
2110
2146
|
type: StButton,
|
|
2111
2147
|
decorators: [{
|
|
@@ -2218,46 +2254,46 @@ function garderLesClics(element, bloque) {
|
|
|
2218
2254
|
}
|
|
2219
2255
|
var StIconButton = class StIconButton {
|
|
2220
2256
|
element = inject(ElementRef).nativeElement;
|
|
2221
|
-
icone = input.required(...ngDevMode ? [{ debugName: "icone" }] :
|
|
2257
|
+
icone = input.required(...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
2222
2258
|
etiquette = input.required({
|
|
2223
|
-
...ngDevMode ? { debugName: "etiquette" } :
|
|
2259
|
+
...ngDevMode ? { debugName: "etiquette" } : /* istanbul ignore next */ {},
|
|
2224
2260
|
transform: (valeur) => {
|
|
2225
2261
|
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
2262
|
return valeur;
|
|
2227
2263
|
}
|
|
2228
2264
|
});
|
|
2229
|
-
variante = input("discret", ...ngDevMode ? [{ debugName: "variante" }] :
|
|
2230
|
-
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] :
|
|
2231
|
-
tailleDuGlyphe = input(null, ...ngDevMode ? [{ debugName: "tailleDuGlyphe" }] :
|
|
2265
|
+
variante = input("discret", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
2266
|
+
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
2267
|
+
tailleDuGlyphe = input(null, ...ngDevMode ? [{ debugName: "tailleDuGlyphe" }] : /* istanbul ignore next */ []);
|
|
2232
2268
|
enfonce = input(null, {
|
|
2233
|
-
...ngDevMode ? { debugName: "enfonce" } :
|
|
2269
|
+
...ngDevMode ? { debugName: "enfonce" } : /* istanbul ignore next */ {},
|
|
2234
2270
|
transform: (valeur) => valeur === null || valeur === void 0 ? null : booleanAttribute(valeur)
|
|
2235
2271
|
});
|
|
2236
|
-
iconeEnfoncee = input(null, ...ngDevMode ? [{ debugName: "iconeEnfoncee" }] :
|
|
2272
|
+
iconeEnfoncee = input(null, ...ngDevMode ? [{ debugName: "iconeEnfoncee" }] : /* istanbul ignore next */ []);
|
|
2237
2273
|
chargement = input(false, {
|
|
2238
|
-
...ngDevMode ? { debugName: "chargement" } :
|
|
2274
|
+
...ngDevMode ? { debugName: "chargement" } : /* istanbul ignore next */ {},
|
|
2239
2275
|
transform: booleanAttribute
|
|
2240
2276
|
});
|
|
2241
2277
|
indisponible = input(false, {
|
|
2242
|
-
...ngDevMode ? { debugName: "indisponible" } :
|
|
2278
|
+
...ngDevMode ? { debugName: "indisponible" } : /* istanbul ignore next */ {},
|
|
2243
2279
|
transform: booleanAttribute
|
|
2244
2280
|
});
|
|
2245
|
-
raisonIndisponible = input(null, ...ngDevMode ? [{ debugName: "raisonIndisponible" }] :
|
|
2281
|
+
raisonIndisponible = input(null, ...ngDevMode ? [{ debugName: "raisonIndisponible" }] : /* istanbul ignore next */ []);
|
|
2246
2282
|
identifiantDeRaison = inject(StIdentifiants).prochain("st-bouton-icone-raison");
|
|
2247
2283
|
glyphe = computed(() => {
|
|
2248
2284
|
const icone = this.icone();
|
|
2249
2285
|
if (this.enfonce() !== true) return icone;
|
|
2250
2286
|
return this.iconeEnfoncee() ?? jumeauPlein(icone) ?? icone;
|
|
2251
|
-
}, ...ngDevMode ? [{ debugName: "glyphe" }] :
|
|
2287
|
+
}, ...ngDevMode ? [{ debugName: "glyphe" }] : /* istanbul ignore next */ []);
|
|
2252
2288
|
indicateurVisible = affichageDiffere(() => this.chargement());
|
|
2253
|
-
occupe = computed(() => this.chargement() || this.indicateurVisible(), ...ngDevMode ? [{ debugName: "occupe" }] :
|
|
2289
|
+
occupe = computed(() => this.chargement() || this.indicateurVisible(), ...ngDevMode ? [{ debugName: "occupe" }] : /* istanbul ignore next */ []);
|
|
2254
2290
|
fonduDeSortie = fonduDeSortie;
|
|
2255
2291
|
disponibilite = partagerLaValeur(this.element, "aria-disabled", () => this.occupe() || this.indisponible() ? "true" : null);
|
|
2256
|
-
horsService = computed(() => this.indisponible() || this.disponibilite.deLAppelant() === "true", ...ngDevMode ? [{ debugName: "horsService" }] :
|
|
2292
|
+
horsService = computed(() => this.indisponible() || this.disponibilite.deLAppelant() === "true", ...ngDevMode ? [{ debugName: "horsService" }] : /* istanbul ignore next */ []);
|
|
2257
2293
|
raisonLue = computed(() => {
|
|
2258
2294
|
const raison = this.raisonIndisponible()?.trim() ?? "";
|
|
2259
2295
|
return this.horsService() && raison !== "" ? raison : null;
|
|
2260
|
-
}, ...ngDevMode ? [{ debugName: "raisonLue" }] :
|
|
2296
|
+
}, ...ngDevMode ? [{ debugName: "raisonLue" }] : /* istanbul ignore next */ []);
|
|
2261
2297
|
libererLesDescriptions = partagerDesJetons(this.element, "aria-describedby", () => this.raisonLue() === null ? [] : [this.identifiantDeRaison]);
|
|
2262
2298
|
constructor() {
|
|
2263
2299
|
poserLeTypeParDefaut(this.element);
|
|
@@ -2268,7 +2304,7 @@ var StIconButton = class StIconButton {
|
|
|
2268
2304
|
}
|
|
2269
2305
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2270
2306
|
minVersion: "12.0.0",
|
|
2271
|
-
version: "22.2.
|
|
2307
|
+
version: "22.2.1",
|
|
2272
2308
|
ngImport: i0,
|
|
2273
2309
|
type: StIconButton,
|
|
2274
2310
|
deps: [],
|
|
@@ -2276,7 +2312,7 @@ var StIconButton = class StIconButton {
|
|
|
2276
2312
|
});
|
|
2277
2313
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2278
2314
|
minVersion: "17.0.0",
|
|
2279
|
-
version: "22.2.
|
|
2315
|
+
version: "22.2.1",
|
|
2280
2316
|
type: StIconButton,
|
|
2281
2317
|
isStandalone: true,
|
|
2282
2318
|
selector: "button[stIconButton]",
|
|
@@ -2399,7 +2435,7 @@ var StIconButton = class StIconButton {
|
|
|
2399
2435
|
};
|
|
2400
2436
|
i0.ɵɵngDeclareClassMetadata({
|
|
2401
2437
|
minVersion: "12.0.0",
|
|
2402
|
-
version: "22.2.
|
|
2438
|
+
version: "22.2.1",
|
|
2403
2439
|
ngImport: i0,
|
|
2404
2440
|
type: StIconButton,
|
|
2405
2441
|
decorators: [{
|
|
@@ -2510,15 +2546,15 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2510
2546
|
var StLink = class StLink {
|
|
2511
2547
|
libelles = inject(ST_LIBELLES);
|
|
2512
2548
|
element = inject(ElementRef).nativeElement;
|
|
2513
|
-
variante = input("texte", ...ngDevMode ? [{ debugName: "variante" }] :
|
|
2549
|
+
variante = input("texte", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
2514
2550
|
externe = input(false, {
|
|
2515
|
-
...ngDevMode ? { debugName: "externe" } :
|
|
2551
|
+
...ngDevMode ? { debugName: "externe" } : /* istanbul ignore next */ {},
|
|
2516
2552
|
transform: booleanAttribute
|
|
2517
2553
|
});
|
|
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" }] :
|
|
2554
|
+
mentionExterne = input(null, ...ngDevMode ? [{ debugName: "mentionExterne" }] : /* istanbul ignore next */ []);
|
|
2555
|
+
iconeAvant = input(null, ...ngDevMode ? [{ debugName: "iconeAvant" }] : /* istanbul ignore next */ []);
|
|
2556
|
+
iconeApres = input(null, ...ngDevMode ? [{ debugName: "iconeApres" }] : /* istanbul ignore next */ []);
|
|
2557
|
+
mentionExterneLue = computed(() => this.mentionExterne() ?? this.libelles().nouvelleFenetre, ...ngDevMode ? [{ debugName: "mentionExterneLue" }] : /* istanbul ignore next */ []);
|
|
2522
2558
|
cible = partagerLaValeur(this.element, "target", () => this.externe() ? "_blank" : null);
|
|
2523
2559
|
libererLaRelation = partagerDesJetons(this.element, "rel", () => this.externe() || this.ouvreUneFenetreATiers(this.cible.deLAppelant()) ? ["noopener", "noreferrer"] : []);
|
|
2524
2560
|
ouvreUneFenetreATiers(cible) {
|
|
@@ -2544,7 +2580,7 @@ var StLink = class StLink {
|
|
|
2544
2580
|
}
|
|
2545
2581
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2546
2582
|
minVersion: "12.0.0",
|
|
2547
|
-
version: "22.2.
|
|
2583
|
+
version: "22.2.1",
|
|
2548
2584
|
ngImport: i0,
|
|
2549
2585
|
type: StLink,
|
|
2550
2586
|
deps: [],
|
|
@@ -2552,7 +2588,7 @@ var StLink = class StLink {
|
|
|
2552
2588
|
});
|
|
2553
2589
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2554
2590
|
minVersion: "17.0.0",
|
|
2555
|
-
version: "22.2.
|
|
2591
|
+
version: "22.2.1",
|
|
2556
2592
|
type: StLink,
|
|
2557
2593
|
isStandalone: true,
|
|
2558
2594
|
selector: "a[stLink]",
|
|
@@ -2624,7 +2660,7 @@ var StLink = class StLink {
|
|
|
2624
2660
|
};
|
|
2625
2661
|
i0.ɵɵngDeclareClassMetadata({
|
|
2626
2662
|
minVersion: "12.0.0",
|
|
2627
|
-
version: "22.2.
|
|
2663
|
+
version: "22.2.1",
|
|
2628
2664
|
ngImport: i0,
|
|
2629
2665
|
type: StLink,
|
|
2630
2666
|
decorators: [{
|
|
@@ -2688,37 +2724,37 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2688
2724
|
});
|
|
2689
2725
|
var StSegmentedControl = class StSegmentedControl {
|
|
2690
2726
|
element = inject(ElementRef);
|
|
2691
|
-
legende = input.required(...ngDevMode ? [{ debugName: "legende" }] :
|
|
2727
|
+
legende = input.required(...ngDevMode ? [{ debugName: "legende" }] : /* istanbul ignore next */ []);
|
|
2692
2728
|
legendeMasquee = input(false, {
|
|
2693
|
-
...ngDevMode ? { debugName: "legendeMasquee" } :
|
|
2729
|
+
...ngDevMode ? { debugName: "legendeMasquee" } : /* istanbul ignore next */ {},
|
|
2694
2730
|
transform: booleanAttribute
|
|
2695
2731
|
});
|
|
2696
|
-
options = input.required(...ngDevMode ? [{ debugName: "options" }] :
|
|
2697
|
-
taille = input("sm", ...ngDevMode ? [{ debugName: "taille" }] :
|
|
2698
|
-
casse = input("phrase", ...ngDevMode ? [{ debugName: "casse" }] :
|
|
2732
|
+
options = input.required(...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
|
|
2733
|
+
taille = input("sm", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
2734
|
+
casse = input("phrase", ...ngDevMode ? [{ debugName: "casse" }] : /* istanbul ignore next */ []);
|
|
2699
2735
|
pleineLargeur = input(false, {
|
|
2700
|
-
...ngDevMode ? { debugName: "pleineLargeur" } :
|
|
2736
|
+
...ngDevMode ? { debugName: "pleineLargeur" } : /* istanbul ignore next */ {},
|
|
2701
2737
|
transform: booleanAttribute
|
|
2702
2738
|
});
|
|
2703
|
-
forme = input("enfoncee", ...ngDevMode ? [{ debugName: "forme" }] :
|
|
2739
|
+
forme = input("enfoncee", ...ngDevMode ? [{ debugName: "forme" }] : /* istanbul ignore next */ []);
|
|
2704
2740
|
enLigne = input(false, {
|
|
2705
|
-
...ngDevMode ? { debugName: "enLigne" } :
|
|
2741
|
+
...ngDevMode ? { debugName: "enLigne" } : /* istanbul ignore next */ {},
|
|
2706
2742
|
transform: booleanAttribute
|
|
2707
2743
|
});
|
|
2708
2744
|
iconesSeules = input(false, {
|
|
2709
|
-
...ngDevMode ? { debugName: "iconesSeules" } :
|
|
2745
|
+
...ngDevMode ? { debugName: "iconesSeules" } : /* istanbul ignore next */ {},
|
|
2710
2746
|
transform: booleanAttribute
|
|
2711
2747
|
});
|
|
2712
|
-
value = model("", ...ngDevMode ? [{ debugName: "value" }] :
|
|
2748
|
+
value = model("", ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
2713
2749
|
disabled = input(false, {
|
|
2714
|
-
...ngDevMode ? { debugName: "disabled" } :
|
|
2750
|
+
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
2715
2751
|
transform: booleanAttribute
|
|
2716
2752
|
});
|
|
2717
2753
|
touched = input(false, {
|
|
2718
|
-
...ngDevMode ? { debugName: "touched" } :
|
|
2754
|
+
...ngDevMode ? { debugName: "touched" } : /* istanbul ignore next */ {},
|
|
2719
2755
|
transform: booleanAttribute
|
|
2720
2756
|
});
|
|
2721
|
-
name = input("", ...ngDevMode ? [{ debugName: "name" }] :
|
|
2757
|
+
name = input("", ...ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []);
|
|
2722
2758
|
touch = output();
|
|
2723
2759
|
nomParDefaut = inject(StIdentifiants).prochain("st-segment");
|
|
2724
2760
|
constructor() {
|
|
@@ -2732,7 +2768,7 @@ var StSegmentedControl = class StSegmentedControl {
|
|
|
2732
2768
|
const legende = this.legende();
|
|
2733
2769
|
if (legende.trim() === "" && isDevMode()) console.warn("st-segmented-control : la legende est vide, le groupe n a plus de nom.");
|
|
2734
2770
|
return legende;
|
|
2735
|
-
}, ...ngDevMode ? [{ debugName: "legendeLue" }] :
|
|
2771
|
+
}, ...ngDevMode ? [{ debugName: "legendeLue" }] : /* istanbul ignore next */ []);
|
|
2736
2772
|
optionsLues = computed(() => {
|
|
2737
2773
|
const options = this.options();
|
|
2738
2774
|
if (this.iconesSeules() && isDevMode()) {
|
|
@@ -2740,7 +2776,7 @@ var StSegmentedControl = class StSegmentedControl {
|
|
|
2740
2776
|
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
2777
|
}
|
|
2742
2778
|
return options;
|
|
2743
|
-
}, ...ngDevMode ? [{ debugName: "optionsLues" }] :
|
|
2779
|
+
}, ...ngDevMode ? [{ debugName: "optionsLues" }] : /* istanbul ignore next */ []);
|
|
2744
2780
|
focus(options) {
|
|
2745
2781
|
const hote = this.element.nativeElement;
|
|
2746
2782
|
(hote.querySelector("input:checked:not(:disabled)") ?? hote.querySelector("input:not(:disabled)"))?.focus(options);
|
|
@@ -2755,7 +2791,7 @@ var StSegmentedControl = class StSegmentedControl {
|
|
|
2755
2791
|
}
|
|
2756
2792
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2757
2793
|
minVersion: "12.0.0",
|
|
2758
|
-
version: "22.2.
|
|
2794
|
+
version: "22.2.1",
|
|
2759
2795
|
ngImport: i0,
|
|
2760
2796
|
type: StSegmentedControl,
|
|
2761
2797
|
deps: [],
|
|
@@ -2763,7 +2799,7 @@ var StSegmentedControl = class StSegmentedControl {
|
|
|
2763
2799
|
});
|
|
2764
2800
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2765
2801
|
minVersion: "17.0.0",
|
|
2766
|
-
version: "22.2.
|
|
2802
|
+
version: "22.2.1",
|
|
2767
2803
|
type: StSegmentedControl,
|
|
2768
2804
|
isStandalone: true,
|
|
2769
2805
|
selector: "st-segmented-control",
|
|
@@ -2878,7 +2914,7 @@ var StSegmentedControl = class StSegmentedControl {
|
|
|
2878
2914
|
},
|
|
2879
2915
|
ngImport: i0,
|
|
2880
2916
|
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);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"],
|
|
2917
|
+
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-forme=texte]) .st-segmented-control__piste{padding:0;background:none;border-radius:0}:host([data-forme=texte]) .st-segmented-control__segment{padding-inline:var(--st-espacement-1-5);color:var(--st-couleur-texte-attenue);background:none}@media(hover:hover){:host([data-forme=texte]) .st-segmented-control__segment:not(:has(input:checked,input:disabled)):hover{color:var(--st-couleur-texte);background:none}}:host([data-forme=texte]) .st-segmented-control__segment:not(:has(input:checked,input:disabled)):active{background:none}:host([data-forme=texte]) .st-segmented-control__segment:has(input:checked){color:var(--st-couleur-texte);background:none;box-shadow:none}:host([data-forme=texte]) .st-segmented-control__segment:has(input:checked:focus-visible){box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus)}:host([data-forme=texte]) .st-segmented-control__segment+.st-segmented-control__segment:before{inline-size:var(--st-epaisseur-fine);block-size:var(--st-interligne-2xs);margin-inline-end:var(--st-espacement-1-5);content:\"\";background:var(--st-couleur-bordure)}: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
2918
|
dependencies: [{
|
|
2883
2919
|
kind: "component",
|
|
2884
2920
|
type: StIcon,
|
|
@@ -2900,7 +2936,7 @@ var StSegmentedControl = class StSegmentedControl {
|
|
|
2900
2936
|
};
|
|
2901
2937
|
i0.ɵɵngDeclareClassMetadata({
|
|
2902
2938
|
minVersion: "12.0.0",
|
|
2903
|
-
version: "22.2.
|
|
2939
|
+
version: "22.2.1",
|
|
2904
2940
|
ngImport: i0,
|
|
2905
2941
|
type: StSegmentedControl,
|
|
2906
2942
|
decorators: [{
|
|
@@ -2920,7 +2956,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2920
2956
|
"(focusout)": "aLaSortie($event)"
|
|
2921
2957
|
},
|
|
2922
2958
|
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);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"]
|
|
2959
|
+
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-forme=texte]) .st-segmented-control__piste{padding:0;background:none;border-radius:0}:host([data-forme=texte]) .st-segmented-control__segment{padding-inline:var(--st-espacement-1-5);color:var(--st-couleur-texte-attenue);background:none}@media(hover:hover){:host([data-forme=texte]) .st-segmented-control__segment:not(:has(input:checked,input:disabled)):hover{color:var(--st-couleur-texte);background:none}}:host([data-forme=texte]) .st-segmented-control__segment:not(:has(input:checked,input:disabled)):active{background:none}:host([data-forme=texte]) .st-segmented-control__segment:has(input:checked){color:var(--st-couleur-texte);background:none;box-shadow:none}:host([data-forme=texte]) .st-segmented-control__segment:has(input:checked:focus-visible){box-shadow:0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus)}:host([data-forme=texte]) .st-segmented-control__segment+.st-segmented-control__segment:before{inline-size:var(--st-epaisseur-fine);block-size:var(--st-interligne-2xs);margin-inline-end:var(--st-espacement-1-5);content:\"\";background:var(--st-couleur-bordure)}: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
2960
|
}]
|
|
2925
2961
|
}],
|
|
2926
2962
|
ctorParameters: () => [],
|
|
@@ -3040,23 +3076,23 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3040
3076
|
});
|
|
3041
3077
|
var StAvatar = class StAvatar {
|
|
3042
3078
|
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" }] :
|
|
3079
|
+
nom = input.required(...ngDevMode ? [{ debugName: "nom" }] : /* istanbul ignore next */ []);
|
|
3080
|
+
sourceImage = input(null, ...ngDevMode ? [{ debugName: "sourceImage" }] : /* istanbul ignore next */ []);
|
|
3081
|
+
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
3082
|
+
forme = input("cercle", ...ngDevMode ? [{ debugName: "forme" }] : /* istanbul ignore next */ []);
|
|
3083
|
+
ton = input("primaire", ...ngDevMode ? [{ debugName: "ton" }] : /* istanbul ignore next */ []);
|
|
3084
|
+
variante = input("discrete", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
3049
3085
|
nomAdjacent = input(true, {
|
|
3050
|
-
...ngDevMode ? { debugName: "nomAdjacent" } :
|
|
3086
|
+
...ngDevMode ? { debugName: "nomAdjacent" } : /* istanbul ignore next */ {},
|
|
3051
3087
|
transform: booleanAttribute
|
|
3052
3088
|
});
|
|
3053
3089
|
imageEchouee = linkedSignal({
|
|
3054
|
-
...ngDevMode ? { debugName: "imageEchouee" } :
|
|
3090
|
+
...ngDevMode ? { debugName: "imageEchouee" } : /* istanbul ignore next */ {},
|
|
3055
3091
|
source: this.sourceImage,
|
|
3056
3092
|
computation: () => false
|
|
3057
3093
|
});
|
|
3058
|
-
afficheLImage = computed(() => this.sourceImage() !== null && !this.imageEchouee(), ...ngDevMode ? [{ debugName: "afficheLImage" }] :
|
|
3059
|
-
segmenteur = computed(() => new Intl.Segmenter(this.locale(), { granularity: "grapheme" }), ...ngDevMode ? [{ debugName: "segmenteur" }] :
|
|
3094
|
+
afficheLImage = computed(() => this.sourceImage() !== null && !this.imageEchouee(), ...ngDevMode ? [{ debugName: "afficheLImage" }] : /* istanbul ignore next */ []);
|
|
3095
|
+
segmenteur = computed(() => new Intl.Segmenter(this.locale(), { granularity: "grapheme" }), ...ngDevMode ? [{ debugName: "segmenteur" }] : /* istanbul ignore next */ []);
|
|
3060
3096
|
initiales = computed(() => {
|
|
3061
3097
|
const segmenteur = this.segmenteur();
|
|
3062
3098
|
const premier = (mot) => {
|
|
@@ -3064,14 +3100,14 @@ var StAvatar = class StAvatar {
|
|
|
3064
3100
|
return "";
|
|
3065
3101
|
};
|
|
3066
3102
|
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" }] :
|
|
3103
|
+
}, ...ngDevMode ? [{ debugName: "initiales" }] : /* istanbul ignore next */ []);
|
|
3104
|
+
texteAlternatif = computed(() => this.nomAdjacent() ? "" : this.nom(), ...ngDevMode ? [{ debugName: "texteAlternatif" }] : /* istanbul ignore next */ []);
|
|
3069
3105
|
auxEchecsDImage() {
|
|
3070
3106
|
this.imageEchouee.set(true);
|
|
3071
3107
|
}
|
|
3072
3108
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3073
3109
|
minVersion: "12.0.0",
|
|
3074
|
-
version: "22.2.
|
|
3110
|
+
version: "22.2.1",
|
|
3075
3111
|
ngImport: i0,
|
|
3076
3112
|
type: StAvatar,
|
|
3077
3113
|
deps: [],
|
|
@@ -3079,7 +3115,7 @@ var StAvatar = class StAvatar {
|
|
|
3079
3115
|
});
|
|
3080
3116
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3081
3117
|
minVersion: "17.0.0",
|
|
3082
|
-
version: "22.2.
|
|
3118
|
+
version: "22.2.1",
|
|
3083
3119
|
type: StAvatar,
|
|
3084
3120
|
isStandalone: true,
|
|
3085
3121
|
selector: "st-avatar",
|
|
@@ -3146,7 +3182,7 @@ var StAvatar = class StAvatar {
|
|
|
3146
3182
|
},
|
|
3147
3183
|
ngImport: i0,
|
|
3148
3184
|
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"],
|
|
3185
|
+
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
3186
|
dependencies: [{
|
|
3151
3187
|
kind: "component",
|
|
3152
3188
|
type: StIcon,
|
|
@@ -3168,7 +3204,7 @@ var StAvatar = class StAvatar {
|
|
|
3168
3204
|
};
|
|
3169
3205
|
i0.ɵɵngDeclareClassMetadata({
|
|
3170
3206
|
minVersion: "12.0.0",
|
|
3171
|
-
version: "22.2.
|
|
3207
|
+
version: "22.2.1",
|
|
3172
3208
|
ngImport: i0,
|
|
3173
3209
|
type: StAvatar,
|
|
3174
3210
|
decorators: [{
|
|
@@ -3186,7 +3222,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3186
3222
|
"[attr.data-image]": "afficheLImage() ? \"\" : null"
|
|
3187
3223
|
},
|
|
3188
3224
|
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"]
|
|
3225
|
+
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
3226
|
}]
|
|
3191
3227
|
}],
|
|
3192
3228
|
propDecorators: {
|
|
@@ -3250,23 +3286,23 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3250
3286
|
});
|
|
3251
3287
|
var StEmpty = class StEmpty {
|
|
3252
3288
|
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" }] :
|
|
3289
|
+
titre = input.required(...ngDevMode ? [{ debugName: "titre" }] : /* istanbul ignore next */ []);
|
|
3290
|
+
description = input(null, ...ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []);
|
|
3291
|
+
icone = input("boite", ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
3292
|
+
niveauDuTitre = input(3, ...ngDevMode ? [{ debugName: "niveauDuTitre" }] : /* istanbul ignore next */ []);
|
|
3293
|
+
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
3294
|
+
variante = input("bloc", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
3259
3295
|
identifiantDuTitre = inject(StIdentifiants).prochain("st-vide-titre");
|
|
3260
|
-
niveau = computed(() => this.variante() === "pleine-page" ? 1 : this.niveauDuTitre(), ...ngDevMode ? [{ debugName: "niveau" }] :
|
|
3296
|
+
niveau = computed(() => this.variante() === "pleine-page" ? 1 : this.niveauDuTitre(), ...ngDevMode ? [{ debugName: "niveau" }] : /* istanbul ignore next */ []);
|
|
3261
3297
|
tailleDuTitre = computed(() => {
|
|
3262
3298
|
const variante = this.variante();
|
|
3263
3299
|
if (variante === "encadree") return "md";
|
|
3264
3300
|
return variante === "pleine-page" ? "xl" : "lg";
|
|
3265
|
-
}, ...ngDevMode ? [{ debugName: "tailleDuTitre" }] :
|
|
3301
|
+
}, ...ngDevMode ? [{ debugName: "tailleDuTitre" }] : /* istanbul ignore next */ []);
|
|
3266
3302
|
tailleDuGlyphe = computed(() => {
|
|
3267
3303
|
if (this.variante() === "pleine-page") return "48";
|
|
3268
3304
|
return this.taille() === "sm" || this.variante() === "encadree" ? "24" : "28";
|
|
3269
|
-
}, ...ngDevMode ? [{ debugName: "tailleDuGlyphe" }] :
|
|
3305
|
+
}, ...ngDevMode ? [{ debugName: "tailleDuGlyphe" }] : /* istanbul ignore next */ []);
|
|
3270
3306
|
role = partagerLaValeur(this.element, "role", () => this.role.deLAppelant() === null ? "group" : null);
|
|
3271
3307
|
nommePar = partagerLaValeur(this.element, "aria-labelledby", () => this.nommePar.deLAppelant() === null ? this.identifiantDuTitre : null);
|
|
3272
3308
|
constructor() {
|
|
@@ -3276,7 +3312,7 @@ var StEmpty = class StEmpty {
|
|
|
3276
3312
|
}
|
|
3277
3313
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3278
3314
|
minVersion: "12.0.0",
|
|
3279
|
-
version: "22.2.
|
|
3315
|
+
version: "22.2.1",
|
|
3280
3316
|
ngImport: i0,
|
|
3281
3317
|
type: StEmpty,
|
|
3282
3318
|
deps: [],
|
|
@@ -3284,7 +3320,7 @@ var StEmpty = class StEmpty {
|
|
|
3284
3320
|
});
|
|
3285
3321
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3286
3322
|
minVersion: "17.0.0",
|
|
3287
|
-
version: "22.2.
|
|
3323
|
+
version: "22.2.1",
|
|
3288
3324
|
type: StEmpty,
|
|
3289
3325
|
isStandalone: true,
|
|
3290
3326
|
selector: "st-empty",
|
|
@@ -3372,7 +3408,7 @@ var StEmpty = class StEmpty {
|
|
|
3372
3408
|
};
|
|
3373
3409
|
i0.ɵɵngDeclareClassMetadata({
|
|
3374
3410
|
minVersion: "12.0.0",
|
|
3375
|
-
version: "22.2.
|
|
3411
|
+
version: "22.2.1",
|
|
3376
3412
|
ngImport: i0,
|
|
3377
3413
|
type: StEmpty,
|
|
3378
3414
|
decorators: [{
|
|
@@ -3445,12 +3481,12 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3445
3481
|
const PROFILS_D_ERREUR = {
|
|
3446
3482
|
serveur: {
|
|
3447
3483
|
icone: "nuage-barre",
|
|
3448
|
-
ton: "
|
|
3484
|
+
ton: "erreur",
|
|
3449
3485
|
rejouable: true
|
|
3450
3486
|
},
|
|
3451
3487
|
client: {
|
|
3452
3488
|
icone: "triangle-alerte",
|
|
3453
|
-
ton: "
|
|
3489
|
+
ton: "erreur",
|
|
3454
3490
|
rejouable: false
|
|
3455
3491
|
},
|
|
3456
3492
|
"hors-ligne": {
|
|
@@ -3519,22 +3555,23 @@ function prefixeDeTon(ton, libelles) {
|
|
|
3519
3555
|
case "information": return libelles.tonInformation;
|
|
3520
3556
|
case "succes": return libelles.tonSucces;
|
|
3521
3557
|
case "avertissement": return libelles.tonAvertissement;
|
|
3558
|
+
case "erreur": return libelles.tonErreur;
|
|
3522
3559
|
case "danger": return libelles.tonDanger;
|
|
3523
3560
|
}
|
|
3524
3561
|
}
|
|
3525
3562
|
var StInlineMessage = class StInlineMessage {
|
|
3526
3563
|
libelles = inject(ST_LIBELLES);
|
|
3527
|
-
ton = input("neutre", ...ngDevMode ? [{ debugName: "ton" }] :
|
|
3528
|
-
identifiant = input(null, ...ngDevMode ? [{ debugName: "identifiant" }] :
|
|
3564
|
+
ton = input("neutre", ...ngDevMode ? [{ debugName: "ton" }] : /* istanbul ignore next */ []);
|
|
3565
|
+
identifiant = input(null, ...ngDevMode ? [{ debugName: "identifiant" }] : /* istanbul ignore next */ []);
|
|
3529
3566
|
annonce = input(false, {
|
|
3530
|
-
...ngDevMode ? { debugName: "annonce" } :
|
|
3567
|
+
...ngDevMode ? { debugName: "annonce" } : /* istanbul ignore next */ {},
|
|
3531
3568
|
transform: booleanAttribute
|
|
3532
3569
|
});
|
|
3533
3570
|
encadre = input(false, {
|
|
3534
|
-
...ngDevMode ? { debugName: "encadre" } :
|
|
3571
|
+
...ngDevMode ? { debugName: "encadre" } : /* istanbul ignore next */ {},
|
|
3535
3572
|
transform: booleanAttribute
|
|
3536
3573
|
});
|
|
3537
|
-
icone = input(null, ...ngDevMode ? [{ debugName: "icone" }] :
|
|
3574
|
+
icone = input(null, ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
3538
3575
|
iconeLue = computed(() => {
|
|
3539
3576
|
const propre = this.icone();
|
|
3540
3577
|
if (propre !== null) return propre;
|
|
@@ -3544,14 +3581,15 @@ var StInlineMessage = class StInlineMessage {
|
|
|
3544
3581
|
nom: ICONES_DE_TON[ton],
|
|
3545
3582
|
variante: "plein"
|
|
3546
3583
|
};
|
|
3547
|
-
}, ...ngDevMode ? [{ debugName: "iconeLue" }] :
|
|
3548
|
-
prefixe = computed(() => prefixeDeTon(this.ton(), this.libelles()), ...ngDevMode ? [{ debugName: "prefixe" }] :
|
|
3584
|
+
}, ...ngDevMode ? [{ debugName: "iconeLue" }] : /* istanbul ignore next */ []);
|
|
3585
|
+
prefixe = computed(() => prefixeDeTon(this.ton(), this.libelles()), ...ngDevMode ? [{ debugName: "prefixe" }] : /* istanbul ignore next */ []);
|
|
3549
3586
|
role = computed(() => {
|
|
3550
3587
|
if (!this.annonce()) return null;
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3588
|
+
const ton = this.ton();
|
|
3589
|
+
return ton === "erreur" || ton === "danger" ? "alert" : "status";
|
|
3590
|
+
}, ...ngDevMode ? [{ debugName: "role" }] : /* istanbul ignore next */ []);
|
|
3591
|
+
contenuInsere = signal(false, ...ngDevMode ? [{ debugName: "contenuInsere" }] : /* istanbul ignore next */ []);
|
|
3592
|
+
contenuVisible = computed(() => !this.annonce() || this.contenuInsere(), ...ngDevMode ? [{ debugName: "contenuVisible" }] : /* istanbul ignore next */ []);
|
|
3555
3593
|
constructor() {
|
|
3556
3594
|
let minuterie = null;
|
|
3557
3595
|
afterNextRender(() => {
|
|
@@ -3565,7 +3603,7 @@ var StInlineMessage = class StInlineMessage {
|
|
|
3565
3603
|
}
|
|
3566
3604
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3567
3605
|
minVersion: "12.0.0",
|
|
3568
|
-
version: "22.2.
|
|
3606
|
+
version: "22.2.1",
|
|
3569
3607
|
ngImport: i0,
|
|
3570
3608
|
type: StInlineMessage,
|
|
3571
3609
|
deps: [],
|
|
@@ -3573,7 +3611,7 @@ var StInlineMessage = class StInlineMessage {
|
|
|
3573
3611
|
});
|
|
3574
3612
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3575
3613
|
minVersion: "17.0.0",
|
|
3576
|
-
version: "22.2.
|
|
3614
|
+
version: "22.2.1",
|
|
3577
3615
|
type: StInlineMessage,
|
|
3578
3616
|
isStandalone: true,
|
|
3579
3617
|
selector: "st-inline-message",
|
|
@@ -3624,8 +3662,8 @@ var StInlineMessage = class StInlineMessage {
|
|
|
3624
3662
|
classAttribute: "st-inline-message"
|
|
3625
3663
|
},
|
|
3626
3664
|
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"],
|
|
3665
|
+
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",
|
|
3666
|
+
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
3667
|
dependencies: [{
|
|
3630
3668
|
kind: "component",
|
|
3631
3669
|
type: StIcon,
|
|
@@ -3647,7 +3685,7 @@ var StInlineMessage = class StInlineMessage {
|
|
|
3647
3685
|
};
|
|
3648
3686
|
i0.ɵɵngDeclareClassMetadata({
|
|
3649
3687
|
minVersion: "12.0.0",
|
|
3650
|
-
version: "22.2.
|
|
3688
|
+
version: "22.2.1",
|
|
3651
3689
|
ngImport: i0,
|
|
3652
3690
|
type: StInlineMessage,
|
|
3653
3691
|
decorators: [{
|
|
@@ -3663,8 +3701,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3663
3701
|
"[attr.id]": "identifiant()",
|
|
3664
3702
|
"[attr.role]": "role()"
|
|
3665
3703
|
},
|
|
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"]
|
|
3704
|
+
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",
|
|
3705
|
+
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
3706
|
}]
|
|
3669
3707
|
}],
|
|
3670
3708
|
ctorParameters: () => [],
|
|
@@ -3715,26 +3753,26 @@ const anonymesParDocument = /* @__PURE__ */ new WeakMap();
|
|
|
3715
3753
|
var StCopyButton = class StCopyButton {
|
|
3716
3754
|
document = inject(DOCUMENT);
|
|
3717
3755
|
libelles = inject(ST_LIBELLES);
|
|
3718
|
-
valeur = input.required(...ngDevMode ? [{ debugName: "valeur" }] :
|
|
3719
|
-
libelle = input(null, ...ngDevMode ? [{ debugName: "libelle" }] :
|
|
3756
|
+
valeur = input.required(...ngDevMode ? [{ debugName: "valeur" }] : /* istanbul ignore next */ []);
|
|
3757
|
+
libelle = input(null, ...ngDevMode ? [{ debugName: "libelle" }] : /* istanbul ignore next */ []);
|
|
3720
3758
|
iconeSeule = input(false, {
|
|
3721
|
-
...ngDevMode ? { debugName: "iconeSeule" } :
|
|
3759
|
+
...ngDevMode ? { debugName: "iconeSeule" } : /* istanbul ignore next */ {},
|
|
3722
3760
|
transform: booleanAttribute
|
|
3723
3761
|
});
|
|
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" }] :
|
|
3762
|
+
messageDeConfirmation = input(null, ...ngDevMode ? [{ debugName: "messageDeConfirmation" }] : /* istanbul ignore next */ []);
|
|
3763
|
+
variante = input(null, ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
3764
|
+
taille = input("sm", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
3765
|
+
tailleDuGlyphe = input(null, ...ngDevMode ? [{ debugName: "tailleDuGlyphe" }] : /* istanbul ignore next */ []);
|
|
3728
3766
|
copie = output();
|
|
3729
3767
|
annonce = new AnnonceLocale(inject(DestroyRef));
|
|
3730
3768
|
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" }] :
|
|
3769
|
+
libelleLu = computed(() => this.libelle() ?? this.libelles().copier, ...ngDevMode ? [{ debugName: "libelleLu" }] : /* istanbul ignore next */ []);
|
|
3770
|
+
varianteLue = computed(() => this.variante() ?? (this.iconeSeule() ? "discret" : "secondaire"), ...ngDevMode ? [{ debugName: "varianteLue" }] : /* istanbul ignore next */ []);
|
|
3771
|
+
copieConfirmee = signal(false, ...ngDevMode ? [{ debugName: "copieConfirmee" }] : /* istanbul ignore next */ []);
|
|
3734
3772
|
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" }] :
|
|
3773
|
+
icone = computed(() => this.copieConfirmee() ? "presse-papiers-coche" : "copie", ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
3774
|
+
copieRefusee = signal(false, ...ngDevMode ? [{ debugName: "copieRefusee" }] : /* istanbul ignore next */ []);
|
|
3775
|
+
messageDeRefus = computed(() => this.libelles().copieImpossible, ...ngDevMode ? [{ debugName: "messageDeRefus" }] : /* istanbul ignore next */ []);
|
|
3738
3776
|
constructor() {
|
|
3739
3777
|
inject(DestroyRef).onDestroy(() => {
|
|
3740
3778
|
clearTimeout(this.minuterieDeConfirmation);
|
|
@@ -3768,7 +3806,7 @@ var StCopyButton = class StCopyButton {
|
|
|
3768
3806
|
}
|
|
3769
3807
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3770
3808
|
minVersion: "12.0.0",
|
|
3771
|
-
version: "22.2.
|
|
3809
|
+
version: "22.2.1",
|
|
3772
3810
|
ngImport: i0,
|
|
3773
3811
|
type: StCopyButton,
|
|
3774
3812
|
deps: [],
|
|
@@ -3776,7 +3814,7 @@ var StCopyButton = class StCopyButton {
|
|
|
3776
3814
|
});
|
|
3777
3815
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3778
3816
|
minVersion: "17.0.0",
|
|
3779
|
-
version: "22.2.
|
|
3817
|
+
version: "22.2.1",
|
|
3780
3818
|
type: StCopyButton,
|
|
3781
3819
|
isStandalone: true,
|
|
3782
3820
|
selector: "st-copy-button",
|
|
@@ -3834,7 +3872,7 @@ var StCopyButton = class StCopyButton {
|
|
|
3834
3872
|
outputs: { copie: "copie" },
|
|
3835
3873
|
host: { classAttribute: "st-copy-button" },
|
|
3836
3874
|
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=\"
|
|
3875
|
+
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
3876
|
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
3877
|
dependencies: [
|
|
3840
3878
|
{
|
|
@@ -3887,7 +3925,7 @@ var StCopyButton = class StCopyButton {
|
|
|
3887
3925
|
};
|
|
3888
3926
|
i0.ɵɵngDeclareClassMetadata({
|
|
3889
3927
|
minVersion: "12.0.0",
|
|
3890
|
-
version: "22.2.
|
|
3928
|
+
version: "22.2.1",
|
|
3891
3929
|
ngImport: i0,
|
|
3892
3930
|
type: StCopyButton,
|
|
3893
3931
|
decorators: [{
|
|
@@ -3901,7 +3939,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3901
3939
|
StInlineMessage
|
|
3902
3940
|
],
|
|
3903
3941
|
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=\"
|
|
3942
|
+
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
3943
|
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
3944
|
}]
|
|
3907
3945
|
}],
|
|
@@ -3999,14 +4037,14 @@ var StTimer = class StTimer {
|
|
|
3999
4037
|
locale = inject(ST_LOCALE);
|
|
4000
4038
|
regionParente = inject(REGION_VIVANTE_PARENTE, { optional: true });
|
|
4001
4039
|
secondes = input.required({
|
|
4002
|
-
...ngDevMode ? { debugName: "secondes" } :
|
|
4040
|
+
...ngDevMode ? { debugName: "secondes" } : /* istanbul ignore next */ {},
|
|
4003
4041
|
transform: numberAttribute
|
|
4004
4042
|
});
|
|
4005
|
-
echeance = input(null, ...ngDevMode ? [{ debugName: "echeance" }] :
|
|
4006
|
-
nature = input("reessai", ...ngDevMode ? [{ debugName: "nature" }] :
|
|
4007
|
-
variante = input("texte", ...ngDevMode ? [{ debugName: "variante" }] :
|
|
4043
|
+
echeance = input(null, ...ngDevMode ? [{ debugName: "echeance" }] : /* istanbul ignore next */ []);
|
|
4044
|
+
nature = input("reessai", ...ngDevMode ? [{ debugName: "nature" }] : /* istanbul ignore next */ []);
|
|
4045
|
+
variante = input("texte", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
4008
4046
|
avecIcone = input(false, {
|
|
4009
|
-
...ngDevMode ? { debugName: "avecIcone" } :
|
|
4047
|
+
...ngDevMode ? { debugName: "avecIcone" } : /* istanbul ignore next */ {},
|
|
4010
4048
|
transform: booleanAttribute
|
|
4011
4049
|
});
|
|
4012
4050
|
termine = output();
|
|
@@ -4015,11 +4053,11 @@ var StTimer = class StTimer {
|
|
|
4015
4053
|
const echeance = this.echeance();
|
|
4016
4054
|
if (echeance !== null) return echeance instanceof Date ? echeance.getTime() : echeance;
|
|
4017
4055
|
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" }] :
|
|
4056
|
+
}, ...ngDevMode ? [{ debugName: "fin" }] : /* istanbul ignore next */ []);
|
|
4057
|
+
restant = linkedSignal(() => Math.max(0, Math.ceil((this.fin() - Date.now()) / 1e3)), ...ngDevMode ? [{ debugName: "restant" }] : /* istanbul ignore next */ []);
|
|
4020
4058
|
minuterie = null;
|
|
4021
|
-
textes = computed(() => textesDuMinuteur(this.nature(), this.libelles()), ...ngDevMode ? [{ debugName: "textes" }] :
|
|
4022
|
-
phraseDeFin = computed(() => this.textes().fin, ...ngDevMode ? [{ debugName: "phraseDeFin" }] :
|
|
4059
|
+
textes = computed(() => textesDuMinuteur(this.nature(), this.libelles()), ...ngDevMode ? [{ debugName: "textes" }] : /* istanbul ignore next */ []);
|
|
4060
|
+
phraseDeFin = computed(() => this.textes().fin, ...ngDevMode ? [{ debugName: "phraseDeFin" }] : /* istanbul ignore next */ []);
|
|
4023
4061
|
morceaux = computed(() => {
|
|
4024
4062
|
const restant = this.restant();
|
|
4025
4063
|
if (restant === 0) return [{
|
|
@@ -4039,10 +4077,10 @@ var StTimer = class StTimer {
|
|
|
4039
4077
|
nombre: false
|
|
4040
4078
|
}]
|
|
4041
4079
|
];
|
|
4042
|
-
}, ...ngDevMode ? [{ debugName: "morceaux" }] :
|
|
4043
|
-
phraseCourante = signal("", ...ngDevMode ? [{ debugName: "phraseCourante" }] :
|
|
4080
|
+
}, ...ngDevMode ? [{ debugName: "morceaux" }] : /* istanbul ignore next */ []);
|
|
4081
|
+
phraseCourante = signal("", ...ngDevMode ? [{ debugName: "phraseCourante" }] : /* istanbul ignore next */ []);
|
|
4044
4082
|
phrase = this.phraseCourante.asReadonly();
|
|
4045
|
-
nom = computed(() => this.textes().nom, ...ngDevMode ? [{ debugName: "nom" }] :
|
|
4083
|
+
nom = computed(() => this.textes().nom, ...ngDevMode ? [{ debugName: "nom" }] : /* istanbul ignore next */ []);
|
|
4046
4084
|
constructor() {
|
|
4047
4085
|
inject(DestroyRef).onDestroy(() => {
|
|
4048
4086
|
this.arreter();
|
|
@@ -4082,7 +4120,7 @@ var StTimer = class StTimer {
|
|
|
4082
4120
|
}
|
|
4083
4121
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4084
4122
|
minVersion: "12.0.0",
|
|
4085
|
-
version: "22.2.
|
|
4123
|
+
version: "22.2.1",
|
|
4086
4124
|
ngImport: i0,
|
|
4087
4125
|
type: StTimer,
|
|
4088
4126
|
deps: [],
|
|
@@ -4090,7 +4128,7 @@ var StTimer = class StTimer {
|
|
|
4090
4128
|
});
|
|
4091
4129
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4092
4130
|
minVersion: "17.0.0",
|
|
4093
|
-
version: "22.2.
|
|
4131
|
+
version: "22.2.1",
|
|
4094
4132
|
type: StTimer,
|
|
4095
4133
|
isStandalone: true,
|
|
4096
4134
|
selector: "st-timer",
|
|
@@ -4163,7 +4201,7 @@ var StTimer = class StTimer {
|
|
|
4163
4201
|
};
|
|
4164
4202
|
i0.ɵɵngDeclareClassMetadata({
|
|
4165
4203
|
minVersion: "12.0.0",
|
|
4166
|
-
version: "22.2.
|
|
4204
|
+
version: "22.2.1",
|
|
4167
4205
|
ngImport: i0,
|
|
4168
4206
|
type: StTimer,
|
|
4169
4207
|
decorators: [{
|
|
@@ -4253,62 +4291,62 @@ var StError = class StError {
|
|
|
4253
4291
|
regionParente = inject(REGION_VIVANTE_PARENTE, { optional: true });
|
|
4254
4292
|
libelles = inject(ST_LIBELLES);
|
|
4255
4293
|
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" }] :
|
|
4294
|
+
variante = input("serveur", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
4295
|
+
disposition = input("encart", ...ngDevMode ? [{ debugName: "disposition" }] : /* istanbul ignore next */ []);
|
|
4296
|
+
code = input.required(...ngDevMode ? [{ debugName: "code" }] : /* istanbul ignore next */ []);
|
|
4297
|
+
titre = input.required(...ngDevMode ? [{ debugName: "titre" }] : /* istanbul ignore next */ []);
|
|
4298
|
+
message = input(null, ...ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []);
|
|
4299
|
+
traceId = input(null, ...ngDevMode ? [{ debugName: "traceId" }] : /* istanbul ignore next */ []);
|
|
4300
|
+
niveauDuTitre = input(3, ...ngDevMode ? [{ debugName: "niveauDuTitre" }] : /* istanbul ignore next */ []);
|
|
4301
|
+
icone = input(null, ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
4264
4302
|
rejouable = input(null, {
|
|
4265
|
-
...ngDevMode ? { debugName: "rejouable" } :
|
|
4303
|
+
...ngDevMode ? { debugName: "rejouable" } : /* istanbul ignore next */ {},
|
|
4266
4304
|
transform: (valeur) => valeur === null || valeur === void 0 ? null : booleanAttribute(valeur)
|
|
4267
4305
|
});
|
|
4268
4306
|
rejeuEnCours = input(false, {
|
|
4269
|
-
...ngDevMode ? { debugName: "rejeuEnCours" } :
|
|
4307
|
+
...ngDevMode ? { debugName: "rejeuEnCours" } : /* istanbul ignore next */ {},
|
|
4270
4308
|
transform: booleanAttribute
|
|
4271
4309
|
});
|
|
4272
4310
|
secondesAvantNouvelEssai = input(null, {
|
|
4273
|
-
...ngDevMode ? { debugName: "secondesAvantNouvelEssai" } :
|
|
4311
|
+
...ngDevMode ? { debugName: "secondesAvantNouvelEssai" } : /* istanbul ignore next */ {},
|
|
4274
4312
|
transform: (valeur) => valeur === null || valeur === void 0 ? null : numberAttribute(valeur, 0)
|
|
4275
4313
|
});
|
|
4276
|
-
echeance = input(null, ...ngDevMode ? [{ debugName: "echeance" }] :
|
|
4314
|
+
echeance = input(null, ...ngDevMode ? [{ debugName: "echeance" }] : /* istanbul ignore next */ []);
|
|
4277
4315
|
sansDetails = input(false, {
|
|
4278
|
-
...ngDevMode ? { debugName: "sansDetails" } :
|
|
4316
|
+
...ngDevMode ? { debugName: "sansDetails" } : /* istanbul ignore next */ {},
|
|
4279
4317
|
transform: booleanAttribute
|
|
4280
4318
|
});
|
|
4281
|
-
libelleRejeu = input(null, ...ngDevMode ? [{ debugName: "libelleRejeu" }] :
|
|
4282
|
-
etiquetteDeTrace = input(null, ...ngDevMode ? [{ debugName: "etiquetteDeTrace" }] :
|
|
4319
|
+
libelleRejeu = input(null, ...ngDevMode ? [{ debugName: "libelleRejeu" }] : /* istanbul ignore next */ []);
|
|
4320
|
+
etiquetteDeTrace = input(null, ...ngDevMode ? [{ debugName: "etiquetteDeTrace" }] : /* istanbul ignore next */ []);
|
|
4283
4321
|
rejeu = output();
|
|
4284
4322
|
decompteTermine = linkedSignal(() => {
|
|
4285
4323
|
this.secondesAvantNouvelEssai();
|
|
4286
4324
|
this.echeance();
|
|
4287
4325
|
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" }] :
|
|
4326
|
+
}, ...ngDevMode ? [{ debugName: "decompteTermine" }] : /* istanbul ignore next */ []);
|
|
4327
|
+
decompte = viewChild(StTimer, ...ngDevMode ? [{ debugName: "decompte" }] : /* istanbul ignore next */ []);
|
|
4328
|
+
profil = computed(() => PROFILS_D_ERREUR[this.variante()], ...ngDevMode ? [{ debugName: "profil" }] : /* istanbul ignore next */ []);
|
|
4329
|
+
iconeLue = computed(() => this.icone() ?? this.profil().icone, ...ngDevMode ? [{ debugName: "iconeLue" }] : /* istanbul ignore next */ []);
|
|
4292
4330
|
rejouableLu = computed(() => {
|
|
4293
4331
|
const choisi = this.rejouable();
|
|
4294
4332
|
if (choisi !== null) return choisi;
|
|
4295
4333
|
if (this.variante() === "limite") return this.secondesAvantNouvelEssai() !== null;
|
|
4296
4334
|
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" }] :
|
|
4335
|
+
}, ...ngDevMode ? [{ debugName: "rejouableLu" }] : /* istanbul ignore next */ []);
|
|
4336
|
+
enAttente = computed(() => this.variante() === "limite" && this.secondesAvantNouvelEssai() !== null && !this.decompteTermine(), ...ngDevMode ? [{ debugName: "enAttente" }] : /* istanbul ignore next */ []);
|
|
4337
|
+
raisonDuRejeu = computed(() => this.enAttente() ? this.decompte()?.phrase() ?? null : null, ...ngDevMode ? [{ debugName: "raisonDuRejeu" }] : /* istanbul ignore next */ []);
|
|
4338
|
+
libelleRejeuLu = computed(() => this.libelleRejeu() ?? this.libelles().reessayer, ...ngDevMode ? [{ debugName: "libelleRejeuLu" }] : /* istanbul ignore next */ []);
|
|
4339
|
+
nomDeLaCopie = computed(() => this.libelles().copierLaValeur(this.etiquetteDeTrace() ?? this.libelles().identifiantDeTrace), ...ngDevMode ? [{ debugName: "nomDeLaCopie" }] : /* istanbul ignore next */ []);
|
|
4340
|
+
etiquetteDuCode = computed(() => this.libelles().libelleDeChamp(this.libelles().codeTechnique.toLocaleUpperCase(this.locale())), ...ngDevMode ? [{ debugName: "etiquetteDuCode" }] : /* istanbul ignore next */ []);
|
|
4341
|
+
etiquetteDeLaTrace = computed(() => this.libelles().libelleDeChamp(this.libelles().trace.toLocaleUpperCase(this.locale())), ...ngDevMode ? [{ debugName: "etiquetteDeLaTrace" }] : /* istanbul ignore next */ []);
|
|
4304
4342
|
affichable = sansCommandesDeDirection;
|
|
4305
|
-
sAnnonce = computed(() => this.regionParente === null, ...ngDevMode ? [{ debugName: "sAnnonce" }] :
|
|
4343
|
+
sAnnonce = computed(() => this.regionParente === null, ...ngDevMode ? [{ debugName: "sAnnonce" }] : /* istanbul ignore next */ []);
|
|
4306
4344
|
quandLeDecompteFinit() {
|
|
4307
4345
|
this.decompteTermine.set(true);
|
|
4308
4346
|
}
|
|
4309
4347
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4310
4348
|
minVersion: "12.0.0",
|
|
4311
|
-
version: "22.2.
|
|
4349
|
+
version: "22.2.1",
|
|
4312
4350
|
ngImport: i0,
|
|
4313
4351
|
type: StError,
|
|
4314
4352
|
deps: [],
|
|
@@ -4316,7 +4354,7 @@ var StError = class StError {
|
|
|
4316
4354
|
});
|
|
4317
4355
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4318
4356
|
minVersion: "17.0.0",
|
|
4319
|
-
version: "22.2.
|
|
4357
|
+
version: "22.2.1",
|
|
4320
4358
|
type: StError,
|
|
4321
4359
|
isStandalone: true,
|
|
4322
4360
|
selector: "st-error",
|
|
@@ -4445,7 +4483,7 @@ var StError = class StError {
|
|
|
4445
4483
|
}],
|
|
4446
4484
|
ngImport: i0,
|
|
4447
4485
|
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-
|
|
4486
|
+
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
4487
|
dependencies: [
|
|
4450
4488
|
{
|
|
4451
4489
|
kind: "component",
|
|
@@ -4522,7 +4560,7 @@ var StError = class StError {
|
|
|
4522
4560
|
};
|
|
4523
4561
|
i0.ɵɵngDeclareClassMetadata({
|
|
4524
4562
|
minVersion: "12.0.0",
|
|
4525
|
-
version: "22.2.
|
|
4563
|
+
version: "22.2.1",
|
|
4526
4564
|
ngImport: i0,
|
|
4527
4565
|
type: StError,
|
|
4528
4566
|
decorators: [{
|
|
@@ -4544,7 +4582,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4544
4582
|
"[attr.data-ton]": "profil().ton"
|
|
4545
4583
|
},
|
|
4546
4584
|
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-
|
|
4585
|
+
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
4586
|
}]
|
|
4549
4587
|
}],
|
|
4550
4588
|
propDecorators: {
|
|
@@ -4680,19 +4718,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4680
4718
|
});
|
|
4681
4719
|
var StOfflineBanner = class StOfflineBanner {
|
|
4682
4720
|
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" }] :
|
|
4721
|
+
message = input.required(...ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []);
|
|
4722
|
+
titre = input(null, ...ngDevMode ? [{ debugName: "titre" }] : /* istanbul ignore next */ []);
|
|
4723
|
+
variante = input("hors-ligne", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
4724
|
+
libelleRejeu = input(null, ...ngDevMode ? [{ debugName: "libelleRejeu" }] : /* istanbul ignore next */ []);
|
|
4687
4725
|
rejeuEnCours = input(false, {
|
|
4688
|
-
...ngDevMode ? { debugName: "rejeuEnCours" } :
|
|
4726
|
+
...ngDevMode ? { debugName: "rejeuEnCours" } : /* istanbul ignore next */ {},
|
|
4689
4727
|
transform: booleanAttribute
|
|
4690
4728
|
});
|
|
4691
4729
|
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" }] :
|
|
4730
|
+
sAnnonce = computed(() => this.regionParente === null, ...ngDevMode ? [{ debugName: "sAnnonce" }] : /* istanbul ignore next */ []);
|
|
4731
|
+
annonceEchue = signal(false, ...ngDevMode ? [{ debugName: "annonceEchue" }] : /* istanbul ignore next */ []);
|
|
4732
|
+
copieLisible = computed(() => !this.sAnnonce() || this.annonceEchue(), ...ngDevMode ? [{ debugName: "copieLisible" }] : /* istanbul ignore next */ []);
|
|
4733
|
+
icone = computed(() => this.variante() === "retablie" ? "wifi" : "nuage-barre", ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
4696
4734
|
constructor() {
|
|
4697
4735
|
const minuterie = setTimeout(() => {
|
|
4698
4736
|
this.annonceEchue.set(true);
|
|
@@ -4703,7 +4741,7 @@ var StOfflineBanner = class StOfflineBanner {
|
|
|
4703
4741
|
}
|
|
4704
4742
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4705
4743
|
minVersion: "12.0.0",
|
|
4706
|
-
version: "22.2.
|
|
4744
|
+
version: "22.2.1",
|
|
4707
4745
|
ngImport: i0,
|
|
4708
4746
|
type: StOfflineBanner,
|
|
4709
4747
|
deps: [],
|
|
@@ -4711,7 +4749,7 @@ var StOfflineBanner = class StOfflineBanner {
|
|
|
4711
4749
|
});
|
|
4712
4750
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4713
4751
|
minVersion: "17.0.0",
|
|
4714
|
-
version: "22.2.
|
|
4752
|
+
version: "22.2.1",
|
|
4715
4753
|
type: StOfflineBanner,
|
|
4716
4754
|
isStandalone: true,
|
|
4717
4755
|
selector: "st-offline-banner",
|
|
@@ -4799,7 +4837,7 @@ var StOfflineBanner = class StOfflineBanner {
|
|
|
4799
4837
|
};
|
|
4800
4838
|
i0.ɵɵngDeclareClassMetadata({
|
|
4801
4839
|
minVersion: "12.0.0",
|
|
4802
|
-
version: "22.2.
|
|
4840
|
+
version: "22.2.1",
|
|
4803
4841
|
ngImport: i0,
|
|
4804
4842
|
type: StOfflineBanner,
|
|
4805
4843
|
decorators: [{
|
|
@@ -4867,16 +4905,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4867
4905
|
}
|
|
4868
4906
|
});
|
|
4869
4907
|
var StCard = class StCard {
|
|
4870
|
-
relief = input("pose", ...ngDevMode ? [{ debugName: "relief" }] :
|
|
4871
|
-
rembourrage = input("md", ...ngDevMode ? [{ debugName: "rembourrage" }] :
|
|
4908
|
+
relief = input("pose", ...ngDevMode ? [{ debugName: "relief" }] : /* istanbul ignore next */ []);
|
|
4909
|
+
rembourrage = input("md", ...ngDevMode ? [{ debugName: "rembourrage" }] : /* istanbul ignore next */ []);
|
|
4872
4910
|
filet = input(false, {
|
|
4873
|
-
...ngDevMode ? { debugName: "filet" } :
|
|
4911
|
+
...ngDevMode ? { debugName: "filet" } : /* istanbul ignore next */ {},
|
|
4874
4912
|
transform: booleanAttribute
|
|
4875
4913
|
});
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4914
|
+
ton = input(null, ...ngDevMode ? [{ debugName: "ton" }] : /* istanbul ignore next */ []);
|
|
4915
|
+
liensEtendus = signal(0, ...ngDevMode ? [{ debugName: "liensEtendus" }] : /* istanbul ignore next */ []);
|
|
4916
|
+
focalises = signal(0, ...ngDevMode ? [{ debugName: "focalises" }] : /* istanbul ignore next */ []);
|
|
4917
|
+
interactive = computed(() => this.liensEtendus() > 0, ...ngDevMode ? [{ debugName: "interactive" }] : /* istanbul ignore next */ []);
|
|
4918
|
+
lienFocalise = computed(() => this.focalises() > 0, ...ngDevMode ? [{ debugName: "lienFocalise" }] : /* istanbul ignore next */ []);
|
|
4880
4919
|
inscrireUnLienEtendu() {
|
|
4881
4920
|
this.liensEtendus.update((n) => n + 1);
|
|
4882
4921
|
let focalise = false;
|
|
@@ -4898,7 +4937,7 @@ var StCard = class StCard {
|
|
|
4898
4937
|
}
|
|
4899
4938
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4900
4939
|
minVersion: "12.0.0",
|
|
4901
|
-
version: "22.2.
|
|
4940
|
+
version: "22.2.1",
|
|
4902
4941
|
ngImport: i0,
|
|
4903
4942
|
type: StCard,
|
|
4904
4943
|
deps: [],
|
|
@@ -4906,7 +4945,7 @@ var StCard = class StCard {
|
|
|
4906
4945
|
});
|
|
4907
4946
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4908
4947
|
minVersion: "17.1.0",
|
|
4909
|
-
version: "22.2.
|
|
4948
|
+
version: "22.2.1",
|
|
4910
4949
|
type: StCard,
|
|
4911
4950
|
isStandalone: true,
|
|
4912
4951
|
selector: "st-card",
|
|
@@ -4931,6 +4970,13 @@ var StCard = class StCard {
|
|
|
4931
4970
|
isSignal: true,
|
|
4932
4971
|
isRequired: false,
|
|
4933
4972
|
transformFunction: null
|
|
4973
|
+
},
|
|
4974
|
+
ton: {
|
|
4975
|
+
classPropertyName: "ton",
|
|
4976
|
+
publicName: "ton",
|
|
4977
|
+
isSignal: true,
|
|
4978
|
+
isRequired: false,
|
|
4979
|
+
transformFunction: null
|
|
4934
4980
|
}
|
|
4935
4981
|
},
|
|
4936
4982
|
host: {
|
|
@@ -4938,6 +4984,7 @@ var StCard = class StCard {
|
|
|
4938
4984
|
"attr.data-relief": "relief()",
|
|
4939
4985
|
"attr.data-rembourrage": "rembourrage()",
|
|
4940
4986
|
"attr.data-filet": "filet() ? \"\" : null",
|
|
4987
|
+
"attr.data-ton": "ton()",
|
|
4941
4988
|
"attr.data-interactive": "interactive() ? \"\" : null",
|
|
4942
4989
|
"attr.data-lien-focalise": "lienFocalise() ? \"\" : null"
|
|
4943
4990
|
},
|
|
@@ -4945,13 +4992,13 @@ var StCard = class StCard {
|
|
|
4945
4992
|
},
|
|
4946
4993
|
ngImport: i0,
|
|
4947
4994
|
template: "<div class=\"st-card__entete\"><ng-content select=\"[entete]\" /></div>\n<ng-content />\n<div class=\"st-card__pied\"><ng-content select=\"[pied]\" /></div>\n",
|
|
4948
|
-
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{--st-carte-espace: var(--st-espacement-4);position:relative;display:flex;flex-direction:column;padding:var(--st-carte-espace);color:var(--st-couleur-texte);background:var(--st-couleur-surface);border-radius:var(--st-carte-rayon, var(--st-rayon-lg))}:host([data-rembourrage=aucun]){--st-carte-espace: 0px}:host([data-rembourrage=sm]){--st-carte-espace: var(--st-espacement-3)}:host([data-rembourrage=lg]){--st-carte-espace: var(--st-espacement-6)}:host([data-rembourrage=xl]){--st-carte-espace: var(--st-espacement-8)}:host([data-relief=plat]){box-shadow:var(--st-ombre-none)}:host([data-relief=pose]){box-shadow:var(--st-ombre-repos)}:host([data-relief=flottant]){box-shadow:var(--st-ombre-survol)}:host([data-relief=creux]){background:var(--st-couleur-surface-conteneur-bas);border-radius:var(--st-rayon-md);box-shadow:var(--st-ombre-none)}:host([data-filet]){border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}.st-card__entete,.st-card__pied{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2) var(--st-espacement-4);align-items:center;justify-content:space-between;margin-inline:calc(-1 * var(--st-carte-espace));padding:var(--st-carte-espace);border-color:var(--st-couleur-bordure);border-style:solid;border-width:0}.st-card__entete:empty,.st-card__pied:empty{display:none}.st-card__entete{margin-block:calc(-1 * var(--st-carte-espace)) var(--st-carte-espace);border-block-end-width:var(--st-epaisseur-capillaire)}.st-card__pied{margin-block:var(--st-carte-espace) calc(-1 * var(--st-carte-espace));font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret);border-block-start-width:var(--st-epaisseur-capillaire)}:host([data-interactive]){--st-carte-trace-survol: inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-bordure-forte);--st-carte-ombre-survol: var(--st-ombre-survol)}@media(hover:hover){:host([data-interactive]):hover{box-shadow:var(--st-carte-trace-survol),var(--st-carte-ombre-survol)}}:host([data-interactive]):active{background:var(--st-couleur-surface-survol)}:host([data-interactive][data-relief=flottant]){--st-carte-ombre-survol: var(--st-ombre-surelevee)}:host([data-interactive][data-filet]){--st-carte-trace-survol: 0 0 transparent}@media(hover:hover){:host([data-interactive][data-filet]):hover{border-color:var(--st-couleur-bordure-forte)}}:host([data-lien-focalise]){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(hover:hover){:host([data-lien-focalise]:hover){box-shadow:var(--st-carte-trace-survol),0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus),var(--st-carte-ombre-survol)}}@media(forced-colors:active){:host{border:var(--st-epaisseur-fine) solid CanvasText}}@media print{:host{background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);box-shadow:none}}\n"],
|
|
4995
|
+
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{--st-carte-espace: var(--st-espacement-4);position:relative;display:flex;flex-direction:column;padding:var(--st-carte-espace);color:var(--st-couleur-texte);background:var(--st-couleur-surface);border-radius:var(--st-carte-rayon, var(--st-rayon-lg))}:host([data-rembourrage=aucun]){--st-carte-espace: 0px}:host([data-rembourrage=sm]){--st-carte-espace: var(--st-espacement-3)}:host([data-rembourrage=lg]){--st-carte-espace: var(--st-espacement-6)}:host([data-rembourrage=xl]){--st-carte-espace: var(--st-espacement-8)}:host([data-relief=plat]){box-shadow:var(--st-ombre-none)}:host([data-relief=pose]){box-shadow:var(--st-ombre-repos)}:host([data-relief=flottant]){box-shadow:var(--st-ombre-survol)}:host([data-relief=creux]){background:var(--st-couleur-surface-conteneur-bas);border-radius:var(--st-rayon-md);box-shadow:var(--st-ombre-none)}:host([data-filet]){border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}:host([data-ton=information]){color:var(--st-couleur-sur-information-discret);background:var(--st-couleur-information-discret);border:var(--st-epaisseur-fine) solid color-mix(in srgb,var(--st-couleur-information) 30%,var(--st-couleur-information-discret))}:host([data-ton=succes]){color:var(--st-couleur-sur-succes-discret);background:var(--st-couleur-succes-discret);border:var(--st-epaisseur-fine) solid color-mix(in srgb,var(--st-couleur-succes) 30%,var(--st-couleur-succes-discret))}:host([data-ton=avertissement]){color:var(--st-couleur-sur-avertissement-discret);background:var(--st-couleur-avertissement-discret);border:var(--st-epaisseur-fine) solid color-mix(in srgb,var(--st-couleur-avertissement) 30%,var(--st-couleur-avertissement-discret))}:host([data-ton=essai]){color:var(--st-couleur-sur-essai-discret);background:var(--st-couleur-essai-discret);border:var(--st-epaisseur-fine) solid color-mix(in srgb,var(--st-couleur-essai) 30%,var(--st-couleur-essai-discret))}.st-card__entete,.st-card__pied{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2) var(--st-espacement-4);align-items:center;justify-content:space-between;margin-inline:calc(-1 * var(--st-carte-espace));padding:var(--st-carte-espace);border-color:var(--st-couleur-bordure);border-style:solid;border-width:0}.st-card__entete:empty,.st-card__pied:empty{display:none}.st-card__entete{margin-block:calc(-1 * var(--st-carte-espace)) var(--st-carte-espace);border-block-end-width:var(--st-epaisseur-capillaire)}.st-card__pied{margin-block:var(--st-carte-espace) calc(-1 * var(--st-carte-espace));font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret);border-block-start-width:var(--st-epaisseur-capillaire)}:host([data-interactive]){--st-carte-trace-survol: inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-bordure-forte);--st-carte-ombre-survol: var(--st-ombre-survol)}@media(hover:hover){:host([data-interactive]):hover{box-shadow:var(--st-carte-trace-survol),var(--st-carte-ombre-survol)}}:host([data-interactive]):active{background:var(--st-couleur-surface-survol)}:host([data-interactive][data-relief=flottant]){--st-carte-ombre-survol: var(--st-ombre-surelevee)}:host([data-interactive][data-filet]){--st-carte-trace-survol: 0 0 transparent}@media(hover:hover){:host([data-interactive][data-filet]):hover{border-color:var(--st-couleur-bordure-forte)}}:host([data-lien-focalise]){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(hover:hover){:host([data-lien-focalise]:hover){box-shadow:var(--st-carte-trace-survol),0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus),var(--st-carte-ombre-survol)}}@media(forced-colors:active){:host{border:var(--st-epaisseur-fine) solid CanvasText}}@media print{:host{background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);box-shadow:none}}\n"],
|
|
4949
4996
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
4950
4997
|
});
|
|
4951
4998
|
};
|
|
4952
4999
|
i0.ɵɵngDeclareClassMetadata({
|
|
4953
5000
|
minVersion: "12.0.0",
|
|
4954
|
-
version: "22.2.
|
|
5001
|
+
version: "22.2.1",
|
|
4955
5002
|
ngImport: i0,
|
|
4956
5003
|
type: StCard,
|
|
4957
5004
|
decorators: [{
|
|
@@ -4964,11 +5011,12 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4964
5011
|
"[attr.data-relief]": "relief()",
|
|
4965
5012
|
"[attr.data-rembourrage]": "rembourrage()",
|
|
4966
5013
|
"[attr.data-filet]": "filet() ? \"\" : null",
|
|
5014
|
+
"[attr.data-ton]": "ton()",
|
|
4967
5015
|
"[attr.data-interactive]": "interactive() ? \"\" : null",
|
|
4968
5016
|
"[attr.data-lien-focalise]": "lienFocalise() ? \"\" : null"
|
|
4969
5017
|
},
|
|
4970
5018
|
template: "<div class=\"st-card__entete\"><ng-content select=\"[entete]\" /></div>\n<ng-content />\n<div class=\"st-card__pied\"><ng-content select=\"[pied]\" /></div>\n",
|
|
4971
|
-
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{--st-carte-espace: var(--st-espacement-4);position:relative;display:flex;flex-direction:column;padding:var(--st-carte-espace);color:var(--st-couleur-texte);background:var(--st-couleur-surface);border-radius:var(--st-carte-rayon, var(--st-rayon-lg))}:host([data-rembourrage=aucun]){--st-carte-espace: 0px}:host([data-rembourrage=sm]){--st-carte-espace: var(--st-espacement-3)}:host([data-rembourrage=lg]){--st-carte-espace: var(--st-espacement-6)}:host([data-rembourrage=xl]){--st-carte-espace: var(--st-espacement-8)}:host([data-relief=plat]){box-shadow:var(--st-ombre-none)}:host([data-relief=pose]){box-shadow:var(--st-ombre-repos)}:host([data-relief=flottant]){box-shadow:var(--st-ombre-survol)}:host([data-relief=creux]){background:var(--st-couleur-surface-conteneur-bas);border-radius:var(--st-rayon-md);box-shadow:var(--st-ombre-none)}:host([data-filet]){border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}.st-card__entete,.st-card__pied{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2) var(--st-espacement-4);align-items:center;justify-content:space-between;margin-inline:calc(-1 * var(--st-carte-espace));padding:var(--st-carte-espace);border-color:var(--st-couleur-bordure);border-style:solid;border-width:0}.st-card__entete:empty,.st-card__pied:empty{display:none}.st-card__entete{margin-block:calc(-1 * var(--st-carte-espace)) var(--st-carte-espace);border-block-end-width:var(--st-epaisseur-capillaire)}.st-card__pied{margin-block:var(--st-carte-espace) calc(-1 * var(--st-carte-espace));font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret);border-block-start-width:var(--st-epaisseur-capillaire)}:host([data-interactive]){--st-carte-trace-survol: inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-bordure-forte);--st-carte-ombre-survol: var(--st-ombre-survol)}@media(hover:hover){:host([data-interactive]):hover{box-shadow:var(--st-carte-trace-survol),var(--st-carte-ombre-survol)}}:host([data-interactive]):active{background:var(--st-couleur-surface-survol)}:host([data-interactive][data-relief=flottant]){--st-carte-ombre-survol: var(--st-ombre-surelevee)}:host([data-interactive][data-filet]){--st-carte-trace-survol: 0 0 transparent}@media(hover:hover){:host([data-interactive][data-filet]):hover{border-color:var(--st-couleur-bordure-forte)}}:host([data-lien-focalise]){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(hover:hover){:host([data-lien-focalise]:hover){box-shadow:var(--st-carte-trace-survol),0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus),var(--st-carte-ombre-survol)}}@media(forced-colors:active){:host{border:var(--st-epaisseur-fine) solid CanvasText}}@media print{:host{background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);box-shadow:none}}\n"]
|
|
5019
|
+
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{--st-carte-espace: var(--st-espacement-4);position:relative;display:flex;flex-direction:column;padding:var(--st-carte-espace);color:var(--st-couleur-texte);background:var(--st-couleur-surface);border-radius:var(--st-carte-rayon, var(--st-rayon-lg))}:host([data-rembourrage=aucun]){--st-carte-espace: 0px}:host([data-rembourrage=sm]){--st-carte-espace: var(--st-espacement-3)}:host([data-rembourrage=lg]){--st-carte-espace: var(--st-espacement-6)}:host([data-rembourrage=xl]){--st-carte-espace: var(--st-espacement-8)}:host([data-relief=plat]){box-shadow:var(--st-ombre-none)}:host([data-relief=pose]){box-shadow:var(--st-ombre-repos)}:host([data-relief=flottant]){box-shadow:var(--st-ombre-survol)}:host([data-relief=creux]){background:var(--st-couleur-surface-conteneur-bas);border-radius:var(--st-rayon-md);box-shadow:var(--st-ombre-none)}:host([data-filet]){border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}:host([data-ton=information]){color:var(--st-couleur-sur-information-discret);background:var(--st-couleur-information-discret);border:var(--st-epaisseur-fine) solid color-mix(in srgb,var(--st-couleur-information) 30%,var(--st-couleur-information-discret))}:host([data-ton=succes]){color:var(--st-couleur-sur-succes-discret);background:var(--st-couleur-succes-discret);border:var(--st-epaisseur-fine) solid color-mix(in srgb,var(--st-couleur-succes) 30%,var(--st-couleur-succes-discret))}:host([data-ton=avertissement]){color:var(--st-couleur-sur-avertissement-discret);background:var(--st-couleur-avertissement-discret);border:var(--st-epaisseur-fine) solid color-mix(in srgb,var(--st-couleur-avertissement) 30%,var(--st-couleur-avertissement-discret))}:host([data-ton=essai]){color:var(--st-couleur-sur-essai-discret);background:var(--st-couleur-essai-discret);border:var(--st-epaisseur-fine) solid color-mix(in srgb,var(--st-couleur-essai) 30%,var(--st-couleur-essai-discret))}.st-card__entete,.st-card__pied{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2) var(--st-espacement-4);align-items:center;justify-content:space-between;margin-inline:calc(-1 * var(--st-carte-espace));padding:var(--st-carte-espace);border-color:var(--st-couleur-bordure);border-style:solid;border-width:0}.st-card__entete:empty,.st-card__pied:empty{display:none}.st-card__entete{margin-block:calc(-1 * var(--st-carte-espace)) var(--st-carte-espace);border-block-end-width:var(--st-epaisseur-capillaire)}.st-card__pied{margin-block:var(--st-carte-espace) calc(-1 * var(--st-carte-espace));font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret);border-block-start-width:var(--st-epaisseur-capillaire)}:host([data-interactive]){--st-carte-trace-survol: inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-bordure-forte);--st-carte-ombre-survol: var(--st-ombre-survol)}@media(hover:hover){:host([data-interactive]):hover{box-shadow:var(--st-carte-trace-survol),var(--st-carte-ombre-survol)}}:host([data-interactive]):active{background:var(--st-couleur-surface-survol)}:host([data-interactive][data-relief=flottant]){--st-carte-ombre-survol: var(--st-ombre-surelevee)}:host([data-interactive][data-filet]){--st-carte-trace-survol: 0 0 transparent}@media(hover:hover){:host([data-interactive][data-filet]):hover{border-color:var(--st-couleur-bordure-forte)}}:host([data-lien-focalise]){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(hover:hover){:host([data-lien-focalise]:hover){box-shadow:var(--st-carte-trace-survol),0 0 0 var(--st-focus-lisere) var(--st-couleur-lisere-focus),var(--st-carte-ombre-survol)}}@media(forced-colors:active){:host{border:var(--st-epaisseur-fine) solid CanvasText}}@media print{:host{background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);box-shadow:none}}\n"]
|
|
4972
5020
|
}]
|
|
4973
5021
|
}],
|
|
4974
5022
|
propDecorators: {
|
|
@@ -4995,6 +5043,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4995
5043
|
alias: "filet",
|
|
4996
5044
|
required: false
|
|
4997
5045
|
}]
|
|
5046
|
+
}],
|
|
5047
|
+
ton: [{
|
|
5048
|
+
type: i0.Input,
|
|
5049
|
+
args: [{
|
|
5050
|
+
isSignal: true,
|
|
5051
|
+
alias: "ton",
|
|
5052
|
+
required: false
|
|
5053
|
+
}]
|
|
4998
5054
|
}]
|
|
4999
5055
|
}
|
|
5000
5056
|
});
|
|
@@ -5002,7 +5058,7 @@ var StLienEtendu = class StLienEtendu {
|
|
|
5002
5058
|
element = inject(ElementRef).nativeElement;
|
|
5003
5059
|
carte = inject(StCard, { optional: true });
|
|
5004
5060
|
inscription = hotePositionneParLeSocle(this.element) ? void 0 : this.carte?.inscrireUnLienEtendu();
|
|
5005
|
-
actif = signal(this.inscription !== void 0, ...ngDevMode ? [{ debugName: "actif" }] :
|
|
5061
|
+
actif = signal(this.inscription !== void 0, ...ngDevMode ? [{ debugName: "actif" }] : /* istanbul ignore next */ []);
|
|
5006
5062
|
verifie = false;
|
|
5007
5063
|
constructor() {
|
|
5008
5064
|
inject(DestroyRef).onDestroy(() => this.inscription?.retirer());
|
|
@@ -5032,7 +5088,7 @@ var StLienEtendu = class StLienEtendu {
|
|
|
5032
5088
|
}
|
|
5033
5089
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5034
5090
|
minVersion: "12.0.0",
|
|
5035
|
-
version: "22.2.
|
|
5091
|
+
version: "22.2.1",
|
|
5036
5092
|
ngImport: i0,
|
|
5037
5093
|
type: StLienEtendu,
|
|
5038
5094
|
deps: [],
|
|
@@ -5040,7 +5096,7 @@ var StLienEtendu = class StLienEtendu {
|
|
|
5040
5096
|
});
|
|
5041
5097
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
5042
5098
|
minVersion: "14.0.0",
|
|
5043
|
-
version: "22.2.
|
|
5099
|
+
version: "22.2.1",
|
|
5044
5100
|
type: StLienEtendu,
|
|
5045
5101
|
isStandalone: true,
|
|
5046
5102
|
selector: "a[stLienEtendu], button[stLienEtendu]",
|
|
@@ -5056,7 +5112,7 @@ var StLienEtendu = class StLienEtendu {
|
|
|
5056
5112
|
};
|
|
5057
5113
|
i0.ɵɵngDeclareClassMetadata({
|
|
5058
5114
|
minVersion: "12.0.0",
|
|
5059
|
-
version: "22.2.
|
|
5115
|
+
version: "22.2.1",
|
|
5060
5116
|
ngImport: i0,
|
|
5061
5117
|
type: StLienEtendu,
|
|
5062
5118
|
decorators: [{
|
|
@@ -5101,14 +5157,14 @@ function avertirDesControlesRecouverts(lien) {
|
|
|
5101
5157
|
}
|
|
5102
5158
|
}
|
|
5103
5159
|
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" }] :
|
|
5160
|
+
precision = input(null, ...ngDevMode ? [{ debugName: "precision" }] : /* istanbul ignore next */ []);
|
|
5161
|
+
identifiant = input(null, ...ngDevMode ? [{ debugName: "identifiant" }] : /* istanbul ignore next */ []);
|
|
5162
|
+
niveau = input(1, ...ngDevMode ? [{ debugName: "niveau" }] : /* istanbul ignore next */ []);
|
|
5163
|
+
taille = input("3xl", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
5108
5164
|
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" }] :
|
|
5165
|
+
zoneDeLaPrecision = viewChild.required("zoneDeLaPrecision", ...ngDevMode ? [{ debugName: "zoneDeLaPrecision" }] : /* istanbul ignore next */ []);
|
|
5166
|
+
precisionProjetee = signal(false, ...ngDevMode ? [{ debugName: "precisionProjetee" }] : /* istanbul ignore next */ []);
|
|
5167
|
+
aUnePrecision = computed(() => this.precision() !== null || this.precisionProjetee(), ...ngDevMode ? [{ debugName: "aUnePrecision" }] : /* istanbul ignore next */ []);
|
|
5112
5168
|
constructor() {
|
|
5113
5169
|
afterEveryRender({ read: () => {
|
|
5114
5170
|
const projetee = this.zoneDeLaPrecision().nativeElement.querySelector(":scope > [precision]") !== null;
|
|
@@ -5125,7 +5181,7 @@ var StPageTitle = class StPageTitle {
|
|
|
5125
5181
|
}
|
|
5126
5182
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5127
5183
|
minVersion: "12.0.0",
|
|
5128
|
-
version: "22.2.
|
|
5184
|
+
version: "22.2.1",
|
|
5129
5185
|
ngImport: i0,
|
|
5130
5186
|
type: StPageTitle,
|
|
5131
5187
|
deps: [],
|
|
@@ -5133,7 +5189,7 @@ var StPageTitle = class StPageTitle {
|
|
|
5133
5189
|
});
|
|
5134
5190
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5135
5191
|
minVersion: "17.0.0",
|
|
5136
|
-
version: "22.2.
|
|
5192
|
+
version: "22.2.1",
|
|
5137
5193
|
type: StPageTitle,
|
|
5138
5194
|
isStandalone: true,
|
|
5139
5195
|
selector: "st-page-title",
|
|
@@ -5180,7 +5236,7 @@ var StPageTitle = class StPageTitle {
|
|
|
5180
5236
|
}],
|
|
5181
5237
|
ngImport: i0,
|
|
5182
5238
|
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"],
|
|
5239
|
+
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
5240
|
dependencies: [{
|
|
5185
5241
|
kind: "directive",
|
|
5186
5242
|
type: NgTemplateOutlet,
|
|
@@ -5196,7 +5252,7 @@ var StPageTitle = class StPageTitle {
|
|
|
5196
5252
|
};
|
|
5197
5253
|
i0.ɵɵngDeclareClassMetadata({
|
|
5198
5254
|
minVersion: "12.0.0",
|
|
5199
|
-
version: "22.2.
|
|
5255
|
+
version: "22.2.1",
|
|
5200
5256
|
ngImport: i0,
|
|
5201
5257
|
type: StPageTitle,
|
|
5202
5258
|
decorators: [{
|
|
@@ -5210,7 +5266,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5210
5266
|
"[attr.data-taille]": "taille()"
|
|
5211
5267
|
},
|
|
5212
5268
|
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"]
|
|
5269
|
+
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
5270
|
}]
|
|
5215
5271
|
}],
|
|
5216
5272
|
ctorParameters: () => [],
|
|
@@ -5256,23 +5312,23 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5256
5312
|
var StBreadcrumb = class StBreadcrumb {
|
|
5257
5313
|
affichable = sansCommandesDeDirection;
|
|
5258
5314
|
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" }] :
|
|
5315
|
+
maillons = input.required(...ngDevMode ? [{ debugName: "maillons" }] : /* istanbul ignore next */ []);
|
|
5316
|
+
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
5317
|
+
separateur = input("chevron", ...ngDevMode ? [{ debugName: "separateur" }] : /* istanbul ignore next */ []);
|
|
5318
|
+
forme = input("complete", ...ngDevMode ? [{ debugName: "forme" }] : /* istanbul ignore next */ []);
|
|
5263
5319
|
repli = input(true, {
|
|
5264
|
-
...ngDevMode ? { debugName: "repli" } :
|
|
5320
|
+
...ngDevMode ? { debugName: "repli" } : /* istanbul ignore next */ {},
|
|
5265
5321
|
transform: booleanAttribute
|
|
5266
5322
|
});
|
|
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" }] :
|
|
5323
|
+
iconeDeTete = input(null, ...ngDevMode ? [{ debugName: "iconeDeTete" }] : /* istanbul ignore next */ []);
|
|
5324
|
+
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().filDAriane, ...ngDevMode ? [{ debugName: "etiquetteLue" }] : /* istanbul ignore next */ []);
|
|
5325
|
+
derniereIndice = computed(() => this.maillons().length - 1, ...ngDevMode ? [{ debugName: "derniereIndice" }] : /* istanbul ignore next */ []);
|
|
5270
5326
|
indiceDuParent = computed(() => {
|
|
5271
5327
|
const maillons = this.maillons();
|
|
5272
5328
|
for (let indice = maillons.length - 2; indice >= 0; indice--) if (maillons[indice]?.lien !== void 0) return indice;
|
|
5273
5329
|
return -1;
|
|
5274
|
-
}, ...ngDevMode ? [{ debugName: "indiceDuParent" }] :
|
|
5275
|
-
tailleDeLIcone = computed(() => this.forme() === "compacte" ? "16" : "18", ...ngDevMode ? [{ debugName: "tailleDeLIcone" }] :
|
|
5330
|
+
}, ...ngDevMode ? [{ debugName: "indiceDuParent" }] : /* istanbul ignore next */ []);
|
|
5331
|
+
tailleDeLIcone = computed(() => this.forme() === "compacte" ? "16" : "18", ...ngDevMode ? [{ debugName: "tailleDeLIcone" }] : /* istanbul ignore next */ []);
|
|
5276
5332
|
constructor() {
|
|
5277
5333
|
if (isDevMode()) effect(() => {
|
|
5278
5334
|
const vides = this.maillons().filter((maillon) => maillon.libelle.trim() === "");
|
|
@@ -5281,7 +5337,7 @@ var StBreadcrumb = class StBreadcrumb {
|
|
|
5281
5337
|
}
|
|
5282
5338
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5283
5339
|
minVersion: "12.0.0",
|
|
5284
|
-
version: "22.2.
|
|
5340
|
+
version: "22.2.1",
|
|
5285
5341
|
ngImport: i0,
|
|
5286
5342
|
type: StBreadcrumb,
|
|
5287
5343
|
deps: [],
|
|
@@ -5289,7 +5345,7 @@ var StBreadcrumb = class StBreadcrumb {
|
|
|
5289
5345
|
});
|
|
5290
5346
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5291
5347
|
minVersion: "17.0.0",
|
|
5292
|
-
version: "22.2.
|
|
5348
|
+
version: "22.2.1",
|
|
5293
5349
|
type: StBreadcrumb,
|
|
5294
5350
|
isStandalone: true,
|
|
5295
5351
|
selector: "st-breadcrumb",
|
|
@@ -5386,7 +5442,7 @@ var StBreadcrumb = class StBreadcrumb {
|
|
|
5386
5442
|
};
|
|
5387
5443
|
i0.ɵɵngDeclareClassMetadata({
|
|
5388
5444
|
minVersion: "12.0.0",
|
|
5389
|
-
version: "22.2.
|
|
5445
|
+
version: "22.2.1",
|
|
5390
5446
|
ngImport: i0,
|
|
5391
5447
|
type: StBreadcrumb,
|
|
5392
5448
|
decorators: [{
|
|
@@ -5460,15 +5516,27 @@ const IDENTIFIANT_DU_CONTENU_PRINCIPAL = "contenu-principal";
|
|
|
5460
5516
|
var StSkipLink = class StSkipLink {
|
|
5461
5517
|
document = inject(DOCUMENT);
|
|
5462
5518
|
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
|
-
|
|
5519
|
+
cible = input(IDENTIFIANT_DU_CONTENU_PRINCIPAL, ...ngDevMode ? [{ debugName: "cible" }] : /* istanbul ignore next */ []);
|
|
5520
|
+
libelle = input(null, ...ngDevMode ? [{ debugName: "libelle" }] : /* istanbul ignore next */ []);
|
|
5521
|
+
secondeCible = input(null, ...ngDevMode ? [{ debugName: "secondeCible" }] : /* istanbul ignore next */ []);
|
|
5522
|
+
secondeEnPremier = input(false, {
|
|
5523
|
+
...ngDevMode ? { debugName: "secondeEnPremier" } : /* istanbul ignore next */ {},
|
|
5524
|
+
transform: booleanAttribute
|
|
5525
|
+
});
|
|
5526
|
+
liens = computed(() => {
|
|
5527
|
+
const contenu = {
|
|
5528
|
+
cible: this.cible(),
|
|
5529
|
+
libelle: this.libelle() ?? this.libelles().allerAuContenu
|
|
5530
|
+
};
|
|
5531
|
+
const seconde = this.secondeCible();
|
|
5532
|
+
if (seconde === null) return [contenu];
|
|
5533
|
+
return this.secondeEnPremier() ? [seconde, contenu] : [contenu, seconde];
|
|
5534
|
+
}, ...ngDevMode ? [{ debugName: "liens" }] : /* istanbul ignore next */ []);
|
|
5535
|
+
aller(evenement, identifiant) {
|
|
5536
|
+
const cible = this.document.getElementById(identifiant);
|
|
5469
5537
|
if (cible === null) return;
|
|
5470
5538
|
evenement.preventDefault();
|
|
5471
|
-
if (!cible.hasAttribute("tabindex")) {
|
|
5539
|
+
if (cible.tabIndex < 0 && !cible.hasAttribute("tabindex")) {
|
|
5472
5540
|
cible.setAttribute("tabindex", "-1");
|
|
5473
5541
|
cible.addEventListener("blur", () => {
|
|
5474
5542
|
cible.removeAttribute("tabindex");
|
|
@@ -5478,15 +5546,15 @@ var StSkipLink = class StSkipLink {
|
|
|
5478
5546
|
}
|
|
5479
5547
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5480
5548
|
minVersion: "12.0.0",
|
|
5481
|
-
version: "22.2.
|
|
5549
|
+
version: "22.2.1",
|
|
5482
5550
|
ngImport: i0,
|
|
5483
5551
|
type: StSkipLink,
|
|
5484
5552
|
deps: [],
|
|
5485
5553
|
target: i0.ɵɵFactoryTarget.Component
|
|
5486
5554
|
});
|
|
5487
5555
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5488
|
-
minVersion: "17.
|
|
5489
|
-
version: "22.2.
|
|
5556
|
+
minVersion: "17.0.0",
|
|
5557
|
+
version: "22.2.1",
|
|
5490
5558
|
type: StSkipLink,
|
|
5491
5559
|
isStandalone: true,
|
|
5492
5560
|
selector: "st-skip-link",
|
|
@@ -5504,18 +5572,32 @@ var StSkipLink = class StSkipLink {
|
|
|
5504
5572
|
isSignal: true,
|
|
5505
5573
|
isRequired: false,
|
|
5506
5574
|
transformFunction: null
|
|
5575
|
+
},
|
|
5576
|
+
secondeCible: {
|
|
5577
|
+
classPropertyName: "secondeCible",
|
|
5578
|
+
publicName: "secondeCible",
|
|
5579
|
+
isSignal: true,
|
|
5580
|
+
isRequired: false,
|
|
5581
|
+
transformFunction: null
|
|
5582
|
+
},
|
|
5583
|
+
secondeEnPremier: {
|
|
5584
|
+
classPropertyName: "secondeEnPremier",
|
|
5585
|
+
publicName: "secondeEnPremier",
|
|
5586
|
+
isSignal: true,
|
|
5587
|
+
isRequired: false,
|
|
5588
|
+
transformFunction: null
|
|
5507
5589
|
}
|
|
5508
5590
|
},
|
|
5509
5591
|
host: { classAttribute: "st-skip-link" },
|
|
5510
5592
|
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"],
|
|
5593
|
+
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",
|
|
5594
|
+
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
5595
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
5514
5596
|
});
|
|
5515
5597
|
};
|
|
5516
5598
|
i0.ɵɵngDeclareClassMetadata({
|
|
5517
5599
|
minVersion: "12.0.0",
|
|
5518
|
-
version: "22.2.
|
|
5600
|
+
version: "22.2.1",
|
|
5519
5601
|
ngImport: i0,
|
|
5520
5602
|
type: StSkipLink,
|
|
5521
5603
|
decorators: [{
|
|
@@ -5524,8 +5606,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5524
5606
|
selector: "st-skip-link",
|
|
5525
5607
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5526
5608
|
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"]
|
|
5609
|
+
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",
|
|
5610
|
+
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
5611
|
}]
|
|
5530
5612
|
}],
|
|
5531
5613
|
propDecorators: {
|
|
@@ -5544,193 +5626,681 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5544
5626
|
alias: "libelle",
|
|
5545
5627
|
required: false
|
|
5546
5628
|
}]
|
|
5547
|
-
}]
|
|
5548
|
-
}
|
|
5549
|
-
});
|
|
5550
|
-
const PROPRIETE_HAUTEUR_ENTETE = "--st-hauteur-entete";
|
|
5551
|
-
const PROPRIETE_HAUTEUR_ENTETE_SEUL = "--st-coquille-hauteur-entete";
|
|
5552
|
-
var StAppShell = class StAppShell {
|
|
5553
|
-
variante = input("standard", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
5554
|
-
document = inject(DOCUMENT);
|
|
5555
|
-
hote = inject(ElementRef);
|
|
5556
|
-
entete = viewChild.required("entete", ...ngDevMode ? [{ debugName: "entete" }] : /* istanbul ignore next */ []);
|
|
5557
|
-
bannieres = viewChild.required("bannieres", ...ngDevMode ? [{ debugName: "bannieres" }] : /* istanbul ignore next */ []);
|
|
5558
|
-
observateur = null;
|
|
5559
|
-
surveillant = null;
|
|
5560
|
-
hauteurs = /* @__PURE__ */ new Map();
|
|
5561
|
-
identifiantDuContenu = IDENTIFIANT_DU_CONTENU_PRINCIPAL;
|
|
5562
|
-
constructor() {
|
|
5563
|
-
afterNextRender(() => {
|
|
5564
|
-
this.mesurerLeBlocCollant();
|
|
5565
|
-
});
|
|
5566
|
-
inject(DestroyRef).onDestroy(() => {
|
|
5567
|
-
this.observateur?.disconnect();
|
|
5568
|
-
this.observateur = null;
|
|
5569
|
-
this.surveillant?.disconnect();
|
|
5570
|
-
this.surveillant = null;
|
|
5571
|
-
this.hauteurs.clear();
|
|
5572
|
-
this.document.documentElement.style.removeProperty(PROPRIETE_HAUTEUR_ENTETE);
|
|
5573
|
-
});
|
|
5574
|
-
}
|
|
5575
|
-
mesurerLeBlocCollant() {
|
|
5576
|
-
const fenetre = this.document.defaultView;
|
|
5577
|
-
const Observateur = fenetre?.ResizeObserver;
|
|
5578
|
-
if (Observateur === void 0) return;
|
|
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
|
-
});
|
|
5598
|
-
}
|
|
5599
|
-
suivreLesBannieresCollees() {
|
|
5600
|
-
const observateur = this.observateur;
|
|
5601
|
-
if (observateur === null) return;
|
|
5602
|
-
const entete = this.entete().nativeElement;
|
|
5603
|
-
const collees = new Set(this.bannieres().nativeElement.querySelectorAll("[data-collee]"));
|
|
5604
|
-
for (const element of [...this.hauteurs.keys()]) if (element !== entete && !collees.has(element)) {
|
|
5605
|
-
observateur.unobserve(element);
|
|
5606
|
-
this.hauteurs.delete(element);
|
|
5607
|
-
}
|
|
5608
|
-
for (const element of collees) if (!this.hauteurs.has(element)) {
|
|
5609
|
-
this.hauteurs.set(element, 0);
|
|
5610
|
-
observateur.observe(element);
|
|
5611
|
-
}
|
|
5612
|
-
}
|
|
5613
|
-
poserLesHauteurs(entete) {
|
|
5614
|
-
let bloc = 0;
|
|
5615
|
-
for (const hauteur of this.hauteurs.values()) bloc += hauteur;
|
|
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));
|
|
5619
|
-
}
|
|
5620
|
-
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5621
|
-
minVersion: "12.0.0",
|
|
5622
|
-
version: "22.2.0",
|
|
5623
|
-
ngImport: i0,
|
|
5624
|
-
type: StAppShell,
|
|
5625
|
-
deps: [],
|
|
5626
|
-
target: i0.ɵɵFactoryTarget.Component
|
|
5627
|
-
});
|
|
5628
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5629
|
-
minVersion: "17.2.0",
|
|
5630
|
-
version: "22.2.0",
|
|
5631
|
-
type: StAppShell,
|
|
5632
|
-
isStandalone: true,
|
|
5633
|
-
selector: "st-app-shell",
|
|
5634
|
-
inputs: { variante: {
|
|
5635
|
-
classPropertyName: "variante",
|
|
5636
|
-
publicName: "variante",
|
|
5637
|
-
isSignal: true,
|
|
5638
|
-
isRequired: false,
|
|
5639
|
-
transformFunction: null
|
|
5640
|
-
} },
|
|
5641
|
-
host: {
|
|
5642
|
-
properties: { "attr.data-variante": "variante()" },
|
|
5643
|
-
classAttribute: "st-app-shell"
|
|
5644
|
-
},
|
|
5645
|
-
viewQueries: [{
|
|
5646
|
-
propertyName: "entete",
|
|
5647
|
-
first: true,
|
|
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
|
|
5657
|
-
}],
|
|
5658
|
-
ngImport: i0,
|
|
5659
|
-
template: "<st-skip-link [cible]=\"identifiantDuContenu\" />\n\n<header #entete class=\"st-app-shell__entete\">\n <ng-content select=\"[entete]\" />\n <ng-content select=\"st-route-progress\" />\n</header>\n\n<div #bannieres class=\"st-app-shell__bannieres\">\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",
|
|
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;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-shell__entete:empty,.st-app-shell__pied:empty{display:none}.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__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}}@media(min-width:64rem){.st-app-shell__contenu{padding: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"],
|
|
5661
|
-
dependencies: [{
|
|
5662
|
-
kind: "component",
|
|
5663
|
-
type: StSkipLink,
|
|
5664
|
-
selector: "st-skip-link",
|
|
5665
|
-
inputs: ["cible", "libelle"]
|
|
5666
5629
|
}],
|
|
5667
|
-
|
|
5668
|
-
});
|
|
5669
|
-
};
|
|
5670
|
-
i0.ɵɵngDeclareClassMetadata({
|
|
5671
|
-
minVersion: "12.0.0",
|
|
5672
|
-
version: "22.2.0",
|
|
5673
|
-
ngImport: i0,
|
|
5674
|
-
type: StAppShell,
|
|
5675
|
-
decorators: [{
|
|
5676
|
-
type: Component,
|
|
5677
|
-
args: [{
|
|
5678
|
-
selector: "st-app-shell",
|
|
5679
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5680
|
-
imports: [StSkipLink],
|
|
5681
|
-
host: {
|
|
5682
|
-
class: "st-app-shell",
|
|
5683
|
-
"[attr.data-variante]": "variante()"
|
|
5684
|
-
},
|
|
5685
|
-
template: "<st-skip-link [cible]=\"identifiantDuContenu\" />\n\n<header #entete class=\"st-app-shell__entete\">\n <ng-content select=\"[entete]\" />\n <ng-content select=\"st-route-progress\" />\n</header>\n\n<div #bannieres class=\"st-app-shell__bannieres\">\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",
|
|
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-shell__entete:empty,.st-app-shell__pied:empty{display:none}.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__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}}@media(min-width:64rem){.st-app-shell__contenu{padding: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
|
-
}]
|
|
5688
|
-
}],
|
|
5689
|
-
ctorParameters: () => [],
|
|
5690
|
-
propDecorators: {
|
|
5691
|
-
variante: [{
|
|
5630
|
+
secondeCible: [{
|
|
5692
5631
|
type: i0.Input,
|
|
5693
5632
|
args: [{
|
|
5694
5633
|
isSignal: true,
|
|
5695
|
-
alias: "
|
|
5634
|
+
alias: "secondeCible",
|
|
5696
5635
|
required: false
|
|
5697
5636
|
}]
|
|
5698
5637
|
}],
|
|
5699
|
-
|
|
5700
|
-
type: i0.
|
|
5701
|
-
args: [
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5638
|
+
secondeEnPremier: [{
|
|
5639
|
+
type: i0.Input,
|
|
5640
|
+
args: [{
|
|
5641
|
+
isSignal: true,
|
|
5642
|
+
alias: "secondeEnPremier",
|
|
5643
|
+
required: false
|
|
5644
|
+
}]
|
|
5706
5645
|
}]
|
|
5707
5646
|
}
|
|
5708
5647
|
});
|
|
5709
|
-
|
|
5648
|
+
const HORS_TABULATION = ":not([tabindex^=\"-\"])";
|
|
5649
|
+
const FOCALISABLES = [
|
|
5650
|
+
"a[href]",
|
|
5651
|
+
"button:not([disabled])",
|
|
5652
|
+
"input:not([disabled]):not([type=\"hidden\"])",
|
|
5653
|
+
"select:not([disabled])",
|
|
5654
|
+
"textarea:not([disabled])",
|
|
5655
|
+
"summary",
|
|
5656
|
+
"[tabindex]",
|
|
5657
|
+
"[contenteditable=\"\"]",
|
|
5658
|
+
"[contenteditable=\"true\"]"
|
|
5659
|
+
].map((selecteur) => selecteur + HORS_TABULATION).join(", ");
|
|
5660
|
+
const BORNES = "dialog[open], [role=\"dialog\"], [role=\"alertdialog\"], [aria-modal=\"true\"]";
|
|
5661
|
+
const PRECEDE = 2;
|
|
5662
|
+
const SUIT = 4;
|
|
5663
|
+
function estFocalisable(element) {
|
|
5664
|
+
if (element.closest("[inert], [aria-hidden=\"true\"], fieldset[disabled]") !== null) return false;
|
|
5665
|
+
const details = element.closest("details:not([open])");
|
|
5666
|
+
if (details !== null && element.closest("summary")?.parentElement !== details) return false;
|
|
5667
|
+
if (typeof element.checkVisibility === "function") return element.checkVisibility({ visibilityProperty: true });
|
|
5668
|
+
const vue = element.ownerDocument.defaultView;
|
|
5669
|
+
if (vue === null) return false;
|
|
5670
|
+
if (vue.getComputedStyle(element).visibility === "hidden") return false;
|
|
5671
|
+
for (let e = element; e !== null; e = e.parentElement) if (e.hidden || vue.getComputedStyle(e).display === "none") return false;
|
|
5672
|
+
return true;
|
|
5673
|
+
}
|
|
5674
|
+
function estUnRadio(element) {
|
|
5675
|
+
return element.tagName === "INPUT" && element.type === "radio";
|
|
5676
|
+
}
|
|
5677
|
+
function estArretDeRadio(radio, candidats) {
|
|
5678
|
+
if (radio.name === "") return true;
|
|
5679
|
+
const groupe = candidats.filter((c) => estUnRadio(c) && c.name === radio.name && c.form === radio.form);
|
|
5680
|
+
const coche = groupe.find((c) => c.checked);
|
|
5681
|
+
return coche !== void 0 ? coche === radio : groupe[0] === radio;
|
|
5682
|
+
}
|
|
5683
|
+
function deplacerLeFocusAuVoisin(depart) {
|
|
5684
|
+
const focalisables = [...(depart.closest(BORNES) ?? depart.ownerDocument).querySelectorAll(FOCALISABLES)].filter((candidat) => !depart.contains(candidat) && estFocalisable(candidat));
|
|
5685
|
+
const candidats = focalisables.filter((c) => !estUnRadio(c) || estArretDeRadio(c, focalisables));
|
|
5686
|
+
const suivants = candidats.filter((c) => (depart.compareDocumentPosition(c) & SUIT) !== 0);
|
|
5687
|
+
const precedents = candidats.filter((c) => (depart.compareDocumentPosition(c) & PRECEDE) !== 0).reverse();
|
|
5688
|
+
for (const candidat of [...suivants, ...precedents]) {
|
|
5689
|
+
candidat.focus();
|
|
5690
|
+
if (depart.ownerDocument.activeElement === candidat) return candidat;
|
|
5691
|
+
}
|
|
5692
|
+
const parent = depart.parentElement;
|
|
5693
|
+
if (parent?.hasAttribute("tabindex") === true) {
|
|
5694
|
+
parent.focus();
|
|
5695
|
+
if (depart.ownerDocument.activeElement === parent) return parent;
|
|
5696
|
+
}
|
|
5697
|
+
return null;
|
|
5698
|
+
}
|
|
5699
|
+
var StBanner = class StBanner {
|
|
5700
|
+
element = inject(ElementRef);
|
|
5701
|
+
regionParente = inject(REGION_VIVANTE_PARENTE, {
|
|
5702
|
+
optional: true,
|
|
5703
|
+
skipSelf: true
|
|
5704
|
+
});
|
|
5705
|
+
libelles = inject(ST_LIBELLES);
|
|
5706
|
+
idEngendre = inject(StIdentifiants).prochain("st-banniere-titre");
|
|
5707
|
+
ton = input("neutre", ...ngDevMode ? [{ debugName: "ton" }] : /* istanbul ignore next */ []);
|
|
5708
|
+
message = input.required(...ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []);
|
|
5709
|
+
titre = input(null, ...ngDevMode ? [{ debugName: "titre" }] : /* istanbul ignore next */ []);
|
|
5710
|
+
forme = input("bloc", ...ngDevMode ? [{ debugName: "forme" }] : /* istanbul ignore next */ []);
|
|
5711
|
+
identifiant = input(null, ...ngDevMode ? [{ debugName: "identifiant" }] : /* istanbul ignore next */ []);
|
|
5712
|
+
fermable = input(false, {
|
|
5713
|
+
...ngDevMode ? { debugName: "fermable" } : /* istanbul ignore next */ {},
|
|
5714
|
+
transform: booleanAttribute
|
|
5715
|
+
});
|
|
5716
|
+
libelleFermeture = input(null, ...ngDevMode ? [{ debugName: "libelleFermeture" }] : /* istanbul ignore next */ []);
|
|
5717
|
+
ferme = output();
|
|
5718
|
+
icone = computed(() => ICONES_DE_TON[this.ton()], ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
5719
|
+
idDuTitre = computed(() => this.identifiant() ?? this.idEngendre, ...ngDevMode ? [{ debugName: "idDuTitre" }] : /* istanbul ignore next */ []);
|
|
5720
|
+
prefixe = computed(() => {
|
|
5721
|
+
const ton = this.ton();
|
|
5722
|
+
return ton === "essai" ? null : prefixeDeTon(ton, this.libelles());
|
|
5723
|
+
}, ...ngDevMode ? [{ debugName: "prefixe" }] : /* istanbul ignore next */ []);
|
|
5724
|
+
fermableLu = computed(() => this.fermable() && this.ton() !== "essai", ...ngDevMode ? [{ debugName: "fermableLu" }] : /* istanbul ignore next */ []);
|
|
5725
|
+
libelleFermetureLu = computed(() => this.libelleFermeture() ?? this.libelles().fermerLeMessage, ...ngDevMode ? [{ debugName: "libelleFermetureLu" }] : /* istanbul ignore next */ []);
|
|
5726
|
+
roleLu = computed(() => {
|
|
5727
|
+
if (this.regionParente !== null) return null;
|
|
5728
|
+
const ton = this.ton();
|
|
5729
|
+
return ton === "erreur" || ton === "danger" ? "alert" : "status";
|
|
5730
|
+
}, ...ngDevMode ? [{ debugName: "roleLu" }] : /* istanbul ignore next */ []);
|
|
5731
|
+
constructor() {
|
|
5732
|
+
let averti = false;
|
|
5733
|
+
effect(() => {
|
|
5734
|
+
if (!isDevMode() || averti || this.ton() !== "essai" || this.titre() !== null) return;
|
|
5735
|
+
averti = true;
|
|
5736
|
+
console.warn("[st-banner] ton essai sans titre : le mot de l environnement (\"Donnees fictives\") manque.");
|
|
5737
|
+
});
|
|
5738
|
+
}
|
|
5739
|
+
fermer() {
|
|
5740
|
+
deplacerLeFocusAuVoisin(this.element.nativeElement);
|
|
5741
|
+
this.ferme.emit();
|
|
5742
|
+
}
|
|
5710
5743
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5711
5744
|
minVersion: "12.0.0",
|
|
5712
|
-
version: "22.2.
|
|
5745
|
+
version: "22.2.1",
|
|
5713
5746
|
ngImport: i0,
|
|
5714
|
-
type:
|
|
5747
|
+
type: StBanner,
|
|
5715
5748
|
deps: [],
|
|
5716
5749
|
target: i0.ɵɵFactoryTarget.Component
|
|
5717
5750
|
});
|
|
5718
5751
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5719
|
-
minVersion: "
|
|
5720
|
-
version: "22.2.
|
|
5721
|
-
type:
|
|
5752
|
+
minVersion: "17.0.0",
|
|
5753
|
+
version: "22.2.1",
|
|
5754
|
+
type: StBanner,
|
|
5722
5755
|
isStandalone: true,
|
|
5723
|
-
selector: "st-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5756
|
+
selector: "st-banner",
|
|
5757
|
+
inputs: {
|
|
5758
|
+
ton: {
|
|
5759
|
+
classPropertyName: "ton",
|
|
5760
|
+
publicName: "ton",
|
|
5761
|
+
isSignal: true,
|
|
5762
|
+
isRequired: false,
|
|
5763
|
+
transformFunction: null
|
|
5764
|
+
},
|
|
5765
|
+
message: {
|
|
5766
|
+
classPropertyName: "message",
|
|
5767
|
+
publicName: "message",
|
|
5768
|
+
isSignal: true,
|
|
5769
|
+
isRequired: true,
|
|
5770
|
+
transformFunction: null
|
|
5771
|
+
},
|
|
5772
|
+
titre: {
|
|
5773
|
+
classPropertyName: "titre",
|
|
5774
|
+
publicName: "titre",
|
|
5775
|
+
isSignal: true,
|
|
5776
|
+
isRequired: false,
|
|
5777
|
+
transformFunction: null
|
|
5778
|
+
},
|
|
5779
|
+
forme: {
|
|
5780
|
+
classPropertyName: "forme",
|
|
5781
|
+
publicName: "forme",
|
|
5782
|
+
isSignal: true,
|
|
5783
|
+
isRequired: false,
|
|
5784
|
+
transformFunction: null
|
|
5785
|
+
},
|
|
5786
|
+
identifiant: {
|
|
5787
|
+
classPropertyName: "identifiant",
|
|
5788
|
+
publicName: "identifiant",
|
|
5789
|
+
isSignal: true,
|
|
5790
|
+
isRequired: false,
|
|
5791
|
+
transformFunction: null
|
|
5792
|
+
},
|
|
5793
|
+
fermable: {
|
|
5794
|
+
classPropertyName: "fermable",
|
|
5795
|
+
publicName: "fermable",
|
|
5796
|
+
isSignal: true,
|
|
5797
|
+
isRequired: false,
|
|
5798
|
+
transformFunction: null
|
|
5799
|
+
},
|
|
5800
|
+
libelleFermeture: {
|
|
5801
|
+
classPropertyName: "libelleFermeture",
|
|
5802
|
+
publicName: "libelleFermeture",
|
|
5803
|
+
isSignal: true,
|
|
5804
|
+
isRequired: false,
|
|
5805
|
+
transformFunction: null
|
|
5806
|
+
}
|
|
5807
|
+
},
|
|
5808
|
+
outputs: { ferme: "ferme" },
|
|
5809
|
+
host: {
|
|
5810
|
+
properties: {
|
|
5811
|
+
"attr.data-ton": "ton()",
|
|
5812
|
+
"attr.data-forme": "forme()",
|
|
5813
|
+
"attr.role": "roleLu()",
|
|
5814
|
+
"attr.aria-labelledby": "roleLu() !== null && titre() !== null ? idDuTitre() : null"
|
|
5815
|
+
},
|
|
5816
|
+
classAttribute: "st-banner"
|
|
5817
|
+
},
|
|
5818
|
+
providers: [{
|
|
5819
|
+
provide: REGION_VIVANTE_PARENTE,
|
|
5820
|
+
useValue: true
|
|
5821
|
+
}],
|
|
5822
|
+
ngImport: i0,
|
|
5823
|
+
template: "<span class=\"st-banner__icone\">\n <st-icon [nom]=\"icone()\" variante=\"plein\" [taille]=\"forme() === 'aplat' ? '14' : '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",
|
|
5824
|
+
styles: ["@charset \"UTF-8\";.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)}:host([data-forme=aplat]){align-items:center;padding-block:var(--st-espacement-2);font-size:var(--st-taille-2xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-surtitre);text-transform:uppercase;border-width:0;border-radius:var(--st-rayon-none);color:var(--st-couleur-surface-enfoncee);background:var(--st-couleur-texte)}:host([data-forme=aplat]) .st-banner__icone{color:inherit}:host([data-forme=aplat]) .st-banner__icone{block-size:auto}:host([data-forme=aplat]) .st-banner__corps{display:flex;flex-wrap:wrap;gap:0 var(--st-espacement-1-5)}:host([data-forme=aplat]) .st-banner__titre{margin:0}:host([data-forme=aplat]) .st-banner__titre:after{margin-inline-start:var(--st-espacement-1-5);content:\"\\2014\"/\"\"}:host([data-forme=aplat][data-ton=information]){color:var(--st-couleur-information-discret);background:var(--st-couleur-sur-information-discret)}:host([data-forme=aplat][data-ton=information]) .st-banner__icone{color:inherit}:host([data-forme=aplat][data-ton=succes]){color:var(--st-couleur-succes-discret);background:var(--st-couleur-sur-succes-discret)}:host([data-forme=aplat][data-ton=succes]) .st-banner__icone{color:inherit}:host([data-forme=aplat][data-ton=avertissement]){color:var(--st-couleur-avertissement-discret);background:var(--st-couleur-sur-avertissement-discret)}:host([data-forme=aplat][data-ton=avertissement]) .st-banner__icone{color:inherit}:host([data-forme=aplat][data-ton=erreur]){color:var(--st-couleur-erreur-discret);background:var(--st-couleur-sur-erreur-discret)}:host([data-forme=aplat][data-ton=erreur]) .st-banner__icone{color:inherit}:host([data-forme=aplat][data-ton=danger]){color:var(--st-couleur-danger-discret);background:var(--st-couleur-sur-danger-discret)}:host([data-forme=aplat][data-ton=danger]) .st-banner__icone{color:inherit}:host([data-forme=aplat][data-ton=essai]){color:var(--st-couleur-essai-discret);background:var(--st-couleur-sur-essai-discret)}:host([data-forme=aplat][data-ton=essai]) .st-banner__icone{color:inherit}@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"],
|
|
5825
|
+
dependencies: [{
|
|
5826
|
+
kind: "component",
|
|
5827
|
+
type: StIcon,
|
|
5828
|
+
selector: "st-icon",
|
|
5829
|
+
inputs: [
|
|
5830
|
+
"icone",
|
|
5831
|
+
"nom",
|
|
5832
|
+
"variante",
|
|
5833
|
+
"sprite",
|
|
5834
|
+
"nomMetier",
|
|
5835
|
+
"taille",
|
|
5836
|
+
"ton",
|
|
5837
|
+
"etiquette",
|
|
5838
|
+
"miroir"
|
|
5839
|
+
]
|
|
5840
|
+
}, {
|
|
5841
|
+
kind: "component",
|
|
5842
|
+
type: StIconButton,
|
|
5843
|
+
selector: "button[stIconButton]",
|
|
5844
|
+
inputs: [
|
|
5845
|
+
"icone",
|
|
5846
|
+
"etiquette",
|
|
5847
|
+
"variante",
|
|
5848
|
+
"taille",
|
|
5849
|
+
"tailleDuGlyphe",
|
|
5850
|
+
"enfonce",
|
|
5851
|
+
"iconeEnfoncee",
|
|
5852
|
+
"chargement",
|
|
5853
|
+
"indisponible",
|
|
5854
|
+
"raisonIndisponible"
|
|
5855
|
+
]
|
|
5856
|
+
}],
|
|
5857
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
5858
|
+
});
|
|
5859
|
+
};
|
|
5860
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
5861
|
+
minVersion: "12.0.0",
|
|
5862
|
+
version: "22.2.1",
|
|
5863
|
+
ngImport: i0,
|
|
5864
|
+
type: StBanner,
|
|
5865
|
+
decorators: [{
|
|
5866
|
+
type: Component,
|
|
5867
|
+
args: [{
|
|
5868
|
+
selector: "st-banner",
|
|
5869
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5870
|
+
imports: [StIcon, StIconButton],
|
|
5871
|
+
providers: [{
|
|
5872
|
+
provide: REGION_VIVANTE_PARENTE,
|
|
5873
|
+
useValue: true
|
|
5874
|
+
}],
|
|
5875
|
+
host: {
|
|
5876
|
+
class: "st-banner",
|
|
5877
|
+
"[attr.data-ton]": "ton()",
|
|
5878
|
+
"[attr.data-forme]": "forme()",
|
|
5879
|
+
"[attr.role]": "roleLu()",
|
|
5880
|
+
"[attr.aria-labelledby]": "roleLu() !== null && titre() !== null ? idDuTitre() : null"
|
|
5881
|
+
},
|
|
5882
|
+
template: "<span class=\"st-banner__icone\">\n <st-icon [nom]=\"icone()\" variante=\"plein\" [taille]=\"forme() === 'aplat' ? '14' : '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",
|
|
5883
|
+
styles: ["@charset \"UTF-8\";.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)}:host([data-forme=aplat]){align-items:center;padding-block:var(--st-espacement-2);font-size:var(--st-taille-2xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-surtitre);text-transform:uppercase;border-width:0;border-radius:var(--st-rayon-none);color:var(--st-couleur-surface-enfoncee);background:var(--st-couleur-texte)}:host([data-forme=aplat]) .st-banner__icone{color:inherit}:host([data-forme=aplat]) .st-banner__icone{block-size:auto}:host([data-forme=aplat]) .st-banner__corps{display:flex;flex-wrap:wrap;gap:0 var(--st-espacement-1-5)}:host([data-forme=aplat]) .st-banner__titre{margin:0}:host([data-forme=aplat]) .st-banner__titre:after{margin-inline-start:var(--st-espacement-1-5);content:\"\\2014\"/\"\"}:host([data-forme=aplat][data-ton=information]){color:var(--st-couleur-information-discret);background:var(--st-couleur-sur-information-discret)}:host([data-forme=aplat][data-ton=information]) .st-banner__icone{color:inherit}:host([data-forme=aplat][data-ton=succes]){color:var(--st-couleur-succes-discret);background:var(--st-couleur-sur-succes-discret)}:host([data-forme=aplat][data-ton=succes]) .st-banner__icone{color:inherit}:host([data-forme=aplat][data-ton=avertissement]){color:var(--st-couleur-avertissement-discret);background:var(--st-couleur-sur-avertissement-discret)}:host([data-forme=aplat][data-ton=avertissement]) .st-banner__icone{color:inherit}:host([data-forme=aplat][data-ton=erreur]){color:var(--st-couleur-erreur-discret);background:var(--st-couleur-sur-erreur-discret)}:host([data-forme=aplat][data-ton=erreur]) .st-banner__icone{color:inherit}:host([data-forme=aplat][data-ton=danger]){color:var(--st-couleur-danger-discret);background:var(--st-couleur-sur-danger-discret)}:host([data-forme=aplat][data-ton=danger]) .st-banner__icone{color:inherit}:host([data-forme=aplat][data-ton=essai]){color:var(--st-couleur-essai-discret);background:var(--st-couleur-sur-essai-discret)}:host([data-forme=aplat][data-ton=essai]) .st-banner__icone{color:inherit}@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"]
|
|
5884
|
+
}]
|
|
5885
|
+
}],
|
|
5886
|
+
ctorParameters: () => [],
|
|
5887
|
+
propDecorators: {
|
|
5888
|
+
ton: [{
|
|
5889
|
+
type: i0.Input,
|
|
5890
|
+
args: [{
|
|
5891
|
+
isSignal: true,
|
|
5892
|
+
alias: "ton",
|
|
5893
|
+
required: false
|
|
5894
|
+
}]
|
|
5895
|
+
}],
|
|
5896
|
+
message: [{
|
|
5897
|
+
type: i0.Input,
|
|
5898
|
+
args: [{
|
|
5899
|
+
isSignal: true,
|
|
5900
|
+
alias: "message",
|
|
5901
|
+
required: true
|
|
5902
|
+
}]
|
|
5903
|
+
}],
|
|
5904
|
+
titre: [{
|
|
5905
|
+
type: i0.Input,
|
|
5906
|
+
args: [{
|
|
5907
|
+
isSignal: true,
|
|
5908
|
+
alias: "titre",
|
|
5909
|
+
required: false
|
|
5910
|
+
}]
|
|
5911
|
+
}],
|
|
5912
|
+
forme: [{
|
|
5913
|
+
type: i0.Input,
|
|
5914
|
+
args: [{
|
|
5915
|
+
isSignal: true,
|
|
5916
|
+
alias: "forme",
|
|
5917
|
+
required: false
|
|
5918
|
+
}]
|
|
5919
|
+
}],
|
|
5920
|
+
identifiant: [{
|
|
5921
|
+
type: i0.Input,
|
|
5922
|
+
args: [{
|
|
5923
|
+
isSignal: true,
|
|
5924
|
+
alias: "identifiant",
|
|
5925
|
+
required: false
|
|
5926
|
+
}]
|
|
5927
|
+
}],
|
|
5928
|
+
fermable: [{
|
|
5929
|
+
type: i0.Input,
|
|
5930
|
+
args: [{
|
|
5931
|
+
isSignal: true,
|
|
5932
|
+
alias: "fermable",
|
|
5933
|
+
required: false
|
|
5934
|
+
}]
|
|
5935
|
+
}],
|
|
5936
|
+
libelleFermeture: [{
|
|
5937
|
+
type: i0.Input,
|
|
5938
|
+
args: [{
|
|
5939
|
+
isSignal: true,
|
|
5940
|
+
alias: "libelleFermeture",
|
|
5941
|
+
required: false
|
|
5942
|
+
}]
|
|
5943
|
+
}],
|
|
5944
|
+
ferme: [{
|
|
5945
|
+
type: i0.Output,
|
|
5946
|
+
args: ["ferme"]
|
|
5947
|
+
}]
|
|
5948
|
+
}
|
|
5949
|
+
});
|
|
5950
|
+
const PROPRIETE_HAUTEUR_ENTETE = "--st-hauteur-entete";
|
|
5951
|
+
const PROPRIETE_HAUTEUR_ENTETE_SEUL = "--st-coquille-hauteur-entete";
|
|
5952
|
+
const PROPRIETE_HAUTEUR_ACTION = "--st-hauteur-action";
|
|
5953
|
+
const ATTRIBUT_D_ENVIRONNEMENT = "data-environnement";
|
|
5954
|
+
var StAppShell = class StAppShell {
|
|
5955
|
+
variante = input("standard", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
5956
|
+
titreDEssai = input(null, ...ngDevMode ? [{ debugName: "titreDEssai" }] : /* istanbul ignore next */ []);
|
|
5957
|
+
messageDEssai = input(null, ...ngDevMode ? [{ debugName: "messageDEssai" }] : /* istanbul ignore next */ []);
|
|
5958
|
+
formeDEssai = input("bandeau", ...ngDevMode ? [{ debugName: "formeDEssai" }] : /* istanbul ignore next */ []);
|
|
5959
|
+
lienVersLAction = input(null, ...ngDevMode ? [{ debugName: "lienVersLAction" }] : /* istanbul ignore next */ []);
|
|
5960
|
+
lienVersLActionEnPremier = input(false, {
|
|
5961
|
+
...ngDevMode ? { debugName: "lienVersLActionEnPremier" } : /* istanbul ignore next */ {},
|
|
5962
|
+
transform: booleanAttribute
|
|
5963
|
+
});
|
|
5964
|
+
document = inject(DOCUMENT);
|
|
5965
|
+
hote = inject(ElementRef);
|
|
5966
|
+
entete = viewChild.required("entete", ...ngDevMode ? [{ debugName: "entete" }] : /* istanbul ignore next */ []);
|
|
5967
|
+
bannieres = viewChild.required("bannieres", ...ngDevMode ? [{ debugName: "bannieres" }] : /* istanbul ignore next */ []);
|
|
5968
|
+
action = viewChild.required("action", ...ngDevMode ? [{ debugName: "action" }] : /* istanbul ignore next */ []);
|
|
5969
|
+
observateur = null;
|
|
5970
|
+
observateurDAction = null;
|
|
5971
|
+
surveillant = null;
|
|
5972
|
+
hauteurs = /* @__PURE__ */ new Map();
|
|
5973
|
+
identifiantDuContenu = IDENTIFIANT_DU_CONTENU_PRINCIPAL;
|
|
5974
|
+
libelles = inject(ST_LIBELLES);
|
|
5975
|
+
annonce = new AnnonceLocale(inject(DestroyRef));
|
|
5976
|
+
enEssai = computed(() => this.variante() === "essai", ...ngDevMode ? [{ debugName: "enEssai" }] : /* istanbul ignore next */ []);
|
|
5977
|
+
titreDEssaiLu = computed(() => this.titreDEssai() ?? this.libelles().environnementDEssai, ...ngDevMode ? [{ debugName: "titreDEssaiLu" }] : /* istanbul ignore next */ []);
|
|
5978
|
+
messageDEssaiLu = computed(() => this.messageDEssai() ?? this.libelles().environnementDEssaiMessage, ...ngDevMode ? [{ debugName: "messageDEssaiLu" }] : /* istanbul ignore next */ []);
|
|
5979
|
+
constructor() {
|
|
5980
|
+
afterNextRender(() => {
|
|
5981
|
+
this.mesurerLeBlocCollant();
|
|
5982
|
+
this.mesurerLActionFlottante();
|
|
5983
|
+
});
|
|
5984
|
+
let precedente = null;
|
|
5985
|
+
afterRenderEffect({ write: () => {
|
|
5986
|
+
const variante = this.variante();
|
|
5987
|
+
if (variante === precedente) return;
|
|
5988
|
+
const racine = this.document.documentElement;
|
|
5989
|
+
untracked(() => {
|
|
5990
|
+
if (variante === "essai") {
|
|
5991
|
+
racine.setAttribute(ATTRIBUT_D_ENVIRONNEMENT, "essai");
|
|
5992
|
+
this.annonce.annoncer(`${this.libelles().libelleDeChamp(this.titreDEssaiLu())} ${this.messageDEssaiLu()}`);
|
|
5993
|
+
} else if (precedente === "essai") {
|
|
5994
|
+
racine.removeAttribute(ATTRIBUT_D_ENVIRONNEMENT);
|
|
5995
|
+
this.annonce.annoncer(this.libelles().finDeLEnvironnementDEssai(this.titreDEssaiLu()));
|
|
5996
|
+
}
|
|
5997
|
+
});
|
|
5998
|
+
precedente = variante;
|
|
5999
|
+
} });
|
|
6000
|
+
inject(DestroyRef).onDestroy(() => {
|
|
6001
|
+
if (precedente === "essai") this.document.documentElement.removeAttribute(ATTRIBUT_D_ENVIRONNEMENT);
|
|
6002
|
+
this.observateur?.disconnect();
|
|
6003
|
+
this.observateur = null;
|
|
6004
|
+
this.surveillant?.disconnect();
|
|
6005
|
+
this.surveillant = null;
|
|
6006
|
+
this.observateurDAction?.disconnect();
|
|
6007
|
+
this.observateurDAction = null;
|
|
6008
|
+
this.hauteurs.clear();
|
|
6009
|
+
const style = this.document.documentElement.style;
|
|
6010
|
+
style.removeProperty(PROPRIETE_HAUTEUR_ENTETE);
|
|
6011
|
+
style.removeProperty(PROPRIETE_HAUTEUR_ACTION);
|
|
6012
|
+
});
|
|
6013
|
+
}
|
|
6014
|
+
mesurerLActionFlottante() {
|
|
6015
|
+
const fenetre = this.document.defaultView;
|
|
6016
|
+
const Observateur = fenetre?.ResizeObserver;
|
|
6017
|
+
if (fenetre === null || Observateur === void 0) return;
|
|
6018
|
+
const action = this.action().nativeElement;
|
|
6019
|
+
const style = this.document.documentElement.style;
|
|
6020
|
+
this.observateurDAction = new Observateur(([entree]) => {
|
|
6021
|
+
const hauteur = entree?.borderBoxSize[0]?.blockSize ?? action.getBoundingClientRect().height;
|
|
6022
|
+
if (hauteur > 0 && fenetre.getComputedStyle(action).position === "fixed") style.setProperty(PROPRIETE_HAUTEUR_ACTION, `${Math.ceil(hauteur).toString()}px`);
|
|
6023
|
+
else style.removeProperty(PROPRIETE_HAUTEUR_ACTION);
|
|
6024
|
+
});
|
|
6025
|
+
this.observateurDAction.observe(action);
|
|
6026
|
+
}
|
|
6027
|
+
mesurerLeBlocCollant() {
|
|
6028
|
+
const fenetre = this.document.defaultView;
|
|
6029
|
+
const Observateur = fenetre?.ResizeObserver;
|
|
6030
|
+
if (Observateur === void 0) return;
|
|
6031
|
+
const entete = this.entete().nativeElement;
|
|
6032
|
+
this.observateur = new Observateur((entrees) => {
|
|
6033
|
+
for (const entree of entrees) this.hauteurs.set(entree.target, entree.borderBoxSize[0]?.blockSize ?? entree.target.getBoundingClientRect().height);
|
|
6034
|
+
this.poserLesHauteurs(entete);
|
|
6035
|
+
});
|
|
6036
|
+
this.observateur.observe(entete);
|
|
6037
|
+
this.suivreLesBannieresCollees();
|
|
6038
|
+
const Surveillant = fenetre?.MutationObserver;
|
|
6039
|
+
if (Surveillant === void 0) return;
|
|
6040
|
+
this.surveillant = new Surveillant(() => {
|
|
6041
|
+
this.suivreLesBannieresCollees();
|
|
6042
|
+
this.poserLesHauteurs(entete);
|
|
6043
|
+
});
|
|
6044
|
+
this.surveillant.observe(this.bannieres().nativeElement, {
|
|
6045
|
+
childList: true,
|
|
6046
|
+
subtree: true,
|
|
6047
|
+
attributes: true,
|
|
6048
|
+
attributeFilter: ["data-collee"]
|
|
6049
|
+
});
|
|
6050
|
+
}
|
|
6051
|
+
suivreLesBannieresCollees() {
|
|
6052
|
+
const observateur = this.observateur;
|
|
6053
|
+
if (observateur === null) return;
|
|
6054
|
+
const entete = this.entete().nativeElement;
|
|
6055
|
+
const collees = new Set(this.bannieres().nativeElement.querySelectorAll("[data-collee]"));
|
|
6056
|
+
for (const element of [...this.hauteurs.keys()]) if (element !== entete && !collees.has(element)) {
|
|
6057
|
+
observateur.unobserve(element);
|
|
6058
|
+
this.hauteurs.delete(element);
|
|
6059
|
+
}
|
|
6060
|
+
for (const element of collees) if (!this.hauteurs.has(element)) {
|
|
6061
|
+
this.hauteurs.set(element, 0);
|
|
6062
|
+
observateur.observe(element);
|
|
6063
|
+
}
|
|
6064
|
+
}
|
|
6065
|
+
poserLesHauteurs(entete) {
|
|
6066
|
+
let bloc = 0;
|
|
6067
|
+
for (const hauteur of this.hauteurs.values()) bloc += hauteur;
|
|
6068
|
+
const px = (valeur) => `${Math.ceil(valeur).toString()}px`;
|
|
6069
|
+
this.hote.nativeElement.style.setProperty(PROPRIETE_HAUTEUR_ENTETE_SEUL, px(this.hauteurs.get(entete) ?? 0));
|
|
6070
|
+
this.document.documentElement.style.setProperty(PROPRIETE_HAUTEUR_ENTETE, px(bloc));
|
|
6071
|
+
}
|
|
6072
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
6073
|
+
minVersion: "12.0.0",
|
|
6074
|
+
version: "22.2.1",
|
|
6075
|
+
ngImport: i0,
|
|
6076
|
+
type: StAppShell,
|
|
6077
|
+
deps: [],
|
|
6078
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
6079
|
+
});
|
|
6080
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
6081
|
+
minVersion: "17.0.0",
|
|
6082
|
+
version: "22.2.1",
|
|
6083
|
+
type: StAppShell,
|
|
6084
|
+
isStandalone: true,
|
|
6085
|
+
selector: "st-app-shell",
|
|
6086
|
+
inputs: {
|
|
6087
|
+
variante: {
|
|
6088
|
+
classPropertyName: "variante",
|
|
6089
|
+
publicName: "variante",
|
|
6090
|
+
isSignal: true,
|
|
6091
|
+
isRequired: false,
|
|
6092
|
+
transformFunction: null
|
|
6093
|
+
},
|
|
6094
|
+
titreDEssai: {
|
|
6095
|
+
classPropertyName: "titreDEssai",
|
|
6096
|
+
publicName: "titreDEssai",
|
|
6097
|
+
isSignal: true,
|
|
6098
|
+
isRequired: false,
|
|
6099
|
+
transformFunction: null
|
|
6100
|
+
},
|
|
6101
|
+
messageDEssai: {
|
|
6102
|
+
classPropertyName: "messageDEssai",
|
|
6103
|
+
publicName: "messageDEssai",
|
|
6104
|
+
isSignal: true,
|
|
6105
|
+
isRequired: false,
|
|
6106
|
+
transformFunction: null
|
|
6107
|
+
},
|
|
6108
|
+
formeDEssai: {
|
|
6109
|
+
classPropertyName: "formeDEssai",
|
|
6110
|
+
publicName: "formeDEssai",
|
|
6111
|
+
isSignal: true,
|
|
6112
|
+
isRequired: false,
|
|
6113
|
+
transformFunction: null
|
|
6114
|
+
},
|
|
6115
|
+
lienVersLAction: {
|
|
6116
|
+
classPropertyName: "lienVersLAction",
|
|
6117
|
+
publicName: "lienVersLAction",
|
|
6118
|
+
isSignal: true,
|
|
6119
|
+
isRequired: false,
|
|
6120
|
+
transformFunction: null
|
|
6121
|
+
},
|
|
6122
|
+
lienVersLActionEnPremier: {
|
|
6123
|
+
classPropertyName: "lienVersLActionEnPremier",
|
|
6124
|
+
publicName: "lienVersLActionEnPremier",
|
|
6125
|
+
isSignal: true,
|
|
6126
|
+
isRequired: false,
|
|
6127
|
+
transformFunction: null
|
|
6128
|
+
}
|
|
6129
|
+
},
|
|
6130
|
+
host: {
|
|
6131
|
+
properties: { "attr.data-variante": "variante()" },
|
|
6132
|
+
classAttribute: "st-app-shell"
|
|
6133
|
+
},
|
|
6134
|
+
viewQueries: [
|
|
6135
|
+
{
|
|
6136
|
+
propertyName: "entete",
|
|
6137
|
+
first: true,
|
|
6138
|
+
predicate: ["entete"],
|
|
6139
|
+
descendants: true,
|
|
6140
|
+
isSignal: true
|
|
6141
|
+
},
|
|
6142
|
+
{
|
|
6143
|
+
propertyName: "bannieres",
|
|
6144
|
+
first: true,
|
|
6145
|
+
predicate: ["bannieres"],
|
|
6146
|
+
descendants: true,
|
|
6147
|
+
isSignal: true
|
|
6148
|
+
},
|
|
6149
|
+
{
|
|
6150
|
+
propertyName: "action",
|
|
6151
|
+
first: true,
|
|
6152
|
+
predicate: ["action"],
|
|
6153
|
+
descendants: true,
|
|
6154
|
+
isSignal: true
|
|
6155
|
+
}
|
|
6156
|
+
],
|
|
6157
|
+
ngImport: i0,
|
|
6158
|
+
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]=\"formeDEssai()\"\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",
|
|
6159
|
+
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"],
|
|
6160
|
+
dependencies: [{
|
|
6161
|
+
kind: "component",
|
|
6162
|
+
type: StSkipLink,
|
|
6163
|
+
selector: "st-skip-link",
|
|
6164
|
+
inputs: [
|
|
6165
|
+
"cible",
|
|
6166
|
+
"libelle",
|
|
6167
|
+
"secondeCible",
|
|
6168
|
+
"secondeEnPremier"
|
|
6169
|
+
]
|
|
6170
|
+
}, {
|
|
6171
|
+
kind: "component",
|
|
6172
|
+
type: StBanner,
|
|
6173
|
+
selector: "st-banner",
|
|
6174
|
+
inputs: [
|
|
6175
|
+
"ton",
|
|
6176
|
+
"message",
|
|
6177
|
+
"titre",
|
|
6178
|
+
"forme",
|
|
6179
|
+
"identifiant",
|
|
6180
|
+
"fermable",
|
|
6181
|
+
"libelleFermeture"
|
|
6182
|
+
],
|
|
6183
|
+
outputs: ["ferme"]
|
|
6184
|
+
}],
|
|
6185
|
+
viewProviders: [{
|
|
6186
|
+
provide: REGION_VIVANTE_PARENTE,
|
|
6187
|
+
useValue: true
|
|
6188
|
+
}],
|
|
6189
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
6190
|
+
});
|
|
6191
|
+
};
|
|
6192
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
6193
|
+
minVersion: "12.0.0",
|
|
6194
|
+
version: "22.2.1",
|
|
6195
|
+
ngImport: i0,
|
|
6196
|
+
type: StAppShell,
|
|
6197
|
+
decorators: [{
|
|
6198
|
+
type: Component,
|
|
6199
|
+
args: [{
|
|
6200
|
+
selector: "st-app-shell",
|
|
6201
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6202
|
+
imports: [StSkipLink, StBanner],
|
|
6203
|
+
viewProviders: [{
|
|
6204
|
+
provide: REGION_VIVANTE_PARENTE,
|
|
6205
|
+
useValue: true
|
|
6206
|
+
}],
|
|
6207
|
+
host: {
|
|
6208
|
+
class: "st-app-shell",
|
|
6209
|
+
"[attr.data-variante]": "variante()"
|
|
6210
|
+
},
|
|
6211
|
+
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]=\"formeDEssai()\"\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",
|
|
6212
|
+
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"]
|
|
6213
|
+
}]
|
|
6214
|
+
}],
|
|
6215
|
+
ctorParameters: () => [],
|
|
6216
|
+
propDecorators: {
|
|
6217
|
+
variante: [{
|
|
6218
|
+
type: i0.Input,
|
|
6219
|
+
args: [{
|
|
6220
|
+
isSignal: true,
|
|
6221
|
+
alias: "variante",
|
|
6222
|
+
required: false
|
|
6223
|
+
}]
|
|
6224
|
+
}],
|
|
6225
|
+
titreDEssai: [{
|
|
6226
|
+
type: i0.Input,
|
|
6227
|
+
args: [{
|
|
6228
|
+
isSignal: true,
|
|
6229
|
+
alias: "titreDEssai",
|
|
6230
|
+
required: false
|
|
6231
|
+
}]
|
|
6232
|
+
}],
|
|
6233
|
+
messageDEssai: [{
|
|
6234
|
+
type: i0.Input,
|
|
6235
|
+
args: [{
|
|
6236
|
+
isSignal: true,
|
|
6237
|
+
alias: "messageDEssai",
|
|
6238
|
+
required: false
|
|
6239
|
+
}]
|
|
6240
|
+
}],
|
|
6241
|
+
formeDEssai: [{
|
|
6242
|
+
type: i0.Input,
|
|
6243
|
+
args: [{
|
|
6244
|
+
isSignal: true,
|
|
6245
|
+
alias: "formeDEssai",
|
|
6246
|
+
required: false
|
|
6247
|
+
}]
|
|
6248
|
+
}],
|
|
6249
|
+
lienVersLAction: [{
|
|
6250
|
+
type: i0.Input,
|
|
6251
|
+
args: [{
|
|
6252
|
+
isSignal: true,
|
|
6253
|
+
alias: "lienVersLAction",
|
|
6254
|
+
required: false
|
|
6255
|
+
}]
|
|
6256
|
+
}],
|
|
6257
|
+
lienVersLActionEnPremier: [{
|
|
6258
|
+
type: i0.Input,
|
|
6259
|
+
args: [{
|
|
6260
|
+
isSignal: true,
|
|
6261
|
+
alias: "lienVersLActionEnPremier",
|
|
6262
|
+
required: false
|
|
6263
|
+
}]
|
|
6264
|
+
}],
|
|
6265
|
+
entete: [{
|
|
6266
|
+
type: i0.ViewChild,
|
|
6267
|
+
args: ["entete", { isSignal: true }]
|
|
6268
|
+
}],
|
|
6269
|
+
bannieres: [{
|
|
6270
|
+
type: i0.ViewChild,
|
|
6271
|
+
args: ["bannieres", { isSignal: true }]
|
|
6272
|
+
}],
|
|
6273
|
+
action: [{
|
|
6274
|
+
type: i0.ViewChild,
|
|
6275
|
+
args: ["action", { isSignal: true }]
|
|
6276
|
+
}]
|
|
6277
|
+
}
|
|
6278
|
+
});
|
|
6279
|
+
var StHeader = class StHeader {
|
|
6280
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
6281
|
+
minVersion: "12.0.0",
|
|
6282
|
+
version: "22.2.1",
|
|
6283
|
+
ngImport: i0,
|
|
6284
|
+
type: StHeader,
|
|
6285
|
+
deps: [],
|
|
6286
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
6287
|
+
});
|
|
6288
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
6289
|
+
minVersion: "14.0.0",
|
|
6290
|
+
version: "22.2.1",
|
|
6291
|
+
type: StHeader,
|
|
6292
|
+
isStandalone: true,
|
|
6293
|
+
selector: "st-header",
|
|
6294
|
+
host: { classAttribute: "st-header" },
|
|
6295
|
+
ngImport: i0,
|
|
6296
|
+
template: "<div class=\"st-header__debut\">\n <ng-content select=\"[bascule]\" />\n <ng-content select=\"[marque]\" />\n</div>\n<div class=\"st-header__menu\">\n <ng-content select=\"[menu]\" />\n</div>\n<div class=\"st-header__actions\">\n <ng-content />\n</div>\n",
|
|
6297
|
+
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}.st-header__menu{display:none}@media(min-width:48rem){.st-header__menu:not(:empty){display:flex;flex:1 1 auto;align-items:center;min-inline-size:0;padding-inline-start:var(--st-espacement-5)}:host:has(>.st-header__menu:not(:empty)) .st-header__debut{flex:0 1 auto}}@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
6298
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
5729
6299
|
});
|
|
5730
6300
|
};
|
|
5731
6301
|
i0.ɵɵngDeclareClassMetadata({
|
|
5732
6302
|
minVersion: "12.0.0",
|
|
5733
|
-
version: "22.2.
|
|
6303
|
+
version: "22.2.1",
|
|
5734
6304
|
ngImport: i0,
|
|
5735
6305
|
type: StHeader,
|
|
5736
6306
|
decorators: [{
|
|
@@ -5739,18 +6309,18 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5739
6309
|
selector: "st-header",
|
|
5740
6310
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5741
6311
|
host: { class: "st-header" },
|
|
5742
|
-
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{gap:var(--st-espacement-4)}}@media(min-width:64rem){:host{padding-inline:var(--st-espacement-8)}}\n"]
|
|
6312
|
+
template: "<div class=\"st-header__debut\">\n <ng-content select=\"[bascule]\" />\n <ng-content select=\"[marque]\" />\n</div>\n<div class=\"st-header__menu\">\n <ng-content select=\"[menu]\" />\n</div>\n<div class=\"st-header__actions\">\n <ng-content />\n</div>\n",
|
|
6313
|
+
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}.st-header__menu{display:none}@media(min-width:48rem){.st-header__menu:not(:empty){display:flex;flex:1 1 auto;align-items:center;min-inline-size:0;padding-inline-start:var(--st-espacement-5)}:host:has(>.st-header__menu:not(:empty)) .st-header__debut{flex:0 1 auto}}@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
6314
|
}]
|
|
5745
6315
|
}]
|
|
5746
6316
|
});
|
|
5747
6317
|
var StFooter = class StFooter {
|
|
5748
6318
|
libelles = inject(ST_LIBELLES);
|
|
5749
|
-
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] :
|
|
5750
|
-
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().liensDuPied, ...ngDevMode ? [{ debugName: "etiquetteLue" }] :
|
|
6319
|
+
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
6320
|
+
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().liensDuPied, ...ngDevMode ? [{ debugName: "etiquetteLue" }] : /* istanbul ignore next */ []);
|
|
5751
6321
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5752
6322
|
minVersion: "12.0.0",
|
|
5753
|
-
version: "22.2.
|
|
6323
|
+
version: "22.2.1",
|
|
5754
6324
|
ngImport: i0,
|
|
5755
6325
|
type: StFooter,
|
|
5756
6326
|
deps: [],
|
|
@@ -5758,7 +6328,7 @@ var StFooter = class StFooter {
|
|
|
5758
6328
|
});
|
|
5759
6329
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5760
6330
|
minVersion: "17.1.0",
|
|
5761
|
-
version: "22.2.
|
|
6331
|
+
version: "22.2.1",
|
|
5762
6332
|
type: StFooter,
|
|
5763
6333
|
isStandalone: true,
|
|
5764
6334
|
selector: "st-footer",
|
|
@@ -5778,7 +6348,7 @@ var StFooter = class StFooter {
|
|
|
5778
6348
|
};
|
|
5779
6349
|
i0.ɵɵngDeclareClassMetadata({
|
|
5780
6350
|
minVersion: "12.0.0",
|
|
5781
|
-
version: "22.2.
|
|
6351
|
+
version: "22.2.1",
|
|
5782
6352
|
ngImport: i0,
|
|
5783
6353
|
type: StFooter,
|
|
5784
6354
|
decorators: [{
|
|
@@ -5801,6 +6371,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5801
6371
|
}] }
|
|
5802
6372
|
});
|
|
5803
6373
|
var StNavLink = class StNavLink {
|
|
6374
|
+
forme = input("colonne", ...ngDevMode ? [{ debugName: "forme" }] : /* istanbul ignore next */ []);
|
|
5804
6375
|
lien = inject(RouterLink);
|
|
5805
6376
|
actif = inject(RouterLinkActive);
|
|
5806
6377
|
routeur = inject(Router);
|
|
@@ -5823,19 +6394,29 @@ var StNavLink = class StNavLink {
|
|
|
5823
6394
|
}
|
|
5824
6395
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5825
6396
|
minVersion: "12.0.0",
|
|
5826
|
-
version: "22.2.
|
|
6397
|
+
version: "22.2.1",
|
|
5827
6398
|
ngImport: i0,
|
|
5828
6399
|
type: StNavLink,
|
|
5829
6400
|
deps: [],
|
|
5830
6401
|
target: i0.ɵɵFactoryTarget.Component
|
|
5831
6402
|
});
|
|
5832
6403
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5833
|
-
minVersion: "
|
|
5834
|
-
version: "22.2.
|
|
6404
|
+
minVersion: "17.1.0",
|
|
6405
|
+
version: "22.2.1",
|
|
5835
6406
|
type: StNavLink,
|
|
5836
6407
|
isStandalone: true,
|
|
5837
6408
|
selector: "a[stNavLink]",
|
|
5838
|
-
|
|
6409
|
+
inputs: { forme: {
|
|
6410
|
+
classPropertyName: "forme",
|
|
6411
|
+
publicName: "forme",
|
|
6412
|
+
isSignal: true,
|
|
6413
|
+
isRequired: false,
|
|
6414
|
+
transformFunction: null
|
|
6415
|
+
} },
|
|
6416
|
+
host: {
|
|
6417
|
+
properties: { "attr.data-forme": "forme()" },
|
|
6418
|
+
classAttribute: "st-nav-link"
|
|
6419
|
+
},
|
|
5839
6420
|
hostDirectives: [{
|
|
5840
6421
|
directive: i1.RouterLink,
|
|
5841
6422
|
inputs: [
|
|
@@ -5870,13 +6451,13 @@ var StNavLink = class StNavLink {
|
|
|
5870
6451
|
}],
|
|
5871
6452
|
ngImport: i0,
|
|
5872
6453
|
template: "<ng-content select=\"st-icon:not([fin])\" />\n<span class=\"st-nav-link__libelle\"><ng-content /></span>\n<ng-content select=\"st-badge, st-icon[fin]\" />\n",
|
|
5873
|
-
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: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)}:host{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-moyenne);letter-spacing:var(--st-interlettrage-normal);display:grid;grid-template-columns:var(--st-espacement-6) minmax(0,1fr);grid-auto-columns:auto;column-gap:var(--st-espacement-3);align-items:center;box-sizing:border-box;min-block-size:var(--st-hauteur-commande-defaut);padding-block:var(--st-espacement-2);padding-inline:var(--st-espacement-3);color:var(--st-couleur-texte);text-decoration:none;border-inline-start:var(--st-epaisseur-forte) solid transparent}@media(hover:hover){:host:hover{background:var(--st-couleur-surface-conteneur-haut)}}:host:active{background:var(--st-couleur-surface-active)}:host ::ng-deep>st-icon{color:var(--st-couleur-texte-discret)}:host ::ng-deep>st-icon:not([fin]){grid-column:1;justify-self:center}:host ::ng-deep>st-badge,:host ::ng-deep>st-icon[fin]{grid-column:3}.st-nav-link__libelle{grid-column:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([aria-current=page]){font-weight:var(--st-graisse-semi);color:var(--st-nav-link-courant-encre, var(--st-couleur-texte-primaire));background:var(--st-nav-link-courant-fond, light-dark(var(--st-couleur-surface-conteneur-bas), var(--st-couleur-surface-selection)));border-inline-start-color:var(--st-nav-link-courant-fond, var(--st-couleur-primaire))}:host([aria-current=page]) ::ng-deep>st-icon:not([fin]){color:var(--st-nav-link-courant-encre, var(--st-couleur-primaire))}@media(forced-colors:active){:host{border-inline-start-color:Canvas}:host([aria-current=page]){color:CanvasText;background:Canvas;border-inline-start-color:Highlight}}\n"],
|
|
6454
|
+
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: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)}:host{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-moyenne);letter-spacing:var(--st-interlettrage-normal);display:grid;grid-template-columns:var(--st-espacement-6) minmax(0,1fr);grid-auto-columns:auto;column-gap:var(--st-espacement-3);align-items:center;box-sizing:border-box;min-block-size:var(--st-hauteur-commande-defaut);padding-block:var(--st-espacement-2);padding-inline:var(--st-espacement-3);color:var(--st-couleur-texte);text-decoration:none;border-inline-start:var(--st-epaisseur-forte) solid transparent}@media(hover:hover){:host:hover{background:var(--st-couleur-surface-conteneur-haut)}}:host:active{background:var(--st-couleur-surface-active)}:host ::ng-deep>st-icon{color:var(--st-couleur-texte-discret)}:host ::ng-deep>st-icon:not([fin]){grid-column:1;justify-self:center}:host ::ng-deep>st-badge,:host ::ng-deep>st-icon[fin]{grid-column:3}.st-nav-link__libelle{grid-column:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([aria-current=page]){font-weight:var(--st-graisse-semi);color:var(--st-nav-link-courant-encre, var(--st-couleur-texte-primaire));background:var(--st-nav-link-courant-fond, light-dark(var(--st-couleur-surface-conteneur-bas), var(--st-couleur-surface-selection)));border-inline-start-color:var(--st-nav-link-courant-fond, var(--st-couleur-primaire))}:host([aria-current=page]) ::ng-deep>st-icon:not([fin]){color:var(--st-nav-link-courant-encre, var(--st-couleur-primaire))}:host([data-forme=barre]){display:inline-flex;gap:var(--st-espacement-2);padding-inline:var(--st-espacement-1);color:var(--st-couleur-texte-discret);border-inline-start:0;border-block-end:var(--st-epaisseur-forte) solid transparent}@media(hover:hover){:host([data-forme=barre]):hover{color:var(--st-couleur-texte);background:none}}:host([data-forme=barre]):active{background:none}:host([data-forme=barre][aria-current=page]){color:var(--st-couleur-texte);background:none;border-block-end-color:var(--st-couleur-primaire)}@media(forced-colors:active){:host{border-inline-start-color:Canvas}:host([aria-current=page]){color:CanvasText;background:Canvas;border-inline-start-color:Highlight}:host([data-forme=barre]){border-block-end-color:Canvas}:host([data-forme=barre][aria-current=page]){border-block-end-color:Highlight}}\n"],
|
|
5874
6455
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
5875
6456
|
});
|
|
5876
6457
|
};
|
|
5877
6458
|
i0.ɵɵngDeclareClassMetadata({
|
|
5878
6459
|
minVersion: "12.0.0",
|
|
5879
|
-
version: "22.2.
|
|
6460
|
+
version: "22.2.1",
|
|
5880
6461
|
ngImport: i0,
|
|
5881
6462
|
type: StNavLink,
|
|
5882
6463
|
decorators: [{
|
|
@@ -5904,19 +6485,30 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5904
6485
|
directive: RouterLinkActive,
|
|
5905
6486
|
inputs: ["routerLinkActiveOptions: optionsDActivation"]
|
|
5906
6487
|
}],
|
|
5907
|
-
host: {
|
|
6488
|
+
host: {
|
|
6489
|
+
class: "st-nav-link",
|
|
6490
|
+
"[attr.data-forme]": "forme()"
|
|
6491
|
+
},
|
|
5908
6492
|
template: "<ng-content select=\"st-icon:not([fin])\" />\n<span class=\"st-nav-link__libelle\"><ng-content /></span>\n<ng-content select=\"st-badge, st-icon[fin]\" />\n",
|
|
5909
|
-
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: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)}:host{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-moyenne);letter-spacing:var(--st-interlettrage-normal);display:grid;grid-template-columns:var(--st-espacement-6) minmax(0,1fr);grid-auto-columns:auto;column-gap:var(--st-espacement-3);align-items:center;box-sizing:border-box;min-block-size:var(--st-hauteur-commande-defaut);padding-block:var(--st-espacement-2);padding-inline:var(--st-espacement-3);color:var(--st-couleur-texte);text-decoration:none;border-inline-start:var(--st-epaisseur-forte) solid transparent}@media(hover:hover){:host:hover{background:var(--st-couleur-surface-conteneur-haut)}}:host:active{background:var(--st-couleur-surface-active)}:host ::ng-deep>st-icon{color:var(--st-couleur-texte-discret)}:host ::ng-deep>st-icon:not([fin]){grid-column:1;justify-self:center}:host ::ng-deep>st-badge,:host ::ng-deep>st-icon[fin]{grid-column:3}.st-nav-link__libelle{grid-column:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([aria-current=page]){font-weight:var(--st-graisse-semi);color:var(--st-nav-link-courant-encre, var(--st-couleur-texte-primaire));background:var(--st-nav-link-courant-fond, light-dark(var(--st-couleur-surface-conteneur-bas), var(--st-couleur-surface-selection)));border-inline-start-color:var(--st-nav-link-courant-fond, var(--st-couleur-primaire))}:host([aria-current=page]) ::ng-deep>st-icon:not([fin]){color:var(--st-nav-link-courant-encre, var(--st-couleur-primaire))}@media(forced-colors:active){:host{border-inline-start-color:Canvas}:host([aria-current=page]){color:CanvasText;background:Canvas;border-inline-start-color:Highlight}}\n"]
|
|
6493
|
+
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: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)}:host{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-moyenne);letter-spacing:var(--st-interlettrage-normal);display:grid;grid-template-columns:var(--st-espacement-6) minmax(0,1fr);grid-auto-columns:auto;column-gap:var(--st-espacement-3);align-items:center;box-sizing:border-box;min-block-size:var(--st-hauteur-commande-defaut);padding-block:var(--st-espacement-2);padding-inline:var(--st-espacement-3);color:var(--st-couleur-texte);text-decoration:none;border-inline-start:var(--st-epaisseur-forte) solid transparent}@media(hover:hover){:host:hover{background:var(--st-couleur-surface-conteneur-haut)}}:host:active{background:var(--st-couleur-surface-active)}:host ::ng-deep>st-icon{color:var(--st-couleur-texte-discret)}:host ::ng-deep>st-icon:not([fin]){grid-column:1;justify-self:center}:host ::ng-deep>st-badge,:host ::ng-deep>st-icon[fin]{grid-column:3}.st-nav-link__libelle{grid-column:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([aria-current=page]){font-weight:var(--st-graisse-semi);color:var(--st-nav-link-courant-encre, var(--st-couleur-texte-primaire));background:var(--st-nav-link-courant-fond, light-dark(var(--st-couleur-surface-conteneur-bas), var(--st-couleur-surface-selection)));border-inline-start-color:var(--st-nav-link-courant-fond, var(--st-couleur-primaire))}:host([aria-current=page]) ::ng-deep>st-icon:not([fin]){color:var(--st-nav-link-courant-encre, var(--st-couleur-primaire))}:host([data-forme=barre]){display:inline-flex;gap:var(--st-espacement-2);padding-inline:var(--st-espacement-1);color:var(--st-couleur-texte-discret);border-inline-start:0;border-block-end:var(--st-epaisseur-forte) solid transparent}@media(hover:hover){:host([data-forme=barre]):hover{color:var(--st-couleur-texte);background:none}}:host([data-forme=barre]):active{background:none}:host([data-forme=barre][aria-current=page]){color:var(--st-couleur-texte);background:none;border-block-end-color:var(--st-couleur-primaire)}@media(forced-colors:active){:host{border-inline-start-color:Canvas}:host([aria-current=page]){color:CanvasText;background:Canvas;border-inline-start-color:Highlight}:host([data-forme=barre]){border-block-end-color:Canvas}:host([data-forme=barre][aria-current=page]){border-block-end-color:Highlight}}\n"]
|
|
5910
6494
|
}]
|
|
5911
6495
|
}],
|
|
5912
|
-
ctorParameters: () => []
|
|
6496
|
+
ctorParameters: () => [],
|
|
6497
|
+
propDecorators: { forme: [{
|
|
6498
|
+
type: i0.Input,
|
|
6499
|
+
args: [{
|
|
6500
|
+
isSignal: true,
|
|
6501
|
+
alias: "forme",
|
|
6502
|
+
required: false
|
|
6503
|
+
}]
|
|
6504
|
+
}] }
|
|
5913
6505
|
});
|
|
5914
6506
|
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" }] :
|
|
6507
|
+
precision = input(null, ...ngDevMode ? [{ debugName: "precision" }] : /* istanbul ignore next */ []);
|
|
6508
|
+
identifiant = input(null, ...ngDevMode ? [{ debugName: "identifiant" }] : /* istanbul ignore next */ []);
|
|
6509
|
+
niveau = input(1, ...ngDevMode ? [{ debugName: "niveau" }] : /* istanbul ignore next */ []);
|
|
6510
|
+
taille = input("3xl", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
6511
|
+
retour = input(null, ...ngDevMode ? [{ debugName: "retour" }] : /* istanbul ignore next */ []);
|
|
5920
6512
|
constructor() {
|
|
5921
6513
|
if (isDevMode()) {
|
|
5922
6514
|
const hote = inject(ElementRef).nativeElement;
|
|
@@ -5928,7 +6520,7 @@ var StPageHeader = class StPageHeader {
|
|
|
5928
6520
|
}
|
|
5929
6521
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5930
6522
|
minVersion: "12.0.0",
|
|
5931
|
-
version: "22.2.
|
|
6523
|
+
version: "22.2.1",
|
|
5932
6524
|
ngImport: i0,
|
|
5933
6525
|
type: StPageHeader,
|
|
5934
6526
|
deps: [],
|
|
@@ -5936,7 +6528,7 @@ var StPageHeader = class StPageHeader {
|
|
|
5936
6528
|
});
|
|
5937
6529
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5938
6530
|
minVersion: "17.0.0",
|
|
5939
|
-
version: "22.2.
|
|
6531
|
+
version: "22.2.1",
|
|
5940
6532
|
type: StPageHeader,
|
|
5941
6533
|
isStandalone: true,
|
|
5942
6534
|
selector: "st-page-header",
|
|
@@ -6030,7 +6622,7 @@ var StPageHeader = class StPageHeader {
|
|
|
6030
6622
|
};
|
|
6031
6623
|
i0.ɵɵngDeclareClassMetadata({
|
|
6032
6624
|
minVersion: "12.0.0",
|
|
6033
|
-
version: "22.2.
|
|
6625
|
+
version: "22.2.1",
|
|
6034
6626
|
ngImport: i0,
|
|
6035
6627
|
type: StPageHeader,
|
|
6036
6628
|
decorators: [{
|
|
@@ -6094,367 +6686,74 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
6094
6686
|
});
|
|
6095
6687
|
var StRouteProgress = class StRouteProgress {
|
|
6096
6688
|
libelles = inject(ST_LIBELLES);
|
|
6097
|
-
actif = input(false, {
|
|
6098
|
-
...ngDevMode ? { debugName: "actif" } :
|
|
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;
|
|
6312
|
-
}
|
|
6313
|
-
return null;
|
|
6314
|
-
}
|
|
6315
|
-
var StBanner = class StBanner {
|
|
6316
|
-
element = inject(ElementRef);
|
|
6317
|
-
regionParente = inject(REGION_VIVANTE_PARENTE, {
|
|
6318
|
-
optional: true,
|
|
6319
|
-
skipSelf: true
|
|
6320
|
-
});
|
|
6321
|
-
libelles = inject(ST_LIBELLES);
|
|
6322
|
-
idEngendre = inject(StIdentifiants).prochain("st-banniere-titre");
|
|
6323
|
-
ton = input("neutre", ...ngDevMode ? [{ debugName: "ton" }] : /* istanbul ignore next */ []);
|
|
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 */ {},
|
|
6689
|
+
actif = input(false, {
|
|
6690
|
+
...ngDevMode ? { debugName: "actif" } : /* istanbul ignore next */ {},
|
|
6330
6691
|
transform: booleanAttribute
|
|
6331
6692
|
});
|
|
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
|
-
}
|
|
6693
|
+
delaiMs = input(delai.attente, {
|
|
6694
|
+
...ngDevMode ? { debugName: "delaiMs" } : /* istanbul ignore next */ {},
|
|
6695
|
+
transform: numberAttribute
|
|
6696
|
+
});
|
|
6697
|
+
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
6698
|
+
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().chargementEnCours, ...ngDevMode ? [{ debugName: "etiquetteLue" }] : /* istanbul ignore next */ []);
|
|
6699
|
+
visible = affichageDiffere(() => this.actif(), { delai: () => this.delaiMs() });
|
|
6346
6700
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
6347
6701
|
minVersion: "12.0.0",
|
|
6348
|
-
version: "22.2.
|
|
6702
|
+
version: "22.2.1",
|
|
6349
6703
|
ngImport: i0,
|
|
6350
|
-
type:
|
|
6704
|
+
type: StRouteProgress,
|
|
6351
6705
|
deps: [],
|
|
6352
6706
|
target: i0.ɵɵFactoryTarget.Component
|
|
6353
6707
|
});
|
|
6354
6708
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
6355
6709
|
minVersion: "17.0.0",
|
|
6356
|
-
version: "22.2.
|
|
6357
|
-
type:
|
|
6710
|
+
version: "22.2.1",
|
|
6711
|
+
type: StRouteProgress,
|
|
6358
6712
|
isStandalone: true,
|
|
6359
|
-
selector: "st-
|
|
6713
|
+
selector: "st-route-progress",
|
|
6360
6714
|
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",
|
|
6715
|
+
actif: {
|
|
6716
|
+
classPropertyName: "actif",
|
|
6717
|
+
publicName: "actif",
|
|
6392
6718
|
isSignal: true,
|
|
6393
6719
|
isRequired: false,
|
|
6394
6720
|
transformFunction: null
|
|
6395
6721
|
},
|
|
6396
|
-
|
|
6397
|
-
classPropertyName: "
|
|
6398
|
-
publicName: "
|
|
6722
|
+
delaiMs: {
|
|
6723
|
+
classPropertyName: "delaiMs",
|
|
6724
|
+
publicName: "delaiMs",
|
|
6399
6725
|
isSignal: true,
|
|
6400
6726
|
isRequired: false,
|
|
6401
6727
|
transformFunction: null
|
|
6402
6728
|
},
|
|
6403
|
-
|
|
6404
|
-
classPropertyName: "
|
|
6405
|
-
publicName: "
|
|
6729
|
+
etiquette: {
|
|
6730
|
+
classPropertyName: "etiquette",
|
|
6731
|
+
publicName: "etiquette",
|
|
6406
6732
|
isSignal: true,
|
|
6407
6733
|
isRequired: false,
|
|
6408
6734
|
transformFunction: null
|
|
6409
6735
|
}
|
|
6410
6736
|
},
|
|
6411
|
-
outputs: { ferme: "ferme" },
|
|
6412
6737
|
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"
|
|
6738
|
+
properties: { "attr.data-visible": "visible() ? \"\" : null" },
|
|
6739
|
+
classAttribute: "st-route-progress"
|
|
6420
6740
|
},
|
|
6421
|
-
providers: [{
|
|
6422
|
-
provide: REGION_VIVANTE_PARENTE,
|
|
6423
|
-
useValue: true
|
|
6424
|
-
}],
|
|
6425
6741
|
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{
|
|
6742
|
+
template: "@if (visible()) {\n <st-progress class=\"st-route-progress__barre\" epaisseur=\"route\" [etiquette]=\"etiquetteLue()\" />\n}\n",
|
|
6743
|
+
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
6744
|
dependencies: [{
|
|
6429
6745
|
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]",
|
|
6746
|
+
type: StProgress,
|
|
6747
|
+
selector: "st-progress",
|
|
6447
6748
|
inputs: [
|
|
6448
|
-
"
|
|
6749
|
+
"valeur",
|
|
6750
|
+
"max",
|
|
6449
6751
|
"etiquette",
|
|
6450
|
-
"
|
|
6451
|
-
"
|
|
6452
|
-
"
|
|
6453
|
-
"
|
|
6454
|
-
"
|
|
6455
|
-
"chargement",
|
|
6456
|
-
"indisponible",
|
|
6457
|
-
"raisonIndisponible"
|
|
6752
|
+
"ton",
|
|
6753
|
+
"epaisseur",
|
|
6754
|
+
"texteDeValeur",
|
|
6755
|
+
"avecValeur",
|
|
6756
|
+
"decompte"
|
|
6458
6757
|
]
|
|
6459
6758
|
}],
|
|
6460
6759
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
@@ -6462,93 +6761,128 @@ var StBanner = class StBanner {
|
|
|
6462
6761
|
};
|
|
6463
6762
|
i0.ɵɵngDeclareClassMetadata({
|
|
6464
6763
|
minVersion: "12.0.0",
|
|
6465
|
-
version: "22.2.
|
|
6764
|
+
version: "22.2.1",
|
|
6466
6765
|
ngImport: i0,
|
|
6467
|
-
type:
|
|
6766
|
+
type: StRouteProgress,
|
|
6468
6767
|
decorators: [{
|
|
6469
6768
|
type: Component,
|
|
6470
6769
|
args: [{
|
|
6471
|
-
selector: "st-
|
|
6770
|
+
selector: "st-route-progress",
|
|
6472
6771
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6473
|
-
imports: [
|
|
6474
|
-
providers: [{
|
|
6475
|
-
provide: REGION_VIVANTE_PARENTE,
|
|
6476
|
-
useValue: true
|
|
6477
|
-
}],
|
|
6772
|
+
imports: [StProgress],
|
|
6478
6773
|
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"
|
|
6774
|
+
class: "st-route-progress",
|
|
6775
|
+
"[attr.data-visible]": "visible() ? \"\" : null"
|
|
6484
6776
|
},
|
|
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{
|
|
6777
|
+
template: "@if (visible()) {\n <st-progress class=\"st-route-progress__barre\" epaisseur=\"route\" [etiquette]=\"etiquetteLue()\" />\n}\n",
|
|
6778
|
+
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
6779
|
}]
|
|
6488
6780
|
}],
|
|
6489
6781
|
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: [{
|
|
6782
|
+
actif: [{
|
|
6523
6783
|
type: i0.Input,
|
|
6524
6784
|
args: [{
|
|
6525
6785
|
isSignal: true,
|
|
6526
|
-
alias: "
|
|
6786
|
+
alias: "actif",
|
|
6527
6787
|
required: false
|
|
6528
6788
|
}]
|
|
6529
6789
|
}],
|
|
6530
|
-
|
|
6790
|
+
delaiMs: [{
|
|
6531
6791
|
type: i0.Input,
|
|
6532
6792
|
args: [{
|
|
6533
6793
|
isSignal: true,
|
|
6534
|
-
alias: "
|
|
6794
|
+
alias: "delaiMs",
|
|
6535
6795
|
required: false
|
|
6536
6796
|
}]
|
|
6537
6797
|
}],
|
|
6538
|
-
|
|
6798
|
+
etiquette: [{
|
|
6539
6799
|
type: i0.Input,
|
|
6540
6800
|
args: [{
|
|
6541
6801
|
isSignal: true,
|
|
6542
|
-
alias: "
|
|
6802
|
+
alias: "etiquette",
|
|
6543
6803
|
required: false
|
|
6544
6804
|
}]
|
|
6545
|
-
}],
|
|
6546
|
-
ferme: [{
|
|
6547
|
-
type: i0.Output,
|
|
6548
|
-
args: ["ferme"]
|
|
6549
6805
|
}]
|
|
6550
6806
|
}
|
|
6551
6807
|
});
|
|
6808
|
+
var StAuthShell = class StAuthShell {
|
|
6809
|
+
libelles = inject(ST_LIBELLES);
|
|
6810
|
+
bandeaux = input(false, {
|
|
6811
|
+
...ngDevMode ? { debugName: "bandeaux" } : /* istanbul ignore next */ {},
|
|
6812
|
+
transform: booleanAttribute
|
|
6813
|
+
});
|
|
6814
|
+
identifiantDuContenu = IDENTIFIANT_DU_CONTENU_PRINCIPAL;
|
|
6815
|
+
liensDuPied = computed(() => this.libelles().liensDuPied, ...ngDevMode ? [{ debugName: "liensDuPied" }] : /* istanbul ignore next */ []);
|
|
6816
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
6817
|
+
minVersion: "12.0.0",
|
|
6818
|
+
version: "22.2.1",
|
|
6819
|
+
ngImport: i0,
|
|
6820
|
+
type: StAuthShell,
|
|
6821
|
+
deps: [],
|
|
6822
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
6823
|
+
});
|
|
6824
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
6825
|
+
minVersion: "17.1.0",
|
|
6826
|
+
version: "22.2.1",
|
|
6827
|
+
type: StAuthShell,
|
|
6828
|
+
isStandalone: true,
|
|
6829
|
+
selector: "st-auth-shell",
|
|
6830
|
+
inputs: { bandeaux: {
|
|
6831
|
+
classPropertyName: "bandeaux",
|
|
6832
|
+
publicName: "bandeaux",
|
|
6833
|
+
isSignal: true,
|
|
6834
|
+
isRequired: false,
|
|
6835
|
+
transformFunction: null
|
|
6836
|
+
} },
|
|
6837
|
+
host: {
|
|
6838
|
+
properties: { "attr.data-bandeaux": "bandeaux() ? \"\" : null" },
|
|
6839
|
+
classAttribute: "st-auth-shell"
|
|
6840
|
+
},
|
|
6841
|
+
ngImport: i0,
|
|
6842
|
+
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__avant-la-carte\"><ng-content select=\"[avantLaCarte]\" /></div>\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 <!-- Ce qui accompagne la carte sans en faire partie : un encadre d'information, une mention courte. -->\n <div class=\"st-auth-shell__sous-la-carte\">\n <ng-content select=\"[sousLaCarte]\" />\n </div>\n</main>\n\n<footer class=\"st-auth-shell__pied\">\n <!-- La mention du pied (mise en garde, mention legale) : une phrase, au-dessus des liens. -->\n <div class=\"st-auth-shell__mention\">\n <ng-content select=\"[mention]\" />\n </div>\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",
|
|
6843
|
+
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__avant-la-carte:empty,.st-auth-shell__banniere:empty,.st-auth-shell__sous-la-carte:empty,.st-auth-shell__mention: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-carte-rayon, var(--st-rayon-lg));box-shadow:var(--st-ombre-survol)}}.st-auth-shell__avant-la-carte{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2) var(--st-espacement-4);align-items:center;justify-content:space-between;margin-block-end:var(--st-espacement-4)}.st-auth-shell__sous-la-carte{display:flex;flex-direction:column;gap:var(--st-espacement-4);margin-block-start:var(--st-espacement-6)}.st-auth-shell__mention{max-inline-size:40rem;text-align:center}.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)}:host([data-bandeaux]){background:var(--st-couleur-surface-conteneur-bas)}:host([data-bandeaux]):before{content:none}:host([data-bandeaux]) .st-auth-shell__carte{padding:var(--st-espacement-6);background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);border-radius:var(--st-carte-rayon, var(--st-rayon-lg));box-shadow:var(--st-ombre-repos)}@media(min-width:48rem){:host([data-bandeaux]) .st-auth-shell__carte{padding:var(--st-espacement-8)}}:host([data-bandeaux]) .st-auth-shell__entete{padding-block:var(--st-espacement-4);background:var(--st-couleur-surface);border-block-end:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}@media(min-width:48rem){:host([data-bandeaux]) .st-auth-shell__entete{padding-inline:var(--st-espacement-8)}}:host([data-bandeaux]) .st-auth-shell__pied{gap:var(--st-espacement-3);padding:var(--st-espacement-6) var(--st-espacement-4);background:var(--st-couleur-surface);border-block-start:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}@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"],
|
|
6844
|
+
dependencies: [{
|
|
6845
|
+
kind: "component",
|
|
6846
|
+
type: StSkipLink,
|
|
6847
|
+
selector: "st-skip-link",
|
|
6848
|
+
inputs: [
|
|
6849
|
+
"cible",
|
|
6850
|
+
"libelle",
|
|
6851
|
+
"secondeCible",
|
|
6852
|
+
"secondeEnPremier"
|
|
6853
|
+
]
|
|
6854
|
+
}],
|
|
6855
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
6856
|
+
});
|
|
6857
|
+
};
|
|
6858
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
6859
|
+
minVersion: "12.0.0",
|
|
6860
|
+
version: "22.2.1",
|
|
6861
|
+
ngImport: i0,
|
|
6862
|
+
type: StAuthShell,
|
|
6863
|
+
decorators: [{
|
|
6864
|
+
type: Component,
|
|
6865
|
+
args: [{
|
|
6866
|
+
selector: "st-auth-shell",
|
|
6867
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6868
|
+
imports: [StSkipLink],
|
|
6869
|
+
host: {
|
|
6870
|
+
class: "st-auth-shell",
|
|
6871
|
+
"[attr.data-bandeaux]": "bandeaux() ? \"\" : null"
|
|
6872
|
+
},
|
|
6873
|
+
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__avant-la-carte\"><ng-content select=\"[avantLaCarte]\" /></div>\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 <!-- Ce qui accompagne la carte sans en faire partie : un encadre d'information, une mention courte. -->\n <div class=\"st-auth-shell__sous-la-carte\">\n <ng-content select=\"[sousLaCarte]\" />\n </div>\n</main>\n\n<footer class=\"st-auth-shell__pied\">\n <!-- La mention du pied (mise en garde, mention legale) : une phrase, au-dessus des liens. -->\n <div class=\"st-auth-shell__mention\">\n <ng-content select=\"[mention]\" />\n </div>\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",
|
|
6874
|
+
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__avant-la-carte:empty,.st-auth-shell__banniere:empty,.st-auth-shell__sous-la-carte:empty,.st-auth-shell__mention: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-carte-rayon, var(--st-rayon-lg));box-shadow:var(--st-ombre-survol)}}.st-auth-shell__avant-la-carte{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2) var(--st-espacement-4);align-items:center;justify-content:space-between;margin-block-end:var(--st-espacement-4)}.st-auth-shell__sous-la-carte{display:flex;flex-direction:column;gap:var(--st-espacement-4);margin-block-start:var(--st-espacement-6)}.st-auth-shell__mention{max-inline-size:40rem;text-align:center}.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)}:host([data-bandeaux]){background:var(--st-couleur-surface-conteneur-bas)}:host([data-bandeaux]):before{content:none}:host([data-bandeaux]) .st-auth-shell__carte{padding:var(--st-espacement-6);background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);border-radius:var(--st-carte-rayon, var(--st-rayon-lg));box-shadow:var(--st-ombre-repos)}@media(min-width:48rem){:host([data-bandeaux]) .st-auth-shell__carte{padding:var(--st-espacement-8)}}:host([data-bandeaux]) .st-auth-shell__entete{padding-block:var(--st-espacement-4);background:var(--st-couleur-surface);border-block-end:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}@media(min-width:48rem){:host([data-bandeaux]) .st-auth-shell__entete{padding-inline:var(--st-espacement-8)}}:host([data-bandeaux]) .st-auth-shell__pied{gap:var(--st-espacement-3);padding:var(--st-espacement-6) var(--st-espacement-4);background:var(--st-couleur-surface);border-block-start:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}@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"]
|
|
6875
|
+
}]
|
|
6876
|
+
}],
|
|
6877
|
+
propDecorators: { bandeaux: [{
|
|
6878
|
+
type: i0.Input,
|
|
6879
|
+
args: [{
|
|
6880
|
+
isSignal: true,
|
|
6881
|
+
alias: "bandeaux",
|
|
6882
|
+
required: false
|
|
6883
|
+
}]
|
|
6884
|
+
}] }
|
|
6885
|
+
});
|
|
6552
6886
|
const ORDRE_DES_CHOIX = [
|
|
6553
6887
|
"clair",
|
|
6554
6888
|
"systeme",
|
|
@@ -6561,19 +6895,19 @@ const ICONES_DE_THEME = {
|
|
|
6561
6895
|
};
|
|
6562
6896
|
var StThemeToggle = class StThemeToggle {
|
|
6563
6897
|
libelles = inject(ST_LIBELLES);
|
|
6564
|
-
choix = input.required(...ngDevMode ? [{ debugName: "choix" }] :
|
|
6898
|
+
choix = input.required(...ngDevMode ? [{ debugName: "choix" }] : /* istanbul ignore next */ []);
|
|
6565
6899
|
legendeVisible = input(false, {
|
|
6566
|
-
...ngDevMode ? { debugName: "legendeVisible" } :
|
|
6900
|
+
...ngDevMode ? { debugName: "legendeVisible" } : /* istanbul ignore next */ {},
|
|
6567
6901
|
transform: booleanAttribute
|
|
6568
6902
|
});
|
|
6569
6903
|
compact = input(false, {
|
|
6570
|
-
...ngDevMode ? { debugName: "compact" } :
|
|
6904
|
+
...ngDevMode ? { debugName: "compact" } : /* istanbul ignore next */ {},
|
|
6571
6905
|
transform: booleanAttribute
|
|
6572
6906
|
});
|
|
6573
6907
|
choisi = output();
|
|
6574
6908
|
injecteur = inject(Injector);
|
|
6575
|
-
affiche = linkedSignal(() => this.choix(), ...ngDevMode ? [{ debugName: "affiche" }] :
|
|
6576
|
-
legende = computed(() => this.libelles().theme, ...ngDevMode ? [{ debugName: "legende" }] :
|
|
6909
|
+
affiche = linkedSignal(() => this.choix(), ...ngDevMode ? [{ debugName: "affiche" }] : /* istanbul ignore next */ []);
|
|
6910
|
+
legende = computed(() => this.libelles().theme, ...ngDevMode ? [{ debugName: "legende" }] : /* istanbul ignore next */ []);
|
|
6577
6911
|
options = computed(() => {
|
|
6578
6912
|
const libelles = this.libelles();
|
|
6579
6913
|
const texte = {
|
|
@@ -6586,7 +6920,7 @@ var StThemeToggle = class StThemeToggle {
|
|
|
6586
6920
|
libelle: texte[valeur],
|
|
6587
6921
|
icone: ICONES_DE_THEME[valeur]
|
|
6588
6922
|
}));
|
|
6589
|
-
}, ...ngDevMode ? [{ debugName: "options" }] :
|
|
6923
|
+
}, ...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
|
|
6590
6924
|
choisir(valeur) {
|
|
6591
6925
|
const choix = valeur;
|
|
6592
6926
|
this.affiche.set(choix);
|
|
@@ -6597,7 +6931,7 @@ var StThemeToggle = class StThemeToggle {
|
|
|
6597
6931
|
}
|
|
6598
6932
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
6599
6933
|
minVersion: "12.0.0",
|
|
6600
|
-
version: "22.2.
|
|
6934
|
+
version: "22.2.1",
|
|
6601
6935
|
ngImport: i0,
|
|
6602
6936
|
type: StThemeToggle,
|
|
6603
6937
|
deps: [],
|
|
@@ -6605,7 +6939,7 @@ var StThemeToggle = class StThemeToggle {
|
|
|
6605
6939
|
});
|
|
6606
6940
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
6607
6941
|
minVersion: "17.1.0",
|
|
6608
|
-
version: "22.2.
|
|
6942
|
+
version: "22.2.1",
|
|
6609
6943
|
type: StThemeToggle,
|
|
6610
6944
|
isStandalone: true,
|
|
6611
6945
|
selector: "st-theme-toggle",
|
|
@@ -6669,7 +7003,7 @@ var StThemeToggle = class StThemeToggle {
|
|
|
6669
7003
|
};
|
|
6670
7004
|
i0.ɵɵngDeclareClassMetadata({
|
|
6671
7005
|
minVersion: "12.0.0",
|
|
6672
|
-
version: "22.2.
|
|
7006
|
+
version: "22.2.1",
|
|
6673
7007
|
ngImport: i0,
|
|
6674
7008
|
type: StThemeToggle,
|
|
6675
7009
|
decorators: [{
|
|
@@ -6724,20 +7058,21 @@ const ENDONYMES = {
|
|
|
6724
7058
|
};
|
|
6725
7059
|
var StLangSwitch = class StLangSwitch {
|
|
6726
7060
|
libelles = inject(ST_LIBELLES);
|
|
6727
|
-
courante = input.required(...ngDevMode ? [{ debugName: "courante" }] :
|
|
6728
|
-
langues = input(LANGUES, ...ngDevMode ? [{ debugName: "langues" }] :
|
|
7061
|
+
courante = input.required(...ngDevMode ? [{ debugName: "courante" }] : /* istanbul ignore next */ []);
|
|
7062
|
+
langues = input(LANGUES, ...ngDevMode ? [{ debugName: "langues" }] : /* istanbul ignore next */ []);
|
|
6729
7063
|
legendeVisible = input(false, {
|
|
6730
|
-
...ngDevMode ? { debugName: "legendeVisible" } :
|
|
7064
|
+
...ngDevMode ? { debugName: "legendeVisible" } : /* istanbul ignore next */ {},
|
|
6731
7065
|
transform: booleanAttribute
|
|
6732
7066
|
});
|
|
6733
7067
|
compact = input(false, {
|
|
6734
|
-
...ngDevMode ? { debugName: "compact" } :
|
|
7068
|
+
...ngDevMode ? { debugName: "compact" } : /* istanbul ignore next */ {},
|
|
6735
7069
|
transform: booleanAttribute
|
|
6736
7070
|
});
|
|
7071
|
+
variante = input("piste", ...ngDevMode ? [{ debugName: "variante" }] : /* istanbul ignore next */ []);
|
|
6737
7072
|
choisie = output();
|
|
6738
7073
|
injecteur = inject(Injector);
|
|
6739
|
-
affiche = linkedSignal(() => this.courante(), ...ngDevMode ? [{ debugName: "affiche" }] :
|
|
6740
|
-
legende = computed(() => this.libelles().langue, ...ngDevMode ? [{ debugName: "legende" }] :
|
|
7074
|
+
affiche = linkedSignal(() => this.courante(), ...ngDevMode ? [{ debugName: "affiche" }] : /* istanbul ignore next */ []);
|
|
7075
|
+
legende = computed(() => this.libelles().langue, ...ngDevMode ? [{ debugName: "legende" }] : /* istanbul ignore next */ []);
|
|
6741
7076
|
options = computed(() => this.langues().map((code) => this.compact() ? {
|
|
6742
7077
|
valeur: code,
|
|
6743
7078
|
libelle: code.toUpperCase(),
|
|
@@ -6747,7 +7082,7 @@ var StLangSwitch = class StLangSwitch {
|
|
|
6747
7082
|
valeur: code,
|
|
6748
7083
|
libelle: ENDONYMES[code],
|
|
6749
7084
|
lang: code
|
|
6750
|
-
}), ...ngDevMode ? [{ debugName: "options" }] :
|
|
7085
|
+
}), ...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
|
|
6751
7086
|
choisir(code) {
|
|
6752
7087
|
const langue = code;
|
|
6753
7088
|
this.affiche.set(langue);
|
|
@@ -6758,7 +7093,7 @@ var StLangSwitch = class StLangSwitch {
|
|
|
6758
7093
|
}
|
|
6759
7094
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
6760
7095
|
minVersion: "12.0.0",
|
|
6761
|
-
version: "22.2.
|
|
7096
|
+
version: "22.2.1",
|
|
6762
7097
|
ngImport: i0,
|
|
6763
7098
|
type: StLangSwitch,
|
|
6764
7099
|
deps: [],
|
|
@@ -6766,7 +7101,7 @@ var StLangSwitch = class StLangSwitch {
|
|
|
6766
7101
|
});
|
|
6767
7102
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
6768
7103
|
minVersion: "17.1.0",
|
|
6769
|
-
version: "22.2.
|
|
7104
|
+
version: "22.2.1",
|
|
6770
7105
|
type: StLangSwitch,
|
|
6771
7106
|
isStandalone: true,
|
|
6772
7107
|
selector: "st-lang-switch",
|
|
@@ -6798,19 +7133,27 @@ var StLangSwitch = class StLangSwitch {
|
|
|
6798
7133
|
isSignal: true,
|
|
6799
7134
|
isRequired: false,
|
|
6800
7135
|
transformFunction: null
|
|
7136
|
+
},
|
|
7137
|
+
variante: {
|
|
7138
|
+
classPropertyName: "variante",
|
|
7139
|
+
publicName: "variante",
|
|
7140
|
+
isSignal: true,
|
|
7141
|
+
isRequired: false,
|
|
7142
|
+
transformFunction: null
|
|
6801
7143
|
}
|
|
6802
7144
|
},
|
|
6803
7145
|
outputs: { choisie: "choisie" },
|
|
6804
7146
|
host: {
|
|
6805
7147
|
properties: {
|
|
6806
7148
|
"attr.data-legende-visible": "legendeVisible() ? \"\" : null",
|
|
6807
|
-
"attr.data-compact": "compact() ? \"\" : null"
|
|
7149
|
+
"attr.data-compact": "compact() ? \"\" : null",
|
|
7150
|
+
"attr.data-variante": "variante()"
|
|
6808
7151
|
},
|
|
6809
7152
|
classAttribute: "st-lang-switch"
|
|
6810
7153
|
},
|
|
6811
7154
|
ngImport: i0,
|
|
6812
|
-
template: "<!-- Le segmente du socle (lot 244) : l'hote est la piste tant que la legende est masquee (piste\n `nue` du segmente) ; une legende visible se pose au-dessus de la piste `enfoncee`. Compact :\n le code visible ouvre le nom, l'endonyme suit, lu dans sa langue (« FR Francais »). -->\n<st-segmented-control\n enLigne\n [forme]=\"legendeVisible() ? 'enfoncee' : 'nue'\"\n [casse]=\"compact() ? 'capitales' : 'phrase'\"\n [legende]=\"legende()\"\n [legendeMasquee]=\"!legendeVisible()\"\n [options]=\"options()\"\n [value]=\"affiche()\"\n (valueChange)=\"choisir($event)\"\n/>\n",
|
|
6813
|
-
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;align-items:center;padding:var(--st-espacement-demi);background-color:var(--st-couleur-surface-enfoncee);border-radius:var(--st-rayon-sm);display:inline-flex}:host([data-legende-visible]){display:inline-block;padding:0;background:none;border-radius:0}@media print{:host{display:none}}\n"],
|
|
7155
|
+
template: "<!-- Le segmente du socle (lot 244) : l'hote est la piste tant que la legende est masquee (piste\n `nue` du segmente) ; une legende visible se pose au-dessus de la piste `enfoncee`. Compact :\n le code visible ouvre le nom, l'endonyme suit, lu dans sa langue (« FR Francais »). -->\n<st-segmented-control\n enLigne\n [forme]=\"variante() === 'texte' ? 'texte' : legendeVisible() ? 'enfoncee' : 'nue'\"\n [casse]=\"compact() ? 'capitales' : 'phrase'\"\n [legende]=\"legende()\"\n [legendeMasquee]=\"!legendeVisible()\"\n [options]=\"options()\"\n [value]=\"affiche()\"\n (valueChange)=\"choisir($event)\"\n/>\n",
|
|
7156
|
+
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;align-items:center;padding:var(--st-espacement-demi);background-color:var(--st-couleur-surface-enfoncee);border-radius:var(--st-rayon-sm);display:inline-flex}:host([data-legende-visible]){display:inline-block;padding:0;background:none;border-radius:0}:host([data-variante=texte]){padding:0;background:none;border-radius:0}@media print{:host{display:none}}\n"],
|
|
6814
7157
|
dependencies: [{
|
|
6815
7158
|
kind: "component",
|
|
6816
7159
|
type: StSegmentedControl,
|
|
@@ -6837,7 +7180,7 @@ var StLangSwitch = class StLangSwitch {
|
|
|
6837
7180
|
};
|
|
6838
7181
|
i0.ɵɵngDeclareClassMetadata({
|
|
6839
7182
|
minVersion: "12.0.0",
|
|
6840
|
-
version: "22.2.
|
|
7183
|
+
version: "22.2.1",
|
|
6841
7184
|
ngImport: i0,
|
|
6842
7185
|
type: StLangSwitch,
|
|
6843
7186
|
decorators: [{
|
|
@@ -6849,10 +7192,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
6849
7192
|
host: {
|
|
6850
7193
|
class: "st-lang-switch",
|
|
6851
7194
|
"[attr.data-legende-visible]": "legendeVisible() ? \"\" : null",
|
|
6852
|
-
"[attr.data-compact]": "compact() ? \"\" : null"
|
|
7195
|
+
"[attr.data-compact]": "compact() ? \"\" : null",
|
|
7196
|
+
"[attr.data-variante]": "variante()"
|
|
6853
7197
|
},
|
|
6854
|
-
template: "<!-- Le segmente du socle (lot 244) : l'hote est la piste tant que la legende est masquee (piste\n `nue` du segmente) ; une legende visible se pose au-dessus de la piste `enfoncee`. Compact :\n le code visible ouvre le nom, l'endonyme suit, lu dans sa langue (« FR Francais »). -->\n<st-segmented-control\n enLigne\n [forme]=\"legendeVisible() ? 'enfoncee' : 'nue'\"\n [casse]=\"compact() ? 'capitales' : 'phrase'\"\n [legende]=\"legende()\"\n [legendeMasquee]=\"!legendeVisible()\"\n [options]=\"options()\"\n [value]=\"affiche()\"\n (valueChange)=\"choisir($event)\"\n/>\n",
|
|
6855
|
-
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;align-items:center;padding:var(--st-espacement-demi);background-color:var(--st-couleur-surface-enfoncee);border-radius:var(--st-rayon-sm);display:inline-flex}:host([data-legende-visible]){display:inline-block;padding:0;background:none;border-radius:0}@media print{:host{display:none}}\n"]
|
|
7198
|
+
template: "<!-- Le segmente du socle (lot 244) : l'hote est la piste tant que la legende est masquee (piste\n `nue` du segmente) ; une legende visible se pose au-dessus de la piste `enfoncee`. Compact :\n le code visible ouvre le nom, l'endonyme suit, lu dans sa langue (« FR Francais »). -->\n<st-segmented-control\n enLigne\n [forme]=\"variante() === 'texte' ? 'texte' : legendeVisible() ? 'enfoncee' : 'nue'\"\n [casse]=\"compact() ? 'capitales' : 'phrase'\"\n [legende]=\"legende()\"\n [legendeMasquee]=\"!legendeVisible()\"\n [options]=\"options()\"\n [value]=\"affiche()\"\n (valueChange)=\"choisir($event)\"\n/>\n",
|
|
7199
|
+
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;align-items:center;padding:var(--st-espacement-demi);background-color:var(--st-couleur-surface-enfoncee);border-radius:var(--st-rayon-sm);display:inline-flex}:host([data-legende-visible]){display:inline-block;padding:0;background:none;border-radius:0}:host([data-variante=texte]){padding:0;background:none;border-radius:0}@media print{:host{display:none}}\n"]
|
|
6856
7200
|
}]
|
|
6857
7201
|
}],
|
|
6858
7202
|
propDecorators: {
|
|
@@ -6888,6 +7232,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
6888
7232
|
required: false
|
|
6889
7233
|
}]
|
|
6890
7234
|
}],
|
|
7235
|
+
variante: [{
|
|
7236
|
+
type: i0.Input,
|
|
7237
|
+
args: [{
|
|
7238
|
+
isSignal: true,
|
|
7239
|
+
alias: "variante",
|
|
7240
|
+
required: false
|
|
7241
|
+
}]
|
|
7242
|
+
}],
|
|
6891
7243
|
choisie: [{
|
|
6892
7244
|
type: i0.Output,
|
|
6893
7245
|
args: ["choisie"]
|
|
@@ -6896,15 +7248,15 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
6896
7248
|
});
|
|
6897
7249
|
var StPrivacyToggle = class StPrivacyToggle {
|
|
6898
7250
|
libelles = inject(ST_LIBELLES);
|
|
6899
|
-
masque = model(false, ...ngDevMode ? [{ debugName: "masque" }] :
|
|
6900
|
-
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] :
|
|
7251
|
+
masque = model(false, ...ngDevMode ? [{ debugName: "masque" }] : /* istanbul ignore next */ []);
|
|
7252
|
+
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
6901
7253
|
avecLibelle = input(false, {
|
|
6902
|
-
...ngDevMode ? { debugName: "avecLibelle" } :
|
|
7254
|
+
...ngDevMode ? { debugName: "avecLibelle" } : /* istanbul ignore next */ {},
|
|
6903
7255
|
transform: booleanAttribute
|
|
6904
7256
|
});
|
|
6905
|
-
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] :
|
|
7257
|
+
taille = input("md", ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
6906
7258
|
annonce = new AnnonceLocale(inject(DestroyRef));
|
|
6907
|
-
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().masquerLesMontants, ...ngDevMode ? [{ debugName: "etiquetteLue" }] :
|
|
7259
|
+
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().masquerLesMontants, ...ngDevMode ? [{ debugName: "etiquetteLue" }] : /* istanbul ignore next */ []);
|
|
6908
7260
|
basculer() {
|
|
6909
7261
|
const masque = !this.masque();
|
|
6910
7262
|
this.masque.set(masque);
|
|
@@ -6913,7 +7265,7 @@ var StPrivacyToggle = class StPrivacyToggle {
|
|
|
6913
7265
|
}
|
|
6914
7266
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
6915
7267
|
minVersion: "12.0.0",
|
|
6916
|
-
version: "22.2.
|
|
7268
|
+
version: "22.2.1",
|
|
6917
7269
|
ngImport: i0,
|
|
6918
7270
|
type: StPrivacyToggle,
|
|
6919
7271
|
deps: [],
|
|
@@ -6921,7 +7273,7 @@ var StPrivacyToggle = class StPrivacyToggle {
|
|
|
6921
7273
|
});
|
|
6922
7274
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
6923
7275
|
minVersion: "17.0.0",
|
|
6924
|
-
version: "22.2.
|
|
7276
|
+
version: "22.2.1",
|
|
6925
7277
|
type: StPrivacyToggle,
|
|
6926
7278
|
isStandalone: true,
|
|
6927
7279
|
selector: "st-privacy-toggle",
|
|
@@ -6996,7 +7348,7 @@ var StPrivacyToggle = class StPrivacyToggle {
|
|
|
6996
7348
|
};
|
|
6997
7349
|
i0.ɵɵngDeclareClassMetadata({
|
|
6998
7350
|
minVersion: "12.0.0",
|
|
6999
|
-
version: "22.2.
|
|
7351
|
+
version: "22.2.1",
|
|
7000
7352
|
ngImport: i0,
|
|
7001
7353
|
type: StPrivacyToggle,
|
|
7002
7354
|
decorators: [{
|
|
@@ -7049,36 +7401,36 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7049
7401
|
}
|
|
7050
7402
|
});
|
|
7051
7403
|
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" }] :
|
|
7404
|
+
nom = input.required(...ngDevMode ? [{ debugName: "nom" }] : /* istanbul ignore next */ []);
|
|
7405
|
+
clair = input(null, ...ngDevMode ? [{ debugName: "clair" }] : /* istanbul ignore next */ []);
|
|
7406
|
+
sousTitre = input(null, ...ngDevMode ? [{ debugName: "sousTitre" }] : /* istanbul ignore next */ []);
|
|
7407
|
+
icone = input("banque", ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
7408
|
+
sombre = input(null, ...ngDevMode ? [{ debugName: "sombre" }] : /* istanbul ignore next */ []);
|
|
7409
|
+
monochrome = input(null, ...ngDevMode ? [{ debugName: "monochrome" }] : /* istanbul ignore next */ []);
|
|
7058
7410
|
decoratif = input(false, {
|
|
7059
|
-
...ngDevMode ? { debugName: "decoratif" } :
|
|
7411
|
+
...ngDevMode ? { debugName: "decoratif" } : /* istanbul ignore next */ {},
|
|
7060
7412
|
transform: booleanAttribute
|
|
7061
7413
|
});
|
|
7062
|
-
hauteur = input("2rem", ...ngDevMode ? [{ debugName: "hauteur" }] :
|
|
7414
|
+
hauteur = input("2rem", ...ngDevMode ? [{ debugName: "hauteur" }] : /* istanbul ignore next */ []);
|
|
7063
7415
|
ratio = input(null, {
|
|
7064
|
-
...ngDevMode ? { debugName: "ratio" } :
|
|
7416
|
+
...ngDevMode ? { debugName: "ratio" } : /* istanbul ignore next */ {},
|
|
7065
7417
|
transform: (valeur) => valeur === null || valeur === void 0 || valeur === "" ? null : numberAttribute(valeur, NaN)
|
|
7066
7418
|
});
|
|
7067
7419
|
ratioValide = computed(() => {
|
|
7068
7420
|
const ratio = this.ratio();
|
|
7069
7421
|
return ratio === null || !Number.isFinite(ratio) || ratio <= 0 ? null : ratio;
|
|
7070
|
-
}, ...ngDevMode ? [{ debugName: "ratioValide" }] :
|
|
7422
|
+
}, ...ngDevMode ? [{ debugName: "ratioValide" }] : /* istanbul ignore next */ []);
|
|
7071
7423
|
largeurIntrinseque = computed(() => {
|
|
7072
7424
|
const ratio = this.ratioValide();
|
|
7073
7425
|
return ratio === null ? null : Math.round(ratio * 100);
|
|
7074
|
-
}, ...ngDevMode ? [{ debugName: "largeurIntrinseque" }] :
|
|
7075
|
-
hauteurIntrinseque = computed(() => this.largeurIntrinseque() === null ? null : 100, ...ngDevMode ? [{ debugName: "hauteurIntrinseque" }] :
|
|
7426
|
+
}, ...ngDevMode ? [{ debugName: "largeurIntrinseque" }] : /* istanbul ignore next */ []);
|
|
7427
|
+
hauteurIntrinseque = computed(() => this.largeurIntrinseque() === null ? null : 100, ...ngDevMode ? [{ debugName: "hauteurIntrinseque" }] : /* istanbul ignore next */ []);
|
|
7076
7428
|
hote = inject(ElementRef).nativeElement;
|
|
7077
7429
|
document = inject(DOCUMENT);
|
|
7078
7430
|
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" }] :
|
|
7431
|
+
texteAlternatif = computed(() => this.decoratif() ? "" : this.nom(), ...ngDevMode ? [{ debugName: "texteAlternatif" }] : /* istanbul ignore next */ []);
|
|
7432
|
+
sourceSombre = computed(() => this.sombre() ?? this.clair(), ...ngDevMode ? [{ debugName: "sourceSombre" }] : /* istanbul ignore next */ []);
|
|
7433
|
+
textuel = computed(() => this.clair() === null, ...ngDevMode ? [{ debugName: "textuel" }] : /* istanbul ignore next */ []);
|
|
7082
7434
|
themeAuRenduEstSombre() {
|
|
7083
7435
|
const theme = (this.hote.closest("[data-theme]") ?? this.document.documentElement.closest("[data-theme]"))?.getAttribute("data-theme");
|
|
7084
7436
|
if (theme === "sombre") return true;
|
|
@@ -7089,7 +7441,7 @@ var StLogo = class StLogo {
|
|
|
7089
7441
|
}
|
|
7090
7442
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
7091
7443
|
minVersion: "12.0.0",
|
|
7092
|
-
version: "22.2.
|
|
7444
|
+
version: "22.2.1",
|
|
7093
7445
|
ngImport: i0,
|
|
7094
7446
|
type: StLogo,
|
|
7095
7447
|
deps: [],
|
|
@@ -7097,7 +7449,7 @@ var StLogo = class StLogo {
|
|
|
7097
7449
|
});
|
|
7098
7450
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
7099
7451
|
minVersion: "17.0.0",
|
|
7100
|
-
version: "22.2.
|
|
7452
|
+
version: "22.2.1",
|
|
7101
7453
|
type: StLogo,
|
|
7102
7454
|
isStandalone: true,
|
|
7103
7455
|
selector: "st-logo",
|
|
@@ -7199,7 +7551,7 @@ var StLogo = class StLogo {
|
|
|
7199
7551
|
};
|
|
7200
7552
|
i0.ɵɵngDeclareClassMetadata({
|
|
7201
7553
|
minVersion: "12.0.0",
|
|
7202
|
-
version: "22.2.
|
|
7554
|
+
version: "22.2.1",
|
|
7203
7555
|
ngImport: i0,
|
|
7204
7556
|
type: StLogo,
|
|
7205
7557
|
decorators: [{
|
|
@@ -7294,6 +7646,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7294
7646
|
}]
|
|
7295
7647
|
}
|
|
7296
7648
|
});
|
|
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 };
|
|
7649
|
+
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_MARQUE_D_OBLIGATION, 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
7650
|
|
|
7299
7651
|
//# sourceMappingURL=starterlib-ui.mjs.map
|