@teranga-ds/components 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (667) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +97 -0
  3. package/dist/cjs/index-BrBjyHdB.js +2038 -0
  4. package/dist/cjs/index.cjs.js +2 -0
  5. package/dist/cjs/loader.cjs.js +12 -0
  6. package/dist/cjs/teranga-ds.cjs.js +24 -0
  7. package/dist/cjs/tg-activity-feed.cjs.entry.js +29 -0
  8. package/dist/cjs/tg-activity-stream.cjs.entry.js +30 -0
  9. package/dist/cjs/tg-ai-feedback.cjs.entry.js +29 -0
  10. package/dist/cjs/tg-ai-insight-card.cjs.entry.js +20 -0
  11. package/dist/cjs/tg-alert.cjs.entry.js +42 -0
  12. package/dist/cjs/tg-audio-player.cjs.entry.js +46 -0
  13. package/dist/cjs/tg-autocomplete.cjs.entry.js +54 -0
  14. package/dist/cjs/tg-avatar.cjs.entry.js +39 -0
  15. package/dist/cjs/tg-badge.cjs.entry.js +31 -0
  16. package/dist/cjs/tg-bottom-nav.cjs.entry.js +30 -0
  17. package/dist/cjs/tg-bottom-sheet.cjs.entry.js +21 -0
  18. package/dist/cjs/tg-breadcrumb.cjs.entry.js +53 -0
  19. package/dist/cjs/tg-button.cjs.entry.js +45 -0
  20. package/dist/cjs/tg-calendar-view.cjs.entry.js +53 -0
  21. package/dist/cjs/tg-card.cjs.entry.js +31 -0
  22. package/dist/cjs/tg-chat-message.cjs.entry.js +19 -0
  23. package/dist/cjs/tg-chat.cjs.entry.js +59 -0
  24. package/dist/cjs/tg-checkbox.cjs.entry.js +31 -0
  25. package/dist/cjs/tg-combobox.cjs.entry.js +68 -0
  26. package/dist/cjs/tg-command-palette.cjs.entry.js +66 -0
  27. package/dist/cjs/tg-confidence-badge.cjs.entry.js +27 -0
  28. package/dist/cjs/tg-confirm-dialog.cjs.entry.js +27 -0
  29. package/dist/cjs/tg-context-menu.cjs.entry.js +35 -0
  30. package/dist/cjs/tg-data-table.cjs.entry.js +90 -0
  31. package/dist/cjs/tg-date-picker.cjs.entry.js +56 -0
  32. package/dist/cjs/tg-empty-state.cjs.entry.js +19 -0
  33. package/dist/cjs/tg-expandable-row.cjs.entry.js +19 -0
  34. package/dist/cjs/tg-fab.cjs.entry.js +22 -0
  35. package/dist/cjs/tg-file-upload.cjs.entry.js +86 -0
  36. package/dist/cjs/tg-global-loader.cjs.entry.js +24 -0
  37. package/dist/cjs/tg-heatmap.cjs.entry.js +65 -0
  38. package/dist/cjs/tg-image-gallery.cjs.entry.js +32 -0
  39. package/dist/cjs/tg-input.cjs.entry.js +51 -0
  40. package/dist/cjs/tg-kanban-board.cjs.entry.js +30 -0
  41. package/dist/cjs/tg-kpi-card.cjs.entry.js +20 -0
  42. package/dist/cjs/tg-live-badge.cjs.entry.js +20 -0
  43. package/dist/cjs/tg-login-form.cjs.entry.js +23 -0
  44. package/dist/cjs/tg-mega-menu.cjs.entry.js +34 -0
  45. package/dist/cjs/tg-modal.cjs.entry.js +43 -0
  46. package/dist/cjs/tg-model-selector.cjs.entry.js +34 -0
  47. package/dist/cjs/tg-multi-select.cjs.entry.js +67 -0
  48. package/dist/cjs/tg-navbar.cjs.entry.js +43 -0
  49. package/dist/cjs/tg-otp-input.cjs.entry.js +60 -0
  50. package/dist/cjs/tg-pagination.cjs.entry.js +53 -0
  51. package/dist/cjs/tg-presence-indicator.cjs.entry.js +33 -0
  52. package/dist/cjs/tg-progress.cjs.entry.js +53 -0
  53. package/dist/cjs/tg-prompt-input.cjs.entry.js +34 -0
  54. package/dist/cjs/tg-pull-to-refresh.cjs.entry.js +37 -0
  55. package/dist/cjs/tg-quick-switcher.cjs.entry.js +35 -0
  56. package/dist/cjs/tg-radio.cjs.entry.js +29 -0
  57. package/dist/cjs/tg-retry-ui.cjs.entry.js +22 -0
  58. package/dist/cjs/tg-rich-editor.cjs.entry.js +24 -0
  59. package/dist/cjs/tg-role-badge.cjs.entry.js +19 -0
  60. package/dist/cjs/tg-select.cjs.entry.js +69 -0
  61. package/dist/cjs/tg-session-expired.cjs.entry.js +24 -0
  62. package/dist/cjs/tg-sidebar.cjs.entry.js +35 -0
  63. package/dist/cjs/tg-skeleton.cjs.entry.js +30 -0
  64. package/dist/cjs/tg-slider.cjs.entry.js +26 -0
  65. package/dist/cjs/tg-source-citation.cjs.entry.js +29 -0
  66. package/dist/cjs/tg-spinner.cjs.entry.js +27 -0
  67. package/dist/cjs/tg-stat-widget.cjs.entry.js +19 -0
  68. package/dist/cjs/tg-status-badge.cjs.entry.js +21 -0
  69. package/dist/cjs/tg-stepper-input.cjs.entry.js +39 -0
  70. package/dist/cjs/tg-stepper.cjs.entry.js +31 -0
  71. package/dist/cjs/tg-streaming-response.cjs.entry.js +19 -0
  72. package/dist/cjs/tg-switch.cjs.entry.js +31 -0
  73. package/dist/cjs/tg-table.cjs.entry.js +113 -0
  74. package/dist/cjs/tg-tabs.cjs.entry.js +47 -0
  75. package/dist/cjs/tg-tag.cjs.entry.js +28 -0
  76. package/dist/cjs/tg-textarea.cjs.entry.js +45 -0
  77. package/dist/cjs/tg-time-picker.cjs.entry.js +37 -0
  78. package/dist/cjs/tg-timeline.cjs.entry.js +30 -0
  79. package/dist/cjs/tg-toast.cjs.entry.js +53 -0
  80. package/dist/cjs/tg-token-usage.cjs.entry.js +23 -0
  81. package/dist/cjs/tg-tooltip.cjs.entry.js +32 -0
  82. package/dist/cjs/tg-tree-view.cjs.entry.js +53 -0
  83. package/dist/cjs/tg-undo-snackbar.cjs.entry.js +30 -0
  84. package/dist/cjs/tg-video-player.cjs.entry.js +19 -0
  85. package/dist/cjs/tg-wizard-nav.cjs.entry.js +30 -0
  86. package/dist/collection/collection-manifest.json +91 -0
  87. package/dist/collection/components/tg-activity-feed/tg-activity-feed.css +10 -0
  88. package/dist/collection/components/tg-activity-feed/tg-activity-feed.js +81 -0
  89. package/dist/collection/components/tg-activity-stream/tg-activity-stream.css +11 -0
  90. package/dist/collection/components/tg-activity-stream/tg-activity-stream.js +83 -0
  91. package/dist/collection/components/tg-ai-feedback/tg-ai-feedback.css +12 -0
  92. package/dist/collection/components/tg-ai-feedback/tg-ai-feedback.js +80 -0
  93. package/dist/collection/components/tg-ai-insight-card/tg-ai-insight-card.css +10 -0
  94. package/dist/collection/components/tg-ai-insight-card/tg-ai-insight-card.js +144 -0
  95. package/dist/collection/components/tg-alert/tg-alert.css +122 -0
  96. package/dist/collection/components/tg-alert/tg-alert.js +142 -0
  97. package/dist/collection/components/tg-audio-player/tg-audio-player.css +11 -0
  98. package/dist/collection/components/tg-audio-player/tg-audio-player.js +118 -0
  99. package/dist/collection/components/tg-autocomplete/tg-autocomplete.css +15 -0
  100. package/dist/collection/components/tg-autocomplete/tg-autocomplete.js +285 -0
  101. package/dist/collection/components/tg-avatar/tg-avatar.css +72 -0
  102. package/dist/collection/components/tg-avatar/tg-avatar.js +195 -0
  103. package/dist/collection/components/tg-badge/tg-badge.css +153 -0
  104. package/dist/collection/components/tg-badge/tg-badge.js +128 -0
  105. package/dist/collection/components/tg-bottom-nav/tg-bottom-nav.css +7 -0
  106. package/dist/collection/components/tg-bottom-nav/tg-bottom-nav.js +99 -0
  107. package/dist/collection/components/tg-bottom-sheet/tg-bottom-sheet.css +8 -0
  108. package/dist/collection/components/tg-bottom-sheet/tg-bottom-sheet.js +84 -0
  109. package/dist/collection/components/tg-breadcrumb/tg-breadcrumb.css +82 -0
  110. package/dist/collection/components/tg-breadcrumb/tg-breadcrumb.js +111 -0
  111. package/dist/collection/components/tg-button/tg-button.css +245 -0
  112. package/dist/collection/components/tg-button/tg-button.js +239 -0
  113. package/dist/collection/components/tg-calendar-view/tg-calendar-view.css +19 -0
  114. package/dist/collection/components/tg-calendar-view/tg-calendar-view.js +108 -0
  115. package/dist/collection/components/tg-card/tg-card.css +117 -0
  116. package/dist/collection/components/tg-card/tg-card.js +134 -0
  117. package/dist/collection/components/tg-chat/tg-chat.css +207 -0
  118. package/dist/collection/components/tg-chat/tg-chat.js +194 -0
  119. package/dist/collection/components/tg-chat-message/tg-chat-message.css +15 -0
  120. package/dist/collection/components/tg-chat-message/tg-chat-message.js +104 -0
  121. package/dist/collection/components/tg-checkbox/tg-checkbox.css +94 -0
  122. package/dist/collection/components/tg-checkbox/tg-checkbox.js +210 -0
  123. package/dist/collection/components/tg-combobox/tg-combobox.css +22 -0
  124. package/dist/collection/components/tg-combobox/tg-combobox.js +290 -0
  125. package/dist/collection/components/tg-command-palette/tg-command-palette.css +16 -0
  126. package/dist/collection/components/tg-command-palette/tg-command-palette.js +152 -0
  127. package/dist/collection/components/tg-confidence-badge/tg-confidence-badge.css +12 -0
  128. package/dist/collection/components/tg-confidence-badge/tg-confidence-badge.js +93 -0
  129. package/dist/collection/components/tg-confirm-dialog/tg-confirm-dialog.css +19 -0
  130. package/dist/collection/components/tg-confirm-dialog/tg-confirm-dialog.js +204 -0
  131. package/dist/collection/components/tg-context-menu/tg-context-menu.css +12 -0
  132. package/dist/collection/components/tg-context-menu/tg-context-menu.js +107 -0
  133. package/dist/collection/components/tg-data-table/tg-data-table.css +19 -0
  134. package/dist/collection/components/tg-data-table/tg-data-table.js +287 -0
  135. package/dist/collection/components/tg-date-picker/tg-date-picker.css +28 -0
  136. package/dist/collection/components/tg-date-picker/tg-date-picker.js +251 -0
  137. package/dist/collection/components/tg-empty-state/tg-empty-state.css +7 -0
  138. package/dist/collection/components/tg-empty-state/tg-empty-state.js +123 -0
  139. package/dist/collection/components/tg-expandable-row/tg-expandable-row.css +13 -0
  140. package/dist/collection/components/tg-expandable-row/tg-expandable-row.js +89 -0
  141. package/dist/collection/components/tg-fab/tg-fab.css +16 -0
  142. package/dist/collection/components/tg-fab/tg-fab.js +164 -0
  143. package/dist/collection/components/tg-file-upload/tg-file-upload.css +172 -0
  144. package/dist/collection/components/tg-file-upload/tg-file-upload.js +240 -0
  145. package/dist/collection/components/tg-global-loader/tg-global-loader.css +8 -0
  146. package/dist/collection/components/tg-global-loader/tg-global-loader.js +90 -0
  147. package/dist/collection/components/tg-heatmap/tg-heatmap.css +9 -0
  148. package/dist/collection/components/tg-heatmap/tg-heatmap.js +191 -0
  149. package/dist/collection/components/tg-image-gallery/tg-image-gallery.css +13 -0
  150. package/dist/collection/components/tg-image-gallery/tg-image-gallery.js +90 -0
  151. package/dist/collection/components/tg-input/tg-input.css +164 -0
  152. package/dist/collection/components/tg-input/tg-input.js +355 -0
  153. package/dist/collection/components/tg-kanban-board/tg-kanban-board.css +14 -0
  154. package/dist/collection/components/tg-kanban-board/tg-kanban-board.js +80 -0
  155. package/dist/collection/components/tg-kpi-card/tg-kpi-card.css +17 -0
  156. package/dist/collection/components/tg-kpi-card/tg-kpi-card.js +163 -0
  157. package/dist/collection/components/tg-live-badge/tg-live-badge.css +11 -0
  158. package/dist/collection/components/tg-live-badge/tg-live-badge.js +87 -0
  159. package/dist/collection/components/tg-login-form/tg-login-form.css +16 -0
  160. package/dist/collection/components/tg-login-form/tg-login-form.js +150 -0
  161. package/dist/collection/components/tg-mega-menu/tg-mega-menu.css +19 -0
  162. package/dist/collection/components/tg-mega-menu/tg-mega-menu.js +82 -0
  163. package/dist/collection/components/tg-modal/tg-modal.css +132 -0
  164. package/dist/collection/components/tg-modal/tg-modal.js +180 -0
  165. package/dist/collection/components/tg-model-selector/tg-model-selector.css +15 -0
  166. package/dist/collection/components/tg-model-selector/tg-model-selector.js +117 -0
  167. package/dist/collection/components/tg-multi-select/tg-multi-select.css +22 -0
  168. package/dist/collection/components/tg-multi-select/tg-multi-select.js +251 -0
  169. package/dist/collection/components/tg-navbar/tg-navbar.css +144 -0
  170. package/dist/collection/components/tg-navbar/tg-navbar.js +159 -0
  171. package/dist/collection/components/tg-otp-input/tg-otp-input.css +10 -0
  172. package/dist/collection/components/tg-otp-input/tg-otp-input.js +221 -0
  173. package/dist/collection/components/tg-pagination/tg-pagination.css +73 -0
  174. package/dist/collection/components/tg-pagination/tg-pagination.js +137 -0
  175. package/dist/collection/components/tg-presence-indicator/tg-presence-indicator.css +10 -0
  176. package/dist/collection/components/tg-presence-indicator/tg-presence-indicator.js +80 -0
  177. package/dist/collection/components/tg-progress/tg-progress.css +142 -0
  178. package/dist/collection/components/tg-progress/tg-progress.js +299 -0
  179. package/dist/collection/components/tg-prompt-input/tg-prompt-input.css +11 -0
  180. package/dist/collection/components/tg-prompt-input/tg-prompt-input.js +142 -0
  181. package/dist/collection/components/tg-pull-to-refresh/tg-pull-to-refresh.css +7 -0
  182. package/dist/collection/components/tg-pull-to-refresh/tg-pull-to-refresh.js +127 -0
  183. package/dist/collection/components/tg-quick-switcher/tg-quick-switcher.css +12 -0
  184. package/dist/collection/components/tg-quick-switcher/tg-quick-switcher.js +120 -0
  185. package/dist/collection/components/tg-radio/tg-radio.css +83 -0
  186. package/dist/collection/components/tg-radio/tg-radio.js +169 -0
  187. package/dist/collection/components/tg-retry-ui/tg-retry-ui.css +10 -0
  188. package/dist/collection/components/tg-retry-ui/tg-retry-ui.js +145 -0
  189. package/dist/collection/components/tg-rich-editor/tg-rich-editor.css +10 -0
  190. package/dist/collection/components/tg-rich-editor/tg-rich-editor.js +151 -0
  191. package/dist/collection/components/tg-role-badge/tg-role-badge.css +7 -0
  192. package/dist/collection/components/tg-role-badge/tg-role-badge.js +85 -0
  193. package/dist/collection/components/tg-select/tg-select.css +144 -0
  194. package/dist/collection/components/tg-select/tg-select.js +329 -0
  195. package/dist/collection/components/tg-session-expired/tg-session-expired.css +8 -0
  196. package/dist/collection/components/tg-session-expired/tg-session-expired.js +128 -0
  197. package/dist/collection/components/tg-sidebar/tg-sidebar.css +188 -0
  198. package/dist/collection/components/tg-sidebar/tg-sidebar.js +112 -0
  199. package/dist/collection/components/tg-skeleton/tg-skeleton.css +58 -0
  200. package/dist/collection/components/tg-skeleton/tg-skeleton.js +135 -0
  201. package/dist/collection/components/tg-slider/tg-slider.css +10 -0
  202. package/dist/collection/components/tg-slider/tg-slider.js +208 -0
  203. package/dist/collection/components/tg-source-citation/tg-source-citation.css +12 -0
  204. package/dist/collection/components/tg-source-citation/tg-source-citation.js +56 -0
  205. package/dist/collection/components/tg-spinner/tg-spinner.css +50 -0
  206. package/dist/collection/components/tg-spinner/tg-spinner.js +101 -0
  207. package/dist/collection/components/tg-stat-widget/tg-stat-widget.css +12 -0
  208. package/dist/collection/components/tg-stat-widget/tg-stat-widget.js +142 -0
  209. package/dist/collection/components/tg-status-badge/tg-status-badge.css +24 -0
  210. package/dist/collection/components/tg-status-badge/tg-status-badge.js +108 -0
  211. package/dist/collection/components/tg-stepper/tg-stepper.css +17 -0
  212. package/dist/collection/components/tg-stepper/tg-stepper.js +104 -0
  213. package/dist/collection/components/tg-stepper-input/tg-stepper-input.css +15 -0
  214. package/dist/collection/components/tg-stepper-input/tg-stepper-input.js +200 -0
  215. package/dist/collection/components/tg-streaming-response/tg-streaming-response.css +12 -0
  216. package/dist/collection/components/tg-streaming-response/tg-streaming-response.js +104 -0
  217. package/dist/collection/components/tg-switch/tg-switch.css +89 -0
  218. package/dist/collection/components/tg-switch/tg-switch.js +172 -0
  219. package/dist/collection/components/tg-table/tg-table.css +117 -0
  220. package/dist/collection/components/tg-table/tg-table.js +289 -0
  221. package/dist/collection/components/tg-tabs/tg-tabs.css +114 -0
  222. package/dist/collection/components/tg-tabs/tg-tabs.js +141 -0
  223. package/dist/collection/components/tg-tag/tg-tag.css +76 -0
  224. package/dist/collection/components/tg-tag/tg-tag.js +152 -0
  225. package/dist/collection/components/tg-textarea/tg-textarea.css +105 -0
  226. package/dist/collection/components/tg-textarea/tg-textarea.js +357 -0
  227. package/dist/collection/components/tg-time-picker/tg-time-picker.css +15 -0
  228. package/dist/collection/components/tg-time-picker/tg-time-picker.js +213 -0
  229. package/dist/collection/components/tg-timeline/tg-timeline.css +14 -0
  230. package/dist/collection/components/tg-timeline/tg-timeline.js +83 -0
  231. package/dist/collection/components/tg-toast/tg-toast.css +112 -0
  232. package/dist/collection/components/tg-toast/tg-toast.js +181 -0
  233. package/dist/collection/components/tg-token-usage/tg-token-usage.css +14 -0
  234. package/dist/collection/components/tg-token-usage/tg-token-usage.js +129 -0
  235. package/dist/collection/components/tg-tooltip/tg-tooltip.css +93 -0
  236. package/dist/collection/components/tg-tooltip/tg-tooltip.js +104 -0
  237. package/dist/collection/components/tg-tree-view/tg-tree-view.css +10 -0
  238. package/dist/collection/components/tg-tree-view/tg-tree-view.js +112 -0
  239. package/dist/collection/components/tg-undo-snackbar/tg-undo-snackbar.css +8 -0
  240. package/dist/collection/components/tg-undo-snackbar/tg-undo-snackbar.js +148 -0
  241. package/dist/collection/components/tg-video-player/tg-video-player.css +6 -0
  242. package/dist/collection/components/tg-video-player/tg-video-player.js +104 -0
  243. package/dist/collection/components/tg-wizard-nav/tg-wizard-nav.css +14 -0
  244. package/dist/collection/components/tg-wizard-nav/tg-wizard-nav.js +202 -0
  245. package/dist/collection/index.js +1 -0
  246. package/dist/collection/teranga-tokens.css +189 -0
  247. package/dist/components/index.d.ts +35 -0
  248. package/dist/components/index.js +1 -0
  249. package/dist/components/p-BWkBF3Ng.js +1 -0
  250. package/dist/components/p-DcG1qXzH.js +1 -0
  251. package/dist/components/tg-activity-feed.d.ts +11 -0
  252. package/dist/components/tg-activity-feed.js +1 -0
  253. package/dist/components/tg-activity-stream.d.ts +11 -0
  254. package/dist/components/tg-activity-stream.js +1 -0
  255. package/dist/components/tg-ai-feedback.d.ts +11 -0
  256. package/dist/components/tg-ai-feedback.js +1 -0
  257. package/dist/components/tg-ai-insight-card.d.ts +11 -0
  258. package/dist/components/tg-ai-insight-card.js +1 -0
  259. package/dist/components/tg-alert.d.ts +11 -0
  260. package/dist/components/tg-alert.js +1 -0
  261. package/dist/components/tg-audio-player.d.ts +11 -0
  262. package/dist/components/tg-audio-player.js +1 -0
  263. package/dist/components/tg-autocomplete.d.ts +11 -0
  264. package/dist/components/tg-autocomplete.js +1 -0
  265. package/dist/components/tg-avatar.d.ts +11 -0
  266. package/dist/components/tg-avatar.js +1 -0
  267. package/dist/components/tg-badge.d.ts +11 -0
  268. package/dist/components/tg-badge.js +1 -0
  269. package/dist/components/tg-bottom-nav.d.ts +11 -0
  270. package/dist/components/tg-bottom-nav.js +1 -0
  271. package/dist/components/tg-bottom-sheet.d.ts +11 -0
  272. package/dist/components/tg-bottom-sheet.js +1 -0
  273. package/dist/components/tg-breadcrumb.d.ts +11 -0
  274. package/dist/components/tg-breadcrumb.js +1 -0
  275. package/dist/components/tg-button.d.ts +11 -0
  276. package/dist/components/tg-button.js +1 -0
  277. package/dist/components/tg-calendar-view.d.ts +11 -0
  278. package/dist/components/tg-calendar-view.js +1 -0
  279. package/dist/components/tg-card.d.ts +11 -0
  280. package/dist/components/tg-card.js +1 -0
  281. package/dist/components/tg-chat-message.d.ts +11 -0
  282. package/dist/components/tg-chat-message.js +1 -0
  283. package/dist/components/tg-chat.d.ts +11 -0
  284. package/dist/components/tg-chat.js +1 -0
  285. package/dist/components/tg-checkbox.d.ts +11 -0
  286. package/dist/components/tg-checkbox.js +1 -0
  287. package/dist/components/tg-combobox.d.ts +11 -0
  288. package/dist/components/tg-combobox.js +1 -0
  289. package/dist/components/tg-command-palette.d.ts +11 -0
  290. package/dist/components/tg-command-palette.js +1 -0
  291. package/dist/components/tg-confidence-badge.d.ts +11 -0
  292. package/dist/components/tg-confidence-badge.js +1 -0
  293. package/dist/components/tg-confirm-dialog.d.ts +11 -0
  294. package/dist/components/tg-confirm-dialog.js +1 -0
  295. package/dist/components/tg-context-menu.d.ts +11 -0
  296. package/dist/components/tg-context-menu.js +1 -0
  297. package/dist/components/tg-data-table.d.ts +11 -0
  298. package/dist/components/tg-data-table.js +1 -0
  299. package/dist/components/tg-date-picker.d.ts +11 -0
  300. package/dist/components/tg-date-picker.js +1 -0
  301. package/dist/components/tg-empty-state.d.ts +11 -0
  302. package/dist/components/tg-empty-state.js +1 -0
  303. package/dist/components/tg-expandable-row.d.ts +11 -0
  304. package/dist/components/tg-expandable-row.js +1 -0
  305. package/dist/components/tg-fab.d.ts +11 -0
  306. package/dist/components/tg-fab.js +1 -0
  307. package/dist/components/tg-file-upload.d.ts +11 -0
  308. package/dist/components/tg-file-upload.js +1 -0
  309. package/dist/components/tg-global-loader.d.ts +11 -0
  310. package/dist/components/tg-global-loader.js +1 -0
  311. package/dist/components/tg-heatmap.d.ts +11 -0
  312. package/dist/components/tg-heatmap.js +1 -0
  313. package/dist/components/tg-image-gallery.d.ts +11 -0
  314. package/dist/components/tg-image-gallery.js +1 -0
  315. package/dist/components/tg-input.d.ts +11 -0
  316. package/dist/components/tg-input.js +1 -0
  317. package/dist/components/tg-kanban-board.d.ts +11 -0
  318. package/dist/components/tg-kanban-board.js +1 -0
  319. package/dist/components/tg-kpi-card.d.ts +11 -0
  320. package/dist/components/tg-kpi-card.js +1 -0
  321. package/dist/components/tg-live-badge.d.ts +11 -0
  322. package/dist/components/tg-live-badge.js +1 -0
  323. package/dist/components/tg-login-form.d.ts +11 -0
  324. package/dist/components/tg-login-form.js +1 -0
  325. package/dist/components/tg-mega-menu.d.ts +11 -0
  326. package/dist/components/tg-mega-menu.js +1 -0
  327. package/dist/components/tg-modal.d.ts +11 -0
  328. package/dist/components/tg-modal.js +1 -0
  329. package/dist/components/tg-model-selector.d.ts +11 -0
  330. package/dist/components/tg-model-selector.js +1 -0
  331. package/dist/components/tg-multi-select.d.ts +11 -0
  332. package/dist/components/tg-multi-select.js +1 -0
  333. package/dist/components/tg-navbar.d.ts +11 -0
  334. package/dist/components/tg-navbar.js +1 -0
  335. package/dist/components/tg-otp-input.d.ts +11 -0
  336. package/dist/components/tg-otp-input.js +1 -0
  337. package/dist/components/tg-pagination.d.ts +11 -0
  338. package/dist/components/tg-pagination.js +1 -0
  339. package/dist/components/tg-presence-indicator.d.ts +11 -0
  340. package/dist/components/tg-presence-indicator.js +1 -0
  341. package/dist/components/tg-progress.d.ts +11 -0
  342. package/dist/components/tg-progress.js +1 -0
  343. package/dist/components/tg-prompt-input.d.ts +11 -0
  344. package/dist/components/tg-prompt-input.js +1 -0
  345. package/dist/components/tg-pull-to-refresh.d.ts +11 -0
  346. package/dist/components/tg-pull-to-refresh.js +1 -0
  347. package/dist/components/tg-quick-switcher.d.ts +11 -0
  348. package/dist/components/tg-quick-switcher.js +1 -0
  349. package/dist/components/tg-radio.d.ts +11 -0
  350. package/dist/components/tg-radio.js +1 -0
  351. package/dist/components/tg-retry-ui.d.ts +11 -0
  352. package/dist/components/tg-retry-ui.js +1 -0
  353. package/dist/components/tg-rich-editor.d.ts +11 -0
  354. package/dist/components/tg-rich-editor.js +1 -0
  355. package/dist/components/tg-role-badge.d.ts +11 -0
  356. package/dist/components/tg-role-badge.js +1 -0
  357. package/dist/components/tg-select.d.ts +11 -0
  358. package/dist/components/tg-select.js +1 -0
  359. package/dist/components/tg-session-expired.d.ts +11 -0
  360. package/dist/components/tg-session-expired.js +1 -0
  361. package/dist/components/tg-sidebar.d.ts +11 -0
  362. package/dist/components/tg-sidebar.js +1 -0
  363. package/dist/components/tg-skeleton.d.ts +11 -0
  364. package/dist/components/tg-skeleton.js +1 -0
  365. package/dist/components/tg-slider.d.ts +11 -0
  366. package/dist/components/tg-slider.js +1 -0
  367. package/dist/components/tg-source-citation.d.ts +11 -0
  368. package/dist/components/tg-source-citation.js +1 -0
  369. package/dist/components/tg-spinner.d.ts +11 -0
  370. package/dist/components/tg-spinner.js +1 -0
  371. package/dist/components/tg-stat-widget.d.ts +11 -0
  372. package/dist/components/tg-stat-widget.js +1 -0
  373. package/dist/components/tg-status-badge.d.ts +11 -0
  374. package/dist/components/tg-status-badge.js +1 -0
  375. package/dist/components/tg-stepper-input.d.ts +11 -0
  376. package/dist/components/tg-stepper-input.js +1 -0
  377. package/dist/components/tg-stepper.d.ts +11 -0
  378. package/dist/components/tg-stepper.js +1 -0
  379. package/dist/components/tg-streaming-response.d.ts +11 -0
  380. package/dist/components/tg-streaming-response.js +1 -0
  381. package/dist/components/tg-switch.d.ts +11 -0
  382. package/dist/components/tg-switch.js +1 -0
  383. package/dist/components/tg-table.d.ts +11 -0
  384. package/dist/components/tg-table.js +1 -0
  385. package/dist/components/tg-tabs.d.ts +11 -0
  386. package/dist/components/tg-tabs.js +1 -0
  387. package/dist/components/tg-tag.d.ts +11 -0
  388. package/dist/components/tg-tag.js +1 -0
  389. package/dist/components/tg-textarea.d.ts +11 -0
  390. package/dist/components/tg-textarea.js +1 -0
  391. package/dist/components/tg-time-picker.d.ts +11 -0
  392. package/dist/components/tg-time-picker.js +1 -0
  393. package/dist/components/tg-timeline.d.ts +11 -0
  394. package/dist/components/tg-timeline.js +1 -0
  395. package/dist/components/tg-toast.d.ts +11 -0
  396. package/dist/components/tg-toast.js +1 -0
  397. package/dist/components/tg-token-usage.d.ts +11 -0
  398. package/dist/components/tg-token-usage.js +1 -0
  399. package/dist/components/tg-tooltip.d.ts +11 -0
  400. package/dist/components/tg-tooltip.js +1 -0
  401. package/dist/components/tg-tree-view.d.ts +11 -0
  402. package/dist/components/tg-tree-view.js +1 -0
  403. package/dist/components/tg-undo-snackbar.d.ts +11 -0
  404. package/dist/components/tg-undo-snackbar.js +1 -0
  405. package/dist/components/tg-video-player.d.ts +11 -0
  406. package/dist/components/tg-video-player.js +1 -0
  407. package/dist/components/tg-wizard-nav.d.ts +11 -0
  408. package/dist/components/tg-wizard-nav.js +1 -0
  409. package/dist/docs.d.ts +480 -0
  410. package/dist/docs.json +14240 -0
  411. package/dist/esm/index-CXqO9vvj.js +2010 -0
  412. package/dist/esm/index.js +1 -0
  413. package/dist/esm/loader.js +10 -0
  414. package/dist/esm/teranga-ds.js +20 -0
  415. package/dist/esm/tg-activity-feed.entry.js +27 -0
  416. package/dist/esm/tg-activity-stream.entry.js +28 -0
  417. package/dist/esm/tg-ai-feedback.entry.js +27 -0
  418. package/dist/esm/tg-ai-insight-card.entry.js +18 -0
  419. package/dist/esm/tg-alert.entry.js +40 -0
  420. package/dist/esm/tg-audio-player.entry.js +44 -0
  421. package/dist/esm/tg-autocomplete.entry.js +52 -0
  422. package/dist/esm/tg-avatar.entry.js +37 -0
  423. package/dist/esm/tg-badge.entry.js +29 -0
  424. package/dist/esm/tg-bottom-nav.entry.js +28 -0
  425. package/dist/esm/tg-bottom-sheet.entry.js +19 -0
  426. package/dist/esm/tg-breadcrumb.entry.js +51 -0
  427. package/dist/esm/tg-button.entry.js +43 -0
  428. package/dist/esm/tg-calendar-view.entry.js +51 -0
  429. package/dist/esm/tg-card.entry.js +29 -0
  430. package/dist/esm/tg-chat-message.entry.js +17 -0
  431. package/dist/esm/tg-chat.entry.js +57 -0
  432. package/dist/esm/tg-checkbox.entry.js +29 -0
  433. package/dist/esm/tg-combobox.entry.js +66 -0
  434. package/dist/esm/tg-command-palette.entry.js +64 -0
  435. package/dist/esm/tg-confidence-badge.entry.js +25 -0
  436. package/dist/esm/tg-confirm-dialog.entry.js +25 -0
  437. package/dist/esm/tg-context-menu.entry.js +33 -0
  438. package/dist/esm/tg-data-table.entry.js +88 -0
  439. package/dist/esm/tg-date-picker.entry.js +54 -0
  440. package/dist/esm/tg-empty-state.entry.js +17 -0
  441. package/dist/esm/tg-expandable-row.entry.js +17 -0
  442. package/dist/esm/tg-fab.entry.js +20 -0
  443. package/dist/esm/tg-file-upload.entry.js +84 -0
  444. package/dist/esm/tg-global-loader.entry.js +22 -0
  445. package/dist/esm/tg-heatmap.entry.js +63 -0
  446. package/dist/esm/tg-image-gallery.entry.js +30 -0
  447. package/dist/esm/tg-input.entry.js +49 -0
  448. package/dist/esm/tg-kanban-board.entry.js +28 -0
  449. package/dist/esm/tg-kpi-card.entry.js +18 -0
  450. package/dist/esm/tg-live-badge.entry.js +18 -0
  451. package/dist/esm/tg-login-form.entry.js +21 -0
  452. package/dist/esm/tg-mega-menu.entry.js +32 -0
  453. package/dist/esm/tg-modal.entry.js +41 -0
  454. package/dist/esm/tg-model-selector.entry.js +32 -0
  455. package/dist/esm/tg-multi-select.entry.js +65 -0
  456. package/dist/esm/tg-navbar.entry.js +41 -0
  457. package/dist/esm/tg-otp-input.entry.js +58 -0
  458. package/dist/esm/tg-pagination.entry.js +51 -0
  459. package/dist/esm/tg-presence-indicator.entry.js +31 -0
  460. package/dist/esm/tg-progress.entry.js +51 -0
  461. package/dist/esm/tg-prompt-input.entry.js +32 -0
  462. package/dist/esm/tg-pull-to-refresh.entry.js +35 -0
  463. package/dist/esm/tg-quick-switcher.entry.js +33 -0
  464. package/dist/esm/tg-radio.entry.js +27 -0
  465. package/dist/esm/tg-retry-ui.entry.js +20 -0
  466. package/dist/esm/tg-rich-editor.entry.js +22 -0
  467. package/dist/esm/tg-role-badge.entry.js +17 -0
  468. package/dist/esm/tg-select.entry.js +67 -0
  469. package/dist/esm/tg-session-expired.entry.js +22 -0
  470. package/dist/esm/tg-sidebar.entry.js +33 -0
  471. package/dist/esm/tg-skeleton.entry.js +28 -0
  472. package/dist/esm/tg-slider.entry.js +24 -0
  473. package/dist/esm/tg-source-citation.entry.js +27 -0
  474. package/dist/esm/tg-spinner.entry.js +25 -0
  475. package/dist/esm/tg-stat-widget.entry.js +17 -0
  476. package/dist/esm/tg-status-badge.entry.js +19 -0
  477. package/dist/esm/tg-stepper-input.entry.js +37 -0
  478. package/dist/esm/tg-stepper.entry.js +29 -0
  479. package/dist/esm/tg-streaming-response.entry.js +17 -0
  480. package/dist/esm/tg-switch.entry.js +29 -0
  481. package/dist/esm/tg-table.entry.js +111 -0
  482. package/dist/esm/tg-tabs.entry.js +45 -0
  483. package/dist/esm/tg-tag.entry.js +26 -0
  484. package/dist/esm/tg-textarea.entry.js +43 -0
  485. package/dist/esm/tg-time-picker.entry.js +35 -0
  486. package/dist/esm/tg-timeline.entry.js +28 -0
  487. package/dist/esm/tg-toast.entry.js +51 -0
  488. package/dist/esm/tg-token-usage.entry.js +21 -0
  489. package/dist/esm/tg-tooltip.entry.js +30 -0
  490. package/dist/esm/tg-tree-view.entry.js +51 -0
  491. package/dist/esm/tg-undo-snackbar.entry.js +28 -0
  492. package/dist/esm/tg-video-player.entry.js +17 -0
  493. package/dist/esm/tg-wizard-nav.entry.js +28 -0
  494. package/dist/index.cjs.js +1 -0
  495. package/dist/index.js +1 -0
  496. package/dist/teranga-ds/index.esm.js +0 -0
  497. package/dist/teranga-ds/p-003a47ca.entry.js +1 -0
  498. package/dist/teranga-ds/p-017ddeb1.entry.js +1 -0
  499. package/dist/teranga-ds/p-02c5a12d.entry.js +1 -0
  500. package/dist/teranga-ds/p-0a42664a.entry.js +1 -0
  501. package/dist/teranga-ds/p-0b076dde.entry.js +1 -0
  502. package/dist/teranga-ds/p-0c4d9863.entry.js +1 -0
  503. package/dist/teranga-ds/p-0e8e624c.entry.js +1 -0
  504. package/dist/teranga-ds/p-188921a5.entry.js +1 -0
  505. package/dist/teranga-ds/p-1925d476.entry.js +1 -0
  506. package/dist/teranga-ds/p-19a4e248.entry.js +1 -0
  507. package/dist/teranga-ds/p-223af07c.entry.js +1 -0
  508. package/dist/teranga-ds/p-229331e3.entry.js +1 -0
  509. package/dist/teranga-ds/p-229a048d.entry.js +1 -0
  510. package/dist/teranga-ds/p-2537b595.entry.js +1 -0
  511. package/dist/teranga-ds/p-256c5686.entry.js +1 -0
  512. package/dist/teranga-ds/p-25af1fe1.entry.js +1 -0
  513. package/dist/teranga-ds/p-293e42b5.entry.js +1 -0
  514. package/dist/teranga-ds/p-29ce1cb3.entry.js +1 -0
  515. package/dist/teranga-ds/p-2bcf5c49.entry.js +1 -0
  516. package/dist/teranga-ds/p-2e8eb1cd.entry.js +1 -0
  517. package/dist/teranga-ds/p-321ec5a3.entry.js +1 -0
  518. package/dist/teranga-ds/p-34c8b3db.entry.js +1 -0
  519. package/dist/teranga-ds/p-3722c1c8.entry.js +1 -0
  520. package/dist/teranga-ds/p-386e978e.entry.js +1 -0
  521. package/dist/teranga-ds/p-45825e6c.entry.js +1 -0
  522. package/dist/teranga-ds/p-45d69cd2.entry.js +1 -0
  523. package/dist/teranga-ds/p-4ca63079.entry.js +1 -0
  524. package/dist/teranga-ds/p-4cdefae6.entry.js +1 -0
  525. package/dist/teranga-ds/p-4d3e0645.entry.js +1 -0
  526. package/dist/teranga-ds/p-5179d2e1.entry.js +1 -0
  527. package/dist/teranga-ds/p-5888f1d1.entry.js +1 -0
  528. package/dist/teranga-ds/p-58fd7fc1.entry.js +1 -0
  529. package/dist/teranga-ds/p-5b34ae37.entry.js +1 -0
  530. package/dist/teranga-ds/p-5cb3cab5.entry.js +1 -0
  531. package/dist/teranga-ds/p-5f64253e.entry.js +1 -0
  532. package/dist/teranga-ds/p-61bab799.entry.js +1 -0
  533. package/dist/teranga-ds/p-63285c1c.entry.js +1 -0
  534. package/dist/teranga-ds/p-6b40af59.entry.js +1 -0
  535. package/dist/teranga-ds/p-6c275cd2.entry.js +1 -0
  536. package/dist/teranga-ds/p-700908a2.entry.js +1 -0
  537. package/dist/teranga-ds/p-71257d05.entry.js +1 -0
  538. package/dist/teranga-ds/p-727543e6.entry.js +1 -0
  539. package/dist/teranga-ds/p-73082aef.entry.js +1 -0
  540. package/dist/teranga-ds/p-7acaa999.entry.js +1 -0
  541. package/dist/teranga-ds/p-81041fa8.entry.js +1 -0
  542. package/dist/teranga-ds/p-816417c6.entry.js +1 -0
  543. package/dist/teranga-ds/p-82057162.entry.js +1 -0
  544. package/dist/teranga-ds/p-84506153.entry.js +1 -0
  545. package/dist/teranga-ds/p-9259b7ad.entry.js +1 -0
  546. package/dist/teranga-ds/p-968f33cd.entry.js +1 -0
  547. package/dist/teranga-ds/p-9a86750e.entry.js +1 -0
  548. package/dist/teranga-ds/p-9b661306.entry.js +1 -0
  549. package/dist/teranga-ds/p-9ddbbe0b.entry.js +1 -0
  550. package/dist/teranga-ds/p-9f6a460b.entry.js +1 -0
  551. package/dist/teranga-ds/p-CXqO9vvj.js +2 -0
  552. package/dist/teranga-ds/p-a02dc9c0.entry.js +1 -0
  553. package/dist/teranga-ds/p-a25e8482.entry.js +1 -0
  554. package/dist/teranga-ds/p-a7ed37b2.entry.js +1 -0
  555. package/dist/teranga-ds/p-b4b5570e.entry.js +1 -0
  556. package/dist/teranga-ds/p-b762afff.entry.js +1 -0
  557. package/dist/teranga-ds/p-ba67b6cb.entry.js +1 -0
  558. package/dist/teranga-ds/p-bd667d1b.entry.js +1 -0
  559. package/dist/teranga-ds/p-bd7eefaa.entry.js +1 -0
  560. package/dist/teranga-ds/p-cd11c0ce.entry.js +1 -0
  561. package/dist/teranga-ds/p-d783708a.entry.js +1 -0
  562. package/dist/teranga-ds/p-dab038ae.entry.js +1 -0
  563. package/dist/teranga-ds/p-dda9a7c3.entry.js +1 -0
  564. package/dist/teranga-ds/p-deb81958.entry.js +1 -0
  565. package/dist/teranga-ds/p-dfaff259.entry.js +1 -0
  566. package/dist/teranga-ds/p-e0c5a144.entry.js +1 -0
  567. package/dist/teranga-ds/p-e26d2a8d.entry.js +1 -0
  568. package/dist/teranga-ds/p-e58a4ab8.entry.js +1 -0
  569. package/dist/teranga-ds/p-e8736bde.entry.js +1 -0
  570. package/dist/teranga-ds/p-eca93015.entry.js +1 -0
  571. package/dist/teranga-ds/p-ed2a5ec6.entry.js +1 -0
  572. package/dist/teranga-ds/p-ed48b855.entry.js +1 -0
  573. package/dist/teranga-ds/p-ee8c0470.entry.js +1 -0
  574. package/dist/teranga-ds/p-efff537c.entry.js +1 -0
  575. package/dist/teranga-ds/p-f5d99e53.entry.js +1 -0
  576. package/dist/teranga-ds/p-f790b8f4.entry.js +1 -0
  577. package/dist/teranga-ds/teranga-ds.css +1 -0
  578. package/dist/teranga-ds/teranga-ds.esm.js +1 -0
  579. package/dist/teranga-ds/teranga-tokens.css +189 -0
  580. package/dist/types/components/tg-activity-feed/tg-activity-feed.d.ts +13 -0
  581. package/dist/types/components/tg-activity-stream/tg-activity-stream.d.ts +14 -0
  582. package/dist/types/components/tg-ai-feedback/tg-ai-feedback.d.ts +14 -0
  583. package/dist/types/components/tg-ai-insight-card/tg-ai-insight-card.d.ts +9 -0
  584. package/dist/types/components/tg-alert/tg-alert.d.ts +28 -0
  585. package/dist/types/components/tg-audio-player/tg-audio-player.d.ts +15 -0
  586. package/dist/types/components/tg-autocomplete/tg-autocomplete.d.ts +21 -0
  587. package/dist/types/components/tg-avatar/tg-avatar.d.ts +27 -0
  588. package/dist/types/components/tg-badge/tg-badge.d.ts +21 -0
  589. package/dist/types/components/tg-bottom-nav/tg-bottom-nav.d.ts +14 -0
  590. package/dist/types/components/tg-bottom-sheet/tg-bottom-sheet.d.ts +7 -0
  591. package/dist/types/components/tg-breadcrumb/tg-breadcrumb.d.ts +12 -0
  592. package/dist/types/components/tg-button/tg-button.d.ts +35 -0
  593. package/dist/types/components/tg-calendar-view/tg-calendar-view.d.ts +18 -0
  594. package/dist/types/components/tg-card/tg-card.d.ts +27 -0
  595. package/dist/types/components/tg-chat/tg-chat.d.ts +24 -0
  596. package/dist/types/components/tg-chat-message/tg-chat-message.d.ts +7 -0
  597. package/dist/types/components/tg-checkbox/tg-checkbox.d.ts +14 -0
  598. package/dist/types/components/tg-combobox/tg-combobox.d.ts +30 -0
  599. package/dist/types/components/tg-command-palette/tg-command-palette.d.ts +20 -0
  600. package/dist/types/components/tg-confidence-badge/tg-confidence-badge.d.ts +7 -0
  601. package/dist/types/components/tg-confirm-dialog/tg-confirm-dialog.d.ts +13 -0
  602. package/dist/types/components/tg-context-menu/tg-context-menu.d.ts +21 -0
  603. package/dist/types/components/tg-data-table/tg-data-table.d.ts +34 -0
  604. package/dist/types/components/tg-date-picker/tg-date-picker.d.ts +22 -0
  605. package/dist/types/components/tg-empty-state/tg-empty-state.d.ts +8 -0
  606. package/dist/types/components/tg-expandable-row/tg-expandable-row.d.ts +7 -0
  607. package/dist/types/components/tg-fab/tg-fab.d.ts +11 -0
  608. package/dist/types/components/tg-file-upload/tg-file-upload.d.ts +28 -0
  609. package/dist/types/components/tg-global-loader/tg-global-loader.d.ts +6 -0
  610. package/dist/types/components/tg-heatmap/tg-heatmap.d.ts +14 -0
  611. package/dist/types/components/tg-image-gallery/tg-image-gallery.d.ts +12 -0
  612. package/dist/types/components/tg-input/tg-input.d.ts +48 -0
  613. package/dist/types/components/tg-kanban-board/tg-kanban-board.d.ts +23 -0
  614. package/dist/types/components/tg-kpi-card/tg-kpi-card.d.ts +10 -0
  615. package/dist/types/components/tg-live-badge/tg-live-badge.d.ts +6 -0
  616. package/dist/types/components/tg-login-form/tg-login-form.d.ts +16 -0
  617. package/dist/types/components/tg-mega-menu/tg-mega-menu.d.ts +21 -0
  618. package/dist/types/components/tg-modal/tg-modal.d.ts +14 -0
  619. package/dist/types/components/tg-model-selector/tg-model-selector.d.ts +18 -0
  620. package/dist/types/components/tg-multi-select/tg-multi-select.d.ts +25 -0
  621. package/dist/types/components/tg-navbar/tg-navbar.d.ts +16 -0
  622. package/dist/types/components/tg-otp-input/tg-otp-input.d.ts +18 -0
  623. package/dist/types/components/tg-pagination/tg-pagination.d.ts +10 -0
  624. package/dist/types/components/tg-presence-indicator/tg-presence-indicator.d.ts +10 -0
  625. package/dist/types/components/tg-progress/tg-progress.d.ts +18 -0
  626. package/dist/types/components/tg-prompt-input/tg-prompt-input.d.ts +12 -0
  627. package/dist/types/components/tg-pull-to-refresh/tg-pull-to-refresh.d.ts +15 -0
  628. package/dist/types/components/tg-quick-switcher/tg-quick-switcher.d.ts +18 -0
  629. package/dist/types/components/tg-radio/tg-radio.d.ts +12 -0
  630. package/dist/types/components/tg-retry-ui/tg-retry-ui.d.ts +10 -0
  631. package/dist/types/components/tg-rich-editor/tg-rich-editor.d.ts +13 -0
  632. package/dist/types/components/tg-role-badge/tg-role-badge.d.ts +6 -0
  633. package/dist/types/components/tg-select/tg-select.d.ts +27 -0
  634. package/dist/types/components/tg-session-expired/tg-session-expired.d.ts +9 -0
  635. package/dist/types/components/tg-sidebar/tg-sidebar.d.ts +20 -0
  636. package/dist/types/components/tg-skeleton/tg-skeleton.d.ts +8 -0
  637. package/dist/types/components/tg-slider/tg-slider.d.ts +15 -0
  638. package/dist/types/components/tg-source-citation/tg-source-citation.d.ts +10 -0
  639. package/dist/types/components/tg-spinner/tg-spinner.d.ts +16 -0
  640. package/dist/types/components/tg-stat-widget/tg-stat-widget.d.ts +9 -0
  641. package/dist/types/components/tg-status-badge/tg-status-badge.d.ts +7 -0
  642. package/dist/types/components/tg-stepper/tg-stepper.d.ts +11 -0
  643. package/dist/types/components/tg-stepper-input/tg-stepper-input.d.ts +15 -0
  644. package/dist/types/components/tg-streaming-response/tg-streaming-response.d.ts +7 -0
  645. package/dist/types/components/tg-switch/tg-switch.d.ts +12 -0
  646. package/dist/types/components/tg-table/tg-table.d.ts +30 -0
  647. package/dist/types/components/tg-tabs/tg-tabs.d.ts +18 -0
  648. package/dist/types/components/tg-tag/tg-tag.d.ts +10 -0
  649. package/dist/types/components/tg-textarea/tg-textarea.d.ts +23 -0
  650. package/dist/types/components/tg-time-picker/tg-time-picker.d.ts +16 -0
  651. package/dist/types/components/tg-timeline/tg-timeline.d.ts +13 -0
  652. package/dist/types/components/tg-toast/tg-toast.d.ts +17 -0
  653. package/dist/types/components/tg-token-usage/tg-token-usage.d.ts +10 -0
  654. package/dist/types/components/tg-tooltip/tg-tooltip.d.ts +10 -0
  655. package/dist/types/components/tg-tree-view/tg-tree-view.d.ts +17 -0
  656. package/dist/types/components/tg-undo-snackbar/tg-undo-snackbar.d.ts +11 -0
  657. package/dist/types/components/tg-video-player/tg-video-player.d.ts +7 -0
  658. package/dist/types/components/tg-wizard-nav/tg-wizard-nav.d.ts +15 -0
  659. package/dist/types/components.d.ts +5028 -0
  660. package/dist/types/index.d.ts +8 -0
  661. package/dist/types/stencil-public-runtime.d.ts +1860 -0
  662. package/loader/cdn.js +1 -0
  663. package/loader/index.cjs.js +1 -0
  664. package/loader/index.d.ts +24 -0
  665. package/loader/index.es2017.js +1 -0
  666. package/loader/index.js +2 -0
  667. package/package.json +74 -0
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as r,H as s}from"./p-CXqO9vvj.js";const i=class{constructor(r){t(this,r),this.tgChange=e(this,"tgChange"),this.value=0,this.step=1,this.disabled=!1,this.size="md",this.dec=()=>{const t=this.value-this.step;void 0!==this.min&&t<this.min||this.tgChange.emit(t)},this.inc=()=>{const t=this.value+this.step;void 0!==this.max&&t>this.max||this.tgChange.emit(t)},this.handleInput=t=>{const e=Number(t.target.value);isNaN(e)||this.tgChange.emit(e)}}render(){return r(s,{key:"60de6385be386f59d0b984c95d920723379bb405"},r("div",{key:"23a44db1b87e3c070be161e7662cb2cba735fc6e",class:"tg-stepper tg-stepper--"+this.size},this.label&&r("label",{key:"849f72333cbf36ee52b0c1544cc850a6224194e7",class:"tg-stepper__label"},this.label),r("div",{key:"958b4cc95408832f1b8e6317dd67fdb065338149",class:"tg-stepper__controls"},r("button",{key:"cfc488651da3e8b6a8f13e01e334205d363433d7",class:"tg-stepper__btn",type:"button",onClick:this.dec,disabled:this.disabled||void 0!==this.min&&this.value<=this.min,"aria-label":"Decrease"},r("svg",{key:"130d9a414069101afbc8f44e70ae86f7ff5cc169",viewBox:"0 0 20 20",fill:"currentColor",width:"16",height:"16"},r("path",{key:"21914aca7d9914655e03b3ceb4416022051814b1","fill-rule":"evenodd",d:"M4 10a.75.75 0 01.75-.75h10.5a.75.75 0 010 1.5H4.75A.75.75 0 014 10z"}))),r("input",Object.assign({key:"13bd68a88b1a7da9f10fd3a45978d88347b298f7",class:"tg-stepper__input",type:"number",value:this.value},void 0!==this.min?{min:this.min}:{},void 0!==this.max?{max:this.max}:{},{step:this.step,disabled:this.disabled,onInput:this.handleInput})),r("button",{key:"2858b6ed9b436701dae756ed741861c8d98dca55",class:"tg-stepper__btn",type:"button",onClick:this.inc,disabled:this.disabled||void 0!==this.max&&this.value>=this.max,"aria-label":"Increase"},r("svg",{key:"11339d1491aa22f7cc66299b3f1002052e40ab68",viewBox:"0 0 20 20",fill:"currentColor",width:"16",height:"16"},r("path",{key:"641f95c8cb5dde82cf1d0c7eed9037d1d1953c78",d:"M10.75 4.75a.75.75 0 00-1.5 0v4.5h-4.5a.75.75 0 000 1.5h4.5v4.5a.75.75 0 001.5 0v-4.5h4.5a.75.75 0 000-1.5h-4.5v-4.5z"}))))))}};i.style=":host{display:block}.tg-stepper{font-family:var(--tg-font-family-sans)}.tg-stepper__label{display:block;font-size:var(--tg-font-size-sm);font-weight:var(--tg-font-weight-medium);color:var(--tg-color-text-primary);margin-bottom:var(--tg-spacing-1-5)}.tg-stepper__controls{display:inline-flex;align-items:center;border:1px solid var(--tg-color-border-strong);border-radius:var(--tg-radius-lg);overflow:hidden;background:var(--tg-color-surface-raised)}.tg-stepper__btn{display:flex;align-items:center;justify-content:center;background:var(--tg-color-surface-sunken);border:none;cursor:pointer;color:var(--tg-color-text-primary);transition:background var(--tg-duration-fast)}.tg-stepper__btn:hover:not(:disabled){background:var(--tg-color-primary-subtle);color:var(--tg-color-primary)}.tg-stepper__btn:disabled{opacity:0.4;cursor:not-allowed}.tg-stepper--sm .tg-stepper__btn{width:2rem;height:2rem}.tg-stepper--md .tg-stepper__btn{width:2.5rem;height:2.5rem}.tg-stepper--lg .tg-stepper__btn{width:3rem;height:3rem}.tg-stepper__input{width:3.5rem;text-align:center;border:none;border-left:1px solid var(--tg-color-border);border-right:1px solid var(--tg-color-border);outline:none;background:transparent;color:var(--tg-color-text-primary);font-family:var(--tg-font-family-mono);font-weight:var(--tg-font-weight-semibold);-moz-appearance:textfield}.tg-stepper__input::-webkit-inner-spin-button,.tg-stepper__input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.tg-stepper--sm .tg-stepper__input{height:2rem;font-size:var(--tg-font-size-xs)}.tg-stepper--md .tg-stepper__input{height:2.5rem;font-size:var(--tg-font-size-sm)}.tg-stepper--lg .tg-stepper__input{height:3rem;font-size:var(--tg-font-size-md)}";export{i as tg_stepper_input}
@@ -0,0 +1 @@
1
+ import{r as t,h as a,H as s}from"./p-CXqO9vvj.js";const e=class{constructor(a){t(this,a),this.events=[],this.live=!1}get parsed(){if("string"==typeof this.events)try{return JSON.parse(this.events)}catch(t){return[]}return this.events}render(){return a(s,{key:"a727f56d4f8992ae279dd43afccafc372c1d7b22"},a("div",{key:"d49625e314e7c87b392ff62ce4dce7520670d942",class:"tg-as"},this.live&&a("div",{key:"05d8d89e562ca5e693245a9ebf8a51cbfdd28a85",class:"tg-as__live"},a("tg-live-badge",{key:"18eaee77742e36df200799cd77f4b9506ac9f45b"})),this.parsed.map((t=>a("div",{class:"tg-as__event"},a("span",{class:"tg-as__icon"},t.icon||"●"),a("div",{class:"tg-as__body"},a("p",{class:"tg-as__text"},a("strong",null,t.user)," ",t.action," ",t.target&&a("em",null,t.target)),a("span",{class:"tg-as__time"},t.time)))))))}};e.style=":host{display:block}.tg-as{font-family:var(--tg-font-family-sans)}.tg-as__live{margin-bottom:var(--tg-spacing-3)}.tg-as__event{display:flex;gap:var(--tg-spacing-2);padding:var(--tg-spacing-2) 0;border-bottom:1px solid var(--tg-color-border);animation:tg-as-in 0.3s var(--tg-ease-out)}@keyframes tg-as-in{from{opacity:0;transform:translateX(-8px)}to{opacity:1;transform:translateX(0)}}.tg-as__event:last-child{border-bottom:none}.tg-as__icon{color:var(--tg-color-primary);font-size:var(--tg-font-size-xs);padding-top:2px}.tg-as__body{flex:1}.tg-as__text{margin:0;font-size:var(--tg-font-size-sm);color:var(--tg-color-text-primary)}.tg-as__text em{color:var(--tg-color-primary);font-style:normal;font-weight:var(--tg-font-weight-medium)}.tg-as__time{font-size:var(--tg-font-size-xs);color:var(--tg-color-text-disabled)}";export{e as tg_activity_stream}
@@ -0,0 +1 @@
1
+ import{r as t,c as a,h as r,H as i}from"./p-CXqO9vvj.js";const o=class{constructor(r){t(this,r),this.tgChange=a(this,"tgChange"),this.tgSearch=a(this,"tgSearch"),this.placeholder="Rechercher…",this.disabled=!1,this.invalid=!1,this.loading=!1,this.suggestions=[],this.size="md",this.minChars=2,this.open=!1,this.query="",this.handleInput=t=>{this.query=t.target.value,this.query.length>=this.minChars?(this.tgSearch.emit(this.query),this.open=!0):this.open=!1}}get parsed(){if("string"==typeof this.suggestions)try{return JSON.parse(this.suggestions)}catch(t){return[]}return this.suggestions}onDocClick(){this.open=!1}select(t){this.query=t,this.tgChange.emit(t),this.open=!1}render(){return r(i,{key:"c18b396b3e3afc660d6a768ec2701ece7c2af085"},r("div",{key:"7b727ea48b8d892c347733a8b2bee020124ca429",class:"tg-autocomplete tg-autocomplete--"+this.size,onClick:t=>t.stopPropagation()},this.label&&r("label",{key:"742aac28fa41b1866444ca7e15caa766262b3cad",class:"tg-ac__label"},this.label),r("div",{key:"9bdc0897bf89395e06f55f1d65a75edcec1b03f8",class:{"tg-ac__input-wrap":!0,"tg-ac__input-wrap--invalid":this.invalid}},r("input",{key:"52621e050be5f8bbc3989fbb4ab16f2492b05c4a",class:"tg-ac__input",type:"text",value:this.query,placeholder:this.placeholder,disabled:this.disabled,onInput:this.handleInput,onFocus:()=>{this.query.length>=this.minChars&&(this.open=!0)}}),this.loading&&r("span",{key:"525efb4298d6da8d4e7bde697b8ec4ebdb9dbccc",class:"tg-ac__spinner"})),this.open&&this.parsed.length>0&&r("ul",{key:"c9d1b63931bc34c92f7cdec1a7ce2deb9d437ef6",class:"tg-ac__dropdown"},this.parsed.map((t=>r("li",{class:"tg-ac__option",onClick:()=>this.select(t)},t))))))}};o.style=":host{display:block}.tg-autocomplete{position:relative;font-family:var(--tg-font-family-sans)}.tg-ac__label{display:block;font-size:var(--tg-font-size-sm);font-weight:var(--tg-font-weight-medium);color:var(--tg-color-text-primary);margin-bottom:var(--tg-spacing-1-5)}.tg-ac__input-wrap{display:flex;align-items:center;border:1px solid var(--tg-color-border-strong);border-radius:var(--tg-radius-lg);background:var(--tg-color-surface-raised);transition:border-color var(--tg-duration-fast), box-shadow var(--tg-duration-fast)}.tg-ac__input-wrap:focus-within{border-color:var(--tg-color-border-focus);box-shadow:var(--tg-focus-ring)}.tg-ac__input-wrap--invalid{border-color:var(--tg-color-danger)}.tg-ac__input{flex:1;border:none;outline:none;background:transparent;color:var(--tg-color-text-primary);font-family:inherit;padding:0 var(--tg-spacing-3);width:100%}.tg-autocomplete--sm .tg-ac__input{height:2rem;font-size:var(--tg-font-size-xs)}.tg-autocomplete--md .tg-ac__input{height:2.5rem;font-size:var(--tg-font-size-sm)}.tg-autocomplete--lg .tg-ac__input{height:3rem;font-size:var(--tg-font-size-md)}.tg-ac__spinner{width:1rem;height:1rem;border:2px solid var(--tg-color-border);border-top-color:var(--tg-color-primary);border-radius:50%;animation:tg-spin 0.6s linear infinite;margin-right:var(--tg-spacing-2);flex-shrink:0}@keyframes tg-spin{to{transform:rotate(360deg)}}.tg-ac__dropdown{position:absolute;top:100%;left:0;right:0;margin-top:var(--tg-spacing-1);background:var(--tg-color-surface-raised);border:1px solid var(--tg-color-border);border-radius:var(--tg-radius-lg);box-shadow:var(--tg-shadow-lg);z-index:1000;max-height:14rem;overflow-y:auto;padding:var(--tg-spacing-1) 0;list-style:none}.tg-ac__option{padding:var(--tg-spacing-2) var(--tg-spacing-3);font-size:var(--tg-font-size-sm);cursor:pointer;transition:background var(--tg-duration-fast)}.tg-ac__option:hover{background:var(--tg-color-primary-subtle)}";export{o as tg_autocomplete}
@@ -0,0 +1 @@
1
+ import{r as t,h as e,H as a}from"./p-CXqO9vvj.js";const s=class{constructor(e){t(this,e),this.label="",this.value=""}render(){return e(a,{key:"71fe673531950d5e53e916b2bb1801827292516e"},e("div",{key:"75e53ab1ad1507debedbb84b2d19a6918cb13b95",class:"tg-sw"},e("div",{key:"1e7f20f0693a4e77a5b1bf04cd6548a9f0f1fddc",class:"tg-sw__left"},this.icon&&e("div",{key:"ac6a63c455fde4c2af0cfd2d914112a352099022",class:"tg-sw__icon"},this.icon),e("div",{key:"e7cbdd4d17097e99c1a33325e0f91269353f12b1"},e("p",{key:"27cfa751e84b303172482572cf03f3045d0591e4",class:"tg-sw__label"},this.label),e("p",{key:"54287895545d5092097c4600210711a390cc35f4",class:"tg-sw__value"},this.value),this.change&&e("span",{key:"27bd9c3c40656cad9d1b05aa39e3b473b7e4effd",class:"tg-sw__change tg-sw__change--"+(this.changeType||"neutral")},this.change))),this.sparkline&&e("div",{key:"01a637b10a8bc7c5c11063bee3ab81d4b5ab9809",class:"tg-sw__sparkline",innerHTML:this.sparkline})))}};s.style=":host{display:block}.tg-sw{display:flex;align-items:center;justify-content:space-between;font-family:var(--tg-font-family-sans);padding:var(--tg-spacing-4);background:var(--tg-color-surface-raised);border:1px solid var(--tg-color-border);border-radius:var(--tg-radius-xl)}.tg-sw__left{display:flex;align-items:center;gap:var(--tg-spacing-3)}.tg-sw__icon{width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center;background:var(--tg-color-primary-subtle);color:var(--tg-color-primary);border-radius:var(--tg-radius-lg);font-size:1.25rem}.tg-sw__label{margin:0;font-size:var(--tg-font-size-xs);color:var(--tg-color-text-secondary);text-transform:uppercase;letter-spacing:var(--tg-tracking-wide)}.tg-sw__value{margin:var(--tg-spacing-0-5) 0 0;font-size:var(--tg-font-size-xl);font-weight:var(--tg-font-weight-bold);color:var(--tg-color-text-primary)}.tg-sw__change{display:inline-block;font-size:var(--tg-font-size-xs);font-weight:var(--tg-font-weight-medium);margin-top:var(--tg-spacing-0-5)}.tg-sw__change--positive{color:var(--tg-color-success)}.tg-sw__change--negative{color:var(--tg-color-danger)}.tg-sw__change--neutral{color:var(--tg-color-text-secondary)}.tg-sw__sparkline{max-width:6rem}.tg-sw__sparkline svg{width:100%;height:auto}";export{s as tg_stat_widget}
@@ -0,0 +1 @@
1
+ import{r as a,c as t,h as r,H as e}from"./p-CXqO9vvj.js";const i=class{constructor(r){a(this,r),this.tgFeedback=t(this,"tgFeedback"),this.question="Cette réponse vous a-t-elle aidé ?",this.feedback=null,this.showComment=!1,this.comment="",this.submitComment=()=>{this.tgFeedback.emit({rating:"down",comment:this.comment}),this.showComment=!1}}rate(a){this.feedback=a,this.showComment="down"===a,"up"===a&&this.tgFeedback.emit({rating:a})}render(){return r(e,{key:"53ccb877af4caea893898edb65a99ab274a71e3b"},r("div",{key:"3a19798680a252e5171d839a42bf4b95234fd13f",class:"tg-aif"},r("span",{key:"1bdbb3ca86c122a5d73cc6d63ca8dd7d96a69581",class:"tg-aif__q"},this.question),r("div",{key:"b70aa2d2803bfd378b3252a1f3c72eb8ea212dde",class:"tg-aif__btns"},r("button",{key:"b51ac6d6511440903d172023870e65f14d3ac04d",class:{"tg-aif__btn":!0,"tg-aif__btn--active":"up"===this.feedback},type:"button",onClick:()=>this.rate("up"),"aria-label":"Helpful"},"\\ud83d\\udc4d"),r("button",{key:"f2636cb646bfd621f88add44b5d52ed06a933aba",class:{"tg-aif__btn":!0,"tg-aif__btn--active":"down"===this.feedback},type:"button",onClick:()=>this.rate("down"),"aria-label":"Not helpful"},"\\ud83d\\udc4e")),"up"===this.feedback&&r("span",{key:"e4f9f6ad4aec85fc9499c29e8923cd54e1e527f9",class:"tg-aif__thanks"},"Merci pour votre retour !"),this.showComment&&r("div",{key:"0ce66825390d27923937892929d52522dc104b0b",class:"tg-aif__comment"},r("textarea",{key:"58ef1e8f5ab3a0ec5755e6482c606271eb3bba25",class:"tg-aif__textarea",placeholder:"Comment pouvons-nous am\\u00e9liorer ?",value:this.comment,onInput:a=>{this.comment=a.target.value},rows:3}),r("button",{key:"e19aefc579e98613acb569336718ccccca231240",class:"tg-aif__submit",type:"button",onClick:this.submitComment},"Envoyer"))))}};i.style=":host{display:block}.tg-aif{display:flex;flex-wrap:wrap;align-items:center;gap:var(--tg-spacing-2);font-family:var(--tg-font-family-sans);padding:var(--tg-spacing-3);border-top:1px solid var(--tg-color-border)}.tg-aif__q{font-size:var(--tg-font-size-xs);color:var(--tg-color-text-secondary)}.tg-aif__btns{display:flex;gap:var(--tg-spacing-1)}.tg-aif__btn{background:none;border:1px solid var(--tg-color-border);border-radius:var(--tg-radius-md);padding:var(--tg-spacing-1) var(--tg-spacing-2);cursor:pointer;font-size:1rem;transition:all var(--tg-duration-fast)}.tg-aif__btn:hover{background:var(--tg-color-surface-sunken)}.tg-aif__btn--active{background:var(--tg-color-primary-subtle);border-color:var(--tg-color-primary)}.tg-aif__thanks{font-size:var(--tg-font-size-xs);color:var(--tg-color-success)}.tg-aif__comment{width:100%;margin-top:var(--tg-spacing-2)}.tg-aif__textarea{width:100%;padding:var(--tg-spacing-2);border:1px solid var(--tg-color-border);border-radius:var(--tg-radius-lg);font-family:inherit;font-size:var(--tg-font-size-sm);outline:none;resize:vertical}.tg-aif__textarea:focus{border-color:var(--tg-color-primary)}.tg-aif__submit{margin-top:var(--tg-spacing-2);background:var(--tg-color-primary);color:white;border:none;padding:var(--tg-spacing-1-5) var(--tg-spacing-4);border-radius:var(--tg-radius-lg);font-size:var(--tg-font-size-xs);cursor:pointer}";export{i as tg_ai_feedback}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as e,H as r}from"./p-CXqO9vvj.js";const i=class{constructor(e){t(this,e),this.tgRelogin=s(this,"tgRelogin"),this.open=!1,this.heading="Session expirée",this.message="Votre session a expiré. Veuillez vous reconnecter.",this.loginLabel="Se reconnecter"}render(){return this.open?e(r,null,e("div",{class:"tg-se__overlay"},e("div",{class:"tg-se"},e("div",{class:"tg-se__icon"},"\\ud83d\\udd12"),e("h3",{class:"tg-se__title"},this.heading),e("p",{class:"tg-se__msg"},this.message),e("button",{class:"tg-se__btn",type:"button",onClick:()=>this.tgRelogin.emit()},this.loginLabel)))):e(r,null)}};i.style=":host{display:contents}.tg-se__overlay{position:fixed;inset:0;background:rgba(0,0,0,0.6);backdrop-filter:blur(8px);z-index:99999;display:flex;align-items:center;justify-content:center}.tg-se{background:var(--tg-color-surface-raised);border-radius:var(--tg-radius-2xl);padding:var(--tg-spacing-8);text-align:center;max-width:22rem;font-family:var(--tg-font-family-sans)}.tg-se__icon{font-size:3rem;margin-bottom:var(--tg-spacing-3)}.tg-se__title{margin:0 0 var(--tg-spacing-2);font-size:var(--tg-font-size-lg);font-weight:var(--tg-font-weight-semibold);color:var(--tg-color-text-primary)}.tg-se__msg{margin:0 0 var(--tg-spacing-5);font-size:var(--tg-font-size-sm);color:var(--tg-color-text-secondary);line-height:var(--tg-line-height-relaxed)}.tg-se__btn{width:100%;padding:var(--tg-spacing-2-5);background:var(--tg-color-primary);color:var(--tg-color-primary-on);border:none;border-radius:var(--tg-radius-lg);font-size:var(--tg-font-size-sm);font-weight:var(--tg-font-weight-semibold);cursor:pointer}.tg-se__btn:hover{filter:brightness(1.1)}";export{i as tg_session_expired}
@@ -0,0 +1 @@
1
+ import{r as t,c as a,h as r,H as e}from"./p-CXqO9vvj.js";const i=class{constructor(r){t(this,r),this.tgClick=a(this,"tgClick"),this.variant="primary",this.size="md",this.position="bottom-right",this.fixed=!0}render(){return r(e,{key:"6dd636b4f00a9e639a1c16e116a3d1baca5116f4"},r("button",{key:"37a5641cc8f781ecdf7d1e7a2f8571a553c66d71",class:"tg-fab tg-fab--"+this.variant+" tg-fab--"+this.size+(this.fixed?" tg-fab--fixed tg-fab--"+this.position:""),type:"button",onClick:()=>this.tgClick.emit()},this.icon&&r("span",{key:"8d327d220b24a43fdac63984e014b9a10da0c141",class:"tg-fab__icon"},this.icon),this.label&&r("span",{key:"df06e983206107d5d80f3a184576447152e4be40",class:"tg-fab__label"},this.label),!this.icon&&!this.label&&r("svg",{key:"31e5b6735e0aac2bc6d958a489e6f9beaa6ea75d",viewBox:"0 0 20 20",fill:"currentColor",width:"20",height:"20"},r("path",{key:"52fe468dd13cc4978ee607a3f3886e562cfefa29",d:"M10.75 4.75a.75.75 0 00-1.5 0v4.5h-4.5a.75.75 0 000 1.5h4.5v4.5a.75.75 0 001.5 0v-4.5h4.5a.75.75 0 000-1.5h-4.5v-4.5z"}))))}};i.style=":host{display:inline-flex}.tg-fab{display:inline-flex;align-items:center;justify-content:center;gap:var(--tg-spacing-2);border:none;border-radius:var(--tg-radius-full);cursor:pointer;font-family:var(--tg-font-family-sans);font-weight:var(--tg-font-weight-medium);transition:all var(--tg-duration-fast);box-shadow:var(--tg-shadow-lg)}.tg-fab:hover{transform:scale(1.05);box-shadow:var(--tg-shadow-xl)}.tg-fab:active{transform:scale(0.95)}.tg-fab--sm{width:2.5rem;height:2.5rem;font-size:var(--tg-font-size-xs)}.tg-fab--md{min-width:3rem;height:3rem;padding:0 var(--tg-spacing-3);font-size:var(--tg-font-size-sm)}.tg-fab--lg{min-width:3.5rem;height:3.5rem;padding:0 var(--tg-spacing-4);font-size:var(--tg-font-size-md)}.tg-fab--primary{background:var(--tg-color-primary);color:var(--tg-color-primary-on)}.tg-fab--secondary{background:var(--tg-color-surface-raised);color:var(--tg-color-text-primary);border:1px solid var(--tg-color-border)}.tg-fab--success{background:var(--tg-color-success);color:white}.tg-fab--danger{background:var(--tg-color-danger);color:white}.tg-fab--fixed{position:fixed;z-index:1000}.tg-fab--bottom-right{bottom:var(--tg-spacing-6);right:var(--tg-spacing-6)}.tg-fab--bottom-left{bottom:var(--tg-spacing-6);left:var(--tg-spacing-6)}.tg-fab--bottom-center{bottom:var(--tg-spacing-6);left:50%;transform:translateX(-50%)}.tg-fab__icon{font-size:1.25em}";export{i as tg_fab}
@@ -0,0 +1 @@
1
+ import{r as o,c as t,h as r,H as e}from"./p-CXqO9vvj.js";const a=class{constructor(r){o(this,r),this.tgChange=t(this,"tgChange"),this.placeholder="Rechercher…",this.options=[],this.disabled=!1,this.invalid=!1,this.size="md",this.query="",this.open=!1,this.focusedIndex=-1,this.handleInput=o=>{this.query=o.target.value,this.open=!0},this.handleFocus=()=>{this.open=!0},this.handleKeyDown=o=>{const t=this.filtered;"ArrowDown"===o.key?(o.preventDefault(),this.focusedIndex=Math.min(this.focusedIndex+1,t.length-1)):"ArrowUp"===o.key?(o.preventDefault(),this.focusedIndex=Math.max(this.focusedIndex-1,0)):"Enter"===o.key&&this.focusedIndex>=0&&t[this.focusedIndex]?(o.preventDefault(),this.select(t[this.focusedIndex])):"Escape"===o.key&&(this.open=!1)}}get parsed(){if("string"==typeof this.options)try{return JSON.parse(this.options)}catch(o){return[]}return this.options}get filtered(){const o=this.query.toLowerCase();return o?this.parsed.filter((t=>t.label.toLowerCase().includes(o))):this.parsed}get selectedLabel(){const o=this.parsed.find((o=>o.value===this.value));return o?o.label:""}handleDocClick(){this.open=!1}select(o){this.tgChange.emit(o.value),this.query=o.label,this.open=!1}render(){const o=this.filtered;return r(e,{key:"565f072e24300dd80eec6206a9ee2922b7504589"},r("div",{key:"d43ede25747b229bfe8c1c25ae62ca24cedadf5e",class:`tg-combobox tg-combobox--${this.size}`,onClick:o=>o.stopPropagation()},this.label&&r("label",{key:"04baf228f536e3f93f8b15a5d8a8ec5055d349b7",class:"tg-combobox__label"},this.label),r("div",{key:"16969267f3ef67da727c5c3b8463146398f910ca",class:{"tg-combobox__input-wrap":!0,"tg-combobox__input-wrap--invalid":this.invalid,"tg-combobox__input-wrap--disabled":this.disabled}},r("input",{key:"d43dbe66854e5993ecf3de07a37c2b8dca7bb4ac",class:"tg-combobox__input",type:"text",value:this.open?this.query:this.selectedLabel,placeholder:this.placeholder,disabled:this.disabled,onInput:this.handleInput,onFocus:this.handleFocus,onKeyDown:this.handleKeyDown,role:"combobox","aria-expanded":String(this.open),"aria-autocomplete":"list"}),r("span",{key:"1848157598a1534516a72c4df74266771e666028",class:{"tg-combobox__chevron":!0,"tg-combobox__chevron--open":this.open}},r("svg",{key:"800f1089b123c22cfe2dfdc513fe6632b51b4a5e",viewBox:"0 0 20 20",fill:"currentColor",width:"16",height:"16"},r("path",{key:"8069e0b3d7f69861b4b9dd0723e6531eaff7e2fd","fill-rule":"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z"})))),this.open&&o.length>0&&r("ul",{key:"c2552593271adbc015fc5b4457cf4225183b571b",class:"tg-combobox__dropdown",role:"listbox"},o.map(((o,t)=>r("li",{class:{"tg-combobox__option":!0,"tg-combobox__option--focused":t===this.focusedIndex,"tg-combobox__option--selected":o.value===this.value,"tg-combobox__option--disabled":!0===o.disabled},role:"option","aria-selected":String(o.value===this.value),onClick:()=>!o.disabled&&this.select(o)},o.label)))),this.errorText&&r("p",{key:"6c3488a6db12f9c4c4f8f4a978526eeb728fd247",class:"tg-combobox__error"},this.errorText),!this.errorText&&this.helperText&&r("p",{key:"b1c7475ea8220f626c18b2ebb5d785a54f76b6ca",class:"tg-combobox__helper"},this.helperText)))}};a.style=":host{display:block}.tg-combobox{position:relative;font-family:var(--tg-font-family-sans)}.tg-combobox__label{display:block;font-size:var(--tg-font-size-sm);font-weight:var(--tg-font-weight-medium);color:var(--tg-color-text-primary);margin-bottom:var(--tg-spacing-1-5)}.tg-combobox__input-wrap{display:flex;align-items:center;border:1px solid var(--tg-color-border-strong);border-radius:var(--tg-radius-lg);background:var(--tg-color-surface-raised);transition:border-color var(--tg-duration-fast) var(--tg-ease-default), box-shadow var(--tg-duration-fast) var(--tg-ease-default)}.tg-combobox__input-wrap:focus-within{border-color:var(--tg-color-border-focus);box-shadow:var(--tg-focus-ring)}.tg-combobox__input-wrap--invalid{border-color:var(--tg-color-danger)}.tg-combobox__input-wrap--disabled{opacity:0.5;cursor:not-allowed}.tg-combobox__input{flex:1;border:none;outline:none;background:transparent;color:var(--tg-color-text-primary);font-family:inherit;padding:0 var(--tg-spacing-3);width:100%}.tg-combobox__input::placeholder{color:var(--tg-color-text-disabled)}.tg-combobox--sm .tg-combobox__input{height:2rem;font-size:var(--tg-font-size-xs)}.tg-combobox--md .tg-combobox__input{height:2.5rem;font-size:var(--tg-font-size-sm)}.tg-combobox--lg .tg-combobox__input{height:3rem;font-size:var(--tg-font-size-md)}.tg-combobox__chevron{display:flex;align-items:center;padding-right:var(--tg-spacing-2);color:var(--tg-color-text-secondary);transition:transform var(--tg-duration-fast)}.tg-combobox__chevron--open{transform:rotate(180deg)}.tg-combobox__dropdown{position:absolute;top:100%;left:0;right:0;margin-top:var(--tg-spacing-1);background:var(--tg-color-surface-raised);border:1px solid var(--tg-color-border);border-radius:var(--tg-radius-lg);box-shadow:var(--tg-shadow-lg);z-index:1000;max-height:14rem;overflow-y:auto;padding:var(--tg-spacing-1) 0;list-style:none;animation:tg-combo-enter var(--tg-duration-fast) var(--tg-ease-out)}@keyframes tg-combo-enter{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.tg-combobox__option{padding:var(--tg-spacing-2) var(--tg-spacing-3);font-size:var(--tg-font-size-sm);cursor:pointer;color:var(--tg-color-text-primary);transition:background var(--tg-duration-fast)}.tg-combobox__option:hover,.tg-combobox__option--focused{background:var(--tg-color-primary-subtle)}.tg-combobox__option--selected{color:var(--tg-color-primary);font-weight:var(--tg-font-weight-medium)}.tg-combobox__option--disabled{opacity:0.4;cursor:not-allowed}.tg-combobox__error{margin:var(--tg-spacing-1) 0 0;font-size:var(--tg-font-size-xs);color:var(--tg-color-danger)}.tg-combobox__helper{margin:var(--tg-spacing-1) 0 0;font-size:var(--tg-font-size-xs);color:var(--tg-color-text-secondary)}";export{a as tg_combobox}
@@ -0,0 +1 @@
1
+ import{r as t,c as a,h as i,H as r}from"./p-CXqO9vvj.js";const e=class{constructor(i){t(this,i),this.tgChange=a(this,"tgChange"),this.checked=!1,this.disabled=!1,this.handleChange=()=>{this.disabled||(this.checked=!0,this.tgChange.emit(this.value))}}render(){return i(r,{key:"c20da1611aaa084a113c540cf47d47f747b133bb"},i("label",{key:"ca4ce55148205b8a7c3f3ec05db7a606920d2f26",class:{"tg-radio":!0,"tg-radio--disabled":this.disabled}},i("input",Object.assign({key:"16a658d41fa640930e5ff2939a25d2a9649a4842",type:"radio",class:"tg-radio__input",checked:this.checked,disabled:this.disabled},this.name?{name:this.name}:{},this.value?{value:this.value}:{},{onChange:this.handleChange})),i("span",{key:"6a42b83b9e210015fc6625c8454a9c4bc4e06c3e",class:"tg-radio__circle"}),(this.label||this.description)&&i("span",{key:"fb06e63b9f0c6a8ffe057b39627f67bfa2bb8d11",class:"tg-radio__content"},this.label&&i("span",{key:"f0253a06ca55e2d1e4feba654481738a4b1e8a1e",class:"tg-radio__label-text"},this.label),this.description&&i("span",{key:"0b50be555bb5ae13ab4fbe2c81dc922a89ba98f2",class:"tg-radio__description"},this.description))))}};e.style=":host{display:inline-flex}.tg-radio{display:inline-flex;align-items:flex-start;gap:var(--tg-spacing-2);cursor:pointer;font-family:var(--tg-font-family-sans);user-select:none}.tg-radio--disabled{opacity:0.5;cursor:not-allowed}.tg-radio__input{position:absolute;opacity:0;width:0;height:0}.tg-radio__circle{position:relative;width:1.125rem;height:1.125rem;flex-shrink:0;margin-top:0.125rem;border:2px solid var(--tg-color-border-strong);border-radius:var(--tg-radius-full);background:var(--tg-color-surface-raised);transition:all var(--tg-duration-fast) var(--tg-ease-default)}.tg-radio__circle::after{content:'';position:absolute;top:50%;left:50%;width:0.5rem;height:0.5rem;border-radius:var(--tg-radius-full);background:white;transform:translate(-50%, -50%) scale(0);transition:transform var(--tg-duration-fast) var(--tg-ease-bounce)}.tg-radio__input:checked+.tg-radio__circle{background:var(--tg-color-primary);border-color:var(--tg-color-primary)}.tg-radio__input:checked+.tg-radio__circle::after{transform:translate(-50%, -50%) scale(1)}.tg-radio__input:focus-visible+.tg-radio__circle{box-shadow:var(--tg-focus-ring)}.tg-radio__content{display:flex;flex-direction:column;gap:var(--tg-spacing-0-5)}.tg-radio__label-text{font-size:var(--tg-font-size-sm);color:var(--tg-color-text-primary);line-height:var(--tg-line-height-snug)}.tg-radio__description{font-size:var(--tg-font-size-xs);color:var(--tg-color-text-secondary)}";export{e as tg_radio}
@@ -0,0 +1 @@
1
+ import{r as t,c as a,h as i,H as n}from"./p-CXqO9vvj.js";const o=class{constructor(i){t(this,i),this.tgPageChange=a(this,"tgPageChange"),this.currentPage=1,this.totalPages=1,this.siblingCount=1,this.goTo=t=>{t<1||t>this.totalPages||t===this.currentPage||(this.currentPage=t,this.tgPageChange.emit(t))}}getRange(){const t=this.totalPages,a=this.currentPage,i=this.siblingCount;if(t<=7)return Array.from({length:t},((t,a)=>a+1));const n=Math.max(a-i,2),o=Math.min(a+i,t-1),r=o<t-1,e=[1];n>2&&e.push("...");for(let t=n;t<=o;t++)e.push(t);return r&&e.push("..."),e.push(t),e}render(){const t=this.getRange();return i(n,{key:"d31881cd7e9a8eb213eef62334f3172707c0a021"},i("nav",{key:"6ce78ba6a430c51891c3f817cc96ff2a11fc2ea4",class:"tg-pagination","aria-label":"Pagination"},i("button",{key:"3c3d0ed57dfda0fd5c8f9367f9b1c411e9c02da1",class:"tg-pagination__btn",disabled:this.currentPage<=1,onClick:()=>this.goTo(this.currentPage-1),"aria-label":"Page précédente",innerHTML:'<svg viewBox="0 0 14 14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><polyline points="9 3 5 7 9 11"/></svg>'}),t.map((t=>"..."===t?i("span",{class:"tg-pagination__ellipsis"},"…"):i("button",{class:{"tg-pagination__btn":!0,"tg-pagination__btn--active":t===this.currentPage},"aria-current":t===this.currentPage?"page":void 0,onClick:()=>this.goTo(t)},t))),i("button",{key:"f2f800639e489e518f606e6ea186eaf5e02abd3f",class:"tg-pagination__btn",disabled:this.currentPage>=this.totalPages,onClick:()=>this.goTo(this.currentPage+1),"aria-label":"Page suivante",innerHTML:'<svg viewBox="0 0 14 14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><polyline points="5 3 9 7 5 11"/></svg>'})))}};o.style=":host{display:block}.tg-pagination{display:flex;align-items:center;gap:var(--tg-spacing-2xs, 4px);font-family:var(--tg-font-family, sans-serif)}.tg-pagination__btn{appearance:none;border:1px solid var(--tg-color-neutral-200, #e5e7eb);background:var(--tg-color-surface, #fff);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 var(--tg-spacing-xs, 8px);border-radius:var(--tg-radius-md, 8px);font-family:inherit;font-size:var(--tg-font-size-sm, 0.8125rem);font-weight:var(--tg-font-weight-medium, 500);color:var(--tg-color-text, #111827);transition:background var(--tg-duration-fast, 150ms), border-color var(--tg-duration-fast, 150ms), color var(--tg-duration-fast, 150ms);font-variant-numeric:tabular-nums}.tg-pagination__btn:hover:not(:disabled){background:var(--tg-color-neutral-50, #f9fafb);border-color:var(--tg-color-neutral-300, #d1d5db)}.tg-pagination__btn:focus-visible{outline:none;box-shadow:var(--tg-focus-ring)}.tg-pagination__btn:disabled{opacity:0.4;cursor:not-allowed}.tg-pagination__btn--active{background:var(--tg-color-primary, #00853F);border-color:var(--tg-color-primary, #00853F);color:#fff}.tg-pagination__btn--active:hover:not(:disabled){background:var(--tg-color-primary-dark, #006B32);border-color:var(--tg-color-primary-dark, #006B32);color:#fff}.tg-pagination__btn svg{width:16px;height:16px}.tg-pagination__ellipsis{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;color:var(--tg-color-text-secondary, #6b7280);font-size:var(--tg-font-size-sm, 0.8125rem);user-select:none}";export{o as tg_pagination}
@@ -0,0 +1 @@
1
+ import{r as e,h as r,H as t}from"./p-CXqO9vvj.js";const i=class{constructor(r){e(this,r),this.size="md",this.variant="primary",this.label="Chargement…"}render(){return r(t,{key:"a4dc53352ed1db875fa5a085ab915eb7ddf00cc0",role:"status","aria-label":this.label},r("span",{key:"2c277a9fbb6273d3b4f105bf12594ec52251fceb",class:{"tg-spinner":!0,[`tg-spinner--${this.size}`]:!0,[`tg-spinner--${this.variant}`]:!0},"aria-hidden":"true"},r("svg",{key:"7d36efbbf1bddbd3548f5255e08658787c87602e",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r("circle",{key:"faee23a3b5d702792b74e444509db41c77ea1075",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"3",opacity:"0.2"}),r("path",{key:"c32dae2064c0168f56d1f5b4fcebe7686f31bc48",d:"M12 2a10 10 0 0 1 10 10",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round"}))),r("span",{key:"9ba7bde08f66239156062d4a6f85de44d2317c7c",class:"tg-spinner__sr-only"},this.label))}};i.style=":host{display:inline-flex;align-items:center;justify-content:center}.tg-spinner{display:inline-flex;animation:tg-spin 0.75s linear infinite}.tg-spinner svg{width:100%;height:100%}.tg-spinner--xs{width:12px;height:12px}.tg-spinner--sm{width:16px;height:16px}.tg-spinner--md{width:24px;height:24px}.tg-spinner--lg{width:36px;height:36px}.tg-spinner--xl{width:48px;height:48px}.tg-spinner--primary{color:var(--tg-color-primary)}.tg-spinner--secondary{color:var(--tg-color-secondary-hover)}.tg-spinner--danger{color:var(--tg-color-danger)}.tg-spinner--neutral{color:var(--tg-color-neutral-500)}.tg-spinner--inherit{color:inherit}.tg-spinner__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@keyframes tg-spin{to{transform:rotate(360deg)}}";export{i as tg_spinner}
@@ -0,0 +1 @@
1
+ import{r as a,h as r,H as t}from"./p-CXqO9vvj.js";const o=class{constructor(r){a(this,r),this.role="",this.variant="custom"}render(){return r(t,{key:"5d497b0a457392d26913fefb112a701dfdf6aef2"},r("span",{key:"5c3f035744fc7271f4bef128e4b44fbaf1aca004",class:"tg-rb tg-rb--"+this.variant},this.icon&&r("span",{key:"8b99e5b3cc14fb578a51a62aa5757a0d7735cc7e",class:"tg-rb__icon"},this.icon),r("span",{key:"aca74aa2fe597a6cab5a0e8e065149d7dc366bc6",class:"tg-rb__label"},this.role)))}};o.style=":host{display:inline-flex}.tg-rb{display:inline-flex;align-items:center;gap:var(--tg-spacing-1);padding:var(--tg-spacing-0-5) var(--tg-spacing-2);border-radius:var(--tg-radius-full);font-family:var(--tg-font-family-sans);font-size:var(--tg-font-size-xs);font-weight:var(--tg-font-weight-medium)}.tg-rb--admin{background:var(--tg-color-danger-subtle);color:var(--tg-color-danger)}.tg-rb--editor{background:var(--tg-color-primary-subtle);color:var(--tg-color-primary)}.tg-rb--viewer{background:var(--tg-color-surface-sunken);color:var(--tg-color-text-secondary)}.tg-rb--custom{background:var(--tg-color-info-subtle);color:var(--tg-color-info)}.tg-rb__icon{font-size:0.75rem}";export{o as tg_role_badge}
@@ -0,0 +1 @@
1
+ import{r as t,h as a,H as e}from"./p-CXqO9vvj.js";const r=class{constructor(a){t(this,a),this.items=[]}get parsed(){const t="string"==typeof this.items?(()=>{try{return JSON.parse(this.items)}catch(t){return[]}})():this.items;return this.maxItems?t.slice(0,this.maxItems):t}render(){return a(e,{key:"3a8314e8702a2c8ecf11419d0efb2f10d3d8442b"},a("div",{key:"99a5bbc264703c68cb92167f7920261c6c9646c7",class:"tg-af"},this.parsed.map((t=>a("div",{class:"tg-af__item"},a("div",{class:"tg-af__avatar"},t.avatar||t.user.charAt(0).toUpperCase()),a("div",{class:"tg-af__body"},a("p",{class:"tg-af__text"},a("strong",null,t.user)," ",t.action," ",t.target&&a("span",{class:"tg-af__target"},t.target)),a("span",{class:"tg-af__time"},t.time))))),0===this.parsed.length&&a("p",{key:"7f0bfc6058c3c2143a03cc0ced46ad2e521750e4",class:"tg-af__empty"},"Aucune activit\\u00e9 r\\u00e9cente")))}};r.style=":host{display:block}.tg-af{font-family:var(--tg-font-family-sans)}.tg-af__item{display:flex;gap:var(--tg-spacing-3);padding:var(--tg-spacing-3) 0;border-bottom:1px solid var(--tg-color-border)}.tg-af__item:last-child{border-bottom:none}.tg-af__avatar{width:2rem;height:2rem;border-radius:50%;background:var(--tg-color-primary-subtle);color:var(--tg-color-primary);display:flex;align-items:center;justify-content:center;font-size:var(--tg-font-size-xs);font-weight:var(--tg-font-weight-semibold);flex-shrink:0}.tg-af__body{flex:1}.tg-af__text{margin:0;font-size:var(--tg-font-size-sm);color:var(--tg-color-text-primary);line-height:var(--tg-line-height-relaxed)}.tg-af__target{color:var(--tg-color-primary);font-weight:var(--tg-font-weight-medium)}.tg-af__time{font-size:var(--tg-font-size-xs);color:var(--tg-color-text-secondary)}.tg-af__empty{text-align:center;padding:var(--tg-spacing-6);color:var(--tg-color-text-disabled);font-size:var(--tg-font-size-sm)}";export{r as tg_activity_feed}
@@ -0,0 +1 @@
1
+ import{r as t,c as r,h as o,H as a}from"./p-CXqO9vvj.js";const s=class{constructor(o){t(this,o),this.tgChange=r(this,"tgChange"),this.models=[],this.open=!1}get parsed(){if("string"==typeof this.models)try{return JSON.parse(this.models)}catch(t){return[]}return this.models}get selected(){return this.parsed.find((t=>t.id===this.value))}onDocClick(){this.open=!1}render(){const t=this.selected;return o(a,{key:"8f2110c45d3a41c21b318ea4aee2b9df97f6c64e"},o("div",{key:"548a1c12ff3e4ca389bd9af9c7b3918284ecdf07",class:"tg-ms",onClick:t=>t.stopPropagation()},o("button",{key:"64c22f0895e04c5852124bb9fc50a9075aa85e89",class:"tg-ms__trigger",type:"button",onClick:()=>{this.open=!this.open}},o("span",{key:"07d0f36c53a428721beac440fb3746cd621db3e6",class:"tg-ms__current"},t?t.name:"Sélectionner un modèle"),o("svg",{key:"19dadd4c8fe6ad05288aa753c095e8eef896e5de",class:{"tg-ms__chev":!0,"tg-ms__chev--open":this.open},viewBox:"0 0 20 20",fill:"currentColor",width:"14",height:"14"},o("path",{key:"7c3ee88b2ae95fcdc4ba9769033d92fbdb2b7dd4","fill-rule":"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z"}))),this.open&&o("div",{key:"328b12c238fdf9806d30e841a3ff7517fee2488e",class:"tg-ms__dropdown"},this.parsed.map((t=>o("button",{class:{"tg-ms__option":!0,"tg-ms__option--sel":t.id===this.value},type:"button",onClick:()=>{this.tgChange.emit(t.id),this.open=!1}},o("div",{class:"tg-ms__opt-main"},o("span",{class:"tg-ms__opt-name"},t.name),t.badge&&o("span",{class:"tg-ms__opt-badge"},t.badge)),t.provider&&o("span",{class:"tg-ms__opt-provider"},t.provider),t.description&&o("span",{class:"tg-ms__opt-desc"},t.description)))))))}};s.style=":host{display:inline-block;position:relative}.tg-ms{font-family:var(--tg-font-family-sans)}.tg-ms__trigger{display:inline-flex;align-items:center;gap:var(--tg-spacing-2);padding:var(--tg-spacing-2) var(--tg-spacing-3);border:1px solid var(--tg-color-border-strong);border-radius:var(--tg-radius-lg);background:var(--tg-color-surface-raised);cursor:pointer;font-size:var(--tg-font-size-sm);color:var(--tg-color-text-primary);transition:border-color var(--tg-duration-fast)}.tg-ms__trigger:hover{border-color:var(--tg-color-primary)}.tg-ms__chev{transition:transform var(--tg-duration-fast);color:var(--tg-color-text-secondary)}.tg-ms__chev--open{transform:rotate(180deg)}.tg-ms__dropdown{position:absolute;top:100%;left:0;right:0;margin-top:var(--tg-spacing-1);background:var(--tg-color-surface-raised);border:1px solid var(--tg-color-border);border-radius:var(--tg-radius-xl);box-shadow:var(--tg-shadow-lg);z-index:1000;padding:var(--tg-spacing-1);min-width:16rem}.tg-ms__option{display:block;width:100%;text-align:left;padding:var(--tg-spacing-2-5) var(--tg-spacing-3);border:none;background:none;cursor:pointer;border-radius:var(--tg-radius-lg);transition:background var(--tg-duration-fast)}.tg-ms__option:hover{background:var(--tg-color-primary-subtle)}.tg-ms__option--sel{background:var(--tg-color-primary-subtle)}.tg-ms__opt-main{display:flex;align-items:center;gap:var(--tg-spacing-2)}.tg-ms__opt-name{font-size:var(--tg-font-size-sm);font-weight:var(--tg-font-weight-medium);color:var(--tg-color-text-primary)}.tg-ms__opt-badge{font-size:var(--tg-font-size-xs);padding:1px var(--tg-spacing-1-5);background:var(--tg-color-primary);color:white;border-radius:var(--tg-radius-full)}.tg-ms__opt-provider{display:block;font-size:var(--tg-font-size-xs);color:var(--tg-color-text-secondary);margin-top:2px}.tg-ms__opt-desc{display:block;font-size:var(--tg-font-size-xs);color:var(--tg-color-text-disabled);margin-top:2px}";export{s as tg_model_selector}
@@ -0,0 +1 @@
1
+ import{r as t,c as a,h as r,H as e}from"./p-CXqO9vvj.js";const o=class{constructor(r){t(this,r),this.tgChange=a(this,"tgChange"),this.placeholder="JJ/MM/AAAA",this.disabled=!1,this.invalid=!1,this.size="md",this.open=!1,this.viewDate=new Date,this.prevMonth=()=>{const t=new Date(this.viewDate);t.setMonth(t.getMonth()-1),this.viewDate=t},this.nextMonth=()=>{const t=new Date(this.viewDate);t.setMonth(t.getMonth()+1),this.viewDate=t}}onDocClick(){this.open=!1}daysInMonth(t,a){return new Date(t,a+1,0).getDate()}firstDow(t,a){return new Date(t,a,1).getDay()}selectDay(t){const a=this.viewDate.getFullYear(),r=String(this.viewDate.getMonth()+1).padStart(2,"0"),e=String(t).padStart(2,"0");this.tgChange.emit(a+"-"+r+"-"+e),this.open=!1}formatDisplay(){if(!this.value)return"";const t=this.value.split("-");return t[2]+"/"+t[1]+"/"+t[0]}render(){const t=this.viewDate.getFullYear(),a=this.viewDate.getMonth(),o=this.daysInMonth(t,a),i=this.firstDow(t,a),s=[];for(let t=0;t<i;t++)s.push(null);for(let t=1;t<=o;t++)s.push(t);return r(e,{key:"1bdb0e804ddd590b60b2babcee9189ccfc8103b0"},r("div",{key:"5a7506eabbc0cefded2504d5266eb3a1ddfe525f",class:"tg-date-picker tg-date-picker--"+this.size,onClick:t=>t.stopPropagation()},this.label&&r("label",{key:"d97ca1c91f0a1d2aef7f4ffabd1704621f702b76",class:"tg-dp__label"},this.label),r("div",{key:"fe526741305cebfe28998b3571e036971de8bac2",class:{"tg-dp__input-wrap":!0,"tg-dp__input-wrap--invalid":this.invalid},onClick:()=>{this.disabled||(this.open=!this.open)}},r("svg",{key:"65662ba0e277a24d7872564383f57d9e62a6af91",class:"tg-dp__icon",viewBox:"0 0 20 20",fill:"currentColor",width:"16",height:"16"},r("path",{key:"32dc549db6c1176eb768b93d9b8f9229bfb50d04","fill-rule":"evenodd",d:"M5.75 2a.75.75 0 01.75.75V4h7V2.75a.75.75 0 011.5 0V4h.25A2.75 2.75 0 0118 6.75v8.5A2.75 2.75 0 0115.25 18H4.75A2.75 2.75 0 012 15.25v-8.5A2.75 2.75 0 014.75 4H5V2.75A.75.75 0 015.75 2zm-1 5.5a.75.75 0 000 1.5h10.5a.75.75 0 000-1.5H4.75z"})),r("input",{key:"4042c9d0da06a27715fe0f90a02d327b53c64942",class:"tg-dp__input",type:"text",readonly:!0,value:this.formatDisplay(),placeholder:this.placeholder,disabled:this.disabled})),this.open&&r("div",{key:"c197780bc0024a4dd861ee916596fd46e83aaceb",class:"tg-dp__calendar"},r("div",{key:"1e0f610b1e5334f44c6cc986efe2dc054a9bc91c",class:"tg-dp__nav"},r("button",{key:"194e3c5829de2c81497a453ff0f3e32229e1b8eb",class:"tg-dp__nav-btn",type:"button",onClick:this.prevMonth},"‹"),r("span",{key:"7976fef62f152f1707f9aa8bd263ea6ca440b27b",class:"tg-dp__month-year"},["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"][a]," ",t),r("button",{key:"ffe86d738629bfce856af063efb4c4fe333ff81f",class:"tg-dp__nav-btn",type:"button",onClick:this.nextMonth},"›")),r("div",{key:"1392d14a55be0f9761f48b63dfaf5ed87c576de9",class:"tg-dp__weekdays"},["Di","Lu","Ma","Me","Je","Ve","Sa"].map((t=>r("span",{class:"tg-dp__wd"},t)))),r("div",{key:"a238b5c68e95aaba5d09e5eb8926414ccf9f3ff7",class:"tg-dp__days"},s.map((e=>e?r("button",{class:{"tg-dp__day":!0,"tg-dp__day--sel":this.value===t+"-"+String(a+1).padStart(2,"0")+"-"+String(e).padStart(2,"0"),"tg-dp__day--today":(new Date).getDate()===e&&(new Date).getMonth()===a&&(new Date).getFullYear()===t},type:"button",onClick:()=>this.selectDay(e)},e):r("span",{class:"tg-dp__day tg-dp__day--empty"}))))),this.errorText&&r("p",{key:"b2806b9a78c219aeb93df813b1154359b9b8622d",class:"tg-dp__error"},this.errorText),!this.errorText&&this.helperText&&r("p",{key:"5dd972b9d8229e6aa5c8c8a8ada81e302c375518",class:"tg-dp__helper"},this.helperText)))}};o.style=":host{display:block}.tg-date-picker{position:relative;font-family:var(--tg-font-family-sans)}.tg-dp__label{display:block;font-size:var(--tg-font-size-sm);font-weight:var(--tg-font-weight-medium);color:var(--tg-color-text-primary);margin-bottom:var(--tg-spacing-1-5)}.tg-dp__input-wrap{display:flex;align-items:center;gap:var(--tg-spacing-2);border:1px solid var(--tg-color-border-strong);border-radius:var(--tg-radius-lg);background:var(--tg-color-surface-raised);padding:0 var(--tg-spacing-3);cursor:pointer;transition:border-color var(--tg-duration-fast), box-shadow var(--tg-duration-fast)}.tg-dp__input-wrap:focus-within{border-color:var(--tg-color-border-focus);box-shadow:var(--tg-focus-ring)}.tg-dp__input-wrap--invalid{border-color:var(--tg-color-danger)}.tg-dp__icon{color:var(--tg-color-text-secondary);flex-shrink:0}.tg-dp__input{flex:1;border:none;outline:none;background:transparent;color:var(--tg-color-text-primary);font-family:inherit;cursor:pointer}.tg-date-picker--sm .tg-dp__input{height:2rem;font-size:var(--tg-font-size-xs)}.tg-date-picker--md .tg-dp__input{height:2.5rem;font-size:var(--tg-font-size-sm)}.tg-date-picker--lg .tg-dp__input{height:3rem;font-size:var(--tg-font-size-md)}.tg-dp__input::placeholder{color:var(--tg-color-text-disabled)}.tg-dp__calendar{position:absolute;top:100%;left:0;margin-top:var(--tg-spacing-1);background:var(--tg-color-surface-raised);border:1px solid var(--tg-color-border);border-radius:var(--tg-radius-xl);box-shadow:var(--tg-shadow-lg);z-index:1000;padding:var(--tg-spacing-3);min-width:280px;animation:tg-dp-enter var(--tg-duration-fast) var(--tg-ease-out)}@keyframes tg-dp-enter{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.tg-dp__nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--tg-spacing-2)}.tg-dp__nav-btn{background:none;border:none;cursor:pointer;font-size:1.25rem;color:var(--tg-color-text-primary);padding:var(--tg-spacing-1);border-radius:var(--tg-radius-md);transition:background var(--tg-duration-fast)}.tg-dp__nav-btn:hover{background:var(--tg-color-primary-subtle)}.tg-dp__month-year{font-size:var(--tg-font-size-sm);font-weight:var(--tg-font-weight-semibold)}.tg-dp__weekdays{display:grid;grid-template-columns:repeat(7, 1fr);margin-bottom:var(--tg-spacing-1)}.tg-dp__wd{text-align:center;font-size:var(--tg-font-size-xs);color:var(--tg-color-text-secondary);font-weight:var(--tg-font-weight-medium);padding:var(--tg-spacing-1) 0}.tg-dp__days{display:grid;grid-template-columns:repeat(7, 1fr);gap:2px}.tg-dp__day{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;margin:auto;border:none;background:none;cursor:pointer;font-size:var(--tg-font-size-xs);color:var(--tg-color-text-primary);border-radius:var(--tg-radius-md);transition:background var(--tg-duration-fast)}.tg-dp__day:hover{background:var(--tg-color-primary-subtle)}.tg-dp__day--sel{background:var(--tg-color-primary);color:var(--tg-color-primary-on);font-weight:var(--tg-font-weight-semibold)}.tg-dp__day--today{border:1px solid var(--tg-color-primary)}.tg-dp__day--empty{cursor:default}.tg-dp__error{margin:var(--tg-spacing-1) 0 0;font-size:var(--tg-font-size-xs);color:var(--tg-color-danger)}.tg-dp__helper{margin:var(--tg-spacing-1) 0 0;font-size:var(--tg-font-size-xs);color:var(--tg-color-text-secondary)}";export{o as tg_date_picker}
@@ -0,0 +1 @@
1
+ import{r as t,h as i,H as a}from"./p-CXqO9vvj.js";const e=class{constructor(i){t(this,i),this.images=[],this.columns=3,this.lightboxIndex=-1}get parsed(){if("string"==typeof this.images)try{return JSON.parse(this.images)}catch(t){return[]}return this.images}render(){const t=this.parsed;return i(a,{key:"54f0a5f4c8cb69c7601f751a6e3a4fa9c039aa03"},i("div",{key:"43db45820a7a66b647aec8f22d8b1237e7937ea0",class:"tg-ig",style:{gridTemplateColumns:"repeat("+this.columns+", 1fr)"}},t.map(((t,a)=>i("div",{class:"tg-ig__item",onClick:()=>{this.lightboxIndex=a}},i("img",{class:"tg-ig__img",src:t.src,alt:t.alt||"",loading:"lazy"}),t.caption&&i("span",{class:"tg-ig__caption"},t.caption))))),this.lightboxIndex>=0&&i("div",{key:"34f7696e87ffb3032535406680dbbc356d53c473",class:"tg-ig__lightbox",onClick:()=>{this.lightboxIndex=-1}},i("button",{key:"af12d664a0067352ca81546308a49fbfb2fcc9e3",class:"tg-ig__lb-close",type:"button","aria-label":"Close"},"\\u00d7"),this.lightboxIndex>0&&i("button",{key:"a0850fa101999ceb4449f013439f0d4b6b0e605d",class:"tg-ig__lb-prev",type:"button",onClick:t=>{t.stopPropagation(),this.lightboxIndex--}},"\\u2039"),i("img",{key:"b5c77f37b9cbbad132bfddedaa9e01c6537679f3",class:"tg-ig__lb-img",src:t[this.lightboxIndex].src,alt:t[this.lightboxIndex].alt||"",onClick:t=>t.stopPropagation()}),this.lightboxIndex<t.length-1&&i("button",{key:"b0e845547338cde60e62d1b860884694068bc4a1",class:"tg-ig__lb-next",type:"button",onClick:t=>{t.stopPropagation(),this.lightboxIndex++}},"\\u203a"),t[this.lightboxIndex].caption&&i("p",{key:"ff6ed839f25df6052c42ffcf7257577d2bd27740",class:"tg-ig__lb-caption"},t[this.lightboxIndex].caption)))}};e.style=":host{display:block}.tg-ig{display:grid;gap:var(--tg-spacing-2);font-family:var(--tg-font-family-sans)}.tg-ig__item{position:relative;overflow:hidden;border-radius:var(--tg-radius-lg);cursor:pointer;aspect-ratio:1}.tg-ig__item:hover .tg-ig__img{transform:scale(1.05)}.tg-ig__img{width:100%;height:100%;object-fit:cover;transition:transform var(--tg-duration-normal)}.tg-ig__caption{position:absolute;bottom:0;left:0;right:0;padding:var(--tg-spacing-2);background:linear-gradient(transparent, rgba(0,0,0,0.6));color:white;font-size:var(--tg-font-size-xs)}.tg-ig__lightbox{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,0.9);display:flex;align-items:center;justify-content:center}.tg-ig__lb-close{position:absolute;top:var(--tg-spacing-4);right:var(--tg-spacing-4);background:none;border:none;color:white;font-size:2rem;cursor:pointer;z-index:1}.tg-ig__lb-img{max-width:90vw;max-height:85vh;object-fit:contain;border-radius:var(--tg-radius-lg)}.tg-ig__lb-prev,.tg-ig__lb-next{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,0.1);border:none;color:white;font-size:2rem;padding:var(--tg-spacing-2) var(--tg-spacing-3);cursor:pointer;border-radius:var(--tg-radius-lg)}.tg-ig__lb-prev{left:var(--tg-spacing-4)}.tg-ig__lb-next{right:var(--tg-spacing-4)}.tg-ig__lb-caption{position:absolute;bottom:var(--tg-spacing-4);text-align:center;width:100%;color:white;font-size:var(--tg-font-size-sm)}";export{e as tg_image_gallery}
@@ -0,0 +1 @@
1
+ import{r as t,h as a,H as e}from"./p-CXqO9vvj.js";const r=class{constructor(a){t(this,a),this.data=[],this.xLabels=[],this.yLabels=[],this.colorMin="#f0fdf4",this.colorMax="#166534"}get grid(){if("string"==typeof this.data)try{return JSON.parse(this.data)}catch(t){return[]}return this.data}get xl(){if("string"==typeof this.xLabels)try{return JSON.parse(this.xLabels)}catch(t){return[]}return this.xLabels}get yl(){if("string"==typeof this.yLabels)try{return JSON.parse(this.yLabels)}catch(t){return[]}return this.yLabels}get maxVal(){return Math.max(...this.grid.flatMap((t=>t)),1)}cellColor(t){return"rgba(22, 101, 52, "+(.15+t/this.maxVal*.85).toFixed(2)+")"}render(){var t;return a(e,{key:"29b99401781ab130feadedf8d0205cc95ff90400"},a("div",{key:"4e74b38344b353c7121789124c64b8a641cc59f9",class:"tg-heatmap"},this.heading&&a("h3",{key:"bb8fe84d77a651150b2dfc3a7337d1749766a565",class:"tg-heatmap__title"},this.heading),a("div",{key:"df74fa440f9803a8432ff18ab06118cfdb60efbb",class:"tg-heatmap__grid",style:{gridTemplateColumns:(this.yl.length?"4rem ":"")+"repeat("+(this.xl.length||(null===(t=this.grid[0])||void 0===t?void 0:t.length)||1)+", 1fr)"}},this.yl.length>0&&a("div",{key:"33bc2dea9ad7d048d880772bba8dc40b471d86c3",class:"tg-heatmap__corner"}),this.xl.map((t=>a("div",{class:"tg-heatmap__xlabel"},t))),this.grid.map(((t,e)=>[this.yl[e]?a("div",{class:"tg-heatmap__ylabel"},this.yl[e]):null,...t.map((t=>a("div",{class:"tg-heatmap__cell",style:{background:this.cellColor(t)},title:String(t)},t)))])))))}};r.style=":host{display:block}.tg-heatmap{font-family:var(--tg-font-family-sans)}.tg-heatmap__title{margin:0 0 var(--tg-spacing-3);font-size:var(--tg-font-size-md);font-weight:var(--tg-font-weight-semibold);color:var(--tg-color-text-primary)}.tg-heatmap__grid{display:grid;gap:2px}.tg-heatmap__corner{background:transparent}.tg-heatmap__xlabel{font-size:var(--tg-font-size-xs);color:var(--tg-color-text-secondary);text-align:center;padding:var(--tg-spacing-1)}.tg-heatmap__ylabel{font-size:var(--tg-font-size-xs);color:var(--tg-color-text-secondary);display:flex;align-items:center;padding-right:var(--tg-spacing-2)}.tg-heatmap__cell{display:flex;align-items:center;justify-content:center;padding:var(--tg-spacing-2);font-size:var(--tg-font-size-xs);font-weight:var(--tg-font-weight-medium);color:var(--tg-color-text-primary);border-radius:var(--tg-radius-sm);min-height:2rem;transition:transform var(--tg-duration-fast)}.tg-heatmap__cell:hover{transform:scale(1.05)}";export{r as tg_heatmap}
@@ -0,0 +1 @@
1
+ import{r as t,c as o,h as r,H as n}from"./p-CXqO9vvj.js";const a=class{constructor(r){t(this,r),this.tgClick=o(this,"tgClick"),this.variant="primary",this.size="md",this.disabled=!1,this.loading=!1,this.fullWidth=!1,this.type="button",this.handleClick=()=>{this.disabled||this.loading||this.tgClick.emit()}}render(){const t=this.href?"a":"button",o=this.href?Object.assign(Object.assign({href:this.href},this.target?{target:this.target}:{}),"_blank"===this.target?{rel:"noopener noreferrer"}:{}):{type:this.type,disabled:this.disabled||this.loading};return r(n,{key:"85193b6b5b939d7a911650820cfa57604ef66034"},r(t,Object.assign({key:"be304319fd4e72d315e0942b409e2f356ad375fc",class:{"tg-button":!0,[`tg-button--${this.variant}`]:!0,[`tg-button--${this.size}`]:!0,"tg-button--full-width":this.fullWidth,"tg-button--loading":this.loading,"tg-button--disabled":this.disabled}},o,{"aria-disabled":this.disabled||this.loading?"true":void 0,"aria-busy":this.loading?"true":void 0,onClick:this.handleClick}),this.loading&&r("span",{key:"38808b3251dbeb279b2a02eb8b7a7afde968695c",class:"tg-button__spinner","aria-hidden":"true"},r("svg",{key:"46043cbb407c33daef90131ef03b93e039c4c9a4",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r("circle",{key:"8a44304e7145904cda62eb5129515ed25d3e99e6",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"3",opacity:"0.25"}),r("path",{key:"21fb0610a8c1db5cacc3b223a8db0e10d4b786a9",d:"M12 2a10 10 0 0 1 10 10",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round"}))),r("slot",{key:"0e300e079a33a79379d3becae14468f783673550",name:"icon-start"}),r("span",{key:"e041222fab4cbebec2619f7e17b8b87fb37995a8",class:"tg-button__label"},r("slot",{key:"ae2e3a577c8167746948cda5328597da034f630b"})),r("slot",{key:"360dab87f77ed5008fb99eebc52b752970241a3c",name:"icon-end"})))}};a.style=":host{display:inline-block}:host([full-width]){display:block;width:100%}.tg-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--tg-spacing-2);font-family:var(--tg-font-family-sans);font-weight:var(--tg-font-weight-semibold);line-height:var(--tg-line-height-tight);white-space:nowrap;cursor:pointer;border:1px solid transparent;border-radius:var(--tg-radius-lg);text-decoration:none;transition:background-color var(--tg-duration-normal) var(--tg-ease-default), border-color var(--tg-duration-normal) var(--tg-ease-default), color var(--tg-duration-normal) var(--tg-ease-default), box-shadow var(--tg-duration-normal) var(--tg-ease-default), opacity var(--tg-duration-normal) var(--tg-ease-default);outline:none;position:relative;overflow:hidden}.tg-button:focus-visible{box-shadow:var(--tg-focus-ring);outline:none}.tg-button--sm{height:2rem;padding:0 var(--tg-spacing-3);font-size:var(--tg-font-size-sm)}.tg-button--md{height:2.5rem;padding:0 var(--tg-spacing-4);font-size:var(--tg-font-size-sm)}.tg-button--lg{height:3rem;padding:0 var(--tg-spacing-6);font-size:var(--tg-font-size-md)}.tg-button--primary{background-color:var(--tg-color-primary);border-color:var(--tg-color-primary);color:var(--tg-color-primary-on)}.tg-button--primary:hover:not(.tg-button--disabled):not(.tg-button--loading){background-color:var(--tg-color-primary-hover);border-color:var(--tg-color-primary-hover)}.tg-button--primary:active:not(.tg-button--disabled):not(.tg-button--loading){background-color:var(--tg-color-primary-active);border-color:var(--tg-color-primary-active)}.tg-button--secondary{background-color:var(--tg-color-secondary);border-color:var(--tg-color-secondary);color:var(--tg-color-secondary-on)}.tg-button--secondary:hover:not(.tg-button--disabled):not(.tg-button--loading){background-color:var(--tg-color-secondary-hover);border-color:var(--tg-color-secondary-hover)}.tg-button--secondary:active:not(.tg-button--disabled):not(.tg-button--loading){background-color:var(--tg-color-secondary-active);border-color:var(--tg-color-secondary-active)}.tg-button--outline{background-color:transparent;border-color:var(--tg-color-primary);color:var(--tg-color-primary)}.tg-button--outline:hover:not(.tg-button--disabled):not(.tg-button--loading){background-color:var(--tg-color-primary-subtle)}.tg-button--outline:active:not(.tg-button--disabled):not(.tg-button--loading){background-color:var(--tg-color-primary-muted)}.tg-button--ghost{background-color:transparent;border-color:transparent;color:var(--tg-color-primary)}.tg-button--ghost:hover:not(.tg-button--disabled):not(.tg-button--loading){background-color:var(--tg-color-primary-subtle)}.tg-button--ghost:active:not(.tg-button--disabled):not(.tg-button--loading){background-color:var(--tg-color-primary-muted)}.tg-button--danger{background-color:var(--tg-color-danger);border-color:var(--tg-color-danger);color:var(--tg-color-danger-on)}.tg-button--danger:hover:not(.tg-button--disabled):not(.tg-button--loading){background-color:var(--tg-color-danger-hover);border-color:var(--tg-color-danger-hover)}.tg-button--danger:active:not(.tg-button--disabled):not(.tg-button--loading){background-color:var(--tg-color-danger-active);border-color:var(--tg-color-danger-active)}.tg-button--disabled,.tg-button[disabled]{opacity:0.45;cursor:not-allowed;pointer-events:none}.tg-button--full-width{width:100%}.tg-button--loading{cursor:wait}.tg-button__spinner{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;animation:tg-spin 0.75s linear infinite}.tg-button--sm .tg-button__spinner{width:14px;height:14px}.tg-button--md .tg-button__spinner{width:16px;height:16px}.tg-button--lg .tg-button__spinner{width:20px;height:20px}.tg-button__spinner svg{width:100%;height:100%}@keyframes tg-spin{to{transform:rotate(360deg)}}.tg-button::after{content:'';position:absolute;inset:0;background:radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 60%);opacity:0;transform:scale(0);transition:opacity 0.3s, transform 0.3s;pointer-events:none}.tg-button:active:not(.tg-button--disabled):not(.tg-button--loading)::after{opacity:1;transform:scale(2.5);transition:0s}.tg-button:active:not(.tg-button--disabled):not(.tg-button--loading){transform:scale(0.97)}.tg-button--primary:hover:not(.tg-button--disabled):not(.tg-button--loading){transform:translateY(-1px);box-shadow:var(--tg-shadow-primary, 0 4px 14px -3px rgba(0, 133, 63, 0.35))}.tg-button--secondary:hover:not(.tg-button--disabled):not(.tg-button--loading){transform:translateY(-1px);box-shadow:var(--tg-shadow-secondary, 0 4px 14px -3px rgba(200, 170, 0, 0.3))}.tg-button--danger:hover:not(.tg-button--disabled):not(.tg-button--loading){transform:translateY(-1px);box-shadow:var(--tg-shadow-danger, 0 4px 14px -3px rgba(227, 27, 35, 0.3))}.tg-button{letter-spacing:0.01em}.tg-button--icon-only.tg-button--sm{width:2rem;padding:0}.tg-button--icon-only.tg-button--md{width:2.5rem;padding:0}.tg-button--icon-only.tg-button--lg{width:3rem;padding:0}.tg-button__label{display:inline-flex;align-items:center}::slotted([slot='icon-start']),::slotted([slot='icon-end']){display:inline-flex;align-items:center;flex-shrink:0;width:1em;height:1em}";export{a as tg_button}
@@ -0,0 +1 @@
1
+ import{r,c as t,h as o,H as a}from"./p-CXqO9vvj.js";const g=class{constructor(o){r(this,o),this.tgRemove=t(this,"tgRemove"),this.variant="neutral",this.size="md",this.outlined=!1,this.removable=!1,this.dot=!1}render(){return o(a,{key:"2b9a8ab0eabdbb6867bfd60e967b9a10d91aad05"},o("span",{key:"970651f6e231c62325f2805a8859fbed30ae5045",class:{"tg-tag":!0,[`tg-tag--${this.variant}`]:!0,[`tg-tag--${this.size}`]:!0,"tg-tag--outlined":this.outlined}},this.dot&&o("span",{key:"30311cba420000b3722aab6f57a3b61e96505ee4",class:"tg-tag__dot"}),o("slot",{key:"ea882d21197eae879024b487cb2407d0c2fb30b6"}),this.removable&&o("button",{key:"1b2516ebd333017827edf62f9e00f983c4291a73",class:"tg-tag__remove",onClick:()=>this.tgRemove.emit(),"aria-label":"Supprimer"},o("svg",{key:"ec8b3712b49b3775ae2a01aad242f9bd842d837a",viewBox:"0 0 10 10",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"},o("line",{key:"acf0dbb549b8a4506ccfb82d96090d09b5380f3e",x1:"2",y1:"2",x2:"8",y2:"8"}),o("line",{key:"8bf5bdb1feff9236312563152ce894c1d3bf9cd0",x1:"8",y1:"2",x2:"2",y2:"8"})))))}};g.style=":host{display:inline-flex}.tg-tag{display:inline-flex;align-items:center;gap:var(--tg-spacing-1);font-family:var(--tg-font-family-sans);font-weight:var(--tg-font-weight-medium);border-radius:var(--tg-radius-full);border:1px solid transparent;white-space:nowrap;transition:all var(--tg-duration-fast) var(--tg-ease-default)}.tg-tag--sm{padding:0 var(--tg-spacing-2);height:1.25rem;font-size:var(--tg-font-size-2xs)}.tg-tag--md{padding:var(--tg-spacing-0-5) var(--tg-spacing-2-5);height:1.5rem;font-size:var(--tg-font-size-xs)}.tg-tag--lg{padding:var(--tg-spacing-1) var(--tg-spacing-3);height:1.875rem;font-size:var(--tg-font-size-sm)}.tg-tag--primary{background:var(--tg-color-primary);color:var(--tg-color-primary-on)}.tg-tag--secondary{background:var(--tg-color-secondary);color:var(--tg-color-secondary-on)}.tg-tag--success{background:var(--tg-color-success);color:var(--tg-color-success-on)}.tg-tag--danger{background:var(--tg-color-danger);color:var(--tg-color-danger-on)}.tg-tag--warning{background:var(--tg-color-warning);color:var(--tg-color-warning-on)}.tg-tag--info{background:var(--tg-color-info);color:var(--tg-color-info-on)}.tg-tag--neutral{background:var(--tg-color-neutral-200);color:var(--tg-color-text-primary)}.tg-tag--outlined.tg-tag--primary{background:var(--tg-color-primary-subtle);border-color:var(--tg-color-primary);color:var(--tg-color-primary)}.tg-tag--outlined.tg-tag--secondary{background:var(--tg-color-secondary-subtle);border-color:var(--tg-color-secondary);color:var(--tg-color-secondary)}.tg-tag--outlined.tg-tag--success{background:var(--tg-color-success-subtle);border-color:var(--tg-color-success);color:var(--tg-color-success)}.tg-tag--outlined.tg-tag--danger{background:var(--tg-color-danger-subtle);border-color:var(--tg-color-danger);color:var(--tg-color-danger)}.tg-tag--outlined.tg-tag--warning{background:var(--tg-color-warning-subtle);border-color:var(--tg-color-warning);color:var(--tg-color-warning)}.tg-tag--outlined.tg-tag--info{background:var(--tg-color-info-subtle);border-color:var(--tg-color-info);color:var(--tg-color-info)}.tg-tag--outlined.tg-tag--neutral{background:transparent;border-color:var(--tg-color-border);color:var(--tg-color-text-primary)}.tg-tag__remove{display:inline-flex;align-items:center;justify-content:center;width:0.875rem;height:0.875rem;border:none;background:none;color:inherit;cursor:pointer;border-radius:var(--tg-radius-full);padding:0;opacity:0.7;transition:opacity var(--tg-duration-fast) var(--tg-ease-default)}.tg-tag__remove:hover{opacity:1}.tg-tag__remove svg{width:0.625rem;height:0.625rem}.tg-tag__dot{width:0.375rem;height:0.375rem;border-radius:var(--tg-radius-full);background:currentColor}";export{g as tg_tag}
@@ -0,0 +1 @@
1
+ import{r as t,c as a,h as e,H as r,a as s}from"./p-CXqO9vvj.js";const i=class{constructor(e){t(this,e),this.tgSend=a(this,"tgSend"),this.chatTitle="Teranga AI",this.botInitial="T",this.placeholder="Écrivez votre message…",this.messages=[],this.typing=!1,this.inputValue="",this.handleSend=()=>{const t=this.inputValue.trim();t&&(this.tgSend.emit(t),this.inputValue="")},this.handleKeyDown=t=>{"Enter"!==t.key||t.shiftKey||(t.preventDefault(),this.handleSend())}}get parsedMessages(){if("string"==typeof this.messages)try{return JSON.parse(this.messages)}catch(t){return[]}return this.messages}componentDidUpdate(){this.scrollToBottom()}scrollToBottom(){this.messagesRef&&(this.messagesRef.scrollTop=this.messagesRef.scrollHeight)}render(){const t=this.parsedMessages;return e(r,{key:"3c07f4d1c6c599cf0d35868d3ffe03994fdd5d19"},e("div",{key:"822715425ecbce20177e6e7733dfc4d05d2db5ed",class:"tg-chat"},e("div",{key:"0b0df62a9c73f7ff39beac69be771a339b0272f3",class:"tg-chat__header"},e("div",{key:"e1b2d914c8676ae17617b559cdeb7d8ecddf6ae4",class:"tg-chat__avatar"},this.botInitial),e("div",{key:"6599d0a5c87221500339590925a91e00ec622ff3"},e("div",{key:"a814d5d5566324592a9916b147017b6e70bb5045",class:"tg-chat__name"},this.chatTitle),e("div",{key:"f6c60c941406e25a69df2d4acffc40103488d070",class:"tg-chat__status"},this.typing?"En cours de saisie…":"En ligne"))),e("div",{key:"97d71ad1679aeab0083265192429fd8602f7cba8",class:"tg-chat__messages",ref:t=>this.messagesRef=t},t.map((t=>e("div",{class:{"tg-chat__bubble-row":!0,[`tg-chat__bubble-row--${t.role}`]:!0},key:t.id},"bot"===t.role&&e("div",{class:"tg-chat__avatar",style:{width:"28px",height:"28px",fontSize:"0.7rem"}},this.botInitial),e("div",null,e("div",{class:{"tg-chat__bubble":!0,[`tg-chat__bubble--${t.role}`]:!0}},t.content),t.time&&e("div",{class:"tg-chat__time"},t.time))))),this.typing&&e("div",{key:"d50dc27b7714a270e748ab275926021dceb0639c",class:"tg-chat__bubble-row"},e("div",{key:"452cd4e105b619acc2ba713b95b829cca12ee4d7",class:"tg-chat__avatar",style:{width:"28px",height:"28px",fontSize:"0.7rem"}},this.botInitial),e("div",{key:"5f07a0fcc43e7a6ffd2b7a0e90f2c2d537a678ec",class:"tg-chat__typing"},e("span",{key:"a85767e97c3d77ad5fa793aa43e65792cc4517fc",class:"tg-chat__typing-dot"}),e("span",{key:"7a57588d308703763e816cac5a3cbf137753dbf6",class:"tg-chat__typing-dot"}),e("span",{key:"416b6cca53977055fba5d52bf76f024fe3ce53fc",class:"tg-chat__typing-dot"})))),e("div",{key:"3c0c6dc9e4af5080213568e41c49635933bd9fbb",class:"tg-chat__composer"},e("textarea",{key:"c0a43e3e12b0e1ed3e6f75181939e42a1839107a",class:"tg-chat__input",placeholder:this.placeholder,rows:1,value:this.inputValue,onInput:t=>this.inputValue=t.target.value,onKeyDown:this.handleKeyDown}),e("button",{key:"f8d15458a911b1731798533b28fb4eff754db991",class:"tg-chat__send",onClick:this.handleSend,disabled:!this.inputValue.trim(),"aria-label":"Envoyer",innerHTML:'<svg viewBox="0 0 20 20" fill="currentColor"><path d="M3.105 2.289a.75.75 0 00-.826.95l1.414 4.925A1.5 1.5 0 005.135 9.25H10.5a.75.75 0 010 1.5H5.135a1.5 1.5 0 00-1.442 1.086l-1.414 4.926a.75.75 0 00.826.95l14.095-5.638a.75.75 0 000-1.39L3.105 2.289z"/></svg>'}))))}get el(){return s(this)}};i.style=":host{display:flex;flex-direction:column;height:100%}.tg-chat{display:flex;flex-direction:column;height:100%;font-family:var(--tg-font-family, sans-serif);background:var(--tg-color-surface, #fff);border:1px solid var(--tg-color-neutral-200, #e5e7eb);border-radius:var(--tg-radius-xl, 16px);overflow:hidden}.tg-chat__header{display:flex;align-items:center;gap:var(--tg-spacing-sm, 12px);padding:var(--tg-spacing-md, 16px) var(--tg-spacing-lg, 24px);border-bottom:1px solid var(--tg-color-neutral-100, #f3f4f6);background:var(--tg-color-neutral-50, #f9fafb)}.tg-chat__avatar{width:36px;height:36px;border-radius:50%;background:var(--tg-color-primary, #00853F);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:var(--tg-font-weight-bold, 700);font-size:0.875rem;flex-shrink:0}.tg-chat__name{font-weight:var(--tg-font-weight-semibold, 600);font-size:var(--tg-font-size-sm, 0.8125rem);color:var(--tg-color-text, #111827)}.tg-chat__status{font-size:0.75rem;color:var(--tg-color-success, #059669)}.tg-chat__messages{flex:1;overflow-y:auto;padding:var(--tg-spacing-md, 16px) var(--tg-spacing-lg, 24px);display:flex;flex-direction:column;gap:var(--tg-spacing-md, 16px)}.tg-chat__bubble-row{display:flex;gap:var(--tg-spacing-xs, 8px);align-items:flex-end;animation:tg-chat-bubble-in var(--tg-duration-normal, 200ms) var(--tg-ease-out, ease-out)}.tg-chat__bubble-row--user{flex-direction:row-reverse}@keyframes tg-chat-bubble-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.tg-chat__bubble{max-width:75%;padding:var(--tg-spacing-sm, 12px) var(--tg-spacing-md, 16px);border-radius:var(--tg-radius-lg, 12px);font-size:var(--tg-font-size-sm, 0.8125rem);line-height:1.6;word-break:break-word}.tg-chat__bubble--bot{background:var(--tg-color-neutral-100, #f3f4f6);color:var(--tg-color-text, #111827);border-bottom-left-radius:var(--tg-radius-xs, 4px)}.tg-chat__bubble--user{background:var(--tg-color-primary, #00853F);color:#fff;border-bottom-right-radius:var(--tg-radius-xs, 4px)}.tg-chat__time{font-size:0.65rem;color:var(--tg-color-text-secondary, #6b7280);margin-top:var(--tg-spacing-2xs, 4px)}.tg-chat__typing{display:flex;align-items:center;gap:4px;padding:var(--tg-spacing-sm, 12px) var(--tg-spacing-md, 16px);background:var(--tg-color-neutral-100, #f3f4f6);border-radius:var(--tg-radius-lg, 12px);border-bottom-left-radius:var(--tg-radius-xs, 4px);width:fit-content}.tg-chat__typing-dot{width:6px;height:6px;border-radius:50%;background:var(--tg-color-neutral-400, #9ca3af);animation:tg-chat-typing 1.4s infinite}.tg-chat__typing-dot:nth-child(2){animation-delay:0.2s}.tg-chat__typing-dot:nth-child(3){animation-delay:0.4s}@keyframes tg-chat-typing{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-6px)}}.tg-chat__composer{display:flex;align-items:flex-end;gap:var(--tg-spacing-xs, 8px);padding:var(--tg-spacing-md, 16px) var(--tg-spacing-lg, 24px);border-top:1px solid var(--tg-color-neutral-100, #f3f4f6)}.tg-chat__input{flex:1;resize:none;border:1px solid var(--tg-color-neutral-200, #e5e7eb);border-radius:var(--tg-radius-lg, 12px);padding:var(--tg-spacing-sm, 12px) var(--tg-spacing-md, 16px);font-family:inherit;font-size:var(--tg-font-size-sm, 0.8125rem);line-height:1.5;color:var(--tg-color-text, #111827);background:var(--tg-color-surface, #fff);min-height:44px;max-height:120px;transition:border-color var(--tg-duration-fast, 150ms)}.tg-chat__input::placeholder{color:var(--tg-color-neutral-400, #9ca3af)}.tg-chat__input:focus{outline:none;border-color:var(--tg-color-primary, #00853F);box-shadow:var(--tg-focus-ring)}.tg-chat__send{appearance:none;border:none;background:var(--tg-color-primary, #00853F);color:#fff;cursor:pointer;width:44px;height:44px;border-radius:var(--tg-radius-lg, 12px);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background var(--tg-duration-fast, 150ms), transform var(--tg-duration-fast, 150ms)}.tg-chat__send:hover{background:var(--tg-color-primary-dark, #006B32)}.tg-chat__send:active{transform:scale(0.95)}.tg-chat__send:focus-visible{outline:none;box-shadow:var(--tg-focus-ring)}.tg-chat__send:disabled{opacity:0.5;cursor:not-allowed}.tg-chat__send svg{width:20px;height:20px}";export{i as tg_chat}
@@ -0,0 +1 @@
1
+ :root{--tg-color-green-50:#e8f5ed;--tg-color-green-100:#b8e2c8;--tg-color-green-200:#88cfa3;--tg-color-green-300:#58bc7e;--tg-color-green-400:#2eaa60;--tg-color-green-500:#00853F;--tg-color-green-600:#007538;--tg-color-green-700:#006230;--tg-color-green-800:#004f27;--tg-color-green-900:#003a1c;--tg-color-gold-50:#fff9e0;--tg-color-gold-100:#ffefad;--tg-color-gold-200:#ffe57a;--tg-color-gold-300:#ffdb47;--tg-color-gold-400:#ffd31f;--tg-color-gold-500:#FDEF42;--tg-color-gold-600:#e8c800;--tg-color-gold-700:#c9a900;--tg-color-gold-800:#a88d00;--tg-color-gold-900:#7a6600;--tg-color-red-50:#fde8e9;--tg-color-red-100:#f9bcbe;--tg-color-red-200:#f49093;--tg-color-red-300:#ef6468;--tg-color-red-400:#eb3e43;--tg-color-red-500:#E31B23;--tg-color-red-600:#cc181f;--tg-color-red-700:#b0141b;--tg-color-red-800:#941116;--tg-color-red-900:#6e0d11;--tg-color-terracotta-50:#fdf0eb;--tg-color-terracotta-100:#f8d4c4;--tg-color-terracotta-200:#f2b89d;--tg-color-terracotta-300:#ec9c76;--tg-color-terracotta-400:#e68550;--tg-color-terracotta-500:#C2703A;--tg-color-terracotta-600:#A8602F;--tg-color-terracotta-700:#8E4F24;--tg-color-terracotta-800:#733F1A;--tg-color-terracotta-900:#4D2A11;--tg-color-baobab-50:#f5f0ea;--tg-color-baobab-100:#e2d5c4;--tg-color-baobab-200:#cfba9e;--tg-color-baobab-300:#bc9f78;--tg-color-baobab-400:#a98a5c;--tg-color-baobab-500:#8B7044;--tg-color-baobab-600:#76603A;--tg-color-baobab-700:#614F30;--tg-color-baobab-800:#4C3E26;--tg-color-baobab-900:#362C1B;--tg-color-neutral-0:#ffffff;--tg-color-neutral-50:#faf8f5;--tg-color-neutral-100:#f3f0ea;--tg-color-neutral-200:#e6e0d6;--tg-color-neutral-300:#d1c9bb;--tg-color-neutral-400:#b3a998;--tg-color-neutral-500:#928674;--tg-color-neutral-600:#6e6354;--tg-color-neutral-700:#4f4639;--tg-color-neutral-800:#342e24;--tg-color-neutral-900:#1e1a14;--tg-color-neutral-1000:#000000;--tg-color-primary:var(--tg-color-green-500);--tg-color-primary-hover:var(--tg-color-green-600);--tg-color-primary-active:var(--tg-color-green-700);--tg-color-primary-subtle:var(--tg-color-green-50);--tg-color-primary-muted:var(--tg-color-green-100);--tg-color-primary-on:var(--tg-color-neutral-0);--tg-color-secondary:var(--tg-color-gold-600);--tg-color-secondary-hover:var(--tg-color-gold-700);--tg-color-secondary-active:var(--tg-color-gold-800);--tg-color-secondary-subtle:var(--tg-color-gold-50);--tg-color-secondary-muted:var(--tg-color-gold-100);--tg-color-secondary-on:var(--tg-color-neutral-900);--tg-color-danger:var(--tg-color-red-500);--tg-color-danger-hover:var(--tg-color-red-600);--tg-color-danger-active:var(--tg-color-red-700);--tg-color-danger-subtle:var(--tg-color-red-50);--tg-color-danger-muted:var(--tg-color-red-100);--tg-color-danger-on:var(--tg-color-neutral-0);--tg-color-accent:var(--tg-color-terracotta-500);--tg-color-accent-hover:var(--tg-color-terracotta-600);--tg-color-accent-active:var(--tg-color-terracotta-700);--tg-color-accent-subtle:var(--tg-color-terracotta-50);--tg-color-accent-muted:var(--tg-color-terracotta-100);--tg-color-accent-on:var(--tg-color-neutral-0);--tg-color-success:#1a7f37;--tg-color-success-subtle:#dafbe1;--tg-color-success-on:var(--tg-color-neutral-0);--tg-color-warning:#bf8700;--tg-color-warning-subtle:#fff8c5;--tg-color-warning-on:var(--tg-color-neutral-900);--tg-color-info:#0969da;--tg-color-info-subtle:#ddf4ff;--tg-color-info-on:var(--tg-color-neutral-0);--tg-color-surface-page:var(--tg-color-neutral-0);--tg-color-surface-raised:var(--tg-color-neutral-0);--tg-color-surface-sunken:var(--tg-color-neutral-50);--tg-color-surface-overlay:var(--tg-color-neutral-0);--tg-color-text-primary:var(--tg-color-neutral-900);--tg-color-text-secondary:var(--tg-color-neutral-600);--tg-color-text-disabled:var(--tg-color-neutral-400);--tg-color-text-inverse:var(--tg-color-neutral-0);--tg-color-border:var(--tg-color-neutral-200);--tg-color-border-strong:var(--tg-color-neutral-400);--tg-color-border-focus:var(--tg-color-green-500);--tg-font-family-sans:'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;--tg-font-family-display:'DM Serif Display', 'Georgia', serif;--tg-font-family-serif:'Lora', 'Georgia', 'Times New Roman', serif;--tg-font-family-mono:'JetBrains Mono', 'Fira Code', 'Consolas', monospace;--tg-font-size-2xs:0.625rem;--tg-font-size-xs:0.75rem;--tg-font-size-sm:0.875rem;--tg-font-size-md:1rem;--tg-font-size-lg:1.125rem;--tg-font-size-xl:1.25rem;--tg-font-size-2xl:1.5rem;--tg-font-size-3xl:1.875rem;--tg-font-size-4xl:2.25rem;--tg-font-size-5xl:3rem;--tg-font-size-6xl:3.75rem;--tg-font-weight-regular:400;--tg-font-weight-medium:500;--tg-font-weight-semibold:600;--tg-font-weight-bold:700;--tg-font-weight-extrabold:800;--tg-line-height-tight:1.25;--tg-line-height-snug:1.375;--tg-line-height-normal:1.5;--tg-line-height-relaxed:1.625;--tg-line-height-loose:2;--tg-spacing-0:0;--tg-spacing-px:1px;--tg-spacing-0-5:0.125rem;--tg-spacing-1:0.25rem;--tg-spacing-1-5:0.375rem;--tg-spacing-2:0.5rem;--tg-spacing-2-5:0.625rem;--tg-spacing-3:0.75rem;--tg-spacing-3-5:0.875rem;--tg-spacing-4:1rem;--tg-spacing-5:1.25rem;--tg-spacing-6:1.5rem;--tg-spacing-8:2rem;--tg-spacing-10:2.5rem;--tg-spacing-12:3rem;--tg-spacing-16:4rem;--tg-spacing-20:5rem;--tg-spacing-24:6rem;--tg-radius-none:0;--tg-radius-sm:0.25rem;--tg-radius-md:0.5rem;--tg-radius-lg:0.625rem;--tg-radius-xl:0.875rem;--tg-radius-2xl:1.125rem;--tg-radius-3xl:1.5rem;--tg-radius-full:9999px;--tg-shadow-xs:0 1px 2px 0 rgba(30, 26, 20, 0.06);--tg-shadow-sm:0 1px 3px 0 rgba(30, 26, 20, 0.08), 0 1px 2px -1px rgba(30, 26, 20, 0.06);--tg-shadow-md:0 4px 6px -1px rgba(30, 26, 20, 0.08), 0 2px 4px -2px rgba(30, 26, 20, 0.06);--tg-shadow-lg:0 10px 15px -3px rgba(30, 26, 20, 0.1), 0 4px 6px -4px rgba(30, 26, 20, 0.08);--tg-shadow-xl:0 20px 25px -5px rgba(30, 26, 20, 0.12), 0 8px 10px -6px rgba(30, 26, 20, 0.08);--tg-shadow-primary:0 4px 14px -3px rgba(0, 133, 63, 0.35);--tg-shadow-secondary:0 4px 14px -3px rgba(200, 170, 0, 0.3);--tg-shadow-danger:0 4px 14px -3px rgba(227, 27, 35, 0.3);--tg-shadow-accent:0 4px 14px -3px rgba(194, 112, 58, 0.3);--tg-gradient-flag:linear-gradient(135deg, var(--tg-color-green-500), var(--tg-color-gold-600), var(--tg-color-red-500));--tg-gradient-sahel:linear-gradient(135deg, #C2703A, #e8c800, #a88d00);--tg-gradient-savanna:linear-gradient(180deg, var(--tg-color-gold-50), var(--tg-color-terracotta-50));--tg-gradient-baobab:linear-gradient(135deg, var(--tg-color-baobab-500), var(--tg-color-green-700));--tg-gradient-sunset:linear-gradient(135deg, var(--tg-color-red-400), var(--tg-color-gold-500), var(--tg-color-terracotta-400));--tg-gradient-ocean:linear-gradient(135deg, #0a6e5c, #0969da);--tg-duration-fast:100ms;--tg-duration-normal:200ms;--tg-duration-slow:300ms;--tg-duration-slower:500ms;--tg-ease-default:cubic-bezier(0.4, 0, 0.2, 1);--tg-ease-in:cubic-bezier(0.4, 0, 1, 1);--tg-ease-out:cubic-bezier(0, 0, 0.2, 1);--tg-ease-bounce:cubic-bezier(0.34, 1.56, 0.64, 1);--tg-ease-spring:cubic-bezier(0.175, 0.885, 0.32, 1.275);--tg-focus-ring:0 0 0 3px rgba(0, 133, 63, 0.35);--tg-focus-ring-danger:0 0 0 3px rgba(227, 27, 35, 0.25);--tg-focus-ring-info:0 0 0 3px rgba(9, 105, 218, 0.25);--tg-focus-ring-accent:0 0 0 3px rgba(194, 112, 58, 0.3);--tg-transition-colors:color, background-color, border-color, fill, stroke;--tg-transition-all:color, background-color, border-color, box-shadow, transform, opacity;--tg-tracking-tighter:-0.02em;--tg-tracking-tight:-0.01em;--tg-tracking-normal:0;--tg-tracking-wide:0.02em;--tg-tracking-wider:0.05em;--tg-tracking-widest:0.1em}[data-theme="dark"],:root.tg-dark{--tg-color-surface-page:#12100c;--tg-color-surface-raised:#1c1914;--tg-color-surface-sunken:#0a0907;--tg-color-surface-overlay:#241f18;--tg-color-text-primary:#f3f0ea;--tg-color-text-secondary:#a89a86;--tg-color-text-disabled:#5c5347;--tg-color-text-inverse:#12100c;--tg-color-border:#342e24;--tg-color-border-strong:#6e6354;--tg-color-border-focus:#2eaa60;--tg-color-primary:#2eaa60;--tg-color-primary-hover:#3fbf70;--tg-color-primary-active:#238a4c;--tg-color-primary-subtle:#0d1f14;--tg-color-primary-muted:#14291c;--tg-color-primary-on:#ffffff;--tg-color-secondary:#e8c800;--tg-color-secondary-hover:#ffd31f;--tg-color-secondary-active:#c9a900;--tg-color-secondary-subtle:#1b1500;--tg-color-secondary-muted:#2c2100;--tg-color-secondary-on:#12100c;--tg-color-danger:#f85149;--tg-color-danger-hover:#da3633;--tg-color-danger-active:#b62324;--tg-color-danger-subtle:#1f0c0c;--tg-color-danger-muted:#310c0c;--tg-color-danger-on:#ffffff;--tg-color-accent:#e68550;--tg-color-accent-hover:#ec9c76;--tg-color-accent-active:#C2703A;--tg-color-accent-subtle:#1f150d;--tg-color-accent-muted:#2e1e13;--tg-color-accent-on:#ffffff;--tg-color-success:#3fb950;--tg-color-success-subtle:#0d1f0d;--tg-color-success-on:#ffffff;--tg-color-warning:#d29922;--tg-color-warning-subtle:#1b1500;--tg-color-warning-on:#12100c;--tg-color-info:#58a6ff;--tg-color-info-subtle:#0d1f3d;--tg-color-info-on:#12100c;--tg-shadow-xs:0 1px 2px 0 rgba(0, 0, 0, 0.3);--tg-shadow-sm:0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px -1px rgba(0, 0, 0, 0.4);--tg-shadow-md:0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.4);--tg-shadow-lg:0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4);--tg-shadow-xl:0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4);--tg-focus-ring:0 0 0 3px rgba(46, 170, 96, 0.4)}*,*::before,*::after{box-sizing:border-box}
@@ -0,0 +1 @@
1
+ import{p as e,g as a,b as t}from"./p-CXqO9vvj.js";export{s as setNonce}from"./p-CXqO9vvj.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await a(),t(JSON.parse('[["p-bd667d1b",[[1,"tg-activity-stream",{"events":[1],"live":[4]}]]],["p-816417c6",[[257,"tg-ai-insight-card",{"heading":[1],"insight":[1],"confidence":[2],"source":[1],"variant":[1],"icon":[1]}]]],["p-e8736bde",[[1,"tg-activity-feed",{"items":[1],"maxItems":[2,"max-items"]}]]],["p-d783708a",[[1,"tg-ai-feedback",{"question":[1],"feedback":[32],"showComment":[32],"comment":[32]}]]],["p-188921a5",[[257,"tg-alert",{"variant":[513],"alertTitle":[1,"alert-title"],"dismissible":[4],"visible":[32]}]]],["p-4ca63079",[[1,"tg-audio-player",{"src":[1],"heading":[1],"artist":[1],"playing":[32],"currentTime":[32],"duration":[32]}]]],["p-bd7eefaa",[[1,"tg-autocomplete",{"label":[1],"placeholder":[1],"value":[1],"disabled":[4],"invalid":[4],"loading":[4],"suggestions":[1],"size":[1],"minChars":[2,"min-chars"],"open":[32],"query":[32]},[[4,"click","onDocClick"]]]]],["p-9f6a460b",[[1,"tg-avatar",{"name":[1],"src":[1],"alt":[1],"size":[513],"variant":[513],"status":[1],"square":[516],"imageError":[32]}]]],["p-4cdefae6",[[257,"tg-badge",{"variant":[513],"size":[513],"pill":[516],"outlined":[516]}]]],["p-82057162",[[1,"tg-bottom-nav",{"items":[1],"active":[1]}]]],["p-25af1fe1",[[257,"tg-bottom-sheet",{"open":[4],"heading":[1]}]]],["p-003a47ca",[[1,"tg-breadcrumb",{"items":[1],"maxItems":[2,"max-items"],"expanded":[32]}]]],["p-efff537c",[[257,"tg-button",{"variant":[513],"size":[513],"disabled":[516],"loading":[516],"fullWidth":[516,"full-width"],"type":[1],"href":[1],"target":[1]}]]],["p-4d3e0645",[[1,"tg-calendar-view",{"events":[1],"viewDate":[32]}]]],["p-71257d05",[[257,"tg-card",{"elevation":[513],"noPadding":[516,"no-padding"],"fullWidth":[516,"full-width"],"interactive":[516]}]]],["p-f790b8f4",[[1,"tg-chat",{"chatTitle":[1,"chat-title"],"botInitial":[1,"bot-initial"],"placeholder":[1],"messages":[1],"typing":[4],"inputValue":[32]}]]],["p-45825e6c",[[257,"tg-chat-message",{"role":[1],"avatar":[1],"timestamp":[1],"streaming":[4]}]]],["p-b4b5570e",[[1,"tg-checkbox",{"label":[1],"description":[1],"checked":[1540],"disabled":[516],"indeterminate":[516],"error":[1],"name":[1],"value":[1]}]]],["p-deb81958",[[1,"tg-combobox",{"label":[1],"placeholder":[1],"options":[1],"value":[1],"disabled":[4],"invalid":[4],"helperText":[1,"helper-text"],"errorText":[1,"error-text"],"size":[1],"query":[32],"open":[32],"focusedIndex":[32]},[[4,"click","handleDocClick"]]]]],["p-9259b7ad",[[1,"tg-command-palette",{"commands":[1],"placeholder":[1],"open":[32],"query":[32],"focusedIndex":[32]},[[4,"keydown","onKeyDown"]]]]],["p-63285c1c",[[1,"tg-confirm-dialog",{"open":[4],"heading":[1],"message":[1],"confirmLabel":[1,"confirm-label"],"cancelLabel":[1,"cancel-label"],"variant":[1],"icon":[1]}]]],["p-84506153",[[257,"tg-context-menu",{"items":[1],"visible":[32],"x":[32],"y":[32]},[[0,"contextmenu","onContext"],[4,"click","onDocClick"]]]]],["p-7acaa999",[[1,"tg-data-table",{"columns":[1],"rows":[1],"selectable":[4],"striped":[4],"compact":[4],"loading":[4],"emptyText":[1,"empty-text"],"sortKey":[32],"sortDir":[32],"selectedRows":[32]}]]],["p-ed2a5ec6",[[1,"tg-date-picker",{"label":[1],"value":[1],"placeholder":[1],"disabled":[4],"invalid":[4],"helperText":[1,"helper-text"],"errorText":[1,"error-text"],"size":[1],"open":[32],"viewDate":[32]},[[4,"click","onDocClick"]]]]],["p-1925d476",[[257,"tg-empty-state",{"icon":[1],"heading":[1],"description":[1],"actionLabel":[1,"action-label"],"variant":[1]}]]],["p-19a4e248",[[257,"tg-expandable-row",{"header":[1],"subtext":[1],"icon":[1],"expanded":[32]}]]],["p-dda9a7c3",[[1,"tg-fab",{"icon":[1],"label":[1],"variant":[1],"size":[1],"position":[1],"fixed":[4]}]]],["p-5f64253e",[[1,"tg-file-upload",{"accept":[1],"multiple":[4],"maxSize":[2,"max-size"],"maxFiles":[2,"max-files"],"label":[1],"hint":[1],"files":[32],"dragActive":[32],"error":[32]}]]],["p-b762afff",[[1,"tg-global-loader",{"active":[4],"label":[1],"variant":[1]}]]],["p-ee8c0470",[[1,"tg-heatmap",{"data":[1],"xLabels":[1,"x-labels"],"yLabels":[1,"y-labels"],"colorMin":[1,"color-min"],"colorMax":[1,"color-max"],"heading":[1]}]]],["p-ed48b855",[[1,"tg-image-gallery",{"images":[1],"columns":[2],"lightboxIndex":[32]}]]],["p-223af07c",[[257,"tg-input",{"type":[1],"label":[1],"placeholder":[1],"value":[1537],"helperText":[1,"helper-text"],"error":[1],"required":[516],"disabled":[516],"readonly":[516],"fullWidth":[516,"full-width"],"size":[513],"inputId":[1,"input-id"],"passwordVisible":[32]}]]],["p-6c275cd2",[[1,"tg-kanban-board",{"columns":[1]}]]],["p-02c5a12d",[[1,"tg-kpi-card",{"heading":[1],"value":[1],"unit":[1],"trend":[1],"trendValue":[1,"trend-value"],"icon":[1],"variant":[1]}]]],["p-700908a2",[[257,"tg-login-form",{"heading":[1],"subtitle":[1],"logo":[1],"loading":[4],"error":[1],"email":[32],"password":[32]}]]],["p-229331e3",[[257,"tg-mega-menu",{"tabs":[1],"open":[32],"activeTab":[32]},[[4,"click","onDocClick"]]]]],["p-73082aef",[[257,"tg-modal",{"open":[1028],"modalTitle":[1,"modal-title"],"size":[1],"closeOnBackdrop":[4,"close-on-backdrop"],"closeOnEscape":[4,"close-on-escape"],"exiting":[32]},[[8,"keydown","handleKeydown"]]]]],["p-eca93015",[[1,"tg-model-selector",{"models":[1],"value":[1],"open":[32]},[[4,"click","onDocClick"]]]]],["p-a7ed37b2",[[1,"tg-multi-select",{"label":[1],"placeholder":[1],"options":[1],"value":[1],"disabled":[4],"invalid":[4],"size":[1],"open":[32],"query":[32]},[[4,"click","handleDocClick"]]]]],["p-5888f1d1",[[257,"tg-navbar",{"brand":[1],"logoSrc":[1,"logo-src"],"items":[1],"sticky":[4],"bordered":[4],"mobileOpen":[32]}]]],["p-2bcf5c49",[[1,"tg-otp-input",{"length":[2],"label":[1],"disabled":[4],"invalid":[4],"errorText":[1,"error-text"],"masked":[4],"values":[32]}]]],["p-e0c5a144",[[1,"tg-pagination",{"currentPage":[1026,"current-page"],"totalPages":[2,"total-pages"],"siblingCount":[2,"sibling-count"]}]]],["p-0a42664a",[[1,"tg-presence-indicator",{"users":[1],"max":[2]}]]],["p-727543e6",[[1,"tg-progress",{"value":[2],"max":[2],"label":[1],"showValue":[4,"show-value"],"variant":[1],"size":[1],"indeterminate":[4],"striped":[4],"animated":[4],"circular":[4],"circularSize":[2,"circular-size"],"strokeWidth":[2,"stroke-width"]}]]],["p-2537b595",[[1,"tg-prompt-input",{"placeholder":[1],"disabled":[4],"loading":[4],"maxLength":[2,"max-length"],"value":[32]}]]],["p-968f33cd",[[257,"tg-pull-to-refresh",{"refreshing":[4],"label":[1],"refreshingLabel":[1,"refreshing-label"],"pulling":[32],"pullDistance":[32]}]]],["p-256c5686",[[257,"tg-quick-switcher",{"items":[1],"placeholder":[1],"open":[32],"query":[32]},[[4,"click","onDocClick"]]]]],["p-dfaff259",[[1,"tg-radio",{"label":[1],"description":[1],"checked":[1540],"disabled":[516],"name":[1],"value":[1]}]]],["p-5cb3cab5",[[1,"tg-retry-ui",{"heading":[1],"message":[1],"retryLabel":[1,"retry-label"],"loading":[4],"icon":[1]}]]],["p-9ddbbe0b",[[1,"tg-rich-editor",{"label":[1],"value":[1],"placeholder":[1],"disabled":[4],"minHeight":[1,"min-height"],"html":[32]}]]],["p-e58a4ab8",[[1,"tg-role-badge",{"role":[1],"variant":[1],"icon":[1]}]]],["p-6b40af59",[[1,"tg-select",{"label":[1],"placeholder":[1],"value":[1537],"options":[1],"helperText":[1,"helper-text"],"error":[1],"required":[516],"disabled":[516],"fullWidth":[516,"full-width"],"size":[1],"selectId":[1,"select-id"],"open":[32]},[[4,"click","handleDocumentClick"]]]]],["p-dab038ae",[[1,"tg-session-expired",{"open":[4],"heading":[1],"message":[1],"loginLabel":[1,"login-label"]}]]],["p-0b076dde",[[257,"tg-sidebar",{"sidebarTitle":[1,"sidebar-title"],"sections":[1],"collapsible":[4],"collapsed":[32]}]]],["p-34c8b3db",[[1,"tg-skeleton",{"shape":[1],"animation":[1],"width":[1],"height":[1],"count":[2]}]]],["p-5b34ae37",[[1,"tg-slider",{"label":[1],"min":[2],"max":[2],"step":[2],"value":[2],"disabled":[4],"showValue":[4,"show-value"],"unit":[1]}]]],["p-386e978e",[[1,"tg-source-citation",{"sources":[1]}]]],["p-e26d2a8d",[[1,"tg-spinner",{"size":[513],"variant":[513],"label":[1]}]]],["p-cd11c0ce",[[1,"tg-stat-widget",{"label":[1],"value":[1],"change":[1],"changeType":[1,"change-type"],"sparkline":[1],"icon":[1]}]]],["p-9b661306",[[1,"tg-status-badge",{"label":[1],"status":[1],"pulse":[4],"size":[1]}]]],["p-2e8eb1cd",[[1,"tg-stepper",{"steps":[1],"current":[2],"orientation":[1]}]]],["p-ba67b6cb",[[1,"tg-stepper-input",{"label":[1],"value":[2],"min":[2],"max":[2],"step":[2],"disabled":[4],"size":[1]}]]],["p-61bab799",[[1,"tg-streaming-response",{"content":[1],"loading":[4],"model":[1],"tokenCount":[2,"token-count"]}]]],["p-45d69cd2",[[1,"tg-switch",{"label":[1],"description":[1],"checked":[1540],"disabled":[516],"size":[1],"name":[1]}]]],["p-9a86750e",[[1,"tg-table",{"columns":[1],"data":[1],"striped":[4],"compact":[4],"selectable":[4],"emptyText":[1,"empty-text"],"sortKey":[32],"sortDir":[32],"selectedRows":[32]}]]],["p-017ddeb1",[[257,"tg-tabs",{"tabs":[1],"activeTab":[1025,"active-tab"],"variant":[1],"internalActive":[32]}]]],["p-f5d99e53",[[257,"tg-tag",{"variant":[1],"size":[1],"outlined":[4],"removable":[4],"dot":[4]}]]],["p-0e8e624c",[[1,"tg-textarea",{"label":[1],"placeholder":[1],"value":[1537],"helperText":[1,"helper-text"],"error":[1],"required":[516],"disabled":[516],"readonly":[4],"fullWidth":[516,"full-width"],"rows":[2],"maxlength":[2],"resize":[1],"textareaId":[1,"textarea-id"],"charCount":[32]}]]],["p-229a048d",[[1,"tg-time-picker",{"label":[1],"value":[1],"placeholder":[1],"disabled":[4],"invalid":[4],"size":[1],"step":[2],"open":[32]},[[4,"click","onDocClick"]]]]],["p-29ce1cb3",[[1,"tg-timeline",{"items":[1],"layout":[1]}]]],["p-a25e8482",[[257,"tg-toast",{"variant":[1],"toastTitle":[1,"toast-title"],"message":[1],"duration":[2],"dismissible":[4],"visible":[32],"exiting":[32]}]]],["p-58fd7fc1",[[1,"tg-token-usage",{"promptTokens":[2,"prompt-tokens"],"completionTokens":[2,"completion-tokens"],"maxTokens":[2,"max-tokens"],"cost":[1],"compact":[4]}]]],["p-a02dc9c0",[[257,"tg-tooltip",{"text":[1],"position":[1],"delay":[2],"visible":[32]}]]],["p-3722c1c8",[[1,"tg-tree-view",{"data":[1],"selectable":[4],"expandedKeys":[32],"selectedKey":[32]}]]],["p-293e42b5",[[1,"tg-undo-snackbar",{"message":[1],"open":[4],"undoLabel":[1,"undo-label"],"duration":[2]}]]],["p-0c4d9863",[[1,"tg-video-player",{"src":[1],"poster":[1],"heading":[1],"aspectRatio":[1,"aspect-ratio"]}]]],["p-5179d2e1",[[1,"tg-wizard-nav",{"currentStep":[2,"current-step"],"totalSteps":[2,"total-steps"],"backLabel":[1,"back-label"],"nextLabel":[1,"next-label"],"finishLabel":[1,"finish-label"],"showProgress":[4,"show-progress"]}]]],["p-321ec5a3",[[1,"tg-confidence-badge",{"score":[2],"label":[1],"showBar":[4,"show-bar"]}]]],["p-81041fa8",[[1,"tg-live-badge",{"label":[1],"active":[4],"variant":[1]}]]]]'),e))));
@@ -0,0 +1,189 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ :root {
6
+ --tgColorGreen50: #e6f4ec;
7
+ --tgColorGreen100: #b3ddc5;
8
+ --tgColorGreen200: #80c69e;
9
+ --tgColorGreen300: #4daf77;
10
+ --tgColorGreen400: #26a05a;
11
+ --tgColorGreen500: #00853f; /** Senegalese flag green — primary brand color */
12
+ --tgColorGreen600: #007838;
13
+ --tgColorGreen700: #006530;
14
+ --tgColorGreen800: #005228;
15
+ --tgColorGreen900: #003d1e;
16
+ --tgColorGold50: #fffde6;
17
+ --tgColorGold100: #fff8b3;
18
+ --tgColorGold200: #fff180;
19
+ --tgColorGold300: #ffea4d;
20
+ --tgColorGold400: #ffe51f;
21
+ --tgColorGold500: #fdef42; /** Senegalese flag gold/yellow */
22
+ --tgColorGold600: #e8d800;
23
+ --tgColorGold700: #c9bb00;
24
+ --tgColorGold800: #a89d00;
25
+ --tgColorGold900: #7a7200;
26
+ --tgColorRed50: #fce8e9;
27
+ --tgColorRed100: #f5b8bb;
28
+ --tgColorRed200: #ee888d;
29
+ --tgColorRed300: #e7585f;
30
+ --tgColorRed400: #e33039;
31
+ --tgColorRed500: #e31b23; /** Senegalese flag red — danger/error color */
32
+ --tgColorRed600: #cc181f;
33
+ --tgColorRed700: #b0141b;
34
+ --tgColorRed800: #941116;
35
+ --tgColorRed900: #6e0d11;
36
+ --tgColorNeutral0: #ffffff;
37
+ --tgColorNeutral50: #f8f8f6;
38
+ --tgColorNeutral100: #f0f0ec;
39
+ --tgColorNeutral200: #e0e0d8;
40
+ --tgColorNeutral300: #c8c8be;
41
+ --tgColorNeutral400: #a8a89a;
42
+ --tgColorNeutral500: #888878;
43
+ --tgColorNeutral600: #686858;
44
+ --tgColorNeutral700: #4a4a3c;
45
+ --tgColorNeutral800: #302e24;
46
+ --tgColorNeutral900: #1a1812;
47
+ --tgColorNeutral1000: #000000;
48
+ --tgColorSemanticSuccessDefault: #1a7f37;
49
+ --tgColorSemanticSuccessSubtle: #dafbe1;
50
+ --tgColorSemanticWarningDefault: #bf8700;
51
+ --tgColorSemanticWarningSubtle: #fff8c5;
52
+ --tgColorSemanticInfoDefault: #0969da;
53
+ --tgColorSemanticInfoSubtle: #ddf4ff;
54
+ --tgMotionDurationInstant: 50ms; /** Instant micro-feedback */
55
+ --tgMotionDurationFast: 100ms; /** Button press, toggle */
56
+ --tgMotionDurationNormal: 200ms; /** Default transitions */
57
+ --tgMotionDurationSlow: 300ms; /** Modals, drawers */
58
+ --tgMotionDurationSlower: 500ms; /** Page transitions */
59
+ --tgMotionEasingDefault: cubic-bezier(0.4, 0, 0.2, 1); /** General purpose */
60
+ --tgMotionEasingIn: cubic-bezier(0.4, 0, 1, 1); /** Entering viewport */
61
+ --tgMotionEasingOut: cubic-bezier(0, 0, 0.2, 1); /** Leaving viewport */
62
+ --tgMotionEasingBounce: cubic-bezier(0.34, 1.56, 0.64, 1); /** Playful overshoot */
63
+ --tgMotionEasingSpring: cubic-bezier(0.175, 0.885, 0.32, 1.275); /** Elastic snap */
64
+ --tgBorderRadiusNone: 0;
65
+ --tgBorderRadiusSm: 0.125rem; /** 2px */
66
+ --tgBorderRadiusMd: 0.375rem; /** 6px */
67
+ --tgBorderRadiusLg: 0.5rem; /** 8px */
68
+ --tgBorderRadiusXl: 0.75rem; /** 12px */
69
+ --tgBorderRadius2xl: 1rem; /** 16px */
70
+ --tgBorderRadius3xl: 1.5rem; /** 24px */
71
+ --tgBorderRadiusFull: 9999px;
72
+ --tgBorderWidth0: 0;
73
+ --tgBorderWidth1: 1px;
74
+ --tgBorderWidth2: 2px;
75
+ --tgBorderWidth4: 4px;
76
+ --tgShadowXs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
77
+ --tgShadowSm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
78
+ --tgShadowMd: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
79
+ --tgShadowLg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
80
+ --tgShadowXl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
81
+ --tgShadow2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
82
+ --tgShadowNone: 0 0 #0000;
83
+ --tgZIndexHide: -1;
84
+ --tgZIndexAuto: auto;
85
+ --tgZIndexBase: 0;
86
+ --tgZIndexDocked: 10;
87
+ --tgZIndexDropdown: 1000;
88
+ --tgZIndexSticky: 1100;
89
+ --tgZIndexOverlay: 1200;
90
+ --tgZIndexModal: 1300;
91
+ --tgZIndexPopover: 1400;
92
+ --tgZIndexToast: 1500;
93
+ --tgZIndexTooltip: 1600;
94
+ --tgSpacing0: 0;
95
+ --tgSpacing1: 0.25rem; /** 4px */
96
+ --tgSpacing2: 0.5rem; /** 8px */
97
+ --tgSpacing3: 0.75rem; /** 12px */
98
+ --tgSpacing4: 1rem; /** 16px */
99
+ --tgSpacing5: 1.25rem; /** 20px */
100
+ --tgSpacing6: 1.5rem; /** 24px */
101
+ --tgSpacing7: 1.75rem; /** 28px */
102
+ --tgSpacing8: 2rem; /** 32px */
103
+ --tgSpacing9: 2.25rem; /** 36px */
104
+ --tgSpacing10: 2.5rem; /** 40px */
105
+ --tgSpacing12: 3rem; /** 48px */
106
+ --tgSpacing14: 3.5rem; /** 56px */
107
+ --tgSpacing16: 4rem; /** 64px */
108
+ --tgSpacing20: 5rem; /** 80px */
109
+ --tgSpacing24: 6rem; /** 96px */
110
+ --tgSpacing28: 7rem; /** 112px */
111
+ --tgSpacing32: 8rem; /** 128px */
112
+ --tgSpacing36: 9rem; /** 144px */
113
+ --tgSpacing40: 10rem; /** 160px */
114
+ --tgSpacing48: 12rem; /** 192px */
115
+ --tgSpacing56: 14rem; /** 224px */
116
+ --tgSpacing64: 16rem; /** 256px */
117
+ --tgSpacingPx: 1px;
118
+ --tgSpacing05: 0.125rem; /** 2px */
119
+ --tgSpacing15: 0.375rem; /** 6px */
120
+ --tgSpacing25: 0.625rem; /** 10px */
121
+ --tgSpacing35: 0.875rem; /** 14px */
122
+ --tgBreakpointSm: 640px;
123
+ --tgBreakpointMd: 768px;
124
+ --tgBreakpointLg: 1024px;
125
+ --tgBreakpointXl: 1280px;
126
+ --tgBreakpoint2xl: 1536px;
127
+ --tgFontFamilySans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
128
+ --tgFontFamilySerif: 'Georgia', 'Times New Roman', serif;
129
+ --tgFontFamilyMono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
130
+ --tgFontSize2xs: 0.625rem; /** 10px */
131
+ --tgFontSizeXs: 0.75rem; /** 12px */
132
+ --tgFontSizeSm: 0.875rem; /** 14px */
133
+ --tgFontSizeMd: 1rem; /** 16px — base */
134
+ --tgFontSizeLg: 1.125rem; /** 18px */
135
+ --tgFontSizeXl: 1.25rem; /** 20px */
136
+ --tgFontSize2xl: 1.5rem; /** 24px */
137
+ --tgFontSize3xl: 1.875rem; /** 30px */
138
+ --tgFontSize4xl: 2.25rem; /** 36px */
139
+ --tgFontSize5xl: 3rem; /** 48px */
140
+ --tgFontSize6xl: 3.75rem; /** 60px */
141
+ --tgFontWeightRegular: 400;
142
+ --tgFontWeightMedium: 500;
143
+ --tgFontWeightSemibold: 600;
144
+ --tgFontWeightBold: 700;
145
+ --tgFontWeightExtrabold: 800;
146
+ --tgFontLineHeightTight: 1.25;
147
+ --tgFontLineHeightSnug: 1.375;
148
+ --tgFontLineHeightNormal: 1.5;
149
+ --tgFontLineHeightRelaxed: 1.625;
150
+ --tgFontLineHeightLoose: 2;
151
+ --tgFontLetterSpacingTighter: -0.05em;
152
+ --tgFontLetterSpacingTight: -0.025em;
153
+ --tgFontLetterSpacingNormal: 0em;
154
+ --tgFontLetterSpacingWide: 0.025em;
155
+ --tgFontLetterSpacingWider: 0.05em;
156
+ --tgFontLetterSpacingWidest: 0.1em;
157
+ --tgColorSemanticPrimaryDefault: var(--tgColorGreen500);
158
+ --tgColorSemanticPrimaryHover: var(--tgColorGreen600);
159
+ --tgColorSemanticPrimaryActive: var(--tgColorGreen700);
160
+ --tgColorSemanticPrimarySubtle: var(--tgColorGreen50);
161
+ --tgColorSemanticPrimaryMuted: var(--tgColorGreen100);
162
+ --tgColorSemanticPrimaryOn: var(--tgColorNeutral0); /** Text/icon color on primary background */
163
+ --tgColorSemanticSecondaryDefault: var(--tgColorGold500);
164
+ --tgColorSemanticSecondaryHover: var(--tgColorGold600);
165
+ --tgColorSemanticSecondaryActive: var(--tgColorGold700);
166
+ --tgColorSemanticSecondarySubtle: var(--tgColorGold50);
167
+ --tgColorSemanticSecondaryMuted: var(--tgColorGold100);
168
+ --tgColorSemanticSecondaryOn: var(--tgColorNeutral900);
169
+ --tgColorSemanticDangerDefault: var(--tgColorRed500);
170
+ --tgColorSemanticDangerHover: var(--tgColorRed600);
171
+ --tgColorSemanticDangerActive: var(--tgColorRed700);
172
+ --tgColorSemanticDangerSubtle: var(--tgColorRed50);
173
+ --tgColorSemanticDangerMuted: var(--tgColorRed100);
174
+ --tgColorSemanticDangerOn: var(--tgColorNeutral0);
175
+ --tgColorSemanticSuccessOn: var(--tgColorNeutral0);
176
+ --tgColorSemanticWarningOn: var(--tgColorNeutral900);
177
+ --tgColorSemanticInfoOn: var(--tgColorNeutral0);
178
+ --tgColorSemanticSurfacePage: var(--tgColorNeutral0);
179
+ --tgColorSemanticSurfaceRaised: var(--tgColorNeutral0);
180
+ --tgColorSemanticSurfaceOverlay: var(--tgColorNeutral0);
181
+ --tgColorSemanticSurfaceSunken: var(--tgColorNeutral50);
182
+ --tgColorSemanticTextPrimary: var(--tgColorNeutral900);
183
+ --tgColorSemanticTextSecondary: var(--tgColorNeutral600);
184
+ --tgColorSemanticTextDisabled: var(--tgColorNeutral400);
185
+ --tgColorSemanticTextInverse: var(--tgColorNeutral0);
186
+ --tgColorSemanticBorderDefault: var(--tgColorNeutral200);
187
+ --tgColorSemanticBorderStrong: var(--tgColorNeutral400);
188
+ --tgColorSemanticBorderFocus: var(--tgColorGreen500);
189
+ }
@@ -0,0 +1,13 @@
1
+ export interface ActivityItem {
2
+ user: string;
3
+ action: string;
4
+ target?: string;
5
+ time: string;
6
+ avatar?: string;
7
+ }
8
+ export declare class TgActivityFeed {
9
+ items: string | ActivityItem[];
10
+ maxItems?: number;
11
+ private get parsed();
12
+ render(): any;
13
+ }
@@ -0,0 +1,14 @@
1
+ export interface StreamEvent {
2
+ id: string;
3
+ user: string;
4
+ action: string;
5
+ target?: string;
6
+ time: string;
7
+ icon?: string;
8
+ }
9
+ export declare class TgActivityStream {
10
+ events: string | StreamEvent[];
11
+ live: boolean;
12
+ private get parsed();
13
+ render(): any;
14
+ }
@@ -0,0 +1,14 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class TgAiFeedback {
3
+ question: string;
4
+ feedback: 'up' | 'down' | null;
5
+ showComment: boolean;
6
+ comment: string;
7
+ tgFeedback: EventEmitter<{
8
+ rating: string;
9
+ comment?: string;
10
+ }>;
11
+ private rate;
12
+ private submitComment;
13
+ render(): any;
14
+ }
@@ -0,0 +1,9 @@
1
+ export declare class TgAiInsightCard {
2
+ heading: string;
3
+ insight: string;
4
+ confidence?: number;
5
+ source?: string;
6
+ variant: 'default' | 'recommendation' | 'alert';
7
+ icon?: string;
8
+ render(): any;
9
+ }
@@ -0,0 +1,28 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ /**
3
+ * @component tg-alert
4
+ * @description Contextual feedback message for the user.
5
+ *
6
+ * @slot default — Alert message content
7
+ * @slot title — Optional bold title above the message
8
+ * @slot icon — Custom icon (overrides built-in icon)
9
+ *
10
+ * @example
11
+ * <tg-alert variant="success" title="Succès">Votre demande a été soumise.</tg-alert>
12
+ * <tg-alert variant="warning" dismissible>Votre session expire bientôt.</tg-alert>
13
+ */
14
+ export declare class TgAlert {
15
+ /** Visual intent */
16
+ variant: 'info' | 'success' | 'warning' | 'danger';
17
+ /** Optional bold title */
18
+ alertTitle?: string;
19
+ /** Show a dismiss (×) button */
20
+ dismissible: boolean;
21
+ /** Whether the alert is currently visible */
22
+ visible: boolean;
23
+ /** Emitted when the dismiss button is clicked */
24
+ tgDismiss: EventEmitter<void>;
25
+ private handleDismiss;
26
+ private getIcon;
27
+ render(): any;
28
+ }
@@ -0,0 +1,15 @@
1
+ export declare class TgAudioPlayer {
2
+ el: HTMLElement;
3
+ src: string;
4
+ heading?: string;
5
+ artist?: string;
6
+ playing: boolean;
7
+ currentTime: number;
8
+ duration: number;
9
+ private audio?;
10
+ componentDidLoad(): void;
11
+ private toggle;
12
+ private seek;
13
+ private fmt;
14
+ render(): any;
15
+ }
@@ -0,0 +1,21 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class TgAutocomplete {
3
+ label?: string;
4
+ placeholder: string;
5
+ value?: string;
6
+ disabled: boolean;
7
+ invalid: boolean;
8
+ loading: boolean;
9
+ suggestions: string | string[];
10
+ size: 'sm' | 'md' | 'lg';
11
+ minChars: number;
12
+ open: boolean;
13
+ query: string;
14
+ tgChange: EventEmitter<string>;
15
+ tgSearch: EventEmitter<string>;
16
+ private get parsed();
17
+ onDocClick(): void;
18
+ private handleInput;
19
+ private select;
20
+ render(): any;
21
+ }