@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.
Files changed (220) hide show
  1. package/README.fr.md +18 -10
  2. package/README.md +18 -10
  3. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +542 -150
  4. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -1
  5. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +622 -248
  6. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
  7. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +385 -152
  8. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
  9. package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +748 -433
  10. package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs.map +1 -1
  11. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs +227 -135
  12. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -1
  13. package/fesm2022/4sh-ui-kit-base-ui-image.mjs +1200 -633
  14. package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
  15. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +1675 -953
  16. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
  17. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +243 -117
  18. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -1
  19. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +2294 -2039
  20. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
  21. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +1058 -1113
  22. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -1
  23. package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs +1108 -0
  24. package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs.map +1 -0
  25. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +397 -141
  26. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
  27. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +1529 -583
  28. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
  29. package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs +383 -224
  30. package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs.map +1 -1
  31. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +345 -177
  32. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -1
  33. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +280 -130
  34. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
  35. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +507 -246
  36. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
  37. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +401 -291
  38. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
  39. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +1277 -697
  40. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
  41. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +467 -194
  42. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
  43. package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs +394 -270
  44. package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs.map +1 -1
  45. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +140 -60
  46. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs.map +1 -1
  47. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +386 -167
  48. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
  49. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +150 -87
  50. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
  51. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +345 -180
  52. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
  53. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +582 -392
  54. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
  55. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +1552 -888
  56. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
  57. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +485 -338
  58. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
  59. package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +503 -311
  60. package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs.map +1 -1
  61. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +271 -131
  62. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
  63. package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs +457 -214
  64. package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs.map +1 -1
  65. package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +711 -371
  66. package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs.map +1 -1
  67. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +235 -121
  68. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
  69. package/fesm2022/4sh-ui-kit-forms.mjs +723 -596
  70. package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
  71. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +546 -242
  72. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
  73. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +335 -157
  74. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -1
  75. package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs +53 -33
  76. package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs.map +1 -1
  77. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs +218 -121
  78. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs.map +1 -1
  79. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +192 -100
  80. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -1
  81. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +456 -204
  82. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
  83. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs +314 -147
  84. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs.map +1 -1
  85. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs +179 -82
  86. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs.map +1 -1
  87. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +268 -123
  88. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
  89. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs +391 -146
  90. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -1
  91. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs +158 -76
  92. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs.map +1 -1
  93. package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs +159 -80
  94. package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs.map +1 -1
  95. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs +295 -131
  96. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -1
  97. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +211 -83
  98. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -1
  99. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +784 -414
  100. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
  101. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +822 -476
  102. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
  103. package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs +1014 -599
  104. package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs.map +1 -1
  105. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs +403 -189
  106. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -1
  107. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +707 -272
  108. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
  109. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +1146 -568
  110. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
  111. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs +519 -308
  112. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -1
  113. package/fesm2022/4sh-ui-kit-motion.mjs +252 -150
  114. package/fesm2022/4sh-ui-kit-motion.mjs.map +1 -1
  115. package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs +793 -341
  116. package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs.map +1 -1
  117. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +351 -194
  118. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
  119. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +511 -220
  120. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -1
  121. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +910 -548
  122. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
  123. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +1128 -555
  124. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
  125. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +915 -470
  126. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
  127. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +931 -474
  128. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
  129. package/fesm2022/4sh-ui-kit-overlay.mjs +26 -109
  130. package/fesm2022/4sh-ui-kit-overlay.mjs.map +1 -1
  131. package/fesm2022/4sh-ui-kit-ripple.mjs +329 -290
  132. package/fesm2022/4sh-ui-kit-ripple.mjs.map +1 -1
  133. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +709 -248
  134. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
  135. package/fesm2022/4sh-ui-kit-table-ui-table.mjs +2633 -1370
  136. package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
  137. package/fesm2022/4sh-ui-kit-theming.mjs +112 -113
  138. package/fesm2022/4sh-ui-kit-theming.mjs.map +1 -1
  139. package/fesm2022/4sh-ui-kit-types.mjs +0 -12
  140. package/fesm2022/4sh-ui-kit.mjs +3 -15
  141. package/fesm2022/4sh-ui-kit.mjs.map +1 -1
  142. package/mcp/data/component-api.json +313 -2
  143. package/mcp/data/text-search-docs.json +177 -17
  144. package/mcp/data/ui-config.json +378 -1
  145. package/mcp/index.js +8190 -2876
  146. package/mcp/package.json +1 -1
  147. package/package.json +5 -1
  148. package/styles/component-vars.scss +22 -1
  149. package/styles/utils/_mixins.scss +11 -0
  150. package/types/4sh-ui-kit-actions-ui-button-split.d.ts +198 -87
  151. package/types/4sh-ui-kit-actions-ui-button.d.ts +240 -116
  152. package/types/4sh-ui-kit-actions-ui-link.d.ts +136 -67
  153. package/types/4sh-ui-kit-actions-ui-speed-dial.d.ts +287 -180
  154. package/types/4sh-ui-kit-base-ui-icon.d.ts +92 -58
  155. package/types/4sh-ui-kit-base-ui-image.d.ts +406 -205
  156. package/types/4sh-ui-kit-forms-ui-autocomplete.d.ts +577 -367
  157. package/types/4sh-ui-kit-forms-ui-checkbox.d.ts +77 -42
  158. package/types/4sh-ui-kit-forms-ui-datepicker.d.ts +953 -700
  159. package/types/4sh-ui-kit-forms-ui-editor.d.ts +374 -340
  160. package/types/4sh-ui-kit-forms-ui-field-sign.d.ts +325 -0
  161. package/types/4sh-ui-kit-forms-ui-field.d.ts +150 -64
  162. package/types/4sh-ui-kit-forms-ui-file-upload.d.ts +583 -241
  163. package/types/4sh-ui-kit-forms-ui-input-date.d.ts +152 -103
  164. package/types/4sh-ui-kit-forms-ui-input-group.d.ts +109 -63
  165. package/types/4sh-ui-kit-forms-ui-input-mask.d.ts +93 -57
  166. package/types/4sh-ui-kit-forms-ui-input-number.d.ts +171 -93
  167. package/types/4sh-ui-kit-forms-ui-input-otp.d.ts +137 -100
  168. package/types/4sh-ui-kit-forms-ui-input-tags.d.ts +469 -309
  169. package/types/4sh-ui-kit-forms-ui-input.d.ts +198 -116
  170. package/types/4sh-ui-kit-forms-ui-knob.d.ts +132 -80
  171. package/types/4sh-ui-kit-forms-ui-label.d.ts +47 -22
  172. package/types/4sh-ui-kit-forms-ui-nudger.d.ts +134 -67
  173. package/types/4sh-ui-kit-forms-ui-radio.d.ts +48 -33
  174. package/types/4sh-ui-kit-forms-ui-rating.d.ts +120 -86
  175. package/types/4sh-ui-kit-forms-ui-segment-control.d.ts +221 -147
  176. package/types/4sh-ui-kit-forms-ui-select.d.ts +561 -357
  177. package/types/4sh-ui-kit-forms-ui-slider.d.ts +156 -105
  178. package/types/4sh-ui-kit-forms-ui-swatch-picker.d.ts +133 -97
  179. package/types/4sh-ui-kit-forms-ui-textarea.d.ts +90 -54
  180. package/types/4sh-ui-kit-forms-ui-toggle-block.d.ts +158 -94
  181. package/types/4sh-ui-kit-forms-ui-toggle-button.d.ts +314 -178
  182. package/types/4sh-ui-kit-forms-ui-toggle.d.ts +88 -54
  183. package/types/4sh-ui-kit-forms.d.ts +291 -186
  184. package/types/4sh-ui-kit-informative-ui-accordion.d.ts +162 -92
  185. package/types/4sh-ui-kit-informative-ui-alert.d.ts +128 -62
  186. package/types/4sh-ui-kit-informative-ui-avatar-group.d.ts +8 -8
  187. package/types/4sh-ui-kit-informative-ui-avatar.d.ts +81 -44
  188. package/types/4sh-ui-kit-informative-ui-badge.d.ts +71 -41
  189. package/types/4sh-ui-kit-informative-ui-chip.d.ts +194 -99
  190. package/types/4sh-ui-kit-informative-ui-empty-state.d.ts +105 -65
  191. package/types/4sh-ui-kit-informative-ui-helper.d.ts +64 -34
  192. package/types/4sh-ui-kit-informative-ui-progress-bar.d.ts +120 -65
  193. package/types/4sh-ui-kit-informative-ui-read-only.d.ts +147 -67
  194. package/types/4sh-ui-kit-informative-ui-separator.d.ts +65 -35
  195. package/types/4sh-ui-kit-informative-ui-skeleton.d.ts +62 -32
  196. package/types/4sh-ui-kit-informative-ui-spinner.d.ts +111 -50
  197. package/types/4sh-ui-kit-informative-ui-tag.d.ts +77 -37
  198. package/types/4sh-ui-kit-informative-ui-toast.d.ts +300 -180
  199. package/types/4sh-ui-kit-informative-ui-tooltip.d.ts +269 -141
  200. package/types/4sh-ui-kit-layout-ui-bottom-sheet.d.ts +360 -221
  201. package/types/4sh-ui-kit-layout-ui-card.d.ts +119 -79
  202. package/types/4sh-ui-kit-layout-ui-drawer.d.ts +244 -120
  203. package/types/4sh-ui-kit-layout-ui-modal.d.ts +409 -222
  204. package/types/4sh-ui-kit-layout-ui-popover.d.ts +149 -91
  205. package/types/4sh-ui-kit-motion.d.ts +117 -67
  206. package/types/4sh-ui-kit-navigation-ui-bottom-tab-bar.d.ts +279 -145
  207. package/types/4sh-ui-kit-navigation-ui-breadcrumb.d.ts +134 -96
  208. package/types/4sh-ui-kit-navigation-ui-context-menu.d.ts +148 -89
  209. package/types/4sh-ui-kit-navigation-ui-menu.d.ts +282 -201
  210. package/types/4sh-ui-kit-navigation-ui-sidebar.d.ts +425 -261
  211. package/types/4sh-ui-kit-navigation-ui-stepper.d.ts +279 -183
  212. package/types/4sh-ui-kit-navigation-ui-tabs.d.ts +275 -173
  213. package/types/4sh-ui-kit-overlay.d.ts +6 -6
  214. package/types/4sh-ui-kit-ripple.d.ts +99 -74
  215. package/types/4sh-ui-kit-table-ui-paginator.d.ts +237 -133
  216. package/types/4sh-ui-kit-table-ui-table.d.ts +769 -470
  217. package/types/4sh-ui-kit-theming.d.ts +27 -29
  218. package/types/4sh-ui-kit-types.d.ts +6 -5
  219. package/types/4sh-ui-kit.d.ts +4 -3
  220. package/fesm2022/4sh-ui-kit-types.mjs.map +0 -1
