@4sh/ui-kit 0.15.0 → 0.17.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.fr.md +18 -10
- package/README.md +18 -10
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +542 -150
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +622 -248
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +385 -152
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +748 -433
- package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-base-ui-icon.mjs +227 -135
- package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs +1200 -633
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +1675 -953
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +243 -117
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +2294 -2039
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +1058 -1113
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs +1108 -0
- package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +397 -141
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +1529 -583
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs +383 -224
- package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +345 -177
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +280 -130
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +507 -246
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +401 -291
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +1277 -697
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +467 -194
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs +394 -270
- package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +140 -60
- package/fesm2022/4sh-ui-kit-forms-ui-label.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +386 -167
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +150 -87
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +345 -180
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +582 -392
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +1552 -888
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +485 -338
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +503 -311
- package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +271 -131
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs +457 -214
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +711 -371
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +235 -121
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms.mjs +723 -596
- package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +546 -242
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +335 -157
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs +53 -33
- package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs +218 -121
- package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +192 -100
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +456 -204
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs +314 -147
- package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs +179 -82
- package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +268 -123
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs +391 -146
- package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs +158 -76
- package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs +159 -80
- package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs +295 -131
- package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +211 -83
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +784 -414
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +822 -476
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs +1014 -599
- package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-card.mjs +403 -189
- package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +707 -272
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +1146 -568
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs +519 -308
- package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-motion.mjs +252 -150
- package/fesm2022/4sh-ui-kit-motion.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs +793 -341
- package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +351 -194
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +511 -220
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +910 -548
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +1128 -555
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +915 -470
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +931 -474
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-overlay.mjs +26 -109
- package/fesm2022/4sh-ui-kit-overlay.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-ripple.mjs +329 -290
- package/fesm2022/4sh-ui-kit-ripple.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +709 -248
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs +2633 -1370
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-theming.mjs +112 -113
- package/fesm2022/4sh-ui-kit-theming.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-types.mjs +0 -12
- package/fesm2022/4sh-ui-kit.mjs +3 -15
- package/fesm2022/4sh-ui-kit.mjs.map +1 -1
- package/mcp/data/component-api.json +313 -2
- package/mcp/data/text-search-docs.json +177 -17
- package/mcp/data/ui-config.json +378 -1
- package/mcp/index.js +8190 -2876
- package/mcp/package.json +1 -1
- package/package.json +5 -1
- package/styles/component-vars.scss +22 -1
- package/styles/utils/_mixins.scss +11 -0
- package/types/4sh-ui-kit-actions-ui-button-split.d.ts +198 -87
- package/types/4sh-ui-kit-actions-ui-button.d.ts +240 -116
- package/types/4sh-ui-kit-actions-ui-link.d.ts +136 -67
- package/types/4sh-ui-kit-actions-ui-speed-dial.d.ts +287 -180
- package/types/4sh-ui-kit-base-ui-icon.d.ts +92 -58
- package/types/4sh-ui-kit-base-ui-image.d.ts +406 -205
- package/types/4sh-ui-kit-forms-ui-autocomplete.d.ts +577 -367
- package/types/4sh-ui-kit-forms-ui-checkbox.d.ts +77 -42
- package/types/4sh-ui-kit-forms-ui-datepicker.d.ts +953 -700
- package/types/4sh-ui-kit-forms-ui-editor.d.ts +374 -340
- package/types/4sh-ui-kit-forms-ui-field-sign.d.ts +325 -0
- package/types/4sh-ui-kit-forms-ui-field.d.ts +150 -64
- package/types/4sh-ui-kit-forms-ui-file-upload.d.ts +583 -241
- package/types/4sh-ui-kit-forms-ui-input-date.d.ts +152 -103
- package/types/4sh-ui-kit-forms-ui-input-group.d.ts +109 -63
- package/types/4sh-ui-kit-forms-ui-input-mask.d.ts +93 -57
- package/types/4sh-ui-kit-forms-ui-input-number.d.ts +171 -93
- package/types/4sh-ui-kit-forms-ui-input-otp.d.ts +137 -100
- package/types/4sh-ui-kit-forms-ui-input-tags.d.ts +469 -309
- package/types/4sh-ui-kit-forms-ui-input.d.ts +198 -116
- package/types/4sh-ui-kit-forms-ui-knob.d.ts +132 -80
- package/types/4sh-ui-kit-forms-ui-label.d.ts +47 -22
- package/types/4sh-ui-kit-forms-ui-nudger.d.ts +134 -67
- package/types/4sh-ui-kit-forms-ui-radio.d.ts +48 -33
- package/types/4sh-ui-kit-forms-ui-rating.d.ts +120 -86
- package/types/4sh-ui-kit-forms-ui-segment-control.d.ts +221 -147
- package/types/4sh-ui-kit-forms-ui-select.d.ts +561 -357
- package/types/4sh-ui-kit-forms-ui-slider.d.ts +156 -105
- package/types/4sh-ui-kit-forms-ui-swatch-picker.d.ts +133 -97
- package/types/4sh-ui-kit-forms-ui-textarea.d.ts +90 -54
- package/types/4sh-ui-kit-forms-ui-toggle-block.d.ts +158 -94
- package/types/4sh-ui-kit-forms-ui-toggle-button.d.ts +314 -178
- package/types/4sh-ui-kit-forms-ui-toggle.d.ts +88 -54
- package/types/4sh-ui-kit-forms.d.ts +291 -186
- package/types/4sh-ui-kit-informative-ui-accordion.d.ts +162 -92
- package/types/4sh-ui-kit-informative-ui-alert.d.ts +128 -62
- package/types/4sh-ui-kit-informative-ui-avatar-group.d.ts +8 -8
- package/types/4sh-ui-kit-informative-ui-avatar.d.ts +81 -44
- package/types/4sh-ui-kit-informative-ui-badge.d.ts +71 -41
- package/types/4sh-ui-kit-informative-ui-chip.d.ts +194 -99
- package/types/4sh-ui-kit-informative-ui-empty-state.d.ts +105 -65
- package/types/4sh-ui-kit-informative-ui-helper.d.ts +64 -34
- package/types/4sh-ui-kit-informative-ui-progress-bar.d.ts +120 -65
- package/types/4sh-ui-kit-informative-ui-read-only.d.ts +147 -67
- package/types/4sh-ui-kit-informative-ui-separator.d.ts +65 -35
- package/types/4sh-ui-kit-informative-ui-skeleton.d.ts +62 -32
- package/types/4sh-ui-kit-informative-ui-spinner.d.ts +111 -50
- package/types/4sh-ui-kit-informative-ui-tag.d.ts +77 -37
- package/types/4sh-ui-kit-informative-ui-toast.d.ts +300 -180
- package/types/4sh-ui-kit-informative-ui-tooltip.d.ts +269 -141
- package/types/4sh-ui-kit-layout-ui-bottom-sheet.d.ts +360 -221
- package/types/4sh-ui-kit-layout-ui-card.d.ts +119 -79
- package/types/4sh-ui-kit-layout-ui-drawer.d.ts +244 -120
- package/types/4sh-ui-kit-layout-ui-modal.d.ts +409 -222
- package/types/4sh-ui-kit-layout-ui-popover.d.ts +149 -91
- package/types/4sh-ui-kit-motion.d.ts +117 -67
- package/types/4sh-ui-kit-navigation-ui-bottom-tab-bar.d.ts +279 -145
- package/types/4sh-ui-kit-navigation-ui-breadcrumb.d.ts +134 -96
- package/types/4sh-ui-kit-navigation-ui-context-menu.d.ts +148 -89
- package/types/4sh-ui-kit-navigation-ui-menu.d.ts +282 -201
- package/types/4sh-ui-kit-navigation-ui-sidebar.d.ts +425 -261
- package/types/4sh-ui-kit-navigation-ui-stepper.d.ts +279 -183
- package/types/4sh-ui-kit-navigation-ui-tabs.d.ts +275 -173
- package/types/4sh-ui-kit-overlay.d.ts +6 -6
- package/types/4sh-ui-kit-ripple.d.ts +99 -74
- package/types/4sh-ui-kit-table-ui-paginator.d.ts +237 -133
- package/types/4sh-ui-kit-table-ui-table.d.ts +769 -470
- package/types/4sh-ui-kit-theming.d.ts +27 -29
- package/types/4sh-ui-kit-types.d.ts +6 -5
- package/types/4sh-ui-kit.d.ts +4 -3
- package/fesm2022/4sh-ui-kit-types.mjs.map +0 -1
|
@@ -1,117 +1,241 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
type
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import { TemplateRef } from "@angular/core";
|
|
6
|
+
import { UiLevel } from "@4sh/ui-kit/types";
|
|
7
|
+
export type ButtonType = 'button' | 'submit' | 'reset';
|
|
8
|
+
export type ButtonSize = 'default' | 'small';
|
|
9
|
+
export type ButtonVariant = 'filled' | 'outlined' | 'ghost';
|
|
8
10
|
/** Luminosité du fond sur lequel le bouton est posé (voir l'input `onColor`). */
|
|
9
|
-
type ButtonOnColor = 'dark' | 'light';
|
|
10
|
-
type ButtonIconPos = 'left' | 'right' | 'top' | 'bottom';
|
|
11
|
-
type ButtonNativeProps = Record<string, string | number | boolean | null | undefined>;
|
|
12
|
-
declare class UiButton {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
11
|
+
export type ButtonOnColor = 'dark' | 'light';
|
|
12
|
+
export type ButtonIconPos = 'left' | 'right' | 'top' | 'bottom';
|
|
13
|
+
export type ButtonNativeProps = Record<string, string | number | boolean | null | undefined>;
|
|
14
|
+
export declare class UiButton {
|
|
15
|
+
/** Button text. Absent: icon-only button, or content projected through `<ng-content>`. */
|
|
16
|
+
label: import("@angular/core").InputSignal<string | undefined>;
|
|
17
|
+
/** Accessible name. Required in icon-only mode; falls back to `label` otherwise. */
|
|
18
|
+
ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
19
|
+
/** Native `type` of the `<button>`. */
|
|
20
|
+
type: import("@angular/core").InputSignal<ButtonType>;
|
|
21
|
+
/**
|
|
22
|
+
* Semantic level: `high`/`low` for importance, `success`/`warning`/`error` for contextual
|
|
23
|
+
* feedback.
|
|
24
|
+
*/
|
|
25
|
+
level: import("@angular/core").InputSignal<UiLevel>;
|
|
26
|
+
/**
|
|
27
|
+
* Appearance: `filled` (solid), `outlined` (border) or `ghost` (text only). Composes with `level`
|
|
28
|
+
* and `onColor`.
|
|
29
|
+
*/
|
|
30
|
+
variant: import("@angular/core").InputSignal<ButtonVariant>;
|
|
31
|
+
/**
|
|
32
|
+
* À renseigner **uniquement** quand le bouton est posé sur un fond de couleur
|
|
33
|
+
* (bandeau, carte teintée, image) : indique la luminosité de ce fond, et le
|
|
34
|
+
* bouton épingle son chrome en conséquence — `'dark'` ⇒ blanc, `'light'` ⇒
|
|
35
|
+
* sombre. Orthogonal à `level` et `variant`. Volontairement **insensible au
|
|
36
|
+
* thème** : un bandeau violet reste violet en clair comme en sombre.
|
|
37
|
+
*/
|
|
38
|
+
onColor: import("@angular/core").InputSignal<ButtonOnColor | null>;
|
|
39
|
+
/** Button size. */
|
|
40
|
+
size: import("@angular/core").InputSignal<ButtonSize>;
|
|
41
|
+
/** FontAwesome icon name (e.g. `check`, `arrow-right`). */
|
|
42
|
+
icon: import("@angular/core").InputSignal<string | undefined>;
|
|
43
|
+
/** Icon position relative to the content. */
|
|
44
|
+
iconPos: import("@angular/core").InputSignal<ButtonIconPos>;
|
|
45
|
+
/** Forces the square icon-only style even when there is content. */
|
|
46
|
+
iconOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
47
|
+
/** Loading state: shows a spinner and disables the button. */
|
|
48
|
+
loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
49
|
+
/** FontAwesome icon of the loading spinner (spun with `fa-spin`). */
|
|
50
|
+
loadingIcon: import("@angular/core").InputSignal<string>;
|
|
51
|
+
/** Full width (100%). */
|
|
52
|
+
expanded: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
53
|
+
/** Pill shape (fully rounded corners). */
|
|
54
|
+
rounded: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
55
|
+
/** Disables the button (native attribute). */
|
|
56
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
57
|
+
/** Ripple Effect */
|
|
58
|
+
ripple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
59
|
+
/** Native `tabindex` of the button. */
|
|
60
|
+
tabindex: import("@angular/core").InputSignal<number | undefined>;
|
|
61
|
+
/** Extra native attributes forwarded to the `<button>` (e.g. `{ form: 'login', value: '1' }`). */
|
|
62
|
+
buttonProps: import("@angular/core").InputSignal<ButtonNativeProps | undefined>;
|
|
63
|
+
/** Custom icon template (replaces `icon`). */
|
|
64
|
+
iconTemplate: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
|
|
65
|
+
/** Custom loading icon template (replaces `loadingIcon`). */
|
|
66
|
+
loadingIconTemplate: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
|
|
67
|
+
/** External / plain URL. Presence switches the host to an <a>. */
|
|
68
|
+
href: import("@angular/core").InputSignal<string | undefined>;
|
|
69
|
+
/** Angular router target. Presence switches the host to an <a> (RouterLink). */
|
|
70
|
+
routerLink: import("@angular/core").InputSignal<string | unknown[] | undefined>;
|
|
71
|
+
/** Anchor target (e.g. "_blank"). Only applies in link mode. */
|
|
72
|
+
target: import("@angular/core").InputSignal<string | undefined>;
|
|
73
|
+
/** Anchor rel. Defaults to "noopener noreferrer" when target="_blank". */
|
|
74
|
+
rel: import("@angular/core").InputSignal<string | undefined>;
|
|
75
|
+
/** Triggered on click (never if disabled or loading). */
|
|
76
|
+
buttonClick: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
77
|
+
/** Fired when the button receives focus. */
|
|
78
|
+
buttonFocus: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
79
|
+
/** Fired when the button loses focus. */
|
|
80
|
+
buttonBlur: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
81
|
+
/** @ignore Host element (either the <button> or the <a>). */
|
|
82
|
+
private readonly hostEl;
|
|
83
|
+
/** @ignore */
|
|
84
|
+
private readonly contentWrap;
|
|
85
|
+
/** @ignore Content actually rendered via <ng-content> (detected after rendering). */
|
|
86
|
+
private readonly hasProjectedContent;
|
|
87
|
+
constructor();
|
|
88
|
+
/** @ignore */
|
|
89
|
+
protected readonly iconSize: import("@angular/core").Signal<"default" | "sm">;
|
|
90
|
+
/** @ignore An icon (or its template) is available. */
|
|
91
|
+
protected readonly hasIcon: import("@angular/core").Signal<boolean>;
|
|
92
|
+
/** @ignore Visible text content (label or displayed content). */
|
|
93
|
+
protected readonly hasVisibleText: import("@angular/core").Signal<boolean>;
|
|
94
|
+
/** @ignore The icon appears before the content (left/top) or after it (right/bottom). */
|
|
95
|
+
protected readonly iconBefore: import("@angular/core").Signal<boolean>;
|
|
96
|
+
/** @ignore Icon-only mode: forced, or inferred (icon only, with no visible text). */
|
|
97
|
+
protected readonly isIconOnly: import("@angular/core").Signal<boolean>;
|
|
98
|
+
/** @ignore Accessible name: explicit; otherwise, the label is hidden as “icon-only”; otherwise, the text is visible. */
|
|
99
|
+
protected readonly accessibleLabel: import("@angular/core").Signal<string | null>;
|
|
100
|
+
/** @ignore Host renders an <a> (a URL or a router target was provided). */
|
|
101
|
+
protected readonly isLink: import("@angular/core").Signal<boolean>;
|
|
102
|
+
/** @ignore Link mode uses the Angular RouterLink directive. */
|
|
103
|
+
protected readonly useRouterLink: import("@angular/core").Signal<boolean>;
|
|
104
|
+
/** @ignore Anchor rel: explicit, or a safe default for target="_blank". */
|
|
105
|
+
protected readonly computedRel: import("@angular/core").Signal<string | null>;
|
|
106
|
+
/** @ignore Anchor tabindex: -1 when disabled (an <a> has no native disabled). */
|
|
107
|
+
protected readonly linkTabindex: import("@angular/core").Signal<number | null>;
|
|
108
|
+
/** @ignore */
|
|
109
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
110
|
+
/** Sets the focus on the button (useful for controlling focus programmatically). */
|
|
111
|
+
focus(options?: FocusOptions): void;
|
|
112
|
+
/** @ignore */
|
|
113
|
+
protected onClick(event: MouseEvent): void;
|
|
114
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiButton, never>;
|
|
115
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiButton, "ui-button", never, {
|
|
116
|
+
"label": {
|
|
117
|
+
"alias": "label";
|
|
118
|
+
"required": false;
|
|
119
|
+
"isSignal": true;
|
|
120
|
+
};
|
|
121
|
+
"ariaLabel": {
|
|
122
|
+
"alias": "ariaLabel";
|
|
123
|
+
"required": false;
|
|
124
|
+
"isSignal": true;
|
|
125
|
+
};
|
|
126
|
+
"type": {
|
|
127
|
+
"alias": "type";
|
|
128
|
+
"required": false;
|
|
129
|
+
"isSignal": true;
|
|
130
|
+
};
|
|
131
|
+
"level": {
|
|
132
|
+
"alias": "level";
|
|
133
|
+
"required": false;
|
|
134
|
+
"isSignal": true;
|
|
135
|
+
};
|
|
136
|
+
"variant": {
|
|
137
|
+
"alias": "variant";
|
|
138
|
+
"required": false;
|
|
139
|
+
"isSignal": true;
|
|
140
|
+
};
|
|
141
|
+
"onColor": {
|
|
142
|
+
"alias": "onColor";
|
|
143
|
+
"required": false;
|
|
144
|
+
"isSignal": true;
|
|
145
|
+
};
|
|
146
|
+
"size": {
|
|
147
|
+
"alias": "size";
|
|
148
|
+
"required": false;
|
|
149
|
+
"isSignal": true;
|
|
150
|
+
};
|
|
151
|
+
"icon": {
|
|
152
|
+
"alias": "icon";
|
|
153
|
+
"required": false;
|
|
154
|
+
"isSignal": true;
|
|
155
|
+
};
|
|
156
|
+
"iconPos": {
|
|
157
|
+
"alias": "iconPos";
|
|
158
|
+
"required": false;
|
|
159
|
+
"isSignal": true;
|
|
160
|
+
};
|
|
161
|
+
"iconOnly": {
|
|
162
|
+
"alias": "iconOnly";
|
|
163
|
+
"required": false;
|
|
164
|
+
"isSignal": true;
|
|
165
|
+
};
|
|
166
|
+
"loading": {
|
|
167
|
+
"alias": "loading";
|
|
168
|
+
"required": false;
|
|
169
|
+
"isSignal": true;
|
|
170
|
+
};
|
|
171
|
+
"loadingIcon": {
|
|
172
|
+
"alias": "loadingIcon";
|
|
173
|
+
"required": false;
|
|
174
|
+
"isSignal": true;
|
|
175
|
+
};
|
|
176
|
+
"expanded": {
|
|
177
|
+
"alias": "expanded";
|
|
178
|
+
"required": false;
|
|
179
|
+
"isSignal": true;
|
|
180
|
+
};
|
|
181
|
+
"rounded": {
|
|
182
|
+
"alias": "rounded";
|
|
183
|
+
"required": false;
|
|
184
|
+
"isSignal": true;
|
|
185
|
+
};
|
|
186
|
+
"disabled": {
|
|
187
|
+
"alias": "disabled";
|
|
188
|
+
"required": false;
|
|
189
|
+
"isSignal": true;
|
|
190
|
+
};
|
|
191
|
+
"ripple": {
|
|
192
|
+
"alias": "ripple";
|
|
193
|
+
"required": false;
|
|
194
|
+
"isSignal": true;
|
|
195
|
+
};
|
|
196
|
+
"tabindex": {
|
|
197
|
+
"alias": "tabindex";
|
|
198
|
+
"required": false;
|
|
199
|
+
"isSignal": true;
|
|
200
|
+
};
|
|
201
|
+
"buttonProps": {
|
|
202
|
+
"alias": "buttonProps";
|
|
203
|
+
"required": false;
|
|
204
|
+
"isSignal": true;
|
|
205
|
+
};
|
|
206
|
+
"iconTemplate": {
|
|
207
|
+
"alias": "iconTemplate";
|
|
208
|
+
"required": false;
|
|
209
|
+
"isSignal": true;
|
|
210
|
+
};
|
|
211
|
+
"loadingIconTemplate": {
|
|
212
|
+
"alias": "loadingIconTemplate";
|
|
213
|
+
"required": false;
|
|
214
|
+
"isSignal": true;
|
|
215
|
+
};
|
|
216
|
+
"href": {
|
|
217
|
+
"alias": "href";
|
|
218
|
+
"required": false;
|
|
219
|
+
"isSignal": true;
|
|
220
|
+
};
|
|
221
|
+
"routerLink": {
|
|
222
|
+
"alias": "routerLink";
|
|
223
|
+
"required": false;
|
|
224
|
+
"isSignal": true;
|
|
225
|
+
};
|
|
226
|
+
"target": {
|
|
227
|
+
"alias": "target";
|
|
228
|
+
"required": false;
|
|
229
|
+
"isSignal": true;
|
|
230
|
+
};
|
|
231
|
+
"rel": {
|
|
232
|
+
"alias": "rel";
|
|
233
|
+
"required": false;
|
|
234
|
+
"isSignal": true;
|
|
235
|
+
};
|
|
236
|
+
}, {
|
|
237
|
+
"buttonClick": "buttonClick";
|
|
238
|
+
"buttonFocus": "buttonFocus";
|
|
239
|
+
"buttonBlur": "buttonBlur";
|
|
240
|
+
}, never, ["*"], true, never>;
|
|
241
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type LinkSize = 'default' | 'small';
|
|
4
6
|
/**
|
|
5
7
|
* ui-link — inline textual link (renders a real <a>), for prose / navigation.
|
|
6
8
|
*
|
|
@@ -12,67 +14,134 @@ type LinkSize = 'default' | 'small';
|
|
|
12
14
|
* Accepts a plain `href` (external) or a `routerLink` (internal navigation).
|
|
13
15
|
* Interactive states (hover/focus/pressed) are CSS-driven, never Angular props.
|
|
14
16
|
*/
|
|
15
|
-
declare class UiLink {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
17
|
+
export declare class UiLink {
|
|
18
|
+
/** Visible link text (optional when using projected content or icon-only). */
|
|
19
|
+
label: import("@angular/core").InputSignal<string | undefined>;
|
|
20
|
+
/** Accessible name. Required in icon-only mode; falls back to the label otherwise. */
|
|
21
|
+
ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
22
|
+
/** Link size. */
|
|
23
|
+
size: import("@angular/core").InputSignal<LinkSize>;
|
|
24
|
+
/** External / plain URL. */
|
|
25
|
+
href: import("@angular/core").InputSignal<string | undefined>;
|
|
26
|
+
/** Angular router target (internal navigation, uses RouterLink). */
|
|
27
|
+
routerLink: import("@angular/core").InputSignal<string | unknown[] | undefined>;
|
|
28
|
+
/** Anchor target (e.g. "_blank"). */
|
|
29
|
+
target: import("@angular/core").InputSignal<string | undefined>;
|
|
30
|
+
/** Anchor rel. Defaults to "noopener noreferrer" for external links. */
|
|
31
|
+
rel: import("@angular/core").InputSignal<string | undefined>;
|
|
32
|
+
/** Convenience for external links: sets target="_blank" + a safe rel. */
|
|
33
|
+
external: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
34
|
+
/** FontAwesome icon name shown before the text. */
|
|
35
|
+
iconLeft: import("@angular/core").InputSignal<string | undefined>;
|
|
36
|
+
/** FontAwesome icon name shown after the text. */
|
|
37
|
+
iconRight: import("@angular/core").InputSignal<string | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Disables the link: drops `href`/`routerLink`, sets `aria-disabled` and leaves the tab order.
|
|
40
|
+
*/
|
|
41
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
42
|
+
/** Native `tabindex` of the link. */
|
|
43
|
+
tabindex: import("@angular/core").InputSignal<number | undefined>;
|
|
44
|
+
/** aria-current exposed on the anchor (e.g. "page" for the current breadcrumb item). */
|
|
45
|
+
ariaCurrent: import("@angular/core").InputSignal<string | undefined>;
|
|
46
|
+
/** Emitted on click (never when disabled). Navigation stays native. */
|
|
47
|
+
linkClick: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
48
|
+
/** Fired when the link receives focus. */
|
|
49
|
+
linkFocus: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
50
|
+
/** Fired when the link loses focus. */
|
|
51
|
+
linkBlur: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
52
|
+
/** @ignore */
|
|
53
|
+
private readonly hostEl;
|
|
54
|
+
constructor();
|
|
55
|
+
/** @ignore Icon size follows the text size. */
|
|
56
|
+
protected readonly iconSize: import("@angular/core").Signal<"default" | "sm">;
|
|
57
|
+
/** @ignore No visible text but at least one icon → icon-only. */
|
|
58
|
+
protected readonly isIconOnly: import("@angular/core").Signal<boolean>;
|
|
59
|
+
/** @ignore Link mode uses the Angular RouterLink directive. */
|
|
60
|
+
protected readonly useRouterLink: import("@angular/core").Signal<boolean>;
|
|
61
|
+
/** @ignore Effective anchor target (external forces _blank). */
|
|
62
|
+
protected readonly computedTarget: import("@angular/core").Signal<string | null>;
|
|
63
|
+
/** @ignore Anchor rel: explicit, or a safe default for _blank / external. */
|
|
64
|
+
protected readonly computedRel: import("@angular/core").Signal<string | null>;
|
|
65
|
+
/** @ignore Tabindex: -1 when disabled (an <a> has no native disabled). */
|
|
66
|
+
protected readonly linkTabindex: import("@angular/core").Signal<number | null>;
|
|
67
|
+
/** @ignore Accessible name: explicit, or the label when icon-only. */
|
|
68
|
+
protected readonly accessibleLabel: import("@angular/core").Signal<string | null>;
|
|
69
|
+
/** @ignore */
|
|
70
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
71
|
+
/** Sets the focus on the link (useful for controlling focus programmatically). */
|
|
72
|
+
focus(options?: FocusOptions): void;
|
|
73
|
+
/** @ignore */
|
|
74
|
+
protected onClick(event: MouseEvent): void;
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiLink, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiLink, "ui-link", never, {
|
|
77
|
+
"label": {
|
|
78
|
+
"alias": "label";
|
|
79
|
+
"required": false;
|
|
80
|
+
"isSignal": true;
|
|
81
|
+
};
|
|
82
|
+
"ariaLabel": {
|
|
83
|
+
"alias": "ariaLabel";
|
|
84
|
+
"required": false;
|
|
85
|
+
"isSignal": true;
|
|
86
|
+
};
|
|
87
|
+
"size": {
|
|
88
|
+
"alias": "size";
|
|
89
|
+
"required": false;
|
|
90
|
+
"isSignal": true;
|
|
91
|
+
};
|
|
92
|
+
"href": {
|
|
93
|
+
"alias": "href";
|
|
94
|
+
"required": false;
|
|
95
|
+
"isSignal": true;
|
|
96
|
+
};
|
|
97
|
+
"routerLink": {
|
|
98
|
+
"alias": "routerLink";
|
|
99
|
+
"required": false;
|
|
100
|
+
"isSignal": true;
|
|
101
|
+
};
|
|
102
|
+
"target": {
|
|
103
|
+
"alias": "target";
|
|
104
|
+
"required": false;
|
|
105
|
+
"isSignal": true;
|
|
106
|
+
};
|
|
107
|
+
"rel": {
|
|
108
|
+
"alias": "rel";
|
|
109
|
+
"required": false;
|
|
110
|
+
"isSignal": true;
|
|
111
|
+
};
|
|
112
|
+
"external": {
|
|
113
|
+
"alias": "external";
|
|
114
|
+
"required": false;
|
|
115
|
+
"isSignal": true;
|
|
116
|
+
};
|
|
117
|
+
"iconLeft": {
|
|
118
|
+
"alias": "iconLeft";
|
|
119
|
+
"required": false;
|
|
120
|
+
"isSignal": true;
|
|
121
|
+
};
|
|
122
|
+
"iconRight": {
|
|
123
|
+
"alias": "iconRight";
|
|
124
|
+
"required": false;
|
|
125
|
+
"isSignal": true;
|
|
126
|
+
};
|
|
127
|
+
"disabled": {
|
|
128
|
+
"alias": "disabled";
|
|
129
|
+
"required": false;
|
|
130
|
+
"isSignal": true;
|
|
131
|
+
};
|
|
132
|
+
"tabindex": {
|
|
133
|
+
"alias": "tabindex";
|
|
134
|
+
"required": false;
|
|
135
|
+
"isSignal": true;
|
|
136
|
+
};
|
|
137
|
+
"ariaCurrent": {
|
|
138
|
+
"alias": "ariaCurrent";
|
|
139
|
+
"required": false;
|
|
140
|
+
"isSignal": true;
|
|
141
|
+
};
|
|
142
|
+
}, {
|
|
143
|
+
"linkClick": "linkClick";
|
|
144
|
+
"linkFocus": "linkFocus";
|
|
145
|
+
"linkBlur": "linkBlur";
|
|
146
|
+
}, never, ["*"], true, never>;
|
|
147
|
+
}
|