@ngstarter-ui/components 22.3.6 → 22.4.1

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 (476) hide show
  1. package/README.md +27 -0
  2. package/ai/component-registry.json +186 -101
  3. package/fesm2022/attachment-block-BK9QxVjq.mjs +163 -0
  4. package/fesm2022/attachment-block-BK9QxVjq.mjs.map +1 -0
  5. package/fesm2022/callout-block-Bl4GZYz8.mjs +196 -0
  6. package/fesm2022/callout-block-Bl4GZYz8.mjs.map +1 -0
  7. package/fesm2022/code-block.component-DCRD-9iP.mjs +393 -0
  8. package/fesm2022/code-block.component-DCRD-9iP.mjs.map +1 -0
  9. package/fesm2022/content-builder.store-D622mHxt.mjs +328 -0
  10. package/fesm2022/content-builder.store-D622mHxt.mjs.map +1 -0
  11. package/fesm2022/content-editor-content-editable.directive-WzD9_71s.mjs +1110 -0
  12. package/fesm2022/content-editor-content-editable.directive-WzD9_71s.mjs.map +1 -0
  13. package/fesm2022/cursor-controller-DKfBII1n.mjs +55 -0
  14. package/fesm2022/cursor-controller-DKfBII1n.mjs.map +1 -0
  15. package/fesm2022/default-converters-9oSKDsXP.mjs +140 -0
  16. package/fesm2022/default-converters-9oSKDsXP.mjs.map +1 -0
  17. package/fesm2022/divider-block.component-Dvgeq_D0.mjs +148 -0
  18. package/fesm2022/divider-block.component-Dvgeq_D0.mjs.map +1 -0
  19. package/fesm2022/embed-block-CYkOv4Wt.mjs +565 -0
  20. package/fesm2022/embed-block-CYkOv4Wt.mjs.map +1 -0
  21. package/fesm2022/extra-block-defs-Cn_hfM3c.mjs +122 -0
  22. package/fesm2022/extra-block-defs-Cn_hfM3c.mjs.map +1 -0
  23. package/fesm2022/gallery-block-DT3uIURY.mjs +365 -0
  24. package/fesm2022/gallery-block-DT3uIURY.mjs.map +1 -0
  25. package/fesm2022/grid-block-ZVDT3m8-.mjs +504 -0
  26. package/fesm2022/grid-block-ZVDT3m8-.mjs.map +1 -0
  27. package/fesm2022/heading-block.component-iCpJGTMh.mjs +274 -0
  28. package/fesm2022/heading-block.component-iCpJGTMh.mjs.map +1 -0
  29. package/fesm2022/html-utils-DywL8gGa.mjs +24 -0
  30. package/fesm2022/html-utils-DywL8gGa.mjs.map +1 -0
  31. package/fesm2022/image-block.component-DJ7-HCR8.mjs +285 -0
  32. package/fesm2022/image-block.component-DJ7-HCR8.mjs.map +1 -0
  33. package/fesm2022/list-block.component-qFIebEBO.mjs +312 -0
  34. package/fesm2022/list-block.component-qFIebEBO.mjs.map +1 -0
  35. package/fesm2022/nested-blocks-CXhgXJ1H.mjs +345 -0
  36. package/fesm2022/nested-blocks-CXhgXJ1H.mjs.map +1 -0
  37. package/fesm2022/ngstarter-ui-components-action-required.mjs +150 -45
  38. package/fesm2022/ngstarter-ui-components-action-required.mjs.map +1 -1
  39. package/fesm2022/ngstarter-ui-components-alert.mjs +318 -133
  40. package/fesm2022/ngstarter-ui-components-alert.mjs.map +1 -1
  41. package/fesm2022/ngstarter-ui-components-announcement.mjs +280 -88
  42. package/fesm2022/ngstarter-ui-components-announcement.mjs.map +1 -1
  43. package/fesm2022/ngstarter-ui-components-autocomplete.mjs +647 -386
  44. package/fesm2022/ngstarter-ui-components-autocomplete.mjs.map +1 -1
  45. package/fesm2022/ngstarter-ui-components-avatar.mjs +715 -482
  46. package/fesm2022/ngstarter-ui-components-avatar.mjs.map +1 -1
  47. package/fesm2022/ngstarter-ui-components-badge.mjs +308 -97
  48. package/fesm2022/ngstarter-ui-components-badge.mjs.map +1 -1
  49. package/fesm2022/ngstarter-ui-components-block-loader.mjs +164 -47
  50. package/fesm2022/ngstarter-ui-components-block-loader.mjs.map +1 -1
  51. package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs +278 -315
  52. package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs.map +1 -1
  53. package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs +707 -205
  54. package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs.map +1 -1
  55. package/fesm2022/ngstarter-ui-components-button-toggle.mjs +518 -175
  56. package/fesm2022/ngstarter-ui-components-button-toggle.mjs.map +1 -1
  57. package/fesm2022/ngstarter-ui-components-button.mjs +294 -68
  58. package/fesm2022/ngstarter-ui-components-button.mjs.map +1 -1
  59. package/fesm2022/ngstarter-ui-components-calendar.mjs +442 -250
  60. package/fesm2022/ngstarter-ui-components-calendar.mjs.map +1 -1
  61. package/fesm2022/ngstarter-ui-components-card-overlay.mjs +159 -47
  62. package/fesm2022/ngstarter-ui-components-card-overlay.mjs.map +1 -1
  63. package/fesm2022/ngstarter-ui-components-card.mjs +619 -194
  64. package/fesm2022/ngstarter-ui-components-card.mjs.map +1 -1
  65. package/fesm2022/ngstarter-ui-components-carousel.mjs +1012 -634
  66. package/fesm2022/ngstarter-ui-components-carousel.mjs.map +1 -1
  67. package/fesm2022/ngstarter-ui-components-checkbox.mjs +715 -308
  68. package/fesm2022/ngstarter-ui-components-checkbox.mjs.map +1 -1
  69. package/fesm2022/ngstarter-ui-components-chips.mjs +1397 -667
  70. package/fesm2022/ngstarter-ui-components-chips.mjs.map +1 -1
  71. package/fesm2022/ngstarter-ui-components-code-highlighter.mjs +519 -357
  72. package/fesm2022/ngstarter-ui-components-code-highlighter.mjs.map +1 -1
  73. package/fesm2022/ngstarter-ui-components-color-picker.mjs +1218 -604
  74. package/fesm2022/ngstarter-ui-components-color-picker.mjs.map +1 -1
  75. package/fesm2022/ngstarter-ui-components-color-scheme.mjs +265 -134
  76. package/fesm2022/ngstarter-ui-components-color-scheme.mjs.map +1 -1
  77. package/fesm2022/ngstarter-ui-components-color-switcher.mjs +190 -71
  78. package/fesm2022/ngstarter-ui-components-color-switcher.mjs.map +1 -1
  79. package/fesm2022/ngstarter-ui-components-command-bar.mjs +197 -58
  80. package/fesm2022/ngstarter-ui-components-command-bar.mjs.map +1 -1
  81. package/fesm2022/ngstarter-ui-components-comment-editor.mjs +2212 -1128
  82. package/fesm2022/ngstarter-ui-components-comment-editor.mjs.map +1 -1
  83. package/fesm2022/ngstarter-ui-components-comparison-slider.mjs +269 -183
  84. package/fesm2022/ngstarter-ui-components-comparison-slider.mjs.map +1 -1
  85. package/fesm2022/ngstarter-ui-components-confirm.mjs +164 -86
  86. package/fesm2022/ngstarter-ui-components-confirm.mjs.map +1 -1
  87. package/fesm2022/ngstarter-ui-components-content-editor.mjs +6240 -2
  88. package/fesm2022/ngstarter-ui-components-content-editor.mjs.map +1 -1
  89. package/fesm2022/ngstarter-ui-components-cookie-popup.mjs +244 -108
  90. package/fesm2022/ngstarter-ui-components-cookie-popup.mjs.map +1 -1
  91. package/fesm2022/ngstarter-ui-components-core.mjs +2110 -1592
  92. package/fesm2022/ngstarter-ui-components-core.mjs.map +1 -1
  93. package/fesm2022/ngstarter-ui-components-country-select.mjs +1970 -588
  94. package/fesm2022/ngstarter-ui-components-country-select.mjs.map +1 -1
  95. package/fesm2022/ngstarter-ui-components-crop.mjs +249 -191
  96. package/fesm2022/ngstarter-ui-components-crop.mjs.map +1 -1
  97. package/fesm2022/ngstarter-ui-components-currency-select.mjs +1658 -452
  98. package/fesm2022/ngstarter-ui-components-currency-select.mjs.map +1 -1
  99. package/fesm2022/ngstarter-ui-components-data-view.mjs +4538 -2497
  100. package/fesm2022/ngstarter-ui-components-data-view.mjs.map +1 -1
  101. package/fesm2022/ngstarter-ui-components-date-format-select.mjs +357 -157
  102. package/fesm2022/ngstarter-ui-components-date-format-select.mjs.map +1 -1
  103. package/fesm2022/ngstarter-ui-components-datepicker.mjs +2587 -1264
  104. package/fesm2022/ngstarter-ui-components-datepicker.mjs.map +1 -1
  105. package/fesm2022/ngstarter-ui-components-dialog.mjs +681 -385
  106. package/fesm2022/ngstarter-ui-components-dialog.mjs.map +1 -1
  107. package/fesm2022/ngstarter-ui-components-digit-roller.mjs +1000 -750
  108. package/fesm2022/ngstarter-ui-components-digit-roller.mjs.map +1 -1
  109. package/fesm2022/ngstarter-ui-components-divider.mjs +164 -41
  110. package/fesm2022/ngstarter-ui-components-divider.mjs.map +1 -1
  111. package/fesm2022/ngstarter-ui-components-drawer.mjs +218 -143
  112. package/fesm2022/ngstarter-ui-components-drawer.mjs.map +1 -1
  113. package/fesm2022/ngstarter-ui-components-emoji-picker.mjs +345 -247
  114. package/fesm2022/ngstarter-ui-components-emoji-picker.mjs.map +1 -1
  115. package/fesm2022/ngstarter-ui-components-empty-state.mjs +244 -74
  116. package/fesm2022/ngstarter-ui-components-empty-state.mjs.map +1 -1
  117. package/fesm2022/ngstarter-ui-components-events.mjs +467 -126
  118. package/fesm2022/ngstarter-ui-components-events.mjs.map +1 -1
  119. package/fesm2022/ngstarter-ui-components-expand.mjs +191 -59
  120. package/fesm2022/ngstarter-ui-components-expand.mjs.map +1 -1
  121. package/fesm2022/ngstarter-ui-components-expansion.mjs +529 -193
  122. package/fesm2022/ngstarter-ui-components-expansion.mjs.map +1 -1
  123. package/fesm2022/ngstarter-ui-components-file-type.mjs +270 -171
  124. package/fesm2022/ngstarter-ui-components-file-type.mjs.map +1 -1
  125. package/fesm2022/ngstarter-ui-components-filter-builder.mjs +741 -352
  126. package/fesm2022/ngstarter-ui-components-filter-builder.mjs.map +1 -1
  127. package/fesm2022/ngstarter-ui-components-form-builder.mjs +9032 -6964
  128. package/fesm2022/ngstarter-ui-components-form-builder.mjs.map +1 -1
  129. package/fesm2022/ngstarter-ui-components-form-field.mjs +741 -276
  130. package/fesm2022/ngstarter-ui-components-form-field.mjs.map +1 -1
  131. package/fesm2022/ngstarter-ui-components-gauge.mjs +155 -43
  132. package/fesm2022/ngstarter-ui-components-gauge.mjs.map +1 -1
  133. package/fesm2022/ngstarter-ui-components-grid.mjs +197 -81
  134. package/fesm2022/ngstarter-ui-components-grid.mjs.map +1 -1
  135. package/fesm2022/ngstarter-ui-components-guided-tour.mjs +881 -740
  136. package/fesm2022/ngstarter-ui-components-guided-tour.mjs.map +1 -1
  137. package/fesm2022/ngstarter-ui-components-headless-editor.mjs +3573 -3656
  138. package/fesm2022/ngstarter-ui-components-headless-editor.mjs.map +1 -1
  139. package/fesm2022/ngstarter-ui-components-headless-stepper.mjs +277 -204
  140. package/fesm2022/ngstarter-ui-components-headless-stepper.mjs.map +1 -1
  141. package/fesm2022/ngstarter-ui-components-icon.mjs +209 -182
  142. package/fesm2022/ngstarter-ui-components-icon.mjs.map +1 -1
  143. package/fesm2022/ngstarter-ui-components-image-designer.mjs +5096 -4066
  144. package/fesm2022/ngstarter-ui-components-image-designer.mjs.map +1 -1
  145. package/fesm2022/ngstarter-ui-components-image-placeholder.mjs +45 -19
  146. package/fesm2022/ngstarter-ui-components-image-placeholder.mjs.map +1 -1
  147. package/fesm2022/ngstarter-ui-components-image-resizer.mjs +333 -154
  148. package/fesm2022/ngstarter-ui-components-image-resizer.mjs.map +1 -1
  149. package/fesm2022/ngstarter-ui-components-image-viewer.mjs +564 -358
  150. package/fesm2022/ngstarter-ui-components-image-viewer.mjs.map +1 -1
  151. package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs +246 -167
  152. package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs.map +1 -1
  153. package/fesm2022/ngstarter-ui-components-incidents.mjs +732 -258
  154. package/fesm2022/ngstarter-ui-components-incidents.mjs.map +1 -1
  155. package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs +244 -182
  156. package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs.map +1 -1
  157. package/fesm2022/ngstarter-ui-components-input-mask.mjs +314 -174
  158. package/fesm2022/ngstarter-ui-components-input-mask.mjs.map +1 -1
  159. package/fesm2022/ngstarter-ui-components-input-validator.mjs +45 -69
  160. package/fesm2022/ngstarter-ui-components-input-validator.mjs.map +1 -1
  161. package/fesm2022/ngstarter-ui-components-input.mjs +303 -161
  162. package/fesm2022/ngstarter-ui-components-input.mjs.map +1 -1
  163. package/fesm2022/ngstarter-ui-components-kanban-board.mjs +504 -159
  164. package/fesm2022/ngstarter-ui-components-kanban-board.mjs.map +1 -1
  165. package/fesm2022/ngstarter-ui-components-kbd.mjs +86 -30
  166. package/fesm2022/ngstarter-ui-components-kbd.mjs.map +1 -1
  167. package/fesm2022/ngstarter-ui-components-layout.mjs +681 -220
  168. package/fesm2022/ngstarter-ui-components-layout.mjs.map +1 -1
  169. package/fesm2022/ngstarter-ui-components-list.mjs +968 -281
  170. package/fesm2022/ngstarter-ui-components-list.mjs.map +1 -1
  171. package/fesm2022/ngstarter-ui-components-logo.mjs +181 -51
  172. package/fesm2022/ngstarter-ui-components-logo.mjs.map +1 -1
  173. package/fesm2022/ngstarter-ui-components-marquee.mjs +226 -147
  174. package/fesm2022/ngstarter-ui-components-marquee.mjs.map +1 -1
  175. package/fesm2022/ngstarter-ui-components-menu.mjs +1686 -1091
  176. package/fesm2022/ngstarter-ui-components-menu.mjs.map +1 -1
  177. package/fesm2022/ngstarter-ui-components-micro-chart.mjs +1541 -943
  178. package/fesm2022/ngstarter-ui-components-micro-chart.mjs.map +1 -1
  179. package/fesm2022/ngstarter-ui-components-navigation.mjs +1035 -455
  180. package/fesm2022/ngstarter-ui-components-navigation.mjs.map +1 -1
  181. package/fesm2022/ngstarter-ui-components-notifications.mjs +678 -230
  182. package/fesm2022/ngstarter-ui-components-notifications.mjs.map +1 -1
  183. package/fesm2022/ngstarter-ui-components-number-input.mjs +616 -316
  184. package/fesm2022/ngstarter-ui-components-number-input.mjs.map +1 -1
  185. package/fesm2022/ngstarter-ui-components-option.mjs +405 -163
  186. package/fesm2022/ngstarter-ui-components-option.mjs.map +1 -1
  187. package/fesm2022/ngstarter-ui-components-overlay.mjs +107 -111
  188. package/fesm2022/ngstarter-ui-components-overlay.mjs.map +1 -1
  189. package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs +131 -76
  190. package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs.map +1 -1
  191. package/fesm2022/ngstarter-ui-components-paginator.mjs +543 -295
  192. package/fesm2022/ngstarter-ui-components-paginator.mjs.map +1 -1
  193. package/fesm2022/ngstarter-ui-components-password-strength.mjs +785 -340
  194. package/fesm2022/ngstarter-ui-components-password-strength.mjs.map +1 -1
  195. package/fesm2022/ngstarter-ui-components-pdf-builder.mjs +3705 -2695
  196. package/fesm2022/ngstarter-ui-components-pdf-builder.mjs.map +1 -1
  197. package/fesm2022/ngstarter-ui-components-pdf-signer.mjs +1179 -851
  198. package/fesm2022/ngstarter-ui-components-pdf-signer.mjs.map +1 -1
  199. package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs +2973 -2070
  200. package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs.map +1 -1
  201. package/fesm2022/ngstarter-ui-components-phone-input.mjs +2081 -770
  202. package/fesm2022/ngstarter-ui-components-phone-input.mjs.map +1 -1
  203. package/fesm2022/ngstarter-ui-components-pin-input.mjs +366 -198
  204. package/fesm2022/ngstarter-ui-components-pin-input.mjs.map +1 -1
  205. package/fesm2022/ngstarter-ui-components-popover.mjs +558 -308
  206. package/fesm2022/ngstarter-ui-components-popover.mjs.map +1 -1
  207. package/fesm2022/ngstarter-ui-components-progress-bar.mjs +178 -73
  208. package/fesm2022/ngstarter-ui-components-progress-bar.mjs.map +1 -1
  209. package/fesm2022/ngstarter-ui-components-radio-card.mjs +301 -105
  210. package/fesm2022/ngstarter-ui-components-radio-card.mjs.map +1 -1
  211. package/fesm2022/ngstarter-ui-components-radio.mjs +417 -157
  212. package/fesm2022/ngstarter-ui-components-radio.mjs.map +1 -1
  213. package/fesm2022/ngstarter-ui-components-rail-nav.mjs +208 -88
  214. package/fesm2022/ngstarter-ui-components-rail-nav.mjs.map +1 -1
  215. package/fesm2022/ngstarter-ui-components-resizable-container.mjs +123 -74
  216. package/fesm2022/ngstarter-ui-components-resizable-container.mjs.map +1 -1
  217. package/fesm2022/ngstarter-ui-components-screen-loader.mjs +197 -95
  218. package/fesm2022/ngstarter-ui-components-screen-loader.mjs.map +1 -1
  219. package/fesm2022/ngstarter-ui-components-scroll-spy.mjs +383 -245
  220. package/fesm2022/ngstarter-ui-components-scroll-spy.mjs.map +1 -1
  221. package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs +705 -581
  222. package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs.map +1 -1
  223. package/fesm2022/ngstarter-ui-components-segmented.mjs +422 -220
  224. package/fesm2022/ngstarter-ui-components-segmented.mjs.map +1 -1
  225. package/fesm2022/ngstarter-ui-components-select.mjs +1862 -1159
  226. package/fesm2022/ngstarter-ui-components-select.mjs.map +1 -1
  227. package/fesm2022/ngstarter-ui-components-side-panel.mjs +313 -118
  228. package/fesm2022/ngstarter-ui-components-side-panel.mjs.map +1 -1
  229. package/fesm2022/ngstarter-ui-components-sidebar.mjs +1239 -470
  230. package/fesm2022/ngstarter-ui-components-sidebar.mjs.map +1 -1
  231. package/fesm2022/ngstarter-ui-components-sidenav.mjs +664 -354
  232. package/fesm2022/ngstarter-ui-components-sidenav.mjs.map +1 -1
  233. package/fesm2022/ngstarter-ui-components-signature-pad.mjs +1092 -643
  234. package/fesm2022/ngstarter-ui-components-signature-pad.mjs.map +1 -1
  235. package/fesm2022/ngstarter-ui-components-skeleton.mjs +153 -43
  236. package/fesm2022/ngstarter-ui-components-skeleton.mjs.map +1 -1
  237. package/fesm2022/ngstarter-ui-components-slide-toggle.mjs +425 -108
  238. package/fesm2022/ngstarter-ui-components-slide-toggle.mjs.map +1 -1
  239. package/fesm2022/ngstarter-ui-components-slider.mjs +645 -487
  240. package/fesm2022/ngstarter-ui-components-slider.mjs.map +1 -1
  241. package/fesm2022/ngstarter-ui-components-snack-bar.mjs +372 -354
  242. package/fesm2022/ngstarter-ui-components-snack-bar.mjs.map +1 -1
  243. package/fesm2022/ngstarter-ui-components-sort.mjs +378 -147
  244. package/fesm2022/ngstarter-ui-components-sort.mjs.map +1 -1
  245. package/fesm2022/ngstarter-ui-components-spinner.mjs +242 -76
  246. package/fesm2022/ngstarter-ui-components-spinner.mjs.map +1 -1
  247. package/fesm2022/ngstarter-ui-components-splash-screen.mjs +142 -91
  248. package/fesm2022/ngstarter-ui-components-splash-screen.mjs.map +1 -1
  249. package/fesm2022/ngstarter-ui-components-split.mjs +1067 -929
  250. package/fesm2022/ngstarter-ui-components-split.mjs.map +1 -1
  251. package/fesm2022/ngstarter-ui-components-step-tracker.mjs +617 -331
  252. package/fesm2022/ngstarter-ui-components-step-tracker.mjs.map +1 -1
  253. package/fesm2022/ngstarter-ui-components-stepper.mjs +357 -126
  254. package/fesm2022/ngstarter-ui-components-stepper.mjs.map +1 -1
  255. package/fesm2022/ngstarter-ui-components-suggestions.mjs +259 -72
  256. package/fesm2022/ngstarter-ui-components-suggestions.mjs.map +1 -1
  257. package/fesm2022/ngstarter-ui-components-tab-panel.mjs +674 -267
  258. package/fesm2022/ngstarter-ui-components-tab-panel.mjs.map +1 -1
  259. package/fesm2022/ngstarter-ui-components-table.mjs +1144 -662
  260. package/fesm2022/ngstarter-ui-components-table.mjs.map +1 -1
  261. package/fesm2022/ngstarter-ui-components-tabs.mjs +1236 -615
  262. package/fesm2022/ngstarter-ui-components-tabs.mjs.map +1 -1
  263. package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs +414 -216
  264. package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs.map +1 -1
  265. package/fesm2022/ngstarter-ui-components-tiles.mjs +939 -647
  266. package/fesm2022/ngstarter-ui-components-tiles.mjs.map +1 -1
  267. package/fesm2022/ngstarter-ui-components-timeline.mjs +418 -122
  268. package/fesm2022/ngstarter-ui-components-timeline.mjs.map +1 -1
  269. package/fesm2022/ngstarter-ui-components-timepicker.mjs +870 -508
  270. package/fesm2022/ngstarter-ui-components-timepicker.mjs.map +1 -1
  271. package/fesm2022/ngstarter-ui-components-timezone-select.mjs +651 -371
  272. package/fesm2022/ngstarter-ui-components-timezone-select.mjs.map +1 -1
  273. package/fesm2022/ngstarter-ui-components-toolbar.mjs +727 -320
  274. package/fesm2022/ngstarter-ui-components-toolbar.mjs.map +1 -1
  275. package/fesm2022/ngstarter-ui-components-tooltip.mjs +601 -521
  276. package/fesm2022/ngstarter-ui-components-tooltip.mjs.map +1 -1
  277. package/fesm2022/ngstarter-ui-components-tree-select.mjs +1197 -434
  278. package/fesm2022/ngstarter-ui-components-tree-select.mjs.map +1 -1
  279. package/fesm2022/ngstarter-ui-components-tree.mjs +1821 -1262
  280. package/fesm2022/ngstarter-ui-components-tree.mjs.map +1 -1
  281. package/fesm2022/ngstarter-ui-components-upload.mjs +1059 -345
  282. package/fesm2022/ngstarter-ui-components-upload.mjs.map +1 -1
  283. package/fesm2022/ngstarter-ui-components-video-player.mjs +763 -533
  284. package/fesm2022/ngstarter-ui-components-video-player.mjs.map +1 -1
  285. package/fesm2022/ngstarter-ui-components-video-viewer.mjs +630 -229
  286. package/fesm2022/ngstarter-ui-components-video-viewer.mjs.map +1 -1
  287. package/fesm2022/ngstarter-ui-components-visual-builder.mjs +40 -17
  288. package/fesm2022/ngstarter-ui-components-visual-builder.mjs.map +1 -1
  289. package/fesm2022/ngstarter-ui-components-whiteboard.mjs +3039 -1803
  290. package/fesm2022/ngstarter-ui-components-whiteboard.mjs.map +1 -1
  291. package/fesm2022/ngstarter-ui-components.mjs +3 -5
  292. package/fesm2022/ngstarter-ui-components.mjs.map +1 -1
  293. package/fesm2022/paragraph-block.component-Csk8Gu3x.mjs +264 -0
  294. package/fesm2022/paragraph-block.component-Csk8Gu3x.mjs.map +1 -0
  295. package/fesm2022/plain-text-settings-BnxCxLhA.mjs +354 -0
  296. package/fesm2022/plain-text-settings-BnxCxLhA.mjs.map +1 -0
  297. package/fesm2022/quote-block.component-tRmrU97F.mjs +309 -0
  298. package/fesm2022/quote-block.component-tRmrU97F.mjs.map +1 -0
  299. package/fesm2022/table-block.component-BuzRRggv.mjs +1859 -0
  300. package/fesm2022/table-block.component-BuzRRggv.mjs.map +1 -0
  301. package/fesm2022/toggle-block-C5Jo2YDf.mjs +150 -0
  302. package/fesm2022/toggle-block-C5Jo2YDf.mjs.map +1 -0
  303. package/fesm2022/upload-status-tZ0x0BUB.mjs +107 -0
  304. package/fesm2022/upload-status-tZ0x0BUB.mjs.map +1 -0
  305. package/fesm2022/video-block.component-CpAXibm6.mjs +312 -0
  306. package/fesm2022/video-block.component-CpAXibm6.mjs.map +1 -0
  307. package/package.json +11 -10
  308. package/styles/_tokens.scss +1 -0
  309. package/types/ngstarter-ui-components-action-required.d.ts +34 -14
  310. package/types/ngstarter-ui-components-alert.d.ts +53 -44
  311. package/types/ngstarter-ui-components-announcement.d.ts +74 -53
  312. package/types/ngstarter-ui-components-autocomplete.d.ts +141 -84
  313. package/types/ngstarter-ui-components-avatar.d.ts +113 -66
  314. package/types/ngstarter-ui-components-badge.d.ts +73 -37
  315. package/types/ngstarter-ui-components-block-loader.d.ts +32 -20
  316. package/types/ngstarter-ui-components-bottom-sheet.d.ts +125 -132
  317. package/types/ngstarter-ui-components-breadcrumbs.d.ts +93 -88
  318. package/types/ngstarter-ui-components-button-toggle.d.ts +124 -54
  319. package/types/ngstarter-ui-components-button.d.ts +69 -27
  320. package/types/ngstarter-ui-components-calendar.d.ts +123 -71
  321. package/types/ngstarter-ui-components-card-overlay.d.ts +31 -19
  322. package/types/ngstarter-ui-components-card.d.ts +75 -71
  323. package/types/ngstarter-ui-components-carousel.d.ts +115 -69
  324. package/types/ngstarter-ui-components-checkbox.d.ts +183 -86
  325. package/types/ngstarter-ui-components-chips.d.ts +288 -195
  326. package/types/ngstarter-ui-components-code-highlighter.d.ts +71 -28
  327. package/types/ngstarter-ui-components-color-picker.d.ts +140 -89
  328. package/types/ngstarter-ui-components-color-scheme.d.ts +43 -52
  329. package/types/ngstarter-ui-components-color-switcher.d.ts +46 -26
  330. package/types/ngstarter-ui-components-command-bar.d.ts +40 -26
  331. package/types/ngstarter-ui-components-comment-editor.d.ts +311 -235
  332. package/types/ngstarter-ui-components-comparison-slider.d.ts +41 -40
  333. package/types/ngstarter-ui-components-confirm.d.ts +24 -29
  334. package/types/ngstarter-ui-components-content-editor.d.ts +1482 -998
  335. package/types/ngstarter-ui-components-cookie-popup.d.ts +43 -38
  336. package/types/ngstarter-ui-components-core.d.ts +513 -467
  337. package/types/ngstarter-ui-components-country-select.d.ts +170 -97
  338. package/types/ngstarter-ui-components-crop.d.ts +67 -52
  339. package/types/ngstarter-ui-components-currency-select.d.ts +127 -90
  340. package/types/ngstarter-ui-components-data-view.d.ts +811 -567
  341. package/types/ngstarter-ui-components-date-format-select.d.ts +90 -58
  342. package/types/ngstarter-ui-components-datepicker.d.ts +589 -373
  343. package/types/ngstarter-ui-components-dialog.d.ts +138 -116
  344. package/types/ngstarter-ui-components-digit-roller.d.ts +228 -131
  345. package/types/ngstarter-ui-components-divider.d.ts +29 -17
  346. package/types/ngstarter-ui-components-drawer.d.ts +39 -30
  347. package/types/ngstarter-ui-components-emoji-picker.d.ts +69 -47
  348. package/types/ngstarter-ui-components-empty-state.d.ts +20 -28
  349. package/types/ngstarter-ui-components-events.d.ts +73 -57
  350. package/types/ngstarter-ui-components-expand.d.ts +55 -25
  351. package/types/ngstarter-ui-components-expansion.d.ts +93 -64
  352. package/types/ngstarter-ui-components-file-type.d.ts +53 -27
  353. package/types/ngstarter-ui-components-filter-builder.d.ts +131 -100
  354. package/types/ngstarter-ui-components-form-builder.d.ts +1094 -881
  355. package/types/ngstarter-ui-components-form-field.d.ts +116 -105
  356. package/types/ngstarter-ui-components-gauge.d.ts +32 -20
  357. package/types/ngstarter-ui-components-grid.d.ts +66 -50
  358. package/types/ngstarter-ui-components-guided-tour.d.ts +250 -222
  359. package/types/ngstarter-ui-components-headless-editor.d.ts +708 -658
  360. package/types/ngstarter-ui-components-headless-stepper.d.ts +84 -64
  361. package/types/ngstarter-ui-components-icon.d.ts +39 -38
  362. package/types/ngstarter-ui-components-image-designer.d.ts +422 -341
  363. package/types/ngstarter-ui-components-image-placeholder.d.ts +5 -8
  364. package/types/ngstarter-ui-components-image-resizer.d.ts +40 -33
  365. package/types/ngstarter-ui-components-image-viewer.d.ts +67 -54
  366. package/types/ngstarter-ui-components-image-zoom-viewer.d.ts +29 -33
  367. package/types/ngstarter-ui-components-incidents.d.ts +97 -104
  368. package/types/ngstarter-ui-components-inline-text-edit.d.ts +54 -39
  369. package/types/ngstarter-ui-components-input-mask.d.ts +54 -34
  370. package/types/ngstarter-ui-components-input-validator.d.ts +7 -11
  371. package/types/ngstarter-ui-components-input.d.ts +82 -54
  372. package/types/ngstarter-ui-components-kanban-board.d.ts +76 -63
  373. package/types/ngstarter-ui-components-kbd.d.ts +8 -12
  374. package/types/ngstarter-ui-components-layout.d.ts +131 -87
  375. package/types/ngstarter-ui-components-list.d.ts +123 -88
  376. package/types/ngstarter-ui-components-logo.d.ts +21 -21
  377. package/types/ngstarter-ui-components-marquee.d.ts +41 -34
  378. package/types/ngstarter-ui-components-menu.d.ts +329 -221
  379. package/types/ngstarter-ui-components-micro-chart.d.ts +385 -186
  380. package/types/ngstarter-ui-components-navigation.d.ts +186 -125
  381. package/types/ngstarter-ui-components-notifications.d.ts +104 -89
  382. package/types/ngstarter-ui-components-number-input.d.ts +138 -96
  383. package/types/ngstarter-ui-components-option.d.ts +102 -68
  384. package/types/ngstarter-ui-components-overlay.d.ts +7 -12
  385. package/types/ngstarter-ui-components-page-loading-bar.d.ts +23 -20
  386. package/types/ngstarter-ui-components-paginator.d.ts +171 -129
  387. package/types/ngstarter-ui-components-password-strength.d.ts +217 -102
  388. package/types/ngstarter-ui-components-pdf-builder.d.ts +717 -649
  389. package/types/ngstarter-ui-components-pdf-signer.d.ts +202 -142
  390. package/types/ngstarter-ui-components-pdf-viewer.d.ts +544 -385
  391. package/types/ngstarter-ui-components-phone-input.d.ts +175 -115
  392. package/types/ngstarter-ui-components-pin-input.d.ts +83 -45
  393. package/types/ngstarter-ui-components-popover.d.ts +128 -89
  394. package/types/ngstarter-ui-components-progress-bar.d.ts +49 -30
  395. package/types/ngstarter-ui-components-radio-card.d.ts +50 -34
  396. package/types/ngstarter-ui-components-radio.d.ts +100 -47
  397. package/types/ngstarter-ui-components-rail-nav.d.ts +36 -29
  398. package/types/ngstarter-ui-components-resizable-container.d.ts +30 -25
  399. package/types/ngstarter-ui-components-screen-loader.d.ts +38 -32
  400. package/types/ngstarter-ui-components-scroll-spy.d.ts +56 -60
  401. package/types/ngstarter-ui-components-scrollbar-area.d.ts +116 -86
  402. package/types/ngstarter-ui-components-segmented.d.ts +93 -61
  403. package/types/ngstarter-ui-components-select.d.ts +366 -266
  404. package/types/ngstarter-ui-components-side-panel.d.ts +59 -40
  405. package/types/ngstarter-ui-components-sidebar.d.ts +208 -154
  406. package/types/ngstarter-ui-components-sidenav.d.ts +136 -78
  407. package/types/ngstarter-ui-components-signature-pad.d.ts +165 -92
  408. package/types/ngstarter-ui-components-skeleton.d.ts +18 -17
  409. package/types/ngstarter-ui-components-slide-toggle.d.ts +113 -44
  410. package/types/ngstarter-ui-components-slider.d.ts +123 -82
  411. package/types/ngstarter-ui-components-snack-bar.d.ts +126 -134
  412. package/types/ngstarter-ui-components-sort.d.ts +99 -63
  413. package/types/ngstarter-ui-components-spinner.d.ts +49 -27
  414. package/types/ngstarter-ui-components-splash-screen.d.ts +34 -29
  415. package/types/ngstarter-ui-components-split.d.ts +276 -195
  416. package/types/ngstarter-ui-components-step-tracker.d.ts +102 -83
  417. package/types/ngstarter-ui-components-stepper.d.ts +57 -43
  418. package/types/ngstarter-ui-components-suggestions.d.ts +41 -28
  419. package/types/ngstarter-ui-components-tab-panel.d.ts +110 -83
  420. package/types/ngstarter-ui-components-table.d.ts +256 -228
  421. package/types/ngstarter-ui-components-tabs.d.ts +231 -138
  422. package/types/ngstarter-ui-components-thumbnail-maker.d.ts +40 -34
  423. package/types/ngstarter-ui-components-tiles.d.ts +166 -104
  424. package/types/ngstarter-ui-components-timeline.d.ts +45 -57
  425. package/types/ngstarter-ui-components-timepicker.d.ts +166 -111
  426. package/types/ngstarter-ui-components-timezone-select.d.ts +110 -70
  427. package/types/ngstarter-ui-components-toolbar.d.ts +89 -72
  428. package/types/ngstarter-ui-components-tooltip.d.ts +89 -52
  429. package/types/ngstarter-ui-components-tree-select.d.ts +182 -105
  430. package/types/ngstarter-ui-components-tree.d.ts +355 -229
  431. package/types/ngstarter-ui-components-upload.d.ts +216 -131
  432. package/types/ngstarter-ui-components-video-player.d.ts +130 -67
  433. package/types/ngstarter-ui-components-video-viewer.d.ts +140 -91
  434. package/types/ngstarter-ui-components-visual-builder.d.ts +5 -8
  435. package/types/ngstarter-ui-components-whiteboard.d.ts +412 -339
  436. package/types/ngstarter-ui-components.d.ts +2 -2
  437. package/fesm2022/ngstarter-ui-components-content-editor-attachment-block-BgKuFsDy.mjs +0 -35
  438. package/fesm2022/ngstarter-ui-components-content-editor-attachment-block-BgKuFsDy.mjs.map +0 -1
  439. package/fesm2022/ngstarter-ui-components-content-editor-callout-block-CGTJefVK.mjs +0 -26
  440. package/fesm2022/ngstarter-ui-components-content-editor-callout-block-CGTJefVK.mjs.map +0 -1
  441. package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-B441NasU.mjs +0 -220
  442. package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-B441NasU.mjs.map +0 -1
  443. package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs +0 -99
  444. package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs.map +0 -1
  445. package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-D1nXMRXD.mjs +0 -40
  446. package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-D1nXMRXD.mjs.map +0 -1
  447. package/fesm2022/ngstarter-ui-components-content-editor-embed-block-Bo3irEeG.mjs +0 -375
  448. package/fesm2022/ngstarter-ui-components-content-editor-embed-block-Bo3irEeG.mjs.map +0 -1
  449. package/fesm2022/ngstarter-ui-components-content-editor-gallery-block-Cbh0nblW.mjs +0 -80
  450. package/fesm2022/ngstarter-ui-components-content-editor-gallery-block-Cbh0nblW.mjs.map +0 -1
  451. package/fesm2022/ngstarter-ui-components-content-editor-grid-block-BVQTRzaX.mjs +0 -65
  452. package/fesm2022/ngstarter-ui-components-content-editor-grid-block-BVQTRzaX.mjs.map +0 -1
  453. package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-CnbRqEWF.mjs +0 -137
  454. package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-CnbRqEWF.mjs.map +0 -1
  455. package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-Cv9-02mR.mjs +0 -113
  456. package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-Cv9-02mR.mjs.map +0 -1
  457. package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-yvSNKY0B.mjs +0 -188
  458. package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-yvSNKY0B.mjs.map +0 -1
  459. package/fesm2022/ngstarter-ui-components-content-editor-nested-blocks-Clz9SzCR.mjs +0 -117
  460. package/fesm2022/ngstarter-ui-components-content-editor-nested-blocks-Clz9SzCR.mjs.map +0 -1
  461. package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-CZn1p9ek.mjs +0 -4464
  462. package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-CZn1p9ek.mjs.map +0 -1
  463. package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-CxDRklAS.mjs +0 -132
  464. package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-CxDRklAS.mjs.map +0 -1
  465. package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-BNgtiV7U.mjs +0 -171
  466. package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-BNgtiV7U.mjs.map +0 -1
  467. package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-D05mE7nQ.mjs +0 -1653
  468. package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-D05mE7nQ.mjs.map +0 -1
  469. package/fesm2022/ngstarter-ui-components-content-editor-toggle-block-Ch1kWIaX.mjs +0 -20
  470. package/fesm2022/ngstarter-ui-components-content-editor-toggle-block-Ch1kWIaX.mjs.map +0 -1
  471. package/fesm2022/ngstarter-ui-components-content-editor-upload-status-QnKI_Rfz.mjs +0 -19
  472. package/fesm2022/ngstarter-ui-components-content-editor-upload-status-QnKI_Rfz.mjs.map +0 -1
  473. package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-laP7DTyq.mjs +0 -134
  474. package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-laP7DTyq.mjs.map +0 -1
  475. package/fesm2022/ngstarter-ui-components-form-builder-plain-text-settings-GNXKGonc.mjs +0 -159
  476. package/fesm2022/ngstarter-ui-components-form-builder-plain-text-settings-GNXKGonc.mjs.map +0 -1
