@3t-transform/threeteeui 1.9.62 → 1.9.64

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 (289) hide show
  1. package/dist/{esm/tttx-graph_1_9_62.entry.js → cjs/auto-1fd7408f.js} +4 -130
  2. package/dist/cjs/{index-ec367fa3.js → index-1249dc08.js} +12 -0
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/{tttx-action-dropdown_1_9_62.cjs.entry.js → tttx-action-dropdown_1_9_64.cjs.entry.js} +3 -3
  5. package/dist/cjs/tttx-button-v2_1_9_64.cjs.entry.js +121 -0
  6. package/dist/cjs/{tttx-button_1_9_62.cjs.entry.js → tttx-button_1_9_64.cjs.entry.js} +3 -3
  7. package/dist/cjs/tttx-chart_1_9_64.cjs.entry.js +203 -0
  8. package/dist/cjs/{tttx-checkbox-group-caption_1_9_62.cjs.entry.js → tttx-checkbox-group-caption_1_9_64.cjs.entry.js} +2 -2
  9. package/dist/cjs/{tttx-checkbox-group-heading_1_9_62.cjs.entry.js → tttx-checkbox-group-heading_1_9_64.cjs.entry.js} +2 -2
  10. package/dist/cjs/{tttx-checkbox-group_1_9_62.cjs.entry.js → tttx-checkbox-group_1_9_64.cjs.entry.js} +2 -2
  11. package/dist/cjs/{tttx-checkbox_1_9_62.cjs.entry.js → tttx-checkbox_1_9_64.cjs.entry.js} +3 -3
  12. package/dist/cjs/{tttx-comments_1_9_62.cjs.entry.js → tttx-comments_1_9_64.cjs.entry.js} +5 -5
  13. package/dist/cjs/{tttx-data-pattern_1_9_62.cjs.entry.js → tttx-data-pattern_1_9_64.cjs.entry.js} +6 -6
  14. package/dist/cjs/{tttx-datacard_1_9_62.cjs.entry.js → tttx-datacard_1_9_64.cjs.entry.js} +5 -5
  15. package/dist/cjs/tttx-date-range-picker.cjs.entry.js +2 -2
  16. package/dist/cjs/{tttx-dialog-box_1_9_62.cjs.entry.js → tttx-dialog-box_1_9_64.cjs.entry.js} +4 -4
  17. package/dist/cjs/{tttx-dialog_1_9_62.cjs.entry.js → tttx-dialog_1_9_64.cjs.entry.js} +3 -3
  18. package/dist/cjs/{tttx-expander_1_9_62.cjs.entry.js → tttx-expander_1_9_64.cjs.entry.js} +3 -3
  19. package/dist/cjs/{tttx-filter_1_9_62_4.cjs.entry.js → tttx-filter_1_9_64_4.cjs.entry.js} +10 -10
  20. package/dist/cjs/{tttx-form_1_9_62.cjs.entry.js → tttx-form_1_9_64.cjs.entry.js} +3 -3
  21. package/dist/cjs/tttx-graph_1_9_64.cjs.entry.js +136 -0
  22. package/dist/cjs/{tttx-icon_1_9_62.cjs.entry.js → tttx-icon_1_9_64.cjs.entry.js} +2 -2
  23. package/dist/cjs/{tttx-keyvalue-block_1_9_62.cjs.entry.js → tttx-keyvalue-block_1_9_64.cjs.entry.js} +2 -2
  24. package/dist/cjs/{tttx-loading-spinner_1_9_62_3.cjs.entry.js → tttx-loading-spinner_1_9_64_3.cjs.entry.js} +7 -7
  25. package/dist/cjs/{tttx-multiselect-box_1_9_62.cjs.entry.js → tttx-multiselect-box_1_9_64.cjs.entry.js} +8 -8
  26. package/dist/cjs/{tttx-percentage-bar_1_9_62.cjs.entry.js → tttx-percentage-bar_1_9_64.cjs.entry.js} +3 -3
  27. package/dist/cjs/{tttx-qrcode_1_9_62.cjs.entry.js → tttx-qrcode_1_9_64.cjs.entry.js} +2 -2
  28. package/dist/cjs/{tttx-select-box_1_9_62.cjs.entry.js → tttx-select-box_1_9_64.cjs.entry.js} +7 -7
  29. package/dist/cjs/{tttx-skeleton_loader_1_9_62.cjs.entry.js → tttx-skeleton_loader_1_9_64.cjs.entry.js} +2 -2
  30. package/dist/cjs/{tttx-table_1_9_62.cjs.entry.js → tttx-table_1_9_64.cjs.entry.js} +2 -2
  31. package/dist/cjs/{tttx-tabs_1_9_62.cjs.entry.js → tttx-tabs_1_9_64.cjs.entry.js} +5 -5
  32. package/dist/cjs/{tttx-textarea_1_9_62.cjs.entry.js → tttx-textarea_1_9_64.cjs.entry.js} +3 -3
  33. package/dist/cjs/{tttx-toggle_1_9_62.cjs.entry.js → tttx-toggle_1_9_64.cjs.entry.js} +2 -2
  34. package/dist/cjs/{tttx-tree-view_1_9_62.cjs.entry.js → tttx-tree-view_1_9_64.cjs.entry.js} +4 -4
  35. package/dist/cjs/tttx.cjs.js +2 -2
  36. package/dist/collection/collection-manifest.json +2 -0
  37. package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
  38. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +24 -24
  39. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.css +286 -0
  40. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.js +386 -0
  41. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.stories.js +197 -0
  42. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
  43. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
  44. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.js +4 -4
  45. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +10 -10
  46. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
  47. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
  48. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
  49. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
  50. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +1 -1
  51. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +2 -2
  52. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
  53. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
  54. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
  55. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
  56. package/dist/collection/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader.js +1 -1
  57. package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +2 -2
  58. package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
  59. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
  60. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
  61. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.js +2 -2
  62. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +1 -1
  63. package/dist/collection/components/molecules/tttx-chart/tttx-chart.css +61 -0
  64. package/dist/collection/components/molecules/tttx-chart/tttx-chart.js +383 -0
  65. package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +112 -0
  66. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
  67. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
  68. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
  69. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
  70. package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +4 -4
  71. package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +4 -4
  72. package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +1 -1
  73. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
  74. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
  75. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
  76. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
  77. package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
  78. package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
  79. package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
  80. package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
  81. package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
  82. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +8 -8
  83. package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
  84. package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
  85. package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
  86. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
  87. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -7
  88. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
  89. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +6 -6
  90. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +22 -22
  91. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
  92. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
  93. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
  94. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
  95. package/dist/collection/components/molecules/tttx-table/tttx-table.js +1 -1
  96. package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
  97. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
  98. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
  99. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
  100. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
  101. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
  102. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
  103. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
  104. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +1 -1
  105. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
  106. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
  107. package/dist/{cjs/tttx-graph_1_9_62.cjs.entry.js → components/auto.js} +1 -135
  108. package/dist/components/index.d.ts +35 -33
  109. package/dist/components/index.js +35 -33
  110. package/dist/components/tttx-action-dropdown_1_9_64.d.ts +11 -0
  111. package/dist/components/{tttx-action-dropdown_1_9_62.js → tttx-action-dropdown_1_9_64.js} +7 -7
  112. package/dist/components/{tttx-comments_1_9_62.d.ts → tttx-button-v2_1_9_64.d.ts} +4 -4
  113. package/dist/components/tttx-button-v2_1_9_64.js +156 -0
  114. package/dist/components/tttx-button.js +5 -5
  115. package/dist/components/{tttx-dialog_1_9_62.d.ts → tttx-button_1_9_64.d.ts} +4 -4
  116. package/dist/components/{tttx-button_1_9_62.js → tttx-button_1_9_64.js} +2 -2
  117. package/dist/components/{tttx-graph_1_9_62.d.ts → tttx-chart_1_9_64.d.ts} +4 -4
  118. package/dist/components/tttx-chart_1_9_64.js +247 -0
  119. package/dist/components/tttx-checkbox-group-caption_1_9_64.d.ts +11 -0
  120. package/dist/components/{tttx-checkbox-group-caption_1_9_62.js → tttx-checkbox-group-caption_1_9_64.js} +5 -5
  121. package/dist/components/tttx-checkbox-group-heading_1_9_64.d.ts +11 -0
  122. package/dist/components/{tttx-checkbox-group-heading_1_9_62.js → tttx-checkbox-group-heading_1_9_64.js} +5 -5
  123. package/dist/components/tttx-checkbox-group_1_9_64.d.ts +11 -0
  124. package/dist/components/{tttx-checkbox-group_1_9_62.js → tttx-checkbox-group_1_9_64.js} +5 -5
  125. package/dist/components/{tttx-datacard_1_9_62.d.ts → tttx-checkbox_1_9_64.d.ts} +4 -4
  126. package/dist/components/{tttx-checkbox_1_9_62.js → tttx-checkbox_1_9_64.js} +7 -7
  127. package/dist/components/{tttx-checkbox_1_9_62.d.ts → tttx-comments_1_9_64.d.ts} +4 -4
  128. package/dist/components/{tttx-comments_1_9_62.js → tttx-comments_1_9_64.js} +9 -9
  129. package/dist/components/tttx-data-pattern_1_9_64.d.ts +11 -0
  130. package/dist/components/{tttx-data-pattern_1_9_62.js → tttx-data-pattern_1_9_64.js} +16 -16
  131. package/dist/components/tttx-datacard_1_9_64.d.ts +11 -0
  132. package/dist/components/{tttx-datacard_1_9_62.js → tttx-datacard_1_9_64.js} +10 -10
  133. package/dist/components/tttx-date-range-picker.js +3 -3
  134. package/dist/components/tttx-dialog-box_1_9_64.d.ts +11 -0
  135. package/dist/components/{tttx-dialog-box_1_9_62.js → tttx-dialog-box_1_9_64.js} +9 -9
  136. package/dist/components/{tttx-button_1_9_62.d.ts → tttx-dialog_1_9_64.d.ts} +4 -4
  137. package/dist/components/{tttx-dialog_1_9_62.js → tttx-dialog_1_9_64.js} +8 -8
  138. package/dist/components/tttx-expander_1_9_64.d.ts +11 -0
  139. package/dist/components/{tttx-expander_1_9_62.js → tttx-expander_1_9_64.js} +7 -7
  140. package/dist/components/tttx-filter.js +6 -6
  141. package/dist/components/{tttx-filter_1_9_62.d.ts → tttx-filter_1_9_64.d.ts} +4 -4
  142. package/dist/components/{tttx-filter_1_9_62.js → tttx-filter_1_9_64.js} +2 -2
  143. package/dist/components/{tttx-tabs_1_9_62.d.ts → tttx-form_1_9_64.d.ts} +4 -4
  144. package/dist/components/{tttx-form_1_9_62.js → tttx-form_1_9_64.js} +11 -11
  145. package/dist/components/tttx-graph.js +4 -14783
  146. package/dist/components/{tttx-table_1_9_62.d.ts → tttx-graph_1_9_64.d.ts} +4 -4
  147. package/dist/components/{tttx-graph_1_9_62.js → tttx-graph_1_9_64.js} +2 -2
  148. package/dist/components/tttx-icon.js +3 -3
  149. package/dist/components/{tttx-icon_1_9_62.d.ts → tttx-icon_1_9_64.d.ts} +4 -4
  150. package/dist/components/{tttx-icon_1_9_62.js → tttx-icon_1_9_64.js} +2 -2
  151. package/dist/components/tttx-keyvalue-block_1_9_64.d.ts +11 -0
  152. package/dist/components/{tttx-keyvalue-block_1_9_62.js → tttx-keyvalue-block_1_9_64.js} +5 -5
  153. package/dist/components/tttx-list.js +6 -6
  154. package/dist/components/{tttx-list_1_9_62.d.ts → tttx-list_1_9_64.d.ts} +4 -4
  155. package/dist/components/{tttx-list_1_9_62.js → tttx-list_1_9_64.js} +2 -2
  156. package/dist/components/tttx-loading-spinner.js +3 -3
  157. package/dist/components/tttx-loading-spinner_1_9_64.d.ts +11 -0
  158. package/dist/components/{tttx-loading-spinner_1_9_62.js → tttx-loading-spinner_1_9_64.js} +2 -2
  159. package/dist/components/tttx-multiselect-box_1_9_64.d.ts +11 -0
  160. package/dist/components/{tttx-multiselect-box_1_9_62.js → tttx-multiselect-box_1_9_64.js} +16 -16
  161. package/dist/components/tttx-percentage-bar_1_9_64.d.ts +11 -0
  162. package/dist/components/{tttx-percentage-bar_1_9_62.js → tttx-percentage-bar_1_9_64.js} +6 -6
  163. package/dist/components/{tttx-qrcode_1_9_62.d.ts → tttx-qrcode_1_9_64.d.ts} +4 -4
  164. package/dist/components/{tttx-qrcode_1_9_62.js → tttx-qrcode_1_9_64.js} +5 -5
  165. package/dist/components/tttx-select-box.js +12 -12
  166. package/dist/components/tttx-select-box_1_9_64.d.ts +11 -0
  167. package/dist/components/{tttx-select-box_1_9_62.js → tttx-select-box_1_9_64.js} +2 -2
  168. package/dist/components/tttx-skeleton_loader_1_9_64.d.ts +11 -0
  169. package/dist/components/{tttx-skeleton_loader_1_9_62.js → tttx-skeleton_loader_1_9_64.js} +5 -5
  170. package/dist/components/tttx-sorter.js +5 -5
  171. package/dist/components/tttx-sorter_1_9_64.d.ts +11 -0
  172. package/dist/components/{tttx-sorter_1_9_62.js → tttx-sorter_1_9_64.js} +2 -2
  173. package/dist/components/tttx-standalone-input.js +6 -6
  174. package/dist/components/tttx-standalone-input_1_9_64.d.ts +11 -0
  175. package/dist/components/{tttx-standalone-input_1_9_62.js → tttx-standalone-input_1_9_64.js} +2 -2
  176. package/dist/components/tttx-table_1_9_64.d.ts +11 -0
  177. package/dist/components/{tttx-table_1_9_62.js → tttx-table_1_9_64.js} +5 -5
  178. package/dist/components/{tttx-form_1_9_62.d.ts → tttx-tabs_1_9_64.d.ts} +4 -4
  179. package/dist/components/{tttx-tabs_1_9_62.js → tttx-tabs_1_9_64.js} +9 -9
  180. package/dist/components/tttx-tag.js +5 -5
  181. package/dist/components/{tttx-tag_1_9_62.d.ts → tttx-tag_1_9_64.d.ts} +4 -4
  182. package/dist/components/{tttx-tag_1_9_62.js → tttx-tag_1_9_64.js} +2 -2
  183. package/dist/components/tttx-textarea_1_9_64.d.ts +11 -0
  184. package/dist/components/{tttx-textarea_1_9_62.js → tttx-textarea_1_9_64.js} +6 -6
  185. package/dist/components/tttx-toggle_1_9_64.d.ts +11 -0
  186. package/dist/components/{tttx-toggle_1_9_62.js → tttx-toggle_1_9_64.js} +5 -5
  187. package/dist/components/tttx-toolbar.js +3 -3
  188. package/dist/components/tttx-toolbar_1_9_64.d.ts +11 -0
  189. package/dist/components/{tttx-toolbar_1_9_62.js → tttx-toolbar_1_9_64.js} +2 -2
  190. package/dist/components/tttx-tree-view_1_9_64.d.ts +11 -0
  191. package/dist/components/{tttx-tree-view_1_9_62.js → tttx-tree-view_1_9_64.js} +9 -9
  192. package/dist/esm/auto-c6e6ac5c.js +14781 -0
  193. package/dist/esm/{index-3d473f8b.js → index-6b9af9c9.js} +12 -0
  194. package/dist/esm/loader.js +3 -3
  195. package/dist/esm/{tttx-action-dropdown_1_9_62.entry.js → tttx-action-dropdown_1_9_64.entry.js} +3 -3
  196. package/dist/esm/tttx-button-v2_1_9_64.entry.js +117 -0
  197. package/dist/esm/{tttx-button_1_9_62.entry.js → tttx-button_1_9_64.entry.js} +3 -3
  198. package/dist/esm/tttx-chart_1_9_64.entry.js +199 -0
  199. package/dist/esm/{tttx-checkbox-group-caption_1_9_62.entry.js → tttx-checkbox-group-caption_1_9_64.entry.js} +2 -2
  200. package/dist/esm/{tttx-checkbox-group-heading_1_9_62.entry.js → tttx-checkbox-group-heading_1_9_64.entry.js} +2 -2
  201. package/dist/esm/{tttx-checkbox-group_1_9_62.entry.js → tttx-checkbox-group_1_9_64.entry.js} +2 -2
  202. package/dist/esm/{tttx-checkbox_1_9_62.entry.js → tttx-checkbox_1_9_64.entry.js} +3 -3
  203. package/dist/esm/{tttx-comments_1_9_62.entry.js → tttx-comments_1_9_64.entry.js} +5 -5
  204. package/dist/esm/{tttx-data-pattern_1_9_62.entry.js → tttx-data-pattern_1_9_64.entry.js} +6 -6
  205. package/dist/esm/{tttx-datacard_1_9_62.entry.js → tttx-datacard_1_9_64.entry.js} +5 -5
  206. package/dist/esm/tttx-date-range-picker.entry.js +2 -2
  207. package/dist/esm/{tttx-dialog-box_1_9_62.entry.js → tttx-dialog-box_1_9_64.entry.js} +4 -4
  208. package/dist/esm/{tttx-dialog_1_9_62.entry.js → tttx-dialog_1_9_64.entry.js} +3 -3
  209. package/dist/esm/{tttx-expander_1_9_62.entry.js → tttx-expander_1_9_64.entry.js} +3 -3
  210. package/dist/esm/{tttx-filter_1_9_62_4.entry.js → tttx-filter_1_9_64_4.entry.js} +7 -7
  211. package/dist/esm/{tttx-form_1_9_62.entry.js → tttx-form_1_9_64.entry.js} +3 -3
  212. package/dist/esm/tttx-graph_1_9_64.entry.js +132 -0
  213. package/dist/esm/{tttx-icon_1_9_62.entry.js → tttx-icon_1_9_64.entry.js} +2 -2
  214. package/dist/esm/{tttx-keyvalue-block_1_9_62.entry.js → tttx-keyvalue-block_1_9_64.entry.js} +2 -2
  215. package/dist/esm/{tttx-loading-spinner_1_9_62_3.entry.js → tttx-loading-spinner_1_9_64_3.entry.js} +5 -5
  216. package/dist/esm/{tttx-multiselect-box_1_9_62.entry.js → tttx-multiselect-box_1_9_64.entry.js} +8 -8
  217. package/dist/esm/{tttx-percentage-bar_1_9_62.entry.js → tttx-percentage-bar_1_9_64.entry.js} +3 -3
  218. package/dist/esm/{tttx-qrcode_1_9_62.entry.js → tttx-qrcode_1_9_64.entry.js} +2 -2
  219. package/dist/esm/{tttx-select-box_1_9_62.entry.js → tttx-select-box_1_9_64.entry.js} +7 -7
  220. package/dist/esm/{tttx-skeleton_loader_1_9_62.entry.js → tttx-skeleton_loader_1_9_64.entry.js} +2 -2
  221. package/dist/esm/{tttx-table_1_9_62.entry.js → tttx-table_1_9_64.entry.js} +2 -2
  222. package/dist/esm/{tttx-tabs_1_9_62.entry.js → tttx-tabs_1_9_64.entry.js} +5 -5
  223. package/dist/esm/{tttx-textarea_1_9_62.entry.js → tttx-textarea_1_9_64.entry.js} +3 -3
  224. package/dist/esm/{tttx-toggle_1_9_62.entry.js → tttx-toggle_1_9_64.entry.js} +2 -2
  225. package/dist/esm/{tttx-tree-view_1_9_62.entry.js → tttx-tree-view_1_9_64.entry.js} +4 -4
  226. package/dist/esm/tttx.js +3 -3
  227. package/dist/tttx/{p-477b66de.entry.js → p-04acb4f7.entry.js} +1 -1
  228. package/dist/tttx/{p-f1e945ba.entry.js → p-1b8af0a1.entry.js} +1 -1
  229. package/dist/tttx/p-1c0db631.entry.js +1 -0
  230. package/dist/tttx/{p-b44ddcb7.entry.js → p-210a3640.entry.js} +1 -1
  231. package/dist/tttx/{p-7bfa4e1e.entry.js → p-28528c3a.entry.js} +1 -1
  232. package/dist/tttx/{p-1814eb61.entry.js → p-28902955.entry.js} +1 -1
  233. package/dist/tttx/{p-bc8c1d08.entry.js → p-2a6e57b3.entry.js} +1 -1
  234. package/dist/tttx/p-39bb618e.js +19 -0
  235. package/dist/tttx/{p-d62c8ed2.entry.js → p-46853736.entry.js} +1 -1
  236. package/dist/tttx/{p-a800aa5d.entry.js → p-46933761.entry.js} +1 -1
  237. package/dist/tttx/{p-a1ba99fb.entry.js → p-46985553.entry.js} +1 -1
  238. package/dist/tttx/{p-cb3b393b.entry.js → p-478169f8.entry.js} +1 -1
  239. package/dist/tttx/{p-b4b5e1e1.entry.js → p-4bc84dcf.entry.js} +1 -1
  240. package/dist/tttx/{p-54060e46.entry.js → p-4e8dee24.entry.js} +1 -1
  241. package/dist/tttx/p-655cebb7.entry.js +1 -0
  242. package/dist/tttx/{p-2636cba4.entry.js → p-6ae828ed.entry.js} +1 -1
  243. package/dist/tttx/{p-24eef142.entry.js → p-72aa3209.entry.js} +1 -1
  244. package/dist/tttx/p-753a802a.entry.js +1 -0
  245. package/dist/tttx/{p-13d3d63c.entry.js → p-79a18842.entry.js} +1 -1
  246. package/dist/tttx/{p-218f3309.entry.js → p-8db27f20.entry.js} +1 -1
  247. package/dist/tttx/{p-972b7449.entry.js → p-92b48e8e.entry.js} +1 -1
  248. package/dist/tttx/{p-8be90d8a.entry.js → p-95ea704b.entry.js} +1 -1
  249. package/dist/tttx/{p-edf27c73.entry.js → p-964b5e1a.entry.js} +1 -1
  250. package/dist/tttx/{p-e84965f0.entry.js → p-99cee169.entry.js} +1 -1
  251. package/dist/tttx/{p-a474dc05.entry.js → p-a380f600.entry.js} +1 -1
  252. package/dist/tttx/{p-2b0fc913.js → p-c2a82822.js} +1 -1
  253. package/dist/tttx/{p-fac3056d.entry.js → p-ce6a69bc.entry.js} +1 -1
  254. package/dist/tttx/{p-61af5028.entry.js → p-cfc7f861.entry.js} +1 -1
  255. package/dist/tttx/{p-19294325.entry.js → p-e0bd4daa.entry.js} +1 -1
  256. package/dist/tttx/{p-67f75171.entry.js → p-e7c92d26.entry.js} +1 -1
  257. package/dist/tttx/{p-acb9e007.entry.js → p-e8d02dd3.entry.js} +1 -1
  258. package/dist/tttx/{p-5f35edd8.entry.js → p-eda88cd9.entry.js} +1 -1
  259. package/dist/tttx/{p-7c7e8951.entry.js → p-ffb09d64.entry.js} +1 -1
  260. package/dist/tttx/tttx.esm.js +1 -1
  261. package/dist/types/components/atoms/tttx-button-v2/tttx-button-v2.d.ts +32 -0
  262. package/dist/types/components/atoms/tttx-button-v2/tttx-button-v2.stories.d.ts +64 -0
  263. package/dist/types/components/molecules/tttx-chart/tttx-chart.d.ts +42 -0
  264. package/dist/types/components/molecules/tttx-chart/tttx-chart.stories.d.ts +11 -0
  265. package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
  266. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
  267. package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
  268. package/dist/types/components.d.ts +490 -395
  269. package/package.json +1 -1
  270. package/dist/components/tttx-action-dropdown_1_9_62.d.ts +0 -11
  271. package/dist/components/tttx-checkbox-group-caption_1_9_62.d.ts +0 -11
  272. package/dist/components/tttx-checkbox-group-heading_1_9_62.d.ts +0 -11
  273. package/dist/components/tttx-checkbox-group_1_9_62.d.ts +0 -11
  274. package/dist/components/tttx-data-pattern_1_9_62.d.ts +0 -11
  275. package/dist/components/tttx-dialog-box_1_9_62.d.ts +0 -11
  276. package/dist/components/tttx-expander_1_9_62.d.ts +0 -11
  277. package/dist/components/tttx-keyvalue-block_1_9_62.d.ts +0 -11
  278. package/dist/components/tttx-loading-spinner_1_9_62.d.ts +0 -11
  279. package/dist/components/tttx-multiselect-box_1_9_62.d.ts +0 -11
  280. package/dist/components/tttx-percentage-bar_1_9_62.d.ts +0 -11
  281. package/dist/components/tttx-select-box_1_9_62.d.ts +0 -11
  282. package/dist/components/tttx-skeleton_loader_1_9_62.d.ts +0 -11
  283. package/dist/components/tttx-sorter_1_9_62.d.ts +0 -11
  284. package/dist/components/tttx-standalone-input_1_9_62.d.ts +0 -11
  285. package/dist/components/tttx-textarea_1_9_62.d.ts +0 -11
  286. package/dist/components/tttx-toggle_1_9_62.d.ts +0 -11
  287. package/dist/components/tttx-toolbar_1_9_62.d.ts +0 -11
  288. package/dist/components/tttx-tree-view_1_9_62.d.ts +0 -11
  289. package/dist/tttx/p-bbecd0d9.entry.js +0 -19
