@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,32 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgModelSelectorCss = () => `:host{display:inline-block;position:relative}.tg-ms{font-family:var(--tg-font-family-sans)}.tg-ms__trigger{display:inline-flex;align-items:center;gap:var(--tg-spacing-2);padding:var(--tg-spacing-2) var(--tg-spacing-3);border:1px solid var(--tg-color-border-strong);border-radius:var(--tg-radius-lg);background:var(--tg-color-surface-raised);cursor:pointer;font-size:var(--tg-font-size-sm);color:var(--tg-color-text-primary);transition:border-color var(--tg-duration-fast)}.tg-ms__trigger:hover{border-color:var(--tg-color-primary)}.tg-ms__chev{transition:transform var(--tg-duration-fast);color:var(--tg-color-text-secondary)}.tg-ms__chev--open{transform:rotate(180deg)}.tg-ms__dropdown{position:absolute;top:100%;left:0;right:0;margin-top:var(--tg-spacing-1);background:var(--tg-color-surface-raised);border:1px solid var(--tg-color-border);border-radius:var(--tg-radius-xl);box-shadow:var(--tg-shadow-lg);z-index:1000;padding:var(--tg-spacing-1);min-width:16rem}.tg-ms__option{display:block;width:100%;text-align:left;padding:var(--tg-spacing-2-5) var(--tg-spacing-3);border:none;background:none;cursor:pointer;border-radius:var(--tg-radius-lg);transition:background var(--tg-duration-fast)}.tg-ms__option:hover{background:var(--tg-color-primary-subtle)}.tg-ms__option--sel{background:var(--tg-color-primary-subtle)}.tg-ms__opt-main{display:flex;align-items:center;gap:var(--tg-spacing-2)}.tg-ms__opt-name{font-size:var(--tg-font-size-sm);font-weight:var(--tg-font-weight-medium);color:var(--tg-color-text-primary)}.tg-ms__opt-badge{font-size:var(--tg-font-size-xs);padding:1px var(--tg-spacing-1-5);background:var(--tg-color-primary);color:white;border-radius:var(--tg-radius-full)}.tg-ms__opt-provider{display:block;font-size:var(--tg-font-size-xs);color:var(--tg-color-text-secondary);margin-top:2px}.tg-ms__opt-desc{display:block;font-size:var(--tg-font-size-xs);color:var(--tg-color-text-disabled);margin-top:2px}`;
4
+
5
+ const TgModelSelector = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgChange = createEvent(this, "tgChange");
9
+ this.models = [];
10
+ this.open = false;
11
+ }
12
+ get parsed() {
13
+ if (typeof this.models === 'string') {
14
+ try {
15
+ return JSON.parse(this.models);
16
+ }
17
+ catch (_a) {
18
+ return [];
19
+ }
20
+ }
21
+ return this.models;
22
+ }
23
+ get selected() { return this.parsed.find(m => m.id === this.value); }
24
+ onDocClick() { this.open = false; }
25
+ render() {
26
+ const cur = this.selected;
27
+ return (h(Host, { key: '8f2110c45d3a41c21b318ea4aee2b9df97f6c64e' }, h("div", { key: '548a1c12ff3e4ca389bd9af9c7b3918284ecdf07', class: "tg-ms", onClick: (e) => e.stopPropagation() }, h("button", { key: '64c22f0895e04c5852124bb9fc50a9075aa85e89', class: "tg-ms__trigger", type: "button", onClick: () => { this.open = !this.open; } }, h("span", { key: '07d0f36c53a428721beac440fb3746cd621db3e6', class: "tg-ms__current" }, cur ? cur.name : 'S\u00e9lectionner un mod\u00e8le'), h("svg", { key: '19dadd4c8fe6ad05288aa753c095e8eef896e5de', class: { 'tg-ms__chev': true, 'tg-ms__chev--open': this.open }, viewBox: "0 0 20 20", fill: "currentColor", width: "14", height: "14" }, h("path", { key: '7c3ee88b2ae95fcdc4ba9769033d92fbdb2b7dd4', "fill-rule": "evenodd", d: "M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z" }))), this.open && (h("div", { key: '328b12c238fdf9806d30e841a3ff7517fee2488e', class: "tg-ms__dropdown" }, this.parsed.map(m => (h("button", { class: { 'tg-ms__option': true, 'tg-ms__option--sel': m.id === this.value }, type: "button", onClick: () => { this.tgChange.emit(m.id); this.open = false; } }, h("div", { class: "tg-ms__opt-main" }, h("span", { class: "tg-ms__opt-name" }, m.name), m.badge && h("span", { class: "tg-ms__opt-badge" }, m.badge)), m.provider && h("span", { class: "tg-ms__opt-provider" }, m.provider), m.description && h("span", { class: "tg-ms__opt-desc" }, m.description)))))))));
28
+ }
29
+ };
30
+ TgModelSelector.style = tgModelSelectorCss();
31
+
32
+ export { TgModelSelector as tg_model_selector };
@@ -0,0 +1,65 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgMultiSelectCss = () => `:host{display:block}.tg-multi-select{position:relative;font-family:var(--tg-font-family-sans)}.tg-multi-select__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-multi-select__trigger{display:flex;align-items:center;min-height:2.5rem;padding:var(--tg-spacing-1) var(--tg-spacing-2);border:1px solid var(--tg-color-border-strong);border-radius:var(--tg-radius-lg);background:var(--tg-color-surface-raised);cursor:pointer;transition:border-color var(--tg-duration-fast), box-shadow var(--tg-duration-fast)}.tg-multi-select__trigger:focus-within{border-color:var(--tg-color-border-focus);box-shadow:var(--tg-focus-ring)}.tg-multi-select__trigger--invalid{border-color:var(--tg-color-danger)}.tg-multi-select__tags{display:flex;flex-wrap:wrap;gap:var(--tg-spacing-1);flex:1}.tg-multi-select__tag{display:inline-flex;align-items:center;gap:var(--tg-spacing-1);padding:2px var(--tg-spacing-2);background:var(--tg-color-primary-subtle);color:var(--tg-color-primary);border-radius:var(--tg-radius-full);font-size:var(--tg-font-size-xs);font-weight:var(--tg-font-weight-medium)}.tg-multi-select__tag-x{background:none;border:none;cursor:pointer;color:inherit;font-size:1rem;line-height:1;padding:0;opacity:0.6}.tg-multi-select__tag-x:hover{opacity:1}.tg-multi-select__placeholder{color:var(--tg-color-text-disabled);font-size:var(--tg-font-size-sm);padding:var(--tg-spacing-0-5) 0}.tg-multi-select__chevron{flex-shrink:0;color:var(--tg-color-text-secondary);transition:transform var(--tg-duration-fast)}.tg-multi-select__chevron--open{transform:rotate(180deg)}.tg-multi-select__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;animation:tg-ms-enter var(--tg-duration-fast) var(--tg-ease-out)}@keyframes tg-ms-enter{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.tg-multi-select__search{display:block;width:100%;padding:var(--tg-spacing-2) var(--tg-spacing-3);border:none;border-bottom:1px solid var(--tg-color-border);outline:none;font-family:inherit;font-size:var(--tg-font-size-sm);background:transparent;color:var(--tg-color-text-primary)}.tg-multi-select__search::placeholder{color:var(--tg-color-text-disabled)}.tg-multi-select__list{list-style:none;padding:var(--tg-spacing-1) 0;margin:0;max-height:14rem;overflow-y:auto}.tg-multi-select__option{display:flex;align-items:center;gap:var(--tg-spacing-2);padding:var(--tg-spacing-2) var(--tg-spacing-3);font-size:var(--tg-font-size-sm);cursor:pointer;transition:background var(--tg-duration-fast)}.tg-multi-select__option:hover{background:var(--tg-color-primary-subtle)}.tg-multi-select__option--selected{color:var(--tg-color-primary);font-weight:var(--tg-font-weight-medium)}.tg-multi-select__check{width:1rem;text-align:center;color:var(--tg-color-primary)}`;
4
+
5
+ const TgMultiSelect = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgChange = createEvent(this, "tgChange");
9
+ this.placeholder = 'Sélectionner…';
10
+ this.options = [];
11
+ this.value = [];
12
+ this.disabled = false;
13
+ this.invalid = false;
14
+ this.size = 'md';
15
+ this.open = false;
16
+ this.query = '';
17
+ }
18
+ get parsed() {
19
+ if (typeof this.options === 'string') {
20
+ try {
21
+ return JSON.parse(this.options);
22
+ }
23
+ catch (_a) {
24
+ return [];
25
+ }
26
+ }
27
+ return this.options;
28
+ }
29
+ get selected() {
30
+ if (typeof this.value === 'string') {
31
+ try {
32
+ return JSON.parse(this.value);
33
+ }
34
+ catch (_a) {
35
+ return [];
36
+ }
37
+ }
38
+ return this.value;
39
+ }
40
+ get filtered() { const q = this.query.toLowerCase(); return q ? this.parsed.filter(o => o.label.toLowerCase().includes(q)) : this.parsed; }
41
+ handleDocClick() { this.open = false; }
42
+ toggle(val) {
43
+ const sel = [...this.selected];
44
+ const idx = sel.indexOf(val);
45
+ if (idx >= 0)
46
+ sel.splice(idx, 1);
47
+ else
48
+ sel.push(val);
49
+ this.tgChange.emit(sel);
50
+ }
51
+ removeTag(val, e) { e.stopPropagation(); this.toggle(val); }
52
+ render() {
53
+ const sel = this.selected;
54
+ return (h(Host, { key: '548bf9ea41d5fa1ff51d869b148a179cc501bb96' }, h("div", { key: '8988934df274adf78ba6f4f752000778bbe97fb6', class: `tg-multi-select tg-multi-select--${this.size}`, onClick: (e) => e.stopPropagation() }, this.label && h("label", { key: 'e989f8e6c2b88e88799611f90b0e44147f7c1572', class: "tg-multi-select__label" }, this.label), h("div", { key: '9406b5553070f26d382c1616ae1c57d54fb3b901', class: { 'tg-multi-select__trigger': true, 'tg-multi-select__trigger--invalid': this.invalid }, onClick: () => {
55
+ if (!this.disabled)
56
+ this.open = !this.open;
57
+ } }, h("div", { key: '52cb0629e1cad93a658f5c8424fc61f7c45a7e45', class: "tg-multi-select__tags" }, sel.map(v => {
58
+ const opt = this.parsed.find(o => o.value === v);
59
+ return opt ? h("span", { class: "tg-multi-select__tag" }, opt.label, h("button", { class: "tg-multi-select__tag-x", onClick: (e) => this.removeTag(v, e), "aria-label": "Remove" }, "\u00D7")) : null;
60
+ }), sel.length === 0 && h("span", { key: 'e3a3199568660cf137342296c60469a6c1462091', class: "tg-multi-select__placeholder" }, this.placeholder)), h("svg", { key: '77d039d5e8b7855cd6ebbc8eac77f58116c047b7', class: { 'tg-multi-select__chevron': true, 'tg-multi-select__chevron--open': this.open }, viewBox: "0 0 20 20", fill: "currentColor", width: "16", height: "16" }, h("path", { key: 'd131d4a08a08b3467d1c5f858fe9f01694b91634', "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 && (h("div", { key: 'e1657df38bdd49fa56374c431b8067d91e2ba1e6', class: "tg-multi-select__dropdown" }, h("input", { key: '856b4e1c81e9e4d163de7c9ef6755f90cf2a51cd', class: "tg-multi-select__search", type: "text", placeholder: "Filtrer\u2026", value: this.query, onInput: (e) => { this.query = e.target.value; } }), h("ul", { key: '46524a4605e630187654060e8073e8d38159d536', class: "tg-multi-select__list", role: "listbox" }, this.filtered.map(opt => (h("li", { class: { 'tg-multi-select__option': true, 'tg-multi-select__option--selected': sel.includes(opt.value) }, role: "option", onClick: () => this.toggle(opt.value) }, h("span", { class: "tg-multi-select__check" }, sel.includes(opt.value) ? '✓' : ''), opt.label)))))))));
61
+ }
62
+ };
63
+ TgMultiSelect.style = tgMultiSelectCss();
64
+
65
+ export { TgMultiSelect as tg_multi_select };
@@ -0,0 +1,41 @@
1
+ import { r as registerInstance, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgNavbarCss = () => `:host{display:block}.tg-navbar{display:flex;align-items:center;justify-content:space-between;padding:0 var(--tg-spacing-lg, 24px);height:64px;background:var(--tg-color-surface, #fff);border-bottom:1px solid var(--tg-color-neutral-100, #f3f4f6);font-family:var(--tg-font-family, sans-serif);position:relative;z-index:100}.tg-navbar--sticky{position:sticky;top:0;backdrop-filter:blur(12px);background:rgba(255, 255, 255, 0.85)}.tg-navbar--bordered{box-shadow:var(--tg-shadow-sm, 0 1px 3px rgba(0,0,0,0.08))}.tg-navbar__brand{display:flex;align-items:center;gap:var(--tg-spacing-sm, 12px);text-decoration:none;color:var(--tg-color-text, #111827);font-weight:var(--tg-font-weight-bold, 700);font-size:var(--tg-font-size-lg, 1.125rem);flex-shrink:0}.tg-navbar__brand:focus-visible{outline:none;box-shadow:var(--tg-focus-ring);border-radius:var(--tg-radius-sm, 4px)}.tg-navbar__logo{height:32px;width:auto}.tg-navbar__nav{display:flex;align-items:center;gap:var(--tg-spacing-2xs, 4px);list-style:none;padding:0;margin:0}.tg-navbar__link{color:var(--tg-color-text-secondary, #6b7280);text-decoration:none;font-size:var(--tg-font-size-sm, 0.8125rem);font-weight:var(--tg-font-weight-medium, 500);padding:var(--tg-spacing-xs, 8px) var(--tg-spacing-sm, 12px);border-radius:var(--tg-radius-md, 8px);transition:color var(--tg-duration-fast, 150ms), background var(--tg-duration-fast, 150ms)}.tg-navbar__link:hover{color:var(--tg-color-text, #111827);background:var(--tg-color-neutral-50, #f9fafb)}.tg-navbar__link--active{color:var(--tg-color-primary, #00853F);background:var(--tg-color-primary-50, #ecfdf5)}.tg-navbar__link:focus-visible{outline:none;box-shadow:var(--tg-focus-ring)}.tg-navbar__actions{display:flex;align-items:center;gap:var(--tg-spacing-xs, 8px);flex-shrink:0}.tg-navbar__toggle{appearance:none;border:none;background:transparent;cursor:pointer;padding:var(--tg-spacing-xs, 8px);border-radius:var(--tg-radius-md, 8px);color:var(--tg-color-text, #111827);display:none}.tg-navbar__toggle svg{width:24px;height:24px}.tg-navbar__toggle:focus-visible{outline:none;box-shadow:var(--tg-focus-ring)}.tg-navbar__mobile-menu{display:none;position:absolute;top:100%;left:0;right:0;background:var(--tg-color-surface, #fff);border-bottom:1px solid var(--tg-color-neutral-100, #f3f4f6);box-shadow:var(--tg-shadow-lg, 0 10px 30px rgba(0,0,0,0.1));padding:var(--tg-spacing-sm, 12px);flex-direction:column}.tg-navbar__mobile-menu--open{display:flex}.tg-navbar__mobile-menu .tg-navbar__link{width:100%;display:block}@media (max-width: 768px){.tg-navbar__nav{display:none}.tg-navbar__toggle{display:flex}}`;
4
+
5
+ const TgNavbar = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.items = [];
9
+ this.sticky = false;
10
+ this.bordered = false;
11
+ this.mobileOpen = false;
12
+ this.toggleMobile = () => {
13
+ this.mobileOpen = !this.mobileOpen;
14
+ };
15
+ }
16
+ get parsedItems() {
17
+ if (typeof this.items === 'string') {
18
+ try {
19
+ return JSON.parse(this.items);
20
+ }
21
+ catch (_a) {
22
+ return [];
23
+ }
24
+ }
25
+ return this.items;
26
+ }
27
+ render() {
28
+ var _a;
29
+ const navItems = this.parsedItems;
30
+ const hamburger = `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><line x1="3" y1="6" x2="21" y2="6"/><line x1="3" y1="12" x2="21" y2="12"/><line x1="3" y1="18" x2="21" y2="18"/></svg>`;
31
+ const closeIcon = `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><line x1="5" y1="5" x2="19" y2="19"/><line x1="19" y1="5" x2="5" y2="19"/></svg>`;
32
+ return (h(Host, { key: 'fcfdd7b1e4580338d8c5532bca9b70de0c0a78b1' }, h("header", { key: 'e7cbb40afd97b6ea08ed5b861a151bc244f0d5e6', class: {
33
+ 'tg-navbar': true,
34
+ 'tg-navbar--sticky': this.sticky,
35
+ 'tg-navbar--bordered': this.bordered,
36
+ } }, h("a", { key: 'fd6204d0934682c7fb139155021436c8a9f1ae22', class: "tg-navbar__brand", href: "/" }, this.logoSrc && h("img", { key: '307f3c79b2cc4129180de15b27e3e7bf92fc731c', class: "tg-navbar__logo", src: this.logoSrc, alt: (_a = this.brand) !== null && _a !== void 0 ? _a : '' }), this.brand && h("span", { key: 'ae8a249aa898be2dc6b4ae0ae1144d7510e2be6b' }, this.brand)), h("nav", { key: '44e66cf6fa64ee023207b87e7cef5c743b558545' }, h("ul", { key: '4963f3f8aea40d7db823008005db9e11ef63ccdb', class: "tg-navbar__nav" }, navItems.map(item => (h("li", null, h("a", { class: { 'tg-navbar__link': true, 'tg-navbar__link--active': !!item.active }, href: item.href }, item.label)))))), h("div", { key: '8b1b1a0a6cda63bac4f3cc32e3eb0dc319263b74', class: "tg-navbar__actions" }, h("slot", { key: '86e277aa8f189f32d897c9685b7329688e08c016', name: "actions" })), h("button", { key: '8fc67825906b0c3bd6e1c4d4c87d5853b6583be8', class: "tg-navbar__toggle", onClick: this.toggleMobile, "aria-label": this.mobileOpen ? 'Fermer le menu' : 'Ouvrir le menu', innerHTML: this.mobileOpen ? closeIcon : hamburger }), h("div", { key: 'f65a73d3099622d822b5592972643d349cdf600e', class: { 'tg-navbar__mobile-menu': true, 'tg-navbar__mobile-menu--open': this.mobileOpen } }, navItems.map(item => (h("a", { class: { 'tg-navbar__link': true, 'tg-navbar__link--active': !!item.active }, href: item.href }, item.label))), h("slot", { key: '25122d84b212d01cc9e2408005dabafc15895a56', name: "mobile-actions" })))));
37
+ }
38
+ };
39
+ TgNavbar.style = tgNavbarCss();
40
+
41
+ export { TgNavbar as tg_navbar };
@@ -0,0 +1,58 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CXqO9vvj.js';
2
+
3
+ const tgOtpInputCss = () => `:host{display:block}.tg-otp{font-family:var(--tg-font-family-sans)}.tg-otp__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-2)}.tg-otp__fields{display:flex;gap:var(--tg-spacing-2)}.tg-otp__field{width:2.75rem;height:3rem;text-align:center;font-size:var(--tg-font-size-xl);font-weight:var(--tg-font-weight-semibold);font-family:var(--tg-font-family-mono);color:var(--tg-color-text-primary);background:var(--tg-color-surface-raised);border:2px solid var(--tg-color-border-strong);border-radius:var(--tg-radius-lg);outline:none;transition:border-color var(--tg-duration-fast), box-shadow var(--tg-duration-fast)}.tg-otp__field:focus{border-color:var(--tg-color-primary);box-shadow:var(--tg-focus-ring)}.tg-otp__field--filled{border-color:var(--tg-color-primary)}.tg-otp__field--invalid{border-color:var(--tg-color-danger)}.tg-otp__field:disabled{opacity:0.5;cursor:not-allowed}.tg-otp__error{margin:var(--tg-spacing-2) 0 0;font-size:var(--tg-font-size-xs);color:var(--tg-color-danger)}`;
4
+
5
+ const TgOtpInput = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgComplete = createEvent(this, "tgComplete");
9
+ this.tgChange = createEvent(this, "tgChange");
10
+ this.length = 6;
11
+ this.disabled = false;
12
+ this.invalid = false;
13
+ this.masked = false;
14
+ this.values = [];
15
+ this.handlePaste = (e) => {
16
+ var _a, _b, _c;
17
+ e.preventDefault();
18
+ const text = (_c = (_b = (_a = e.clipboardData) === null || _a === void 0 ? void 0 : _a.getData('text')) === null || _b === void 0 ? void 0 : _b.replace(/\D/g, '').slice(0, this.length)) !== null && _c !== void 0 ? _c : '';
19
+ const nv = [...this.values];
20
+ for (let i = 0; i < text.length; i++)
21
+ nv[i] = text[i];
22
+ this.values = nv;
23
+ this.tgChange.emit(nv.join(''));
24
+ if (nv.every(v => v !== ''))
25
+ this.tgComplete.emit(nv.join(''));
26
+ };
27
+ }
28
+ componentWillLoad() { this.values = new Array(this.length).fill(''); }
29
+ handleInput(idx, e) {
30
+ var _a;
31
+ const input = e.target;
32
+ const val = input.value.replace(/\D/g, '').slice(-1);
33
+ const nv = [...this.values];
34
+ nv[idx] = val;
35
+ this.values = nv;
36
+ this.tgChange.emit(nv.join(''));
37
+ if (val && idx < this.length - 1) {
38
+ const next = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('input')[idx + 1];
39
+ next === null || next === void 0 ? void 0 : next.focus();
40
+ }
41
+ if (nv.every(v => v !== ''))
42
+ this.tgComplete.emit(nv.join(''));
43
+ }
44
+ handleKeyDown(idx, e) {
45
+ var _a;
46
+ if (e.key === 'Backspace' && !this.values[idx] && idx > 0) {
47
+ const prev = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('input')[idx - 1];
48
+ prev === null || prev === void 0 ? void 0 : prev.focus();
49
+ }
50
+ }
51
+ render() {
52
+ return (h(Host, { key: '0ea9887bdd561677f2ef85113ad0d9f0addb6c9c' }, h("div", { key: '29b8ca81b85443d38908992d9920d8913dd7b2ed', class: "tg-otp" }, this.label && h("label", { key: 'bf00d9988ff2247acc337ba24e5d5981489b4c24', class: "tg-otp__label" }, this.label), h("div", { key: '0c55704aebdb1c0e90145a9d3182c38047e4cefb', class: "tg-otp__fields" }, this.values.map((v, i) => (h("input", { class: { 'tg-otp__field': true, 'tg-otp__field--invalid': this.invalid, 'tg-otp__field--filled': v !== '' }, type: this.masked ? 'password' : 'text', inputMode: "numeric", maxLength: 1, value: v, disabled: this.disabled, onInput: (e) => this.handleInput(i, e), onKeyDown: (e) => this.handleKeyDown(i, e), onPaste: this.handlePaste, "aria-label": 'Digit ' + (i + 1) })))), this.errorText && h("p", { key: '70e5b44970471655e8499f77ee0fb0e527e4d97b', class: "tg-otp__error" }, this.errorText))));
53
+ }
54
+ get el() { return getElement(this); }
55
+ };
56
+ TgOtpInput.style = tgOtpInputCss();
57
+
58
+ export { TgOtpInput as tg_otp_input };
@@ -0,0 +1,51 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgPaginationCss = () => `:host{display:block}.tg-pagination{display:flex;align-items:center;gap:var(--tg-spacing-2xs, 4px);font-family:var(--tg-font-family, sans-serif)}.tg-pagination__btn{appearance:none;border:1px solid var(--tg-color-neutral-200, #e5e7eb);background:var(--tg-color-surface, #fff);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 var(--tg-spacing-xs, 8px);border-radius:var(--tg-radius-md, 8px);font-family:inherit;font-size:var(--tg-font-size-sm, 0.8125rem);font-weight:var(--tg-font-weight-medium, 500);color:var(--tg-color-text, #111827);transition:background var(--tg-duration-fast, 150ms), border-color var(--tg-duration-fast, 150ms), color var(--tg-duration-fast, 150ms);font-variant-numeric:tabular-nums}.tg-pagination__btn:hover:not(:disabled){background:var(--tg-color-neutral-50, #f9fafb);border-color:var(--tg-color-neutral-300, #d1d5db)}.tg-pagination__btn:focus-visible{outline:none;box-shadow:var(--tg-focus-ring)}.tg-pagination__btn:disabled{opacity:0.4;cursor:not-allowed}.tg-pagination__btn--active{background:var(--tg-color-primary, #00853F);border-color:var(--tg-color-primary, #00853F);color:#fff}.tg-pagination__btn--active:hover:not(:disabled){background:var(--tg-color-primary-dark, #006B32);border-color:var(--tg-color-primary-dark, #006B32);color:#fff}.tg-pagination__btn svg{width:16px;height:16px}.tg-pagination__ellipsis{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;color:var(--tg-color-text-secondary, #6b7280);font-size:var(--tg-font-size-sm, 0.8125rem);user-select:none}`;
4
+
5
+ const TgPagination = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgPageChange = createEvent(this, "tgPageChange");
9
+ this.currentPage = 1;
10
+ this.totalPages = 1;
11
+ this.siblingCount = 1;
12
+ this.goTo = (page) => {
13
+ if (page < 1 || page > this.totalPages || page === this.currentPage)
14
+ return;
15
+ this.currentPage = page;
16
+ this.tgPageChange.emit(page);
17
+ };
18
+ }
19
+ getRange() {
20
+ const total = this.totalPages;
21
+ const current = this.currentPage;
22
+ const sibling = this.siblingCount;
23
+ if (total <= 7)
24
+ return Array.from({ length: total }, (_, i) => i + 1);
25
+ const left = Math.max(current - sibling, 2);
26
+ const right = Math.min(current + sibling, total - 1);
27
+ const showLeftDots = left > 2;
28
+ const showRightDots = right < total - 1;
29
+ const pages = [1];
30
+ if (showLeftDots)
31
+ pages.push('...');
32
+ for (let i = left; i <= right; i++)
33
+ pages.push(i);
34
+ if (showRightDots)
35
+ pages.push('...');
36
+ pages.push(total);
37
+ return pages;
38
+ }
39
+ render() {
40
+ const pages = this.getRange();
41
+ const prevIcon = `<svg viewBox="0 0 14 14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><polyline points="9 3 5 7 9 11"/></svg>`;
42
+ const nextIcon = `<svg viewBox="0 0 14 14" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><polyline points="5 3 9 7 5 11"/></svg>`;
43
+ return (h(Host, { key: 'd31881cd7e9a8eb213eef62334f3172707c0a021' }, h("nav", { key: '6ce78ba6a430c51891c3f817cc96ff2a11fc2ea4', class: "tg-pagination", "aria-label": "Pagination" }, h("button", { key: '3c3d0ed57dfda0fd5c8f9367f9b1c411e9c02da1', class: "tg-pagination__btn", disabled: this.currentPage <= 1, onClick: () => this.goTo(this.currentPage - 1), "aria-label": "Page pr\u00E9c\u00E9dente", innerHTML: prevIcon }), pages.map(p => p === '...' ? (h("span", { class: "tg-pagination__ellipsis" }, "\u2026")) : (h("button", { class: {
44
+ 'tg-pagination__btn': true,
45
+ 'tg-pagination__btn--active': p === this.currentPage,
46
+ }, "aria-current": p === this.currentPage ? 'page' : undefined, onClick: () => this.goTo(p) }, p))), h("button", { key: 'f2f800639e489e518f606e6ea186eaf5e02abd3f', class: "tg-pagination__btn", disabled: this.currentPage >= this.totalPages, onClick: () => this.goTo(this.currentPage + 1), "aria-label": "Page suivante", innerHTML: nextIcon }))));
47
+ }
48
+ };
49
+ TgPagination.style = tgPaginationCss();
50
+
51
+ export { TgPagination as tg_pagination };
@@ -0,0 +1,31 @@
1
+ import { r as registerInstance, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgPresenceIndicatorCss = () => `:host{display:inline-flex}.tg-pi{display:flex;align-items:center}.tg-pi__user{position:relative;margin-left:-6px}.tg-pi__user:first-child{margin-left:0}.tg-pi__avatar{width:2rem;height:2rem;border-radius:50%;background:var(--tg-color-primary-subtle);color:var(--tg-color-primary);display:flex;align-items:center;justify-content:center;font-size:var(--tg-font-size-xs);font-weight:var(--tg-font-weight-semibold);font-family:var(--tg-font-family-sans);border:2px solid var(--tg-color-surface-raised)}.tg-pi__status{position:absolute;bottom:0;right:0;width:10px;height:10px;border-radius:50%;border:2px solid var(--tg-color-surface-raised)}.tg-pi__status--online{background:var(--tg-color-success)}.tg-pi__status--away{background:var(--tg-color-warning)}.tg-pi__status--busy{background:var(--tg-color-danger)}.tg-pi__more{width:2rem;height:2rem;border-radius:50%;background:var(--tg-color-surface-sunken);color:var(--tg-color-text-secondary);display:flex;align-items:center;justify-content:center;font-size:var(--tg-font-size-xs);font-weight:var(--tg-font-weight-medium);margin-left:-6px;border:2px solid var(--tg-color-surface-raised)}`;
4
+
5
+ const TgPresenceIndicator = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.users = [];
9
+ this.max = 5;
10
+ }
11
+ get parsed() {
12
+ if (typeof this.users === 'string') {
13
+ try {
14
+ return JSON.parse(this.users);
15
+ }
16
+ catch (_a) {
17
+ return [];
18
+ }
19
+ }
20
+ return this.users;
21
+ }
22
+ render() {
23
+ const users = this.parsed;
24
+ const shown = users.slice(0, this.max);
25
+ const overflow = users.length - this.max;
26
+ return (h(Host, { key: '0b487e480aa59c5a4ad54397272708545548507d' }, h("div", { key: 'cea81db6a79f714de8059cf0d3b13193c131befa', class: "tg-pi" }, shown.map((u) => (h("div", { class: "tg-pi__user", title: u.name }, h("div", { class: "tg-pi__avatar" }, u.avatar || u.name.charAt(0).toUpperCase()), h("span", { class: 'tg-pi__status tg-pi__status--' + (u.status || 'online') })))), overflow > 0 && h("div", { key: 'b33de0b416fb70e108813b0a988e67781a81c510', class: "tg-pi__more" }, "+", overflow))));
27
+ }
28
+ };
29
+ TgPresenceIndicator.style = tgPresenceIndicatorCss();
30
+
31
+ export { TgPresenceIndicator as tg_presence_indicator };
@@ -0,0 +1,51 @@
1
+ import { r as registerInstance, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgProgressCss = () => `:host{display:block;width:100%}.tg-progress{display:flex;flex-direction:column;gap:var(--tg-spacing-xs, 8px)}.tg-progress__label-row{display:flex;align-items:center;justify-content:space-between;font-family:var(--tg-font-family, sans-serif);font-size:var(--tg-font-size-sm, 0.8125rem);color:var(--tg-color-text, #111827)}.tg-progress__label{font-weight:var(--tg-font-weight-medium, 500)}.tg-progress__value{color:var(--tg-color-text-secondary, #6b7280);font-variant-numeric:tabular-nums}.tg-progress__track{width:100%;border-radius:9999px;background:var(--tg-color-neutral-100, #f3f4f6);overflow:hidden}.tg-progress__track--sm{height:4px}.tg-progress__track--md{height:8px}.tg-progress__track--lg{height:12px}.tg-progress__bar{height:100%;border-radius:9999px;transition:width var(--tg-duration-normal, 200ms) var(--tg-ease-out, ease-out);position:relative;overflow:hidden}.tg-progress__bar--primary{background:var(--tg-color-primary, #00853F)}.tg-progress__bar--success{background:var(--tg-color-success, #059669)}.tg-progress__bar--warning{background:var(--tg-color-warning, #d97706)}.tg-progress__bar--danger{background:var(--tg-color-danger, #dc2626)}.tg-progress__bar--info{background:var(--tg-color-info, #2563eb)}.tg-progress__bar--indeterminate{width:40% !important;animation:tg-progress-indeterminate 1.5s var(--tg-ease-default, ease) infinite}@keyframes tg-progress-indeterminate{0%{transform:translateX(-100%)}100%{transform:translateX(350%)}}.tg-progress__bar--striped::after{content:'';position:absolute;inset:0;background-image:linear-gradient( 45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent );background-size:1rem 1rem}.tg-progress__bar--animated::after{animation:tg-progress-stripe 1s linear infinite}@keyframes tg-progress-stripe{0%{background-position:1rem 0}100%{background-position:0 0}}.tg-progress-circle{display:inline-flex;align-items:center;justify-content:center;position:relative}.tg-progress-circle svg{transform:rotate(-90deg)}.tg-progress-circle__track{fill:none;stroke:var(--tg-color-neutral-100, #f3f4f6)}.tg-progress-circle__bar{fill:none;stroke-linecap:round;transition:stroke-dashoffset var(--tg-duration-normal, 200ms) var(--tg-ease-out, ease-out)}.tg-progress-circle__bar--primary{stroke:var(--tg-color-primary, #00853F)}.tg-progress-circle__bar--success{stroke:var(--tg-color-success, #059669)}.tg-progress-circle__bar--warning{stroke:var(--tg-color-warning, #d97706)}.tg-progress-circle__bar--danger{stroke:var(--tg-color-danger, #dc2626)}.tg-progress-circle__bar--info{stroke:var(--tg-color-info, #2563eb)}.tg-progress-circle__bar--indeterminate{animation:tg-progress-circle-spin 1.4s linear infinite;stroke-dasharray:80 200}@keyframes tg-progress-circle-spin{0%{stroke-dashoffset:0;transform:rotate(-90deg)}50%{stroke-dashoffset:-80;transform:rotate(90deg)}100%{stroke-dashoffset:-200;transform:rotate(270deg)}}.tg-progress-circle__label{position:absolute;font-family:var(--tg-font-family, sans-serif);font-weight:var(--tg-font-weight-semibold, 600);color:var(--tg-color-text, #111827);font-variant-numeric:tabular-nums}`;
4
+
5
+ const TgProgress = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.value = 0;
9
+ this.max = 100;
10
+ this.showValue = false;
11
+ this.variant = 'primary';
12
+ this.size = 'md';
13
+ this.indeterminate = false;
14
+ this.striped = false;
15
+ this.animated = false;
16
+ this.circular = false;
17
+ this.circularSize = 48;
18
+ this.strokeWidth = 4;
19
+ }
20
+ get pct() {
21
+ return this.indeterminate ? 0 : Math.min(100, Math.max(0, (this.value / this.max) * 100));
22
+ }
23
+ renderLinear() {
24
+ var _a;
25
+ return (h("div", { class: "tg-progress" }, (this.label || this.showValue) && (h("div", { class: "tg-progress__label-row" }, this.label && h("span", { class: "tg-progress__label" }, this.label), this.showValue && !this.indeterminate && (h("span", { class: "tg-progress__value" }, Math.round(this.pct), "%")))), h("div", Object.assign({ class: `tg-progress__track tg-progress__track--${this.size}`, role: "progressbar" }, (this.indeterminate ? {} : { 'aria-valuenow': this.value }), { "aria-valuemin": 0, "aria-valuemax": this.max, "aria-label": (_a = this.label) !== null && _a !== void 0 ? _a : 'Progression' }), h("div", { class: {
26
+ 'tg-progress__bar': true,
27
+ [`tg-progress__bar--${this.variant}`]: true,
28
+ 'tg-progress__bar--indeterminate': this.indeterminate,
29
+ 'tg-progress__bar--striped': this.striped,
30
+ 'tg-progress__bar--animated': this.animated,
31
+ }, style: this.indeterminate ? {} : { width: `${this.pct}%` } }))));
32
+ }
33
+ renderCircular() {
34
+ var _a;
35
+ const r = (this.circularSize - this.strokeWidth) / 2;
36
+ const c = 2 * Math.PI * r;
37
+ const offset = c - (this.pct / 100) * c;
38
+ const fontSize = this.circularSize * 0.28;
39
+ return (h("div", Object.assign({ class: "tg-progress-circle", role: "progressbar" }, (this.indeterminate ? {} : { 'aria-valuenow': this.value }), { "aria-valuemin": 0, "aria-valuemax": this.max, "aria-label": (_a = this.label) !== null && _a !== void 0 ? _a : 'Progression', style: { width: `${this.circularSize}px`, height: `${this.circularSize}px` } }), h("svg", { width: this.circularSize, height: this.circularSize }, h("circle", { class: "tg-progress-circle__track", cx: this.circularSize / 2, cy: this.circularSize / 2, r: r, "stroke-width": this.strokeWidth }), h("circle", Object.assign({ class: {
40
+ 'tg-progress-circle__bar': true,
41
+ [`tg-progress-circle__bar--${this.variant}`]: true,
42
+ 'tg-progress-circle__bar--indeterminate': this.indeterminate,
43
+ }, cx: this.circularSize / 2, cy: this.circularSize / 2, r: r, "stroke-width": this.strokeWidth, "stroke-dasharray": `${c}` }, (this.indeterminate ? {} : { 'stroke-dashoffset': `${offset}` })))), this.showValue && !this.indeterminate && (h("span", { class: "tg-progress-circle__label", style: { fontSize: `${fontSize}px` } }, Math.round(this.pct), "%"))));
44
+ }
45
+ render() {
46
+ return h(Host, { key: '545c912ac587f94ade050a356ea3aade15ea98a2' }, this.circular ? this.renderCircular() : this.renderLinear());
47
+ }
48
+ };
49
+ TgProgress.style = tgProgressCss();
50
+
51
+ export { TgProgress as tg_progress };
@@ -0,0 +1,32 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgPromptInputCss = () => `:host{display:block}.tg-pi{display:flex;align-items:flex-end;gap:var(--tg-spacing-2);padding:var(--tg-spacing-2);background:var(--tg-color-surface-raised);border:1px solid var(--tg-color-border-strong);border-radius:var(--tg-radius-xl);transition:border-color var(--tg-duration-fast), box-shadow var(--tg-duration-fast);font-family:var(--tg-font-family-sans);position:relative}.tg-pi:focus-within{border-color:var(--tg-color-border-focus);box-shadow:var(--tg-focus-ring)}.tg-pi__input{flex:1;border:none;outline:none;background:transparent;font-family:inherit;font-size:var(--tg-font-size-sm);color:var(--tg-color-text-primary);resize:none;min-height:1.5rem;max-height:8rem;padding:var(--tg-spacing-1) var(--tg-spacing-2)}.tg-pi__input::placeholder{color:var(--tg-color-text-disabled)}.tg-pi__btn{display:flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border-radius:var(--tg-radius-lg);background:var(--tg-color-primary);color:var(--tg-color-primary-on);border:none;cursor:pointer;flex-shrink:0;transition:filter var(--tg-duration-fast)}.tg-pi__btn:hover:not(:disabled){filter:brightness(1.1)}.tg-pi__btn:disabled{opacity:0.4;cursor:not-allowed}.tg-pi__spinner{width:1rem;height:1rem;border:2px solid rgba(255,255,255,0.3);border-top-color:white;border-radius:50%;animation:tg-pi-spin 0.6s linear infinite}@keyframes tg-pi-spin{to{transform:rotate(360deg)}}.tg-pi__counter{position:absolute;bottom:-1.25rem;right:var(--tg-spacing-2);font-size:var(--tg-font-size-xs);color:var(--tg-color-text-disabled)}`;
4
+
5
+ const TgPromptInput = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgSubmit = createEvent(this, "tgSubmit");
9
+ this.placeholder = 'Posez votre question\u2026';
10
+ this.disabled = false;
11
+ this.loading = false;
12
+ this.value = '';
13
+ this.handleSubmit = () => {
14
+ if (this.value.trim() && !this.loading) {
15
+ this.tgSubmit.emit(this.value.trim());
16
+ this.value = '';
17
+ }
18
+ };
19
+ this.handleKeyDown = (e) => {
20
+ if (e.key === 'Enter' && !e.shiftKey) {
21
+ e.preventDefault();
22
+ this.handleSubmit();
23
+ }
24
+ };
25
+ }
26
+ render() {
27
+ return (h(Host, { key: 'dffb2aefb0c36c2474ba3987a4f14e230b7de459' }, h("div", { key: 'baf0e378a4902e31f2e9ef53d7e8367e50a588db', class: "tg-pi" }, h("textarea", Object.assign({ key: '073a6f96bdac758f2d04d7f5c306f511439aefda', class: "tg-pi__input", placeholder: this.placeholder, value: this.value, disabled: this.disabled || this.loading }, (this.maxLength !== undefined ? { maxLength: this.maxLength } : {}), { rows: 1, onInput: (e) => { this.value = e.target.value; }, onKeyDown: this.handleKeyDown })), h("button", { key: 'd7e8015119fae3d3ca58f066f09e32ef75852598', class: "tg-pi__btn", type: "button", disabled: !this.value.trim() || this.loading, onClick: this.handleSubmit }, this.loading ? h("span", { class: "tg-pi__spinner" }) : h("svg", { viewBox: "0 0 20 20", fill: "currentColor", width: "18", height: "18" }, h("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.95 28.896 28.896 0 0015.293-7.154.75.75 0 000-1.115A28.897 28.897 0 003.105 2.289z" }))), this.maxLength && h("span", { key: '5dd21e484d7a33de8f9f3f5a9d541ddf2ac8124b', class: "tg-pi__counter" }, this.value.length, "/", this.maxLength))));
28
+ }
29
+ };
30
+ TgPromptInput.style = tgPromptInputCss();
31
+
32
+ export { TgPromptInput as tg_prompt_input };
@@ -0,0 +1,35 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgPullToRefreshCss = () => `:host{display:block}.tg-ptr{overflow:hidden}.tg-ptr__indicator{display:flex;align-items:center;justify-content:center;gap:var(--tg-spacing-2);overflow:hidden;font-family:var(--tg-font-family-sans);transition:height 0.2s}.tg-ptr__spinner{width:1.25rem;height:1.25rem;border:2px solid var(--tg-color-border);border-top-color:var(--tg-color-primary);border-radius:50%;animation:tg-ptr-spin 0.6s linear infinite}@keyframes tg-ptr-spin{to{transform:rotate(360deg)}}.tg-ptr__arrow{font-size:1rem;color:var(--tg-color-text-secondary);transition:transform 0.2s}.tg-ptr__label{font-size:var(--tg-font-size-xs);color:var(--tg-color-text-secondary)}`;
4
+
5
+ const TgPullToRefresh = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgRefresh = createEvent(this, "tgRefresh");
9
+ this.refreshing = false;
10
+ this.label = 'Tirer pour actualiser';
11
+ this.refreshingLabel = 'Actualisation\u2026';
12
+ this.pulling = false;
13
+ this.pullDistance = 0;
14
+ this.startY = 0;
15
+ this.threshold = 80;
16
+ this.onTouchStart = (e) => { this.startY = e.touches[0].clientY; this.pulling = true; };
17
+ this.onTouchMove = (e) => {
18
+ if (!this.pulling)
19
+ return;
20
+ this.pullDistance = Math.min(e.touches[0].clientY - this.startY, 120);
21
+ };
22
+ this.onTouchEnd = () => {
23
+ if (this.pullDistance >= this.threshold)
24
+ this.tgRefresh.emit();
25
+ this.pulling = false;
26
+ this.pullDistance = 0;
27
+ };
28
+ }
29
+ render() {
30
+ return (h(Host, { key: '8c74da495e2656c6490ce95bbc5a32731f1cf278' }, h("div", { key: '081a63f279f048092f1fdd2bfce6a0c45b4f8490', class: "tg-ptr", onTouchStart: this.onTouchStart, onTouchMove: this.onTouchMove, onTouchEnd: this.onTouchEnd }, h("div", { key: '8d8253cb751f174a1b89b2e65e66bb0979aab0a5', class: "tg-ptr__indicator", style: { height: (this.refreshing ? 48 : Math.max(0, this.pullDistance)) + 'px', opacity: String(this.refreshing ? 1 : Math.min(1, this.pullDistance / this.threshold)) } }, this.refreshing ? h("span", { class: "tg-ptr__spinner" }) : h("span", { class: "tg-ptr__arrow", style: { transform: 'rotate(' + (this.pullDistance >= this.threshold ? 180 : 0) + 'deg)' } }, "\\u2193"), h("span", { key: 'afb1623869882eacb5fc5ed5005c9caef1833cbc', class: "tg-ptr__label" }, this.refreshing ? this.refreshingLabel : this.label)), h("slot", { key: 'f4cad193bc5cc9bd71c0ee1f8f8f3f73699c76d1' }))));
31
+ }
32
+ };
33
+ TgPullToRefresh.style = tgPullToRefreshCss();
34
+
35
+ export { TgPullToRefresh as tg_pull_to_refresh };
@@ -0,0 +1,33 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgQuickSwitcherCss = () => `:host{display:inline-block;position:relative}.tg-qs{font-family:var(--tg-font-family-sans)}.tg-qs__trigger{background:var(--tg-color-surface-sunken);border:1px solid var(--tg-color-border);border-radius:var(--tg-radius-lg);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:all var(--tg-duration-fast)}.tg-qs__trigger:hover{border-color:var(--tg-color-primary);background:var(--tg-color-primary-subtle)}.tg-qs__dropdown{position:absolute;top:100%;left:0;margin-top:var(--tg-spacing-1);width:18rem;background:var(--tg-color-surface-raised);border:1px solid var(--tg-color-border);border-radius:var(--tg-radius-xl);box-shadow:var(--tg-shadow-lg);z-index:1000;overflow:hidden}.tg-qs__search{display:block;width:100%;padding:var(--tg-spacing-3);border:none;border-bottom:1px solid var(--tg-color-border);outline:none;font-size:var(--tg-font-size-sm);font-family:inherit;background:transparent;color:var(--tg-color-text-primary)}.tg-qs__list{list-style:none;padding:var(--tg-spacing-1) 0;margin:0;max-height:16rem;overflow-y:auto}.tg-qs__item{display:flex;align-items:center;gap:var(--tg-spacing-2);padding:var(--tg-spacing-2) var(--tg-spacing-3);cursor:pointer;transition:background var(--tg-duration-fast)}.tg-qs__item:hover{background:var(--tg-color-primary-subtle)}.tg-qs__icon{font-size:1.25rem;flex-shrink:0}.tg-qs__label{display:block;font-size:var(--tg-font-size-sm);font-weight:var(--tg-font-weight-medium);color:var(--tg-color-text-primary)}.tg-qs__sub{display:block;font-size:var(--tg-font-size-xs);color:var(--tg-color-text-secondary)}`;
4
+
5
+ const TgQuickSwitcher = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgSwitch = createEvent(this, "tgSwitch");
9
+ this.items = [];
10
+ this.placeholder = 'Basculer vers\u2026';
11
+ this.open = false;
12
+ this.query = '';
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
+ get filtered() { const q = this.query.toLowerCase(); return q ? this.parsed.filter(i => i.label.toLowerCase().includes(q)) : this.parsed; }
26
+ onDocClick() { this.open = false; }
27
+ render() {
28
+ return (h(Host, { key: '6755616db2c14f185c9e32c220455346df09b80d' }, h("div", { key: '9fa165a8f67aa0848b95f1a7d14be6551198e981', class: "tg-qs", onClick: (e) => e.stopPropagation() }, h("button", { key: '98428b3a459504e64043b50bed1cebf42dae9e84', class: "tg-qs__trigger", type: "button", onClick: () => { this.open = !this.open; this.query = ''; } }, h("slot", { key: '161e0ea0c83fa17f8f1a56562d8764ced5053581' }, "Basculer")), this.open && (h("div", { key: 'bad4c119013f396b266cb7edc2cd192fb79cbec4', class: "tg-qs__dropdown" }, h("input", { key: '57ce7c4d5e5edf287d2f8bcb727d5b02cf537abd', class: "tg-qs__search", type: "text", placeholder: this.placeholder, value: this.query, onInput: (e) => { this.query = e.target.value; }, autofocus: true }), h("ul", { key: '8841015526cf682f3b4cb6fdb45d325fe5e791e4', class: "tg-qs__list" }, this.filtered.map(item => (h("li", { class: "tg-qs__item", onClick: () => { this.tgSwitch.emit(item.id); this.open = false; } }, item.icon && h("span", { class: "tg-qs__icon" }, item.icon), h("div", null, h("span", { class: "tg-qs__label" }, item.label), item.subtitle && h("span", { class: "tg-qs__sub" }, item.subtitle)))))))))));
29
+ }
30
+ };
31
+ TgQuickSwitcher.style = tgQuickSwitcherCss();
32
+
33
+ export { TgQuickSwitcher as tg_quick_switcher };
@@ -0,0 +1,27 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgRadioCss = () => `:host{display:inline-flex}.tg-radio{display:inline-flex;align-items:flex-start;gap:var(--tg-spacing-2);cursor:pointer;font-family:var(--tg-font-family-sans);user-select:none}.tg-radio--disabled{opacity:0.5;cursor:not-allowed}.tg-radio__input{position:absolute;opacity:0;width:0;height:0}.tg-radio__circle{position:relative;width:1.125rem;height:1.125rem;flex-shrink:0;margin-top:0.125rem;border:2px solid var(--tg-color-border-strong);border-radius:var(--tg-radius-full);background:var(--tg-color-surface-raised);transition:all var(--tg-duration-fast) var(--tg-ease-default)}.tg-radio__circle::after{content:'';position:absolute;top:50%;left:50%;width:0.5rem;height:0.5rem;border-radius:var(--tg-radius-full);background:white;transform:translate(-50%, -50%) scale(0);transition:transform var(--tg-duration-fast) var(--tg-ease-bounce)}.tg-radio__input:checked+.tg-radio__circle{background:var(--tg-color-primary);border-color:var(--tg-color-primary)}.tg-radio__input:checked+.tg-radio__circle::after{transform:translate(-50%, -50%) scale(1)}.tg-radio__input:focus-visible+.tg-radio__circle{box-shadow:var(--tg-focus-ring)}.tg-radio__content{display:flex;flex-direction:column;gap:var(--tg-spacing-0-5)}.tg-radio__label-text{font-size:var(--tg-font-size-sm);color:var(--tg-color-text-primary);line-height:var(--tg-line-height-snug)}.tg-radio__description{font-size:var(--tg-font-size-xs);color:var(--tg-color-text-secondary)}`;
4
+
5
+ const TgRadio = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgChange = createEvent(this, "tgChange");
9
+ this.checked = false;
10
+ this.disabled = false;
11
+ this.handleChange = () => {
12
+ if (this.disabled)
13
+ return;
14
+ this.checked = true;
15
+ this.tgChange.emit(this.value);
16
+ };
17
+ }
18
+ render() {
19
+ return (h(Host, { key: 'c20da1611aaa084a113c540cf47d47f747b133bb' }, h("label", { key: 'ca4ce55148205b8a7c3f3ec05db7a606920d2f26', class: {
20
+ 'tg-radio': true,
21
+ 'tg-radio--disabled': this.disabled,
22
+ } }, h("input", Object.assign({ key: '16a658d41fa640930e5ff2939a25d2a9649a4842', type: "radio", class: "tg-radio__input", checked: this.checked, disabled: this.disabled }, (this.name ? { name: this.name } : {}), (this.value ? { value: this.value } : {}), { onChange: this.handleChange })), h("span", { key: '6a42b83b9e210015fc6625c8454a9c4bc4e06c3e', class: "tg-radio__circle" }), (this.label || this.description) && (h("span", { key: 'fb06e63b9f0c6a8ffe057b39627f67bfa2bb8d11', class: "tg-radio__content" }, this.label && h("span", { key: 'f0253a06ca55e2d1e4feba654481738a4b1e8a1e', class: "tg-radio__label-text" }, this.label), this.description && h("span", { key: '0b50be555bb5ae13ab4fbe2c81dc922a89ba98f2', class: "tg-radio__description" }, this.description))))));
23
+ }
24
+ };
25
+ TgRadio.style = tgRadioCss();
26
+
27
+ export { TgRadio as tg_radio };
@@ -0,0 +1,20 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgRetryUiCss = () => `:host{display:block}.tg-retry{text-align:center;padding:var(--tg-spacing-8);font-family:var(--tg-font-family-sans)}.tg-retry__icon{font-size:2.5rem;margin-bottom:var(--tg-spacing-3)}.tg-retry__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-retry__msg{margin:0 0 var(--tg-spacing-4);font-size:var(--tg-font-size-sm);color:var(--tg-color-text-secondary);max-width:20rem;margin-left:auto;margin-right:auto;line-height:var(--tg-line-height-relaxed)}.tg-retry__btn{display:inline-flex;align-items:center;gap:var(--tg-spacing-2);background:var(--tg-color-primary);color:var(--tg-color-primary-on);border:none;border-radius:var(--tg-radius-lg);padding:var(--tg-spacing-2-5) var(--tg-spacing-5);font-size:var(--tg-font-size-sm);font-weight:var(--tg-font-weight-medium);cursor:pointer;transition:filter var(--tg-duration-fast)}.tg-retry__btn:hover:not(:disabled){filter:brightness(1.1)}.tg-retry__btn:disabled{opacity:0.7;cursor:wait}.tg-retry__spinner{width:1rem;height:1rem;border:2px solid rgba(255,255,255,0.3);border-top-color:white;border-radius:50%;animation:tg-retry-spin 0.6s linear infinite}@keyframes tg-retry-spin{to{transform:rotate(360deg)}}`;
4
+
5
+ const TgRetryUi = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgRetry = createEvent(this, "tgRetry");
9
+ this.heading = 'Erreur de chargement';
10
+ this.message = 'Impossible de charger les donn\u00e9es. Veuillez r\u00e9essayer.';
11
+ this.retryLabel = 'R\u00e9essayer';
12
+ this.loading = false;
13
+ }
14
+ render() {
15
+ return (h(Host, { key: '01d8cd18a3d42a9905a59e5a640ed9f5b3a9e270' }, h("div", { key: 'a25bc7b0210351e5e9890507990db5b80891acf2', class: "tg-retry" }, h("div", { key: '77736b877b96457608a6c9e7bc8fa7c5302580c2', class: "tg-retry__icon" }, this.icon || '\u26a0\ufe0f'), h("h3", { key: 'ffb44435994211bb5b5dfadb17810147a2eddae8', class: "tg-retry__title" }, this.heading), h("p", { key: 'c66256fa635ef2b940b1a79074e6acd45762b1bf', class: "tg-retry__msg" }, this.message), h("button", { key: '9832781d906f3acf5588b9aef8550256139b0de4', class: "tg-retry__btn", type: "button", disabled: this.loading, onClick: () => this.tgRetry.emit() }, this.loading && h("span", { key: '879ed4727518828c2ba63d3775ff3f62ad812e34', class: "tg-retry__spinner" }), this.retryLabel))));
16
+ }
17
+ };
18
+ TgRetryUi.style = tgRetryUiCss();
19
+
20
+ export { TgRetryUi as tg_retry_ui };
@@ -0,0 +1,22 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgRichEditorCss = () => `:host{display:block}.tg-rich-editor{font-family:var(--tg-font-family-sans);border:1px solid var(--tg-color-border-strong);border-radius:var(--tg-radius-lg);overflow:hidden;background:var(--tg-color-surface-raised);transition:border-color var(--tg-duration-fast), box-shadow var(--tg-duration-fast)}.tg-rich-editor:focus-within{border-color:var(--tg-color-border-focus);box-shadow:var(--tg-focus-ring)}.tg-re__label{display:block;font-size:var(--tg-font-size-sm);font-weight:var(--tg-font-weight-medium);color:var(--tg-color-text-primary);padding:var(--tg-spacing-2) var(--tg-spacing-3) 0}.tg-re__toolbar{display:flex;align-items:center;gap:var(--tg-spacing-0-5);padding:var(--tg-spacing-2) var(--tg-spacing-3);border-bottom:1px solid var(--tg-color-border);background:var(--tg-color-surface-sunken)}.tg-re__tool{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:none;border:none;border-radius:var(--tg-radius-md);cursor:pointer;color:var(--tg-color-text-primary);font-size:var(--tg-font-size-sm);transition:background var(--tg-duration-fast)}.tg-re__tool:hover{background:var(--tg-color-primary-subtle);color:var(--tg-color-primary)}.tg-re__divider{width:1px;height:1.25rem;background:var(--tg-color-border);margin:0 var(--tg-spacing-1)}.tg-re__content{padding:var(--tg-spacing-3);outline:none;font-size:var(--tg-font-size-sm);line-height:var(--tg-line-height-relaxed);color:var(--tg-color-text-primary)}.tg-re__content:empty::before{content:attr(data-placeholder);color:var(--tg-color-text-disabled)}`;
4
+
5
+ const TgRichEditor = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.tgChange = createEvent(this, "tgChange");
9
+ this.placeholder = 'Commencez à écrire…';
10
+ this.disabled = false;
11
+ this.minHeight = '12rem';
12
+ this.html = '';
13
+ this.handleInput = (e) => { this.html = e.target.innerHTML; this.tgChange.emit(this.html); };
14
+ }
15
+ componentWillLoad() { var _a; this.html = (_a = this.value) !== null && _a !== void 0 ? _a : ''; }
16
+ render() {
17
+ return (h(Host, { key: '46af0da5e3c3d960f0ab41192bd9810ba5bbdae6' }, h("div", { key: 'a44679b1edd4a5574d2762e520225cb5a5657a8d', class: "tg-rich-editor" }, this.label && h("label", { key: '518ec2200f693893b6034eed2d880e80c8824c7d', class: "tg-re__label" }, this.label), h("div", { key: 'a6644abe6371aa2ef94b28addce5df863b20d959', class: "tg-re__toolbar" }, h("button", { key: '5a4320a9cc68f72dfd28b7c2211871af04b0dda2', type: "button", class: "tg-re__tool", onClick: () => document.execCommand('bold', false), title: "Gras" }, h("strong", { key: 'b2dd47697c73abe19949fcb3664bac6b2e3e6477' }, "G")), h("button", { key: '5b0c4dbdb7daca6b347ece6e8c6f732d285847f7', type: "button", class: "tg-re__tool", onClick: () => document.execCommand('italic', false), title: "Italique" }, h("em", { key: '5319a1e5e745d8bb7c6860a50847357b13577561' }, "I")), h("button", { key: '7d697c625f9669cd52c842ef8d24489cf9e00dfa', type: "button", class: "tg-re__tool", onClick: () => document.execCommand('underline', false), title: "Soulign\u00E9" }, h("u", { key: '47f27327a5568e1c82665fec209aa1859284be0c' }, "S")), h("span", { key: '6a50b118616c39ac0a0352f9cc1afaa201f9ed70', class: "tg-re__divider" }), h("button", { key: '9a8501b87051c7c6acf6c6abe41ad1d2c91acf6b', type: "button", class: "tg-re__tool", onClick: () => document.execCommand('insertUnorderedList', false), title: "Liste" }, "\u2022"), h("button", { key: '45376b4dcd2d9c18ae6ffdc84dcc088cbe926222', type: "button", class: "tg-re__tool", onClick: () => document.execCommand('insertOrderedList', false), title: "Num\u00E9rot\u00E9e" }, "1.")), h("div", { key: '8717e23ac526b1f34e460947c7ec71ee9ce19226', class: "tg-re__content", contentEditable: !this.disabled, innerHTML: this.html, onInput: this.handleInput, "data-placeholder": this.placeholder, style: { minHeight: this.minHeight } }))));
18
+ }
19
+ };
20
+ TgRichEditor.style = tgRichEditorCss();
21
+
22
+ export { TgRichEditor as tg_rich_editor };
@@ -0,0 +1,17 @@
1
+ import { r as registerInstance, h, H as Host } from './index-CXqO9vvj.js';
2
+
3
+ const tgRoleBadgeCss = () => `:host{display:inline-flex}.tg-rb{display:inline-flex;align-items:center;gap:var(--tg-spacing-1);padding:var(--tg-spacing-0-5) var(--tg-spacing-2);border-radius:var(--tg-radius-full);font-family:var(--tg-font-family-sans);font-size:var(--tg-font-size-xs);font-weight:var(--tg-font-weight-medium)}.tg-rb--admin{background:var(--tg-color-danger-subtle);color:var(--tg-color-danger)}.tg-rb--editor{background:var(--tg-color-primary-subtle);color:var(--tg-color-primary)}.tg-rb--viewer{background:var(--tg-color-surface-sunken);color:var(--tg-color-text-secondary)}.tg-rb--custom{background:var(--tg-color-info-subtle);color:var(--tg-color-info)}.tg-rb__icon{font-size:0.75rem}`;
4
+
5
+ const TgRoleBadge = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.role = '';
9
+ this.variant = 'custom';
10
+ }
11
+ render() {
12
+ return (h(Host, { key: '5d497b0a457392d26913fefb112a701dfdf6aef2' }, h("span", { key: '5c3f035744fc7271f4bef128e4b44fbaf1aca004', class: 'tg-rb tg-rb--' + this.variant }, this.icon && h("span", { key: '8b99e5b3cc14fb578a51a62aa5757a0d7735cc7e', class: "tg-rb__icon" }, this.icon), h("span", { key: 'aca74aa2fe597a6cab5a0e8e065149d7dc366bc6', class: "tg-rb__label" }, this.role))));
13
+ }
14
+ };
15
+ TgRoleBadge.style = tgRoleBadgeCss();
16
+
17
+ export { TgRoleBadge as tg_role_badge };