@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
@@ -1,19 +1,4 @@
1
- import { r as registerInstance, h } from './index-3d473f8b.js';
2
-
3
- const gaugeLabelPlugin = {
4
- id: 'gaugeLabel',
5
- beforeDatasetsDraw(chart) {
6
- const { ctx } = chart;
7
- ctx.save();
8
- const xCoor = chart.getDatasetMeta(0).data[0].x;
9
- const yCoor = chart.getDatasetMeta(0).data[0].y - 12;
10
- ctx.font = 'bold 20px sans-serif';
11
- ctx.fillStyle = 'rgba(0, 0, 0, 1)';
12
- ctx.textAlign = 'center';
13
- ctx.textBaseline = 'middle';
14
- ctx.fillText(chart.config.options.gaugeText || '', xCoor, yCoor);
15
- }
16
- };
1
+ 'use strict';
17
2
 
18
3
  /*!
19
4
  * @kurkle/color v0.3.2
@@ -14795,117 +14780,6 @@ const registerables = [
14795
14780
 
14796
14781
  Chart.register(...registerables);
14797
14782
 
14798
- const tttxGraphCss = ":host{display:block;width:100%;height:100%}.chart-container{display:flex;align-items:center;justify-content:center}.overlay-text{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);color:white;font-size:24px;font-weight:bold;text-shadow:2px 2px 4px rgba(0, 0, 0, 0.7);pointer-events:none;}";
14799
-
14800
- Chart.register(DoughnutController, LineController, gaugeLabelPlugin);
14801
- const TttxGraph = class {
14802
- constructor(hostRef) {
14803
- registerInstance(this, hostRef);
14804
- this.chartConfig = undefined;
14805
- this.chartType = undefined;
14806
- this.chartData = undefined;
14807
- this.chartText = undefined;
14808
- this.formattedData = undefined;
14809
- }
14810
- componentDidLoad() {
14811
- this.formattedData = JSON.parse(this.chartData);
14812
- if (!this.chartConfig) {
14813
- switch (this.chartType) {
14814
- case 'gauge':
14815
- this.chartConfig = this.getGaugeConfig();
14816
- Chart.register(gaugeLabelPlugin);
14817
- break;
14818
- case 'line':
14819
- console.log('line');
14820
- this.chartConfig = this.getLineConfig();
14821
- console.log(this.chartConfig);
14822
- break;
14823
- }
14824
- }
14825
- new Chart(this.canvasElement, JSON.parse(this.chartConfig));
14826
- }
14827
- render() {
14828
- return (h("div", { class: 'chart-container', style: { 'position': 'relative', 'height': '100%', 'width': '100%' } }, h("canvas", { ref: (el) => this.canvasElement = el })));
14829
- }
14830
- getLineConfig() {
14831
- console.log(this.formattedData);
14832
- const config = {
14833
- type: 'line',
14834
- data: {
14835
- datasets: [{
14836
- fill: false,
14837
- borderColor: '#00187C',
14838
- tension: 0.1,
14839
- data: this.formattedData
14840
- }]
14841
- },
14842
- options: {
14843
- maintainAspectRatio: false,
14844
- responsive: true,
14845
- plugins: {
14846
- legend: {
14847
- display: false,
14848
- }
14849
- },
14850
- scales: {
14851
- x: {
14852
- type: 'linear',
14853
- position: 'bottom'
14854
- }
14855
- }
14856
- }
14857
- };
14858
- return JSON.stringify(config);
14859
- }
14860
- getGaugeConfig() {
14861
- this.formattedData.push(100 - this.formattedData[0]);
14862
- const config = {
14863
- type: 'doughnut',
14864
- data: {
14865
- datasets: [
14866
- {
14867
- 'data': this.formattedData,
14868
- 'backgroundColor': [
14869
- this.getRAGColour(this.formattedData[0]),
14870
- '#F0F0F0'
14871
- ],
14872
- 'borderWidth': 0,
14873
- 'hoverBorderWidth': 0
14874
- },
14875
- ]
14876
- },
14877
- options: {
14878
- maintainAspectRatio: false,
14879
- responsive: true,
14880
- rotation: 270,
14881
- circumference: 180,
14882
- cutout: '60%',
14883
- gaugeText: this.chartText,
14884
- plugins: {
14885
- legend: {
14886
- display: false,
14887
- },
14888
- tooltip: {
14889
- enabled: false
14890
- },
14891
- hover: {
14892
- enabled: false
14893
- }
14894
- },
14895
- }
14896
- };
14897
- return JSON.stringify(config);
14898
- }
14899
- getRAGColour(perc) {
14900
- if (perc < 50)
14901
- return '#DC0000'; // Red for values below 50
14902
- if (perc < 100)
14903
- return '#F59500'; // Orange for values from 50 to 99
14904
- if (perc === 100)
14905
- return '#A2BB31'; // Green for a value of 100
14906
- return '#F0F0F0'; // Default color
14907
- }
14908
- };
14909
- TttxGraph.style = tttxGraphCss;
14910
-
14911
- export { TttxGraph as tttx_graph_1_9_62 };
14783
+ exports.Chart = Chart;
14784
+ exports.DoughnutController = DoughnutController;
14785
+ exports.LineController = LineController;
@@ -1245,6 +1245,10 @@ const renderVdom = (hostRef, renderFnResults) => {
1245
1245
  const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1246
1246
  const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
1247
1247
  hostTagName = hostElm.tagName;
1248
+ if (cmpMeta.$attrsToReflect$) {
1249
+ rootVnode.$attrs$ = rootVnode.$attrs$ || {};
1250
+ cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
1251
+ }
1248
1252
  rootVnode.$tag$ = null;
1249
1253
  rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
1250
1254
  hostRef.$vnode$ = rootVnode;
@@ -1660,6 +1664,9 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1660
1664
  .map(([propName, m]) => {
1661
1665
  const attrName = m[1] || propName;
1662
1666
  attrNameToPropName.set(attrName, propName);
1667
+ if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1668
+ cmpMeta.$attrsToReflect$.push([propName, attrName]);
1669
+ }
1663
1670
  return attrName;
1664
1671
  });
1665
1672
  }
@@ -1854,6 +1861,9 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1854
1861
  {
1855
1862
  cmpMeta.$listeners$ = compactMeta[3];
1856
1863
  }
1864
+ {
1865
+ cmpMeta.$attrsToReflect$ = [];
1866
+ }
1857
1867
  {
1858
1868
  cmpMeta.$watchers$ = {};
1859
1869
  }
@@ -1958,6 +1968,8 @@ const hostListenerProxy = (hostRef, methodName) => (ev) => {
1958
1968
  }
1959
1969
  };
1960
1970
  const getHostListenerTarget = (elm, flags) => {
1971
+ if (flags & 4 /* LISTENER_FLAGS.TargetDocument */)
1972
+ return doc;
1961
1973
  if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