@@ -1,177 +1,276 @@
1
- import * as i0 from '@angular/core';
2
- import { input, booleanAttribute, computed, ChangeDetectionStrategy, Component } from '@angular/core';
3
-
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, booleanAttribute, computed, input } from "@angular/core";
4
3
  const EXTENSION_TO_TYPE = {
5
- avi: 'avi',
6
- csv: 'csv',
7
- doc: 'doc',
8
- docx: 'doc',
9
- html: 'html',
10
- htm: 'html',
11
- jpeg: 'jpg',
12
- jpg: 'jpg',
13
- json: 'json',
14
- jsonld: 'json',
15
- mkv: 'mkv',
16
- mov: 'mov',
17
- mp3: 'mp3',
18
- m4a: 'mp3',
19
- mp4: 'mp4',
20
- pdf: 'pdf',
21
- png: 'png',
22
- pot: 'ppt',
23
- potx: 'ppt',
24
- pps: 'ppt',
25
- ppsx: 'ppt',
26
- ppt: 'ppt',
27
- pptx: 'ppt',
28
- svg: 'svg',
29
- text: 'txt',
30
- txt: 'txt',
31
- wav: 'wav',
32
- webm: 'webm',
33
- xls: 'xls',
34
- xlsx: 'xls',
35
- xml: 'xml',
36
- zip: 'zip',
4
+ avi: "avi",
5
+ csv: "csv",
6
+ doc: "doc",
7
+ docx: "doc",
8
+ html: "html",
9
+ htm: "html",
10
+ jpeg: "jpg",
11
+ jpg: "jpg",
12
+ json: "json",
13
+ jsonld: "json",
14
+ mkv: "mkv",
15
+ mov: "mov",
16
+ mp3: "mp3",
17
+ m4a: "mp3",
18
+ mp4: "mp4",
19
+ pdf: "pdf",
20
+ png: "png",
21
+ pot: "ppt",
22
+ potx: "ppt",
23
+ pps: "ppt",
24
+ ppsx: "ppt",
25
+ ppt: "ppt",
26
+ pptx: "ppt",
27
+ svg: "svg",
28
+ text: "txt",
29
+ txt: "txt",
30
+ wav: "wav",
31
+ webm: "webm",
32
+ xls: "xls",
33
+ xlsx: "xls",
34
+ xml: "xml",
35
+ zip: "zip"
37
36
  };