@@ -0,0 +1,247 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
+ import { C as Chart } from './auto.js';
3
+ import { d as defineCustomElement$4 } from './tttx-button.js';
4
+ import { d as defineCustomElement$3 } from './tttx-icon.js';
5
+ import { d as defineCustomElement$2 } from './tttx-loading-spinner.js';
6
+
7
+ const tttxChartCss = ".chart-wrapper{position:relative;width:100%;height:100%}canvas{display:block;width:100% !important;height:100% !important}.export-buttons{display:flex;gap:0.5rem;justify-content:flex-end;padding-top:0.5rem;padding-bottom:0.5rem}.chart-loading{width:100%;height:100%;align-items:center;justify-content:center;display:flex}.error-content{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;align-self:stretch}.error-content .error-heading{color:var(--Text-Default-Default, #111);text-align:center;font-family:Roboto;font-size:14px;font-style:normal;font-weight:600;line-height:20px}.error-content .error-message{color:var(--Text-Neutral-Default, #737373);text-align:center;font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:20px}.error-content .error-actions{display:flex;align-items:flex-start;gap:12px}";
8
+
9
+ const TttxChart = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
10
+ constructor() {
11
+ super();
12
+ this.__registerHost();
13
+ this.__attachShadow();
14
+ this.exportCSV = createEvent(this, "exportCSV", 7);
15
+ this.chartType = undefined;
16
+ this.chartData = undefined;
17
+ this.chartOptions = undefined;
18
+ this.loading = false;
19
+ this.error = undefined;
20
+ this.fallbackText = 'No data available';
21
+ this.width = '100%';
22
+ this.height = 'auto';
23
+ this.exportable = false;
24
+ this.chartInstance = undefined;
25
+ this.showPngSvgExport = false;
26
+ }
27
+ handleUpdate() {
28
+ this.renderChart();
29
+ }
30
+ componentDidLoad() {
31
+ this.renderChart();
32
+ }
33
+ disconnectedCallback() {
34
+ this.destroyChart();
35
+ }
36
+ renderChart() {
37
+ var _a, _b;
38
+ if (!this.canvasEl || !this.chartData || !this.chartType)
39
+ return;
40
+ this.destroyChart();
41
+ const config = {
42
+ type: this.getChartJsType(),
43
+ data: this.chartData,
44
+ options: this.getChartOptions(),
45
+ plugins: []
46
+ };
47
+ if (this.chartType === 'doughnut' || this.chartType === 'semi-gauge') {
48
+ const total = ((_b = (_a = this.chartData.datasets[0]) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.map((d) => Number(d) || 0).reduce((a, b) => a + b, 0)) || 0;
49
+ config.plugins.push(this.getCenterTextPlugin(total.toLocaleString()));
50
+ }
51
+ this.chartInstance = new Chart(this.canvasEl, config);
52
+ }
53
+ destroyChart() {
54
+ if (this.chartInstance) {
55
+ this.chartInstance.destroy();
56
+ }
57
+ }
58
+ getChartJsType() {
59
+ if (this.chartType === 'semi-gauge')
60
+ return 'doughnut';
61
+ return this.chartType;
62
+ }
63
+ getBaseOptions() {
64
+ return {
65
+ responsive: true,
66
+ maintainAspectRatio: false,
67
+ plugins: {
68
+ legend: {
69
+ display: true,
70
+ position: 'bottom',
71
+ labels: {
72
+ usePointStyle: true,
73
+ pointStyle: 'circle',
74
+ },
75
+ },
76
+ tooltip: {
77
+ callbacks: {
78
+ label: (ctx) => `${ctx.label || ctx.dataset.label}: ${ctx.formattedValue}`,
79
+ },
80
+ },
81
+ },
82
+ };
83
+ }
84
+ getLineChartConfig() {
85
+ return {
86
+ plugins: {
87
+ legend: {
88
+ labels: { usePointStyle: true, pointStyle: 'line' },
89
+ },
90
+ tooltip: {
91
+ callbacks: {
92
+ label: (ctx) => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
93
+ },
94
+ },
95
+ },
96
+ scales: {
97
+ x: { grid: { color: '#e5e5e5' } },
98
+ y: {
99
+ beginAtZero: true,
100
+ max: 100,
101
+ ticks: { callback: (val) => `${val}%` },
102
+ grid: { color: '#e5e5e5' },
103
+ },
104
+ },
105
+ };
106
+ }
107
+ getDoughnutChartConfig() {
108
+ return {
109
+ plugins: {
110
+ legend: { labels: { pointStyle: 'circle', padding: 16, } },
111
+ },
112
+ cutout: '60%'
113
+ };
114
+ }
115
+ getCenterTextPlugin(value) {
116
+ return {
117
+ id: 'centerText',
118
+ afterDatasetsDraw: (chart) => {
119
+ const { ctx } = chart;
120
+ ctx.save();
121
+ const x = chart.getDatasetMeta(0).data[0].x;
122
+ let y = chart.getDatasetMeta(0).data[0].y;
123
+ if (this.chartType === 'semi-gauge') {
124
+ y -= 20;
125
+ }
126
+ ctx.font = 'bold 20px Roboto';
127
+ ctx.fillStyle = '#111';
128
+ ctx.textAlign = 'center';
129
+ ctx.textBaseline = 'middle';
130
+ ctx.fillText(value, x, y);
131
+ },
132
+ };
133
+ }
134
+ getSemiGaugeChartConfig() {
135
+ return {
136
+ plugins: {
137
+ legend: { labels: { pointStyle: 'circle', padding: 16, } },
138
+ },
139
+ rotation: -90,
140
+ circumference: 180,
141
+ cutout: '70%',
142
+ };
143
+ }
144
+ merge(target, source) {
145
+ if (typeof target !== 'object' || typeof source !== 'object')
146
+ return source;
147
+ for (const key of Object.keys(source)) {
148
+ if (source[key] instanceof Object && key in target) {
149
+ target[key] = this.merge(Object.assign({}, target[key]), source[key]);
150
+ }
151
+ else {
152
+ target[key] = source[key];
153
+ }
154
+ }
155
+ return target;
156
+ }
157
+ getChartOptions() {
158
+ const base = this.getBaseOptions();
159
+ let specific = {};
160
+ if (this.chartType === 'line')
161
+ specific = this.getLineChartConfig();
162
+ else if (this.chartType === 'doughnut')
163
+ specific = this.getDoughnutChartConfig();
164
+ else if (this.chartType === 'semi-gauge')
165
+ specific = this.getSemiGaugeChartConfig();
166
+ return this.merge(this.merge(base, specific), this.chartOptions || {});
167
+ }
168
+ exportChart(format) {
169
+ if (!this.chartInstance)
170
+ return;
171
+ const link = document.createElement('a');
172
+ link.download = `chart-export.${format}`;
173
+ if (format === 'png') {
174
+ link.href = this.chartInstance.toBase64Image('image/png');
175
+ }
176
+ else {
177
+ const svgData = new XMLSerializer().serializeToString(this.canvasEl);
178
+ const blob = new Blob([svgData], { type: 'image/svg+xml' });
179
+ link.href = URL.createObjectURL(blob);
180
+ }
181
+ link.click();
182
+ }
183
+ getErrorContent() {
184
+ return this.commonContent('warning', 'Something went wrong', 'We ran into an issue while trying to load this widget.', '#DC0000', true);
185
+ }
186
+ getNoDataContent() {
187
+ return this.commonContent('ssid_chart', 'No data available', 'There is currently no data available to show performance trends.', '#111');
188
+ }
189
+ commonContent(iconName, heading, message, iconColor, showActions = false) {
190
+ return (h("div", { class: "error-content" }, h("tttx-icon_1_9_64", { icon: iconName, color: iconColor, size: 48 }), h("span", { class: 'error-heading' }, heading), h("span", { class: 'error-message' }, message), showActions && h("div", { class: "error-actions" }, h("tttx-button_1_9_64", { class: 'reload-btn', icon: "refresh", design: 'default', onClick: () => this.renderChart() }, "Reload data"), h("tttx-button_1_9_64", { class: 'support-btn', icon: "help", design: "primary", onClick: () => this.renderChart() }, "Contact support"))));
191
+ }
192
+ render() {
193
+ var _a, _b, _c;
194
+ return (h("div", { class: "chart-wrapper", style: { width: this.width, height: this.height } }, this.loading && h("div", { class: "chart-loading" }, h("tttx-loading-spinner_1_9_64", { size: 'large', color: '#2b9ab7' })), this.error && this.getErrorContent(), !this.loading && !this.error && (!this.chartData || !((_a = this.chartData.datasets) === null || _a === void 0 ? void 0 : _a.length)) && (this.getNoDataContent()), !this.loading && !this.error && ((_c = (_b = this.chartData) === null || _b === void 0 ? void 0 : _b.datasets) === null || _c === void 0 ? void 0 : _c.length) > 0 && (h("canvas", { ref: el => (this.canvasEl = el), "aria-label": "Chart canvas", role: "img" })), this.exportable && !this.loading && !this.error && (h("div", { class: "export-buttons" }, this.showPngSvgExport && h("tttx-button_1_9_64", { class: 'export-png', design: "primary", onClick: () => this.exportChart('png') }, "Export PNG"), this.showPngSvgExport && h("tttx-button_1_9_64", { class: 'export-svg', design: "primary", onClick: () => this.exportChart('svg') }, "Export SVG"), h("tttx-button_1_9_64", { class: 'export-csv', design: "primary", onClick: () => this.exportCSV.emit({ name: this.chartType }) }, "Export CSV")))));
195
+ }
196
+ get el() { return this; }
197
+ static get watchers() { return {
198
+ "chartData": ["handleUpdate"],
199
+ "chartOptions": ["handleUpdate"]
200
+ }; }
201
+ static get style() { return tttxChartCss; }
202
+ }, [1, "tttx-chart_1_9_64", {
203
+ "chartType": [1, "chart-type"],
204
+ "chartData": [16],
205
+ "chartOptions": [16],
206
+ "loading": [4],
207
+ "error": [4],
208
+ "fallbackText": [1, "fallback-text"],
209
+ "width": [1],
210
+ "height": [1],
211
+ "exportable": [32],
212
+ "chartInstance": [32],
213
+ "showPngSvgExport": [32]
214
+ }]);
215
+ function defineCustomElement$1() {
216
+ if (typeof customElements === "undefined") {
217
+ return;
218
+ }
219
+ const components = ["tttx-chart_1_9_64", "tttx-button_1_9_64", "tttx-icon_1_9_64", "tttx-loading-spinner_1_9_64"];
220
+ components.forEach(tagName => { switch (tagName) {
221
+ case "tttx-chart_1_9_64":
222
+ if (!customElements.get(tagName)) {
223
+ customElements.define(tagName, TttxChart);
224
+ }
225
+ break;
226
+ case "tttx-button_1_9_64":
227
+ if (!customElements.get(tagName)) {
228
+ defineCustomElement$4();
229
+ }
230
+ break;
231
+ case "tttx-icon_1_9_64":
232
+ if (!customElements.get(tagName)) {
233
+ defineCustomElement$3();
234
+ }
235
+ break;
236
+ case "tttx-loading-spinner_1_9_64":
237
+ if (!customElements.get(tagName)) {
238
+ defineCustomElement$2();
239
+ }
240
+ break;
241
+ } });
242
+ }
243
+
244
+ const TttxChart_1_9_64 = TttxChart;
245
+ const defineCustomElement = defineCustomElement$1;
246
+
247
+ export { TttxChart_1_9_64, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TttxCheckboxGroupCaption_1_9_64 extends Components.TttxCheckboxGroupCaption_1_9_64, HTMLElement {}
4
+ export const TttxCheckboxGroupCaption_1_9_64: {
5
+ prototype: TttxCheckboxGroupCaption_1_9_64;
6
+ new (): TttxCheckboxGroupCaption_1_9_64;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -11,14 +11,14 @@ const TttxCheckboxGroupCaption = /*@__PURE__*/ proxyCustomElement(class extends
11
11
  return (h(Host, null, h("div", { class: 'tttx-checkbox-group__caption' }, h("slot", null))));
12
12
  }
13
13
  static get style() { return tttxCheckboxGroupCss; }
14
- }, [4, "tttx-checkbox-group-caption_1_9_62"]);
14
+ }, [4, "tttx-checkbox-group-caption_1_9_64"]);
15
15
  function defineCustomElement$1() {
16
16
  if (typeof customElements === "undefined") {
17
17
  return;
18
18
  }
19
- const components = ["tttx-checkbox-group-caption_1_9_62"];
19
+ const components = ["tttx-checkbox-group-caption_1_9_64"];
20
20
  components.forEach(tagName => { switch (tagName) {
21
- case "tttx-checkbox-group-caption_1_9_62":
21
+ case "tttx-checkbox-group-caption_1_9_64":
22
22
  if (!customElements.get(tagName)) {
23
23
  customElements.define(tagName, TttxCheckboxGroupCaption);
24
24
  }
@@ -26,7 +26,7 @@ function defineCustomElement$1() {
26
26
  } });
27
27
  }
28
28
 
29
- const TttxCheckboxGroupCaption_1_9_62 = TttxCheckboxGroupCaption;
29
+ const TttxCheckboxGroupCaption_1_9_64 = TttxCheckboxGroupCaption;
30
30
  const defineCustomElement = defineCustomElement$1;
31
31
 
32
- export { TttxCheckboxGroupCaption_1_9_62, defineCustomElement };
32
+ export { TttxCheckboxGroupCaption_1_9_64, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TttxCheckboxGroupHeading_1_9_64 extends Components.TttxCheckboxGroupHeading_1_9_64, HTMLElement {}
4
+ export const TttxCheckboxGroupHeading_1_9_64: {
5
+ prototype: TttxCheckboxGroupHeading_1_9_64;
6
+ new (): TttxCheckboxGroupHeading_1_9_64;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -11,14 +11,14 @@ const TttxCheckboxGroupHeading = /*@__PURE__*/ proxyCustomElement(class extends
11
11
  return (h(Host, null, h("div", { class: 'tttx-checkbox-group__heading' }, h("slot", null))));
12
12
  }
13
13
  static get style() { return tttxCheckboxGroupCss; }
14
- }, [4, "tttx-checkbox-group-heading_1_9_62"]);
14
+ }, [4, "tttx-checkbox-group-heading_1_9_64"]);
15
15
  function defineCustomElement$1() {
16
16
  if (typeof customElements === "undefined") {
17
17
  return;
18
18
  }
19
- const components = ["tttx-checkbox-group-heading_1_9_62"];
19
+ const components = ["tttx-checkbox-group-heading_1_9_64"];
20
20
  components.forEach(tagName => { switch (tagName) {
21
- case "tttx-checkbox-group-heading_1_9_62":
21
+ case "tttx-checkbox-group-heading_1_9_64":
22
22
  if (!customElements.get(tagName)) {
23
23
  customElements.define(tagName, TttxCheckboxGroupHeading);
24
24
  }
@@ -26,7 +26,7 @@ function defineCustomElement$1() {
26
26
  } });
27
27
  }
28
28
 
29
- const TttxCheckboxGroupHeading_1_9_62 = TttxCheckboxGroupHeading;
29
+ const TttxCheckboxGroupHeading_1_9_64 = TttxCheckboxGroupHeading;
30
30
  const defineCustomElement = defineCustomElement$1;
31
31
 
32
- export { TttxCheckboxGroupHeading_1_9_62, defineCustomElement };
32
+ export { TttxCheckboxGroupHeading_1_9_64, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TttxCheckboxGroup_1_9_64 extends Components.TttxCheckboxGroup_1_9_64, HTMLElement {}
4
+ export const TttxCheckboxGroup_1_9_64: {
5
+ prototype: TttxCheckboxGroup_1_9_64;
6
+ new (): TttxCheckboxGroup_1_9_64;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -12,14 +12,14 @@ const TttxCheckboxGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
12
12
  return (h(Host, null, h("div", { class: 'tttx-checkbox-group' }, h("slot", null))));
13
13
  }
14
14
  static get style() { return tttxCheckboxGroupCss; }
15
- }, [1, "tttx-checkbox-group_1_9_62"]);
15
+ }, [1, "tttx-checkbox-group_1_9_64"]);
16
16
  function defineCustomElement$1() {
17
17
  if (typeof customElements === "undefined") {
18
18
  return;
19
19
  }
20
- const components = ["tttx-checkbox-group_1_9_62"];
20
+ const components = ["tttx-checkbox-group_1_9_64"];
21
21
  components.forEach(tagName => { switch (tagName) {
22
- case "tttx-checkbox-group_1_9_62":
22
+ case "tttx-checkbox-group_1_9_64":
23
23
  if (!customElements.get(tagName)) {
24
24
  customElements.define(tagName, TttxCheckboxGroup);
25
25
  }
@@ -27,7 +27,7 @@ function defineCustomElement$1() {
27
27
  } });
28
28
  }
29
29
 
30
- const TttxCheckboxGroup_1_9_62 = TttxCheckboxGroup;
30
+ const TttxCheckboxGroup_1_9_64 = TttxCheckboxGroup;
31
31
  const defineCustomElement = defineCustomElement$1;
32
32
 
33
- export { TttxCheckboxGroup_1_9_62, defineCustomElement };
33
+ export { TttxCheckboxGroup_1_9_64, defineCustomElement };
@@ -1,9 +1,9 @@
1
1
  import type { Components, JSX } from "../types/components";
2
2
 
3
- interface TttxDatacard_1_9_62 extends Components.TttxDatacard_1_9_62, HTMLElement {}
4
- export const TttxDatacard_1_9_62: {
5
- prototype: TttxDatacard_1_9_62;
6
- new (): TttxDatacard_1_9_62;
3
+ interface TttxCheckbox_1_9_64 extends Components.TttxCheckbox_1_9_64, HTMLElement {}
4
+ export const TttxCheckbox_1_9_64: {
5
+ prototype: TttxCheckbox_1_9_64;
6
+ new (): TttxCheckbox_1_9_64;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -30,13 +30,13 @@ const TttxCheckbox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
30
30
  render() {
31
31
  const checkBoxIcon = this.checked ? 'check_box' : 'check_box_outline_blank';
32
32
  const renderedIcon = this.indeterminate ? 'indeterminate_check_box' : checkBoxIcon;
33
- return (h(Host, null, h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), h("tttx-icon_1_9_62", { color: this.checked ? 'blue' : 'grey', icon: renderedIcon, onClick: this.onClick.bind(this) }), h("span", { class: "tttx-checkbox__label" }, this.label))));
33
+ return (h(Host, null, h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), h("tttx-icon_1_9_64", { color: this.checked ? 'blue' : 'grey', icon: renderedIcon, onClick: this.onClick.bind(this) }), h("span", { class: "tttx-checkbox__label" }, this.label))));
34
34
  }