1962
1974
  return win;
1963
1975
  return elm;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ec367fa3.js');
5
+ const index = require('./index-1249dc08.js');
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy([["tttx-data-pattern_1_9_62.cjs",[[1,"tttx-data-pattern_1_9_62",{"data":[1],"sorterOptions":[1,"sorter-options"],"filterOptions":[1,"filter-options"],"filterHeader":[1,"filter-header"],"defaultSortOption":[1,"default-sort-option"],"searchplaceholder":[1],"addbuttonlabel":[1],"addbutton":[4]}]]],["tttx-form_1_9_62.cjs",[[1,"tttx-form_1_9_62",{"formschema":[1025],"data":[1032],"submit":[64],"showLoadingSpinner":[64],"setSelectedItem":[64],"setSelectOptions":[64],"isValid":[64],"setValidationFor":[64],"clearValidationFor":[64],"disableFormField":[64],"enableFormField":[64],"setInputFieldValue":[64],"setFieldReadOnlyMode":[64]}]]],["tttx-multiselect-box_1_9_62.cjs",[[1,"tttx-multiselect-box_1_9_62",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"htmlVisibleValue":[4,"html-visible-value"],"visibleValue":[1,"visible-value"],"isLoading":[4,"is-loading"],"stopLocalSearch":[4,"stop-local-search"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"open":[32],"unsavedSelectedItems":[32],"searchTerm":[32]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-datacard_1_9_62.cjs",[[1,"tttx-datacard_1_9_62",{"cardTitle":[1,"card-title"],"leftData":[1,"left-data"],"rightData":[1,"right-data"],"rightSubtext":[1,"right-subtext"],"iconStyle":[1,"icon-style"],"cardType":[1,"card-type"],"chartConfig":[1,"chart-config"],"_chartConfig":[32],"chartRender":[32]}]]],["tttx-dialog-box_1_9_62.cjs",[[1,"tttx-dialog-box_1_9_62",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_62.cjs",[[1,"tttx-dialog_1_9_62",{"header":[1],"type":[1],"size":[1],"open":[4],"allowOverflow":[4,"allow-overflow"],"closeEnabled":[4,"close-enabled"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-tree-view_1_9_62.cjs",[[1,"tttx-tree-view_1_9_62",{"data":[1040],"treeData":[32]}]]],["tttx-action-dropdown_1_9_62.cjs",[[1,"tttx-action-dropdown_1_9_62",{"actionKey":[1,"action-key"],"icon":[1],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"isIconVisible":[4,"is-icon-visible"],"selectedField":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeActionDropdown","handleCloseActionDropdown"]]]]],["tttx-checkbox_1_9_62.cjs",[[0,"tttx-checkbox_1_9_62",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_62.cjs",[[1,"tttx-comments_1_9_62",{"currentuser":[1],"comments":[1],"disableFile":[4,"disable-file"],"messageLimit":[2,"message-limit"],"inputBoxHeight":[2,"input-box-height"],"placeholder":[1],"saveButtonText":[1,"save-button-text"],"value":[1],"allowEditing":[4,"allow-editing"],"readonly":[4],"_comments":[32],"showError":[32],"_saveButtonText":[32],"editingComment":[32],"addDummyComment":[64]}]]],["tttx-date-range-picker.cjs",[[1,"tttx-date-range-picker",{"initialValue":[16],"placeholderText":[1,"placeholder-text"],"showCalendar":[32],"startDate":[32],"endDate":[32],"currentMonth":[32],"currentYear":[32],"isSelecting":[32],"hoverDate":[32]}]]],["tttx-expander_1_9_62.cjs",[[1,"tttx-expander_1_9_62",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_62.cjs",[[2,"tttx-tabs_1_9_62",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_62.cjs",[[4,"tttx-checkbox-group-caption_1_9_62"]]],["tttx-checkbox-group-heading_1_9_62.cjs",[[4,"tttx-checkbox-group-heading_1_9_62"]]],["tttx-checkbox-group_1_9_62.cjs",[[1,"tttx-checkbox-group_1_9_62"]]],["tttx-keyvalue-block_1_9_62.cjs",[[1,"tttx-keyvalue-block_1_9_62",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_62.cjs",[[2,"tttx-percentage-bar_1_9_62",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_62.cjs",[[1,"tttx-qrcode_1_9_62",{"link":[1025],"size":[1026]}]]],["tttx-skeleton_loader_1_9_62.cjs",[[1,"tttx-skeleton_loader_1_9_62",{"width":[1],"height":[1],"borderRadius":[1,"border-radius"],"color":[1],"variant":[1],"animation":[1],"count":[2],"direction":[1],"gap":[1],"customClass":[1,"custom-class"]}]]],["tttx-table_1_9_62.cjs",[[1,"tttx-table_1_9_62",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_62.cjs",[[2,"tttx-textarea_1_9_62",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"rows":[2],"textareaautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"disabled":[4],"maxlength":[8],"name":[1],"placeholder":[1],"readonly":[8],"required":[4],"value":[1032]}]]],["tttx-toggle_1_9_62.cjs",[[1,"tttx-toggle_1_9_62",{"initialstate":[8],"_state":[32]}]]],["tttx-loading-spinner_1_9_62_3.cjs",[[1,"tttx-tag_1_9_62",{"text":[1],"color":[1],"textColor":[1,"text-color"],"hasIcon":[4,"has-icon"],"icon":[1],"iconColor":[1,"icon-color"],"iconSize":[2,"icon-size"]}],[1,"tttx-loading-spinner_1_9_62",{"loadingMessage":[4,"loading-message"],"size":[1],"color":[1],"message":[1],"customMessageSchema":[16],"timeElapsed":[32]}],[2,"tttx-standalone-input_1_9_62",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconleftcolor":[1],"iconright":[1],"iconrightcolor":[1],"inputicon":[1],"inputiconcolor":[1],"inline":[4],"inputautocapitalize":[1],"inputautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-select-box_1_9_62.cjs",[[1,"tttx-select-box_1_9_62",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"useExternalFiltering":[4,"use-external-filtering"],"useExternalPaginatedFiltering":[4,"use-external-paginated-filtering"],"isAllExternalDataLoaded":[4,"is-all-external-data-loaded"],"isLoading":[4,"is-loading"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"clearable":[4],"showErrorMsg":[4,"show-error-msg"],"showErrorBubble":[4,"show-error-bubble"],"errorMsg":[1,"error-msg"],"open":[32],"selectedItem":[32],"searchTerm":[32],"loadingNextExternalPage":[32],"setSelectedItem":[64]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-graph_1_9_62.cjs",[[1,"tttx-graph_1_9_62",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-icon_1_9_62.cjs",[[1,"tttx-icon_1_9_62",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-filter_1_9_62_4.cjs",[[1,"tttx-filter_1_9_62",{"filterKey":[1,"filter-key"],"filterOptions":[1,"filter-options"],"showSelectAll":[4,"show-select-all"],"showSearchField":[4,"show-search-field"],"showOptionIcons":[4,"show-option-icons"],"filterButtonStyle":[1,"filter-button-style"],"filterHeader":[1,"filter-header"],"defaultFilterOptions":[1,"default-filter-options"],"popoverWidth":[1,"popover-width"],"showPopover":[32],"displayedFilterSettings":[32],"selectedFilters":[32],"filterSearchTerm":[32],"allSelected":[32]},[[0,"closeFilter","handleCloseFilter"]]],[1,"tttx-list_1_9_62",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_62",{"sorterKey":[1,"sorter-key"],"defaultSortDirection":[1,"default-sort-direction"],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"selectedField":[32],"sortDirection":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeSorter","handleCloseSorter"]]],[1,"tttx-toolbar_1_9_62",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-button_1_9_62.cjs",[[1,"tttx-button_1_9_62",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
17
+ return index.bootstrapLazy([["tttx-data-pattern_1_9_64.cjs",[[1,"tttx-data-pattern_1_9_64",{"data":[1],"sorterOptions":[1,"sorter-options"],"filterOptions":[1,"filter-options"],"filterHeader":[1,"filter-header"],"defaultSortOption":[1,"default-sort-option"],"searchplaceholder":[1],"addbuttonlabel":[1],"addbutton":[4]}]]],["tttx-form_1_9_64.cjs",[[1,"tttx-form_1_9_64",{"formschema":[1025],"data":[1032],"submit":[64],"showLoadingSpinner":[64],"setSelectedItem":[64],"setSelectOptions":[64],"isValid":[64],"setValidationFor":[64],"clearValidationFor":[64],"disableFormField":[64],"enableFormField":[64],"setInputFieldValue":[64],"setFieldReadOnlyMode":[64]}]]],["tttx-multiselect-box_1_9_64.cjs",[[1,"tttx-multiselect-box_1_9_64",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"htmlVisibleValue":[4,"html-visible-value"],"visibleValue":[1,"visible-value"],"isLoading":[4,"is-loading"],"stopLocalSearch":[4,"stop-local-search"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"open":[32],"unsavedSelectedItems":[32],"searchTerm":[32]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-chart_1_9_64.cjs",[[1,"tttx-chart_1_9_64",{"chartType":[1,"chart-type"],"chartData":[16],"chartOptions":[16],"loading":[4],"error":[4],"fallbackText":[1,"fallback-text"],"width":[1],"height":[1],"exportable":[32],"chartInstance":[32],"showPngSvgExport":[32]}]]],["tttx-datacard_1_9_64.cjs",[[1,"tttx-datacard_1_9_64",{"cardTitle":[1,"card-title"],"leftData":[1,"left-data"],"rightData":[1,"right-data"],"rightSubtext":[1,"right-subtext"],"iconStyle":[1,"icon-style"],"cardType":[1,"card-type"],"chartConfig":[1,"chart-config"],"_chartConfig":[32],"chartRender":[32]}]]],["tttx-dialog-box_1_9_64.cjs",[[1,"tttx-dialog-box_1_9_64",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_64.cjs",[[1,"tttx-dialog_1_9_64",{"header":[1],"type":[1],"size":[1],"open":[4],"allowOverflow":[4,"allow-overflow"],"closeEnabled":[4,"close-enabled"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-tree-view_1_9_64.cjs",[[1,"tttx-tree-view_1_9_64",{"data":[1040],"treeData":[32]}]]],["tttx-action-dropdown_1_9_64.cjs",[[1,"tttx-action-dropdown_1_9_64",{"actionKey":[1,"action-key"],"icon":[1],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"isIconVisible":[4,"is-icon-visible"],"selectedField":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeActionDropdown","handleCloseActionDropdown"]]]]],["tttx-button-v2_1_9_64.cjs",[[1,"tttx-button-v2_1_9_64",{"notext":[4],"icon":[1],"label":[1],"iconcolor":[1025],"iconposition":[1],"iconStart":[1,"icon-start"],"iconEnd":[1,"icon-end"],"design":[1],"disabled":[516],"type":[1],"href":[1],"options":[1],"size":[1],"dropdownOpen":[32]},[[4,"click","handleClickOutside"]]]]],["tttx-checkbox_1_9_64.cjs",[[0,"tttx-checkbox_1_9_64",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_64.cjs",[[1,"tttx-comments_1_9_64",{"currentuser":[1],"comments":[1],"disableFile":[4,"disable-file"],"messageLimit":[2,"message-limit"],"inputBoxHeight":[2,"input-box-height"],"placeholder":[1],"saveButtonText":[1,"save-button-text"],"value":[1],"allowEditing":[4,"allow-editing"],"readonly":[4],"_comments":[32],"showError":[32],"_saveButtonText":[32],"editingComment":[32],"addDummyComment":[64]}]]],["tttx-date-range-picker.cjs",[[1,"tttx-date-range-picker",{"initialValue":[16],"placeholderText":[1,"placeholder-text"],"showCalendar":[32],"startDate":[32],"endDate":[32],"currentMonth":[32],"currentYear":[32],"isSelecting":[32],"hoverDate":[32]}]]],["tttx-expander_1_9_64.cjs",[[1,"tttx-expander_1_9_64",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_64.cjs",[[2,"tttx-tabs_1_9_64",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_64.cjs",[[4,"tttx-checkbox-group-caption_1_9_64"]]],["tttx-checkbox-group-heading_1_9_64.cjs",[[4,"tttx-checkbox-group-heading_1_9_64"]]],["tttx-checkbox-group_1_9_64.cjs",[[1,"tttx-checkbox-group_1_9_64"]]],["tttx-keyvalue-block_1_9_64.cjs",[[1,"tttx-keyvalue-block_1_9_64",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_64.cjs",[[2,"tttx-percentage-bar_1_9_64",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_64.cjs",[[1,"tttx-qrcode_1_9_64",{"link":[1025],"size":[1026]}]]],["tttx-skeleton_loader_1_9_64.cjs",[[1,"tttx-skeleton_loader_1_9_64",{"width":[1],"height":[1],"borderRadius":[1,"border-radius"],"color":[1],"variant":[1],"animation":[1],"count":[2],"direction":[1],"gap":[1],"customClass":[1,"custom-class"]}]]],["tttx-table_1_9_64.cjs",[[1,"tttx-table_1_9_64",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_64.cjs",[[2,"tttx-textarea_1_9_64",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"rows":[2],"textareaautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"disabled":[4],"maxlength":[8],"name":[1],"placeholder":[1],"readonly":[8],"required":[4],"value":[1032]}]]],["tttx-toggle_1_9_64.cjs",[[1,"tttx-toggle_1_9_64",{"initialstate":[8],"_state":[32]}]]],["tttx-loading-spinner_1_9_64_3.cjs",[[1,"tttx-tag_1_9_64",{"text":[1],"color":[1],"textColor":[1,"text-color"],"hasIcon":[4,"has-icon"],"icon":[1],"iconColor":[1,"icon-color"],"iconSize":[2,"icon-size"]}],[2,"tttx-standalone-input_1_9_64",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconleftcolor":[1],"iconright":[1],"iconrightcolor":[1],"inputicon":[1],"inputiconcolor":[1],"inline":[4],"inputautocapitalize":[1],"inputautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}],[1,"tttx-loading-spinner_1_9_64",{"loadingMessage":[4,"loading-message"],"size":[1],"color":[1],"message":[1],"customMessageSchema":[16],"timeElapsed":[32]}]]],["tttx-select-box_1_9_64.cjs",[[1,"tttx-select-box_1_9_64",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"useExternalFiltering":[4,"use-external-filtering"],"useExternalPaginatedFiltering":[4,"use-external-paginated-filtering"],"isAllExternalDataLoaded":[4,"is-all-external-data-loaded"],"isLoading":[4,"is-loading"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"clearable":[4],"showErrorMsg":[4,"show-error-msg"],"showErrorBubble":[4,"show-error-bubble"],"errorMsg":[1,"error-msg"],"open":[32],"selectedItem":[32],"searchTerm":[32],"loadingNextExternalPage":[32],"setSelectedItem":[64]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-graph_1_9_64.cjs",[[1,"tttx-graph_1_9_64",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-icon_1_9_64.cjs",[[1,"tttx-icon_1_9_64",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-filter_1_9_64_4.cjs",[[1,"tttx-filter_1_9_64",{"filterKey":[1,"filter-key"],"filterOptions":[1,"filter-options"],"showSelectAll":[4,"show-select-all"],"showSearchField":[4,"show-search-field"],"showOptionIcons":[4,"show-option-icons"],"filterButtonStyle":[1,"filter-button-style"],"filterHeader":[1,"filter-header"],"defaultFilterOptions":[1,"default-filter-options"],"popoverWidth":[1,"popover-width"],"showPopover":[32],"displayedFilterSettings":[32],"selectedFilters":[32],"filterSearchTerm":[32],"allSelected":[32]},[[0,"closeFilter","handleCloseFilter"]]],[1,"tttx-list_1_9_64",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_64",{"sorterKey":[1,"sorter-key"],"defaultSortDirection":[1,"default-sort-direction"],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"selectedField":[32],"sortDirection":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeSorter","handleCloseSorter"]]],[1,"tttx-toolbar_1_9_64",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-button_1_9_64.cjs",[[1,"tttx-button_1_9_64",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
18
18
  });
19
19
  };
20
20
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ec367fa3.js');
5
+ const index = require('./index-1249dc08.js');
6
6
 
7
7
  const tttxActionDropdownCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.action-dropdown-container{display:flex;flex-direction:column;position:relative;border:1px solid #d5d5d5;border-radius:4px;font-weight:400;box-sizing:border-box;cursor:pointer;width:220px}@media (max-width: 475px){.action-dropdown-container{width:120px}}.action-dropdown-container .action-button{display:flex;justify-content:space-between;align-items:center;background-color:white;border:none;border-radius:4px;height:36px;padding:0 8px 0 12px;width:100%}@media (max-width: 475px){.action-dropdown-container .action-button{padding:0 6px 0 8px}}.action-dropdown-container .action-button .button-content{display:flex;align-items:center;gap:8px}.action-dropdown-container .action-button .button-content .action-text{font-size:16px;color:#212121;font-weight:500}.action-dropdown-container .action-button .dropdown-arrow{display:flex;align-items:center;margin-left:auto}.action-dropdown-container .action-button .dropdown-arrow .hydrated{display:flex;align-items:center}.action-dropdown-container .action-button .hydrated{display:flex;justify-content:center;align-items:center;cursor:pointer}.action-dropdown-container .action-button .material-symbols-rounded{color:#212121}.action-dropdown-container .action-button:hover{background-color:#f0f0f0}.action-dropdown-container .action-button:active{background-color:#e3e3e3}.action-dropdown-container .dropdown-options-list{position:absolute;top:36px;left:0;z-index:1;width:220px;line-height:21px;font-size:16px;border-radius:4px;padding-top:8px;padding-bottom:7px;box-shadow:0px 1px 5px #1111114D;box-sizing:border-box;background-color:white;border:1px solid #d5d5d5}@media (max-width: 475px){.action-dropdown-container .dropdown-options-list{width:220px;padding-top:8px}}.action-dropdown-container .dropdown-options-list .dropdown-option{padding:8px 16px;font-size:16px;line-height:21px;cursor:pointer}.action-dropdown-container .dropdown-options-list .dropdown-option:hover,.action-dropdown-container .dropdown-options-list .dropdown-option:focus{background-color:#ebfbfc}.action-dropdown-container.--expanded{border-color:#1579c6}@media (max-width: 475px){.action-dropdown-container.--expanded{border-color:#1579c6}}";
8
8
 
@@ -50,7 +50,7 @@ const TttxActionDropdown = class {
50
50
  return;
51
51
  const actionKey = `action-dropdown__${this.actionKey}`;
52
52
  const chevronIcon = this.dropdownExpand ? 'keyboard_arrow_up' : 'keyboard_arrow_down';
53
- return (index.h(index.Host, { id: actionKey }, index.h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, index.h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, index.h("div", { class: "button-content" }, this.isIconVisible && (index.h("tttx-icon_1_9_62", { icon: this.icon, color: "black" })), index.h("span", { class: "action-text" }, this.selectedField)), index.h("div", { class: "dropdown-arrow" }, index.h("tttx-icon_1_9_62", { icon: chevronIcon, color: "black" }))), this.dropdownExpand && (index.h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.actionOptions.map(option => {
53
+ return (index.h(index.Host, { id: actionKey }, index.h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, index.h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, index.h("div", { class: "button-content" }, this.isIconVisible && (index.h("tttx-icon_1_9_64", { icon: this.icon, color: "black" })), index.h("span", { class: "action-text" }, this.selectedField)), index.h("div", { class: "dropdown-arrow" }, index.h("tttx-icon_1_9_64", { icon: chevronIcon, color: "black" }))), this.dropdownExpand && (index.h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.actionOptions.map(option => {
54
54
  return (index.h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
55
55
  }))))));
56
56
  }
@@ -58,4 +58,4 @@ const TttxActionDropdown = class {
58
58
  };
59
59
  TttxActionDropdown.style = tttxActionDropdownCss;
60
60
 
61
- exports.tttx_action_dropdown_1_9_62 = TttxActionDropdown;
61
+ exports.tttx_action_dropdown_1_9_64 = TttxActionDropdown;
@@ -0,0 +1,121 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-1249dc08.js');
6
+
7
+ const tttxButtonV2Css = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:inline-block}button{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;line-height:16px;white-space:nowrap;vertical-align:middle;font-weight:600;text-transform:none;cursor:pointer;background:transparent;min-width:96px;max-width:240px;box-sizing:border-box}button:disabled{cursor:not-allowed}button.notext{min-width:40px;max-width:40px;height:40px;padding:8px;aspect-ratio:1/1;justify-content:center;align-items:center;box-sizing:border-box}button:focus-visible{outline:2px solid currentColor;outline-offset:2px}.label-text{display:inline-block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}button.button.btn-size-s{font-size:13px;padding:6px 10px;gap:4px}button.button.btn-size-m{font-size:14px;padding:8px 12px;gap:4px}button.button.btn-size-l{font-size:16px;padding:12px 24px;gap:8px}button.btn-primary{background-color:#1479c6;border:1px solid #1479c6;color:#ffffff;transition:background-color 0.2s ease}button.btn-primary:hover:not(:disabled){background-color:#146eb3}button.btn-primary:active:not(:disabled){background-color:#115a8f}button.btn-primary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-secondary{background-color:#ffffff;color:#17272b;border:1px solid #D4D4D4;transition:background-color 0.2s ease}button.btn-secondary:hover:not(:disabled){background-color:#fafafa}button.btn-secondary:active:not(:disabled){background-color:#f5f5f5}button.btn-secondary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-danger{background-color:#dc2626;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #DC2626}button.btn-danger:hover:not(:disabled){background-color:#b91c1c}button.btn-danger:active:not(:disabled){background-color:#991b1b}button.btn-danger:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-success{background-color:#16a34a;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #16a34a}button.btn-success:hover:not(:disabled){background-color:#15803d}button.btn-success:active:not(:disabled){background-color:#166534}button.btn-success:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-warning{background-color:#eab308;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #eab308}button.btn-warning:hover:not(:disabled){background-color:#ca8a04}button.btn-warning:active:not(:disabled){background-color:#885544}button.btn-warning:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-light{background-color:#000000;color:#ffffff;border:1px solid #000000}button.btn-light:hover:not(:disabled){background-color:#222222}button.btn-light:active:not(:disabled){background-color:#1a1a1a}button.btn-transparent{background:transparent;border:1px solid transparent;box-shadow:none;color:#1479c6;border:1px solid transparent}button.btn-transparent:hover:not(:disabled){background:rgba(0, 0, 0, 0.04)}button.btn-transparent:disabled{opacity:0.4;pointer-events:none}button.icon-start .button-content,button.icon-end .button-content{gap:8px}button.icon-start .icon-left,button.icon-end .icon-right{display:flex;align-items:center;justify-content:center}.button-content{font-family:Roboto;display:inline-flex;align-items:center;justify-content:center;gap:4px;width:100%}.button-content:not(:has(.icon-left,.icon-right)){justify-content:center}button.notext .button-content{justify-content:center !important;align-items:center;width:100%;display:flex;gap:0}tttx-icon,tttx-icon_1_9_64{cursor:inherit;display:inline-flex;vertical-align:middle;font-size:16px}.button-wrapper{position:relative}.button-wrapper .dropdown-list{position:absolute;top:100%;left:0;list-style:none;z-index:1;width:260px;border-radius:8px;padding:4px;background-color:white;border:1px solid #d4d4d4;margin-top:8px}.button-wrapper .dropdown-list .dropdown-option{padding:8px;cursor:pointer;white-space:nowrap;font-family:Roboto;font-size:14px;font-weight:400;line-height:16px}.button-wrapper .dropdown-list .dropdown-option:hover,.button-wrapper .dropdown-list .dropdown-option:focus{background-color:#f5f5f5;border-radius:8px}.button-wrapper .dropdown-button{border-radius:4px;width:100%;justify-content:space-between}.button-wrapper .dropdown-button:hover{background-color:#f0f0f0}.button-wrapper .dropdown-button:active{background-color:#e3e3e3}.button-wrapper .dropdown-button .dropdown-arrow{display:flex;align-items:center;margin-left:8px}.button-wrapper .dropdown-button .dropdown-arrow .hydrated{display:flex;align-items:center}.dropdown-item-content{display:flex;align-items:center;gap:8px}.dropdown-item-icon{display:flex;align-items:center;justify-content:center}";
8
+
9
+ const TttxButton = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.buttonDropdownChange = index.createEvent(this, "buttonDropdownChange", 7);
13
+ this.toggleDropdown = () => {
14
+ if (!this.isDisabled) {
15
+ this.dropdownOpen = !this.dropdownOpen;
16
+ }
17
+ };
18
+ this.handleDropdownItemClick = (item) => {
19
+ this.dropdownOpen = false;
20
+ this.buttonDropdownChange.emit(item);
21
+ };
22
+ this.notext = false;
23
+ this.icon = undefined;
24
+ this.label = undefined;
25
+ this.iconcolor = 'black';
26
+ this.iconposition = 'left';
27
+ this.iconStart = undefined;
28
+ this.iconEnd = undefined;
29
+ this.design = 'primary';
30
+ this.disabled = false;
31
+ this.type = 'button';
32
+ this.href = undefined;
33
+ this.options = [];
34
+ this.size = 'M';
35
+ this.dropdownOpen = false;
36
+ }
37
+ get isDisabled() {
38
+ return this.disabled || this.design === 'disabled';
39
+ }
40
+ get parsedOptions() {
41
+ if (Array.isArray(this.options)) {
42
+ return this.options.map(opt => (typeof opt === 'string' ? { label: opt } : opt));
43
+ }
44
+ try {
45
+ const parsed = JSON.parse(this.options);
46
+ return parsed.map((opt) => (typeof opt === 'string' ? { label: opt } : opt));
47
+ }
48
+ catch (_a) {
49
+ return [];
50
+ }
51
+ }
52
+ get iconSize() {
53
+ switch (this.size) {
54
+ case 'L':
55
+ return 24;
56
+ case 'M':
57
+ return 20;
58
+ case 'S':
59
+ default:
60
+ return 16;
61
+ }
62
+ }
63
+ componentWillLoad() {
64
+ const validDesigns = [
65
+ 'primary',
66
+ 'secondary',
67
+ 'default',
68
+ 'disabled',
69
+ 'danger',
70
+ 'light',
71
+ 'success',
72
+ 'warning',
73
+ 'transparent'
74
+ ];
75
+ const validSizes = ['S', 'M', 'L'];
76
+ if (!validDesigns.includes(this.design)) {
77
+ this.design = 'primary';
78
+ }
79
+ if (!validSizes.includes(this.size)) {
80
+ this.size = 'M';
81
+ }
82
+ if (['primary', 'danger', 'light', 'success', 'warning'].includes(this.design)) {
83
+ this.iconcolor = 'white';
84
+ }
85
+ if (this.design === 'transparent') {
86
+ this.iconcolor = '#1479c6';
87
+ }
88
+ }
89
+ handleClickOutside(event) {
90
+ if (this.dropdownOpen && !this.host.contains(event.target)) {
91
+ this.dropdownOpen = false;
92
+ }
93
+ }
94
+ renderButtonContent() {
95
+ var _a;
96
+ return (index.h("div", { class: "button-content" }, this.iconStart && (index.h("div", { class: "icon-left" }, index.h("tttx-icon_1_9_64", { icon: this.iconStart, color: this.iconcolor, size: this.iconSize }))), !this.notext && (index.h("div", { class: "label-text" }, (_a = this.label) !== null && _a !== void 0 ? _a : index.h("slot", null))), this.iconEnd && (index.h("div", { class: "icon-right" }, index.h("tttx-icon_1_9_64", { icon: this.iconEnd, color: this.iconcolor, size: this.iconSize }))), this.type === 'dropdown' && (index.h("div", { class: "dropdown-arrow" }, index.h("tttx-icon_1_9_64", { icon: "keyboard_arrow_down", color: this.iconcolor, size: this.iconSize })))));
97
+ }
98
+ renderDropdownList() {
99
+ if (this.type !== 'dropdown' || !this.dropdownOpen)
100
+ return null;
101
+ return (index.h("ul", { class: "dropdown-list", role: "listbox" }, this.parsedOptions.map((item, index$1) => (index.h("li", { class: "dropdown-option", role: "option", tabindex: 0, key: index$1, onClick: () => this.handleDropdownItemClick(item.label) }, index.h("div", { class: "dropdown-item-content" }, item.icon && (index.h("tttx-icon_1_9_64", { icon: item.icon, color: "black", size: this.iconSize, class: "dropdown-item-icon" })), index.h("span", { class: "dropdown-item-label" }, item.label)))))));
102
+ }
103
+ render() {
104
+ const classes = [
105
+ 'button',
106
+ `btn-${this.design}`,
107
+ this.iconStart ? 'icon-start' : '',
108
+ this.iconEnd ? 'icon-end' : '',
109
+ this.notext ? 'notext' : '',
110
+ this.type === 'dropdown' ? 'dropdown-button' : '',
111
+ `btn-size-${this.size.toLowerCase()}`
112
+ ]
113
+ .filter(Boolean)
114
+ .join(' ');
115
+ return (index.h(index.Host, null, index.h("div", { class: "button-wrapper" }, index.h("button", { class: classes, disabled: this.isDisabled, onClick: this.type === 'dropdown' ? this.toggleDropdown : undefined, "aria-haspopup": this.type === 'dropdown' ? 'listbox' : undefined, "aria-expanded": this.type === 'dropdown' ? String(this.dropdownOpen) : undefined }, this.renderButtonContent()), this.renderDropdownList())));
116
+ }
117
+ get host() { return index.getElement(this); }
118
+ };
119
+ TttxButton.style = tttxButtonV2Css;
120
+
121
+ exports.tttx_button_v2_1_9_64 = TttxButton;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-ec367fa3.js');
5
+ const index = require('./index-1249dc08.js');
6
6
 
7
7
  const tttxButtonCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}button{cursor:pointer}.button{font-family:Roboto, serif;box-sizing:border-box;height:36px;min-width:36px;padding:0;margin:0;background:transparent;color:#212121;border:1px solid #c8c8c8;border-radius:4px;text-transform:uppercase;display:flex;justify-content:left;align-items:center;font-size:14px;font-weight:500}.button-content{display:block;padding:0 16px}.icon-left,.icon-right{margin-top:4px}.iconleft{padding-left:8px}.iconleft .button-content{padding-left:4px}.iconright{padding-right:8px}.iconright .button-content{padding-right:4px}.notext{padding:0 6px}.button:active{background:rgba(17, 17, 17, 0.2);border:1px solid #d5d5d5}.blackout{background:#363636;border:1px solid #363636;color:white}.blackout:active{background:#212121;border:1px solid #212121}.primary{background:#1479c6;border:1px solid #1479c6;color:white}.primary:active{background:#1464a2;border:1px solid #1464a2}.borderless{background:transparent;border:none;color:#212121}.borderless:active{background:rgba(17, 17, 17, 0.2);border:none}.borderless-circle{background:transparent;border:none;color:#212121;border-radius:50%}.borderless-circle:active{border:none}.borderless-circle:focus{border-color:transparent}.danger{background:#dc0000;border:1px solid #dc0000;color:white}.danger:active{background:#b00000;border:1px solid #b00000}.disabled{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:active{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}@media (hover: hover){.button:hover{background:rgba(17, 17, 17, 0.1);border:1px solid #d5d5d5}.primary:hover{background:#146eb3;border:1px solid #146eb3}.borderless:hover{background:rgba(17, 17, 17, 0.1);border:none}.borderless-circle:hover{background:rgba(17, 17, 17, 0.1);border:none}.danger:hover{background:#c60000;border:1px solid #c60000}.disabled:hover{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.blackout:hover{background:#212121;border:1px solid #212121}}:host{display:inline-block}tttx-icon{cursor:inherit}.spacingleft{margin-left:8px}";
8
8
 
@@ -28,9 +28,9 @@ const TttxButton = class {
28
28
  }
29
29
  render() {
30
30
  this._iconcolor = this.iconcolor;
31
- return (index.h(index.Host, null, index.h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (index.h("div", { class: "icon-left" }, index.h("tttx-icon_1_9_62", { icon: this.icon, color: this._iconcolor }))), !this.notext && (index.h("div", { class: "button-content" }, index.h("slot", null))), this.icon && this.iconposition === 'right' && (index.h("div", { class: "icon-right" }, index.h("tttx-icon_1_9_62", { icon: this.icon, color: this._iconcolor }))))));
31
+ return (index.h(index.Host, null, index.h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (index.h("div", { class: "icon-left" }, index.h("tttx-icon_1_9_64", { icon: this.icon, color: this._iconcolor }))), !this.notext && (index.h("div", { class: "button-content" }, index.h("slot", null))), this.icon && this.iconposition === 'right' && (index.h("div", { class: "icon-right" }, index.h("tttx-icon_1_9_64", { icon: this.icon, color: this._iconcolor }))))));
32
32
  }
33
33
  };
34
34
  TttxButton.style = tttxButtonCss;
35
35
 
36
- exports.tttx_button_1_9_62 = TttxButton;
36
+ exports.tttx_button_1_9_64 = TttxButton;
@@ -0,0 +1,203 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-1249dc08.js');
6
+ const auto = require('./auto-1fd7408f.js');
7
+
8
+ 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}";
9
+
10
+ const TttxChart = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.exportCSV = index.createEvent(this, "exportCSV", 7);
14
+ this.chartType = undefined;
15
+ this.chartData = undefined;
16
+ this.chartOptions = undefined;
17
+ this.loading = false;
18
+ this.error = undefined;
19
+ this.fallbackText = 'No data available';
20
+ this.width = '100%';
21
+ this.height = 'auto';
22
+ this.exportable = false;
23
+ this.chartInstance = undefined;
24
+ this.showPngSvgExport = false;
25
+ }
26
+ handleUpdate() {
27
+ this.renderChart();
28
+ }
29
+ componentDidLoad() {
30
+ this.renderChart();
31
+ }
32
+ disconnectedCallback() {
33
+ this.destroyChart();
34
+ }
35
+ renderChart() {
36
+ var _a, _b;
37
+ if (!this.canvasEl || !this.chartData || !this.chartType)
38
+ return;
39
+ this.destroyChart();
40
+ const config = {
41
+ type: this.getChartJsType(),
42
+ data: this.chartData,
43
+ options: this.getChartOptions(),
44
+ plugins: []
45
+ };
46
+ if (this.chartType === 'doughnut' || this.chartType === 'semi-gauge') {
47
+ 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;
48
+ config.plugins.push(this.getCenterTextPlugin(total.toLocaleString()));
49
+ }
50
+ this.chartInstance = new auto.Chart(this.canvasEl, config);
51
+ }
52
+ destroyChart() {
53
+ if (this.chartInstance) {
54
+ this.chartInstance.destroy();
55
+ }
56
+ }
57
+ getChartJsType() {
58
+ if (this.chartType === 'semi-gauge')
59
+ return 'doughnut';
60
+ return this.chartType;
61
+ }
62
+ getBaseOptions() {
63
+ return {
64
+ responsive: true,
65
+ maintainAspectRatio: false,
66
+ plugins: {
67
+ legend: {
68
+ display: true,
69
+ position: 'bottom',
70
+ labels: {
71
+ usePointStyle: true,
72
+ pointStyle: 'circle',
73
+ },
74
+ },
75
+ tooltip: {
76
+ callbacks: {
77
+ label: (ctx) => `${ctx.label || ctx.dataset.label}: ${ctx.formattedValue}`,
78
+ },
79
+ },
80
+ },
81
+ };
82
+ }
83
+ getLineChartConfig() {
84
+ return {
85
+ plugins: {
86
+ legend: {
87
+ labels: { usePointStyle: true, pointStyle: 'line' },
88
+ },
89
+ tooltip: {
90
+ callbacks: {
91
+ label: (ctx) => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
92
+ },
93
+ },
94
+ },
95
+ scales: {
96
+ x: { grid: { color: '#e5e5e5' } },
97
+ y: {
98
+ beginAtZero: true,
99
+ max: 100,
100
+ ticks: { callback: (val) => `${val}%` },
101
+ grid: { color: '#e5e5e5' },
102
+ },
103
+ },
104
+ };
105
+ }
106
+ getDoughnutChartConfig() {
107
+ return {
108
+ plugins: {
109
+ legend: { labels: { pointStyle: 'circle', padding: 16, } },
110
+ },
111
+ cutout: '60%'
112
+ };
113
+ }
114
+ getCenterTextPlugin(value) {
115
+ return {
116
+ id: 'centerText',
117
+ afterDatasetsDraw: (chart) => {
118
+ const { ctx } = chart;
119
+ ctx.save();
120
+ const x = chart.getDatasetMeta(0).data[0].x;
121
+ let y = chart.getDatasetMeta(0).data[0].y;
122
+ if (this.chartType === 'semi-gauge') {
123
+ y -= 20;
124
+ }
125
+ ctx.font = 'bold 20px Roboto';
126
+ ctx.fillStyle = '#111';
127
+ ctx.textAlign = 'center';
128
+ ctx.textBaseline = 'middle';
129
+ ctx.fillText(value, x, y);
130
+ },
131
+ };
132
+ }
133
+ getSemiGaugeChartConfig() {
134
+ return {
135
+ plugins: {
136
+ legend: { labels: { pointStyle: 'circle', padding: 16, } },
137
+ },
138
+ rotation: -90,
139
+ circumference: 180,
140
+ cutout: '70%',
141
+ };
142
+ }
143
+ merge(target, source) {
144
+ if (typeof target !== 'object' || typeof source !== 'object')
145
+ return source;
146
+ for (const key of Object.keys(source)) {
147
+ if (source[key] instanceof Object && key in target) {
148
+ target[key] = this.merge(Object.assign({}, target[key]), source[key]);
149
+ }
150
+ else {
151
+ target[key] = source[key];
152
+ }
153
+ }
154
+ return target;
155
+ }
156
+ getChartOptions() {
157
+ const base = this.getBaseOptions();
158
+ let specific = {};
159
+ if (this.chartType === 'line')
160
+ specific = this.getLineChartConfig();
161
+ else if (this.chartType === 'doughnut')
162
+ specific = this.getDoughnutChartConfig();
163
+ else if (this.chartType === 'semi-gauge')
164
+ specific = this.getSemiGaugeChartConfig();
165
+ return this.merge(this.merge(base, specific), this.chartOptions || {});
166
+ }
167
+ exportChart(format) {
168
+ if (!this.chartInstance)
169
+ return;
170
+ const link = document.createElement('a');
171
+ link.download = `chart-export.${format}`;
172
+ if (format === 'png') {
173
+ link.href = this.chartInstance.toBase64Image('image/png');
174
+ }
175
+ else {
176
+ const svgData = new XMLSerializer().serializeToString(this.canvasEl);
177
+ const blob = new Blob([svgData], { type: 'image/svg+xml' });
178
+ link.href = URL.createObjectURL(blob);
179
+ }
180
+ link.click();
181
+ }
182
+ getErrorContent() {
183
+ return this.commonContent('warning', 'Something went wrong', 'We ran into an issue while trying to load this widget.', '#DC0000', true);
184
+ }
185
+ getNoDataContent() {
186
+ return this.commonContent('ssid_chart', 'No data available', 'There is currently no data available to show performance trends.', '#111');
187
+ }
188
+ commonContent(iconName, heading, message, iconColor, showActions = false) {
189
+ return (index.h("div", { class: "error-content" }, index.h("tttx-icon_1_9_64", { icon: iconName, color: iconColor, size: 48 }), index.h("span", { class: 'error-heading' }, heading), index.h("span", { class: 'error-message' }, message), showActions && index.h("div", { class: "error-actions" }, index.h("tttx-button_1_9_64", { class: 'reload-btn', icon: "refresh", design: 'default', onClick: () => this.renderChart() }, "Reload data"), index.h("tttx-button_1_9_64", { class: 'support-btn', icon: "help", design: "primary", onClick: () => this.renderChart() }, "Contact support"))));
190
+ }
191
+ render() {
192
+ var _a, _b, _c;
193
+ return (index.h("div", { class: "chart-wrapper", style: { width: this.width, height: this.height } }, this.loading && index.h("div", { class: "chart-loading" }, index.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 && (index.h("canvas", { ref: el => (this.canvasEl = el), "aria-label": "Chart canvas", role: "img" })), this.exportable && !this.loading && !this.error && (index.h("div", { class: "export-buttons" }, this.showPngSvgExport && index.h("tttx-button_1_9_64", { class: 'export-png', design: "primary", onClick: () => this.exportChart('png') }, "Export PNG"), this.showPngSvgExport && index.h("tttx-button_1_9_64", { class: 'export-svg', design: "primary", onClick: () => this.exportChart('svg') }, "Export SVG"), index.h("tttx-button_1_9_64", { class: 'export-csv', design: "primary", onClick: () => this.exportCSV.emit({ name: this.chartType }) }, "Export CSV")))));
194
+ }
195
+ get el() { return index.getElement(this); }
196
+ static get watchers() { return {
197
+ "chartData": ["handleUpdate"],
198
+ "chartOptions": ["handleUpdate"]
199
+ }; }
200
+ };
201
+ TttxChart.style = tttxChartCss;
202
+
203
+ exports.tttx_chart_1_9_64 = TttxChart;