@starterlib/ui 0.10.13 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENCES-TIERCES.md +9 -3
- package/README.md +167 -32
- package/assets/icones/catalogue.json +199 -4
- package/assets/icones/sprite.svg +14 -0
- package/assets/logos/starter-bank-clair.svg +1 -0
- package/assets/logos/starter-bank-monochrome.svg +1 -0
- package/assets/logos/starter-bank-sombre.svg +1 -0
- package/fesm2022/starterlib-ui-arbre.mjs +25 -25
- package/fesm2022/starterlib-ui-arbre.mjs.map +1 -1
- package/fesm2022/starterlib-ui-donnees.mjs +760 -274
- package/fesm2022/starterlib-ui-donnees.mjs.map +1 -1
- package/fesm2022/starterlib-ui-etats.mjs +82 -82
- package/fesm2022/starterlib-ui-etats.mjs.map +1 -1
- package/fesm2022/starterlib-ui-force.mjs +18 -0
- package/fesm2022/starterlib-ui-force.mjs.map +1 -0
- package/fesm2022/starterlib-ui-formulaires.mjs +580 -198
- package/fesm2022/starterlib-ui-formulaires.mjs.map +1 -1
- package/fesm2022/starterlib-ui-graphiques.mjs +934 -0
- package/fesm2022/starterlib-ui-graphiques.mjs.map +1 -0
- package/fesm2022/starterlib-ui-indicateurs.mjs +59 -59
- package/fesm2022/starterlib-ui-indicateurs.mjs.map +1 -1
- package/fesm2022/starterlib-ui-libelles-en.mjs +11 -0
- package/fesm2022/starterlib-ui-libelles-en.mjs.map +1 -1
- package/fesm2022/starterlib-ui-listes.mjs +727 -315
- package/fesm2022/starterlib-ui-listes.mjs.map +1 -1
- package/fesm2022/starterlib-ui-messagerie.mjs +45 -45
- package/fesm2022/starterlib-ui-messagerie.mjs.map +1 -1
- package/fesm2022/starterlib-ui-mise-en-page.mjs +46 -46
- package/fesm2022/starterlib-ui-mise-en-page.mjs.map +1 -1
- package/fesm2022/starterlib-ui-navigation.mjs +200 -42
- package/fesm2022/starterlib-ui-navigation.mjs.map +1 -1
- package/fesm2022/starterlib-ui-onglets.mjs +20 -20
- package/fesm2022/starterlib-ui-onglets.mjs.map +1 -1
- package/fesm2022/starterlib-ui-parcours.mjs +631 -168
- package/fesm2022/starterlib-ui-parcours.mjs.map +1 -1
- package/fesm2022/starterlib-ui-qr.mjs +11 -11
- package/fesm2022/starterlib-ui-qr.mjs.map +1 -1
- package/fesm2022/starterlib-ui-saisie.mjs +617 -511
- package/fesm2022/starterlib-ui-saisie.mjs.map +1 -1
- package/fesm2022/starterlib-ui-selection.mjs +64 -64
- package/fesm2022/starterlib-ui-selection.mjs.map +1 -1
- package/fesm2022/starterlib-ui-sens.mjs +3 -3
- package/fesm2022/starterlib-ui-surfaces.mjs +246 -242
- package/fesm2022/starterlib-ui-surfaces.mjs.map +1 -1
- package/fesm2022/starterlib-ui-virtuel.mjs +272 -0
- package/fesm2022/starterlib-ui-virtuel.mjs.map +1 -0
- package/fesm2022/starterlib-ui.mjs +1142 -898
- package/fesm2022/starterlib-ui.mjs.map +1 -1
- package/package.json +31 -3
- package/types/starterlib-ui-donnees.d.ts +231 -5
- package/types/starterlib-ui-force.d.ts +19 -0
- package/types/starterlib-ui-formulaires.d.ts +132 -1
- package/types/starterlib-ui-graphiques.d.ts +421 -0
- package/types/starterlib-ui-indicateurs.d.ts +11 -4
- package/types/starterlib-ui-listes.d.ts +230 -13
- package/types/starterlib-ui-navigation.d.ts +82 -1
- package/types/starterlib-ui-parcours.d.ts +265 -5
- package/types/starterlib-ui-saisie.d.ts +91 -10
- package/types/starterlib-ui-selection.d.ts +1 -1
- package/types/starterlib-ui-surfaces.d.ts +10 -9
- package/types/starterlib-ui-virtuel.d.ts +103 -0
- package/types/starterlib-ui.d.ts +175 -24
- package/virtuel/README.md +46 -0
|
@@ -9,14 +9,14 @@ import { estDateIso, formaterDateLongue, formaterTaille, nomAffichable } from "@
|
|
|
9
9
|
import { delai } from "@starterlib/tokens";
|
|
10
10
|
import { StStatusPill } from "@starterlib/ui/indicateurs";
|
|
11
11
|
var StElementDeListe = class StElementDeListe {
|
|
12
|
-
stElementDeListeDe = input(void 0, ...ngDevMode ? [{ debugName: "stElementDeListeDe" }] :
|
|
12
|
+
stElementDeListeDe = input(void 0, ...ngDevMode ? [{ debugName: "stElementDeListeDe" }] : /* istanbul ignore next */ []);
|
|
13
13
|
gabarit = inject(TemplateRef);
|
|
14
14
|
static ngTemplateContextGuard(_directive, _contexte) {
|
|
15
15
|
return true;
|
|
16
16
|
}
|
|
17
17
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
18
18
|
minVersion: "12.0.0",
|
|
19
|
-
version: "22.2.
|
|
19
|
+
version: "22.2.1",
|
|
20
20
|
ngImport: i0,
|
|
21
21
|
type: StElementDeListe,
|
|
22
22
|
deps: [],
|
|
@@ -24,7 +24,7 @@ var StElementDeListe = class StElementDeListe {
|
|
|
24
24
|
});
|
|
25
25
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
26
26
|
minVersion: "17.1.0",
|
|
27
|
-
version: "22.2.
|
|
27
|
+
version: "22.2.1",
|
|
28
28
|
type: StElementDeListe,
|
|
29
29
|
isStandalone: true,
|
|
30
30
|
selector: "ng-template[stElementDeListe]",
|
|
@@ -40,7 +40,7 @@ var StElementDeListe = class StElementDeListe {
|
|
|
40
40
|
};
|
|
41
41
|
i0.ɵɵngDeclareClassMetadata({
|
|
42
42
|
minVersion: "12.0.0",
|
|
43
|
-
version: "22.2.
|
|
43
|
+
version: "22.2.1",
|
|
44
44
|
ngImport: i0,
|
|
45
45
|
type: StElementDeListe,
|
|
46
46
|
decorators: [{
|
|
@@ -60,7 +60,7 @@ var StListeVide = class StListeVide {
|
|
|
60
60
|
gabarit = inject(TemplateRef);
|
|
61
61
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
62
62
|
minVersion: "12.0.0",
|
|
63
|
-
version: "22.2.
|
|
63
|
+
version: "22.2.1",
|
|
64
64
|
ngImport: i0,
|
|
65
65
|
type: StListeVide,
|
|
66
66
|
deps: [],
|
|
@@ -68,7 +68,7 @@ var StListeVide = class StListeVide {
|
|
|
68
68
|
});
|
|
69
69
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
70
70
|
minVersion: "14.0.0",
|
|
71
|
-
version: "22.2.
|
|
71
|
+
version: "22.2.1",
|
|
72
72
|
type: StListeVide,
|
|
73
73
|
isStandalone: true,
|
|
74
74
|
selector: "ng-template[stListeVide]",
|
|
@@ -77,7 +77,7 @@ var StListeVide = class StListeVide {
|
|
|
77
77
|
};
|
|
78
78
|
i0.ɵɵngDeclareClassMetadata({
|
|
79
79
|
minVersion: "12.0.0",
|
|
80
|
-
version: "22.2.
|
|
80
|
+
version: "22.2.1",
|
|
81
81
|
ngImport: i0,
|
|
82
82
|
type: StListeVide,
|
|
83
83
|
decorators: [{
|
|
@@ -88,29 +88,29 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
88
88
|
var StList = class StList {
|
|
89
89
|
element = inject(ElementRef);
|
|
90
90
|
libelles = inject(ST_LIBELLES);
|
|
91
|
-
elements = input.required(...ngDevMode ? [{ debugName: "elements" }] :
|
|
92
|
-
cle = input.required(...ngDevMode ? [{ debugName: "cle" }] :
|
|
93
|
-
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] :
|
|
91
|
+
elements = input.required(...ngDevMode ? [{ debugName: "elements" }] : /* istanbul ignore next */ []);
|
|
92
|
+
cle = input.required(...ngDevMode ? [{ debugName: "cle" }] : /* istanbul ignore next */ []);
|
|
93
|
+
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
94
94
|
ordonnee = input(false, {
|
|
95
|
-
...ngDevMode ? { debugName: "ordonnee" } :
|
|
95
|
+
...ngDevMode ? { debugName: "ordonnee" } : /* istanbul ignore next */ {},
|
|
96
96
|
transform: booleanAttribute
|
|
97
97
|
});
|
|
98
98
|
chargement = input(false, {
|
|
99
|
-
...ngDevMode ? { debugName: "chargement" } :
|
|
99
|
+
...ngDevMode ? { debugName: "chargement" } : /* istanbul ignore next */ {},
|
|
100
100
|
transform: booleanAttribute
|
|
101
101
|
});
|
|
102
102
|
lignesAttendues = input(3, {
|
|
103
|
-
...ngDevMode ? { debugName: "lignesAttendues" } :
|
|
103
|
+
...ngDevMode ? { debugName: "lignesAttendues" } : /* istanbul ignore next */ {},
|
|
104
104
|
transform: numberAttribute
|
|
105
105
|
});
|
|
106
|
-
texteVide = input(null, ...ngDevMode ? [{ debugName: "texteVide" }] :
|
|
106
|
+
texteVide = input(null, ...ngDevMode ? [{ debugName: "texteVide" }] : /* istanbul ignore next */ []);
|
|
107
107
|
cartes = input(false, {
|
|
108
|
-
...ngDevMode ? { debugName: "cartes" } :
|
|
108
|
+
...ngDevMode ? { debugName: "cartes" } : /* istanbul ignore next */ {},
|
|
109
109
|
transform: booleanAttribute
|
|
110
110
|
});
|
|
111
|
-
groupePar = input(null, ...ngDevMode ? [{ debugName: "groupePar" }] :
|
|
112
|
-
gabarit = contentChild(StElementDeListe, ...ngDevMode ? [{ debugName: "gabarit" }] :
|
|
113
|
-
gabaritVide = contentChild(StListeVide, ...ngDevMode ? [{ debugName: "gabaritVide" }] :
|
|
111
|
+
groupePar = input(null, ...ngDevMode ? [{ debugName: "groupePar" }] : /* istanbul ignore next */ []);
|
|
112
|
+
gabarit = contentChild(StElementDeListe, ...ngDevMode ? [{ debugName: "gabarit" }] : /* istanbul ignore next */ []);
|
|
113
|
+
gabaritVide = contentChild(StListeVide, ...ngDevMode ? [{ debugName: "gabaritVide" }] : /* istanbul ignore next */ []);
|
|
114
114
|
annonce = new AnnonceLocale(inject(DestroyRef));
|
|
115
115
|
identifiantDeListe = inject(StIdentifiants).prochain("st-list");
|
|
116
116
|
indiceDuPremierAjout = null;
|
|
@@ -123,7 +123,7 @@ var StList = class StList {
|
|
|
123
123
|
indice,
|
|
124
124
|
identifiant: String(valeur[cle])
|
|
125
125
|
}));
|
|
126
|
-
}, ...ngDevMode ? [{ debugName: "lignes" }] :
|
|
126
|
+
}, ...ngDevMode ? [{ debugName: "lignes" }] : /* istanbul ignore next */ []);
|
|
127
127
|
groupes = computed(() => {
|
|
128
128
|
const groupePar = this.groupePar();
|
|
129
129
|
if (groupePar === null) return null;
|
|
@@ -144,10 +144,10 @@ var StList = class StList {
|
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
146
|
return groupes;
|
|
147
|
-
}, ...ngDevMode ? [{ debugName: "groupes" }] :
|
|
148
|
-
squelette = computed(() => this.chargement() && this.elements().length === 0, ...ngDevMode ? [{ debugName: "squelette" }] :
|
|
149
|
-
vide = computed(() => !this.chargement() && this.elements().length === 0, ...ngDevMode ? [{ debugName: "vide" }] :
|
|
150
|
-
texteVideLu = computed(() => this.texteVide() ?? this.libelles().listeVide, ...ngDevMode ? [{ debugName: "texteVideLu" }] :
|
|
147
|
+
}, ...ngDevMode ? [{ debugName: "groupes" }] : /* istanbul ignore next */ []);
|
|
148
|
+
squelette = computed(() => this.chargement() && this.elements().length === 0, ...ngDevMode ? [{ debugName: "squelette" }] : /* istanbul ignore next */ []);
|
|
149
|
+
vide = computed(() => !this.chargement() && this.elements().length === 0, ...ngDevMode ? [{ debugName: "vide" }] : /* istanbul ignore next */ []);
|
|
150
|
+
texteVideLu = computed(() => this.texteVide() ?? this.libelles().listeVide, ...ngDevMode ? [{ debugName: "texteVideLu" }] : /* istanbul ignore next */ []);
|
|
151
151
|
constructor() {
|
|
152
152
|
let longueur = 0;
|
|
153
153
|
let premier = true;
|
|
@@ -184,7 +184,7 @@ var StList = class StList {
|
|
|
184
184
|
}
|
|
185
185
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
186
186
|
minVersion: "12.0.0",
|
|
187
|
-
version: "22.2.
|
|
187
|
+
version: "22.2.1",
|
|
188
188
|
ngImport: i0,
|
|
189
189
|
type: StList,
|
|
190
190
|
deps: [],
|
|
@@ -192,7 +192,7 @@ var StList = class StList {
|
|
|
192
192
|
});
|
|
193
193
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
194
194
|
minVersion: "17.0.0",
|
|
195
|
-
version: "22.2.
|
|
195
|
+
version: "22.2.1",
|
|
196
196
|
type: StList,
|
|
197
197
|
isStandalone: true,
|
|
198
198
|
selector: "st-list",
|
|
@@ -308,7 +308,7 @@ var StList = class StList {
|
|
|
308
308
|
};
|
|
309
309
|
i0.ɵɵngDeclareClassMetadata({
|
|
310
310
|
minVersion: "12.0.0",
|
|
311
|
-
version: "22.2.
|
|
311
|
+
version: "22.2.1",
|
|
312
312
|
ngImport: i0,
|
|
313
313
|
type: StList,
|
|
314
314
|
decorators: [{
|
|
@@ -417,42 +417,42 @@ var StPagination = class StPagination {
|
|
|
417
417
|
libelles = inject(ST_LIBELLES);
|
|
418
418
|
locale = inject(ST_LOCALE);
|
|
419
419
|
injecteur = inject(Injector);
|
|
420
|
-
mode = input("pages", ...ngDevMode ? [{ debugName: "mode" }] :
|
|
421
|
-
numero = input(1, ...ngDevMode ? [{ debugName: "numero" }] :
|
|
420
|
+
mode = input("pages", ...ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []);
|
|
421
|
+
numero = input(1, ...ngDevMode ? [{ debugName: "numero" }] : /* istanbul ignore next */ []);
|
|
422
422
|
precedenteDisponible = input(false, {
|
|
423
|
-
...ngDevMode ? { debugName: "precedenteDisponible" } :
|
|
423
|
+
...ngDevMode ? { debugName: "precedenteDisponible" } : /* istanbul ignore next */ {},
|
|
424
424
|
transform: booleanAttribute
|
|
425
425
|
});
|
|
426
426
|
suivanteDisponible = input(false, {
|
|
427
|
-
...ngDevMode ? { debugName: "suivanteDisponible" } :
|
|
427
|
+
...ngDevMode ? { debugName: "suivanteDisponible" } : /* istanbul ignore next */ {},
|
|
428
428
|
transform: booleanAttribute
|
|
429
429
|
});
|
|
430
430
|
chargement = input(false, {
|
|
431
|
-
...ngDevMode ? { debugName: "chargement" } :
|
|
431
|
+
...ngDevMode ? { debugName: "chargement" } : /* istanbul ignore next */ {},
|
|
432
432
|
transform: booleanAttribute
|
|
433
433
|
});
|
|
434
|
-
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] :
|
|
435
|
-
taillesDePage = input([], ...ngDevMode ? [{ debugName: "taillesDePage" }] :
|
|
436
|
-
taille = model(20, ...ngDevMode ? [{ debugName: "taille" }] :
|
|
437
|
-
nombreAjoute = input(null, ...ngDevMode ? [{ debugName: "nombreAjoute" }] :
|
|
438
|
-
cible = input(null, ...ngDevMode ? [{ debugName: "cible" }] :
|
|
434
|
+
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
435
|
+
taillesDePage = input([], ...ngDevMode ? [{ debugName: "taillesDePage" }] : /* istanbul ignore next */ []);
|
|
436
|
+
taille = model(20, ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
437
|
+
nombreAjoute = input(null, ...ngDevMode ? [{ debugName: "nombreAjoute" }] : /* istanbul ignore next */ []);
|
|
438
|
+
cible = input(null, ...ngDevMode ? [{ debugName: "cible" }] : /* istanbul ignore next */ []);
|
|
439
439
|
precedente = output();
|
|
440
440
|
suivante = output();
|
|
441
441
|
annonce = new AnnonceLocale(inject(DestroyRef));
|
|
442
|
-
sensDemande = signal(null, ...ngDevMode ? [{ debugName: "sensDemande" }] :
|
|
443
|
-
enChargement = computed(() => this.chargement() ? this.sensDemande() : null, ...ngDevMode ? [{ debugName: "enChargement" }] :
|
|
444
|
-
precedenteBloquee = computed(() => !this.precedenteDisponible() || this.chargement() && this.enChargement() !== "precedente", ...ngDevMode ? [{ debugName: "precedenteBloquee" }] :
|
|
445
|
-
suivanteBloquee = computed(() => !this.suivanteDisponible() || this.chargement() && this.enChargement() !== "suivante", ...ngDevMode ? [{ debugName: "suivanteBloquee" }] :
|
|
446
|
-
nombres = computed(() => new Intl.NumberFormat(this.locale()), ...ngDevMode ? [{ debugName: "nombres" }] :
|
|
447
|
-
tailleBornee = computed(() => bornerLaTaille(this.taille()), ...ngDevMode ? [{ debugName: "tailleBornee" }] :
|
|
442
|
+
sensDemande = signal(null, ...ngDevMode ? [{ debugName: "sensDemande" }] : /* istanbul ignore next */ []);
|
|
443
|
+
enChargement = computed(() => this.chargement() ? this.sensDemande() : null, ...ngDevMode ? [{ debugName: "enChargement" }] : /* istanbul ignore next */ []);
|
|
444
|
+
precedenteBloquee = computed(() => !this.precedenteDisponible() || this.chargement() && this.enChargement() !== "precedente", ...ngDevMode ? [{ debugName: "precedenteBloquee" }] : /* istanbul ignore next */ []);
|
|
445
|
+
suivanteBloquee = computed(() => !this.suivanteDisponible() || this.chargement() && this.enChargement() !== "suivante", ...ngDevMode ? [{ debugName: "suivanteBloquee" }] : /* istanbul ignore next */ []);
|
|
446
|
+
nombres = computed(() => new Intl.NumberFormat(this.locale()), ...ngDevMode ? [{ debugName: "nombres" }] : /* istanbul ignore next */ []);
|
|
447
|
+
tailleBornee = computed(() => bornerLaTaille(this.taille()), ...ngDevMode ? [{ debugName: "tailleBornee" }] : /* istanbul ignore next */ []);
|
|
448
448
|
tailles = computed(() => {
|
|
449
449
|
const proposees = this.taillesDePage().filter((taille) => Number.isInteger(taille) && taille >= 1 && taille <= TAILLE_DE_PAGE_MAXIMALE);
|
|
450
450
|
if (proposees.length === 0) return [];
|
|
451
451
|
return [.../* @__PURE__ */ new Set([...proposees, this.tailleBornee()])].sort((a, b) => a - b);
|
|
452
|
-
}, ...ngDevMode ? [{ debugName: "tailles" }] :
|
|
453
|
-
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().pagination, ...ngDevMode ? [{ debugName: "etiquetteLue" }] :
|
|
454
|
-
finDeListe = computed(() => this.mode() === "suite" && !this.suivanteDisponible() && this.numero() > 1, ...ngDevMode ? [{ debugName: "finDeListe" }] :
|
|
455
|
-
vide = computed(() => this.mode() === "suite" && !this.suivanteDisponible() && !this.finDeListe() && this.tailles().length === 0, ...ngDevMode ? [{ debugName: "vide" }] :
|
|
452
|
+
}, ...ngDevMode ? [{ debugName: "tailles" }] : /* istanbul ignore next */ []);
|
|
453
|
+
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().pagination, ...ngDevMode ? [{ debugName: "etiquetteLue" }] : /* istanbul ignore next */ []);
|
|
454
|
+
finDeListe = computed(() => this.mode() === "suite" && !this.suivanteDisponible() && this.numero() > 1, ...ngDevMode ? [{ debugName: "finDeListe" }] : /* istanbul ignore next */ []);
|
|
455
|
+
vide = computed(() => this.mode() === "suite" && !this.suivanteDisponible() && !this.finDeListe() && this.tailles().length === 0, ...ngDevMode ? [{ debugName: "vide" }] : /* istanbul ignore next */ []);
|
|
456
456
|
constructor() {
|
|
457
457
|
effect(() => {
|
|
458
458
|
const bornee = this.tailleBornee();
|
|
@@ -504,7 +504,7 @@ var StPagination = class StPagination {
|
|
|
504
504
|
}
|
|
505
505
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
506
506
|
minVersion: "12.0.0",
|
|
507
|
-
version: "22.2.
|
|
507
|
+
version: "22.2.1",
|
|
508
508
|
ngImport: i0,
|
|
509
509
|
type: StPagination,
|
|
510
510
|
deps: [],
|
|
@@ -512,7 +512,7 @@ var StPagination = class StPagination {
|
|
|
512
512
|
});
|
|
513
513
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
514
514
|
minVersion: "17.0.0",
|
|
515
|
-
version: "22.2.
|
|
515
|
+
version: "22.2.1",
|
|
516
516
|
type: StPagination,
|
|
517
517
|
isStandalone: true,
|
|
518
518
|
selector: "st-pagination",
|
|
@@ -602,7 +602,7 @@ var StPagination = class StPagination {
|
|
|
602
602
|
},
|
|
603
603
|
ngImport: i0,
|
|
604
604
|
template: "<nav class=\"st-pagination__navigation\" [attr.aria-label]=\"etiquetteLue()\">\n @if (mode() === 'pages') {\n <div class=\"st-pagination__pages\">\n <!-- Le bouton clique porte le chargement ; l'autre attend, indisponible (D-12). -->\n <button\n stButton\n type=\"button\"\n iconeAvant=\"chevron-gauche\"\n [indisponible]=\"precedenteBloquee()\"\n [chargement]=\"enChargement() === 'precedente'\"\n (click)=\"demander('precedente')\"\n >\n {{ libelles().pagePrecedente }}\n </button>\n <!-- Le carre montre le numero ; « Page N » se lit. aria-current reste sur le span :\n le curseur n'est pas adressable, la page courante n'est pas un lien. -->\n <span class=\"st-pagination__numero\" aria-current=\"page\">\n <span class=\"st-vh\">{{ libelles().pageNumero(numero()) }}</span>\n <span aria-hidden=\"true\">{{ nombres().format(numero()) }}</span>\n </span>\n <button\n stButton\n type=\"button\"\n iconeApres=\"chevron-droite\"\n [indisponible]=\"suivanteBloquee()\"\n [chargement]=\"enChargement() === 'suivante'\"\n (click)=\"demander('suivante')\"\n >\n {{ libelles().pageSuivante }}\n </button>\n </div>\n } @else if (suivanteDisponible()) {\n <button\n stButton\n class=\"st-pagination__suite\"\n type=\"button\"\n variante=\"tonale\"\n pleineLargeur\n [chargement]=\"chargement()\"\n (click)=\"suivante.emit()\"\n >\n <span class=\"st-pagination__plus\">\n <st-icon class=\"st-pagination__glyphe\" nom=\"cercle-chevron-bas\" taille=\"18\" />\n <span>{{ libelles().afficherPlus }}</span>\n </span>\n </button>\n } @else if (finDeListe()) {\n <p class=\"st-pagination__fin\">{{ libelles().finDeLaListe }}</p>\n }\n\n @if (tailles().length > 0) {\n <label class=\"st-pagination__taille\">\n <span class=\"st-pagination__intitule\">{{ libelles().lignesParPage }}</span>\n <span class=\"st-pagination__cadre\">\n <select class=\"st-pagination__choix\" (change)=\"surTaille($event)\">\n @for (proposee of tailles(); track proposee) {\n <option [value]=\"proposee\" [selected]=\"proposee === tailleBornee()\">\n {{ nombres().format(proposee) }}\n </option>\n }\n </select>\n <st-icon class=\"st-pagination__chevron\" nom=\"chevron-bas\" taille=\"18\" />\n </span>\n </label>\n }\n</nav>\n<span class=\"st-vh\" aria-live=\"polite\">{{ annonce.texte() }}</span>\n",
|
|
605
|
-
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}:host([hidden]){display:none}:host([data-mode=pages]){box-sizing:border-box;min-block-size:var(--st-hauteur-commande-2xl);padding:var(--st-espacement-2-5);background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);border-radius:var(--st-rayon-md)}.st-pagination__navigation{display:flex;flex-wrap:wrap;gap:var(--st-espacement-4);align-items:center;justify-content:space-between}.st-pagination__pages{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2);align-items:center}.st-pagination__numero{display:inline-flex;flex:none;align-items:center;justify-content:center;box-sizing:border-box;min-inline-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut));block-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut));padding-inline:var(--st-espacement-2);font-family:var(--st-police-mono);font-size:var(--st-taille-sm);font-weight:var(--st-graisse-grasse);line-height:var(--st-interligne-sm);color:var(--st-couleur-sur-primaire);background:var(--st-couleur-primaire);border-radius:var(--st-commande-rayon, var(--st-rayon-md))}.st-pagination__suite.st-button{margin-block-start:var(--st-espacement-1);padding-inline:0;font-weight:var(--st-graisse-moyenne);color:var(--st-couleur-texte);background:var(--st-couleur-surface-enfoncee);border-radius:var(--st-rayon-sm)}@media(hover:hover){.st-pagination__suite.st-button:hover:not([aria-disabled=true]){background:var(--st-couleur-surface-conteneur-haut)}}.st-pagination__suite.st-button:active:not([aria-disabled=true]){background:var(--st-couleur-surface-active)}.st-pagination__plus{display:flex;gap:var(--st-espacement-2);align-items:center}.st-pagination__glyphe{color:var(--st-couleur-primaire)}.st-pagination__fin{margin:0;font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-attenue)}.st-pagination__taille{display:inline-flex;gap:var(--st-espacement-2);align-items:center;margin-inline-start:auto}.st-pagination__intitule{font-family:var(--st-police-mono);font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs);color:var(--st-couleur-texte-discret);white-space:nowrap}.st-pagination__cadre{position:relative;display:inline-flex;align-items:center}.st-pagination__choix: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-pagination__choix{box-sizing:border-box;inline-size:100%;min-block-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut))}.st-pagination__choix:is(input,select){block-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut))}.st-pagination__choix{--_remplissage-bloc: max( var(--st-espacement-demi), min( var(--st-espacement-2), calc( (var(--st-commande-hauteur, var(--st-hauteur-commande-defaut)) - var(--st-interligne-sm)) / 2 - var(--st-epaisseur-fine) ) ) );padding-block:var(--_remplissage-bloc);padding-inline:var(--st-espacement-3-5);font-family:inherit;font-size:var(--st-taille-sm);font-weight:var(--st-graisse-normale);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte);background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure-forte);border-radius:var(--st-commande-rayon, var(--st-rayon-md))}@media(pointer:coarse){.st-pagination__choix{--_remplissage-bloc: max( var(--st-espacement-demi), min( var(--st-espacement-2), calc( ( var(--st-commande-hauteur, var(--st-hauteur-commande-defaut)) - var( --st-interligne-md ) ) / 2 - var(--st-epaisseur-fine) ) ) );font-size:var(--st-taille-md);line-height:var(--st-interligne-md)}}.st-pagination__choix::placeholder{color:var(--st-couleur-texte-attenue);opacity:1}@media(hover:hover){.st-pagination__choix:hover:not(:disabled,:focus,[aria-invalid=true]){border-color:var(--st-couleur-texte-discret);transition:border-color var(--st-duree-rapide) var(--st-courbe-standard)}}.st-pagination__choix:focus-visible{border-color:var(--st-couleur-primaire)}.st-pagination__choix[aria-invalid=true]{border-color:var(--st-couleur-
|
|
605
|
+
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}:host([hidden]){display:none}:host([data-mode=pages]){box-sizing:border-box;min-block-size:var(--st-hauteur-commande-2xl);padding:var(--st-espacement-2-5);background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);border-radius:var(--st-rayon-md)}.st-pagination__navigation{display:flex;flex-wrap:wrap;gap:var(--st-espacement-4);align-items:center;justify-content:space-between}.st-pagination__pages{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2);align-items:center}.st-pagination__numero{display:inline-flex;flex:none;align-items:center;justify-content:center;box-sizing:border-box;min-inline-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut));block-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut));padding-inline:var(--st-espacement-2);font-family:var(--st-police-mono);font-size:var(--st-taille-sm);font-weight:var(--st-graisse-grasse);line-height:var(--st-interligne-sm);color:var(--st-couleur-sur-primaire);background:var(--st-couleur-primaire);border-radius:var(--st-commande-rayon, var(--st-rayon-md))}.st-pagination__suite.st-button{margin-block-start:var(--st-espacement-1);padding-inline:0;font-weight:var(--st-graisse-moyenne);color:var(--st-couleur-texte);background:var(--st-couleur-surface-enfoncee);border-radius:var(--st-rayon-sm)}@media(hover:hover){.st-pagination__suite.st-button:hover:not([aria-disabled=true]){background:var(--st-couleur-surface-conteneur-haut)}}.st-pagination__suite.st-button:active:not([aria-disabled=true]){background:var(--st-couleur-surface-active)}.st-pagination__plus{display:flex;gap:var(--st-espacement-2);align-items:center}.st-pagination__glyphe{color:var(--st-couleur-primaire)}.st-pagination__fin{margin:0;font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-attenue)}.st-pagination__taille{display:inline-flex;gap:var(--st-espacement-2);align-items:center;margin-inline-start:auto}.st-pagination__intitule{font-family:var(--st-police-mono);font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs);color:var(--st-couleur-texte-discret);white-space:nowrap}.st-pagination__cadre{position:relative;display:inline-flex;align-items:center}.st-pagination__choix: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-pagination__choix{box-sizing:border-box;inline-size:100%;min-block-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut))}.st-pagination__choix:is(input,select){block-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut))}.st-pagination__choix{--_remplissage-bloc: max( var(--st-espacement-demi), min( var(--st-espacement-2), calc( (var(--st-commande-hauteur, var(--st-hauteur-commande-defaut)) - var(--st-interligne-sm)) / 2 - var(--st-epaisseur-fine) ) ) );padding-block:var(--_remplissage-bloc);padding-inline:var(--st-espacement-3-5);font-family:inherit;font-size:var(--st-taille-sm);font-weight:var(--st-graisse-normale);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte);background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure-forte);border-radius:var(--st-commande-rayon, var(--st-rayon-md))}@media(pointer:coarse){.st-pagination__choix{--_remplissage-bloc: max( var(--st-espacement-demi), min( var(--st-espacement-2), calc( ( var(--st-commande-hauteur, var(--st-hauteur-commande-defaut)) - var( --st-interligne-md ) ) / 2 - var(--st-epaisseur-fine) ) ) );font-size:var(--st-taille-md);line-height:var(--st-interligne-md)}}.st-pagination__choix::placeholder{color:var(--st-couleur-texte-attenue);opacity:1}@media(hover:hover){.st-pagination__choix:hover:not(:disabled,:focus,[aria-invalid=true]){border-color:var(--st-couleur-texte-discret);transition:border-color var(--st-duree-rapide) var(--st-courbe-standard)}}.st-pagination__choix:focus-visible{border-color:var(--st-couleur-primaire)}.st-pagination__choix[aria-invalid=true]{border-color:var(--st-couleur-erreur);box-shadow:inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-erreur)}.st-pagination__choix[aria-invalid=true]: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),inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-erreur)}.st-pagination__choix:disabled{color:var(--st-couleur-texte-desactive);cursor:not-allowed;background:var(--st-couleur-surface);border-color:var(--st-couleur-bordure)}.st-pagination__choix:disabled::placeholder{color:var(--st-couleur-texte-desactive)}.st-pagination__choix:is(input,textarea):read-only:not(:disabled),.st-pagination__choix[aria-readonly=true]:not(:disabled){font-weight:var(--st-graisse-moyenne);background:var(--st-couleur-surface-enfoncee)}.st-pagination__choix{inline-size:auto;padding-inline:var(--st-espacement-3) var(--st-espacement-8);font-family:var(--st-police-mono);font-size:var(--st-taille-xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-xs);appearance:none;cursor:pointer}.st-pagination__chevron{position:absolute;inset-inline-end:var(--st-espacement-2);color:var(--st-couleur-texte-discret);pointer-events:none}@media(forced-colors:active){.st-pagination__numero{forced-color-adjust:none;color:HighlightText;background:Highlight}}@media print{:host([data-mode=pages]){padding:0;border:0}.st-button,.st-pagination__taille{display:none}}\n"],
|
|
606
606
|
dependencies: [{
|
|
607
607
|
kind: "component",
|
|
608
608
|
type: StButton,
|
|
@@ -638,7 +638,7 @@ var StPagination = class StPagination {
|
|
|
638
638
|
};
|
|
639
639
|
i0.ɵɵngDeclareClassMetadata({
|
|
640
640
|
minVersion: "12.0.0",
|
|
641
|
-
version: "22.2.
|
|
641
|
+
version: "22.2.1",
|
|
642
642
|
ngImport: i0,
|
|
643
643
|
type: StPagination,
|
|
644
644
|
decorators: [{
|
|
@@ -653,7 +653,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
653
653
|
"[attr.hidden]": "vide() ? \"\" : null"
|
|
654
654
|
},
|
|
655
655
|
template: "<nav class=\"st-pagination__navigation\" [attr.aria-label]=\"etiquetteLue()\">\n @if (mode() === 'pages') {\n <div class=\"st-pagination__pages\">\n <!-- Le bouton clique porte le chargement ; l'autre attend, indisponible (D-12). -->\n <button\n stButton\n type=\"button\"\n iconeAvant=\"chevron-gauche\"\n [indisponible]=\"precedenteBloquee()\"\n [chargement]=\"enChargement() === 'precedente'\"\n (click)=\"demander('precedente')\"\n >\n {{ libelles().pagePrecedente }}\n </button>\n <!-- Le carre montre le numero ; « Page N » se lit. aria-current reste sur le span :\n le curseur n'est pas adressable, la page courante n'est pas un lien. -->\n <span class=\"st-pagination__numero\" aria-current=\"page\">\n <span class=\"st-vh\">{{ libelles().pageNumero(numero()) }}</span>\n <span aria-hidden=\"true\">{{ nombres().format(numero()) }}</span>\n </span>\n <button\n stButton\n type=\"button\"\n iconeApres=\"chevron-droite\"\n [indisponible]=\"suivanteBloquee()\"\n [chargement]=\"enChargement() === 'suivante'\"\n (click)=\"demander('suivante')\"\n >\n {{ libelles().pageSuivante }}\n </button>\n </div>\n } @else if (suivanteDisponible()) {\n <button\n stButton\n class=\"st-pagination__suite\"\n type=\"button\"\n variante=\"tonale\"\n pleineLargeur\n [chargement]=\"chargement()\"\n (click)=\"suivante.emit()\"\n >\n <span class=\"st-pagination__plus\">\n <st-icon class=\"st-pagination__glyphe\" nom=\"cercle-chevron-bas\" taille=\"18\" />\n <span>{{ libelles().afficherPlus }}</span>\n </span>\n </button>\n } @else if (finDeListe()) {\n <p class=\"st-pagination__fin\">{{ libelles().finDeLaListe }}</p>\n }\n\n @if (tailles().length > 0) {\n <label class=\"st-pagination__taille\">\n <span class=\"st-pagination__intitule\">{{ libelles().lignesParPage }}</span>\n <span class=\"st-pagination__cadre\">\n <select class=\"st-pagination__choix\" (change)=\"surTaille($event)\">\n @for (proposee of tailles(); track proposee) {\n <option [value]=\"proposee\" [selected]=\"proposee === tailleBornee()\">\n {{ nombres().format(proposee) }}\n </option>\n }\n </select>\n <st-icon class=\"st-pagination__chevron\" nom=\"chevron-bas\" taille=\"18\" />\n </span>\n </label>\n }\n</nav>\n<span class=\"st-vh\" aria-live=\"polite\">{{ annonce.texte() }}</span>\n",
|
|
656
|
-
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}:host([hidden]){display:none}:host([data-mode=pages]){box-sizing:border-box;min-block-size:var(--st-hauteur-commande-2xl);padding:var(--st-espacement-2-5);background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);border-radius:var(--st-rayon-md)}.st-pagination__navigation{display:flex;flex-wrap:wrap;gap:var(--st-espacement-4);align-items:center;justify-content:space-between}.st-pagination__pages{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2);align-items:center}.st-pagination__numero{display:inline-flex;flex:none;align-items:center;justify-content:center;box-sizing:border-box;min-inline-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut));block-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut));padding-inline:var(--st-espacement-2);font-family:var(--st-police-mono);font-size:var(--st-taille-sm);font-weight:var(--st-graisse-grasse);line-height:var(--st-interligne-sm);color:var(--st-couleur-sur-primaire);background:var(--st-couleur-primaire);border-radius:var(--st-commande-rayon, var(--st-rayon-md))}.st-pagination__suite.st-button{margin-block-start:var(--st-espacement-1);padding-inline:0;font-weight:var(--st-graisse-moyenne);color:var(--st-couleur-texte);background:var(--st-couleur-surface-enfoncee);border-radius:var(--st-rayon-sm)}@media(hover:hover){.st-pagination__suite.st-button:hover:not([aria-disabled=true]){background:var(--st-couleur-surface-conteneur-haut)}}.st-pagination__suite.st-button:active:not([aria-disabled=true]){background:var(--st-couleur-surface-active)}.st-pagination__plus{display:flex;gap:var(--st-espacement-2);align-items:center}.st-pagination__glyphe{color:var(--st-couleur-primaire)}.st-pagination__fin{margin:0;font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-attenue)}.st-pagination__taille{display:inline-flex;gap:var(--st-espacement-2);align-items:center;margin-inline-start:auto}.st-pagination__intitule{font-family:var(--st-police-mono);font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs);color:var(--st-couleur-texte-discret);white-space:nowrap}.st-pagination__cadre{position:relative;display:inline-flex;align-items:center}.st-pagination__choix: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-pagination__choix{box-sizing:border-box;inline-size:100%;min-block-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut))}.st-pagination__choix:is(input,select){block-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut))}.st-pagination__choix{--_remplissage-bloc: max( var(--st-espacement-demi), min( var(--st-espacement-2), calc( (var(--st-commande-hauteur, var(--st-hauteur-commande-defaut)) - var(--st-interligne-sm)) / 2 - var(--st-epaisseur-fine) ) ) );padding-block:var(--_remplissage-bloc);padding-inline:var(--st-espacement-3-5);font-family:inherit;font-size:var(--st-taille-sm);font-weight:var(--st-graisse-normale);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte);background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure-forte);border-radius:var(--st-commande-rayon, var(--st-rayon-md))}@media(pointer:coarse){.st-pagination__choix{--_remplissage-bloc: max( var(--st-espacement-demi), min( var(--st-espacement-2), calc( ( var(--st-commande-hauteur, var(--st-hauteur-commande-defaut)) - var( --st-interligne-md ) ) / 2 - var(--st-epaisseur-fine) ) ) );font-size:var(--st-taille-md);line-height:var(--st-interligne-md)}}.st-pagination__choix::placeholder{color:var(--st-couleur-texte-attenue);opacity:1}@media(hover:hover){.st-pagination__choix:hover:not(:disabled,:focus,[aria-invalid=true]){border-color:var(--st-couleur-texte-discret);transition:border-color var(--st-duree-rapide) var(--st-courbe-standard)}}.st-pagination__choix:focus-visible{border-color:var(--st-couleur-primaire)}.st-pagination__choix[aria-invalid=true]{border-color:var(--st-couleur-
|
|
656
|
+
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}:host([hidden]){display:none}:host([data-mode=pages]){box-sizing:border-box;min-block-size:var(--st-hauteur-commande-2xl);padding:var(--st-espacement-2-5);background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);border-radius:var(--st-rayon-md)}.st-pagination__navigation{display:flex;flex-wrap:wrap;gap:var(--st-espacement-4);align-items:center;justify-content:space-between}.st-pagination__pages{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2);align-items:center}.st-pagination__numero{display:inline-flex;flex:none;align-items:center;justify-content:center;box-sizing:border-box;min-inline-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut));block-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut));padding-inline:var(--st-espacement-2);font-family:var(--st-police-mono);font-size:var(--st-taille-sm);font-weight:var(--st-graisse-grasse);line-height:var(--st-interligne-sm);color:var(--st-couleur-sur-primaire);background:var(--st-couleur-primaire);border-radius:var(--st-commande-rayon, var(--st-rayon-md))}.st-pagination__suite.st-button{margin-block-start:var(--st-espacement-1);padding-inline:0;font-weight:var(--st-graisse-moyenne);color:var(--st-couleur-texte);background:var(--st-couleur-surface-enfoncee);border-radius:var(--st-rayon-sm)}@media(hover:hover){.st-pagination__suite.st-button:hover:not([aria-disabled=true]){background:var(--st-couleur-surface-conteneur-haut)}}.st-pagination__suite.st-button:active:not([aria-disabled=true]){background:var(--st-couleur-surface-active)}.st-pagination__plus{display:flex;gap:var(--st-espacement-2);align-items:center}.st-pagination__glyphe{color:var(--st-couleur-primaire)}.st-pagination__fin{margin:0;font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-attenue)}.st-pagination__taille{display:inline-flex;gap:var(--st-espacement-2);align-items:center;margin-inline-start:auto}.st-pagination__intitule{font-family:var(--st-police-mono);font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs);color:var(--st-couleur-texte-discret);white-space:nowrap}.st-pagination__cadre{position:relative;display:inline-flex;align-items:center}.st-pagination__choix: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-pagination__choix{box-sizing:border-box;inline-size:100%;min-block-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut))}.st-pagination__choix:is(input,select){block-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut))}.st-pagination__choix{--_remplissage-bloc: max( var(--st-espacement-demi), min( var(--st-espacement-2), calc( (var(--st-commande-hauteur, var(--st-hauteur-commande-defaut)) - var(--st-interligne-sm)) / 2 - var(--st-epaisseur-fine) ) ) );padding-block:var(--_remplissage-bloc);padding-inline:var(--st-espacement-3-5);font-family:inherit;font-size:var(--st-taille-sm);font-weight:var(--st-graisse-normale);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte);background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure-forte);border-radius:var(--st-commande-rayon, var(--st-rayon-md))}@media(pointer:coarse){.st-pagination__choix{--_remplissage-bloc: max( var(--st-espacement-demi), min( var(--st-espacement-2), calc( ( var(--st-commande-hauteur, var(--st-hauteur-commande-defaut)) - var( --st-interligne-md ) ) / 2 - var(--st-epaisseur-fine) ) ) );font-size:var(--st-taille-md);line-height:var(--st-interligne-md)}}.st-pagination__choix::placeholder{color:var(--st-couleur-texte-attenue);opacity:1}@media(hover:hover){.st-pagination__choix:hover:not(:disabled,:focus,[aria-invalid=true]){border-color:var(--st-couleur-texte-discret);transition:border-color var(--st-duree-rapide) var(--st-courbe-standard)}}.st-pagination__choix:focus-visible{border-color:var(--st-couleur-primaire)}.st-pagination__choix[aria-invalid=true]{border-color:var(--st-couleur-erreur);box-shadow:inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-erreur)}.st-pagination__choix[aria-invalid=true]: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),inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-erreur)}.st-pagination__choix:disabled{color:var(--st-couleur-texte-desactive);cursor:not-allowed;background:var(--st-couleur-surface);border-color:var(--st-couleur-bordure)}.st-pagination__choix:disabled::placeholder{color:var(--st-couleur-texte-desactive)}.st-pagination__choix:is(input,textarea):read-only:not(:disabled),.st-pagination__choix[aria-readonly=true]:not(:disabled){font-weight:var(--st-graisse-moyenne);background:var(--st-couleur-surface-enfoncee)}.st-pagination__choix{inline-size:auto;padding-inline:var(--st-espacement-3) var(--st-espacement-8);font-family:var(--st-police-mono);font-size:var(--st-taille-xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-xs);appearance:none;cursor:pointer}.st-pagination__chevron{position:absolute;inset-inline-end:var(--st-espacement-2);color:var(--st-couleur-texte-discret);pointer-events:none}@media(forced-colors:active){.st-pagination__numero{forced-color-adjust:none;color:HighlightText;background:Highlight}}@media print{:host([data-mode=pages]){padding:0;border:0}.st-button,.st-pagination__taille{display:none}}\n"]
|
|
657
657
|
}]
|
|
658
658
|
}],
|
|
659
659
|
ctorParameters: () => [],
|
|
@@ -767,7 +767,7 @@ function lignesDeDescription(elements, gabarits, composant) {
|
|
|
767
767
|
}
|
|
768
768
|
var StDescription = class StDescription {
|
|
769
769
|
cle = input.required({
|
|
770
|
-
...ngDevMode ? { debugName: "cle" } :
|
|
770
|
+
...ngDevMode ? { debugName: "cle" } : /* istanbul ignore next */ {},
|
|
771
771
|
alias: "stDescription"
|
|
772
772
|
});
|
|
773
773
|
gabarit = inject(TemplateRef);
|
|
@@ -776,7 +776,7 @@ var StDescription = class StDescription {
|
|
|
776
776
|
}
|
|
777
777
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
778
778
|
minVersion: "12.0.0",
|
|
779
|
-
version: "22.2.
|
|
779
|
+
version: "22.2.1",
|
|
780
780
|
ngImport: i0,
|
|
781
781
|
type: StDescription,
|
|
782
782
|
deps: [],
|
|
@@ -784,7 +784,7 @@ var StDescription = class StDescription {
|
|
|
784
784
|
});
|
|
785
785
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
786
786
|
minVersion: "17.1.0",
|
|
787
|
-
version: "22.2.
|
|
787
|
+
version: "22.2.1",
|
|
788
788
|
type: StDescription,
|
|
789
789
|
isStandalone: true,
|
|
790
790
|
selector: "ng-template[stDescription]",
|
|
@@ -800,7 +800,7 @@ var StDescription = class StDescription {
|
|
|
800
800
|
};
|
|
801
801
|
i0.ɵɵngDeclareClassMetadata({
|
|
802
802
|
minVersion: "12.0.0",
|
|
803
|
-
version: "22.2.
|
|
803
|
+
version: "22.2.1",
|
|
804
804
|
ngImport: i0,
|
|
805
805
|
type: StDescription,
|
|
806
806
|
decorators: [{
|
|
@@ -819,12 +819,12 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
819
819
|
var StDescriptionList = class StDescriptionList {
|
|
820
820
|
affichable = sansCommandesDeDirection;
|
|
821
821
|
libelles = inject(ST_LIBELLES);
|
|
822
|
-
elements = input.required(...ngDevMode ? [{ debugName: "elements" }] :
|
|
823
|
-
gabarits = contentChildren(StDescription, ...ngDevMode ? [{ debugName: "gabarits" }] :
|
|
824
|
-
lignes = computed(() => lignesDeDescription(this.elements(), new Map(this.gabarits().map((gabarit) => [gabarit.cle(), gabarit.gabarit])), "st-description-list"), ...ngDevMode ? [{ debugName: "lignes" }] :
|
|
822
|
+
elements = input.required(...ngDevMode ? [{ debugName: "elements" }] : /* istanbul ignore next */ []);
|
|
823
|
+
gabarits = contentChildren(StDescription, ...ngDevMode ? [{ debugName: "gabarits" }] : /* istanbul ignore next */ []);
|
|
824
|
+
lignes = computed(() => lignesDeDescription(this.elements(), new Map(this.gabarits().map((gabarit) => [gabarit.cle(), gabarit.gabarit])), "st-description-list"), ...ngDevMode ? [{ debugName: "lignes" }] : /* istanbul ignore next */ []);
|
|
825
825
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
826
826
|
minVersion: "12.0.0",
|
|
827
|
-
version: "22.2.
|
|
827
|
+
version: "22.2.1",
|
|
828
828
|
ngImport: i0,
|
|
829
829
|
type: StDescriptionList,
|
|
830
830
|
deps: [],
|
|
@@ -832,7 +832,7 @@ var StDescriptionList = class StDescriptionList {
|
|
|
832
832
|
});
|
|
833
833
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
834
834
|
minVersion: "17.0.0",
|
|
835
|
-
version: "22.2.
|
|
835
|
+
version: "22.2.1",
|
|
836
836
|
type: StDescriptionList,
|
|
837
837
|
isStandalone: true,
|
|
838
838
|
selector: "st-description-list",
|
|
@@ -867,7 +867,7 @@ var StDescriptionList = class StDescriptionList {
|
|
|
867
867
|
};
|
|
868
868
|
i0.ɵɵngDeclareClassMetadata({
|
|
869
869
|
minVersion: "12.0.0",
|
|
870
|
-
version: "22.2.
|
|
870
|
+
version: "22.2.1",
|
|
871
871
|
ngImport: i0,
|
|
872
872
|
type: StDescriptionList,
|
|
873
873
|
decorators: [{
|
|
@@ -906,6 +906,16 @@ const LIBELLES_LISTES_FR = {
|
|
|
906
906
|
inchange: "Inchangé",
|
|
907
907
|
afficherLesChampsInchanges: (nombre, enChiffres) => nombre <= 1 ? `Afficher le champ inchang\u00e9 (${enChiffres})` : `Afficher les champs inchang\u00e9s (${enChiffres})`,
|
|
908
908
|
aucuneModification: "Aucune modification.",
|
|
909
|
+
aucuneDifference: "Aucune différence.",
|
|
910
|
+
valeurMasquee: "Valeur masquée",
|
|
911
|
+
versionDeReference: "Version de référence",
|
|
912
|
+
versionComparee: "Version comparée",
|
|
913
|
+
versionChoisie: (date, auteur, motif) => motif === null ? `${date} \u2014 ${auteur}` : `${date} \u2014 ${auteur} \u2014 ${motif}`,
|
|
914
|
+
differencesEntre: (avant, apres) => `Diff\u00e9rences entre la version du ${avant} et celle du ${apres}`,
|
|
915
|
+
voirLEntreeDAudit: "Voir l’entrée du journal d’audit",
|
|
916
|
+
evenementsPlusAnciens: "Afficher les événements plus anciens",
|
|
917
|
+
evenementsPlusRecents: "Afficher les événements plus récents",
|
|
918
|
+
evenementsAjoutes: (nombre, enChiffres) => nombre <= 1 ? `${enChiffres} \u00e9v\u00e9nement ajout\u00e9` : `${enChiffres} \u00e9v\u00e9nements ajout\u00e9s`,
|
|
909
919
|
chronologieNommee: (etiquette, recentDAbord) => recentDAbord ? `${etiquette}, du plus r\u00e9cent au plus ancien` : `${etiquette}, du plus ancien au plus r\u00e9cent`,
|
|
910
920
|
voir: "Voir",
|
|
911
921
|
nonLu: "Non lu"
|
|
@@ -920,6 +930,16 @@ const LIBELLES_LISTES_EN = {
|
|
|
920
930
|
inchange: "Unchanged",
|
|
921
931
|
afficherLesChampsInchanges: (nombre, enChiffres) => nombre === 1 ? `Show unchanged field (${enChiffres})` : `Show unchanged fields (${enChiffres})`,
|
|
922
932
|
aucuneModification: "No changes.",
|
|
933
|
+
aucuneDifference: "No differences.",
|
|
934
|
+
valeurMasquee: "Hidden value",
|
|
935
|
+
versionDeReference: "Reference version",
|
|
936
|
+
versionComparee: "Compared version",
|
|
937
|
+
versionChoisie: (date, auteur, motif) => motif === null ? `${date} \u2014 ${auteur}` : `${date} \u2014 ${auteur} \u2014 ${motif}`,
|
|
938
|
+
differencesEntre: (avant, apres) => `Differences between the ${avant} version and the ${apres} version`,
|
|
939
|
+
voirLEntreeDAudit: "View the audit log entry",
|
|
940
|
+
evenementsPlusAnciens: "Show older events",
|
|
941
|
+
evenementsPlusRecents: "Show newer events",
|
|
942
|
+
evenementsAjoutes: (nombre, enChiffres) => nombre === 1 ? `${enChiffres} event added` : `${enChiffres} events added`,
|
|
923
943
|
chronologieNommee: (etiquette, recentDAbord) => `${etiquette}, ${recentDAbord ? "newest first" : "oldest first"}`,
|
|
924
944
|
voir: "View",
|
|
925
945
|
nonLu: "Unread"
|
|
@@ -951,35 +971,35 @@ function catalogueDesListes() {
|
|
|
951
971
|
var StListItem = class StListItem {
|
|
952
972
|
libelles = inject(ST_LIBELLES);
|
|
953
973
|
catalogue = catalogueDesListes();
|
|
954
|
-
titre = input(null, ...ngDevMode ? [{ debugName: "titre" }] :
|
|
955
|
-
meta = input(null, ...ngDevMode ? [{ debugName: "meta" }] :
|
|
974
|
+
titre = input(null, ...ngDevMode ? [{ debugName: "titre" }] : /* istanbul ignore next */ []);
|
|
975
|
+
meta = input(null, ...ngDevMode ? [{ debugName: "meta" }] : /* istanbul ignore next */ []);
|
|
956
976
|
carte = input(false, {
|
|
957
|
-
...ngDevMode ? { debugName: "carte" } :
|
|
977
|
+
...ngDevMode ? { debugName: "carte" } : /* istanbul ignore next */ {},
|
|
958
978
|
transform: booleanAttribute
|
|
959
979
|
});
|
|
960
980
|
choisi = input(false, {
|
|
961
|
-
...ngDevMode ? { debugName: "choisi" } :
|
|
981
|
+
...ngDevMode ? { debugName: "choisi" } : /* istanbul ignore next */ {},
|
|
962
982
|
transform: booleanAttribute
|
|
963
983
|
});
|
|
964
984
|
chevron = input(false, {
|
|
965
|
-
...ngDevMode ? { debugName: "chevron" } :
|
|
985
|
+
...ngDevMode ? { debugName: "chevron" } : /* istanbul ignore next */ {},
|
|
966
986
|
transform: booleanAttribute
|
|
967
987
|
});
|
|
968
|
-
lien = input(null, ...ngDevMode ? [{ debugName: "lien" }] :
|
|
988
|
+
lien = input(null, ...ngDevMode ? [{ debugName: "lien" }] : /* istanbul ignore next */ []);
|
|
969
989
|
nonLu = input(false, {
|
|
970
|
-
...ngDevMode ? { debugName: "nonLu" } :
|
|
990
|
+
...ngDevMode ? { debugName: "nonLu" } : /* istanbul ignore next */ {},
|
|
971
991
|
transform: booleanAttribute
|
|
972
992
|
});
|
|
973
993
|
selectionnable = input(false, {
|
|
974
|
-
...ngDevMode ? { debugName: "selectionnable" } :
|
|
994
|
+
...ngDevMode ? { debugName: "selectionnable" } : /* istanbul ignore next */ {},
|
|
975
995
|
transform: booleanAttribute
|
|
976
996
|
});
|
|
977
|
-
selectionne = model(false, ...ngDevMode ? [{ debugName: "selectionne" }] :
|
|
978
|
-
titreAffiche = computed(() => sansCommandesDeDirection(this.titre() ?? ""), ...ngDevMode ? [{ debugName: "titreAffiche" }] :
|
|
979
|
-
metaAffichee = computed(() => sansCommandesDeDirection(this.meta() ?? ""), ...ngDevMode ? [{ debugName: "metaAffichee" }] :
|
|
980
|
-
motNonLu = computed(() => this.catalogue().libelles.nonLu, ...ngDevMode ? [{ debugName: "motNonLu" }] :
|
|
981
|
-
langue = computed(() => this.catalogue().langueDeRepli, ...ngDevMode ? [{ debugName: "langue" }] :
|
|
982
|
-
nomDeLaCase = computed(() => this.libelles().selectionnerLaLigne(this.titreAffiche()), ...ngDevMode ? [{ debugName: "nomDeLaCase" }] :
|
|
997
|
+
selectionne = model(false, ...ngDevMode ? [{ debugName: "selectionne" }] : /* istanbul ignore next */ []);
|
|
998
|
+
titreAffiche = computed(() => sansCommandesDeDirection(this.titre() ?? ""), ...ngDevMode ? [{ debugName: "titreAffiche" }] : /* istanbul ignore next */ []);
|
|
999
|
+
metaAffichee = computed(() => sansCommandesDeDirection(this.meta() ?? ""), ...ngDevMode ? [{ debugName: "metaAffichee" }] : /* istanbul ignore next */ []);
|
|
1000
|
+
motNonLu = computed(() => this.catalogue().libelles.nonLu, ...ngDevMode ? [{ debugName: "motNonLu" }] : /* istanbul ignore next */ []);
|
|
1001
|
+
langue = computed(() => this.catalogue().langueDeRepli, ...ngDevMode ? [{ debugName: "langue" }] : /* istanbul ignore next */ []);
|
|
1002
|
+
nomDeLaCase = computed(() => this.libelles().selectionnerLaLigne(this.titreAffiche()), ...ngDevMode ? [{ debugName: "nomDeLaCase" }] : /* istanbul ignore next */ []);
|
|
983
1003
|
constructor() {
|
|
984
1004
|
effect(() => {
|
|
985
1005
|
if (isDevMode() && this.selectionnable() && this.titreAffiche().trim() === "") console.error("st-list-item : une case (selectionnable) se nomme par le titre texte ; fournir `titre`.");
|
|
@@ -990,7 +1010,7 @@ var StListItem = class StListItem {
|
|
|
990
1010
|
}
|
|
991
1011
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
992
1012
|
minVersion: "12.0.0",
|
|
993
|
-
version: "22.2.
|
|
1013
|
+
version: "22.2.1",
|
|
994
1014
|
ngImport: i0,
|
|
995
1015
|
type: StListItem,
|
|
996
1016
|
deps: [],
|
|
@@ -998,7 +1018,7 @@ var StListItem = class StListItem {
|
|
|
998
1018
|
});
|
|
999
1019
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1000
1020
|
minVersion: "17.0.0",
|
|
1001
|
-
version: "22.2.
|
|
1021
|
+
version: "22.2.1",
|
|
1002
1022
|
type: StListItem,
|
|
1003
1023
|
isStandalone: true,
|
|
1004
1024
|
selector: "st-list-item",
|
|
@@ -1079,7 +1099,7 @@ var StListItem = class StListItem {
|
|
|
1079
1099
|
},
|
|
1080
1100
|
ngImport: i0,
|
|
1081
1101
|
template: "@if (choisi()) {\n <span class=\"st-list-item__marqueur\" aria-hidden=\"true\"></span>\n}\n@if (selectionnable()) {\n <!-- Hors du lien, au-dessus de sa zone : « Selectionner <titre> ». L'etiquette porte la cible. -->\n <label class=\"st-list-item__selection\">\n <input\n type=\"checkbox\"\n class=\"st-list-item__case\"\n [checked]=\"selectionne()\"\n [attr.aria-label]=\"nomDeLaCase()\"\n (change)=\"basculer($event)\"\n />\n </label>\n}\n@if (lien(); as route) {\n <!-- Un seul lien par ligne (UX-3) : son nom dit titre, precision, suite et fin, dans l'ordre. -->\n <a class=\"st-list-item__lien\" [routerLink]=\"route\">\n <ng-container *ngTemplateOutlet=\"contenu\" />\n </a>\n} @else {\n <ng-container *ngTemplateOutlet=\"contenu\" />\n}\n<div class=\"st-list-item__actions\"><ng-content select=\"[stActions]\" /></div>\n\n<ng-template #contenu>\n <div class=\"st-list-item__debut\">\n <span class=\"st-list-item__avant\"><ng-content select=\"[stAvant]\" /></span>\n <div class=\"st-list-item__textes\">\n <!-- Titre et precision sont des donnees : isoles, ils ne reordonnent pas la ligne (D-5). -->\n <span class=\"st-list-item__titre\">\n @if (nonLu()) {\n <span class=\"st-vh\" [attr.lang]=\"langue()\">{{ motNonLu() }} </span>\n }\n <ng-content select=\"[stTitre]\"\n ><bdi>{{ titreAffiche() }}</bdi></ng-content\n >\n @if (nonLu()) {\n <!-- Le point suit le titre, dans sa ligne : les titres lus et non lus restent alignes. -->\n <span class=\"st-list-item__non-lu\" aria-hidden=\"true\"></span>\n }\n </span>\n <!-- Des espaces entre les parties : le nom du lien de la ligne se lit mot a mot. -->\n {{ ' ' }}\n @if (metaAffichee(); as meta) {\n <span class=\"st-list-item__meta\" dir=\"auto\">{{ meta }}</span\n >{{ ' ' }}\n }\n <div class=\"st-list-item__plus\"><ng-content /></div>\n </div>\n </div>\n {{ ' ' }}\n <div class=\"st-list-item__fin\">\n <ng-content select=\"[stApres]\" />\n @if (chevron()) {\n <st-icon class=\"st-list-item__chevron\" nom=\"chevron-droite\" taille=\"18\" />\n }\n </div>\n</ng-template>\n",
|
|
1082
|
-
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;container-type:inline-size;display:flex;flex-wrap:wrap;gap:var(--st-espacement-4) var(--st-espacement-2);align-items:center;justify-content:space-between;min-block-size:var(--st-cible-tactile-min);border-radius:var(--st-rayon-sm)}:host:has(>.st-list-item__lien: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([data-carte]){padding:var(--st-espacement-4);background:var(--st-couleur-surface-conteneur-bas);border-radius:var(--st-rayon-sm)}.st-list-item__marqueur{position:absolute;inset-block:var(--st-espacement-2);inset-inline-start:0;inline-size:var(--st-epaisseur-forte);background:var(--st-couleur-primaire);border-start-end-radius:var(--st-rayon-sm);border-end-end-radius:var(--st-rayon-sm)}.st-list-item__lien{display:flex;flex:1 1 9rem;flex-wrap:wrap;gap:var(--st-espacement-4) var(--st-espacement-2);align-items:center;justify-content:space-between;min-inline-size:0;color:inherit;text-decoration:none}.st-list-item__lien:after{position:absolute;inset:0;content:\"\"}.st-list-item__lien:focus-visible{outline:none;box-shadow:none}@media(hover:hover){:host([data-lien]:hover){background:var(--st-couleur-surface-survol)}}.st-list-item__selection,.st-list-item__actions{position:relative;z-index:var(--st-plan-contenu-eleve)}.st-list-item__selection{display:inline-flex;flex:none;align-items:center;justify-content:center;align-self:stretch;min-inline-size:var(--st-cible-min);cursor:pointer}@media(pointer:coarse){.st-list-item__selection{min-inline-size:var(--st-cible-tactile-min)}}.st-list-item__case: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)}@media(pointer:coarse){.st-list-item__case{position:relative}.st-list-item__case:after{position:absolute;top:50%;left:50%;min-width:var(--st-cible-tactile-min);min-height:var(--st-cible-tactile-min);content:\"\";transform:translate(-50%,-50%)}}.st-list-item__case{appearance:none;display:inline-grid;flex:none;place-content:center;box-sizing:border-box;inline-size:var(--st-cible-min);block-size:var(--st-cible-min);margin:0;cursor:pointer;background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure-forte);border-radius:var(--st-rayon-sm)}.st-list-item__case:before{content:\"\";display:none}@media(hover:hover){.st-list-item__case:hover:not(:disabled,:checked,:indeterminate){border-color:var(--st-couleur-texte-discret);transition:border-color var(--st-duree-rapide) var(--st-courbe-standard)}}.st-list-item__case:checked,.st-list-item__case:indeterminate{background:var(--st-couleur-primaire);border-color:var(--st-couleur-primaire)}.st-list-item__case[type=checkbox]:is(:checked,:indeterminate){border-width:0}.st-list-item__case[type=checkbox]:checked:before{display:block;inline-size:calc(var(--st-espacement-4) + var(--st-espacement-demi));block-size:calc(var(--st-espacement-4) + var(--st-espacement-demi));background:var(--st-couleur-sur-primaire);clip-path:polygon(39.79% 75%,16.04% 51.25%,21.98% 45.31%,39.79% 63.13%,78.02% 24.9%,83.96% 30.83%)}.st-list-item__case[type=checkbox]:indeterminate:before{display:block;clip-path:none;inline-size:var(--st-espacement-3-5);block-size:calc((var(--st-epaisseur-moyenne) + var(--st-epaisseur-forte)) / 2);background:var(--st-couleur-sur-primaire);border-radius:var(--st-rayon-pleine)}.st-list-item__case[type=radio]{border-radius:var(--st-rayon-pleine)}.st-list-item__case[type=radio]:checked{background:var(--st-couleur-surface);border:var(--st-epaisseur-moyenne) solid var(--st-couleur-primaire)}.st-list-item__case[type=radio]:checked:before{display:block;inline-size:var(--st-espacement-3);block-size:var(--st-espacement-3);background:var(--st-couleur-primaire);border-radius:var(--st-rayon-pleine)}.st-list-item__case[aria-invalid=true]:not(:checked,:indeterminate){border:var(--st-epaisseur-moyenne) solid var(--st-couleur-
|
|
1102
|
+
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;container-type:inline-size;display:flex;flex-wrap:wrap;gap:var(--st-espacement-4) var(--st-espacement-2);align-items:center;justify-content:space-between;min-block-size:var(--st-cible-tactile-min);border-radius:var(--st-rayon-sm)}:host:has(>.st-list-item__lien: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([data-carte]){padding:var(--st-espacement-4);background:var(--st-couleur-surface-conteneur-bas);border-radius:var(--st-rayon-sm)}.st-list-item__marqueur{position:absolute;inset-block:var(--st-espacement-2);inset-inline-start:0;inline-size:var(--st-epaisseur-forte);background:var(--st-couleur-primaire);border-start-end-radius:var(--st-rayon-sm);border-end-end-radius:var(--st-rayon-sm)}.st-list-item__lien{display:flex;flex:1 1 9rem;flex-wrap:wrap;gap:var(--st-espacement-4) var(--st-espacement-2);align-items:center;justify-content:space-between;min-inline-size:0;color:inherit;text-decoration:none}.st-list-item__lien:after{position:absolute;inset:0;content:\"\"}.st-list-item__lien:focus-visible{outline:none;box-shadow:none}@media(hover:hover){:host([data-lien]:hover){background:var(--st-couleur-surface-survol)}}.st-list-item__selection,.st-list-item__actions{position:relative;z-index:var(--st-plan-contenu-eleve)}.st-list-item__selection{display:inline-flex;flex:none;align-items:center;justify-content:center;align-self:stretch;min-inline-size:var(--st-cible-min);cursor:pointer}@media(pointer:coarse){.st-list-item__selection{min-inline-size:var(--st-cible-tactile-min)}}.st-list-item__case: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)}@media(pointer:coarse){.st-list-item__case{position:relative}.st-list-item__case:after{position:absolute;top:50%;left:50%;min-width:var(--st-cible-tactile-min);min-height:var(--st-cible-tactile-min);content:\"\";transform:translate(-50%,-50%)}}.st-list-item__case{appearance:none;display:inline-grid;flex:none;place-content:center;box-sizing:border-box;inline-size:var(--st-cible-min);block-size:var(--st-cible-min);margin:0;cursor:pointer;background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure-forte);border-radius:var(--st-rayon-sm)}.st-list-item__case:before{content:\"\";display:none}@media(hover:hover){.st-list-item__case:hover:not(:disabled,:checked,:indeterminate){border-color:var(--st-couleur-texte-discret);transition:border-color var(--st-duree-rapide) var(--st-courbe-standard)}}.st-list-item__case:checked,.st-list-item__case:indeterminate{background:var(--st-couleur-primaire);border-color:var(--st-couleur-primaire)}.st-list-item__case[type=checkbox]:is(:checked,:indeterminate){border-width:0}.st-list-item__case[type=checkbox]:checked:before{display:block;inline-size:calc(var(--st-espacement-4) + var(--st-espacement-demi));block-size:calc(var(--st-espacement-4) + var(--st-espacement-demi));background:var(--st-couleur-sur-primaire);clip-path:polygon(39.79% 75%,16.04% 51.25%,21.98% 45.31%,39.79% 63.13%,78.02% 24.9%,83.96% 30.83%)}.st-list-item__case[type=checkbox]:indeterminate:before{display:block;clip-path:none;inline-size:var(--st-espacement-3-5);block-size:calc((var(--st-epaisseur-moyenne) + var(--st-epaisseur-forte)) / 2);background:var(--st-couleur-sur-primaire);border-radius:var(--st-rayon-pleine)}.st-list-item__case[type=radio]{border-radius:var(--st-rayon-pleine)}.st-list-item__case[type=radio]:checked{background:var(--st-couleur-surface);border:var(--st-epaisseur-moyenne) solid var(--st-couleur-primaire)}.st-list-item__case[type=radio]:checked:before{display:block;inline-size:var(--st-espacement-3);block-size:var(--st-espacement-3);background:var(--st-couleur-primaire);border-radius:var(--st-rayon-pleine)}.st-list-item__case[aria-invalid=true]:not(:checked,:indeterminate){border:var(--st-epaisseur-moyenne) solid var(--st-couleur-erreur)}.st-list-item__case[aria-readonly=true]:not(:disabled){cursor:default}.st-list-item__case:disabled{cursor:not-allowed;background:var(--st-couleur-surface);border-color:var(--st-couleur-bordure)}.st-list-item__case:disabled:is(:checked,:indeterminate){background:var(--st-couleur-texte-desactive);border-color:var(--st-couleur-texte-desactive)}.st-list-item__case[type=radio]:disabled:checked{background:var(--st-couleur-surface)}.st-list-item__case[type=radio]:disabled:checked:before{background:var(--st-couleur-texte-desactive)}@media(forced-colors:active){.st-list-item__case{forced-color-adjust:none;background:Canvas;border-color:CanvasText}.st-list-item__case:is(:checked,:indeterminate){background:Highlight;border-color:Highlight}.st-list-item__case[type=checkbox]:is(:checked,:indeterminate):before{background:HighlightText}.st-list-item__case[type=radio]:checked{background:Canvas}.st-list-item__case[type=radio]:checked:before{background:Highlight}.st-list-item__case:disabled{border-color:GrayText}}@media print{.st-list-item__case:is(:checked,:indeterminate),.st-list-item__case[type=checkbox]:is(:checked,:indeterminate){background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-texte)}.st-list-item__case[type=radio]:checked{border:var(--st-epaisseur-moyenne) solid var(--st-couleur-texte)}.st-list-item__case[type=checkbox]:checked:before,.st-list-item__case[type=checkbox]:indeterminate:before,.st-list-item__case[type=radio]:checked:before{background:var(--st-couleur-texte);-webkit-print-color-adjust:exact;print-color-adjust:exact}}.st-list-item__actions{display:flex;flex:none;gap:var(--st-espacement-1);align-items:center;margin-inline-start:auto}.st-list-item__actions:empty{display:none}.st-list-item__non-lu{display:inline-block;inline-size:var(--st-espacement-2);block-size:var(--st-espacement-2);margin-inline-start:var(--st-espacement-2);vertical-align:middle;background:var(--st-couleur-primaire);border-radius:var(--st-rayon-pleine)}.st-list-item__debut{display:flex;flex:1 1 9rem;gap:var(--st-espacement-3);align-items:center;min-inline-size:0}.st-list-item__avant{display:flex;flex:none}.st-list-item__avant:empty{display:none}.st-list-item__textes{display:flex;flex-direction:column;min-inline-size:0}.st-list-item__titre{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);overflow-wrap:break-word}.st-list-item__meta{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-normale);letter-spacing:var(--st-interlettrage-normal);overflow-wrap:break-word;color:var(--st-couleur-texte-discret)}.st-list-item__plus{margin-block-start:var(--st-espacement-1)}.st-list-item__plus:empty{display:none}.st-list-item__fin{display:flex;flex:none;flex-direction:column;align-items:flex-end;margin-inline-start:auto;padding-inline-start:var(--st-espacement-2)}.st-list-item__chevron{margin-block-start:var(--st-espacement-1);color:var(--st-couleur-texte-attenue)}@media(forced-colors:active){.st-list-item__marqueur,.st-list-item__non-lu{background:Highlight}:host([data-carte]){border:var(--st-epaisseur-fine) solid CanvasText}}\n"],
|
|
1083
1103
|
dependencies: [
|
|
1084
1104
|
{
|
|
1085
1105
|
kind: "directive",
|
|
@@ -1132,7 +1152,7 @@ var StListItem = class StListItem {
|
|
|
1132
1152
|
};
|
|
1133
1153
|
i0.ɵɵngDeclareClassMetadata({
|
|
1134
1154
|
minVersion: "12.0.0",
|
|
1135
|
-
version: "22.2.
|
|
1155
|
+
version: "22.2.1",
|
|
1136
1156
|
ngImport: i0,
|
|
1137
1157
|
type: StListItem,
|
|
1138
1158
|
decorators: [{
|
|
@@ -1153,7 +1173,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1153
1173
|
"[attr.aria-current]": "choisi() ? \"true\" : null"
|
|
1154
1174
|
},
|
|
1155
1175
|
template: "@if (choisi()) {\n <span class=\"st-list-item__marqueur\" aria-hidden=\"true\"></span>\n}\n@if (selectionnable()) {\n <!-- Hors du lien, au-dessus de sa zone : « Selectionner <titre> ». L'etiquette porte la cible. -->\n <label class=\"st-list-item__selection\">\n <input\n type=\"checkbox\"\n class=\"st-list-item__case\"\n [checked]=\"selectionne()\"\n [attr.aria-label]=\"nomDeLaCase()\"\n (change)=\"basculer($event)\"\n />\n </label>\n}\n@if (lien(); as route) {\n <!-- Un seul lien par ligne (UX-3) : son nom dit titre, precision, suite et fin, dans l'ordre. -->\n <a class=\"st-list-item__lien\" [routerLink]=\"route\">\n <ng-container *ngTemplateOutlet=\"contenu\" />\n </a>\n} @else {\n <ng-container *ngTemplateOutlet=\"contenu\" />\n}\n<div class=\"st-list-item__actions\"><ng-content select=\"[stActions]\" /></div>\n\n<ng-template #contenu>\n <div class=\"st-list-item__debut\">\n <span class=\"st-list-item__avant\"><ng-content select=\"[stAvant]\" /></span>\n <div class=\"st-list-item__textes\">\n <!-- Titre et precision sont des donnees : isoles, ils ne reordonnent pas la ligne (D-5). -->\n <span class=\"st-list-item__titre\">\n @if (nonLu()) {\n <span class=\"st-vh\" [attr.lang]=\"langue()\">{{ motNonLu() }} </span>\n }\n <ng-content select=\"[stTitre]\"\n ><bdi>{{ titreAffiche() }}</bdi></ng-content\n >\n @if (nonLu()) {\n <!-- Le point suit le titre, dans sa ligne : les titres lus et non lus restent alignes. -->\n <span class=\"st-list-item__non-lu\" aria-hidden=\"true\"></span>\n }\n </span>\n <!-- Des espaces entre les parties : le nom du lien de la ligne se lit mot a mot. -->\n {{ ' ' }}\n @if (metaAffichee(); as meta) {\n <span class=\"st-list-item__meta\" dir=\"auto\">{{ meta }}</span\n >{{ ' ' }}\n }\n <div class=\"st-list-item__plus\"><ng-content /></div>\n </div>\n </div>\n {{ ' ' }}\n <div class=\"st-list-item__fin\">\n <ng-content select=\"[stApres]\" />\n @if (chevron()) {\n <st-icon class=\"st-list-item__chevron\" nom=\"chevron-droite\" taille=\"18\" />\n }\n </div>\n</ng-template>\n",
|
|
1156
|
-
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;container-type:inline-size;display:flex;flex-wrap:wrap;gap:var(--st-espacement-4) var(--st-espacement-2);align-items:center;justify-content:space-between;min-block-size:var(--st-cible-tactile-min);border-radius:var(--st-rayon-sm)}:host:has(>.st-list-item__lien: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([data-carte]){padding:var(--st-espacement-4);background:var(--st-couleur-surface-conteneur-bas);border-radius:var(--st-rayon-sm)}.st-list-item__marqueur{position:absolute;inset-block:var(--st-espacement-2);inset-inline-start:0;inline-size:var(--st-epaisseur-forte);background:var(--st-couleur-primaire);border-start-end-radius:var(--st-rayon-sm);border-end-end-radius:var(--st-rayon-sm)}.st-list-item__lien{display:flex;flex:1 1 9rem;flex-wrap:wrap;gap:var(--st-espacement-4) var(--st-espacement-2);align-items:center;justify-content:space-between;min-inline-size:0;color:inherit;text-decoration:none}.st-list-item__lien:after{position:absolute;inset:0;content:\"\"}.st-list-item__lien:focus-visible{outline:none;box-shadow:none}@media(hover:hover){:host([data-lien]:hover){background:var(--st-couleur-surface-survol)}}.st-list-item__selection,.st-list-item__actions{position:relative;z-index:var(--st-plan-contenu-eleve)}.st-list-item__selection{display:inline-flex;flex:none;align-items:center;justify-content:center;align-self:stretch;min-inline-size:var(--st-cible-min);cursor:pointer}@media(pointer:coarse){.st-list-item__selection{min-inline-size:var(--st-cible-tactile-min)}}.st-list-item__case: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)}@media(pointer:coarse){.st-list-item__case{position:relative}.st-list-item__case:after{position:absolute;top:50%;left:50%;min-width:var(--st-cible-tactile-min);min-height:var(--st-cible-tactile-min);content:\"\";transform:translate(-50%,-50%)}}.st-list-item__case{appearance:none;display:inline-grid;flex:none;place-content:center;box-sizing:border-box;inline-size:var(--st-cible-min);block-size:var(--st-cible-min);margin:0;cursor:pointer;background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure-forte);border-radius:var(--st-rayon-sm)}.st-list-item__case:before{content:\"\";display:none}@media(hover:hover){.st-list-item__case:hover:not(:disabled,:checked,:indeterminate){border-color:var(--st-couleur-texte-discret);transition:border-color var(--st-duree-rapide) var(--st-courbe-standard)}}.st-list-item__case:checked,.st-list-item__case:indeterminate{background:var(--st-couleur-primaire);border-color:var(--st-couleur-primaire)}.st-list-item__case[type=checkbox]:is(:checked,:indeterminate){border-width:0}.st-list-item__case[type=checkbox]:checked:before{display:block;inline-size:calc(var(--st-espacement-4) + var(--st-espacement-demi));block-size:calc(var(--st-espacement-4) + var(--st-espacement-demi));background:var(--st-couleur-sur-primaire);clip-path:polygon(39.79% 75%,16.04% 51.25%,21.98% 45.31%,39.79% 63.13%,78.02% 24.9%,83.96% 30.83%)}.st-list-item__case[type=checkbox]:indeterminate:before{display:block;clip-path:none;inline-size:var(--st-espacement-3-5);block-size:calc((var(--st-epaisseur-moyenne) + var(--st-epaisseur-forte)) / 2);background:var(--st-couleur-sur-primaire);border-radius:var(--st-rayon-pleine)}.st-list-item__case[type=radio]{border-radius:var(--st-rayon-pleine)}.st-list-item__case[type=radio]:checked{background:var(--st-couleur-surface);border:var(--st-epaisseur-moyenne) solid var(--st-couleur-primaire)}.st-list-item__case[type=radio]:checked:before{display:block;inline-size:var(--st-espacement-3);block-size:var(--st-espacement-3);background:var(--st-couleur-primaire);border-radius:var(--st-rayon-pleine)}.st-list-item__case[aria-invalid=true]:not(:checked,:indeterminate){border:var(--st-epaisseur-moyenne) solid var(--st-couleur-
|
|
1176
|
+
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;container-type:inline-size;display:flex;flex-wrap:wrap;gap:var(--st-espacement-4) var(--st-espacement-2);align-items:center;justify-content:space-between;min-block-size:var(--st-cible-tactile-min);border-radius:var(--st-rayon-sm)}:host:has(>.st-list-item__lien: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([data-carte]){padding:var(--st-espacement-4);background:var(--st-couleur-surface-conteneur-bas);border-radius:var(--st-rayon-sm)}.st-list-item__marqueur{position:absolute;inset-block:var(--st-espacement-2);inset-inline-start:0;inline-size:var(--st-epaisseur-forte);background:var(--st-couleur-primaire);border-start-end-radius:var(--st-rayon-sm);border-end-end-radius:var(--st-rayon-sm)}.st-list-item__lien{display:flex;flex:1 1 9rem;flex-wrap:wrap;gap:var(--st-espacement-4) var(--st-espacement-2);align-items:center;justify-content:space-between;min-inline-size:0;color:inherit;text-decoration:none}.st-list-item__lien:after{position:absolute;inset:0;content:\"\"}.st-list-item__lien:focus-visible{outline:none;box-shadow:none}@media(hover:hover){:host([data-lien]:hover){background:var(--st-couleur-surface-survol)}}.st-list-item__selection,.st-list-item__actions{position:relative;z-index:var(--st-plan-contenu-eleve)}.st-list-item__selection{display:inline-flex;flex:none;align-items:center;justify-content:center;align-self:stretch;min-inline-size:var(--st-cible-min);cursor:pointer}@media(pointer:coarse){.st-list-item__selection{min-inline-size:var(--st-cible-tactile-min)}}.st-list-item__case: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)}@media(pointer:coarse){.st-list-item__case{position:relative}.st-list-item__case:after{position:absolute;top:50%;left:50%;min-width:var(--st-cible-tactile-min);min-height:var(--st-cible-tactile-min);content:\"\";transform:translate(-50%,-50%)}}.st-list-item__case{appearance:none;display:inline-grid;flex:none;place-content:center;box-sizing:border-box;inline-size:var(--st-cible-min);block-size:var(--st-cible-min);margin:0;cursor:pointer;background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure-forte);border-radius:var(--st-rayon-sm)}.st-list-item__case:before{content:\"\";display:none}@media(hover:hover){.st-list-item__case:hover:not(:disabled,:checked,:indeterminate){border-color:var(--st-couleur-texte-discret);transition:border-color var(--st-duree-rapide) var(--st-courbe-standard)}}.st-list-item__case:checked,.st-list-item__case:indeterminate{background:var(--st-couleur-primaire);border-color:var(--st-couleur-primaire)}.st-list-item__case[type=checkbox]:is(:checked,:indeterminate){border-width:0}.st-list-item__case[type=checkbox]:checked:before{display:block;inline-size:calc(var(--st-espacement-4) + var(--st-espacement-demi));block-size:calc(var(--st-espacement-4) + var(--st-espacement-demi));background:var(--st-couleur-sur-primaire);clip-path:polygon(39.79% 75%,16.04% 51.25%,21.98% 45.31%,39.79% 63.13%,78.02% 24.9%,83.96% 30.83%)}.st-list-item__case[type=checkbox]:indeterminate:before{display:block;clip-path:none;inline-size:var(--st-espacement-3-5);block-size:calc((var(--st-epaisseur-moyenne) + var(--st-epaisseur-forte)) / 2);background:var(--st-couleur-sur-primaire);border-radius:var(--st-rayon-pleine)}.st-list-item__case[type=radio]{border-radius:var(--st-rayon-pleine)}.st-list-item__case[type=radio]:checked{background:var(--st-couleur-surface);border:var(--st-epaisseur-moyenne) solid var(--st-couleur-primaire)}.st-list-item__case[type=radio]:checked:before{display:block;inline-size:var(--st-espacement-3);block-size:var(--st-espacement-3);background:var(--st-couleur-primaire);border-radius:var(--st-rayon-pleine)}.st-list-item__case[aria-invalid=true]:not(:checked,:indeterminate){border:var(--st-epaisseur-moyenne) solid var(--st-couleur-erreur)}.st-list-item__case[aria-readonly=true]:not(:disabled){cursor:default}.st-list-item__case:disabled{cursor:not-allowed;background:var(--st-couleur-surface);border-color:var(--st-couleur-bordure)}.st-list-item__case:disabled:is(:checked,:indeterminate){background:var(--st-couleur-texte-desactive);border-color:var(--st-couleur-texte-desactive)}.st-list-item__case[type=radio]:disabled:checked{background:var(--st-couleur-surface)}.st-list-item__case[type=radio]:disabled:checked:before{background:var(--st-couleur-texte-desactive)}@media(forced-colors:active){.st-list-item__case{forced-color-adjust:none;background:Canvas;border-color:CanvasText}.st-list-item__case:is(:checked,:indeterminate){background:Highlight;border-color:Highlight}.st-list-item__case[type=checkbox]:is(:checked,:indeterminate):before{background:HighlightText}.st-list-item__case[type=radio]:checked{background:Canvas}.st-list-item__case[type=radio]:checked:before{background:Highlight}.st-list-item__case:disabled{border-color:GrayText}}@media print{.st-list-item__case:is(:checked,:indeterminate),.st-list-item__case[type=checkbox]:is(:checked,:indeterminate){background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-texte)}.st-list-item__case[type=radio]:checked{border:var(--st-epaisseur-moyenne) solid var(--st-couleur-texte)}.st-list-item__case[type=checkbox]:checked:before,.st-list-item__case[type=checkbox]:indeterminate:before,.st-list-item__case[type=radio]:checked:before{background:var(--st-couleur-texte);-webkit-print-color-adjust:exact;print-color-adjust:exact}}.st-list-item__actions{display:flex;flex:none;gap:var(--st-espacement-1);align-items:center;margin-inline-start:auto}.st-list-item__actions:empty{display:none}.st-list-item__non-lu{display:inline-block;inline-size:var(--st-espacement-2);block-size:var(--st-espacement-2);margin-inline-start:var(--st-espacement-2);vertical-align:middle;background:var(--st-couleur-primaire);border-radius:var(--st-rayon-pleine)}.st-list-item__debut{display:flex;flex:1 1 9rem;gap:var(--st-espacement-3);align-items:center;min-inline-size:0}.st-list-item__avant{display:flex;flex:none}.st-list-item__avant:empty{display:none}.st-list-item__textes{display:flex;flex-direction:column;min-inline-size:0}.st-list-item__titre{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);overflow-wrap:break-word}.st-list-item__meta{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-normale);letter-spacing:var(--st-interlettrage-normal);overflow-wrap:break-word;color:var(--st-couleur-texte-discret)}.st-list-item__plus{margin-block-start:var(--st-espacement-1)}.st-list-item__plus:empty{display:none}.st-list-item__fin{display:flex;flex:none;flex-direction:column;align-items:flex-end;margin-inline-start:auto;padding-inline-start:var(--st-espacement-2)}.st-list-item__chevron{margin-block-start:var(--st-espacement-1);color:var(--st-couleur-texte-attenue)}@media(forced-colors:active){.st-list-item__marqueur,.st-list-item__non-lu{background:Highlight}:host([data-carte]){border:var(--st-epaisseur-fine) solid CanvasText}}\n"]
|
|
1157
1177
|
}]
|
|
1158
1178
|
}],
|
|
1159
1179
|
ctorParameters: () => [],
|
|
@@ -1241,10 +1261,10 @@ function prochainSensOuNul(actuel, ternaire = true) {
|
|
|
1241
1261
|
return ternaire ? null : "croissant";
|
|
1242
1262
|
}
|
|
1243
1263
|
var StSortHeader = class StSortHeader {
|
|
1244
|
-
sens = input(null, ...ngDevMode ? [{ debugName: "sens" }] :
|
|
1245
|
-
alignement = input("debut", ...ngDevMode ? [{ debugName: "alignement" }] :
|
|
1264
|
+
sens = input(null, ...ngDevMode ? [{ debugName: "sens" }] : /* istanbul ignore next */ []);
|
|
1265
|
+
alignement = input("debut", ...ngDevMode ? [{ debugName: "alignement" }] : /* istanbul ignore next */ []);
|
|
1246
1266
|
ternaire = input(true, {
|
|
1247
|
-
...ngDevMode ? { debugName: "ternaire" } :
|
|
1267
|
+
...ngDevMode ? { debugName: "ternaire" } : /* istanbul ignore next */ {},
|
|
1248
1268
|
transform: booleanAttribute
|
|
1249
1269
|
});
|
|
1250
1270
|
sensDemande = output();
|
|
@@ -1253,13 +1273,13 @@ var StSortHeader = class StSortHeader {
|
|
|
1253
1273
|
if (sens === "croissant") return "fleche-haut";
|
|
1254
1274
|
if (sens === "decroissant") return "fleche-bas";
|
|
1255
1275
|
return "chevrons-haut-bas";
|
|
1256
|
-
}, ...ngDevMode ? [{ debugName: "icone" }] :
|
|
1276
|
+
}, ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
1257
1277
|
basculer() {
|
|
1258
1278
|
this.sensDemande.emit(prochainSensOuNul(this.sens(), this.ternaire()));
|
|
1259
1279
|
}
|
|
1260
1280
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1261
1281
|
minVersion: "12.0.0",
|
|
1262
|
-
version: "22.2.
|
|
1282
|
+
version: "22.2.1",
|
|
1263
1283
|
ngImport: i0,
|
|
1264
1284
|
type: StSortHeader,
|
|
1265
1285
|
deps: [],
|
|
@@ -1267,7 +1287,7 @@ var StSortHeader = class StSortHeader {
|
|
|
1267
1287
|
});
|
|
1268
1288
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1269
1289
|
minVersion: "17.1.0",
|
|
1270
|
-
version: "22.2.
|
|
1290
|
+
version: "22.2.1",
|
|
1271
1291
|
type: StSortHeader,
|
|
1272
1292
|
isStandalone: true,
|
|
1273
1293
|
selector: "button[stSortHeader]",
|
|
@@ -1328,7 +1348,7 @@ var StSortHeader = class StSortHeader {
|
|
|
1328
1348
|
};
|
|
1329
1349
|
i0.ɵɵngDeclareClassMetadata({
|
|
1330
1350
|
minVersion: "12.0.0",
|
|
1331
|
-
version: "22.2.
|
|
1351
|
+
version: "22.2.1",
|
|
1332
1352
|
ngImport: i0,
|
|
1333
1353
|
type: StSortHeader,
|
|
1334
1354
|
decorators: [{
|
|
@@ -1381,17 +1401,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1381
1401
|
});
|
|
1382
1402
|
var StCellule = class StCellule {
|
|
1383
1403
|
cle = input.required({
|
|
1384
|
-
...ngDevMode ? { debugName: "cle" } :
|
|
1404
|
+
...ngDevMode ? { debugName: "cle" } : /* istanbul ignore next */ {},
|
|
1385
1405
|
alias: "stCellule"
|
|
1386
1406
|
});
|
|
1387
|
-
stCelluleDe = input(void 0, ...ngDevMode ? [{ debugName: "stCelluleDe" }] :
|
|
1407
|
+
stCelluleDe = input(void 0, ...ngDevMode ? [{ debugName: "stCelluleDe" }] : /* istanbul ignore next */ []);
|
|
1388
1408
|
gabarit = inject(TemplateRef);
|
|
1389
1409
|
static ngTemplateContextGuard(_directive, _contexte) {
|
|
1390
1410
|
return true;
|
|
1391
1411
|
}
|
|
1392
1412
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1393
1413
|
minVersion: "12.0.0",
|
|
1394
|
-
version: "22.2.
|
|
1414
|
+
version: "22.2.1",
|
|
1395
1415
|
ngImport: i0,
|
|
1396
1416
|
type: StCellule,
|
|
1397
1417
|
deps: [],
|
|
@@ -1399,7 +1419,7 @@ var StCellule = class StCellule {
|
|
|
1399
1419
|
});
|
|
1400
1420
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
1401
1421
|
minVersion: "17.1.0",
|
|
1402
|
-
version: "22.2.
|
|
1422
|
+
version: "22.2.1",
|
|
1403
1423
|
type: StCellule,
|
|
1404
1424
|
isStandalone: true,
|
|
1405
1425
|
selector: "ng-template[stCellule]",
|
|
@@ -1424,7 +1444,7 @@ var StCellule = class StCellule {
|
|
|
1424
1444
|
};
|
|
1425
1445
|
i0.ɵɵngDeclareClassMetadata({
|
|
1426
1446
|
minVersion: "12.0.0",
|
|
1427
|
-
version: "22.2.
|
|
1447
|
+
version: "22.2.1",
|
|
1428
1448
|
ngImport: i0,
|
|
1429
1449
|
type: StCellule,
|
|
1430
1450
|
decorators: [{
|
|
@@ -1454,7 +1474,7 @@ var StTableauVide = class StTableauVide {
|
|
|
1454
1474
|
gabarit = inject(TemplateRef);
|
|
1455
1475
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1456
1476
|
minVersion: "12.0.0",
|
|
1457
|
-
version: "22.2.
|
|
1477
|
+
version: "22.2.1",
|
|
1458
1478
|
ngImport: i0,
|
|
1459
1479
|
type: StTableauVide,
|
|
1460
1480
|
deps: [],
|
|
@@ -1462,7 +1482,7 @@ var StTableauVide = class StTableauVide {
|
|
|
1462
1482
|
});
|
|
1463
1483
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
1464
1484
|
minVersion: "14.0.0",
|
|
1465
|
-
version: "22.2.
|
|
1485
|
+
version: "22.2.1",
|
|
1466
1486
|
type: StTableauVide,
|
|
1467
1487
|
isStandalone: true,
|
|
1468
1488
|
selector: "ng-template[stTableauVide]",
|
|
@@ -1471,7 +1491,7 @@ var StTableauVide = class StTableauVide {
|
|
|
1471
1491
|
};
|
|
1472
1492
|
i0.ɵɵngDeclareClassMetadata({
|
|
1473
1493
|
minVersion: "12.0.0",
|
|
1474
|
-
version: "22.2.
|
|
1494
|
+
version: "22.2.1",
|
|
1475
1495
|
ngImport: i0,
|
|
1476
1496
|
type: StTableauVide,
|
|
1477
1497
|
decorators: [{
|
|
@@ -1483,58 +1503,58 @@ const PLAFOND_DE_SQUELETTE = 25;
|
|
|
1483
1503
|
var StDataTable = class StDataTable {
|
|
1484
1504
|
libelles = inject(ST_LIBELLES);
|
|
1485
1505
|
locale = inject(ST_LOCALE);
|
|
1486
|
-
legende = input.required(...ngDevMode ? [{ debugName: "legende" }] :
|
|
1506
|
+
legende = input.required(...ngDevMode ? [{ debugName: "legende" }] : /* istanbul ignore next */ []);
|
|
1487
1507
|
legendeMasquee = input(false, {
|
|
1488
|
-
...ngDevMode ? { debugName: "legendeMasquee" } :
|
|
1508
|
+
...ngDevMode ? { debugName: "legendeMasquee" } : /* istanbul ignore next */ {},
|
|
1489
1509
|
transform: booleanAttribute
|
|
1490
1510
|
});
|
|
1491
|
-
colonnes = input.required(...ngDevMode ? [{ debugName: "colonnes" }] :
|
|
1492
|
-
lignes = input.required(...ngDevMode ? [{ debugName: "lignes" }] :
|
|
1493
|
-
cle = input.required(...ngDevMode ? [{ debugName: "cle" }] :
|
|
1494
|
-
enTeteDeLigne = input(null, ...ngDevMode ? [{ debugName: "enTeteDeLigne" }] :
|
|
1511
|
+
colonnes = input.required(...ngDevMode ? [{ debugName: "colonnes" }] : /* istanbul ignore next */ []);
|
|
1512
|
+
lignes = input.required(...ngDevMode ? [{ debugName: "lignes" }] : /* istanbul ignore next */ []);
|
|
1513
|
+
cle = input.required(...ngDevMode ? [{ debugName: "cle" }] : /* istanbul ignore next */ []);
|
|
1514
|
+
enTeteDeLigne = input(null, ...ngDevMode ? [{ debugName: "enTeteDeLigne" }] : /* istanbul ignore next */ []);
|
|
1495
1515
|
premiereColonneFigee = input(false, {
|
|
1496
|
-
...ngDevMode ? { debugName: "premiereColonneFigee" } :
|
|
1516
|
+
...ngDevMode ? { debugName: "premiereColonneFigee" } : /* istanbul ignore next */ {},
|
|
1497
1517
|
transform: booleanAttribute
|
|
1498
1518
|
});
|
|
1499
|
-
hauteurMax = input(null, ...ngDevMode ? [{ debugName: "hauteurMax" }] :
|
|
1500
|
-
tonDeLigne = input(null, ...ngDevMode ? [{ debugName: "tonDeLigne" }] :
|
|
1501
|
-
ligneChoisissable = input(null, ...ngDevMode ? [{ debugName: "ligneChoisissable" }] :
|
|
1502
|
-
densite = input(void 0, ...ngDevMode ? [{ debugName: "densite" }] :
|
|
1519
|
+
hauteurMax = input(null, ...ngDevMode ? [{ debugName: "hauteurMax" }] : /* istanbul ignore next */ []);
|
|
1520
|
+
tonDeLigne = input(null, ...ngDevMode ? [{ debugName: "tonDeLigne" }] : /* istanbul ignore next */ []);
|
|
1521
|
+
ligneChoisissable = input(null, ...ngDevMode ? [{ debugName: "ligneChoisissable" }] : /* istanbul ignore next */ []);
|
|
1522
|
+
densite = input(void 0, ...ngDevMode ? [{ debugName: "densite" }] : /* istanbul ignore next */ []);
|
|
1503
1523
|
chargement = input(false, {
|
|
1504
|
-
...ngDevMode ? { debugName: "chargement" } :
|
|
1524
|
+
...ngDevMode ? { debugName: "chargement" } : /* istanbul ignore next */ {},
|
|
1505
1525
|
transform: booleanAttribute
|
|
1506
1526
|
});
|
|
1507
1527
|
annonceDeRechargement = input(true, {
|
|
1508
|
-
...ngDevMode ? { debugName: "annonceDeRechargement" } :
|
|
1528
|
+
...ngDevMode ? { debugName: "annonceDeRechargement" } : /* istanbul ignore next */ {},
|
|
1509
1529
|
transform: booleanAttribute
|
|
1510
1530
|
});
|
|
1511
1531
|
selectionnable = input(false, {
|
|
1512
|
-
...ngDevMode ? { debugName: "selectionnable" } :
|
|
1532
|
+
...ngDevMode ? { debugName: "selectionnable" } : /* istanbul ignore next */ {},
|
|
1513
1533
|
transform: booleanAttribute
|
|
1514
1534
|
});
|
|
1515
|
-
selection = model([], ...ngDevMode ? [{ debugName: "selection" }] :
|
|
1516
|
-
tri = model(null, ...ngDevMode ? [{ debugName: "tri" }] :
|
|
1535
|
+
selection = model([], ...ngDevMode ? [{ debugName: "selection" }] : /* istanbul ignore next */ []);
|
|
1536
|
+
tri = model(null, ...ngDevMode ? [{ debugName: "tri" }] : /* istanbul ignore next */ []);
|
|
1517
1537
|
triTernaire = input(true, {
|
|
1518
|
-
...ngDevMode ? { debugName: "triTernaire" } :
|
|
1538
|
+
...ngDevMode ? { debugName: "triTernaire" } : /* istanbul ignore next */ {},
|
|
1519
1539
|
transform: booleanAttribute
|
|
1520
1540
|
});
|
|
1521
|
-
texteVide = input(null, ...ngDevMode ? [{ debugName: "texteVide" }] :
|
|
1522
|
-
raisonDuVide = input("aucune-donnee", ...ngDevMode ? [{ debugName: "raisonDuVide" }] :
|
|
1541
|
+
texteVide = input(null, ...ngDevMode ? [{ debugName: "texteVide" }] : /* istanbul ignore next */ []);
|
|
1542
|
+
raisonDuVide = input("aucune-donnee", ...ngDevMode ? [{ debugName: "raisonDuVide" }] : /* istanbul ignore next */ []);
|
|
1523
1543
|
effacement = output();
|
|
1524
|
-
lignesAttendues = input(5, ...ngDevMode ? [{ debugName: "lignesAttendues" }] :
|
|
1525
|
-
gabarits = contentChildren(StCellule, ...ngDevMode ? [{ debugName: "gabarits" }] :
|
|
1526
|
-
gabaritVide = contentChild(StTableauVide, ...ngDevMode ? [{ debugName: "gabaritVide" }] :
|
|
1527
|
-
zone = viewChild.required("zone", ...ngDevMode ? [{ debugName: "zone" }] :
|
|
1528
|
-
barresRattachees = signal(0, ...ngDevMode ? [{ debugName: "barresRattachees" }] :
|
|
1529
|
-
resumeCede = computed(() => this.barresRattachees() > 0, ...ngDevMode ? [{ debugName: "resumeCede" }] :
|
|
1530
|
-
caseTout = viewChild("caseTout", ...ngDevMode ? [{ debugName: "caseTout" }] :
|
|
1531
|
-
legendeDuTableau = viewChild("elementDeLegende", ...ngDevMode ? [{ debugName: "legendeDuTableau" }] :
|
|
1544
|
+
lignesAttendues = input(5, ...ngDevMode ? [{ debugName: "lignesAttendues" }] : /* istanbul ignore next */ []);
|
|
1545
|
+
gabarits = contentChildren(StCellule, ...ngDevMode ? [{ debugName: "gabarits" }] : /* istanbul ignore next */ []);
|
|
1546
|
+
gabaritVide = contentChild(StTableauVide, ...ngDevMode ? [{ debugName: "gabaritVide" }] : /* istanbul ignore next */ []);
|
|
1547
|
+
zone = viewChild.required("zone", ...ngDevMode ? [{ debugName: "zone" }] : /* istanbul ignore next */ []);
|
|
1548
|
+
barresRattachees = signal(0, ...ngDevMode ? [{ debugName: "barresRattachees" }] : /* istanbul ignore next */ []);
|
|
1549
|
+
resumeCede = computed(() => this.barresRattachees() > 0, ...ngDevMode ? [{ debugName: "resumeCede" }] : /* istanbul ignore next */ []);
|
|
1550
|
+
caseTout = viewChild("caseTout", ...ngDevMode ? [{ debugName: "caseTout" }] : /* istanbul ignore next */ []);
|
|
1551
|
+
legendeDuTableau = viewChild("elementDeLegende", ...ngDevMode ? [{ debugName: "legendeDuTableau" }] : /* istanbul ignore next */ []);
|
|
1532
1552
|
annonce = new AnnonceLocale(inject(DestroyRef));
|
|
1533
|
-
deborde = signal(false, ...ngDevMode ? [{ debugName: "deborde" }] :
|
|
1534
|
-
ombreDebut = signal(false, ...ngDevMode ? [{ debugName: "ombreDebut" }] :
|
|
1535
|
-
ombreFin = signal(false, ...ngDevMode ? [{ debugName: "ombreFin" }] :
|
|
1536
|
-
largeurFigee = signal(0, ...ngDevMode ? [{ debugName: "largeurFigee" }] :
|
|
1537
|
-
decalageFigee = signal(null, ...ngDevMode ? [{ debugName: "decalageFigee" }] :
|
|
1553
|
+
deborde = signal(false, ...ngDevMode ? [{ debugName: "deborde" }] : /* istanbul ignore next */ []);
|
|
1554
|
+
ombreDebut = signal(false, ...ngDevMode ? [{ debugName: "ombreDebut" }] : /* istanbul ignore next */ []);
|
|
1555
|
+
ombreFin = signal(false, ...ngDevMode ? [{ debugName: "ombreFin" }] : /* istanbul ignore next */ []);
|
|
1556
|
+
largeurFigee = signal(0, ...ngDevMode ? [{ debugName: "largeurFigee" }] : /* istanbul ignore next */ []);
|
|
1557
|
+
decalageFigee = signal(null, ...ngDevMode ? [{ debugName: "decalageFigee" }] : /* istanbul ignore next */ []);
|
|
1538
1558
|
derniereLigneChoisie = null;
|
|
1539
1559
|
chargementPrecedent = false;
|
|
1540
1560
|
identifiants = (() => {
|
|
@@ -1546,7 +1566,7 @@ var StDataTable = class StDataTable {
|
|
|
1546
1566
|
deborde: `${base}-deborde`
|
|
1547
1567
|
};
|
|
1548
1568
|
})();
|
|
1549
|
-
cleDEnTete = computed(() => this.enTeteDeLigne() ?? this.colonnes()[0]?.cle ?? "", ...ngDevMode ? [{ debugName: "cleDEnTete" }] :
|
|
1569
|
+
cleDEnTete = computed(() => this.enTeteDeLigne() ?? this.colonnes()[0]?.cle ?? "", ...ngDevMode ? [{ debugName: "cleDEnTete" }] : /* istanbul ignore next */ []);
|
|
1550
1570
|
cellules = computed(() => {
|
|
1551
1571
|
const gabarits = new Map(this.gabarits().map((gabarit) => [gabarit.cle(), gabarit.gabarit]));
|
|
1552
1572
|
return this.colonnes().map((colonne) => ({
|
|
@@ -1554,8 +1574,8 @@ var StDataTable = class StDataTable {
|
|
|
1554
1574
|
gabarit: gabarits.get(colonne.cle) ?? null,
|
|
1555
1575
|
enTete: colonne.cle === this.cleDEnTete()
|
|
1556
1576
|
}));
|
|
1557
|
-
}, ...ngDevMode ? [{ debugName: "cellules" }] :
|
|
1558
|
-
nombres = computed(() => new Intl.NumberFormat(this.locale()), ...ngDevMode ? [{ debugName: "nombres" }] :
|
|
1577
|
+
}, ...ngDevMode ? [{ debugName: "cellules" }] : /* istanbul ignore next */ []);
|
|
1578
|
+
nombres = computed(() => new Intl.NumberFormat(this.locale()), ...ngDevMode ? [{ debugName: "nombres" }] : /* istanbul ignore next */ []);
|
|
1559
1579
|
rangees = computed(() => {
|
|
1560
1580
|
const cle = this.cle();
|
|
1561
1581
|
const entete = this.cleDEnTete();
|
|
@@ -1574,17 +1594,17 @@ var StDataTable = class StDataTable {
|
|
|
1574
1594
|
choisissable: choisissable === null ? true : choisissable(valeur)
|
|
1575
1595
|
};
|
|
1576
1596
|
});
|
|
1577
|
-
}, ...ngDevMode ? [{ debugName: "rangees" }] :
|
|
1578
|
-
nombreDeLignesDeSquelette = computed(() => Math.min(PLAFOND_DE_SQUELETTE, Math.max(1, Math.trunc(this.lignesAttendues()))), ...ngDevMode ? [{ debugName: "nombreDeLignesDeSquelette" }] :
|
|
1579
|
-
squelette = computed(() => this.chargement() && this.lignes().length === 0 ? Array.from({ length: this.nombreDeLignesDeSquelette() }, (_, indice) => indice) : [], ...ngDevMode ? [{ debugName: "squelette" }] :
|
|
1580
|
-
nombreDeColonnes = computed(() => this.colonnes().length + (this.selectionnable() ? 1 : 0), ...ngDevMode ? [{ debugName: "nombreDeColonnes" }] :
|
|
1581
|
-
colonnesDeSquelette = computed(() => Array.from({ length: this.nombreDeColonnes() }, (_, indice) => indice), ...ngDevMode ? [{ debugName: "colonnesDeSquelette" }] :
|
|
1582
|
-
rangeesChoisissables = computed(() => this.rangees().filter((rangee) => rangee.choisissable), ...ngDevMode ? [{ debugName: "rangeesChoisissables" }] :
|
|
1597
|
+
}, ...ngDevMode ? [{ debugName: "rangees" }] : /* istanbul ignore next */ []);
|
|
1598
|
+
nombreDeLignesDeSquelette = computed(() => Math.min(PLAFOND_DE_SQUELETTE, Math.max(1, Math.trunc(this.lignesAttendues()))), ...ngDevMode ? [{ debugName: "nombreDeLignesDeSquelette" }] : /* istanbul ignore next */ []);
|
|
1599
|
+
squelette = computed(() => this.chargement() && this.lignes().length === 0 ? Array.from({ length: this.nombreDeLignesDeSquelette() }, (_, indice) => indice) : [], ...ngDevMode ? [{ debugName: "squelette" }] : /* istanbul ignore next */ []);
|
|
1600
|
+
nombreDeColonnes = computed(() => this.colonnes().length + (this.selectionnable() ? 1 : 0), ...ngDevMode ? [{ debugName: "nombreDeColonnes" }] : /* istanbul ignore next */ []);
|
|
1601
|
+
colonnesDeSquelette = computed(() => Array.from({ length: this.nombreDeColonnes() }, (_, indice) => indice), ...ngDevMode ? [{ debugName: "colonnesDeSquelette" }] : /* istanbul ignore next */ []);
|
|
1602
|
+
rangeesChoisissables = computed(() => this.rangees().filter((rangee) => rangee.choisissable), ...ngDevMode ? [{ debugName: "rangeesChoisissables" }] : /* istanbul ignore next */ []);
|
|
1583
1603
|
toutesChoisies = computed(() => {
|
|
1584
1604
|
const rangees = this.rangeesChoisissables();
|
|
1585
1605
|
return rangees.length > 0 && rangees.every((rangee) => rangee.choisie);
|
|
1586
|
-
}, ...ngDevMode ? [{ debugName: "toutesChoisies" }] :
|
|
1587
|
-
quelquesChoisies = computed(() => !this.toutesChoisies() && this.rangees().some((rangee) => rangee.choisie), ...ngDevMode ? [{ debugName: "quelquesChoisies" }] :
|
|
1606
|
+
}, ...ngDevMode ? [{ debugName: "toutesChoisies" }] : /* istanbul ignore next */ []);
|
|
1607
|
+
quelquesChoisies = computed(() => !this.toutesChoisies() && this.rangees().some((rangee) => rangee.choisie), ...ngDevMode ? [{ debugName: "quelquesChoisies" }] : /* istanbul ignore next */ []);
|
|
1588
1608
|
constructor() {
|
|
1589
1609
|
effect(() => {
|
|
1590
1610
|
const presentes = new Set(this.rangees().map((rangee) => rangee.identifiant));
|
|
@@ -1724,7 +1744,7 @@ var StDataTable = class StDataTable {
|
|
|
1724
1744
|
}
|
|
1725
1745
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1726
1746
|
minVersion: "12.0.0",
|
|
1727
|
-
version: "22.2.
|
|
1747
|
+
version: "22.2.1",
|
|
1728
1748
|
ngImport: i0,
|
|
1729
1749
|
type: StDataTable,
|
|
1730
1750
|
deps: [],
|
|
@@ -1732,7 +1752,7 @@ var StDataTable = class StDataTable {
|
|
|
1732
1752
|
});
|
|
1733
1753
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1734
1754
|
minVersion: "17.0.0",
|
|
1735
|
-
version: "22.2.
|
|
1755
|
+
version: "22.2.1",
|
|
1736
1756
|
type: StDataTable,
|
|
1737
1757
|
isStandalone: true,
|
|
1738
1758
|
selector: "st-data-table",
|
|
@@ -1927,7 +1947,7 @@ var StDataTable = class StDataTable {
|
|
|
1927
1947
|
],
|
|
1928
1948
|
ngImport: i0,
|
|
1929
1949
|
template: "<!-- UN seul ng-content : la projection se decide a la compilation, et un second\n emplacement de meme selecteur, dans une autre branche, ne recevrait jamais\n rien. -->\n<div class=\"st-data-table__barre\">\n @if (selectionnable()) {\n <!-- Une st-selection-bar rattachee montre le compte : la region reste, masquee a l'oeil. -->\n <p\n class=\"st-data-table__selection\"\n role=\"status\"\n [id]=\"identifiants.selection\"\n [class.st-vh]=\"resumeCede()\"\n >\n {{ selection().length > 0 ? libelles().lignesSelectionnees(selection().length) : '' }}\n </p>\n @if (selection().length > 0 && !resumeCede()) {\n <button stButton variante=\"discret\" taille=\"sm\" type=\"button\" (click)=\"deselectionnerTout()\">\n {{ libelles().toutDeselectionner }}\n </button>\n }\n }\n <div class=\"st-data-table__actions\">\n <ng-content select=\"[stActionsDeTableau]\" />\n </div>\n</div>\n\n<!-- UX-6 : zone nommee par la legende ; focalisable quand elle deborde, et par\n programme toujours, pour recevoir le focus apres un changement de page. -->\n<div\n class=\"st-data-table__cadre\"\n [attr.data-ombre-debut]=\"ombreDebut() ? '' : null\"\n [attr.data-ombre-fin]=\"ombreFin() ? '' : null\"\n>\n <div\n #zone\n class=\"st-data-table__zone\"\n role=\"region\"\n [attr.aria-labelledby]=\"identifiants.legende\"\n [attr.aria-describedby]=\"deborde() ? identifiants.deborde : null\"\n [attr.tabindex]=\"deborde() ? 0 : -1\"\n [attr.data-deborde]=\"deborde() ? '' : null\"\n [style.max-block-size]=\"hauteurMax()\"\n [style.scroll-padding-inline-start.px]=\"largeurFigee()\"\n [style.--st-tableau-decalage-figee.px]=\"decalageFigee()\"\n >\n <table class=\"st-data-table__tableau\" [attr.aria-busy]=\"chargement() ? 'true' : null\">\n <!-- Focalisable par script seulement : « Annuler la selection » y rend le focus. -->\n <caption\n #elementDeLegende\n class=\"st-data-table__legende\"\n tabindex=\"-1\"\n [id]=\"identifiants.legende\"\n [class.st-vh]=\"legendeMasquee()\"\n >\n {{\n legende()\n }}\n </caption>\n <thead>\n <tr>\n @if (selectionnable()) {\n <th class=\"st-data-table__case\" scope=\"col\" data-figee>\n <label class=\"st-data-table__cible\">\n <input\n #caseTout\n class=\"st-data-table__cocher\"\n type=\"checkbox\"\n [checked]=\"toutesChoisies()\"\n [indeterminate]=\"quelquesChoisies()\"\n [disabled]=\"rangeesChoisissables().length === 0\"\n [attr.aria-label]=\"libelles().selectionnerLaPage(rangeesChoisissables().length)\"\n [attr.aria-describedby]=\"identifiants.aideSelection\"\n (change)=\"basculerTout()\"\n />\n </label>\n </th>\n }\n @for (cellule of cellules(); track cellule.colonne.cle; let premiere = $first) {\n <th\n scope=\"col\"\n [attr.data-alignement]=\"cellule.colonne.alignement ?? 'debut'\"\n [attr.data-figee]=\"premiere && premiereColonneFigee() ? '' : null\"\n [attr.data-retour]=\"cellule.colonne.retourALaLigne ? '' : null\"\n [attr.aria-sort]=\"ariaSort(cellule.colonne)\"\n >\n @if (cellule.colonne.triable) {\n <button\n stSortHeader\n type=\"button\"\n [sens]=\"sensDe(cellule.colonne)\"\n [ternaire]=\"triTernaire()\"\n [alignement]=\"cellule.colonne.alignement ?? 'debut'\"\n (sensDemande)=\"trier(cellule.colonne, $event)\"\n >\n {{ cellule.colonne.libelle }}\n </button>\n } @else if (cellule.colonne.libelleMasque) {\n <span class=\"st-data-table__entete\"\n ><span class=\"st-vh\">{{ cellule.colonne.libelle }}</span></span\n >\n } @else {\n <span class=\"st-data-table__entete\">{{ cellule.colonne.libelle }}</span>\n }\n </th>\n }\n </tr>\n </thead>\n <tbody>\n @for (rang of squelette(); track rang) {\n <tr class=\"st-data-table__squelette\" aria-hidden=\"true\">\n @for (colonne of colonnesDeSquelette(); track colonne) {\n <td><st-skeleton class=\"st-data-table__barre-de-squelette\" [lignes]=\"1\" /></td>\n }\n </tr>\n }\n @for (rangee of rangees(); track rangee.identifiant) {\n <tr [attr.data-choisie]=\"rangee.choisie ? '' : null\" [attr.data-ton]=\"rangee.ton\">\n @if (selectionnable()) {\n <td class=\"st-data-table__case\" data-figee>\n <label class=\"st-data-table__cible\">\n <input\n class=\"st-data-table__cocher\"\n type=\"checkbox\"\n [checked]=\"rangee.choisie\"\n [disabled]=\"!rangee.choisissable\"\n [attr.aria-label]=\"\n libelles().selectionnerLaLigne(rangee.nom ?? rangee.identifiant)\n \"\n (click)=\"basculer(rangee.identifiant, $event)\"\n />\n </label>\n </td>\n }\n @for (cellule of cellules(); track cellule.colonne.cle; let premiere = $first) {\n @if (cellule.enTete) {\n <th\n scope=\"row\"\n [attr.data-alignement]=\"cellule.colonne.alignement ?? 'debut'\"\n [attr.data-figee]=\"premiere && premiereColonneFigee() ? '' : null\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n valeur;\n context: { $implicit: rangee.valeur, cellule: cellule }\n \"\n />\n </th>\n } @else {\n <td\n [attr.data-alignement]=\"cellule.colonne.alignement ?? 'debut'\"\n [attr.data-figee]=\"premiere && premiereColonneFigee() ? '' : null\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n valeur;\n context: { $implicit: rangee.valeur, cellule: cellule }\n \"\n />\n </td>\n }\n }\n </tr>\n } @empty {\n @if (!chargement()) {\n <tr>\n <td class=\"st-data-table__vide\" [attr.colspan]=\"nombreDeColonnes()\">\n @if (gabaritVide(); as vide) {\n <ng-container *ngTemplateOutlet=\"vide.gabarit\" />\n } @else if (raisonDuVide() === 'aucun-resultat') {\n <p>{{ texteVide() ?? libelles().aucunResultatPourCesFiltres }}</p>\n <button\n stButton\n variante=\"secondaire\"\n taille=\"sm\"\n type=\"button\"\n (click)=\"effacement.emit()\"\n >\n {{ libelles().effacerLesFiltres }}\n </button>\n } @else {\n {{ texteVide() ?? libelles().tableauVide }}\n }\n </td>\n </tr>\n }\n }\n </tbody>\n </table>\n </div>\n <!-- UX-6 : ombres de defilement AU-DESSUS du contenu (une ligne a son propre fond), hors de la\n zone qui defile : elles restent au bord. Decoratives. -->\n <span class=\"st-data-table__ombre st-data-table__ombre--debut\" aria-hidden=\"true\"></span>\n <span class=\"st-data-table__ombre st-data-table__ombre--fin\" aria-hidden=\"true\"></span>\n</div>\n<span class=\"st-vh\" aria-live=\"polite\">{{ annonce.texte() }}</span>\n@if (selectionnable()) {\n <span class=\"st-vh\" [id]=\"identifiants.aideSelection\">{{\n libelles().majClicPourEtendreLaSelection\n }}</span>\n}\n@if (deborde()) {\n <span class=\"st-vh\" [id]=\"identifiants.deborde\">{{\n libelles().tableauDefilantHorizontalement\n }}</span>\n}\n\n<ng-template #valeur let-ligne let-cellule=\"cellule\">\n @if (cellule.gabarit; as gabarit) {\n <ng-container\n *ngTemplateOutlet=\"gabarit; context: { $implicit: ligne, colonne: cellule.colonne }\"\n />\n } @else if (texteDe(ligne, cellule.colonne); as texte) {\n <bdi>{{ texte }}</bdi>\n } @else {\n <span aria-hidden=\"true\">—</span>\n <span class=\"st-vh\">{{\n estIllisible(ligne, cellule.colonne)\n ? libelles().valeurNonAffichable\n : libelles().nonRenseigne\n }}</span>\n }\n</ng-template>\n",
|
|
1930
|
-
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-tableau-plan-figee: 1;--st-tableau-plan-entete: 2;--st-tableau-plan-coin: 3;display:block}.st-data-table__barre,.st-data-table__actions{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2);align-items:center}.st-data-table__barre{justify-content:space-between}.st-data-table__barre:has(.st-data-table__selection,.st-data-table__actions:not(:empty)){min-block-size:var(--st-cible-tactile-min);margin-block-end:var(--st-espacement-2)}.st-data-table__actions{margin-inline-start:auto}.st-data-table__actions:empty{display:none}.st-data-table__selection{margin:0;font-weight:var(--st-graisse-semi)}.st-data-table__cadre{position:relative}.st-data-table__zone: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)}.st-data-table__zone{--st-tableau-decalage-figee: var(--st-tableau-largeur-case, var(--st-espacement-12));position:relative;overflow:auto;background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);border-radius:var(--st-rayon-md)}.st-data-table__ombre{position:absolute;inset-block:var(--st-epaisseur-fine);z-index:var(--st-tableau-plan-coin);display:none;inline-size:var(--st-espacement-3);pointer-events:none}.st-data-table__ombre--debut{inset-inline-start:var(--st-epaisseur-fine);background:linear-gradient(to right,var(--st-couleur-ombre),transparent);border-start-start-radius:calc(var(--st-rayon-md) - var(--st-epaisseur-fine));border-end-start-radius:calc(var(--st-rayon-md) - var(--st-epaisseur-fine))}.st-data-table__ombre--fin{inset-inline-end:var(--st-epaisseur-fine);background:linear-gradient(to left,var(--st-couleur-ombre),transparent);border-start-end-radius:calc(var(--st-rayon-md) - var(--st-epaisseur-fine));border-end-end-radius:calc(var(--st-rayon-md) - var(--st-epaisseur-fine))}:host(:dir(rtl)) .st-data-table__ombre--debut{background:linear-gradient(to left,var(--st-couleur-ombre),transparent)}:host(:dir(rtl)) .st-data-table__ombre--fin{background:linear-gradient(to right,var(--st-couleur-ombre),transparent)}[data-ombre-debut]>.st-data-table__ombre--debut,[data-ombre-fin]>.st-data-table__ombre--fin{display:block}.st-data-table__tableau{inline-size:100%;border-collapse:collapse}.st-data-table__legende{padding:var(--st-espacement-3);font-weight:var(--st-graisse-semi);text-align:start}.st-data-table__legende:focus{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:calc(-1 * var(--st-focus-epaisseur))}.st-data-table__legende.st-vh{position:static;block-size:0;padding:0;margin:0}th,td{padding-block:var(--st-tableau-cellule-bloc, var(--st-espacement-0));padding-inline:var(--st-tableau-cellule-ligne, calc(var(--st-densite-cellule-ligne) + var(--st-espacement-1)));text-align:start;vertical-align:middle;overflow-wrap:break-word}thead tr{font-family:var(--st-police-mono);font-size:var(--st-taille-2xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-discret);text-transform:uppercase;background:var(--st-couleur-surface-conteneur-bas);border-block-end:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}thead th{font-weight:var(--st-graisse-grasse);white-space:nowrap}thead th[data-retour]{white-space:normal}.st-data-table__entete{display:flex;align-items:center;min-block-size:var(--st-hauteur-commande-defaut)}[data-alignement=fin]>.st-data-table__entete{justify-content:flex-end}:host([data-hauteur-max]) thead th{position:sticky;inset-block-start:0;z-index:var(--st-tableau-plan-entete);background:var(--st-couleur-surface-conteneur-bas);box-shadow:inset 0 calc(-1 * var(--st-epaisseur-capillaire)) 0 var(--st-couleur-bordure)}tbody{font-size:min(var(--st-taille-sm),var(--st-densite-texte-taille));font-weight:var(--st-graisse-moyenne);line-height:min(var(--st-interligne-sm),var(--st-densite-texte-interligne));color:var(--st-couleur-texte)}tbody tr{--st-tableau-fond-ligne: var(--st-couleur-surface);block-size:var(--st-densite-ligne);background-color:var(--st-tableau-fond-ligne);border-inline-start:var(--st-epaisseur-forte) solid var(--st-tableau-fond-ligne)}@media(pointer:coarse){tbody tr{block-size:max(var(--st-densite-ligne),var(--st-cible-tactile-min))}}tbody tr+tr{border-block-start:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}tbody th{font-weight:inherit}@media(hover:hover){tbody tr:hover{--st-tableau-fond-ligne: var(--st-couleur-surface-survol)}}tbody tr[data-ton=danger]{--st-tableau-fond-ligne: color-mix( in srgb, var(--st-couleur-danger-discret) 40%, var(--st-couleur-surface) )}tbody tr[data-choisie]{--st-tableau-fond-ligne: var(--st-couleur-surface-selection);border-inline-start-color:var(--st-couleur-bordure-selection)}[data-alignement=fin]{text-align:end}tbody [data-alignement=fin]{font-variant-numeric:var(--st-chiffres-alignes)}.st-data-table__case{inline-size:var(--st-tableau-largeur-case, var(--st-espacement-12));min-inline-size:var(--st-tableau-largeur-case, var(--st-espacement-12));padding-inline:var(--st-espacement-3);text-align:center}.st-data-table__cible{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--st-rayon-sm);cursor:pointer}.st-data-table__cocher: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)}@media(pointer:coarse){.st-data-table__cocher{position:relative}.st-data-table__cocher:after{position:absolute;top:50%;left:50%;min-width:var(--st-cible-tactile-min);min-height:var(--st-cible-tactile-min);content:\"\";transform:translate(-50%,-50%)}}.st-data-table__cocher{appearance:none;display:inline-grid;flex:none;place-content:center;box-sizing:border-box;inline-size:var(--st-cible-min);block-size:var(--st-cible-min);margin:0;cursor:pointer;background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure-forte);border-radius:var(--st-rayon-sm)}.st-data-table__cocher:before{content:\"\";display:none}@media(hover:hover){.st-data-table__cocher:hover:not(:disabled,:checked,:indeterminate){border-color:var(--st-couleur-texte-discret);transition:border-color var(--st-duree-rapide) var(--st-courbe-standard)}}.st-data-table__cocher:checked,.st-data-table__cocher:indeterminate{background:var(--st-couleur-primaire);border-color:var(--st-couleur-primaire)}.st-data-table__cocher[type=checkbox]:is(:checked,:indeterminate){border-width:0}.st-data-table__cocher[type=checkbox]:checked:before{display:block;inline-size:calc(var(--st-espacement-4) + var(--st-espacement-demi));block-size:calc(var(--st-espacement-4) + var(--st-espacement-demi));background:var(--st-couleur-sur-primaire);clip-path:polygon(39.79% 75%,16.04% 51.25%,21.98% 45.31%,39.79% 63.13%,78.02% 24.9%,83.96% 30.83%)}.st-data-table__cocher[type=checkbox]:indeterminate:before{display:block;clip-path:none;inline-size:var(--st-espacement-3-5);block-size:calc((var(--st-epaisseur-moyenne) + var(--st-epaisseur-forte)) / 2);background:var(--st-couleur-sur-primaire);border-radius:var(--st-rayon-pleine)}.st-data-table__cocher[type=radio]{border-radius:var(--st-rayon-pleine)}.st-data-table__cocher[type=radio]:checked{background:var(--st-couleur-surface);border:var(--st-epaisseur-moyenne) solid var(--st-couleur-primaire)}.st-data-table__cocher[type=radio]:checked:before{display:block;inline-size:var(--st-espacement-3);block-size:var(--st-espacement-3);background:var(--st-couleur-primaire);border-radius:var(--st-rayon-pleine)}.st-data-table__cocher[aria-invalid=true]:not(:checked,:indeterminate){border:var(--st-epaisseur-moyenne) solid var(--st-couleur-danger)}.st-data-table__cocher[aria-readonly=true]:not(:disabled){cursor:default}.st-data-table__cocher:disabled{cursor:not-allowed;background:var(--st-couleur-surface);border-color:var(--st-couleur-bordure)}.st-data-table__cocher:disabled:is(:checked,:indeterminate){background:var(--st-couleur-texte-desactive);border-color:var(--st-couleur-texte-desactive)}.st-data-table__cocher[type=radio]:disabled:checked{background:var(--st-couleur-surface)}.st-data-table__cocher[type=radio]:disabled:checked:before{background:var(--st-couleur-texte-desactive)}@media(forced-colors:active){.st-data-table__cocher{forced-color-adjust:none;background:Canvas;border-color:CanvasText}.st-data-table__cocher:is(:checked,:indeterminate){background:Highlight;border-color:Highlight}.st-data-table__cocher[type=checkbox]:is(:checked,:indeterminate):before{background:HighlightText}.st-data-table__cocher[type=radio]:checked{background:Canvas}.st-data-table__cocher[type=radio]:checked:before{background:Highlight}.st-data-table__cocher:disabled{border-color:GrayText}}@media print{.st-data-table__cocher:is(:checked,:indeterminate),.st-data-table__cocher[type=checkbox]:is(:checked,:indeterminate){background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-texte)}.st-data-table__cocher[type=radio]:checked{border:var(--st-epaisseur-moyenne) solid var(--st-couleur-texte)}.st-data-table__cocher[type=checkbox]:checked:before,.st-data-table__cocher[type=checkbox]:indeterminate:before,.st-data-table__cocher[type=radio]:checked:before{background:var(--st-couleur-texte);-webkit-print-color-adjust:exact;print-color-adjust:exact}}:host([data-figee]) [data-figee]{position:sticky;inset-inline-start:calc(var(--st-epaisseur-forte) / 2);z-index:var(--st-tableau-plan-figee);background-color:var(--st-couleur-surface);background-image:linear-gradient(var(--st-tableau-fond-ligne),var(--st-tableau-fond-ligne))}:host([data-figee]) .st-data-table__case+[data-figee]{inset-inline-start:calc(var(--st-tableau-decalage-figee) + var(--st-epaisseur-forte) / 2)}:host([data-figee]) tr>[data-figee]:first-child:before{position:absolute;inset-block:0;inset-inline-start:calc(-1 * var(--st-epaisseur-forte));inline-size:var(--st-epaisseur-forte);content:\"\";background-color:var(--st-tableau-fond-ligne)}:host([data-figee]) tbody tr[data-choisie]>[data-figee]:first-child:before{background-color:var(--st-couleur-bordure-selection)}:host([data-figee]) thead [data-figee]{z-index:var(--st-tableau-plan-coin);background:var(--st-couleur-surface-conteneur-bas)}:host([data-figee]) thead tr>[data-figee]:first-child:before{background-color:var(--st-couleur-surface-conteneur-bas)}.st-data-table__vide{padding:var(--st-espacement-5);color:var(--st-couleur-texte-discret);text-align:center}.st-data-table__barre-de-squelette{display:block}.st-data-table__tableau[aria-busy=true]{cursor:progress}@media(forced-colors:active){tbody tr{border-inline-start-color:Canvas}tbody tr[data-choisie]{border-inline-start-color:Highlight}:host([data-figee]) tr>[data-figee]:first-child:before{background-color:Canvas}:host([data-figee]) tbody tr[data-choisie]>[data-figee]:first-child:before{background-color:Highlight}.st-data-table__ombre{display:none!important}}@media print{.st-data-table__zone{max-block-size:none!important;overflow:visible;border:0}.st-data-table__ombre{display:none!important}thead th,:host([data-hauteur-max]) thead th,:host([data-figee]) [data-figee]{position:static}tbody tr{break-inside:avoid}}\n"],
|
|
1950
|
+
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-tableau-plan-figee: 1;--st-tableau-plan-entete: 2;--st-tableau-plan-coin: 3;display:block}.st-data-table__barre,.st-data-table__actions{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2);align-items:center}.st-data-table__barre{justify-content:space-between}.st-data-table__barre:has(.st-data-table__selection,.st-data-table__actions:not(:empty)){min-block-size:var(--st-cible-tactile-min);margin-block-end:var(--st-espacement-2)}.st-data-table__actions{margin-inline-start:auto}.st-data-table__actions:empty{display:none}.st-data-table__selection{margin:0;font-weight:var(--st-graisse-semi)}.st-data-table__cadre{position:relative}.st-data-table__zone: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)}.st-data-table__zone{--st-tableau-decalage-figee: var(--st-tableau-largeur-case, var(--st-espacement-12));position:relative;overflow:auto;background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);border-radius:var(--st-rayon-md)}.st-data-table__ombre{position:absolute;inset-block:var(--st-epaisseur-fine);z-index:var(--st-tableau-plan-coin);display:none;inline-size:var(--st-espacement-3);pointer-events:none}.st-data-table__ombre--debut{inset-inline-start:var(--st-epaisseur-fine);background:linear-gradient(to right,var(--st-couleur-ombre),transparent);border-start-start-radius:calc(var(--st-rayon-md) - var(--st-epaisseur-fine));border-end-start-radius:calc(var(--st-rayon-md) - var(--st-epaisseur-fine))}.st-data-table__ombre--fin{inset-inline-end:var(--st-epaisseur-fine);background:linear-gradient(to left,var(--st-couleur-ombre),transparent);border-start-end-radius:calc(var(--st-rayon-md) - var(--st-epaisseur-fine));border-end-end-radius:calc(var(--st-rayon-md) - var(--st-epaisseur-fine))}:host(:dir(rtl)) .st-data-table__ombre--debut{background:linear-gradient(to left,var(--st-couleur-ombre),transparent)}:host(:dir(rtl)) .st-data-table__ombre--fin{background:linear-gradient(to right,var(--st-couleur-ombre),transparent)}[data-ombre-debut]>.st-data-table__ombre--debut,[data-ombre-fin]>.st-data-table__ombre--fin{display:block}.st-data-table__tableau{inline-size:100%;border-collapse:collapse}.st-data-table__legende{padding:var(--st-espacement-3);font-weight:var(--st-graisse-semi);text-align:start}.st-data-table__legende:focus{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:calc(-1 * var(--st-focus-epaisseur))}.st-data-table__legende.st-vh{position:static;block-size:0;padding:0;margin:0}th,td{padding-block:var(--st-tableau-cellule-bloc, var(--st-espacement-0));padding-inline:var(--st-tableau-cellule-ligne, calc(var(--st-densite-cellule-ligne) + var(--st-espacement-1)));text-align:start;vertical-align:middle;overflow-wrap:break-word}thead tr{font-family:var(--st-police-mono);font-size:var(--st-taille-2xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-discret);text-transform:uppercase;background:var(--st-couleur-surface-conteneur-bas);border-block-end:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}thead th{font-weight:var(--st-graisse-grasse);white-space:nowrap}thead th[data-retour]{white-space:normal}.st-data-table__entete{display:flex;align-items:center;min-block-size:var(--st-hauteur-commande-defaut)}[data-alignement=fin]>.st-data-table__entete{justify-content:flex-end}:host([data-hauteur-max]) thead th{position:sticky;inset-block-start:0;z-index:var(--st-tableau-plan-entete);background:var(--st-couleur-surface-conteneur-bas);box-shadow:inset 0 calc(-1 * var(--st-epaisseur-capillaire)) 0 var(--st-couleur-bordure)}tbody{font-size:min(var(--st-taille-sm),var(--st-densite-texte-taille));font-weight:var(--st-graisse-moyenne);line-height:min(var(--st-interligne-sm),var(--st-densite-texte-interligne));color:var(--st-couleur-texte)}tbody tr{--st-tableau-fond-ligne: var(--st-couleur-surface);block-size:var(--st-densite-ligne);background-color:var(--st-tableau-fond-ligne);border-inline-start:var(--st-epaisseur-forte) solid var(--st-tableau-fond-ligne)}@media(pointer:coarse){tbody tr{block-size:max(var(--st-densite-ligne),var(--st-cible-tactile-min))}}tbody tr+tr{border-block-start:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}tbody th{font-weight:inherit}@media(hover:hover){tbody tr:hover{--st-tableau-fond-ligne: var(--st-couleur-surface-survol)}}tbody tr[data-ton=erreur]{--st-tableau-fond-ligne: color-mix( in srgb, var(--st-couleur-erreur-discret) 40%, var(--st-couleur-surface) )}tbody tr[data-ton=danger]{--st-tableau-fond-ligne: color-mix( in srgb, var(--st-couleur-danger-discret) 40%, var(--st-couleur-surface) )}tbody tr[data-choisie]{--st-tableau-fond-ligne: var(--st-couleur-surface-selection);border-inline-start-color:var(--st-couleur-bordure-selection)}[data-alignement=fin]{text-align:end}tbody [data-alignement=fin]{font-variant-numeric:var(--st-chiffres-alignes)}.st-data-table__case{inline-size:var(--st-tableau-largeur-case, var(--st-espacement-12));min-inline-size:var(--st-tableau-largeur-case, var(--st-espacement-12));padding-inline:var(--st-espacement-3);text-align:center}.st-data-table__cible{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--st-rayon-sm);cursor:pointer}.st-data-table__cocher: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)}@media(pointer:coarse){.st-data-table__cocher{position:relative}.st-data-table__cocher:after{position:absolute;top:50%;left:50%;min-width:var(--st-cible-tactile-min);min-height:var(--st-cible-tactile-min);content:\"\";transform:translate(-50%,-50%)}}.st-data-table__cocher{appearance:none;display:inline-grid;flex:none;place-content:center;box-sizing:border-box;inline-size:var(--st-cible-min);block-size:var(--st-cible-min);margin:0;cursor:pointer;background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure-forte);border-radius:var(--st-rayon-sm)}.st-data-table__cocher:before{content:\"\";display:none}@media(hover:hover){.st-data-table__cocher:hover:not(:disabled,:checked,:indeterminate){border-color:var(--st-couleur-texte-discret);transition:border-color var(--st-duree-rapide) var(--st-courbe-standard)}}.st-data-table__cocher:checked,.st-data-table__cocher:indeterminate{background:var(--st-couleur-primaire);border-color:var(--st-couleur-primaire)}.st-data-table__cocher[type=checkbox]:is(:checked,:indeterminate){border-width:0}.st-data-table__cocher[type=checkbox]:checked:before{display:block;inline-size:calc(var(--st-espacement-4) + var(--st-espacement-demi));block-size:calc(var(--st-espacement-4) + var(--st-espacement-demi));background:var(--st-couleur-sur-primaire);clip-path:polygon(39.79% 75%,16.04% 51.25%,21.98% 45.31%,39.79% 63.13%,78.02% 24.9%,83.96% 30.83%)}.st-data-table__cocher[type=checkbox]:indeterminate:before{display:block;clip-path:none;inline-size:var(--st-espacement-3-5);block-size:calc((var(--st-epaisseur-moyenne) + var(--st-epaisseur-forte)) / 2);background:var(--st-couleur-sur-primaire);border-radius:var(--st-rayon-pleine)}.st-data-table__cocher[type=radio]{border-radius:var(--st-rayon-pleine)}.st-data-table__cocher[type=radio]:checked{background:var(--st-couleur-surface);border:var(--st-epaisseur-moyenne) solid var(--st-couleur-primaire)}.st-data-table__cocher[type=radio]:checked:before{display:block;inline-size:var(--st-espacement-3);block-size:var(--st-espacement-3);background:var(--st-couleur-primaire);border-radius:var(--st-rayon-pleine)}.st-data-table__cocher[aria-invalid=true]:not(:checked,:indeterminate){border:var(--st-epaisseur-moyenne) solid var(--st-couleur-erreur)}.st-data-table__cocher[aria-readonly=true]:not(:disabled){cursor:default}.st-data-table__cocher:disabled{cursor:not-allowed;background:var(--st-couleur-surface);border-color:var(--st-couleur-bordure)}.st-data-table__cocher:disabled:is(:checked,:indeterminate){background:var(--st-couleur-texte-desactive);border-color:var(--st-couleur-texte-desactive)}.st-data-table__cocher[type=radio]:disabled:checked{background:var(--st-couleur-surface)}.st-data-table__cocher[type=radio]:disabled:checked:before{background:var(--st-couleur-texte-desactive)}@media(forced-colors:active){.st-data-table__cocher{forced-color-adjust:none;background:Canvas;border-color:CanvasText}.st-data-table__cocher:is(:checked,:indeterminate){background:Highlight;border-color:Highlight}.st-data-table__cocher[type=checkbox]:is(:checked,:indeterminate):before{background:HighlightText}.st-data-table__cocher[type=radio]:checked{background:Canvas}.st-data-table__cocher[type=radio]:checked:before{background:Highlight}.st-data-table__cocher:disabled{border-color:GrayText}}@media print{.st-data-table__cocher:is(:checked,:indeterminate),.st-data-table__cocher[type=checkbox]:is(:checked,:indeterminate){background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-texte)}.st-data-table__cocher[type=radio]:checked{border:var(--st-epaisseur-moyenne) solid var(--st-couleur-texte)}.st-data-table__cocher[type=checkbox]:checked:before,.st-data-table__cocher[type=checkbox]:indeterminate:before,.st-data-table__cocher[type=radio]:checked:before{background:var(--st-couleur-texte);-webkit-print-color-adjust:exact;print-color-adjust:exact}}:host([data-figee]) [data-figee]{position:sticky;inset-inline-start:calc(var(--st-epaisseur-forte) / 2);z-index:var(--st-tableau-plan-figee);background-color:var(--st-couleur-surface);background-image:linear-gradient(var(--st-tableau-fond-ligne),var(--st-tableau-fond-ligne))}:host([data-figee]) .st-data-table__case+[data-figee]{inset-inline-start:calc(var(--st-tableau-decalage-figee) + var(--st-epaisseur-forte) / 2)}:host([data-figee]) tr>[data-figee]:first-child:before{position:absolute;inset-block:0;inset-inline-start:calc(-1 * var(--st-epaisseur-forte));inline-size:var(--st-epaisseur-forte);content:\"\";background-color:var(--st-tableau-fond-ligne)}:host([data-figee]) tbody tr[data-choisie]>[data-figee]:first-child:before{background-color:var(--st-couleur-bordure-selection)}:host([data-figee]) thead [data-figee]{z-index:var(--st-tableau-plan-coin);background:var(--st-couleur-surface-conteneur-bas)}:host([data-figee]) thead tr>[data-figee]:first-child:before{background-color:var(--st-couleur-surface-conteneur-bas)}.st-data-table__vide{padding:var(--st-espacement-5);color:var(--st-couleur-texte-discret);text-align:center}.st-data-table__barre-de-squelette{display:block}.st-data-table__tableau[aria-busy=true]{cursor:progress}@media(forced-colors:active){tbody tr{border-inline-start-color:Canvas}tbody tr[data-choisie]{border-inline-start-color:Highlight}:host([data-figee]) tr>[data-figee]:first-child:before{background-color:Canvas}:host([data-figee]) tbody tr[data-choisie]>[data-figee]:first-child:before{background-color:Highlight}.st-data-table__ombre{display:none!important}}@media print{.st-data-table__zone{max-block-size:none!important;overflow:visible;border:0}.st-data-table__ombre{display:none!important}thead th,:host([data-hauteur-max]) thead th,:host([data-figee]) [data-figee]{position:static}tbody tr{break-inside:avoid}}\n"],
|
|
1931
1951
|
dependencies: [
|
|
1932
1952
|
{
|
|
1933
1953
|
kind: "directive",
|
|
@@ -1984,7 +2004,7 @@ var StDataTable = class StDataTable {
|
|
|
1984
2004
|
};
|
|
1985
2005
|
i0.ɵɵngDeclareClassMetadata({
|
|
1986
2006
|
minVersion: "12.0.0",
|
|
1987
|
-
version: "22.2.
|
|
2007
|
+
version: "22.2.1",
|
|
1988
2008
|
ngImport: i0,
|
|
1989
2009
|
type: StDataTable,
|
|
1990
2010
|
decorators: [{
|
|
@@ -2005,7 +2025,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2005
2025
|
"[attr.data-hauteur-max]": "hauteurMax() ? \"\" : null"
|
|
2006
2026
|
},
|
|
2007
2027
|
template: "<!-- UN seul ng-content : la projection se decide a la compilation, et un second\n emplacement de meme selecteur, dans une autre branche, ne recevrait jamais\n rien. -->\n<div class=\"st-data-table__barre\">\n @if (selectionnable()) {\n <!-- Une st-selection-bar rattachee montre le compte : la region reste, masquee a l'oeil. -->\n <p\n class=\"st-data-table__selection\"\n role=\"status\"\n [id]=\"identifiants.selection\"\n [class.st-vh]=\"resumeCede()\"\n >\n {{ selection().length > 0 ? libelles().lignesSelectionnees(selection().length) : '' }}\n </p>\n @if (selection().length > 0 && !resumeCede()) {\n <button stButton variante=\"discret\" taille=\"sm\" type=\"button\" (click)=\"deselectionnerTout()\">\n {{ libelles().toutDeselectionner }}\n </button>\n }\n }\n <div class=\"st-data-table__actions\">\n <ng-content select=\"[stActionsDeTableau]\" />\n </div>\n</div>\n\n<!-- UX-6 : zone nommee par la legende ; focalisable quand elle deborde, et par\n programme toujours, pour recevoir le focus apres un changement de page. -->\n<div\n class=\"st-data-table__cadre\"\n [attr.data-ombre-debut]=\"ombreDebut() ? '' : null\"\n [attr.data-ombre-fin]=\"ombreFin() ? '' : null\"\n>\n <div\n #zone\n class=\"st-data-table__zone\"\n role=\"region\"\n [attr.aria-labelledby]=\"identifiants.legende\"\n [attr.aria-describedby]=\"deborde() ? identifiants.deborde : null\"\n [attr.tabindex]=\"deborde() ? 0 : -1\"\n [attr.data-deborde]=\"deborde() ? '' : null\"\n [style.max-block-size]=\"hauteurMax()\"\n [style.scroll-padding-inline-start.px]=\"largeurFigee()\"\n [style.--st-tableau-decalage-figee.px]=\"decalageFigee()\"\n >\n <table class=\"st-data-table__tableau\" [attr.aria-busy]=\"chargement() ? 'true' : null\">\n <!-- Focalisable par script seulement : « Annuler la selection » y rend le focus. -->\n <caption\n #elementDeLegende\n class=\"st-data-table__legende\"\n tabindex=\"-1\"\n [id]=\"identifiants.legende\"\n [class.st-vh]=\"legendeMasquee()\"\n >\n {{\n legende()\n }}\n </caption>\n <thead>\n <tr>\n @if (selectionnable()) {\n <th class=\"st-data-table__case\" scope=\"col\" data-figee>\n <label class=\"st-data-table__cible\">\n <input\n #caseTout\n class=\"st-data-table__cocher\"\n type=\"checkbox\"\n [checked]=\"toutesChoisies()\"\n [indeterminate]=\"quelquesChoisies()\"\n [disabled]=\"rangeesChoisissables().length === 0\"\n [attr.aria-label]=\"libelles().selectionnerLaPage(rangeesChoisissables().length)\"\n [attr.aria-describedby]=\"identifiants.aideSelection\"\n (change)=\"basculerTout()\"\n />\n </label>\n </th>\n }\n @for (cellule of cellules(); track cellule.colonne.cle; let premiere = $first) {\n <th\n scope=\"col\"\n [attr.data-alignement]=\"cellule.colonne.alignement ?? 'debut'\"\n [attr.data-figee]=\"premiere && premiereColonneFigee() ? '' : null\"\n [attr.data-retour]=\"cellule.colonne.retourALaLigne ? '' : null\"\n [attr.aria-sort]=\"ariaSort(cellule.colonne)\"\n >\n @if (cellule.colonne.triable) {\n <button\n stSortHeader\n type=\"button\"\n [sens]=\"sensDe(cellule.colonne)\"\n [ternaire]=\"triTernaire()\"\n [alignement]=\"cellule.colonne.alignement ?? 'debut'\"\n (sensDemande)=\"trier(cellule.colonne, $event)\"\n >\n {{ cellule.colonne.libelle }}\n </button>\n } @else if (cellule.colonne.libelleMasque) {\n <span class=\"st-data-table__entete\"\n ><span class=\"st-vh\">{{ cellule.colonne.libelle }}</span></span\n >\n } @else {\n <span class=\"st-data-table__entete\">{{ cellule.colonne.libelle }}</span>\n }\n </th>\n }\n </tr>\n </thead>\n <tbody>\n @for (rang of squelette(); track rang) {\n <tr class=\"st-data-table__squelette\" aria-hidden=\"true\">\n @for (colonne of colonnesDeSquelette(); track colonne) {\n <td><st-skeleton class=\"st-data-table__barre-de-squelette\" [lignes]=\"1\" /></td>\n }\n </tr>\n }\n @for (rangee of rangees(); track rangee.identifiant) {\n <tr [attr.data-choisie]=\"rangee.choisie ? '' : null\" [attr.data-ton]=\"rangee.ton\">\n @if (selectionnable()) {\n <td class=\"st-data-table__case\" data-figee>\n <label class=\"st-data-table__cible\">\n <input\n class=\"st-data-table__cocher\"\n type=\"checkbox\"\n [checked]=\"rangee.choisie\"\n [disabled]=\"!rangee.choisissable\"\n [attr.aria-label]=\"\n libelles().selectionnerLaLigne(rangee.nom ?? rangee.identifiant)\n \"\n (click)=\"basculer(rangee.identifiant, $event)\"\n />\n </label>\n </td>\n }\n @for (cellule of cellules(); track cellule.colonne.cle; let premiere = $first) {\n @if (cellule.enTete) {\n <th\n scope=\"row\"\n [attr.data-alignement]=\"cellule.colonne.alignement ?? 'debut'\"\n [attr.data-figee]=\"premiere && premiereColonneFigee() ? '' : null\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n valeur;\n context: { $implicit: rangee.valeur, cellule: cellule }\n \"\n />\n </th>\n } @else {\n <td\n [attr.data-alignement]=\"cellule.colonne.alignement ?? 'debut'\"\n [attr.data-figee]=\"premiere && premiereColonneFigee() ? '' : null\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n valeur;\n context: { $implicit: rangee.valeur, cellule: cellule }\n \"\n />\n </td>\n }\n }\n </tr>\n } @empty {\n @if (!chargement()) {\n <tr>\n <td class=\"st-data-table__vide\" [attr.colspan]=\"nombreDeColonnes()\">\n @if (gabaritVide(); as vide) {\n <ng-container *ngTemplateOutlet=\"vide.gabarit\" />\n } @else if (raisonDuVide() === 'aucun-resultat') {\n <p>{{ texteVide() ?? libelles().aucunResultatPourCesFiltres }}</p>\n <button\n stButton\n variante=\"secondaire\"\n taille=\"sm\"\n type=\"button\"\n (click)=\"effacement.emit()\"\n >\n {{ libelles().effacerLesFiltres }}\n </button>\n } @else {\n {{ texteVide() ?? libelles().tableauVide }}\n }\n </td>\n </tr>\n }\n }\n </tbody>\n </table>\n </div>\n <!-- UX-6 : ombres de defilement AU-DESSUS du contenu (une ligne a son propre fond), hors de la\n zone qui defile : elles restent au bord. Decoratives. -->\n <span class=\"st-data-table__ombre st-data-table__ombre--debut\" aria-hidden=\"true\"></span>\n <span class=\"st-data-table__ombre st-data-table__ombre--fin\" aria-hidden=\"true\"></span>\n</div>\n<span class=\"st-vh\" aria-live=\"polite\">{{ annonce.texte() }}</span>\n@if (selectionnable()) {\n <span class=\"st-vh\" [id]=\"identifiants.aideSelection\">{{\n libelles().majClicPourEtendreLaSelection\n }}</span>\n}\n@if (deborde()) {\n <span class=\"st-vh\" [id]=\"identifiants.deborde\">{{\n libelles().tableauDefilantHorizontalement\n }}</span>\n}\n\n<ng-template #valeur let-ligne let-cellule=\"cellule\">\n @if (cellule.gabarit; as gabarit) {\n <ng-container\n *ngTemplateOutlet=\"gabarit; context: { $implicit: ligne, colonne: cellule.colonne }\"\n />\n } @else if (texteDe(ligne, cellule.colonne); as texte) {\n <bdi>{{ texte }}</bdi>\n } @else {\n <span aria-hidden=\"true\">—</span>\n <span class=\"st-vh\">{{\n estIllisible(ligne, cellule.colonne)\n ? libelles().valeurNonAffichable\n : libelles().nonRenseigne\n }}</span>\n }\n</ng-template>\n",
|
|
2008
|
-
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-tableau-plan-figee: 1;--st-tableau-plan-entete: 2;--st-tableau-plan-coin: 3;display:block}.st-data-table__barre,.st-data-table__actions{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2);align-items:center}.st-data-table__barre{justify-content:space-between}.st-data-table__barre:has(.st-data-table__selection,.st-data-table__actions:not(:empty)){min-block-size:var(--st-cible-tactile-min);margin-block-end:var(--st-espacement-2)}.st-data-table__actions{margin-inline-start:auto}.st-data-table__actions:empty{display:none}.st-data-table__selection{margin:0;font-weight:var(--st-graisse-semi)}.st-data-table__cadre{position:relative}.st-data-table__zone: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)}.st-data-table__zone{--st-tableau-decalage-figee: var(--st-tableau-largeur-case, var(--st-espacement-12));position:relative;overflow:auto;background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);border-radius:var(--st-rayon-md)}.st-data-table__ombre{position:absolute;inset-block:var(--st-epaisseur-fine);z-index:var(--st-tableau-plan-coin);display:none;inline-size:var(--st-espacement-3);pointer-events:none}.st-data-table__ombre--debut{inset-inline-start:var(--st-epaisseur-fine);background:linear-gradient(to right,var(--st-couleur-ombre),transparent);border-start-start-radius:calc(var(--st-rayon-md) - var(--st-epaisseur-fine));border-end-start-radius:calc(var(--st-rayon-md) - var(--st-epaisseur-fine))}.st-data-table__ombre--fin{inset-inline-end:var(--st-epaisseur-fine);background:linear-gradient(to left,var(--st-couleur-ombre),transparent);border-start-end-radius:calc(var(--st-rayon-md) - var(--st-epaisseur-fine));border-end-end-radius:calc(var(--st-rayon-md) - var(--st-epaisseur-fine))}:host(:dir(rtl)) .st-data-table__ombre--debut{background:linear-gradient(to left,var(--st-couleur-ombre),transparent)}:host(:dir(rtl)) .st-data-table__ombre--fin{background:linear-gradient(to right,var(--st-couleur-ombre),transparent)}[data-ombre-debut]>.st-data-table__ombre--debut,[data-ombre-fin]>.st-data-table__ombre--fin{display:block}.st-data-table__tableau{inline-size:100%;border-collapse:collapse}.st-data-table__legende{padding:var(--st-espacement-3);font-weight:var(--st-graisse-semi);text-align:start}.st-data-table__legende:focus{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:calc(-1 * var(--st-focus-epaisseur))}.st-data-table__legende.st-vh{position:static;block-size:0;padding:0;margin:0}th,td{padding-block:var(--st-tableau-cellule-bloc, var(--st-espacement-0));padding-inline:var(--st-tableau-cellule-ligne, calc(var(--st-densite-cellule-ligne) + var(--st-espacement-1)));text-align:start;vertical-align:middle;overflow-wrap:break-word}thead tr{font-family:var(--st-police-mono);font-size:var(--st-taille-2xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-discret);text-transform:uppercase;background:var(--st-couleur-surface-conteneur-bas);border-block-end:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}thead th{font-weight:var(--st-graisse-grasse);white-space:nowrap}thead th[data-retour]{white-space:normal}.st-data-table__entete{display:flex;align-items:center;min-block-size:var(--st-hauteur-commande-defaut)}[data-alignement=fin]>.st-data-table__entete{justify-content:flex-end}:host([data-hauteur-max]) thead th{position:sticky;inset-block-start:0;z-index:var(--st-tableau-plan-entete);background:var(--st-couleur-surface-conteneur-bas);box-shadow:inset 0 calc(-1 * var(--st-epaisseur-capillaire)) 0 var(--st-couleur-bordure)}tbody{font-size:min(var(--st-taille-sm),var(--st-densite-texte-taille));font-weight:var(--st-graisse-moyenne);line-height:min(var(--st-interligne-sm),var(--st-densite-texte-interligne));color:var(--st-couleur-texte)}tbody tr{--st-tableau-fond-ligne: var(--st-couleur-surface);block-size:var(--st-densite-ligne);background-color:var(--st-tableau-fond-ligne);border-inline-start:var(--st-epaisseur-forte) solid var(--st-tableau-fond-ligne)}@media(pointer:coarse){tbody tr{block-size:max(var(--st-densite-ligne),var(--st-cible-tactile-min))}}tbody tr+tr{border-block-start:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}tbody th{font-weight:inherit}@media(hover:hover){tbody tr:hover{--st-tableau-fond-ligne: var(--st-couleur-surface-survol)}}tbody tr[data-ton=danger]{--st-tableau-fond-ligne: color-mix( in srgb, var(--st-couleur-danger-discret) 40%, var(--st-couleur-surface) )}tbody tr[data-choisie]{--st-tableau-fond-ligne: var(--st-couleur-surface-selection);border-inline-start-color:var(--st-couleur-bordure-selection)}[data-alignement=fin]{text-align:end}tbody [data-alignement=fin]{font-variant-numeric:var(--st-chiffres-alignes)}.st-data-table__case{inline-size:var(--st-tableau-largeur-case, var(--st-espacement-12));min-inline-size:var(--st-tableau-largeur-case, var(--st-espacement-12));padding-inline:var(--st-espacement-3);text-align:center}.st-data-table__cible{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--st-rayon-sm);cursor:pointer}.st-data-table__cocher: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)}@media(pointer:coarse){.st-data-table__cocher{position:relative}.st-data-table__cocher:after{position:absolute;top:50%;left:50%;min-width:var(--st-cible-tactile-min);min-height:var(--st-cible-tactile-min);content:\"\";transform:translate(-50%,-50%)}}.st-data-table__cocher{appearance:none;display:inline-grid;flex:none;place-content:center;box-sizing:border-box;inline-size:var(--st-cible-min);block-size:var(--st-cible-min);margin:0;cursor:pointer;background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure-forte);border-radius:var(--st-rayon-sm)}.st-data-table__cocher:before{content:\"\";display:none}@media(hover:hover){.st-data-table__cocher:hover:not(:disabled,:checked,:indeterminate){border-color:var(--st-couleur-texte-discret);transition:border-color var(--st-duree-rapide) var(--st-courbe-standard)}}.st-data-table__cocher:checked,.st-data-table__cocher:indeterminate{background:var(--st-couleur-primaire);border-color:var(--st-couleur-primaire)}.st-data-table__cocher[type=checkbox]:is(:checked,:indeterminate){border-width:0}.st-data-table__cocher[type=checkbox]:checked:before{display:block;inline-size:calc(var(--st-espacement-4) + var(--st-espacement-demi));block-size:calc(var(--st-espacement-4) + var(--st-espacement-demi));background:var(--st-couleur-sur-primaire);clip-path:polygon(39.79% 75%,16.04% 51.25%,21.98% 45.31%,39.79% 63.13%,78.02% 24.9%,83.96% 30.83%)}.st-data-table__cocher[type=checkbox]:indeterminate:before{display:block;clip-path:none;inline-size:var(--st-espacement-3-5);block-size:calc((var(--st-epaisseur-moyenne) + var(--st-epaisseur-forte)) / 2);background:var(--st-couleur-sur-primaire);border-radius:var(--st-rayon-pleine)}.st-data-table__cocher[type=radio]{border-radius:var(--st-rayon-pleine)}.st-data-table__cocher[type=radio]:checked{background:var(--st-couleur-surface);border:var(--st-epaisseur-moyenne) solid var(--st-couleur-primaire)}.st-data-table__cocher[type=radio]:checked:before{display:block;inline-size:var(--st-espacement-3);block-size:var(--st-espacement-3);background:var(--st-couleur-primaire);border-radius:var(--st-rayon-pleine)}.st-data-table__cocher[aria-invalid=true]:not(:checked,:indeterminate){border:var(--st-epaisseur-moyenne) solid var(--st-couleur-danger)}.st-data-table__cocher[aria-readonly=true]:not(:disabled){cursor:default}.st-data-table__cocher:disabled{cursor:not-allowed;background:var(--st-couleur-surface);border-color:var(--st-couleur-bordure)}.st-data-table__cocher:disabled:is(:checked,:indeterminate){background:var(--st-couleur-texte-desactive);border-color:var(--st-couleur-texte-desactive)}.st-data-table__cocher[type=radio]:disabled:checked{background:var(--st-couleur-surface)}.st-data-table__cocher[type=radio]:disabled:checked:before{background:var(--st-couleur-texte-desactive)}@media(forced-colors:active){.st-data-table__cocher{forced-color-adjust:none;background:Canvas;border-color:CanvasText}.st-data-table__cocher:is(:checked,:indeterminate){background:Highlight;border-color:Highlight}.st-data-table__cocher[type=checkbox]:is(:checked,:indeterminate):before{background:HighlightText}.st-data-table__cocher[type=radio]:checked{background:Canvas}.st-data-table__cocher[type=radio]:checked:before{background:Highlight}.st-data-table__cocher:disabled{border-color:GrayText}}@media print{.st-data-table__cocher:is(:checked,:indeterminate),.st-data-table__cocher[type=checkbox]:is(:checked,:indeterminate){background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-texte)}.st-data-table__cocher[type=radio]:checked{border:var(--st-epaisseur-moyenne) solid var(--st-couleur-texte)}.st-data-table__cocher[type=checkbox]:checked:before,.st-data-table__cocher[type=checkbox]:indeterminate:before,.st-data-table__cocher[type=radio]:checked:before{background:var(--st-couleur-texte);-webkit-print-color-adjust:exact;print-color-adjust:exact}}:host([data-figee]) [data-figee]{position:sticky;inset-inline-start:calc(var(--st-epaisseur-forte) / 2);z-index:var(--st-tableau-plan-figee);background-color:var(--st-couleur-surface);background-image:linear-gradient(var(--st-tableau-fond-ligne),var(--st-tableau-fond-ligne))}:host([data-figee]) .st-data-table__case+[data-figee]{inset-inline-start:calc(var(--st-tableau-decalage-figee) + var(--st-epaisseur-forte) / 2)}:host([data-figee]) tr>[data-figee]:first-child:before{position:absolute;inset-block:0;inset-inline-start:calc(-1 * var(--st-epaisseur-forte));inline-size:var(--st-epaisseur-forte);content:\"\";background-color:var(--st-tableau-fond-ligne)}:host([data-figee]) tbody tr[data-choisie]>[data-figee]:first-child:before{background-color:var(--st-couleur-bordure-selection)}:host([data-figee]) thead [data-figee]{z-index:var(--st-tableau-plan-coin);background:var(--st-couleur-surface-conteneur-bas)}:host([data-figee]) thead tr>[data-figee]:first-child:before{background-color:var(--st-couleur-surface-conteneur-bas)}.st-data-table__vide{padding:var(--st-espacement-5);color:var(--st-couleur-texte-discret);text-align:center}.st-data-table__barre-de-squelette{display:block}.st-data-table__tableau[aria-busy=true]{cursor:progress}@media(forced-colors:active){tbody tr{border-inline-start-color:Canvas}tbody tr[data-choisie]{border-inline-start-color:Highlight}:host([data-figee]) tr>[data-figee]:first-child:before{background-color:Canvas}:host([data-figee]) tbody tr[data-choisie]>[data-figee]:first-child:before{background-color:Highlight}.st-data-table__ombre{display:none!important}}@media print{.st-data-table__zone{max-block-size:none!important;overflow:visible;border:0}.st-data-table__ombre{display:none!important}thead th,:host([data-hauteur-max]) thead th,:host([data-figee]) [data-figee]{position:static}tbody tr{break-inside:avoid}}\n"]
|
|
2028
|
+
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-tableau-plan-figee: 1;--st-tableau-plan-entete: 2;--st-tableau-plan-coin: 3;display:block}.st-data-table__barre,.st-data-table__actions{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2);align-items:center}.st-data-table__barre{justify-content:space-between}.st-data-table__barre:has(.st-data-table__selection,.st-data-table__actions:not(:empty)){min-block-size:var(--st-cible-tactile-min);margin-block-end:var(--st-espacement-2)}.st-data-table__actions{margin-inline-start:auto}.st-data-table__actions:empty{display:none}.st-data-table__selection{margin:0;font-weight:var(--st-graisse-semi)}.st-data-table__cadre{position:relative}.st-data-table__zone: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)}.st-data-table__zone{--st-tableau-decalage-figee: var(--st-tableau-largeur-case, var(--st-espacement-12));position:relative;overflow:auto;background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure);border-radius:var(--st-rayon-md)}.st-data-table__ombre{position:absolute;inset-block:var(--st-epaisseur-fine);z-index:var(--st-tableau-plan-coin);display:none;inline-size:var(--st-espacement-3);pointer-events:none}.st-data-table__ombre--debut{inset-inline-start:var(--st-epaisseur-fine);background:linear-gradient(to right,var(--st-couleur-ombre),transparent);border-start-start-radius:calc(var(--st-rayon-md) - var(--st-epaisseur-fine));border-end-start-radius:calc(var(--st-rayon-md) - var(--st-epaisseur-fine))}.st-data-table__ombre--fin{inset-inline-end:var(--st-epaisseur-fine);background:linear-gradient(to left,var(--st-couleur-ombre),transparent);border-start-end-radius:calc(var(--st-rayon-md) - var(--st-epaisseur-fine));border-end-end-radius:calc(var(--st-rayon-md) - var(--st-epaisseur-fine))}:host(:dir(rtl)) .st-data-table__ombre--debut{background:linear-gradient(to left,var(--st-couleur-ombre),transparent)}:host(:dir(rtl)) .st-data-table__ombre--fin{background:linear-gradient(to right,var(--st-couleur-ombre),transparent)}[data-ombre-debut]>.st-data-table__ombre--debut,[data-ombre-fin]>.st-data-table__ombre--fin{display:block}.st-data-table__tableau{inline-size:100%;border-collapse:collapse}.st-data-table__legende{padding:var(--st-espacement-3);font-weight:var(--st-graisse-semi);text-align:start}.st-data-table__legende:focus{outline:var(--st-focus-epaisseur) solid var(--st-couleur-anneau-focus);outline-offset:calc(-1 * var(--st-focus-epaisseur))}.st-data-table__legende.st-vh{position:static;block-size:0;padding:0;margin:0}th,td{padding-block:var(--st-tableau-cellule-bloc, var(--st-espacement-0));padding-inline:var(--st-tableau-cellule-ligne, calc(var(--st-densite-cellule-ligne) + var(--st-espacement-1)));text-align:start;vertical-align:middle;overflow-wrap:break-word}thead tr{font-family:var(--st-police-mono);font-size:var(--st-taille-2xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-discret);text-transform:uppercase;background:var(--st-couleur-surface-conteneur-bas);border-block-end:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}thead th{font-weight:var(--st-graisse-grasse);white-space:nowrap}thead th[data-retour]{white-space:normal}.st-data-table__entete{display:flex;align-items:center;min-block-size:var(--st-hauteur-commande-defaut)}[data-alignement=fin]>.st-data-table__entete{justify-content:flex-end}:host([data-hauteur-max]) thead th{position:sticky;inset-block-start:0;z-index:var(--st-tableau-plan-entete);background:var(--st-couleur-surface-conteneur-bas);box-shadow:inset 0 calc(-1 * var(--st-epaisseur-capillaire)) 0 var(--st-couleur-bordure)}tbody{font-size:min(var(--st-taille-sm),var(--st-densite-texte-taille));font-weight:var(--st-graisse-moyenne);line-height:min(var(--st-interligne-sm),var(--st-densite-texte-interligne));color:var(--st-couleur-texte)}tbody tr{--st-tableau-fond-ligne: var(--st-couleur-surface);block-size:var(--st-densite-ligne);background-color:var(--st-tableau-fond-ligne);border-inline-start:var(--st-epaisseur-forte) solid var(--st-tableau-fond-ligne)}@media(pointer:coarse){tbody tr{block-size:max(var(--st-densite-ligne),var(--st-cible-tactile-min))}}tbody tr+tr{border-block-start:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}tbody th{font-weight:inherit}@media(hover:hover){tbody tr:hover{--st-tableau-fond-ligne: var(--st-couleur-surface-survol)}}tbody tr[data-ton=erreur]{--st-tableau-fond-ligne: color-mix( in srgb, var(--st-couleur-erreur-discret) 40%, var(--st-couleur-surface) )}tbody tr[data-ton=danger]{--st-tableau-fond-ligne: color-mix( in srgb, var(--st-couleur-danger-discret) 40%, var(--st-couleur-surface) )}tbody tr[data-choisie]{--st-tableau-fond-ligne: var(--st-couleur-surface-selection);border-inline-start-color:var(--st-couleur-bordure-selection)}[data-alignement=fin]{text-align:end}tbody [data-alignement=fin]{font-variant-numeric:var(--st-chiffres-alignes)}.st-data-table__case{inline-size:var(--st-tableau-largeur-case, var(--st-espacement-12));min-inline-size:var(--st-tableau-largeur-case, var(--st-espacement-12));padding-inline:var(--st-espacement-3);text-align:center}.st-data-table__cible{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--st-rayon-sm);cursor:pointer}.st-data-table__cocher: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)}@media(pointer:coarse){.st-data-table__cocher{position:relative}.st-data-table__cocher:after{position:absolute;top:50%;left:50%;min-width:var(--st-cible-tactile-min);min-height:var(--st-cible-tactile-min);content:\"\";transform:translate(-50%,-50%)}}.st-data-table__cocher{appearance:none;display:inline-grid;flex:none;place-content:center;box-sizing:border-box;inline-size:var(--st-cible-min);block-size:var(--st-cible-min);margin:0;cursor:pointer;background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure-forte);border-radius:var(--st-rayon-sm)}.st-data-table__cocher:before{content:\"\";display:none}@media(hover:hover){.st-data-table__cocher:hover:not(:disabled,:checked,:indeterminate){border-color:var(--st-couleur-texte-discret);transition:border-color var(--st-duree-rapide) var(--st-courbe-standard)}}.st-data-table__cocher:checked,.st-data-table__cocher:indeterminate{background:var(--st-couleur-primaire);border-color:var(--st-couleur-primaire)}.st-data-table__cocher[type=checkbox]:is(:checked,:indeterminate){border-width:0}.st-data-table__cocher[type=checkbox]:checked:before{display:block;inline-size:calc(var(--st-espacement-4) + var(--st-espacement-demi));block-size:calc(var(--st-espacement-4) + var(--st-espacement-demi));background:var(--st-couleur-sur-primaire);clip-path:polygon(39.79% 75%,16.04% 51.25%,21.98% 45.31%,39.79% 63.13%,78.02% 24.9%,83.96% 30.83%)}.st-data-table__cocher[type=checkbox]:indeterminate:before{display:block;clip-path:none;inline-size:var(--st-espacement-3-5);block-size:calc((var(--st-epaisseur-moyenne) + var(--st-epaisseur-forte)) / 2);background:var(--st-couleur-sur-primaire);border-radius:var(--st-rayon-pleine)}.st-data-table__cocher[type=radio]{border-radius:var(--st-rayon-pleine)}.st-data-table__cocher[type=radio]:checked{background:var(--st-couleur-surface);border:var(--st-epaisseur-moyenne) solid var(--st-couleur-primaire)}.st-data-table__cocher[type=radio]:checked:before{display:block;inline-size:var(--st-espacement-3);block-size:var(--st-espacement-3);background:var(--st-couleur-primaire);border-radius:var(--st-rayon-pleine)}.st-data-table__cocher[aria-invalid=true]:not(:checked,:indeterminate){border:var(--st-epaisseur-moyenne) solid var(--st-couleur-erreur)}.st-data-table__cocher[aria-readonly=true]:not(:disabled){cursor:default}.st-data-table__cocher:disabled{cursor:not-allowed;background:var(--st-couleur-surface);border-color:var(--st-couleur-bordure)}.st-data-table__cocher:disabled:is(:checked,:indeterminate){background:var(--st-couleur-texte-desactive);border-color:var(--st-couleur-texte-desactive)}.st-data-table__cocher[type=radio]:disabled:checked{background:var(--st-couleur-surface)}.st-data-table__cocher[type=radio]:disabled:checked:before{background:var(--st-couleur-texte-desactive)}@media(forced-colors:active){.st-data-table__cocher{forced-color-adjust:none;background:Canvas;border-color:CanvasText}.st-data-table__cocher:is(:checked,:indeterminate){background:Highlight;border-color:Highlight}.st-data-table__cocher[type=checkbox]:is(:checked,:indeterminate):before{background:HighlightText}.st-data-table__cocher[type=radio]:checked{background:Canvas}.st-data-table__cocher[type=radio]:checked:before{background:Highlight}.st-data-table__cocher:disabled{border-color:GrayText}}@media print{.st-data-table__cocher:is(:checked,:indeterminate),.st-data-table__cocher[type=checkbox]:is(:checked,:indeterminate){background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-texte)}.st-data-table__cocher[type=radio]:checked{border:var(--st-epaisseur-moyenne) solid var(--st-couleur-texte)}.st-data-table__cocher[type=checkbox]:checked:before,.st-data-table__cocher[type=checkbox]:indeterminate:before,.st-data-table__cocher[type=radio]:checked:before{background:var(--st-couleur-texte);-webkit-print-color-adjust:exact;print-color-adjust:exact}}:host([data-figee]) [data-figee]{position:sticky;inset-inline-start:calc(var(--st-epaisseur-forte) / 2);z-index:var(--st-tableau-plan-figee);background-color:var(--st-couleur-surface);background-image:linear-gradient(var(--st-tableau-fond-ligne),var(--st-tableau-fond-ligne))}:host([data-figee]) .st-data-table__case+[data-figee]{inset-inline-start:calc(var(--st-tableau-decalage-figee) + var(--st-epaisseur-forte) / 2)}:host([data-figee]) tr>[data-figee]:first-child:before{position:absolute;inset-block:0;inset-inline-start:calc(-1 * var(--st-epaisseur-forte));inline-size:var(--st-epaisseur-forte);content:\"\";background-color:var(--st-tableau-fond-ligne)}:host([data-figee]) tbody tr[data-choisie]>[data-figee]:first-child:before{background-color:var(--st-couleur-bordure-selection)}:host([data-figee]) thead [data-figee]{z-index:var(--st-tableau-plan-coin);background:var(--st-couleur-surface-conteneur-bas)}:host([data-figee]) thead tr>[data-figee]:first-child:before{background-color:var(--st-couleur-surface-conteneur-bas)}.st-data-table__vide{padding:var(--st-espacement-5);color:var(--st-couleur-texte-discret);text-align:center}.st-data-table__barre-de-squelette{display:block}.st-data-table__tableau[aria-busy=true]{cursor:progress}@media(forced-colors:active){tbody tr{border-inline-start-color:Canvas}tbody tr[data-choisie]{border-inline-start-color:Highlight}:host([data-figee]) tr>[data-figee]:first-child:before{background-color:Canvas}:host([data-figee]) tbody tr[data-choisie]>[data-figee]:first-child:before{background-color:Highlight}.st-data-table__ombre{display:none!important}}@media print{.st-data-table__zone{max-block-size:none!important;overflow:visible;border:0}.st-data-table__ombre{display:none!important}thead th,:host([data-hauteur-max]) thead th,:host([data-figee]) [data-figee]{position:static}tbody tr{break-inside:avoid}}\n"]
|
|
2009
2029
|
}]
|
|
2010
2030
|
}],
|
|
2011
2031
|
ctorParameters: () => [],
|
|
@@ -2204,28 +2224,28 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2204
2224
|
});
|
|
2205
2225
|
var StSelectionBar = class StSelectionBar {
|
|
2206
2226
|
libelles = inject(ST_LIBELLES);
|
|
2207
|
-
selection = input.required(...ngDevMode ? [{ debugName: "selection" }] :
|
|
2208
|
-
texteDuCompte = input(null, ...ngDevMode ? [{ debugName: "texteDuCompte" }] :
|
|
2209
|
-
nommer = input(null, ...ngDevMode ? [{ debugName: "nommer" }] :
|
|
2210
|
-
total = input(null, ...ngDevMode ? [{ debugName: "total" }] :
|
|
2211
|
-
tableau = input(null, ...ngDevMode ? [{ debugName: "tableau" }] :
|
|
2227
|
+
selection = input.required(...ngDevMode ? [{ debugName: "selection" }] : /* istanbul ignore next */ []);
|
|
2228
|
+
texteDuCompte = input(null, ...ngDevMode ? [{ debugName: "texteDuCompte" }] : /* istanbul ignore next */ []);
|
|
2229
|
+
nommer = input(null, ...ngDevMode ? [{ debugName: "nommer" }] : /* istanbul ignore next */ []);
|
|
2230
|
+
total = input(null, ...ngDevMode ? [{ debugName: "total" }] : /* istanbul ignore next */ []);
|
|
2231
|
+
tableau = input(null, ...ngDevMode ? [{ debugName: "tableau" }] : /* istanbul ignore next */ []);
|
|
2212
2232
|
collee = input(true, {
|
|
2213
|
-
...ngDevMode ? { debugName: "collee" } :
|
|
2233
|
+
...ngDevMode ? { debugName: "collee" } : /* istanbul ignore next */ {},
|
|
2214
2234
|
transform: booleanAttribute
|
|
2215
2235
|
});
|
|
2216
2236
|
toutSelectionner = output();
|
|
2217
2237
|
annulation = output();
|
|
2218
|
-
nombre = computed(() => this.selection().length, ...ngDevMode ? [{ debugName: "nombre" }] :
|
|
2238
|
+
nombre = computed(() => this.selection().length, ...ngDevMode ? [{ debugName: "nombre" }] : /* istanbul ignore next */ []);
|
|
2219
2239
|
compte = computed(() => {
|
|
2220
2240
|
const texte = this.texteDuCompte();
|
|
2221
2241
|
return texte === null ? this.libelles().lignesSelectionnees(this.nombre()) : texte(this.nombre());
|
|
2222
|
-
}, ...ngDevMode ? [{ debugName: "compte" }] :
|
|
2242
|
+
}, ...ngDevMode ? [{ debugName: "compte" }] : /* istanbul ignore next */ []);
|
|
2223
2243
|
toutChoisir = computed(() => {
|
|
2224
2244
|
const total = this.total();
|
|
2225
2245
|
if (total === null || total <= this.nombre()) return null;
|
|
2226
2246
|
const nommer = this.nommer();
|
|
2227
2247
|
return this.libelles().toutSelectionnerLes(nommer === null ? String(total) : nommer(total));
|
|
2228
|
-
}, ...ngDevMode ? [{ debugName: "toutChoisir" }] :
|
|
2248
|
+
}, ...ngDevMode ? [{ debugName: "toutChoisir" }] : /* istanbul ignore next */ []);
|
|
2229
2249
|
libelleDeConfirmation(verbe) {
|
|
2230
2250
|
const nommer = this.nommer();
|
|
2231
2251
|
return `${verbe} ${nommer === null ? this.compte() : nommer(this.nombre())}`;
|
|
@@ -2251,7 +2271,7 @@ var StSelectionBar = class StSelectionBar {
|
|
|
2251
2271
|
}
|
|
2252
2272
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2253
2273
|
minVersion: "12.0.0",
|
|
2254
|
-
version: "22.2.
|
|
2274
|
+
version: "22.2.1",
|
|
2255
2275
|
ngImport: i0,
|
|
2256
2276
|
type: StSelectionBar,
|
|
2257
2277
|
deps: [],
|
|
@@ -2259,7 +2279,7 @@ var StSelectionBar = class StSelectionBar {
|
|
|
2259
2279
|
});
|
|
2260
2280
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2261
2281
|
minVersion: "17.0.0",
|
|
2262
|
-
version: "22.2.
|
|
2282
|
+
version: "22.2.1",
|
|
2263
2283
|
type: StSelectionBar,
|
|
2264
2284
|
isStandalone: true,
|
|
2265
2285
|
selector: "st-selection-bar",
|
|
@@ -2338,7 +2358,7 @@ var StSelectionBar = class StSelectionBar {
|
|
|
2338
2358
|
};
|
|
2339
2359
|
i0.ɵɵngDeclareClassMetadata({
|
|
2340
2360
|
minVersion: "12.0.0",
|
|
2341
|
-
version: "22.2.
|
|
2361
|
+
version: "22.2.1",
|
|
2342
2362
|
ngImport: i0,
|
|
2343
2363
|
type: StSelectionBar,
|
|
2344
2364
|
decorators: [{
|
|
@@ -2466,31 +2486,31 @@ var StExportAction = class StExportAction {
|
|
|
2466
2486
|
libelles = inject(ST_LIBELLES);
|
|
2467
2487
|
locale = inject(ST_LOCALE);
|
|
2468
2488
|
annonce = new AnnonceLocale(inject(DestroyRef));
|
|
2469
|
-
etat = input("repos", ...ngDevMode ? [{ debugName: "etat" }] :
|
|
2470
|
-
resultat = input(null, ...ngDevMode ? [{ debugName: "resultat" }] :
|
|
2471
|
-
libelle = input(null, ...ngDevMode ? [{ debugName: "libelle" }] :
|
|
2489
|
+
etat = input("repos", ...ngDevMode ? [{ debugName: "etat" }] : /* istanbul ignore next */ []);
|
|
2490
|
+
resultat = input(null, ...ngDevMode ? [{ debugName: "resultat" }] : /* istanbul ignore next */ []);
|
|
2491
|
+
libelle = input(null, ...ngDevMode ? [{ debugName: "libelle" }] : /* istanbul ignore next */ []);
|
|
2472
2492
|
demande = output();
|
|
2473
2493
|
lien = viewChild("lien", {
|
|
2474
|
-
...ngDevMode ? { debugName: "lien" } :
|
|
2494
|
+
...ngDevMode ? { debugName: "lien" } : /* istanbul ignore next */ {},
|
|
2475
2495
|
read: ElementRef
|
|
2476
2496
|
});
|
|
2477
|
-
libelleDuBouton = computed(() => this.libelle() ?? this.libelles().exporter, ...ngDevMode ? [{ debugName: "libelleDuBouton" }] :
|
|
2497
|
+
libelleDuBouton = computed(() => this.libelle() ?? this.libelles().exporter, ...ngDevMode ? [{ debugName: "libelleDuBouton" }] : /* istanbul ignore next */ []);
|
|
2478
2498
|
adresse = computed(() => {
|
|
2479
2499
|
const resultat = this.resultat();
|
|
2480
2500
|
return resultat === null ? null : lienDeMemeOrigine(resultat.url, this.document);
|
|
2481
|
-
}, ...ngDevMode ? [{ debugName: "adresse" }] :
|
|
2501
|
+
}, ...ngDevMode ? [{ debugName: "adresse" }] : /* istanbul ignore next */ []);
|
|
2482
2502
|
nomDuLien = computed(() => {
|
|
2483
2503
|
const resultat = this.resultat();
|
|
2484
2504
|
if (resultat === null) return "";
|
|
2485
2505
|
const taille = resultat.taille === null ? null : formaterTaille(resultat.taille, this.locale());
|
|
2486
2506
|
return this.libelles().telechargerLExport(resultat.format, taille);
|
|
2487
|
-
}, ...ngDevMode ? [{ debugName: "nomDuLien" }] :
|
|
2507
|
+
}, ...ngDevMode ? [{ debugName: "nomDuLien" }] : /* istanbul ignore next */ []);
|
|
2488
2508
|
troncature = computed(() => {
|
|
2489
2509
|
const resultat = this.resultat();
|
|
2490
2510
|
if (!resultat?.tronque) return null;
|
|
2491
2511
|
const nombres = new Intl.NumberFormat(this.locale());
|
|
2492
2512
|
return this.libelles().exportTronque(nombres.format(resultat.lignes), resultat.total === null ? null : nombres.format(resultat.total));
|
|
2493
|
-
}, ...ngDevMode ? [{ debugName: "troncature" }] :
|
|
2513
|
+
}, ...ngDevMode ? [{ debugName: "troncature" }] : /* istanbul ignore next */ []);
|
|
2494
2514
|
constructor() {
|
|
2495
2515
|
effect(() => {
|
|
2496
2516
|
if (this.etat() !== "preparation") return;
|
|
@@ -2518,7 +2538,7 @@ var StExportAction = class StExportAction {
|
|
|
2518
2538
|
}
|
|
2519
2539
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2520
2540
|
minVersion: "12.0.0",
|
|
2521
|
-
version: "22.2.
|
|
2541
|
+
version: "22.2.1",
|
|
2522
2542
|
ngImport: i0,
|
|
2523
2543
|
type: StExportAction,
|
|
2524
2544
|
deps: [],
|
|
@@ -2526,7 +2546,7 @@ var StExportAction = class StExportAction {
|
|
|
2526
2546
|
});
|
|
2527
2547
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2528
2548
|
minVersion: "17.0.0",
|
|
2529
|
-
version: "22.2.
|
|
2549
|
+
version: "22.2.1",
|
|
2530
2550
|
type: StExportAction,
|
|
2531
2551
|
isStandalone: true,
|
|
2532
2552
|
selector: "st-export-action",
|
|
@@ -2615,7 +2635,7 @@ var StExportAction = class StExportAction {
|
|
|
2615
2635
|
};
|
|
2616
2636
|
i0.ɵɵngDeclareClassMetadata({
|
|
2617
2637
|
minVersion: "12.0.0",
|
|
2618
|
-
version: "22.2.
|
|
2638
|
+
version: "22.2.1",
|
|
2619
2639
|
ngImport: i0,
|
|
2620
2640
|
type: StExportAction,
|
|
2621
2641
|
decorators: [{
|
|
@@ -2677,17 +2697,17 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2677
2697
|
});
|
|
2678
2698
|
var StFilterChip = class StFilterChip {
|
|
2679
2699
|
libelles = inject(ST_LIBELLES);
|
|
2680
|
-
libelle = input.required(...ngDevMode ? [{ debugName: "libelle" }] :
|
|
2700
|
+
libelle = input.required(...ngDevMode ? [{ debugName: "libelle" }] : /* istanbul ignore next */ []);
|
|
2681
2701
|
mono = input(false, {
|
|
2682
|
-
...ngDevMode ? { debugName: "mono" } :
|
|
2702
|
+
...ngDevMode ? { debugName: "mono" } : /* istanbul ignore next */ {},
|
|
2683
2703
|
transform: booleanAttribute
|
|
2684
2704
|
});
|
|
2685
2705
|
verrouille = input(false, {
|
|
2686
|
-
...ngDevMode ? { debugName: "verrouille" } :
|
|
2706
|
+
...ngDevMode ? { debugName: "verrouille" } : /* istanbul ignore next */ {},
|
|
2687
2707
|
transform: booleanAttribute
|
|
2688
2708
|
});
|
|
2689
|
-
libelleAffiche = computed(() => sansCommandesDeDirection(this.libelle()), ...ngDevMode ? [{ debugName: "libelleAffiche" }] :
|
|
2690
|
-
nom = computed(() => this.verrouille() ? this.libelles().filtreVerrouille(this.libelleAffiche()) : this.libelles().retirerLeFiltre(this.libelleAffiche()), ...ngDevMode ? [{ debugName: "nom" }] :
|
|
2709
|
+
libelleAffiche = computed(() => sansCommandesDeDirection(this.libelle()), ...ngDevMode ? [{ debugName: "libelleAffiche" }] : /* istanbul ignore next */ []);
|
|
2710
|
+
nom = computed(() => this.verrouille() ? this.libelles().filtreVerrouille(this.libelleAffiche()) : this.libelles().retirerLeFiltre(this.libelleAffiche()), ...ngDevMode ? [{ debugName: "nom" }] : /* istanbul ignore next */ []);
|
|
2691
2711
|
constructor() {
|
|
2692
2712
|
const element = inject(ElementRef).nativeElement;
|
|
2693
2713
|
const garde = (evenement) => {
|
|
@@ -2702,7 +2722,7 @@ var StFilterChip = class StFilterChip {
|
|
|
2702
2722
|
}
|
|
2703
2723
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2704
2724
|
minVersion: "12.0.0",
|
|
2705
|
-
version: "22.2.
|
|
2725
|
+
version: "22.2.1",
|
|
2706
2726
|
ngImport: i0,
|
|
2707
2727
|
type: StFilterChip,
|
|
2708
2728
|
deps: [],
|
|
@@ -2710,7 +2730,7 @@ var StFilterChip = class StFilterChip {
|
|
|
2710
2730
|
});
|
|
2711
2731
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2712
2732
|
minVersion: "17.0.0",
|
|
2713
|
-
version: "22.2.
|
|
2733
|
+
version: "22.2.1",
|
|
2714
2734
|
type: StFilterChip,
|
|
2715
2735
|
isStandalone: true,
|
|
2716
2736
|
selector: "button[stFilterChip]",
|
|
@@ -2771,7 +2791,7 @@ var StFilterChip = class StFilterChip {
|
|
|
2771
2791
|
};
|
|
2772
2792
|
i0.ɵɵngDeclareClassMetadata({
|
|
2773
2793
|
minVersion: "12.0.0",
|
|
2774
|
-
version: "22.2.
|
|
2794
|
+
version: "22.2.1",
|
|
2775
2795
|
ngImport: i0,
|
|
2776
2796
|
type: StFilterChip,
|
|
2777
2797
|
decorators: [{
|
|
@@ -2824,13 +2844,13 @@ var StFilterBar = class StFilterBar {
|
|
|
2824
2844
|
libelles = inject(ST_LIBELLES);
|
|
2825
2845
|
injecteur = inject(Injector);
|
|
2826
2846
|
document = inject(DOCUMENT$1);
|
|
2827
|
-
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] :
|
|
2828
|
-
description = input(null, ...ngDevMode ? [{ debugName: "description" }] :
|
|
2829
|
-
filtresActifs = input([], ...ngDevMode ? [{ debugName: "filtresActifs" }] :
|
|
2830
|
-
mode = input("immediat", ...ngDevMode ? [{ debugName: "mode" }] :
|
|
2831
|
-
nombreDeResultats = input(null, ...ngDevMode ? [{ debugName: "nombreDeResultats" }] :
|
|
2847
|
+
etiquette = input(null, ...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
2848
|
+
description = input(null, ...ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []);
|
|
2849
|
+
filtresActifs = input([], ...ngDevMode ? [{ debugName: "filtresActifs" }] : /* istanbul ignore next */ []);
|
|
2850
|
+
mode = input("immediat", ...ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []);
|
|
2851
|
+
nombreDeResultats = input(null, ...ngDevMode ? [{ debugName: "nombreDeResultats" }] : /* istanbul ignore next */ []);
|
|
2832
2852
|
chargement = input(false, {
|
|
2833
|
-
...ngDevMode ? { debugName: "chargement" } :
|
|
2853
|
+
...ngDevMode ? { debugName: "chargement" } : /* istanbul ignore next */ {},
|
|
2834
2854
|
transform: booleanAttribute
|
|
2835
2855
|
});
|
|
2836
2856
|
retrait = output();
|
|
@@ -2840,21 +2860,21 @@ var StFilterBar = class StFilterBar {
|
|
|
2840
2860
|
identifiant = inject(StIdentifiants).prochain("st-filtres");
|
|
2841
2861
|
identifiantTitre = `${this.identifiant}-titre`;
|
|
2842
2862
|
identifiantActifs = `${this.identifiant}-actifs`;
|
|
2843
|
-
titre = viewChild.required("titre", ...ngDevMode ? [{ debugName: "titre" }] :
|
|
2863
|
+
titre = viewChild.required("titre", ...ngDevMode ? [{ debugName: "titre" }] : /* istanbul ignore next */ []);
|
|
2844
2864
|
puces = viewChildren(StFilterChip, {
|
|
2845
|
-
...ngDevMode ? { debugName: "puces" } :
|
|
2865
|
+
...ngDevMode ? { debugName: "puces" } : /* istanbul ignore next */ {},
|
|
2846
2866
|
read: ElementRef
|
|
2847
2867
|
});
|
|
2848
|
-
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().filtres, ...ngDevMode ? [{ debugName: "etiquetteLue" }] :
|
|
2849
|
-
effacables = computed(() => this.filtresActifs().some((filtre) => filtre.verrouille !== true), ...ngDevMode ? [{ debugName: "effacables" }] :
|
|
2868
|
+
etiquetteLue = computed(() => this.etiquette() ?? this.libelles().filtres, ...ngDevMode ? [{ debugName: "etiquetteLue" }] : /* istanbul ignore next */ []);
|
|
2869
|
+
effacables = computed(() => this.filtresActifs().some((filtre) => filtre.verrouille !== true), ...ngDevMode ? [{ debugName: "effacables" }] : /* istanbul ignore next */ []);
|
|
2850
2870
|
texteDesResultats = computed(() => {
|
|
2851
2871
|
const nombre = this.nombreDeResultats();
|
|
2852
2872
|
return nombre === null ? null : this.libelles().nombreDeResultats(nombre);
|
|
2853
|
-
}, ...ngDevMode ? [{ debugName: "texteDesResultats" }] :
|
|
2873
|
+
}, ...ngDevMode ? [{ debugName: "texteDesResultats" }] : /* istanbul ignore next */ []);
|
|
2854
2874
|
enAttente = null;
|
|
2855
2875
|
geste = null;
|
|
2856
2876
|
levee;
|
|
2857
|
-
resultatsEnAttente = signal(false, ...ngDevMode ? [{ debugName: "resultatsEnAttente" }] :
|
|
2877
|
+
resultatsEnAttente = signal(false, ...ngDevMode ? [{ debugName: "resultatsEnAttente" }] : /* istanbul ignore next */ []);
|
|
2858
2878
|
constructor() {
|
|
2859
2879
|
inject(DestroyRef).onDestroy(() => {
|
|
2860
2880
|
clearTimeout(this.levee);
|
|
@@ -2929,7 +2949,7 @@ var StFilterBar = class StFilterBar {
|
|
|
2929
2949
|
}
|
|
2930
2950
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2931
2951
|
minVersion: "12.0.0",
|
|
2932
|
-
version: "22.2.
|
|
2952
|
+
version: "22.2.1",
|
|
2933
2953
|
ngImport: i0,
|
|
2934
2954
|
type: StFilterBar,
|
|
2935
2955
|
deps: [],
|
|
@@ -2937,7 +2957,7 @@ var StFilterBar = class StFilterBar {
|
|
|
2937
2957
|
});
|
|
2938
2958
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2939
2959
|
minVersion: "17.0.0",
|
|
2940
|
-
version: "22.2.
|
|
2960
|
+
version: "22.2.1",
|
|
2941
2961
|
type: StFilterBar,
|
|
2942
2962
|
isStandalone: true,
|
|
2943
2963
|
selector: "st-filter-bar",
|
|
@@ -3055,7 +3075,7 @@ var StFilterBar = class StFilterBar {
|
|
|
3055
3075
|
};
|
|
3056
3076
|
i0.ɵɵngDeclareClassMetadata({
|
|
3057
3077
|
minVersion: "12.0.0",
|
|
3058
|
-
version: "22.2.
|
|
3078
|
+
version: "22.2.1",
|
|
3059
3079
|
ngImport: i0,
|
|
3060
3080
|
type: StFilterBar,
|
|
3061
3081
|
decorators: [{
|
|
@@ -3151,22 +3171,22 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3151
3171
|
const CONTEXTE_D_ACCORDEON = new InjectionToken("st.contexte-d-accordeon");
|
|
3152
3172
|
var StDisclosure = class StDisclosure {
|
|
3153
3173
|
accordeon = inject(CONTEXTE_D_ACCORDEON, { optional: true });
|
|
3154
|
-
details = viewChild.required("details", ...ngDevMode ? [{ debugName: "details" }] :
|
|
3155
|
-
libelle = input.required(...ngDevMode ? [{ debugName: "libelle" }] :
|
|
3156
|
-
resume = input(null, ...ngDevMode ? [{ debugName: "resume" }] :
|
|
3157
|
-
ouvert = model(false, ...ngDevMode ? [{ debugName: "ouvert" }] :
|
|
3158
|
-
niveauDuTitre = input(null, ...ngDevMode ? [{ debugName: "niveauDuTitre" }] :
|
|
3174
|
+
details = viewChild.required("details", ...ngDevMode ? [{ debugName: "details" }] : /* istanbul ignore next */ []);
|
|
3175
|
+
libelle = input.required(...ngDevMode ? [{ debugName: "libelle" }] : /* istanbul ignore next */ []);
|
|
3176
|
+
resume = input(null, ...ngDevMode ? [{ debugName: "resume" }] : /* istanbul ignore next */ []);
|
|
3177
|
+
ouvert = model(false, ...ngDevMode ? [{ debugName: "ouvert" }] : /* istanbul ignore next */ []);
|
|
3178
|
+
niveauDuTitre = input(null, ...ngDevMode ? [{ debugName: "niveauDuTitre" }] : /* istanbul ignore next */ []);
|
|
3159
3179
|
indisponible = input(false, {
|
|
3160
|
-
...ngDevMode ? { debugName: "indisponible" } :
|
|
3180
|
+
...ngDevMode ? { debugName: "indisponible" } : /* istanbul ignore next */ {},
|
|
3161
3181
|
transform: booleanAttribute
|
|
3162
3182
|
});
|
|
3163
|
-
raisonIndisponible = input(null, ...ngDevMode ? [{ debugName: "raisonIndisponible" }] :
|
|
3164
|
-
valeur = input(null, ...ngDevMode ? [{ debugName: "valeur" }] :
|
|
3183
|
+
raisonIndisponible = input(null, ...ngDevMode ? [{ debugName: "raisonIndisponible" }] : /* istanbul ignore next */ []);
|
|
3184
|
+
valeur = input(null, ...ngDevMode ? [{ debugName: "valeur" }] : /* istanbul ignore next */ []);
|
|
3165
3185
|
identifiantDeRaison = inject(StIdentifiants).prochain("st-disclosure-raison");
|
|
3166
3186
|
raisonLue = computed(() => {
|
|
3167
3187
|
const raison = this.raisonIndisponible()?.trim() ?? "";
|
|
3168
3188
|
return this.indisponible() && raison !== "" ? raison : null;
|
|
3169
|
-
}, ...ngDevMode ? [{ debugName: "raisonLue" }] :
|
|
3189
|
+
}, ...ngDevMode ? [{ debugName: "raisonLue" }] : /* istanbul ignore next */ []);
|
|
3170
3190
|
avantLImpression = null;
|
|
3171
3191
|
basculee() {
|
|
3172
3192
|
if (this.avantLImpression !== null) return;
|
|
@@ -3195,7 +3215,7 @@ var StDisclosure = class StDisclosure {
|
|
|
3195
3215
|
}
|
|
3196
3216
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3197
3217
|
minVersion: "12.0.0",
|
|
3198
|
-
version: "22.2.
|
|
3218
|
+
version: "22.2.1",
|
|
3199
3219
|
ngImport: i0,
|
|
3200
3220
|
type: StDisclosure,
|
|
3201
3221
|
deps: [],
|
|
@@ -3203,7 +3223,7 @@ var StDisclosure = class StDisclosure {
|
|
|
3203
3223
|
});
|
|
3204
3224
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3205
3225
|
minVersion: "17.0.0",
|
|
3206
|
-
version: "22.2.
|
|
3226
|
+
version: "22.2.1",
|
|
3207
3227
|
type: StDisclosure,
|
|
3208
3228
|
isStandalone: true,
|
|
3209
3229
|
selector: "st-disclosure",
|
|
@@ -3298,7 +3318,7 @@ var StDisclosure = class StDisclosure {
|
|
|
3298
3318
|
};
|
|
3299
3319
|
i0.ɵɵngDeclareClassMetadata({
|
|
3300
3320
|
minVersion: "12.0.0",
|
|
3301
|
-
version: "22.2.
|
|
3321
|
+
version: "22.2.1",
|
|
3302
3322
|
ngImport: i0,
|
|
3303
3323
|
type: StDisclosure,
|
|
3304
3324
|
decorators: [{
|
|
@@ -3388,22 +3408,22 @@ var StAccordion = class StAccordion {
|
|
|
3388
3408
|
fenetre = inject(DOCUMENT$1).defaultView;
|
|
3389
3409
|
nomNatif = inject(StIdentifiants).prochain("st-accordion");
|
|
3390
3410
|
exclusif = input(false, {
|
|
3391
|
-
...ngDevMode ? { debugName: "exclusif" } :
|
|
3411
|
+
...ngDevMode ? { debugName: "exclusif" } : /* istanbul ignore next */ {},
|
|
3392
3412
|
transform: booleanAttribute
|
|
3393
3413
|
});
|
|
3394
3414
|
toutAfficher = input(false, {
|
|
3395
|
-
...ngDevMode ? { debugName: "toutAfficher" } :
|
|
3415
|
+
...ngDevMode ? { debugName: "toutAfficher" } : /* istanbul ignore next */ {},
|
|
3396
3416
|
transform: booleanAttribute
|
|
3397
3417
|
});
|
|
3398
|
-
ouverts = model([], ...ngDevMode ? [{ debugName: "ouverts" }] :
|
|
3399
|
-
sections = contentChildren(StDisclosure, ...ngDevMode ? [{ debugName: "sections" }] :
|
|
3418
|
+
ouverts = model([], ...ngDevMode ? [{ debugName: "ouverts" }] : /* istanbul ignore next */ []);
|
|
3419
|
+
sections = contentChildren(StDisclosure, ...ngDevMode ? [{ debugName: "sections" }] : /* istanbul ignore next */ []);
|
|
3400
3420
|
libelles = inject(ST_LIBELLES);
|
|
3401
3421
|
nomPrisEnCharge = this.fenetre !== null && "name" in this.fenetre.HTMLDetailsElement.prototype;
|
|
3402
|
-
boutonToutAfficher = computed(() => this.toutAfficher() && !this.exclusif(), ...ngDevMode ? [{ debugName: "boutonToutAfficher" }] :
|
|
3422
|
+
boutonToutAfficher = computed(() => this.toutAfficher() && !this.exclusif(), ...ngDevMode ? [{ debugName: "boutonToutAfficher" }] : /* istanbul ignore next */ []);
|
|
3403
3423
|
toutEstOuvert = computed(() => {
|
|
3404
3424
|
const sections = this.sections();
|
|
3405
3425
|
return sections.length > 0 && sections.every((section) => section.ouvert());
|
|
3406
|
-
}, ...ngDevMode ? [{ debugName: "toutEstOuvert" }] :
|
|
3426
|
+
}, ...ngDevMode ? [{ debugName: "toutEstOuvert" }] : /* istanbul ignore next */ []);
|
|
3407
3427
|
derniereEcriture = null;
|
|
3408
3428
|
constructor() {
|
|
3409
3429
|
CONTEXTES.set(this, {
|
|
@@ -3461,7 +3481,7 @@ var StAccordion = class StAccordion {
|
|
|
3461
3481
|
}
|
|
3462
3482
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3463
3483
|
minVersion: "12.0.0",
|
|
3464
|
-
version: "22.2.
|
|
3484
|
+
version: "22.2.1",
|
|
3465
3485
|
ngImport: i0,
|
|
3466
3486
|
type: StAccordion,
|
|
3467
3487
|
deps: [],
|
|
@@ -3469,7 +3489,7 @@ var StAccordion = class StAccordion {
|
|
|
3469
3489
|
});
|
|
3470
3490
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3471
3491
|
minVersion: "17.0.0",
|
|
3472
|
-
version: "22.2.
|
|
3492
|
+
version: "22.2.1",
|
|
3473
3493
|
type: StAccordion,
|
|
3474
3494
|
isStandalone: true,
|
|
3475
3495
|
selector: "st-accordion",
|
|
@@ -3534,7 +3554,7 @@ var StAccordion = class StAccordion {
|
|
|
3534
3554
|
};
|
|
3535
3555
|
i0.ɵɵngDeclareClassMetadata({
|
|
3536
3556
|
minVersion: "12.0.0",
|
|
3537
|
-
version: "22.2.
|
|
3557
|
+
version: "22.2.1",
|
|
3538
3558
|
ngImport: i0,
|
|
3539
3559
|
type: StAccordion,
|
|
3540
3560
|
decorators: [{
|
|
@@ -3622,17 +3642,17 @@ var StAttachment = class StAttachment {
|
|
|
3622
3642
|
document = inject(DOCUMENT$1);
|
|
3623
3643
|
libelles = inject(ST_LIBELLES);
|
|
3624
3644
|
locale = inject(ST_LOCALE);
|
|
3625
|
-
nom = input.required(...ngDevMode ? [{ debugName: "nom" }] :
|
|
3626
|
-
type = input.required(...ngDevMode ? [{ debugName: "type" }] :
|
|
3627
|
-
taille = input(null, ...ngDevMode ? [{ debugName: "taille" }] :
|
|
3628
|
-
lien = input(null, ...ngDevMode ? [{ debugName: "lien" }] :
|
|
3629
|
-
date = input(null, ...ngDevMode ? [{ debugName: "date" }] :
|
|
3645
|
+
nom = input.required(...ngDevMode ? [{ debugName: "nom" }] : /* istanbul ignore next */ []);
|
|
3646
|
+
type = input.required(...ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []);
|
|
3647
|
+
taille = input(null, ...ngDevMode ? [{ debugName: "taille" }] : /* istanbul ignore next */ []);
|
|
3648
|
+
lien = input(null, ...ngDevMode ? [{ debugName: "lien" }] : /* istanbul ignore next */ []);
|
|
3649
|
+
date = input(null, ...ngDevMode ? [{ debugName: "date" }] : /* istanbul ignore next */ []);
|
|
3630
3650
|
nouvelOnglet = input(false, {
|
|
3631
|
-
...ngDevMode ? { debugName: "nouvelOnglet" } :
|
|
3651
|
+
...ngDevMode ? { debugName: "nouvelOnglet" } : /* istanbul ignore next */ {},
|
|
3632
3652
|
transform: booleanAttribute
|
|
3633
3653
|
});
|
|
3634
3654
|
enAttente = input(false, {
|
|
3635
|
-
...ngDevMode ? { debugName: "enAttente" } :
|
|
3655
|
+
...ngDevMode ? { debugName: "enAttente" } : /* istanbul ignore next */ {},
|
|
3636
3656
|
transform: booleanAttribute
|
|
3637
3657
|
});
|
|
3638
3658
|
telechargement = output();
|
|
@@ -3640,20 +3660,20 @@ var StAttachment = class StAttachment {
|
|
|
3640
3660
|
if (this.enAttente()) return;
|
|
3641
3661
|
this.telechargement.emit();
|
|
3642
3662
|
}
|
|
3643
|
-
nomAffiche = computed(() => nomAffichable(this.nom()), ...ngDevMode ? [{ debugName: "nomAffiche" }] :
|
|
3663
|
+
nomAffiche = computed(() => nomAffichable(this.nom()), ...ngDevMode ? [{ debugName: "nomAffiche" }] : /* istanbul ignore next */ []);
|
|
3644
3664
|
precision = computed(() => {
|
|
3645
3665
|
const taille = this.taille();
|
|
3646
3666
|
return this.libelles().typeEtTaille(this.type(), taille === null ? null : formaterTaille(taille, this.locale()));
|
|
3647
|
-
}, ...ngDevMode ? [{ debugName: "precision" }] :
|
|
3648
|
-
icone = computed(() => iconeDuFichier(this.type()), ...ngDevMode ? [{ debugName: "icone" }] :
|
|
3667
|
+
}, ...ngDevMode ? [{ debugName: "precision" }] : /* istanbul ignore next */ []);
|
|
3668
|
+
icone = computed(() => iconeDuFichier(this.type()), ...ngDevMode ? [{ debugName: "icone" }] : /* istanbul ignore next */ []);
|
|
3649
3669
|
dateAffichee = computed(() => {
|
|
3650
3670
|
const date = this.date();
|
|
3651
3671
|
return date === null || !estDateIso(date) ? null : this.libelles().ajouteLe(formaterDateLongue(date, this.locale()));
|
|
3652
|
-
}, ...ngDevMode ? [{ debugName: "dateAffichee" }] :
|
|
3672
|
+
}, ...ngDevMode ? [{ debugName: "dateAffichee" }] : /* istanbul ignore next */ []);
|
|
3653
3673
|
lienSur = computed(() => {
|
|
3654
3674
|
const lien = this.lien();
|
|
3655
3675
|
return lien === null ? null : lienDeMemeOrigine(lien, this.document);
|
|
3656
|
-
}, ...ngDevMode ? [{ debugName: "lienSur" }] :
|
|
3676
|
+
}, ...ngDevMode ? [{ debugName: "lienSur" }] : /* istanbul ignore next */ []);
|
|
3657
3677
|
constructor() {
|
|
3658
3678
|
effect(() => {
|
|
3659
3679
|
const lien = this.lien();
|
|
@@ -3669,7 +3689,7 @@ var StAttachment = class StAttachment {
|
|
|
3669
3689
|
}
|
|
3670
3690
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3671
3691
|
minVersion: "12.0.0",
|
|
3672
|
-
version: "22.2.
|
|
3692
|
+
version: "22.2.1",
|
|
3673
3693
|
ngImport: i0,
|
|
3674
3694
|
type: StAttachment,
|
|
3675
3695
|
deps: [],
|
|
@@ -3677,7 +3697,7 @@ var StAttachment = class StAttachment {
|
|
|
3677
3697
|
});
|
|
3678
3698
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3679
3699
|
minVersion: "17.0.0",
|
|
3680
|
-
version: "22.2.
|
|
3700
|
+
version: "22.2.1",
|
|
3681
3701
|
type: StAttachment,
|
|
3682
3702
|
isStandalone: true,
|
|
3683
3703
|
selector: "st-attachment",
|
|
@@ -3783,7 +3803,7 @@ var StAttachment = class StAttachment {
|
|
|
3783
3803
|
};
|
|
3784
3804
|
i0.ɵɵngDeclareClassMetadata({
|
|
3785
3805
|
minVersion: "12.0.0",
|
|
3786
|
-
version: "22.2.
|
|
3806
|
+
version: "22.2.1",
|
|
3787
3807
|
ngImport: i0,
|
|
3788
3808
|
type: StAttachment,
|
|
3789
3809
|
decorators: [{
|
|
@@ -3869,7 +3889,7 @@ const TONS = {
|
|
|
3869
3889
|
"a-fournir": "information",
|
|
3870
3890
|
analyse: "neutre",
|
|
3871
3891
|
sain: "succes",
|
|
3872
|
-
refuse: "
|
|
3892
|
+
refuse: "erreur",
|
|
3873
3893
|
expire: "avertissement",
|
|
3874
3894
|
supprime: "neutre"
|
|
3875
3895
|
};
|
|
@@ -3880,22 +3900,22 @@ var StDocumentList = class StDocumentList {
|
|
|
3880
3900
|
element = inject(ElementRef);
|
|
3881
3901
|
document = inject(DOCUMENT);
|
|
3882
3902
|
injecteur = inject(Injector);
|
|
3883
|
-
documents = input.required(...ngDevMode ? [{ debugName: "documents" }] :
|
|
3884
|
-
etiquette = input.required(...ngDevMode ? [{ debugName: "etiquette" }] :
|
|
3903
|
+
documents = input.required(...ngDevMode ? [{ debugName: "documents" }] : /* istanbul ignore next */ []);
|
|
3904
|
+
etiquette = input.required(...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
3885
3905
|
remplacable = input(false, {
|
|
3886
|
-
...ngDevMode ? { debugName: "remplacable" } :
|
|
3906
|
+
...ngDevMode ? { debugName: "remplacable" } : /* istanbul ignore next */ {},
|
|
3887
3907
|
transform: booleanAttribute
|
|
3888
3908
|
});
|
|
3889
3909
|
supprimable = input(false, {
|
|
3890
|
-
...ngDevMode ? { debugName: "supprimable" } :
|
|
3910
|
+
...ngDevMode ? { debugName: "supprimable" } : /* istanbul ignore next */ {},
|
|
3891
3911
|
transform: booleanAttribute
|
|
3892
3912
|
});
|
|
3893
3913
|
deposable = input(true, {
|
|
3894
|
-
...ngDevMode ? { debugName: "deposable" } :
|
|
3914
|
+
...ngDevMode ? { debugName: "deposable" } : /* istanbul ignore next */ {},
|
|
3895
3915
|
transform: booleanAttribute
|
|
3896
3916
|
});
|
|
3897
3917
|
apercevable = input(false, {
|
|
3898
|
-
...ngDevMode ? { debugName: "apercevable" } :
|
|
3918
|
+
...ngDevMode ? { debugName: "apercevable" } : /* istanbul ignore next */ {},
|
|
3899
3919
|
transform: booleanAttribute
|
|
3900
3920
|
});
|
|
3901
3921
|
telechargement = output();
|
|
@@ -3926,7 +3946,7 @@ var StDocumentList = class StDocumentList {
|
|
|
3926
3946
|
icone,
|
|
3927
3947
|
actions
|
|
3928
3948
|
};
|
|
3929
|
-
}), ...ngDevMode ? [{ debugName: "lignes" }] :
|
|
3949
|
+
}), ...ngDevMode ? [{ debugName: "lignes" }] : /* istanbul ignore next */ []);
|
|
3930
3950
|
constructor() {
|
|
3931
3951
|
let etatsConnus = null;
|
|
3932
3952
|
let ordreConnu = [];
|
|
@@ -3966,9 +3986,7 @@ var StDocumentList = class StDocumentList {
|
|
|
3966
3986
|
case "remplacer":
|
|
3967
3987
|
this.remplacement.emit(cle);
|
|
3968
3988
|
break;
|
|
3969
|
-
case "supprimer":
|
|
3970
|
-
this.suppression.emit(cle);
|
|
3971
|
-
break;
|
|
3989
|
+
case "supprimer": this.suppression.emit(cle);
|
|
3972
3990
|
}
|
|
3973
3991
|
}
|
|
3974
3992
|
garderLeFocus(ordre) {
|
|
@@ -3995,7 +4013,7 @@ var StDocumentList = class StDocumentList {
|
|
|
3995
4013
|
}
|
|
3996
4014
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3997
4015
|
minVersion: "12.0.0",
|
|
3998
|
-
version: "22.2.
|
|
4016
|
+
version: "22.2.1",
|
|
3999
4017
|
ngImport: i0,
|
|
4000
4018
|
type: StDocumentList,
|
|
4001
4019
|
deps: [],
|
|
@@ -4003,7 +4021,7 @@ var StDocumentList = class StDocumentList {
|
|
|
4003
4021
|
});
|
|
4004
4022
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4005
4023
|
minVersion: "17.0.0",
|
|
4006
|
-
version: "22.2.
|
|
4024
|
+
version: "22.2.1",
|
|
4007
4025
|
type: StDocumentList,
|
|
4008
4026
|
isStandalone: true,
|
|
4009
4027
|
selector: "st-document-list",
|
|
@@ -4061,7 +4079,7 @@ var StDocumentList = class StDocumentList {
|
|
|
4061
4079
|
host: { classAttribute: "st-document-list" },
|
|
4062
4080
|
ngImport: i0,
|
|
4063
4081
|
template: "<!-- `role=\"list\"` : sans puces, Safari ne lit plus une liste comme une liste (audit UI du\n 2026-09-27, D-1). -->\n<ul class=\"st-document-list__liste\" role=\"list\" [attr.aria-label]=\"etiquette()\">\n @for (ligne of lignes(); track ligne.cle) {\n <!-- tabindex -1 : la ligne recoit le focus quand le bouton qui l'avait part avec l'etat du\n document (« Deposer » d'un document passe en analyse), hors tabulation (D-25). -->\n <li\n class=\"st-document-list__document\"\n tabindex=\"-1\"\n [attr.data-cle]=\"ligne.cle\"\n [attr.data-etat]=\"ligne.document.etat\"\n >\n <div class=\"st-document-list__fichier\">\n @if (ligne.telechargeable) {\n <st-attachment\n [nom]=\"ligne.document.nom\"\n [type]=\"ligne.document.type\"\n [taille]=\"ligne.document.taille ?? null\"\n [lien]=\"ligne.document.lien ?? null\"\n [date]=\"ligne.document.ajouteLe ?? null\"\n [enAttente]=\"ligne.document.enAttente === true\"\n (telechargement)=\"telechargement.emit(ligne.cle)\"\n />\n } @else {\n <span class=\"st-document-list__sans-lien\">\n <st-icon class=\"st-document-list__icone\" [nom]=\"ligne.iconeDuFichier\" />\n <span class=\"st-document-list__nom\" dir=\"ltr\">{{ ligne.nom }}</span>\n </span>\n }\n @if (ligne.document.description; as description) {\n <!-- Isole EN LIGNE (`<bdi>`), et non par `dir=\"auto\"` sur le paragraphe : le bloc garde le\n sens de l'interface, et s'aligne sous le nom de droite a gauche aussi. -->\n <p class=\"st-document-list__precision\">\n <bdi>{{ affichable(description) }}</bdi>\n </p>\n }\n @if (ligne.document.etat === 'refuse' && ligne.document.raison) {\n <p class=\"st-document-list__raison\">\n <bdi>{{ affichable(ligne.document.raison) }}</bdi>\n </p>\n }\n </div>\n <st-status-pill\n class=\"st-document-list__etat\"\n taille=\"sm\"\n [statut]=\"ligne.document.etat\"\n [libelle]=\"libelles().etatDeDocument(ligne.document.etat)\"\n [ton]=\"ligne.ton\"\n [icone]=\"ligne.icone\"\n />\n @if (ligne.actions.length > 0) {\n <div class=\"st-document-list__actions\">\n @for (action of ligne.actions; track action) {\n <button\n stButton\n type=\"button\"\n taille=\"sm\"\n [variante]=\"action === 'deposer' ? 'secondaire' : 'discret'\"\n [attr.aria-label]=\"nomDeLAction(action, ligne.nom)\"\n (click)=\"agir(action, ligne.cle)\"\n >\n {{ texteDe(action) }}\n </button>\n }\n </div>\n }\n </li>\n } @empty {\n <li class=\"st-document-list__vide\" tabindex=\"-1\">{{ libelles().listeVide }}</li>\n }\n</ul>\n<span class=\"st-vh\" aria-live=\"polite\">{{ annonce.texte() }}</span>\n",
|
|
4064
|
-
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;container-type:inline-size}.st-document-list__liste{padding:0;margin:0;list-style:none}.st-document-list__document{display:grid;gap:var(--st-espacement-2);justify-items:start;padding-block:var(--st-espacement-3)}.st-document-list__document+.st-document-list__document{border-block-start:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}.st-document-list__document:focus-visible,.st-document-list__vide: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-document-list__fichier{min-inline-size:0}.st-document-list__sans-lien{display:inline-flex;gap:var(--st-espacement-2);align-items:flex-start}.st-document-list__icone{flex:none;margin-block-start:var(--st-espacement-demi);color:var(--st-couleur-texte-discret)}.st-document-list__nom{overflow-wrap:anywhere;unicode-bidi:isolate}.st-document-list__precision,.st-document-list__raison{padding-inline-start:calc(1.25 * var(--st-taille-md) + var(--st-espacement-2));margin:var(--st-espacement-1) 0 0;font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}.st-document-list__raison{color:var(--st-couleur-
|
|
4082
|
+
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;container-type:inline-size}.st-document-list__liste{padding:0;margin:0;list-style:none}.st-document-list__document{display:grid;gap:var(--st-espacement-2);justify-items:start;padding-block:var(--st-espacement-3)}.st-document-list__document+.st-document-list__document{border-block-start:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}.st-document-list__document:focus-visible,.st-document-list__vide: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-document-list__fichier{min-inline-size:0}.st-document-list__sans-lien{display:inline-flex;gap:var(--st-espacement-2);align-items:flex-start}.st-document-list__icone{flex:none;margin-block-start:var(--st-espacement-demi);color:var(--st-couleur-texte-discret)}.st-document-list__nom{overflow-wrap:anywhere;unicode-bidi:isolate}.st-document-list__precision,.st-document-list__raison{padding-inline-start:calc(1.25 * var(--st-taille-md) + var(--st-espacement-2));margin:var(--st-espacement-1) 0 0;font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}.st-document-list__raison{color:var(--st-couleur-erreur)}.st-document-list__actions{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2)}.st-document-list__vide{padding-block:var(--st-espacement-3);color:var(--st-couleur-texte-discret)}@container (min-width: 30rem){.st-document-list__liste{display:grid;grid-template-columns:minmax(0,1fr) auto auto;column-gap:var(--st-espacement-4)}.st-document-list__document{grid-template-columns:subgrid;grid-column:1/-1;align-items:center}.st-document-list__actions{justify-self:end}.st-document-list__vide{grid-column:1/-1}}\n"],
|
|
4065
4083
|
dependencies: [
|
|
4066
4084
|
{
|
|
4067
4085
|
kind: "component",
|
|
@@ -4129,7 +4147,7 @@ var StDocumentList = class StDocumentList {
|
|
|
4129
4147
|
};
|
|
4130
4148
|
i0.ɵɵngDeclareClassMetadata({
|
|
4131
4149
|
minVersion: "12.0.0",
|
|
4132
|
-
version: "22.2.
|
|
4150
|
+
version: "22.2.1",
|
|
4133
4151
|
ngImport: i0,
|
|
4134
4152
|
type: StDocumentList,
|
|
4135
4153
|
decorators: [{
|
|
@@ -4145,7 +4163,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4145
4163
|
],
|
|
4146
4164
|
host: { class: "st-document-list" },
|
|
4147
4165
|
template: "<!-- `role=\"list\"` : sans puces, Safari ne lit plus une liste comme une liste (audit UI du\n 2026-09-27, D-1). -->\n<ul class=\"st-document-list__liste\" role=\"list\" [attr.aria-label]=\"etiquette()\">\n @for (ligne of lignes(); track ligne.cle) {\n <!-- tabindex -1 : la ligne recoit le focus quand le bouton qui l'avait part avec l'etat du\n document (« Deposer » d'un document passe en analyse), hors tabulation (D-25). -->\n <li\n class=\"st-document-list__document\"\n tabindex=\"-1\"\n [attr.data-cle]=\"ligne.cle\"\n [attr.data-etat]=\"ligne.document.etat\"\n >\n <div class=\"st-document-list__fichier\">\n @if (ligne.telechargeable) {\n <st-attachment\n [nom]=\"ligne.document.nom\"\n [type]=\"ligne.document.type\"\n [taille]=\"ligne.document.taille ?? null\"\n [lien]=\"ligne.document.lien ?? null\"\n [date]=\"ligne.document.ajouteLe ?? null\"\n [enAttente]=\"ligne.document.enAttente === true\"\n (telechargement)=\"telechargement.emit(ligne.cle)\"\n />\n } @else {\n <span class=\"st-document-list__sans-lien\">\n <st-icon class=\"st-document-list__icone\" [nom]=\"ligne.iconeDuFichier\" />\n <span class=\"st-document-list__nom\" dir=\"ltr\">{{ ligne.nom }}</span>\n </span>\n }\n @if (ligne.document.description; as description) {\n <!-- Isole EN LIGNE (`<bdi>`), et non par `dir=\"auto\"` sur le paragraphe : le bloc garde le\n sens de l'interface, et s'aligne sous le nom de droite a gauche aussi. -->\n <p class=\"st-document-list__precision\">\n <bdi>{{ affichable(description) }}</bdi>\n </p>\n }\n @if (ligne.document.etat === 'refuse' && ligne.document.raison) {\n <p class=\"st-document-list__raison\">\n <bdi>{{ affichable(ligne.document.raison) }}</bdi>\n </p>\n }\n </div>\n <st-status-pill\n class=\"st-document-list__etat\"\n taille=\"sm\"\n [statut]=\"ligne.document.etat\"\n [libelle]=\"libelles().etatDeDocument(ligne.document.etat)\"\n [ton]=\"ligne.ton\"\n [icone]=\"ligne.icone\"\n />\n @if (ligne.actions.length > 0) {\n <div class=\"st-document-list__actions\">\n @for (action of ligne.actions; track action) {\n <button\n stButton\n type=\"button\"\n taille=\"sm\"\n [variante]=\"action === 'deposer' ? 'secondaire' : 'discret'\"\n [attr.aria-label]=\"nomDeLAction(action, ligne.nom)\"\n (click)=\"agir(action, ligne.cle)\"\n >\n {{ texteDe(action) }}\n </button>\n }\n </div>\n }\n </li>\n } @empty {\n <li class=\"st-document-list__vide\" tabindex=\"-1\">{{ libelles().listeVide }}</li>\n }\n</ul>\n<span class=\"st-vh\" aria-live=\"polite\">{{ annonce.texte() }}</span>\n",
|
|
4148
|
-
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;container-type:inline-size}.st-document-list__liste{padding:0;margin:0;list-style:none}.st-document-list__document{display:grid;gap:var(--st-espacement-2);justify-items:start;padding-block:var(--st-espacement-3)}.st-document-list__document+.st-document-list__document{border-block-start:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}.st-document-list__document:focus-visible,.st-document-list__vide: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-document-list__fichier{min-inline-size:0}.st-document-list__sans-lien{display:inline-flex;gap:var(--st-espacement-2);align-items:flex-start}.st-document-list__icone{flex:none;margin-block-start:var(--st-espacement-demi);color:var(--st-couleur-texte-discret)}.st-document-list__nom{overflow-wrap:anywhere;unicode-bidi:isolate}.st-document-list__precision,.st-document-list__raison{padding-inline-start:calc(1.25 * var(--st-taille-md) + var(--st-espacement-2));margin:var(--st-espacement-1) 0 0;font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}.st-document-list__raison{color:var(--st-couleur-
|
|
4166
|
+
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;container-type:inline-size}.st-document-list__liste{padding:0;margin:0;list-style:none}.st-document-list__document{display:grid;gap:var(--st-espacement-2);justify-items:start;padding-block:var(--st-espacement-3)}.st-document-list__document+.st-document-list__document{border-block-start:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}.st-document-list__document:focus-visible,.st-document-list__vide: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-document-list__fichier{min-inline-size:0}.st-document-list__sans-lien{display:inline-flex;gap:var(--st-espacement-2);align-items:flex-start}.st-document-list__icone{flex:none;margin-block-start:var(--st-espacement-demi);color:var(--st-couleur-texte-discret)}.st-document-list__nom{overflow-wrap:anywhere;unicode-bidi:isolate}.st-document-list__precision,.st-document-list__raison{padding-inline-start:calc(1.25 * var(--st-taille-md) + var(--st-espacement-2));margin:var(--st-espacement-1) 0 0;font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}.st-document-list__raison{color:var(--st-couleur-erreur)}.st-document-list__actions{display:flex;flex-wrap:wrap;gap:var(--st-espacement-2)}.st-document-list__vide{padding-block:var(--st-espacement-3);color:var(--st-couleur-texte-discret)}@container (min-width: 30rem){.st-document-list__liste{display:grid;grid-template-columns:minmax(0,1fr) auto auto;column-gap:var(--st-espacement-4)}.st-document-list__document{grid-template-columns:subgrid;grid-column:1/-1;align-items:center}.st-document-list__actions{justify-self:end}.st-document-list__vide{grid-column:1/-1}}\n"]
|
|
4149
4167
|
}]
|
|
4150
4168
|
}],
|
|
4151
4169
|
ctorParameters: () => [],
|
|
@@ -4223,20 +4241,20 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4223
4241
|
var StReviewList = class StReviewList {
|
|
4224
4242
|
affichable = sansCommandesDeDirection;
|
|
4225
4243
|
libelles = inject(ST_LIBELLES);
|
|
4226
|
-
elements = input.required(...ngDevMode ? [{ debugName: "elements" }] :
|
|
4244
|
+
elements = input.required(...ngDevMode ? [{ debugName: "elements" }] : /* istanbul ignore next */ []);
|
|
4227
4245
|
modification = output();
|
|
4228
|
-
gabarits = contentChildren(StDescription, ...ngDevMode ? [{ debugName: "gabarits" }] :
|
|
4246
|
+
gabarits = contentChildren(StDescription, ...ngDevMode ? [{ debugName: "gabarits" }] : /* istanbul ignore next */ []);
|
|
4229
4247
|
lignes = computed(() => lignesDeDescription(this.elements(), new Map(this.gabarits().map((gabarit) => [gabarit.cle(), gabarit.gabarit])), "st-review-list").map((ligne) => ({
|
|
4230
4248
|
...ligne,
|
|
4231
4249
|
manquant: ligne.element.obligatoire === true && ligne.element.description === null,
|
|
4232
4250
|
nomDeLAction: `${this.libelles().modifier} ${ligne.element.terme}`
|
|
4233
|
-
})), ...ngDevMode ? [{ debugName: "lignes" }] :
|
|
4251
|
+
})), ...ngDevMode ? [{ debugName: "lignes" }] : /* istanbul ignore next */ []);
|
|
4234
4252
|
modifier(element) {
|
|
4235
4253
|
this.modification.emit(element.cle ?? element.terme);
|
|
4236
4254
|
}
|
|
4237
4255
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4238
4256
|
minVersion: "12.0.0",
|
|
4239
|
-
version: "22.2.
|
|
4257
|
+
version: "22.2.1",
|
|
4240
4258
|
ngImport: i0,
|
|
4241
4259
|
type: StReviewList,
|
|
4242
4260
|
deps: [],
|
|
@@ -4244,7 +4262,7 @@ var StReviewList = class StReviewList {
|
|
|
4244
4262
|
});
|
|
4245
4263
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4246
4264
|
minVersion: "17.0.0",
|
|
4247
|
-
version: "22.2.
|
|
4265
|
+
version: "22.2.1",
|
|
4248
4266
|
type: StReviewList,
|
|
4249
4267
|
isStandalone: true,
|
|
4250
4268
|
selector: "st-review-list",
|
|
@@ -4344,7 +4362,7 @@ var StReviewList = class StReviewList {
|
|
|
4344
4362
|
};
|
|
4345
4363
|
i0.ɵɵngDeclareClassMetadata({
|
|
4346
4364
|
minVersion: "12.0.0",
|
|
4347
|
-
version: "22.2.
|
|
4365
|
+
version: "22.2.1",
|
|
4348
4366
|
ngImport: i0,
|
|
4349
4367
|
type: StReviewList,
|
|
4350
4368
|
decorators: [{
|
|
@@ -4398,7 +4416,7 @@ var StActeurDEvenement = class StActeurDEvenement {
|
|
|
4398
4416
|
}
|
|
4399
4417
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4400
4418
|
minVersion: "12.0.0",
|
|
4401
|
-
version: "22.2.
|
|
4419
|
+
version: "22.2.1",
|
|
4402
4420
|
ngImport: i0,
|
|
4403
4421
|
type: StActeurDEvenement,
|
|
4404
4422
|
deps: [],
|
|
@@ -4406,7 +4424,7 @@ var StActeurDEvenement = class StActeurDEvenement {
|
|
|
4406
4424
|
});
|
|
4407
4425
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
4408
4426
|
minVersion: "14.0.0",
|
|
4409
|
-
version: "22.2.
|
|
4427
|
+
version: "22.2.1",
|
|
4410
4428
|
type: StActeurDEvenement,
|
|
4411
4429
|
isStandalone: true,
|
|
4412
4430
|
selector: "ng-template[stActeurDEvenement]",
|
|
@@ -4415,7 +4433,7 @@ var StActeurDEvenement = class StActeurDEvenement {
|
|
|
4415
4433
|
};
|
|
4416
4434
|
i0.ɵɵngDeclareClassMetadata({
|
|
4417
4435
|
minVersion: "12.0.0",
|
|
4418
|
-
version: "22.2.
|
|
4436
|
+
version: "22.2.1",
|
|
4419
4437
|
ngImport: i0,
|
|
4420
4438
|
type: StActeurDEvenement,
|
|
4421
4439
|
decorators: [{
|
|
@@ -4425,7 +4443,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4425
4443
|
});
|
|
4426
4444
|
var StDetailDEvenement = class StDetailDEvenement {
|
|
4427
4445
|
cle = input.required({
|
|
4428
|
-
...ngDevMode ? { debugName: "cle" } :
|
|
4446
|
+
...ngDevMode ? { debugName: "cle" } : /* istanbul ignore next */ {},
|
|
4429
4447
|
alias: "stDetailDEvenement"
|
|
4430
4448
|
});
|
|
4431
4449
|
gabarit = inject(TemplateRef);
|
|
@@ -4434,7 +4452,7 @@ var StDetailDEvenement = class StDetailDEvenement {
|
|
|
4434
4452
|
}
|
|
4435
4453
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4436
4454
|
minVersion: "12.0.0",
|
|
4437
|
-
version: "22.2.
|
|
4455
|
+
version: "22.2.1",
|
|
4438
4456
|
ngImport: i0,
|
|
4439
4457
|
type: StDetailDEvenement,
|
|
4440
4458
|
deps: [],
|
|
@@ -4442,7 +4460,7 @@ var StDetailDEvenement = class StDetailDEvenement {
|
|
|
4442
4460
|
});
|
|
4443
4461
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
4444
4462
|
minVersion: "17.1.0",
|
|
4445
|
-
version: "22.2.
|
|
4463
|
+
version: "22.2.1",
|
|
4446
4464
|
type: StDetailDEvenement,
|
|
4447
4465
|
isStandalone: true,
|
|
4448
4466
|
selector: "ng-template[stDetailDEvenement]",
|
|
@@ -4458,7 +4476,7 @@ var StDetailDEvenement = class StDetailDEvenement {
|
|
|
4458
4476
|
};
|
|
4459
4477
|
i0.ɵɵngDeclareClassMetadata({
|
|
4460
4478
|
minVersion: "12.0.0",
|
|
4461
|
-
version: "22.2.
|
|
4479
|
+
version: "22.2.1",
|
|
4462
4480
|
ngImport: i0,
|
|
4463
4481
|
type: StDetailDEvenement,
|
|
4464
4482
|
decorators: [{
|
|
@@ -4490,6 +4508,7 @@ function prefixeDuTon(ton, libelles) {
|
|
|
4490
4508
|
case "information": return libelles.tonInformation;
|
|
4491
4509
|
case "succes": return libelles.tonSucces;
|
|
4492
4510
|
case "avertissement": return libelles.tonAvertissement;
|
|
4511
|
+
case "erreur": return libelles.tonErreur;
|
|
4493
4512
|
case "danger": return libelles.tonDanger;
|
|
4494
4513
|
}
|
|
4495
4514
|
}
|
|
@@ -4513,36 +4532,47 @@ var StTimeline = class StTimeline {
|
|
|
4513
4532
|
document = inject(DOCUMENT$1);
|
|
4514
4533
|
identifiant = inject(StIdentifiants).prochain("st-timeline");
|
|
4515
4534
|
catalogue = catalogueDesListes();
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4535
|
+
injecteur = inject(Injector);
|
|
4536
|
+
textes = computed(() => this.catalogue().libelles, ...ngDevMode ? [{ debugName: "textes" }] : /* istanbul ignore next */ []);
|
|
4537
|
+
langue = computed(() => this.catalogue().langueDeRepli, ...ngDevMode ? [{ debugName: "langue" }] : /* istanbul ignore next */ []);
|
|
4538
|
+
annonce = new AnnonceLocale(inject(DestroyRef));
|
|
4539
|
+
evenements = input.required(...ngDevMode ? [{ debugName: "evenements" }] : /* istanbul ignore next */ []);
|
|
4540
|
+
etiquette = input.required(...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
4541
|
+
ordre = input("recent-d-abord", ...ngDevMode ? [{ debugName: "ordre" }] : /* istanbul ignore next */ []);
|
|
4542
|
+
niveauDuTitre = input(null, ...ngDevMode ? [{ debugName: "niveauDuTitre" }] : /* istanbul ignore next */ []);
|
|
4520
4543
|
relatif = input(false, {
|
|
4521
|
-
...ngDevMode ? { debugName: "relatif" } :
|
|
4544
|
+
...ngDevMode ? { debugName: "relatif" } : /* istanbul ignore next */ {},
|
|
4522
4545
|
transform: booleanAttribute
|
|
4523
4546
|
});
|
|
4524
4547
|
groupesParJour = input(false, {
|
|
4525
|
-
...ngDevMode ? { debugName: "groupesParJour" } :
|
|
4548
|
+
...ngDevMode ? { debugName: "groupesParJour" } : /* istanbul ignore next */ {},
|
|
4526
4549
|
transform: booleanAttribute
|
|
4527
4550
|
});
|
|
4528
4551
|
compact = input(false, {
|
|
4529
|
-
...ngDevMode ? { debugName: "compact" } :
|
|
4552
|
+
...ngDevMode ? { debugName: "compact" } : /* istanbul ignore next */ {},
|
|
4530
4553
|
transform: booleanAttribute
|
|
4531
4554
|
});
|
|
4532
4555
|
chargement = input(false, {
|
|
4533
|
-
...ngDevMode ? { debugName: "chargement" } :
|
|
4556
|
+
...ngDevMode ? { debugName: "chargement" } : /* istanbul ignore next */ {},
|
|
4534
4557
|
transform: booleanAttribute
|
|
4535
4558
|
});
|
|
4536
4559
|
lignesAttendues = input(3, {
|
|
4537
|
-
...ngDevMode ? { debugName: "lignesAttendues" } :
|
|
4560
|
+
...ngDevMode ? { debugName: "lignesAttendues" } : /* istanbul ignore next */ {},
|
|
4538
4561
|
transform: numberAttribute
|
|
4539
4562
|
});
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4563
|
+
suiteDisponible = input(false, {
|
|
4564
|
+
...ngDevMode ? { debugName: "suiteDisponible" } : /* istanbul ignore next */ {},
|
|
4565
|
+
transform: booleanAttribute
|
|
4566
|
+
});
|
|
4567
|
+
suite = output();
|
|
4568
|
+
nom = computed(() => this.catalogue().libelles.chronologieNommee(this.etiquette(), this.ordre() === "recent-d-abord"), ...ngDevMode ? [{ debugName: "nom" }] : /* istanbul ignore next */ []);
|
|
4569
|
+
gabarits = contentChildren(StDetailDEvenement, ...ngDevMode ? [{ debugName: "gabarits" }] : /* istanbul ignore next */ []);
|
|
4570
|
+
gabaritDActeur = contentChild(StActeurDEvenement, ...ngDevMode ? [{ debugName: "gabaritDActeur" }] : /* istanbul ignore next */ []);
|
|
4571
|
+
maintenant = signal(Date.now(), ...ngDevMode ? [{ debugName: "maintenant" }] : /* istanbul ignore next */ []);
|
|
4572
|
+
rendu = signal(false, ...ngDevMode ? [{ debugName: "rendu" }] : /* istanbul ignore next */ []);
|
|
4545
4573
|
cibleDuFocus = null;
|
|
4574
|
+
suiteDemandee = false;
|
|
4575
|
+
avecSuite = signal(false, ...ngDevMode ? [{ debugName: "avecSuite" }] : /* istanbul ignore next */ []);
|
|
4546
4576
|
clesAffichees = null;
|
|
4547
4577
|
lignes = computed(() => {
|
|
4548
4578
|
const libelles = this.libelles();
|
|
@@ -4590,7 +4620,7 @@ var StTimeline = class StTimeline {
|
|
|
4590
4620
|
if (a.instant === null || b.instant === null) return Number(a.instant === null) - Number(b.instant === null);
|
|
4591
4621
|
return sens * (a.instant - b.instant);
|
|
4592
4622
|
});
|
|
4593
|
-
}, ...ngDevMode ? [{ debugName: "lignes" }] :
|
|
4623
|
+
}, ...ngDevMode ? [{ debugName: "lignes" }] : /* istanbul ignore next */ []);
|
|
4594
4624
|
groupes = computed(() => {
|
|
4595
4625
|
if (!this.groupesParJour()) return [];
|
|
4596
4626
|
const ecrire = new Intl.DateTimeFormat(this.locale(), {
|
|
@@ -4613,7 +4643,7 @@ var StTimeline = class StTimeline {
|
|
|
4613
4643
|
lignes
|
|
4614
4644
|
};
|
|
4615
4645
|
});
|
|
4616
|
-
}, ...ngDevMode ? [{ debugName: "groupes" }] :
|
|
4646
|
+
}, ...ngDevMode ? [{ debugName: "groupes" }] : /* istanbul ignore next */ []);
|
|
4617
4647
|
relatifs = computed(() => {
|
|
4618
4648
|
const relatifs = /* @__PURE__ */ new Map();
|
|
4619
4649
|
if (!this.relatif()) return relatifs;
|
|
@@ -4625,10 +4655,13 @@ var StTimeline = class StTimeline {
|
|
|
4625
4655
|
relatifs.set(evenement.cle, ecart < MINUTE ? this.libelles().aLInstant : ecartRelatif(instant, maintenant, this.locale(), "short"));
|
|
4626
4656
|
}
|
|
4627
4657
|
return relatifs;
|
|
4628
|
-
}, ...ngDevMode ? [{ debugName: "relatifs" }] :
|
|
4629
|
-
squelette = computed(() => this.chargement() && this.evenements().length === 0, ...ngDevMode ? [{ debugName: "squelette" }] :
|
|
4630
|
-
rangsAttendus = computed(() => Array.from({ length: Math.max(1, this.lignesAttendues()) }, (_, rang) => rang), ...ngDevMode ? [{ debugName: "rangsAttendus" }] :
|
|
4658
|
+
}, ...ngDevMode ? [{ debugName: "relatifs" }] : /* istanbul ignore next */ []);
|
|
4659
|
+
squelette = computed(() => this.chargement() && this.evenements().length === 0, ...ngDevMode ? [{ debugName: "squelette" }] : /* istanbul ignore next */ []);
|
|
4660
|
+
rangsAttendus = computed(() => Array.from({ length: Math.max(1, this.lignesAttendues()) }, (_, rang) => rang), ...ngDevMode ? [{ debugName: "rangsAttendus" }] : /* istanbul ignore next */ []);
|
|
4631
4661
|
constructor() {
|
|
4662
|
+
effect(() => {
|
|
4663
|
+
if (this.suiteDisponible()) this.avecSuite.set(true);
|
|
4664
|
+
});
|
|
4632
4665
|
effect(() => {
|
|
4633
4666
|
if (!isDevMode()) return;
|
|
4634
4667
|
for (const { evenement, instant } of this.lignes()) {
|
|
@@ -4645,6 +4678,16 @@ var StTimeline = class StTimeline {
|
|
|
4645
4678
|
if (nouvelles.length === 0) return;
|
|
4646
4679
|
const remplacement = !cles.some((cle) => precedentes.has(cle));
|
|
4647
4680
|
this.cibleDuFocus = (remplacement ? cles[0] : nouvelles[0]) ?? null;
|
|
4681
|
+
if (!this.suiteDemandee) return;
|
|
4682
|
+
this.suiteDemandee = false;
|
|
4683
|
+
if (remplacement) return;
|
|
4684
|
+
const nombre = nouvelles.length;
|
|
4685
|
+
untracked(() => {
|
|
4686
|
+
this.annonce.annoncer(this.textes().evenementsAjoutes(nombre, new Intl.NumberFormat(this.locale()).format(nombre)));
|
|
4687
|
+
});
|
|
4688
|
+
afterNextRender(() => {
|
|
4689
|
+
this.focus();
|
|
4690
|
+
}, { injector: this.injecteur });
|
|
4648
4691
|
});
|
|
4649
4692
|
afterNextRender(() => {
|
|
4650
4693
|
this.rendu.set(true);
|
|
@@ -4687,6 +4730,10 @@ var StTimeline = class StTimeline {
|
|
|
4687
4730
|
this.cibleDuFocus = null;
|
|
4688
4731
|
(visee === null ? evenements.at(-1) : evenements.find((element) => element.dataset["cle"] === visee) ?? evenements[0])?.focus(options);
|
|
4689
4732
|
}
|
|
4733
|
+
demanderLaSuite() {
|
|
4734
|
+
this.suiteDemandee = true;
|
|
4735
|
+
this.suite.emit();
|
|
4736
|
+
}
|
|
4690
4737
|
contexteDActeur(ligne, acteur) {
|
|
4691
4738
|
return {
|
|
4692
4739
|
$implicit: acteur.personne,
|
|
@@ -4695,7 +4742,7 @@ var StTimeline = class StTimeline {
|
|
|
4695
4742
|
}
|
|
4696
4743
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4697
4744
|
minVersion: "12.0.0",
|
|
4698
|
-
version: "22.2.
|
|
4745
|
+
version: "22.2.1",
|
|
4699
4746
|
ngImport: i0,
|
|
4700
4747
|
type: StTimeline,
|
|
4701
4748
|
deps: [],
|
|
@@ -4703,7 +4750,7 @@ var StTimeline = class StTimeline {
|
|
|
4703
4750
|
});
|
|
4704
4751
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4705
4752
|
minVersion: "17.0.0",
|
|
4706
|
-
version: "22.2.
|
|
4753
|
+
version: "22.2.1",
|
|
4707
4754
|
type: StTimeline,
|
|
4708
4755
|
isStandalone: true,
|
|
4709
4756
|
selector: "st-timeline",
|
|
@@ -4770,8 +4817,16 @@ var StTimeline = class StTimeline {
|
|
|
4770
4817
|
isSignal: true,
|
|
4771
4818
|
isRequired: false,
|
|
4772
4819
|
transformFunction: null
|
|
4820
|
+
},
|
|
4821
|
+
suiteDisponible: {
|
|
4822
|
+
classPropertyName: "suiteDisponible",
|
|
4823
|
+
publicName: "suiteDisponible",
|
|
4824
|
+
isSignal: true,
|
|
4825
|
+
isRequired: false,
|
|
4826
|
+
transformFunction: null
|
|
4773
4827
|
}
|
|
4774
4828
|
},
|
|
4829
|
+
outputs: { suite: "suite" },
|
|
4775
4830
|
host: {
|
|
4776
4831
|
properties: { "attr.data-compact": "compact() ? \"\" : null" },
|
|
4777
4832
|
classAttribute: "st-timeline"
|
|
@@ -4788,8 +4843,8 @@ var StTimeline = class StTimeline {
|
|
|
4788
4843
|
isSignal: true
|
|
4789
4844
|
}],
|
|
4790
4845
|
ngImport: i0,
|
|
4791
|
-
template: "@if (squelette()) {\n <!-- Premier chargement : la silhouette des evenements, muette ; `aria-busy` dit l'attente. -->\n <div class=\"st-timeline__squelette\" aria-busy=\"true\">\n @for (rang of rangsAttendus(); track rang) {\n <div class=\"st-timeline__attente\">\n <span class=\"st-timeline__disque\"></span>\n <st-skeleton variante=\"texte\" [lignes]=\"2\" />\n </div>\n }\n </div>\n} @else if (groupesParJour()) {\n <!-- Une liste par jour, nommee par sa date, dans la liste de la chronologie. -->\n <ol\n class=\"st-timeline__liste\"\n role=\"list\"\n [attr.aria-label]=\"nom()\"\n [attr.aria-busy]=\"chargement() ? 'true' : null\"\n >\n @for (groupe of groupes(); track groupe.cle) {\n <li class=\"st-timeline__groupe\">\n <p class=\"st-timeline__jour\" [id]=\"groupe.identifiant\">\n @if (groupe.iso; as iso) {\n <time [attr.datetime]=\"iso\">{{ groupe.libelle }}</time>\n } @else {\n {{ groupe.libelle }}\n }\n </p>\n <ol class=\"st-timeline__liste\" role=\"list\" [attr.aria-labelledby]=\"groupe.identifiant\">\n @for (ligne of groupe.lignes; track ligne.evenement.cle) {\n <ng-container *ngTemplateOutlet=\"evenement; context: { $implicit: ligne }\" />\n }\n </ol>\n </li>\n } @empty {\n <li class=\"st-timeline__vide\">{{ libelles().listeVide }}</li>\n }\n </ol>\n} @else {\n <!-- `role=\"list\"` : sans puces, Safari ne lit plus une liste comme une liste (audit UI du\n 2026-09-27, D-1). -->\n <ol\n class=\"st-timeline__liste\"\n role=\"list\"\n [attr.aria-label]=\"nom()\"\n [attr.aria-busy]=\"chargement() ? 'true' : null\"\n >\n @for (ligne of lignes(); track ligne.evenement.cle) {\n <ng-container *ngTemplateOutlet=\"evenement; context: { $implicit: ligne }\" />\n } @empty {\n <li class=\"st-timeline__vide\">{{ libelles().listeVide }}</li>\n }\n </ol>\n}\n\n<ng-template #evenement let-ligne>\n <!-- tabindex -1 : cible du focus apres « Afficher plus », hors tabulation. -->\n <li\n class=\"st-timeline__evenement\"\n tabindex=\"-1\"\n [attr.data-ton]=\"ligne.ton\"\n [attr.data-cle]=\"ligne.evenement.cle\"\n >\n <st-icon class=\"st-timeline__repere\" [icone]=\"ligne.icone\" [taille]=\"compact() ? '16' : '20'\" />\n <div class=\"st-timeline__corps\">\n @switch (niveauDuTitre()) {\n @case (1) {\n <h1 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h1>\n }\n @case (2) {\n <h2 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h2>\n }\n @case (3) {\n <h3 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h3>\n }\n @case (4) {\n <h4 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h4>\n }\n @case (5) {\n <h5 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h5>\n }\n @case (6) {\n <h6 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h6>\n }\n @default {\n <p class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </p>\n }\n }\n <p class=\"st-timeline__meta\">\n @if (ligne.date; as date) {\n <span class=\"st-timeline__quand\">\n <time [attr.datetime]=\"ligne.iso\">\n @if (groupesParJour() && ligne.heure) {\n <!-- Sous l'en-tete de son jour, l'heure seule a l'oeil ; la date reste lue. -->\n <span class=\"st-vh\">{{ date }}</span\n ><span aria-hidden=\"true\">{{ ligne.heure }}</span>\n } @else {\n {{ date }}\n }\n </time>\n @if (relatifs().get(ligne.evenement.cle); as relatif) {\n <!-- Le relatif en complement, a l'oeil seulement : l'absolu se lit deja. -->\n {{ ' ' }}<span class=\"st-timeline__relatif\" aria-hidden=\"true\">({{ relatif }})</span>\n }\n </span>\n } @else {\n <span>{{ libelles().dateInconnue }}</span>\n }\n @if (ligne.acteur; as acteur) {\n <!-- La phrase garde l'ordre de sa langue ; l'acteur, une donnee, s'y isole (D-4). Avec\n un gabarit (`st-person`), la personne prend la place du nom dans la phrase. -->\n @if (gabaritDActeur(); as gabarit) {\n <span class=\"st-timeline__acteur st-timeline__acteur--gabarit\">\n @if (acteur.avant) {\n <span>{{ acteur.avant }}</span>\n }\n <ng-container\n *ngTemplateOutlet=\"gabarit.gabarit; context: contexteDActeur(ligne, acteur)\"\n />\n @if (acteur.apres) {\n <span>{{ acteur.apres }}</span>\n }\n </span>\n } @else {\n <span class=\"st-timeline__acteur\"\n >{{ acteur.avant }}<bdi>{{ acteur.personne.nom }}</bdi\n >{{ acteur.apres }}</span\n >\n }\n }\n </p>\n @if (ligne.gabarit; as gabarit) {\n <div class=\"st-timeline__detail\">\n <ng-container *ngTemplateOutlet=\"gabarit; context: { $implicit: ligne.evenement }\" />\n </div>\n } @else if (ligne.evenement.description; as description) {\n <!-- Isolee en ligne : le paragraphe garde le sens de l'interface (alignement). -->\n <p class=\"st-timeline__detail\">\n <bdi>{{ affichable(description) }}</bdi>\n </p>\n }\n </div>\n </li>\n</ng-template>\n\n<!-- Le mot du ton ouvre le titre : un titre atteint seul (navigation par titres) le dit aussi. -->\n<ng-template #titre let-ligne>\n @if (ligne.prefixe) {\n <span class=\"st-vh\">{{ ligne.prefixe }}</span>\n }\n <bdi>{{ affichable(ligne.evenement.titre) }}</bdi>\n</ng-template>\n",
|
|
4792
|
-
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-timeline-repere: 1.25rem;display:block}:host([data-compact]){--st-timeline-repere: 1rem}.st-timeline__liste{padding:0;margin:0;list-style:none}.st-timeline__liste[aria-busy=true]{cursor:progress}.st-timeline__evenement{position:relative;display:grid;grid-template-columns:var(--st-timeline-repere) minmax(0,1fr);column-gap:var(--st-espacement-3);padding-block-end:var(--st-espacement-5);border-radius:var(--st-rayon-sm)}.st-timeline__evenement:not(:last-child):before{position:absolute;inset-block:calc(var(--st-timeline-repere) + var(--st-espacement-1)) var(--st-espacement-1);inset-inline-start:calc(var(--st-timeline-repere) / 2);content:\"\";border-inline-start:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}.st-timeline__evenement: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-timeline__evenement{transition:opacity var(--st-duree-normale) var(--st-courbe-standard)}@starting-style{.st-timeline__evenement{opacity:0}}:host([data-compact]) .st-timeline__evenement{column-gap:var(--st-espacement-2);padding-block-end:var(--st-espacement-3)}.st-timeline__repere{color:var(--st-couleur-texte-discret)}:host([data-compact]) .st-timeline__repere{margin-block-start:calc(var(--st-espacement-1) / 2)}.st-timeline__evenement[data-ton=information] .st-timeline__repere{color:var(--st-couleur-information)}.st-timeline__evenement[data-ton=succes] .st-timeline__repere{color:var(--st-couleur-succes)}.st-timeline__evenement[data-ton=avertissement] .st-timeline__repere{color:var(--st-couleur-avertissement)}.st-timeline__evenement[data-ton=danger] .st-timeline__repere{color:var(--st-couleur-danger)}.st-timeline__corps{min-inline-size:0}:host([data-compact]) .st-timeline__corps{display:flex;flex-wrap:wrap;column-gap:var(--st-espacement-2);align-items:baseline}.st-timeline__titre{margin:0;font-size:var(--st-taille-md);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-md);overflow-wrap:anywhere}:host([data-compact]) .st-timeline__titre{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm)}.st-timeline__meta{display:flex;flex-wrap:wrap;column-gap:var(--st-espacement-2);margin:var(--st-espacement-1) 0 0;font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}:host([data-compact]) .st-timeline__meta{margin:0;font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs)}.st-timeline__acteur--gabarit{display:inline-flex;column-gap:var(--st-espacement-1);align-items:center}.st-timeline__detail{margin:var(--st-espacement-2) 0 0;overflow-wrap:anywhere}:host([data-compact]) .st-timeline__detail{flex:1 0 100%;margin-block-start:var(--st-espacement-1);font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm)}.st-timeline__vide{color:var(--st-couleur-texte-discret)}.st-timeline__groupe+.st-timeline__groupe{margin-block-start:var(--st-espacement-2)}.st-timeline__jour{margin:0 0 var(--st-espacement-3);font-size:var(--st-taille-xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-discret);text-transform:uppercase}.st-timeline__attente{display:grid;grid-template-columns:var(--st-timeline-repere) minmax(0,1fr);column-gap:var(--st-espacement-3);padding-block-end:var(--st-espacement-5)}.st-timeline__disque{inline-size:var(--st-timeline-repere);block-size:var(--st-timeline-repere);background:var(--st-couleur-surface-active);border-radius:var(--st-rayon-pleine)}\n"],
|
|
4846
|
+
template: "@if (squelette()) {\n <!-- Premier chargement : la silhouette des evenements, muette ; `aria-busy` dit l'attente. -->\n <div class=\"st-timeline__squelette\" aria-busy=\"true\">\n @for (rang of rangsAttendus(); track rang) {\n <div class=\"st-timeline__attente\">\n <span class=\"st-timeline__disque\"></span>\n <st-skeleton variante=\"texte\" [lignes]=\"2\" />\n </div>\n }\n </div>\n} @else if (groupesParJour()) {\n <!-- Une liste par jour, nommee par sa date, dans la liste de la chronologie. -->\n <ol\n class=\"st-timeline__liste\"\n role=\"list\"\n [attr.aria-label]=\"nom()\"\n [attr.aria-busy]=\"chargement() ? 'true' : null\"\n >\n @for (groupe of groupes(); track groupe.cle) {\n <li class=\"st-timeline__groupe\">\n <p class=\"st-timeline__jour\" [id]=\"groupe.identifiant\">\n @if (groupe.iso; as iso) {\n <time [attr.datetime]=\"iso\">{{ groupe.libelle }}</time>\n } @else {\n {{ groupe.libelle }}\n }\n </p>\n <ol class=\"st-timeline__liste\" role=\"list\" [attr.aria-labelledby]=\"groupe.identifiant\">\n @for (ligne of groupe.lignes; track ligne.evenement.cle) {\n <ng-container *ngTemplateOutlet=\"evenement; context: { $implicit: ligne }\" />\n }\n </ol>\n </li>\n } @empty {\n <li class=\"st-timeline__vide\">{{ libelles().listeVide }}</li>\n }\n </ol>\n} @else {\n <!-- `role=\"list\"` : sans puces, Safari ne lit plus une liste comme une liste (audit UI du\n 2026-09-27, D-1). -->\n <ol\n class=\"st-timeline__liste\"\n role=\"list\"\n [attr.aria-label]=\"nom()\"\n [attr.aria-busy]=\"chargement() ? 'true' : null\"\n >\n @for (ligne of lignes(); track ligne.evenement.cle) {\n <ng-container *ngTemplateOutlet=\"evenement; context: { $implicit: ligne }\" />\n } @empty {\n <li class=\"st-timeline__vide\">{{ libelles().listeVide }}</li>\n }\n </ol>\n}\n\n<!-- P08-14 : la suite, par curseur ; son arrivee prend le focus et s'annonce, une fois. -->\n@if (suiteDisponible() && !squelette()) {\n <button\n stButton\n class=\"st-timeline__suite\"\n type=\"button\"\n variante=\"secondaire\"\n taille=\"sm\"\n [chargement]=\"chargement()\"\n [attr.lang]=\"langue()\"\n (click)=\"demanderLaSuite()\"\n >\n {{\n ordre() === 'recent-d-abord' ? textes().evenementsPlusAnciens : textes().evenementsPlusRecents\n }}\n </button>\n}\n@if (avecSuite()) {\n <span class=\"st-timeline__annonce st-vh\" aria-live=\"polite\" [attr.lang]=\"langue()\">{{\n annonce.texte()\n }}</span>\n}\n\n<ng-template #evenement let-ligne>\n <!-- tabindex -1 : cible du focus apres « Afficher plus », hors tabulation. -->\n <li\n class=\"st-timeline__evenement\"\n tabindex=\"-1\"\n [attr.data-ton]=\"ligne.ton\"\n [attr.data-cle]=\"ligne.evenement.cle\"\n >\n <st-icon class=\"st-timeline__repere\" [icone]=\"ligne.icone\" [taille]=\"compact() ? '16' : '20'\" />\n <div class=\"st-timeline__corps\">\n @switch (niveauDuTitre()) {\n @case (1) {\n <h1 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h1>\n }\n @case (2) {\n <h2 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h2>\n }\n @case (3) {\n <h3 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h3>\n }\n @case (4) {\n <h4 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h4>\n }\n @case (5) {\n <h5 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h5>\n }\n @case (6) {\n <h6 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h6>\n }\n @default {\n <p class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </p>\n }\n }\n <p class=\"st-timeline__meta\">\n @if (ligne.date; as date) {\n <span class=\"st-timeline__quand\">\n <time [attr.datetime]=\"ligne.iso\">\n @if (groupesParJour() && ligne.heure) {\n <!-- Sous l'en-tete de son jour, l'heure seule a l'oeil ; la date reste lue. -->\n <span class=\"st-vh\">{{ date }}</span\n ><span aria-hidden=\"true\">{{ ligne.heure }}</span>\n } @else {\n {{ date }}\n }\n </time>\n @if (relatifs().get(ligne.evenement.cle); as relatif) {\n <!-- Le relatif en complement, a l'oeil seulement : l'absolu se lit deja. -->\n {{ ' ' }}<span class=\"st-timeline__relatif\" aria-hidden=\"true\">({{ relatif }})</span>\n }\n </span>\n } @else {\n <span>{{ libelles().dateInconnue }}</span>\n }\n @if (ligne.acteur; as acteur) {\n <!-- La phrase garde l'ordre de sa langue ; l'acteur, une donnee, s'y isole (D-4). Avec\n un gabarit (`st-person`), la personne prend la place du nom dans la phrase. -->\n @if (gabaritDActeur(); as gabarit) {\n <span class=\"st-timeline__acteur st-timeline__acteur--gabarit\">\n @if (acteur.avant) {\n <span>{{ acteur.avant }}</span>\n }\n <ng-container\n *ngTemplateOutlet=\"gabarit.gabarit; context: contexteDActeur(ligne, acteur)\"\n />\n @if (acteur.apres) {\n <span>{{ acteur.apres }}</span>\n }\n </span>\n } @else {\n <span class=\"st-timeline__acteur\"\n >{{ acteur.avant }}<bdi>{{ acteur.personne.nom }}</bdi\n >{{ acteur.apres }}</span\n >\n }\n }\n </p>\n @if (ligne.gabarit; as gabarit) {\n <div class=\"st-timeline__detail\">\n <ng-container *ngTemplateOutlet=\"gabarit; context: { $implicit: ligne.evenement }\" />\n </div>\n } @else if (ligne.evenement.description; as description) {\n <!-- Isolee en ligne : le paragraphe garde le sens de l'interface (alignement). -->\n <p class=\"st-timeline__detail\">\n <bdi>{{ affichable(description) }}</bdi>\n </p>\n }\n </div>\n </li>\n</ng-template>\n\n<!-- Le mot du ton ouvre le titre : un titre atteint seul (navigation par titres) le dit aussi. -->\n<ng-template #titre let-ligne>\n @if (ligne.prefixe) {\n <span class=\"st-vh\">{{ ligne.prefixe }}</span>\n }\n <bdi>{{ affichable(ligne.evenement.titre) }}</bdi>\n</ng-template>\n",
|
|
4847
|
+
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-timeline-repere: 1.25rem;display:block}:host([data-compact]){--st-timeline-repere: 1rem}.st-timeline__liste{padding:0;margin:0;list-style:none}.st-timeline__liste[aria-busy=true]{cursor:progress}.st-timeline__evenement{position:relative;display:grid;grid-template-columns:var(--st-timeline-repere) minmax(0,1fr);column-gap:var(--st-espacement-3);padding-block-end:var(--st-espacement-5);border-radius:var(--st-rayon-sm)}.st-timeline__evenement:not(:last-child):before{position:absolute;inset-block:calc(var(--st-timeline-repere) + var(--st-espacement-1)) var(--st-espacement-1);inset-inline-start:calc(var(--st-timeline-repere) / 2);content:\"\";border-inline-start:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}.st-timeline__evenement: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-timeline__evenement{transition:opacity var(--st-duree-normale) var(--st-courbe-standard)}@starting-style{.st-timeline__evenement{opacity:0}}:host([data-compact]) .st-timeline__evenement{column-gap:var(--st-espacement-2);padding-block-end:var(--st-espacement-3)}.st-timeline__repere{color:var(--st-couleur-texte-discret)}:host([data-compact]) .st-timeline__repere{margin-block-start:calc(var(--st-espacement-1) / 2)}.st-timeline__evenement[data-ton=information] .st-timeline__repere{color:var(--st-couleur-information)}.st-timeline__evenement[data-ton=succes] .st-timeline__repere{color:var(--st-couleur-succes)}.st-timeline__evenement[data-ton=avertissement] .st-timeline__repere{color:var(--st-couleur-avertissement)}.st-timeline__evenement[data-ton=erreur] .st-timeline__repere{color:var(--st-couleur-erreur)}.st-timeline__evenement[data-ton=danger] .st-timeline__repere{color:var(--st-couleur-danger)}.st-timeline__corps{min-inline-size:0}:host([data-compact]) .st-timeline__corps{display:flex;flex-wrap:wrap;column-gap:var(--st-espacement-2);align-items:baseline}.st-timeline__titre{margin:0;font-size:var(--st-taille-md);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-md);overflow-wrap:anywhere}:host([data-compact]) .st-timeline__titre{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm)}.st-timeline__meta{display:flex;flex-wrap:wrap;column-gap:var(--st-espacement-2);margin:var(--st-espacement-1) 0 0;font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}:host([data-compact]) .st-timeline__meta{margin:0;font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs)}.st-timeline__acteur--gabarit{display:inline-flex;column-gap:var(--st-espacement-1);align-items:center}.st-timeline__detail{margin:var(--st-espacement-2) 0 0;overflow-wrap:anywhere}:host([data-compact]) .st-timeline__detail{flex:1 0 100%;margin-block-start:var(--st-espacement-1);font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm)}.st-timeline__vide{color:var(--st-couleur-texte-discret)}.st-timeline__groupe+.st-timeline__groupe{margin-block-start:var(--st-espacement-2)}.st-timeline__jour{margin:0 0 var(--st-espacement-3);font-size:var(--st-taille-xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-discret);text-transform:uppercase}.st-timeline__attente{display:grid;grid-template-columns:var(--st-timeline-repere) minmax(0,1fr);column-gap:var(--st-espacement-3);padding-block-end:var(--st-espacement-5)}.st-timeline__disque{inline-size:var(--st-timeline-repere);block-size:var(--st-timeline-repere);background:var(--st-couleur-surface-active);border-radius:var(--st-rayon-pleine)}.st-timeline__suite{margin-block-start:var(--st-espacement-3)}\n"],
|
|
4793
4848
|
dependencies: [
|
|
4794
4849
|
{
|
|
4795
4850
|
kind: "directive",
|
|
@@ -4801,6 +4856,21 @@ var StTimeline = class StTimeline {
|
|
|
4801
4856
|
"ngTemplateOutletInjector"
|
|
4802
4857
|
]
|
|
4803
4858
|
},
|
|
4859
|
+
{
|
|
4860
|
+
kind: "component",
|
|
4861
|
+
type: StButton,
|
|
4862
|
+
selector: "button[stButton]",
|
|
4863
|
+
inputs: [
|
|
4864
|
+
"variante",
|
|
4865
|
+
"taille",
|
|
4866
|
+
"pleineLargeur",
|
|
4867
|
+
"iconeAvant",
|
|
4868
|
+
"iconeApres",
|
|
4869
|
+
"chargement",
|
|
4870
|
+
"indisponible",
|
|
4871
|
+
"raisonIndisponible"
|
|
4872
|
+
]
|
|
4873
|
+
},
|
|
4804
4874
|
{
|
|
4805
4875
|
kind: "component",
|
|
4806
4876
|
type: StIcon,
|
|
@@ -4836,7 +4906,7 @@ var StTimeline = class StTimeline {
|
|
|
4836
4906
|
};
|
|
4837
4907
|
i0.ɵɵngDeclareClassMetadata({
|
|
4838
4908
|
minVersion: "12.0.0",
|
|
4839
|
-
version: "22.2.
|
|
4909
|
+
version: "22.2.1",
|
|
4840
4910
|
ngImport: i0,
|
|
4841
4911
|
type: StTimeline,
|
|
4842
4912
|
decorators: [{
|
|
@@ -4846,6 +4916,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4846
4916
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4847
4917
|
imports: [
|
|
4848
4918
|
NgTemplateOutlet,
|
|
4919
|
+
StButton,
|
|
4849
4920
|
StIcon,
|
|
4850
4921
|
StSkeleton
|
|
4851
4922
|
],
|
|
@@ -4853,8 +4924,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4853
4924
|
class: "st-timeline",
|
|
4854
4925
|
"[attr.data-compact]": "compact() ? \"\" : null"
|
|
4855
4926
|
},
|
|
4856
|
-
template: "@if (squelette()) {\n <!-- Premier chargement : la silhouette des evenements, muette ; `aria-busy` dit l'attente. -->\n <div class=\"st-timeline__squelette\" aria-busy=\"true\">\n @for (rang of rangsAttendus(); track rang) {\n <div class=\"st-timeline__attente\">\n <span class=\"st-timeline__disque\"></span>\n <st-skeleton variante=\"texte\" [lignes]=\"2\" />\n </div>\n }\n </div>\n} @else if (groupesParJour()) {\n <!-- Une liste par jour, nommee par sa date, dans la liste de la chronologie. -->\n <ol\n class=\"st-timeline__liste\"\n role=\"list\"\n [attr.aria-label]=\"nom()\"\n [attr.aria-busy]=\"chargement() ? 'true' : null\"\n >\n @for (groupe of groupes(); track groupe.cle) {\n <li class=\"st-timeline__groupe\">\n <p class=\"st-timeline__jour\" [id]=\"groupe.identifiant\">\n @if (groupe.iso; as iso) {\n <time [attr.datetime]=\"iso\">{{ groupe.libelle }}</time>\n } @else {\n {{ groupe.libelle }}\n }\n </p>\n <ol class=\"st-timeline__liste\" role=\"list\" [attr.aria-labelledby]=\"groupe.identifiant\">\n @for (ligne of groupe.lignes; track ligne.evenement.cle) {\n <ng-container *ngTemplateOutlet=\"evenement; context: { $implicit: ligne }\" />\n }\n </ol>\n </li>\n } @empty {\n <li class=\"st-timeline__vide\">{{ libelles().listeVide }}</li>\n }\n </ol>\n} @else {\n <!-- `role=\"list\"` : sans puces, Safari ne lit plus une liste comme une liste (audit UI du\n 2026-09-27, D-1). -->\n <ol\n class=\"st-timeline__liste\"\n role=\"list\"\n [attr.aria-label]=\"nom()\"\n [attr.aria-busy]=\"chargement() ? 'true' : null\"\n >\n @for (ligne of lignes(); track ligne.evenement.cle) {\n <ng-container *ngTemplateOutlet=\"evenement; context: { $implicit: ligne }\" />\n } @empty {\n <li class=\"st-timeline__vide\">{{ libelles().listeVide }}</li>\n }\n </ol>\n}\n\n<ng-template #evenement let-ligne>\n <!-- tabindex -1 : cible du focus apres « Afficher plus », hors tabulation. -->\n <li\n class=\"st-timeline__evenement\"\n tabindex=\"-1\"\n [attr.data-ton]=\"ligne.ton\"\n [attr.data-cle]=\"ligne.evenement.cle\"\n >\n <st-icon class=\"st-timeline__repere\" [icone]=\"ligne.icone\" [taille]=\"compact() ? '16' : '20'\" />\n <div class=\"st-timeline__corps\">\n @switch (niveauDuTitre()) {\n @case (1) {\n <h1 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h1>\n }\n @case (2) {\n <h2 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h2>\n }\n @case (3) {\n <h3 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h3>\n }\n @case (4) {\n <h4 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h4>\n }\n @case (5) {\n <h5 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h5>\n }\n @case (6) {\n <h6 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h6>\n }\n @default {\n <p class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </p>\n }\n }\n <p class=\"st-timeline__meta\">\n @if (ligne.date; as date) {\n <span class=\"st-timeline__quand\">\n <time [attr.datetime]=\"ligne.iso\">\n @if (groupesParJour() && ligne.heure) {\n <!-- Sous l'en-tete de son jour, l'heure seule a l'oeil ; la date reste lue. -->\n <span class=\"st-vh\">{{ date }}</span\n ><span aria-hidden=\"true\">{{ ligne.heure }}</span>\n } @else {\n {{ date }}\n }\n </time>\n @if (relatifs().get(ligne.evenement.cle); as relatif) {\n <!-- Le relatif en complement, a l'oeil seulement : l'absolu se lit deja. -->\n {{ ' ' }}<span class=\"st-timeline__relatif\" aria-hidden=\"true\">({{ relatif }})</span>\n }\n </span>\n } @else {\n <span>{{ libelles().dateInconnue }}</span>\n }\n @if (ligne.acteur; as acteur) {\n <!-- La phrase garde l'ordre de sa langue ; l'acteur, une donnee, s'y isole (D-4). Avec\n un gabarit (`st-person`), la personne prend la place du nom dans la phrase. -->\n @if (gabaritDActeur(); as gabarit) {\n <span class=\"st-timeline__acteur st-timeline__acteur--gabarit\">\n @if (acteur.avant) {\n <span>{{ acteur.avant }}</span>\n }\n <ng-container\n *ngTemplateOutlet=\"gabarit.gabarit; context: contexteDActeur(ligne, acteur)\"\n />\n @if (acteur.apres) {\n <span>{{ acteur.apres }}</span>\n }\n </span>\n } @else {\n <span class=\"st-timeline__acteur\"\n >{{ acteur.avant }}<bdi>{{ acteur.personne.nom }}</bdi\n >{{ acteur.apres }}</span\n >\n }\n }\n </p>\n @if (ligne.gabarit; as gabarit) {\n <div class=\"st-timeline__detail\">\n <ng-container *ngTemplateOutlet=\"gabarit; context: { $implicit: ligne.evenement }\" />\n </div>\n } @else if (ligne.evenement.description; as description) {\n <!-- Isolee en ligne : le paragraphe garde le sens de l'interface (alignement). -->\n <p class=\"st-timeline__detail\">\n <bdi>{{ affichable(description) }}</bdi>\n </p>\n }\n </div>\n </li>\n</ng-template>\n\n<!-- Le mot du ton ouvre le titre : un titre atteint seul (navigation par titres) le dit aussi. -->\n<ng-template #titre let-ligne>\n @if (ligne.prefixe) {\n <span class=\"st-vh\">{{ ligne.prefixe }}</span>\n }\n <bdi>{{ affichable(ligne.evenement.titre) }}</bdi>\n</ng-template>\n",
|
|
4857
|
-
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-timeline-repere: 1.25rem;display:block}:host([data-compact]){--st-timeline-repere: 1rem}.st-timeline__liste{padding:0;margin:0;list-style:none}.st-timeline__liste[aria-busy=true]{cursor:progress}.st-timeline__evenement{position:relative;display:grid;grid-template-columns:var(--st-timeline-repere) minmax(0,1fr);column-gap:var(--st-espacement-3);padding-block-end:var(--st-espacement-5);border-radius:var(--st-rayon-sm)}.st-timeline__evenement:not(:last-child):before{position:absolute;inset-block:calc(var(--st-timeline-repere) + var(--st-espacement-1)) var(--st-espacement-1);inset-inline-start:calc(var(--st-timeline-repere) / 2);content:\"\";border-inline-start:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}.st-timeline__evenement: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-timeline__evenement{transition:opacity var(--st-duree-normale) var(--st-courbe-standard)}@starting-style{.st-timeline__evenement{opacity:0}}:host([data-compact]) .st-timeline__evenement{column-gap:var(--st-espacement-2);padding-block-end:var(--st-espacement-3)}.st-timeline__repere{color:var(--st-couleur-texte-discret)}:host([data-compact]) .st-timeline__repere{margin-block-start:calc(var(--st-espacement-1) / 2)}.st-timeline__evenement[data-ton=information] .st-timeline__repere{color:var(--st-couleur-information)}.st-timeline__evenement[data-ton=succes] .st-timeline__repere{color:var(--st-couleur-succes)}.st-timeline__evenement[data-ton=avertissement] .st-timeline__repere{color:var(--st-couleur-avertissement)}.st-timeline__evenement[data-ton=danger] .st-timeline__repere{color:var(--st-couleur-danger)}.st-timeline__corps{min-inline-size:0}:host([data-compact]) .st-timeline__corps{display:flex;flex-wrap:wrap;column-gap:var(--st-espacement-2);align-items:baseline}.st-timeline__titre{margin:0;font-size:var(--st-taille-md);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-md);overflow-wrap:anywhere}:host([data-compact]) .st-timeline__titre{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm)}.st-timeline__meta{display:flex;flex-wrap:wrap;column-gap:var(--st-espacement-2);margin:var(--st-espacement-1) 0 0;font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}:host([data-compact]) .st-timeline__meta{margin:0;font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs)}.st-timeline__acteur--gabarit{display:inline-flex;column-gap:var(--st-espacement-1);align-items:center}.st-timeline__detail{margin:var(--st-espacement-2) 0 0;overflow-wrap:anywhere}:host([data-compact]) .st-timeline__detail{flex:1 0 100%;margin-block-start:var(--st-espacement-1);font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm)}.st-timeline__vide{color:var(--st-couleur-texte-discret)}.st-timeline__groupe+.st-timeline__groupe{margin-block-start:var(--st-espacement-2)}.st-timeline__jour{margin:0 0 var(--st-espacement-3);font-size:var(--st-taille-xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-discret);text-transform:uppercase}.st-timeline__attente{display:grid;grid-template-columns:var(--st-timeline-repere) minmax(0,1fr);column-gap:var(--st-espacement-3);padding-block-end:var(--st-espacement-5)}.st-timeline__disque{inline-size:var(--st-timeline-repere);block-size:var(--st-timeline-repere);background:var(--st-couleur-surface-active);border-radius:var(--st-rayon-pleine)}\n"]
|
|
4927
|
+
template: "@if (squelette()) {\n <!-- Premier chargement : la silhouette des evenements, muette ; `aria-busy` dit l'attente. -->\n <div class=\"st-timeline__squelette\" aria-busy=\"true\">\n @for (rang of rangsAttendus(); track rang) {\n <div class=\"st-timeline__attente\">\n <span class=\"st-timeline__disque\"></span>\n <st-skeleton variante=\"texte\" [lignes]=\"2\" />\n </div>\n }\n </div>\n} @else if (groupesParJour()) {\n <!-- Une liste par jour, nommee par sa date, dans la liste de la chronologie. -->\n <ol\n class=\"st-timeline__liste\"\n role=\"list\"\n [attr.aria-label]=\"nom()\"\n [attr.aria-busy]=\"chargement() ? 'true' : null\"\n >\n @for (groupe of groupes(); track groupe.cle) {\n <li class=\"st-timeline__groupe\">\n <p class=\"st-timeline__jour\" [id]=\"groupe.identifiant\">\n @if (groupe.iso; as iso) {\n <time [attr.datetime]=\"iso\">{{ groupe.libelle }}</time>\n } @else {\n {{ groupe.libelle }}\n }\n </p>\n <ol class=\"st-timeline__liste\" role=\"list\" [attr.aria-labelledby]=\"groupe.identifiant\">\n @for (ligne of groupe.lignes; track ligne.evenement.cle) {\n <ng-container *ngTemplateOutlet=\"evenement; context: { $implicit: ligne }\" />\n }\n </ol>\n </li>\n } @empty {\n <li class=\"st-timeline__vide\">{{ libelles().listeVide }}</li>\n }\n </ol>\n} @else {\n <!-- `role=\"list\"` : sans puces, Safari ne lit plus une liste comme une liste (audit UI du\n 2026-09-27, D-1). -->\n <ol\n class=\"st-timeline__liste\"\n role=\"list\"\n [attr.aria-label]=\"nom()\"\n [attr.aria-busy]=\"chargement() ? 'true' : null\"\n >\n @for (ligne of lignes(); track ligne.evenement.cle) {\n <ng-container *ngTemplateOutlet=\"evenement; context: { $implicit: ligne }\" />\n } @empty {\n <li class=\"st-timeline__vide\">{{ libelles().listeVide }}</li>\n }\n </ol>\n}\n\n<!-- P08-14 : la suite, par curseur ; son arrivee prend le focus et s'annonce, une fois. -->\n@if (suiteDisponible() && !squelette()) {\n <button\n stButton\n class=\"st-timeline__suite\"\n type=\"button\"\n variante=\"secondaire\"\n taille=\"sm\"\n [chargement]=\"chargement()\"\n [attr.lang]=\"langue()\"\n (click)=\"demanderLaSuite()\"\n >\n {{\n ordre() === 'recent-d-abord' ? textes().evenementsPlusAnciens : textes().evenementsPlusRecents\n }}\n </button>\n}\n@if (avecSuite()) {\n <span class=\"st-timeline__annonce st-vh\" aria-live=\"polite\" [attr.lang]=\"langue()\">{{\n annonce.texte()\n }}</span>\n}\n\n<ng-template #evenement let-ligne>\n <!-- tabindex -1 : cible du focus apres « Afficher plus », hors tabulation. -->\n <li\n class=\"st-timeline__evenement\"\n tabindex=\"-1\"\n [attr.data-ton]=\"ligne.ton\"\n [attr.data-cle]=\"ligne.evenement.cle\"\n >\n <st-icon class=\"st-timeline__repere\" [icone]=\"ligne.icone\" [taille]=\"compact() ? '16' : '20'\" />\n <div class=\"st-timeline__corps\">\n @switch (niveauDuTitre()) {\n @case (1) {\n <h1 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h1>\n }\n @case (2) {\n <h2 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h2>\n }\n @case (3) {\n <h3 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h3>\n }\n @case (4) {\n <h4 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h4>\n }\n @case (5) {\n <h5 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h5>\n }\n @case (6) {\n <h6 class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </h6>\n }\n @default {\n <p class=\"st-timeline__titre\">\n <ng-container *ngTemplateOutlet=\"titre; context: { $implicit: ligne }\" />\n </p>\n }\n }\n <p class=\"st-timeline__meta\">\n @if (ligne.date; as date) {\n <span class=\"st-timeline__quand\">\n <time [attr.datetime]=\"ligne.iso\">\n @if (groupesParJour() && ligne.heure) {\n <!-- Sous l'en-tete de son jour, l'heure seule a l'oeil ; la date reste lue. -->\n <span class=\"st-vh\">{{ date }}</span\n ><span aria-hidden=\"true\">{{ ligne.heure }}</span>\n } @else {\n {{ date }}\n }\n </time>\n @if (relatifs().get(ligne.evenement.cle); as relatif) {\n <!-- Le relatif en complement, a l'oeil seulement : l'absolu se lit deja. -->\n {{ ' ' }}<span class=\"st-timeline__relatif\" aria-hidden=\"true\">({{ relatif }})</span>\n }\n </span>\n } @else {\n <span>{{ libelles().dateInconnue }}</span>\n }\n @if (ligne.acteur; as acteur) {\n <!-- La phrase garde l'ordre de sa langue ; l'acteur, une donnee, s'y isole (D-4). Avec\n un gabarit (`st-person`), la personne prend la place du nom dans la phrase. -->\n @if (gabaritDActeur(); as gabarit) {\n <span class=\"st-timeline__acteur st-timeline__acteur--gabarit\">\n @if (acteur.avant) {\n <span>{{ acteur.avant }}</span>\n }\n <ng-container\n *ngTemplateOutlet=\"gabarit.gabarit; context: contexteDActeur(ligne, acteur)\"\n />\n @if (acteur.apres) {\n <span>{{ acteur.apres }}</span>\n }\n </span>\n } @else {\n <span class=\"st-timeline__acteur\"\n >{{ acteur.avant }}<bdi>{{ acteur.personne.nom }}</bdi\n >{{ acteur.apres }}</span\n >\n }\n }\n </p>\n @if (ligne.gabarit; as gabarit) {\n <div class=\"st-timeline__detail\">\n <ng-container *ngTemplateOutlet=\"gabarit; context: { $implicit: ligne.evenement }\" />\n </div>\n } @else if (ligne.evenement.description; as description) {\n <!-- Isolee en ligne : le paragraphe garde le sens de l'interface (alignement). -->\n <p class=\"st-timeline__detail\">\n <bdi>{{ affichable(description) }}</bdi>\n </p>\n }\n </div>\n </li>\n</ng-template>\n\n<!-- Le mot du ton ouvre le titre : un titre atteint seul (navigation par titres) le dit aussi. -->\n<ng-template #titre let-ligne>\n @if (ligne.prefixe) {\n <span class=\"st-vh\">{{ ligne.prefixe }}</span>\n }\n <bdi>{{ affichable(ligne.evenement.titre) }}</bdi>\n</ng-template>\n",
|
|
4928
|
+
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-timeline-repere: 1.25rem;display:block}:host([data-compact]){--st-timeline-repere: 1rem}.st-timeline__liste{padding:0;margin:0;list-style:none}.st-timeline__liste[aria-busy=true]{cursor:progress}.st-timeline__evenement{position:relative;display:grid;grid-template-columns:var(--st-timeline-repere) minmax(0,1fr);column-gap:var(--st-espacement-3);padding-block-end:var(--st-espacement-5);border-radius:var(--st-rayon-sm)}.st-timeline__evenement:not(:last-child):before{position:absolute;inset-block:calc(var(--st-timeline-repere) + var(--st-espacement-1)) var(--st-espacement-1);inset-inline-start:calc(var(--st-timeline-repere) / 2);content:\"\";border-inline-start:var(--st-epaisseur-fine) solid var(--st-couleur-bordure)}.st-timeline__evenement: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-timeline__evenement{transition:opacity var(--st-duree-normale) var(--st-courbe-standard)}@starting-style{.st-timeline__evenement{opacity:0}}:host([data-compact]) .st-timeline__evenement{column-gap:var(--st-espacement-2);padding-block-end:var(--st-espacement-3)}.st-timeline__repere{color:var(--st-couleur-texte-discret)}:host([data-compact]) .st-timeline__repere{margin-block-start:calc(var(--st-espacement-1) / 2)}.st-timeline__evenement[data-ton=information] .st-timeline__repere{color:var(--st-couleur-information)}.st-timeline__evenement[data-ton=succes] .st-timeline__repere{color:var(--st-couleur-succes)}.st-timeline__evenement[data-ton=avertissement] .st-timeline__repere{color:var(--st-couleur-avertissement)}.st-timeline__evenement[data-ton=erreur] .st-timeline__repere{color:var(--st-couleur-erreur)}.st-timeline__evenement[data-ton=danger] .st-timeline__repere{color:var(--st-couleur-danger)}.st-timeline__corps{min-inline-size:0}:host([data-compact]) .st-timeline__corps{display:flex;flex-wrap:wrap;column-gap:var(--st-espacement-2);align-items:baseline}.st-timeline__titre{margin:0;font-size:var(--st-taille-md);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-md);overflow-wrap:anywhere}:host([data-compact]) .st-timeline__titre{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm)}.st-timeline__meta{display:flex;flex-wrap:wrap;column-gap:var(--st-espacement-2);margin:var(--st-espacement-1) 0 0;font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}:host([data-compact]) .st-timeline__meta{margin:0;font-size:var(--st-taille-xs);line-height:var(--st-interligne-xs)}.st-timeline__acteur--gabarit{display:inline-flex;column-gap:var(--st-espacement-1);align-items:center}.st-timeline__detail{margin:var(--st-espacement-2) 0 0;overflow-wrap:anywhere}:host([data-compact]) .st-timeline__detail{flex:1 0 100%;margin-block-start:var(--st-espacement-1);font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm)}.st-timeline__vide{color:var(--st-couleur-texte-discret)}.st-timeline__groupe+.st-timeline__groupe{margin-block-start:var(--st-espacement-2)}.st-timeline__jour{margin:0 0 var(--st-espacement-3);font-size:var(--st-taille-xs);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-discret);text-transform:uppercase}.st-timeline__attente{display:grid;grid-template-columns:var(--st-timeline-repere) minmax(0,1fr);column-gap:var(--st-espacement-3);padding-block-end:var(--st-espacement-5)}.st-timeline__disque{inline-size:var(--st-timeline-repere);block-size:var(--st-timeline-repere);background:var(--st-couleur-surface-active);border-radius:var(--st-rayon-pleine)}.st-timeline__suite{margin-block-start:var(--st-espacement-3)}\n"]
|
|
4858
4929
|
}]
|
|
4859
4930
|
}],
|
|
4860
4931
|
ctorParameters: () => [],
|
|
@@ -4931,6 +5002,18 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4931
5002
|
required: false
|
|
4932
5003
|
}]
|
|
4933
5004
|
}],
|
|
5005
|
+
suiteDisponible: [{
|
|
5006
|
+
type: i0.Input,
|
|
5007
|
+
args: [{
|
|
5008
|
+
isSignal: true,
|
|
5009
|
+
alias: "suiteDisponible",
|
|
5010
|
+
required: false
|
|
5011
|
+
}]
|
|
5012
|
+
}],
|
|
5013
|
+
suite: [{
|
|
5014
|
+
type: i0.Output,
|
|
5015
|
+
args: ["suite"]
|
|
5016
|
+
}],
|
|
4934
5017
|
gabarits: [{
|
|
4935
5018
|
type: i0.ContentChildren,
|
|
4936
5019
|
args: [i0.forwardRef(() => StDetailDEvenement), { isSignal: true }]
|
|
@@ -4961,7 +5044,7 @@ function motsDeChangement() {
|
|
|
4961
5044
|
}
|
|
4962
5045
|
var StValeurDeChangement = class StValeurDeChangement {
|
|
4963
5046
|
cle = input("", {
|
|
4964
|
-
...ngDevMode ? { debugName: "cle" } :
|
|
5047
|
+
...ngDevMode ? { debugName: "cle" } : /* istanbul ignore next */ {},
|
|
4965
5048
|
alias: "stValeurDeChangement"
|
|
4966
5049
|
});
|
|
4967
5050
|
gabarit = inject(TemplateRef);
|
|
@@ -4970,7 +5053,7 @@ var StValeurDeChangement = class StValeurDeChangement {
|
|
|
4970
5053
|
}
|
|
4971
5054
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4972
5055
|
minVersion: "12.0.0",
|
|
4973
|
-
version: "22.2.
|
|
5056
|
+
version: "22.2.1",
|
|
4974
5057
|
ngImport: i0,
|
|
4975
5058
|
type: StValeurDeChangement,
|
|
4976
5059
|
deps: [],
|
|
@@ -4978,7 +5061,7 @@ var StValeurDeChangement = class StValeurDeChangement {
|
|
|
4978
5061
|
});
|
|
4979
5062
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
4980
5063
|
minVersion: "17.1.0",
|
|
4981
|
-
version: "22.2.
|
|
5064
|
+
version: "22.2.1",
|
|
4982
5065
|
type: StValeurDeChangement,
|
|
4983
5066
|
isStandalone: true,
|
|
4984
5067
|
selector: "ng-template[stValeurDeChangement]",
|
|
@@ -4994,7 +5077,7 @@ var StValeurDeChangement = class StValeurDeChangement {
|
|
|
4994
5077
|
};
|
|
4995
5078
|
i0.ɵɵngDeclareClassMetadata({
|
|
4996
5079
|
minVersion: "12.0.0",
|
|
4997
|
-
version: "22.2.
|
|
5080
|
+
version: "22.2.1",
|
|
4998
5081
|
ngImport: i0,
|
|
4999
5082
|
type: StValeurDeChangement,
|
|
5000
5083
|
decorators: [{
|
|
@@ -5013,12 +5096,12 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5013
5096
|
var StValueChange = class StValueChange {
|
|
5014
5097
|
libelles = inject(ST_LIBELLES);
|
|
5015
5098
|
mots = motsDeChangement();
|
|
5016
|
-
terme = input(null, ...ngDevMode ? [{ debugName: "terme" }] :
|
|
5017
|
-
avant = input(null, ...ngDevMode ? [{ debugName: "avant" }] :
|
|
5018
|
-
apres = input(null, ...ngDevMode ? [{ debugName: "apres" }] :
|
|
5019
|
-
gabarit = contentChild(StValeurDeChangement, ...ngDevMode ? [{ debugName: "gabarit" }] :
|
|
5020
|
-
valeurAvant = computed(() => valeurDeChangement(this.avant()), ...ngDevMode ? [{ debugName: "valeurAvant" }] :
|
|
5021
|
-
valeurApres = computed(() => valeurDeChangement(this.apres()), ...ngDevMode ? [{ debugName: "valeurApres" }] :
|
|
5099
|
+
terme = input(null, ...ngDevMode ? [{ debugName: "terme" }] : /* istanbul ignore next */ []);
|
|
5100
|
+
avant = input(null, ...ngDevMode ? [{ debugName: "avant" }] : /* istanbul ignore next */ []);
|
|
5101
|
+
apres = input(null, ...ngDevMode ? [{ debugName: "apres" }] : /* istanbul ignore next */ []);
|
|
5102
|
+
gabarit = contentChild(StValeurDeChangement, ...ngDevMode ? [{ debugName: "gabarit" }] : /* istanbul ignore next */ []);
|
|
5103
|
+
valeurAvant = computed(() => valeurDeChangement(this.avant()), ...ngDevMode ? [{ debugName: "valeurAvant" }] : /* istanbul ignore next */ []);
|
|
5104
|
+
valeurApres = computed(() => valeurDeChangement(this.apres()), ...ngDevMode ? [{ debugName: "valeurApres" }] : /* istanbul ignore next */ []);
|
|
5022
5105
|
phraseDuTerme = computed(() => {
|
|
5023
5106
|
const nom = valeurDeChangement(this.terme());
|
|
5024
5107
|
if (nom === null) return null;
|
|
@@ -5026,10 +5109,10 @@ var StValueChange = class StValueChange {
|
|
|
5026
5109
|
...autourDuTrou(this.libelles().libelleDeChamp),
|
|
5027
5110
|
nom
|
|
5028
5111
|
};
|
|
5029
|
-
}, ...ngDevMode ? [{ debugName: "phraseDuTerme" }] :
|
|
5112
|
+
}, ...ngDevMode ? [{ debugName: "phraseDuTerme" }] : /* istanbul ignore next */ []);
|
|
5030
5113
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5031
5114
|
minVersion: "12.0.0",
|
|
5032
|
-
version: "22.2.
|
|
5115
|
+
version: "22.2.1",
|
|
5033
5116
|
ngImport: i0,
|
|
5034
5117
|
type: StValueChange,
|
|
5035
5118
|
deps: [],
|
|
@@ -5037,7 +5120,7 @@ var StValueChange = class StValueChange {
|
|
|
5037
5120
|
});
|
|
5038
5121
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5039
5122
|
minVersion: "17.0.0",
|
|
5040
|
-
version: "22.2.
|
|
5123
|
+
version: "22.2.1",
|
|
5041
5124
|
type: StValueChange,
|
|
5042
5125
|
isStandalone: true,
|
|
5043
5126
|
selector: "st-value-change",
|
|
@@ -5105,7 +5188,7 @@ var StValueChange = class StValueChange {
|
|
|
5105
5188
|
};
|
|
5106
5189
|
i0.ɵɵngDeclareClassMetadata({
|
|
5107
5190
|
minVersion: "12.0.0",
|
|
5108
|
-
version: "22.2.
|
|
5191
|
+
version: "22.2.1",
|
|
5109
5192
|
ngImport: i0,
|
|
5110
5193
|
type: StValueChange,
|
|
5111
5194
|
decorators: [{
|
|
@@ -5150,6 +5233,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5150
5233
|
}]
|
|
5151
5234
|
}
|
|
5152
5235
|
});
|
|
5236
|
+
const SEPARATEUR_DE_CHEMIN = " › ";
|
|
5153
5237
|
const ICONES_DE_NATURE = {
|
|
5154
5238
|
ajoute: "plus",
|
|
5155
5239
|
modifie: "crayon",
|
|
@@ -5174,21 +5258,26 @@ var StChangeList = class StChangeList {
|
|
|
5174
5258
|
locale = inject(ST_LOCALE);
|
|
5175
5259
|
catalogue = catalogueDesListes();
|
|
5176
5260
|
mots = motsDeChangement();
|
|
5177
|
-
textes = computed(() => this.catalogue().libelles, ...ngDevMode ? [{ debugName: "textes" }] :
|
|
5178
|
-
langue = computed(() => this.catalogue().langueDeRepli, ...ngDevMode ? [{ debugName: "langue" }] :
|
|
5261
|
+
textes = computed(() => this.catalogue().libelles, ...ngDevMode ? [{ debugName: "textes" }] : /* istanbul ignore next */ []);
|
|
5262
|
+
langue = computed(() => this.catalogue().langueDeRepli, ...ngDevMode ? [{ debugName: "langue" }] : /* istanbul ignore next */ []);
|
|
5179
5263
|
identifiant = inject(StIdentifiants).prochain("st-change-list");
|
|
5180
|
-
changements = input.required(...ngDevMode ? [{ debugName: "changements" }] :
|
|
5181
|
-
legende = input.required(...ngDevMode ? [{ debugName: "legende" }] :
|
|
5182
|
-
|
|
5183
|
-
|
|
5264
|
+
changements = input.required(...ngDevMode ? [{ debugName: "changements" }] : /* istanbul ignore next */ []);
|
|
5265
|
+
legende = input.required(...ngDevMode ? [{ debugName: "legende" }] : /* istanbul ignore next */ []);
|
|
5266
|
+
aucuneDifference = input(false, {
|
|
5267
|
+
...ngDevMode ? { debugName: "aucuneDifference" } : /* istanbul ignore next */ {},
|
|
5268
|
+
transform: booleanAttribute
|
|
5269
|
+
});
|
|
5270
|
+
afficherInchanges = model(false, ...ngDevMode ? [{ debugName: "afficherInchanges" }] : /* istanbul ignore next */ []);
|
|
5271
|
+
gabaritsFournis = input([], ...ngDevMode ? [{ debugName: "gabaritsFournis" }] : /* istanbul ignore next */ []);
|
|
5272
|
+
gabarits = contentChildren(StValeurDeChangement, ...ngDevMode ? [{ debugName: "gabarits" }] : /* istanbul ignore next */ []);
|
|
5184
5273
|
lignes = computed(() => {
|
|
5185
5274
|
const textes = this.textes();
|
|
5186
5275
|
const parCle = /* @__PURE__ */ new Map();
|
|
5187
5276
|
let commun = null;
|
|
5188
|
-
for (const gabarit of this.gabarits()) {
|
|
5277
|
+
for (const gabarit of [...this.gabarits(), ...this.gabaritsFournis()]) {
|
|
5189
5278
|
const cle = gabarit.cle();
|
|
5190
5279
|
if (cle === "") commun ??= gabarit.gabarit;
|
|
5191
|
-
else parCle.set(cle, gabarit.gabarit);
|
|
5280
|
+
else if (!parCle.has(cle)) parCle.set(cle, gabarit.gabarit);
|
|
5192
5281
|
}
|
|
5193
5282
|
return this.changements().map((changement) => {
|
|
5194
5283
|
const avant = valeurDeChangement(changement.avant);
|
|
@@ -5204,23 +5293,48 @@ var StChangeList = class StChangeList {
|
|
|
5204
5293
|
inseree: nature === "modifie" || nature === "ajoute",
|
|
5205
5294
|
icone: ICONES_DE_NATURE[nature],
|
|
5206
5295
|
mot: motDeNature(nature, textes),
|
|
5207
|
-
gabarit: parCle.get(changement.cle) ?? commun
|
|
5296
|
+
gabarit: parCle.get(changement.cle) ?? commun,
|
|
5297
|
+
section: (changement.chemin ?? []).map((partie) => valeurDeChangement(partie) ?? "").filter((partie) => partie !== "").join(SEPARATEUR_DE_CHEMIN),
|
|
5298
|
+
sensible: changement.sensible === true
|
|
5208
5299
|
};
|
|
5209
5300
|
});
|
|
5210
|
-
}, ...ngDevMode ? [{ debugName: "lignes" }] :
|
|
5211
|
-
nombreDInchanges = computed(() => this.lignes().filter((ligne) => ligne.nature === "inchange").length, ...ngDevMode ? [{ debugName: "nombreDInchanges" }] :
|
|
5212
|
-
lignesVisibles = computed(() => this.afficherInchanges() ? this.lignes() : this.lignes().filter((ligne) => ligne.nature !== "inchange"), ...ngDevMode ? [{ debugName: "lignesVisibles" }] :
|
|
5301
|
+
}, ...ngDevMode ? [{ debugName: "lignes" }] : /* istanbul ignore next */ []);
|
|
5302
|
+
nombreDInchanges = computed(() => this.lignes().filter((ligne) => ligne.nature === "inchange").length, ...ngDevMode ? [{ debugName: "nombreDInchanges" }] : /* istanbul ignore next */ []);
|
|
5303
|
+
lignesVisibles = computed(() => this.afficherInchanges() ? this.lignes() : this.lignes().filter((ligne) => ligne.nature !== "inchange"), ...ngDevMode ? [{ debugName: "lignesVisibles" }] : /* istanbul ignore next */ []);
|
|
5304
|
+
sections = computed(() => {
|
|
5305
|
+
const parSection = /* @__PURE__ */ new Map();
|
|
5306
|
+
for (const ligne of this.lignesVisibles()) {
|
|
5307
|
+
const lignes = parSection.get(ligne.section);
|
|
5308
|
+
if (lignes === void 0) parSection.set(ligne.section, [ligne]);
|
|
5309
|
+
else lignes.push(ligne);
|
|
5310
|
+
}
|
|
5311
|
+
return [...parSection].map(([cle, lignes]) => ({
|
|
5312
|
+
cle,
|
|
5313
|
+
titre: cle === "" ? null : cle,
|
|
5314
|
+
lignes
|
|
5315
|
+
}));
|
|
5316
|
+
}, ...ngDevMode ? [{ debugName: "sections" }] : /* istanbul ignore next */ []);
|
|
5317
|
+
texteVide = computed(() => this.aucuneDifference() || this.nombreDInchanges() > 0 ? this.textes().aucuneDifference : this.textes().aucuneModification, ...ngDevMode ? [{ debugName: "texteVide" }] : /* istanbul ignore next */ []);
|
|
5213
5318
|
texteDeLaBascule = computed(() => {
|
|
5214
5319
|
const nombre = this.nombreDInchanges();
|
|
5215
5320
|
const enChiffres = new Intl.NumberFormat(this.locale()).format(nombre);
|
|
5216
5321
|
return this.textes().afficherLesChampsInchanges(nombre, enChiffres);
|
|
5217
|
-
}, ...ngDevMode ? [{ debugName: "texteDeLaBascule" }] :
|
|
5322
|
+
}, ...ngDevMode ? [{ debugName: "texteDeLaBascule" }] : /* istanbul ignore next */ []);
|
|
5323
|
+
constructor() {
|
|
5324
|
+
effect(() => {
|
|
5325
|
+
if (!isDevMode()) return;
|
|
5326
|
+
for (const ligne of this.lignes()) {
|
|
5327
|
+
if (!ligne.sensible || ligne.gabarit !== null) continue;
|
|
5328
|
+
console.error(`[st-change-list] "${ligne.changement.cle}" est sensible et n'a aucun gabarit stValeurDeChangement : sa valeur est masquee. Composer st-masked dans le gabarit.`);
|
|
5329
|
+
}
|
|
5330
|
+
});
|
|
5331
|
+
}
|
|
5218
5332
|
basculer() {
|
|
5219
5333
|
this.afficherInchanges.update((montres) => !montres);
|
|
5220
5334
|
}
|
|
5221
5335
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5222
5336
|
minVersion: "12.0.0",
|
|
5223
|
-
version: "22.2.
|
|
5337
|
+
version: "22.2.1",
|
|
5224
5338
|
ngImport: i0,
|
|
5225
5339
|
type: StChangeList,
|
|
5226
5340
|
deps: [],
|
|
@@ -5228,7 +5342,7 @@ var StChangeList = class StChangeList {
|
|
|
5228
5342
|
});
|
|
5229
5343
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5230
5344
|
minVersion: "17.0.0",
|
|
5231
|
-
version: "22.2.
|
|
5345
|
+
version: "22.2.1",
|
|
5232
5346
|
type: StChangeList,
|
|
5233
5347
|
isStandalone: true,
|
|
5234
5348
|
selector: "st-change-list",
|
|
@@ -5247,12 +5361,26 @@ var StChangeList = class StChangeList {
|
|
|
5247
5361
|
isRequired: true,
|
|
5248
5362
|
transformFunction: null
|
|
5249
5363
|
},
|
|
5364
|
+
aucuneDifference: {
|
|
5365
|
+
classPropertyName: "aucuneDifference",
|
|
5366
|
+
publicName: "aucuneDifference",
|
|
5367
|
+
isSignal: true,
|
|
5368
|
+
isRequired: false,
|
|
5369
|
+
transformFunction: null
|
|
5370
|
+
},
|
|
5250
5371
|
afficherInchanges: {
|
|
5251
5372
|
classPropertyName: "afficherInchanges",
|
|
5252
5373
|
publicName: "afficherInchanges",
|
|
5253
5374
|
isSignal: true,
|
|
5254
5375
|
isRequired: false,
|
|
5255
5376
|
transformFunction: null
|
|
5377
|
+
},
|
|
5378
|
+
gabaritsFournis: {
|
|
5379
|
+
classPropertyName: "gabaritsFournis",
|
|
5380
|
+
publicName: "gabaritsFournis",
|
|
5381
|
+
isSignal: true,
|
|
5382
|
+
isRequired: false,
|
|
5383
|
+
transformFunction: null
|
|
5256
5384
|
}
|
|
5257
5385
|
},
|
|
5258
5386
|
outputs: { afficherInchanges: "afficherInchangesChange" },
|
|
@@ -5263,8 +5391,8 @@ var StChangeList = class StChangeList {
|
|
|
5263
5391
|
isSignal: true
|
|
5264
5392
|
}],
|
|
5265
5393
|
ngImport: i0,
|
|
5266
|
-
template: "<table class=\"st-change-list__tableau\" [id]=\"identifiant\">\n <caption class=\"st-change-list__legende\">\n {{\n legende()\n }}\n </caption>\n <thead class=\"st-change-list__entetes\">\n <tr>\n <th scope=\"col\" [attr.lang]=\"langue()\">{{ textes().champ }}</th>\n <th scope=\"col\" [attr.lang]=\"langue()\">{{ textes().avant }}</th>\n <th scope=\"col\" [attr.lang]=\"langue()\">{{ textes().apres }}</th>\n </tr>\n </thead>\n <tbody class=\"st-change-list__corps\">\n
|
|
5267
|
-
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;min-inline-size:0;container-type:inline-size}.st-change-list__tableau{inline-size:100%;border-collapse:collapse}.st-change-list__legende{margin-block-end:var(--st-espacement-3);font-weight:var(--st-graisse-semi);text-align:start}.st-change-list__tableau,.st-change-list__corps,.st-change-list__legende{display:block}.st-change-list__entetes{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.st-change-list__ligne{display:flex;flex-wrap:wrap;gap:var(--st-espacement-1) var(--st-espacement-2);align-items:baseline;padding-block:var(--st-espacement-3)}.st-change-list__ligne+.st-change-list__ligne{border-block-start:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}.st-change-list__ligne>*{padding:0;text-align:start;overflow-wrap:break-word}.st-change-list__champ{flex:1 0 100%;font-weight:var(--st-graisse-normale)}.st-change-list__libelle{display:block;font-weight:var(--st-graisse-moyenne);color:var(--st-couleur-texte)}.st-change-list__nature{display:flex;gap:var(--st-espacement-1);align-items:center;margin-block-start:var(--st-espacement-1);font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}.st-change-list__icone{flex:none}.st-change-list__apres{display:inline-flex;column-gap:var(--st-espacement-2);align-items:baseline;min-inline-size:0}.st-change-list__fleche{flex:none;align-self:flex-start;margin-block-start:calc((1lh - 1rem)/2);color:var(--st-couleur-texte-discret)}.st-change-list__barree{color:var(--st-couleur-texte-discret);text-decoration-line:line-through}.st-change-list__inseree{font-weight:var(--st-graisse-moyenne);color:var(--st-couleur-texte);text-decoration-line:none}.st-change-list__absente{color:var(--st-couleur-texte-attenue)}.st-change-list__vide{flex:1 0 100%;color:var(--st-couleur-texte-discret)}.st-change-list__bascule{margin-block-start:var(--st-espacement-2)}@container (min-width: 30rem){.st-change-list__tableau{display:table}.st-change-list__legende{display:table-caption}.st-change-list__corps{display:table-row-group}.st-change-list__entetes{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal;display:table-header-group}.st-change-list__entetes tr{font-family:var(--st-police-mono);font-size:var(--st-taille-2xs);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-discret);text-transform:uppercase;background:var(--st-couleur-surface-conteneur-bas);border-block-end:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}.st-change-list__entetes th{padding:var(--st-espacement-2) var(--st-espacement-3);font-weight:var(--st-graisse-grasse);text-align:start;white-space:nowrap}.st-change-list__ligne{display:table-row}.st-change-list__ligne>*{display:table-cell;padding:var(--st-espacement-3);vertical-align:top}.st-change-list__champ{inline-size:33%}.st-change-list__fleche{display:none}}@media(forced-colors:active){.st-change-list__inseree{text-decoration-line:underline}}@media print{.st-change-list__bascule{display:none}}\n"],
|
|
5394
|
+
template: "<table class=\"st-change-list__tableau\" [id]=\"identifiant\">\n <caption class=\"st-change-list__legende\">\n {{\n legende()\n }}\n </caption>\n <thead class=\"st-change-list__entetes\">\n <tr>\n <th scope=\"col\" [attr.lang]=\"langue()\">{{ textes().champ }}</th>\n <th scope=\"col\" [attr.lang]=\"langue()\">{{ textes().avant }}</th>\n <th scope=\"col\" [attr.lang]=\"langue()\">{{ textes().apres }}</th>\n </tr>\n </thead>\n @for (section of sections(); track section.cle) {\n <tbody class=\"st-change-list__corps\">\n @if (section.titre; as titre) {\n <!-- Le chemin de la section (P08-14) : un en-tete de groupe, lu avec chacune de ses lignes. -->\n <tr class=\"st-change-list__section\">\n <th scope=\"rowgroup\" colspan=\"3\">\n <bdi>{{ titre }}</bdi>\n </th>\n </tr>\n }\n @for (ligne of section.lignes; track ligne.changement.cle) {\n <tr class=\"st-change-list__ligne\" [attr.data-nature]=\"ligne.nature\">\n <th scope=\"row\" class=\"st-change-list__champ\">\n <!-- Le libelle est une donnee : isole (D-4) dans un bloc qui suit le sens de la page (un\n `bdi` en bloc s'alignerait sur son texte : a gauche, de droite a gauche). Une espace\n le separe de sa nature : un en-tete de ligne se lit d'un tenant. La nature se lit en\n mot, jamais en couleur. -->\n <span class=\"st-change-list__libelle\"\n ><bdi>{{ ligne.libelle }}</bdi></span\n >{{ ' ' }}\n <span class=\"st-change-list__nature\" [attr.lang]=\"langue()\"\n ><st-icon class=\"st-change-list__icone\" [nom]=\"ligne.icone\" taille=\"16\" />{{\n ligne.mot\n }}</span\n >\n </th>\n <td class=\"st-change-list__avant\">\n @if (ligne.avant; as valeur) {\n @if (ligne.barree) {\n <del class=\"st-change-list__barree\"\n ><span class=\"st-vh\" [attr.lang]=\"mots().langue\">{{ mots().avant }}</span\n ><ng-container\n *ngTemplateOutlet=\"\n rendu;\n context: { ligne: ligne, valeur: valeur, cote: 'avant' }\n \"\n /></del>\n } @else {\n <span class=\"st-vh\" [attr.lang]=\"mots().langue\">{{ mots().avant }}</span\n ><ng-container\n *ngTemplateOutlet=\"\n rendu;\n context: { ligne: ligne, valeur: valeur, cote: 'avant' }\n \"\n />\n }\n } @else {\n <ng-container *ngTemplateOutlet=\"absente; context: { mot: mots().avant }\" />\n }\n </td>\n <td class=\"st-change-list__apres\">\n <!-- Empile sous `sm`, la ligne se lit « ancienne → nouvelle » : la fleche est decorative. -->\n <st-icon class=\"st-change-list__fleche\" nom=\"fleche-droite\" taille=\"16\" />\n @if (ligne.apres; as valeur) {\n @if (ligne.inseree) {\n <ins class=\"st-change-list__inseree\"\n ><span class=\"st-vh\" [attr.lang]=\"mots().langue\">{{ mots().apres }}</span\n ><ng-container\n *ngTemplateOutlet=\"\n rendu;\n context: { ligne: ligne, valeur: valeur, cote: 'apres' }\n \"\n /></ins>\n } @else {\n <span class=\"st-vh\" [attr.lang]=\"mots().langue\">{{ mots().apres }}</span\n ><ng-container\n *ngTemplateOutlet=\"\n rendu;\n context: { ligne: ligne, valeur: valeur, cote: 'apres' }\n \"\n />\n }\n } @else {\n <ng-container *ngTemplateOutlet=\"absente; context: { mot: mots().apres }\" />\n }\n </td>\n </tr>\n }\n </tbody>\n } @empty {\n <tbody class=\"st-change-list__corps\">\n <tr class=\"st-change-list__ligne\">\n <td class=\"st-change-list__vide\" colspan=\"3\" [attr.lang]=\"langue()\">\n {{ texteVide() }}\n </td>\n </tr>\n </tbody>\n }\n</table>\n@if (nombreDInchanges() > 0) {\n <!-- Bouton bascule (APG) : son nom ne change pas, `aria-pressed` dit s'il est enfonce. -->\n <button\n stButton\n type=\"button\"\n class=\"st-change-list__bascule\"\n variante=\"discret\"\n taille=\"sm\"\n [attr.aria-pressed]=\"afficherInchanges()\"\n [attr.aria-controls]=\"identifiant\"\n [attr.lang]=\"langue()\"\n (click)=\"basculer()\"\n >\n {{ texteDeLaBascule() }}\n </button>\n}\n\n<ng-template #rendu let-ligne=\"ligne\" let-valeur=\"valeur\" let-cote=\"cote\">\n @if (ligne.gabarit; as gabarit) {\n <ng-container\n *ngTemplateOutlet=\"\n gabarit;\n context: { $implicit: valeur, cote: cote, cle: ligne.changement.cle }\n \"\n />\n } @else if (ligne.sensible) {\n <!-- Sensible sans gabarit (P08-14) : jamais en clair. Le gabarit compose st-masked. -->\n <span class=\"st-change-list__masquee\" [attr.lang]=\"langue()\">{{ textes().valeurMasquee }}</span>\n } @else {\n <bdi>{{ valeur }}</bdi>\n }\n</ng-template>\n\n<!-- Rien avant, ou rien apres : un tiret a l'oeil, « Non renseigne » a l'oreille. -->\n<ng-template #absente let-mot=\"mot\">\n <span class=\"st-vh\" [attr.lang]=\"mots().langue\">{{ mot }}</span\n ><span class=\"st-change-list__absente\" aria-hidden=\"true\">—</span\n ><span class=\"st-vh\">{{ libelles().nonRenseigne }}</span>\n</ng-template>\n",
|
|
5395
|
+
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;min-inline-size:0;container-type:inline-size}.st-change-list__tableau{inline-size:100%;border-collapse:collapse}.st-change-list__legende{margin-block-end:var(--st-espacement-3);font-weight:var(--st-graisse-semi);text-align:start}.st-change-list__tableau,.st-change-list__corps,.st-change-list__legende{display:block}.st-change-list__entetes{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.st-change-list__ligne{display:flex;flex-wrap:wrap;gap:var(--st-espacement-1) var(--st-espacement-2);align-items:baseline;padding-block:var(--st-espacement-3)}.st-change-list__ligne+.st-change-list__ligne{border-block-start:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}.st-change-list__ligne>*{padding:0;text-align:start;overflow-wrap:break-word}.st-change-list__champ{flex:1 0 100%;font-weight:var(--st-graisse-normale)}.st-change-list__libelle{display:block;font-weight:var(--st-graisse-moyenne);color:var(--st-couleur-texte)}.st-change-list__nature{display:flex;gap:var(--st-espacement-1);align-items:center;margin-block-start:var(--st-espacement-1);font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}.st-change-list__icone{flex:none}.st-change-list__apres{display:inline-flex;column-gap:var(--st-espacement-2);align-items:baseline;min-inline-size:0}.st-change-list__fleche{flex:none;align-self:flex-start;margin-block-start:calc((1lh - 1rem)/2);color:var(--st-couleur-texte-discret)}.st-change-list__barree{color:var(--st-couleur-texte-discret);text-decoration-line:line-through}.st-change-list__inseree{font-weight:var(--st-graisse-moyenne);color:var(--st-couleur-texte);text-decoration-line:none}.st-change-list__absente{color:var(--st-couleur-texte-attenue)}.st-change-list__section{display:block;padding-block:var(--st-espacement-3) var(--st-espacement-1)}.st-change-list__section th{display:block;padding:0;font-size:var(--st-taille-sm);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret);text-align:start}.st-change-list__masquee{font-style:italic;color:var(--st-couleur-texte-discret)}.st-change-list__vide{flex:1 0 100%;color:var(--st-couleur-texte-discret)}.st-change-list__bascule{margin-block-start:var(--st-espacement-2)}@container (min-width: 30rem){.st-change-list__tableau{display:table}.st-change-list__legende{display:table-caption}.st-change-list__corps{display:table-row-group}.st-change-list__entetes{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal;display:table-header-group}.st-change-list__entetes tr{font-family:var(--st-police-mono);font-size:var(--st-taille-2xs);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-discret);text-transform:uppercase;background:var(--st-couleur-surface-conteneur-bas);border-block-end:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}.st-change-list__entetes th{padding:var(--st-espacement-2) var(--st-espacement-3);font-weight:var(--st-graisse-grasse);text-align:start;white-space:nowrap}.st-change-list__ligne,.st-change-list__section{display:table-row}.st-change-list__section th{display:table-cell;padding:var(--st-espacement-4) var(--st-espacement-3) var(--st-espacement-1);border-block-start:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}.st-change-list__ligne>*{display:table-cell;padding:var(--st-espacement-3);vertical-align:top}.st-change-list__champ{inline-size:33%}.st-change-list__fleche{display:none}}@media(forced-colors:active){.st-change-list__inseree{text-decoration-line:underline}}@media print{.st-change-list__bascule{display:none}}\n"],
|
|
5268
5396
|
dependencies: [
|
|
5269
5397
|
{
|
|
5270
5398
|
kind: "directive",
|
|
@@ -5313,7 +5441,7 @@ var StChangeList = class StChangeList {
|
|
|
5313
5441
|
};
|
|
5314
5442
|
i0.ɵɵngDeclareClassMetadata({
|
|
5315
5443
|
minVersion: "12.0.0",
|
|
5316
|
-
version: "22.2.
|
|
5444
|
+
version: "22.2.1",
|
|
5317
5445
|
ngImport: i0,
|
|
5318
5446
|
type: StChangeList,
|
|
5319
5447
|
decorators: [{
|
|
@@ -5327,10 +5455,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5327
5455
|
StIcon
|
|
5328
5456
|
],
|
|
5329
5457
|
host: { class: "st-change-list" },
|
|
5330
|
-
template: "<table class=\"st-change-list__tableau\" [id]=\"identifiant\">\n <caption class=\"st-change-list__legende\">\n {{\n legende()\n }}\n </caption>\n <thead class=\"st-change-list__entetes\">\n <tr>\n <th scope=\"col\" [attr.lang]=\"langue()\">{{ textes().champ }}</th>\n <th scope=\"col\" [attr.lang]=\"langue()\">{{ textes().avant }}</th>\n <th scope=\"col\" [attr.lang]=\"langue()\">{{ textes().apres }}</th>\n </tr>\n </thead>\n <tbody class=\"st-change-list__corps\">\n
|
|
5331
|
-
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;min-inline-size:0;container-type:inline-size}.st-change-list__tableau{inline-size:100%;border-collapse:collapse}.st-change-list__legende{margin-block-end:var(--st-espacement-3);font-weight:var(--st-graisse-semi);text-align:start}.st-change-list__tableau,.st-change-list__corps,.st-change-list__legende{display:block}.st-change-list__entetes{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.st-change-list__ligne{display:flex;flex-wrap:wrap;gap:var(--st-espacement-1) var(--st-espacement-2);align-items:baseline;padding-block:var(--st-espacement-3)}.st-change-list__ligne+.st-change-list__ligne{border-block-start:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}.st-change-list__ligne>*{padding:0;text-align:start;overflow-wrap:break-word}.st-change-list__champ{flex:1 0 100%;font-weight:var(--st-graisse-normale)}.st-change-list__libelle{display:block;font-weight:var(--st-graisse-moyenne);color:var(--st-couleur-texte)}.st-change-list__nature{display:flex;gap:var(--st-espacement-1);align-items:center;margin-block-start:var(--st-espacement-1);font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}.st-change-list__icone{flex:none}.st-change-list__apres{display:inline-flex;column-gap:var(--st-espacement-2);align-items:baseline;min-inline-size:0}.st-change-list__fleche{flex:none;align-self:flex-start;margin-block-start:calc((1lh - 1rem)/2);color:var(--st-couleur-texte-discret)}.st-change-list__barree{color:var(--st-couleur-texte-discret);text-decoration-line:line-through}.st-change-list__inseree{font-weight:var(--st-graisse-moyenne);color:var(--st-couleur-texte);text-decoration-line:none}.st-change-list__absente{color:var(--st-couleur-texte-attenue)}.st-change-list__vide{flex:1 0 100%;color:var(--st-couleur-texte-discret)}.st-change-list__bascule{margin-block-start:var(--st-espacement-2)}@container (min-width: 30rem){.st-change-list__tableau{display:table}.st-change-list__legende{display:table-caption}.st-change-list__corps{display:table-row-group}.st-change-list__entetes{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal;display:table-header-group}.st-change-list__entetes tr{font-family:var(--st-police-mono);font-size:var(--st-taille-2xs);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-discret);text-transform:uppercase;background:var(--st-couleur-surface-conteneur-bas);border-block-end:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}.st-change-list__entetes th{padding:var(--st-espacement-2) var(--st-espacement-3);font-weight:var(--st-graisse-grasse);text-align:start;white-space:nowrap}.st-change-list__ligne{display:table-row}.st-change-list__ligne>*{display:table-cell;padding:var(--st-espacement-3);vertical-align:top}.st-change-list__champ{inline-size:33%}.st-change-list__fleche{display:none}}@media(forced-colors:active){.st-change-list__inseree{text-decoration-line:underline}}@media print{.st-change-list__bascule{display:none}}\n"]
|
|
5458
|
+
template: "<table class=\"st-change-list__tableau\" [id]=\"identifiant\">\n <caption class=\"st-change-list__legende\">\n {{\n legende()\n }}\n </caption>\n <thead class=\"st-change-list__entetes\">\n <tr>\n <th scope=\"col\" [attr.lang]=\"langue()\">{{ textes().champ }}</th>\n <th scope=\"col\" [attr.lang]=\"langue()\">{{ textes().avant }}</th>\n <th scope=\"col\" [attr.lang]=\"langue()\">{{ textes().apres }}</th>\n </tr>\n </thead>\n @for (section of sections(); track section.cle) {\n <tbody class=\"st-change-list__corps\">\n @if (section.titre; as titre) {\n <!-- Le chemin de la section (P08-14) : un en-tete de groupe, lu avec chacune de ses lignes. -->\n <tr class=\"st-change-list__section\">\n <th scope=\"rowgroup\" colspan=\"3\">\n <bdi>{{ titre }}</bdi>\n </th>\n </tr>\n }\n @for (ligne of section.lignes; track ligne.changement.cle) {\n <tr class=\"st-change-list__ligne\" [attr.data-nature]=\"ligne.nature\">\n <th scope=\"row\" class=\"st-change-list__champ\">\n <!-- Le libelle est une donnee : isole (D-4) dans un bloc qui suit le sens de la page (un\n `bdi` en bloc s'alignerait sur son texte : a gauche, de droite a gauche). Une espace\n le separe de sa nature : un en-tete de ligne se lit d'un tenant. La nature se lit en\n mot, jamais en couleur. -->\n <span class=\"st-change-list__libelle\"\n ><bdi>{{ ligne.libelle }}</bdi></span\n >{{ ' ' }}\n <span class=\"st-change-list__nature\" [attr.lang]=\"langue()\"\n ><st-icon class=\"st-change-list__icone\" [nom]=\"ligne.icone\" taille=\"16\" />{{\n ligne.mot\n }}</span\n >\n </th>\n <td class=\"st-change-list__avant\">\n @if (ligne.avant; as valeur) {\n @if (ligne.barree) {\n <del class=\"st-change-list__barree\"\n ><span class=\"st-vh\" [attr.lang]=\"mots().langue\">{{ mots().avant }}</span\n ><ng-container\n *ngTemplateOutlet=\"\n rendu;\n context: { ligne: ligne, valeur: valeur, cote: 'avant' }\n \"\n /></del>\n } @else {\n <span class=\"st-vh\" [attr.lang]=\"mots().langue\">{{ mots().avant }}</span\n ><ng-container\n *ngTemplateOutlet=\"\n rendu;\n context: { ligne: ligne, valeur: valeur, cote: 'avant' }\n \"\n />\n }\n } @else {\n <ng-container *ngTemplateOutlet=\"absente; context: { mot: mots().avant }\" />\n }\n </td>\n <td class=\"st-change-list__apres\">\n <!-- Empile sous `sm`, la ligne se lit « ancienne → nouvelle » : la fleche est decorative. -->\n <st-icon class=\"st-change-list__fleche\" nom=\"fleche-droite\" taille=\"16\" />\n @if (ligne.apres; as valeur) {\n @if (ligne.inseree) {\n <ins class=\"st-change-list__inseree\"\n ><span class=\"st-vh\" [attr.lang]=\"mots().langue\">{{ mots().apres }}</span\n ><ng-container\n *ngTemplateOutlet=\"\n rendu;\n context: { ligne: ligne, valeur: valeur, cote: 'apres' }\n \"\n /></ins>\n } @else {\n <span class=\"st-vh\" [attr.lang]=\"mots().langue\">{{ mots().apres }}</span\n ><ng-container\n *ngTemplateOutlet=\"\n rendu;\n context: { ligne: ligne, valeur: valeur, cote: 'apres' }\n \"\n />\n }\n } @else {\n <ng-container *ngTemplateOutlet=\"absente; context: { mot: mots().apres }\" />\n }\n </td>\n </tr>\n }\n </tbody>\n } @empty {\n <tbody class=\"st-change-list__corps\">\n <tr class=\"st-change-list__ligne\">\n <td class=\"st-change-list__vide\" colspan=\"3\" [attr.lang]=\"langue()\">\n {{ texteVide() }}\n </td>\n </tr>\n </tbody>\n }\n</table>\n@if (nombreDInchanges() > 0) {\n <!-- Bouton bascule (APG) : son nom ne change pas, `aria-pressed` dit s'il est enfonce. -->\n <button\n stButton\n type=\"button\"\n class=\"st-change-list__bascule\"\n variante=\"discret\"\n taille=\"sm\"\n [attr.aria-pressed]=\"afficherInchanges()\"\n [attr.aria-controls]=\"identifiant\"\n [attr.lang]=\"langue()\"\n (click)=\"basculer()\"\n >\n {{ texteDeLaBascule() }}\n </button>\n}\n\n<ng-template #rendu let-ligne=\"ligne\" let-valeur=\"valeur\" let-cote=\"cote\">\n @if (ligne.gabarit; as gabarit) {\n <ng-container\n *ngTemplateOutlet=\"\n gabarit;\n context: { $implicit: valeur, cote: cote, cle: ligne.changement.cle }\n \"\n />\n } @else if (ligne.sensible) {\n <!-- Sensible sans gabarit (P08-14) : jamais en clair. Le gabarit compose st-masked. -->\n <span class=\"st-change-list__masquee\" [attr.lang]=\"langue()\">{{ textes().valeurMasquee }}</span>\n } @else {\n <bdi>{{ valeur }}</bdi>\n }\n</ng-template>\n\n<!-- Rien avant, ou rien apres : un tiret a l'oeil, « Non renseigne » a l'oreille. -->\n<ng-template #absente let-mot=\"mot\">\n <span class=\"st-vh\" [attr.lang]=\"mots().langue\">{{ mot }}</span\n ><span class=\"st-change-list__absente\" aria-hidden=\"true\">—</span\n ><span class=\"st-vh\">{{ libelles().nonRenseigne }}</span>\n</ng-template>\n",
|
|
5459
|
+
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;min-inline-size:0;container-type:inline-size}.st-change-list__tableau{inline-size:100%;border-collapse:collapse}.st-change-list__legende{margin-block-end:var(--st-espacement-3);font-weight:var(--st-graisse-semi);text-align:start}.st-change-list__tableau,.st-change-list__corps,.st-change-list__legende{display:block}.st-change-list__entetes{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.st-change-list__ligne{display:flex;flex-wrap:wrap;gap:var(--st-espacement-1) var(--st-espacement-2);align-items:baseline;padding-block:var(--st-espacement-3)}.st-change-list__ligne+.st-change-list__ligne{border-block-start:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}.st-change-list__ligne>*{padding:0;text-align:start;overflow-wrap:break-word}.st-change-list__champ{flex:1 0 100%;font-weight:var(--st-graisse-normale)}.st-change-list__libelle{display:block;font-weight:var(--st-graisse-moyenne);color:var(--st-couleur-texte)}.st-change-list__nature{display:flex;gap:var(--st-espacement-1);align-items:center;margin-block-start:var(--st-espacement-1);font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret)}.st-change-list__icone{flex:none}.st-change-list__apres{display:inline-flex;column-gap:var(--st-espacement-2);align-items:baseline;min-inline-size:0}.st-change-list__fleche{flex:none;align-self:flex-start;margin-block-start:calc((1lh - 1rem)/2);color:var(--st-couleur-texte-discret)}.st-change-list__barree{color:var(--st-couleur-texte-discret);text-decoration-line:line-through}.st-change-list__inseree{font-weight:var(--st-graisse-moyenne);color:var(--st-couleur-texte);text-decoration-line:none}.st-change-list__absente{color:var(--st-couleur-texte-attenue)}.st-change-list__section{display:block;padding-block:var(--st-espacement-3) var(--st-espacement-1)}.st-change-list__section th{display:block;padding:0;font-size:var(--st-taille-sm);font-weight:var(--st-graisse-semi);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte-discret);text-align:start}.st-change-list__masquee{font-style:italic;color:var(--st-couleur-texte-discret)}.st-change-list__vide{flex:1 0 100%;color:var(--st-couleur-texte-discret)}.st-change-list__bascule{margin-block-start:var(--st-espacement-2)}@container (min-width: 30rem){.st-change-list__tableau{display:table}.st-change-list__legende{display:table-caption}.st-change-list__corps{display:table-row-group}.st-change-list__entetes{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal;display:table-header-group}.st-change-list__entetes tr{font-family:var(--st-police-mono);font-size:var(--st-taille-2xs);line-height:var(--st-interligne-2xs);letter-spacing:var(--st-interlettrage-capitales);color:var(--st-couleur-texte-discret);text-transform:uppercase;background:var(--st-couleur-surface-conteneur-bas);border-block-end:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}.st-change-list__entetes th{padding:var(--st-espacement-2) var(--st-espacement-3);font-weight:var(--st-graisse-grasse);text-align:start;white-space:nowrap}.st-change-list__ligne,.st-change-list__section{display:table-row}.st-change-list__section th{display:table-cell;padding:var(--st-espacement-4) var(--st-espacement-3) var(--st-espacement-1);border-block-start:var(--st-epaisseur-capillaire) solid var(--st-couleur-bordure)}.st-change-list__ligne>*{display:table-cell;padding:var(--st-espacement-3);vertical-align:top}.st-change-list__champ{inline-size:33%}.st-change-list__fleche{display:none}}@media(forced-colors:active){.st-change-list__inseree{text-decoration-line:underline}}@media print{.st-change-list__bascule{display:none}}\n"]
|
|
5332
5460
|
}]
|
|
5333
5461
|
}],
|
|
5462
|
+
ctorParameters: () => [],
|
|
5334
5463
|
propDecorators: {
|
|
5335
5464
|
changements: [{
|
|
5336
5465
|
type: i0.Input,
|
|
@@ -5348,6 +5477,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5348
5477
|
required: true
|
|
5349
5478
|
}]
|
|
5350
5479
|
}],
|
|
5480
|
+
aucuneDifference: [{
|
|
5481
|
+
type: i0.Input,
|
|
5482
|
+
args: [{
|
|
5483
|
+
isSignal: true,
|
|
5484
|
+
alias: "aucuneDifference",
|
|
5485
|
+
required: false
|
|
5486
|
+
}]
|
|
5487
|
+
}],
|
|
5351
5488
|
afficherInchanges: [{
|
|
5352
5489
|
type: i0.Input,
|
|
5353
5490
|
args: [{
|
|
@@ -5359,12 +5496,287 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5359
5496
|
type: i0.Output,
|
|
5360
5497
|
args: ["afficherInchangesChange"]
|
|
5361
5498
|
}],
|
|
5499
|
+
gabaritsFournis: [{
|
|
5500
|
+
type: i0.Input,
|
|
5501
|
+
args: [{
|
|
5502
|
+
isSignal: true,
|
|
5503
|
+
alias: "gabaritsFournis",
|
|
5504
|
+
required: false
|
|
5505
|
+
}]
|
|
5506
|
+
}],
|
|
5507
|
+
gabarits: [{
|
|
5508
|
+
type: i0.ContentChildren,
|
|
5509
|
+
args: [i0.forwardRef(() => StValeurDeChangement), { isSignal: true }]
|
|
5510
|
+
}]
|
|
5511
|
+
}
|
|
5512
|
+
});
|
|
5513
|
+
var StVersionCompare = class StVersionCompare {
|
|
5514
|
+
locale = inject(ST_LOCALE);
|
|
5515
|
+
fuseau = inject(FUSEAU_PAR_DEFAUT);
|
|
5516
|
+
catalogue = catalogueDesListes();
|
|
5517
|
+
textes = computed(() => this.catalogue().libelles, ...ngDevMode ? [{ debugName: "textes" }] : /* istanbul ignore next */ []);
|
|
5518
|
+
langue = computed(() => this.catalogue().langueDeRepli, ...ngDevMode ? [{ debugName: "langue" }] : /* istanbul ignore next */ []);
|
|
5519
|
+
etiquette = input.required(...ngDevMode ? [{ debugName: "etiquette" }] : /* istanbul ignore next */ []);
|
|
5520
|
+
versions = input.required(...ngDevMode ? [{ debugName: "versions" }] : /* istanbul ignore next */ []);
|
|
5521
|
+
avant = model(null, ...ngDevMode ? [{ debugName: "avant" }] : /* istanbul ignore next */ []);
|
|
5522
|
+
apres = model(null, ...ngDevMode ? [{ debugName: "apres" }] : /* istanbul ignore next */ []);
|
|
5523
|
+
changements = input.required(...ngDevMode ? [{ debugName: "changements" }] : /* istanbul ignore next */ []);
|
|
5524
|
+
lienDAudit = input(null, ...ngDevMode ? [{ debugName: "lienDAudit" }] : /* istanbul ignore next */ []);
|
|
5525
|
+
chargement = input(false, {
|
|
5526
|
+
...ngDevMode ? { debugName: "chargement" } : /* istanbul ignore next */ {},
|
|
5527
|
+
transform: booleanAttribute
|
|
5528
|
+
});
|
|
5529
|
+
gabarits = contentChildren(StValeurDeChangement, ...ngDevMode ? [{ debugName: "gabarits" }] : /* istanbul ignore next */ []);
|
|
5530
|
+
ecrites = computed(() => {
|
|
5531
|
+
const textes = this.textes();
|
|
5532
|
+
const format = new Intl.DateTimeFormat(this.locale(), {
|
|
5533
|
+
dateStyle: "medium",
|
|
5534
|
+
timeStyle: "short",
|
|
5535
|
+
timeZone: this.fuseau
|
|
5536
|
+
});
|
|
5537
|
+
return this.versions().map((version) => {
|
|
5538
|
+
const instant = lireInstant(version.instant, this.fuseau);
|
|
5539
|
+
const date = instant === null ? version.instant : format.format(instant);
|
|
5540
|
+
const motif = version.motif ?? null;
|
|
5541
|
+
return {
|
|
5542
|
+
cle: version.cle,
|
|
5543
|
+
date,
|
|
5544
|
+
texte: textes.versionChoisie(date, sansCommandesDeDirection(version.auteur), motif === null || motif.trim() === "" ? null : sansCommandesDeDirection(motif))
|
|
5545
|
+
};
|
|
5546
|
+
});
|
|
5547
|
+
}, ...ngDevMode ? [{ debugName: "ecrites" }] : /* istanbul ignore next */ []);
|
|
5548
|
+
legende = computed(() => {
|
|
5549
|
+
const ecrites = this.ecrites();
|
|
5550
|
+
const avant = ecrites.find((version) => version.cle === this.avant());
|
|
5551
|
+
const apres = ecrites.find((version) => version.cle === this.apres());
|
|
5552
|
+
return avant === void 0 || apres === void 0 ? this.etiquette() : this.textes().differencesEntre(avant.date, apres.date);
|
|
5553
|
+
}, ...ngDevMode ? [{ debugName: "legende" }] : /* istanbul ignore next */ []);
|
|
5554
|
+
differences = computed(() => this.avant() !== null && this.avant() === this.apres() ? [] : this.changements(), ...ngDevMode ? [{ debugName: "differences" }] : /* istanbul ignore next */ []);
|
|
5555
|
+
choisirAvant(evenement) {
|
|
5556
|
+
this.avant.set(evenement.target.value);
|
|
5557
|
+
}
|
|
5558
|
+
choisirApres(evenement) {
|
|
5559
|
+
this.apres.set(evenement.target.value);
|
|
5560
|
+
}
|
|
5561
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5562
|
+
minVersion: "12.0.0",
|
|
5563
|
+
version: "22.2.1",
|
|
5564
|
+
ngImport: i0,
|
|
5565
|
+
type: StVersionCompare,
|
|
5566
|
+
deps: [],
|
|
5567
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
5568
|
+
});
|
|
5569
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5570
|
+
minVersion: "17.0.0",
|
|
5571
|
+
version: "22.2.1",
|
|
5572
|
+
type: StVersionCompare,
|
|
5573
|
+
isStandalone: true,
|
|
5574
|
+
selector: "st-version-compare",
|
|
5575
|
+
inputs: {
|
|
5576
|
+
etiquette: {
|
|
5577
|
+
classPropertyName: "etiquette",
|
|
5578
|
+
publicName: "etiquette",
|
|
5579
|
+
isSignal: true,
|
|
5580
|
+
isRequired: true,
|
|
5581
|
+
transformFunction: null
|
|
5582
|
+
},
|
|
5583
|
+
versions: {
|
|
5584
|
+
classPropertyName: "versions",
|
|
5585
|
+
publicName: "versions",
|
|
5586
|
+
isSignal: true,
|
|
5587
|
+
isRequired: true,
|
|
5588
|
+
transformFunction: null
|
|
5589
|
+
},
|
|
5590
|
+
avant: {
|
|
5591
|
+
classPropertyName: "avant",
|
|
5592
|
+
publicName: "avant",
|
|
5593
|
+
isSignal: true,
|
|
5594
|
+
isRequired: false,
|
|
5595
|
+
transformFunction: null
|
|
5596
|
+
},
|
|
5597
|
+
apres: {
|
|
5598
|
+
classPropertyName: "apres",
|
|
5599
|
+
publicName: "apres",
|
|
5600
|
+
isSignal: true,
|
|
5601
|
+
isRequired: false,
|
|
5602
|
+
transformFunction: null
|
|
5603
|
+
},
|
|
5604
|
+
changements: {
|
|
5605
|
+
classPropertyName: "changements",
|
|
5606
|
+
publicName: "changements",
|
|
5607
|
+
isSignal: true,
|
|
5608
|
+
isRequired: true,
|
|
5609
|
+
transformFunction: null
|
|
5610
|
+
},
|
|
5611
|
+
lienDAudit: {
|
|
5612
|
+
classPropertyName: "lienDAudit",
|
|
5613
|
+
publicName: "lienDAudit",
|
|
5614
|
+
isSignal: true,
|
|
5615
|
+
isRequired: false,
|
|
5616
|
+
transformFunction: null
|
|
5617
|
+
},
|
|
5618
|
+
chargement: {
|
|
5619
|
+
classPropertyName: "chargement",
|
|
5620
|
+
publicName: "chargement",
|
|
5621
|
+
isSignal: true,
|
|
5622
|
+
isRequired: false,
|
|
5623
|
+
transformFunction: null
|
|
5624
|
+
}
|
|
5625
|
+
},
|
|
5626
|
+
outputs: {
|
|
5627
|
+
avant: "avantChange",
|
|
5628
|
+
apres: "apresChange"
|
|
5629
|
+
},
|
|
5630
|
+
host: {
|
|
5631
|
+
properties: { "attr.aria-busy": "chargement() ? \"true\" : null" },
|
|
5632
|
+
classAttribute: "st-version-compare"
|
|
5633
|
+
},
|
|
5634
|
+
queries: [{
|
|
5635
|
+
propertyName: "gabarits",
|
|
5636
|
+
predicate: StValeurDeChangement,
|
|
5637
|
+
isSignal: true
|
|
5638
|
+
}],
|
|
5639
|
+
ngImport: i0,
|
|
5640
|
+
template: "<div class=\"st-version-compare__choix\" role=\"group\" [attr.aria-label]=\"etiquette()\">\n <label class=\"st-version-compare__selecteur\">\n <span class=\"st-version-compare__intitule\" [attr.lang]=\"langue()\">{{\n textes().versionDeReference\n }}</span>\n <span class=\"st-version-compare__cadre\">\n <select class=\"st-version-compare__liste\" (change)=\"choisirAvant($event)\">\n @for (version of ecrites(); track version.cle) {\n <option [value]=\"version.cle\" [selected]=\"version.cle === avant()\">\n {{ version.texte }}\n </option>\n }\n </select>\n <st-icon class=\"st-version-compare__chevron\" nom=\"chevron-bas\" taille=\"18\" />\n </span>\n </label>\n <label class=\"st-version-compare__selecteur\">\n <span class=\"st-version-compare__intitule\" [attr.lang]=\"langue()\">{{\n textes().versionComparee\n }}</span>\n <span class=\"st-version-compare__cadre\">\n <select class=\"st-version-compare__liste\" (change)=\"choisirApres($event)\">\n @for (version of ecrites(); track version.cle) {\n <option [value]=\"version.cle\" [selected]=\"version.cle === apres()\">\n {{ version.texte }}\n </option>\n }\n </select>\n <st-icon class=\"st-version-compare__chevron\" nom=\"chevron-bas\" taille=\"18\" />\n </span>\n </label>\n</div>\n\n<st-change-list\n aucuneDifference\n [legende]=\"legende()\"\n [changements]=\"differences()\"\n [gabaritsFournis]=\"gabarits()\"\n/>\n\n@if (lienDAudit(); as lien) {\n <a stLink class=\"st-version-compare__audit\" [href]=\"lien\" [attr.lang]=\"langue()\">{{\n textes().voirLEntreeDAudit\n }}</a>\n}\n",
|
|
5641
|
+
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:grid;gap:var(--st-espacement-4);min-inline-size:0;container-type:inline-size}.st-version-compare__choix{display:grid;gap:var(--st-espacement-3)}.st-version-compare__selecteur{display:grid;gap:var(--st-espacement-1);min-inline-size:0}.st-version-compare__intitule{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-moyenne);letter-spacing:var(--st-interlettrage-normal);color:var(--st-couleur-texte)}.st-version-compare__cadre{position:relative;display:flex;align-items:center;min-inline-size:0}.st-version-compare__liste: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-version-compare__liste{box-sizing:border-box;inline-size:100%;min-block-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut))}.st-version-compare__liste:is(input,select){block-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut))}.st-version-compare__liste{--_remplissage-bloc: max( var(--st-espacement-demi), min( var(--st-espacement-2), calc( (var(--st-commande-hauteur, var(--st-hauteur-commande-defaut)) - var(--st-interligne-sm)) / 2 - var(--st-epaisseur-fine) ) ) );padding-block:var(--_remplissage-bloc);padding-inline:var(--st-espacement-3-5);font-family:inherit;font-size:var(--st-taille-sm);font-weight:var(--st-graisse-normale);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte);background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure-forte);border-radius:var(--st-commande-rayon, var(--st-rayon-md))}@media(pointer:coarse){.st-version-compare__liste{--_remplissage-bloc: max( var(--st-espacement-demi), min( var(--st-espacement-2), calc( ( var(--st-commande-hauteur, var(--st-hauteur-commande-defaut)) - var( --st-interligne-md ) ) / 2 - var(--st-epaisseur-fine) ) ) );font-size:var(--st-taille-md);line-height:var(--st-interligne-md)}}.st-version-compare__liste::placeholder{color:var(--st-couleur-texte-attenue);opacity:1}@media(hover:hover){.st-version-compare__liste:hover:not(:disabled,:focus,[aria-invalid=true]){border-color:var(--st-couleur-texte-discret);transition:border-color var(--st-duree-rapide) var(--st-courbe-standard)}}.st-version-compare__liste:focus-visible{border-color:var(--st-couleur-primaire)}.st-version-compare__liste[aria-invalid=true]{border-color:var(--st-couleur-erreur);box-shadow:inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-erreur)}.st-version-compare__liste[aria-invalid=true]: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),inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-erreur)}.st-version-compare__liste:disabled{color:var(--st-couleur-texte-desactive);cursor:not-allowed;background:var(--st-couleur-surface);border-color:var(--st-couleur-bordure)}.st-version-compare__liste:disabled::placeholder{color:var(--st-couleur-texte-desactive)}.st-version-compare__liste:is(input,textarea):read-only:not(:disabled),.st-version-compare__liste[aria-readonly=true]:not(:disabled){font-weight:var(--st-graisse-moyenne);background:var(--st-couleur-surface-enfoncee)}.st-version-compare__liste{inline-size:100%;min-inline-size:0;padding-inline-end:var(--st-espacement-8);text-overflow:ellipsis;appearance:none;cursor:pointer}.st-version-compare__chevron{position:absolute;inset-inline-end:var(--st-espacement-2);color:var(--st-couleur-texte-discret);pointer-events:none}.st-version-compare__audit{justify-self:start}@container (min-width: 30rem){.st-version-compare__choix{grid-template-columns:repeat(2,minmax(0,1fr))}}\n"],
|
|
5642
|
+
dependencies: [
|
|
5643
|
+
{
|
|
5644
|
+
kind: "component",
|
|
5645
|
+
type: StChangeList,
|
|
5646
|
+
selector: "st-change-list",
|
|
5647
|
+
inputs: [
|
|
5648
|
+
"changements",
|
|
5649
|
+
"legende",
|
|
5650
|
+
"aucuneDifference",
|
|
5651
|
+
"afficherInchanges",
|
|
5652
|
+
"gabaritsFournis"
|
|
5653
|
+
],
|
|
5654
|
+
outputs: ["afficherInchangesChange"]
|
|
5655
|
+
},
|
|
5656
|
+
{
|
|
5657
|
+
kind: "component",
|
|
5658
|
+
type: StIcon,
|
|
5659
|
+
selector: "st-icon",
|
|
5660
|
+
inputs: [
|
|
5661
|
+
"icone",
|
|
5662
|
+
"nom",
|
|
5663
|
+
"variante",
|
|
5664
|
+
"sprite",
|
|
5665
|
+
"nomMetier",
|
|
5666
|
+
"taille",
|
|
5667
|
+
"ton",
|
|
5668
|
+
"etiquette",
|
|
5669
|
+
"miroir"
|
|
5670
|
+
]
|
|
5671
|
+
},
|
|
5672
|
+
{
|
|
5673
|
+
kind: "component",
|
|
5674
|
+
type: StLink,
|
|
5675
|
+
selector: "a[stLink]",
|
|
5676
|
+
inputs: [
|
|
5677
|
+
"variante",
|
|
5678
|
+
"externe",
|
|
5679
|
+
"mentionExterne",
|
|
5680
|
+
"iconeAvant",
|
|
5681
|
+
"iconeApres"
|
|
5682
|
+
]
|
|
5683
|
+
}
|
|
5684
|
+
],
|
|
5685
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
5686
|
+
});
|
|
5687
|
+
};
|
|
5688
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
5689
|
+
minVersion: "12.0.0",
|
|
5690
|
+
version: "22.2.1",
|
|
5691
|
+
ngImport: i0,
|
|
5692
|
+
type: StVersionCompare,
|
|
5693
|
+
decorators: [{
|
|
5694
|
+
type: Component,
|
|
5695
|
+
args: [{
|
|
5696
|
+
selector: "st-version-compare",
|
|
5697
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5698
|
+
imports: [
|
|
5699
|
+
StChangeList,
|
|
5700
|
+
StIcon,
|
|
5701
|
+
StLink
|
|
5702
|
+
],
|
|
5703
|
+
host: {
|
|
5704
|
+
class: "st-version-compare",
|
|
5705
|
+
"[attr.aria-busy]": "chargement() ? \"true\" : null"
|
|
5706
|
+
},
|
|
5707
|
+
template: "<div class=\"st-version-compare__choix\" role=\"group\" [attr.aria-label]=\"etiquette()\">\n <label class=\"st-version-compare__selecteur\">\n <span class=\"st-version-compare__intitule\" [attr.lang]=\"langue()\">{{\n textes().versionDeReference\n }}</span>\n <span class=\"st-version-compare__cadre\">\n <select class=\"st-version-compare__liste\" (change)=\"choisirAvant($event)\">\n @for (version of ecrites(); track version.cle) {\n <option [value]=\"version.cle\" [selected]=\"version.cle === avant()\">\n {{ version.texte }}\n </option>\n }\n </select>\n <st-icon class=\"st-version-compare__chevron\" nom=\"chevron-bas\" taille=\"18\" />\n </span>\n </label>\n <label class=\"st-version-compare__selecteur\">\n <span class=\"st-version-compare__intitule\" [attr.lang]=\"langue()\">{{\n textes().versionComparee\n }}</span>\n <span class=\"st-version-compare__cadre\">\n <select class=\"st-version-compare__liste\" (change)=\"choisirApres($event)\">\n @for (version of ecrites(); track version.cle) {\n <option [value]=\"version.cle\" [selected]=\"version.cle === apres()\">\n {{ version.texte }}\n </option>\n }\n </select>\n <st-icon class=\"st-version-compare__chevron\" nom=\"chevron-bas\" taille=\"18\" />\n </span>\n </label>\n</div>\n\n<st-change-list\n aucuneDifference\n [legende]=\"legende()\"\n [changements]=\"differences()\"\n [gabaritsFournis]=\"gabarits()\"\n/>\n\n@if (lienDAudit(); as lien) {\n <a stLink class=\"st-version-compare__audit\" [href]=\"lien\" [attr.lang]=\"langue()\">{{\n textes().voirLEntreeDAudit\n }}</a>\n}\n",
|
|
5708
|
+
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:grid;gap:var(--st-espacement-4);min-inline-size:0;container-type:inline-size}.st-version-compare__choix{display:grid;gap:var(--st-espacement-3)}.st-version-compare__selecteur{display:grid;gap:var(--st-espacement-1);min-inline-size:0}.st-version-compare__intitule{font-size:var(--st-taille-sm);line-height:var(--st-interligne-sm);font-weight:var(--st-graisse-moyenne);letter-spacing:var(--st-interlettrage-normal);color:var(--st-couleur-texte)}.st-version-compare__cadre{position:relative;display:flex;align-items:center;min-inline-size:0}.st-version-compare__liste: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-version-compare__liste{box-sizing:border-box;inline-size:100%;min-block-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut))}.st-version-compare__liste:is(input,select){block-size:var(--st-commande-hauteur, var(--st-hauteur-commande-defaut))}.st-version-compare__liste{--_remplissage-bloc: max( var(--st-espacement-demi), min( var(--st-espacement-2), calc( (var(--st-commande-hauteur, var(--st-hauteur-commande-defaut)) - var(--st-interligne-sm)) / 2 - var(--st-epaisseur-fine) ) ) );padding-block:var(--_remplissage-bloc);padding-inline:var(--st-espacement-3-5);font-family:inherit;font-size:var(--st-taille-sm);font-weight:var(--st-graisse-normale);line-height:var(--st-interligne-sm);color:var(--st-couleur-texte);background:var(--st-couleur-surface);border:var(--st-epaisseur-fine) solid var(--st-couleur-bordure-forte);border-radius:var(--st-commande-rayon, var(--st-rayon-md))}@media(pointer:coarse){.st-version-compare__liste{--_remplissage-bloc: max( var(--st-espacement-demi), min( var(--st-espacement-2), calc( ( var(--st-commande-hauteur, var(--st-hauteur-commande-defaut)) - var( --st-interligne-md ) ) / 2 - var(--st-epaisseur-fine) ) ) );font-size:var(--st-taille-md);line-height:var(--st-interligne-md)}}.st-version-compare__liste::placeholder{color:var(--st-couleur-texte-attenue);opacity:1}@media(hover:hover){.st-version-compare__liste:hover:not(:disabled,:focus,[aria-invalid=true]){border-color:var(--st-couleur-texte-discret);transition:border-color var(--st-duree-rapide) var(--st-courbe-standard)}}.st-version-compare__liste:focus-visible{border-color:var(--st-couleur-primaire)}.st-version-compare__liste[aria-invalid=true]{border-color:var(--st-couleur-erreur);box-shadow:inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-erreur)}.st-version-compare__liste[aria-invalid=true]: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),inset 0 0 0 var(--st-epaisseur-fine) var(--st-couleur-erreur)}.st-version-compare__liste:disabled{color:var(--st-couleur-texte-desactive);cursor:not-allowed;background:var(--st-couleur-surface);border-color:var(--st-couleur-bordure)}.st-version-compare__liste:disabled::placeholder{color:var(--st-couleur-texte-desactive)}.st-version-compare__liste:is(input,textarea):read-only:not(:disabled),.st-version-compare__liste[aria-readonly=true]:not(:disabled){font-weight:var(--st-graisse-moyenne);background:var(--st-couleur-surface-enfoncee)}.st-version-compare__liste{inline-size:100%;min-inline-size:0;padding-inline-end:var(--st-espacement-8);text-overflow:ellipsis;appearance:none;cursor:pointer}.st-version-compare__chevron{position:absolute;inset-inline-end:var(--st-espacement-2);color:var(--st-couleur-texte-discret);pointer-events:none}.st-version-compare__audit{justify-self:start}@container (min-width: 30rem){.st-version-compare__choix{grid-template-columns:repeat(2,minmax(0,1fr))}}\n"]
|
|
5709
|
+
}]
|
|
5710
|
+
}],
|
|
5711
|
+
propDecorators: {
|
|
5712
|
+
etiquette: [{
|
|
5713
|
+
type: i0.Input,
|
|
5714
|
+
args: [{
|
|
5715
|
+
isSignal: true,
|
|
5716
|
+
alias: "etiquette",
|
|
5717
|
+
required: true
|
|
5718
|
+
}]
|
|
5719
|
+
}],
|
|
5720
|
+
versions: [{
|
|
5721
|
+
type: i0.Input,
|
|
5722
|
+
args: [{
|
|
5723
|
+
isSignal: true,
|
|
5724
|
+
alias: "versions",
|
|
5725
|
+
required: true
|
|
5726
|
+
}]
|
|
5727
|
+
}],
|
|
5728
|
+
avant: [{
|
|
5729
|
+
type: i0.Input,
|
|
5730
|
+
args: [{
|
|
5731
|
+
isSignal: true,
|
|
5732
|
+
alias: "avant",
|
|
5733
|
+
required: false
|
|
5734
|
+
}]
|
|
5735
|
+
}, {
|
|
5736
|
+
type: i0.Output,
|
|
5737
|
+
args: ["avantChange"]
|
|
5738
|
+
}],
|
|
5739
|
+
apres: [{
|
|
5740
|
+
type: i0.Input,
|
|
5741
|
+
args: [{
|
|
5742
|
+
isSignal: true,
|
|
5743
|
+
alias: "apres",
|
|
5744
|
+
required: false
|
|
5745
|
+
}]
|
|
5746
|
+
}, {
|
|
5747
|
+
type: i0.Output,
|
|
5748
|
+
args: ["apresChange"]
|
|
5749
|
+
}],
|
|
5750
|
+
changements: [{
|
|
5751
|
+
type: i0.Input,
|
|
5752
|
+
args: [{
|
|
5753
|
+
isSignal: true,
|
|
5754
|
+
alias: "changements",
|
|
5755
|
+
required: true
|
|
5756
|
+
}]
|
|
5757
|
+
}],
|
|
5758
|
+
lienDAudit: [{
|
|
5759
|
+
type: i0.Input,
|
|
5760
|
+
args: [{
|
|
5761
|
+
isSignal: true,
|
|
5762
|
+
alias: "lienDAudit",
|
|
5763
|
+
required: false
|
|
5764
|
+
}]
|
|
5765
|
+
}],
|
|
5766
|
+
chargement: [{
|
|
5767
|
+
type: i0.Input,
|
|
5768
|
+
args: [{
|
|
5769
|
+
isSignal: true,
|
|
5770
|
+
alias: "chargement",
|
|
5771
|
+
required: false
|
|
5772
|
+
}]
|
|
5773
|
+
}],
|
|
5362
5774
|
gabarits: [{
|
|
5363
5775
|
type: i0.ContentChildren,
|
|
5364
5776
|
args: [i0.forwardRef(() => StValeurDeChangement), { isSignal: true }]
|
|
5365
5777
|
}]
|
|
5366
5778
|
}
|
|
5367
5779
|
});
|
|
5368
|
-
export { LIBELLES_LISTES_EN, LIBELLES_LISTES_FR, ST_LIBELLES_LISTES, StAccordion, StActeurDEvenement, StAttachment, StCellule, StChangeList, StDataTable, StDescription, StDescriptionList, StDetailDEvenement, StDisclosure, StDocumentList, StElementDeListe, StExportAction, StFilterBar, StFilterChip, StList, StListItem, StListeVide, StPagination, StReviewList, StSelectionBar, StSortHeader, StTableauVide, StTimeline, StValeurDeChangement, StValueChange, catalogueDesListes, fournirLibellesListes, libellesDesListes, prochainSensOuNul };
|
|
5780
|
+
export { LIBELLES_LISTES_EN, LIBELLES_LISTES_FR, ST_LIBELLES_LISTES, StAccordion, StActeurDEvenement, StAttachment, StCellule, StChangeList, StDataTable, StDescription, StDescriptionList, StDetailDEvenement, StDisclosure, StDocumentList, StElementDeListe, StExportAction, StFilterBar, StFilterChip, StList, StListItem, StListeVide, StPagination, StReviewList, StSelectionBar, StSortHeader, StTableauVide, StTimeline, StValeurDeChangement, StValueChange, StVersionCompare, catalogueDesListes, fournirLibellesListes, libellesDesListes, prochainSensOuNul };
|
|
5369
5781
|
|
|
5370
5782
|
//# sourceMappingURL=starterlib-ui-listes.mjs.map
|