38
37
  const MIME_TYPE_TO_TYPE = {
39
- 'application/csv': 'csv',
40
- 'application/json': 'json',
41
- 'application/ld+json': 'json',
42
- 'application/msword': 'doc',
43
- 'application/pdf': 'pdf',
44
- 'application/rtf': 'doc',
45
- 'application/vnd.ms-excel': 'xls',
46
- 'application/vnd.ms-powerpoint': 'ppt',
47
- 'application/vnd.openxmlformats-officedocument.presentationml.presentation': 'ppt',
48
- 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'xls',
49
- 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'doc',
50
- 'application/x-zip-compressed': 'zip',
51
- 'application/xml': 'xml',
52
- 'application/zip': 'zip',
53
- 'audio/mp3': 'mp3',
54
- 'audio/mpeg': 'mp3',
55
- 'audio/wav': 'wav',
56
- 'audio/wave': 'wav',
57
- 'audio/x-wav': 'wav',
58
- 'image/jpeg': 'jpg',
59
- 'image/jpg': 'jpg',
60
- 'image/png': 'png',
61
- 'image/svg+xml': 'svg',
62
- 'multipart/x-zip': 'zip',
63
- 'text/comma-separated-values': 'csv',
64
- 'text/csv': 'csv',
65
- 'text/html': 'html',
66
- 'text/json': 'json',
67
- 'text/plain': 'txt',
68
- 'text/xml': 'xml',
69
- 'video/mp4': 'mp4',
70
- 'video/quicktime': 'mov',
71
- 'video/webm': 'webm',
72
- 'video/x-matroska': 'mkv',
73
- 'video/x-msvideo': 'avi',
38
+ "application/csv": "csv",
39
+ "application/json": "json",
40
+ "application/ld+json": "json",
41
+ "application/msword": "doc",
42
+ "application/pdf": "pdf",
43
+ "application/rtf": "doc",
44
+ "application/vnd.ms-excel": "xls",
45
+ "application/vnd.ms-powerpoint": "ppt",
46
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": "ppt",
47
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "xls",
48
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "doc",
49
+ "application/x-zip-compressed": "zip",
50
+ "application/xml": "xml",
51
+ "application/zip": "zip",
52
+ "audio/mp3": "mp3",
53
+ "audio/mpeg": "mp3",
54
+ "audio/wav": "wav",
55
+ "audio/wave": "wav",
56
+ "audio/x-wav": "wav",
57
+ "image/jpeg": "jpg",
58
+ "image/jpg": "jpg",
59
+ "image/png": "png",
60
+ "image/svg+xml": "svg",
61
+ "multipart/x-zip": "zip",
62
+ "text/comma-separated-values": "csv",
63
+ "text/csv": "csv",
64
+ "text/html": "html",
65
+ "text/json": "json",
66
+ "text/plain": "txt",
67
+ "text/xml": "xml",
68
+ "video/mp4": "mp4",
69
+ "video/quicktime": "mov",
70
+ "video/webm": "webm",
71
+ "video/x-matroska": "mkv",
72
+ "video/x-msvideo": "avi"
74
73
  };
