@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,43 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgButtonCss = () => `: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}`;
4
+
5
+ const TgButton = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgClick = createEvent(this, "tgClick");
9
+ /** Visual style of the button */
10
+ this.variant = 'primary';
11
+ /** Size of the button */
12
+ this.size = 'md';
13
+ /** Disables the button */
14
+ this.disabled = false;
15
+ /** Shows a loading spinner and disables interaction */
16
+ this.loading = false;
17
+ /** Stretches the button to full container width */
18
+ this.fullWidth = false;
19
+ /** Native button type attribute */
20
+ this.type = 'button';
21
+ this.handleClick = () => {
22
+ if (!this.disabled && !this.loading) {
23
+ this.tgClick.emit();
24
+ }
25
+ };
26
+ }
27
+ render() {
28
+ const Tag = this.href ? 'a' : 'button';
29
+ const attrs = this.href
30
+ ? Object.assign(Object.assign({ href: this.href }, (this.target ? { target: this.target } : {})), (this.target === '_blank' ? { rel: 'noopener noreferrer' } : {})) : { type: this.type, disabled: this.disabled || this.loading };
31
+ return (h(Host, { key: '85193b6b5b939d7a911650820cfa57604ef66034' }, h(Tag, Object.assign({ key: 'be304319fd4e72d315e0942b409e2f356ad375fc', class: {
32
+ 'tg-button': true,
33
+ [`tg-button--${this.variant}`]: true,
34
+ [`tg-button--${this.size}`]: true,
35
+ 'tg-button--full-width': this.fullWidth,
36
+ 'tg-button--loading': this.loading,
37
+ 'tg-button--disabled': this.disabled,
38
+ } }, attrs, { "aria-disabled": this.disabled || this.loading ? 'true' : undefined, "aria-busy": this.loading ? 'true' : undefined, onClick: this.handleClick }), this.loading && (h("span", { key: '38808b3251dbeb279b2a02eb8b7a7afde968695c', class: "tg-button__spinner", "aria-hidden": "true" }, h("svg", { key: '46043cbb407c33daef90131ef03b93e039c4c9a4', viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '8a44304e7145904cda62eb5129515ed25d3e99e6', cx: "12", cy: "12", r: "10", stroke: "currentColor", "stroke-width": "3", opacity: "0.25" }), h("path", { key: '21fb0610a8c1db5cacc3b223a8db0e10d4b786a9', d: "M12 2a10 10 0 0 1 10 10", stroke: "currentColor", "stroke-width": "3", "stroke-linecap": "round" })))), h("slot", { key: '0e300e079a33a79379d3becae14468f783673550', name: "icon-start" }), h("span", { key: 'e041222fab4cbebec2619f7e17b8b87fb37995a8', class: "tg-button__label" }, h("slot", { key: 'ae2e3a577c8167746948cda5328597da034f630b' })), h("slot", { key: '360dab87f77ed5008fb99eebc52b752970241a3c', name: "icon-end" }))));
39
+ }
40
+ };
41
+ TgButton.style = tgButtonCss();
42
+
43
+ export { TgButton as tg_button };
@@ -0,0 +1,51 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgCalendarViewCss = () => `:host{display:block}.tg-cal{font-family:var(--tg-font-family-sans);background:var(--tg-color-surface-raised);border:1px solid var(--tg-color-border);border-radius:var(--tg-radius-xl);padding:var(--tg-spacing-4)}.tg-cal__nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--tg-spacing-3)}.tg-cal__nav-btn{background:none;border:none;cursor:pointer;font-size:1.5rem;color:var(--tg-color-text-primary);padding:var(--tg-spacing-1) var(--tg-spacing-2);border-radius:var(--tg-radius-md)}.tg-cal__nav-btn:hover{background:var(--tg-color-primary-subtle)}.tg-cal__month{font-size:var(--tg-font-size-md);font-weight:var(--tg-font-weight-semibold)}.tg-cal__weekdays{display:grid;grid-template-columns:repeat(7, 1fr);margin-bottom:var(--tg-spacing-1)}.tg-cal__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-2) 0}.tg-cal__grid{display:grid;grid-template-columns:repeat(7, 1fr);gap:1px;background:var(--tg-color-border);border:1px solid var(--tg-color-border);border-radius:var(--tg-radius-lg);overflow:hidden}.tg-cal__cell{min-height:5rem;padding:var(--tg-spacing-1);background:var(--tg-color-surface-raised);cursor:pointer}.tg-cal__cell:hover{background:var(--tg-color-primary-subtle)}.tg-cal__cell--empty{cursor:default;background:var(--tg-color-surface-sunken)}.tg-cal__cell--today{background:var(--tg-color-primary-subtle)}.tg-cal__day-num{display:block;font-size:var(--tg-font-size-xs);font-weight:var(--tg-font-weight-medium);margin-bottom:var(--tg-spacing-0-5)}.tg-cal__event{font-size:0.625rem;padding:1px var(--tg-spacing-1);border-radius:var(--tg-radius-sm);margin-bottom:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tg-cal__event--default{background:var(--tg-color-primary-subtle);color:var(--tg-color-primary)}.tg-cal__event--success{background:var(--tg-color-success-subtle);color:var(--tg-color-success)}.tg-cal__event--warning{background:var(--tg-color-warning-subtle);color:var(--tg-color-warning)}.tg-cal__event--danger{background:var(--tg-color-danger-subtle);color:var(--tg-color-danger)}`;
4
+
5
+ const TgCalendarView = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgDateSelect = createEvent(this, "tgDateSelect");
9
+ this.events = [];
10
+ this.viewDate = new Date();
11
+ this.prevMonth = () => { const d = new Date(this.viewDate); d.setMonth(d.getMonth() - 1); this.viewDate = d; };
12
+ this.nextMonth = () => { const d = new Date(this.viewDate); d.setMonth(d.getMonth() + 1); this.viewDate = d; };
13
+ }
14
+ get parsed() {
15
+ if (typeof this.events === 'string') {
16
+ try {
17
+ return JSON.parse(this.events);
18
+ }
19
+ catch (_a) {
20
+ return [];
21
+ }
22
+ }
23
+ return this.events;
24
+ }
25
+ daysInMonth(y, m) { return new Date(y, m + 1, 0).getDate(); }
26
+ firstDow(y, m) { return new Date(y, m, 1).getDay(); }
27
+ getEvents(day) {
28
+ const y = this.viewDate.getFullYear();
29
+ const m = String(this.viewDate.getMonth() + 1).padStart(2, '0');
30
+ const d = String(day).padStart(2, '0');
31
+ const dateStr = y + '-' + m + '-' + d;
32
+ return this.parsed.filter(e => e.date === dateStr);
33
+ }
34
+ render() {
35
+ const y = this.viewDate.getFullYear();
36
+ const m = this.viewDate.getMonth();
37
+ const days = this.daysInMonth(y, m);
38
+ const first = this.firstDow(y, m);
39
+ const months = ['Janvier', 'F\u00e9vrier', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Ao\u00fbt', 'Septembre', 'Octobre', 'Novembre', 'D\u00e9cembre'];
40
+ const dNames = ['Di', 'Lu', 'Ma', 'Me', 'Je', 'Ve', 'Sa'];
41
+ const cells = [];
42
+ for (let i = 0; i < first; i++)
43
+ cells.push(null);
44
+ for (let i = 1; i <= days; i++)
45
+ cells.push(i);
46
+ return (h(Host, { key: '5d19cf4407abf802127e686e26b4ce2e50aa4e48' }, h("div", { key: 'ed361d104dde29bec0e44e90782fb0387e7ec907', class: "tg-cal" }, h("div", { key: 'b386975ff0453e1562352f92cc2362376b278574', class: "tg-cal__nav" }, h("button", { key: '961f0a5748d053dbc4c44bd2cb92d89427ab8fc5', class: "tg-cal__nav-btn", type: "button", onClick: this.prevMonth }, "\\u2039"), h("span", { key: '204c44557e626d4b39dbed6a40b617147bad7eeb', class: "tg-cal__month" }, months[m], " ", y), h("button", { key: '74ec81ffccd6367023aca4b340099a19162d5669', class: "tg-cal__nav-btn", type: "button", onClick: this.nextMonth }, "\\u203a")), h("div", { key: 'c4d5c746da64d14044f46585961a16923d913401', class: "tg-cal__weekdays" }, dNames.map(d => h("span", { class: "tg-cal__wd" }, d))), h("div", { key: '3227acc2de576a8322f847457e840c00b70d1efb', class: "tg-cal__grid" }, cells.map(day => (h("div", { class: { 'tg-cal__cell': true, 'tg-cal__cell--empty': !day, 'tg-cal__cell--today': day !== null && new Date().getDate() === day && new Date().getMonth() === m && new Date().getFullYear() === y }, onClick: () => day && this.tgDateSelect.emit(y + '-' + String(m + 1).padStart(2, '0') + '-' + String(day).padStart(2, '0')) }, day && h("span", { class: "tg-cal__day-num" }, day), day && this.getEvents(day).map(ev => h("div", { class: 'tg-cal__event tg-cal__event--' + (ev.variant || 'default') }, ev.title)))))))));
47
+ }
48
+ };
49
+ TgCalendarView.style = tgCalendarViewCss();
50
+
51
+ export { TgCalendarView as tg_calendar_view };
@@ -0,0 +1,29 @@
1
+ import { r as registerInstance, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgCardCss = () => `:host{display:block}:host([full-width]){width:100%}.tg-card{background-color:var(--tg-color-surface-raised);border-radius:var(--tg-radius-xl);border:1px solid var(--tg-color-border);overflow:hidden;display:flex;flex-direction:column;font-family:var(--tg-font-family-sans)}.tg-card--flat{box-shadow:none}.tg-card--raised{box-shadow:var(--tg-shadow-sm)}.tg-card--floating{box-shadow:var(--tg-shadow-md)}.tg-card--interactive{cursor:pointer;transition:box-shadow var(--tg-duration-normal) var(--tg-ease-default), transform var(--tg-duration-normal) var(--tg-ease-default)}.tg-card--interactive:hover{box-shadow:var(--tg-shadow-lg);transform:translateY(-1px)}.tg-card--interactive:active{box-shadow:var(--tg-shadow-sm);transform:translateY(0)}::slotted([slot='media']){display:block;width:100%;object-fit:cover}.tg-card__header-slot:not(:empty){padding:var(--tg-spacing-4) var(--tg-spacing-5);border-bottom:1px solid var(--tg-color-border);font-weight:var(--tg-font-weight-semibold);font-size:var(--tg-font-size-md);color:var(--tg-color-text-primary)}.tg-card__body{flex:1;padding:var(--tg-spacing-5);color:var(--tg-color-text-secondary);font-size:var(--tg-font-size-sm);line-height:var(--tg-line-height-relaxed)}.tg-card--no-padding .tg-card__body{padding:0}.tg-card__footer-slot:not(:empty){padding:var(--tg-spacing-4) var(--tg-spacing-5);border-top:1px solid var(--tg-color-border);display:flex;align-items:center;gap:var(--tg-spacing-3)}.tg-card--accent-primary{border-top:3px solid var(--tg-color-primary)}.tg-card--accent-secondary{border-top:3px solid var(--tg-color-secondary)}.tg-card--accent-danger{border-top:3px solid var(--tg-color-danger)}.tg-card--accent-success{border-top:3px solid var(--tg-color-success)}.tg-card--accent-accent{border-top:3px solid var(--tg-color-accent, #C2703A)}.tg-card--accent-flag{border-top:3px solid transparent;border-image:linear-gradient(90deg, var(--tg-color-green-500), var(--tg-color-gold-600), var(--tg-color-red-500)) 1}.tg-card{animation:tg-card-enter var(--tg-duration-normal, 200ms) var(--tg-ease-out, ease-out)}@keyframes tg-card-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.tg-card--interactive:focus-within{box-shadow:var(--tg-focus-ring)}`;
4
+
5
+ const TgCard = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ /** Visual elevation / shadow level */
9
+ this.elevation = 'raised';
10
+ /** Removes internal padding for flush content */
11
+ this.noPadding = false;
12
+ /** Makes the card take full width of its container */
13
+ this.fullWidth = false;
14
+ /** Makes the card interactive (hover + cursor pointer) */
15
+ this.interactive = false;
16
+ }
17
+ render() {
18
+ return (h(Host, { key: '8c305fbeed5f77c0f32ca5c3cefe5af1ad84e623' }, h("div", { key: 'dcd60171d6321db97fa864093df5d42ad82bbb8e', class: {
19
+ 'tg-card': true,
20
+ [`tg-card--${this.elevation}`]: true,
21
+ 'tg-card--no-padding': this.noPadding,
22
+ 'tg-card--full-width': this.fullWidth,
23
+ 'tg-card--interactive': this.interactive,
24
+ } }, h("slot", { key: '3dd0f10efc40225b531384c75a1bd317750bb2fc', name: "media" }), h("div", { key: '7c96f4e1c507e42edb495ce0a6963ca28e6a308d', class: "tg-card__header-slot" }, h("slot", { key: '6fafb906f219aa6e8f9c8699034710fecc567a9f', name: "header" })), h("div", { key: '48cfed9312a3a7fa41c2cc4e0e81608587807a63', class: "tg-card__body" }, h("slot", { key: 'cc717ecfa2aa6a5e9c8fc0aff3d61bc99921f188' })), h("div", { key: '0ebcde8f0af639ccda9cdbf96fdff087e7152070', class: "tg-card__footer-slot" }, h("slot", { key: '34d345e1cc83580d1f864f802f53a6f0df327d13', name: "footer" })))));
25
+ }
26
+ };
27
+ TgCard.style = tgCardCss();
28
+
29
+ export { TgCard as tg_card };
@@ -0,0 +1,17 @@
1
+ import { r as registerInstance, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgChatMessageCss = () => `:host{display:block}.tg-cm{display:flex;gap:var(--tg-spacing-2);font-family:var(--tg-font-family-sans);margin-bottom:var(--tg-spacing-3);animation:tg-cm-in 0.2s var(--tg-ease-out)}@keyframes tg-cm-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.tg-cm--user{flex-direction:row-reverse}.tg-cm__avatar{width:2rem;height:2rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1rem;flex-shrink:0}.tg-cm--assistant .tg-cm__avatar{background:var(--tg-color-primary-subtle)}.tg-cm--user .tg-cm__avatar{background:var(--tg-color-surface-sunken)}.tg-cm__bubble{padding:var(--tg-spacing-3);border-radius:var(--tg-radius-xl);font-size:var(--tg-font-size-sm);line-height:var(--tg-line-height-relaxed);max-width:80%}.tg-cm--assistant .tg-cm__bubble{background:var(--tg-color-surface-raised);border:1px solid var(--tg-color-border);color:var(--tg-color-text-primary);border-bottom-left-radius:var(--tg-radius-sm)}.tg-cm--user .tg-cm__bubble{background:var(--tg-color-primary);color:var(--tg-color-primary-on);border-bottom-right-radius:var(--tg-radius-sm);margin-left:auto}.tg-cm--system .tg-cm__bubble{background:var(--tg-color-warning-subtle);color:var(--tg-color-warning);text-align:center;max-width:100%;font-size:var(--tg-font-size-xs)}.tg-cm__cursor{display:inline-block;width:2px;height:1em;background:var(--tg-color-primary);animation:tg-cm-blink 0.8s infinite;vertical-align:middle;margin-left:2px}@keyframes tg-cm-blink{0%,100%{opacity:1}50%{opacity:0}}.tg-cm__time{display:block;font-size:var(--tg-font-size-xs);color:var(--tg-color-text-disabled);margin-top:var(--tg-spacing-0-5)}.tg-cm--user .tg-cm__time{text-align:right}`;
4
+
5
+ const TgChatMessage = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.role = 'user';
9
+ this.streaming = false;
10
+ }
11
+ render() {
12
+ return (h(Host, { key: '8f33ddbaf10f4111a7747d18afd4b8ae1ed6d9b2' }, h("div", { key: '4f0fef482ab9e2070a4a2ee5494bbcd9cd9c5f44', class: 'tg-cm tg-cm--' + this.role }, h("div", { key: 'ab5528b751f5947e2a2450dbb99ef777ce43562a', class: "tg-cm__avatar" }, this.avatar || (this.role === 'user' ? '\ud83d\udc64' : '\ud83e\udd16')), h("div", { key: '5cc89064ada68b7adf4ed56067acbfe2474610ad', class: "tg-cm__body" }, h("div", { key: '58b8b2b1d1748b9538824fa43a3c229fe4225a6f', class: "tg-cm__bubble" }, h("slot", { key: '42eaec7d0dcea1b24bdd37e1c9063f1eca3b97a4' }), this.streaming && h("span", { key: '500c8e09faf030ebee17ea6a05017b2fb1072c3a', class: "tg-cm__cursor" })), this.timestamp && h("span", { key: '66fc731892b0c1a15462f6e7868dca87b9e73fca', class: "tg-cm__time" }, this.timestamp)))));
13
+ }
14
+ };
15
+ TgChatMessage.style = tgChatMessageCss();
16
+
17
+ export { TgChatMessage as tg_chat_message };
@@ -0,0 +1,57 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CXqO9vvj.js';
2
+
3
+ const tgChatCss = () => `: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}`;
4
+
5
+ const TgChat = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgSend = createEvent(this, "tgSend");
9
+ this.chatTitle = 'Teranga AI';
10
+ this.botInitial = 'T';
11
+ this.placeholder = 'Écrivez votre message…';
12
+ this.messages = [];
13
+ this.typing = false;
14
+ this.inputValue = '';
15
+ this.handleSend = () => {
16
+ const text = this.inputValue.trim();
17
+ if (!text)
18
+ return;
19
+ this.tgSend.emit(text);
20
+ this.inputValue = '';
21
+ };
22
+ this.handleKeyDown = (e) => {
23
+ if (e.key === 'Enter' && !e.shiftKey) {
24
+ e.preventDefault();
25
+ this.handleSend();
26
+ }
27
+ };
28
+ }
29
+ get parsedMessages() {
30
+ if (typeof this.messages === 'string') {
31
+ try {
32
+ return JSON.parse(this.messages);
33
+ }
34
+ catch (_a) {
35
+ return [];
36
+ }
37
+ }
38
+ return this.messages;
39
+ }
40
+ componentDidUpdate() {
41
+ this.scrollToBottom();
42
+ }
43
+ scrollToBottom() {
44
+ if (this.messagesRef) {
45
+ this.messagesRef.scrollTop = this.messagesRef.scrollHeight;
46
+ }
47
+ }
48
+ render() {
49
+ const msgs = this.parsedMessages;
50
+ const sendIcon = `<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>`;
51
+ return (h(Host, { key: '3c07f4d1c6c599cf0d35868d3ffe03994fdd5d19' }, h("div", { key: '822715425ecbce20177e6e7733dfc4d05d2db5ed', class: "tg-chat" }, h("div", { key: '0b0df62a9c73f7ff39beac69be771a339b0272f3', class: "tg-chat__header" }, h("div", { key: 'e1b2d914c8676ae17617b559cdeb7d8ecddf6ae4', class: "tg-chat__avatar" }, this.botInitial), h("div", { key: '6599d0a5c87221500339590925a91e00ec622ff3' }, h("div", { key: 'a814d5d5566324592a9916b147017b6e70bb5045', class: "tg-chat__name" }, this.chatTitle), h("div", { key: 'f6c60c941406e25a69df2d4acffc40103488d070', class: "tg-chat__status" }, this.typing ? 'En cours de saisie…' : 'En ligne'))), h("div", { key: '97d71ad1679aeab0083265192429fd8602f7cba8', class: "tg-chat__messages", ref: el => (this.messagesRef = el) }, msgs.map(msg => (h("div", { class: { 'tg-chat__bubble-row': true, [`tg-chat__bubble-row--${msg.role}`]: true }, key: msg.id }, msg.role === 'bot' && h("div", { class: "tg-chat__avatar", style: { width: '28px', height: '28px', fontSize: '0.7rem' } }, this.botInitial), h("div", null, h("div", { class: { 'tg-chat__bubble': true, [`tg-chat__bubble--${msg.role}`]: true } }, msg.content), msg.time && h("div", { class: "tg-chat__time" }, msg.time))))), this.typing && (h("div", { key: 'd50dc27b7714a270e748ab275926021dceb0639c', class: "tg-chat__bubble-row" }, h("div", { key: '452cd4e105b619acc2ba713b95b829cca12ee4d7', class: "tg-chat__avatar", style: { width: '28px', height: '28px', fontSize: '0.7rem' } }, this.botInitial), h("div", { key: '5f07a0fcc43e7a6ffd2b7a0e90f2c2d537a678ec', class: "tg-chat__typing" }, h("span", { key: 'a85767e97c3d77ad5fa793aa43e65792cc4517fc', class: "tg-chat__typing-dot" }), h("span", { key: '7a57588d308703763e816cac5a3cbf137753dbf6', class: "tg-chat__typing-dot" }), h("span", { key: '416b6cca53977055fba5d52bf76f024fe3ce53fc', class: "tg-chat__typing-dot" }))))), h("div", { key: '3c0c6dc9e4af5080213568e41c49635933bd9fbb', class: "tg-chat__composer" }, h("textarea", { key: 'c0a43e3e12b0e1ed3e6f75181939e42a1839107a', class: "tg-chat__input", placeholder: this.placeholder, rows: 1, value: this.inputValue, onInput: (e) => (this.inputValue = e.target.value), onKeyDown: this.handleKeyDown }), h("button", { key: 'f8d15458a911b1731798533b28fb4eff754db991', class: "tg-chat__send", onClick: this.handleSend, disabled: !this.inputValue.trim(), "aria-label": "Envoyer", innerHTML: sendIcon })))));
52
+ }
53
+ get el() { return getElement(this); }
54
+ };
55
+ TgChat.style = tgChatCss();
56
+
57
+ export { TgChat as tg_chat };
@@ -0,0 +1,29 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgCheckboxCss = () => `:host{display:inline-flex}.tg-checkbox{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-checkbox--disabled{opacity:0.5;cursor:not-allowed}.tg-checkbox__input{position:absolute;opacity:0;width:0;height:0}.tg-checkbox__box{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-sm);background:var(--tg-color-surface-raised);transition:all var(--tg-duration-fast) var(--tg-ease-default);display:flex;align-items:center;justify-content:center}.tg-checkbox__input:checked+.tg-checkbox__box{background:var(--tg-color-primary);border-color:var(--tg-color-primary)}.tg-checkbox__input:checked+.tg-checkbox__box .tg-checkbox__icon{opacity:1;transform:scale(1)}.tg-checkbox__input:focus-visible+.tg-checkbox__box{box-shadow:var(--tg-focus-ring)}.tg-checkbox__input:indeterminate+.tg-checkbox__box{background:var(--tg-color-primary);border-color:var(--tg-color-primary)}.tg-checkbox__icon{width:0.75rem;height:0.75rem;color:white;opacity:0;transform:scale(0.5);transition:all var(--tg-duration-fast) var(--tg-ease-bounce)}.tg-checkbox__content{display:flex;flex-direction:column;gap:var(--tg-spacing-0-5)}.tg-checkbox__label-text{font-size:var(--tg-font-size-sm);color:var(--tg-color-text-primary);line-height:var(--tg-line-height-snug)}.tg-checkbox__description{font-size:var(--tg-font-size-xs);color:var(--tg-color-text-secondary);line-height:var(--tg-line-height-normal)}.tg-checkbox--invalid .tg-checkbox__box{border-color:var(--tg-color-danger)}`;
4
+
5
+ const TgCheckbox = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgChange = createEvent(this, "tgChange");
9
+ this.checked = false;
10
+ this.disabled = false;
11
+ this.indeterminate = false;
12
+ this.handleChange = () => {
13
+ if (this.disabled)
14
+ return;
15
+ this.checked = !this.checked;
16
+ this.tgChange.emit(this.checked);
17
+ };
18
+ }
19
+ render() {
20
+ return (h(Host, { key: '177af6bbb10f104f97eff0b0bf6287cded07dbba' }, h("label", { key: 'c851c983bce7bb3a26831dcd32ce646371a8e078', class: {
21
+ 'tg-checkbox': true,
22
+ 'tg-checkbox--disabled': this.disabled,
23
+ 'tg-checkbox--invalid': !!this.error,
24
+ } }, h("input", Object.assign({ key: 'e11145030298a01c20d4d2e6d42b5622f6f11141', type: "checkbox", class: "tg-checkbox__input", checked: this.checked, disabled: this.disabled, indeterminate: this.indeterminate }, (this.name ? { name: this.name } : {}), (this.value ? { value: this.value } : {}), { onChange: this.handleChange })), h("span", { key: '6c67f6e2aa4bdd1f9a76b914ba3ba97c1d1f2e3d', class: "tg-checkbox__box" }, h("svg", { key: '8c146d3de219541244f5c7487c1512dca05a357f', class: "tg-checkbox__icon", viewBox: "0 0 12 12", fill: "none" }, this.indeterminate ? (h("line", { x1: "2", y1: "6", x2: "10", y2: "6", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round" })) : (h("path", { d: "M2 6l3 3 5-6", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), (this.label || this.description) && (h("span", { key: 'c27ad8bc80ce1ba645ca8e8fa41d7967b3896606', class: "tg-checkbox__content" }, this.label && h("span", { key: '46e3d0a598faac5495aa267c70ab2e8b77ab2767', class: "tg-checkbox__label-text" }, this.label), this.description && h("span", { key: '060b9bc82bbca637012140d0d5eebaa58594c2b7', class: "tg-checkbox__description" }, this.description))))));
25
+ }
26
+ };
27
+ TgCheckbox.style = tgCheckboxCss();
28
+
29
+ export { TgCheckbox as tg_checkbox };
@@ -0,0 +1,66 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgComboboxCss = () => `: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)}`;
4
+
5
+ const TgCombobox = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgChange = createEvent(this, "tgChange");
9
+ this.placeholder = 'Rechercher…';
10
+ this.options = [];
11
+ this.disabled = false;
12
+ this.invalid = false;
13
+ this.size = 'md';
14
+ this.query = '';
15
+ this.open = false;
16
+ this.focusedIndex = -1;
17
+ this.handleInput = (e) => { this.query = e.target.value; this.open = true; };
18
+ this.handleFocus = () => { this.open = true; };
19
+ this.handleKeyDown = (e) => {
20
+ const items = this.filtered;
21
+ if (e.key === 'ArrowDown') {
22
+ e.preventDefault();
23
+ this.focusedIndex = Math.min(this.focusedIndex + 1, items.length - 1);
24
+ }
25
+ else if (e.key === 'ArrowUp') {
26
+ e.preventDefault();
27
+ this.focusedIndex = Math.max(this.focusedIndex - 1, 0);
28
+ }
29
+ else if (e.key === 'Enter' && this.focusedIndex >= 0 && items[this.focusedIndex]) {
30
+ e.preventDefault();
31
+ this.select(items[this.focusedIndex]);
32
+ }
33
+ else if (e.key === 'Escape') {
34
+ this.open = false;
35
+ }
36
+ };
37
+ }
38
+ get parsed() {
39
+ if (typeof this.options === 'string') {
40
+ try {
41
+ return JSON.parse(this.options);
42
+ }
43
+ catch (_a) {
44
+ return [];
45
+ }
46
+ }
47
+ return this.options;
48
+ }
49
+ get filtered() {
50
+ const q = this.query.toLowerCase();
51
+ return q ? this.parsed.filter(o => o.label.toLowerCase().includes(q)) : this.parsed;
52
+ }
53
+ get selectedLabel() {
54
+ const f = this.parsed.find(o => o.value === this.value);
55
+ return f ? f.label : '';
56
+ }
57
+ handleDocClick() { this.open = false; }
58
+ select(opt) { this.tgChange.emit(opt.value); this.query = opt.label; this.open = false; }
59
+ render() {
60
+ const items = this.filtered;
61
+ return (h(Host, { key: '565f072e24300dd80eec6206a9ee2922b7504589' }, h("div", { key: 'd43ede25747b229bfe8c1c25ae62ca24cedadf5e', class: `tg-combobox tg-combobox--${this.size}`, onClick: (e) => e.stopPropagation() }, this.label && h("label", { key: '04baf228f536e3f93f8b15a5d8a8ec5055d349b7', class: "tg-combobox__label" }, this.label), h("div", { key: '16969267f3ef67da727c5c3b8463146398f910ca', class: { 'tg-combobox__input-wrap': true, 'tg-combobox__input-wrap--invalid': this.invalid, 'tg-combobox__input-wrap--disabled': this.disabled } }, h("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" }), h("span", { key: '1848157598a1534516a72c4df74266771e666028', class: { 'tg-combobox__chevron': true, 'tg-combobox__chevron--open': this.open } }, h("svg", { key: '800f1089b123c22cfe2dfdc513fe6632b51b4a5e', viewBox: "0 0 20 20", fill: "currentColor", width: "16", height: "16" }, h("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 && items.length > 0 && (h("ul", { key: 'c2552593271adbc015fc5b4457cf4225183b571b', class: "tg-combobox__dropdown", role: "listbox" }, items.map((opt, i) => (h("li", { class: { 'tg-combobox__option': true, 'tg-combobox__option--focused': i === this.focusedIndex, 'tg-combobox__option--selected': opt.value === this.value, 'tg-combobox__option--disabled': opt.disabled === true }, role: "option", "aria-selected": String(opt.value === this.value), onClick: () => !opt.disabled && this.select(opt) }, opt.label))))), this.errorText && h("p", { key: '6c3488a6db12f9c4c4f8f4a978526eeb728fd247', class: "tg-combobox__error" }, this.errorText), !this.errorText && this.helperText && h("p", { key: 'b1c7475ea8220f626c18b2ebb5d785a54f76b6ca', class: "tg-combobox__helper" }, this.helperText))));
62
+ }
63
+ };
64
+ TgCombobox.style = tgComboboxCss();
65
+
66
+ export { TgCombobox as tg_combobox };
@@ -0,0 +1,64 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgCommandPaletteCss = () => `:host{display:contents}.tg-cp__overlay{position:fixed;inset:0;background:rgba(0,0,0,0.4);z-index:9999;display:flex;align-items:flex-start;justify-content:center;padding-top:20vh;backdrop-filter:blur(4px);animation:tg-cp-fade var(--tg-duration-fast)}@keyframes tg-cp-fade{from{opacity:0}to{opacity:1}}.tg-cp{width:100%;max-width:32rem;background:var(--tg-color-surface-raised);border-radius:var(--tg-radius-xl);box-shadow:var(--tg-shadow-xl);overflow:hidden;font-family:var(--tg-font-family-sans);animation:tg-cp-slide var(--tg-duration-fast) var(--tg-ease-out)}@keyframes tg-cp-slide{from{opacity:0;transform:translateY(-12px) scale(0.98)}to{opacity:1;transform:translateY(0) scale(1)}}.tg-cp__input-wrap{display:flex;align-items:center;gap:var(--tg-spacing-2);padding:var(--tg-spacing-3) var(--tg-spacing-4);border-bottom:1px solid var(--tg-color-border)}.tg-cp__search-icon{color:var(--tg-color-text-secondary);flex-shrink:0}.tg-cp__input{flex:1;border:none;outline:none;background:transparent;font-size:var(--tg-font-size-md);color:var(--tg-color-text-primary);font-family:inherit}.tg-cp__input::placeholder{color:var(--tg-color-text-disabled)}.tg-cp__list{list-style:none;padding:var(--tg-spacing-1) 0;margin:0;max-height:20rem;overflow-y:auto}.tg-cp__item{display:flex;align-items:center;gap:var(--tg-spacing-2);padding:var(--tg-spacing-2) var(--tg-spacing-4);cursor:pointer;transition:background var(--tg-duration-fast)}.tg-cp__item:hover,.tg-cp__item--focused{background:var(--tg-color-primary-subtle)}.tg-cp__item-icon{font-size:1rem;color:var(--tg-color-text-secondary);flex-shrink:0}.tg-cp__item-label{flex:1;font-size:var(--tg-font-size-sm);color:var(--tg-color-text-primary)}.tg-cp__shortcut{font-family:var(--tg-font-family-mono);font-size:var(--tg-font-size-xs);color:var(--tg-color-text-secondary);background:var(--tg-color-surface-sunken);padding:2px var(--tg-spacing-1-5);border-radius:var(--tg-radius-sm);border:1px solid var(--tg-color-border)}.tg-cp__empty{padding:var(--tg-spacing-4);text-align:center;color:var(--tg-color-text-disabled);font-size:var(--tg-font-size-sm)}`;
4
+
5
+ const TgCommandPalette = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgSelect = createEvent(this, "tgSelect");
9
+ this.commands = [];
10
+ this.placeholder = 'Tapez une commande\u2026';
11
+ this.open = false;
12
+ this.query = '';
13
+ this.focusedIndex = 0;
14
+ }
15
+ get parsed() {
16
+ if (typeof this.commands === 'string') {
17
+ try {
18
+ return JSON.parse(this.commands);
19
+ }
20
+ catch (_a) {
21
+ return [];
22
+ }
23
+ }
24
+ return this.commands;
25
+ }
26
+ get filtered() { const q = this.query.toLowerCase(); return q ? this.parsed.filter(c => c.label.toLowerCase().includes(q)) : this.parsed; }
27
+ onKeyDown(e) {
28
+ if ((e.metaKey || e.ctrlKey) && e.key === 'k') {
29
+ e.preventDefault();
30
+ this.open = !this.open;
31
+ this.query = '';
32
+ this.focusedIndex = 0;
33
+ }
34
+ if (!this.open)
35
+ return;
36
+ if (e.key === 'Escape') {
37
+ this.open = false;
38
+ }
39
+ else if (e.key === 'ArrowDown') {
40
+ e.preventDefault();
41
+ this.focusedIndex = Math.min(this.focusedIndex + 1, this.filtered.length - 1);
42
+ }
43
+ else if (e.key === 'ArrowUp') {
44
+ e.preventDefault();
45
+ this.focusedIndex = Math.max(this.focusedIndex - 1, 0);
46
+ }
47
+ else if (e.key === 'Enter') {
48
+ const item = this.filtered[this.focusedIndex];
49
+ if (item) {
50
+ this.tgSelect.emit(item.id);
51
+ this.open = false;
52
+ }
53
+ }
54
+ }
55
+ render() {
56
+ if (!this.open)
57
+ return h(Host, null);
58
+ const items = this.filtered;
59
+ return (h(Host, null, h("div", { class: "tg-cp__overlay", onClick: () => { this.open = false; } }, h("div", { class: "tg-cp", onClick: (e) => e.stopPropagation() }, h("div", { class: "tg-cp__input-wrap" }, h("svg", { class: "tg-cp__search-icon", viewBox: "0 0 20 20", fill: "currentColor", width: "18", height: "18" }, h("path", { "fill-rule": "evenodd", d: "M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" })), h("input", { class: "tg-cp__input", type: "text", placeholder: this.placeholder, value: this.query, onInput: (e) => { this.query = e.target.value; this.focusedIndex = 0; }, autofocus: true })), h("ul", { class: "tg-cp__list" }, items.map((cmd, i) => (h("li", { class: { 'tg-cp__item': true, 'tg-cp__item--focused': i === this.focusedIndex }, onClick: () => { this.tgSelect.emit(cmd.id); this.open = false; } }, cmd.icon && h("span", { class: "tg-cp__item-icon" }, cmd.icon), h("span", { class: "tg-cp__item-label" }, cmd.label), cmd.shortcut && h("kbd", { class: "tg-cp__shortcut" }, cmd.shortcut)))), items.length === 0 && h("li", { class: "tg-cp__empty" }, "Aucun r\\u00e9sultat"))))));
60
+ }
61
+ };
62
+ TgCommandPalette.style = tgCommandPaletteCss();
63
+
64
+ export { TgCommandPalette as tg_command_palette };
@@ -0,0 +1,25 @@
1
+ import { r as registerInstance, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgConfidenceBadgeCss = () => `:host{display:inline-flex}.tg-conf{display:inline-flex;align-items:center;gap:var(--tg-spacing-2);padding:var(--tg-spacing-1) var(--tg-spacing-2-5);border-radius:var(--tg-radius-full);font-family:var(--tg-font-family-sans)}.tg-conf--high{background:var(--tg-color-success-subtle);color:var(--tg-color-success)}.tg-conf--medium{background:var(--tg-color-warning-subtle);color:var(--tg-color-warning)}.tg-conf--low{background:var(--tg-color-danger-subtle);color:var(--tg-color-danger)}.tg-conf__pct{font-size:var(--tg-font-size-xs);font-weight:var(--tg-font-weight-bold);font-family:var(--tg-font-family-mono)}.tg-conf__label{font-size:var(--tg-font-size-xs);font-weight:var(--tg-font-weight-medium)}.tg-conf__bar{width:3rem;height:4px;background:rgba(0,0,0,0.1);border-radius:var(--tg-radius-full);overflow:hidden}.tg-conf__fill{height:100%;border-radius:var(--tg-radius-full);transition:width var(--tg-duration-normal)}.tg-conf--high .tg-conf__fill{background:var(--tg-color-success)}.tg-conf--medium .tg-conf__fill{background:var(--tg-color-warning)}.tg-conf--low .tg-conf__fill{background:var(--tg-color-danger)}`;
4
+
5
+ const TgConfidenceBadge = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.score = 0;
9
+ this.showBar = true;
10
+ }
11
+ get level() {
12
+ if (this.score >= 0.8)
13
+ return 'high';
14
+ if (this.score >= 0.5)
15
+ return 'medium';
16
+ return 'low';
17
+ }
18
+ render() {
19
+ const pct = Math.round(this.score * 100);
20
+ return (h(Host, { key: 'aecf1b4b43cf40be94ae02979e80ddd296b489e3' }, h("div", { key: '5593278db1c44b8b42bdacf28648a313c045ebc8', class: 'tg-conf tg-conf--' + this.level }, h("span", { key: '01334ff751a99cdb839e0551ef97e121603b3fa6', class: "tg-conf__pct" }, pct, "%"), this.label && h("span", { key: '93b067ed5c3a8a88a62a599cc7a8e71c461f2b0a', class: "tg-conf__label" }, this.label), this.showBar && h("div", { key: '9c3cbf7f8afed63cd3fae1643a0fdf20e78025ea', class: "tg-conf__bar" }, h("div", { key: 'e582e1f3e220ba4e4ad0590b2efe886ab3451bd0', class: "tg-conf__fill", style: { width: pct + '%' } })))));
21
+ }
22
+ };
23
+ TgConfidenceBadge.style = tgConfidenceBadgeCss();
24
+
25
+ export { TgConfidenceBadge as tg_confidence_badge };
@@ -0,0 +1,25 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgConfirmDialogCss = () => `:host{display:contents}.tg-cd__overlay{position:fixed;inset:0;background:rgba(0,0,0,0.5);z-index:10000;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(4px);animation:tg-cd-fade 0.15s}@keyframes tg-cd-fade{from{opacity:0}to{opacity:1}}.tg-cd{background:var(--tg-color-surface-raised);border-radius:var(--tg-radius-xl);padding:var(--tg-spacing-6);max-width:24rem;width:90%;font-family:var(--tg-font-family-sans);text-align:center;animation:tg-cd-scale 0.15s var(--tg-ease-out)}@keyframes tg-cd-scale{from{opacity:0;transform:scale(0.95)}to{opacity:1;transform:scale(1)}}.tg-cd__icon{font-size:2.5rem;margin-bottom:var(--tg-spacing-3)}.tg-cd--danger .tg-cd__icon{color:var(--tg-color-danger)}.tg-cd--warning .tg-cd__icon{color:var(--tg-color-warning)}.tg-cd__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-cd__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-cd__actions{display:flex;gap:var(--tg-spacing-2);justify-content:center}.tg-cd__btn{padding:var(--tg-spacing-2) var(--tg-spacing-5);border-radius:var(--tg-radius-lg);font-size:var(--tg-font-size-sm);font-weight:var(--tg-font-weight-medium);cursor:pointer;transition:all var(--tg-duration-fast);border:1px solid transparent}.tg-cd__btn--cancel{background:none;color:var(--tg-color-text-secondary);border-color:var(--tg-color-border)}.tg-cd__btn--cancel:hover{background:var(--tg-color-surface-sunken)}.tg-cd__btn--confirm{color:white}.tg-cd__btn--default{background:var(--tg-color-primary)}.tg-cd__btn--danger{background:var(--tg-color-danger)}.tg-cd__btn--warning{background:var(--tg-color-warning)}.tg-cd__btn--confirm:hover{filter:brightness(1.1)}`;
4
+
5
+ const TgConfirmDialog = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgConfirm = createEvent(this, "tgConfirm");
9
+ this.tgCancel = createEvent(this, "tgCancel");
10
+ this.open = false;
11
+ this.heading = 'Confirmer';
12
+ this.message = '';
13
+ this.confirmLabel = 'Confirmer';
14
+ this.cancelLabel = 'Annuler';
15
+ this.variant = 'default';
16
+ }
17
+ render() {
18
+ if (!this.open)
19
+ return h(Host, null);
20
+ return (h(Host, null, h("div", { class: "tg-cd__overlay", onClick: () => this.tgCancel.emit() }, h("div", { class: 'tg-cd tg-cd--' + this.variant, role: "alertdialog", onClick: (e) => e.stopPropagation() }, this.icon && h("div", { class: "tg-cd__icon" }, this.icon), h("h3", { class: "tg-cd__title" }, this.heading), h("p", { class: "tg-cd__msg" }, this.message), h("div", { class: "tg-cd__actions" }, h("button", { class: "tg-cd__btn tg-cd__btn--cancel", type: "button", onClick: () => this.tgCancel.emit() }, this.cancelLabel), h("button", { class: 'tg-cd__btn tg-cd__btn--confirm tg-cd__btn--' + this.variant, type: "button", onClick: () => this.tgConfirm.emit() }, this.confirmLabel))))));
21
+ }
22
+ };
23
+ TgConfirmDialog.style = tgConfirmDialogCss();
24
+
25
+ export { TgConfirmDialog as tg_confirm_dialog };
@@ -0,0 +1,33 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgContextMenuCss = () => `:host{display:contents}.tg-ctx{position:fixed;z-index:10000;min-width:12rem;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);padding:var(--tg-spacing-1) 0;font-family:var(--tg-font-family-sans);animation:tg-ctx-in var(--tg-duration-fast) var(--tg-ease-out)}@keyframes tg-ctx-in{from{opacity:0;transform:scale(0.95)}to{opacity:1;transform:scale(1)}}.tg-ctx__item{display:flex;align-items:center;gap:var(--tg-spacing-2);width:100%;padding:var(--tg-spacing-2) var(--tg-spacing-3);background:none;border:none;cursor:pointer;font-size:var(--tg-font-size-sm);color:var(--tg-color-text-primary);transition:background var(--tg-duration-fast);text-align:left}.tg-ctx__item:hover:not(:disabled){background:var(--tg-color-primary-subtle)}.tg-ctx__item--danger{color:var(--tg-color-danger)}.tg-ctx__item--danger:hover:not(:disabled){background:var(--tg-color-danger-subtle)}.tg-ctx__item--disabled{opacity:0.4;cursor:not-allowed}.tg-ctx__icon{font-size:1rem;flex-shrink:0}.tg-ctx__label{flex:1}.tg-ctx__shortcut{margin-left:auto;font-family:var(--tg-font-family-mono);font-size:var(--tg-font-size-xs);color:var(--tg-color-text-disabled)}.tg-ctx__divider{height:1px;background:var(--tg-color-border);margin:var(--tg-spacing-1) 0}`;
4
+
5
+ const TgContextMenu = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgAction = createEvent(this, "tgAction");
9
+ this.items = [];
10
+ this.visible = false;
11
+ this.x = 0;
12
+ this.y = 0;
13
+ }
14
+ get parsed() {
15
+ if (typeof this.items === 'string') {
16
+ try {
17
+ return JSON.parse(this.items);
18
+ }
19
+ catch (_a) {
20
+ return [];
21
+ }
22
+ }
23
+ return this.items;
24
+ }
25
+ onContext(e) { e.preventDefault(); this.x = e.clientX; this.y = e.clientY; this.visible = true; }
26
+ onDocClick() { this.visible = false; }
27
+ render() {
28
+ return (h(Host, { key: '0e56291c2114cb180a64855f9fc8bd5e10b69b9d' }, h("slot", { key: '8711f7eda110514f39136bc5995e42a909e4a6b5' }), this.visible && (h("div", { key: '67d9386b7fc248c30a6387ae8677145f4b2d98dd', class: "tg-ctx", style: { left: this.x + 'px', top: this.y + 'px' }, onClick: (e) => e.stopPropagation() }, this.parsed.map(item => item.divider ? h("div", { class: "tg-ctx__divider" }) : (h("button", Object.assign({ class: { 'tg-ctx__item': true, 'tg-ctx__item--danger': item.danger === true, 'tg-ctx__item--disabled': item.disabled === true }, type: "button" }, (item.disabled ? { disabled: true } : {}), { onClick: () => { this.tgAction.emit(item.id); this.visible = false; } }), item.icon && h("span", { class: "tg-ctx__icon" }, item.icon), h("span", { class: "tg-ctx__label" }, item.label), item.shortcut && h("kbd", { class: "tg-ctx__shortcut" }, item.shortcut))))))));
29
+ }
30
+ };
31
+ TgContextMenu.style = tgContextMenuCss();
32
+
33
+ export { TgContextMenu as tg_context_menu };
@@ -0,0 +1,88 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgDataTableCss = () => `:host{display:block}.tg-dt{font-family:var(--tg-font-family-sans);border:1px solid var(--tg-color-border);border-radius:var(--tg-radius-xl);overflow:hidden;background:var(--tg-color-surface-raised);position:relative}.tg-dt__loader{position:absolute;top:0;left:0;right:0;height:3px;overflow:hidden;z-index:10}.tg-dt__loader-bar{height:100%;width:40%;background:var(--tg-color-primary);border-radius:var(--tg-radius-full);animation:tg-dt-load 1.2s ease-in-out infinite}@keyframes tg-dt-load{0%{transform:translateX(-100%)}100%{transform:translateX(350%)}}.tg-dt__scroll{overflow-x:auto}.tg-dt__table{width:100%;border-collapse:collapse}.tg-dt__th{padding:var(--tg-spacing-3) var(--tg-spacing-4);text-align:left;font-size:var(--tg-font-size-xs);font-weight:var(--tg-font-weight-semibold);color:var(--tg-color-text-secondary);text-transform:uppercase;letter-spacing:var(--tg-tracking-wide);background:var(--tg-color-surface-sunken);border-bottom:1px solid var(--tg-color-border);white-space:nowrap}.tg-dt__th--sortable{cursor:pointer;user-select:none}.tg-dt__th--sortable:hover{color:var(--tg-color-primary)}.tg-dt__th-content{display:inline-flex;align-items:center;gap:var(--tg-spacing-1)}.tg-dt__sort-icon{font-size:0.75rem}.tg-dt__th--check,.tg-dt__td--check{width:2.5rem;text-align:center}.tg-dt__td{padding:var(--tg-spacing-3) var(--tg-spacing-4);font-size:var(--tg-font-size-sm);color:var(--tg-color-text-primary);border-bottom:1px solid var(--tg-color-border)}.tg-dt--compact .tg-dt__th,.tg-dt--compact .tg-dt__td{padding:var(--tg-spacing-2) var(--tg-spacing-3)}.tg-dt__row--striped{background:var(--tg-color-surface-sunken)}.tg-dt__row--selected{background:var(--tg-color-primary-subtle)}.tg-dt__row:hover{background:var(--tg-color-primary-subtle)}.tg-dt__empty{text-align:center;padding:var(--tg-spacing-8);color:var(--tg-color-text-disabled);font-style:italic}`;
4
+
5
+ const TgDataTable = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgSort = createEvent(this, "tgSort");
9
+ this.tgRowSelect = createEvent(this, "tgRowSelect");
10
+ this.columns = [];
11
+ this.rows = [];
12
+ this.selectable = false;
13
+ this.striped = true;
14
+ this.compact = false;
15
+ this.loading = false;
16
+ this.emptyText = 'Aucune donn\u00e9e';
17
+ this.sortKey = '';
18
+ this.sortDir = 'asc';
19
+ this.selectedRows = new Set();
20
+ this.toggleAll = () => {
21
+ if (this.selectedRows.size === this.data.length)
22
+ this.selectedRows = new Set();
23
+ else
24
+ this.selectedRows = new Set(this.data.map((_, i) => i));
25
+ this.tgRowSelect.emit(Array.from(this.selectedRows));
26
+ };
27
+ }
28
+ get cols() {
29
+ if (typeof this.columns === 'string') {
30
+ try {
31
+ return JSON.parse(this.columns);
32
+ }
33
+ catch (_a) {
34
+ return [];
35
+ }
36
+ }
37
+ return this.columns;
38
+ }
39
+ get data() {
40
+ if (typeof this.rows === 'string') {
41
+ try {
42
+ return JSON.parse(this.rows);
43
+ }
44
+ catch (_a) {
45
+ return [];
46
+ }
47
+ }
48
+ return this.rows;
49
+ }
50
+ get sortedData() {
51
+ if (!this.sortKey)
52
+ return this.data;
53
+ return [...this.data].sort((a, b) => {
54
+ const av = a[this.sortKey];
55
+ const bv = b[this.sortKey];
56
+ const cmp = typeof av === 'number' ? av - bv : String(av).localeCompare(String(bv));
57
+ return this.sortDir === 'asc' ? cmp : -cmp;
58
+ });
59
+ }
60
+ handleSort(col) {
61
+ if (!col.sortable)
62
+ return;
63
+ if (this.sortKey === col.key)
64
+ this.sortDir = this.sortDir === 'asc' ? 'desc' : 'asc';
65
+ else {
66
+ this.sortKey = col.key;
67
+ this.sortDir = 'asc';
68
+ }
69
+ this.tgSort.emit({ key: this.sortKey, dir: this.sortDir });
70
+ }
71
+ toggleRow(idx) {
72
+ const s = new Set(this.selectedRows);
73
+ if (s.has(idx))
74
+ s.delete(idx);
75
+ else
76
+ s.add(idx);
77
+ this.selectedRows = s;
78
+ this.tgRowSelect.emit(Array.from(s));
79
+ }
80
+ render() {
81
+ const cols = this.cols;
82
+ const rows = this.sortedData;
83
+ return (h(Host, { key: '41340ae2532212cceb01cfca73359f91b99e76fa' }, h("div", { key: '7376c54b66c6037b227ce65c4f2e3e7b0bcda594', class: { 'tg-dt': true, 'tg-dt--compact': this.compact } }, this.loading && h("div", { key: '756436d24ca9bf79ba1fd6dfd720d75f1f0d5747', class: "tg-dt__loader" }, h("div", { key: '62c76d0b712a49653df7b60688293096ac8849b6', class: "tg-dt__loader-bar" })), h("div", { key: '8766278921bf7329af9d093cf6aaf3097bec07e7', class: "tg-dt__scroll" }, h("table", { key: '6e55bcbb7f2c3abc0ae38345afad6198c07a3ccb', class: "tg-dt__table" }, h("thead", { key: 'af7ee25ceec1bf9c3f47c17ba7c3dead48311def' }, h("tr", { key: '66147dd8631c01b5471a830cdd8538f3e660f058' }, this.selectable && h("th", { key: '35e58a867f102a8253cacae32a0c4151cfd7c2ad', class: "tg-dt__th tg-dt__th--check" }, h("input", { key: '1448d9ae15d0dea2abb47ca8c03348d54529705c', type: "checkbox", checked: this.selectedRows.size === rows.length && rows.length > 0, onChange: this.toggleAll })), cols.map(col => (h("th", { class: { 'tg-dt__th': true, 'tg-dt__th--sortable': col.sortable === true }, style: col.width ? { width: col.width } : {}, onClick: () => this.handleSort(col) }, h("span", { class: "tg-dt__th-content" }, col.label, col.sortable && h("span", { class: "tg-dt__sort-icon" }, this.sortKey === col.key ? (this.sortDir === 'asc' ? '\u2191' : '\u2193') : '\u2195'))))))), h("tbody", { key: '3ddcac1c70513b9513eedf3d22296f5781f21faa' }, rows.length === 0 && h("tr", { key: '136db0f95b7731b86739743f1d6f5ec36ddf05a0' }, h("td", { key: 'f55185e172a22eafef9906e3b7d592ad281e1cd6', class: "tg-dt__empty", colSpan: cols.length + (this.selectable ? 1 : 0) }, this.emptyText)), rows.map((row, i) => (h("tr", { class: { 'tg-dt__row': true, 'tg-dt__row--striped': this.striped && i % 2 === 1, 'tg-dt__row--selected': this.selectedRows.has(i) } }, this.selectable && h("td", { class: "tg-dt__td tg-dt__td--check" }, h("input", { type: "checkbox", checked: this.selectedRows.has(i), onChange: () => this.toggleRow(i) })), cols.map(col => h("td", { class: "tg-dt__td" }, row[col.key])))))))))));
84
+ }
85
+ };
86
+ TgDataTable.style = tgDataTableCss();
87
+
88
+ export { TgDataTable as tg_data_table };