@poadio/ui-angular 0.11.0 → 0.13.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/README.md +4 -0
- package/fesm2022/poadio-ui-angular.mjs +2245 -4533
- package/fesm2022/poadio-ui-angular.mjs.map +1 -1
- package/package.json +2 -1
- package/styles/base.scss +2 -29
- package/styles/tokens.scss +5 -114
- package/types/poadio-ui-angular.d.ts +903 -983
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { Signal, InjectionToken, EnvironmentProviders, Provider, ElementRef, TemplateRef, ViewContainerRef, Injector, ComponentRef, OnDestroy, AfterViewInit, Type } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
4
|
+
import * as _poadio_ui_core from '@poadio/ui-core';
|
|
5
|
+
import { UiMessages, UiMessageRef as UiMessageRef$1, UiParams, UiMessageKey, FieldControlProps, NumberState, PasswordState, ColorFormat, ColorHsva, ColorRgba, colorFormat, colorHslToRgb, colorHsvToRgb, colorParse, colorRgbToHsl, colorRgbToHsv, ColorpickerPart, RatingState, RatingEvent, InplaceState, InplaceEvent, SwitchState, CheckboxState, RadioGroupState, RadioItem, ToggleButtonState, SelectGroupItem, SelectOptionItem, SelectState, SelectContext, SelectEvent, SelectStep, StepState, MenuState, DayCell as DayCell$1, FloatingSide, ToastSeverity, ToastItem as ToastItem$1 } from '@poadio/ui-core';
|
|
6
|
+
export { POAD_ICONS, POAD_ICONS_CEREMA, POAD_ICONS_CORE, POAD_ICONS_DATA, POAD_ICONS_FILES, POAD_ICONS_GEO, POAD_ICONS_UI, POAD_ICON_ALIASES, POAD_ICON_CATEGORIES, UI_EN, UI_FR, UiMessageKey, UiMessages, UiParams, addDays, addMonths, addYears, compareDay, daysInMonth, endOfMonth, formatDate, isBetweenDay, isSameDay, isSameMonth, isValidDate, isoOf, isoWeek, localeDateFormat, monthNames, pad2, parseIso, parseWithFormat, startOfDay, startOfMonth, toDate, uiFirstDayOfWeek, uiFormat, uiInterpolate, uiPickForm, uiPlaceholders, uiUses12Hours, weekdayNames } from '@poadio/ui-core';
|
|
4
7
|
import * as _angular_platform_browser from '@angular/platform-browser';
|
|
5
8
|
import { SafeHtml, SafeResourceUrl } from '@angular/platform-browser';
|
|
6
9
|
import * as _angular_cdk_overlay from '@angular/cdk/overlay';
|
|
@@ -56,695 +59,6 @@ declare abstract class PoadValueAccessor<T> implements ControlValueAccessor {
|
|
|
56
59
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PoadValueAccessor<any>, never, never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
57
60
|
}
|
|
58
61
|
|
|
59
|
-
/**
|
|
60
|
-
* Fonctions pures du catalogue de messages — sans Angular, testables seules.
|
|
61
|
-
* Même convention que la console poad (`infra/console/src/app/core/i18n.ts`) :
|
|
62
|
-
*
|
|
63
|
-
* '{n} row | {n} rows' pluriel : « un | plusieurs », la forme est choisie par `Intl.PluralRules(locale)`
|
|
64
|
-
* (0 est singulier en français, pluriel en anglais)
|
|
65
|
-
* 'Remove {label}' valeurs : {nom}
|
|
66
|
-
*/
|
|
67
|
-
/** Valeurs injectées dans un message. `n` pilote le pluriel. */
|
|
68
|
-
type UiParams = Record<string, string | number | null | undefined>;
|
|
69
|
-
/** « un | plusieurs » → la forme qui convient à n dans cette langue ; un texte sans « | » sort tel quel. */
|
|
70
|
-
declare const uiPickForm: (locale: string, text: string, n: unknown) => string;
|
|
71
|
-
/** Remplace {nom} par sa valeur ; un nom sans valeur reste écrit, pour qu'on le voie. */
|
|
72
|
-
declare const uiInterpolate: (text: string, params?: UiParams) => string;
|
|
73
|
-
/** Noms des valeurs attendues par un message ({n}, {label}) — sert au test de cohérence des catalogues. */
|
|
74
|
-
declare const uiPlaceholders: (text: string) => string[];
|
|
75
|
-
/** Met en forme un message : choix du pluriel selon `params.n`, puis remplacement des valeurs. */
|
|
76
|
-
declare const uiFormat: (locale: string, text: string, params?: UiParams) => string;
|
|
77
|
-
/**
|
|
78
|
-
* Premier jour de la semaine d'une langue : 0 = dimanche, 1 = lundi… (`fr-FR` → 1, `en-US` → 0, `en-GB` → 1).
|
|
79
|
-
* Lu dans `Intl.Locale` ; lundi (ISO 8601) quand le moteur ne sait pas ou que l'étiquette est invalide.
|
|
80
|
-
*/
|
|
81
|
-
declare const uiFirstDayOfWeek: (locale: string) => number;
|
|
82
|
-
/** Une langue écrit-elle l'heure sur 12 heures (AM/PM) ? `en-US` oui, `fr-FR` et `en-GB` non. */
|
|
83
|
-
declare const uiUses12Hours: (locale: string) => boolean;
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Catalogue de messages de la bibliothèque — la forme que chaque langue doit remplir.
|
|
87
|
-
*
|
|
88
|
-
* Un groupe par famille de composants, clés en anglais camelCase. Les valeurs sont des chaînes :
|
|
89
|
-
* - `{name}` est remplacé par une valeur ;
|
|
90
|
-
* - un pluriel s'écrit en une seule chaîne, formes séparées par ` | ` (`'{n} row | {n} rows'`),
|
|
91
|
-
* la forme étant choisie par `Intl.PluralRules(locale)` d'après la valeur `n`.
|
|
92
|
-
*
|
|
93
|
-
* `UI_EN` et `UI_FR` sont typés par cette interface : une clé oubliée dans une langue ne compile pas.
|
|
94
|
-
* Toute la bibliothèque y prend ses textes ; un nouveau composant ajoute ses clés à son groupe (ou son groupe).
|
|
95
|
-
*/
|
|
96
|
-
interface UiMessages {
|
|
97
|
-
/** Mots partagés par plusieurs familles. */
|
|
98
|
-
common: {
|
|
99
|
-
clear: string;
|
|
100
|
-
remove: string;
|
|
101
|
-
cancel: string;
|
|
102
|
-
save: string;
|
|
103
|
-
add: string;
|
|
104
|
-
edit: string;
|
|
105
|
-
reset: string;
|
|
106
|
-
ok: string;
|
|
107
|
-
yes: string;
|
|
108
|
-
no: string;
|
|
109
|
-
all: string;
|
|
110
|
-
expand: string;
|
|
111
|
-
collapse: string;
|
|
112
|
-
close: string;
|
|
113
|
-
confirm: string;
|
|
114
|
-
delete: string;
|
|
115
|
-
loading: string;
|
|
116
|
-
retry: string;
|
|
117
|
-
previous: string;
|
|
118
|
-
next: string;
|
|
119
|
-
search: string;
|
|
120
|
-
copy: string;
|
|
121
|
-
paste: string;
|
|
122
|
-
download: string;
|
|
123
|
-
zoomIn: string;
|
|
124
|
-
zoomOut: string;
|
|
125
|
-
fullscreen: string;
|
|
126
|
-
exitFullscreen: string;
|
|
127
|
-
noResults: string;
|
|
128
|
-
filterPlaceholder: string;
|
|
129
|
-
moveUp: string;
|
|
130
|
-
moveDown: string;
|
|
131
|
-
moveTop: string;
|
|
132
|
-
moveBottom: string;
|
|
133
|
-
editorLoading: string;
|
|
134
|
-
editorLoadFailed: string;
|
|
135
|
-
today: string;
|
|
136
|
-
apply: string;
|
|
137
|
-
};
|
|
138
|
-
/** poad-select, poad-multiselect, poad-combo, poad-cascade-select, poad-treeselect, poad-option-list. */
|
|
139
|
-
select: {
|
|
140
|
-
empty: string;
|
|
141
|
-
emptyFilter: string;
|
|
142
|
-
noSuggestions: string;
|
|
143
|
-
filterPlaceholder: string;
|
|
144
|
-
clearAll: string;
|
|
145
|
-
selectAll: string;
|
|
146
|
-
/** `{n}` : nombre d'éléments sélectionnés. */
|
|
147
|
-
selectedCount: string;
|
|
148
|
-
/** `{label}` : libellé de l'élément retiré. */
|
|
149
|
-
removeItem: string;
|
|
150
|
-
showSuggestions: string;
|
|
151
|
-
/** `{level}` : rang de la colonne d'un poad-cascade-select. */
|
|
152
|
-
level: string;
|
|
153
|
-
};
|
|
154
|
-
/** poad-paginator. */
|
|
155
|
-
paginator: {
|
|
156
|
-
label: string;
|
|
157
|
-
rowsPerPage: string;
|
|
158
|
-
firstPage: string;
|
|
159
|
-
previousPage: string;
|
|
160
|
-
nextPage: string;
|
|
161
|
-
lastPage: string;
|
|
162
|
-
/** `{page}` : numéro de page. */
|
|
163
|
-
page: string;
|
|
164
|
-
/** `{first}` `{last}` `{totalRecords}` `{currentPage}` `{totalPages}` `{rows}`. */
|
|
165
|
-
report: string;
|
|
166
|
-
};
|
|
167
|
-
/** Filtres de poad-table (ligne de filtres, panneau latéral) et poad-filter-chip. */
|
|
168
|
-
filter: {
|
|
169
|
-
/** `{label}` : libellé du filtre. */
|
|
170
|
-
remove: string;
|
|
171
|
-
/** `{column}` : en-tête de la colonne. */
|
|
172
|
-
column: string;
|
|
173
|
-
columnMin: string;
|
|
174
|
-
columnMax: string;
|
|
175
|
-
operatorMenu: string;
|
|
176
|
-
valuesMenu: string;
|
|
177
|
-
/** `{label}` : libellé de l'opérateur courant. */
|
|
178
|
-
operator: string;
|
|
179
|
-
clear: string;
|
|
180
|
-
clearAll: string;
|
|
181
|
-
any: string;
|
|
182
|
-
/** `{n}` : nombre de valeurs cochées. */
|
|
183
|
-
selectedCount: string;
|
|
184
|
-
min: string;
|
|
185
|
-
max: string;
|
|
186
|
-
value: string;
|
|
187
|
-
from: string;
|
|
188
|
-
to: string;
|
|
189
|
-
date: string;
|
|
190
|
-
active: string;
|
|
191
|
-
globalSearch: string;
|
|
192
|
-
globalSearchLabel: string;
|
|
193
|
-
/** `{input}` : nom de l'entrée à renseigner (aide au développeur affichée dans le panneau). */
|
|
194
|
-
noOptions: string;
|
|
195
|
-
noFilterableColumn: string;
|
|
196
|
-
opContains: string;
|
|
197
|
-
opNotContains: string;
|
|
198
|
-
opStartsWith: string;
|
|
199
|
-
opEndsWith: string;
|
|
200
|
-
opEquals: string;
|
|
201
|
-
opNotEquals: string;
|
|
202
|
-
opLessThan: string;
|
|
203
|
-
opLessOrEqual: string;
|
|
204
|
-
opGreaterThan: string;
|
|
205
|
-
opGreaterOrEqual: string;
|
|
206
|
-
opBetween: string;
|
|
207
|
-
opIsEmpty: string;
|
|
208
|
-
opIsNotEmpty: string;
|
|
209
|
-
opDateIs: string;
|
|
210
|
-
opDateIsNot: string;
|
|
211
|
-
opDateBefore: string;
|
|
212
|
-
opDateAfter: string;
|
|
213
|
-
opIn: string;
|
|
214
|
-
opNotIn: string;
|
|
215
|
-
};
|
|
216
|
-
/** poad-table et poad-table-panel. */
|
|
217
|
-
table: {
|
|
218
|
-
empty: string;
|
|
219
|
-
searchPlaceholder: string;
|
|
220
|
-
clearSearch: string;
|
|
221
|
-
columns: string;
|
|
222
|
-
filters: string;
|
|
223
|
-
groups: string;
|
|
224
|
-
values: string;
|
|
225
|
-
selectAll: string;
|
|
226
|
-
clearSelection: string;
|
|
227
|
-
/** `{n}` : lignes sélectionnées (barre de sélection). */
|
|
228
|
-
selectedCount: string;
|
|
229
|
-
/** `{n}` : nombre total de lignes (pied de table). */
|
|
230
|
-
rowCount: string;
|
|
231
|
-
/** `{n}` : lignes restantes après filtrage. */
|
|
232
|
-
filteredCount: string;
|
|
233
|
-
/** `{n}` : lignes sélectionnées (pied de table). */
|
|
234
|
-
selectedRows: string;
|
|
235
|
-
moveUp: string;
|
|
236
|
-
moveDown: string;
|
|
237
|
-
density: string;
|
|
238
|
-
groupZone: string;
|
|
239
|
-
/** `{label}` : colonne de groupement. */
|
|
240
|
-
ungroupBy: string;
|
|
241
|
-
groupBy: string;
|
|
242
|
-
ungroup: string;
|
|
243
|
-
move: string;
|
|
244
|
-
detail: string;
|
|
245
|
-
actions: string;
|
|
246
|
-
moveColumn: string;
|
|
247
|
-
moveRow: string;
|
|
248
|
-
/** `{column}` : en-tête de la colonne. */
|
|
249
|
-
sortBy: string;
|
|
250
|
-
columnMenu: string;
|
|
251
|
-
/** `{label}` : libellé du groupe. */
|
|
252
|
-
selectGroup: string;
|
|
253
|
-
/** `{index}` : rang de la ligne. */
|
|
254
|
-
selectRow: string;
|
|
255
|
-
grandTotal: string;
|
|
256
|
-
/** `{label}` : libellé du groupe totalisé. */
|
|
257
|
-
total: string;
|
|
258
|
-
editRow: string;
|
|
259
|
-
saveRow: string;
|
|
260
|
-
cancelEdit: string;
|
|
261
|
-
rowEditHeader: string;
|
|
262
|
-
sortAsc: string;
|
|
263
|
-
sortDesc: string;
|
|
264
|
-
clearSort: string;
|
|
265
|
-
pin: string;
|
|
266
|
-
pinLeft: string;
|
|
267
|
-
pinRight: string;
|
|
268
|
-
unpin: string;
|
|
269
|
-
autosizeColumn: string;
|
|
270
|
-
autosizeAll: string;
|
|
271
|
-
chooseColumns: string;
|
|
272
|
-
resetColumns: string;
|
|
273
|
-
searchColumn: string;
|
|
274
|
-
searchColumnLabel: string;
|
|
275
|
-
allColumns: string;
|
|
276
|
-
reorder: string;
|
|
277
|
-
pinnedColumn: string;
|
|
278
|
-
noColumn: string;
|
|
279
|
-
rowGroups: string;
|
|
280
|
-
/** `{label}` : colonne du groupe retiré. */
|
|
281
|
-
removeGroup: string;
|
|
282
|
-
dropToGroup: string;
|
|
283
|
-
aggregates: string;
|
|
284
|
-
aggregateColumn: string;
|
|
285
|
-
/** `{input}` `{output}` : note au développeur quand l'entrée n'est pas liée en double sens. */
|
|
286
|
-
notWritable: string;
|
|
287
|
-
/** Noms des fonctions d’agrégat du panneau (`sum`, `avg`, `min`, `max`, `count`). */
|
|
288
|
-
aggSum: string;
|
|
289
|
-
aggAvg: string;
|
|
290
|
-
aggMin: string;
|
|
291
|
-
aggMax: string;
|
|
292
|
-
aggCount: string;
|
|
293
|
-
/** Agrégat calculé par une fonction de l’application. */
|
|
294
|
-
aggCustom: string;
|
|
295
|
-
};
|
|
296
|
-
/** poad-tree. */
|
|
297
|
-
tree: {
|
|
298
|
-
empty: string;
|
|
299
|
-
emptyFilter: string;
|
|
300
|
-
filterPlaceholder: string;
|
|
301
|
-
/** `{label}` : libellé du nœud. */
|
|
302
|
-
select: string;
|
|
303
|
-
};
|
|
304
|
-
/** poad-dataview. */
|
|
305
|
-
dataview: {
|
|
306
|
-
empty: string;
|
|
307
|
-
layout: string;
|
|
308
|
-
list: string;
|
|
309
|
-
grid: string;
|
|
310
|
-
};
|
|
311
|
-
/** poad-chart. */
|
|
312
|
-
chart: {
|
|
313
|
-
dataTable: string;
|
|
314
|
-
};
|
|
315
|
-
/** poad-dialog, poad-sheet, PoadConfirmService. */
|
|
316
|
-
overlay: {
|
|
317
|
-
maximize: string;
|
|
318
|
-
restore: string;
|
|
319
|
-
confirmHeader: string;
|
|
320
|
-
/** `{text}` : le texte à recopier. */
|
|
321
|
-
typeToConfirm: string;
|
|
322
|
-
};
|
|
323
|
-
/** poad-code-editor. */
|
|
324
|
-
code: {
|
|
325
|
-
label: string;
|
|
326
|
-
format: string;
|
|
327
|
-
plainText: string;
|
|
328
|
-
/** `{line}` `{column}` : position du curseur. */
|
|
329
|
-
cursor: string;
|
|
330
|
-
};
|
|
331
|
-
/** poad-bottom-nav, poad-breadcrumb, poad-menubar, poad-nav-drawer, poad-speed-dial, poad-split-button, poad-stepper, poad-tabs. */
|
|
332
|
-
nav: {
|
|
333
|
-
mainNavigation: string;
|
|
334
|
-
mainMenu: string;
|
|
335
|
-
menu: string;
|
|
336
|
-
breadcrumb: string;
|
|
337
|
-
showHidden: string;
|
|
338
|
-
quickActions: string;
|
|
339
|
-
moreActions: string;
|
|
340
|
-
optional: string;
|
|
341
|
-
scrollLeft: string;
|
|
342
|
-
scrollRight: string;
|
|
343
|
-
/** `{label}` : libellé de l’onglet. */
|
|
344
|
-
closeTab: string;
|
|
345
|
-
};
|
|
346
|
-
/** Atelier de maquettage : groupes de la palette et commentaires du code généré. */
|
|
347
|
-
atelier: {
|
|
348
|
-
groupContainers: string;
|
|
349
|
-
groupAction: string;
|
|
350
|
-
groupInput: string;
|
|
351
|
-
groupData: string;
|
|
352
|
-
groupMap: string;
|
|
353
|
-
groupDisplay: string;
|
|
354
|
-
groupLayout: string;
|
|
355
|
-
groupNav: string;
|
|
356
|
-
groupOverlay: string;
|
|
357
|
-
groupFeedback: string;
|
|
358
|
-
groupList: string;
|
|
359
|
-
groupPlanning: string;
|
|
360
|
-
groupIcon: string;
|
|
361
|
-
groupCore: string;
|
|
362
|
-
defaultTitle: string;
|
|
363
|
-
generatedBy: string;
|
|
364
|
-
/** `{names}` : entrées requises laissées vides. */
|
|
365
|
-
toProvide: string;
|
|
366
|
-
};
|
|
367
|
-
/** poad-upload. */
|
|
368
|
-
file: {
|
|
369
|
-
choose: string;
|
|
370
|
-
upload: string;
|
|
371
|
-
removeAll: string;
|
|
372
|
-
drop: string;
|
|
373
|
-
browse: string;
|
|
374
|
-
/** `{n}` : nombre de fichiers, `{size}` : poids total. */
|
|
375
|
-
summary: string;
|
|
376
|
-
/** `{max}` : taille maximale. */
|
|
377
|
-
tooLarge: string;
|
|
378
|
-
invalidType: string;
|
|
379
|
-
/** `{max}` : nombre maximal de fichiers. */
|
|
380
|
-
limitReached: string;
|
|
381
|
-
uploadFailed: string;
|
|
382
|
-
/** Aide au développeur, affichée sur le fichier. */
|
|
383
|
-
noHttpClient: string;
|
|
384
|
-
/** `{size}` : nombre déjà mis en forme. */
|
|
385
|
-
sizeBytes: string;
|
|
386
|
-
sizeKilobytes: string;
|
|
387
|
-
sizeMegabytes: string;
|
|
388
|
-
sizeGigabytes: string;
|
|
389
|
-
};
|
|
390
|
-
/** poad-carousel, poad-chip, poad-image, poad-meter, poad-spinner, poad-scroll-top. */
|
|
391
|
-
display: {
|
|
392
|
-
carousel: string;
|
|
393
|
-
slide: string;
|
|
394
|
-
/** `{page}` : numéro de page du carrousel. */
|
|
395
|
-
page: string;
|
|
396
|
-
/** `{label}` : libellé de la pastille. */
|
|
397
|
-
removeChip: string;
|
|
398
|
-
enlarge: string;
|
|
399
|
-
preview: string;
|
|
400
|
-
rotate: string;
|
|
401
|
-
remaining: string;
|
|
402
|
-
/** `{label}` `{value}` `{percent}` : infobulle d’un segment de poad-meter. */
|
|
403
|
-
meterSegment: string;
|
|
404
|
-
loading: string;
|
|
405
|
-
scrollTop: string;
|
|
406
|
-
};
|
|
407
|
-
/** poad-colorpicker, poad-inplace, poad-number, poad-password, poad-rating. */
|
|
408
|
-
field: {
|
|
409
|
-
color: string;
|
|
410
|
-
colorPlaceholder: string;
|
|
411
|
-
colorPicker: string;
|
|
412
|
-
saturationBrightness: string;
|
|
413
|
-
/** `{saturation}` `{brightness}` : pourcentages mis en forme. */
|
|
414
|
-
saturationBrightnessValue: string;
|
|
415
|
-
eyedropper: string;
|
|
416
|
-
hue: string;
|
|
417
|
-
opacity: string;
|
|
418
|
-
presets: string;
|
|
419
|
-
increment: string;
|
|
420
|
-
decrement: string;
|
|
421
|
-
showPassword: string;
|
|
422
|
-
hidePassword: string;
|
|
423
|
-
strengthWeak: string;
|
|
424
|
-
strengthFair: string;
|
|
425
|
-
strengthGood: string;
|
|
426
|
-
strengthExcellent: string;
|
|
427
|
-
rating: string;
|
|
428
|
-
};
|
|
429
|
-
/** poad-datepicker. */
|
|
430
|
-
date: {
|
|
431
|
-
openCalendar: string;
|
|
432
|
-
chooseDate: string;
|
|
433
|
-
chooseTime: string;
|
|
434
|
-
previousMonth: string;
|
|
435
|
-
nextMonth: string;
|
|
436
|
-
previousYear: string;
|
|
437
|
-
nextYear: string;
|
|
438
|
-
previousDecade: string;
|
|
439
|
-
nextDecade: string;
|
|
440
|
-
/** En-tête de la colonne des numéros de semaine. */
|
|
441
|
-
weekShort: string;
|
|
442
|
-
time: string;
|
|
443
|
-
hours: string;
|
|
444
|
-
minutes: string;
|
|
445
|
-
seconds: string;
|
|
446
|
-
increaseHours: string;
|
|
447
|
-
decreaseHours: string;
|
|
448
|
-
increaseMinutes: string;
|
|
449
|
-
decreaseMinutes: string;
|
|
450
|
-
increaseSeconds: string;
|
|
451
|
-
decreaseSeconds: string;
|
|
452
|
-
toggleAmPm: string;
|
|
453
|
-
/** `{n}` : dates sélectionnées (plage, sélection multiple). */
|
|
454
|
-
selectedCount: string;
|
|
455
|
-
};
|
|
456
|
-
/** poad-listbox, poad-orderlist, poad-picklist, poad-orgchart. */
|
|
457
|
-
list: {
|
|
458
|
-
empty: string;
|
|
459
|
-
reorder: string;
|
|
460
|
-
available: string;
|
|
461
|
-
selected: string;
|
|
462
|
-
sourceEmpty: string;
|
|
463
|
-
targetEmpty: string;
|
|
464
|
-
reorderSource: string;
|
|
465
|
-
reorderTarget: string;
|
|
466
|
-
transfer: string;
|
|
467
|
-
addSelection: string;
|
|
468
|
-
addAll: string;
|
|
469
|
-
removeSelection: string;
|
|
470
|
-
removeAll: string;
|
|
471
|
-
zoom: string;
|
|
472
|
-
fit: string;
|
|
473
|
-
};
|
|
474
|
-
/** poad-richtext. */
|
|
475
|
-
richtext: {
|
|
476
|
-
label: string;
|
|
477
|
-
toolbar: string;
|
|
478
|
-
bold: string;
|
|
479
|
-
italic: string;
|
|
480
|
-
underline: string;
|
|
481
|
-
strike: string;
|
|
482
|
-
code: string;
|
|
483
|
-
bullet: string;
|
|
484
|
-
ordered: string;
|
|
485
|
-
quote: string;
|
|
486
|
-
link: string;
|
|
487
|
-
clear: string;
|
|
488
|
-
undo: string;
|
|
489
|
-
redo: string;
|
|
490
|
-
paragraph: string;
|
|
491
|
-
heading: string;
|
|
492
|
-
subheading: string;
|
|
493
|
-
linkDialog: string;
|
|
494
|
-
linkAddress: string;
|
|
495
|
-
/** `{n}` : nombre de caractères saisis. */
|
|
496
|
-
charCount: string;
|
|
497
|
-
/** `{n}` : caractères saisis, `{max}` : limite. */
|
|
498
|
-
charCountMax: string;
|
|
499
|
-
};
|
|
500
|
-
/** poad-block-editor (interface Editor.js et outils de la bibliothèque), poad-block-view. */
|
|
501
|
-
blocks: {
|
|
502
|
-
placeholder: string;
|
|
503
|
-
headingPlaceholder: string;
|
|
504
|
-
alertPlaceholder: string;
|
|
505
|
-
tune: string;
|
|
506
|
-
dragToMove: string;
|
|
507
|
-
convertTo: string;
|
|
508
|
-
filter: string;
|
|
509
|
-
clickToDelete: string;
|
|
510
|
-
paragraph: string;
|
|
511
|
-
heading: string;
|
|
512
|
-
/** `{level}` : niveau du titre (1 à 4). */
|
|
513
|
-
headingLevel: string;
|
|
514
|
-
image: string;
|
|
515
|
-
code: string;
|
|
516
|
-
delimiter: string;
|
|
517
|
-
alert: string;
|
|
518
|
-
link: string;
|
|
519
|
-
addLink: string;
|
|
520
|
-
insertLink: string;
|
|
521
|
-
bold: string;
|
|
522
|
-
italic: string;
|
|
523
|
-
underline: string;
|
|
524
|
-
youtube: string;
|
|
525
|
-
youtubeUrl: string;
|
|
526
|
-
video: string;
|
|
527
|
-
caption: string;
|
|
528
|
-
alignLeft: string;
|
|
529
|
-
alignCenter: string;
|
|
530
|
-
alignRight: string;
|
|
531
|
-
alignJustify: string;
|
|
532
|
-
/** `{percent}` : pourcentage mis en forme (« 50 % »). */
|
|
533
|
-
width: string;
|
|
534
|
-
originalSize: string;
|
|
535
|
-
chooseImage: string;
|
|
536
|
-
crop: string;
|
|
537
|
-
changeImage: string;
|
|
538
|
-
resize: string;
|
|
539
|
-
};
|
|
540
|
-
/** poad-calendar, poad-gantt, poad-scheduler, poad-taskboard et les anomalies de poadNormalizePlan. */
|
|
541
|
-
planning: {
|
|
542
|
-
/** `{week}` : numéro de semaine ISO (graduation de l’axe). */
|
|
543
|
-
weekLabel: string;
|
|
544
|
-
/** `{quarter}` : numéro du trimestre. */
|
|
545
|
-
quarterLabel: string;
|
|
546
|
-
recurring: string;
|
|
547
|
-
locked: string;
|
|
548
|
-
seriesLocked: string;
|
|
549
|
-
allDay: string;
|
|
550
|
-
allDayShort: string;
|
|
551
|
-
/** Intitulé du bandeau des événements sans heure (vues jour et semaine). */
|
|
552
|
-
allDayBand: string;
|
|
553
|
-
/** `{n}` : événements non montrés dans la case. */
|
|
554
|
-
more: string;
|
|
555
|
-
eventCount: string;
|
|
556
|
-
calendarEmpty: string;
|
|
557
|
-
columnTask: string;
|
|
558
|
-
columnStart: string;
|
|
559
|
-
columnEnd: string;
|
|
560
|
-
columnDuration: string;
|
|
561
|
-
unplanned: string;
|
|
562
|
-
noDates: string;
|
|
563
|
-
noResource: string;
|
|
564
|
-
noDatesNoResource: string;
|
|
565
|
-
ganttEmpty: string;
|
|
566
|
-
milestone: string;
|
|
567
|
-
/** `{days}` : nombre de jours ouvrés, déjà mis en forme. */
|
|
568
|
-
days: string;
|
|
569
|
-
summary: string;
|
|
570
|
-
/** `{days}` : durée du décalage (message `planning.days`). */
|
|
571
|
-
lag: string;
|
|
572
|
-
resources: string;
|
|
573
|
-
/** `{value}` : capacité en équivalent temps plein. */
|
|
574
|
-
fte: string;
|
|
575
|
-
calendarException: string;
|
|
576
|
-
multiResource: string;
|
|
577
|
-
multiResourceHint: string;
|
|
578
|
-
nothingInPeriod: string;
|
|
579
|
-
dragToSchedule: string;
|
|
580
|
-
schedulerEmpty: string;
|
|
581
|
-
/** Annonces aux lecteurs d’écran après un déplacement. */
|
|
582
|
-
announceAssigned: string;
|
|
583
|
-
announceScheduled: string;
|
|
584
|
-
announceMoved: string;
|
|
585
|
-
announceResized: string;
|
|
586
|
-
wipLimit: string;
|
|
587
|
-
due: string;
|
|
588
|
-
boardEmpty: string;
|
|
589
|
-
orphanHint: string;
|
|
590
|
-
tasks: string;
|
|
591
|
-
unassigned: string;
|
|
592
|
-
announceBoardAssigned: string;
|
|
593
|
-
announceBoardMoved: string;
|
|
594
|
-
/** Anomalies relevées par poadNormalizePlan (`PoadPlanIssue.message`). */
|
|
595
|
-
issueEmptyCalendar: string;
|
|
596
|
-
issueDuplicateTask: string;
|
|
597
|
-
issueBadStart: string;
|
|
598
|
-
issueBadEnd: string;
|
|
599
|
-
issueBadDuration: string;
|
|
600
|
-
issueEndBeforeStart: string;
|
|
601
|
-
issueUnknownResource: string;
|
|
602
|
-
issueUnknownBucket: string;
|
|
603
|
-
issueSelfParent: string;
|
|
604
|
-
issueUnknownParent: string;
|
|
605
|
-
issueParentCycle: string;
|
|
606
|
-
issueSelfLink: string;
|
|
607
|
-
issueUnknownLinkEnd: string;
|
|
608
|
-
issueBadLag: string;
|
|
609
|
-
issueLinkCycle: string;
|
|
610
|
-
};
|
|
611
|
-
/** poad-map et ses blocs (fonds, couches, légende, recherche, carte-fiche, barre d’outils), poad-json-editor, validation GeoJSON. */
|
|
612
|
-
map: {
|
|
613
|
-
title: string;
|
|
614
|
-
loading: string;
|
|
615
|
-
error: string;
|
|
616
|
-
/** Textes des contrôles MapLibre (voir poadMapLibreLocale). */
|
|
617
|
-
showAttributions: string;
|
|
618
|
-
reportError: string;
|
|
619
|
-
myLocation: string;
|
|
620
|
-
locationUnavailable: string;
|
|
621
|
-
resetBearing: string;
|
|
622
|
-
gestureCtrl: string;
|
|
623
|
-
gestureCmd: string;
|
|
624
|
-
gestureTouch: string;
|
|
625
|
-
basemap: string;
|
|
626
|
-
basemapLight: string;
|
|
627
|
-
basemapDark: string;
|
|
628
|
-
basemapCadastre: string;
|
|
629
|
-
basemapIgnVector: string;
|
|
630
|
-
transparency: string;
|
|
631
|
-
opacity: string;
|
|
632
|
-
apiKeyRequired: string;
|
|
633
|
-
layers: string;
|
|
634
|
-
/** `{layer}` : identifiant de la couche demandée. */
|
|
635
|
-
layerMissing: string;
|
|
636
|
-
zoomToLayer: string;
|
|
637
|
-
noLayers: string;
|
|
638
|
-
noVisibleLayers: string;
|
|
639
|
-
legend: string;
|
|
640
|
-
legendOther: string;
|
|
641
|
-
/** Aide au développeur : gabarit de menu absent. */
|
|
642
|
-
templateMissing: string;
|
|
643
|
-
tabBasemap: string;
|
|
644
|
-
tabTools: string;
|
|
645
|
-
tabExport: string;
|
|
646
|
-
chromeTooltip: string;
|
|
647
|
-
resetView: string;
|
|
648
|
-
shareLink: string;
|
|
649
|
-
symbology: string;
|
|
650
|
-
colorBy: string;
|
|
651
|
-
solidColor: string;
|
|
652
|
-
color: string;
|
|
653
|
-
labelField: string;
|
|
654
|
-
none: string;
|
|
655
|
-
restoreSymbology: string;
|
|
656
|
-
importGeoJson: string;
|
|
657
|
-
distance: string;
|
|
658
|
-
area: string;
|
|
659
|
-
query: string;
|
|
660
|
-
compare: string;
|
|
661
|
-
northFlat: string;
|
|
662
|
-
measureHint: string;
|
|
663
|
-
drawing: string;
|
|
664
|
-
drawPoint: string;
|
|
665
|
-
drawLine: string;
|
|
666
|
-
drawPolygon: string;
|
|
667
|
-
drawRect: string;
|
|
668
|
-
drawSelect: string;
|
|
669
|
-
selectMove: string;
|
|
670
|
-
deleteSelection: string;
|
|
671
|
-
clearAll: string;
|
|
672
|
-
downloadDrawing: string;
|
|
673
|
-
/** `{output}` : nom de la sortie du composant. */
|
|
674
|
-
drawHint: string;
|
|
675
|
-
comparison: string;
|
|
676
|
-
rightBasemap: string;
|
|
677
|
-
pngImage: string;
|
|
678
|
-
link: string;
|
|
679
|
-
print: string;
|
|
680
|
-
pngOptions: string;
|
|
681
|
-
includeLegend: string;
|
|
682
|
-
highResolution: string;
|
|
683
|
-
/** `{input}` : nom de l’entrée du composant (aide au développeur). */
|
|
684
|
-
screenshotHint: string;
|
|
685
|
-
layerImported: string;
|
|
686
|
-
importFailed: string;
|
|
687
|
-
invalidJsonFile: string;
|
|
688
|
-
youAreHere: string;
|
|
689
|
-
exportImage: string;
|
|
690
|
-
addScreenshotable: string;
|
|
691
|
-
exportFailed: string;
|
|
692
|
-
noGeoJsonLayer: string;
|
|
693
|
-
linkCopied: string;
|
|
694
|
-
/** Nom (sans extension) du fichier téléchargé. */
|
|
695
|
-
drawingFile: string;
|
|
696
|
-
mapFile: string;
|
|
697
|
-
objectCount: string;
|
|
698
|
-
objectCountShort: string;
|
|
699
|
-
/** `{bbox}` : emprise « ouest,sud → est,nord ». */
|
|
700
|
-
bbox: string;
|
|
701
|
-
cardEmpty: string;
|
|
702
|
-
editGeoJson: string;
|
|
703
|
-
viewGeoJson: string;
|
|
704
|
-
backToMap: string;
|
|
705
|
-
validate: string;
|
|
706
|
-
searchPlaceholder: string;
|
|
707
|
-
noProperties: string;
|
|
708
|
-
jsonEditor: string;
|
|
709
|
-
jsonFormat: string;
|
|
710
|
-
jsonCompact: string;
|
|
711
|
-
importFile: string;
|
|
712
|
-
/** `{lines}` : lignes, `{chars}` : caractères (nombre mis en forme). */
|
|
713
|
-
jsonStatus: string;
|
|
714
|
-
jsonInvalid: string;
|
|
715
|
-
jsonInvalidAt: string;
|
|
716
|
-
/** `{n}` : erreurs de validation, `{first}` : la première. */
|
|
717
|
-
jsonErrors: string;
|
|
718
|
-
/** Erreurs de poadValidateGeoJSON ; `{path}` : chemin JSON fautif. */
|
|
719
|
-
geoObjectExpected: string;
|
|
720
|
-
geoPositionExpected: string;
|
|
721
|
-
geoOutOfBounds: string;
|
|
722
|
-
geoRingTooShort: string;
|
|
723
|
-
geoRingOpen: string;
|
|
724
|
-
geoLineTooShort: string;
|
|
725
|
-
geoLinesExpected: string;
|
|
726
|
-
geoLineExpected: string;
|
|
727
|
-
geoRingsExpected: string;
|
|
728
|
-
geoPolygonsExpected: string;
|
|
729
|
-
geoPolygonExpected: string;
|
|
730
|
-
geoGeometriesExpected: string;
|
|
731
|
-
geoUnknownGeometry: string;
|
|
732
|
-
geoArrayExpected: string;
|
|
733
|
-
geoGeometryExpected: string;
|
|
734
|
-
geoTypeExpected: string;
|
|
735
|
-
};
|
|
736
|
-
}
|
|
737
|
-
/** Chemins pointés vers les messages : `'table.rowsPerPage'`, `'common.clear'`… */
|
|
738
|
-
type UiMessageKey = {
|
|
739
|
-
[G in keyof UiMessages & string]: `${G}.${keyof UiMessages[G] & string}`;
|
|
740
|
-
}[keyof UiMessages & string];
|
|
741
|
-
|
|
742
|
-
/** Catalogue anglais — repli de la bibliothèque quand l'application ne fournit rien. */
|
|
743
|
-
declare const UI_EN: UiMessages;
|
|
744
|
-
|
|
745
|
-
/** Catalogue français. */
|
|
746
|
-
declare const UI_FR: UiMessages;
|
|
747
|
-
|
|
748
62
|
/** Langue courante de la bibliothèque : étiquette BCP 47 (dates, nombres, pluriels) + catalogue de messages. */
|
|
749
63
|
interface UiI18nState {
|
|
750
64
|
/** Étiquette BCP 47 passée à `Intl` : `'fr'`, `'fr-FR'`, `'en-GB'`… */
|
|
@@ -764,8 +78,11 @@ declare const UI_I18N_DEFAULT: UiI18nState;
|
|
|
764
78
|
* ```
|
|
765
79
|
*/
|
|
766
80
|
declare function provideUiI18n(config: UiI18nState): EnvironmentProviders;
|
|
767
|
-
/**
|
|
768
|
-
|
|
81
|
+
/**
|
|
82
|
+
* Lit un message par un chemin typé (`'table.rowsPerPage'`) ou par une fonction (`m => m.table.rowsPerPage`).
|
|
83
|
+
* Défini dans @poadio/ui-core (lecture du catalogue commune à tous les rendus), ré-exporté ici.
|
|
84
|
+
*/
|
|
85
|
+
type UiMessageRef = UiMessageRef$1;
|
|
769
86
|
/**
|
|
770
87
|
* Catalogue de messages de la bibliothèque — source unique des textes visibles.
|
|
771
88
|
*
|
|
@@ -814,7 +131,6 @@ declare class UiI18n {
|
|
|
814
131
|
private numberFormat;
|
|
815
132
|
/** Une étiquette de langue invalide ne doit pas faire planter l'affichage. */
|
|
816
133
|
private safeLocale;
|
|
817
|
-
private lookup;
|
|
818
134
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiI18n, never>;
|
|
819
135
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<UiI18n>;
|
|
820
136
|
}
|
|
@@ -826,56 +142,6 @@ declare function uiMessage(i18n: UiI18n | null | undefined, key: UiMessageKey, p
|
|
|
826
142
|
/** Nombre pour une fonction pure, hors injection : la langue de l'application si on la lui passe, sinon celle du repli. */
|
|
827
143
|
declare function uiNumber(i18n: UiI18n | null | undefined, value: number, options?: Intl.NumberFormatOptions): string;
|
|
828
144
|
|
|
829
|
-
/**
|
|
830
|
-
* Icônes « core » (navigation, actions, statuts) — SVG 24×24, trait 2 px.
|
|
831
|
-
* Source : dessins Lucide (https://lucide.dev, licence ISC © Lucide Contributors) repris/adaptés + dessins maison.
|
|
832
|
-
*/
|
|
833
|
-
declare const POAD_ICONS_CORE: Record<string, string>;
|
|
834
|
-
|
|
835
|
-
/**
|
|
836
|
-
* Icônes « files » : fichiers, dossiers, documents, transferts, cloud, base/serveur, git, code.
|
|
837
|
-
* Source : Lucide (https://lucide.dev, ISC © Lucide Contributors), adaptées.
|
|
838
|
-
*/
|
|
839
|
-
declare const POAD_ICONS_FILES: Record<string, string>;
|
|
840
|
-
|
|
841
|
-
/**
|
|
842
|
-
* Icônes « ui » : layout, édition, flèches, temps, calendriers, notifications.
|
|
843
|
-
* Source : Lucide (https://lucide.dev, ISC © Lucide Contributors), adaptées.
|
|
844
|
-
*/
|
|
845
|
-
declare const POAD_ICONS_UI: Record<string, string>;
|
|
846
|
-
|
|
847
|
-
/**
|
|
848
|
-
* Icônes « geo » : cartographie, navigation, météo, transports, bâti.
|
|
849
|
-
* Source : Lucide (https://lucide.dev, ISC © Lucide Contributors), adaptées.
|
|
850
|
-
*/
|
|
851
|
-
declare const POAD_ICONS_GEO: Record<string, string>;
|
|
852
|
-
|
|
853
|
-
/**
|
|
854
|
-
* Icônes « data » : graphiques, mesures, sécurité, personnes, statuts, énergie, commerce.
|
|
855
|
-
* Source : Lucide (https://lucide.dev, ISC © Lucide Contributors), adaptées.
|
|
856
|
-
*/
|
|
857
|
-
declare const POAD_ICONS_DATA: Record<string, string>;
|
|
858
|
-
|
|
859
|
-
/**
|
|
860
|
-
* Icônes « cerema » — dessins MAISON (pas dans Lucide) : infrastructures, mobilité, risques, environnement, mesure.
|
|
861
|
-
* Même grille 24×24, trait 2 px, coins arrondis.
|
|
862
|
-
*/
|
|
863
|
-
declare const POAD_ICONS_CEREMA: Record<string, string>;
|
|
864
|
-
|
|
865
|
-
/**
|
|
866
|
-
* Jeu d'icônes ui-angular — SVG 24×24, trait 2 px, coins arrondis, `currentColor`.
|
|
867
|
-
* Sources : dessins Lucide (https://lucide.dev — licence ISC © 2022 Lucide Contributors) repris/adaptés,
|
|
868
|
-
* + dessins maison CEREMA (`icons.cerema.ts`). Contenu = intérieur du <svg viewBox="0 0 24 24"> (paths).
|
|
869
|
-
* Extensible via PoadIconRegistry.register() ou le token POAD_ICONS (providePoadIcons()).
|
|
870
|
-
*/
|
|
871
|
-
|
|
872
|
-
/** Toutes les icônes (fusion des catégories). */
|
|
873
|
-
declare const POAD_ICONS: Record<string, string>;
|
|
874
|
-
/** Catégorie → noms d'icônes. */
|
|
875
|
-
declare const POAD_ICON_CATEGORIES: Record<string, string[]>;
|
|
876
|
-
/** Alias par défaut (anciens noms / noms Lucide courants → nom canonique). */
|
|
877
|
-
declare const POAD_ICON_ALIASES: Record<string, string>;
|
|
878
|
-
|
|
879
145
|
/** Jeux d'icônes supplémentaires (ou de remplacement) fournis par l'application — token multi. */
|
|
880
146
|
declare const POAD_ICONS_TOKEN: InjectionToken<Record<string, string>[]>;
|
|
881
147
|
/** Si fourni, REMPLACE le jeu par défaut par ce sous-ensemble (liste de noms ou de catégories) — pour alléger le bundle. */
|
|
@@ -890,11 +156,12 @@ declare function providePoadIcons(opts: {
|
|
|
890
156
|
icons?: Record<string, string>;
|
|
891
157
|
aliases?: Record<string, string>;
|
|
892
158
|
}): Provider[];
|
|
893
|
-
/**
|
|
159
|
+
/**
|
|
160
|
+
* Registre d'icônes : jeu maison (catégorisé) + icônes/alias ajoutés par l'application. Le registre lui-même est
|
|
161
|
+
* celui de @poadio/ui-core (`createIconRegistry`) ; ce service le construit à partir des fournisseurs d'Angular.
|
|
162
|
+
*/
|
|
894
163
|
declare class PoadIconRegistry {
|
|
895
|
-
private readonly
|
|
896
|
-
private readonly aliases;
|
|
897
|
-
private readonly cats;
|
|
164
|
+
private readonly core;
|
|
898
165
|
constructor(extra: Record<string, string>[] | null, subset: string[] | null);
|
|
899
166
|
/** Ajoute/écrase une icône : `inner` = contenu du <svg viewBox="0 0 24 24"> (paths…). */
|
|
900
167
|
register(name: string, inner: string, category?: string): void;
|
|
@@ -918,6 +185,8 @@ declare class PoadIconRegistry {
|
|
|
918
185
|
/**
|
|
919
186
|
* <poad-icon name="search" [size]="16" />
|
|
920
187
|
* SVG inline, trait 2 px, hérite `currentColor`. `spin` (animation), `filled` (icône pleine), `flip`, `rotate`, `title` (info-bulle native).
|
|
188
|
+
* Attributs, classes et transformation décrits par @poadio/ui-core (`iconHostProps`, `iconSvgProps`, `iconTransform`) ;
|
|
189
|
+
* style partagé : `@poadio/ui-core/icon.css` (encapsulation désactivée, sélecteurs `.poad-icon`).
|
|
921
190
|
* @atelier icone=sparkles largeur=1 hauteur=1
|
|
922
191
|
*/
|
|
923
192
|
declare class PoadIconComponent {
|
|
@@ -933,9 +202,17 @@ declare class PoadIconComponent {
|
|
|
933
202
|
readonly spin: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
934
203
|
/** Icône pleine (fill currentColor, sans trait) — étoile, cœur, cercle… */
|
|
935
204
|
readonly filled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
936
|
-
readonly flip: _angular_core.InputSignal<"" | "
|
|
205
|
+
readonly flip: _angular_core.InputSignal<"" | "h" | "v" | "both">;
|
|
937
206
|
readonly rotate: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
938
207
|
protected readonly svg: _angular_core.Signal<SafeHtml>;
|
|
208
|
+
/** Attributs de l'hôte et du <svg>, classes et transformation : décrits par le socle. */
|
|
209
|
+
private readonly options;
|
|
210
|
+
protected readonly hostAttrs: _angular_core.Signal<_poadio_ui_core.IconHostProps>;
|
|
211
|
+
protected readonly svgAttrs: _angular_core.Signal<_poadio_ui_core.IconSvgProps>;
|
|
212
|
+
protected readonly rootClasses: _angular_core.Signal<{
|
|
213
|
+
readonly 'is-spin': boolean;
|
|
214
|
+
readonly 'is-filled': boolean;
|
|
215
|
+
}>;
|
|
939
216
|
protected readonly transform: _angular_core.Signal<string | null>;
|
|
940
217
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadIconComponent, never>;
|
|
941
218
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadIconComponent, "poad-icon", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "spin": { "alias": "spin"; "required": false; "isSignal": true; }; "filled": { "alias": "filled"; "required": false; "isSignal": true; }; "flip": { "alias": "flip"; "required": false; "isSignal": true; }; "rotate": { "alias": "rotate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -952,6 +229,8 @@ declare class PoadIconComponent {
|
|
|
952
229
|
* - Directive-composant appliquée sur un vrai <button>/<a> : sémantique native, focus, formulaire.
|
|
953
230
|
* - Signals inputs, OnPush, classes hôtes reflétées (stylables sans ::ng-deep).
|
|
954
231
|
* - Ne lit QUE les tokens --poad-* (thème clair/sombre transparent).
|
|
232
|
+
* - Classes et attributs décrits par le socle (`buttonClasses`, `buttonProps` de @poadio/ui-core) ; style partagé
|
|
233
|
+
* avec les autres rendus : `@poadio/ui-core/button.css` (encapsulation désactivée, sélecteurs `.poad-button`).
|
|
955
234
|
* @atelier icone=square largeur=2 hauteur=1 contenu=Bouton
|
|
956
235
|
*/
|
|
957
236
|
declare class PoadButtonComponent {
|
|
@@ -971,7 +250,10 @@ declare class PoadButtonComponent {
|
|
|
971
250
|
readonly pressed: _angular_core.InputSignal<boolean | null>;
|
|
972
251
|
readonly groupPressed: _angular_core.WritableSignal<boolean | null>;
|
|
973
252
|
readonly isPressed: _angular_core.Signal<boolean | null>;
|
|
253
|
+
/** Entrées vues par le socle. */
|
|
254
|
+
private readonly options;
|
|
974
255
|
protected readonly hostClass: _angular_core.Signal<string>;
|
|
256
|
+
protected readonly attrs: _angular_core.Signal<_poadio_ui_core.ButtonProps>;
|
|
975
257
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadButtonComponent, never>;
|
|
976
258
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadButtonComponent, "button[poadButton], a[poadButton]", never, { "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "block": { "alias": "block"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "pressed": { "alias": "pressed"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
977
259
|
}
|
|
@@ -983,6 +265,8 @@ declare class PoadButtonComponent {
|
|
|
983
265
|
* Accole les boutons (radius aux extrémités, bordures fusionnées). Sans `attached`, simple groupe espacé (gap).
|
|
984
266
|
* Remplace p-buttonGroup. Le focus reste visible (z-index sur le bouton focusé).
|
|
985
267
|
* `selectable="single|multiple"` + `[(value)]` : les boutons portant `value` deviennent des options (état enfoncé, aria-pressed).
|
|
268
|
+
* Classes et sélection décrites par @poadio/ui-core (`buttonGroupRootClasses`, `buttonGroupPressed`, `buttonGroupPick`) ;
|
|
269
|
+
* style partagé : `@poadio/ui-core/button-group.css` (encapsulation désactivée, sélecteurs `.poad-button-group`).
|
|
986
270
|
* @atelier icone=columns-3 hauteur=1 conteneur=direct ajustement=naturel
|
|
987
271
|
*/
|
|
988
272
|
declare class PoadButtonGroupComponent {
|
|
@@ -1007,16 +291,35 @@ declare class PoadButtonGroupComponent {
|
|
|
1007
291
|
private readonly enfantsDynamiques;
|
|
1008
292
|
enregistrerEnfants(instances: unknown[]): void;
|
|
1009
293
|
private readonly tousBoutons;
|
|
294
|
+
protected readonly root: _angular_core.Signal<{
|
|
295
|
+
readonly 'is-vertical': boolean;
|
|
296
|
+
readonly 'is-attached': boolean;
|
|
297
|
+
readonly 'is-pill': boolean;
|
|
298
|
+
readonly 'is-loose': boolean;
|
|
299
|
+
readonly 'is-stretch': boolean;
|
|
300
|
+
readonly 'size-sm': boolean;
|
|
301
|
+
readonly 'size-lg': boolean;
|
|
302
|
+
}>;
|
|
1010
303
|
constructor();
|
|
1011
304
|
protected onClick(e: Event): void;
|
|
1012
305
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadButtonGroupComponent, never>;
|
|
1013
306
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadButtonGroupComponent, "poad-button-group", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "attached": { "alias": "attached"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "stretch": { "alias": "stretch"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "changed": "changed"; }, ["buttons"], ["*"], true, never>;
|
|
1014
307
|
}
|
|
1015
308
|
|
|
309
|
+
/**
|
|
310
|
+
* Ce qu'un `poad-field` dit au contrôle qu'il entoure : les attributs décrits par le socle (`fieldControlProps`) —
|
|
311
|
+
* `aria-describedby` vers son aide ou son erreur, `aria-invalid` quand il y a une erreur.
|
|
312
|
+
*/
|
|
313
|
+
interface PoadFieldContext {
|
|
314
|
+
readonly controlAttrs: Signal<FieldControlProps>;
|
|
315
|
+
}
|
|
316
|
+
declare const POAD_FIELD_CONTEXT: InjectionToken<PoadFieldContext>;
|
|
1016
317
|
/**
|
|
1017
318
|
* `<input poadInput>` / `<textarea poadInput>` — style de contrôle natif ui-angular.
|
|
1018
319
|
* Reste un élément natif : ngModel/formControl se branchent dessus normalement.
|
|
1019
320
|
* Options : `size`, `invalid`, `mono` (police code), `autosize` (textarea).
|
|
321
|
+
* Dans un `poad-field`, reçoit de lui `aria-describedby` (aide / erreur) et `aria-invalid` (erreur) — réunis à
|
|
322
|
+
* ses propres `invalid` et `aria-describedby` statique, par `inputControlProps` de @poadio/ui-core.
|
|
1020
323
|
*/
|
|
1021
324
|
declare class PoadInputDirective {
|
|
1022
325
|
readonly el: ElementRef<HTMLInputElement | HTMLTextAreaElement>;
|
|
@@ -1026,7 +329,14 @@ declare class PoadInputDirective {
|
|
|
1026
329
|
/** Textarea : hauteur automatique selon le contenu. */
|
|
1027
330
|
readonly autosize: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1028
331
|
readonly focused: _angular_core.WritableSignal<boolean>;
|
|
1029
|
-
readonly
|
|
332
|
+
private readonly field;
|
|
333
|
+
/** `aria-describedby` écrit sur l'élément par l'application : gardé, le message du champ s'y ajoute. */
|
|
334
|
+
private readonly ownDescribedBy;
|
|
335
|
+
protected readonly attrs: Signal<{
|
|
336
|
+
'aria-describedby': string | null;
|
|
337
|
+
'aria-invalid': "true" | null;
|
|
338
|
+
}>;
|
|
339
|
+
readonly isTextarea: Signal<boolean>;
|
|
1030
340
|
protected onInput(): void;
|
|
1031
341
|
focus(): void;
|
|
1032
342
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadInputDirective, never>;
|
|
@@ -1043,9 +353,12 @@ declare class PoadInputDirective {
|
|
|
1043
353
|
*
|
|
1044
354
|
* Le focus se pose sur la BOÎTE (`.poad-field__box:focus-within`) — jamais sur un morceau (règle SZU 17/08).
|
|
1045
355
|
* L'erreur remplace l'aide quand elle est présente. `label` lié au contrôle via `for`.
|
|
356
|
+
* Liens d'accessibilité décrits par le socle (`field` de @poadio/ui-core) : le contrôle `poadInput` reçoit
|
|
357
|
+
* `aria-describedby` vers l'aide / l'erreur et `aria-invalid` en erreur. Style partagé avec les autres rendus :
|
|
358
|
+
* `@poadio/ui-core/field.css` (encapsulation désactivée, sélecteurs `.poad-field`).
|
|
1046
359
|
* @atelier icone=text-cursor-input largeur=4 hauteur=1 pose-label=Champ
|
|
1047
360
|
*/
|
|
1048
|
-
declare class PoadFieldComponent {
|
|
361
|
+
declare class PoadFieldComponent implements PoadFieldContext {
|
|
1049
362
|
readonly label: _angular_core.InputSignal<string>;
|
|
1050
363
|
readonly hint: _angular_core.InputSignal<string>;
|
|
1051
364
|
/** Message d'erreur (string) — remplace l'aide. Vide/undefined = pas d'erreur. */
|
|
@@ -1057,18 +370,40 @@ declare class PoadFieldComponent {
|
|
|
1057
370
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg">;
|
|
1058
371
|
/** Texte « (optionnel) » à côté du label. */
|
|
1059
372
|
readonly optionalText: _angular_core.InputSignal<string>;
|
|
373
|
+
/** Mention « (optionnel) » du catalogue, dans la langue courante (`optionalText` prime). */
|
|
374
|
+
readonly optional: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
375
|
+
private readonly i18n;
|
|
376
|
+
/** Mention affichée : le texte de l'application, sinon celle du catalogue si `optional`. */
|
|
377
|
+
protected readonly mention: _angular_core.Signal<string>;
|
|
1060
378
|
/** Sans boîte : pour envelopper un contrôle qui a déjà la sienne (poad-select, poad-number, poad-datepicker…). */
|
|
1061
379
|
readonly plain: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1062
380
|
readonly input: _angular_core.Signal<PoadInputDirective | undefined>;
|
|
1063
381
|
protected readonly generatedId: string;
|
|
382
|
+
/** Entrées vues par le socle ; l'identifiant du champ préfixe celui de son message. */
|
|
383
|
+
private readonly options;
|
|
384
|
+
protected readonly root: _angular_core.Signal<{
|
|
385
|
+
readonly 'is-invalid': boolean;
|
|
386
|
+
readonly 'is-disabled': boolean;
|
|
387
|
+
readonly 'is-inline': boolean;
|
|
388
|
+
readonly 'size-sm': boolean;
|
|
389
|
+
readonly 'size-lg': boolean;
|
|
390
|
+
readonly 'is-plain': boolean;
|
|
391
|
+
}>;
|
|
392
|
+
protected readonly message: _angular_core.Signal<_poadio_ui_core.FieldMessage | null>;
|
|
393
|
+
/** Attributs du contrôle (lus par `poadInput` via POAD_FIELD_CONTEXT). */
|
|
394
|
+
readonly controlAttrs: _angular_core.Signal<_poadio_ui_core.FieldControlProps>;
|
|
1064
395
|
protected readonly controlId: _angular_core.Signal<string | null>;
|
|
1065
396
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadFieldComponent, never>;
|
|
1066
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadFieldComponent, "poad-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "optionalText": { "alias": "optionalText"; "required": false; "isSignal": true; }; "plain": { "alias": "plain"; "required": false; "isSignal": true; }; }, {}, ["input"], ["[poadAddon]", "[poadPrefix]", "*", "[poadSuffix]"], true, never>;
|
|
397
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadFieldComponent, "poad-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "optionalText": { "alias": "optionalText"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "plain": { "alias": "plain"; "required": false; "isSignal": true; }; }, {}, ["input"], ["[poadAddon]", "[poadPrefix]", "*", "[poadSuffix]"], true, never>;
|
|
1067
398
|
}
|
|
1068
399
|
|
|
1069
400
|
/**
|
|
1070
401
|
* <poad-number [(value)]="port" [min]="1" [max]="65535" [step]="1" suffix=" ms" [decimals]="0" showButtons/>
|
|
1071
402
|
* CVA<number|null>. Clavier : ↑/↓ (± step), Shift+↑/↓ (× 10), Home/End (min/max). Locale via `locale`.
|
|
403
|
+
*
|
|
404
|
+
* La logique (texte en cours de frappe, lecture, bornes, arrondi, mise en forme `Intl`, touches, attributs
|
|
405
|
+
* `spinbutton`) est la machine `number` de @poadio/ui-core en usage CONTRÔLÉ ; style partagé :
|
|
406
|
+
* `@poadio/ui-core/number.css` (encapsulation désactivée).
|
|
1072
407
|
* @atelier icone=hash largeur=3 hauteur=1
|
|
1073
408
|
*/
|
|
1074
409
|
declare class PoadNumberComponent extends PoadValueAccessor<number> {
|
|
@@ -1087,44 +422,84 @@ declare class PoadNumberComponent extends PoadValueAccessor<number> {
|
|
|
1087
422
|
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1088
423
|
readonly invalid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1089
424
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg">;
|
|
425
|
+
/** Nom accessible du champ, quand aucun `<label>` (ni `poad-field`) ne le nomme. */
|
|
426
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
1090
427
|
/** Émis à chaque changement validé (blur / touches / boutons). */
|
|
1091
428
|
readonly changed: _angular_core.OutputEmitterRef<number | null>;
|
|
1092
429
|
readonly focusChange: _angular_core.OutputEmitterRef<boolean>;
|
|
1093
|
-
|
|
430
|
+
/** Texte en cours de frappe (champ focalisé), sinon null. */
|
|
1094
431
|
private readonly editing;
|
|
1095
|
-
|
|
1096
|
-
|
|
432
|
+
private readonly options;
|
|
433
|
+
/** État de la machine, dérivé des signaux d'Angular (valeur dans le `model`, frappe en cours ici). */
|
|
434
|
+
protected readonly state: _angular_core.Signal<NumberState>;
|
|
435
|
+
protected readonly control: _angular_core.Signal<_poadio_ui_core.NumberControlProps>;
|
|
436
|
+
protected readonly root: _angular_core.Signal<{
|
|
437
|
+
readonly 'is-disabled': boolean;
|
|
438
|
+
readonly 'is-invalid': boolean;
|
|
439
|
+
readonly 'size-sm': boolean;
|
|
440
|
+
readonly 'size-lg': boolean;
|
|
441
|
+
}>;
|
|
442
|
+
protected readonly buttons: _angular_core.Signal<{
|
|
443
|
+
readonly incrementDisabled: boolean;
|
|
444
|
+
readonly decrementDisabled: boolean;
|
|
445
|
+
}>;
|
|
1097
446
|
protected readonly display: _angular_core.Signal<string>;
|
|
1098
447
|
protected onFocus(): void;
|
|
1099
448
|
protected onType(raw: string): void;
|
|
1100
449
|
protected onBlur(): void;
|
|
1101
450
|
protected onKey(e: KeyboardEvent): void;
|
|
1102
451
|
stepBy(n: number): void;
|
|
1103
|
-
|
|
1104
|
-
private
|
|
452
|
+
/** Demande la transition au socle et applique le résultat. */
|
|
453
|
+
private send;
|
|
1105
454
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadNumberComponent, never>;
|
|
1106
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadNumberComponent, "poad-number", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "decimals": { "alias": "decimals"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "suffix": { "alias": "suffix"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "showButtons": { "alias": "showButtons"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "focusChange": "focusChange"; }, never, never, true, never>;
|
|
455
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadNumberComponent, "poad-number", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "decimals": { "alias": "decimals"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "suffix": { "alias": "suffix"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "showButtons": { "alias": "showButtons"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "focusChange": "focusChange"; }, never, never, true, never>;
|
|
1107
456
|
}
|
|
1108
457
|
|
|
1109
458
|
/**
|
|
1110
459
|
* <poad-password [(value)]="pwd" placeholder="…" toggleMask [feedback]="true" />
|
|
1111
460
|
* CVA<string>. Bouton œil (afficher/masquer), jauge de robustesse optionnelle (`feedback`), `autocomplete`.
|
|
461
|
+
*
|
|
462
|
+
* La logique (bascule de l'œil, attributs, niveau de robustesse et son libellé) est la machine `password` de
|
|
463
|
+
* @poadio/ui-core ; style partagé : `@poadio/ui-core/password.css` (encapsulation désactivée).
|
|
1112
464
|
* @atelier icone=lock largeur=3 hauteur=1
|
|
1113
465
|
*/
|
|
1114
466
|
declare class PoadPasswordComponent extends PoadValueAccessor<string> {
|
|
1115
467
|
protected readonly i18n: UiI18n;
|
|
1116
468
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
469
|
+
/** Nom accessible du champ, quand aucun `<label>` (ni `poad-field`) ne le nomme. */
|
|
470
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
1117
471
|
readonly toggleMask: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1118
472
|
readonly feedback: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1119
473
|
readonly invalid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1120
474
|
readonly autocomplete: _angular_core.InputSignal<string>;
|
|
1121
475
|
readonly visible: _angular_core.WritableSignal<boolean>;
|
|
1122
476
|
readonly changed: _angular_core.OutputEmitterRef<string>;
|
|
1123
|
-
protected readonly
|
|
1124
|
-
protected readonly
|
|
477
|
+
protected readonly state: _angular_core.Signal<PasswordState>;
|
|
478
|
+
protected readonly field: _angular_core.Signal<{
|
|
479
|
+
readonly type: "text" | "password";
|
|
480
|
+
readonly autocomplete: string | null;
|
|
481
|
+
readonly 'aria-invalid': "true" | null;
|
|
482
|
+
readonly spellcheck: "false";
|
|
483
|
+
readonly disabled: boolean;
|
|
484
|
+
}>;
|
|
485
|
+
protected readonly eye: _angular_core.Signal<{
|
|
486
|
+
readonly labelKey: _poadio_ui_core.UiMessageKey;
|
|
487
|
+
readonly 'aria-pressed': "true" | "false";
|
|
488
|
+
readonly icon: "eye" | "eye-off";
|
|
489
|
+
readonly disabled: boolean;
|
|
490
|
+
}>;
|
|
491
|
+
protected readonly meter: _angular_core.Signal<{
|
|
492
|
+
readonly level: _poadio_ui_core.PasswordLevel;
|
|
493
|
+
readonly labelKey: _poadio_ui_core.UiMessageKey;
|
|
494
|
+
} | null>;
|
|
495
|
+
protected readonly root: _angular_core.Signal<{
|
|
496
|
+
readonly 'is-disabled': boolean;
|
|
497
|
+
readonly 'is-invalid': boolean;
|
|
498
|
+
}>;
|
|
499
|
+
protected toggle(): void;
|
|
1125
500
|
protected onInput(v: string): void;
|
|
1126
501
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadPasswordComponent, never>;
|
|
1127
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadPasswordComponent, "poad-password", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "toggleMask": { "alias": "toggleMask"; "required": false; "isSignal": true; }; "feedback": { "alias": "feedback"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, never, true, never>;
|
|
502
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadPasswordComponent, "poad-password", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "toggleMask": { "alias": "toggleMask"; "required": false; "isSignal": true; }; "feedback": { "alias": "feedback"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, never, true, never>;
|
|
1128
503
|
}
|
|
1129
504
|
|
|
1130
505
|
type PoadSliderValue = number | [number, number];
|
|
@@ -1138,6 +513,11 @@ type PoadSliderSeverity = 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
|
1138
513
|
* <poad-slider range [(value)]="[a,b]" [marks]="[0,25,50,75,100]"/>
|
|
1139
514
|
* CVA<number | [number, number]>. Remplace p-slider. Clavier ←→↑↓ (±step), PageUp/Down (±10 steps), Home/End, Shift = ×10.
|
|
1140
515
|
* `lazy` : `valueChange`/`changed` émis au relâchement seulement (`sliding` pendant le drag).
|
|
516
|
+
* De droite à gauche (`dir="rtl"`), un curseur horizontal part de la droite et ← augmente.
|
|
517
|
+
*
|
|
518
|
+
* La logique (valeurs, positions, graduations, valeur sous le pointeur, poignée la plus proche, touches, émission
|
|
519
|
+
* pendant un glissement, attributs) est `slider` de @poadio/ui-core ; ce composant écoute le pointeur et le
|
|
520
|
+
* clavier. Style partagé : `@poadio/ui-core/slider.css` (encapsulation désactivée).
|
|
1141
521
|
* @atelier icone=sliders-horizontal largeur=4 hauteur=1
|
|
1142
522
|
*/
|
|
1143
523
|
declare class PoadSliderComponent extends PoadValueAccessor<PoadSliderValue> {
|
|
@@ -1147,7 +527,7 @@ declare class PoadSliderComponent extends PoadValueAccessor<PoadSliderValue> {
|
|
|
1147
527
|
readonly step: _angular_core.InputSignalWithTransform<number | null, unknown>;
|
|
1148
528
|
readonly range: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1149
529
|
readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
1150
|
-
readonly showValue: _angular_core.InputSignal<"never" | "always" | "
|
|
530
|
+
readonly showValue: _angular_core.InputSignal<"never" | "always" | "hover" | "drag">;
|
|
1151
531
|
readonly formatValue: _angular_core.InputSignal<((v: number) => string) | null>;
|
|
1152
532
|
readonly marks: _angular_core.InputSignal<PoadSliderMark[] | "steps" | null>;
|
|
1153
533
|
readonly showTicks: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -1164,37 +544,55 @@ declare class PoadSliderComponent extends PoadValueAccessor<PoadSliderValue> {
|
|
|
1164
544
|
readonly slideStart: _angular_core.OutputEmitterRef<PoadSliderValue>;
|
|
1165
545
|
readonly slideEnd: _angular_core.OutputEmitterRef<PoadSliderValue>;
|
|
1166
546
|
protected readonly id: string;
|
|
547
|
+
private readonly hostEl;
|
|
1167
548
|
private readonly track;
|
|
1168
549
|
protected readonly dragging: _angular_core.WritableSignal<number | null>;
|
|
1169
550
|
protected readonly focused: _angular_core.WritableSignal<number | null>;
|
|
1170
551
|
protected readonly hovered: _angular_core.WritableSignal<number | null>;
|
|
1171
552
|
/** Valeur en cours de glissement (mode lazy) — sinon miroir de value(). */
|
|
1172
553
|
private readonly draft;
|
|
554
|
+
/** Valeur à l'appui du glissement en cours (pour `changed` au relâchement). */
|
|
555
|
+
private dragStartValue;
|
|
556
|
+
private readonly options;
|
|
1173
557
|
/** Valeurs normalisées [a] ou [a,b] (clampées). */
|
|
1174
558
|
protected readonly vals: _angular_core.Signal<number[]>;
|
|
559
|
+
protected readonly labelId: _angular_core.Signal<string>;
|
|
1175
560
|
protected readonly handles: _angular_core.Signal<{
|
|
1176
561
|
index: number;
|
|
1177
562
|
value: number;
|
|
563
|
+
props: {
|
|
564
|
+
readonly id: string;
|
|
565
|
+
readonly role: "slider";
|
|
566
|
+
readonly tabindex: 0 | -1;
|
|
567
|
+
readonly 'aria-valuemin': number;
|
|
568
|
+
readonly 'aria-valuemax': number;
|
|
569
|
+
readonly 'aria-valuenow': number;
|
|
570
|
+
readonly 'aria-valuetext': string;
|
|
571
|
+
readonly 'aria-orientation': _poadio_ui_core.SliderOrientation;
|
|
572
|
+
readonly 'aria-label': string | null;
|
|
573
|
+
readonly 'aria-labelledby': string | null;
|
|
574
|
+
readonly 'aria-disabled': "true" | null;
|
|
575
|
+
readonly 'aria-invalid': "true" | null;
|
|
576
|
+
};
|
|
1178
577
|
}[]>;
|
|
1179
|
-
protected readonly fillStart: _angular_core.Signal<number>;
|
|
1180
|
-
protected readonly fillSize: _angular_core.Signal<number>;
|
|
1181
578
|
protected readonly markList: _angular_core.Signal<{
|
|
1182
579
|
value: number;
|
|
1183
580
|
label?: string;
|
|
1184
581
|
}[]>;
|
|
1185
|
-
protected
|
|
582
|
+
protected readonly root: _angular_core.Signal<Record<string, boolean>>;
|
|
583
|
+
protected readonly fillStyle: _angular_core.Signal<{
|
|
584
|
+
[x: string]: string;
|
|
585
|
+
}>;
|
|
586
|
+
/** Position d'une valeur : `inset-inline-start` (horizontal) ou `bottom` (vertical). */
|
|
587
|
+
protected pos(v: number): Record<string, string>;
|
|
1186
588
|
protected fmt(v: number): string;
|
|
1187
589
|
protected bubbleVisible(i: number): boolean;
|
|
1188
|
-
private clamp;
|
|
1189
590
|
private get editable();
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
private same;
|
|
1193
|
-
/** Applique une valeur : en drag lazy → brouillon + sliding ; sinon commit + changed (si final). */
|
|
591
|
+
private get rtl();
|
|
592
|
+
/** Applique une valeur selon la règle d'émission du socle (brouillon en lazy, `changed` en fin de geste). */
|
|
1194
593
|
private apply;
|
|
1195
594
|
/** Valeur correspondant à un point de la piste. */
|
|
1196
595
|
private valueAt;
|
|
1197
|
-
private nearest;
|
|
1198
596
|
protected onTrackDown(e: PointerEvent): void;
|
|
1199
597
|
protected onHandleDown(e: PointerEvent, i: number): void;
|
|
1200
598
|
private startDrag;
|
|
@@ -1205,35 +603,21 @@ declare class PoadSliderComponent extends PoadValueAccessor<PoadSliderValue> {
|
|
|
1205
603
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadSliderComponent, "poad-slider", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "range": { "alias": "range"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "formatValue": { "alias": "formatValue"; "required": false; "isSignal": true; }; "marks": { "alias": "marks"; "required": false; "isSignal": true; }; "showTicks": { "alias": "showTicks"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "lazy": { "alias": "lazy"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "sliding": "sliding"; "slideStart": "slideStart"; "slideEnd": "slideEnd"; }, never, never, true, never>;
|
|
1206
604
|
}
|
|
1207
605
|
|
|
1208
|
-
/**
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
h: number;
|
|
1217
|
-
s: number;
|
|
1218
|
-
v: number;
|
|
1219
|
-
a: number;
|
|
1220
|
-
}
|
|
1221
|
-
type PoadColorFormat = 'hex' | 'rgb' | 'hsl';
|
|
606
|
+
/**
|
|
607
|
+
* Conversions couleur (pures) utilisées par poad-colorpicker — désormais celles d'ui-core (`color`), réexportées ici
|
|
608
|
+
* sous leurs noms historiques : ce sont les MÊMES fonctions et le même tableau de palette.
|
|
609
|
+
*/
|
|
610
|
+
|
|
611
|
+
type PoadRgba = ColorRgba;
|
|
612
|
+
type PoadHsva = ColorHsva;
|
|
613
|
+
type PoadColorFormat = ColorFormat;
|
|
1222
614
|
/** Parse `#rgb`, `#rgba`, `#rrggbb`, `#rrggbbaa`, `rgb(a)()`, `hsl(a)()`. Retourne null si invalide. */
|
|
1223
|
-
declare
|
|
1224
|
-
declare
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
declare function poadRgbToHsv({ r, g, b, a }: PoadRgba): PoadHsva;
|
|
1230
|
-
declare function poadHsvToRgb({ h, s, v, a }: PoadHsva): PoadRgba;
|
|
1231
|
-
declare function poadRgbToHsl({ r, g, b }: PoadRgba): {
|
|
1232
|
-
h: number;
|
|
1233
|
-
s: number;
|
|
1234
|
-
l: number;
|
|
1235
|
-
};
|
|
1236
|
-
declare function poadFormatColor(c: PoadRgba, format: PoadColorFormat, alpha: boolean): string;
|
|
615
|
+
declare const poadParseColor: typeof colorParse;
|
|
616
|
+
declare const poadHslToRgb: typeof colorHslToRgb;
|
|
617
|
+
declare const poadRgbToHsv: typeof colorRgbToHsv;
|
|
618
|
+
declare const poadHsvToRgb: typeof colorHsvToRgb;
|
|
619
|
+
declare const poadRgbToHsl: typeof colorRgbToHsl;
|
|
620
|
+
declare const poadFormatColor: typeof colorFormat;
|
|
1237
621
|
/** Palette dataviz cadriciel : accent + sévérités + teintes. */
|
|
1238
622
|
declare const POAD_COLOR_PRESETS: string[];
|
|
1239
623
|
|
|
@@ -1241,11 +625,15 @@ declare const POAD_COLOR_PRESETS: string[];
|
|
|
1241
625
|
* <poad-colorpicker [(value)]="color" format="hex" alpha [presets]="[…]" inline/>
|
|
1242
626
|
* CVA<string>. Panneau : zone saturation/luminosité + barre de teinte (+ alpha), champs hex/r/g/b, palette, pipette (EyeDropper si dispo).
|
|
1243
627
|
* Clavier : flèches sur les poignées (Shift = ×10). Events `changed`, `opened`, `closed`.
|
|
628
|
+
*
|
|
629
|
+
* Logique (état HSV, vue, clavier, pointeur, champs, palette, pipette, attributs, positions du panneau, fermeture) :
|
|
630
|
+
* `colorpicker` d'ui-core. Reste ici l'overlay du CDK (`cdkConnectedOverlay`) et la mesure du DOM. Style :
|
|
631
|
+
* `@poadio/ui-core/colorpicker.css` (encapsulation désactivée ; le panneau porte `.poad-colorpicker-panel`).
|
|
1244
632
|
* @atelier icone=palette largeur=3 hauteur=1
|
|
1245
633
|
*/
|
|
1246
634
|
declare class PoadColorpickerComponent extends PoadValueAccessor<string> {
|
|
1247
635
|
protected readonly i18n: UiI18n;
|
|
1248
|
-
readonly format: _angular_core.InputSignal<
|
|
636
|
+
readonly format: _angular_core.InputSignal<_poadio_ui_core.ColorFormat>;
|
|
1249
637
|
readonly alpha: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1250
638
|
readonly inline: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1251
639
|
readonly presets: _angular_core.InputSignal<string[]>;
|
|
@@ -1269,34 +657,43 @@ declare class PoadColorpickerComponent extends PoadValueAccessor<string> {
|
|
|
1269
657
|
readonly hasEyeDropper: boolean;
|
|
1270
658
|
/** État interne HSV (garde la teinte quand s=0 ou v=0). */
|
|
1271
659
|
private readonly localHsv;
|
|
1272
|
-
readonly hsv: _angular_core.Signal<
|
|
1273
|
-
readonly
|
|
660
|
+
readonly hsv: _angular_core.Signal<_poadio_ui_core.ColorHsva>;
|
|
661
|
+
protected readonly view: _angular_core.Signal<_poadio_ui_core.ColorpickerView>;
|
|
662
|
+
readonly rgb: _angular_core.Signal<_poadio_ui_core.ColorRgba>;
|
|
1274
663
|
readonly css: _angular_core.Signal<string>;
|
|
1275
664
|
readonly opaqueCss: _angular_core.Signal<string>;
|
|
1276
665
|
readonly hueCss: _angular_core.Signal<string>;
|
|
1277
666
|
readonly hex: _angular_core.Signal<string>;
|
|
1278
|
-
protected
|
|
1279
|
-
|
|
1280
|
-
|
|
667
|
+
protected readonly root: _angular_core.Signal<{
|
|
668
|
+
'is-open': boolean;
|
|
669
|
+
'is-disabled': boolean;
|
|
670
|
+
'is-invalid': boolean;
|
|
671
|
+
'is-inline': boolean;
|
|
672
|
+
'size-sm': boolean;
|
|
673
|
+
'size-lg': boolean;
|
|
674
|
+
}>;
|
|
675
|
+
protected readonly triggerAttrs: _angular_core.Signal<{
|
|
676
|
+
readonly 'aria-expanded': "true" | "false";
|
|
677
|
+
readonly 'aria-haspopup': "dialog";
|
|
678
|
+
readonly 'aria-invalid': "true" | null;
|
|
679
|
+
}>;
|
|
680
|
+
/** Positions de l'overlay du CDK : celles du socle (`COLORPICKER_PLACEMENTS`), collées au déclencheur. */
|
|
681
|
+
protected readonly positions: ConnectedPosition[];
|
|
1281
682
|
protected sameAs(p: string): boolean;
|
|
1282
683
|
open(): void;
|
|
1283
684
|
close(): void;
|
|
1284
685
|
toggle(): void;
|
|
1285
686
|
protected onOutside(e: MouseEvent): void;
|
|
687
|
+
protected onKey(e: KeyboardEvent): void;
|
|
1286
688
|
protected clear(e: Event): void;
|
|
1287
689
|
private set;
|
|
1288
690
|
protected applyPreset(p: string): void;
|
|
1289
691
|
protected onHex(v: string): void;
|
|
1290
692
|
protected onRgb(k: 'r' | 'g' | 'b', v: string): void;
|
|
1291
693
|
protected onAlpha(v: string): void;
|
|
1292
|
-
private
|
|
1293
|
-
protected
|
|
1294
|
-
protected
|
|
1295
|
-
protected dragAlpha(e: PointerEvent): void;
|
|
1296
|
-
private step;
|
|
1297
|
-
protected keySv(e: KeyboardEvent): void;
|
|
1298
|
-
protected keyHue(e: KeyboardEvent): void;
|
|
1299
|
-
protected keyAlpha(e: KeyboardEvent): void;
|
|
694
|
+
private readonly parts;
|
|
695
|
+
protected drag(e: PointerEvent, part: ColorpickerPart): void;
|
|
696
|
+
protected key(e: KeyboardEvent, part: ColorpickerPart): void;
|
|
1300
697
|
eyedrop(): Promise<void>;
|
|
1301
698
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadColorpickerComponent, never>;
|
|
1302
699
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadColorpickerComponent, "poad-colorpicker", never, { "format": { "alias": "format"; "required": false; "isSignal": true; }; "alpha": { "alias": "alpha"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "presets": { "alias": "presets"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
|
|
@@ -1304,11 +701,15 @@ declare class PoadColorpickerComponent extends PoadValueAccessor<string> {
|
|
|
1304
701
|
|
|
1305
702
|
/**
|
|
1306
703
|
* <poad-rating [(value)]="note" [max]="5" allowHalf clearable showValue severity="warning"/>
|
|
1307
|
-
* CVA<number>. Clavier ←→ (± 1 ou ½), Home/End, Suppr = 0 (clearable). `role="slider"`.
|
|
704
|
+
* CVA<number>. Clavier ←→ (± 1 ou ½ ; miroir de droite à gauche), Home/End, Suppr = 0 (clearable). `role="slider"`.
|
|
705
|
+
*
|
|
706
|
+
* La logique (clavier, survol, demi-étoile, remise à zéro, attributs) est la machine `rating` de @poadio/ui-core en
|
|
707
|
+
* usage CONTRÔLÉ ; style partagé : `@poadio/ui-core/rating.css` (encapsulation désactivée).
|
|
1308
708
|
* @atelier ajustement=naturel icone=star largeur=2 hauteur=1 pose-value=3
|
|
1309
709
|
*/
|
|
1310
710
|
declare class PoadRatingComponent extends PoadValueAccessor<number> {
|
|
1311
711
|
protected readonly i18n: UiI18n;
|
|
712
|
+
private readonly host;
|
|
1312
713
|
readonly max: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
1313
714
|
readonly allowHalf: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1314
715
|
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -1321,21 +722,48 @@ declare class PoadRatingComponent extends PoadValueAccessor<number> {
|
|
|
1321
722
|
readonly changed: _angular_core.OutputEmitterRef<number>;
|
|
1322
723
|
readonly id: string;
|
|
1323
724
|
readonly hover: _angular_core.WritableSignal<number | null>;
|
|
725
|
+
private readonly options;
|
|
726
|
+
/** État de la machine, dérivé des signaux d'Angular (valeur dans le `model`, survol ici). */
|
|
727
|
+
protected readonly state: _angular_core.Signal<RatingState>;
|
|
728
|
+
protected readonly control: _angular_core.Signal<{
|
|
729
|
+
readonly role: "slider";
|
|
730
|
+
readonly tabindex: 0 | -1;
|
|
731
|
+
readonly 'aria-valuemin': 0;
|
|
732
|
+
readonly 'aria-valuemax': number;
|
|
733
|
+
readonly 'aria-valuenow': number;
|
|
734
|
+
readonly 'aria-valuetext': string;
|
|
735
|
+
readonly 'aria-disabled': "true" | null;
|
|
736
|
+
readonly 'aria-readonly': "true" | null;
|
|
737
|
+
}>;
|
|
738
|
+
protected readonly root: _angular_core.Signal<{
|
|
739
|
+
readonly 'is-disabled': boolean;
|
|
740
|
+
readonly 'is-readonly': boolean;
|
|
741
|
+
readonly 'size-sm': boolean;
|
|
742
|
+
readonly 'size-lg': boolean;
|
|
743
|
+
}>;
|
|
1324
744
|
readonly stars: _angular_core.Signal<number[]>;
|
|
1325
|
-
readonly px: _angular_core.Signal<
|
|
745
|
+
readonly px: _angular_core.Signal<number>;
|
|
1326
746
|
readonly color: _angular_core.Signal<string>;
|
|
1327
747
|
readonly display: _angular_core.Signal<string>;
|
|
1328
748
|
protected fill(i: number): number;
|
|
1329
|
-
|
|
749
|
+
protected starClasses(i: number): {
|
|
750
|
+
readonly "is-on": boolean;
|
|
751
|
+
readonly "is-half": boolean;
|
|
752
|
+
};
|
|
753
|
+
private firstHalf;
|
|
1330
754
|
protected onMove(e: MouseEvent, i: number): void;
|
|
1331
755
|
protected onClick(e: MouseEvent, i: number): void;
|
|
1332
756
|
protected onKey(e: KeyboardEvent): void;
|
|
1333
|
-
|
|
757
|
+
/** Demande la transition au socle et applique le résultat. */
|
|
758
|
+
protected send(event: RatingEvent): void;
|
|
1334
759
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadRatingComponent, never>;
|
|
1335
760
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadRatingComponent, "poad-rating", never, { "max": { "alias": "max"; "required": false; "isSignal": true; }; "allowHalf": { "alias": "allowHalf"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, never, true, never>;
|
|
1336
761
|
}
|
|
1337
762
|
|
|
1338
|
-
/**
|
|
763
|
+
/**
|
|
764
|
+
* Presets de masque : `poadMaskPreset="phone"` etc. (`9` chiffre, `a` lettre, `*` alphanum). Le même objet que
|
|
765
|
+
* `MASK_PRESETS` de @poadio/ui-core : un preset ajouté ici sert aussi aux autres rendus.
|
|
766
|
+
*/
|
|
1339
767
|
declare const POAD_MASK_PRESETS: Record<string, string>;
|
|
1340
768
|
/** Applique un masque à une valeur brute (caractères utiles seulement) → { text (affiché), raw (sans littéraux), complete }. */
|
|
1341
769
|
declare function poadApplyMask(mask: string, input: string, slot?: string): {
|
|
@@ -1347,6 +775,7 @@ declare function poadUnmask(mask: string, text: string, slot?: string): string;
|
|
|
1347
775
|
/**
|
|
1348
776
|
* <input poadInput poadMask="99 99 99 99 99"> ou <input poadInput poadMaskPreset="phone" [(ngModel)]="tel" unmask>
|
|
1349
777
|
* Masque à la PrimeNG. CVA : la valeur du formulaire = texte masqué (ou brut si `unmask`). Validation `mask` si incomplet.
|
|
778
|
+
* La logique (lecture à travers le masque, curseur, valeur, complétude) est `mask` de @poadio/ui-core.
|
|
1350
779
|
*/
|
|
1351
780
|
declare class PoadMaskDirective implements ControlValueAccessor, Validator {
|
|
1352
781
|
private readonly el;
|
|
@@ -1368,26 +797,22 @@ declare class PoadMaskDirective implements ControlValueAccessor, Validator {
|
|
|
1368
797
|
registerOnTouched(fn: () => void): void;
|
|
1369
798
|
setDisabledState(d: boolean): void;
|
|
1370
799
|
validate(_c: AbstractControl): ValidationErrors | null;
|
|
1371
|
-
onInput(): void;
|
|
800
|
+
onInput(ev?: Event): void;
|
|
1372
801
|
onFocus(): void;
|
|
1373
802
|
onBlur(): void;
|
|
1374
|
-
private firstSlot;
|
|
1375
|
-
private escape;
|
|
1376
803
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadMaskDirective, never>;
|
|
1377
804
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PoadMaskDirective, "input[poadMask], input[poadMaskPreset]", never, { "poadMask": { "alias": "poadMask"; "required": false; "isSignal": true; }; "poadMaskPreset": { "alias": "poadMaskPreset"; "required": false; "isSignal": true; }; "slotChar": { "alias": "slotChar"; "required": false; "isSignal": true; }; "unmask": { "alias": "unmask"; "required": false; "isSignal": true; }; "autoClear": { "alias": "autoClear"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1378
805
|
}
|
|
1379
806
|
/**
|
|
1380
807
|
* <input poadInput poadKeyFilter="int"> — int | num | alpha | alphanum | hex | email | RegExp (testée sur le caractère).
|
|
1381
808
|
* Bloque les frappes/collages non conformes ; `poadKeyFilterValidateOnly` : ne bloque pas mais pose l'erreur `keyfilter` (validation de la valeur entière).
|
|
809
|
+
* La logique est le filtre de touches de @poadio/ui-core (`keyFilterBlocks`, `keyFilterPaste`, `keyFilterValid`).
|
|
1382
810
|
*/
|
|
1383
811
|
declare class PoadKeyFilterDirective implements Validator {
|
|
1384
812
|
private readonly el;
|
|
1385
813
|
readonly poadKeyFilter: _angular_core.InputSignal<string | RegExp>;
|
|
1386
814
|
readonly poadKeyFilterValidateOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1387
|
-
private
|
|
1388
|
-
private static readonly FULL;
|
|
1389
|
-
private charRe;
|
|
1390
|
-
private fullRe;
|
|
815
|
+
private filter;
|
|
1391
816
|
validate(c: AbstractControl): ValidationErrors | null;
|
|
1392
817
|
onKey(ev: Event): void;
|
|
1393
818
|
onPaste(ev: Event): void;
|
|
@@ -1411,6 +836,9 @@ declare class PoadInplaceContentDirective {
|
|
|
1411
836
|
* <ng-template poadInplaceContent><input poadInput [(ngModel)]="name"></ng-template>
|
|
1412
837
|
* </poad-inplace>
|
|
1413
838
|
* Texte → éditeur au clic/Entrée ; Échap ou blur referme (`closeOnEscape`, `closeOnBlur`) ; crayon au survol.
|
|
839
|
+
*
|
|
840
|
+
* La logique (ouverture, Échap, sortie du focus) est la machine `inplace` de @poadio/ui-core ; à l'ouverture, le focus
|
|
841
|
+
* va au premier champ de CET éditeur. Style partagé : `@poadio/ui-core/inplace.css` (encapsulation désactivée).
|
|
1414
842
|
* @atelier icone=pen-line hauteur=1
|
|
1415
843
|
*/
|
|
1416
844
|
declare class PoadInplaceComponent {
|
|
@@ -1426,9 +854,18 @@ declare class PoadInplaceComponent {
|
|
|
1426
854
|
readonly deactivated: _angular_core.OutputEmitterRef<void>;
|
|
1427
855
|
readonly displayTpl: _angular_core.Signal<PoadInplaceDisplayDirective | undefined>;
|
|
1428
856
|
readonly contentTpl: _angular_core.Signal<PoadInplaceContentDirective | undefined>;
|
|
857
|
+
private readonly host;
|
|
858
|
+
private readonly injector;
|
|
859
|
+
protected readonly state: _angular_core.Signal<InplaceState>;
|
|
860
|
+
protected readonly root: _angular_core.Signal<{
|
|
861
|
+
readonly "is-active": boolean;
|
|
862
|
+
readonly "is-disabled": boolean;
|
|
863
|
+
}>;
|
|
1429
864
|
activate(): void;
|
|
1430
865
|
deactivate(): void;
|
|
1431
866
|
protected onFocusOut(e: FocusEvent): void;
|
|
867
|
+
/** Demande la transition au socle et applique le résultat ; vrai si l'état a changé. */
|
|
868
|
+
protected send(event: InplaceEvent): boolean;
|
|
1432
869
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadInplaceComponent, never>;
|
|
1433
870
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadInplaceComponent, "poad-inplace", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "closeOnBlur": { "alias": "closeOnBlur"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; "activated": "activated"; "deactivated": "deactivated"; }, ["displayTpl", "contentTpl"], ["*"], true, never>;
|
|
1434
871
|
}
|
|
@@ -1436,6 +873,12 @@ declare class PoadInplaceComponent {
|
|
|
1436
873
|
/**
|
|
1437
874
|
* <poad-switch [(value)]="on" label="Auto-park 7 j" size="sm" labelPosition="left" />
|
|
1438
875
|
* CVA<boolean>. Espace/Entrée basculent. `readonly` = visible mais figé.
|
|
876
|
+
*
|
|
877
|
+
* La logique (état, gestes acceptés, attributs ARIA) est la machine `switch` de @poadio/ui-core, en usage
|
|
878
|
+
* CONTRÔLÉ : la valeur reste dans le `model` d'Angular (liaison, formulaire), ce composant en dérive l'état,
|
|
879
|
+
* demande la transition au socle et pose les attributs qu'il décrit. Ici ne reste que le gabarit : le style est
|
|
880
|
+
* `@poadio/ui-core/switch.css`, partagé avec les autres rendus (encapsulation désactivée, sélecteurs `.poad-switch`).
|
|
881
|
+
* Espace / Entrée : le `<button>` natif en fait un clic, d'où un seul évènement `toggle`.
|
|
1439
882
|
* @atelier ajustement=naturel icone=toggle-right largeur=2 hauteur=1 pose-label=Interrupteur
|
|
1440
883
|
*/
|
|
1441
884
|
declare class PoadSwitchComponent extends PoadValueAccessor<boolean> {
|
|
@@ -1446,6 +889,16 @@ declare class PoadSwitchComponent extends PoadValueAccessor<boolean> {
|
|
|
1446
889
|
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1447
890
|
readonly changed: _angular_core.OutputEmitterRef<boolean>;
|
|
1448
891
|
protected readonly id: string;
|
|
892
|
+
/** État de la machine, dérivé des signaux d'Angular (la valeur vit dans `value`, le formulaire dans `isDisabled`). */
|
|
893
|
+
protected readonly state: _angular_core.Signal<SwitchState>;
|
|
894
|
+
private readonly element;
|
|
895
|
+
/** Attributs du bouton, du libellé et classes de l'hôte : décrits par le socle. */
|
|
896
|
+
protected readonly control: _angular_core.Signal<_poadio_ui_core.SwitchControlProps>;
|
|
897
|
+
protected readonly labelAttrs: _angular_core.Signal<_poadio_ui_core.SwitchLabelProps | null>;
|
|
898
|
+
protected readonly root: _angular_core.Signal<{
|
|
899
|
+
readonly 'is-on': boolean;
|
|
900
|
+
readonly 'is-disabled': boolean;
|
|
901
|
+
}>;
|
|
1449
902
|
toggle(): void;
|
|
1450
903
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadSwitchComponent, never>;
|
|
1451
904
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadSwitchComponent, "poad-switch", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, ["*"], true, never>;
|
|
@@ -1455,6 +908,9 @@ declare class PoadSwitchComponent extends PoadValueAccessor<boolean> {
|
|
|
1455
908
|
* <poad-checkbox [(value)]="checked" label="PostGIS" [indeterminate]="some" />
|
|
1456
909
|
* CVA<boolean>. `indeterminate` (two-way) = état visuel « partiel » ; un clic passe à coché.
|
|
1457
910
|
* `invalid` pour l'état d'erreur (ex. CGU non acceptées).
|
|
911
|
+
*
|
|
912
|
+
* La logique (état, gestes refusés, `aria-checked` à trois valeurs) est la machine `checkbox` de @poadio/ui-core en
|
|
913
|
+
* usage CONTRÔLÉ, comme `poad-switch` ; style partagé : `@poadio/ui-core/checkbox.css` (encapsulation désactivée).
|
|
1458
914
|
* @atelier ajustement=naturel icone=check-square largeur=2 hauteur=1 pose-label="Case à cocher"
|
|
1459
915
|
*/
|
|
1460
916
|
declare class PoadCheckboxComponent extends PoadValueAccessor<boolean> {
|
|
@@ -1465,6 +921,21 @@ declare class PoadCheckboxComponent extends PoadValueAccessor<boolean> {
|
|
|
1465
921
|
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1466
922
|
readonly changed: _angular_core.OutputEmitterRef<boolean>;
|
|
1467
923
|
protected readonly id: string;
|
|
924
|
+
/** État de la machine, dérivé des signaux d'Angular (valeur et état partiel dans leurs `model`). */
|
|
925
|
+
protected readonly state: _angular_core.Signal<CheckboxState>;
|
|
926
|
+
private readonly element;
|
|
927
|
+
protected readonly control: _angular_core.Signal<_poadio_ui_core.CheckboxControlProps>;
|
|
928
|
+
protected readonly labelAttrs: _angular_core.Signal<{
|
|
929
|
+
readonly id: string;
|
|
930
|
+
readonly for: string;
|
|
931
|
+
} | null>;
|
|
932
|
+
protected readonly root: _angular_core.Signal<{
|
|
933
|
+
readonly 'is-on': boolean;
|
|
934
|
+
readonly 'is-ind': boolean;
|
|
935
|
+
readonly 'is-disabled': boolean;
|
|
936
|
+
readonly 'is-invalid': boolean;
|
|
937
|
+
}>;
|
|
938
|
+
protected readonly mark: _angular_core.Signal<"dash" | "check" | null>;
|
|
1468
939
|
toggle(): void;
|
|
1469
940
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadCheckboxComponent, never>;
|
|
1470
941
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadCheckboxComponent, "poad-checkbox", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; }, { "indeterminate": "indeterminateChange"; "changed": "changed"; }, never, ["*"], true, never>;
|
|
@@ -1476,6 +947,8 @@ declare class PoadCheckboxComponent extends PoadValueAccessor<boolean> {
|
|
|
1476
947
|
* <poad-radio value="session" label="Session" [disabled]="true" />
|
|
1477
948
|
* </poad-radio-group>
|
|
1478
949
|
* CVA<T> sur le GROUPE. Clavier : ←/→/↑/↓ déplacent la sélection (pattern WAI-ARIA radiogroup).
|
|
950
|
+
* Choix, flèches et « roving tabindex » : machine `radio` de @poadio/ui-core ; style partagé : `@poadio/ui-core/radio.css`
|
|
951
|
+
* (encapsulation désactivée, sélecteurs `.poad-radio-group`, `.poad-radio`).
|
|
1479
952
|
* @atelier icone=circle-dot largeur=2 conteneur=direct hauteur=4
|
|
1480
953
|
*/
|
|
1481
954
|
declare class PoadRadioGroupComponent<T = unknown> extends PoadValueAccessor<T> {
|
|
@@ -1489,6 +962,13 @@ declare class PoadRadioGroupComponent<T = unknown> extends PoadValueAccessor<T>
|
|
|
1489
962
|
readonly radios: _angular_core.Signal<any[]>;
|
|
1490
963
|
/** Reçoit la LISTE COMPLÈTE des radios posés, et se RATTACHE à chacun. */
|
|
1491
964
|
enregistrerEnfants(instances: unknown[]): void;
|
|
965
|
+
/** État et radios vus par la machine du socle. */
|
|
966
|
+
readonly state: _angular_core.Signal<RadioGroupState<unknown>>;
|
|
967
|
+
readonly items: _angular_core.Signal<RadioItem<unknown>[]>;
|
|
968
|
+
protected readonly groupClasses: _angular_core.Signal<{
|
|
969
|
+
readonly 'is-horizontal': boolean;
|
|
970
|
+
readonly 'is-disabled': boolean;
|
|
971
|
+
}>;
|
|
1492
972
|
select(v: T): void;
|
|
1493
973
|
protected onKey(e: KeyboardEvent): void;
|
|
1494
974
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadRadioGroupComponent<any>, never>;
|
|
@@ -1532,8 +1012,21 @@ declare class PoadRadioComponent<T = unknown> {
|
|
|
1532
1012
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1533
1013
|
protected readonly id: string;
|
|
1534
1014
|
readonly checked: _angular_core.Signal<boolean>;
|
|
1535
|
-
/**
|
|
1536
|
-
|
|
1015
|
+
/**
|
|
1016
|
+
* Ce que voit la machine : l'état du groupe et ses radios ; un radio solitaire est seul dans son groupe (tabulable).
|
|
1017
|
+
* Roving tabindex : seul l'élément coché (ou le 1er actif) est tabulable — décidé par le socle.
|
|
1018
|
+
*/
|
|
1019
|
+
private readonly view;
|
|
1020
|
+
private readonly element;
|
|
1021
|
+
protected readonly control: _angular_core.Signal<_poadio_ui_core.RadioControlProps>;
|
|
1022
|
+
protected readonly labelAttrs: _angular_core.Signal<{
|
|
1023
|
+
readonly id: string;
|
|
1024
|
+
readonly for: string;
|
|
1025
|
+
} | null>;
|
|
1026
|
+
protected readonly root: _angular_core.Signal<{
|
|
1027
|
+
readonly 'is-on': boolean;
|
|
1028
|
+
readonly 'is-disabled': boolean;
|
|
1029
|
+
}>;
|
|
1537
1030
|
focus(): void;
|
|
1538
1031
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadRadioComponent<any>, never>;
|
|
1539
1032
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadRadioComponent<any>, "poad-radio", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -1550,6 +1043,9 @@ type PoadSegmentOption = {
|
|
|
1550
1043
|
* <poad-segmented [(value)]="view" [options]="[{label:'Tableau',value:'t'},{label:'SQL',value:'s',icon:'code'}]" />
|
|
1551
1044
|
* Remplace p-selectButton. CVA<T>. `multiple` = tableau de valeurs. `allowEmpty` (single) autorise la désélection.
|
|
1552
1045
|
* `optionLabel`/`optionValue` pour des objets. Template d'option : <ng-template let-o>…</ng-template>.
|
|
1046
|
+
* Clavier : un seul arrêt de tabulation (l'option choisie, sinon la première) ; flèches, Début / Fin déplacent le focus,
|
|
1047
|
+
* Espace / Entrée choisissent. Logique : machine `segmented` de @poadio/ui-core ; style partagé :
|
|
1048
|
+
* `@poadio/ui-core/segmented.css` (encapsulation désactivée, sélecteurs `.poad-segmented`).
|
|
1553
1049
|
* @atelier icone=columns-3 hauteur=1
|
|
1554
1050
|
* @atelier-exemple options [{"label":"Jour","value":"jour"},{"label":"Semaine","value":"semaine"},{"label":"Mois","value":"mois"}]
|
|
1555
1051
|
*/
|
|
@@ -1566,10 +1062,28 @@ declare class PoadSegmentedComponent<T = unknown> extends PoadValueAccessor<T |
|
|
|
1566
1062
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
1567
1063
|
readonly changed: _angular_core.OutputEmitterRef<T | T[] | null>;
|
|
1568
1064
|
readonly tpl: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
1065
|
+
private readonly host;
|
|
1569
1066
|
protected labelOf(o: PoadSegmentOption): string;
|
|
1570
1067
|
private valOf;
|
|
1068
|
+
/** Ce que voit la machine du socle. */
|
|
1069
|
+
private readonly mode;
|
|
1070
|
+
private readonly items;
|
|
1071
|
+
protected readonly optionAttrs: _angular_core.Signal<{
|
|
1072
|
+
readonly 'aria-pressed': "true" | "false";
|
|
1073
|
+
readonly tabindex: 0 | -1;
|
|
1074
|
+
readonly disabled: boolean;
|
|
1075
|
+
}[]>;
|
|
1076
|
+
protected readonly root: _angular_core.Signal<{
|
|
1077
|
+
readonly 'is-disabled': boolean;
|
|
1078
|
+
readonly 'size-sm': boolean;
|
|
1079
|
+
readonly 'size-lg': boolean;
|
|
1080
|
+
readonly 'is-block': boolean;
|
|
1081
|
+
readonly 'is-pill': boolean;
|
|
1082
|
+
}>;
|
|
1571
1083
|
protected isOn(o: PoadSegmentOption): boolean;
|
|
1572
1084
|
protected pick(o: PoadSegmentOption): void;
|
|
1085
|
+
/** Flèches, Début / Fin : le focus passe d'une option active à l'autre (roving tabindex). */
|
|
1086
|
+
protected onKey(e: KeyboardEvent): void;
|
|
1573
1087
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadSegmentedComponent<any>, never>;
|
|
1574
1088
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadSegmentedComponent<any>, "poad-segmented", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "optionValue": { "alias": "optionValue"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "allowEmpty": { "alias": "allowEmpty"; "required": false; "isSignal": true; }; "block": { "alias": "block"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, ["tpl"], never, true, never>;
|
|
1575
1089
|
}
|
|
@@ -1577,6 +1091,8 @@ declare class PoadSegmentedComponent<T = unknown> extends PoadValueAccessor<T |
|
|
|
1577
1091
|
/**
|
|
1578
1092
|
* <poad-toggle-button [(value)]="on" onLabel="Actif" offLabel="Inactif" onIcon="check" offIcon="x" severity="primary"/>
|
|
1579
1093
|
* CVA<boolean>. Actif = bouton plein, inactif = contour. `aria-pressed`. Remplace p-toggleButton.
|
|
1094
|
+
* Logique (geste refusé, libellé / icône / apparence de chaque état) : machine `toggle-button` de @poadio/ui-core ;
|
|
1095
|
+
* style partagé : `@poadio/ui-core/toggle-button.css` et `button.css`.
|
|
1580
1096
|
* @atelier icone=toggle-left largeur=2 hauteur=1
|
|
1581
1097
|
*/
|
|
1582
1098
|
declare class PoadToggleButtonComponent extends PoadValueAccessor<boolean> {
|
|
@@ -1589,8 +1105,12 @@ declare class PoadToggleButtonComponent extends PoadValueAccessor<boolean> {
|
|
|
1589
1105
|
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1590
1106
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
1591
1107
|
readonly changed: _angular_core.OutputEmitterRef<boolean>;
|
|
1108
|
+
protected readonly state: _angular_core.Signal<ToggleButtonState>;
|
|
1109
|
+
protected readonly view: _angular_core.Signal<_poadio_ui_core.ToggleButtonView>;
|
|
1592
1110
|
readonly label: _angular_core.Signal<string>;
|
|
1593
1111
|
readonly icon: _angular_core.Signal<string | null>;
|
|
1112
|
+
private readonly button;
|
|
1113
|
+
constructor();
|
|
1594
1114
|
toggle(): void;
|
|
1595
1115
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadToggleButtonComponent, never>;
|
|
1596
1116
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadToggleButtonComponent, "poad-toggle-button", never, { "onLabel": { "alias": "onLabel"; "required": false; "isSignal": true; }; "offLabel": { "alias": "offLabel"; "required": false; "isSignal": true; }; "onIcon": { "alias": "onIcon"; "required": false; "isSignal": true; }; "offIcon": { "alias": "offIcon"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, ["*"], true, never>;
|
|
@@ -1693,6 +1213,17 @@ declare function poadParseResponsive(v: string | number | null | undefined): Par
|
|
|
1693
1213
|
/** Résout la valeur applicable au breakpoint courant (cascade mobile-first). */
|
|
1694
1214
|
declare function poadResolveResponsive(map: Partial<Record<PoadBreakpoint, string>>, bp: PoadBreakpoint): string | undefined;
|
|
1695
1215
|
|
|
1216
|
+
/**
|
|
1217
|
+
* Piège à focus d'un panneau modal (feuille basse, popover `focusTrap`) — interne. Les décisions (éléments atteignables,
|
|
1218
|
+
* focus initial, où va Tab) sont celles d'ui-core ; ici, le DOM : lister, décrire, focaliser, intercepter Tab.
|
|
1219
|
+
* Remplace le piège du CDK (`cdkTrapFocus`, `ConfigurableFocusTrap`) pour que tous les rendus piègent de la même façon.
|
|
1220
|
+
*/
|
|
1221
|
+
interface PoadFocusTrap {
|
|
1222
|
+
/** Focus initial (élément `data-poad-autofocus`, sinon premier atteignable, sinon le panneau). */
|
|
1223
|
+
focusInitial(): void;
|
|
1224
|
+
destroy(): void;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1696
1227
|
type PoadSheetHeight = 'auto' | 'half' | 'full' | (string & {});
|
|
1697
1228
|
/** Configuration d'une feuille basse (bottom-sheet). */
|
|
1698
1229
|
interface PoadSheetConfig<D = unknown> {
|
|
@@ -1744,6 +1275,8 @@ declare class PoadSheetRef<R = unknown, T = unknown> {
|
|
|
1744
1275
|
* Conteneur d'une feuille basse — chrome commun (poignée, en-tête, corps scrollable, pied), geste de glissement,
|
|
1745
1276
|
* focus trap. Monté dans un pane CDK Overlay par PoadSheetService. ViewEncapsulation.None : styles globaux préfixés
|
|
1746
1277
|
* `poad-sheet` (le contenu projeté — listes d'options, calendrier, menu — y trouve aussi ses ajustements tactiles).
|
|
1278
|
+
* Modèle (glissement, hauteurs, durée) et piège à focus : ui-core ; style : `@poadio/ui-core/sheet.css`, partagé avec
|
|
1279
|
+
* la feuille d'ui-react.
|
|
1747
1280
|
*/
|
|
1748
1281
|
declare class PoadSheetContainerComponent {
|
|
1749
1282
|
protected readonly i18n: UiI18n;
|
|
@@ -1759,7 +1292,9 @@ declare class PoadSheetContainerComponent {
|
|
|
1759
1292
|
private readonly dragY;
|
|
1760
1293
|
protected readonly dragTransform: _angular_core.Signal<string | null>;
|
|
1761
1294
|
protected readonly hostClass: _angular_core.Signal<string>;
|
|
1762
|
-
protected readonly heightCss: _angular_core.Signal<
|
|
1295
|
+
protected readonly heightCss: _angular_core.Signal<string | null>;
|
|
1296
|
+
/** Piège à focus (ui-core), posé par le service une fois le contenu rendu. */
|
|
1297
|
+
trap: PoadFocusTrap | null;
|
|
1763
1298
|
/** Glissement : vers le bas → fermeture (distance ou vélocité) ; vers le haut → agrandit si `expandable`. */
|
|
1764
1299
|
protected onDragStart(e: PointerEvent): void;
|
|
1765
1300
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadSheetContainerComponent, never>;
|
|
@@ -1787,6 +1322,8 @@ declare class PoadSheetService {
|
|
|
1787
1322
|
* Liste d'options du panneau — INTERNE, partagée par poad-select et poad-multiselect.
|
|
1788
1323
|
* Encapsulation None (classes préfixées `poad-optlist`) pour que le style s'applique aussi
|
|
1789
1324
|
* quand le panneau est rendu dans l'overlay CDK, et pour poser le z-index global des overlays.
|
|
1325
|
+
* Attributs de la liste et des options, message vide, défilement : machine `select` de @poadio/ui-core ;
|
|
1326
|
+
* style : `@poadio/ui-core/option-list.css`, partagé avec les autres rendus.
|
|
1790
1327
|
*/
|
|
1791
1328
|
declare class PoadOptionListComponent<T = unknown> {
|
|
1792
1329
|
private readonly el;
|
|
@@ -1808,6 +1345,9 @@ declare class PoadOptionListComponent<T = unknown> {
|
|
|
1808
1345
|
readonly query: _angular_core.InputSignal<string>;
|
|
1809
1346
|
readonly pick: _angular_core.OutputEmitterRef<PoadOptionItem<T>>;
|
|
1810
1347
|
readonly hover: _angular_core.OutputEmitterRef<number>;
|
|
1348
|
+
protected readonly listbox: _angular_core.Signal<_poadio_ui_core.SelectListboxProps>;
|
|
1349
|
+
protected readonly emptyKey: _angular_core.Signal<"select.empty" | "select.emptyFilter">;
|
|
1350
|
+
protected optionAttrs(it: PoadOptionItem<T>): _poadio_ui_core.SelectOptionProps;
|
|
1811
1351
|
protected ctx(it: PoadOptionItem<T>): PoadSelectItemContext<T>;
|
|
1812
1352
|
/** Fait défiler l'option d'index donné dans la zone visible. */
|
|
1813
1353
|
scrollTo(index: number): void;
|
|
@@ -1815,29 +1355,18 @@ declare class PoadOptionListComponent<T = unknown> {
|
|
|
1815
1355
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadOptionListComponent<any>, "poad-option-list", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "activeIndex": { "alias": "activeIndex"; "required": false; "isSignal": true; }; "isSelected": { "alias": "isSelected"; "required": true; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "listId": { "alias": "listId"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "itemTpl": { "alias": "itemTpl"; "required": false; "isSignal": true; }; "emptyTpl": { "alias": "emptyTpl"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "emptyFilterMessage": { "alias": "emptyFilterMessage"; "required": false; "isSignal": true; }; "filtered": { "alias": "filtered"; "required": false; "isSignal": true; }; "query": { "alias": "query"; "required": false; "isSignal": true; }; }, { "pick": "pick"; "hover": "hover"; }, never, never, true, never>;
|
|
1816
1356
|
}
|
|
1817
1357
|
|
|
1818
|
-
/** Option aplatie du panneau (index = rang parmi les options sélectionnables, groupes exclus). */
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
option: T;
|
|
1822
|
-
label: string;
|
|
1823
|
-
value: unknown;
|
|
1824
|
-
disabled: boolean;
|
|
1825
|
-
hint: string;
|
|
1826
|
-
icon: string;
|
|
1827
|
-
index: number;
|
|
1828
|
-
id: string;
|
|
1829
|
-
}
|
|
1830
|
-
interface PoadGroupItem {
|
|
1831
|
-
kind: 'group';
|
|
1832
|
-
label: string;
|
|
1833
|
-
id: string;
|
|
1834
|
-
}
|
|
1358
|
+
/** Option aplatie du panneau (index = rang parmi les options sélectionnables, groupes exclus) — `SelectOptionItem` du socle. */
|
|
1359
|
+
type PoadOptionItem<T = unknown> = SelectOptionItem<T>;
|
|
1360
|
+
type PoadGroupItem = SelectGroupItem;
|
|
1835
1361
|
type PoadListItem<T = unknown> = PoadOptionItem<T> | PoadGroupItem;
|
|
1362
|
+
/** Positions de l'overlay du CDK : celles du socle (`SELECT_PLACEMENTS`), dans le même ordre, à 4 px du déclencheur. */
|
|
1836
1363
|
declare const POAD_SELECT_POSITIONS: ConnectedPosition[];
|
|
1837
1364
|
/**
|
|
1838
|
-
* Socle partagé poad-select / poad-multiselect
|
|
1839
|
-
*
|
|
1840
|
-
*
|
|
1365
|
+
* Socle partagé poad-select / poad-multiselect. La logique est la machine `select` de @poadio/ui-core, en usage
|
|
1366
|
+
* CONTRÔLÉ : la valeur (modèle, formulaire) et l'état (signaux `isOpen`, `activeIndex`, `query`) restent dans Angular ;
|
|
1367
|
+
* chaque geste passe par `selectTransition`, qui rend l'état suivant et les effets à exécuter. Ici ne restent que ce qui
|
|
1368
|
+
* est propre à Angular : entrées / sorties, overlay du CDK, feuille basse (`PoadSheetService`), focus et mesure du DOM.
|
|
1369
|
+
* Les composants concrets fournissent le template, `isSelected` et `choose` (écrire la valeur choisie).
|
|
1841
1370
|
*/
|
|
1842
1371
|
declare abstract class PoadSelectBase<T, V> extends PoadValueAccessor<V> {
|
|
1843
1372
|
readonly options: _angular_core.InputSignal<T[]>;
|
|
@@ -1917,17 +1446,21 @@ declare abstract class PoadSelectBase<T, V> extends PoadValueAccessor<V> {
|
|
|
1917
1446
|
readonly useSheet: _angular_core.Signal<boolean>;
|
|
1918
1447
|
/** Ouverture en overlay connecté (desktop). */
|
|
1919
1448
|
readonly popoverOpen: _angular_core.Signal<boolean>;
|
|
1920
|
-
|
|
1921
|
-
|
|
1449
|
+
/** Plusieurs valeurs (multiselect) : choisir bascule l'option sans fermer. */
|
|
1450
|
+
protected readonly multiple: boolean;
|
|
1451
|
+
/** Lettres de la recherche au clavier (état de la machine sans effet sur le rendu : pas de signal). */
|
|
1452
|
+
private typed;
|
|
1922
1453
|
protected readonly isClearable: _angular_core.Signal<boolean>;
|
|
1923
1454
|
protected readonly canInteract: _angular_core.Signal<boolean>;
|
|
1455
|
+
private readonly fields;
|
|
1456
|
+
private readonly filterOptions;
|
|
1924
1457
|
/** Toutes les options (non filtrées), aplaties avec leurs groupes. */
|
|
1925
1458
|
readonly allItems: _angular_core.Signal<PoadListItem<T>[]>;
|
|
1926
1459
|
/** Options visibles après filtre (groupes vides retirés). */
|
|
1927
1460
|
readonly items: _angular_core.Signal<PoadListItem<T>[]>;
|
|
1928
1461
|
/** Options navigables au clavier (visibles, non désactivées conservées pour l'index mais sautées). */
|
|
1929
|
-
readonly visibleOptions: _angular_core.Signal<
|
|
1930
|
-
readonly activeItem: _angular_core.Signal<
|
|
1462
|
+
readonly visibleOptions: _angular_core.Signal<SelectOptionItem<T>[]>;
|
|
1463
|
+
readonly activeItem: _angular_core.Signal<SelectOptionItem<T> | null>;
|
|
1931
1464
|
readonly activeDescendant: _angular_core.Signal<string | null>;
|
|
1932
1465
|
readonly isEmpty: _angular_core.Signal<boolean>;
|
|
1933
1466
|
constructor();
|
|
@@ -1938,22 +1471,31 @@ declare abstract class PoadSelectBase<T, V> extends PoadValueAccessor<V> {
|
|
|
1938
1471
|
/** Retrouve l'option (non filtrée) portant une valeur. */
|
|
1939
1472
|
findOption(v: unknown): PoadOptionItem<T> | undefined;
|
|
1940
1473
|
abstract isSelected(item: PoadOptionItem<T>): boolean;
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1474
|
+
/** Écrit la valeur choisie (effet `pick` de la machine : l'option n'est ni désactivée, ni le composant figé). */
|
|
1475
|
+
protected abstract choose(item: PoadOptionItem<T>): void;
|
|
1476
|
+
/** État de la machine, lu dans les signaux. */
|
|
1477
|
+
protected machineState(): SelectState;
|
|
1478
|
+
protected context(): SelectContext<T>;
|
|
1479
|
+
/** Passe un évènement à la machine, applique l'état suivant aux signaux et exécute les effets. */
|
|
1480
|
+
protected send(event: SelectEvent): SelectStep<T>;
|
|
1481
|
+
private run;
|
|
1944
1482
|
open(): void;
|
|
1945
1483
|
close(refocus?: boolean): void;
|
|
1946
1484
|
toggle(): void;
|
|
1947
1485
|
focus(): void;
|
|
1486
|
+
/** Choisit une option (clic, Entrée, recherche au clavier) : la machine refuse une option désactivée ou un composant figé. */
|
|
1487
|
+
pick(item: PoadOptionItem<T>): void;
|
|
1488
|
+
private afterOpen;
|
|
1489
|
+
private afterClose;
|
|
1948
1490
|
protected onFocus(): void;
|
|
1949
1491
|
protected onBlur(): void;
|
|
1950
1492
|
protected onFilterInput(v: string): void;
|
|
1493
|
+
/** Bouton « effacer » (et Suppr / Retour arrière via la machine). */
|
|
1951
1494
|
protected clear(e?: Event): void;
|
|
1952
|
-
/**
|
|
1495
|
+
/** Effet `clear` : vider la valeur et le signaler. */
|
|
1496
|
+
protected applyClear(): void;
|
|
1497
|
+
/** Touches du déclencheur ET du champ de filtre : la machine décide, ce rendu applique au navigateur. */
|
|
1953
1498
|
protected onKeydown(e: KeyboardEvent): void;
|
|
1954
|
-
private moveActive;
|
|
1955
|
-
private moveTo;
|
|
1956
|
-
private typeahead;
|
|
1957
1499
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadSelectBase<any, any>, never>;
|
|
1958
1500
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PoadSelectBase<any, any>, never, never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "optionValue": { "alias": "optionValue"; "required": false; "isSignal": true; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; "isSignal": true; }; "optionHint": { "alias": "optionHint"; "required": false; "isSignal": true; }; "optionIcon": { "alias": "optionIcon"; "required": false; "isSignal": true; }; "optionGroupLabel": { "alias": "optionGroupLabel"; "required": false; "isSignal": true; }; "optionGroupChildren": { "alias": "optionGroupChildren"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; "dataKey": { "alias": "dataKey"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; "isSignal": true; }; "filterBy": { "alias": "filterBy"; "required": false; "isSignal": true; }; "autofocusFilter": { "alias": "autofocusFilter"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "showClear": { "alias": "showClear"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "emptyFilterMessage": { "alias": "emptyFilterMessage"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "panelMaxHeight": { "alias": "panelMaxHeight"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "mobile": { "alias": "mobile"; "required": false; "isSignal": true; }; "sheetTitle": { "alias": "sheetTitle"; "required": false; "isSignal": true; }; }, { "opened": "opened"; "closed": "closed"; "filtered": "filtered"; "cleared": "cleared"; "focusChange": "focusChange"; }, ["itemTpl", "selectedTpl", "emptyTpl", "headerTpl", "footerTpl"], never, true, never>;
|
|
1959
1501
|
}
|
|
@@ -1970,6 +1512,10 @@ declare abstract class PoadSelectBase<T, V> extends PoadValueAccessor<V> {
|
|
|
1970
1512
|
* Escape/Tab ferment, lettres = typeahead (sélection directe quand fermé), Suppr/Retour = effacer si `clearable`.
|
|
1971
1513
|
* - `open()/close()/toggle()/focus()` publiques ; events `changed`, `opened`, `closed`, `filtered`, `cleared`, `focusChange`.
|
|
1972
1514
|
* - mobile : `mobile="auto|sheet|popover"` — sous le seuil mobile le panneau s'ouvre en feuille basse (poad-sheet), options 44 px.
|
|
1515
|
+
*
|
|
1516
|
+
* Logique (état, clavier, filtre, attributs ARIA, classes d'état) : machine `select` de @poadio/ui-core, voir `PoadSelectBase`.
|
|
1517
|
+
* Ici ne restent que le gabarit (overlay du CDK, modèles de l'application) ; style : `@poadio/ui-core/select.css`, partagé
|
|
1518
|
+
* avec les autres rendus (encapsulation désactivée, sélecteurs `.poad-select`).
|
|
1973
1519
|
* @atelier icone=chevrons-up-down largeur=3 hauteur=1
|
|
1974
1520
|
* @atelier-exemple options [{"label":"Béton"},{"label":"Acier"},{"label":"Bois"},{"label":"Mixte"}]
|
|
1975
1521
|
*/
|
|
@@ -1981,10 +1527,23 @@ declare class PoadSelectComponent<T = unknown, V = unknown> extends PoadSelectBa
|
|
|
1981
1527
|
readonly selected: _angular_core.Signal<PoadOptionItem<T> | undefined>;
|
|
1982
1528
|
protected readonly fallbackLabel: _angular_core.Signal<string>;
|
|
1983
1529
|
protected readonly isSelectedFn: (it: PoadOptionItem<T>) => boolean;
|
|
1530
|
+
/** Classes d'état de l'hôte, attributs du déclencheur et du champ de filtre : décrits par le socle. */
|
|
1531
|
+
protected readonly root: _angular_core.Signal<{
|
|
1532
|
+
readonly 'is-open': boolean;
|
|
1533
|
+
readonly 'is-disabled': boolean;
|
|
1534
|
+
readonly 'is-readonly': boolean;
|
|
1535
|
+
readonly 'is-invalid': boolean;
|
|
1536
|
+
readonly 'is-focused': boolean;
|
|
1537
|
+
readonly 'has-value': boolean;
|
|
1538
|
+
readonly 'size-sm': boolean;
|
|
1539
|
+
readonly 'size-lg': boolean;
|
|
1540
|
+
}>;
|
|
1541
|
+
protected readonly triggerAttrs: _angular_core.Signal<_poadio_ui_core.SelectTriggerProps>;
|
|
1542
|
+
protected readonly filterAttrs: _angular_core.Signal<_poadio_ui_core.SelectFilterProps>;
|
|
1984
1543
|
isSelected(item: PoadOptionItem<T>): boolean;
|
|
1985
|
-
pick
|
|
1986
|
-
protected
|
|
1987
|
-
protected
|
|
1544
|
+
/** Effet `pick` : écrit la valeur si elle change, puis la machine ferme le panneau. */
|
|
1545
|
+
protected choose(item: PoadOptionItem<T>): void;
|
|
1546
|
+
protected applyClear(): void;
|
|
1988
1547
|
protected onOutsideClick(e: MouseEvent): void;
|
|
1989
1548
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadSelectComponent<any, any>, never>;
|
|
1990
1549
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadSelectComponent<any, any>, "poad-select", never, {}, { "changed": "changed"; }, never, never, true, never>;
|
|
@@ -2000,6 +1559,10 @@ declare class PoadSelectComponent<T = unknown, V = unknown> extends PoadSelectBa
|
|
|
2000
1559
|
* - Espace/Entrée basculent l'option SANS fermer le panneau ; Escape ferme.
|
|
2001
1560
|
* - events : `changed<V[]>`, `removed<V>` (chip retirée), + `opened/closed/filtered/cleared/focusChange`.
|
|
2002
1561
|
* - mobile : `mobile="auto|sheet|popover"` — feuille basse avec pied « OK (n) » sous le seuil mobile.
|
|
1562
|
+
*
|
|
1563
|
+
* Logique : machine `select` de @poadio/ui-core en mode `multiple` (voir `PoadSelectBase`) et ses compléments
|
|
1564
|
+
* `multiselect*` (bascule bornée, case « tout », ce que montre le déclencheur, classes) ; style partagé :
|
|
1565
|
+
* `@poadio/ui-core/multiselect.css` (encapsulation désactivée).
|
|
2003
1566
|
* @atelier icone=list-checks largeur=3 hauteur=1
|
|
2004
1567
|
* @atelier-exemple options [{"label":"Nord"},{"label":"Sud"},{"label":"Est"},{"label":"Ouest"}]
|
|
2005
1568
|
*/
|
|
@@ -2018,20 +1581,46 @@ declare class PoadMultiselectComponent<T = unknown, V = unknown> extends PoadSel
|
|
|
2018
1581
|
/** Options sélectionnées, dans l'ordre des options. */
|
|
2019
1582
|
readonly selectedItems: _angular_core.Signal<PoadOptionItem<T>[]>;
|
|
2020
1583
|
readonly limitReached: _angular_core.Signal<boolean>;
|
|
2021
|
-
|
|
1584
|
+
private readonly compare;
|
|
1585
|
+
/** Ce que montre le déclencheur : indication, compte, puces ou libellés joints. */
|
|
1586
|
+
protected readonly shows: _angular_core.Signal<"placeholder" | "comma" | "count" | "chips">;
|
|
2022
1587
|
protected readonly countLabel: _angular_core.Signal<string>;
|
|
2023
1588
|
protected readonly commaLabel: _angular_core.Signal<string>;
|
|
2024
|
-
protected readonly visibleEnabled: _angular_core.Signal<
|
|
2025
|
-
protected readonly allState: _angular_core.Signal<
|
|
1589
|
+
protected readonly visibleEnabled: _angular_core.Signal<_poadio_ui_core.SelectOptionItem<T>[]>;
|
|
1590
|
+
protected readonly allState: _angular_core.Signal<_poadio_ui_core.MultiselectAllState>;
|
|
1591
|
+
protected readonly allAttrs: _angular_core.Signal<{
|
|
1592
|
+
readonly role: "checkbox";
|
|
1593
|
+
readonly 'aria-checked': "true" | "false" | "mixed";
|
|
1594
|
+
readonly disabled: boolean;
|
|
1595
|
+
readonly classes: {
|
|
1596
|
+
readonly "is-on": boolean;
|
|
1597
|
+
readonly "is-mixed": boolean;
|
|
1598
|
+
};
|
|
1599
|
+
}>;
|
|
2026
1600
|
protected readonly isSelectedFn: (it: PoadOptionItem<T>) => boolean;
|
|
1601
|
+
/** Classes d'état de l'hôte, attributs du déclencheur et du champ de filtre : décrits par le socle. */
|
|
1602
|
+
protected readonly root: _angular_core.Signal<{
|
|
1603
|
+
'is-open': boolean;
|
|
1604
|
+
'is-disabled': boolean;
|
|
1605
|
+
'is-readonly': boolean;
|
|
1606
|
+
'is-invalid': boolean;
|
|
1607
|
+
'is-focused': boolean;
|
|
1608
|
+
'has-value': boolean;
|
|
1609
|
+
'is-limit': boolean;
|
|
1610
|
+
'size-sm': boolean;
|
|
1611
|
+
'size-lg': boolean;
|
|
1612
|
+
'display-chip': boolean;
|
|
1613
|
+
}>;
|
|
1614
|
+
protected readonly triggerAttrs: _angular_core.Signal<_poadio_ui_core.SelectTriggerProps>;
|
|
1615
|
+
protected readonly filterAttrs: _angular_core.Signal<_poadio_ui_core.SelectFilterProps>;
|
|
2027
1616
|
isSelected(item: PoadOptionItem<T>): boolean;
|
|
2028
|
-
|
|
2029
|
-
pick
|
|
1617
|
+
protected readonly multiple = true;
|
|
1618
|
+
/** Effet `pick` : bascule l'option (bornée par `selectionLimit`), sans fermer le panneau (machine du socle en mode `multiple`). */
|
|
1619
|
+
protected choose(item: PoadOptionItem<T>): void;
|
|
2030
1620
|
protected remove(item: PoadOptionItem<T>, e: Event): void;
|
|
2031
1621
|
protected toggleAll(): void;
|
|
2032
|
-
protected
|
|
1622
|
+
protected applyClear(): void;
|
|
2033
1623
|
private set;
|
|
2034
|
-
protected initialActiveIndex(): number;
|
|
2035
1624
|
protected onOutsideClick(e: MouseEvent): void;
|
|
2036
1625
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadMultiselectComponent<any, any>, never>;
|
|
2037
1626
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadMultiselectComponent<any, any>, "poad-multiselect", never, { "display": { "alias": "display"; "required": false; "isSignal": true; }; "maxSelectedLabels": { "alias": "maxSelectedLabels"; "required": false; "isSignal": true; }; "selectedItemsLabel": { "alias": "selectedItemsLabel"; "required": false; "isSignal": true; }; "showToggleAll": { "alias": "showToggleAll"; "required": false; "isSignal": true; }; "selectionLimit": { "alias": "selectionLimit"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "removed": "removed"; }, never, never, true, never>;
|
|
@@ -2060,9 +1649,13 @@ interface PoadLazyLoadEvent {
|
|
|
2060
1649
|
filters: PoadFilters;
|
|
2061
1650
|
globalFilter: string;
|
|
2062
1651
|
}
|
|
2063
|
-
/**
|
|
1652
|
+
/**
|
|
1653
|
+
* Comparaison typée : null/undefined en dernier, nombres/dates natifs, chaînes numériques sans casse ni accent.
|
|
1654
|
+
* `tableCompare` du socle, avec le collateur de la langue de l'environnement d'exécution (la table, elle, trie avec
|
|
1655
|
+
* celui de la langue de la bibliothèque).
|
|
1656
|
+
*/
|
|
2064
1657
|
declare function poadCompare(a: unknown, b: unknown): number;
|
|
2065
|
-
/** Tri stable multi-critères (ne mute pas). */
|
|
1658
|
+
/** Tri stable multi-critères (ne mute pas) : `tableSortRows` du socle, langue de l'environnement d'exécution. */
|
|
2066
1659
|
declare function poadSortData<T>(data: readonly T[], metas: PoadSortMeta[]): T[];
|
|
2067
1660
|
declare function poadMatch(value: unknown, filter: unknown, mode?: PoadFilterMatchMode): boolean;
|
|
2068
1661
|
/** Prédicat de filtre ligne (filtre global sur `globalFields` + filtres par colonne) ; null si aucun filtre actif. */
|
|
@@ -2367,6 +1960,8 @@ interface PoadPageEvent {
|
|
|
2367
1960
|
/**
|
|
2368
1961
|
* <poad-paginator [(first)]="first" [(rows)]="rows" [totalRecords]="42" [rowsPerPageOptions]="[10,25,50]" (pageChange)="…"/>
|
|
2369
1962
|
* Remplace p-paginator. Réutilisé par poad-table. `currentPageReportTemplate` (défaut = catalogue `paginator.report`) : {first} {last} {totalRecords} {currentPage} {totalPages} {rows}.
|
|
1963
|
+
* Calculs (pages, liens avec ellipses, rapport, changement de taille) : machine `paginator` de @poadio/ui-core ; style
|
|
1964
|
+
* partagé : `@poadio/ui-core/paginator.css` (encapsulation désactivée).
|
|
2370
1965
|
* @atelier icone=arrow-left-right hauteur=1
|
|
2371
1966
|
* @atelier-exemple totalRecords 120
|
|
2372
1967
|
* @atelier-exemple rows 10
|
|
@@ -2726,6 +2321,9 @@ declare class PoadTabComponent {
|
|
|
2726
2321
|
/**
|
|
2727
2322
|
* <poad-tabs [(value)]="tab" [(activeIndex)]="i" variant="line|pill|enclosed" size="sm|md" [stretch] [scrollable] [lazy]="true" [keepAlive]="true" (changed) (tabChange)>
|
|
2728
2323
|
* `value` prime sur `activeIndex` (les deux sont two-way et synchronisés). Clavier ←/→/Home/End sur la liste.
|
|
2324
|
+
*
|
|
2325
|
+
* Décisions (onglet actif, choix, clavier dans le sens de lecture, attributs ARIA, panneaux paresseux, classes) :
|
|
2326
|
+
* machine `tabs` de @poadio/ui-core ; style partagé : `@poadio/ui-core/tabs.css` (encapsulation désactivée).
|
|
2729
2327
|
* @atelier icone=folder conteneur=direct largeur=12 hauteur=6
|
|
2730
2328
|
*/
|
|
2731
2329
|
declare class PoadTabsComponent {
|
|
@@ -2785,19 +2383,41 @@ declare class PoadTabsComponent {
|
|
|
2785
2383
|
private readonly list;
|
|
2786
2384
|
private readonly btns;
|
|
2787
2385
|
protected readonly overflow: _angular_core.WritableSignal<boolean>;
|
|
2788
|
-
/**
|
|
2386
|
+
/** Onglets vus par le socle. */
|
|
2387
|
+
private readonly items;
|
|
2388
|
+
/** Index actif effectif : dérivé de `value` si défini, sinon de `activeIndex` (`tabsActiveIndex`). */
|
|
2789
2389
|
readonly active: _angular_core.Signal<number>;
|
|
2390
|
+
protected readonly hostClass: _angular_core.Signal<string>;
|
|
2391
|
+
protected tabAttrs(t: PoadTabComponent, i: number): {
|
|
2392
|
+
readonly id: string;
|
|
2393
|
+
readonly role: "tab";
|
|
2394
|
+
readonly 'aria-selected': "true" | "false";
|
|
2395
|
+
readonly 'aria-controls': string;
|
|
2396
|
+
readonly tabindex: 0 | -1;
|
|
2397
|
+
readonly disabled: boolean;
|
|
2398
|
+
readonly classes: {
|
|
2399
|
+
readonly "is-active": boolean;
|
|
2400
|
+
};
|
|
2401
|
+
};
|
|
2402
|
+
protected panelAttrs(t: PoadTabComponent): {
|
|
2403
|
+
readonly id: string;
|
|
2404
|
+
readonly role: "tabpanel";
|
|
2405
|
+
readonly 'aria-labelledby': string;
|
|
2406
|
+
readonly tabindex: 0;
|
|
2407
|
+
};
|
|
2408
|
+
protected panelRendered(t: PoadTabComponent, i: number): boolean;
|
|
2790
2409
|
constructor();
|
|
2791
2410
|
select(i: number, ev?: Event): void;
|
|
2792
2411
|
protected close(t: PoadTabComponent, ev: Event): void;
|
|
2412
|
+
/** ←/→ (dans le sens de lecture), Début, Fin : la machine choisit l'onglet, ce rendu l'active et le focalise. */
|
|
2793
2413
|
protected onKey(e: KeyboardEvent): void;
|
|
2794
|
-
protected scroll(dir:
|
|
2414
|
+
protected scroll(dir: 1 | -1): void;
|
|
2795
2415
|
protected checkOverflow(): void;
|
|
2796
2416
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadTabsComponent, never>;
|
|
2797
2417
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadTabsComponent, "poad-tabs", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "activeIndex": { "alias": "activeIndex"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "stretch": { "alias": "stretch"; "required": false; "isSignal": true; }; "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "lazy": { "alias": "lazy"; "required": false; "isSignal": true; }; "keepAlive": { "alias": "keepAlive"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "activeIndex": "activeIndexChange"; "changed": "changed"; "tabChange": "tabChange"; }, ["tabsProjetes"], ["[poadTabsEnd]"], true, never>;
|
|
2798
2418
|
}
|
|
2799
2419
|
|
|
2800
|
-
type PoadStepState =
|
|
2420
|
+
type PoadStepState = StepState;
|
|
2801
2421
|
/** <poad-step label="Domaine" description="…" icon [optional] [disabled] [completed] [state]="'error'"> contenu optionnel </poad-step> */
|
|
2802
2422
|
declare class PoadStepComponent {
|
|
2803
2423
|
readonly label: _angular_core.InputSignal<string>;
|
|
@@ -2808,7 +2428,7 @@ declare class PoadStepComponent {
|
|
|
2808
2428
|
/** Étape validée (utilisé par `linear`). */
|
|
2809
2429
|
readonly completed: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2810
2430
|
/** État forcé ; sinon dérivé de l'index actif (done/current/todo). */
|
|
2811
|
-
readonly state: _angular_core.InputSignal<
|
|
2431
|
+
readonly state: _angular_core.InputSignal<StepState | null>;
|
|
2812
2432
|
body: TemplateRef<unknown>;
|
|
2813
2433
|
readonly id: string;
|
|
2814
2434
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadStepComponent, never>;
|
|
@@ -2817,6 +2437,8 @@ declare class PoadStepComponent {
|
|
|
2817
2437
|
/**
|
|
2818
2438
|
* <poad-stepper [(activeIndex)]="i" [linear] [clickable]="true" orientation="horizontal|vertical" size="sm|md" (changed) (stepClick)>
|
|
2819
2439
|
* `linear` : impossible d'aller au-delà de la première étape non `completed`. Méthodes next()/prev()/goTo(i).
|
|
2440
|
+
* Décisions (état de chaque étape, étapes atteignables, attributs) : machine `stepper` de @poadio/ui-core ; style
|
|
2441
|
+
* partagé : `@poadio/ui-core/stepper.css` (encapsulation désactivée).
|
|
2820
2442
|
* @atelier icone=git-commit
|
|
2821
2443
|
*/
|
|
2822
2444
|
declare class PoadStepperComponent {
|
|
@@ -2839,6 +2461,20 @@ declare class PoadStepperComponent {
|
|
|
2839
2461
|
readonly count: _angular_core.Signal<number>;
|
|
2840
2462
|
readonly isFirst: _angular_core.Signal<boolean>;
|
|
2841
2463
|
readonly isLast: _angular_core.Signal<boolean>;
|
|
2464
|
+
/** Étapes vues par le socle. */
|
|
2465
|
+
private readonly items;
|
|
2466
|
+
protected readonly root: _angular_core.Signal<{
|
|
2467
|
+
'is-vertical': boolean;
|
|
2468
|
+
'size-sm': boolean;
|
|
2469
|
+
}>;
|
|
2470
|
+
protected itemAttrs(i: number): {
|
|
2471
|
+
readonly state: StepState;
|
|
2472
|
+
readonly 'aria-current': "step" | null;
|
|
2473
|
+
readonly disabled: boolean;
|
|
2474
|
+
readonly classes: {
|
|
2475
|
+
readonly "is-disabled": boolean;
|
|
2476
|
+
};
|
|
2477
|
+
};
|
|
2842
2478
|
protected stateOf(i: number): PoadStepState;
|
|
2843
2479
|
/** En mode linéaire : accessible jusqu'à la 1re étape non complétée (incluse). */
|
|
2844
2480
|
canGo(i: number): boolean;
|
|
@@ -2869,6 +2505,8 @@ declare class PoadPanelContentDirective {
|
|
|
2869
2505
|
* </poad-accordion-panel>
|
|
2870
2506
|
* </poad-accordion>
|
|
2871
2507
|
* `value` = valeur ouverte (string) ou tableau si `multiple`. Clavier : Entrée/Espace, ↑/↓/Home/End entre en-têtes.
|
|
2508
|
+
* Décisions (valeur ouverte, clavier entre en-têtes, attributs ARIA) : machine `accordion` de @poadio/ui-core ;
|
|
2509
|
+
* style partagé : `@poadio/ui-core/accordion.css` (encapsulation désactivée, sur les deux composants).
|
|
2872
2510
|
* @atelier icone=panel-top conteneur=flux dans=poad-accordion pose-header=Section
|
|
2873
2511
|
*/
|
|
2874
2512
|
declare class PoadAccordionPanelComponent {
|
|
@@ -2906,6 +2544,18 @@ declare class PoadAccordionPanelComponent {
|
|
|
2906
2544
|
readonly rendered: _angular_core.WritableSignal<boolean>;
|
|
2907
2545
|
/** Sans hôte, le panneau fait autorité sur lui-même : posé seul, il reste utilisable. */
|
|
2908
2546
|
readonly isOpen: _angular_core.Signal<boolean>;
|
|
2547
|
+
protected readonly headerAttrs: _angular_core.Signal<{
|
|
2548
|
+
readonly id: `${string}-h`;
|
|
2549
|
+
readonly 'aria-expanded': "true" | "false";
|
|
2550
|
+
readonly 'aria-controls': `${string}-c`;
|
|
2551
|
+
readonly disabled: boolean;
|
|
2552
|
+
}>;
|
|
2553
|
+
protected readonly regionAttrs: _angular_core.Signal<{
|
|
2554
|
+
readonly id: `${string}-c`;
|
|
2555
|
+
readonly role: "region";
|
|
2556
|
+
readonly 'aria-labelledby': `${string}-h`;
|
|
2557
|
+
readonly inert: "" | null;
|
|
2558
|
+
}>;
|
|
2909
2559
|
constructor();
|
|
2910
2560
|
toggle(): void;
|
|
2911
2561
|
focus(): void;
|
|
@@ -2930,9 +2580,10 @@ declare class PoadAccordionComponent {
|
|
|
2930
2580
|
* n'ayant plus d'injection obligatoire, c'est ce geste qui rétablit le lien.
|
|
2931
2581
|
*/
|
|
2932
2582
|
enregistrerEnfants(instances: unknown[]): void;
|
|
2933
|
-
private readonly openSet;
|
|
2934
2583
|
isOpen(v: string): boolean;
|
|
2584
|
+
/** Ouvre ou ferme un panneau : valeur suivante décidée par le socle (`accordionSet`), signalée si elle change. */
|
|
2935
2585
|
setOpen(v: string, open: boolean, panel?: PoadAccordionPanelComponent): void;
|
|
2586
|
+
/** ↓ / ↑ (en boucle), Début, Fin entre les en-têtes actifs (`accordionKeydown`). */
|
|
2936
2587
|
onKey(e: KeyboardEvent, from: PoadAccordionPanelComponent): void;
|
|
2937
2588
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadAccordionComponent, never>;
|
|
2938
2589
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadAccordionComponent, "poad-accordion", never, { "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "expandIcon": { "alias": "expandIcon"; "required": false; "isSignal": true; }; "flush": { "alias": "flush"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "changed": "changed"; }, ["panelsProjetes"], ["*"], true, never>;
|
|
@@ -3013,6 +2664,10 @@ interface PoadMenuItem {
|
|
|
3013
2664
|
* inline : liste verticale. Sous-menu 1 niveau (`items`), ouvert au survol / →. Clavier ↑/↓/Home/End/Entrée/→/←/Escape.
|
|
3014
2665
|
* mobile : `mobile="auto|sheet|popover"` — sous le seuil mobile, le menu popup s'ouvre en feuille basse (items 44 px,
|
|
3015
2666
|
* sous-menus dépliés en accordéon) sauf menu contextuel (clic droit) sur desktop.
|
|
2667
|
+
*
|
|
2668
|
+
* Décisions (élément actif, clavier du menu et du sous-menu, survol, activation, fermeture, attributs, feuille basse) :
|
|
2669
|
+
* machine `menu` de @poadio/ui-core ; restent ici l'overlay du CDK (couche, fond, position aux coordonnées), le
|
|
2670
|
+
* routeur et le focus. Style partagé : `@poadio/ui-core/menu.css` (encapsulation désactivée).
|
|
3016
2671
|
* @atelier icone=menu
|
|
3017
2672
|
* @atelier-exemple items [{"label":"Ouvrir","icon":"folder-open"},{"label":"Exporter","icon":"download"},{"separator":true},{"label":"Supprimer","icon":"trash-2","severity":"danger"}]
|
|
3018
2673
|
*/
|
|
@@ -3021,6 +2676,7 @@ declare class PoadMenuComponent {
|
|
|
3021
2676
|
private readonly vcr;
|
|
3022
2677
|
private readonly router;
|
|
3023
2678
|
private readonly host;
|
|
2679
|
+
private readonly injector;
|
|
3024
2680
|
readonly items: _angular_core.InputSignal<PoadMenuItem[]>;
|
|
3025
2681
|
readonly popup: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
3026
2682
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
@@ -3039,27 +2695,57 @@ declare class PoadMenuComponent {
|
|
|
3039
2695
|
readonly hidden: _angular_core.OutputEmitterRef<void>;
|
|
3040
2696
|
private readonly panelTpl;
|
|
3041
2697
|
protected readonly id: string;
|
|
3042
|
-
|
|
3043
|
-
protected readonly
|
|
2698
|
+
/** État de la machine `menu` : élément actif, sous-menu ouvert, élément actif du sous-menu. */
|
|
2699
|
+
protected readonly state: _angular_core.WritableSignal<MenuState>;
|
|
3044
2700
|
protected readonly visibleItems: _angular_core.Signal<PoadMenuItem[]>;
|
|
3045
2701
|
protected readonly hasIcons: _angular_core.Signal<boolean>;
|
|
3046
2702
|
private ref;
|
|
3047
2703
|
private sheetRef;
|
|
2704
|
+
/** Cible du menu flottant : le focus y revient après Échap. */
|
|
2705
|
+
private target;
|
|
3048
2706
|
private readonly bp;
|
|
3049
2707
|
private readonly sheets;
|
|
3050
2708
|
/** Le menu est actuellement rendu dans une feuille basse. */
|
|
3051
2709
|
readonly inSheet: _angular_core.WritableSignal<boolean>;
|
|
3052
2710
|
readonly visible: _angular_core.WritableSignal<boolean>;
|
|
3053
2711
|
constructor();
|
|
2712
|
+
protected itemAttrs(it: PoadMenuItem, i: number): {
|
|
2713
|
+
readonly role: "menuitem";
|
|
2714
|
+
readonly 'aria-haspopup': "menu" | null;
|
|
2715
|
+
readonly 'aria-expanded': "true" | "false" | null;
|
|
2716
|
+
readonly disabled: boolean;
|
|
2717
|
+
readonly tabindex: 0 | -1;
|
|
2718
|
+
readonly classes: {
|
|
2719
|
+
readonly "is-active": boolean;
|
|
2720
|
+
readonly "sev-danger": boolean;
|
|
2721
|
+
};
|
|
2722
|
+
};
|
|
2723
|
+
protected subAttrs(it: PoadMenuItem): {
|
|
2724
|
+
readonly role: "menuitem";
|
|
2725
|
+
readonly 'aria-haspopup': "menu" | null;
|
|
2726
|
+
readonly 'aria-expanded': "true" | "false" | null;
|
|
2727
|
+
readonly disabled: boolean;
|
|
2728
|
+
readonly tabindex: 0 | -1;
|
|
2729
|
+
readonly classes: {
|
|
2730
|
+
readonly "is-active": boolean;
|
|
2731
|
+
readonly "sev-danger": boolean;
|
|
2732
|
+
};
|
|
2733
|
+
};
|
|
2734
|
+
protected subItems(it: PoadMenuItem): PoadMenuItem[];
|
|
2735
|
+
protected subIcon(i: number): string;
|
|
3054
2736
|
/** Ouvre le menu popup, ancré à `target` (élément) ou aux coordonnées d'un MouseEvent (menu contextuel si `event.currentTarget` absent). */
|
|
3055
2737
|
show(target: MouseEvent | HTMLElement | ElementRef<HTMLElement>): void;
|
|
3056
2738
|
hide(): void;
|
|
3057
2739
|
toggle(target: MouseEvent | HTMLElement | ElementRef<HTMLElement>): void;
|
|
3058
|
-
|
|
3059
|
-
protected
|
|
3060
|
-
protected
|
|
3061
|
-
|
|
3062
|
-
|
|
2740
|
+
/** Clic (ou Entrée) sur un élément : la machine dit s'il bascule son sous-menu, s'exécute, et si le menu se ferme. */
|
|
2741
|
+
protected activate(it: PoadMenuItem, ev: Event, index: number, parent?: number): void;
|
|
2742
|
+
protected hover(i: number): void;
|
|
2743
|
+
protected subHover(j: number): void;
|
|
2744
|
+
protected closeSub(): void;
|
|
2745
|
+
/** Focus sur un élément du menu (le panneau porte `id`, où qu'il soit rendu : en ligne, overlay, feuille basse). */
|
|
2746
|
+
private focus;
|
|
2747
|
+
private apply;
|
|
2748
|
+
/** Touches du menu et du sous-menu : la machine décide, ce rendu applique (focus, fermeture). */
|
|
3063
2749
|
protected onKey(e: KeyboardEvent): void;
|
|
3064
2750
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadMenuComponent, never>;
|
|
3065
2751
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadMenuComponent, "poad-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "popup": { "alias": "popup"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "mobile": { "alias": "mobile"; "required": false; "isSignal": true; }; "sheetTitle": { "alias": "sheetTitle"; "required": false; "isSignal": true; }; }, { "itemClick": "itemClick"; "shown": "shown"; "hidden": "hidden"; }, never, never, true, never>;
|
|
@@ -3131,6 +2817,7 @@ declare class PoadMenubarComponent {
|
|
|
3131
2817
|
/**
|
|
3132
2818
|
* <poad-split-button label="Enregistrer" icon="save" [items]="[{label:'Enregistrer et fermer'},…]" (clicked)="save()" (itemClick)="…"/>
|
|
3133
2819
|
* Bouton principal + bouton chevron accolé ouvrant un poad-menu popup. Mêmes props que poadButton (severity/variant/size/loading/disabled).
|
|
2820
|
+
* Attributs du chevron et tailles : `menu` de @poadio/ui-core ; style partagé : `@poadio/ui-core/menu.css`.
|
|
3134
2821
|
*/
|
|
3135
2822
|
declare class PoadSplitButtonComponent {
|
|
3136
2823
|
protected readonly i18n: UiI18n;
|
|
@@ -3154,6 +2841,11 @@ declare class PoadSplitButtonComponent {
|
|
|
3154
2841
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
3155
2842
|
readonly menu: _angular_core.Signal<PoadMenuComponent>;
|
|
3156
2843
|
protected iconSize(): number;
|
|
2844
|
+
protected readonly toggleAttrs: _angular_core.Signal<{
|
|
2845
|
+
readonly 'aria-haspopup': "menu";
|
|
2846
|
+
readonly 'aria-expanded': "true" | "false";
|
|
2847
|
+
readonly disabled: boolean;
|
|
2848
|
+
}>;
|
|
3157
2849
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadSplitButtonComponent, never>;
|
|
3158
2850
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadSplitButtonComponent, "poad-split-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "dropdownAriaLabel": { "alias": "dropdownAriaLabel"; "required": false; "isSignal": true; }; "menuMinWidth": { "alias": "menuMinWidth"; "required": false; "isSignal": true; }; "mobile": { "alias": "mobile"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; "itemClick": "itemClick"; "opened": "opened"; "closed": "closed"; }, never, ["*"], true, never>;
|
|
3159
2851
|
}
|
|
@@ -3606,7 +3298,7 @@ declare abstract class PoadTableBase<T> {
|
|
|
3606
3298
|
readonly groupLabel: _angular_core.InputSignal<((value: unknown, field: string, rows: T[]) => string) | null>;
|
|
3607
3299
|
readonly responsive: _angular_core.InputSignal<PoadTableResponsiveMode>;
|
|
3608
3300
|
readonly stackAt: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
3609
|
-
readonly priorityBreakpoints: _angular_core.InputSignal<Partial<Record<2 |
|
|
3301
|
+
readonly priorityBreakpoints: _angular_core.InputSignal<Partial<Record<2 | 3 | 5 | 4, number>>>;
|
|
3610
3302
|
/** Colonnes masquées par priorité récupérables dans la ligne détail auto. */
|
|
3611
3303
|
readonly showHiddenInExpansion: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
3612
3304
|
/** Colonne de sélection/expansion + 1ʳᵉ colonne figées à gauche. */
|
|
@@ -3711,6 +3403,11 @@ declare abstract class PoadTableBase<T> {
|
|
|
3711
3403
|
* </poad-table>
|
|
3712
3404
|
* UN composant : plat, ARBRE (`treeField`/`parentKey`), GROUPEMENT (`groupBy`) — moteur PoadTreeAdapter ; responsive scroll|priority|stack ; colonnes figées,
|
|
3713
3405
|
* réordonnables (`columnOrder`), virtual scroll, édition inline cell|row. Tri/filtre/pagination locaux, ou tout délégué en `lazy`.
|
|
3406
|
+
* Tranche 1 (colonnes, tri par `Intl.Collator` de la langue, pagination, sélection et plage, états, clavier de grille, ARIA) :
|
|
3407
|
+
* modèle `table` et machine `paginator` de @poadio/ui-core (plan : ui-core `src/table/README.md`). Avec une sélection, la
|
|
3408
|
+
* table est une grille WAI-ARIA dont la LIGNE a le focus (une seule ligne atteignable à la tabulation ; ↑ ↓ Début Fin
|
|
3409
|
+
* Page↑ Page↓, Espace / Entrée, Maj pour la plage, Ctrl / ⌘ + A). Style de base partagé : `@poadio/ui-core/table.css`
|
|
3410
|
+
* (encapsulation désactivée) ; les feuilles de l'arbre, de l'édition et de la grille restent ici jusqu'à leur tranche.
|
|
3714
3411
|
* @atelier icone=table
|
|
3715
3412
|
* @atelier-exemple colonnes [{"field":"nom","header":"Nom"},{"field":"etat","header":"État"},{"field":"controle","header":"Dernier contrôle"}]
|
|
3716
3413
|
* @atelier-exemple value [{"nom":"Pont de Sèvres","etat":"Bon","controle":"12/03/2026"},{"nom":"Viaduc de Meudon","etat":"À surveiller","controle":"28/05/2026"},{"nom":"Passerelle Rive Sud","etat":"Bon","controle":"02/07/2026"},{"nom":"Tunnel des Acacias","etat":"Dégradé","controle":"19/08/2026"}]
|
|
@@ -3767,6 +3464,11 @@ declare class PoadTableComponent<T = Record<string, unknown>> extends PoadTableB
|
|
|
3767
3464
|
protected readonly detailPaddingLeft: _angular_core.Signal<string>;
|
|
3768
3465
|
protected readonly hasData: _angular_core.Signal<boolean>;
|
|
3769
3466
|
private readonly sortMetas;
|
|
3467
|
+
/** Collateur de la langue courante (tri du texte). */
|
|
3468
|
+
private readonly collator;
|
|
3469
|
+
/** Ce que le modèle lit de chaque colonne (une fois par changement de colonne). */
|
|
3470
|
+
private readonly colDefs;
|
|
3471
|
+
private def;
|
|
3770
3472
|
private readonly globalFields;
|
|
3771
3473
|
private readonly rowPredicate;
|
|
3772
3474
|
/** Adaptateur de nœuds (arbre / groupé), null en mode plat. */
|
|
@@ -3778,6 +3480,7 @@ declare class PoadTableComponent<T = Record<string, unknown>> extends PoadTableB
|
|
|
3778
3480
|
/** Données filtrées (identiques à `value` en lazy ; en hiérarchique : lignes conservées à plat). */
|
|
3779
3481
|
readonly filteredData: _angular_core.Signal<T[]>;
|
|
3780
3482
|
/** Données triées (à plat, ordre d'affichage). */
|
|
3483
|
+
private readonly view;
|
|
3781
3484
|
readonly sortedData: _angular_core.Signal<T[]>;
|
|
3782
3485
|
/** Lignes affichées (page courante ; en hiérarchique : lignes réelles visibles). */
|
|
3783
3486
|
/** Pagination locale active (désactivée en virtual scroll). */
|
|
@@ -3796,6 +3499,33 @@ declare class PoadTableComponent<T = Record<string, unknown>> extends PoadTableB
|
|
|
3796
3499
|
/** Total pour la pagination (racines en mode hiérarchique). */
|
|
3797
3500
|
readonly paginationTotal: _angular_core.Signal<number>;
|
|
3798
3501
|
protected readonly skeletonRows: _angular_core.Signal<number[]>;
|
|
3502
|
+
/** Ce que montre le corps : squelettes, message vide ou lignes. */
|
|
3503
|
+
protected readonly bodyState: _angular_core.Signal<"empty" | "rows" | "skeleton">;
|
|
3504
|
+
/** Lignes d'en-tête (en-têtes groupés, colonnes, filtres) : `aria-rowindex` et `aria-rowcount`. */
|
|
3505
|
+
protected readonly headerRowCount: _angular_core.Signal<number>;
|
|
3506
|
+
protected headerRowAttrs(level: number): {
|
|
3507
|
+
readonly 'aria-rowindex': number;
|
|
3508
|
+
};
|
|
3509
|
+
/** Attributs de `<table>` : grille avec sélection (treegrid en arbre), nombre de lignes, chargement. */
|
|
3510
|
+
protected readonly tableAttrs: _angular_core.Signal<{
|
|
3511
|
+
readonly role: "grid" | "treegrid" | null;
|
|
3512
|
+
readonly 'aria-rowcount': number;
|
|
3513
|
+
readonly 'aria-busy': "true" | null;
|
|
3514
|
+
readonly 'aria-multiselectable': "true" | null;
|
|
3515
|
+
}>;
|
|
3516
|
+
/** Lignes atteignables au clavier : avec une sélection (grille), ou en arbre (treegrid). */
|
|
3517
|
+
protected readonly rowsFocusable: _angular_core.Signal<boolean>;
|
|
3518
|
+
/** Position de la première ligne affichée parmi toutes (`aria-rowindex`). */
|
|
3519
|
+
private readonly rowOffset;
|
|
3520
|
+
/** Ligne active du focus itinérant (clé de suivi) ; la première ligne si elle n'est plus affichée. */
|
|
3521
|
+
private readonly activeKey;
|
|
3522
|
+
private readonly activeTrack;
|
|
3523
|
+
/** Attributs ARIA et focus d'une ligne de données. */
|
|
3524
|
+
protected rowAttrs(d: PoadDisplayRow<T>, i: number): {
|
|
3525
|
+
rowindex: number | null;
|
|
3526
|
+
selected: "true" | "false" | null;
|
|
3527
|
+
tabindex: number | null;
|
|
3528
|
+
};
|
|
3799
3529
|
protected readonly grandTotal: _angular_core.Signal<Record<string, unknown>>;
|
|
3800
3530
|
protected readonly showGrandTotalRow: _angular_core.Signal<boolean>;
|
|
3801
3531
|
protected readonly activeFilterCount: _angular_core.Signal<number>;
|
|
@@ -3804,13 +3534,15 @@ declare class PoadTableComponent<T = Record<string, unknown>> extends PoadTableB
|
|
|
3804
3534
|
readonly selectedCount: _angular_core.Signal<number>;
|
|
3805
3535
|
private readonly expandedSet;
|
|
3806
3536
|
private readonly scopeRows;
|
|
3807
|
-
protected readonly allState: _angular_core.Signal<"
|
|
3537
|
+
protected readonly allState: _angular_core.Signal<"some" | "none" | "all">;
|
|
3808
3538
|
constructor();
|
|
3809
3539
|
protected cell(row: T, c: PoadColumnComponent): unknown;
|
|
3540
|
+
private readonly booleanText;
|
|
3810
3541
|
protected formatCell(v: unknown, c: PoadColumnComponent): string;
|
|
3811
3542
|
protected thClass(c: PoadColumnComponent): string;
|
|
3812
3543
|
protected tdClass(c: PoadColumnComponent): string;
|
|
3813
3544
|
protected rowClasses(row: T, i: number, d?: PoadDisplayRow<T>): string;
|
|
3545
|
+
protected alignOf(c: PoadColumnComponent): string;
|
|
3814
3546
|
protected colWidth(c: PoadColumnComponent): string | null;
|
|
3815
3547
|
protected isResizable(c: PoadColumnComponent): boolean;
|
|
3816
3548
|
protected skeletonWidth(row: number, col: number): number;
|
|
@@ -3836,10 +3568,12 @@ declare class PoadTableComponent<T = Record<string, unknown>> extends PoadTableB
|
|
|
3836
3568
|
protected onScroll(): void;
|
|
3837
3569
|
isSorted(c: PoadColumnComponent): boolean;
|
|
3838
3570
|
protected sortIndex(c: PoadColumnComponent): number;
|
|
3839
|
-
private
|
|
3571
|
+
private sortOrderOf;
|
|
3840
3572
|
protected sortIcon(c: PoadColumnComponent): string;
|
|
3841
3573
|
protected ariaSort(c: PoadColumnComponent): string | null;
|
|
3842
3574
|
sort(c: PoadColumnComponent, event?: Event): void;
|
|
3575
|
+
/** Écrit l'état de tri (champ, ordre, liste), l'émet, et redemande les données en `lazy`. */
|
|
3576
|
+
private applySort;
|
|
3843
3577
|
protected onSearch(text: string, immediate?: boolean): void;
|
|
3844
3578
|
protected filterValue(c: PoadColumnComponent): unknown;
|
|
3845
3579
|
protected filterFn(c: PoadColumnComponent): (value: unknown, matchMode?: PoadFilterMatchMode) => void;
|
|
@@ -3864,8 +3598,15 @@ declare class PoadTableComponent<T = Record<string, unknown>> extends PoadTableB
|
|
|
3864
3598
|
/** Coche/décoche toutes les lignes d'un groupe. */
|
|
3865
3599
|
protected toggleGroupSelection(d: PoadDisplayRow<T>, on: boolean): void;
|
|
3866
3600
|
clearSelection(): void;
|
|
3867
|
-
protected onRowClick(row: T, index: number, event: MouseEvent): void;
|
|
3601
|
+
protected onRowClick(row: T, index: number, event: MouseEvent, d?: PoadDisplayRow<T>): void;
|
|
3602
|
+
/** Une ligne prend le focus (clic, tabulation) : elle devient la ligne active du focus itinérant. */
|
|
3603
|
+
protected onRowFocus(d: PoadDisplayRow<T>): void;
|
|
3868
3604
|
protected onRowKey(d: PoadDisplayRow<T>, index: number, event: KeyboardEvent): void;
|
|
3605
|
+
/**
|
|
3606
|
+
* Clavier de la grille (modèle `tableGridKey` du socle) : déplacement du focus itinérant entre les lignes, choix,
|
|
3607
|
+
* plage depuis l'ancre, tout. Les lignes sont lues dans le DOM (ordre affiché, cartes et arbre compris).
|
|
3608
|
+
*/
|
|
3609
|
+
private onGridKey;
|
|
3869
3610
|
canExpand(row: T): boolean;
|
|
3870
3611
|
isExpanded(row: T): boolean;
|
|
3871
3612
|
toggleExpand(row: T, event?: Event): void;
|
|
@@ -4078,11 +3819,17 @@ interface PoadTableSelectionContext<T> {
|
|
|
4078
3819
|
allState(): 'none' | 'some' | 'all';
|
|
4079
3820
|
set(rows: T[], index: number | null, event: Event | null, added: T[], removed: T[]): void;
|
|
4080
3821
|
}
|
|
4081
|
-
/**
|
|
3822
|
+
/**
|
|
3823
|
+
* Logique de sélection de poad-table — sortie du composant pour la lisibilité. À plat : modèle de sélection du socle
|
|
3824
|
+
* (`tableToggleRow`, `tableSelectRange`…) ; en arbre, la propagation parent ↔ enfants reste ici (tranche 3).
|
|
3825
|
+
* `lastIndex` est l'ancre de la plage (Maj).
|
|
3826
|
+
*/
|
|
4082
3827
|
declare class PoadTableSelection<T> {
|
|
4083
3828
|
private readonly ctx;
|
|
4084
3829
|
lastIndex: number | null;
|
|
4085
3830
|
constructor(ctx: PoadTableSelectionContext<T>);
|
|
3831
|
+
private readonly keyOf;
|
|
3832
|
+
private apply;
|
|
4086
3833
|
/** Lignes concernées par une bascule (arbre : + descendants si propagation down/both). */
|
|
4087
3834
|
private impacted;
|
|
4088
3835
|
/** Propagation vers le haut : un parent est sélectionné ssi tous ses descendants sélectionnables le sont. */
|
|
@@ -4457,6 +4204,8 @@ type PoadComboSource<T> = T[] | ((query: string) => T[] | Promise<T[]> | Observa
|
|
|
4457
4204
|
* <poad-combo [(value)]="ville" [suggestions]="search" optionLabel="nom" [minLength]="2" [delay]="250" dropdown forceSelection placeholder="Commune…"/>
|
|
4458
4205
|
* Autocomplete (remplace p-autocomplete et le poad-combo du studio). CVA string (texte libre) ou objet (`forceSelection`), `multiple` = chips.
|
|
4459
4206
|
* `suggestions` = tableau (filtré localement) ou fonction (query) → tableau | Promise | Observable. Template `poadSelectItem`. Clavier ↑↓ Entrée Échap.
|
|
4207
|
+
* Décisions (filtre, clavier, choix, sortie du champ, attributs, classes) : machine `combo` de @poadio/ui-core ; restent
|
|
4208
|
+
* ici l'appel des suggestions (Promise, Observable), le délai, l'overlay du CDK. Style : `@poadio/ui-core/combo.css`.
|
|
4460
4209
|
* @atelier icone=list-filter largeur=3 hauteur=1
|
|
4461
4210
|
* @atelier-exemple suggestions [{"label":"Béton armé"},{"label":"Béton précontraint"},{"label":"Acier"},{"label":"Bois lamellé"}]
|
|
4462
4211
|
*/
|
|
@@ -4499,83 +4248,66 @@ declare class PoadComboComponent<T = unknown> extends PoadValueAccessor<unknown>
|
|
|
4499
4248
|
private seq;
|
|
4500
4249
|
readonly values: _angular_core.Signal<unknown[]>;
|
|
4501
4250
|
readonly activeId: _angular_core.Signal<string | null>;
|
|
4251
|
+
protected readonly inputAttrs: _angular_core.Signal<{
|
|
4252
|
+
readonly role: "combobox";
|
|
4253
|
+
readonly 'aria-autocomplete': "list";
|
|
4254
|
+
readonly 'aria-expanded': "true" | "false";
|
|
4255
|
+
readonly 'aria-controls': string;
|
|
4256
|
+
readonly 'aria-activedescendant': string | null;
|
|
4257
|
+
readonly 'aria-invalid': "true" | null;
|
|
4258
|
+
}>;
|
|
4259
|
+
protected readonly root: _angular_core.Signal<{
|
|
4260
|
+
'is-open': boolean;
|
|
4261
|
+
'is-disabled': boolean;
|
|
4262
|
+
'is-invalid': boolean;
|
|
4263
|
+
'size-sm': boolean;
|
|
4264
|
+
'size-lg': boolean;
|
|
4265
|
+
}>;
|
|
4266
|
+
protected optionAttrs(o: T, i: number): {
|
|
4267
|
+
readonly id: `${string}-${number}`;
|
|
4268
|
+
readonly role: "option";
|
|
4269
|
+
readonly 'aria-selected': "true" | "false";
|
|
4270
|
+
readonly classes: {
|
|
4271
|
+
readonly "is-active": boolean;
|
|
4272
|
+
readonly "is-on": boolean;
|
|
4273
|
+
};
|
|
4274
|
+
};
|
|
4502
4275
|
labelOf(o: T): string;
|
|
4503
4276
|
labelOfValue(v: unknown): string;
|
|
4504
4277
|
isSelected(o: T): boolean;
|
|
4505
4278
|
constructor();
|
|
4506
4279
|
focusInput(): void;
|
|
4507
4280
|
protected onFocus(): void;
|
|
4281
|
+
/** Sortie du champ : texte libre ou sélection forcée, décidé par le socle (`comboBlur`). */
|
|
4508
4282
|
protected onBlur(): void;
|
|
4509
4283
|
protected onInput(v: string): void;
|
|
4510
4284
|
private search;
|
|
4511
4285
|
protected toggleAll(e: Event): void;
|
|
4286
|
+
/** Choix d'une suggestion (`comboPick`) : valeur suivante et texte du champ. */
|
|
4512
4287
|
pick(o: T): void;
|
|
4513
4288
|
protected removeAt(i: number, e: Event): void;
|
|
4514
4289
|
protected clear(e?: Event): void;
|
|
4515
4290
|
close(): void;
|
|
4516
4291
|
protected onOutside(e: MouseEvent): void;
|
|
4292
|
+
/** Touches du champ : la machine décide (`comboKeydown`), ce rendu applique. */
|
|
4517
4293
|
protected onKey(e: KeyboardEvent): void;
|
|
4518
4294
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadComboComponent<any>, never>;
|
|
4519
4295
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadComboComponent<any>, "poad-combo", never, { "suggestions": { "alias": "suggestions"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "delay": { "alias": "delay"; "required": false; "isSignal": true; }; "dropdown": { "alias": "dropdown"; "required": false; "isSignal": true; }; "forceSelection": { "alias": "forceSelection"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "panelMaxHeight": { "alias": "panelMaxHeight"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "completeMethod": "completeMethod"; "opened": "opened"; "closed": "closed"; }, ["itemTpl"], never, true, never>;
|
|
4520
4296
|
}
|
|
4521
4297
|
|
|
4522
|
-
/** Utilitaires date ui-angular — zéro dépendance. Dates LOCALES (pas d'UTC). */
|
|
4523
|
-
declare const pad2: (n: number) => string;
|
|
4524
|
-
declare const isValidDate: (d: unknown) => d is Date;
|
|
4525
|
-
declare const startOfDay: (d: Date) => Date;
|
|
4526
|
-
declare const startOfMonth: (d: Date) => Date;
|
|
4527
|
-
declare const endOfMonth: (d: Date) => Date;
|
|
4528
|
-
declare const daysInMonth: (y: number, m: number) => number;
|
|
4529
|
-
declare const addDays: (d: Date, n: number) => Date;
|
|
4530
|
-
declare const addMonths: (d: Date, n: number) => Date;
|
|
4531
|
-
declare const addYears: (d: Date, n: number) => Date;
|
|
4532
|
-
declare const isSameDay: (a: Date | null | undefined, b: Date | null | undefined) => boolean;
|
|
4533
|
-
declare const isSameMonth: (a: Date, b: Date) => boolean;
|
|
4534
|
-
declare const compareDay: (a: Date, b: Date) => number;
|
|
4535
|
-
declare const isBetweenDay: (d: Date, a: Date, b: Date) => boolean;
|
|
4536
|
-
/** Numéro de semaine ISO 8601. */
|
|
4537
|
-
declare function isoWeek(d: Date): number;
|
|
4538
|
-
/** ISO local sans fuseau : `yyyy-MM-dd`, `yyyy-MM-ddTHH:mm[:ss]`, `HH:mm[:ss]`, `yyyy-MM`, `yyyy`. */
|
|
4539
|
-
declare function isoOf(d: Date, mode?: 'date' | 'datetime' | 'time' | 'month' | 'year', seconds?: boolean): string;
|
|
4540
|
-
/** Parse ISO local (formes de isoOf, ' ' accepté à la place de 'T', 'Z'/offset ignorés → interprétés en local). */
|
|
4541
|
-
declare function parseIso(s: string | null | undefined): Date | null;
|
|
4542
|
-
/** Coerce Date | string | null → Date | null. */
|
|
4543
|
-
declare const toDate: (v: Date | string | number | null | undefined) => Date | null;
|
|
4544
|
-
/** Formatage par tokens : dd d MM M yyyy yy HH H hh h mm ss a (AM/PM) — tout autre caractère est recopié. */
|
|
4545
|
-
declare function formatDate(d: Date | null | undefined, fmt: string): string;
|
|
4546
|
-
/** Parse une saisie selon un format à tokens (tolérant : séparateurs libres). null si invalide. */
|
|
4547
|
-
declare function parseWithFormat(s: string, fmt: string, base?: Date | null): Date | null;
|
|
4548
|
-
/** Libellés localisés via Intl. */
|
|
4549
|
-
declare function monthNames(locale: string, style?: 'long' | 'short'): string[];
|
|
4550
|
-
declare function weekdayNames(locale: string, firstDay?: number, style?: 'short' | 'narrow' | 'long'): string[];
|
|
4551
|
-
/**
|
|
4552
|
-
* Format de saisie à tokens d'une langue : `fr-FR` → `dd/MM/yyyy`, `en-US` → `MM/dd/yyyy`, `de-DE` → `dd.MM.yyyy`.
|
|
4553
|
-
* Ordre et séparateurs viennent de `Intl.DateTimeFormat` ; `month` ne garde que mois et année.
|
|
4554
|
-
*/
|
|
4555
|
-
declare function localeDateFormat(locale: string, mode?: 'date' | 'month'): string;
|
|
4556
|
-
|
|
4557
4298
|
type PoadDateMode = 'date' | 'datetime' | 'time' | 'month' | 'year';
|
|
4558
4299
|
type PoadDateSelection = 'single' | 'range' | 'multiple';
|
|
4559
4300
|
type PoadDateValue = Date | string | null | (Date | string | null)[];
|
|
4560
|
-
|
|
4561
|
-
date: Date;
|
|
4562
|
-
key: string;
|
|
4563
|
-
day: number;
|
|
4564
|
-
out: boolean;
|
|
4565
|
-
today: boolean;
|
|
4566
|
-
sel: boolean;
|
|
4567
|
-
inRange: boolean;
|
|
4568
|
-
rangeStart: boolean;
|
|
4569
|
-
rangeEnd: boolean;
|
|
4570
|
-
disabled: boolean;
|
|
4571
|
-
label: string;
|
|
4572
|
-
week: number;
|
|
4573
|
-
}
|
|
4301
|
+
type DayCell = DayCell$1;
|
|
4574
4302
|
/**
|
|
4575
4303
|
* <poad-datepicker [(value)]="d" mode="datetime" showIcon showButtonBar />
|
|
4576
4304
|
* CVA<PoadDateValue>. `dataType='string'` (défaut, compat studio/Postgres) → ISO local
|
|
4577
4305
|
* ("yyyy-MM-dd" / "yyyy-MM-ddTHH:mm" / "HH:mm" / "yyyy-MM" / "yyyy") ; `dataType='date'` → Date.
|
|
4578
4306
|
* `selectionMode='range'` → [debut, fin] ; 'multiple' → tableau.
|
|
4307
|
+
*
|
|
4308
|
+
* Décisions (grille des jours, clavier WAI-ARIA, choix unique / intervalle / plusieurs, bornes, format, lecture de la
|
|
4309
|
+
* saisie, heure, valeur écrite, attributs) : machine `datepicker` de @poadio/ui-core, sur ses utilitaires de dates et
|
|
4310
|
+
* `Intl`. Restent ici l'overlay du CDK, la feuille basse et le focus. Style partagé : `@poadio/ui-core/datepicker.css`.
|
|
4579
4311
|
* @atelier icone=calendar-days largeur=3 hauteur=1
|
|
4580
4312
|
*/
|
|
4581
4313
|
declare class PoadDatepickerComponent extends PoadValueAccessor<PoadDateValue> {
|
|
@@ -4649,12 +4381,13 @@ declare class PoadDatepickerComponent extends PoadValueAccessor<PoadDateValue> {
|
|
|
4649
4381
|
protected readonly timeM: _angular_core.WritableSignal<number>;
|
|
4650
4382
|
protected readonly timeS: _angular_core.WritableSignal<number>;
|
|
4651
4383
|
private readonly inp;
|
|
4384
|
+
/** Positions de l'overlay du CDK : celles du socle (`DATEPICKER_PLACEMENTS`), à 6 px du champ. */
|
|
4652
4385
|
protected readonly positions: ConnectedPosition[];
|
|
4653
4386
|
/** Dates sélectionnées (normalisées). */
|
|
4654
4387
|
readonly selected: _angular_core.Signal<Date[]>;
|
|
4655
4388
|
protected readonly hasValue: _angular_core.Signal<boolean>;
|
|
4656
4389
|
protected readonly hasTime: _angular_core.Signal<boolean>;
|
|
4657
|
-
protected readonly effectiveMode: _angular_core.Signal<
|
|
4390
|
+
protected readonly effectiveMode: _angular_core.Signal<_poadio_ui_core.DateMode>;
|
|
4658
4391
|
protected readonly fmt: _angular_core.Signal<string>;
|
|
4659
4392
|
protected readonly displayText: _angular_core.Signal<string>;
|
|
4660
4393
|
protected readonly months: _angular_core.Signal<string[]>;
|
|
@@ -4663,10 +4396,44 @@ declare class PoadDatepickerComponent extends PoadValueAccessor<PoadDateValue> {
|
|
|
4663
4396
|
protected readonly decadeStart: _angular_core.Signal<number>;
|
|
4664
4397
|
protected readonly years: _angular_core.Signal<number[]>;
|
|
4665
4398
|
protected readonly hourDisplay: _angular_core.Signal<number>;
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4399
|
+
protected readonly navLabels: _angular_core.Signal<{
|
|
4400
|
+
readonly prev: "date.previousDecade";
|
|
4401
|
+
readonly next: "date.nextDecade";
|
|
4402
|
+
} | {
|
|
4403
|
+
readonly prev: "date.previousYear";
|
|
4404
|
+
readonly next: "date.nextYear";
|
|
4405
|
+
} | {
|
|
4406
|
+
readonly prev: "date.previousMonth";
|
|
4407
|
+
readonly next: "date.nextMonth";
|
|
4408
|
+
}>;
|
|
4409
|
+
protected readonly inputAttrs: _angular_core.Signal<{
|
|
4410
|
+
readonly id: string;
|
|
4411
|
+
readonly role: "combobox";
|
|
4412
|
+
readonly 'aria-haspopup': "dialog";
|
|
4413
|
+
readonly 'aria-expanded': "true" | "false";
|
|
4414
|
+
readonly 'aria-controls': string | null;
|
|
4415
|
+
readonly 'aria-invalid': "true" | null;
|
|
4416
|
+
}>;
|
|
4417
|
+
private readonly limits;
|
|
4418
|
+
protected readonly rows: _angular_core.Signal<DayCell$1[][]>;
|
|
4419
|
+
protected dayAttrs(c: DayCell): {
|
|
4420
|
+
readonly role: "gridcell";
|
|
4421
|
+
readonly 'data-key': string;
|
|
4422
|
+
readonly 'aria-selected': "true" | "false";
|
|
4423
|
+
readonly 'aria-label': string;
|
|
4424
|
+
readonly 'aria-disabled': "true" | null;
|
|
4425
|
+
readonly disabled: boolean;
|
|
4426
|
+
readonly tabindex: 0 | -1;
|
|
4427
|
+
readonly classes: {
|
|
4428
|
+
readonly "is-out": boolean;
|
|
4429
|
+
readonly "is-today": boolean;
|
|
4430
|
+
readonly "is-sel": boolean;
|
|
4431
|
+
readonly "in-range": boolean;
|
|
4432
|
+
readonly "range-start": boolean;
|
|
4433
|
+
readonly "range-end": boolean;
|
|
4434
|
+
readonly "is-hover-range": boolean;
|
|
4435
|
+
};
|
|
4436
|
+
};
|
|
4670
4437
|
constructor();
|
|
4671
4438
|
open(): void;
|
|
4672
4439
|
close(): void;
|
|
@@ -4678,6 +4445,7 @@ declare class PoadDatepickerComponent extends PoadValueAccessor<PoadDateValue> {
|
|
|
4678
4445
|
protected onInputKey(e: KeyboardEvent, raw: string): void;
|
|
4679
4446
|
protected onOutsideClick(e: MouseEvent): void;
|
|
4680
4447
|
protected onPanelKey(e: KeyboardEvent): void;
|
|
4448
|
+
/** Saisie au clavier lue selon le format (`datepickerParse`) : vidée, dates lues, ou rien de lisible. */
|
|
4681
4449
|
private applyTyped;
|
|
4682
4450
|
protected navigate(dir: 1 | -1): void;
|
|
4683
4451
|
protected isMonthSel(m: number): boolean;
|
|
@@ -4689,21 +4457,27 @@ declare class PoadDatepickerComponent extends PoadValueAccessor<PoadDateValue> {
|
|
|
4689
4457
|
protected pickYear(y: number): void;
|
|
4690
4458
|
protected isSameDay: (a: Date | null | undefined, b: Date | null | undefined) => boolean;
|
|
4691
4459
|
protected hoverInRange(d: Date): boolean;
|
|
4460
|
+
/** Choix d'un jour : dates suivantes et fermeture décidées par le socle (`datepickerPickDay`, `datepickerShouldClose`). */
|
|
4692
4461
|
protected pickDay(d: Date): void;
|
|
4693
4462
|
protected pickToday(): void;
|
|
4694
4463
|
clear(e?: Event): void;
|
|
4695
4464
|
private shouldClose;
|
|
4465
|
+
private time;
|
|
4696
4466
|
private withTime;
|
|
4697
4467
|
private isDayDisabled;
|
|
4698
4468
|
private emitValue;
|
|
4699
4469
|
private emitTimeOnly;
|
|
4700
4470
|
protected pad(n: number): string;
|
|
4471
|
+
private setTime;
|
|
4701
4472
|
protected bumpTime(part: 'h' | 'm' | 's', dir: 1 | -1): void;
|
|
4702
4473
|
protected setTimeFromInput(part: 'h' | 'm' | 's', raw: string): void;
|
|
4703
4474
|
protected onTimeKey(e: KeyboardEvent, part: 'h' | 'm' | 's'): void;
|
|
4704
4475
|
protected toggleAmPm(): void;
|
|
4705
4476
|
private applyTime;
|
|
4477
|
+
/** Clavier de la grille (WAI-ARIA) : `datepickerGridKey` décide du jour suivant (sens de lecture compris) ou du choix. */
|
|
4706
4478
|
protected onGridKey(e: KeyboardEvent): void;
|
|
4479
|
+
private readonly injector;
|
|
4480
|
+
/** Focus sur le jour `d` : tout de suite s'il est affiché, sinon après le rendu (mois changé). */
|
|
4707
4481
|
private focusGridDay;
|
|
4708
4482
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadDatepickerComponent, never>;
|
|
4709
4483
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadDatepickerComponent, "poad-datepicker", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "dataType": { "alias": "dataType"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "disabledDates": { "alias": "disabledDates"; "required": false; "isSignal": true; }; "disabledDays": { "alias": "disabledDays"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "showTime": { "alias": "showTime"; "required": false; "isSignal": true; }; "hourFormat": { "alias": "hourFormat"; "required": false; "isSignal": true; }; "stepMinute": { "alias": "stepMinute"; "required": false; "isSignal": true; }; "showSeconds": { "alias": "showSeconds"; "required": false; "isSignal": true; }; "showButtonBar": { "alias": "showButtonBar"; "required": false; "isSignal": true; }; "showWeek": { "alias": "showWeek"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "readonlyInput": { "alias": "readonlyInput"; "required": false; "isSignal": true; }; "manualInput": { "alias": "manualInput"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "mobile": { "alias": "mobile"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "opened": "opened"; "closed": "closed"; "monthChange": "monthChange"; "yearChange": "yearChange"; "cleared": "cleared"; "todayClick": "todayClick"; }, never, never, true, never>;
|
|
@@ -4777,11 +4551,15 @@ declare class PoadDialogRef<R = unknown, T = unknown> {
|
|
|
4777
4551
|
* Chrome partagé de toutes les superpositions (dialog déclaratif, dialog dynamique, drawer, confirm).
|
|
4778
4552
|
* Monté dans un pane CDK Overlay par PoadDialogService / poad-dialog / poad-drawer.
|
|
4779
4553
|
* ViewEncapsulation.None : émet aussi les règles structurelles globales (.poad-overlay-pane, backdrop, container).
|
|
4554
|
+
* Décisions (tailles, mode petit écran, classes, attributs, glissement, agrandissement) : machine `dialog` de
|
|
4555
|
+
* @poadio/ui-core ; piège à focus : celui d'ui-core (`poadFocusTrap`). Style : `@poadio/ui-core/dialog.css` ; seul
|
|
4556
|
+
* le sous-ensemble structurel de l'overlay du CDK, propre à Angular, reste ici.
|
|
4780
4557
|
*/
|
|
4781
4558
|
declare class PoadDialogContainerComponent {
|
|
4782
4559
|
protected readonly i18n: UiI18n;
|
|
4783
4560
|
readonly el: ElementRef<HTMLElement>;
|
|
4784
4561
|
private readonly bp;
|
|
4562
|
+
private readonly injector;
|
|
4785
4563
|
readonly config: _angular_core.WritableSignal<PoadDialogConfig<unknown>>;
|
|
4786
4564
|
/** Mode mobile effectif : 'full' (plein écran), 'sheet' (feuille basse) ou null (desktop / tiroir). */
|
|
4787
4565
|
readonly mobileMode: _angular_core.Signal<"full" | "sheet" | null>;
|
|
@@ -4796,14 +4574,25 @@ declare class PoadDialogContainerComponent {
|
|
|
4796
4574
|
readonly titleId: string;
|
|
4797
4575
|
readonly header: _angular_core.Signal<string>;
|
|
4798
4576
|
protected readonly hostClass: _angular_core.Signal<string>;
|
|
4799
|
-
|
|
4800
|
-
|
|
4577
|
+
protected readonly attrs: _angular_core.Signal<{
|
|
4578
|
+
readonly role: "dialog";
|
|
4579
|
+
readonly 'aria-modal': "true";
|
|
4580
|
+
readonly 'aria-labelledby': string | null;
|
|
4581
|
+
readonly tabindex: -1;
|
|
4582
|
+
}>;
|
|
4583
|
+
protected readonly maximizeButton: _angular_core.Signal<{
|
|
4584
|
+
readonly labelKey: "overlay.maximize" | "overlay.restore";
|
|
4585
|
+
readonly icon: "maximize" | "minimize";
|
|
4586
|
+
}>;
|
|
4801
4587
|
protected readonly width: _angular_core.Signal<string>;
|
|
4802
4588
|
protected readonly height: _angular_core.Signal<string | null>;
|
|
4803
4589
|
/** Le plafond à 92% laisse respirer un dialogue centré ; en plein écran mobile il n'a plus lieu d'être. */
|
|
4804
4590
|
protected readonly maxWidth: _angular_core.Signal<string>;
|
|
4805
4591
|
private readonly drag;
|
|
4806
4592
|
protected readonly dragTransform: _angular_core.Signal<string | null>;
|
|
4593
|
+
private readonly dialogEl;
|
|
4594
|
+
private trap;
|
|
4595
|
+
constructor();
|
|
4807
4596
|
toggleMaximize(): void;
|
|
4808
4597
|
focusInitial(): void;
|
|
4809
4598
|
protected onDragStart(e: PointerEvent): void;
|
|
@@ -4989,6 +4778,11 @@ declare class PoadConfirmContentComponent implements AfterViewInit {
|
|
|
4989
4778
|
readonly html: _angular_core.Signal<_angular_platform_browser.SafeHtml>;
|
|
4990
4779
|
readonly canAccept: _angular_core.Signal<boolean>;
|
|
4991
4780
|
readonly acceptSeverity: _angular_core.Signal<"primary" | "secondary" | "success" | "warning" | "danger">;
|
|
4781
|
+
protected readonly icon: _angular_core.Signal<string | null>;
|
|
4782
|
+
protected readonly classes: _angular_core.Signal<{
|
|
4783
|
+
'sev-danger': boolean;
|
|
4784
|
+
'sev-warning': boolean;
|
|
4785
|
+
}>;
|
|
4992
4786
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadConfirmContentComponent, never>;
|
|
4993
4787
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadConfirmContentComponent, "poad-confirm-content", never, {}, {}, never, never, true, never>;
|
|
4994
4788
|
}
|
|
@@ -5020,7 +4814,7 @@ declare class PoadConfirmDialogComponent {
|
|
|
5020
4814
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadConfirmDialogComponent, "poad-confirm-dialog", never, { "key": { "alias": "key"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5021
4815
|
}
|
|
5022
4816
|
|
|
5023
|
-
/** Composant interne rendu par la directive. */
|
|
4817
|
+
/** Composant interne rendu par la directive. Style : `@poadio/ui-core/tooltip.css` (encapsulation désactivée). */
|
|
5024
4818
|
declare class PoadTooltipComponent {
|
|
5025
4819
|
readonly id: string;
|
|
5026
4820
|
readonly text: _angular_core.WritableSignal<string>;
|
|
@@ -5028,6 +4822,11 @@ declare class PoadTooltipComponent {
|
|
|
5028
4822
|
readonly placement: _angular_core.WritableSignal<PoadPlacement>;
|
|
5029
4823
|
readonly maxWidth: _angular_core.WritableSignal<number>;
|
|
5030
4824
|
readonly visible: _angular_core.WritableSignal<boolean>;
|
|
4825
|
+
/** Boîte de la flèche le long du bord (`floatingArrow` d'ui-core), `null` = centrée par la feuille. */
|
|
4826
|
+
readonly arrow: _angular_core.WritableSignal<{
|
|
4827
|
+
left?: number;
|
|
4828
|
+
top?: number;
|
|
4829
|
+
} | null>;
|
|
5031
4830
|
readonly isTemplate: _angular_core.Signal<boolean>;
|
|
5032
4831
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadTooltipComponent, never>;
|
|
5033
4832
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadTooltipComponent, "poad-tooltip", never, {}, {}, never, never, true, never>;
|
|
@@ -5036,6 +4835,10 @@ declare class PoadTooltipComponent {
|
|
|
5036
4835
|
* `<button [poadTooltip]="'Redémarre les pods'" tooltipPosition="bottom">` — remplace pTooltip (59 usages).
|
|
5037
4836
|
* Survol ET focus clavier (`tooltipEvent`), délai d'apparition/disparition, flip auto, Escape ferme,
|
|
5038
4837
|
* `aria-describedby` posé sur l'hôte tant que le tooltip est visible.
|
|
4838
|
+
*
|
|
4839
|
+
* Logique (délais, survol / focus, Échap, `aria-describedby`) : machine `tooltip` d'ui-core ; positions (ordre de
|
|
4840
|
+
* retournement, distance, marge, sens d'écriture) et flèche : `floatingConnection` / `floatingArrow` d'ui-core. Reste
|
|
4841
|
+
* ici l'overlay du CDK (couche, portail, replacement au défilement) et les minuteries.
|
|
5039
4842
|
*/
|
|
5040
4843
|
declare class PoadTooltipDirective implements OnDestroy {
|
|
5041
4844
|
private readonly el;
|
|
@@ -5048,11 +4851,12 @@ declare class PoadTooltipDirective implements OnDestroy {
|
|
|
5048
4851
|
readonly tooltipHideDelay: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
5049
4852
|
readonly tooltipDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5050
4853
|
readonly tooltipMaxWidth: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
5051
|
-
readonly tooltipEvent: _angular_core.InputSignal<"both" | "
|
|
4854
|
+
readonly tooltipEvent: _angular_core.InputSignal<"both" | "focus" | "hover">;
|
|
5052
4855
|
private ref;
|
|
5053
4856
|
private cmp;
|
|
5054
|
-
private
|
|
5055
|
-
private
|
|
4857
|
+
private timer;
|
|
4858
|
+
private state;
|
|
4859
|
+
/** `aria-describedby` de l'hôte (`tooltipAnchorProps` d'ui-core). */
|
|
5056
4860
|
protected readonly describedBy: _angular_core.WritableSignal<string | null>;
|
|
5057
4861
|
constructor();
|
|
5058
4862
|
protected onEnter(): void;
|
|
@@ -5062,10 +4866,14 @@ declare class PoadTooltipDirective implements OnDestroy {
|
|
|
5062
4866
|
show(delay?: number): void;
|
|
5063
4867
|
hide(delay?: number): void;
|
|
5064
4868
|
toggle(): void;
|
|
4869
|
+
private send;
|
|
4870
|
+
private run;
|
|
5065
4871
|
private doShow;
|
|
4872
|
+
/** Flèche vers le centre de l'hôte (ui-core), mesurée une fois l'info-bulle placée. */
|
|
4873
|
+
private placeArrow;
|
|
5066
4874
|
private doHide;
|
|
5067
4875
|
private setContent;
|
|
5068
|
-
private
|
|
4876
|
+
private clearTimer;
|
|
5069
4877
|
ngOnDestroy(): void;
|
|
5070
4878
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadTooltipDirective, never>;
|
|
5071
4879
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PoadTooltipDirective, "[poadTooltip]", ["poadTooltip"], { "poadTooltip": { "alias": "poadTooltip"; "required": false; "isSignal": true; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; "isSignal": true; }; "tooltipDelay": { "alias": "tooltipDelay"; "required": false; "isSignal": true; }; "tooltipHideDelay": { "alias": "tooltipHideDelay"; "required": false; "isSignal": true; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; "isSignal": true; }; "tooltipMaxWidth": { "alias": "tooltipMaxWidth"; "required": false; "isSignal": true; }; "tooltipEvent": { "alias": "tooltipEvent"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -5076,16 +4884,21 @@ declare class PoadTooltipDirective implements OnDestroy {
|
|
|
5076
4884
|
* <button (click)="p.toggle($event)">…</button>
|
|
5077
4885
|
* Panneau flottant ancré sur une cible passée à `open(target)`. Base du futur menu contextuel.
|
|
5078
4886
|
* Mobile : `mobile="sheet"` → sous le seuil mobile le contenu s'ouvre en feuille basse (défaut 'popover' = inchangé).
|
|
4887
|
+
* La cible reçoit `aria-haspopup="dialog"`, `aria-expanded` et, ouvert, `aria-controls`.
|
|
4888
|
+
*
|
|
4889
|
+
* Décisions d'ui-core (`popover`) : bascule selon la cible, fermeture (appui extérieur, Échap), feuille basse,
|
|
4890
|
+
* attributs, positions (ordre de retournement, alignement, distance, marge, sens d'écriture) et flèche ; piège à focus
|
|
4891
|
+
* d'ui-core. Reste ici l'overlay du CDK (couche, portail, replacement au défilement, appuis extérieurs) et la feuille
|
|
4892
|
+
* basse (`PoadSheetService`). Style : `@poadio/ui-core/popover.css` (encapsulation désactivée).
|
|
5079
4893
|
* @atelier icone=message-circle
|
|
5080
4894
|
*/
|
|
5081
4895
|
declare class PoadPopoverComponent implements OnDestroy {
|
|
5082
4896
|
private readonly overlay;
|
|
5083
4897
|
private readonly vcr;
|
|
5084
|
-
private readonly focusTrapFactory;
|
|
5085
4898
|
private readonly tpl;
|
|
5086
4899
|
readonly placement: _angular_core.InputSignal<PoadPlacement>;
|
|
5087
4900
|
/** Alignement sur la cible : start | center | end (pour top/bottom = horizontal). */
|
|
5088
|
-
readonly align: _angular_core.InputSignal<"
|
|
4901
|
+
readonly align: _angular_core.InputSignal<"start" | "center" | "end">;
|
|
5089
4902
|
readonly offset: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
5090
4903
|
readonly dismissOnClickOutside: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5091
4904
|
readonly closeOnEscape: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -5101,6 +4914,21 @@ declare class PoadPopoverComponent implements OnDestroy {
|
|
|
5101
4914
|
readonly opened: _angular_core.OutputEmitterRef<void>;
|
|
5102
4915
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
5103
4916
|
protected readonly actualPlacement: _angular_core.WritableSignal<PoadPlacement>;
|
|
4917
|
+
readonly id: string;
|
|
4918
|
+
protected readonly attrs: _angular_core.Signal<{
|
|
4919
|
+
readonly id: string;
|
|
4920
|
+
readonly role: "dialog";
|
|
4921
|
+
readonly 'aria-modal': "true" | null;
|
|
4922
|
+
readonly 'data-placement': FloatingSide;
|
|
4923
|
+
readonly classes: {
|
|
4924
|
+
readonly "has-arrow": boolean;
|
|
4925
|
+
};
|
|
4926
|
+
}>;
|
|
4927
|
+
/** Boîte de la flèche le long du bord (`floatingArrow` d'ui-core), `null` = centrée par la feuille. */
|
|
4928
|
+
protected readonly arrow: _angular_core.WritableSignal<{
|
|
4929
|
+
left?: number;
|
|
4930
|
+
top?: number;
|
|
4931
|
+
} | null>;
|
|
5104
4932
|
private ref;
|
|
5105
4933
|
private sheetRef;
|
|
5106
4934
|
private readonly bp;
|
|
@@ -5116,7 +4944,11 @@ declare class PoadPopoverComponent implements OnDestroy {
|
|
|
5116
4944
|
toggle(target: HTMLElement | ElementRef<HTMLElement> | MouseEvent | Event): void;
|
|
5117
4945
|
updatePosition(): void;
|
|
5118
4946
|
protected onKey(e: KeyboardEvent): void;
|
|
5119
|
-
private
|
|
4947
|
+
private options;
|
|
4948
|
+
/** Attributs de la cible (ui-core) : posés à l'ouverture, `aria-expanded="false"` à la fermeture. */
|
|
4949
|
+
private setTrigger;
|
|
4950
|
+
/** Flèche vers le centre de la cible (ui-core), mesurée une fois le panneau placé. */
|
|
4951
|
+
private placeArrow;
|
|
5120
4952
|
private resolve;
|
|
5121
4953
|
private dispose;
|
|
5122
4954
|
ngOnDestroy(): void;
|
|
@@ -5124,7 +4956,7 @@ declare class PoadPopoverComponent implements OnDestroy {
|
|
|
5124
4956
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadPopoverComponent, "poad-popover", ["poadPopover"], { "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; "dismissOnClickOutside": { "alias": "dismissOnClickOutside"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "focusTrap": { "alias": "focusTrap"; "required": false; "isSignal": true; }; "showArrow": { "alias": "showArrow"; "required": false; "isSignal": true; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "mobile": { "alias": "mobile"; "required": false; "isSignal": true; }; "sheetTitle": { "alias": "sheetTitle"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; }, { "visible": "visibleChange"; "opened": "opened"; "closed": "closed"; }, never, ["*"], true, never>;
|
|
5125
4957
|
}
|
|
5126
4958
|
|
|
5127
|
-
type PoadToastSeverity =
|
|
4959
|
+
type PoadToastSeverity = ToastSeverity;
|
|
5128
4960
|
interface PoadToastAction {
|
|
5129
4961
|
label: string;
|
|
5130
4962
|
click: (msg: PoadToastMessage) => void;
|
|
@@ -5180,18 +5012,17 @@ declare class PoadToastItemDirective {
|
|
|
5180
5012
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadToastItemDirective, never>;
|
|
5181
5013
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PoadToastItemDirective, "[poadToastItem]", never, {}, {}, never, never, true, never>;
|
|
5182
5014
|
}
|
|
5015
|
+
/** Coins et centres de la fenêtre (le `ToastPosition` d'ui-core, écrit ici pour le catalogue). */
|
|
5183
5016
|
type PoadToastPosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top-center' | 'bottom-center';
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
state: 'in' | 'out';
|
|
5017
|
+
/** Un toast montré : l'élément du socle et son minuteur (propre au rendu). */
|
|
5018
|
+
interface ToastItem extends ToastItem$1<PoadToastMessage> {
|
|
5187
5019
|
timer: ReturnType<typeof setTimeout> | null;
|
|
5188
|
-
startedAt: number;
|
|
5189
|
-
remaining: number;
|
|
5190
|
-
paused: boolean;
|
|
5191
5020
|
}
|
|
5192
5021
|
/**
|
|
5193
5022
|
* <poad-toast position="top-right" [life]="4000" [maxVisible]="5" [preventDuplicates]="true" [showProgress]="true" />
|
|
5194
5023
|
* Conteneur des toasts d'un `key` (ou sans clé). Position fixe hors flux, pause au survol, aria-live.
|
|
5024
|
+
* Décisions (synchronisation avec la file : nouveaux, doublons, trop-plein, retraits ; durée, pause, sévérité, icône,
|
|
5025
|
+
* rôle) : machine `toast` de @poadio/ui-core ; style partagé : `@poadio/ui-core/toast.css` (encapsulation désactivée).
|
|
5195
5026
|
* @atelier icone=bell
|
|
5196
5027
|
*/
|
|
5197
5028
|
declare class PoadToastComponent {
|
|
@@ -5199,7 +5030,9 @@ declare class PoadToastComponent {
|
|
|
5199
5030
|
private readonly svc;
|
|
5200
5031
|
readonly position: _angular_core.InputSignal<PoadToastPosition>;
|
|
5201
5032
|
readonly key: _angular_core.InputSignal<string | undefined>;
|
|
5033
|
+
/** Durée de vie par défaut (ms) — `TOAST_LIFE` d'ui-core, écrit ici pour le catalogue. */
|
|
5202
5034
|
readonly life: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
5035
|
+
/** Toasts visibles au plus — `TOAST_MAX_VISIBLE` d'ui-core. */
|
|
5203
5036
|
readonly maxVisible: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
5204
5037
|
readonly preventDuplicates: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5205
5038
|
readonly showProgress: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -5209,15 +5042,26 @@ declare class PoadToastComponent {
|
|
|
5209
5042
|
readonly itemTpl: _angular_core.Signal<PoadToastItemDirective | undefined>;
|
|
5210
5043
|
protected readonly items: _angular_core.WritableSignal<ToastItem[]>;
|
|
5211
5044
|
private known;
|
|
5045
|
+
protected readonly rootClass: _angular_core.Signal<string>;
|
|
5212
5046
|
constructor();
|
|
5047
|
+
/** Synchronisation avec la file (`toastSync` du socle) : nouveaux minutés, doublons retirés, retraits et trop-plein animés. */
|
|
5213
5048
|
private sync;
|
|
5214
5049
|
protected lifeOf(m: PoadToastMessage): number;
|
|
5215
5050
|
protected sev(m: PoadToastMessage): string;
|
|
5216
5051
|
protected iconOf(m: PoadToastMessage): string;
|
|
5052
|
+
protected itemAttrs(it: ToastItem): {
|
|
5053
|
+
readonly className: "poad-toast__item sev-secondary" | "poad-toast__item sev-secondary is-out" | "poad-toast__item sev-success" | "poad-toast__item sev-success is-out" | "poad-toast__item sev-warning" | "poad-toast__item sev-warning is-out" | "poad-toast__item sev-danger" | "poad-toast__item sev-danger is-out" | "poad-toast__item sev-info" | "poad-toast__item sev-info is-out" | "poad-toast__item sev-contrast" | "poad-toast__item sev-contrast is-out";
|
|
5054
|
+
readonly role: "alert" | "status";
|
|
5055
|
+
readonly 'aria-live': "assertive" | "polite";
|
|
5056
|
+
};
|
|
5217
5057
|
private arm;
|
|
5058
|
+
/** Pause au survol : le temps restant est gardé (`toastPause`). */
|
|
5218
5059
|
protected pause(it: ToastItem): void;
|
|
5219
5060
|
protected resume(it: ToastItem): void;
|
|
5061
|
+
private replace;
|
|
5220
5062
|
protected closeFn(it: ToastItem): () => void;
|
|
5063
|
+
/** L'élément courant d'un toast (les éléments sont remplacés à chaque pause / reprise). */
|
|
5064
|
+
private current;
|
|
5221
5065
|
dismiss(it: ToastItem): void;
|
|
5222
5066
|
private animateOut;
|
|
5223
5067
|
/** Ferme tous les toasts de ce conteneur. */
|
|
@@ -5228,7 +5072,10 @@ declare class PoadToastComponent {
|
|
|
5228
5072
|
|
|
5229
5073
|
/**
|
|
5230
5074
|
* <poad-message severity="warning" [closable]="true">Le certificat expire dans 6 jours.</poad-message>
|
|
5231
|
-
* Message inline (remplace p-message). `text` ou contenu projeté ; `
|
|
5075
|
+
* Message inline (remplace p-message). `text` ou contenu projeté ; `[(open)]` (défaut `true`) : affiché ou non, à double sens
|
|
5076
|
+
* (la croix le passe à `false`), comme `show()` / `close()` ; `icon` (nom poad-icon, '' = sans icône) ; variant soft|outline ; size sm|md.
|
|
5077
|
+
* Classes et icône décrites par @poadio/ui-core (`messageClasses`, `messageIcon`) ; style partagé :
|
|
5078
|
+
* `@poadio/ui-core/message.css` (encapsulation désactivée, sélecteurs `.poad-message`).
|
|
5232
5079
|
* @atelier icone=info largeur=6 hauteur=1 pose-text="Message d'information"
|
|
5233
5080
|
*/
|
|
5234
5081
|
declare class PoadMessageComponent {
|
|
@@ -5240,19 +5087,25 @@ declare class PoadMessageComponent {
|
|
|
5240
5087
|
readonly closable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5241
5088
|
readonly variant: _angular_core.InputSignal<"outline" | "soft">;
|
|
5242
5089
|
readonly size: _angular_core.InputSignal<"sm" | "md">;
|
|
5090
|
+
/** Affiché (défaut) ou non ; à double sens : `[(open)]`. La croix le passe à `false`, `show()` à `true`. */
|
|
5091
|
+
readonly open: _angular_core.ModelSignal<boolean>;
|
|
5243
5092
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
5244
|
-
|
|
5245
|
-
protected readonly
|
|
5093
|
+
private readonly options;
|
|
5094
|
+
protected readonly hostClass: _angular_core.Signal<string>;
|
|
5095
|
+
protected readonly iconName: _angular_core.Signal<string | null>;
|
|
5096
|
+
protected readonly iconSize: _angular_core.Signal<number>;
|
|
5246
5097
|
close(): void;
|
|
5247
5098
|
/** Réaffiche un message fermé. */
|
|
5248
5099
|
show(): void;
|
|
5249
5100
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadMessageComponent, never>;
|
|
5250
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadMessageComponent, "poad-message", never, { "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["*"], true, never>;
|
|
5101
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadMessageComponent, "poad-message", never, { "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "closed": "closed"; }, never, ["*"], true, never>;
|
|
5251
5102
|
}
|
|
5252
5103
|
|
|
5253
5104
|
/**
|
|
5254
5105
|
* <poad-avatar [src]="url" text="SZ" icon="user" size="sm|md|lg" shape="circle|square" [color]="'#…'" />
|
|
5255
5106
|
* Sans `color`, la teinte est dérivée du texte (hash → hue) : stable pour un même utilisateur.
|
|
5107
|
+
* Initiales, couleurs, classes et nom décrits par @poadio/ui-core (`avatarInitials`, `avatarColors`…) ; style
|
|
5108
|
+
* partagé : `@poadio/ui-core/avatar.css` (encapsulation désactivée, sélecteurs `.poad-avatar`).
|
|
5256
5109
|
* @atelier ajustement=naturel icone=user-round largeur=1 hauteur=1 pose-text=AB
|
|
5257
5110
|
*/
|
|
5258
5111
|
declare class PoadAvatarComponent {
|
|
@@ -5266,14 +5119,23 @@ declare class PoadAvatarComponent {
|
|
|
5266
5119
|
readonly text: _angular_core.InputSignal<string>;
|
|
5267
5120
|
readonly icon: _angular_core.InputSignal<string>;
|
|
5268
5121
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg">;
|
|
5269
|
-
readonly shape: _angular_core.InputSignal<"
|
|
5122
|
+
readonly shape: _angular_core.InputSignal<"circle" | "square">;
|
|
5270
5123
|
readonly color: _angular_core.InputSignal<string | null>;
|
|
5271
5124
|
readonly label: _angular_core.InputSignal<string>;
|
|
5125
|
+
private readonly options;
|
|
5272
5126
|
protected readonly initials: _angular_core.Signal<string>;
|
|
5273
5127
|
protected readonly iconSize: _angular_core.Signal<number>;
|
|
5274
|
-
|
|
5275
|
-
protected readonly
|
|
5276
|
-
|
|
5128
|
+
protected readonly content: _angular_core.Signal<"image" | "icon" | "initials">;
|
|
5129
|
+
protected readonly colors: _angular_core.Signal<{
|
|
5130
|
+
readonly background: string | null;
|
|
5131
|
+
readonly color: string | null;
|
|
5132
|
+
}>;
|
|
5133
|
+
protected readonly root: _angular_core.Signal<{
|
|
5134
|
+
readonly 'size-sm': boolean;
|
|
5135
|
+
readonly 'size-lg': boolean;
|
|
5136
|
+
readonly 'is-square': boolean;
|
|
5137
|
+
}>;
|
|
5138
|
+
protected readonly name: _angular_core.Signal<string>;
|
|
5277
5139
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadAvatarComponent, never>;
|
|
5278
5140
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadAvatarComponent, "poad-avatar", never, { "src": { "alias": "src"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5279
5141
|
}
|
|
@@ -5281,6 +5143,8 @@ declare class PoadAvatarComponent {
|
|
|
5281
5143
|
/**
|
|
5282
5144
|
* <poad-chip label="szu" icon="user" [image]="url" avatarText="SZ" removable [selected] [disabled] size="sm|md" severity="primary" (removed) (clicked)/>
|
|
5283
5145
|
* Backspace/Suppr sur un chip focalisé → `removed`. `clickable` rend le chip actionnable (role=button).
|
|
5146
|
+
* Classes, attributs et gestes décrits par @poadio/ui-core (`chipClasses`, `chipProps`, `chipKeyAction`) ; style
|
|
5147
|
+
* partagé : `@poadio/ui-core/chip.css` (encapsulation désactivée, sélecteurs `.poad-chip`).
|
|
5284
5148
|
* @atelier ajustement=naturel icone=tags largeur=2 hauteur=1 pose-label=Élément
|
|
5285
5149
|
*/
|
|
5286
5150
|
declare class PoadChipComponent {
|
|
@@ -5297,7 +5161,11 @@ declare class PoadChipComponent {
|
|
|
5297
5161
|
readonly severity: _angular_core.InputSignal<PoadSeverity | null>;
|
|
5298
5162
|
readonly removed: _angular_core.OutputEmitterRef<void>;
|
|
5299
5163
|
readonly clicked: _angular_core.OutputEmitterRef<KeyboardEvent | MouseEvent>;
|
|
5300
|
-
|
|
5164
|
+
private readonly options;
|
|
5165
|
+
protected readonly hostClass: _angular_core.Signal<string>;
|
|
5166
|
+
protected readonly attrs: _angular_core.Signal<_poadio_ui_core.ChipProps>;
|
|
5167
|
+
protected readonly showRemove: _angular_core.Signal<boolean>;
|
|
5168
|
+
protected readonly iconSize: _angular_core.Signal<number>;
|
|
5301
5169
|
protected onClick(e: MouseEvent): void;
|
|
5302
5170
|
protected onRemove(e: Event): void;
|
|
5303
5171
|
protected onKey(e: KeyboardEvent): void;
|
|
@@ -5305,9 +5173,11 @@ declare class PoadChipComponent {
|
|
|
5305
5173
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadChipComponent, "poad-chip", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "avatarText": { "alias": "avatarText"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; }, { "removed": "removed"; "clicked": "clicked"; }, never, ["*"], true, never>;
|
|
5306
5174
|
}
|
|
5307
5175
|
|
|
5176
|
+
/** Même union que `TagSeverity` du socle, écrite ici pour le catalogue des composants. */
|
|
5308
5177
|
type PoadTagSeverity = 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'neutral';
|
|
5309
5178
|
/**
|
|
5310
5179
|
* <poad-tag severity="success" dot value="En ligne" /> — statut compact (fond soft + point).
|
|
5180
|
+
* Classes décrites par @poadio/ui-core (`tagClasses`) ; style partagé : `@poadio/ui-core/tag.css` (encapsulation désactivée).
|
|
5311
5181
|
* @atelier ajustement=naturel icone=tag largeur=1 hauteur=1 pose-value=Étiquette
|
|
5312
5182
|
*/
|
|
5313
5183
|
declare class PoadTagComponent {
|
|
@@ -5317,13 +5187,19 @@ declare class PoadTagComponent {
|
|
|
5317
5187
|
readonly icon: _angular_core.InputSignal<string>;
|
|
5318
5188
|
readonly rounded: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5319
5189
|
readonly size: _angular_core.InputSignal<"sm" | "md">;
|
|
5190
|
+
private readonly options;
|
|
5191
|
+
protected readonly hostClass: _angular_core.Signal<string>;
|
|
5192
|
+
protected readonly iconSize: _angular_core.Signal<number>;
|
|
5320
5193
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadTagComponent, never>;
|
|
5321
5194
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadTagComponent, "poad-tag", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "dot": { "alias": "dot"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
5322
5195
|
}
|
|
5323
5196
|
|
|
5197
|
+
/** Même union que `BadgeSeverity` du socle, écrite ici pour le catalogue des composants. */
|
|
5324
5198
|
type PoadBadgeSeverity = 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'neutral';
|
|
5325
5199
|
/**
|
|
5326
5200
|
* <poad-badge [value]="3" [max]="99" severity="danger" [dot] size="sm|md" />
|
|
5201
|
+
* Classes, texte (plafonné) et nom accessible décrits par @poadio/ui-core (`badgeClasses`, `badgeContent`) ; style
|
|
5202
|
+
* partagé : `@poadio/ui-core/badge.css` (encapsulation désactivée, sélecteurs `.poad-badge`).
|
|
5327
5203
|
* @atelier ajustement=naturel icone=badge-check largeur=1 hauteur=1 pose-value=3
|
|
5328
5204
|
*/
|
|
5329
5205
|
declare class PoadBadgeComponent {
|
|
@@ -5333,13 +5209,18 @@ declare class PoadBadgeComponent {
|
|
|
5333
5209
|
readonly dot: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5334
5210
|
readonly size: _angular_core.InputSignal<"sm" | "md">;
|
|
5335
5211
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
5212
|
+
private readonly options;
|
|
5213
|
+
protected readonly hostClass: _angular_core.Signal<string>;
|
|
5214
|
+
protected readonly attrs: _angular_core.Signal<{
|
|
5215
|
+
readonly "aria-label": string | null;
|
|
5216
|
+
}>;
|
|
5336
5217
|
protected readonly display: _angular_core.Signal<string>;
|
|
5337
5218
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadBadgeComponent, never>;
|
|
5338
5219
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadBadgeComponent, "poad-badge", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "dot": { "alias": "dot"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5339
5220
|
}
|
|
5340
5221
|
/**
|
|
5341
5222
|
* Directive : `<button poadButton [poadBadge]="3" poadBadgeSeverity="danger" [poadBadgeDot]="false" [poadBadgeHidden]="n===0">`
|
|
5342
|
-
* Pose une pastille en haut à droite de l'hôte (position: relative forcée si static).
|
|
5223
|
+
* Pose une pastille en haut, en fin de ligne (à droite de gauche à droite), de l'hôte (position: relative forcée si static).
|
|
5343
5224
|
*/
|
|
5344
5225
|
declare class PoadBadgeDirective {
|
|
5345
5226
|
private readonly el;
|
|
@@ -5355,9 +5236,12 @@ declare class PoadBadgeDirective {
|
|
|
5355
5236
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PoadBadgeDirective, "[poadBadge]", never, { "poadBadge": { "alias": "poadBadge"; "required": false; "isSignal": true; }; "poadBadgeSeverity": { "alias": "poadBadgeSeverity"; "required": false; "isSignal": true; }; "poadBadgeDot": { "alias": "poadBadgeDot"; "required": false; "isSignal": true; }; "poadBadgeHidden": { "alias": "poadBadgeHidden"; "required": false; "isSignal": true; }; "poadBadgeMax": { "alias": "poadBadgeMax"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5356
5237
|
}
|
|
5357
5238
|
|
|
5239
|
+
/** Même union que `ProgressSeverity` du socle, écrite ici pour le catalogue des composants. */
|
|
5358
5240
|
type PoadProgressSeverity = 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
5359
5241
|
/**
|
|
5360
5242
|
* <poad-progress [value]="62" [max]="100" [indeterminate] severity size="sm|md|lg" showValue label="Build" striped />
|
|
5243
|
+
* Classes, pourcentage et attributs décrits par @poadio/ui-core (`progressClasses`, `progressTrackProps`) ; style
|
|
5244
|
+
* partagé : `@poadio/ui-core/progress.css` (encapsulation désactivée, sélecteurs `.poad-progress`).
|
|
5361
5245
|
* @atelier icone=percent largeur=4 hauteur=1 pose-value=60
|
|
5362
5246
|
*/
|
|
5363
5247
|
declare class PoadProgressComponent {
|
|
@@ -5370,12 +5254,19 @@ declare class PoadProgressComponent {
|
|
|
5370
5254
|
readonly striped: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5371
5255
|
readonly label: _angular_core.InputSignal<string>;
|
|
5372
5256
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
5257
|
+
private readonly options;
|
|
5258
|
+
protected readonly hostClass: _angular_core.Signal<string>;
|
|
5259
|
+
protected readonly showHead: _angular_core.Signal<boolean>;
|
|
5260
|
+
protected readonly valueShown: _angular_core.Signal<boolean>;
|
|
5261
|
+
protected readonly track: _angular_core.Signal<_poadio_ui_core.ProgressTrackProps>;
|
|
5262
|
+
protected readonly barWidth: _angular_core.Signal<string | null>;
|
|
5373
5263
|
protected readonly pct: _angular_core.Signal<number>;
|
|
5374
5264
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadProgressComponent, never>;
|
|
5375
5265
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadProgressComponent, "poad-progress", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5376
5266
|
}
|
|
5377
5267
|
/**
|
|
5378
5268
|
* <poad-spinner [size]="24" [strokeWidth]="2.5" severity ariaLabel="Chargement" />
|
|
5269
|
+
* Style partagé : `@poadio/ui-core/progress.css` (sélecteurs `.poad-spinner`).
|
|
5379
5270
|
* @atelier ajustement=naturel icone=loader-2 largeur=1 hauteur=1
|
|
5380
5271
|
*/
|
|
5381
5272
|
declare class PoadSpinnerComponent {
|
|
@@ -5383,6 +5274,7 @@ declare class PoadSpinnerComponent {
|
|
|
5383
5274
|
readonly size: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
5384
5275
|
readonly strokeWidth: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
5385
5276
|
readonly severity: _angular_core.InputSignal<"primary" | "secondary" | "success" | "warning" | "danger" | "inherit">;
|
|
5277
|
+
protected readonly hostClass: _angular_core.Signal<string>;
|
|
5386
5278
|
/** Nom accessible ; par défaut le message `display.loading` du catalogue. */
|
|
5387
5279
|
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
5388
5280
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadSpinnerComponent, never>;
|
|
@@ -5391,6 +5283,7 @@ declare class PoadSpinnerComponent {
|
|
|
5391
5283
|
|
|
5392
5284
|
/**
|
|
5393
5285
|
* <poad-skeleton width="70%" height="12px" shape="text|rect|circle" [lines]="3" [animation]="true" />
|
|
5286
|
+
* Barres et classes décrites par @poadio/ui-core (`skeletonBars`) ; style partagé : `@poadio/ui-core/skeleton.css`.
|
|
5394
5287
|
* @atelier icone=loader
|
|
5395
5288
|
*/
|
|
5396
5289
|
declare class PoadSkeletonComponent {
|
|
@@ -5401,7 +5294,12 @@ declare class PoadSkeletonComponent {
|
|
|
5401
5294
|
readonly animation: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5402
5295
|
/** Largeur de la dernière ligne en multi-lignes (effet paragraphe). */
|
|
5403
5296
|
readonly lastWidth: _angular_core.InputSignal<string>;
|
|
5404
|
-
|
|
5297
|
+
private readonly options;
|
|
5298
|
+
protected readonly bars: _angular_core.Signal<_poadio_ui_core.SkeletonBar[]>;
|
|
5299
|
+
protected readonly root: _angular_core.Signal<{
|
|
5300
|
+
readonly 'no-anim': boolean;
|
|
5301
|
+
readonly 'is-multi': boolean;
|
|
5302
|
+
}>;
|
|
5405
5303
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadSkeletonComponent, never>;
|
|
5406
5304
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadSkeletonComponent, "poad-skeleton", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "lines": { "alias": "lines"; "required": false; "isSignal": true; }; "animation": { "alias": "animation"; "required": false; "isSignal": true; }; "lastWidth": { "alias": "lastWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5407
5305
|
}
|
|
@@ -5437,12 +5335,19 @@ declare class PoadCardComponent {
|
|
|
5437
5335
|
|
|
5438
5336
|
/**
|
|
5439
5337
|
* <poad-divider [vertical] align="left|center|right" [dashed]>texte optionnel</poad-divider>
|
|
5338
|
+
* Classes et attributs décrits par @poadio/ui-core (`dividerClasses`, `dividerProps`) ; style partagé : `@poadio/ui-core/divider.css`.
|
|
5440
5339
|
* @atelier icone=minus largeur=12 hauteur=1
|
|
5441
5340
|
*/
|
|
5442
5341
|
declare class PoadDividerComponent {
|
|
5443
5342
|
readonly vertical: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5444
5343
|
readonly dashed: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5445
5344
|
readonly align: _angular_core.InputSignal<"left" | "right" | "center">;
|
|
5345
|
+
private readonly options;
|
|
5346
|
+
protected readonly hostClass: _angular_core.Signal<string>;
|
|
5347
|
+
protected readonly attrs: _angular_core.Signal<{
|
|
5348
|
+
readonly role: "separator";
|
|
5349
|
+
readonly 'aria-orientation': "vertical" | "horizontal";
|
|
5350
|
+
}>;
|
|
5446
5351
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadDividerComponent, never>;
|
|
5447
5352
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadDividerComponent, "poad-divider", never, { "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "dashed": { "alias": "dashed"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
5448
5353
|
}
|
|
@@ -5510,6 +5415,7 @@ declare class PoadPanelComponent {
|
|
|
5510
5415
|
/**
|
|
5511
5416
|
* <poad-avatar-group [max]="3" size="md"><poad-avatar text="SZ"/><poad-avatar text="PA"/>…</poad-avatar-group>
|
|
5512
5417
|
* Avatars empilés (chevauchement, bordure surface) ; au-delà de `max` un avatar « +N » (title = noms masqués).
|
|
5418
|
+
* Débordement et « +N » décrits par @poadio/ui-core (`avatarGroupHidden`…) ; style partagé : `@poadio/ui-core/avatar.css`.
|
|
5513
5419
|
* @atelier ajustement=naturel icone=users largeur=2 hauteur=1 conteneur=direct accepte=poad-avatar
|
|
5514
5420
|
*/
|
|
5515
5421
|
declare class PoadAvatarGroupComponent {
|
|
@@ -5531,6 +5437,7 @@ declare class PoadAvatarGroupComponent {
|
|
|
5531
5437
|
enregistrerEnfants(instances: unknown[]): void;
|
|
5532
5438
|
readonly hidden: _angular_core.Signal<number>;
|
|
5533
5439
|
readonly hiddenTitle: _angular_core.Signal<string>;
|
|
5440
|
+
protected readonly moreText: _angular_core.Signal<string>;
|
|
5534
5441
|
constructor();
|
|
5535
5442
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadAvatarGroupComponent, never>;
|
|
5536
5443
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadAvatarGroupComponent, "poad-avatar-group", never, { "max": { "alias": "max"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "moreColor": { "alias": "moreColor"; "required": false; "isSignal": true; }; }, {}, ["avatarsProjetes"], ["*"], true, never>;
|
|
@@ -5552,6 +5459,8 @@ declare class PoadMeterLabelDirective {
|
|
|
5552
5459
|
/**
|
|
5553
5460
|
* <poad-meter [values]="[{label:'Utilisé', value: 62, severity:'primary'}, {label:'Réservé', value: 18, severity:'warning'}]" [max]="100" unit="Gi" showLabels/>
|
|
5554
5461
|
* Jauge segmentée (remplace p-meterGroup) : segments proportionnels, légende (point + label + valeur/%), horizontal ou vertical.
|
|
5462
|
+
* Segments, total, reste, attributs et textes décrits par @poadio/ui-core (`meterSegments`, `meterBarProps`…) ; style
|
|
5463
|
+
* partagé : `@poadio/ui-core/meter.css` (encapsulation désactivée, sélecteurs `.poad-meter`).
|
|
5555
5464
|
* @atelier icone=gauge
|
|
5556
5465
|
* @atelier-exemple values [{"label":"Utilisé","value":62,"severity":"primary"},{"label":"Réservé","value":21,"severity":"warning"}]
|
|
5557
5466
|
*/
|
|
@@ -5563,7 +5472,7 @@ declare class PoadMeterComponent {
|
|
|
5563
5472
|
readonly unit: _angular_core.InputSignal<string>;
|
|
5564
5473
|
readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
5565
5474
|
readonly showLabels: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5566
|
-
readonly labelPosition: _angular_core.InputSignal<"
|
|
5475
|
+
readonly labelPosition: _angular_core.InputSignal<"start" | "end">;
|
|
5567
5476
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg">;
|
|
5568
5477
|
readonly showRemaining: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5569
5478
|
/** Libellé du reste ; par défaut le message `display.remaining` du catalogue. */
|
|
@@ -5572,18 +5481,25 @@ declare class PoadMeterComponent {
|
|
|
5572
5481
|
readonly labelTpl: _angular_core.Signal<PoadMeterLabelDirective | undefined>;
|
|
5573
5482
|
readonly total: _angular_core.Signal<number>;
|
|
5574
5483
|
readonly remaining: _angular_core.Signal<number>;
|
|
5575
|
-
|
|
5576
|
-
protected
|
|
5484
|
+
readonly segments: _angular_core.Signal<_poadio_ui_core.MeterSegment<PoadMeterValue>[]>;
|
|
5485
|
+
protected readonly root: _angular_core.Signal<{
|
|
5486
|
+
readonly 'is-vertical': boolean;
|
|
5487
|
+
readonly 'size-sm': boolean;
|
|
5488
|
+
readonly 'size-lg': boolean;
|
|
5489
|
+
readonly 'labels-start': boolean;
|
|
5490
|
+
}>;
|
|
5491
|
+
protected readonly bar: _angular_core.Signal<{
|
|
5492
|
+
readonly role: "meter";
|
|
5493
|
+
readonly 'aria-valuemin': string;
|
|
5494
|
+
readonly 'aria-valuemax': string;
|
|
5495
|
+
readonly 'aria-valuenow': string;
|
|
5496
|
+
readonly 'aria-label': string | null;
|
|
5497
|
+
}>;
|
|
5498
|
+
private readonly format;
|
|
5499
|
+
/** Valeur arrondie (2 décimales max, sans zéros inutiles) suivie de l'unité. */
|
|
5500
|
+
protected val(v: number): string;
|
|
5577
5501
|
/** Pourcentage entier, écrit à la manière de la langue (« 40 % », « 40% »). */
|
|
5578
5502
|
protected pct(v: number): string;
|
|
5579
|
-
readonly segments: _angular_core.Signal<{
|
|
5580
|
-
percent: number;
|
|
5581
|
-
color: string;
|
|
5582
|
-
label: string;
|
|
5583
|
-
value: number;
|
|
5584
|
-
severity?: "primary" | "success" | "warning" | "danger" | "info" | "neutral";
|
|
5585
|
-
icon?: string;
|
|
5586
|
-
}[]>;
|
|
5587
5503
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadMeterComponent, never>;
|
|
5588
5504
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadMeterComponent, "poad-meter", never, { "values": { "alias": "values"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "showRemaining": { "alias": "showRemaining"; "required": false; "isSignal": true; }; "remainingLabel": { "alias": "remainingLabel"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, ["labelTpl"], never, true, never>;
|
|
5589
5505
|
}
|
|
@@ -5696,7 +5612,7 @@ declare class PoadImageComponent {
|
|
|
5696
5612
|
readonly alt: _angular_core.InputSignal<string>;
|
|
5697
5613
|
readonly width: _angular_core.InputSignal<string | null>;
|
|
5698
5614
|
readonly height: _angular_core.InputSignal<string | null>;
|
|
5699
|
-
readonly fit: _angular_core.InputSignal<"
|
|
5615
|
+
readonly fit: _angular_core.InputSignal<"fill" | "none" | "contain" | "cover">;
|
|
5700
5616
|
readonly rounded: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5701
5617
|
readonly preview: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5702
5618
|
readonly caption: _angular_core.InputSignal<string>;
|
|
@@ -7179,7 +7095,7 @@ declare class PoadMapCardComponent extends PoadValueAccessor<PoadGeoJSON | strin
|
|
|
7179
7095
|
readonly mode: _angular_core.InputSignal<"string" | "object">;
|
|
7180
7096
|
readonly basemap: _angular_core.InputSignal<string>;
|
|
7181
7097
|
readonly basemaps: _angular_core.InputSignal<string[]>;
|
|
7182
|
-
readonly controls: _angular_core.InputSignal<("fullscreen" | "zoom" | "
|
|
7098
|
+
readonly controls: _angular_core.InputSignal<("fullscreen" | "zoom" | "attribution" | "compass" | "scale" | "geolocate")[]>;
|
|
7183
7099
|
readonly editable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7184
7100
|
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7185
7101
|
readonly showStats: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -7906,6 +7822,8 @@ declare class PoadChartComponent {
|
|
|
7906
7822
|
private ro;
|
|
7907
7823
|
private themeObs;
|
|
7908
7824
|
constructor();
|
|
7825
|
+
/** Chart.js se charge en asynchrone : un composant détruit pendant ce temps ne doit plus rien construire ni émettre. */
|
|
7826
|
+
private destroyed;
|
|
7909
7827
|
private init;
|
|
7910
7828
|
private themeDefaults;
|
|
7911
7829
|
private colorize;
|
|
@@ -8579,6 +8497,8 @@ declare class PoadRichTextComponent extends PoadValueAccessor<string> {
|
|
|
8579
8497
|
private lastValue;
|
|
8580
8498
|
private savedRange;
|
|
8581
8499
|
private linkAnchor;
|
|
8500
|
+
/** Pris dans le contexte d'injection : `inject()` n'est PAS permis dans le rappel d'`afterNextRender`. */
|
|
8501
|
+
private readonly destroyRef;
|
|
8582
8502
|
constructor();
|
|
8583
8503
|
/** Insère du HTML (nettoyé) à la position du curseur, ou à la fin du texte. */
|
|
8584
8504
|
insertHtml(html: string): number;
|
|
@@ -10780,5 +10700,5 @@ declare const REGISTRE: Readonly<Record<string, EntreeRegistre>>;
|
|
|
10780
10700
|
/** La classe d'un symbole, ou `null` s'il n'est pas posable (directive, ou hôte indéterminable). */
|
|
10781
10701
|
declare function classeDe(symbole: string): Type<unknown> | null;
|
|
10782
10702
|
|
|
10783
|
-
export { ATELIER_BORNES, ATELIER_COLONNES, ATELIER_GROUPE_CONTENEURS, ATELIER_STYLES_PLAN, BanGeocoder, MAPLIBRE_MIN_CSS, POAD_BLOCK_INLINE_TAGS, POAD_BLOCK_TOOL_TITLES, POAD_BREAKPOINTS, POAD_CHART_PALETTE, POAD_COLOR_PRESETS, POAD_DEFAULT_BASEMAPS, POAD_DEFAULT_PRIORITY_BREAKPOINTS, POAD_DIALOG_DATA, POAD_FILTER_OPERATORS, POAD_GEOCODER,
|
|
10784
|
-
export type { AtelierCible, AtelierComposant, AtelierItem, AtelierLayout, AtelierProp, EntreeRegistre, MLExpression, MaplibreModule, PoadAggregate, PoadAggregateFn, PoadAggregates, PoadBadgeSeverity, PoadBand, PoadBandRow, PoadBasemap, PoadBasemapKind, PoadBlockAlignment, PoadBlockData, PoadBlockImageCrop, PoadBlockLinkEvent, PoadBlockTemplateContext, PoadBlockTocEntry, PoadBlockToolI18n, PoadBottomNavItem, PoadBounds, PoadBreadcrumbItem, PoadBreakpoint, PoadCalendarChangeEvent, PoadCalendarCreateEvent, PoadCalendarDateEvent, PoadCalendarEventEvent, PoadCalendarSource, PoadCalendarView, PoadCarouselResponsive, PoadCellContext, PoadCellEditState, PoadChartClickEvent, PoadChartType, PoadColonneDef, PoadColorFormat, PoadColorSpec, PoadColumnAlign, PoadColumnDataType, PoadColumnEditor, PoadColumnFilterOption, PoadColumnFilterType, PoadColumnMenuActionEvent, PoadColumnPinEvent, PoadColumnReorderEvent, PoadColumnResizeEvent, PoadColumnToggleEvent, PoadComboSource, PoadConfirmOptions, PoadDataviewLayout, PoadDateMode, PoadDateSelection, PoadDateValue, PoadDialogConfig, PoadDialogPosition, PoadDialogSize, PoadDisplayRow, PoadDrawMode, PoadDrawOptions, PoadDrawerPosition, PoadDuration, PoadDurationUnit, PoadEditBase, PoadEditCompleteEvent, PoadEditEvent, PoadEditGeometry, PoadEditKind, PoadEditMode, PoadEditorContext, PoadEditorJsModules, PoadExpandResult, PoadFeatureEvent, PoadFenetreSpan, PoadFilterChangeEvent, PoadFilterKind, PoadFilterMatchMode, PoadFilterMeta, PoadFilterOperator, PoadFilters, PoadGanttRow, PoadGanttScale, PoadGanttTaskEvent, PoadGap, PoadGeoJSON, PoadGeocodeOptions, PoadGeocodeResult, PoadGeocoder, PoadGeometryKind, PoadGroupBy, PoadGroupContext, PoadGroupInfo, PoadGroupItem, PoadHeaderMenuHost, PoadHoteAPieces, PoadHsva, PoadImageAlign, PoadImageData, PoadImageToolConfig, PoadLaneSpan, PoadLayerStyle, PoadLazyLoadEvent, PoadLegendItem, PoadLienAncre, PoadLienTrace, PoadLinkResult, PoadLinkToolConfig, PoadListGroup, PoadListItem, PoadListNormalizeOpts, PoadListOption, PoadListRow, PoadLngLat, PoadMapChild, PoadMapChrome, PoadMapClick, PoadMapControl, PoadMapLayerType, PoadMapMenuConfig, PoadMapMenuItem, PoadMapMenuPanel, PoadMapMenuRailItem, PoadMapMenuSection, PoadMapPosition, PoadMapSide, PoadMapView, PoadMeasure, PoadMenuItem, PoadMenubarItem, PoadMeterValue, PoadMonaco, PoadMonacoConfig, PoadMonacoExtension, PoadMonthGrid, PoadNavDrawerItem, PoadNavDrawerMode, PoadNavDrawerRow, PoadNodeEvent, PoadNormalizePlanOptions, PoadNormalizedPlan, PoadNumberSpec, PoadOccurrence, PoadOptionItem, PoadOrgNode, PoadOverlayHandle, PoadPageEvent, PoadPaintSet, PoadPinnedColumns, PoadPlacement, PoadPlan, PoadPlanAssignment, PoadPlanBucket, PoadPlanCalendar, PoadPlanCalendarException, PoadPlanDateInput, PoadPlanHeader, PoadPlanHours, PoadPlanIssue, PoadPlanLink, PoadPlanLinkType, PoadPlanMarker, PoadPlanResource, PoadPlanScale, PoadPlanTask, PoadPlanTick, PoadPlanTicksOptions, PoadPlannedLink, PoadPlannedTask, PoadPriorityBreakpoints, PoadProgressSeverity, PoadRRule, PoadRRuleFreq, PoadRecurrenceIssue, PoadRgba, PoadRichTextCleanResult, PoadRichTextFormat, PoadRichTextLinkPicker, PoadRichTextTool, PoadRowEditEvent, PoadRowEditState, PoadRowEvent, PoadRowReorderEvent, PoadSchedulerAssignEvent, PoadSchedulerChangeEvent, PoadSchedulerCreateEvent, PoadSchedulerEventEvent, PoadSchedulerMode, PoadSchedulerScale, PoadSchedulerScheduleEvent, PoadSegmentOption, PoadSelectItemContext, PoadSelectionMode, PoadSelectionPropagation, PoadSeverity, PoadSheetConfig, PoadSheetHeight, PoadShellApi, PoadSize, PoadSliderMark, PoadSliderSeverity, PoadSliderValue, PoadSlot, PoadSortEvent, PoadSortMeta, PoadSortOrder, PoadStepState, PoadTableEditContext, PoadTableEditUiContext, PoadTablePanelTab, PoadTableResponsiveMode, PoadTableSelectionContext, PoadTagSeverity, PoadTaskAssignEvent, PoadTaskMoveEvent, PoadTaskOpenEvent, PoadTaskboardGroupBy, PoadTaskboardMode, PoadTimelineAlign, PoadToastAction, PoadToastMessage, PoadToastPosition, PoadToastSeverity, PoadTreeAdapterOptions, PoadTreeNode, PoadTreeNodeEvent, PoadUploadFile, PoadUploadHandlerEvent, PoadUploadStatus, PoadVariant, PoadVirtualRange, PoadWipEvent, PoadYoutubeData, UiI18nState,
|
|
10703
|
+
export { ATELIER_BORNES, ATELIER_COLONNES, ATELIER_GROUPE_CONTENEURS, ATELIER_STYLES_PLAN, BanGeocoder, MAPLIBRE_MIN_CSS, POAD_BLOCK_INLINE_TAGS, POAD_BLOCK_TOOL_TITLES, POAD_BREAKPOINTS, POAD_CHART_PALETTE, POAD_COLOR_PRESETS, POAD_DEFAULT_BASEMAPS, POAD_DEFAULT_PRIORITY_BREAKPOINTS, POAD_DIALOG_DATA, POAD_FIELD_CONTEXT, POAD_FILTER_OPERATORS, POAD_GEOCODER, POAD_ICONS_SUBSET, POAD_ICONS_TOKEN, POAD_MAPLIBRE_CSS_URL, POAD_MAP_CHILD, POAD_MAP_DEFAULTS, POAD_MAP_GLOBAL_STYLES, POAD_MAP_GLYPHS, POAD_MAP_PALETTE, POAD_MASK_PRESETS, POAD_MOBILE_BREAKPOINT, POAD_MONACO_CONFIG, POAD_RECURRENCE_INTERNE, POAD_RICHTEXT_TAGS, POAD_RICHTEXT_TOOLS, POAD_SELECT_POSITIONS, POAD_SELECT_TRIGGER_STYLES, POAD_SHEET_DATA, POAD_SHELL, POAD_TOUCH_DENSITY, PoadAccordionComponent, PoadAccordionPanelComponent, PoadAlignmentTune, PoadAppShellComponent, PoadAvatarComponent, PoadAvatarGroupComponent, PoadBadgeComponent, PoadBadgeDirective, PoadBlockDirective, PoadBlockEditorComponent, PoadBlockOverlayComponent, PoadBlockTemplateDirective, PoadBlockUiComponent, PoadBlockViewComponent, PoadBottomNavComponent, PoadBreadcrumbComponent, PoadBreadcrumbItemDirective, PoadBreakpointService, PoadButtonComponent, PoadButtonGroupComponent, PoadCalendarComponent, PoadCaptionDirective, PoadCardComponent, PoadCardDirective, PoadCardHeaderDirective, PoadCarouselComponent, PoadCarouselItemDirective, PoadCascadeSelectComponent, PoadCellTemplateDirective, PoadCenterComponent, PoadChartComponent, PoadCheckboxComponent, PoadChipComponent, PoadClusterComponent, PoadCodeEditorComponent, PoadColDirective, PoadColorpickerComponent, PoadColumnComponent, PoadComboComponent, PoadConfirmContentComponent, PoadConfirmDialogComponent, PoadConfirmService, PoadContainerComponent, PoadDataviewComponent, PoadDataviewGridDirective, PoadDataviewListDirective, PoadDatepickerComponent, PoadDialogComponent, PoadDialogContainerComponent, PoadDialogFooterDirective, PoadDialogHeaderDirective, PoadDialogRef, PoadDialogService, PoadDividerComponent, PoadDrawerComponent, PoadEditFocusDirective, PoadEditorTemplateDirective, PoadEmptyDirective, PoadFieldComponent, PoadFieldsetComponent, PoadFieldsetLegendDirective, PoadFilterChipComponent, PoadFilterTemplateDirective, PoadGanttComponent, PoadGeocodingService, PoadGridComponent, PoadGroupFooterDirective, PoadGroupHeaderDirective, PoadHeaderTemplateDirective, PoadIconComponent, PoadIconRegistry, PoadIfDirective, PoadImageComponent, PoadImageTool, PoadInplaceComponent, PoadInplaceContentDirective, PoadInplaceDisplayDirective, PoadInputDirective, PoadJsonEditorComponent, PoadKeyFilterDirective, PoadLinkTool, PoadListEmptyDirective, PoadListFooterDirective, PoadListHeaderDirective, PoadListItemDirective, PoadListboxComponent, PoadMapBasemapRegistry, PoadMapBasemapsComponent, PoadMapCardComponent, PoadMapChromeComponent, PoadMapComponent, PoadMapDrawEngine, PoadMapLayerComponent, PoadMapLayerGroupComponent, PoadMapLayerToggleComponent, PoadMapLegendComponent, PoadMapMenuComponent, PoadMapPanelComponent, PoadMapPanels, PoadMapRailComponent, PoadMapRailItemComponent, PoadMapSearchComponent, PoadMapSectionComponent, PoadMaskDirective, PoadMenuComponent, PoadMenubarComponent, PoadMessageComponent, PoadMeterComponent, PoadMeterLabelDirective, PoadMonacoExtensionRegistry, PoadMultiselectComponent, PoadNavDrawerComponent, PoadNavDrawerFooterDirective, PoadNavDrawerHeaderDirective, PoadNumberComponent, PoadOptionListComponent, PoadOrderlistComponent, PoadOrgNodeDirective, PoadOrgchartComponent, PoadOverlayBase, PoadPaginatorComponent, PoadPanelComponent, PoadPanelContentDirective, PoadPanelHeaderDirective, PoadPanelHeadingDirective, PoadPasswordComponent, PoadPicklistComponent, PoadPopoverComponent, PoadProgressComponent, PoadRadioComponent, PoadRadioGroupComponent, PoadRatingComponent, PoadRichTextComponent, PoadRowActionsDirective, PoadRowCountDirective, PoadRowExpansionDirective, PoadSchedulerComponent, PoadScrollTopComponent, PoadSegmentedComponent, PoadSelectBase, PoadSelectComponent, PoadSelectEmptyDirective, PoadSelectFooterDirective, PoadSelectHeaderDirective, PoadSelectItemDirective, PoadSelectSelectedDirective, PoadSheetContainerComponent, PoadSheetRef, PoadSheetService, PoadSidebarComponent, PoadSidebarPanelDirective, PoadSkeletonComponent, PoadSliderComponent, PoadSpacerComponent, PoadSpeedDialComponent, PoadSpinnerComponent, PoadSplitButtonComponent, PoadSplitComponent, PoadSplitterComponent, PoadSplitterPanelComponent, PoadStackComponent, PoadStepComponent, PoadStepperComponent, PoadSwitchComponent, PoadTabComponent, PoadTabContentDirective, PoadTabLabelDirective, PoadTableBase, PoadTableComponent, PoadTableEdit, PoadTableEditUi, PoadTableFooterDirective, PoadTablePanelComponent, PoadTableResponsive, PoadTableSelection, PoadTableSticky, PoadTableVirtual, PoadTabsComponent, PoadTagComponent, PoadTaskCardDirective, PoadTaskRowDirective, PoadTaskboardComponent, PoadTimeAxis, PoadTimelineComponent, PoadTimelineContentDirective, PoadTimelineMarkerDirective, PoadTimelineOppositeDirective, PoadToastComponent, PoadToastItemDirective, PoadToastService, PoadToggleButtonComponent, PoadTooltipComponent, PoadTooltipDirective, PoadTreeAdapter, PoadTreeComponent, PoadTreeNodeDirective, PoadTreeselectComponent, PoadUploadComponent, PoadUploadContentDirective, PoadUploadEmptyDirective, PoadUploadItemDirective, PoadValueAccessor, PoadWorkCalendar, PoadYoutubeTool, REGISTRE, UI_I18N_CONFIG, UI_I18N_DEFAULT, UiI18n, atelierAccepte, atelierAdopterIds, atelierAjouter, atelierBalise, atelierChercher, atelierCibleDePose, atelierCleDeSymbole, atelierCode, atelierComposant, atelierCompter, atelierControle, atelierDefinirProp, atelierDeplacer, atelierGabarit, atelierGroupLabel, atelierGroupes, atelierImports, atelierLayoutVide, atelierManques, atelierNomDeClasse, atelierNormaliser, atelierNouvelId, atelierPalette, atelierPiecesDe, atelierPoser, atelierPremierePlaceLibre, atelierProposDePose, atelierRecompacter, atelierRedimensionner, atelierReinitialiserIds, atelierReordonnerEnfant, atelierRetirer, atelierSelecteurDeClasse, atelierTrouver, classeDe, ensureMaplibreCss, estHoteAPieces, loadChartJs, loadEditorJs, loadMaplibre, loadMonaco, poadAggregate, poadApplyColumnOrder, poadApplyMask, poadArea, poadAutosizeWidth, poadBasemapLabel, poadBasemapThumbnail, poadBlockEditorI18n, poadBlocksKey, poadBoundsOf, poadCategories, poadCentroid, poadCleanRichText, poadCleanRichTextDetailed, poadClipFenetre, poadColorExpr, poadCompare, poadCompareRank, poadCropCss, poadCssColorToHex, poadCurrentOperator, poadDebutSemaine, poadDefaultMatchMode, poadDistance, poadDownloadCsv, poadDurationToMinutes, poadEmptyBlocks, poadEscapeHtml, poadEstBandeau, poadExpandOccurrences, poadFilterData, poadFilterKindOf, poadFilterOperators, poadFilterRows, poadFindLinkCycle, poadFmtArea, poadFmtLength, poadFormatCell, poadFormatColor, poadFormatDuration, poadFormatSize, poadFrenchHolidays, poadGanttRows, poadGap, poadGeoJSONStats, poadGeometryKinds, poadHeaderMenuItems, poadHighlightJson, poadHslToRgb, poadHsvToRgb, poadId, poadIsGroupKey, poadIsRank, poadIsSafeHref, poadIsTrustedEmbed, poadIsValidCrop, poadJsonErrorPos, poadLegendFromStyle, poadLength, poadMapEstVivante, poadMapLayerOf, poadMapLayersOf, poadMapLibreLocale, poadMarkdownToRichText, poadMatch, poadMinuit, poadModelUri, poadMonthGrid, poadMoveColumn, poadMoveItems, poadNormalize, poadNormalizeMonacoBaseUrl, poadNormalizeOptions, poadNormalizePlan, poadNumberExpr, poadNumeroJour, poadOperatorLabel, poadPackDay, poadPackLanes, poadPadBounds, poadParseColor, poadParseDuration, poadParseRRule, poadParseResponsive, poadPlainTextToRichHtml, poadPlanHeader, poadPlanTicks, poadPointeFleche, poadProjeterClavier, poadProjeterCreation, poadProjeterEdition, poadProjeterMois, poadPropsTable, poadRankBetween, poadRankFirst, poadRankLast, poadRankSequence, poadResetEditorJsLoader, poadResetMonacoLoader, poadResolve, poadResolveResponsive, poadResponsive, poadRgbToHsl, poadRgbToHsv, poadRichTextLength, poadRichTextToMarkdown, poadRingArea, poadRouterLien, poadRowKey, poadRowPredicate, poadSameValue, poadSanitizeInlineHtml, poadScaleNext, poadScaleStart, poadSchedulerPartition, poadSlugify, poadSortData, poadStartResize, poadStripTags, poadStyleToExpressions, poadUnmask, poadUnscheduled, poadValidateGeoJSON, poadValueForOperator, poadWeekBands, poadWriteField, poadYoutubeId, providePoadIcons, providePoadMonaco, provideUiI18n, uiMessage, uiNumber };
|
|
10704
|
+
export type { AtelierCible, AtelierComposant, AtelierItem, AtelierLayout, AtelierProp, EntreeRegistre, MLExpression, MaplibreModule, PoadAggregate, PoadAggregateFn, PoadAggregates, PoadBadgeSeverity, PoadBand, PoadBandRow, PoadBasemap, PoadBasemapKind, PoadBlockAlignment, PoadBlockData, PoadBlockImageCrop, PoadBlockLinkEvent, PoadBlockTemplateContext, PoadBlockTocEntry, PoadBlockToolI18n, PoadBottomNavItem, PoadBounds, PoadBreadcrumbItem, PoadBreakpoint, PoadCalendarChangeEvent, PoadCalendarCreateEvent, PoadCalendarDateEvent, PoadCalendarEventEvent, PoadCalendarSource, PoadCalendarView, PoadCarouselResponsive, PoadCellContext, PoadCellEditState, PoadChartClickEvent, PoadChartType, PoadColonneDef, PoadColorFormat, PoadColorSpec, PoadColumnAlign, PoadColumnDataType, PoadColumnEditor, PoadColumnFilterOption, PoadColumnFilterType, PoadColumnMenuActionEvent, PoadColumnPinEvent, PoadColumnReorderEvent, PoadColumnResizeEvent, PoadColumnToggleEvent, PoadComboSource, PoadConfirmOptions, PoadDataviewLayout, PoadDateMode, PoadDateSelection, PoadDateValue, PoadDialogConfig, PoadDialogPosition, PoadDialogSize, PoadDisplayRow, PoadDrawMode, PoadDrawOptions, PoadDrawerPosition, PoadDuration, PoadDurationUnit, PoadEditBase, PoadEditCompleteEvent, PoadEditEvent, PoadEditGeometry, PoadEditKind, PoadEditMode, PoadEditorContext, PoadEditorJsModules, PoadExpandResult, PoadFeatureEvent, PoadFenetreSpan, PoadFieldContext, PoadFilterChangeEvent, PoadFilterKind, PoadFilterMatchMode, PoadFilterMeta, PoadFilterOperator, PoadFilters, PoadGanttRow, PoadGanttScale, PoadGanttTaskEvent, PoadGap, PoadGeoJSON, PoadGeocodeOptions, PoadGeocodeResult, PoadGeocoder, PoadGeometryKind, PoadGroupBy, PoadGroupContext, PoadGroupInfo, PoadGroupItem, PoadHeaderMenuHost, PoadHoteAPieces, PoadHsva, PoadImageAlign, PoadImageData, PoadImageToolConfig, PoadLaneSpan, PoadLayerStyle, PoadLazyLoadEvent, PoadLegendItem, PoadLienAncre, PoadLienTrace, PoadLinkResult, PoadLinkToolConfig, PoadListGroup, PoadListItem, PoadListNormalizeOpts, PoadListOption, PoadListRow, PoadLngLat, PoadMapChild, PoadMapChrome, PoadMapClick, PoadMapControl, PoadMapLayerType, PoadMapMenuConfig, PoadMapMenuItem, PoadMapMenuPanel, PoadMapMenuRailItem, PoadMapMenuSection, PoadMapPosition, PoadMapSide, PoadMapView, PoadMeasure, PoadMenuItem, PoadMenubarItem, PoadMeterValue, PoadMonaco, PoadMonacoConfig, PoadMonacoExtension, PoadMonthGrid, PoadNavDrawerItem, PoadNavDrawerMode, PoadNavDrawerRow, PoadNodeEvent, PoadNormalizePlanOptions, PoadNormalizedPlan, PoadNumberSpec, PoadOccurrence, PoadOptionItem, PoadOrgNode, PoadOverlayHandle, PoadPageEvent, PoadPaintSet, PoadPinnedColumns, PoadPlacement, PoadPlan, PoadPlanAssignment, PoadPlanBucket, PoadPlanCalendar, PoadPlanCalendarException, PoadPlanDateInput, PoadPlanHeader, PoadPlanHours, PoadPlanIssue, PoadPlanLink, PoadPlanLinkType, PoadPlanMarker, PoadPlanResource, PoadPlanScale, PoadPlanTask, PoadPlanTick, PoadPlanTicksOptions, PoadPlannedLink, PoadPlannedTask, PoadPriorityBreakpoints, PoadProgressSeverity, PoadRRule, PoadRRuleFreq, PoadRecurrenceIssue, PoadRgba, PoadRichTextCleanResult, PoadRichTextFormat, PoadRichTextLinkPicker, PoadRichTextTool, PoadRowEditEvent, PoadRowEditState, PoadRowEvent, PoadRowReorderEvent, PoadSchedulerAssignEvent, PoadSchedulerChangeEvent, PoadSchedulerCreateEvent, PoadSchedulerEventEvent, PoadSchedulerMode, PoadSchedulerScale, PoadSchedulerScheduleEvent, PoadSegmentOption, PoadSelectItemContext, PoadSelectionMode, PoadSelectionPropagation, PoadSeverity, PoadSheetConfig, PoadSheetHeight, PoadShellApi, PoadSize, PoadSliderMark, PoadSliderSeverity, PoadSliderValue, PoadSlot, PoadSortEvent, PoadSortMeta, PoadSortOrder, PoadStepState, PoadTableEditContext, PoadTableEditUiContext, PoadTablePanelTab, PoadTableResponsiveMode, PoadTableSelectionContext, PoadTagSeverity, PoadTaskAssignEvent, PoadTaskMoveEvent, PoadTaskOpenEvent, PoadTaskboardGroupBy, PoadTaskboardMode, PoadTimelineAlign, PoadToastAction, PoadToastMessage, PoadToastPosition, PoadToastSeverity, PoadTreeAdapterOptions, PoadTreeNode, PoadTreeNodeEvent, PoadUploadFile, PoadUploadHandlerEvent, PoadUploadStatus, PoadVariant, PoadVirtualRange, PoadWipEvent, PoadYoutubeData, UiI18nState, UiMessageRef };
|