75
74
  let nextIconId = 0;
76
- class FileType {
77
- iconId = `ngs-file-type-${nextIconId++}`;
78
- mimeType = input(/* @ts-ignore */
79
- ...(ngDevMode ? [undefined, { debugName: "mimeType" }] : /* istanbul ignore next */ []));
80
- extension = input(/* @ts-ignore */
81
- ...(ngDevMode ? [undefined, { debugName: "extension" }] : /* istanbul ignore next */ []));
82
- fileName = input(/* @ts-ignore */
83
- ...(ngDevMode ? [undefined, { debugName: "fileName" }] : /* istanbul ignore next */ []));
84
- fallback = input('txt', /* @ts-ignore */
85
- ...(ngDevMode ? [{ debugName: "fallback" }] : /* istanbul ignore next */ []));
86
- label = input(/* @ts-ignore */
87
- ...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
88
- decorative = input(false, { ...(ngDevMode ? { debugName: "decorative" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
89
- type = computed(() => this.resolveType(), /* @ts-ignore */
90
- ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
91
- resolvedLabel = computed(() => {
92
- const label = this.label();
93
- if (label) {
94
- return label;
95
- }
96
- return `${this.type().toUpperCase()} file`;
97
- }, /* @ts-ignore */
98
- ...(ngDevMode ? [{ debugName: "resolvedLabel" }] : /* istanbul ignore next */ []));
99
- resolveType() {
100
- const extensionType = this.resolveExtension(this.extension()) ?? this.resolveExtension(this.fileName());
101
- if (extensionType) {
102
- return extensionType;
103
- }
104
- const mimeType = this.normalizeMimeType(this.mimeType());
105
- if (mimeType) {
106
- return MIME_TYPE_TO_TYPE[mimeType] ?? this.resolveMimeFamily(mimeType) ?? this.fallback();
107
- }
108
- return this.fallback();
109
- }
110
- resolveExtension(value) {
111
- const extension = this.normalizeExtension(value);
112
- if (!extension) {
113
- return null;
114
- }
115
- return EXTENSION_TO_TYPE[extension] ?? null;
116
- }
117
- normalizeExtension(value) {
118
- if (!value) {
119
- return null;
120
- }
121
- const normalized = value.trim().toLowerCase();
122
- if (!normalized) {
123
- return null;
124
- }
125
- const fileExtension = normalized.includes('.')
126
- ? normalized.split('.').pop()
127
- : normalized.replace(/^\./, '');
128
- return fileExtension || null;
129
- }
130
- normalizeMimeType(value) {
131
- if (!value) {
132
- return null;
133
- }
134
- const mimeType = value.split(';')[0].trim().toLowerCase();
135
- return mimeType || null;
136
- }
137
- resolveMimeFamily(mimeType) {
138
- if (mimeType.startsWith('image/')) {
139
- return 'png';
140
- }
141
- if (mimeType.startsWith('video/')) {
142
- return 'mp4';
143
- }
144
- if (mimeType.startsWith('audio/')) {
145
- return 'mp3';
146
- }
147
- if (mimeType.startsWith('text/')) {
148
- return 'txt';
149
- }
150
- return null;
151
- }
152
- gradientId(type) {
153
- return `${this.iconId}-${type}-pageGradient`;
154
- }
155
- gradientUrl(type) {
156
- return `url(#${this.gradientId(type)})`;
157
- }
158
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: FileType, deps: [], target: i0.ɵɵFactoryTarget.Component });
159
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.7", type: FileType, isStandalone: true, selector: "ngs-file-type", inputs: { mimeType: { classPropertyName: "mimeType", publicName: "mimeType", isSignal: true, isRequired: false, transformFunction: null }, extension: { classPropertyName: "extension", publicName: "extension", isSignal: true, isRequired: false, transformFunction: null }, fileName: { classPropertyName: "fileName", publicName: "fileName", isSignal: true, isRequired: false, transformFunction: null }, fallback: { classPropertyName: "fallback", publicName: "fallback", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, decorative: { classPropertyName: "decorative", publicName: "decorative", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.role": "decorative() ? null : \"img\"", "attr.aria-label": "decorative() ? null : resolvedLabel()", "attr.aria-hidden": "decorative() ? \"true\" : null", "attr.data-file-type": "type()" }, classAttribute: "ngs-file-type not-prose" }, exportAs: ["ngsFileType"], ngImport: i0, template: "<span class=\"icon\">\n @switch (type()) {\n @case ('avi') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('avi')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#8D7CFF\" />\n <stop offset=\"1\" stop-color=\"#4531C9\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('avi')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#4531C9\"\n >\n AVI\n </text>\n </g>\n </svg>\n }\n @case ('csv') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('csv')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#42D9D2\" />\n <stop offset=\"1\" stop-color=\"#0B8A97\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('csv')\" />\n <g transform=\"translate(0 -2)\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M42 33C38.686 33 36 35.686 36 39V61C36 64.314 38.686 67 42 67H86C89.314 67 92 64.314 92 61V39C92 35.686 89.314 33 86 33H42ZM43 37C41.343 37 40 38.343 40 40V49H54V37H43ZM57 37H71V49H57V37ZM74 37V49H88V40C88 38.343 86.657 37 85 37H74ZM40 52V61C40 62.657 41.343 64 43 64H54V52H40ZM57 52H71V64H57V52ZM74 52V64H85C86.657 64 88 62.657 88 61V52H74Z\"\n fill=\"white\"\n fill-opacity=\"0.5\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#0B8A97\"\n >\n CSV\n </text>\n </g>\n </svg>\n }\n @case ('doc') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('doc')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#5EA8FF\" />\n <stop offset=\"1\" stop-color=\"#1D5FD6\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('doc')\" />\n <g transform=\"translate(0 2)\">\n <path\n d=\"M42 32H82M42 44H86M42 56H76\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"6\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#1D5FD6\"\n >\n DOC\n </text>\n </g>\n </svg>\n }\n @case ('html') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('html')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF7A5F\" />\n <stop offset=\"1\" stop-color=\"#D23B21\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('html')\" />\n <g transform=\"translate(0 -2)\">\n <path\n d=\"M53 36L41 48L53 60M75 36L87 48L75 60M68 34L60 62\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"16\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#D23B21\"\n >\n HTML\n </text>\n </g>\n </svg>\n }\n @case ('jpg') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('jpg')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF78B6\" />\n <stop offset=\"1\" stop-color=\"#C92678\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('jpg')\" />\n <g transform=\"translate(0 -4)\">\n <rect x=\"37\" y=\"34\" width=\"54\" height=\"36\" rx=\"7\" fill=\"white\" fill-opacity=\"0.18\" />\n <path\n d=\"M39 62L51 50L61 59L70 49L89 66\"\n stroke=\"white\"\n stroke-opacity=\"0.62\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <circle cx=\"75\" cy=\"44\" r=\"5\" fill=\"white\" fill-opacity=\"0.62\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#C92678\"\n >\n JPG\n </text>\n </g>\n </svg>\n }\n @case ('json') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('json')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#667085\" />\n <stop offset=\"1\" stop-color=\"#202939\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('json')\" />\n <g transform=\"translate(0 -4)\">\n <path\n d=\"M51 33C45 33 43 37 43 41V45C43 48 41 50 38 50C41 50 43 52 43 55V59C43 63 45 67 51 67\"\n stroke=\"white\"\n stroke-opacity=\"0.42\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M77 33C83 33 85 37 85 41V45C85 48 87 50 90 50C87 50 85 52 85 55V59C85 63 83 67 77 67\"\n stroke=\"white\"\n stroke-opacity=\"0.42\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M57 43H70M57 57H73\"\n stroke=\"white\"\n stroke-opacity=\"0.44\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"16\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#202939\"\n >\n JSON\n </text>\n </g>\n </svg>\n }\n @case ('mkv') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('mkv')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#AA74FF\" />\n <stop offset=\"1\" stop-color=\"#5C26B8\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('mkv')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#5C26B8\"\n >\n MKV\n </text>\n </g>\n </svg>\n }\n @case ('mov') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('mov')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#45D0FF\" />\n <stop offset=\"1\" stop-color=\"#1268C7\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('mov')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#1268C7\"\n >\n MOV\n </text>\n </g>\n </svg>\n }\n @case ('mp3') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('mp3')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#D36BFF\" />\n <stop offset=\"1\" stop-color=\"#8A2BC6\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('mp3')\" />\n <g transform=\"translate(0 0)\">\n <path\n d=\"M52 56V35L82 30V49M52 56C52 59.5 49.2 62 45.5 62C41.8 62 39 59.5 39 56C39 52.5 41.8 50 45.5 50C49.2 50 52 52.5 52 56ZM82 49C82 52.5 79.2 55 75.5 55C71.8 55 69 52.5 69 49C69 45.5 71.8 43 75.5 43C79.2 43 82 45.5 82 49Z\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#8A2BC6\"\n >\n MP3\n </text>\n </g>\n </svg>\n }\n @case ('mp4') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('mp4')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#5E9BFF\" />\n <stop offset=\"1\" stop-color=\"#2745C8\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('mp4')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#2745C8\"\n >\n MP4\n </text>\n </g>\n </svg>\n }\n @case ('pdf') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('pdf')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF6A5F\" />\n <stop offset=\"1\" stop-color=\"#D82432\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('pdf')\" />\n <g transform=\"translate(0 2)\">\n <path\n d=\"M42 32H82M42 44H86M42 56H76\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"6\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#D82432\"\n >\n PDF\n </text>\n </g>\n </svg>\n }\n @case ('png') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('png')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#4EC8FF\" />\n <stop offset=\"1\" stop-color=\"#147AAE\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('png')\" />\n <g transform=\"translate(0 -4)\">\n <rect x=\"37\" y=\"34\" width=\"54\" height=\"36\" rx=\"7\" fill=\"white\" fill-opacity=\"0.18\" />\n <path\n d=\"M39 62L51 50L61 59L70 49L89 66\"\n stroke=\"white\"\n stroke-opacity=\"0.62\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <circle cx=\"75\" cy=\"44\" r=\"5\" fill=\"white\" fill-opacity=\"0.62\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#147AAE\"\n >\n PNG\n </text>\n </g>\n </svg>\n }\n @case ('ppt') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('ppt')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF9B4A\" />\n <stop offset=\"1\" stop-color=\"#D84A1B\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('ppt')\" />\n <g transform=\"translate(0 0)\">\n <rect\n x=\"40\"\n y=\"31\"\n width=\"48\"\n height=\"30\"\n rx=\"5\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"5\"\n />\n <path\n d=\"M51 51H75M51 43H63\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"4\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#D84A1B\"\n >\n PPT\n </text>\n </g>\n </svg>\n }\n @case ('svg') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('svg')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#B389FF\" />\n <stop offset=\"1\" stop-color=\"#6F35D5\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('svg')\" />\n <g transform=\"translate(0 -4)\">\n <rect x=\"37\" y=\"34\" width=\"54\" height=\"36\" rx=\"7\" fill=\"white\" fill-opacity=\"0.18\" />\n <path\n d=\"M39 62L51 50L61 59L70 49L89 66\"\n stroke=\"white\"\n stroke-opacity=\"0.62\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <circle cx=\"75\" cy=\"44\" r=\"5\" fill=\"white\" fill-opacity=\"0.62\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#6F35D5\"\n >\n SVG\n </text>\n </g>\n </svg>\n }\n @case ('txt') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('txt')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#95A3B8\" />\n <stop offset=\"1\" stop-color=\"#526071\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('txt')\" />\n <g transform=\"translate(0 2)\">\n <path\n d=\"M42 32H82M42 44H86M42 56H76\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"6\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#526071\"\n >\n TXT\n </text>\n </g>\n </svg>\n }\n @case ('wav') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('wav')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF6EDB\" />\n <stop offset=\"1\" stop-color=\"#B8299F\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('wav')\" />\n <g transform=\"translate(0 -3)\">\n <path\n d=\"M39 49H45L50 37L57 61L64 39L70 55H89\"\n stroke=\"white\"\n stroke-opacity=\"0.38\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#B8299F\"\n >\n WAV\n </text>\n </g>\n </svg>\n }\n @case ('webm') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('webm')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#53B5FF\" />\n <stop offset=\"1\" stop-color=\"#5034D5\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('webm')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"16\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#5034D5\"\n >\n WEBM\n </text>\n </g>\n </svg>\n }\n @case ('xls') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('xls')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#4AD991\" />\n <stop offset=\"1\" stop-color=\"#168F58\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('xls')\" />\n <g transform=\"translate(0 -2)\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M42 33C38.686 33 36 35.686 36 39V61C36 64.314 38.686 67 42 67H86C89.314 67 92 64.314 92 61V39C92 35.686 89.314 33 86 33H42ZM43 37C41.343 37 40 38.343 40 40V49H54V37H43ZM57 37H71V49H57V37ZM74 37V49H88V40C88 38.343 86.657 37 85 37H74ZM40 52V61C40 62.657 41.343 64 43 64H54V52H40ZM57 52H71V64H57V52ZM74 52V64H85C86.657 64 88 62.657 88 61V52H74Z\"\n fill=\"white\"\n fill-opacity=\"0.5\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#168F58\"\n >\n XLS\n </text>\n </g>\n </svg>\n }\n @case ('xml') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('xml')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#7188FF\" />\n <stop offset=\"1\" stop-color=\"#3346B8\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('xml')\" />\n <g transform=\"translate(0 -2)\">\n <path\n d=\"M53 36L41 48L53 60M75 36L87 48L75 60M68 34L60 62\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#3346B8\"\n >\n XML\n </text>\n </g>\n </svg>\n }\n @case ('zip') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('zip')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FFD15C\" />\n <stop offset=\"1\" stop-color=\"#C48612\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('zip')\" />\n <g transform=\"translate(0 -4)\">\n <path\n d=\"M61 34Q61 32 63 32H65Q67 32 67 34V66Q67 68 65 68H63Q61 68 61 66V34ZM53 34Q51 34 51 36V37Q51 39 53 39H61V34H53ZM67 39V44H75Q77 44 77 42V41Q77 39 75 39H67ZM53 44Q51 44 51 46V47Q51 49 53 49H61V44H53ZM67 49V54H75Q77 54 77 52V51Q77 49 75 49H67ZM53 54Q51 54 51 56V57Q51 59 53 59H61V54H53ZM67 59V64H75Q77 64 77 62V61Q77 59 75 59H67Z\"\n fill=\"white\"\n fill-opacity=\"0.66\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#C48612\"\n >\n ZIP\n </text>\n </g>\n </svg>\n }\n }\n</span>\n", styles: [":host{--ngs-file-type-size: calc(var(--spacing, .25rem) * 10);display:inline-flex;flex:none;line-height:0}:host:not([class*=w-]):not([class*=size-]){width:var(--ngs-file-type-size)}:host:not([class*=h-]):not([class*=size-]){height:var(--ngs-file-type-size)}:host .icon{display:contents}:host svg{display:block;width:100%;height:100%;flex:none}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
160
- }
161
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: FileType, decorators: [{
162
- type: Component,
163
- args: [{ selector: 'ngs-file-type', exportAs: 'ngsFileType', changeDetection: ChangeDetectionStrategy.OnPush, host: {
164
- class: 'ngs-file-type not-prose',
165
- '[attr.role]': 'decorative() ? null : "img"',
166
- '[attr.aria-label]': 'decorative() ? null : resolvedLabel()',
167
- '[attr.aria-hidden]': 'decorative() ? "true" : null',
168
- '[attr.data-file-type]': 'type()',
169
- }, template: "<span class=\"icon\">\n @switch (type()) {\n @case ('avi') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('avi')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#8D7CFF\" />\n <stop offset=\"1\" stop-color=\"#4531C9\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('avi')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#4531C9\"\n >\n AVI\n </text>\n </g>\n </svg>\n }\n @case ('csv') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('csv')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#42D9D2\" />\n <stop offset=\"1\" stop-color=\"#0B8A97\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('csv')\" />\n <g transform=\"translate(0 -2)\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M42 33C38.686 33 36 35.686 36 39V61C36 64.314 38.686 67 42 67H86C89.314 67 92 64.314 92 61V39C92 35.686 89.314 33 86 33H42ZM43 37C41.343 37 40 38.343 40 40V49H54V37H43ZM57 37H71V49H57V37ZM74 37V49H88V40C88 38.343 86.657 37 85 37H74ZM40 52V61C40 62.657 41.343 64 43 64H54V52H40ZM57 52H71V64H57V52ZM74 52V64H85C86.657 64 88 62.657 88 61V52H74Z\"\n fill=\"white\"\n fill-opacity=\"0.5\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#0B8A97\"\n >\n CSV\n </text>\n </g>\n </svg>\n }\n @case ('doc') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('doc')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#5EA8FF\" />\n <stop offset=\"1\" stop-color=\"#1D5FD6\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('doc')\" />\n <g transform=\"translate(0 2)\">\n <path\n d=\"M42 32H82M42 44H86M42 56H76\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"6\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#1D5FD6\"\n >\n DOC\n </text>\n </g>\n </svg>\n }\n @case ('html') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('html')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF7A5F\" />\n <stop offset=\"1\" stop-color=\"#D23B21\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('html')\" />\n <g transform=\"translate(0 -2)\">\n <path\n d=\"M53 36L41 48L53 60M75 36L87 48L75 60M68 34L60 62\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"16\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#D23B21\"\n >\n HTML\n </text>\n </g>\n </svg>\n }\n @case ('jpg') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('jpg')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF78B6\" />\n <stop offset=\"1\" stop-color=\"#C92678\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('jpg')\" />\n <g transform=\"translate(0 -4)\">\n <rect x=\"37\" y=\"34\" width=\"54\" height=\"36\" rx=\"7\" fill=\"white\" fill-opacity=\"0.18\" />\n <path\n d=\"M39 62L51 50L61 59L70 49L89 66\"\n stroke=\"white\"\n stroke-opacity=\"0.62\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <circle cx=\"75\" cy=\"44\" r=\"5\" fill=\"white\" fill-opacity=\"0.62\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#C92678\"\n >\n JPG\n </text>\n </g>\n </svg>\n }\n @case ('json') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('json')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#667085\" />\n <stop offset=\"1\" stop-color=\"#202939\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('json')\" />\n <g transform=\"translate(0 -4)\">\n <path\n d=\"M51 33C45 33 43 37 43 41V45C43 48 41 50 38 50C41 50 43 52 43 55V59C43 63 45 67 51 67\"\n stroke=\"white\"\n stroke-opacity=\"0.42\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M77 33C83 33 85 37 85 41V45C85 48 87 50 90 50C87 50 85 52 85 55V59C85 63 83 67 77 67\"\n stroke=\"white\"\n stroke-opacity=\"0.42\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M57 43H70M57 57H73\"\n stroke=\"white\"\n stroke-opacity=\"0.44\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"16\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#202939\"\n >\n JSON\n </text>\n </g>\n </svg>\n }\n @case ('mkv') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('mkv')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#AA74FF\" />\n <stop offset=\"1\" stop-color=\"#5C26B8\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('mkv')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#5C26B8\"\n >\n MKV\n </text>\n </g>\n </svg>\n }\n @case ('mov') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('mov')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#45D0FF\" />\n <stop offset=\"1\" stop-color=\"#1268C7\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('mov')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#1268C7\"\n >\n MOV\n </text>\n </g>\n </svg>\n }\n @case ('mp3') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('mp3')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#D36BFF\" />\n <stop offset=\"1\" stop-color=\"#8A2BC6\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('mp3')\" />\n <g transform=\"translate(0 0)\">\n <path\n d=\"M52 56V35L82 30V49M52 56C52 59.5 49.2 62 45.5 62C41.8 62 39 59.5 39 56C39 52.5 41.8 50 45.5 50C49.2 50 52 52.5 52 56ZM82 49C82 52.5 79.2 55 75.5 55C71.8 55 69 52.5 69 49C69 45.5 71.8 43 75.5 43C79.2 43 82 45.5 82 49Z\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#8A2BC6\"\n >\n MP3\n </text>\n </g>\n </svg>\n }\n @case ('mp4') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('mp4')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#5E9BFF\" />\n <stop offset=\"1\" stop-color=\"#2745C8\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('mp4')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#2745C8\"\n >\n MP4\n </text>\n </g>\n </svg>\n }\n @case ('pdf') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('pdf')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF6A5F\" />\n <stop offset=\"1\" stop-color=\"#D82432\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('pdf')\" />\n <g transform=\"translate(0 2)\">\n <path\n d=\"M42 32H82M42 44H86M42 56H76\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"6\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#D82432\"\n >\n PDF\n </text>\n </g>\n </svg>\n }\n @case ('png') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('png')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#4EC8FF\" />\n <stop offset=\"1\" stop-color=\"#147AAE\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('png')\" />\n <g transform=\"translate(0 -4)\">\n <rect x=\"37\" y=\"34\" width=\"54\" height=\"36\" rx=\"7\" fill=\"white\" fill-opacity=\"0.18\" />\n <path\n d=\"M39 62L51 50L61 59L70 49L89 66\"\n stroke=\"white\"\n stroke-opacity=\"0.62\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <circle cx=\"75\" cy=\"44\" r=\"5\" fill=\"white\" fill-opacity=\"0.62\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#147AAE\"\n >\n PNG\n </text>\n </g>\n </svg>\n }\n @case ('ppt') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('ppt')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF9B4A\" />\n <stop offset=\"1\" stop-color=\"#D84A1B\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('ppt')\" />\n <g transform=\"translate(0 0)\">\n <rect\n x=\"40\"\n y=\"31\"\n width=\"48\"\n height=\"30\"\n rx=\"5\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"5\"\n />\n <path\n d=\"M51 51H75M51 43H63\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"4\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#D84A1B\"\n >\n PPT\n </text>\n </g>\n </svg>\n }\n @case ('svg') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('svg')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#B389FF\" />\n <stop offset=\"1\" stop-color=\"#6F35D5\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('svg')\" />\n <g transform=\"translate(0 -4)\">\n <rect x=\"37\" y=\"34\" width=\"54\" height=\"36\" rx=\"7\" fill=\"white\" fill-opacity=\"0.18\" />\n <path\n d=\"M39 62L51 50L61 59L70 49L89 66\"\n stroke=\"white\"\n stroke-opacity=\"0.62\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <circle cx=\"75\" cy=\"44\" r=\"5\" fill=\"white\" fill-opacity=\"0.62\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#6F35D5\"\n >\n SVG\n </text>\n </g>\n </svg>\n }\n @case ('txt') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('txt')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#95A3B8\" />\n <stop offset=\"1\" stop-color=\"#526071\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('txt')\" />\n <g transform=\"translate(0 2)\">\n <path\n d=\"M42 32H82M42 44H86M42 56H76\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"6\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#526071\"\n >\n TXT\n </text>\n </g>\n </svg>\n }\n @case ('wav') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('wav')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF6EDB\" />\n <stop offset=\"1\" stop-color=\"#B8299F\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('wav')\" />\n <g transform=\"translate(0 -3)\">\n <path\n d=\"M39 49H45L50 37L57 61L64 39L70 55H89\"\n stroke=\"white\"\n stroke-opacity=\"0.38\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#B8299F\"\n >\n WAV\n </text>\n </g>\n </svg>\n }\n @case ('webm') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('webm')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#53B5FF\" />\n <stop offset=\"1\" stop-color=\"#5034D5\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('webm')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"16\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#5034D5\"\n >\n WEBM\n </text>\n </g>\n </svg>\n }\n @case ('xls') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('xls')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#4AD991\" />\n <stop offset=\"1\" stop-color=\"#168F58\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('xls')\" />\n <g transform=\"translate(0 -2)\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M42 33C38.686 33 36 35.686 36 39V61C36 64.314 38.686 67 42 67H86C89.314 67 92 64.314 92 61V39C92 35.686 89.314 33 86 33H42ZM43 37C41.343 37 40 38.343 40 40V49H54V37H43ZM57 37H71V49H57V37ZM74 37V49H88V40C88 38.343 86.657 37 85 37H74ZM40 52V61C40 62.657 41.343 64 43 64H54V52H40ZM57 52H71V64H57V52ZM74 52V64H85C86.657 64 88 62.657 88 61V52H74Z\"\n fill=\"white\"\n fill-opacity=\"0.5\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#168F58\"\n >\n XLS\n </text>\n </g>\n </svg>\n }\n @case ('xml') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('xml')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#7188FF\" />\n <stop offset=\"1\" stop-color=\"#3346B8\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('xml')\" />\n <g transform=\"translate(0 -2)\">\n <path\n d=\"M53 36L41 48L53 60M75 36L87 48L75 60M68 34L60 62\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#3346B8\"\n >\n XML\n </text>\n </g>\n </svg>\n }\n @case ('zip') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('zip')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FFD15C\" />\n <stop offset=\"1\" stop-color=\"#C48612\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('zip')\" />\n <g transform=\"translate(0 -4)\">\n <path\n d=\"M61 34Q61 32 63 32H65Q67 32 67 34V66Q67 68 65 68H63Q61 68 61 66V34ZM53 34Q51 34 51 36V37Q51 39 53 39H61V34H53ZM67 39V44H75Q77 44 77 42V41Q77 39 75 39H67ZM53 44Q51 44 51 46V47Q51 49 53 49H61V44H53ZM67 49V54H75Q77 54 77 52V51Q77 49 75 49H67ZM53 54Q51 54 51 56V57Q51 59 53 59H61V54H53ZM67 59V64H75Q77 64 77 62V61Q77 59 75 59H67Z\"\n fill=\"white\"\n fill-opacity=\"0.66\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#C48612\"\n >\n ZIP\n </text>\n </g>\n </svg>\n }\n }\n</span>\n", styles: [":host{--ngs-file-type-size: calc(var(--spacing, .25rem) * 10);display:inline-flex;flex:none;line-height:0}:host:not([class*=w-]):not([class*=size-]){width:var(--ngs-file-type-size)}:host:not([class*=h-]):not([class*=size-]){height:var(--ngs-file-type-size)}:host .icon{display:contents}:host svg{display:block;width:100%;height:100%;flex:none}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"] }]
170
- }], propDecorators: { mimeType: [{ type: i0.Input, args: [{ isSignal: true, alias: "mimeType", required: false }] }], extension: [{ type: i0.Input, args: [{ isSignal: true, alias: "extension", required: false }] }], fileName: [{ type: i0.Input, args: [{ isSignal: true, alias: "fileName", required: false }] }], fallback: [{ type: i0.Input, args: [{ isSignal: true, alias: "fallback", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], decorative: [{ type: i0.Input, args: [{ isSignal: true, alias: "decorative", required: false }] }] } });
171
-
172
- /**
173
- * Generated bundle index. Do not edit.
174
- */
175
-
75
+ var FileType = class FileType {
76
+ iconId = `ngs-file-type-${nextIconId++}`;
77
+ mimeType = input(...ngDevMode ? [void 0, { debugName: "mimeType" }] : /* istanbul ignore next */ []);
78
+ extension = input(...ngDevMode ? [void 0, { debugName: "extension" }] : /* istanbul ignore next */ []);
79
+ fileName = input(...ngDevMode ? [void 0, { debugName: "fileName" }] : /* istanbul ignore next */ []);
80
+ fallback = input("txt", ...ngDevMode ? [{ debugName: "fallback" }] : /* istanbul ignore next */ []);
81
+ label = input(...ngDevMode ? [void 0, { debugName: "label" }] : /* istanbul ignore next */ []);
82
+ decorative = input(false, {
83
+ ...ngDevMode ? { debugName: "decorative" } : /* istanbul ignore next */ {},
84
+ transform: booleanAttribute
85
+ });
86
+ type = computed(() => this.resolveType(), ...ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []);
87
+ resolvedLabel = computed(() => {
88
+ const label = this.label();
89
+ if (label) return label;
90
+ return `${this.type().toUpperCase()} file`;
91
+ }, ...ngDevMode ? [{ debugName: "resolvedLabel" }] : /* istanbul ignore next */ []);
92
+ resolveType() {
93
+ const extensionType = this.resolveExtension(this.extension()) ?? this.resolveExtension(this.fileName());
94
+ if (extensionType) return extensionType;
95
+ const mimeType = this.normalizeMimeType(this.mimeType());
96
+ if (mimeType) return MIME_TYPE_TO_TYPE[mimeType] ?? this.resolveMimeFamily(mimeType) ?? this.fallback();
97
+ return this.fallback();
98
+ }
99
+ resolveExtension(value) {
100
+ const extension = this.normalizeExtension(value);
101
+ if (!extension) return null;
102
+ return EXTENSION_TO_TYPE[extension] ?? null;
103
+ }
104
+ normalizeExtension(value) {
105
+ if (!value) return null;
106
+ const normalized = value.trim().toLowerCase();
107
+ if (!normalized) return null;
108
+ return (normalized.includes(".") ? normalized.split(".").pop() : normalized.replace(/^\./, "")) || null;
109
+ }
110
+ normalizeMimeType(value) {
111
+ if (!value) return null;
112
+ return value.split(";")[0].trim().toLowerCase() || null;
113
+ }
114
+ resolveMimeFamily(mimeType) {
115
+ if (mimeType.startsWith("image/")) return "png";
116
+ if (mimeType.startsWith("video/")) return "mp4";
117
+ if (mimeType.startsWith("audio/")) return "mp3";
118
+ if (mimeType.startsWith("text/")) return "txt";
119
+ return null;
120
+ }
121
+ gradientId(type) {
122
+ return `${this.iconId}-${type}-pageGradient`;
123
+ }
124
+ gradientUrl(type) {
125
+ return `url(#${this.gradientId(type)})`;
126
+ }
127
+ static ɵfac = i0.ɵɵngDeclareFactory({
128
+ minVersion: "12.0.0",
129
+ version: "22.3.0",
130
+ ngImport: i0,
131
+ type: FileType,
132
+ deps: [],
133
+ target: i0.ɵɵFactoryTarget.Component
134
+ });
135
+ static ɵcmp = i0.ɵɵngDeclareComponent({
136
+ minVersion: "17.0.0",
137
+ version: "22.3.0",
138
+ type: FileType,
139
+ isStandalone: true,
140
+ selector: "ngs-file-type",
141
+ inputs: {
142
+ mimeType: {
143
+ classPropertyName: "mimeType",
144
+ publicName: "mimeType",
145
+ isSignal: true,
146
+ isRequired: false,
147
+ transformFunction: null
148
+ },
149
+ extension: {
150
+ classPropertyName: "extension",
151
+ publicName: "extension",
152
+ isSignal: true,
153
+ isRequired: false,
154
+ transformFunction: null
155
+ },
156
+ fileName: {
157
+ classPropertyName: "fileName",
158
+ publicName: "fileName",
159
+ isSignal: true,
160
+ isRequired: false,
161
+ transformFunction: null
162
+ },
163
+ fallback: {
164
+ classPropertyName: "fallback",
165
+ publicName: "fallback",
166
+ isSignal: true,
167
+ isRequired: false,
168
+ transformFunction: null
169
+ },
170
+ label: {
171
+ classPropertyName: "label",
172
+ publicName: "label",
173
+ isSignal: true,
174
+ isRequired: false,
175
+ transformFunction: null
176
+ },
177
+ decorative: {
178
+ classPropertyName: "decorative",
179
+ publicName: "decorative",
180
+ isSignal: true,
181
+ isRequired: false,
182
+ transformFunction: null
183
+ }
184
+ },
185
+ host: {
186
+ properties: {
187
+ "attr.role": "decorative() ? null : \"img\"",
188
+ "attr.aria-label": "decorative() ? null : resolvedLabel()",
189
+ "attr.aria-hidden": "decorative() ? \"true\" : null",
190
+ "attr.data-file-type": "type()"
191
+ },
192
+ classAttribute: "ngs-file-type not-prose"
193
+ },
194
+ exportAs: ["ngsFileType"],
195
+ ngImport: i0,
196
+ template: "<span class=\"icon\">\n @switch (type()) {\n @case ('avi') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('avi')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#8D7CFF\" />\n <stop offset=\"1\" stop-color=\"#4531C9\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('avi')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#4531C9\"\n >\n AVI\n </text>\n </g>\n </svg>\n }\n @case ('csv') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('csv')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#42D9D2\" />\n <stop offset=\"1\" stop-color=\"#0B8A97\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('csv')\" />\n <g transform=\"translate(0 -2)\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M42 33C38.686 33 36 35.686 36 39V61C36 64.314 38.686 67 42 67H86C89.314 67 92 64.314 92 61V39C92 35.686 89.314 33 86 33H42ZM43 37C41.343 37 40 38.343 40 40V49H54V37H43ZM57 37H71V49H57V37ZM74 37V49H88V40C88 38.343 86.657 37 85 37H74ZM40 52V61C40 62.657 41.343 64 43 64H54V52H40ZM57 52H71V64H57V52ZM74 52V64H85C86.657 64 88 62.657 88 61V52H74Z\"\n fill=\"white\"\n fill-opacity=\"0.5\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#0B8A97\"\n >\n CSV\n </text>\n </g>\n </svg>\n }\n @case ('doc') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('doc')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#5EA8FF\" />\n <stop offset=\"1\" stop-color=\"#1D5FD6\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('doc')\" />\n <g transform=\"translate(0 2)\">\n <path\n d=\"M42 32H82M42 44H86M42 56H76\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"6\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#1D5FD6\"\n >\n DOC\n </text>\n </g>\n </svg>\n }\n @case ('html') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('html')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF7A5F\" />\n <stop offset=\"1\" stop-color=\"#D23B21\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('html')\" />\n <g transform=\"translate(0 -2)\">\n <path\n d=\"M53 36L41 48L53 60M75 36L87 48L75 60M68 34L60 62\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"16\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#D23B21\"\n >\n HTML\n </text>\n </g>\n </svg>\n }\n @case ('jpg') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('jpg')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF78B6\" />\n <stop offset=\"1\" stop-color=\"#C92678\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('jpg')\" />\n <g transform=\"translate(0 -4)\">\n <rect x=\"37\" y=\"34\" width=\"54\" height=\"36\" rx=\"7\" fill=\"white\" fill-opacity=\"0.18\" />\n <path\n d=\"M39 62L51 50L61 59L70 49L89 66\"\n stroke=\"white\"\n stroke-opacity=\"0.62\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <circle cx=\"75\" cy=\"44\" r=\"5\" fill=\"white\" fill-opacity=\"0.62\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#C92678\"\n >\n JPG\n </text>\n </g>\n </svg>\n }\n @case ('json') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('json')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#667085\" />\n <stop offset=\"1\" stop-color=\"#202939\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('json')\" />\n <g transform=\"translate(0 -4)\">\n <path\n d=\"M51 33C45 33 43 37 43 41V45C43 48 41 50 38 50C41 50 43 52 43 55V59C43 63 45 67 51 67\"\n stroke=\"white\"\n stroke-opacity=\"0.42\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M77 33C83 33 85 37 85 41V45C85 48 87 50 90 50C87 50 85 52 85 55V59C85 63 83 67 77 67\"\n stroke=\"white\"\n stroke-opacity=\"0.42\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M57 43H70M57 57H73\"\n stroke=\"white\"\n stroke-opacity=\"0.44\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"16\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#202939\"\n >\n JSON\n </text>\n </g>\n </svg>\n }\n @case ('mkv') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('mkv')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#AA74FF\" />\n <stop offset=\"1\" stop-color=\"#5C26B8\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('mkv')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#5C26B8\"\n >\n MKV\n </text>\n </g>\n </svg>\n }\n @case ('mov') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('mov')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#45D0FF\" />\n <stop offset=\"1\" stop-color=\"#1268C7\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('mov')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#1268C7\"\n >\n MOV\n </text>\n </g>\n </svg>\n }\n @case ('mp3') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('mp3')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#D36BFF\" />\n <stop offset=\"1\" stop-color=\"#8A2BC6\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('mp3')\" />\n <g transform=\"translate(0 0)\">\n <path\n d=\"M52 56V35L82 30V49M52 56C52 59.5 49.2 62 45.5 62C41.8 62 39 59.5 39 56C39 52.5 41.8 50 45.5 50C49.2 50 52 52.5 52 56ZM82 49C82 52.5 79.2 55 75.5 55C71.8 55 69 52.5 69 49C69 45.5 71.8 43 75.5 43C79.2 43 82 45.5 82 49Z\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#8A2BC6\"\n >\n MP3\n </text>\n </g>\n </svg>\n }\n @case ('mp4') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('mp4')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#5E9BFF\" />\n <stop offset=\"1\" stop-color=\"#2745C8\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('mp4')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#2745C8\"\n >\n MP4\n </text>\n </g>\n </svg>\n }\n @case ('pdf') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('pdf')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF6A5F\" />\n <stop offset=\"1\" stop-color=\"#D82432\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('pdf')\" />\n <g transform=\"translate(0 2)\">\n <path\n d=\"M42 32H82M42 44H86M42 56H76\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"6\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#D82432\"\n >\n PDF\n </text>\n </g>\n </svg>\n }\n @case ('png') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('png')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#4EC8FF\" />\n <stop offset=\"1\" stop-color=\"#147AAE\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('png')\" />\n <g transform=\"translate(0 -4)\">\n <rect x=\"37\" y=\"34\" width=\"54\" height=\"36\" rx=\"7\" fill=\"white\" fill-opacity=\"0.18\" />\n <path\n d=\"M39 62L51 50L61 59L70 49L89 66\"\n stroke=\"white\"\n stroke-opacity=\"0.62\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <circle cx=\"75\" cy=\"44\" r=\"5\" fill=\"white\" fill-opacity=\"0.62\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#147AAE\"\n >\n PNG\n </text>\n </g>\n </svg>\n }\n @case ('ppt') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('ppt')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF9B4A\" />\n <stop offset=\"1\" stop-color=\"#D84A1B\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('ppt')\" />\n <g transform=\"translate(0 0)\">\n <rect\n x=\"40\"\n y=\"31\"\n width=\"48\"\n height=\"30\"\n rx=\"5\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"5\"\n />\n <path\n d=\"M51 51H75M51 43H63\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"4\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#D84A1B\"\n >\n PPT\n </text>\n </g>\n </svg>\n }\n @case ('svg') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('svg')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#B389FF\" />\n <stop offset=\"1\" stop-color=\"#6F35D5\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('svg')\" />\n <g transform=\"translate(0 -4)\">\n <rect x=\"37\" y=\"34\" width=\"54\" height=\"36\" rx=\"7\" fill=\"white\" fill-opacity=\"0.18\" />\n <path\n d=\"M39 62L51 50L61 59L70 49L89 66\"\n stroke=\"white\"\n stroke-opacity=\"0.62\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <circle cx=\"75\" cy=\"44\" r=\"5\" fill=\"white\" fill-opacity=\"0.62\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#6F35D5\"\n >\n SVG\n </text>\n </g>\n </svg>\n }\n @case ('txt') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('txt')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#95A3B8\" />\n <stop offset=\"1\" stop-color=\"#526071\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('txt')\" />\n <g transform=\"translate(0 2)\">\n <path\n d=\"M42 32H82M42 44H86M42 56H76\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"6\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#526071\"\n >\n TXT\n </text>\n </g>\n </svg>\n }\n @case ('wav') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('wav')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF6EDB\" />\n <stop offset=\"1\" stop-color=\"#B8299F\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('wav')\" />\n <g transform=\"translate(0 -3)\">\n <path\n d=\"M39 49H45L50 37L57 61L64 39L70 55H89\"\n stroke=\"white\"\n stroke-opacity=\"0.38\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#B8299F\"\n >\n WAV\n </text>\n </g>\n </svg>\n }\n @case ('webm') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('webm')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#53B5FF\" />\n <stop offset=\"1\" stop-color=\"#5034D5\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('webm')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"16\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#5034D5\"\n >\n WEBM\n </text>\n </g>\n </svg>\n }\n @case ('xls') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('xls')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#4AD991\" />\n <stop offset=\"1\" stop-color=\"#168F58\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('xls')\" />\n <g transform=\"translate(0 -2)\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M42 33C38.686 33 36 35.686 36 39V61C36 64.314 38.686 67 42 67H86C89.314 67 92 64.314 92 61V39C92 35.686 89.314 33 86 33H42ZM43 37C41.343 37 40 38.343 40 40V49H54V37H43ZM57 37H71V49H57V37ZM74 37V49H88V40C88 38.343 86.657 37 85 37H74ZM40 52V61C40 62.657 41.343 64 43 64H54V52H40ZM57 52H71V64H57V52ZM74 52V64H85C86.657 64 88 62.657 88 61V52H74Z\"\n fill=\"white\"\n fill-opacity=\"0.5\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#168F58\"\n >\n XLS\n </text>\n </g>\n </svg>\n }\n @case ('xml') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('xml')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#7188FF\" />\n <stop offset=\"1\" stop-color=\"#3346B8\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('xml')\" />\n <g transform=\"translate(0 -2)\">\n <path\n d=\"M53 36L41 48L53 60M75 36L87 48L75 60M68 34L60 62\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#3346B8\"\n >\n XML\n </text>\n </g>\n </svg>\n }\n @case ('zip') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('zip')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FFD15C\" />\n <stop offset=\"1\" stop-color=\"#C48612\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('zip')\" />\n <g transform=\"translate(0 -4)\">\n <path\n d=\"M61 34Q61 32 63 32H65Q67 32 67 34V66Q67 68 65 68H63Q61 68 61 66V34ZM53 34Q51 34 51 36V37Q51 39 53 39H61V34H53ZM67 39V44H75Q77 44 77 42V41Q77 39 75 39H67ZM53 44Q51 44 51 46V47Q51 49 53 49H61V44H53ZM67 49V54H75Q77 54 77 52V51Q77 49 75 49H67ZM53 54Q51 54 51 56V57Q51 59 53 59H61V54H53ZM67 59V64H75Q77 64 77 62V61Q77 59 75 59H67Z\"\n fill=\"white\"\n fill-opacity=\"0.66\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#C48612\"\n >\n ZIP\n </text>\n </g>\n </svg>\n }\n }\n</span>\n",
197
+ styles: [":host{--ngs-file-type-size: calc(var(--spacing, .25rem) * 10);display:inline-flex;flex:none;line-height:0}:host:not([class*=w-]):not([class*=size-]){width:var(--ngs-file-type-size)}:host:not([class*=h-]):not([class*=size-]){height:var(--ngs-file-type-size)}:host .icon{display:contents}:host svg{display:block;width:100%;height:100%;flex:none}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
198
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
199
+ });
200
+ };
201
+ i0.ɵɵngDeclareClassMetadata({
202
+ minVersion: "12.0.0",
203
+ version: "22.3.0",
204
+ ngImport: i0,
205
+ type: FileType,
206
+ decorators: [{
207
+ type: Component,
208
+ args: [{
209
+ selector: "ngs-file-type",
210
+ exportAs: "ngsFileType",
211
+ changeDetection: ChangeDetectionStrategy.OnPush,
212
+ host: {
213
+ class: "ngs-file-type not-prose",
214
+ "[attr.role]": "decorative() ? null : \"img\"",
215
+ "[attr.aria-label]": "decorative() ? null : resolvedLabel()",
216
+ "[attr.aria-hidden]": "decorative() ? \"true\" : null",
217
+ "[attr.data-file-type]": "type()"
218
+ },
219
+ template: "<span class=\"icon\">\n @switch (type()) {\n @case ('avi') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('avi')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#8D7CFF\" />\n <stop offset=\"1\" stop-color=\"#4531C9\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('avi')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#4531C9\"\n >\n AVI\n </text>\n </g>\n </svg>\n }\n @case ('csv') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('csv')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#42D9D2\" />\n <stop offset=\"1\" stop-color=\"#0B8A97\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('csv')\" />\n <g transform=\"translate(0 -2)\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M42 33C38.686 33 36 35.686 36 39V61C36 64.314 38.686 67 42 67H86C89.314 67 92 64.314 92 61V39C92 35.686 89.314 33 86 33H42ZM43 37C41.343 37 40 38.343 40 40V49H54V37H43ZM57 37H71V49H57V37ZM74 37V49H88V40C88 38.343 86.657 37 85 37H74ZM40 52V61C40 62.657 41.343 64 43 64H54V52H40ZM57 52H71V64H57V52ZM74 52V64H85C86.657 64 88 62.657 88 61V52H74Z\"\n fill=\"white\"\n fill-opacity=\"0.5\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#0B8A97\"\n >\n CSV\n </text>\n </g>\n </svg>\n }\n @case ('doc') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('doc')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#5EA8FF\" />\n <stop offset=\"1\" stop-color=\"#1D5FD6\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('doc')\" />\n <g transform=\"translate(0 2)\">\n <path\n d=\"M42 32H82M42 44H86M42 56H76\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"6\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#1D5FD6\"\n >\n DOC\n </text>\n </g>\n </svg>\n }\n @case ('html') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('html')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF7A5F\" />\n <stop offset=\"1\" stop-color=\"#D23B21\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('html')\" />\n <g transform=\"translate(0 -2)\">\n <path\n d=\"M53 36L41 48L53 60M75 36L87 48L75 60M68 34L60 62\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"16\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#D23B21\"\n >\n HTML\n </text>\n </g>\n </svg>\n }\n @case ('jpg') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('jpg')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF78B6\" />\n <stop offset=\"1\" stop-color=\"#C92678\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('jpg')\" />\n <g transform=\"translate(0 -4)\">\n <rect x=\"37\" y=\"34\" width=\"54\" height=\"36\" rx=\"7\" fill=\"white\" fill-opacity=\"0.18\" />\n <path\n d=\"M39 62L51 50L61 59L70 49L89 66\"\n stroke=\"white\"\n stroke-opacity=\"0.62\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <circle cx=\"75\" cy=\"44\" r=\"5\" fill=\"white\" fill-opacity=\"0.62\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#C92678\"\n >\n JPG\n </text>\n </g>\n </svg>\n }\n @case ('json') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('json')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#667085\" />\n <stop offset=\"1\" stop-color=\"#202939\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('json')\" />\n <g transform=\"translate(0 -4)\">\n <path\n d=\"M51 33C45 33 43 37 43 41V45C43 48 41 50 38 50C41 50 43 52 43 55V59C43 63 45 67 51 67\"\n stroke=\"white\"\n stroke-opacity=\"0.42\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M77 33C83 33 85 37 85 41V45C85 48 87 50 90 50C87 50 85 52 85 55V59C85 63 83 67 77 67\"\n stroke=\"white\"\n stroke-opacity=\"0.42\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <path\n d=\"M57 43H70M57 57H73\"\n stroke=\"white\"\n stroke-opacity=\"0.44\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"16\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#202939\"\n >\n JSON\n </text>\n </g>\n </svg>\n }\n @case ('mkv') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('mkv')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#AA74FF\" />\n <stop offset=\"1\" stop-color=\"#5C26B8\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('mkv')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#5C26B8\"\n >\n MKV\n </text>\n </g>\n </svg>\n }\n @case ('mov') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('mov')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#45D0FF\" />\n <stop offset=\"1\" stop-color=\"#1268C7\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('mov')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#1268C7\"\n >\n MOV\n </text>\n </g>\n </svg>\n }\n @case ('mp3') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('mp3')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#D36BFF\" />\n <stop offset=\"1\" stop-color=\"#8A2BC6\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('mp3')\" />\n <g transform=\"translate(0 0)\">\n <path\n d=\"M52 56V35L82 30V49M52 56C52 59.5 49.2 62 45.5 62C41.8 62 39 59.5 39 56C39 52.5 41.8 50 45.5 50C49.2 50 52 52.5 52 56ZM82 49C82 52.5 79.2 55 75.5 55C71.8 55 69 52.5 69 49C69 45.5 71.8 43 75.5 43C79.2 43 82 45.5 82 49Z\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#8A2BC6\"\n >\n MP3\n </text>\n </g>\n </svg>\n }\n @case ('mp4') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('mp4')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#5E9BFF\" />\n <stop offset=\"1\" stop-color=\"#2745C8\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('mp4')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#2745C8\"\n >\n MP4\n </text>\n </g>\n </svg>\n }\n @case ('pdf') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('pdf')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF6A5F\" />\n <stop offset=\"1\" stop-color=\"#D82432\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('pdf')\" />\n <g transform=\"translate(0 2)\">\n <path\n d=\"M42 32H82M42 44H86M42 56H76\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"6\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#D82432\"\n >\n PDF\n </text>\n </g>\n </svg>\n }\n @case ('png') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('png')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#4EC8FF\" />\n <stop offset=\"1\" stop-color=\"#147AAE\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('png')\" />\n <g transform=\"translate(0 -4)\">\n <rect x=\"37\" y=\"34\" width=\"54\" height=\"36\" rx=\"7\" fill=\"white\" fill-opacity=\"0.18\" />\n <path\n d=\"M39 62L51 50L61 59L70 49L89 66\"\n stroke=\"white\"\n stroke-opacity=\"0.62\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <circle cx=\"75\" cy=\"44\" r=\"5\" fill=\"white\" fill-opacity=\"0.62\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#147AAE\"\n >\n PNG\n </text>\n </g>\n </svg>\n }\n @case ('ppt') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('ppt')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF9B4A\" />\n <stop offset=\"1\" stop-color=\"#D84A1B\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('ppt')\" />\n <g transform=\"translate(0 0)\">\n <rect\n x=\"40\"\n y=\"31\"\n width=\"48\"\n height=\"30\"\n rx=\"5\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"5\"\n />\n <path\n d=\"M51 51H75M51 43H63\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"4\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#D84A1B\"\n >\n PPT\n </text>\n </g>\n </svg>\n }\n @case ('svg') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('svg')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#B389FF\" />\n <stop offset=\"1\" stop-color=\"#6F35D5\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('svg')\" />\n <g transform=\"translate(0 -4)\">\n <rect x=\"37\" y=\"34\" width=\"54\" height=\"36\" rx=\"7\" fill=\"white\" fill-opacity=\"0.18\" />\n <path\n d=\"M39 62L51 50L61 59L70 49L89 66\"\n stroke=\"white\"\n stroke-opacity=\"0.62\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n <circle cx=\"75\" cy=\"44\" r=\"5\" fill=\"white\" fill-opacity=\"0.62\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#6F35D5\"\n >\n SVG\n </text>\n </g>\n </svg>\n }\n @case ('txt') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('txt')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#95A3B8\" />\n <stop offset=\"1\" stop-color=\"#526071\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('txt')\" />\n <g transform=\"translate(0 2)\">\n <path\n d=\"M42 32H82M42 44H86M42 56H76\"\n stroke=\"white\"\n stroke-opacity=\"0.34\"\n stroke-width=\"6\"\n stroke-linecap=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#526071\"\n >\n TXT\n </text>\n </g>\n </svg>\n }\n @case ('wav') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('wav')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FF6EDB\" />\n <stop offset=\"1\" stop-color=\"#B8299F\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('wav')\" />\n <g transform=\"translate(0 -3)\">\n <path\n d=\"M39 49H45L50 37L57 61L64 39L70 55H89\"\n stroke=\"white\"\n stroke-opacity=\"0.38\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#B8299F\"\n >\n WAV\n </text>\n </g>\n </svg>\n }\n @case ('webm') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('webm')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#53B5FF\" />\n <stop offset=\"1\" stop-color=\"#5034D5\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('webm')\" />\n <g transform=\"translate(0 -4)\">\n <rect\n x=\"39\"\n y=\"35\"\n width=\"50\"\n height=\"30\"\n rx=\"6\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n />\n <path d=\"M58 43V57L72 50L58 43Z\" fill=\"white\" fill-opacity=\"0.44\" />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"16\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#5034D5\"\n >\n WEBM\n </text>\n </g>\n </svg>\n }\n @case ('xls') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('xls')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#4AD991\" />\n <stop offset=\"1\" stop-color=\"#168F58\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('xls')\" />\n <g transform=\"translate(0 -2)\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M42 33C38.686 33 36 35.686 36 39V61C36 64.314 38.686 67 42 67H86C89.314 67 92 64.314 92 61V39C92 35.686 89.314 33 86 33H42ZM43 37C41.343 37 40 38.343 40 40V49H54V37H43ZM57 37H71V49H57V37ZM74 37V49H88V40C88 38.343 86.657 37 85 37H74ZM40 52V61C40 62.657 41.343 64 43 64H54V52H40ZM57 52H71V64H57V52ZM74 52V64H85C86.657 64 88 62.657 88 61V52H74Z\"\n fill=\"white\"\n fill-opacity=\"0.5\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#168F58\"\n >\n XLS\n </text>\n </g>\n </svg>\n }\n @case ('xml') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('xml')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#7188FF\" />\n <stop offset=\"1\" stop-color=\"#3346B8\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('xml')\" />\n <g transform=\"translate(0 -2)\">\n <path\n d=\"M53 36L41 48L53 60M75 36L87 48L75 60M68 34L60 62\"\n stroke=\"white\"\n stroke-opacity=\"0.36\"\n stroke-width=\"5\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#3346B8\"\n >\n XML\n </text>\n </g>\n </svg>\n }\n @case ('zip') {\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"128\"\n height=\"128\"\n viewBox=\"0 0 128 128\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <defs>\n <linearGradient\n [attr.id]=\"gradientId('zip')\"\n x1=\"22\"\n y1=\"10\"\n x2=\"106\"\n y2=\"118\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FFD15C\" />\n <stop offset=\"1\" stop-color=\"#C48612\" />\n </linearGradient>\n </defs>\n <rect x=\"19\" y=\"10\" width=\"90\" height=\"108\" rx=\"12\" [attr.fill]=\"gradientUrl('zip')\" />\n <g transform=\"translate(0 -4)\">\n <path\n d=\"M61 34Q61 32 63 32H65Q67 32 67 34V66Q67 68 65 68H63Q61 68 61 66V34ZM53 34Q51 34 51 36V37Q51 39 53 39H61V34H53ZM67 39V44H75Q77 44 77 42V41Q77 39 75 39H67ZM53 44Q51 44 51 46V47Q51 49 53 49H61V44H53ZM67 49V54H75Q77 54 77 52V51Q77 49 75 49H67ZM53 54Q51 54 51 56V57Q51 59 53 59H61V54H53ZM67 59V64H75Q77 64 77 62V61Q77 59 75 59H67Z\"\n fill=\"white\"\n fill-opacity=\"0.66\"\n />\n </g>\n <g class=\"file-type-label\">\n <rect x=\"27\" y=\"82\" width=\"74\" height=\"28\" rx=\"7\" fill=\"white\" fill-opacity=\"0.96\" />\n <text\n x=\"64\"\n y=\"95\"\n dy=\"0.08em\"\n text-anchor=\"middle\"\n dominant-baseline=\"central\"\n font-family=\"Inter, Arial, sans-serif\"\n font-size=\"19\"\n font-weight=\"700\"\n letter-spacing=\"1\"\n fill=\"#C48612\"\n >\n ZIP\n </text>\n </g>\n </svg>\n }\n }\n</span>\n",
220
+ styles: [":host{--ngs-file-type-size: calc(var(--spacing, .25rem) * 10);display:inline-flex;flex:none;line-height:0}:host:not([class*=w-]):not([class*=size-]){width:var(--ngs-file-type-size)}:host:not([class*=h-]):not([class*=size-]){height:var(--ngs-file-type-size)}:host .icon{display:contents}:host svg{display:block;width:100%;height:100%;flex:none}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
221
+ }]
222
+ }],
223
+ propDecorators: {
224
+ mimeType: [{
225
+ type: i0.Input,
226
+ args: [{
227
+ isSignal: true,
228
+ alias: "mimeType",
229
+ required: false
230
+ }]
231
+ }],
232
+ extension: [{
233
+ type: i0.Input,
234
+ args: [{
235
+ isSignal: true,
236
+ alias: "extension",
237
+ required: false
238
+ }]
239
+ }],
240
+ fileName: [{
241
+ type: i0.Input,
242
+ args: [{
243
+ isSignal: true,
244
+ alias: "fileName",
245
+ required: false
246
+ }]
247
+ }],
248
+ fallback: [{
249
+ type: i0.Input,
250
+ args: [{
251
+ isSignal: true,
252
+ alias: "fallback",
253
+ required: false
254
+ }]
255
+ }],
256
+ label: [{
257
+ type: i0.Input,
258
+ args: [{
259
+ isSignal: true,
260
+ alias: "label",
261
+ required: false
262
+ }]
263
+ }],
264
+ decorative: [{
265
+ type: i0.Input,
266
+ args: [{
267
+ isSignal: true,
268
+ alias: "decorative",
269
+ required: false
270
+ }]
271
+ }]
272
+ }
273
+ });
176
274
  export { FileType };
177
- //# sourceMappingURL=ngstarter-ui-components-file-type.mjs.map
275
+
276
+ //# sourceMappingURL=ngstarter-ui-components-file-type.mjs.map