@poadio/ui-angular 0.11.0 → 0.12.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 +1237 -3234
- 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 +558 -931
|
@@ -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, FloatingSide } 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. */
|
|
@@ -1061,6 +374,19 @@ declare class PoadFieldComponent {
|
|
|
1061
374
|
readonly plain: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1062
375
|
readonly input: _angular_core.Signal<PoadInputDirective | undefined>;
|
|
1063
376
|
protected readonly generatedId: string;
|
|
377
|
+
/** Entrées vues par le socle ; l'identifiant du champ préfixe celui de son message. */
|
|
378
|
+
private readonly options;
|
|
379
|
+
protected readonly root: _angular_core.Signal<{
|
|
380
|
+
readonly 'is-invalid': boolean;
|
|
381
|
+
readonly 'is-disabled': boolean;
|
|
382
|
+
readonly 'is-inline': boolean;
|
|
383
|
+
readonly 'size-sm': boolean;
|
|
384
|
+
readonly 'size-lg': boolean;
|
|
385
|
+
readonly 'is-plain': boolean;
|
|
386
|
+
}>;
|
|
387
|
+
protected readonly message: _angular_core.Signal<_poadio_ui_core.FieldMessage | null>;
|
|
388
|
+
/** Attributs du contrôle (lus par `poadInput` via POAD_FIELD_CONTEXT). */
|
|
389
|
+
readonly controlAttrs: _angular_core.Signal<_poadio_ui_core.FieldControlProps>;
|
|
1064
390
|
protected readonly controlId: _angular_core.Signal<string | null>;
|
|
1065
391
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadFieldComponent, never>;
|
|
1066
392
|
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>;
|
|
@@ -1069,6 +395,10 @@ declare class PoadFieldComponent {
|
|
|
1069
395
|
/**
|
|
1070
396
|
* <poad-number [(value)]="port" [min]="1" [max]="65535" [step]="1" suffix=" ms" [decimals]="0" showButtons/>
|
|
1071
397
|
* CVA<number|null>. Clavier : ↑/↓ (± step), Shift+↑/↓ (× 10), Home/End (min/max). Locale via `locale`.
|
|
398
|
+
*
|
|
399
|
+
* La logique (texte en cours de frappe, lecture, bornes, arrondi, mise en forme `Intl`, touches, attributs
|
|
400
|
+
* `spinbutton`) est la machine `number` de @poadio/ui-core en usage CONTRÔLÉ ; style partagé :
|
|
401
|
+
* `@poadio/ui-core/number.css` (encapsulation désactivée).
|
|
1072
402
|
* @atelier icone=hash largeur=3 hauteur=1
|
|
1073
403
|
*/
|
|
1074
404
|
declare class PoadNumberComponent extends PoadValueAccessor<number> {
|
|
@@ -1090,18 +420,30 @@ declare class PoadNumberComponent extends PoadValueAccessor<number> {
|
|
|
1090
420
|
/** Émis à chaque changement validé (blur / touches / boutons). */
|
|
1091
421
|
readonly changed: _angular_core.OutputEmitterRef<number | null>;
|
|
1092
422
|
readonly focusChange: _angular_core.OutputEmitterRef<boolean>;
|
|
1093
|
-
|
|
423
|
+
/** Texte en cours de frappe (champ focalisé), sinon null. */
|
|
1094
424
|
private readonly editing;
|
|
1095
|
-
|
|
1096
|
-
|
|
425
|
+
private readonly options;
|
|
426
|
+
/** État de la machine, dérivé des signaux d'Angular (valeur dans le `model`, frappe en cours ici). */
|
|
427
|
+
protected readonly state: _angular_core.Signal<NumberState>;
|
|
428
|
+
protected readonly control: _angular_core.Signal<_poadio_ui_core.NumberControlProps>;
|
|
429
|
+
protected readonly root: _angular_core.Signal<{
|
|
430
|
+
readonly 'is-disabled': boolean;
|
|
431
|
+
readonly 'is-invalid': boolean;
|
|
432
|
+
readonly 'size-sm': boolean;
|
|
433
|
+
readonly 'size-lg': boolean;
|
|
434
|
+
}>;
|
|
435
|
+
protected readonly buttons: _angular_core.Signal<{
|
|
436
|
+
readonly incrementDisabled: boolean;
|
|
437
|
+
readonly decrementDisabled: boolean;
|
|
438
|
+
}>;
|
|
1097
439
|
protected readonly display: _angular_core.Signal<string>;
|
|
1098
440
|
protected onFocus(): void;
|
|
1099
441
|
protected onType(raw: string): void;
|
|
1100
442
|
protected onBlur(): void;
|
|
1101
443
|
protected onKey(e: KeyboardEvent): void;
|
|
1102
444
|
stepBy(n: number): void;
|
|
1103
|
-
|
|
1104
|
-
private
|
|
445
|
+
/** Demande la transition au socle et applique le résultat. */
|
|
446
|
+
private send;
|
|
1105
447
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadNumberComponent, never>;
|
|
1106
448
|
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>;
|
|
1107
449
|
}
|
|
@@ -1109,6 +451,9 @@ declare class PoadNumberComponent extends PoadValueAccessor<number> {
|
|
|
1109
451
|
/**
|
|
1110
452
|
* <poad-password [(value)]="pwd" placeholder="…" toggleMask [feedback]="true" />
|
|
1111
453
|
* CVA<string>. Bouton œil (afficher/masquer), jauge de robustesse optionnelle (`feedback`), `autocomplete`.
|
|
454
|
+
*
|
|
455
|
+
* La logique (bascule de l'œil, attributs, niveau de robustesse et son libellé) est la machine `password` de
|
|
456
|
+
* @poadio/ui-core ; style partagé : `@poadio/ui-core/password.css` (encapsulation désactivée).
|
|
1112
457
|
* @atelier icone=lock largeur=3 hauteur=1
|
|
1113
458
|
*/
|
|
1114
459
|
declare class PoadPasswordComponent extends PoadValueAccessor<string> {
|
|
@@ -1120,8 +465,29 @@ declare class PoadPasswordComponent extends PoadValueAccessor<string> {
|
|
|
1120
465
|
readonly autocomplete: _angular_core.InputSignal<string>;
|
|
1121
466
|
readonly visible: _angular_core.WritableSignal<boolean>;
|
|
1122
467
|
readonly changed: _angular_core.OutputEmitterRef<string>;
|
|
1123
|
-
protected readonly
|
|
1124
|
-
protected readonly
|
|
468
|
+
protected readonly state: _angular_core.Signal<PasswordState>;
|
|
469
|
+
protected readonly field: _angular_core.Signal<{
|
|
470
|
+
readonly type: "text" | "password";
|
|
471
|
+
readonly autocomplete: string | null;
|
|
472
|
+
readonly 'aria-invalid': "true" | null;
|
|
473
|
+
readonly spellcheck: "false";
|
|
474
|
+
readonly disabled: boolean;
|
|
475
|
+
}>;
|
|
476
|
+
protected readonly eye: _angular_core.Signal<{
|
|
477
|
+
readonly labelKey: _poadio_ui_core.UiMessageKey;
|
|
478
|
+
readonly 'aria-pressed': "true" | "false";
|
|
479
|
+
readonly icon: "eye" | "eye-off";
|
|
480
|
+
readonly disabled: boolean;
|
|
481
|
+
}>;
|
|
482
|
+
protected readonly meter: _angular_core.Signal<{
|
|
483
|
+
readonly level: _poadio_ui_core.PasswordLevel;
|
|
484
|
+
readonly labelKey: _poadio_ui_core.UiMessageKey;
|
|
485
|
+
} | null>;
|
|
486
|
+
protected readonly root: _angular_core.Signal<{
|
|
487
|
+
readonly 'is-disabled': boolean;
|
|
488
|
+
readonly 'is-invalid': boolean;
|
|
489
|
+
}>;
|
|
490
|
+
protected toggle(): void;
|
|
1125
491
|
protected onInput(v: string): void;
|
|
1126
492
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadPasswordComponent, never>;
|
|
1127
493
|
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>;
|
|
@@ -1138,6 +504,11 @@ type PoadSliderSeverity = 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
|
1138
504
|
* <poad-slider range [(value)]="[a,b]" [marks]="[0,25,50,75,100]"/>
|
|
1139
505
|
* CVA<number | [number, number]>. Remplace p-slider. Clavier ←→↑↓ (±step), PageUp/Down (±10 steps), Home/End, Shift = ×10.
|
|
1140
506
|
* `lazy` : `valueChange`/`changed` émis au relâchement seulement (`sliding` pendant le drag).
|
|
507
|
+
* De droite à gauche (`dir="rtl"`), un curseur horizontal part de la droite et ← augmente.
|
|
508
|
+
*
|
|
509
|
+
* La logique (valeurs, positions, graduations, valeur sous le pointeur, poignée la plus proche, touches, émission
|
|
510
|
+
* pendant un glissement, attributs) est `slider` de @poadio/ui-core ; ce composant écoute le pointeur et le
|
|
511
|
+
* clavier. Style partagé : `@poadio/ui-core/slider.css` (encapsulation désactivée).
|
|
1141
512
|
* @atelier icone=sliders-horizontal largeur=4 hauteur=1
|
|
1142
513
|
*/
|
|
1143
514
|
declare class PoadSliderComponent extends PoadValueAccessor<PoadSliderValue> {
|
|
@@ -1147,7 +518,7 @@ declare class PoadSliderComponent extends PoadValueAccessor<PoadSliderValue> {
|
|
|
1147
518
|
readonly step: _angular_core.InputSignalWithTransform<number | null, unknown>;
|
|
1148
519
|
readonly range: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1149
520
|
readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
1150
|
-
readonly showValue: _angular_core.InputSignal<"never" | "always" | "
|
|
521
|
+
readonly showValue: _angular_core.InputSignal<"never" | "always" | "hover" | "drag">;
|
|
1151
522
|
readonly formatValue: _angular_core.InputSignal<((v: number) => string) | null>;
|
|
1152
523
|
readonly marks: _angular_core.InputSignal<PoadSliderMark[] | "steps" | null>;
|
|
1153
524
|
readonly showTicks: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -1164,37 +535,55 @@ declare class PoadSliderComponent extends PoadValueAccessor<PoadSliderValue> {
|
|
|
1164
535
|
readonly slideStart: _angular_core.OutputEmitterRef<PoadSliderValue>;
|
|
1165
536
|
readonly slideEnd: _angular_core.OutputEmitterRef<PoadSliderValue>;
|
|
1166
537
|
protected readonly id: string;
|
|
538
|
+
private readonly hostEl;
|
|
1167
539
|
private readonly track;
|
|
1168
540
|
protected readonly dragging: _angular_core.WritableSignal<number | null>;
|
|
1169
541
|
protected readonly focused: _angular_core.WritableSignal<number | null>;
|
|
1170
542
|
protected readonly hovered: _angular_core.WritableSignal<number | null>;
|
|
1171
543
|
/** Valeur en cours de glissement (mode lazy) — sinon miroir de value(). */
|
|
1172
544
|
private readonly draft;
|
|
545
|
+
/** Valeur à l'appui du glissement en cours (pour `changed` au relâchement). */
|
|
546
|
+
private dragStartValue;
|
|
547
|
+
private readonly options;
|
|
1173
548
|
/** Valeurs normalisées [a] ou [a,b] (clampées). */
|
|
1174
549
|
protected readonly vals: _angular_core.Signal<number[]>;
|
|
550
|
+
protected readonly labelId: _angular_core.Signal<string>;
|
|
1175
551
|
protected readonly handles: _angular_core.Signal<{
|
|
1176
552
|
index: number;
|
|
1177
553
|
value: number;
|
|
554
|
+
props: {
|
|
555
|
+
readonly id: string;
|
|
556
|
+
readonly role: "slider";
|
|
557
|
+
readonly tabindex: 0 | -1;
|
|
558
|
+
readonly 'aria-valuemin': number;
|
|
559
|
+
readonly 'aria-valuemax': number;
|
|
560
|
+
readonly 'aria-valuenow': number;
|
|
561
|
+
readonly 'aria-valuetext': string;
|
|
562
|
+
readonly 'aria-orientation': _poadio_ui_core.SliderOrientation;
|
|
563
|
+
readonly 'aria-label': string | null;
|
|
564
|
+
readonly 'aria-labelledby': string | null;
|
|
565
|
+
readonly 'aria-disabled': "true" | null;
|
|
566
|
+
readonly 'aria-invalid': "true" | null;
|
|
567
|
+
};
|
|
1178
568
|
}[]>;
|
|
1179
|
-
protected readonly fillStart: _angular_core.Signal<number>;
|
|
1180
|
-
protected readonly fillSize: _angular_core.Signal<number>;
|
|
1181
569
|
protected readonly markList: _angular_core.Signal<{
|
|
1182
570
|
value: number;
|
|
1183
571
|
label?: string;
|
|
1184
572
|
}[]>;
|
|
1185
|
-
protected
|
|
573
|
+
protected readonly root: _angular_core.Signal<Record<string, boolean>>;
|
|
574
|
+
protected readonly fillStyle: _angular_core.Signal<{
|
|
575
|
+
[x: string]: string;
|
|
576
|
+
}>;
|
|
577
|
+
/** Position d'une valeur : `inset-inline-start` (horizontal) ou `bottom` (vertical). */
|
|
578
|
+
protected pos(v: number): Record<string, string>;
|
|
1186
579
|
protected fmt(v: number): string;
|
|
1187
580
|
protected bubbleVisible(i: number): boolean;
|
|
1188
|
-
private clamp;
|
|
1189
581
|
private get editable();
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
private same;
|
|
1193
|
-
/** Applique une valeur : en drag lazy → brouillon + sliding ; sinon commit + changed (si final). */
|
|
582
|
+
private get rtl();
|
|
583
|
+
/** Applique une valeur selon la règle d'émission du socle (brouillon en lazy, `changed` en fin de geste). */
|
|
1194
584
|
private apply;
|
|
1195
585
|
/** Valeur correspondant à un point de la piste. */
|
|
1196
586
|
private valueAt;
|
|
1197
|
-
private nearest;
|
|
1198
587
|
protected onTrackDown(e: PointerEvent): void;
|
|
1199
588
|
protected onHandleDown(e: PointerEvent, i: number): void;
|
|
1200
589
|
private startDrag;
|
|
@@ -1205,35 +594,21 @@ declare class PoadSliderComponent extends PoadValueAccessor<PoadSliderValue> {
|
|
|
1205
594
|
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
595
|
}
|
|
1207
596
|
|
|
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';
|
|
597
|
+
/**
|
|
598
|
+
* Conversions couleur (pures) utilisées par poad-colorpicker — désormais celles d'ui-core (`color`), réexportées ici
|
|
599
|
+
* sous leurs noms historiques : ce sont les MÊMES fonctions et le même tableau de palette.
|
|
600
|
+
*/
|
|
601
|
+
|
|
602
|
+
type PoadRgba = ColorRgba;
|
|
603
|
+
type PoadHsva = ColorHsva;
|
|
604
|
+
type PoadColorFormat = ColorFormat;
|
|
1222
605
|
/** 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;
|
|
606
|
+
declare const poadParseColor: typeof colorParse;
|
|
607
|
+
declare const poadHslToRgb: typeof colorHslToRgb;
|
|
608
|
+
declare const poadRgbToHsv: typeof colorRgbToHsv;
|
|
609
|
+
declare const poadHsvToRgb: typeof colorHsvToRgb;
|
|
610
|
+
declare const poadRgbToHsl: typeof colorRgbToHsl;
|
|
611
|
+
declare const poadFormatColor: typeof colorFormat;
|
|
1237
612
|
/** Palette dataviz cadriciel : accent + sévérités + teintes. */
|
|
1238
613
|
declare const POAD_COLOR_PRESETS: string[];
|
|
1239
614
|
|
|
@@ -1241,11 +616,15 @@ declare const POAD_COLOR_PRESETS: string[];
|
|
|
1241
616
|
* <poad-colorpicker [(value)]="color" format="hex" alpha [presets]="[…]" inline/>
|
|
1242
617
|
* CVA<string>. Panneau : zone saturation/luminosité + barre de teinte (+ alpha), champs hex/r/g/b, palette, pipette (EyeDropper si dispo).
|
|
1243
618
|
* Clavier : flèches sur les poignées (Shift = ×10). Events `changed`, `opened`, `closed`.
|
|
619
|
+
*
|
|
620
|
+
* Logique (état HSV, vue, clavier, pointeur, champs, palette, pipette, attributs, positions du panneau, fermeture) :
|
|
621
|
+
* `colorpicker` d'ui-core. Reste ici l'overlay du CDK (`cdkConnectedOverlay`) et la mesure du DOM. Style :
|
|
622
|
+
* `@poadio/ui-core/colorpicker.css` (encapsulation désactivée ; le panneau porte `.poad-colorpicker-panel`).
|
|
1244
623
|
* @atelier icone=palette largeur=3 hauteur=1
|
|
1245
624
|
*/
|
|
1246
625
|
declare class PoadColorpickerComponent extends PoadValueAccessor<string> {
|
|
1247
626
|
protected readonly i18n: UiI18n;
|
|
1248
|
-
readonly format: _angular_core.InputSignal<
|
|
627
|
+
readonly format: _angular_core.InputSignal<_poadio_ui_core.ColorFormat>;
|
|
1249
628
|
readonly alpha: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1250
629
|
readonly inline: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1251
630
|
readonly presets: _angular_core.InputSignal<string[]>;
|
|
@@ -1269,34 +648,43 @@ declare class PoadColorpickerComponent extends PoadValueAccessor<string> {
|
|
|
1269
648
|
readonly hasEyeDropper: boolean;
|
|
1270
649
|
/** État interne HSV (garde la teinte quand s=0 ou v=0). */
|
|
1271
650
|
private readonly localHsv;
|
|
1272
|
-
readonly hsv: _angular_core.Signal<
|
|
1273
|
-
readonly
|
|
651
|
+
readonly hsv: _angular_core.Signal<_poadio_ui_core.ColorHsva>;
|
|
652
|
+
protected readonly view: _angular_core.Signal<_poadio_ui_core.ColorpickerView>;
|
|
653
|
+
readonly rgb: _angular_core.Signal<_poadio_ui_core.ColorRgba>;
|
|
1274
654
|
readonly css: _angular_core.Signal<string>;
|
|
1275
655
|
readonly opaqueCss: _angular_core.Signal<string>;
|
|
1276
656
|
readonly hueCss: _angular_core.Signal<string>;
|
|
1277
657
|
readonly hex: _angular_core.Signal<string>;
|
|
1278
|
-
protected
|
|
1279
|
-
|
|
1280
|
-
|
|
658
|
+
protected readonly root: _angular_core.Signal<{
|
|
659
|
+
'is-open': boolean;
|
|
660
|
+
'is-disabled': boolean;
|
|
661
|
+
'is-invalid': boolean;
|
|
662
|
+
'is-inline': boolean;
|
|
663
|
+
'size-sm': boolean;
|
|
664
|
+
'size-lg': boolean;
|
|
665
|
+
}>;
|
|
666
|
+
protected readonly triggerAttrs: _angular_core.Signal<{
|
|
667
|
+
readonly 'aria-expanded': "true" | "false";
|
|
668
|
+
readonly 'aria-haspopup': "dialog";
|
|
669
|
+
readonly 'aria-invalid': "true" | null;
|
|
670
|
+
}>;
|
|
671
|
+
/** Positions de l'overlay du CDK : celles du socle (`COLORPICKER_PLACEMENTS`), collées au déclencheur. */
|
|
672
|
+
protected readonly positions: ConnectedPosition[];
|
|
1281
673
|
protected sameAs(p: string): boolean;
|
|
1282
674
|
open(): void;
|
|
1283
675
|
close(): void;
|
|
1284
676
|
toggle(): void;
|
|
1285
677
|
protected onOutside(e: MouseEvent): void;
|
|
678
|
+
protected onKey(e: KeyboardEvent): void;
|
|
1286
679
|
protected clear(e: Event): void;
|
|
1287
680
|
private set;
|
|
1288
681
|
protected applyPreset(p: string): void;
|
|
1289
682
|
protected onHex(v: string): void;
|
|
1290
683
|
protected onRgb(k: 'r' | 'g' | 'b', v: string): void;
|
|
1291
684
|
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;
|
|
685
|
+
private readonly parts;
|
|
686
|
+
protected drag(e: PointerEvent, part: ColorpickerPart): void;
|
|
687
|
+
protected key(e: KeyboardEvent, part: ColorpickerPart): void;
|
|
1300
688
|
eyedrop(): Promise<void>;
|
|
1301
689
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadColorpickerComponent, never>;
|
|
1302
690
|
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 +692,15 @@ declare class PoadColorpickerComponent extends PoadValueAccessor<string> {
|
|
|
1304
692
|
|
|
1305
693
|
/**
|
|
1306
694
|
* <poad-rating [(value)]="note" [max]="5" allowHalf clearable showValue severity="warning"/>
|
|
1307
|
-
* CVA<number>. Clavier ←→ (± 1 ou ½), Home/End, Suppr = 0 (clearable). `role="slider"`.
|
|
695
|
+
* CVA<number>. Clavier ←→ (± 1 ou ½ ; miroir de droite à gauche), Home/End, Suppr = 0 (clearable). `role="slider"`.
|
|
696
|
+
*
|
|
697
|
+
* La logique (clavier, survol, demi-étoile, remise à zéro, attributs) est la machine `rating` de @poadio/ui-core en
|
|
698
|
+
* usage CONTRÔLÉ ; style partagé : `@poadio/ui-core/rating.css` (encapsulation désactivée).
|
|
1308
699
|
* @atelier ajustement=naturel icone=star largeur=2 hauteur=1 pose-value=3
|
|
1309
700
|
*/
|
|
1310
701
|
declare class PoadRatingComponent extends PoadValueAccessor<number> {
|
|
1311
702
|
protected readonly i18n: UiI18n;
|
|
703
|
+
private readonly host;
|
|
1312
704
|
readonly max: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
1313
705
|
readonly allowHalf: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1314
706
|
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -1321,21 +713,48 @@ declare class PoadRatingComponent extends PoadValueAccessor<number> {
|
|
|
1321
713
|
readonly changed: _angular_core.OutputEmitterRef<number>;
|
|
1322
714
|
readonly id: string;
|
|
1323
715
|
readonly hover: _angular_core.WritableSignal<number | null>;
|
|
716
|
+
private readonly options;
|
|
717
|
+
/** État de la machine, dérivé des signaux d'Angular (valeur dans le `model`, survol ici). */
|
|
718
|
+
protected readonly state: _angular_core.Signal<RatingState>;
|
|
719
|
+
protected readonly control: _angular_core.Signal<{
|
|
720
|
+
readonly role: "slider";
|
|
721
|
+
readonly tabindex: 0 | -1;
|
|
722
|
+
readonly 'aria-valuemin': 0;
|
|
723
|
+
readonly 'aria-valuemax': number;
|
|
724
|
+
readonly 'aria-valuenow': number;
|
|
725
|
+
readonly 'aria-valuetext': string;
|
|
726
|
+
readonly 'aria-disabled': "true" | null;
|
|
727
|
+
readonly 'aria-readonly': "true" | null;
|
|
728
|
+
}>;
|
|
729
|
+
protected readonly root: _angular_core.Signal<{
|
|
730
|
+
readonly 'is-disabled': boolean;
|
|
731
|
+
readonly 'is-readonly': boolean;
|
|
732
|
+
readonly 'size-sm': boolean;
|
|
733
|
+
readonly 'size-lg': boolean;
|
|
734
|
+
}>;
|
|
1324
735
|
readonly stars: _angular_core.Signal<number[]>;
|
|
1325
|
-
readonly px: _angular_core.Signal<
|
|
736
|
+
readonly px: _angular_core.Signal<number>;
|
|
1326
737
|
readonly color: _angular_core.Signal<string>;
|
|
1327
738
|
readonly display: _angular_core.Signal<string>;
|
|
1328
739
|
protected fill(i: number): number;
|
|
1329
|
-
|
|
740
|
+
protected starClasses(i: number): {
|
|
741
|
+
readonly "is-on": boolean;
|
|
742
|
+
readonly "is-half": boolean;
|
|
743
|
+
};
|
|
744
|
+
private firstHalf;
|
|
1330
745
|
protected onMove(e: MouseEvent, i: number): void;
|
|
1331
746
|
protected onClick(e: MouseEvent, i: number): void;
|
|
1332
747
|
protected onKey(e: KeyboardEvent): void;
|
|
1333
|
-
|
|
748
|
+
/** Demande la transition au socle et applique le résultat. */
|
|
749
|
+
protected send(event: RatingEvent): void;
|
|
1334
750
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadRatingComponent, never>;
|
|
1335
751
|
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
752
|
}
|
|
1337
753
|
|
|
1338
|
-
/**
|
|
754
|
+
/**
|
|
755
|
+
* Presets de masque : `poadMaskPreset="phone"` etc. (`9` chiffre, `a` lettre, `*` alphanum). Le même objet que
|
|
756
|
+
* `MASK_PRESETS` de @poadio/ui-core : un preset ajouté ici sert aussi aux autres rendus.
|
|
757
|
+
*/
|
|
1339
758
|
declare const POAD_MASK_PRESETS: Record<string, string>;
|
|
1340
759
|
/** Applique un masque à une valeur brute (caractères utiles seulement) → { text (affiché), raw (sans littéraux), complete }. */
|
|
1341
760
|
declare function poadApplyMask(mask: string, input: string, slot?: string): {
|
|
@@ -1347,6 +766,7 @@ declare function poadUnmask(mask: string, text: string, slot?: string): string;
|
|
|
1347
766
|
/**
|
|
1348
767
|
* <input poadInput poadMask="99 99 99 99 99"> ou <input poadInput poadMaskPreset="phone" [(ngModel)]="tel" unmask>
|
|
1349
768
|
* Masque à la PrimeNG. CVA : la valeur du formulaire = texte masqué (ou brut si `unmask`). Validation `mask` si incomplet.
|
|
769
|
+
* La logique (lecture à travers le masque, curseur, valeur, complétude) est `mask` de @poadio/ui-core.
|
|
1350
770
|
*/
|
|
1351
771
|
declare class PoadMaskDirective implements ControlValueAccessor, Validator {
|
|
1352
772
|
private readonly el;
|
|
@@ -1368,26 +788,22 @@ declare class PoadMaskDirective implements ControlValueAccessor, Validator {
|
|
|
1368
788
|
registerOnTouched(fn: () => void): void;
|
|
1369
789
|
setDisabledState(d: boolean): void;
|
|
1370
790
|
validate(_c: AbstractControl): ValidationErrors | null;
|
|
1371
|
-
onInput(): void;
|
|
791
|
+
onInput(ev?: Event): void;
|
|
1372
792
|
onFocus(): void;
|
|
1373
793
|
onBlur(): void;
|
|
1374
|
-
private firstSlot;
|
|
1375
|
-
private escape;
|
|
1376
794
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadMaskDirective, never>;
|
|
1377
795
|
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
796
|
}
|
|
1379
797
|
/**
|
|
1380
798
|
* <input poadInput poadKeyFilter="int"> — int | num | alpha | alphanum | hex | email | RegExp (testée sur le caractère).
|
|
1381
799
|
* Bloque les frappes/collages non conformes ; `poadKeyFilterValidateOnly` : ne bloque pas mais pose l'erreur `keyfilter` (validation de la valeur entière).
|
|
800
|
+
* La logique est le filtre de touches de @poadio/ui-core (`keyFilterBlocks`, `keyFilterPaste`, `keyFilterValid`).
|
|
1382
801
|
*/
|
|
1383
802
|
declare class PoadKeyFilterDirective implements Validator {
|
|
1384
803
|
private readonly el;
|
|
1385
804
|
readonly poadKeyFilter: _angular_core.InputSignal<string | RegExp>;
|
|
1386
805
|
readonly poadKeyFilterValidateOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1387
|
-
private
|
|
1388
|
-
private static readonly FULL;
|
|
1389
|
-
private charRe;
|
|
1390
|
-
private fullRe;
|
|
806
|
+
private filter;
|
|
1391
807
|
validate(c: AbstractControl): ValidationErrors | null;
|
|
1392
808
|
onKey(ev: Event): void;
|
|
1393
809
|
onPaste(ev: Event): void;
|
|
@@ -1411,6 +827,9 @@ declare class PoadInplaceContentDirective {
|
|
|
1411
827
|
* <ng-template poadInplaceContent><input poadInput [(ngModel)]="name"></ng-template>
|
|
1412
828
|
* </poad-inplace>
|
|
1413
829
|
* Texte → éditeur au clic/Entrée ; Échap ou blur referme (`closeOnEscape`, `closeOnBlur`) ; crayon au survol.
|
|
830
|
+
*
|
|
831
|
+
* La logique (ouverture, Échap, sortie du focus) est la machine `inplace` de @poadio/ui-core ; à l'ouverture, le focus
|
|
832
|
+
* va au premier champ de CET éditeur. Style partagé : `@poadio/ui-core/inplace.css` (encapsulation désactivée).
|
|
1414
833
|
* @atelier icone=pen-line hauteur=1
|
|
1415
834
|
*/
|
|
1416
835
|
declare class PoadInplaceComponent {
|
|
@@ -1426,9 +845,18 @@ declare class PoadInplaceComponent {
|
|
|
1426
845
|
readonly deactivated: _angular_core.OutputEmitterRef<void>;
|
|
1427
846
|
readonly displayTpl: _angular_core.Signal<PoadInplaceDisplayDirective | undefined>;
|
|
1428
847
|
readonly contentTpl: _angular_core.Signal<PoadInplaceContentDirective | undefined>;
|
|
848
|
+
private readonly host;
|
|
849
|
+
private readonly injector;
|
|
850
|
+
protected readonly state: _angular_core.Signal<InplaceState>;
|
|
851
|
+
protected readonly root: _angular_core.Signal<{
|
|
852
|
+
readonly "is-active": boolean;
|
|
853
|
+
readonly "is-disabled": boolean;
|
|
854
|
+
}>;
|
|
1429
855
|
activate(): void;
|
|
1430
856
|
deactivate(): void;
|
|
1431
857
|
protected onFocusOut(e: FocusEvent): void;
|
|
858
|
+
/** Demande la transition au socle et applique le résultat ; vrai si l'état a changé. */
|
|
859
|
+
protected send(event: InplaceEvent): boolean;
|
|
1432
860
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadInplaceComponent, never>;
|
|
1433
861
|
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
862
|
}
|
|
@@ -1436,6 +864,12 @@ declare class PoadInplaceComponent {
|
|
|
1436
864
|
/**
|
|
1437
865
|
* <poad-switch [(value)]="on" label="Auto-park 7 j" size="sm" labelPosition="left" />
|
|
1438
866
|
* CVA<boolean>. Espace/Entrée basculent. `readonly` = visible mais figé.
|
|
867
|
+
*
|
|
868
|
+
* La logique (état, gestes acceptés, attributs ARIA) est la machine `switch` de @poadio/ui-core, en usage
|
|
869
|
+
* CONTRÔLÉ : la valeur reste dans le `model` d'Angular (liaison, formulaire), ce composant en dérive l'état,
|
|
870
|
+
* demande la transition au socle et pose les attributs qu'il décrit. Ici ne reste que le gabarit : le style est
|
|
871
|
+
* `@poadio/ui-core/switch.css`, partagé avec les autres rendus (encapsulation désactivée, sélecteurs `.poad-switch`).
|
|
872
|
+
* Espace / Entrée : le `<button>` natif en fait un clic, d'où un seul évènement `toggle`.
|
|
1439
873
|
* @atelier ajustement=naturel icone=toggle-right largeur=2 hauteur=1 pose-label=Interrupteur
|
|
1440
874
|
*/
|
|
1441
875
|
declare class PoadSwitchComponent extends PoadValueAccessor<boolean> {
|
|
@@ -1446,6 +880,16 @@ declare class PoadSwitchComponent extends PoadValueAccessor<boolean> {
|
|
|
1446
880
|
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1447
881
|
readonly changed: _angular_core.OutputEmitterRef<boolean>;
|
|
1448
882
|
protected readonly id: string;
|
|
883
|
+
/** État de la machine, dérivé des signaux d'Angular (la valeur vit dans `value`, le formulaire dans `isDisabled`). */
|
|
884
|
+
protected readonly state: _angular_core.Signal<SwitchState>;
|
|
885
|
+
private readonly element;
|
|
886
|
+
/** Attributs du bouton, du libellé et classes de l'hôte : décrits par le socle. */
|
|
887
|
+
protected readonly control: _angular_core.Signal<_poadio_ui_core.SwitchControlProps>;
|
|
888
|
+
protected readonly labelAttrs: _angular_core.Signal<_poadio_ui_core.SwitchLabelProps | null>;
|
|
889
|
+
protected readonly root: _angular_core.Signal<{
|
|
890
|
+
readonly 'is-on': boolean;
|
|
891
|
+
readonly 'is-disabled': boolean;
|
|
892
|
+
}>;
|
|
1449
893
|
toggle(): void;
|
|
1450
894
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadSwitchComponent, never>;
|
|
1451
895
|
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 +899,9 @@ declare class PoadSwitchComponent extends PoadValueAccessor<boolean> {
|
|
|
1455
899
|
* <poad-checkbox [(value)]="checked" label="PostGIS" [indeterminate]="some" />
|
|
1456
900
|
* CVA<boolean>. `indeterminate` (two-way) = état visuel « partiel » ; un clic passe à coché.
|
|
1457
901
|
* `invalid` pour l'état d'erreur (ex. CGU non acceptées).
|
|
902
|
+
*
|
|
903
|
+
* La logique (état, gestes refusés, `aria-checked` à trois valeurs) est la machine `checkbox` de @poadio/ui-core en
|
|
904
|
+
* usage CONTRÔLÉ, comme `poad-switch` ; style partagé : `@poadio/ui-core/checkbox.css` (encapsulation désactivée).
|
|
1458
905
|
* @atelier ajustement=naturel icone=check-square largeur=2 hauteur=1 pose-label="Case à cocher"
|
|
1459
906
|
*/
|
|
1460
907
|
declare class PoadCheckboxComponent extends PoadValueAccessor<boolean> {
|
|
@@ -1465,6 +912,21 @@ declare class PoadCheckboxComponent extends PoadValueAccessor<boolean> {
|
|
|
1465
912
|
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1466
913
|
readonly changed: _angular_core.OutputEmitterRef<boolean>;
|
|
1467
914
|
protected readonly id: string;
|
|
915
|
+
/** État de la machine, dérivé des signaux d'Angular (valeur et état partiel dans leurs `model`). */
|
|
916
|
+
protected readonly state: _angular_core.Signal<CheckboxState>;
|
|
917
|
+
private readonly element;
|
|
918
|
+
protected readonly control: _angular_core.Signal<_poadio_ui_core.CheckboxControlProps>;
|
|
919
|
+
protected readonly labelAttrs: _angular_core.Signal<{
|
|
920
|
+
readonly id: string;
|
|
921
|
+
readonly for: string;
|
|
922
|
+
} | null>;
|
|
923
|
+
protected readonly root: _angular_core.Signal<{
|
|
924
|
+
readonly 'is-on': boolean;
|
|
925
|
+
readonly 'is-ind': boolean;
|
|
926
|
+
readonly 'is-disabled': boolean;
|
|
927
|
+
readonly 'is-invalid': boolean;
|
|
928
|
+
}>;
|
|
929
|
+
protected readonly mark: _angular_core.Signal<"dash" | "check" | null>;
|
|
1468
930
|
toggle(): void;
|
|
1469
931
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadCheckboxComponent, never>;
|
|
1470
932
|
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 +938,8 @@ declare class PoadCheckboxComponent extends PoadValueAccessor<boolean> {
|
|
|
1476
938
|
* <poad-radio value="session" label="Session" [disabled]="true" />
|
|
1477
939
|
* </poad-radio-group>
|
|
1478
940
|
* CVA<T> sur le GROUPE. Clavier : ←/→/↑/↓ déplacent la sélection (pattern WAI-ARIA radiogroup).
|
|
941
|
+
* Choix, flèches et « roving tabindex » : machine `radio` de @poadio/ui-core ; style partagé : `@poadio/ui-core/radio.css`
|
|
942
|
+
* (encapsulation désactivée, sélecteurs `.poad-radio-group`, `.poad-radio`).
|
|
1479
943
|
* @atelier icone=circle-dot largeur=2 conteneur=direct hauteur=4
|
|
1480
944
|
*/
|
|
1481
945
|
declare class PoadRadioGroupComponent<T = unknown> extends PoadValueAccessor<T> {
|
|
@@ -1489,6 +953,13 @@ declare class PoadRadioGroupComponent<T = unknown> extends PoadValueAccessor<T>
|
|
|
1489
953
|
readonly radios: _angular_core.Signal<any[]>;
|
|
1490
954
|
/** Reçoit la LISTE COMPLÈTE des radios posés, et se RATTACHE à chacun. */
|
|
1491
955
|
enregistrerEnfants(instances: unknown[]): void;
|
|
956
|
+
/** État et radios vus par la machine du socle. */
|
|
957
|
+
readonly state: _angular_core.Signal<RadioGroupState<unknown>>;
|
|
958
|
+
readonly items: _angular_core.Signal<RadioItem<unknown>[]>;
|
|
959
|
+
protected readonly groupClasses: _angular_core.Signal<{
|
|
960
|
+
readonly 'is-horizontal': boolean;
|
|
961
|
+
readonly 'is-disabled': boolean;
|
|
962
|
+
}>;
|
|
1492
963
|
select(v: T): void;
|
|
1493
964
|
protected onKey(e: KeyboardEvent): void;
|
|
1494
965
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadRadioGroupComponent<any>, never>;
|
|
@@ -1532,8 +1003,21 @@ declare class PoadRadioComponent<T = unknown> {
|
|
|
1532
1003
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1533
1004
|
protected readonly id: string;
|
|
1534
1005
|
readonly checked: _angular_core.Signal<boolean>;
|
|
1535
|
-
/**
|
|
1536
|
-
|
|
1006
|
+
/**
|
|
1007
|
+
* Ce que voit la machine : l'état du groupe et ses radios ; un radio solitaire est seul dans son groupe (tabulable).
|
|
1008
|
+
* Roving tabindex : seul l'élément coché (ou le 1er actif) est tabulable — décidé par le socle.
|
|
1009
|
+
*/
|
|
1010
|
+
private readonly view;
|
|
1011
|
+
private readonly element;
|
|
1012
|
+
protected readonly control: _angular_core.Signal<_poadio_ui_core.RadioControlProps>;
|
|
1013
|
+
protected readonly labelAttrs: _angular_core.Signal<{
|
|
1014
|
+
readonly id: string;
|
|
1015
|
+
readonly for: string;
|
|
1016
|
+
} | null>;
|
|
1017
|
+
protected readonly root: _angular_core.Signal<{
|
|
1018
|
+
readonly 'is-on': boolean;
|
|
1019
|
+
readonly 'is-disabled': boolean;
|
|
1020
|
+
}>;
|
|
1537
1021
|
focus(): void;
|
|
1538
1022
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadRadioComponent<any>, never>;
|
|
1539
1023
|
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 +1034,9 @@ type PoadSegmentOption = {
|
|
|
1550
1034
|
* <poad-segmented [(value)]="view" [options]="[{label:'Tableau',value:'t'},{label:'SQL',value:'s',icon:'code'}]" />
|
|
1551
1035
|
* Remplace p-selectButton. CVA<T>. `multiple` = tableau de valeurs. `allowEmpty` (single) autorise la désélection.
|
|
1552
1036
|
* `optionLabel`/`optionValue` pour des objets. Template d'option : <ng-template let-o>…</ng-template>.
|
|
1037
|
+
* Clavier : un seul arrêt de tabulation (l'option choisie, sinon la première) ; flèches, Début / Fin déplacent le focus,
|
|
1038
|
+
* Espace / Entrée choisissent. Logique : machine `segmented` de @poadio/ui-core ; style partagé :
|
|
1039
|
+
* `@poadio/ui-core/segmented.css` (encapsulation désactivée, sélecteurs `.poad-segmented`).
|
|
1553
1040
|
* @atelier icone=columns-3 hauteur=1
|
|
1554
1041
|
* @atelier-exemple options [{"label":"Jour","value":"jour"},{"label":"Semaine","value":"semaine"},{"label":"Mois","value":"mois"}]
|
|
1555
1042
|
*/
|
|
@@ -1566,10 +1053,28 @@ declare class PoadSegmentedComponent<T = unknown> extends PoadValueAccessor<T |
|
|
|
1566
1053
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
1567
1054
|
readonly changed: _angular_core.OutputEmitterRef<T | T[] | null>;
|
|
1568
1055
|
readonly tpl: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
1056
|
+
private readonly host;
|
|
1569
1057
|
protected labelOf(o: PoadSegmentOption): string;
|
|
1570
1058
|
private valOf;
|
|
1059
|
+
/** Ce que voit la machine du socle. */
|
|
1060
|
+
private readonly mode;
|
|
1061
|
+
private readonly items;
|
|
1062
|
+
protected readonly optionAttrs: _angular_core.Signal<{
|
|
1063
|
+
readonly 'aria-pressed': "true" | "false";
|
|
1064
|
+
readonly tabindex: 0 | -1;
|
|
1065
|
+
readonly disabled: boolean;
|
|
1066
|
+
}[]>;
|
|
1067
|
+
protected readonly root: _angular_core.Signal<{
|
|
1068
|
+
readonly 'is-disabled': boolean;
|
|
1069
|
+
readonly 'size-sm': boolean;
|
|
1070
|
+
readonly 'size-lg': boolean;
|
|
1071
|
+
readonly 'is-block': boolean;
|
|
1072
|
+
readonly 'is-pill': boolean;
|
|
1073
|
+
}>;
|
|
1571
1074
|
protected isOn(o: PoadSegmentOption): boolean;
|
|
1572
1075
|
protected pick(o: PoadSegmentOption): void;
|
|
1076
|
+
/** Flèches, Début / Fin : le focus passe d'une option active à l'autre (roving tabindex). */
|
|
1077
|
+
protected onKey(e: KeyboardEvent): void;
|
|
1573
1078
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadSegmentedComponent<any>, never>;
|
|
1574
1079
|
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
1080
|
}
|
|
@@ -1577,6 +1082,8 @@ declare class PoadSegmentedComponent<T = unknown> extends PoadValueAccessor<T |
|
|
|
1577
1082
|
/**
|
|
1578
1083
|
* <poad-toggle-button [(value)]="on" onLabel="Actif" offLabel="Inactif" onIcon="check" offIcon="x" severity="primary"/>
|
|
1579
1084
|
* CVA<boolean>. Actif = bouton plein, inactif = contour. `aria-pressed`. Remplace p-toggleButton.
|
|
1085
|
+
* Logique (geste refusé, libellé / icône / apparence de chaque état) : machine `toggle-button` de @poadio/ui-core ;
|
|
1086
|
+
* style partagé : `@poadio/ui-core/toggle-button.css` et `button.css`.
|
|
1580
1087
|
* @atelier icone=toggle-left largeur=2 hauteur=1
|
|
1581
1088
|
*/
|
|
1582
1089
|
declare class PoadToggleButtonComponent extends PoadValueAccessor<boolean> {
|
|
@@ -1589,8 +1096,12 @@ declare class PoadToggleButtonComponent extends PoadValueAccessor<boolean> {
|
|
|
1589
1096
|
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1590
1097
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
1591
1098
|
readonly changed: _angular_core.OutputEmitterRef<boolean>;
|
|
1099
|
+
protected readonly state: _angular_core.Signal<ToggleButtonState>;
|
|
1100
|
+
protected readonly view: _angular_core.Signal<_poadio_ui_core.ToggleButtonView>;
|
|
1592
1101
|
readonly label: _angular_core.Signal<string>;
|
|
1593
1102
|
readonly icon: _angular_core.Signal<string | null>;
|
|
1103
|
+
private readonly button;
|
|
1104
|
+
constructor();
|
|
1594
1105
|
toggle(): void;
|
|
1595
1106
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadToggleButtonComponent, never>;
|
|
1596
1107
|
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 +1204,17 @@ declare function poadParseResponsive(v: string | number | null | undefined): Par
|
|
|
1693
1204
|
/** Résout la valeur applicable au breakpoint courant (cascade mobile-first). */
|
|
1694
1205
|
declare function poadResolveResponsive(map: Partial<Record<PoadBreakpoint, string>>, bp: PoadBreakpoint): string | undefined;
|
|
1695
1206
|
|
|
1207
|
+
/**
|
|
1208
|
+
* Piège à focus d'un panneau modal (feuille basse, popover `focusTrap`) — interne. Les décisions (éléments atteignables,
|
|
1209
|
+
* focus initial, où va Tab) sont celles d'ui-core ; ici, le DOM : lister, décrire, focaliser, intercepter Tab.
|
|
1210
|
+
* Remplace le piège du CDK (`cdkTrapFocus`, `ConfigurableFocusTrap`) pour que tous les rendus piègent de la même façon.
|
|
1211
|
+
*/
|
|
1212
|
+
interface PoadFocusTrap {
|
|
1213
|
+
/** Focus initial (élément `data-poad-autofocus`, sinon premier atteignable, sinon le panneau). */
|
|
1214
|
+
focusInitial(): void;
|
|
1215
|
+
destroy(): void;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1696
1218
|
type PoadSheetHeight = 'auto' | 'half' | 'full' | (string & {});
|
|
1697
1219
|
/** Configuration d'une feuille basse (bottom-sheet). */
|
|
1698
1220
|
interface PoadSheetConfig<D = unknown> {
|
|
@@ -1744,6 +1266,8 @@ declare class PoadSheetRef<R = unknown, T = unknown> {
|
|
|
1744
1266
|
* Conteneur d'une feuille basse — chrome commun (poignée, en-tête, corps scrollable, pied), geste de glissement,
|
|
1745
1267
|
* focus trap. Monté dans un pane CDK Overlay par PoadSheetService. ViewEncapsulation.None : styles globaux préfixés
|
|
1746
1268
|
* `poad-sheet` (le contenu projeté — listes d'options, calendrier, menu — y trouve aussi ses ajustements tactiles).
|
|
1269
|
+
* Modèle (glissement, hauteurs, durée) et piège à focus : ui-core ; style : `@poadio/ui-core/sheet.css`, partagé avec
|
|
1270
|
+
* la feuille d'ui-react.
|
|
1747
1271
|
*/
|
|
1748
1272
|
declare class PoadSheetContainerComponent {
|
|
1749
1273
|
protected readonly i18n: UiI18n;
|
|
@@ -1759,7 +1283,9 @@ declare class PoadSheetContainerComponent {
|
|
|
1759
1283
|
private readonly dragY;
|
|
1760
1284
|
protected readonly dragTransform: _angular_core.Signal<string | null>;
|
|
1761
1285
|
protected readonly hostClass: _angular_core.Signal<string>;
|
|
1762
|
-
protected readonly heightCss: _angular_core.Signal<
|
|
1286
|
+
protected readonly heightCss: _angular_core.Signal<string | null>;
|
|
1287
|
+
/** Piège à focus (ui-core), posé par le service une fois le contenu rendu. */
|
|
1288
|
+
trap: PoadFocusTrap | null;
|
|
1763
1289
|
/** Glissement : vers le bas → fermeture (distance ou vélocité) ; vers le haut → agrandit si `expandable`. */
|
|
1764
1290
|
protected onDragStart(e: PointerEvent): void;
|
|
1765
1291
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadSheetContainerComponent, never>;
|
|
@@ -1787,6 +1313,8 @@ declare class PoadSheetService {
|
|
|
1787
1313
|
* Liste d'options du panneau — INTERNE, partagée par poad-select et poad-multiselect.
|
|
1788
1314
|
* Encapsulation None (classes préfixées `poad-optlist`) pour que le style s'applique aussi
|
|
1789
1315
|
* quand le panneau est rendu dans l'overlay CDK, et pour poser le z-index global des overlays.
|
|
1316
|
+
* Attributs de la liste et des options, message vide, défilement : machine `select` de @poadio/ui-core ;
|
|
1317
|
+
* style : `@poadio/ui-core/option-list.css`, partagé avec les autres rendus.
|
|
1790
1318
|
*/
|
|
1791
1319
|
declare class PoadOptionListComponent<T = unknown> {
|
|
1792
1320
|
private readonly el;
|
|
@@ -1808,6 +1336,9 @@ declare class PoadOptionListComponent<T = unknown> {
|
|
|
1808
1336
|
readonly query: _angular_core.InputSignal<string>;
|
|
1809
1337
|
readonly pick: _angular_core.OutputEmitterRef<PoadOptionItem<T>>;
|
|
1810
1338
|
readonly hover: _angular_core.OutputEmitterRef<number>;
|
|
1339
|
+
protected readonly listbox: _angular_core.Signal<_poadio_ui_core.SelectListboxProps>;
|
|
1340
|
+
protected readonly emptyKey: _angular_core.Signal<"select.empty" | "select.emptyFilter">;
|
|
1341
|
+
protected optionAttrs(it: PoadOptionItem<T>): _poadio_ui_core.SelectOptionProps;
|
|
1811
1342
|
protected ctx(it: PoadOptionItem<T>): PoadSelectItemContext<T>;
|
|
1812
1343
|
/** Fait défiler l'option d'index donné dans la zone visible. */
|
|
1813
1344
|
scrollTo(index: number): void;
|
|
@@ -1815,29 +1346,18 @@ declare class PoadOptionListComponent<T = unknown> {
|
|
|
1815
1346
|
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
1347
|
}
|
|
1817
1348
|
|
|
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
|
-
}
|
|
1349
|
+
/** Option aplatie du panneau (index = rang parmi les options sélectionnables, groupes exclus) — `SelectOptionItem` du socle. */
|
|
1350
|
+
type PoadOptionItem<T = unknown> = SelectOptionItem<T>;
|
|
1351
|
+
type PoadGroupItem = SelectGroupItem;
|
|
1835
1352
|
type PoadListItem<T = unknown> = PoadOptionItem<T> | PoadGroupItem;
|
|
1353
|
+
/** Positions de l'overlay du CDK : celles du socle (`SELECT_PLACEMENTS`), dans le même ordre, à 4 px du déclencheur. */
|
|
1836
1354
|
declare const POAD_SELECT_POSITIONS: ConnectedPosition[];
|
|
1837
1355
|
/**
|
|
1838
|
-
* Socle partagé poad-select / poad-multiselect
|
|
1839
|
-
*
|
|
1840
|
-
*
|
|
1356
|
+
* Socle partagé poad-select / poad-multiselect. La logique est la machine `select` de @poadio/ui-core, en usage
|
|
1357
|
+
* CONTRÔLÉ : la valeur (modèle, formulaire) et l'état (signaux `isOpen`, `activeIndex`, `query`) restent dans Angular ;
|
|
1358
|
+
* chaque geste passe par `selectTransition`, qui rend l'état suivant et les effets à exécuter. Ici ne restent que ce qui
|
|
1359
|
+
* est propre à Angular : entrées / sorties, overlay du CDK, feuille basse (`PoadSheetService`), focus et mesure du DOM.
|
|
1360
|
+
* Les composants concrets fournissent le template, `isSelected` et `choose` (écrire la valeur choisie).
|
|
1841
1361
|
*/
|
|
1842
1362
|
declare abstract class PoadSelectBase<T, V> extends PoadValueAccessor<V> {
|
|
1843
1363
|
readonly options: _angular_core.InputSignal<T[]>;
|
|
@@ -1917,17 +1437,21 @@ declare abstract class PoadSelectBase<T, V> extends PoadValueAccessor<V> {
|
|
|
1917
1437
|
readonly useSheet: _angular_core.Signal<boolean>;
|
|
1918
1438
|
/** Ouverture en overlay connecté (desktop). */
|
|
1919
1439
|
readonly popoverOpen: _angular_core.Signal<boolean>;
|
|
1920
|
-
|
|
1921
|
-
|
|
1440
|
+
/** Plusieurs valeurs (multiselect) : choisir bascule l'option sans fermer. */
|
|
1441
|
+
protected readonly multiple: boolean;
|
|
1442
|
+
/** Lettres de la recherche au clavier (état de la machine sans effet sur le rendu : pas de signal). */
|
|
1443
|
+
private typed;
|
|
1922
1444
|
protected readonly isClearable: _angular_core.Signal<boolean>;
|
|
1923
1445
|
protected readonly canInteract: _angular_core.Signal<boolean>;
|
|
1446
|
+
private readonly fields;
|
|
1447
|
+
private readonly filterOptions;
|
|
1924
1448
|
/** Toutes les options (non filtrées), aplaties avec leurs groupes. */
|
|
1925
1449
|
readonly allItems: _angular_core.Signal<PoadListItem<T>[]>;
|
|
1926
1450
|
/** Options visibles après filtre (groupes vides retirés). */
|
|
1927
1451
|
readonly items: _angular_core.Signal<PoadListItem<T>[]>;
|
|
1928
1452
|
/** 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<
|
|
1453
|
+
readonly visibleOptions: _angular_core.Signal<SelectOptionItem<T>[]>;
|
|
1454
|
+
readonly activeItem: _angular_core.Signal<SelectOptionItem<T> | null>;
|
|
1931
1455
|
readonly activeDescendant: _angular_core.Signal<string | null>;
|
|
1932
1456
|
readonly isEmpty: _angular_core.Signal<boolean>;
|
|
1933
1457
|
constructor();
|
|
@@ -1938,22 +1462,31 @@ declare abstract class PoadSelectBase<T, V> extends PoadValueAccessor<V> {
|
|
|
1938
1462
|
/** Retrouve l'option (non filtrée) portant une valeur. */
|
|
1939
1463
|
findOption(v: unknown): PoadOptionItem<T> | undefined;
|
|
1940
1464
|
abstract isSelected(item: PoadOptionItem<T>): boolean;
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1465
|
+
/** Écrit la valeur choisie (effet `pick` de la machine : l'option n'est ni désactivée, ni le composant figé). */
|
|
1466
|
+
protected abstract choose(item: PoadOptionItem<T>): void;
|
|
1467
|
+
/** État de la machine, lu dans les signaux. */
|
|
1468
|
+
protected machineState(): SelectState;
|
|
1469
|
+
protected context(): SelectContext<T>;
|
|
1470
|
+
/** Passe un évènement à la machine, applique l'état suivant aux signaux et exécute les effets. */
|
|
1471
|
+
protected send(event: SelectEvent): SelectStep<T>;
|
|
1472
|
+
private run;
|
|
1944
1473
|
open(): void;
|
|
1945
1474
|
close(refocus?: boolean): void;
|
|
1946
1475
|
toggle(): void;
|
|
1947
1476
|
focus(): void;
|
|
1477
|
+
/** Choisit une option (clic, Entrée, recherche au clavier) : la machine refuse une option désactivée ou un composant figé. */
|
|
1478
|
+
pick(item: PoadOptionItem<T>): void;
|
|
1479
|
+
private afterOpen;
|
|
1480
|
+
private afterClose;
|
|
1948
1481
|
protected onFocus(): void;
|
|
1949
1482
|
protected onBlur(): void;
|
|
1950
1483
|
protected onFilterInput(v: string): void;
|
|
1484
|
+
/** Bouton « effacer » (et Suppr / Retour arrière via la machine). */
|
|
1951
1485
|
protected clear(e?: Event): void;
|
|
1952
|
-
/**
|
|
1486
|
+
/** Effet `clear` : vider la valeur et le signaler. */
|
|
1487
|
+
protected applyClear(): void;
|
|
1488
|
+
/** Touches du déclencheur ET du champ de filtre : la machine décide, ce rendu applique au navigateur. */
|
|
1953
1489
|
protected onKeydown(e: KeyboardEvent): void;
|
|
1954
|
-
private moveActive;
|
|
1955
|
-
private moveTo;
|
|
1956
|
-
private typeahead;
|
|
1957
1490
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadSelectBase<any, any>, never>;
|
|
1958
1491
|
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
1492
|
}
|
|
@@ -1970,6 +1503,10 @@ declare abstract class PoadSelectBase<T, V> extends PoadValueAccessor<V> {
|
|
|
1970
1503
|
* Escape/Tab ferment, lettres = typeahead (sélection directe quand fermé), Suppr/Retour = effacer si `clearable`.
|
|
1971
1504
|
* - `open()/close()/toggle()/focus()` publiques ; events `changed`, `opened`, `closed`, `filtered`, `cleared`, `focusChange`.
|
|
1972
1505
|
* - mobile : `mobile="auto|sheet|popover"` — sous le seuil mobile le panneau s'ouvre en feuille basse (poad-sheet), options 44 px.
|
|
1506
|
+
*
|
|
1507
|
+
* Logique (état, clavier, filtre, attributs ARIA, classes d'état) : machine `select` de @poadio/ui-core, voir `PoadSelectBase`.
|
|
1508
|
+
* Ici ne restent que le gabarit (overlay du CDK, modèles de l'application) ; style : `@poadio/ui-core/select.css`, partagé
|
|
1509
|
+
* avec les autres rendus (encapsulation désactivée, sélecteurs `.poad-select`).
|
|
1973
1510
|
* @atelier icone=chevrons-up-down largeur=3 hauteur=1
|
|
1974
1511
|
* @atelier-exemple options [{"label":"Béton"},{"label":"Acier"},{"label":"Bois"},{"label":"Mixte"}]
|
|
1975
1512
|
*/
|
|
@@ -1981,10 +1518,23 @@ declare class PoadSelectComponent<T = unknown, V = unknown> extends PoadSelectBa
|
|
|
1981
1518
|
readonly selected: _angular_core.Signal<PoadOptionItem<T> | undefined>;
|
|
1982
1519
|
protected readonly fallbackLabel: _angular_core.Signal<string>;
|
|
1983
1520
|
protected readonly isSelectedFn: (it: PoadOptionItem<T>) => boolean;
|
|
1521
|
+
/** Classes d'état de l'hôte, attributs du déclencheur et du champ de filtre : décrits par le socle. */
|
|
1522
|
+
protected readonly root: _angular_core.Signal<{
|
|
1523
|
+
readonly 'is-open': boolean;
|
|
1524
|
+
readonly 'is-disabled': boolean;
|
|
1525
|
+
readonly 'is-readonly': boolean;
|
|
1526
|
+
readonly 'is-invalid': boolean;
|
|
1527
|
+
readonly 'is-focused': boolean;
|
|
1528
|
+
readonly 'has-value': boolean;
|
|
1529
|
+
readonly 'size-sm': boolean;
|
|
1530
|
+
readonly 'size-lg': boolean;
|
|
1531
|
+
}>;
|
|
1532
|
+
protected readonly triggerAttrs: _angular_core.Signal<_poadio_ui_core.SelectTriggerProps>;
|
|
1533
|
+
protected readonly filterAttrs: _angular_core.Signal<_poadio_ui_core.SelectFilterProps>;
|
|
1984
1534
|
isSelected(item: PoadOptionItem<T>): boolean;
|
|
1985
|
-
pick
|
|
1986
|
-
protected
|
|
1987
|
-
protected
|
|
1535
|
+
/** Effet `pick` : écrit la valeur si elle change, puis la machine ferme le panneau. */
|
|
1536
|
+
protected choose(item: PoadOptionItem<T>): void;
|
|
1537
|
+
protected applyClear(): void;
|
|
1988
1538
|
protected onOutsideClick(e: MouseEvent): void;
|
|
1989
1539
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadSelectComponent<any, any>, never>;
|
|
1990
1540
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadSelectComponent<any, any>, "poad-select", never, {}, { "changed": "changed"; }, never, never, true, never>;
|
|
@@ -2021,17 +1571,17 @@ declare class PoadMultiselectComponent<T = unknown, V = unknown> extends PoadSel
|
|
|
2021
1571
|
protected readonly overLimitLabels: _angular_core.Signal<boolean>;
|
|
2022
1572
|
protected readonly countLabel: _angular_core.Signal<string>;
|
|
2023
1573
|
protected readonly commaLabel: _angular_core.Signal<string>;
|
|
2024
|
-
protected readonly visibleEnabled: _angular_core.Signal<
|
|
2025
|
-
protected readonly allState: _angular_core.Signal<"
|
|
1574
|
+
protected readonly visibleEnabled: _angular_core.Signal<_poadio_ui_core.SelectOptionItem<T>[]>;
|
|
1575
|
+
protected readonly allState: _angular_core.Signal<"none" | "all" | "mixed">;
|
|
2026
1576
|
protected readonly isSelectedFn: (it: PoadOptionItem<T>) => boolean;
|
|
2027
1577
|
isSelected(item: PoadOptionItem<T>): boolean;
|
|
2028
|
-
|
|
2029
|
-
pick
|
|
1578
|
+
protected readonly multiple = true;
|
|
1579
|
+
/** Effet `pick` : bascule l'option, sans fermer le panneau (machine du socle en mode `multiple`). */
|
|
1580
|
+
protected choose(item: PoadOptionItem<T>): void;
|
|
2030
1581
|
protected remove(item: PoadOptionItem<T>, e: Event): void;
|
|
2031
1582
|
protected toggleAll(): void;
|
|
2032
|
-
protected
|
|
1583
|
+
protected applyClear(): void;
|
|
2033
1584
|
private set;
|
|
2034
|
-
protected initialActiveIndex(): number;
|
|
2035
1585
|
protected onOutsideClick(e: MouseEvent): void;
|
|
2036
1586
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadMultiselectComponent<any, any>, never>;
|
|
2037
1587
|
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>;
|
|
@@ -3606,7 +3156,7 @@ declare abstract class PoadTableBase<T> {
|
|
|
3606
3156
|
readonly groupLabel: _angular_core.InputSignal<((value: unknown, field: string, rows: T[]) => string) | null>;
|
|
3607
3157
|
readonly responsive: _angular_core.InputSignal<PoadTableResponsiveMode>;
|
|
3608
3158
|
readonly stackAt: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
3609
|
-
readonly priorityBreakpoints: _angular_core.InputSignal<Partial<Record<2 |
|
|
3159
|
+
readonly priorityBreakpoints: _angular_core.InputSignal<Partial<Record<2 | 3 | 5 | 4, number>>>;
|
|
3610
3160
|
/** Colonnes masquées par priorité récupérables dans la ligne détail auto. */
|
|
3611
3161
|
readonly showHiddenInExpansion: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
3612
3162
|
/** Colonne de sélection/expansion + 1ʳᵉ colonne figées à gauche. */
|
|
@@ -3804,7 +3354,7 @@ declare class PoadTableComponent<T = Record<string, unknown>> extends PoadTableB
|
|
|
3804
3354
|
readonly selectedCount: _angular_core.Signal<number>;
|
|
3805
3355
|
private readonly expandedSet;
|
|
3806
3356
|
private readonly scopeRows;
|
|
3807
|
-
protected readonly allState: _angular_core.Signal<"
|
|
3357
|
+
protected readonly allState: _angular_core.Signal<"some" | "none" | "all">;
|
|
3808
3358
|
constructor();
|
|
3809
3359
|
protected cell(row: T, c: PoadColumnComponent): unknown;
|
|
3810
3360
|
protected formatCell(v: unknown, c: PoadColumnComponent): string;
|
|
@@ -4519,41 +4069,6 @@ declare class PoadComboComponent<T = unknown> extends PoadValueAccessor<unknown>
|
|
|
4519
4069
|
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
4070
|
}
|
|
4521
4071
|
|
|
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
4072
|
type PoadDateMode = 'date' | 'datetime' | 'time' | 'month' | 'year';
|
|
4558
4073
|
type PoadDateSelection = 'single' | 'range' | 'multiple';
|
|
4559
4074
|
type PoadDateValue = Date | string | null | (Date | string | null)[];
|
|
@@ -5020,7 +4535,7 @@ declare class PoadConfirmDialogComponent {
|
|
|
5020
4535
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadConfirmDialogComponent, "poad-confirm-dialog", never, { "key": { "alias": "key"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5021
4536
|
}
|
|
5022
4537
|
|
|
5023
|
-
/** Composant interne rendu par la directive. */
|
|
4538
|
+
/** Composant interne rendu par la directive. Style : `@poadio/ui-core/tooltip.css` (encapsulation désactivée). */
|
|
5024
4539
|
declare class PoadTooltipComponent {
|
|
5025
4540
|
readonly id: string;
|
|
5026
4541
|
readonly text: _angular_core.WritableSignal<string>;
|
|
@@ -5028,6 +4543,11 @@ declare class PoadTooltipComponent {
|
|
|
5028
4543
|
readonly placement: _angular_core.WritableSignal<PoadPlacement>;
|
|
5029
4544
|
readonly maxWidth: _angular_core.WritableSignal<number>;
|
|
5030
4545
|
readonly visible: _angular_core.WritableSignal<boolean>;
|
|
4546
|
+
/** Boîte de la flèche le long du bord (`floatingArrow` d'ui-core), `null` = centrée par la feuille. */
|
|
4547
|
+
readonly arrow: _angular_core.WritableSignal<{
|
|
4548
|
+
left?: number;
|
|
4549
|
+
top?: number;
|
|
4550
|
+
} | null>;
|
|
5031
4551
|
readonly isTemplate: _angular_core.Signal<boolean>;
|
|
5032
4552
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadTooltipComponent, never>;
|
|
5033
4553
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PoadTooltipComponent, "poad-tooltip", never, {}, {}, never, never, true, never>;
|
|
@@ -5036,6 +4556,10 @@ declare class PoadTooltipComponent {
|
|
|
5036
4556
|
* `<button [poadTooltip]="'Redémarre les pods'" tooltipPosition="bottom">` — remplace pTooltip (59 usages).
|
|
5037
4557
|
* Survol ET focus clavier (`tooltipEvent`), délai d'apparition/disparition, flip auto, Escape ferme,
|
|
5038
4558
|
* `aria-describedby` posé sur l'hôte tant que le tooltip est visible.
|
|
4559
|
+
*
|
|
4560
|
+
* Logique (délais, survol / focus, Échap, `aria-describedby`) : machine `tooltip` d'ui-core ; positions (ordre de
|
|
4561
|
+
* retournement, distance, marge, sens d'écriture) et flèche : `floatingConnection` / `floatingArrow` d'ui-core. Reste
|
|
4562
|
+
* ici l'overlay du CDK (couche, portail, replacement au défilement) et les minuteries.
|
|
5039
4563
|
*/
|
|
5040
4564
|
declare class PoadTooltipDirective implements OnDestroy {
|
|
5041
4565
|
private readonly el;
|
|
@@ -5048,11 +4572,12 @@ declare class PoadTooltipDirective implements OnDestroy {
|
|
|
5048
4572
|
readonly tooltipHideDelay: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
5049
4573
|
readonly tooltipDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5050
4574
|
readonly tooltipMaxWidth: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
5051
|
-
readonly tooltipEvent: _angular_core.InputSignal<"both" | "
|
|
4575
|
+
readonly tooltipEvent: _angular_core.InputSignal<"both" | "focus" | "hover">;
|
|
5052
4576
|
private ref;
|
|
5053
4577
|
private cmp;
|
|
5054
|
-
private
|
|
5055
|
-
private
|
|
4578
|
+
private timer;
|
|
4579
|
+
private state;
|
|
4580
|
+
/** `aria-describedby` de l'hôte (`tooltipAnchorProps` d'ui-core). */
|
|
5056
4581
|
protected readonly describedBy: _angular_core.WritableSignal<string | null>;
|
|
5057
4582
|
constructor();
|
|
5058
4583
|
protected onEnter(): void;
|
|
@@ -5062,10 +4587,14 @@ declare class PoadTooltipDirective implements OnDestroy {
|
|
|
5062
4587
|
show(delay?: number): void;
|
|
5063
4588
|
hide(delay?: number): void;
|
|
5064
4589
|
toggle(): void;
|
|
4590
|
+
private send;
|
|
4591
|
+
private run;
|
|
5065
4592
|
private doShow;
|
|
4593
|
+
/** Flèche vers le centre de l'hôte (ui-core), mesurée une fois l'info-bulle placée. */
|
|
4594
|
+
private placeArrow;
|
|
5066
4595
|
private doHide;
|
|
5067
4596
|
private setContent;
|
|
5068
|
-
private
|
|
4597
|
+
private clearTimer;
|
|
5069
4598
|
ngOnDestroy(): void;
|
|
5070
4599
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadTooltipDirective, never>;
|
|
5071
4600
|
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 +4605,21 @@ declare class PoadTooltipDirective implements OnDestroy {
|
|
|
5076
4605
|
* <button (click)="p.toggle($event)">…</button>
|
|
5077
4606
|
* Panneau flottant ancré sur une cible passée à `open(target)`. Base du futur menu contextuel.
|
|
5078
4607
|
* Mobile : `mobile="sheet"` → sous le seuil mobile le contenu s'ouvre en feuille basse (défaut 'popover' = inchangé).
|
|
4608
|
+
* La cible reçoit `aria-haspopup="dialog"`, `aria-expanded` et, ouvert, `aria-controls`.
|
|
4609
|
+
*
|
|
4610
|
+
* Décisions d'ui-core (`popover`) : bascule selon la cible, fermeture (appui extérieur, Échap), feuille basse,
|
|
4611
|
+
* attributs, positions (ordre de retournement, alignement, distance, marge, sens d'écriture) et flèche ; piège à focus
|
|
4612
|
+
* d'ui-core. Reste ici l'overlay du CDK (couche, portail, replacement au défilement, appuis extérieurs) et la feuille
|
|
4613
|
+
* basse (`PoadSheetService`). Style : `@poadio/ui-core/popover.css` (encapsulation désactivée).
|
|
5079
4614
|
* @atelier icone=message-circle
|
|
5080
4615
|
*/
|
|
5081
4616
|
declare class PoadPopoverComponent implements OnDestroy {
|
|
5082
4617
|
private readonly overlay;
|
|
5083
4618
|
private readonly vcr;
|
|
5084
|
-
private readonly focusTrapFactory;
|
|
5085
4619
|
private readonly tpl;
|
|
5086
4620
|
readonly placement: _angular_core.InputSignal<PoadPlacement>;
|
|
5087
4621
|
/** Alignement sur la cible : start | center | end (pour top/bottom = horizontal). */
|
|
5088
|
-
readonly align: _angular_core.InputSignal<"
|
|
4622
|
+
readonly align: _angular_core.InputSignal<"start" | "center" | "end">;
|
|
5089
4623
|
readonly offset: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
5090
4624
|
readonly dismissOnClickOutside: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5091
4625
|
readonly closeOnEscape: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -5101,6 +4635,21 @@ declare class PoadPopoverComponent implements OnDestroy {
|
|
|
5101
4635
|
readonly opened: _angular_core.OutputEmitterRef<void>;
|
|
5102
4636
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
5103
4637
|
protected readonly actualPlacement: _angular_core.WritableSignal<PoadPlacement>;
|
|
4638
|
+
readonly id: string;
|
|
4639
|
+
protected readonly attrs: _angular_core.Signal<{
|
|
4640
|
+
readonly id: string;
|
|
4641
|
+
readonly role: "dialog";
|
|
4642
|
+
readonly 'aria-modal': "true" | null;
|
|
4643
|
+
readonly 'data-placement': FloatingSide;
|
|
4644
|
+
readonly classes: {
|
|
4645
|
+
readonly "has-arrow": boolean;
|
|
4646
|
+
};
|
|
4647
|
+
}>;
|
|
4648
|
+
/** Boîte de la flèche le long du bord (`floatingArrow` d'ui-core), `null` = centrée par la feuille. */
|
|
4649
|
+
protected readonly arrow: _angular_core.WritableSignal<{
|
|
4650
|
+
left?: number;
|
|
4651
|
+
top?: number;
|
|
4652
|
+
} | null>;
|
|
5104
4653
|
private ref;
|
|
5105
4654
|
private sheetRef;
|
|
5106
4655
|
private readonly bp;
|
|
@@ -5116,7 +4665,11 @@ declare class PoadPopoverComponent implements OnDestroy {
|
|
|
5116
4665
|
toggle(target: HTMLElement | ElementRef<HTMLElement> | MouseEvent | Event): void;
|
|
5117
4666
|
updatePosition(): void;
|
|
5118
4667
|
protected onKey(e: KeyboardEvent): void;
|
|
5119
|
-
private
|
|
4668
|
+
private options;
|
|
4669
|
+
/** Attributs de la cible (ui-core) : posés à l'ouverture, `aria-expanded="false"` à la fermeture. */
|
|
4670
|
+
private setTrigger;
|
|
4671
|
+
/** Flèche vers le centre de la cible (ui-core), mesurée une fois le panneau placé. */
|
|
4672
|
+
private placeArrow;
|
|
5120
4673
|
private resolve;
|
|
5121
4674
|
private dispose;
|
|
5122
4675
|
ngOnDestroy(): void;
|
|
@@ -5229,6 +4782,8 @@ declare class PoadToastComponent {
|
|
|
5229
4782
|
/**
|
|
5230
4783
|
* <poad-message severity="warning" [closable]="true">Le certificat expire dans 6 jours.</poad-message>
|
|
5231
4784
|
* Message inline (remplace p-message). `text` ou contenu projeté ; `icon` (nom poad-icon, '' = sans icône) ; variant soft|outline ; size sm|md.
|
|
4785
|
+
* Classes et icône décrites par @poadio/ui-core (`messageClasses`, `messageIcon`) ; style partagé :
|
|
4786
|
+
* `@poadio/ui-core/message.css` (encapsulation désactivée, sélecteurs `.poad-message`).
|
|
5232
4787
|
* @atelier icone=info largeur=6 hauteur=1 pose-text="Message d'information"
|
|
5233
4788
|
*/
|
|
5234
4789
|
declare class PoadMessageComponent {
|
|
@@ -5242,7 +4797,10 @@ declare class PoadMessageComponent {
|
|
|
5242
4797
|
readonly size: _angular_core.InputSignal<"sm" | "md">;
|
|
5243
4798
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
5244
4799
|
protected readonly hidden: _angular_core.WritableSignal<boolean>;
|
|
5245
|
-
|
|
4800
|
+
private readonly options;
|
|
4801
|
+
protected readonly hostClass: _angular_core.Signal<string>;
|
|
4802
|
+
protected readonly iconName: _angular_core.Signal<string | null>;
|
|
4803
|
+
protected readonly iconSize: _angular_core.Signal<number>;
|
|
5246
4804
|
close(): void;
|
|
5247
4805
|
/** Réaffiche un message fermé. */
|
|
5248
4806
|
show(): void;
|
|
@@ -5253,6 +4811,8 @@ declare class PoadMessageComponent {
|
|
|
5253
4811
|
/**
|
|
5254
4812
|
* <poad-avatar [src]="url" text="SZ" icon="user" size="sm|md|lg" shape="circle|square" [color]="'#…'" />
|
|
5255
4813
|
* Sans `color`, la teinte est dérivée du texte (hash → hue) : stable pour un même utilisateur.
|
|
4814
|
+
* Initiales, couleurs, classes et nom décrits par @poadio/ui-core (`avatarInitials`, `avatarColors`…) ; style
|
|
4815
|
+
* partagé : `@poadio/ui-core/avatar.css` (encapsulation désactivée, sélecteurs `.poad-avatar`).
|
|
5256
4816
|
* @atelier ajustement=naturel icone=user-round largeur=1 hauteur=1 pose-text=AB
|
|
5257
4817
|
*/
|
|
5258
4818
|
declare class PoadAvatarComponent {
|
|
@@ -5266,14 +4826,23 @@ declare class PoadAvatarComponent {
|
|
|
5266
4826
|
readonly text: _angular_core.InputSignal<string>;
|
|
5267
4827
|
readonly icon: _angular_core.InputSignal<string>;
|
|
5268
4828
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg">;
|
|
5269
|
-
readonly shape: _angular_core.InputSignal<"
|
|
4829
|
+
readonly shape: _angular_core.InputSignal<"circle" | "square">;
|
|
5270
4830
|
readonly color: _angular_core.InputSignal<string | null>;
|
|
5271
4831
|
readonly label: _angular_core.InputSignal<string>;
|
|
4832
|
+
private readonly options;
|
|
5272
4833
|
protected readonly initials: _angular_core.Signal<string>;
|
|
5273
4834
|
protected readonly iconSize: _angular_core.Signal<number>;
|
|
5274
|
-
|
|
5275
|
-
protected readonly
|
|
5276
|
-
|
|
4835
|
+
protected readonly content: _angular_core.Signal<"image" | "icon" | "initials">;
|
|
4836
|
+
protected readonly colors: _angular_core.Signal<{
|
|
4837
|
+
readonly background: string | null;
|
|
4838
|
+
readonly color: string | null;
|
|
4839
|
+
}>;
|
|
4840
|
+
protected readonly root: _angular_core.Signal<{
|
|
4841
|
+
readonly 'size-sm': boolean;
|
|
4842
|
+
readonly 'size-lg': boolean;
|
|
4843
|
+
readonly 'is-square': boolean;
|
|
4844
|
+
}>;
|
|
4845
|
+
protected readonly name: _angular_core.Signal<string>;
|
|
5277
4846
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadAvatarComponent, never>;
|
|
5278
4847
|
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
4848
|
}
|
|
@@ -5281,6 +4850,8 @@ declare class PoadAvatarComponent {
|
|
|
5281
4850
|
/**
|
|
5282
4851
|
* <poad-chip label="szu" icon="user" [image]="url" avatarText="SZ" removable [selected] [disabled] size="sm|md" severity="primary" (removed) (clicked)/>
|
|
5283
4852
|
* Backspace/Suppr sur un chip focalisé → `removed`. `clickable` rend le chip actionnable (role=button).
|
|
4853
|
+
* Classes, attributs et gestes décrits par @poadio/ui-core (`chipClasses`, `chipProps`, `chipKeyAction`) ; style
|
|
4854
|
+
* partagé : `@poadio/ui-core/chip.css` (encapsulation désactivée, sélecteurs `.poad-chip`).
|
|
5284
4855
|
* @atelier ajustement=naturel icone=tags largeur=2 hauteur=1 pose-label=Élément
|
|
5285
4856
|
*/
|
|
5286
4857
|
declare class PoadChipComponent {
|
|
@@ -5297,7 +4868,11 @@ declare class PoadChipComponent {
|
|
|
5297
4868
|
readonly severity: _angular_core.InputSignal<PoadSeverity | null>;
|
|
5298
4869
|
readonly removed: _angular_core.OutputEmitterRef<void>;
|
|
5299
4870
|
readonly clicked: _angular_core.OutputEmitterRef<KeyboardEvent | MouseEvent>;
|
|
5300
|
-
|
|
4871
|
+
private readonly options;
|
|
4872
|
+
protected readonly hostClass: _angular_core.Signal<string>;
|
|
4873
|
+
protected readonly attrs: _angular_core.Signal<_poadio_ui_core.ChipProps>;
|
|
4874
|
+
protected readonly showRemove: _angular_core.Signal<boolean>;
|
|
4875
|
+
protected readonly iconSize: _angular_core.Signal<number>;
|
|
5301
4876
|
protected onClick(e: MouseEvent): void;
|
|
5302
4877
|
protected onRemove(e: Event): void;
|
|
5303
4878
|
protected onKey(e: KeyboardEvent): void;
|
|
@@ -5305,9 +4880,11 @@ declare class PoadChipComponent {
|
|
|
5305
4880
|
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
4881
|
}
|
|
5307
4882
|
|
|
4883
|
+
/** Même union que `TagSeverity` du socle, écrite ici pour le catalogue des composants. */
|
|
5308
4884
|
type PoadTagSeverity = 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'neutral';
|
|
5309
4885
|
/**
|
|
5310
4886
|
* <poad-tag severity="success" dot value="En ligne" /> — statut compact (fond soft + point).
|
|
4887
|
+
* Classes décrites par @poadio/ui-core (`tagClasses`) ; style partagé : `@poadio/ui-core/tag.css` (encapsulation désactivée).
|
|
5311
4888
|
* @atelier ajustement=naturel icone=tag largeur=1 hauteur=1 pose-value=Étiquette
|
|
5312
4889
|
*/
|
|
5313
4890
|
declare class PoadTagComponent {
|
|
@@ -5317,13 +4894,19 @@ declare class PoadTagComponent {
|
|
|
5317
4894
|
readonly icon: _angular_core.InputSignal<string>;
|
|
5318
4895
|
readonly rounded: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5319
4896
|
readonly size: _angular_core.InputSignal<"sm" | "md">;
|
|
4897
|
+
private readonly options;
|
|
4898
|
+
protected readonly hostClass: _angular_core.Signal<string>;
|
|
4899
|
+
protected readonly iconSize: _angular_core.Signal<number>;
|
|
5320
4900
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadTagComponent, never>;
|
|
5321
4901
|
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
4902
|
}
|
|
5323
4903
|
|
|
4904
|
+
/** Même union que `BadgeSeverity` du socle, écrite ici pour le catalogue des composants. */
|
|
5324
4905
|
type PoadBadgeSeverity = 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'neutral';
|
|
5325
4906
|
/**
|
|
5326
4907
|
* <poad-badge [value]="3" [max]="99" severity="danger" [dot] size="sm|md" />
|
|
4908
|
+
* Classes, texte (plafonné) et nom accessible décrits par @poadio/ui-core (`badgeClasses`, `badgeContent`) ; style
|
|
4909
|
+
* partagé : `@poadio/ui-core/badge.css` (encapsulation désactivée, sélecteurs `.poad-badge`).
|
|
5327
4910
|
* @atelier ajustement=naturel icone=badge-check largeur=1 hauteur=1 pose-value=3
|
|
5328
4911
|
*/
|
|
5329
4912
|
declare class PoadBadgeComponent {
|
|
@@ -5333,13 +4916,18 @@ declare class PoadBadgeComponent {
|
|
|
5333
4916
|
readonly dot: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5334
4917
|
readonly size: _angular_core.InputSignal<"sm" | "md">;
|
|
5335
4918
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
4919
|
+
private readonly options;
|
|
4920
|
+
protected readonly hostClass: _angular_core.Signal<string>;
|
|
4921
|
+
protected readonly attrs: _angular_core.Signal<{
|
|
4922
|
+
readonly "aria-label": string | null;
|
|
4923
|
+
}>;
|
|
5336
4924
|
protected readonly display: _angular_core.Signal<string>;
|
|
5337
4925
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadBadgeComponent, never>;
|
|
5338
4926
|
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
4927
|
}
|
|
5340
4928
|
/**
|
|
5341
4929
|
* 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).
|
|
4930
|
+
* Pose une pastille en haut, en fin de ligne (à droite de gauche à droite), de l'hôte (position: relative forcée si static).
|
|
5343
4931
|
*/
|
|
5344
4932
|
declare class PoadBadgeDirective {
|
|
5345
4933
|
private readonly el;
|
|
@@ -5355,9 +4943,12 @@ declare class PoadBadgeDirective {
|
|
|
5355
4943
|
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
4944
|
}
|
|
5357
4945
|
|
|
4946
|
+
/** Même union que `ProgressSeverity` du socle, écrite ici pour le catalogue des composants. */
|
|
5358
4947
|
type PoadProgressSeverity = 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
5359
4948
|
/**
|
|
5360
4949
|
* <poad-progress [value]="62" [max]="100" [indeterminate] severity size="sm|md|lg" showValue label="Build" striped />
|
|
4950
|
+
* Classes, pourcentage et attributs décrits par @poadio/ui-core (`progressClasses`, `progressTrackProps`) ; style
|
|
4951
|
+
* partagé : `@poadio/ui-core/progress.css` (encapsulation désactivée, sélecteurs `.poad-progress`).
|
|
5361
4952
|
* @atelier icone=percent largeur=4 hauteur=1 pose-value=60
|
|
5362
4953
|
*/
|
|
5363
4954
|
declare class PoadProgressComponent {
|
|
@@ -5370,12 +4961,19 @@ declare class PoadProgressComponent {
|
|
|
5370
4961
|
readonly striped: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5371
4962
|
readonly label: _angular_core.InputSignal<string>;
|
|
5372
4963
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
4964
|
+
private readonly options;
|
|
4965
|
+
protected readonly hostClass: _angular_core.Signal<string>;
|
|
4966
|
+
protected readonly showHead: _angular_core.Signal<boolean>;
|
|
4967
|
+
protected readonly valueShown: _angular_core.Signal<boolean>;
|
|
4968
|
+
protected readonly track: _angular_core.Signal<_poadio_ui_core.ProgressTrackProps>;
|
|
4969
|
+
protected readonly barWidth: _angular_core.Signal<string | null>;
|
|
5373
4970
|
protected readonly pct: _angular_core.Signal<number>;
|
|
5374
4971
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadProgressComponent, never>;
|
|
5375
4972
|
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
4973
|
}
|
|
5377
4974
|
/**
|
|
5378
4975
|
* <poad-spinner [size]="24" [strokeWidth]="2.5" severity ariaLabel="Chargement" />
|
|
4976
|
+
* Style partagé : `@poadio/ui-core/progress.css` (sélecteurs `.poad-spinner`).
|
|
5379
4977
|
* @atelier ajustement=naturel icone=loader-2 largeur=1 hauteur=1
|
|
5380
4978
|
*/
|
|
5381
4979
|
declare class PoadSpinnerComponent {
|
|
@@ -5383,6 +4981,7 @@ declare class PoadSpinnerComponent {
|
|
|
5383
4981
|
readonly size: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
5384
4982
|
readonly strokeWidth: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
5385
4983
|
readonly severity: _angular_core.InputSignal<"primary" | "secondary" | "success" | "warning" | "danger" | "inherit">;
|
|
4984
|
+
protected readonly hostClass: _angular_core.Signal<string>;
|
|
5386
4985
|
/** Nom accessible ; par défaut le message `display.loading` du catalogue. */
|
|
5387
4986
|
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
5388
4987
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadSpinnerComponent, never>;
|
|
@@ -5391,6 +4990,7 @@ declare class PoadSpinnerComponent {
|
|
|
5391
4990
|
|
|
5392
4991
|
/**
|
|
5393
4992
|
* <poad-skeleton width="70%" height="12px" shape="text|rect|circle" [lines]="3" [animation]="true" />
|
|
4993
|
+
* Barres et classes décrites par @poadio/ui-core (`skeletonBars`) ; style partagé : `@poadio/ui-core/skeleton.css`.
|
|
5394
4994
|
* @atelier icone=loader
|
|
5395
4995
|
*/
|
|
5396
4996
|
declare class PoadSkeletonComponent {
|
|
@@ -5401,7 +5001,12 @@ declare class PoadSkeletonComponent {
|
|
|
5401
5001
|
readonly animation: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5402
5002
|
/** Largeur de la dernière ligne en multi-lignes (effet paragraphe). */
|
|
5403
5003
|
readonly lastWidth: _angular_core.InputSignal<string>;
|
|
5404
|
-
|
|
5004
|
+
private readonly options;
|
|
5005
|
+
protected readonly bars: _angular_core.Signal<_poadio_ui_core.SkeletonBar[]>;
|
|
5006
|
+
protected readonly root: _angular_core.Signal<{
|
|
5007
|
+
readonly 'no-anim': boolean;
|
|
5008
|
+
readonly 'is-multi': boolean;
|
|
5009
|
+
}>;
|
|
5405
5010
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadSkeletonComponent, never>;
|
|
5406
5011
|
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
5012
|
}
|
|
@@ -5437,12 +5042,19 @@ declare class PoadCardComponent {
|
|
|
5437
5042
|
|
|
5438
5043
|
/**
|
|
5439
5044
|
* <poad-divider [vertical] align="left|center|right" [dashed]>texte optionnel</poad-divider>
|
|
5045
|
+
* Classes et attributs décrits par @poadio/ui-core (`dividerClasses`, `dividerProps`) ; style partagé : `@poadio/ui-core/divider.css`.
|
|
5440
5046
|
* @atelier icone=minus largeur=12 hauteur=1
|
|
5441
5047
|
*/
|
|
5442
5048
|
declare class PoadDividerComponent {
|
|
5443
5049
|
readonly vertical: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5444
5050
|
readonly dashed: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5445
5051
|
readonly align: _angular_core.InputSignal<"left" | "right" | "center">;
|
|
5052
|
+
private readonly options;
|
|
5053
|
+
protected readonly hostClass: _angular_core.Signal<string>;
|
|
5054
|
+
protected readonly attrs: _angular_core.Signal<{
|
|
5055
|
+
readonly role: "separator";
|
|
5056
|
+
readonly 'aria-orientation': "vertical" | "horizontal";
|
|
5057
|
+
}>;
|
|
5446
5058
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadDividerComponent, never>;
|
|
5447
5059
|
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
5060
|
}
|
|
@@ -5510,6 +5122,7 @@ declare class PoadPanelComponent {
|
|
|
5510
5122
|
/**
|
|
5511
5123
|
* <poad-avatar-group [max]="3" size="md"><poad-avatar text="SZ"/><poad-avatar text="PA"/>…</poad-avatar-group>
|
|
5512
5124
|
* Avatars empilés (chevauchement, bordure surface) ; au-delà de `max` un avatar « +N » (title = noms masqués).
|
|
5125
|
+
* Débordement et « +N » décrits par @poadio/ui-core (`avatarGroupHidden`…) ; style partagé : `@poadio/ui-core/avatar.css`.
|
|
5513
5126
|
* @atelier ajustement=naturel icone=users largeur=2 hauteur=1 conteneur=direct accepte=poad-avatar
|
|
5514
5127
|
*/
|
|
5515
5128
|
declare class PoadAvatarGroupComponent {
|
|
@@ -5531,6 +5144,7 @@ declare class PoadAvatarGroupComponent {
|
|
|
5531
5144
|
enregistrerEnfants(instances: unknown[]): void;
|
|
5532
5145
|
readonly hidden: _angular_core.Signal<number>;
|
|
5533
5146
|
readonly hiddenTitle: _angular_core.Signal<string>;
|
|
5147
|
+
protected readonly moreText: _angular_core.Signal<string>;
|
|
5534
5148
|
constructor();
|
|
5535
5149
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadAvatarGroupComponent, never>;
|
|
5536
5150
|
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 +5166,8 @@ declare class PoadMeterLabelDirective {
|
|
|
5552
5166
|
/**
|
|
5553
5167
|
* <poad-meter [values]="[{label:'Utilisé', value: 62, severity:'primary'}, {label:'Réservé', value: 18, severity:'warning'}]" [max]="100" unit="Gi" showLabels/>
|
|
5554
5168
|
* Jauge segmentée (remplace p-meterGroup) : segments proportionnels, légende (point + label + valeur/%), horizontal ou vertical.
|
|
5169
|
+
* Segments, total, reste, attributs et textes décrits par @poadio/ui-core (`meterSegments`, `meterBarProps`…) ; style
|
|
5170
|
+
* partagé : `@poadio/ui-core/meter.css` (encapsulation désactivée, sélecteurs `.poad-meter`).
|
|
5555
5171
|
* @atelier icone=gauge
|
|
5556
5172
|
* @atelier-exemple values [{"label":"Utilisé","value":62,"severity":"primary"},{"label":"Réservé","value":21,"severity":"warning"}]
|
|
5557
5173
|
*/
|
|
@@ -5563,7 +5179,7 @@ declare class PoadMeterComponent {
|
|
|
5563
5179
|
readonly unit: _angular_core.InputSignal<string>;
|
|
5564
5180
|
readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
5565
5181
|
readonly showLabels: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5566
|
-
readonly labelPosition: _angular_core.InputSignal<"
|
|
5182
|
+
readonly labelPosition: _angular_core.InputSignal<"start" | "end">;
|
|
5567
5183
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg">;
|
|
5568
5184
|
readonly showRemaining: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5569
5185
|
/** Libellé du reste ; par défaut le message `display.remaining` du catalogue. */
|
|
@@ -5572,18 +5188,25 @@ declare class PoadMeterComponent {
|
|
|
5572
5188
|
readonly labelTpl: _angular_core.Signal<PoadMeterLabelDirective | undefined>;
|
|
5573
5189
|
readonly total: _angular_core.Signal<number>;
|
|
5574
5190
|
readonly remaining: _angular_core.Signal<number>;
|
|
5575
|
-
|
|
5576
|
-
protected
|
|
5191
|
+
readonly segments: _angular_core.Signal<_poadio_ui_core.MeterSegment<PoadMeterValue>[]>;
|
|
5192
|
+
protected readonly root: _angular_core.Signal<{
|
|
5193
|
+
readonly 'is-vertical': boolean;
|
|
5194
|
+
readonly 'size-sm': boolean;
|
|
5195
|
+
readonly 'size-lg': boolean;
|
|
5196
|
+
readonly 'labels-start': boolean;
|
|
5197
|
+
}>;
|
|
5198
|
+
protected readonly bar: _angular_core.Signal<{
|
|
5199
|
+
readonly role: "meter";
|
|
5200
|
+
readonly 'aria-valuemin': string;
|
|
5201
|
+
readonly 'aria-valuemax': string;
|
|
5202
|
+
readonly 'aria-valuenow': string;
|
|
5203
|
+
readonly 'aria-label': string | null;
|
|
5204
|
+
}>;
|
|
5205
|
+
private readonly format;
|
|
5206
|
+
/** Valeur arrondie (2 décimales max, sans zéros inutiles) suivie de l'unité. */
|
|
5207
|
+
protected val(v: number): string;
|
|
5577
5208
|
/** Pourcentage entier, écrit à la manière de la langue (« 40 % », « 40% »). */
|
|
5578
5209
|
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
5210
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PoadMeterComponent, never>;
|
|
5588
5211
|
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
5212
|
}
|
|
@@ -5696,7 +5319,7 @@ declare class PoadImageComponent {
|
|
|
5696
5319
|
readonly alt: _angular_core.InputSignal<string>;
|
|
5697
5320
|
readonly width: _angular_core.InputSignal<string | null>;
|
|
5698
5321
|
readonly height: _angular_core.InputSignal<string | null>;
|
|
5699
|
-
readonly fit: _angular_core.InputSignal<"
|
|
5322
|
+
readonly fit: _angular_core.InputSignal<"fill" | "none" | "contain" | "cover">;
|
|
5700
5323
|
readonly rounded: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5701
5324
|
readonly preview: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5702
5325
|
readonly caption: _angular_core.InputSignal<string>;
|
|
@@ -7179,7 +6802,7 @@ declare class PoadMapCardComponent extends PoadValueAccessor<PoadGeoJSON | strin
|
|
|
7179
6802
|
readonly mode: _angular_core.InputSignal<"string" | "object">;
|
|
7180
6803
|
readonly basemap: _angular_core.InputSignal<string>;
|
|
7181
6804
|
readonly basemaps: _angular_core.InputSignal<string[]>;
|
|
7182
|
-
readonly controls: _angular_core.InputSignal<("fullscreen" | "zoom" | "
|
|
6805
|
+
readonly controls: _angular_core.InputSignal<("fullscreen" | "zoom" | "attribution" | "compass" | "scale" | "geolocate")[]>;
|
|
7183
6806
|
readonly editable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7184
6807
|
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
7185
6808
|
readonly showStats: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -7906,6 +7529,8 @@ declare class PoadChartComponent {
|
|
|
7906
7529
|
private ro;
|
|
7907
7530
|
private themeObs;
|
|
7908
7531
|
constructor();
|
|
7532
|
+
/** Chart.js se charge en asynchrone : un composant détruit pendant ce temps ne doit plus rien construire ni émettre. */
|
|
7533
|
+
private destroyed;
|
|
7909
7534
|
private init;
|
|
7910
7535
|
private themeDefaults;
|
|
7911
7536
|
private colorize;
|
|
@@ -8579,6 +8204,8 @@ declare class PoadRichTextComponent extends PoadValueAccessor<string> {
|
|
|
8579
8204
|
private lastValue;
|
|
8580
8205
|
private savedRange;
|
|
8581
8206
|
private linkAnchor;
|
|
8207
|
+
/** Pris dans le contexte d'injection : `inject()` n'est PAS permis dans le rappel d'`afterNextRender`. */
|
|
8208
|
+
private readonly destroyRef;
|
|
8582
8209
|
constructor();
|
|
8583
8210
|
/** Insère du HTML (nettoyé) à la position du curseur, ou à la fin du texte. */
|
|
8584
8211
|
insertHtml(html: string): number;
|
|
@@ -10780,5 +10407,5 @@ declare const REGISTRE: Readonly<Record<string, EntreeRegistre>>;
|
|
|
10780
10407
|
/** La classe d'un symbole, ou `null` s'il n'est pas posable (directive, ou hôte indéterminable). */
|
|
10781
10408
|
declare function classeDe(symbole: string): Type<unknown> | null;
|
|
10782
10409
|
|
|
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,
|
|
10410
|
+
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 };
|
|
10411
|
+
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 };
|