@@ -1,7 +1,9 @@
1
- import * as _angular_core from '@angular/core';
2
- import { InjectionToken, TemplateRef, Provider } from '@angular/core';
3
- import { SafeHtml } from '@angular/platform-browser';
4
-
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import * as i0 from "@angular/core";
5
+ import { InjectionToken, Provider, TemplateRef } from "@angular/core";
6
+ import { SafeHtml } from "@angular/platform-browser";
5
7
  /**
6
8
  * ui-image-preview — the enlarged view (lightbox) opened by `ui-image`'s
7
9
  * `preview` mode.
@@ -16,84 +18,166 @@ import { SafeHtml } from '@angular/platform-browser';
16
18
  * source, so a separate entry point would be a cycle. Mount it directly only to
17
19
  * drive the enlarged view yourself.
18
20
  */
19
- declare class UiImagePreview {
20
- private readonly document;
21
- /** URL of the image to show enlarged (already resolved — `http(s)`, `blob:` or `data:`). */
22
- src: _angular_core.InputSignal<string>;
23
- /** Alt text of the enlarged image (empty = decorative). */
24
- alt: _angular_core.InputSignal<string>;
25
- /** Accessible name of the dialog. */
26
- ariaLabel: _angular_core.InputSignal<string>;
27
- /** Zoom increment applied by one toolbar click, one wheel notch or one `+`/`-` press. */
28
- zoomStep: _angular_core.InputSignalWithTransform<number, unknown>;
29
- /** Lower zoom bound. */
30
- minZoom: _angular_core.InputSignalWithTransform<number, unknown>;
31
- /** Upper zoom bound. */
32
- maxZoom: _angular_core.InputSignalWithTransform<number, unknown>;
33
- /** Offer a download action in the toolbar. */
34
- downloadable: _angular_core.InputSignalWithTransform<boolean, unknown>;
35
- /** Filename proposed by the download action (defaults to the browser's choice). */
36
- downloadName: _angular_core.InputSignal<string | undefined>;
37
- /** Close when the mask around the image is clicked. */
38
- dismissableMask: _angular_core.InputSignalWithTransform<boolean, unknown>;
39
- /** Accessible name of the zoom-in button. */
40
- zoomInAriaLabel: _angular_core.InputSignal<string>;
41
- /** Accessible name of the zoom-out button. */
42
- zoomOutAriaLabel: _angular_core.InputSignal<string>;
43
- /** Accessible name of the rotate-left button. */
44
- rotateLeftAriaLabel: _angular_core.InputSignal<string>;
45
- /** Accessible name of the rotate-right button. */
46
- rotateRightAriaLabel: _angular_core.InputSignal<string>;
47
- /** Accessible name of the button that resets zoom and rotation. */
48
- resetAriaLabel: _angular_core.InputSignal<string>;
49
- /** Accessible name of the download button. */
50
- downloadAriaLabel: _angular_core.InputSignal<string>;
51
- /** Accessible name of the close button. */
52
- closeAriaLabel: _angular_core.InputSignal<string>;
53
- /** Emitted when the view asks to be dismissed (Escape, close button, mask click). */
54
- closed: _angular_core.OutputEmitterRef<void>;
55
- private readonly stage;
56
- protected readonly scale: _angular_core.WritableSignal<number>;
57
- protected readonly rotation: _angular_core.WritableSignal<number>;
58
- protected readonly panX: _angular_core.WritableSignal<number>;
59
- protected readonly panY: _angular_core.WritableSignal<number>;
60
- protected readonly canZoomIn: _angular_core.Signal<boolean>;
61
- protected readonly canZoomOut: _angular_core.Signal<boolean>;
62
- /** Nothing to reset while the three transforms are at their neutral value. */
63
- protected readonly isPristine: _angular_core.Signal<boolean>;
64
- /** Panning only makes sense once the image overflows its stage. */
65
- protected readonly canPan: _angular_core.Signal<boolean>;
66
- /** A quarter turn: what is drawn no longer fits the layout box's axes. */
67
- protected readonly isQuarterTurned: _angular_core.Signal<boolean>;
68
- protected readonly transform: _angular_core.Signal<string>;
69
- constructor();
70
- protected zoomIn(): void;
71
- protected zoomOut(): void;
72
- protected rotateLeft(): void;
73
- protected rotateRight(): void;
74
- protected reset(): void;
75
- protected close(): void;
76
- /** A press that lands on the stage itself (not on the image) is a press outside. */
77
- protected onStagePointerDown(event: PointerEvent): void;
78
- protected onWheel(event: WheelEvent): void;
79
- protected onKeydown(event: KeyboardEvent): void;
80
- private dragOrigin;
81
- protected onPointerDown(event: PointerEvent): void;
82
- protected onPointerMove(event: PointerEvent): void;
83
- protected onPointerUp(event: PointerEvent): void;
84
- private setScale;
85
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiImagePreview, never>;
86
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiImagePreview, "ui-image-preview", never, { "src": { "alias": "src"; "required": true; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "zoomStep": { "alias": "zoomStep"; "required": false; "isSignal": true; }; "minZoom": { "alias": "minZoom"; "required": false; "isSignal": true; }; "maxZoom": { "alias": "maxZoom"; "required": false; "isSignal": true; }; "downloadable": { "alias": "downloadable"; "required": false; "isSignal": true; }; "downloadName": { "alias": "downloadName"; "required": false; "isSignal": true; }; "dismissableMask": { "alias": "dismissableMask"; "required": false; "isSignal": true; }; "zoomInAriaLabel": { "alias": "zoomInAriaLabel"; "required": false; "isSignal": true; }; "zoomOutAriaLabel": { "alias": "zoomOutAriaLabel"; "required": false; "isSignal": true; }; "rotateLeftAriaLabel": { "alias": "rotateLeftAriaLabel"; "required": false; "isSignal": true; }; "rotateRightAriaLabel": { "alias": "rotateRightAriaLabel"; "required": false; "isSignal": true; }; "resetAriaLabel": { "alias": "resetAriaLabel"; "required": false; "isSignal": true; }; "downloadAriaLabel": { "alias": "downloadAriaLabel"; "required": false; "isSignal": true; }; "closeAriaLabel": { "alias": "closeAriaLabel"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, never, true, never>;
21
+ export declare class UiImagePreview {
22
+ private readonly document;
23
+ /** URL of the image to show enlarged (already resolved — `http(s)`, `blob:` or `data:`). */
24
+ src: import("@angular/core").InputSignal<string>;
25
+ /** Alt text of the enlarged image (empty = decorative). */
26
+ alt: import("@angular/core").InputSignal<string>;
27
+ /** Accessible name of the dialog. */
28
+ ariaLabel: import("@angular/core").InputSignal<string>;
29
+ /** Zoom increment applied by one toolbar click, one wheel notch or one `+`/`-` press. */
30
+ zoomStep: import("@angular/core").InputSignalWithTransform<number, unknown>;
31
+ /** Lower zoom bound. */
32
+ minZoom: import("@angular/core").InputSignalWithTransform<number, unknown>;
33
+ /** Upper zoom bound. */
34
+ maxZoom: import("@angular/core").InputSignalWithTransform<number, unknown>;
35
+ /** Offer a download action in the toolbar. */
36
+ downloadable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
37
+ /** Filename proposed by the download action (defaults to the browser's choice). */
38
+ downloadName: import("@angular/core").InputSignal<string | undefined>;
39
+ /** Close when the mask around the image is clicked. */
40
+ dismissableMask: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
41
+ /** Accessible name of the zoom-in button. */
42
+ zoomInAriaLabel: import("@angular/core").InputSignal<string>;
43
+ /** Accessible name of the zoom-out button. */
44
+ zoomOutAriaLabel: import("@angular/core").InputSignal<string>;
45
+ /** Accessible name of the rotate-left button. */
46
+ rotateLeftAriaLabel: import("@angular/core").InputSignal<string>;
47
+ /** Accessible name of the rotate-right button. */
48
+ rotateRightAriaLabel: import("@angular/core").InputSignal<string>;
49
+ /** Accessible name of the button that resets zoom and rotation. */
50
+ resetAriaLabel: import("@angular/core").InputSignal<string>;
51
+ /** Accessible name of the download button. */
52
+ downloadAriaLabel: import("@angular/core").InputSignal<string>;
53
+ /** Accessible name of the close button. */
54
+ closeAriaLabel: import("@angular/core").InputSignal<string>;
55
+ /** Emitted when the view asks to be dismissed (Escape, close button, mask click). */
56
+ closed: import("@angular/core").OutputEmitterRef<void>;
57
+ private readonly stage;
58
+ protected readonly scale: import("@angular/core").WritableSignal<number>;
59
+ protected readonly rotation: import("@angular/core").WritableSignal<number>;
60
+ protected readonly panX: import("@angular/core").WritableSignal<number>;
61
+ protected readonly panY: import("@angular/core").WritableSignal<number>;
62
+ protected readonly canZoomIn: import("@angular/core").Signal<boolean>;
63
+ protected readonly canZoomOut: import("@angular/core").Signal<boolean>;
64
+ /** Nothing to reset while the three transforms are at their neutral value. */
65
+ protected readonly isPristine: import("@angular/core").Signal<boolean>;
66
+ /** Panning only makes sense once the image overflows its stage. */
67
+ protected readonly canPan: import("@angular/core").Signal<boolean>;
68
+ /** A quarter turn: what is drawn no longer fits the layout box's axes. */
69
+ protected readonly isQuarterTurned: import("@angular/core").Signal<boolean>;
70
+ protected readonly transform: import("@angular/core").Signal<string>;
71
+ constructor();
72
+ protected zoomIn(): void;
73
+ protected zoomOut(): void;
74
+ protected rotateLeft(): void;
75
+ protected rotateRight(): void;
76
+ protected reset(): void;
77
+ protected close(): void;
78
+ /** A press that lands on the stage itself (not on the image) is a press outside. */
79
+ protected onStagePointerDown(event: PointerEvent): void;
80
+ protected onWheel(event: WheelEvent): void;
81
+ protected onKeydown(event: KeyboardEvent): void;
82
+ private dragOrigin;
83
+ protected onPointerDown(event: PointerEvent): void;
84
+ protected onPointerMove(event: PointerEvent): void;
85
+ protected onPointerUp(event: PointerEvent): void;
86
+ private setScale;
87
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiImagePreview, never>;
88
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiImagePreview, "ui-image-preview", never, {
89
+ "src": {
90
+ "alias": "src";
91
+ "required": true;
92
+ "isSignal": true;
93
+ };
94
+ "alt": {
95
+ "alias": "alt";
96
+ "required": false;
97
+ "isSignal": true;
98
+ };
99
+ "ariaLabel": {
100
+ "alias": "ariaLabel";
101
+ "required": false;
102
+ "isSignal": true;
103
+ };
104
+ "zoomStep": {
105
+ "alias": "zoomStep";
106
+ "required": false;
107
+ "isSignal": true;
108
+ };
109
+ "minZoom": {
110
+ "alias": "minZoom";
111
+ "required": false;
112
+ "isSignal": true;
113
+ };
114
+ "maxZoom": {
115
+ "alias": "maxZoom";
116
+ "required": false;
117
+ "isSignal": true;
118
+ };
119
+ "downloadable": {
120
+ "alias": "downloadable";
121
+ "required": false;
122
+ "isSignal": true;
123
+ };
124
+ "downloadName": {
125
+ "alias": "downloadName";
126
+ "required": false;
127
+ "isSignal": true;
128
+ };
129
+ "dismissableMask": {
130
+ "alias": "dismissableMask";
131
+ "required": false;
132
+ "isSignal": true;
133
+ };
134
+ "zoomInAriaLabel": {
135
+ "alias": "zoomInAriaLabel";
136
+ "required": false;
137
+ "isSignal": true;
138
+ };
139
+ "zoomOutAriaLabel": {
140
+ "alias": "zoomOutAriaLabel";
141
+ "required": false;
142
+ "isSignal": true;
143
+ };
144
+ "rotateLeftAriaLabel": {
145
+ "alias": "rotateLeftAriaLabel";
146
+ "required": false;
147
+ "isSignal": true;
148
+ };
149
+ "rotateRightAriaLabel": {
150
+ "alias": "rotateRightAriaLabel";
151
+ "required": false;
152
+ "isSignal": true;
153
+ };
154
+ "resetAriaLabel": {
155
+ "alias": "resetAriaLabel";
156
+ "required": false;
157
+ "isSignal": true;
158
+ };
159
+ "downloadAriaLabel": {
160
+ "alias": "downloadAriaLabel";
161
+ "required": false;
162
+ "isSignal": true;
163
+ };
164
+ "closeAriaLabel": {
165
+ "alias": "closeAriaLabel";
166
+ "required": false;
167
+ "isSignal": true;
168
+ };
169
+ }, {
170
+ "closed": "closed";
171
+ }, never, never, true, never>;
87
172
  }
88
-
89
173
  interface ModeMap {
90
- base?: string;
91
- light?: string;
92
- dark?: string;
174
+ base?: string;
175
+ light?: string;
176
+ dark?: string;
93
177
  }
94
178
  type ThemeMap = Record<string, ModeMap>;
95
179
  /** filename → { brand|'common' → { base|light|dark → extension } }. */
96
- type UiImageAssetsMap = Record<string, ThemeMap>;
180
+ export type UiImageAssetsMap = Record<string, ThemeMap>;
97
181
  /**
98
182
  * Map of the LOCAL assets available to `ui-image` (its `name` input).
99
183
  *
@@ -103,7 +187,7 @@ type UiImageAssetsMap = Record<string, ThemeMap>;
103
187
  * `provideUiImageAssets()`. Without it, `name` resolves to nothing and the
104
188
  * component falls back to its placeholder — `src` (remote URLs) still works.
105
189
  */
106
- declare const UI_IMAGE_ASSETS: InjectionToken<UiImageAssetsMap>;
190
+ export declare const UI_IMAGE_ASSETS: InjectionToken<UiImageAssetsMap>;
107
191
  /**
108
192
  * Registers the local asset map consumed by `ui-image`.
109
193
  *
@@ -112,7 +196,7 @@ declare const UI_IMAGE_ASSETS: InjectionToken<UiImageAssetsMap>;
112
196
  * providers: [provideUiImageAssets(assetsMap)]
113
197
  * ```
114
198
  */
115
- declare function provideUiImageAssets(map: UiImageAssetsMap): Provider;
199
+ export declare function provideUiImageAssets(map: UiImageAssetsMap): Provider;
116
200
  /**
117
201
  * ui-image — theme/brand-aware image.
118
202
  *
@@ -131,130 +215,247 @@ declare function provideUiImageAssets(map: UiImageAssetsMap): Provider;
131
215
  * `preview` turns the image into a trigger for the enlarged view
132
216
  * (`ui-image-preview`): zoom, rotation, pan, reset, optional download.
133
217
  */
134
- declare class UiImage {
135
- private readonly sanitizer;
136
- private readonly assetsMap;
137
- private readonly themeService;
138
- private readonly brandService;
139
- private readonly isBrowser;
140
- /** Local asset key in `assets-map.json` (theme/brand-aware resolution). */
141
- name: _angular_core.InputSignal<string | undefined>;
142
- /** Remote/absolute URL, rendered via `NgOptimizedImage` — takes precedence over `name`. */
143
- src: _angular_core.InputSignal<string | undefined>;
144
- /** Local asset name (`assets-map.json` key) displayed when the main image fails to load. */
145
- fallback: _angular_core.InputSignal<string | undefined>;
146
- /** Loads the image eagerly with a high fetch priority (above-the-fold images); lazy otherwise. */
147
- priority: _angular_core.InputSignal<boolean>;
148
- /** Fills the parent box instead of using `width`/`height` (the parent must be positioned). */
149
- fill: _angular_core.InputSignal<boolean>;
150
- /** Rendered width; a number is read in `widthUnit`. */
151
- width: _angular_core.InputSignal<string | number | undefined>;
152
- /** Unit of a numeric `width` (`px` when absent). */
153
- widthUnit: _angular_core.InputSignal<string | undefined>;
154
- /** Rendered height; a number is read in `heightUnit`. Absent: the image keeps its ratio. */
155
- height: _angular_core.InputSignal<string | number | undefined>;
156
- /** Unit of a numeric `height` (`px` when absent). */
157
- heightUnit: _angular_core.InputSignal<string | undefined>;
158
- /** Alternative text. Absent: the image is decorative (`aria-hidden`). */
159
- alt: _angular_core.InputSignal<string | undefined>;
160
- /**
161
- * Fetch `src` through `HttpClient` instead of letting the browser load it.
162
- *
163
- * That is what an endpoint behind an `Authorization` header needs: an `<img
164
- * src>` is a plain browser request, which carries no interceptor and no
165
- * bearer token. The response `Blob` is shown from an object URL, revoked as
166
- * soon as the source changes or the component goes away.
167
- *
168
- * Cross-origin still applies: the endpoint must answer the CORS preflight
169
- * (`Access-Control-Allow-Origin`, and `Access-Control-Allow-Headers` for the
170
- * auth header) — an `<img>` would have displayed it without any of that.
171
- */
172
- secured: _angular_core.InputSignalWithTransform<boolean, unknown>;
173
- /** Send cookies/TLS credentials with the `secured` request (cross-origin sessions). */
174
- withCredentials: _angular_core.InputSignalWithTransform<boolean, unknown>;
175
- /** Visible text of the loading indicator shown while a `secured` fetch is in flight. */
176
- loadingLabel: _angular_core.InputSignal<string | undefined>;
177
- /** Accessible name of that loading indicator. */
178
- loadingAriaLabel: _angular_core.InputSignal<string>;
179
- /** Clicking the image opens the enlarged view (`ui-image-preview`). */
180
- preview: _angular_core.InputSignalWithTransform<boolean, unknown>;
181
- /** Enlarged view open state (two-way — set it to open the preview yourself). */
182
- previewVisible: _angular_core.ModelSignal<boolean>;
183
- /** Accessible name of the trigger (defaults to the image's own `alt`). */
184
- previewAriaLabel: _angular_core.InputSignal<string | undefined>;
185
- /** Accessible name of the enlarged view dialog. */
186
- previewDialogAriaLabel: _angular_core.InputSignal<string>;
187
- /** Zoom increment of one toolbar click, wheel notch or `+`/`-` press in the preview. */
188
- zoomStep: _angular_core.InputSignalWithTransform<number, unknown>;
189
- /** Lower zoom bound in the preview. */
190
- minZoom: _angular_core.InputSignalWithTransform<number, unknown>;
191
- /** Upper zoom bound in the preview. */
192
- maxZoom: _angular_core.InputSignalWithTransform<number, unknown>;
193
- /** Offer a download action in the preview toolbar. */
194
- downloadable: _angular_core.InputSignalWithTransform<boolean, unknown>;
195
- /** Filename proposed by that download action. */
196
- downloadName: _angular_core.InputSignal<string | undefined>;
197
- /** Emitted with the failed URL when an image fails to load. */
198
- loadFailed: _angular_core.OutputEmitterRef<string>;
199
- /**
200
- * Replaces the hover indicator of the `preview` mode (the magnifier). Rendered
201
- * over the image, decorative — the accessible name stays on the trigger.
202
- *
203
- * ```html
204
- * <ui-image src="…" preview>
205
- * <ng-template #previewIndicator>Agrandir</ng-template>
206
- * </ui-image>
207
- * ```
208
- */
209
- protected readonly previewIndicator: _angular_core.Signal<TemplateRef<unknown> | undefined>;
210
- protected readonly isRemote: _angular_core.Signal<boolean>;
211
- /** Inline SVG is reserved for LOCAL assets — a remote `.svg` renders through `<img>` (no XSS surface). */
212
- protected readonly isInlineSvg: _angular_core.Signal<boolean>;
213
- /** `secured` only means anything with a `src` to fetch. */
214
- protected readonly isSecured: _angular_core.Signal<boolean>;
215
- /** A `data:` payload is already the image — `NgOptimizedImage` refuses it. */
216
- protected readonly isDataUrl: _angular_core.Signal<boolean>;
217
- protected readonly localSrc: _angular_core.Signal<string>;
218
- protected readonly fallbackSrc: _angular_core.Signal<string>;
219
- private readonly blobResource;
220
- private readonly blobUrl;
221
- protected readonly securedLoading: _angular_core.Signal<boolean>;
222
- private readonly securedFailed;
223
- protected readonly primarySrc: _angular_core.Signal<string>;
224
- private readonly primaryImgFailed;
225
- private readonly fallbackImgFailed;
226
- private readonly svgResource;
227
- /**
228
- * The inlined SVG, scrubbed then trusted.
229
- *
230
- * FSHSP-177 — this is the kit's ONLY `bypassSecurityTrust*()`. It is not
231
- * avoidable: Angular's HTML sanitizer strips `<svg>` wholesale, so passing the
232
- * asset through `sanitize(SecurityContext.HTML, …)` would render nothing, and
233
- * inlining is the whole point (the asset inherits `currentColor` and the
234
- * theme's CSS — an `<img>` cannot). What makes the bypass defensible is that
235
- * the markup went through `sanitizeInlineSvg()` first: scripts, `foreignObject`,
236
- * SMIL, event handlers and non-navigational references are already gone.
237
- * Justified in `docs/SECURITY-PRACTICES.md`.
238
- */
239
- protected readonly svgContent: _angular_core.Signal<SafeHtml | null>;
240
- protected readonly primaryFailed: _angular_core.Signal<boolean>;
241
- protected readonly showFallback: _angular_core.Signal<boolean>;
242
- protected readonly showPlaceholder: _angular_core.Signal<boolean>;
243
- protected readonly displayedSrc: _angular_core.Signal<string>;
244
- /** `blob:`/`data:` bypass `NgOptimizedImage`; a local fallback never does. */
245
- protected readonly isRawSrc: _angular_core.Signal<boolean>;
246
- /** The image is a preview trigger only once there is something to enlarge. */
247
- protected readonly canPreview: _angular_core.Signal<boolean>;
248
- protected readonly cssWidth: _angular_core.Signal<string | null>;
249
- protected readonly cssHeight: _angular_core.Signal<string | null>;
250
- constructor();
251
- protected onImgError(): void;
252
- private resolveLocal;
253
- private resolvePath;
254
- private buildPath;
255
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiImage, never>;
256
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiImage, "ui-image", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; "fallback": { "alias": "fallback"; "required": false; "isSignal": true; }; "priority": { "alias": "priority"; "required": false; "isSignal": true; }; "fill": { "alias": "fill"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "widthUnit": { "alias": "widthUnit"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "heightUnit": { "alias": "heightUnit"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "secured": { "alias": "secured"; "required": false; "isSignal": true; }; "withCredentials": { "alias": "withCredentials"; "required": false; "isSignal": true; }; "loadingLabel": { "alias": "loadingLabel"; "required": false; "isSignal": true; }; "loadingAriaLabel": { "alias": "loadingAriaLabel"; "required": false; "isSignal": true; }; "preview": { "alias": "preview"; "required": false; "isSignal": true; }; "previewVisible": { "alias": "previewVisible"; "required": false; "isSignal": true; }; "previewAriaLabel": { "alias": "previewAriaLabel"; "required": false; "isSignal": true; }; "previewDialogAriaLabel": { "alias": "previewDialogAriaLabel"; "required": false; "isSignal": true; }; "zoomStep": { "alias": "zoomStep"; "required": false; "isSignal": true; }; "minZoom": { "alias": "minZoom"; "required": false; "isSignal": true; }; "maxZoom": { "alias": "maxZoom"; "required": false; "isSignal": true; }; "downloadable": { "alias": "downloadable"; "required": false; "isSignal": true; }; "downloadName": { "alias": "downloadName"; "required": false; "isSignal": true; }; }, { "previewVisible": "previewVisibleChange"; "loadFailed": "loadFailed"; }, ["previewIndicator"], never, true, never>;
218
+ export declare class UiImage {
219
+ private readonly sanitizer;
220
+ private readonly assetsMap;
221
+ private readonly themeService;
222
+ private readonly brandService;
223
+ private readonly isBrowser;
224
+ /** Local asset key in `assets-map.json` (theme/brand-aware resolution). */
225
+ name: import("@angular/core").InputSignal<string | undefined>;
226
+ /** Remote/absolute URL, rendered via `NgOptimizedImage` — takes precedence over `name`. */
227
+ src: import("@angular/core").InputSignal<string | undefined>;
228
+ /** Local asset name (`assets-map.json` key) displayed when the main image fails to load. */
229
+ fallback: import("@angular/core").InputSignal<string | undefined>;
230
+ /** Loads the image eagerly with a high fetch priority (above-the-fold images); lazy otherwise. */
231
+ priority: import("@angular/core").InputSignal<boolean>;
232
+ /** Fills the parent box instead of using `width`/`height` (the parent must be positioned). */
233
+ fill: import("@angular/core").InputSignal<boolean>;
234
+ /** Rendered width; a number is read in `widthUnit`. */
235
+ width: import("@angular/core").InputSignal<string | number | undefined>;
236
+ /** Unit of a numeric `width` (`px` when absent). */
237
+ widthUnit: import("@angular/core").InputSignal<string | undefined>;
238
+ /** Rendered height; a number is read in `heightUnit`. Absent: the image keeps its ratio. */
239
+ height: import("@angular/core").InputSignal<string | number | undefined>;
240
+ /** Unit of a numeric `height` (`px` when absent). */
241
+ heightUnit: import("@angular/core").InputSignal<string | undefined>;
242
+ /** Alternative text. Absent: the image is decorative (`aria-hidden`). */
243
+ alt: import("@angular/core").InputSignal<string | undefined>;
244
+ /**
245
+ * Fetch `src` through `HttpClient` instead of letting the browser load it.
246
+ *
247
+ * That is what an endpoint behind an `Authorization` header needs: an `<img
248
+ * src>` is a plain browser request, which carries no interceptor and no
249
+ * bearer token. The response `Blob` is shown from an object URL, revoked as
250
+ * soon as the source changes or the component goes away.
251
+ *
252
+ * Cross-origin still applies: the endpoint must answer the CORS preflight
253
+ * (`Access-Control-Allow-Origin`, and `Access-Control-Allow-Headers` for the
254
+ * auth header) — an `<img>` would have displayed it without any of that.
255
+ */
256
+ secured: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
257
+ /** Send cookies/TLS credentials with the `secured` request (cross-origin sessions). */
258
+ withCredentials: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
259
+ /** Visible text of the loading indicator shown while a `secured` fetch is in flight. */
260
+ loadingLabel: import("@angular/core").InputSignal<string | undefined>;
261
+ /** Accessible name of that loading indicator. */
262
+ loadingAriaLabel: import("@angular/core").InputSignal<string>;
263
+ /** Clicking the image opens the enlarged view (`ui-image-preview`). */
264
+ preview: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
265
+ /** Enlarged view open state (two-way — set it to open the preview yourself). */
266
+ previewVisible: import("@angular/core").ModelSignal<boolean>;
267
+ /** Accessible name of the trigger (defaults to the image's own `alt`). */
268
+ previewAriaLabel: import("@angular/core").InputSignal<string | undefined>;
269
+ /** Accessible name of the enlarged view dialog. */
270
+ previewDialogAriaLabel: import("@angular/core").InputSignal<string>;
271
+ /** Zoom increment of one toolbar click, wheel notch or `+`/`-` press in the preview. */
272
+ zoomStep: import("@angular/core").InputSignalWithTransform<number, unknown>;
273
+ /** Lower zoom bound in the preview. */
274
+ minZoom: import("@angular/core").InputSignalWithTransform<number, unknown>;
275
+ /** Upper zoom bound in the preview. */
276
+ maxZoom: import("@angular/core").InputSignalWithTransform<number, unknown>;
277
+ /** Offer a download action in the preview toolbar. */
278
+ downloadable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
279
+ /** Filename proposed by that download action. */
280
+ downloadName: import("@angular/core").InputSignal<string | undefined>;
281
+ /** Emitted with the failed URL when an image fails to load. */
282
+ loadFailed: import("@angular/core").OutputEmitterRef<string>;
283
+ /**
284
+ * Replaces the hover indicator of the `preview` mode (the magnifier). Rendered
285
+ * over the image, decorative — the accessible name stays on the trigger.
286
+ *
287
+ * ```html
288
+ * <ui-image src="…" preview>
289
+ * <ng-template #previewIndicator>Agrandir</ng-template>
290
+ * </ui-image>
291
+ * ```
292
+ */
293
+ protected readonly previewIndicator: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
294
+ protected readonly isRemote: import("@angular/core").Signal<boolean>;
295
+ /** Inline SVG is reserved for LOCAL assets — a remote `.svg` renders through `<img>` (no XSS surface). */
296
+ protected readonly isInlineSvg: import("@angular/core").Signal<boolean>;
297
+ /** `secured` only means anything with a `src` to fetch. */
298
+ protected readonly isSecured: import("@angular/core").Signal<boolean>;
299
+ /** A `data:` payload is already the image — `NgOptimizedImage` refuses it. */
300
+ protected readonly isDataUrl: import("@angular/core").Signal<boolean>;
301
+ protected readonly localSrc: import("@angular/core").Signal<string>;
302
+ protected readonly fallbackSrc: import("@angular/core").Signal<string>;
303
+ private readonly blobResource;
304
+ private readonly blobUrl;
305
+ protected readonly securedLoading: import("@angular/core").Signal<boolean>;
306
+ private readonly securedFailed;
307
+ protected readonly primarySrc: import("@angular/core").Signal<string>;
308
+ private readonly primaryImgFailed;
309
+ private readonly fallbackImgFailed;
310
+ private readonly svgResource;
311
+ /**
312
+ * The inlined SVG, scrubbed then trusted.
313
+ *
314
+ * FSHSP-177 — this is the kit's ONLY `bypassSecurityTrust*()`. It is not
315
+ * avoidable: Angular's HTML sanitizer strips `<svg>` wholesale, so passing the
316
+ * asset through `sanitize(SecurityContext.HTML, …)` would render nothing, and
317
+ * inlining is the whole point (the asset inherits `currentColor` and the
318
+ * theme's CSS — an `<img>` cannot). What makes the bypass defensible is that
319
+ * the markup went through `sanitizeInlineSvg()` first: scripts, `foreignObject`,
320
+ * SMIL, event handlers and non-navigational references are already gone.
321
+ * Justified in `docs/SECURITY-PRACTICES.md`.
322
+ */
323
+ protected readonly svgContent: import("@angular/core").Signal<SafeHtml | null>;
324
+ protected readonly primaryFailed: import("@angular/core").Signal<boolean>;
325
+ protected readonly showFallback: import("@angular/core").Signal<boolean>;
326
+ protected readonly showPlaceholder: import("@angular/core").Signal<boolean>;
327
+ protected readonly displayedSrc: import("@angular/core").Signal<string>;
328
+ /** `blob:`/`data:` bypass `NgOptimizedImage`; a local fallback never does. */
329
+ protected readonly isRawSrc: import("@angular/core").Signal<boolean>;
330
+ /** The image is a preview trigger only once there is something to enlarge. */
331
+ protected readonly canPreview: import("@angular/core").Signal<boolean>;
332
+ protected readonly cssWidth: import("@angular/core").Signal<string | null>;
333
+ protected readonly cssHeight: import("@angular/core").Signal<string | null>;
334
+ constructor();
335
+ protected onImgError(): void;
336
+ private resolveLocal;
337
+ private resolvePath;
338
+ private buildPath;
339
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiImage, never>;
340
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiImage, "ui-image", never, {
341
+ "name": {
342
+ "alias": "name";
343
+ "required": false;
344
+ "isSignal": true;
345
+ };
346
+ "src": {
347
+ "alias": "src";
348
+ "required": false;
349
+ "isSignal": true;
350
+ };
351
+ "fallback": {
352
+ "alias": "fallback";
353
+ "required": false;
354
+ "isSignal": true;
355
+ };
356
+ "priority": {
357
+ "alias": "priority";
358
+ "required": false;
359
+ "isSignal": true;
360
+ };
361
+ "fill": {
362
+ "alias": "fill";
363
+ "required": false;
364
+ "isSignal": true;
365
+ };
366
+ "width": {
367
+ "alias": "width";
368
+ "required": false;
369
+ "isSignal": true;
370
+ };
371
+ "widthUnit": {
372
+ "alias": "widthUnit";
373
+ "required": false;
374
+ "isSignal": true;
375
+ };
376
+ "height": {
377
+ "alias": "height";
378
+ "required": false;
379
+ "isSignal": true;
380
+ };
381
+ "heightUnit": {
382
+ "alias": "heightUnit";
383
+ "required": false;
384
+ "isSignal": true;
385
+ };
386
+ "alt": {
387
+ "alias": "alt";
388
+ "required": false;
389
+ "isSignal": true;
390
+ };
391
+ "secured": {
392
+ "alias": "secured";
393
+ "required": false;
394
+ "isSignal": true;
395
+ };
396
+ "withCredentials": {
397
+ "alias": "withCredentials";
398
+ "required": false;
399
+ "isSignal": true;
400
+ };
401
+ "loadingLabel": {
402
+ "alias": "loadingLabel";
403
+ "required": false;
404
+ "isSignal": true;
405
+ };
406
+ "loadingAriaLabel": {
407
+ "alias": "loadingAriaLabel";
408
+ "required": false;
409
+ "isSignal": true;
410
+ };
411
+ "preview": {
412
+ "alias": "preview";
413
+ "required": false;
414
+ "isSignal": true;
415
+ };
416
+ "previewVisible": {
417
+ "alias": "previewVisible";
418
+ "required": false;
419
+ "isSignal": true;
420
+ };
421
+ "previewAriaLabel": {
422
+ "alias": "previewAriaLabel";
423
+ "required": false;
424
+ "isSignal": true;
425
+ };
426
+ "previewDialogAriaLabel": {
427
+ "alias": "previewDialogAriaLabel";
428
+ "required": false;
429
+ "isSignal": true;
430
+ };
431
+ "zoomStep": {
432
+ "alias": "zoomStep";
433
+ "required": false;
434
+ "isSignal": true;
435
+ };
436
+ "minZoom": {
437
+ "alias": "minZoom";
438
+ "required": false;
439
+ "isSignal": true;
440
+ };
441
+ "maxZoom": {
442
+ "alias": "maxZoom";
443
+ "required": false;
444
+ "isSignal": true;
445
+ };
446
+ "downloadable": {
447
+ "alias": "downloadable";
448
+ "required": false;
449
+ "isSignal": true;
450
+ };
451
+ "downloadName": {
452
+ "alias": "downloadName";
453
+ "required": false;
454
+ "isSignal": true;
455
+ };
456
+ }, {
457
+ "previewVisible": "previewVisibleChange";
458
+ "loadFailed": "loadFailed";
459
+ }, ["previewIndicator"], never, true, never>;
257
460
  }
258
-
259
- export { UI_IMAGE_ASSETS, UiImage, UiImagePreview, provideUiImageAssets };
260
- export type { UiImageAssetsMap };
461
+ export {};