35
35
  static get watchers() { return {
36
36
  "indeterminate": ["watchIndeterminateChange"]
37
37
  }; }
38
38
  static get style() { return tttxCheckboxCss; }
39
- }, [0, "tttx-checkbox_1_9_62", {
39
+ }, [0, "tttx-checkbox_1_9_64", {
40
40
  "checkboxId": [1, "checkbox-id"],
41
41
  "label": [1],
42
42
  "inline": [4],
@@ -47,14 +47,14 @@ function defineCustomElement$1() {
47
47
  if (typeof customElements === "undefined") {
48
48
  return;
49
49
  }
50
- const components = ["tttx-checkbox_1_9_62", "tttx-icon_1_9_62"];
50
+ const components = ["tttx-checkbox_1_9_64", "tttx-icon_1_9_64"];
51
51
  components.forEach(tagName => { switch (tagName) {
52
- case "tttx-checkbox_1_9_62":
52
+ case "tttx-checkbox_1_9_64":
53
53
  if (!customElements.get(tagName)) {
54
54
  customElements.define(tagName, TttxCheckbox);
55
55
  }
56
56
  break;
57
- case "tttx-icon_1_9_62":
57
+ case "tttx-icon_1_9_64":
58
58
  if (!customElements.get(tagName)) {
59
59
  defineCustomElement$2();
60
60
  }
@@ -62,7 +62,7 @@ function defineCustomElement$1() {
62
62
  } });
63
63
  }
64
64
 
65
- const TttxCheckbox_1_9_62 = TttxCheckbox;
65
+ const TttxCheckbox_1_9_64 = TttxCheckbox;
66
66
  const defineCustomElement = defineCustomElement$1;
67
67
 
68
- export { TttxCheckbox_1_9_62, defineCustomElement };
68
+ export { TttxCheckbox_1_9_64, defineCustomElement };
@@ -1,9 +1,9 @@
1
1
  import type { Components, JSX } from "../types/components";
2
2
 
3
- interface TttxCheckbox_1_9_62 extends Components.TttxCheckbox_1_9_62, HTMLElement {}
4
- export const TttxCheckbox_1_9_62: {
5
- prototype: TttxCheckbox_1_9_62;
6
- new (): TttxCheckbox_1_9_62;
3
+ interface TttxComments_1_9_64 extends Components.TttxComments_1_9_64, HTMLElement {}
4
+ export const TttxComments_1_9_64: {
5
+ prototype: TttxComments_1_9_64;
6
+ new (): TttxComments_1_9_64;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -85,7 +85,7 @@ const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
85
85
  }
86
86
  unreadDividerRendered = unreadDividerRendered || nextIsUnread;
87
87
  return [
88
- h("div", { class: bubbleClass, style: topComment }, firstComment && topDivider, h("div", { class: "bubbleHeader" }, h("div", { class: "bubble-header-inner" }, h("span", { class: "commentName" }, comment.createdByFullName), this.isUnread(comment) && (h("tttx-icon_1_9_62", { class: "unread-symbol", icon: "error", color: "blue", style: { height: '18px' }, size: 18 }))), ((_a = comment.metadata) === null || _a === void 0 ? void 0 : _a.contextString) && (h("span", { class: "commentContext" }, "(", comment.metadata.contextString, ")"))), h("div", { class: `bubbleText ${comment.isDeleted ? 'deleted-comment' : ''}` }, this.renderCommentInner(comment)), h("div", { class: "bubbleFooter" }, !this.readonly && this.allowEditing && isCurrentUser && !comment.isDeleted && !!comment.id && (h("div", null, !this.isFileComment(comment) && (h(Fragment, null, h("span", { class: "clickable", onClick: this.onEdit.bind(this, comment) }, "Edit"), " | ")), h("span", { class: "clickable", onClick: this.onRemove.bind(this, comment) }, "Remove"))), h("span", { class: "comment-date" }, !!comment.lastUpdatedAt && !comment.isDeleted && `Edited ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !!comment.lastUpdatedAt && comment.isDeleted && `Removed ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !comment.lastUpdatedAt && `${new Date(comment.createdAt).toLocaleString(undefined, timestampOptions)}`)), !divider && !isLastComment && h("hr", { class: "commentDivider" }), divider)
88
+ h("div", { class: bubbleClass, style: topComment }, firstComment && topDivider, h("div", { class: "bubbleHeader" }, h("div", { class: "bubble-header-inner" }, h("span", { class: "commentName" }, comment.createdByFullName), this.isUnread(comment) && (h("tttx-icon_1_9_64", { class: "unread-symbol", icon: "error", color: "blue", style: { height: '18px' }, size: 18 }))), ((_a = comment.metadata) === null || _a === void 0 ? void 0 : _a.contextString) && (h("span", { class: "commentContext" }, "(", comment.metadata.contextString, ")"))), h("div", { class: `bubbleText ${comment.isDeleted ? 'deleted-comment' : ''}` }, this.renderCommentInner(comment)), h("div", { class: "bubbleFooter" }, !this.readonly && this.allowEditing && isCurrentUser && !comment.isDeleted && !!comment.id && (h("div", null, !this.isFileComment(comment) && (h(Fragment, null, h("span", { class: "clickable", onClick: this.onEdit.bind(this, comment) }, "Edit"), " | ")), h("span", { class: "clickable", onClick: this.onRemove.bind(this, comment) }, "Remove"))), h("span", { class: "comment-date" }, !!comment.lastUpdatedAt && !comment.isDeleted && `Edited ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !!comment.lastUpdatedAt && comment.isDeleted && `Removed ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !comment.lastUpdatedAt && `${new Date(comment.createdAt).toLocaleString(undefined, timestampOptions)}`)), !divider && !isLastComment && h("hr", { class: "commentDivider" }), divider)
89
89
  ];
90
90
  })));
91
91
  }
