@4sh/ui-kit 0.16.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 +10 -10
- package/README.md +10 -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 -1000
- 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 -2048
- 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 -138
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +507 -257
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +401 -312
- 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 -199
- 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 -137
- 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 +721 -638
- 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 +299 -2
- package/mcp/data/text-search-docs.json +149 -9
- 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/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 +573 -376
- 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 -59
- package/types/4sh-ui-kit-forms-ui-input-number.d.ts +171 -96
- package/types/4sh-ui-kit-forms-ui-input-otp.d.ts +137 -104
- package/types/4sh-ui-kit-forms-ui-input-tags.d.ts +469 -309
- package/types/4sh-ui-kit-forms-ui-input.d.ts +198 -118
- 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 -56
- 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 +275 -194
- 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,209 +1,474 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import { NgTemplateOutlet } from
|
|
4
|
-
import { RouterLink } from
|
|
5
|
-
import { UiIcon } from
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
if (
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { Component, booleanAttribute, computed, effect, inject, input, isDevMode, model, output, viewChild } from "@angular/core";
|
|
3
|
+
import { NgTemplateOutlet } from "@angular/common";
|
|
4
|
+
import { RouterLink } from "@angular/router";
|
|
5
|
+
import { UiIcon } from "@4sh/ui-kit/base/ui-icon";
|
|
6
|
+
const CONTROL_SELECTOR = ".ui-bottom-tab, .ui-bottom-tab-action";
|
|
7
|
+
var UiBottomTab = class UiBottomTab {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.value = input.required(...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
10
|
+
this.label = input(...ngDevMode ? [void 0, { debugName: "label" }] : /* istanbul ignore next */ []);
|
|
11
|
+
this.icon = input(...ngDevMode ? [void 0, { debugName: "icon" }] : /* istanbul ignore next */ []);
|
|
12
|
+
this.activeIcon = input(...ngDevMode ? [void 0, { debugName: "activeIcon" }] : /* istanbul ignore next */ []);
|
|
13
|
+
this.iconType = input("solid", ...ngDevMode ? [{ debugName: "iconType" }] : /* istanbul ignore next */ []);
|
|
14
|
+
this.activeIconType = input("solid", ...ngDevMode ? [{ debugName: "activeIconType" }] : /* istanbul ignore next */ []);
|
|
15
|
+
this.disabled = input(false, {
|
|
16
|
+
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
17
|
+
transform: booleanAttribute
|
|
18
|
+
});
|
|
19
|
+
this.ariaLabel = input(...ngDevMode ? [void 0, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
20
|
+
this.ripple = input(true, {
|
|
21
|
+
...ngDevMode ? { debugName: "ripple" } : /* istanbul ignore next */ {},
|
|
22
|
+
transform: booleanAttribute
|
|
23
|
+
});
|
|
24
|
+
this.href = input(...ngDevMode ? [void 0, { debugName: "href" }] : /* istanbul ignore next */ []);
|
|
25
|
+
this.routerLink = input(...ngDevMode ? [void 0, { debugName: "routerLink" }] : /* istanbul ignore next */ []);
|
|
26
|
+
this.target = input(...ngDevMode ? [void 0, { debugName: "target" }] : /* istanbul ignore next */ []);
|
|
27
|
+
this.rel = input(...ngDevMode ? [void 0, { debugName: "rel" }] : /* istanbul ignore next */ []);
|
|
28
|
+
this.tabClick = output();
|
|
29
|
+
this.bar = inject(UiBottomTabBar);
|
|
30
|
+
this.controlEl = viewChild.required("control", ...ngDevMode ? [{ debugName: "controlEl" }] : /* istanbul ignore next */ []);
|
|
31
|
+
this.active = computed(() => this.bar.isActive(this.value()), ...ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []);
|
|
32
|
+
this.labelVisible = computed(() => !!this.label() && this.bar.showLabels(), ...ngDevMode ? [{ debugName: "labelVisible" }] : /* istanbul ignore next */ []);
|
|
33
|
+
this.resolvedIcon = computed(() => this.active() ? this.activeIcon() ?? this.icon() : this.icon(), ...ngDevMode ? [{ debugName: "resolvedIcon" }] : /* istanbul ignore next */ []);
|
|
34
|
+
this.resolvedIconType = computed(() => this.active() ? this.activeIconType() : this.iconType(), ...ngDevMode ? [{ debugName: "resolvedIconType" }] : /* istanbul ignore next */ []);
|
|
35
|
+
this.accessibleLabel = computed(() => this.ariaLabel() ?? (this.labelVisible() ? null : this.label() ?? null), ...ngDevMode ? [{ debugName: "accessibleLabel" }] : /* istanbul ignore next */ []);
|
|
36
|
+
this.rippleOn = computed(() => this.ripple() && this.bar.ripple(), ...ngDevMode ? [{ debugName: "rippleOn" }] : /* istanbul ignore next */ []);
|
|
37
|
+
this.isLink = computed(() => !!this.href() || this.routerLink() != null, ...ngDevMode ? [{ debugName: "isLink" }] : /* istanbul ignore next */ []);
|
|
38
|
+
this.useRouterLink = computed(() => this.routerLink() != null, ...ngDevMode ? [{ debugName: "useRouterLink" }] : /* istanbul ignore next */ []);
|
|
39
|
+
this.computedRel = computed(() => {
|
|
40
|
+
if (this.rel()) return this.rel();
|
|
41
|
+
if (this.target() === "_blank") return "noopener noreferrer";
|
|
42
|
+
return null;
|
|
43
|
+
}, ...ngDevMode ? [{ debugName: "computedRel" }] : /* istanbul ignore next */ []);
|
|
44
|
+
this.linkTabindex = computed(() => this.disabled() ? -1 : null, ...ngDevMode ? [{ debugName: "linkTabindex" }] : /* istanbul ignore next */ []);
|
|
45
|
+
this.classes = computed(() => {
|
|
46
|
+
const c = ["ui-bottom-tab"];
|
|
47
|
+
if (this.active()) c.push("_active");
|
|
48
|
+
if (this.disabled()) c.push("_disabled");
|
|
49
|
+
if (!this.labelVisible()) c.push("_no-label");
|
|
50
|
+
return c.join(" ");
|
|
51
|
+
}, ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
52
|
+
if (isDevMode()) effect(() => {
|
|
53
|
+
if (!this.labelVisible() && !this.accessibleLabel()) console.warn("[ui-bottom-tab] Tab with no visible label has no accessible name: provide `ariaLabel` (or `label`).");
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
focus(options) {
|
|
57
|
+
this.controlEl().nativeElement.focus(options);
|
|
58
|
+
}
|
|
59
|
+
onClick(event) {
|
|
60
|
+
if (this.disabled()) {
|
|
61
|
+
event.preventDefault();
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
this.tabClick.emit(event);
|
|
65
|
+
this.bar.updateValue(this.value(), event);
|
|
66
|
+
}
|
|
67
|
+
static {
|
|
68
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
69
|
+
minVersion: "12.0.0",
|
|
70
|
+
version: "22.3.0",
|
|
71
|
+
ngImport: i0,
|
|
72
|
+
type: UiBottomTab,
|
|
73
|
+
deps: [],
|
|
74
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
static {
|
|
78
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
79
|
+
minVersion: "17.0.0",
|
|
80
|
+
version: "22.3.0",
|
|
81
|
+
type: UiBottomTab,
|
|
82
|
+
isStandalone: true,
|
|
83
|
+
selector: "ui-bottom-tab",
|
|
84
|
+
inputs: {
|
|
85
|
+
value: {
|
|
86
|
+
classPropertyName: "value",
|
|
87
|
+
publicName: "value",
|
|
88
|
+
isSignal: true,
|
|
89
|
+
isRequired: true,
|
|
90
|
+
transformFunction: null
|
|
91
|
+
},
|
|
92
|
+
label: {
|
|
93
|
+
classPropertyName: "label",
|
|
94
|
+
publicName: "label",
|
|
95
|
+
isSignal: true,
|
|
96
|
+
isRequired: false,
|
|
97
|
+
transformFunction: null
|
|
98
|
+
},
|
|
99
|
+
icon: {
|
|
100
|
+
classPropertyName: "icon",
|
|
101
|
+
publicName: "icon",
|
|
102
|
+
isSignal: true,
|
|
103
|
+
isRequired: false,
|
|
104
|
+
transformFunction: null
|
|
105
|
+
},
|
|
106
|
+
activeIcon: {
|
|
107
|
+
classPropertyName: "activeIcon",
|
|
108
|
+
publicName: "activeIcon",
|
|
109
|
+
isSignal: true,
|
|
110
|
+
isRequired: false,
|
|
111
|
+
transformFunction: null
|
|
112
|
+
},
|
|
113
|
+
iconType: {
|
|
114
|
+
classPropertyName: "iconType",
|
|
115
|
+
publicName: "iconType",
|
|
116
|
+
isSignal: true,
|
|
117
|
+
isRequired: false,
|
|
118
|
+
transformFunction: null
|
|
119
|
+
},
|
|
120
|
+
activeIconType: {
|
|
121
|
+
classPropertyName: "activeIconType",
|
|
122
|
+
publicName: "activeIconType",
|
|
123
|
+
isSignal: true,
|
|
124
|
+
isRequired: false,
|
|
125
|
+
transformFunction: null
|
|
126
|
+
},
|
|
127
|
+
disabled: {
|
|
128
|
+
classPropertyName: "disabled",
|
|
129
|
+
publicName: "disabled",
|
|
130
|
+
isSignal: true,
|
|
131
|
+
isRequired: false,
|
|
132
|
+
transformFunction: null
|
|
133
|
+
},
|
|
134
|
+
ariaLabel: {
|
|
135
|
+
classPropertyName: "ariaLabel",
|
|
136
|
+
publicName: "ariaLabel",
|
|
137
|
+
isSignal: true,
|
|
138
|
+
isRequired: false,
|
|
139
|
+
transformFunction: null
|
|
140
|
+
},
|
|
141
|
+
ripple: {
|
|
142
|
+
classPropertyName: "ripple",
|
|
143
|
+
publicName: "ripple",
|
|
144
|
+
isSignal: true,
|
|
145
|
+
isRequired: false,
|
|
146
|
+
transformFunction: null
|
|
147
|
+
},
|
|
148
|
+
href: {
|
|
149
|
+
classPropertyName: "href",
|
|
150
|
+
publicName: "href",
|
|
151
|
+
isSignal: true,
|
|
152
|
+
isRequired: false,
|
|
153
|
+
transformFunction: null
|
|
154
|
+
},
|
|
155
|
+
routerLink: {
|
|
156
|
+
classPropertyName: "routerLink",
|
|
157
|
+
publicName: "routerLink",
|
|
158
|
+
isSignal: true,
|
|
159
|
+
isRequired: false,
|
|
160
|
+
transformFunction: null
|
|
161
|
+
},
|
|
162
|
+
target: {
|
|
163
|
+
classPropertyName: "target",
|
|
164
|
+
publicName: "target",
|
|
165
|
+
isSignal: true,
|
|
166
|
+
isRequired: false,
|
|
167
|
+
transformFunction: null
|
|
168
|
+
},
|
|
169
|
+
rel: {
|
|
170
|
+
classPropertyName: "rel",
|
|
171
|
+
publicName: "rel",
|
|
172
|
+
isSignal: true,
|
|
173
|
+
isRequired: false,
|
|
174
|
+
transformFunction: null
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
outputs: { tabClick: "tabClick" },
|
|
178
|
+
host: { classAttribute: "ui-bottom-tab-host" },
|
|
179
|
+
viewQueries: [{
|
|
180
|
+
propertyName: "controlEl",
|
|
181
|
+
first: true,
|
|
182
|
+
predicate: ["control"],
|
|
183
|
+
descendants: true,
|
|
184
|
+
isSignal: true
|
|
185
|
+
}],
|
|
186
|
+
ngImport: i0,
|
|
187
|
+
template: "@if (isLink()) {\n @if (useRouterLink()) {\n <a\n #control\n [class]=\"classes()\"\n [routerLink]=\"disabled() ? null : routerLink()\"\n [attr.target]=\"target()\"\n [attr.rel]=\"computedRel()\"\n [attr.tabindex]=\"linkTabindex()\"\n [attr.aria-label]=\"accessibleLabel()\"\n [attr.aria-current]=\"active() ? 'page' : null\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n [attr.data-ripple]=\"rippleOn() ? 'on' : 'off'\"\n (click)=\"onClick($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"inner\" />\n </a>\n } @else {\n <a\n #control\n [class]=\"classes()\"\n [attr.href]=\"disabled() ? null : href()\"\n [attr.target]=\"target()\"\n [attr.rel]=\"computedRel()\"\n [attr.tabindex]=\"linkTabindex()\"\n [attr.aria-label]=\"accessibleLabel()\"\n [attr.aria-current]=\"active() ? 'page' : null\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n [attr.data-ripple]=\"rippleOn() ? 'on' : 'off'\"\n (click)=\"onClick($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"inner\" />\n </a>\n }\n} @else {\n <button\n #control\n type=\"button\"\n [class]=\"classes()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"accessibleLabel()\"\n [attr.aria-current]=\"active() ? 'page' : null\"\n [attr.data-ripple]=\"rippleOn() ? 'on' : 'off'\"\n (click)=\"onClick($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"inner\" />\n </button>\n}\n\n<ng-template #inner>\n <span class=\"ui-bottom-tab-icon-box\">\n @if (resolvedIcon(); as name) {\n <ui-icon\n class=\"ui-bottom-tab-icon\"\n [name]=\"name\"\n [type]=\"resolvedIconType()\"\n size=\"default\"\n />\n }\n <!-- Adornment layer over the icon (notification badge, dot…): projected content,\n never hit-tested, so a tap always reaches the control. -->\n <span class=\"ui-bottom-tab-adornment\"><ng-content /></span>\n </span>\n @if (labelVisible()) {\n <span class=\"ui-bottom-tab-label\">{{ label() }}</span>\n }\n</ng-template>\n",
|
|
188
|
+
styles: [":host{display:contents}.ui-bottom-tab{display:flex;flex:1 1 0;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;min-height:var(--ui-bottom-tab-bar-item-min-height, 3.5rem);margin:0;padding:var(--ui-bottom-tab-bar-item-padding-y, var(--units-md)) var(--ui-bottom-tab-bar-item-padding-x, var(--units-xs));border:0;border-radius:var(--ui-bottom-tab-bar-item-radius, 0);gap:var(--ui-bottom-tab-bar-item-gap, var(--units-sm));background-color:var(--ui-bottom-tab-bar-tab-surface, var(--navigation-high-surface-default));color:var(--ui-bottom-tab-bar-tab-color, var(--navigation-high-content-default));font-family:var(--ui-bottom-tab-bar-font-family, var(--fontfamily-base));font-weight:var(--ui-bottom-tab-bar-label-weight, var(--weight-regular));font-size:var(--ui-bottom-tab-bar-label-font-size, var(--size-typography-text-sm));line-height:1.2;text-align:center;text-decoration:none;cursor:pointer;transition:color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),background-color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),box-shadow var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout)))}.ui-bottom-tab:hover:not(:disabled,[aria-disabled=true]){background-color:var(--ui-bottom-tab-bar-tab-surface-hover, var(--navigation-high-surface-hover));color:var(--ui-bottom-tab-bar-tab-color-hover, var(--navigation-high-content-hover))}.ui-bottom-tab:focus-visible{outline:none;background-color:var(--ui-bottom-tab-bar-tab-surface-focus, var(--navigation-high-surface-focused));color:var(--ui-bottom-tab-bar-tab-color-focus, var(--navigation-high-content-focused));box-shadow:inset 0 0 0 var(--ui-bottom-tab-bar-item-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-bottom-tab-bar-tab-focus-ring-color, var(--global-border-focus))}.ui-bottom-tab:active:not(:disabled,[aria-disabled=true]){background-color:var(--ui-bottom-tab-bar-tab-surface-pressed, var(--navigation-high-surface-pressed));color:var(--ui-bottom-tab-bar-tab-color-pressed, var(--navigation-high-content-pressed))}.ui-bottom-tab:disabled,.ui-bottom-tab._disabled{background-color:var(--ui-bottom-tab-bar-tab-surface-disabled, var(--navigation-high-surface-disabled));color:var(--ui-bottom-tab-bar-tab-color-disabled, var(--navigation-high-content-disabled));cursor:not-allowed}.ui-bottom-tab._active{background-color:var(--ui-bottom-tab-bar-tab-surface-active, var(--navigation-high-surface-active));color:var(--ui-bottom-tab-bar-tab-color-active, var(--navigation-high-content-active))}.ui-bottom-tab-icon-box{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center}.ui-bottom-tab-icon{--ui-icon-size: var(--ui-bottom-tab-bar-icon-size, var(--size-typography-icon-default))}.ui-bottom-tab-adornment{position:absolute;top:var(--ui-bottom-tab-bar-adornment-offset, -.375rem);left:100%;display:flex;align-items:center;transform:translate(var(--ui-bottom-tab-bar-adornment-offset, -.375rem));pointer-events:none}.ui-bottom-tab-label{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"],
|
|
189
|
+
dependencies: [
|
|
190
|
+
{
|
|
191
|
+
kind: "component",
|
|
192
|
+
type: UiIcon,
|
|
193
|
+
selector: "ui-icon",
|
|
194
|
+
inputs: [
|
|
195
|
+
"name",
|
|
196
|
+
"size",
|
|
197
|
+
"type",
|
|
198
|
+
"family",
|
|
199
|
+
"decorative",
|
|
200
|
+
"ariaLabel"
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
kind: "directive",
|
|
205
|
+
type: NgTemplateOutlet,
|
|
206
|
+
selector: "[ngTemplateOutlet]",
|
|
207
|
+
inputs: [
|
|
208
|
+
"ngTemplateOutletContext",
|
|
209
|
+
"ngTemplateOutlet",
|
|
210
|
+
"ngTemplateOutletInjector"
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
kind: "directive",
|
|
215
|
+
type: RouterLink,
|
|
216
|
+
selector: "[routerLink]",
|
|
217
|
+
inputs: [
|
|
218
|
+
"target",
|
|
219
|
+
"queryParams",
|
|
220
|
+
"fragment",
|
|
221
|
+
"queryParamsHandling",
|
|
222
|
+
"state",
|
|
223
|
+
"info",
|
|
224
|
+
"relativeTo",
|
|
225
|
+
"preserveFragment",
|
|
226
|
+
"skipLocationChange",
|
|
227
|
+
"replaceUrl",
|
|
228
|
+
"browserUrl",
|
|
229
|
+
"scroll",
|
|
230
|
+
"routerLink"
|
|
231
|
+
]
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
238
|
+
minVersion: "12.0.0",
|
|
239
|
+
version: "22.3.0",
|
|
240
|
+
ngImport: i0,
|
|
241
|
+
type: UiBottomTab,
|
|
242
|
+
decorators: [{
|
|
243
|
+
type: Component,
|
|
244
|
+
args: [{
|
|
245
|
+
selector: "ui-bottom-tab",
|
|
246
|
+
imports: [
|
|
247
|
+
UiIcon,
|
|
248
|
+
NgTemplateOutlet,
|
|
249
|
+
RouterLink
|
|
250
|
+
],
|
|
251
|
+
host: { class: "ui-bottom-tab-host" },
|
|
252
|
+
template: "@if (isLink()) {\n @if (useRouterLink()) {\n <a\n #control\n [class]=\"classes()\"\n [routerLink]=\"disabled() ? null : routerLink()\"\n [attr.target]=\"target()\"\n [attr.rel]=\"computedRel()\"\n [attr.tabindex]=\"linkTabindex()\"\n [attr.aria-label]=\"accessibleLabel()\"\n [attr.aria-current]=\"active() ? 'page' : null\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n [attr.data-ripple]=\"rippleOn() ? 'on' : 'off'\"\n (click)=\"onClick($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"inner\" />\n </a>\n } @else {\n <a\n #control\n [class]=\"classes()\"\n [attr.href]=\"disabled() ? null : href()\"\n [attr.target]=\"target()\"\n [attr.rel]=\"computedRel()\"\n [attr.tabindex]=\"linkTabindex()\"\n [attr.aria-label]=\"accessibleLabel()\"\n [attr.aria-current]=\"active() ? 'page' : null\"\n [attr.aria-disabled]=\"disabled() ? 'true' : null\"\n [attr.data-ripple]=\"rippleOn() ? 'on' : 'off'\"\n (click)=\"onClick($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"inner\" />\n </a>\n }\n} @else {\n <button\n #control\n type=\"button\"\n [class]=\"classes()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"accessibleLabel()\"\n [attr.aria-current]=\"active() ? 'page' : null\"\n [attr.data-ripple]=\"rippleOn() ? 'on' : 'off'\"\n (click)=\"onClick($event)\"\n >\n <ng-container [ngTemplateOutlet]=\"inner\" />\n </button>\n}\n\n<ng-template #inner>\n <span class=\"ui-bottom-tab-icon-box\">\n @if (resolvedIcon(); as name) {\n <ui-icon\n class=\"ui-bottom-tab-icon\"\n [name]=\"name\"\n [type]=\"resolvedIconType()\"\n size=\"default\"\n />\n }\n <!-- Adornment layer over the icon (notification badge, dot…): projected content,\n never hit-tested, so a tap always reaches the control. -->\n <span class=\"ui-bottom-tab-adornment\"><ng-content /></span>\n </span>\n @if (labelVisible()) {\n <span class=\"ui-bottom-tab-label\">{{ label() }}</span>\n }\n</ng-template>\n",
|
|
253
|
+
styles: [":host{display:contents}.ui-bottom-tab{display:flex;flex:1 1 0;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;min-height:var(--ui-bottom-tab-bar-item-min-height, 3.5rem);margin:0;padding:var(--ui-bottom-tab-bar-item-padding-y, var(--units-md)) var(--ui-bottom-tab-bar-item-padding-x, var(--units-xs));border:0;border-radius:var(--ui-bottom-tab-bar-item-radius, 0);gap:var(--ui-bottom-tab-bar-item-gap, var(--units-sm));background-color:var(--ui-bottom-tab-bar-tab-surface, var(--navigation-high-surface-default));color:var(--ui-bottom-tab-bar-tab-color, var(--navigation-high-content-default));font-family:var(--ui-bottom-tab-bar-font-family, var(--fontfamily-base));font-weight:var(--ui-bottom-tab-bar-label-weight, var(--weight-regular));font-size:var(--ui-bottom-tab-bar-label-font-size, var(--size-typography-text-sm));line-height:1.2;text-align:center;text-decoration:none;cursor:pointer;transition:color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),background-color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),box-shadow var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout)))}.ui-bottom-tab:hover:not(:disabled,[aria-disabled=true]){background-color:var(--ui-bottom-tab-bar-tab-surface-hover, var(--navigation-high-surface-hover));color:var(--ui-bottom-tab-bar-tab-color-hover, var(--navigation-high-content-hover))}.ui-bottom-tab:focus-visible{outline:none;background-color:var(--ui-bottom-tab-bar-tab-surface-focus, var(--navigation-high-surface-focused));color:var(--ui-bottom-tab-bar-tab-color-focus, var(--navigation-high-content-focused));box-shadow:inset 0 0 0 var(--ui-bottom-tab-bar-item-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-bottom-tab-bar-tab-focus-ring-color, var(--global-border-focus))}.ui-bottom-tab:active:not(:disabled,[aria-disabled=true]){background-color:var(--ui-bottom-tab-bar-tab-surface-pressed, var(--navigation-high-surface-pressed));color:var(--ui-bottom-tab-bar-tab-color-pressed, var(--navigation-high-content-pressed))}.ui-bottom-tab:disabled,.ui-bottom-tab._disabled{background-color:var(--ui-bottom-tab-bar-tab-surface-disabled, var(--navigation-high-surface-disabled));color:var(--ui-bottom-tab-bar-tab-color-disabled, var(--navigation-high-content-disabled));cursor:not-allowed}.ui-bottom-tab._active{background-color:var(--ui-bottom-tab-bar-tab-surface-active, var(--navigation-high-surface-active));color:var(--ui-bottom-tab-bar-tab-color-active, var(--navigation-high-content-active))}.ui-bottom-tab-icon-box{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center}.ui-bottom-tab-icon{--ui-icon-size: var(--ui-bottom-tab-bar-icon-size, var(--size-typography-icon-default))}.ui-bottom-tab-adornment{position:absolute;top:var(--ui-bottom-tab-bar-adornment-offset, -.375rem);left:100%;display:flex;align-items:center;transform:translate(var(--ui-bottom-tab-bar-adornment-offset, -.375rem));pointer-events:none}.ui-bottom-tab-label{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"]
|
|
254
|
+
}]
|
|
255
|
+
}],
|
|
256
|
+
ctorParameters: () => [],
|
|
257
|
+
propDecorators: {
|
|
258
|
+
value: [{
|
|
259
|
+
type: i0.Input,
|
|
260
|
+
args: [{
|
|
261
|
+
isSignal: true,
|
|
262
|
+
alias: "value",
|
|
263
|
+
required: true
|
|
264
|
+
}]
|
|
265
|
+
}],
|
|
266
|
+
label: [{
|
|
267
|
+
type: i0.Input,
|
|
268
|
+
args: [{
|
|
269
|
+
isSignal: true,
|
|
270
|
+
alias: "label",
|
|
271
|
+
required: false
|
|
272
|
+
}]
|
|
273
|
+
}],
|
|
274
|
+
icon: [{
|
|
275
|
+
type: i0.Input,
|
|
276
|
+
args: [{
|
|
277
|
+
isSignal: true,
|
|
278
|
+
alias: "icon",
|
|
279
|
+
required: false
|
|
280
|
+
}]
|
|
281
|
+
}],
|
|
282
|
+
activeIcon: [{
|
|
283
|
+
type: i0.Input,
|
|
284
|
+
args: [{
|
|
285
|
+
isSignal: true,
|
|
286
|
+
alias: "activeIcon",
|
|
287
|
+
required: false
|
|
288
|
+
}]
|
|
289
|
+
}],
|
|
290
|
+
iconType: [{
|
|
291
|
+
type: i0.Input,
|
|
292
|
+
args: [{
|
|
293
|
+
isSignal: true,
|
|
294
|
+
alias: "iconType",
|
|
295
|
+
required: false
|
|
296
|
+
}]
|
|
297
|
+
}],
|
|
298
|
+
activeIconType: [{
|
|
299
|
+
type: i0.Input,
|
|
300
|
+
args: [{
|
|
301
|
+
isSignal: true,
|
|
302
|
+
alias: "activeIconType",
|
|
303
|
+
required: false
|
|
304
|
+
}]
|
|
305
|
+
}],
|
|
306
|
+
disabled: [{
|
|
307
|
+
type: i0.Input,
|
|
308
|
+
args: [{
|
|
309
|
+
isSignal: true,
|
|
310
|
+
alias: "disabled",
|
|
311
|
+
required: false
|
|
312
|
+
}]
|
|
313
|
+
}],
|
|
314
|
+
ariaLabel: [{
|
|
315
|
+
type: i0.Input,
|
|
316
|
+
args: [{
|
|
317
|
+
isSignal: true,
|
|
318
|
+
alias: "ariaLabel",
|
|
319
|
+
required: false
|
|
320
|
+
}]
|
|
321
|
+
}],
|
|
322
|
+
ripple: [{
|
|
323
|
+
type: i0.Input,
|
|
324
|
+
args: [{
|
|
325
|
+
isSignal: true,
|
|
326
|
+
alias: "ripple",
|
|
327
|
+
required: false
|
|
328
|
+
}]
|
|
329
|
+
}],
|
|
330
|
+
href: [{
|
|
331
|
+
type: i0.Input,
|
|
332
|
+
args: [{
|
|
333
|
+
isSignal: true,
|
|
334
|
+
alias: "href",
|
|
335
|
+
required: false
|
|
336
|
+
}]
|
|
337
|
+
}],
|
|
338
|
+
routerLink: [{
|
|
339
|
+
type: i0.Input,
|
|
340
|
+
args: [{
|
|
341
|
+
isSignal: true,
|
|
342
|
+
alias: "routerLink",
|
|
343
|
+
required: false
|
|
344
|
+
}]
|
|
345
|
+
}],
|
|
346
|
+
target: [{
|
|
347
|
+
type: i0.Input,
|
|
348
|
+
args: [{
|
|
349
|
+
isSignal: true,
|
|
350
|
+
alias: "target",
|
|
351
|
+
required: false
|
|
352
|
+
}]
|
|
353
|
+
}],
|
|
354
|
+
rel: [{
|
|
355
|
+
type: i0.Input,
|
|
356
|
+
args: [{
|
|
357
|
+
isSignal: true,
|
|
358
|
+
alias: "rel",
|
|
359
|
+
required: false
|
|
360
|
+
}]
|
|
361
|
+
}],
|
|
362
|
+
tabClick: [{
|
|
363
|
+
type: i0.Output,
|
|
364
|
+
args: ["tabClick"]
|
|
365
|
+
}],
|
|
366
|
+
controlEl: [{
|
|
367
|
+
type: i0.ViewChild,
|
|
368
|
+
args: ["control", { isSignal: true }]
|
|
369
|
+
}]
|
|
370
|
+
}
|
|
371
|
+
});
|
|
372
|
+
var UiBottomTabAction = class UiBottomTabAction {
|
|
373
|
+
constructor() {
|
|
374
|
+
this.icon = input("plus", ...ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []);
|
|
375
|
+
this.iconType = input("solid", ...ngDevMode ? [{ debugName: "iconType" }] : /* istanbul ignore next */ []);
|
|
376
|
+
this.level = input("high", ...ngDevMode ? [{ debugName: "level" }] : /* istanbul ignore next */ []);
|
|
377
|
+
this.ariaLabel = input(...ngDevMode ? [void 0, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
378
|
+
this.disabled = input(false, {
|
|
379
|
+
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
380
|
+
transform: booleanAttribute
|
|
381
|
+
});
|
|
382
|
+
this.ripple = input(true, {
|
|
383
|
+
...ngDevMode ? { debugName: "ripple" } : /* istanbul ignore next */ {},
|
|
384
|
+
transform: booleanAttribute
|
|
385
|
+
});
|
|
386
|
+
this.actionClick = output();
|
|
387
|
+
this.controlEl = viewChild.required("control", ...ngDevMode ? [{ debugName: "controlEl" }] : /* istanbul ignore next */ []);
|
|
388
|
+
this.classes = computed(() => ["ui-bottom-tab-action", `_${this.level()}`].join(" "), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
389
|
+
if (isDevMode()) effect(() => {
|
|
390
|
+
if (!this.ariaLabel()) console.warn("[ui-bottom-tab-action] Icon-only action has no accessible name: provide `ariaLabel`.");
|
|
391
|
+
});
|
|
392
|
+
}
|
|
393
|
+
focus(options) {
|
|
394
|
+
this.controlEl().nativeElement.focus(options);
|
|
395
|
+
}
|
|
396
|
+
onClick(event) {
|
|
397
|
+
if (this.disabled()) return;
|
|
398
|
+
this.actionClick.emit(event);
|
|
399
|
+
}
|
|
400
|
+
static {
|
|
401
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
402
|
+
minVersion: "12.0.0",
|
|
403
|
+
version: "22.3.0",
|
|
404
|
+
ngImport: i0,
|
|
405
|
+
type: UiBottomTabAction,
|
|
406
|
+
deps: [],
|
|
407
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
408
|
+
});
|
|
409
|
+
}
|
|
410
|
+
static {
|
|
411
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
412
|
+
minVersion: "17.2.0",
|
|
413
|
+
version: "22.3.0",
|
|
414
|
+
type: UiBottomTabAction,
|
|
415
|
+
isStandalone: true,
|
|
416
|
+
selector: "ui-bottom-tab-action",
|
|
417
|
+
inputs: {
|
|
418
|
+
icon: {
|
|
419
|
+
classPropertyName: "icon",
|
|
420
|
+
publicName: "icon",
|
|
421
|
+
isSignal: true,
|
|
422
|
+
isRequired: false,
|
|
423
|
+
transformFunction: null
|
|
424
|
+
},
|
|
425
|
+
iconType: {
|
|
426
|
+
classPropertyName: "iconType",
|
|
427
|
+
publicName: "iconType",
|
|
428
|
+
isSignal: true,
|
|
429
|
+
isRequired: false,
|
|
430
|
+
transformFunction: null
|
|
431
|
+
},
|
|
432
|
+
level: {
|
|
433
|
+
classPropertyName: "level",
|
|
434
|
+
publicName: "level",
|
|
435
|
+
isSignal: true,
|
|
436
|
+
isRequired: false,
|
|
437
|
+
transformFunction: null
|
|
438
|
+
},
|
|
439
|
+
ariaLabel: {
|
|
440
|
+
classPropertyName: "ariaLabel",
|
|
441
|
+
publicName: "ariaLabel",
|
|
442
|
+
isSignal: true,
|
|
443
|
+
isRequired: false,
|
|
444
|
+
transformFunction: null
|
|
445
|
+
},
|
|
446
|
+
disabled: {
|
|
447
|
+
classPropertyName: "disabled",
|
|
448
|
+
publicName: "disabled",
|
|
449
|
+
isSignal: true,
|
|
450
|
+
isRequired: false,
|
|
451
|
+
transformFunction: null
|
|
452
|
+
},
|
|
453
|
+
ripple: {
|
|
454
|
+
classPropertyName: "ripple",
|
|
455
|
+
publicName: "ripple",
|
|
456
|
+
isSignal: true,
|
|
457
|
+
isRequired: false,
|
|
458
|
+
transformFunction: null
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
outputs: { actionClick: "actionClick" },
|
|
462
|
+
host: { classAttribute: "ui-bottom-tab-action-host" },
|
|
463
|
+
viewQueries: [{
|
|
464
|
+
propertyName: "controlEl",
|
|
465
|
+
first: true,
|
|
466
|
+
predicate: ["control"],
|
|
467
|
+
descendants: true,
|
|
468
|
+
isSignal: true
|
|
469
|
+
}],
|
|
470
|
+
ngImport: i0,
|
|
471
|
+
template: `
|
|
207
472
|
<button
|
|
208
473
|
#control
|
|
209
474
|
type="button"
|
|
@@ -215,11 +480,36 @@ class UiBottomTabAction {
|
|
|
215
480
|
>
|
|
216
481
|
<ui-icon class="ui-bottom-tab-action-icon" [name]="icon()" size="xl" [type]="iconType()" />
|
|
217
482
|
</button>
|
|
218
|
-
`,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
483
|
+
`,
|
|
484
|
+
isInline: true,
|
|
485
|
+
styles: [":host{display:contents}.ui-bottom-tab-action{display:inline-flex;flex:none;align-items:center;justify-content:center;align-self:center;box-sizing:border-box;width:var(--ui-bottom-tab-bar-action-size, 4rem);height:var(--ui-bottom-tab-bar-action-size, 4rem);margin:0 var(--ui-bottom-tab-bar-action-gap, var(--units-2xs));padding:0;border:0;border-radius:var(--ui-bottom-tab-bar-action-radius, var(--radius-full));transform:translateY(calc(-1 * var(--ui-bottom-tab-bar-action-offset-y, 1.25rem)));box-shadow:var(--ui-bottom-tab-bar-action-shadow, var(--shadow-default-md));cursor:pointer;transition:color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),background-color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),box-shadow var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout)))}.ui-bottom-tab-action:focus-visible{outline:none;box-shadow:var(--ui-bottom-tab-bar-action-shadow, var(--shadow-default-md)),0 0 0 var(--ui-bottom-tab-bar-action-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-bottom-tab-bar-action-focus-ring-color, var(--global-border-focus))}.ui-bottom-tab-action:disabled{box-shadow:none;cursor:not-allowed}.ui-bottom-tab-action._high{background-color:var(--ui-bottom-tab-bar-action-surface, var(--actions-high-surface-default));color:var(--ui-bottom-tab-bar-action-color, var(--actions-high-content-default))}.ui-bottom-tab-action._high:hover:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-hover, var(--actions-high-surface-hover));color:var(--ui-bottom-tab-bar-action-color-hover, var(--actions-high-content-hover))}.ui-bottom-tab-action._high:focus-visible{background-color:var(--ui-bottom-tab-bar-action-surface-focus, var(--actions-high-surface-focused));color:var(--ui-bottom-tab-bar-action-color-focus, var(--actions-high-content-focused))}.ui-bottom-tab-action._high:active:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-pressed, var(--actions-high-surface-pressed));color:var(--ui-bottom-tab-bar-action-color-pressed, var(--actions-high-content-pressed))}.ui-bottom-tab-action._high:disabled{background-color:var(--ui-bottom-tab-bar-action-surface-disabled, var(--actions-high-surface-disabled));color:var(--ui-bottom-tab-bar-action-color-disabled, var(--actions-high-content-disabled))}.ui-bottom-tab-action._low{background-color:var(--ui-bottom-tab-bar-action-surface, var(--actions-low-surface-default));color:var(--ui-bottom-tab-bar-action-color, var(--actions-low-content-default))}.ui-bottom-tab-action._low:hover:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-hover, var(--actions-low-surface-hover));color:var(--ui-bottom-tab-bar-action-color-hover, var(--actions-low-content-hover))}.ui-bottom-tab-action._low:focus-visible{background-color:var(--ui-bottom-tab-bar-action-surface-focus, var(--actions-low-surface-focused));color:var(--ui-bottom-tab-bar-action-color-focus, var(--actions-low-content-focused))}.ui-bottom-tab-action._low:active:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-pressed, var(--actions-low-surface-pressed));color:var(--ui-bottom-tab-bar-action-color-pressed, var(--actions-low-content-pressed))}.ui-bottom-tab-action._low:disabled{background-color:var(--ui-bottom-tab-bar-action-surface-disabled, var(--actions-low-surface-disabled));color:var(--ui-bottom-tab-bar-action-color-disabled, var(--actions-low-content-disabled))}.ui-bottom-tab-action._success{background-color:var(--ui-bottom-tab-bar-action-surface, var(--actions-success-surface-default));color:var(--ui-bottom-tab-bar-action-color, var(--actions-success-content-default))}.ui-bottom-tab-action._success:hover:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-hover, var(--actions-success-surface-hover));color:var(--ui-bottom-tab-bar-action-color-hover, var(--actions-success-content-hover))}.ui-bottom-tab-action._success:focus-visible{background-color:var(--ui-bottom-tab-bar-action-surface-focus, var(--actions-success-surface-focused));color:var(--ui-bottom-tab-bar-action-color-focus, var(--actions-success-content-focused))}.ui-bottom-tab-action._success:active:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-pressed, var(--actions-success-surface-pressed));color:var(--ui-bottom-tab-bar-action-color-pressed, var(--actions-success-content-pressed))}.ui-bottom-tab-action._success:disabled{background-color:var(--ui-bottom-tab-bar-action-surface-disabled, var(--actions-success-surface-disabled));color:var(--ui-bottom-tab-bar-action-color-disabled, var(--actions-success-content-disabled))}.ui-bottom-tab-action._warning{background-color:var(--ui-bottom-tab-bar-action-surface, var(--actions-warning-surface-default));color:var(--ui-bottom-tab-bar-action-color, var(--actions-warning-content-default))}.ui-bottom-tab-action._warning:hover:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-hover, var(--actions-warning-surface-hover));color:var(--ui-bottom-tab-bar-action-color-hover, var(--actions-warning-content-hover))}.ui-bottom-tab-action._warning:focus-visible{background-color:var(--ui-bottom-tab-bar-action-surface-focus, var(--actions-warning-surface-focused));color:var(--ui-bottom-tab-bar-action-color-focus, var(--actions-warning-content-focused))}.ui-bottom-tab-action._warning:active:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-pressed, var(--actions-warning-surface-pressed));color:var(--ui-bottom-tab-bar-action-color-pressed, var(--actions-warning-content-pressed))}.ui-bottom-tab-action._warning:disabled{background-color:var(--ui-bottom-tab-bar-action-surface-disabled, var(--actions-warning-surface-disabled));color:var(--ui-bottom-tab-bar-action-color-disabled, var(--actions-warning-content-disabled))}.ui-bottom-tab-action._error{background-color:var(--ui-bottom-tab-bar-action-surface, var(--actions-error-surface-default));color:var(--ui-bottom-tab-bar-action-color, var(--actions-error-content-default))}.ui-bottom-tab-action._error:hover:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-hover, var(--actions-error-surface-hover));color:var(--ui-bottom-tab-bar-action-color-hover, var(--actions-error-content-hover))}.ui-bottom-tab-action._error:focus-visible{background-color:var(--ui-bottom-tab-bar-action-surface-focus, var(--actions-error-surface-focused));color:var(--ui-bottom-tab-bar-action-color-focus, var(--actions-error-content-focused))}.ui-bottom-tab-action._error:active:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-pressed, var(--actions-error-surface-pressed));color:var(--ui-bottom-tab-bar-action-color-pressed, var(--actions-error-content-pressed))}.ui-bottom-tab-action._error:disabled{background-color:var(--ui-bottom-tab-bar-action-surface-disabled, var(--actions-error-surface-disabled));color:var(--ui-bottom-tab-bar-action-color-disabled, var(--actions-error-content-disabled))}.ui-bottom-tab-action-icon{--ui-icon-size: var(--ui-bottom-tab-bar-action-icon-size, var(--size-typography-icon-xl))}\n"],
|
|
486
|
+
dependencies: [{
|
|
487
|
+
kind: "component",
|
|
488
|
+
type: UiIcon,
|
|
489
|
+
selector: "ui-icon",
|
|
490
|
+
inputs: [
|
|
491
|
+
"name",
|
|
492
|
+
"size",
|
|
493
|
+
"type",
|
|
494
|
+
"family",
|
|
495
|
+
"decorative",
|
|
496
|
+
"ariaLabel"
|
|
497
|
+
]
|
|
498
|
+
}]
|
|
499
|
+
});
|
|
500
|
+
}
|
|
501
|
+
};
|
|
502
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
503
|
+
minVersion: "12.0.0",
|
|
504
|
+
version: "22.3.0",
|
|
505
|
+
ngImport: i0,
|
|
506
|
+
type: UiBottomTabAction,
|
|
507
|
+
decorators: [{
|
|
508
|
+
type: Component,
|
|
509
|
+
args: [{
|
|
510
|
+
selector: "ui-bottom-tab-action",
|
|
511
|
+
imports: [UiIcon],
|
|
512
|
+
template: `
|
|
223
513
|
<button
|
|
224
514
|
#control
|
|
225
515
|
type="button"
|
|
@@ -231,140 +521,302 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImpor
|
|
|
231
521
|
>
|
|
232
522
|
<ui-icon class="ui-bottom-tab-action-icon" [name]="icon()" size="xl" [type]="iconType()" />
|
|
233
523
|
</button>
|
|
234
|
-
`,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
524
|
+
`,
|
|
525
|
+
host: { class: "ui-bottom-tab-action-host" },
|
|
526
|
+
styles: [":host{display:contents}.ui-bottom-tab-action{display:inline-flex;flex:none;align-items:center;justify-content:center;align-self:center;box-sizing:border-box;width:var(--ui-bottom-tab-bar-action-size, 4rem);height:var(--ui-bottom-tab-bar-action-size, 4rem);margin:0 var(--ui-bottom-tab-bar-action-gap, var(--units-2xs));padding:0;border:0;border-radius:var(--ui-bottom-tab-bar-action-radius, var(--radius-full));transform:translateY(calc(-1 * var(--ui-bottom-tab-bar-action-offset-y, 1.25rem)));box-shadow:var(--ui-bottom-tab-bar-action-shadow, var(--shadow-default-md));cursor:pointer;transition:color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),background-color var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout))),box-shadow var(--ui-control-transition-duration, var(--motion-hover-duration, var(--transition-default))) var(--ui-control-transition-easing, var(--motion-hover-easing, var(--transition-easeinout)))}.ui-bottom-tab-action:focus-visible{outline:none;box-shadow:var(--ui-bottom-tab-bar-action-shadow, var(--shadow-default-md)),0 0 0 var(--ui-bottom-tab-bar-action-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-bottom-tab-bar-action-focus-ring-color, var(--global-border-focus))}.ui-bottom-tab-action:disabled{box-shadow:none;cursor:not-allowed}.ui-bottom-tab-action._high{background-color:var(--ui-bottom-tab-bar-action-surface, var(--actions-high-surface-default));color:var(--ui-bottom-tab-bar-action-color, var(--actions-high-content-default))}.ui-bottom-tab-action._high:hover:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-hover, var(--actions-high-surface-hover));color:var(--ui-bottom-tab-bar-action-color-hover, var(--actions-high-content-hover))}.ui-bottom-tab-action._high:focus-visible{background-color:var(--ui-bottom-tab-bar-action-surface-focus, var(--actions-high-surface-focused));color:var(--ui-bottom-tab-bar-action-color-focus, var(--actions-high-content-focused))}.ui-bottom-tab-action._high:active:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-pressed, var(--actions-high-surface-pressed));color:var(--ui-bottom-tab-bar-action-color-pressed, var(--actions-high-content-pressed))}.ui-bottom-tab-action._high:disabled{background-color:var(--ui-bottom-tab-bar-action-surface-disabled, var(--actions-high-surface-disabled));color:var(--ui-bottom-tab-bar-action-color-disabled, var(--actions-high-content-disabled))}.ui-bottom-tab-action._low{background-color:var(--ui-bottom-tab-bar-action-surface, var(--actions-low-surface-default));color:var(--ui-bottom-tab-bar-action-color, var(--actions-low-content-default))}.ui-bottom-tab-action._low:hover:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-hover, var(--actions-low-surface-hover));color:var(--ui-bottom-tab-bar-action-color-hover, var(--actions-low-content-hover))}.ui-bottom-tab-action._low:focus-visible{background-color:var(--ui-bottom-tab-bar-action-surface-focus, var(--actions-low-surface-focused));color:var(--ui-bottom-tab-bar-action-color-focus, var(--actions-low-content-focused))}.ui-bottom-tab-action._low:active:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-pressed, var(--actions-low-surface-pressed));color:var(--ui-bottom-tab-bar-action-color-pressed, var(--actions-low-content-pressed))}.ui-bottom-tab-action._low:disabled{background-color:var(--ui-bottom-tab-bar-action-surface-disabled, var(--actions-low-surface-disabled));color:var(--ui-bottom-tab-bar-action-color-disabled, var(--actions-low-content-disabled))}.ui-bottom-tab-action._success{background-color:var(--ui-bottom-tab-bar-action-surface, var(--actions-success-surface-default));color:var(--ui-bottom-tab-bar-action-color, var(--actions-success-content-default))}.ui-bottom-tab-action._success:hover:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-hover, var(--actions-success-surface-hover));color:var(--ui-bottom-tab-bar-action-color-hover, var(--actions-success-content-hover))}.ui-bottom-tab-action._success:focus-visible{background-color:var(--ui-bottom-tab-bar-action-surface-focus, var(--actions-success-surface-focused));color:var(--ui-bottom-tab-bar-action-color-focus, var(--actions-success-content-focused))}.ui-bottom-tab-action._success:active:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-pressed, var(--actions-success-surface-pressed));color:var(--ui-bottom-tab-bar-action-color-pressed, var(--actions-success-content-pressed))}.ui-bottom-tab-action._success:disabled{background-color:var(--ui-bottom-tab-bar-action-surface-disabled, var(--actions-success-surface-disabled));color:var(--ui-bottom-tab-bar-action-color-disabled, var(--actions-success-content-disabled))}.ui-bottom-tab-action._warning{background-color:var(--ui-bottom-tab-bar-action-surface, var(--actions-warning-surface-default));color:var(--ui-bottom-tab-bar-action-color, var(--actions-warning-content-default))}.ui-bottom-tab-action._warning:hover:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-hover, var(--actions-warning-surface-hover));color:var(--ui-bottom-tab-bar-action-color-hover, var(--actions-warning-content-hover))}.ui-bottom-tab-action._warning:focus-visible{background-color:var(--ui-bottom-tab-bar-action-surface-focus, var(--actions-warning-surface-focused));color:var(--ui-bottom-tab-bar-action-color-focus, var(--actions-warning-content-focused))}.ui-bottom-tab-action._warning:active:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-pressed, var(--actions-warning-surface-pressed));color:var(--ui-bottom-tab-bar-action-color-pressed, var(--actions-warning-content-pressed))}.ui-bottom-tab-action._warning:disabled{background-color:var(--ui-bottom-tab-bar-action-surface-disabled, var(--actions-warning-surface-disabled));color:var(--ui-bottom-tab-bar-action-color-disabled, var(--actions-warning-content-disabled))}.ui-bottom-tab-action._error{background-color:var(--ui-bottom-tab-bar-action-surface, var(--actions-error-surface-default));color:var(--ui-bottom-tab-bar-action-color, var(--actions-error-content-default))}.ui-bottom-tab-action._error:hover:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-hover, var(--actions-error-surface-hover));color:var(--ui-bottom-tab-bar-action-color-hover, var(--actions-error-content-hover))}.ui-bottom-tab-action._error:focus-visible{background-color:var(--ui-bottom-tab-bar-action-surface-focus, var(--actions-error-surface-focused));color:var(--ui-bottom-tab-bar-action-color-focus, var(--actions-error-content-focused))}.ui-bottom-tab-action._error:active:not(:disabled){background-color:var(--ui-bottom-tab-bar-action-surface-pressed, var(--actions-error-surface-pressed));color:var(--ui-bottom-tab-bar-action-color-pressed, var(--actions-error-content-pressed))}.ui-bottom-tab-action._error:disabled{background-color:var(--ui-bottom-tab-bar-action-surface-disabled, var(--actions-error-surface-disabled));color:var(--ui-bottom-tab-bar-action-color-disabled, var(--actions-error-content-disabled))}.ui-bottom-tab-action-icon{--ui-icon-size: var(--ui-bottom-tab-bar-action-icon-size, var(--size-typography-icon-xl))}\n"]
|
|
527
|
+
}]
|
|
528
|
+
}],
|
|
529
|
+
ctorParameters: () => [],
|
|
530
|
+
propDecorators: {
|
|
531
|
+
icon: [{
|
|
532
|
+
type: i0.Input,
|
|
533
|
+
args: [{
|
|
534
|
+
isSignal: true,
|
|
535
|
+
alias: "icon",
|
|
536
|
+
required: false
|
|
537
|
+
}]
|
|
538
|
+
}],
|
|
539
|
+
iconType: [{
|
|
540
|
+
type: i0.Input,
|
|
541
|
+
args: [{
|
|
542
|
+
isSignal: true,
|
|
543
|
+
alias: "iconType",
|
|
544
|
+
required: false
|
|
545
|
+
}]
|
|
546
|
+
}],
|
|
547
|
+
level: [{
|
|
548
|
+
type: i0.Input,
|
|
549
|
+
args: [{
|
|
550
|
+
isSignal: true,
|
|
551
|
+
alias: "level",
|
|
552
|
+
required: false
|
|
553
|
+
}]
|
|
554
|
+
}],
|
|
555
|
+
ariaLabel: [{
|
|
556
|
+
type: i0.Input,
|
|
557
|
+
args: [{
|
|
558
|
+
isSignal: true,
|
|
559
|
+
alias: "ariaLabel",
|
|
560
|
+
required: false
|
|
561
|
+
}]
|
|
562
|
+
}],
|
|
563
|
+
disabled: [{
|
|
564
|
+
type: i0.Input,
|
|
565
|
+
args: [{
|
|
566
|
+
isSignal: true,
|
|
567
|
+
alias: "disabled",
|
|
568
|
+
required: false
|
|
569
|
+
}]
|
|
570
|
+
}],
|
|
571
|
+
ripple: [{
|
|
572
|
+
type: i0.Input,
|
|
573
|
+
args: [{
|
|
574
|
+
isSignal: true,
|
|
575
|
+
alias: "ripple",
|
|
576
|
+
required: false
|
|
577
|
+
}]
|
|
578
|
+
}],
|
|
579
|
+
actionClick: [{
|
|
580
|
+
type: i0.Output,
|
|
581
|
+
args: ["actionClick"]
|
|
582
|
+
}],
|
|
583
|
+
controlEl: [{
|
|
584
|
+
type: i0.ViewChild,
|
|
585
|
+
args: ["control", { isSignal: true }]
|
|
586
|
+
}]
|
|
587
|
+
}
|
|
588
|
+
});
|
|
589
|
+
var UiBottomTabBar = class UiBottomTabBar {
|
|
590
|
+
constructor() {
|
|
591
|
+
this.value = model(void 0, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
592
|
+
this.ariaLabel = input("Navigation principale", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
593
|
+
this.showLabels = input(true, {
|
|
594
|
+
...ngDevMode ? { debugName: "showLabels" } : /* istanbul ignore next */ {},
|
|
595
|
+
transform: booleanAttribute
|
|
596
|
+
});
|
|
597
|
+
this.safeArea = input(true, {
|
|
598
|
+
...ngDevMode ? { debugName: "safeArea" } : /* istanbul ignore next */ {},
|
|
599
|
+
transform: booleanAttribute
|
|
600
|
+
});
|
|
601
|
+
this.contained = input(false, {
|
|
602
|
+
...ngDevMode ? { debugName: "contained" } : /* istanbul ignore next */ {},
|
|
603
|
+
transform: booleanAttribute
|
|
604
|
+
});
|
|
605
|
+
this.ripple = input(true, {
|
|
606
|
+
...ngDevMode ? { debugName: "ripple" } : /* istanbul ignore next */ {},
|
|
607
|
+
transform: booleanAttribute
|
|
608
|
+
});
|
|
609
|
+
this.tabChange = output();
|
|
610
|
+
this.navEl = viewChild.required("nav", ...ngDevMode ? [{ debugName: "navEl" }] : /* istanbul ignore next */ []);
|
|
611
|
+
this.classes = computed(() => {
|
|
612
|
+
const c = ["ui-bottom-tab-bar"];
|
|
613
|
+
if (this.contained()) c.push("_contained");
|
|
614
|
+
if (!this.safeArea()) c.push("_no-safe-area");
|
|
615
|
+
if (!this.showLabels()) c.push("_no-labels");
|
|
616
|
+
return c.join(" ");
|
|
617
|
+
}, ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
618
|
+
}
|
|
619
|
+
isActive(value) {
|
|
620
|
+
return this.value() === value;
|
|
621
|
+
}
|
|
622
|
+
updateValue(value, event) {
|
|
623
|
+
if (this.value() === value) return;
|
|
624
|
+
this.value.set(value);
|
|
625
|
+
this.tabChange.emit({
|
|
626
|
+
value,
|
|
627
|
+
originalEvent: event
|
|
628
|
+
});
|
|
629
|
+
}
|
|
630
|
+
onKeydown(event) {
|
|
631
|
+
if (![
|
|
632
|
+
"ArrowRight",
|
|
633
|
+
"ArrowLeft",
|
|
634
|
+
"Home",
|
|
635
|
+
"End"
|
|
636
|
+
].includes(event.key)) return;
|
|
637
|
+
const controls = Array.from(this.navEl().nativeElement.querySelectorAll(CONTROL_SELECTOR)).filter((el) => !el.hasAttribute("disabled") && el.getAttribute("tabindex") !== "-1");
|
|
638
|
+
if (!controls.length) return;
|
|
639
|
+
let pos = controls.indexOf(document.activeElement);
|
|
640
|
+
if (pos === -1) return;
|
|
641
|
+
event.preventDefault();
|
|
642
|
+
switch (event.key) {
|
|
643
|
+
case "ArrowRight":
|
|
644
|
+
pos = (pos + 1) % controls.length;
|
|
645
|
+
break;
|
|
646
|
+
case "ArrowLeft":
|
|
647
|
+
pos = (pos - 1 + controls.length) % controls.length;
|
|
648
|
+
break;
|
|
649
|
+
case "Home":
|
|
650
|
+
pos = 0;
|
|
651
|
+
break;
|
|
652
|
+
case "End": pos = controls.length - 1;
|
|
653
|
+
}
|
|
654
|
+
controls[pos].focus();
|
|
655
|
+
}
|
|
656
|
+
static {
|
|
657
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
658
|
+
minVersion: "12.0.0",
|
|
659
|
+
version: "22.3.0",
|
|
660
|
+
ngImport: i0,
|
|
661
|
+
type: UiBottomTabBar,
|
|
662
|
+
deps: [],
|
|
663
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
664
|
+
});
|
|
665
|
+
}
|
|
666
|
+
static {
|
|
667
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
668
|
+
minVersion: "17.2.0",
|
|
669
|
+
version: "22.3.0",
|
|
670
|
+
type: UiBottomTabBar,
|
|
671
|
+
isStandalone: true,
|
|
672
|
+
selector: "ui-bottom-tab-bar",
|
|
673
|
+
inputs: {
|
|
674
|
+
value: {
|
|
675
|
+
classPropertyName: "value",
|
|
676
|
+
publicName: "value",
|
|
677
|
+
isSignal: true,
|
|
678
|
+
isRequired: false,
|
|
679
|
+
transformFunction: null
|
|
680
|
+
},
|
|
681
|
+
ariaLabel: {
|
|
682
|
+
classPropertyName: "ariaLabel",
|
|
683
|
+
publicName: "ariaLabel",
|
|
684
|
+
isSignal: true,
|
|
685
|
+
isRequired: false,
|
|
686
|
+
transformFunction: null
|
|
687
|
+
},
|
|
688
|
+
showLabels: {
|
|
689
|
+
classPropertyName: "showLabels",
|
|
690
|
+
publicName: "showLabels",
|
|
691
|
+
isSignal: true,
|
|
692
|
+
isRequired: false,
|
|
693
|
+
transformFunction: null
|
|
694
|
+
},
|
|
695
|
+
safeArea: {
|
|
696
|
+
classPropertyName: "safeArea",
|
|
697
|
+
publicName: "safeArea",
|
|
698
|
+
isSignal: true,
|
|
699
|
+
isRequired: false,
|
|
700
|
+
transformFunction: null
|
|
701
|
+
},
|
|
702
|
+
contained: {
|
|
703
|
+
classPropertyName: "contained",
|
|
704
|
+
publicName: "contained",
|
|
705
|
+
isSignal: true,
|
|
706
|
+
isRequired: false,
|
|
707
|
+
transformFunction: null
|
|
708
|
+
},
|
|
709
|
+
ripple: {
|
|
710
|
+
classPropertyName: "ripple",
|
|
711
|
+
publicName: "ripple",
|
|
712
|
+
isSignal: true,
|
|
713
|
+
isRequired: false,
|
|
714
|
+
transformFunction: null
|
|
715
|
+
}
|
|
716
|
+
},
|
|
717
|
+
outputs: {
|
|
718
|
+
value: "valueChange",
|
|
719
|
+
tabChange: "tabChange"
|
|
720
|
+
},
|
|
721
|
+
host: { listeners: { "keydown": "onKeydown($event)" } },
|
|
722
|
+
viewQueries: [{
|
|
723
|
+
propertyName: "navEl",
|
|
724
|
+
first: true,
|
|
725
|
+
predicate: ["nav"],
|
|
726
|
+
descendants: true,
|
|
727
|
+
isSignal: true
|
|
728
|
+
}],
|
|
729
|
+
ngImport: i0,
|
|
730
|
+
template: `
|
|
347
731
|
<nav #nav [class]="classes()" [attr.aria-label]="ariaLabel()">
|
|
348
732
|
<ng-content />
|
|
349
733
|
</nav>
|
|
350
|
-
`,
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
734
|
+
`,
|
|
735
|
+
isInline: true,
|
|
736
|
+
styles: [":host{display:contents}.ui-bottom-tab-bar{position:fixed;right:0;bottom:0;left:0;z-index:var(--ui-bottom-tab-bar-z-index, 100);display:flex;align-items:center;box-sizing:border-box;gap:var(--ui-bottom-tab-bar-gap, 0);min-height:calc(var(--ui-bottom-tab-bar-min-height, 3.5rem) + var(--ui-bottom-tab-bar-safe-area-offset, env(safe-area-inset-bottom, 0px)));padding:0 var(--ui-bottom-tab-bar-padding-x, 0) var(--ui-bottom-tab-bar-safe-area-offset, env(safe-area-inset-bottom, 0px));border-top:var(--ui-bottom-tab-bar-stroke-width, var(--stroke-sm)) solid var(--ui-bottom-tab-bar-stroke, var(--global-border-default));background-color:var(--ui-bottom-tab-bar-surface, var(--global-background-default));box-shadow:var(--ui-bottom-tab-bar-shadow, none);touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;overflow:visible}.ui-bottom-tab-bar._contained{position:absolute}.ui-bottom-tab-bar._no-safe-area{min-height:var(--ui-bottom-tab-bar-min-height, 3.5rem);padding-bottom:0}@media print{.ui-bottom-tab-bar{display:none}}\n"]
|
|
737
|
+
});
|
|
738
|
+
}
|
|
739
|
+
};
|
|
740
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
741
|
+
minVersion: "12.0.0",
|
|
742
|
+
version: "22.3.0",
|
|
743
|
+
ngImport: i0,
|
|
744
|
+
type: UiBottomTabBar,
|
|
745
|
+
decorators: [{
|
|
746
|
+
type: Component,
|
|
747
|
+
args: [{
|
|
748
|
+
selector: "ui-bottom-tab-bar",
|
|
749
|
+
template: `
|
|
355
750
|
<nav #nav [class]="classes()" [attr.aria-label]="ariaLabel()">
|
|
356
751
|
<ng-content />
|
|
357
752
|
</nav>
|
|
358
|
-
`,
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
753
|
+
`,
|
|
754
|
+
host: { "(keydown)": "onKeydown($event)" },
|
|
755
|
+
styles: [":host{display:contents}.ui-bottom-tab-bar{position:fixed;right:0;bottom:0;left:0;z-index:var(--ui-bottom-tab-bar-z-index, 100);display:flex;align-items:center;box-sizing:border-box;gap:var(--ui-bottom-tab-bar-gap, 0);min-height:calc(var(--ui-bottom-tab-bar-min-height, 3.5rem) + var(--ui-bottom-tab-bar-safe-area-offset, env(safe-area-inset-bottom, 0px)));padding:0 var(--ui-bottom-tab-bar-padding-x, 0) var(--ui-bottom-tab-bar-safe-area-offset, env(safe-area-inset-bottom, 0px));border-top:var(--ui-bottom-tab-bar-stroke-width, var(--stroke-sm)) solid var(--ui-bottom-tab-bar-stroke, var(--global-border-default));background-color:var(--ui-bottom-tab-bar-surface, var(--global-background-default));box-shadow:var(--ui-bottom-tab-bar-shadow, none);touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;overflow:visible}.ui-bottom-tab-bar._contained{position:absolute}.ui-bottom-tab-bar._no-safe-area{min-height:var(--ui-bottom-tab-bar-min-height, 3.5rem);padding-bottom:0}@media print{.ui-bottom-tab-bar{display:none}}\n"]
|
|
756
|
+
}]
|
|
757
|
+
}],
|
|
758
|
+
propDecorators: {
|
|
759
|
+
value: [{
|
|
760
|
+
type: i0.Input,
|
|
761
|
+
args: [{
|
|
762
|
+
isSignal: true,
|
|
763
|
+
alias: "value",
|
|
764
|
+
required: false
|
|
765
|
+
}]
|
|
766
|
+
}, {
|
|
767
|
+
type: i0.Output,
|
|
768
|
+
args: ["valueChange"]
|
|
769
|
+
}],
|
|
770
|
+
ariaLabel: [{
|
|
771
|
+
type: i0.Input,
|
|
772
|
+
args: [{
|
|
773
|
+
isSignal: true,
|
|
774
|
+
alias: "ariaLabel",
|
|
775
|
+
required: false
|
|
776
|
+
}]
|
|
777
|
+
}],
|
|
778
|
+
showLabels: [{
|
|
779
|
+
type: i0.Input,
|
|
780
|
+
args: [{
|
|
781
|
+
isSignal: true,
|
|
782
|
+
alias: "showLabels",
|
|
783
|
+
required: false
|
|
784
|
+
}]
|
|
785
|
+
}],
|
|
786
|
+
safeArea: [{
|
|
787
|
+
type: i0.Input,
|
|
788
|
+
args: [{
|
|
789
|
+
isSignal: true,
|
|
790
|
+
alias: "safeArea",
|
|
791
|
+
required: false
|
|
792
|
+
}]
|
|
793
|
+
}],
|
|
794
|
+
contained: [{
|
|
795
|
+
type: i0.Input,
|
|
796
|
+
args: [{
|
|
797
|
+
isSignal: true,
|
|
798
|
+
alias: "contained",
|
|
799
|
+
required: false
|
|
800
|
+
}]
|
|
801
|
+
}],
|
|
802
|
+
ripple: [{
|
|
803
|
+
type: i0.Input,
|
|
804
|
+
args: [{
|
|
805
|
+
isSignal: true,
|
|
806
|
+
alias: "ripple",
|
|
807
|
+
required: false
|
|
808
|
+
}]
|
|
809
|
+
}],
|
|
810
|
+
tabChange: [{
|
|
811
|
+
type: i0.Output,
|
|
812
|
+
args: ["tabChange"]
|
|
813
|
+
}],
|
|
814
|
+
navEl: [{
|
|
815
|
+
type: i0.ViewChild,
|
|
816
|
+
args: ["nav", { isSignal: true }]
|
|
817
|
+
}]
|
|
818
|
+
}
|
|
819
|
+
});
|
|
369
820
|
export { UiBottomTab, UiBottomTabAction, UiBottomTabBar };
|
|
370
|
-
|
|
821
|
+
|
|
822
|
+
//# sourceMappingURL=4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs.map
|