@@ -96,7 +96,7 @@ const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
96
96
  return this.isFileComment(comment) ? this.renderFileLink(comment.metadata) : comment.text;
97
97
  }
98
98
  renderFileLink(metadata) {
99
- return (h("div", { class: "file-link-container" }, h("tttx-icon_1_9_62", { icon: "attach_file", color: "black", style: { height: '20px' }, size: 20 }), h("button", { class: "linkButton", type: "button", value: metadata.key, onClick: this.onFileDownloadRequest.bind(this) }, metadata.filename)));
99
+ return (h("div", { class: "file-link-container" }, h("tttx-icon_1_9_64", { icon: "attach_file", color: "black", style: { height: '20px' }, size: 20 }), h("button", { class: "linkButton", type: "button", value: metadata.key, onClick: this.onFileDownloadRequest.bind(this) }, metadata.filename)));
100
100
  }
101
101
  onFormSubmit(event) {
102
102
  // get comment text
@@ -190,13 +190,13 @@ const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
190
190
  this.requestCommentRemoval.emit(comment);
191
191
  }
192
192
  render() {
193
- return (h(Host, null, h("article", { id: "comment-container" }, (!Array.isArray(this._comments) || this._comments.length === 0) && (h("div", { class: "no-comments" }, h("tttx-icon_1_9_62", { class: 'mt-s', icon: "chat_bubble_outline", color: "grey" }), h("span", null, "No comments have been added"))), h("section", { id: "comment-bubbles-section" }, h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), h("section", { id: "input-section" }, !this.readonly && h("form", { onSubmit: this.onFormSubmit.bind(this) }, this.editingComment && (h("div", { class: "cancel-edit-container" }, h("span", { class: "cancel-edit-button clickable", onClick: this.onFinishEdit.bind(this) }, "x"))), h("fieldset", null, h("textarea", { ref: el => this.textInput = el, name: "commentText", required: true, maxlength: `${this.messageLimit}`, placeholder: this.placeholder, onInput: (e) => this.onCommentFieldChange(e), style: { '--textarea-max-height': `${this.inputBoxHeight}px` }, class: "comment-textarea", value: this.value, onBlur: this.handleBlur.bind(this) })), this.showError && (h("span", { class: 'errorBubble visible' }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", `${this.messageLimit} character limit is reached.`)), h("fieldset", null, this.editingComment && (h("span", { class: 'editing-sub-text' }, "Editing comment")), !this.disableFile && (h("button", { id: "attach-file", class: "flex-right-align clickable", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, h("tttx-icon_1_9_62", { color: "black", icon: "attach_file" }))), h("input", { class: (this.disableFile ? 'flex-right-align ' : '') + 'clickable', style: { width: 'fit-content' }, type: "submit", value: this._saveButtonText })))))));
193
+ return (h(Host, null, h("article", { id: "comment-container" }, (!Array.isArray(this._comments) || this._comments.length === 0) && (h("div", { class: "no-comments" }, h("tttx-icon_1_9_64", { class: 'mt-s', icon: "chat_bubble_outline", color: "grey" }), h("span", null, "No comments have been added"))), h("section", { id: "comment-bubbles-section" }, h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), h("section", { id: "input-section" }, !this.readonly && h("form", { onSubmit: this.onFormSubmit.bind(this) }, this.editingComment && (h("div", { class: "cancel-edit-container" }, h("span", { class: "cancel-edit-button clickable", onClick: this.onFinishEdit.bind(this) }, "x"))), h("fieldset", null, h("textarea", { ref: el => this.textInput = el, name: "commentText", required: true, maxlength: `${this.messageLimit}`, placeholder: this.placeholder, onInput: (e) => this.onCommentFieldChange(e), style: { '--textarea-max-height': `${this.inputBoxHeight}px` }, class: "comment-textarea", value: this.value, onBlur: this.handleBlur.bind(this) })), this.showError && (h("span", { class: 'errorBubble visible' }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", `${this.messageLimit} character limit is reached.`)), h("fieldset", null, this.editingComment && (h("span", { class: 'editing-sub-text' }, "Editing comment")), !this.disableFile && (h("button", { id: "attach-file", class: "flex-right-align clickable", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, h("tttx-icon_1_9_64", { color: "black", icon: "attach_file" }))), h("input", { class: (this.disableFile ? 'flex-right-align ' : '') + 'clickable', style: { width: 'fit-content' }, type: "submit", value: this._saveButtonText })))))));
194
194
  }
195
195
  static get watchers() { return {
196
196
  "comments": ["onCommentsChange"]
197
197
  }; }
198
198
  static get style() { return tttxCommentsCss; }
199
- }, [1, "tttx-comments_1_9_62", {
199
+ }, [1, "tttx-comments_1_9_64", {
200
200
  "currentuser": [1],
201
201
  "comments": [1],
202
202
  "disableFile": [4, "disable-file"],
@@ -229,14 +229,14 @@ function defineCustomElement$1() {
229
229
  if (typeof customElements === "undefined") {
230
230
  return;
231
231
  }
232
- const components = ["tttx-comments_1_9_62", "tttx-icon_1_9_62"];
232
+ const components = ["tttx-comments_1_9_64", "tttx-icon_1_9_64"];
233
233
  components.forEach(tagName => { switch (tagName) {
234
- case "tttx-comments_1_9_62":
234
+ case "tttx-comments_1_9_64":
235
235
  if (!customElements.get(tagName)) {
236
236
  customElements.define(tagName, TttxComments);
237
237
  }
238
238
  break;
239
- case "tttx-icon_1_9_62":
239
+ case "tttx-icon_1_9_64":
240
240
  if (!customElements.get(tagName)) {
241
241
  defineCustomElement$2();
242
242
  }
@@ -244,7 +244,7 @@ function defineCustomElement$1() {
244
244
  } });
245
245
  }
246
246
 
247
- const TttxComments_1_9_62 = TttxComments;
247
+ const TttxComments_1_9_64 = TttxComments;
248
248
  const defineCustomElement = defineCustomElement$1;
249
249
 
250
- export { TttxComments_1_9_62, defineCustomElement };
250
+ export { TttxComments_1_9_64, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TttxDataPattern_1_9_64 extends Components.TttxDataPattern_1_9_64, HTMLElement {}
4
+ export const TttxDataPattern_1_9_64: {
5
+ prototype: TttxDataPattern_1_9_64;
6
+ new (): TttxDataPattern_1_9_64;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -24,13 +24,13 @@ const TttxDataPattern = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
24
24
  this.addbutton = false;
25
25
  }
26
26
  render() {
27
- return (h(Host, null, h("div", { class: "container" }, h("tttx-toolbar_1_9_62", { border: true }, h("span", { slot: "before" }, this.sorterOptions &&
28
- h("tttx-sorter_1_9_62", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
29
- h("tttx-filter_1_9_62", { "filter-options": JSON.stringify(this.filterOptions), showSelectAll: false, "show-option-icons": true, "filter-header": this.filterHeader, "filter-key": "data-pattern-list" })), h("span", { slot: "after" }, h("tttx-standalone-input_1_9_62", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), h("tttx-toolbar_1_9_62", { border: false }, h("span", { slot: "before" }, this.addbutton &&
30
- h("tttx-button_1_9_62", { design: "primary", icon: "add" }, this.addbuttonlabel))), h("tttx-list_1_9_62", { data: this.data }))));
27
+ return (h(Host, null, h("div", { class: "container" }, h("tttx-toolbar_1_9_64", { border: true }, h("span", { slot: "before" }, this.sorterOptions &&
28
+ h("tttx-sorter_1_9_64", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
29
+ h("tttx-filter_1_9_64", { "filter-options": JSON.stringify(this.filterOptions), showSelectAll: false, "show-option-icons": true, "filter-header": this.filterHeader, "filter-key": "data-pattern-list" })), h("span", { slot: "after" }, h("tttx-standalone-input_1_9_64", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), h("tttx-toolbar_1_9_64", { border: false }, h("span", { slot: "before" }, this.addbutton &&
30
+ h("tttx-button_1_9_64", { design: "primary", icon: "add" }, this.addbuttonlabel))), h("tttx-list_1_9_64", { data: this.data }))));
31
31
  }
32
32
  static get style() { return tttxDataPatternCss; }
33
- }, [1, "tttx-data-pattern_1_9_62", {
33
+ }, [1, "tttx-data-pattern_1_9_64", {
34
34
  "data": [1],
35
35
  "sorterOptions": [1, "sorter-options"],
36
36
  "filterOptions": [1, "filter-options"],
@@ -44,44 +44,44 @@ function defineCustomElement$1() {
44
44
  if (typeof customElements === "undefined") {
45
45
  return;
46
46
  }
47
- const components = ["tttx-data-pattern_1_9_62", "tttx-button_1_9_62", "tttx-filter_1_9_62", "tttx-icon_1_9_62", "tttx-list_1_9_62", "tttx-sorter_1_9_62", "tttx-standalone-input_1_9_62", "tttx-toolbar_1_9_62"];
47
+ const components = ["tttx-data-pattern_1_9_64", "tttx-button_1_9_64", "tttx-filter_1_9_64", "tttx-icon_1_9_64", "tttx-list_1_9_64", "tttx-sorter_1_9_64", "tttx-standalone-input_1_9_64", "tttx-toolbar_1_9_64"];
48
48
  components.forEach(tagName => { switch (tagName) {
49
- case "tttx-data-pattern_1_9_62":
49
+ case "tttx-data-pattern_1_9_64":
50
50
  if (!customElements.get(tagName)) {
51
51
  customElements.define(tagName, TttxDataPattern);
52
52
  }
53
53
  break;
54
- case "tttx-button_1_9_62":
54
+ case "tttx-button_1_9_64":
55
55
  if (!customElements.get(tagName)) {
56
56
  defineCustomElement$8();
57
57
  }
58
58
  break;
59
- case "tttx-filter_1_9_62":
59
+ case "tttx-filter_1_9_64":
60
60
  if (!customElements.get(tagName)) {
61
61
  defineCustomElement$7();
62
62
  }
63
63
  break;
64
- case "tttx-icon_1_9_62":
64
+ case "tttx-icon_1_9_64":
65
65
  if (!customElements.get(tagName)) {
66
66
  defineCustomElement$6();
67
67
  }
68
68
  break;
69
- case "tttx-list_1_9_62":
69
+ case "tttx-list_1_9_64":
70
70
  if (!customElements.get(tagName)) {
71
71
  defineCustomElement$5();
72
72
  }
73
73
  break;
74
- case "tttx-sorter_1_9_62":
74
+ case "tttx-sorter_1_9_64":
75
75
  if (!customElements.get(tagName)) {
76
76
  defineCustomElement$4();
77
77
  }
78
78
  break;
79
- case "tttx-standalone-input_1_9_62":
79
+ case "tttx-standalone-input_1_9_64":
80
80
  if (!customElements.get(tagName)) {
81
81
  defineCustomElement$3();
82
82
  }
83
83
  break;
84
- case "tttx-toolbar_1_9_62":
84
+ case "tttx-toolbar_1_9_64":
85
85
  if (!customElements.get(tagName)) {
86
86
  defineCustomElement$2();
87
87
  }
@@ -89,7 +89,7 @@ function defineCustomElement$1() {
89
89
  } });
90
90
  }
91
91
 
92
- const TttxDataPattern_1_9_62 = TttxDataPattern;
92
+ const TttxDataPattern_1_9_64 = TttxDataPattern;
93
93
  const defineCustomElement = defineCustomElement$1;
94
94
 
95
- export { TttxDataPattern_1_9_62, defineCustomElement };
95
+ export { TttxDataPattern_1_9_64, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TttxDatacard_1_9_64 extends Components.TttxDatacard_1_9_64, HTMLElement {}
4
+ export const TttxDatacard_1_9_64: {
5
+ prototype: TttxDatacard_1_9_64;
6
+ new (): TttxDatacard_1_9_64;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;