@3t-transform/threeteeui 1.9.61 → 1.9.63

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 (277) hide show
  1. package/dist/{esm/tttx-graph_1_9_61.entry.js → cjs/auto-1fd7408f.js} +4 -130
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/{tttx-action-dropdown_1_9_61.cjs.entry.js → tttx-action-dropdown_1_9_63.cjs.entry.js} +2 -2
  4. package/dist/cjs/{tttx-button_1_9_61.cjs.entry.js → tttx-button_1_9_63.cjs.entry.js} +2 -2
  5. package/dist/cjs/tttx-chart_1_9_63.cjs.entry.js +203 -0
  6. package/dist/cjs/{tttx-checkbox-group-caption_1_9_61.cjs.entry.js → tttx-checkbox-group-caption_1_9_63.cjs.entry.js} +1 -1
  7. package/dist/cjs/{tttx-checkbox-group-heading_1_9_61.cjs.entry.js → tttx-checkbox-group-heading_1_9_63.cjs.entry.js} +1 -1
  8. package/dist/cjs/{tttx-checkbox-group_1_9_61.cjs.entry.js → tttx-checkbox-group_1_9_63.cjs.entry.js} +1 -1
  9. package/dist/cjs/{tttx-checkbox_1_9_61.cjs.entry.js → tttx-checkbox_1_9_63.cjs.entry.js} +2 -2
  10. package/dist/cjs/{tttx-comments_1_9_61.cjs.entry.js → tttx-comments_1_9_63.cjs.entry.js} +21 -7
  11. package/dist/cjs/{tttx-data-pattern_1_9_61.cjs.entry.js → tttx-data-pattern_1_9_63.cjs.entry.js} +5 -5
  12. package/dist/cjs/{tttx-datacard_1_9_61.cjs.entry.js → tttx-datacard_1_9_63.cjs.entry.js} +4 -4
  13. package/dist/cjs/tttx-date-range-picker.cjs.entry.js +1 -1
  14. package/dist/cjs/{tttx-dialog-box_1_9_61.cjs.entry.js → tttx-dialog-box_1_9_63.cjs.entry.js} +3 -3
  15. package/dist/cjs/{tttx-dialog_1_9_61.cjs.entry.js → tttx-dialog_1_9_63.cjs.entry.js} +2 -2
  16. package/dist/cjs/{tttx-expander_1_9_61.cjs.entry.js → tttx-expander_1_9_63.cjs.entry.js} +2 -2
  17. package/dist/cjs/{tttx-filter_1_9_61_4.cjs.entry.js → tttx-filter_1_9_63_4.cjs.entry.js} +9 -9
  18. package/dist/cjs/{tttx-form_1_9_61.cjs.entry.js → tttx-form_1_9_63.cjs.entry.js} +2 -2
  19. package/dist/cjs/tttx-graph_1_9_63.cjs.entry.js +136 -0
  20. package/dist/cjs/{tttx-icon_1_9_61.cjs.entry.js → tttx-icon_1_9_63.cjs.entry.js} +1 -1
  21. package/dist/cjs/{tttx-keyvalue-block_1_9_61.cjs.entry.js → tttx-keyvalue-block_1_9_63.cjs.entry.js} +1 -1
  22. package/dist/cjs/{tttx-loading-spinner_1_9_61_3.cjs.entry.js → tttx-loading-spinner_1_9_63_3.cjs.entry.js} +6 -6
  23. package/dist/cjs/{tttx-multiselect-box_1_9_61.cjs.entry.js → tttx-multiselect-box_1_9_63.cjs.entry.js} +7 -7
  24. package/dist/cjs/{tttx-percentage-bar_1_9_61.cjs.entry.js → tttx-percentage-bar_1_9_63.cjs.entry.js} +2 -2
  25. package/dist/cjs/{tttx-qrcode_1_9_61.cjs.entry.js → tttx-qrcode_1_9_63.cjs.entry.js} +1 -1
  26. package/dist/cjs/{tttx-select-box_1_9_61.cjs.entry.js → tttx-select-box_1_9_63.cjs.entry.js} +6 -6
  27. package/dist/cjs/{tttx-skeleton_loader_1_9_61.cjs.entry.js → tttx-skeleton_loader_1_9_63.cjs.entry.js} +1 -1
  28. package/dist/cjs/{tttx-table_1_9_61.cjs.entry.js → tttx-table_1_9_63.cjs.entry.js} +1 -1
  29. package/dist/cjs/{tttx-tabs_1_9_61.cjs.entry.js → tttx-tabs_1_9_63.cjs.entry.js} +4 -4
  30. package/dist/cjs/{tttx-textarea_1_9_61.cjs.entry.js → tttx-textarea_1_9_63.cjs.entry.js} +2 -2
  31. package/dist/cjs/{tttx-toggle_1_9_61.cjs.entry.js → tttx-toggle_1_9_63.cjs.entry.js} +1 -1
  32. package/dist/cjs/{tttx-tree-view_1_9_61.cjs.entry.js → tttx-tree-view_1_9_63.cjs.entry.js} +3 -3
  33. package/dist/cjs/tttx.cjs.js +1 -1
  34. package/dist/collection/collection-manifest.json +1 -0
  35. package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
  36. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +24 -24
  37. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
  38. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
  39. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.js +4 -4
  40. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +10 -10
  41. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
  42. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
  43. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
  44. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
  45. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +1 -1
  46. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +2 -2
  47. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
  48. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
  49. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
  50. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
  51. package/dist/collection/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader.js +1 -1
  52. package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +2 -2
  53. package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
  54. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
  55. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
  56. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.js +2 -2
  57. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +1 -1
  58. package/dist/collection/components/molecules/tttx-chart/tttx-chart.css +61 -0
  59. package/dist/collection/components/molecules/tttx-chart/tttx-chart.js +383 -0
  60. package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +112 -0
  61. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
  62. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
  63. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
  64. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
  65. package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +21 -7
  66. package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +4 -4
  67. package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +1 -1
  68. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
  69. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
  70. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
  71. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
  72. package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
  73. package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
  74. package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
  75. package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
  76. package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
  77. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +8 -8
  78. package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
  79. package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
  80. package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
  81. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
  82. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -7
  83. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
  84. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +6 -6
  85. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +22 -22
  86. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
  87. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
  88. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
  89. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
  90. package/dist/collection/components/molecules/tttx-table/tttx-table.js +1 -1
  91. package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
  92. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
  93. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
  94. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
  95. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
  96. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
  97. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
  98. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
  99. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +1 -1
  100. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
  101. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
  102. package/dist/{cjs/tttx-graph_1_9_61.cjs.entry.js → components/auto.js} +1 -135
  103. package/dist/components/index.d.ts +34 -33
  104. package/dist/components/index.js +34 -33
  105. package/dist/components/tttx-action-dropdown_1_9_63.d.ts +11 -0
  106. package/dist/components/{tttx-action-dropdown_1_9_61.js → tttx-action-dropdown_1_9_63.js} +7 -7
  107. package/dist/components/tttx-button.js +5 -5
  108. package/dist/components/{tttx-dialog_1_9_61.d.ts → tttx-button_1_9_63.d.ts} +4 -4
  109. package/dist/components/{tttx-button_1_9_61.js → tttx-button_1_9_63.js} +2 -2
  110. package/dist/components/{tttx-graph_1_9_61.d.ts → tttx-chart_1_9_63.d.ts} +4 -4
  111. package/dist/components/tttx-chart_1_9_63.js +247 -0
  112. package/dist/components/tttx-checkbox-group-caption_1_9_63.d.ts +11 -0
  113. package/dist/components/{tttx-checkbox-group-caption_1_9_61.js → tttx-checkbox-group-caption_1_9_63.js} +5 -5
  114. package/dist/components/tttx-checkbox-group-heading_1_9_63.d.ts +11 -0
  115. package/dist/components/{tttx-checkbox-group-heading_1_9_61.js → tttx-checkbox-group-heading_1_9_63.js} +5 -5
  116. package/dist/components/tttx-checkbox-group_1_9_63.d.ts +11 -0
  117. package/dist/components/{tttx-checkbox-group_1_9_61.js → tttx-checkbox-group_1_9_63.js} +5 -5
  118. package/dist/components/{tttx-comments_1_9_61.d.ts → tttx-checkbox_1_9_63.d.ts} +4 -4
  119. package/dist/components/{tttx-checkbox_1_9_61.js → tttx-checkbox_1_9_63.js} +7 -7
  120. package/dist/components/{tttx-datacard_1_9_61.d.ts → tttx-comments_1_9_63.d.ts} +4 -4
  121. package/dist/components/{tttx-comments_1_9_61.js → tttx-comments_1_9_63.js} +26 -12
  122. package/dist/components/tttx-data-pattern_1_9_63.d.ts +11 -0
  123. package/dist/components/{tttx-data-pattern_1_9_61.js → tttx-data-pattern_1_9_63.js} +16 -16
  124. package/dist/components/{tttx-checkbox_1_9_61.d.ts → tttx-datacard_1_9_63.d.ts} +4 -4
  125. package/dist/components/{tttx-datacard_1_9_61.js → tttx-datacard_1_9_63.js} +10 -10
  126. package/dist/components/tttx-date-range-picker.js +3 -3
  127. package/dist/components/tttx-dialog-box_1_9_63.d.ts +11 -0
  128. package/dist/components/{tttx-dialog-box_1_9_61.js → tttx-dialog-box_1_9_63.js} +9 -9
  129. package/dist/components/{tttx-button_1_9_61.d.ts → tttx-dialog_1_9_63.d.ts} +4 -4
  130. package/dist/components/{tttx-dialog_1_9_61.js → tttx-dialog_1_9_63.js} +8 -8
  131. package/dist/components/tttx-expander_1_9_63.d.ts +11 -0
  132. package/dist/components/{tttx-expander_1_9_61.js → tttx-expander_1_9_63.js} +7 -7
  133. package/dist/components/tttx-filter.js +6 -6
  134. package/dist/components/{tttx-filter_1_9_61.d.ts → tttx-filter_1_9_63.d.ts} +4 -4
  135. package/dist/components/{tttx-filter_1_9_61.js → tttx-filter_1_9_63.js} +2 -2
  136. package/dist/components/{tttx-tabs_1_9_61.d.ts → tttx-form_1_9_63.d.ts} +4 -4
  137. package/dist/components/{tttx-form_1_9_61.js → tttx-form_1_9_63.js} +11 -11
  138. package/dist/components/tttx-graph.js +4 -14783
  139. package/dist/components/{tttx-table_1_9_61.d.ts → tttx-graph_1_9_63.d.ts} +4 -4
  140. package/dist/components/{tttx-graph_1_9_61.js → tttx-graph_1_9_63.js} +2 -2
  141. package/dist/components/tttx-icon.js +3 -3
  142. package/dist/components/{tttx-icon_1_9_61.d.ts → tttx-icon_1_9_63.d.ts} +4 -4
  143. package/dist/components/{tttx-icon_1_9_61.js → tttx-icon_1_9_63.js} +2 -2
  144. package/dist/components/tttx-keyvalue-block_1_9_63.d.ts +11 -0
  145. package/dist/components/{tttx-keyvalue-block_1_9_61.js → tttx-keyvalue-block_1_9_63.js} +5 -5
  146. package/dist/components/tttx-list.js +6 -6
  147. package/dist/components/{tttx-list_1_9_61.d.ts → tttx-list_1_9_63.d.ts} +4 -4
  148. package/dist/components/{tttx-list_1_9_61.js → tttx-list_1_9_63.js} +2 -2
  149. package/dist/components/tttx-loading-spinner.js +3 -3
  150. package/dist/components/tttx-loading-spinner_1_9_63.d.ts +11 -0
  151. package/dist/components/{tttx-loading-spinner_1_9_61.js → tttx-loading-spinner_1_9_63.js} +2 -2
  152. package/dist/components/tttx-multiselect-box_1_9_63.d.ts +11 -0
  153. package/dist/components/{tttx-multiselect-box_1_9_61.js → tttx-multiselect-box_1_9_63.js} +16 -16
  154. package/dist/components/tttx-percentage-bar_1_9_63.d.ts +11 -0
  155. package/dist/components/{tttx-percentage-bar_1_9_61.js → tttx-percentage-bar_1_9_63.js} +6 -6
  156. package/dist/components/{tttx-qrcode_1_9_61.d.ts → tttx-qrcode_1_9_63.d.ts} +4 -4
  157. package/dist/components/{tttx-qrcode_1_9_61.js → tttx-qrcode_1_9_63.js} +5 -5
  158. package/dist/components/tttx-select-box.js +12 -12
  159. package/dist/components/tttx-select-box_1_9_63.d.ts +11 -0
  160. package/dist/components/{tttx-select-box_1_9_61.js → tttx-select-box_1_9_63.js} +2 -2
  161. package/dist/components/tttx-skeleton_loader_1_9_63.d.ts +11 -0
  162. package/dist/components/{tttx-skeleton_loader_1_9_61.js → tttx-skeleton_loader_1_9_63.js} +5 -5
  163. package/dist/components/tttx-sorter.js +5 -5
  164. package/dist/components/tttx-sorter_1_9_63.d.ts +11 -0
  165. package/dist/components/{tttx-sorter_1_9_61.js → tttx-sorter_1_9_63.js} +2 -2
  166. package/dist/components/tttx-standalone-input.js +6 -6
  167. package/dist/components/tttx-standalone-input_1_9_63.d.ts +11 -0
  168. package/dist/components/{tttx-standalone-input_1_9_61.js → tttx-standalone-input_1_9_63.js} +2 -2
  169. package/dist/components/tttx-table_1_9_63.d.ts +11 -0
  170. package/dist/components/{tttx-table_1_9_61.js → tttx-table_1_9_63.js} +5 -5
  171. package/dist/components/{tttx-form_1_9_61.d.ts → tttx-tabs_1_9_63.d.ts} +4 -4
  172. package/dist/components/{tttx-tabs_1_9_61.js → tttx-tabs_1_9_63.js} +9 -9
  173. package/dist/components/tttx-tag.js +5 -5
  174. package/dist/components/{tttx-tag_1_9_61.d.ts → tttx-tag_1_9_63.d.ts} +4 -4
  175. package/dist/components/{tttx-tag_1_9_61.js → tttx-tag_1_9_63.js} +2 -2
  176. package/dist/components/tttx-textarea_1_9_63.d.ts +11 -0
  177. package/dist/components/{tttx-textarea_1_9_61.js → tttx-textarea_1_9_63.js} +6 -6
  178. package/dist/components/tttx-toggle_1_9_63.d.ts +11 -0
  179. package/dist/components/{tttx-toggle_1_9_61.js → tttx-toggle_1_9_63.js} +5 -5
  180. package/dist/components/tttx-toolbar.js +3 -3
  181. package/dist/components/tttx-toolbar_1_9_63.d.ts +11 -0
  182. package/dist/components/{tttx-toolbar_1_9_61.js → tttx-toolbar_1_9_63.js} +2 -2
  183. package/dist/components/tttx-tree-view_1_9_63.d.ts +11 -0
  184. package/dist/components/{tttx-tree-view_1_9_61.js → tttx-tree-view_1_9_63.js} +9 -9
  185. package/dist/esm/auto-c6e6ac5c.js +14781 -0
  186. package/dist/esm/loader.js +1 -1
  187. package/dist/esm/{tttx-action-dropdown_1_9_61.entry.js → tttx-action-dropdown_1_9_63.entry.js} +2 -2
  188. package/dist/esm/{tttx-button_1_9_61.entry.js → tttx-button_1_9_63.entry.js} +2 -2
  189. package/dist/esm/tttx-chart_1_9_63.entry.js +199 -0
  190. package/dist/esm/{tttx-checkbox-group-caption_1_9_61.entry.js → tttx-checkbox-group-caption_1_9_63.entry.js} +1 -1
  191. package/dist/esm/{tttx-checkbox-group-heading_1_9_61.entry.js → tttx-checkbox-group-heading_1_9_63.entry.js} +1 -1
  192. package/dist/esm/{tttx-checkbox-group_1_9_61.entry.js → tttx-checkbox-group_1_9_63.entry.js} +1 -1
  193. package/dist/esm/{tttx-checkbox_1_9_61.entry.js → tttx-checkbox_1_9_63.entry.js} +2 -2
  194. package/dist/esm/{tttx-comments_1_9_61.entry.js → tttx-comments_1_9_63.entry.js} +21 -7
  195. package/dist/esm/{tttx-data-pattern_1_9_61.entry.js → tttx-data-pattern_1_9_63.entry.js} +5 -5
  196. package/dist/esm/{tttx-datacard_1_9_61.entry.js → tttx-datacard_1_9_63.entry.js} +4 -4
  197. package/dist/esm/tttx-date-range-picker.entry.js +1 -1
  198. package/dist/esm/{tttx-dialog-box_1_9_61.entry.js → tttx-dialog-box_1_9_63.entry.js} +3 -3
  199. package/dist/esm/{tttx-dialog_1_9_61.entry.js → tttx-dialog_1_9_63.entry.js} +2 -2
  200. package/dist/esm/{tttx-expander_1_9_61.entry.js → tttx-expander_1_9_63.entry.js} +2 -2
  201. package/dist/esm/{tttx-filter_1_9_61_4.entry.js → tttx-filter_1_9_63_4.entry.js} +6 -6
  202. package/dist/esm/{tttx-form_1_9_61.entry.js → tttx-form_1_9_63.entry.js} +2 -2
  203. package/dist/esm/tttx-graph_1_9_63.entry.js +132 -0
  204. package/dist/esm/{tttx-icon_1_9_61.entry.js → tttx-icon_1_9_63.entry.js} +1 -1
  205. package/dist/esm/{tttx-keyvalue-block_1_9_61.entry.js → tttx-keyvalue-block_1_9_63.entry.js} +1 -1
  206. package/dist/esm/{tttx-loading-spinner_1_9_61_3.entry.js → tttx-loading-spinner_1_9_63_3.entry.js} +4 -4
  207. package/dist/esm/{tttx-multiselect-box_1_9_61.entry.js → tttx-multiselect-box_1_9_63.entry.js} +7 -7
  208. package/dist/esm/{tttx-percentage-bar_1_9_61.entry.js → tttx-percentage-bar_1_9_63.entry.js} +2 -2
  209. package/dist/esm/{tttx-qrcode_1_9_61.entry.js → tttx-qrcode_1_9_63.entry.js} +1 -1
  210. package/dist/esm/{tttx-select-box_1_9_61.entry.js → tttx-select-box_1_9_63.entry.js} +6 -6
  211. package/dist/esm/{tttx-skeleton_loader_1_9_61.entry.js → tttx-skeleton_loader_1_9_63.entry.js} +1 -1
  212. package/dist/esm/{tttx-table_1_9_61.entry.js → tttx-table_1_9_63.entry.js} +1 -1
  213. package/dist/esm/{tttx-tabs_1_9_61.entry.js → tttx-tabs_1_9_63.entry.js} +4 -4
  214. package/dist/esm/{tttx-textarea_1_9_61.entry.js → tttx-textarea_1_9_63.entry.js} +2 -2
  215. package/dist/esm/{tttx-toggle_1_9_61.entry.js → tttx-toggle_1_9_63.entry.js} +1 -1
  216. package/dist/esm/{tttx-tree-view_1_9_61.entry.js → tttx-tree-view_1_9_63.entry.js} +3 -3
  217. package/dist/esm/tttx.js +1 -1
  218. package/dist/tttx/p-13d3d63c.entry.js +1 -1
  219. package/dist/tttx/p-1814eb61.entry.js +1 -1
  220. package/dist/tttx/p-19294325.entry.js +1 -1
  221. package/dist/tttx/p-218f3309.entry.js +1 -1
  222. package/dist/tttx/p-24eef142.entry.js +1 -1
  223. package/dist/tttx/p-2636cba4.entry.js +1 -1
  224. package/dist/tttx/p-39bb618e.js +19 -0
  225. package/dist/tttx/p-477b66de.entry.js +1 -1
  226. package/dist/tttx/p-54060e46.entry.js +1 -1
  227. package/dist/tttx/p-5f35edd8.entry.js +1 -1
  228. package/dist/tttx/p-61af5028.entry.js +1 -1
  229. package/dist/tttx/p-67f75171.entry.js +1 -1
  230. package/dist/tttx/p-7bfa4e1e.entry.js +1 -1
  231. package/dist/tttx/p-7c7e8951.entry.js +1 -1
  232. package/dist/tttx/p-8be90d8a.entry.js +1 -1
  233. package/dist/tttx/p-972b7449.entry.js +1 -1
  234. package/dist/tttx/p-a1ba99fb.entry.js +1 -1
  235. package/dist/tttx/p-a474dc05.entry.js +1 -1
  236. package/dist/tttx/p-a7527509.entry.js +1 -0
  237. package/dist/tttx/p-a800aa5d.entry.js +1 -1
  238. package/dist/tttx/p-acb9e007.entry.js +1 -1
  239. package/dist/tttx/p-b44ddcb7.entry.js +1 -1
  240. package/dist/tttx/p-b4b5e1e1.entry.js +1 -1
  241. package/dist/tttx/p-bc8c1d08.entry.js +1 -1
  242. package/dist/tttx/p-c9e7d9fa.entry.js +1 -0
  243. package/dist/tttx/p-cb3b393b.entry.js +1 -1
  244. package/dist/tttx/p-d62c8ed2.entry.js +1 -1
  245. package/dist/tttx/p-e84965f0.entry.js +1 -1
  246. package/dist/tttx/p-edf27c73.entry.js +1 -1
  247. package/dist/tttx/p-f1e945ba.entry.js +1 -1
  248. package/dist/tttx/p-fac3056d.entry.js +1 -0
  249. package/dist/tttx/tttx.esm.js +1 -1
  250. package/dist/types/components/molecules/tttx-chart/tttx-chart.d.ts +42 -0
  251. package/dist/types/components/molecules/tttx-chart/tttx-chart.stories.d.ts +11 -0
  252. package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
  253. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
  254. package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
  255. package/dist/types/components.d.ts +430 -395
  256. package/package.json +1 -1
  257. package/dist/components/tttx-action-dropdown_1_9_61.d.ts +0 -11
  258. package/dist/components/tttx-checkbox-group-caption_1_9_61.d.ts +0 -11
  259. package/dist/components/tttx-checkbox-group-heading_1_9_61.d.ts +0 -11
  260. package/dist/components/tttx-checkbox-group_1_9_61.d.ts +0 -11
  261. package/dist/components/tttx-data-pattern_1_9_61.d.ts +0 -11
  262. package/dist/components/tttx-dialog-box_1_9_61.d.ts +0 -11
  263. package/dist/components/tttx-expander_1_9_61.d.ts +0 -11
  264. package/dist/components/tttx-keyvalue-block_1_9_61.d.ts +0 -11
  265. package/dist/components/tttx-loading-spinner_1_9_61.d.ts +0 -11
  266. package/dist/components/tttx-multiselect-box_1_9_61.d.ts +0 -11
  267. package/dist/components/tttx-percentage-bar_1_9_61.d.ts +0 -11
  268. package/dist/components/tttx-select-box_1_9_61.d.ts +0 -11
  269. package/dist/components/tttx-skeleton_loader_1_9_61.d.ts +0 -11
  270. package/dist/components/tttx-sorter_1_9_61.d.ts +0 -11
  271. package/dist/components/tttx-standalone-input_1_9_61.d.ts +0 -11
  272. package/dist/components/tttx-textarea_1_9_61.d.ts +0 -11
  273. package/dist/components/tttx-toggle_1_9_61.d.ts +0 -11
  274. package/dist/components/tttx-toolbar_1_9_61.d.ts +0 -11
  275. package/dist/components/tttx-tree-view_1_9_61.d.ts +0 -11
  276. package/dist/tttx/p-bbecd0d9.entry.js +0 -19
  277. package/dist/tttx/p-f57792f7.entry.js +0 -1
@@ -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_61 };
14783
+ exports.Chart = Chart;
14784
+ exports.DoughnutController = DoughnutController;
14785
+ exports.LineController = LineController;
@@ -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_61.cjs",[[1,"tttx-data-pattern_1_9_61",{"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_61.cjs",[[1,"tttx-form_1_9_61",{"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_61.cjs",[[1,"tttx-multiselect-box_1_9_61",{"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_61.cjs",[[1,"tttx-datacard_1_9_61",{"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_61.cjs",[[1,"tttx-dialog-box_1_9_61",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_61.cjs",[[1,"tttx-dialog_1_9_61",{"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_61.cjs",[[1,"tttx-tree-view_1_9_61",{"data":[1040],"treeData":[32]}]]],["tttx-action-dropdown_1_9_61.cjs",[[1,"tttx-action-dropdown_1_9_61",{"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_61.cjs",[[0,"tttx-checkbox_1_9_61",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_61.cjs",[[1,"tttx-comments_1_9_61",{"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_61.cjs",[[1,"tttx-expander_1_9_61",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_61.cjs",[[2,"tttx-tabs_1_9_61",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_61.cjs",[[4,"tttx-checkbox-group-caption_1_9_61"]]],["tttx-checkbox-group-heading_1_9_61.cjs",[[4,"tttx-checkbox-group-heading_1_9_61"]]],["tttx-checkbox-group_1_9_61.cjs",[[1,"tttx-checkbox-group_1_9_61"]]],["tttx-keyvalue-block_1_9_61.cjs",[[1,"tttx-keyvalue-block_1_9_61",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_61.cjs",[[2,"tttx-percentage-bar_1_9_61",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_61.cjs",[[1,"tttx-qrcode_1_9_61",{"link":[1025],"size":[1026]}]]],["tttx-skeleton_loader_1_9_61.cjs",[[1,"tttx-skeleton_loader_1_9_61",{"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_61.cjs",[[1,"tttx-table_1_9_61",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_61.cjs",[[2,"tttx-textarea_1_9_61",{"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_61.cjs",[[1,"tttx-toggle_1_9_61",{"initialstate":[8],"_state":[32]}]]],["tttx-loading-spinner_1_9_61_3.cjs",[[1,"tttx-tag_1_9_61",{"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_61",{"loadingMessage":[4,"loading-message"],"size":[1],"color":[1],"message":[1],"customMessageSchema":[16],"timeElapsed":[32]}],[2,"tttx-standalone-input_1_9_61",{"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_61.cjs",[[1,"tttx-select-box_1_9_61",{"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_61.cjs",[[1,"tttx-graph_1_9_61",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-icon_1_9_61.cjs",[[1,"tttx-icon_1_9_61",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-filter_1_9_61_4.cjs",[[1,"tttx-filter_1_9_61",{"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_61",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_61",{"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_61",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-button_1_9_61.cjs",[[1,"tttx-button_1_9_61",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
17
+ return index.bootstrapLazy([["tttx-data-pattern_1_9_63.cjs",[[1,"tttx-data-pattern_1_9_63",{"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_63.cjs",[[1,"tttx-form_1_9_63",{"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_63.cjs",[[1,"tttx-multiselect-box_1_9_63",{"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_63.cjs",[[1,"tttx-chart_1_9_63",{"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_63.cjs",[[1,"tttx-datacard_1_9_63",{"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_63.cjs",[[1,"tttx-dialog-box_1_9_63",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_63.cjs",[[1,"tttx-dialog_1_9_63",{"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_63.cjs",[[1,"tttx-tree-view_1_9_63",{"data":[1040],"treeData":[32]}]]],["tttx-action-dropdown_1_9_63.cjs",[[1,"tttx-action-dropdown_1_9_63",{"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_63.cjs",[[0,"tttx-checkbox_1_9_63",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_63.cjs",[[1,"tttx-comments_1_9_63",{"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_63.cjs",[[1,"tttx-expander_1_9_63",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_63.cjs",[[2,"tttx-tabs_1_9_63",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_63.cjs",[[4,"tttx-checkbox-group-caption_1_9_63"]]],["tttx-checkbox-group-heading_1_9_63.cjs",[[4,"tttx-checkbox-group-heading_1_9_63"]]],["tttx-checkbox-group_1_9_63.cjs",[[1,"tttx-checkbox-group_1_9_63"]]],["tttx-keyvalue-block_1_9_63.cjs",[[1,"tttx-keyvalue-block_1_9_63",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_63.cjs",[[2,"tttx-percentage-bar_1_9_63",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_63.cjs",[[1,"tttx-qrcode_1_9_63",{"link":[1025],"size":[1026]}]]],["tttx-skeleton_loader_1_9_63.cjs",[[1,"tttx-skeleton_loader_1_9_63",{"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_63.cjs",[[1,"tttx-table_1_9_63",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_63.cjs",[[2,"tttx-textarea_1_9_63",{"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_63.cjs",[[1,"tttx-toggle_1_9_63",{"initialstate":[8],"_state":[32]}]]],["tttx-loading-spinner_1_9_63_3.cjs",[[1,"tttx-tag_1_9_63",{"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_63",{"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_63",{"loadingMessage":[4,"loading-message"],"size":[1],"color":[1],"message":[1],"customMessageSchema":[16],"timeElapsed":[32]}]]],["tttx-select-box_1_9_63.cjs",[[1,"tttx-select-box_1_9_63",{"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_63.cjs",[[1,"tttx-graph_1_9_63",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-icon_1_9_63.cjs",[[1,"tttx-icon_1_9_63",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-filter_1_9_63_4.cjs",[[1,"tttx-filter_1_9_63",{"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_63",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_63",{"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_63",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-button_1_9_63.cjs",[[1,"tttx-button_1_9_63",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
18
18
  });
19
19
  };
20
20
 
@@ -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_61", { 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_61", { 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_63", { 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_63", { 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_61 = TttxActionDropdown;
61
+ exports.tttx_action_dropdown_1_9_63 = TttxActionDropdown;
@@ -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_61", { 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_61", { 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_63", { 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_63", { icon: this.icon, color: this._iconcolor }))))));
32
32
  }
33
33
  };
34
34
  TttxButton.style = tttxButtonCss;
35
35
 
36
- exports.tttx_button_1_9_61 = TttxButton;
36
+ exports.tttx_button_1_9_63 = TttxButton;
@@ -0,0 +1,203 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-ec367fa3.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_63", { 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_63", { class: 'reload-btn', icon: "refresh", design: 'default', onClick: () => this.renderChart() }, "Reload data"), index.h("tttx-button_1_9_63", { 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_63", { 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_63", { class: 'export-png', design: "primary", onClick: () => this.exportChart('png') }, "Export PNG"), this.showPngSvgExport && index.h("tttx-button_1_9_63", { class: 'export-svg', design: "primary", onClick: () => this.exportChart('svg') }, "Export SVG"), index.h("tttx-button_1_9_63", { 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_63 = TttxChart;
@@ -16,4 +16,4 @@ const TttxCheckboxGroupCaption = class {
16
16
  };
17
17
  TttxCheckboxGroupCaption.style = tttxCheckboxGroupCss;
18
18
 
19
- exports.tttx_checkbox_group_caption_1_9_61 = TttxCheckboxGroupCaption;
19
+ exports.tttx_checkbox_group_caption_1_9_63 = TttxCheckboxGroupCaption;
@@ -16,4 +16,4 @@ const TttxCheckboxGroupHeading = class {
16
16
  };
17
17
  TttxCheckboxGroupHeading.style = tttxCheckboxGroupCss;
18
18
 
19
- exports.tttx_checkbox_group_heading_1_9_61 = TttxCheckboxGroupHeading;
19
+ exports.tttx_checkbox_group_heading_1_9_63 = TttxCheckboxGroupHeading;
@@ -16,4 +16,4 @@ const TttxCheckboxGroup = class {
16
16
  };
17
17
  TttxCheckboxGroup.style = tttxCheckboxGroupCss;
18
18
 
19
- exports.tttx_checkbox_group_1_9_61 = TttxCheckboxGroup;
19
+ exports.tttx_checkbox_group_1_9_63 = TttxCheckboxGroup;
@@ -32,7 +32,7 @@ const TttxCheckbox = class {
32
32
  render() {
33
33
  const checkBoxIcon = this.checked ? 'check_box' : 'check_box_outline_blank';
34
34
  const renderedIcon = this.indeterminate ? 'indeterminate_check_box' : checkBoxIcon;
35
- return (index.h(index.Host, null, index.h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, index.h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), index.h("tttx-icon_1_9_61", { color: this.checked ? 'blue' : 'grey', icon: renderedIcon, onClick: this.onClick.bind(this) }), index.h("span", { class: "tttx-checkbox__label" }, this.label))));
35
+ return (index.h(index.Host, null, index.h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, index.h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), index.h("tttx-icon_1_9_63", { color: this.checked ? 'blue' : 'grey', icon: renderedIcon, onClick: this.onClick.bind(this) }), index.h("span", { class: "tttx-checkbox__label" }, this.label))));
36
36
  }
37
37
  static get watchers() { return {
38
38
  "indeterminate": ["watchIndeterminateChange"]
@@ -40,4 +40,4 @@ const TttxCheckbox = class {
40
40
  };
41
41
  TttxCheckbox.style = tttxCheckboxCss;
42
42
 
43
- exports.tttx_checkbox_1_9_61 = TttxCheckbox;
43
+ exports.tttx_checkbox_1_9_63 = TttxCheckbox;
@@ -63,7 +63,12 @@ const TttxComments = class {
63
63
  }
64
64
  renderCommentBubble() {
65
65
  var _a, _b;
66
- let unreadDividerRendered = ((_a = this._comments) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.isUnread(this._comments[0]) : false;
66
+ const hasUnreadAtTop = ((_a = this._comments) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.isUnread(this._comments[0]) : false;
67
+ let unreadDividerRendered = false;
68
+ let topDivider = null;
69
+ if (hasUnreadAtTop) {
70
+ topDivider = (index.h("div", { class: "unread-comment-divider" }, index.h("hr", { class: "unread-comment-divider-line" }), index.h("span", { class: "unread-comments-text" }, "New Unread Comments"), index.h("hr", { class: "unread-comment-divider-line" })));
71
+ }
67
72
  return (index.h(index.Fragment, null, (_b = this._comments) === null || _b === void 0 ? void 0 : _b.map((comment, index$1) => {
68
73
  var _a;
69
74
  const isCurrentUser = comment.createdByFullName === this.currentuser;
@@ -71,9 +76,18 @@ const TttxComments = class {
71
76
  const isLastComment = index$1 === this._comments.length - 1;
72
77
  const topComment = index$1 === 0 ? { marginTop: '10px' } : {};
73
78
  const nextIsUnread = !isLastComment ? this.isUnread(this._comments[index$1 + 1]) : false;
74
- const commentContent = (index.h("div", { class: bubbleClass, key: comment.id, style: topComment }, index.h("div", { class: "bubbleHeader" }, index.h("div", { class: "bubble-header-inner" }, index.h("span", { class: "commentName" }, comment.createdByFullName), this.isUnread(comment) && (index.h("tttx-icon_1_9_61", { class: "unread-symbol", icon: "error", color: "blue", style: { height: '18px' }, size: 18 }))), ((_a = comment.metadata) === null || _a === void 0 ? void 0 : _a.contextString) && (index.h("span", { class: "commentContext" }, "(", comment.metadata.contextString, ")"))), index.h("div", { class: `bubbleText ${comment.isDeleted ? 'deleted-comment' : ''}` }, this.renderCommentInner(comment)), index.h("div", { class: "bubbleFooter" }, !this.readonly && this.allowEditing && isCurrentUser && !comment.isDeleted && !!comment.id && (index.h("div", null, !this.isFileComment(comment) && (index.h(index.Fragment, null, index.h("span", { class: "clickable", onClick: this.onEdit.bind(this, comment) }, "Edit"), " | ")), index.h("span", { class: "clickable", onClick: this.onRemove.bind(this, comment) }, "Remove"))), index.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)}`)), !isLastComment && (!nextIsUnread || unreadDividerRendered) && index.h("hr", { class: "commentDivider" }), !isLastComment && nextIsUnread && !unreadDividerRendered && (index.h("div", { class: "unread-comment-divider" }, index.h("hr", { class: "unread-comment-divider-line" }), index.h("span", { class: "unread-comments-text" }, "New Unread Comments"), index.h("hr", { class: "unread-comment-divider-line" })))));
75
- unreadDividerRendered = nextIsUnread;
76
- return commentContent;
79
+ const firstComment = index$1 === 0 ? true : false;
80
+ let divider = null;
81
+ if (!isLastComment &&
82
+ nextIsUnread &&
83
+ !unreadDividerRendered &&
84
+ !(hasUnreadAtTop && index$1 === 0)) {
85
+ divider = (index.h("div", { class: "unread-comment-divider" }, index.h("hr", { class: "unread-comment-divider-line" }), index.h("span", { class: "unread-comments-text" }, "New Unread Comments"), index.h("hr", { class: "unread-comment-divider-line" })));
86
+ }
87
+ unreadDividerRendered = unreadDividerRendered || nextIsUnread;
88
+ return [
89
+ index.h("div", { class: bubbleClass, style: topComment }, firstComment && topDivider, index.h("div", { class: "bubbleHeader" }, index.h("div", { class: "bubble-header-inner" }, index.h("span", { class: "commentName" }, comment.createdByFullName), this.isUnread(comment) && (index.h("tttx-icon_1_9_63", { class: "unread-symbol", icon: "error", color: "blue", style: { height: '18px' }, size: 18 }))), ((_a = comment.metadata) === null || _a === void 0 ? void 0 : _a.contextString) && (index.h("span", { class: "commentContext" }, "(", comment.metadata.contextString, ")"))), index.h("div", { class: `bubbleText ${comment.isDeleted ? 'deleted-comment' : ''}` }, this.renderCommentInner(comment)), index.h("div", { class: "bubbleFooter" }, !this.readonly && this.allowEditing && isCurrentUser && !comment.isDeleted && !!comment.id && (index.h("div", null, !this.isFileComment(comment) && (index.h(index.Fragment, null, index.h("span", { class: "clickable", onClick: this.onEdit.bind(this, comment) }, "Edit"), " | ")), index.h("span", { class: "clickable", onClick: this.onRemove.bind(this, comment) }, "Remove"))), index.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 && index.h("hr", { class: "commentDivider" }), divider)
90
+ ];
77
91
  })));
78
92
  }
79
93
  renderCommentInner(comment) {
@@ -83,7 +97,7 @@ const TttxComments = class {
83
97
  return this.isFileComment(comment) ? this.renderFileLink(comment.metadata) : comment.text;
84
98
  }
85
99
  renderFileLink(metadata) {
86
- return (index.h("div", { class: "file-link-container" }, index.h("tttx-icon_1_9_61", { icon: "attach_file", color: "black", style: { height: '20px' }, size: 20 }), index.h("button", { class: "linkButton", type: "button", value: metadata.key, onClick: this.onFileDownloadRequest.bind(this) }, metadata.filename)));
100
+ return (index.h("div", { class: "file-link-container" }, index.h("tttx-icon_1_9_63", { icon: "attach_file", color: "black", style: { height: '20px' }, size: 20 }), index.h("button", { class: "linkButton", type: "button", value: metadata.key, onClick: this.onFileDownloadRequest.bind(this) }, metadata.filename)));
87
101
  }
88
102
  onFormSubmit(event) {
89
103
  // get comment text
@@ -177,7 +191,7 @@ const TttxComments = class {
177
191
  this.requestCommentRemoval.emit(comment);
178
192
  }
179
193
  render() {
180
- return (index.h(index.Host, null, index.h("article", { id: "comment-container" }, (!Array.isArray(this._comments) || this._comments.length === 0) && (index.h("div", { class: "no-comments" }, index.h("tttx-icon_1_9_61", { class: 'mt-s', icon: "chat_bubble_outline", color: "grey" }), index.h("span", null, "No comments have been added"))), index.h("section", { id: "comment-bubbles-section" }, index.h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), index.h("section", { id: "input-section" }, !this.readonly && index.h("form", { onSubmit: this.onFormSubmit.bind(this) }, this.editingComment && (index.h("div", { class: "cancel-edit-container" }, index.h("span", { class: "cancel-edit-button clickable", onClick: this.onFinishEdit.bind(this) }, "x"))), index.h("fieldset", null, index.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 && (index.h("span", { class: 'errorBubble visible' }, index.h("span", { class: "material-symbols-rounded" }, "warning"), " ", `${this.messageLimit} character limit is reached.`)), index.h("fieldset", null, this.editingComment && (index.h("span", { class: 'editing-sub-text' }, "Editing comment")), !this.disableFile && (index.h("button", { id: "attach-file", class: "flex-right-align clickable", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, index.h("tttx-icon_1_9_61", { color: "black", icon: "attach_file" }))), index.h("input", { class: (this.disableFile ? 'flex-right-align ' : '') + 'clickable', style: { width: 'fit-content' }, type: "submit", value: this._saveButtonText })))))));
194
+ return (index.h(index.Host, null, index.h("article", { id: "comment-container" }, (!Array.isArray(this._comments) || this._comments.length === 0) && (index.h("div", { class: "no-comments" }, index.h("tttx-icon_1_9_63", { class: 'mt-s', icon: "chat_bubble_outline", color: "grey" }), index.h("span", null, "No comments have been added"))), index.h("section", { id: "comment-bubbles-section" }, index.h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), index.h("section", { id: "input-section" }, !this.readonly && index.h("form", { onSubmit: this.onFormSubmit.bind(this) }, this.editingComment && (index.h("div", { class: "cancel-edit-container" }, index.h("span", { class: "cancel-edit-button clickable", onClick: this.onFinishEdit.bind(this) }, "x"))), index.h("fieldset", null, index.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 && (index.h("span", { class: 'errorBubble visible' }, index.h("span", { class: "material-symbols-rounded" }, "warning"), " ", `${this.messageLimit} character limit is reached.`)), index.h("fieldset", null, this.editingComment && (index.h("span", { class: 'editing-sub-text' }, "Editing comment")), !this.disableFile && (index.h("button", { id: "attach-file", class: "flex-right-align clickable", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, index.h("tttx-icon_1_9_63", { color: "black", icon: "attach_file" }))), index.h("input", { class: (this.disableFile ? 'flex-right-align ' : '') + 'clickable', style: { width: 'fit-content' }, type: "submit", value: this._saveButtonText })))))));
181
195
  }
182
196
  static get watchers() { return {
183
197
  "comments": ["onCommentsChange"]
@@ -197,4 +211,4 @@ const timestampOptions = {
197
211
  };
198
212
  TttxComments.style = tttxCommentsCss;
199
213
 
200
- exports.tttx_comments_1_9_61 = TttxComments;
214
+ exports.tttx_comments_1_9_63 = TttxComments;
@@ -19,12 +19,12 @@ const TttxDataPattern = class {
19
19
  this.addbutton = false;
20
20
  }
21
21
  render() {
22
- return (index.h(index.Host, null, index.h("div", { class: "container" }, index.h("tttx-toolbar_1_9_61", { border: true }, index.h("span", { slot: "before" }, this.sorterOptions &&
23
- index.h("tttx-sorter_1_9_61", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
24
- index.h("tttx-filter_1_9_61", { "filter-options": JSON.stringify(this.filterOptions), showSelectAll: false, "show-option-icons": true, "filter-header": this.filterHeader, "filter-key": "data-pattern-list" })), index.h("span", { slot: "after" }, index.h("tttx-standalone-input_1_9_61", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), index.h("tttx-toolbar_1_9_61", { border: false }, index.h("span", { slot: "before" }, this.addbutton &&
25
- index.h("tttx-button_1_9_61", { design: "primary", icon: "add" }, this.addbuttonlabel))), index.h("tttx-list_1_9_61", { data: this.data }))));
22
+ return (index.h(index.Host, null, index.h("div", { class: "container" }, index.h("tttx-toolbar_1_9_63", { border: true }, index.h("span", { slot: "before" }, this.sorterOptions &&
23
+ index.h("tttx-sorter_1_9_63", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
24
+ index.h("tttx-filter_1_9_63", { "filter-options": JSON.stringify(this.filterOptions), showSelectAll: false, "show-option-icons": true, "filter-header": this.filterHeader, "filter-key": "data-pattern-list" })), index.h("span", { slot: "after" }, index.h("tttx-standalone-input_1_9_63", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), index.h("tttx-toolbar_1_9_63", { border: false }, index.h("span", { slot: "before" }, this.addbutton &&
25
+ index.h("tttx-button_1_9_63", { design: "primary", icon: "add" }, this.addbuttonlabel))), index.h("tttx-list_1_9_63", { data: this.data }))));
26
26
  }
27
27
  };
28
28
  TttxDataPattern.style = tttxDataPatternCss;
29
29
 
30
- exports.tttx_data_pattern_1_9_61 = TttxDataPattern;
30
+ exports.tttx_data_pattern_1_9_63 = TttxDataPattern;
@@ -32,16 +32,16 @@ const TttxDatacard = class {
32
32
  renderIcon(iconstyle) {
33
33
  switch (iconstyle) {
34
34
  case 'up':
35
- return index.h("tttx-icon_1_9_61", { size: 24, icon: "arrow_circle_up", color: "green" });
35
+ return index.h("tttx-icon_1_9_63", { size: 24, icon: "arrow_circle_up", color: "green" });
36
36
  case 'down':
37
- return index.h("tttx-icon_1_9_61", { size: 24, icon: "arrow_circle_down", color: "darkred" });
37
+ return index.h("tttx-icon_1_9_63", { size: 24, icon: "arrow_circle_down", color: "darkred" });
38
38
  default:
39
39
  return null;
40
40
  }
41
41
  }
42
42
  render() {
43
43
  return (index.h(index.Host, null, index.h("div", { class: "datacard" }, this.cardTitle && index.h("h2", { style: { 'position': 'relative', 'top': '0', 'left': '0', 'height': '40px' } }, this.cardTitle), this.chartRender && this.cardType === 'chart' &&
44
- index.h("tttx-graph_1_9_61", { style: { 'position': 'relative', 'width': '100%', 'height': this.cardTitle ? 'calc(100% - 40px)' : '100%' }, class: 'chart', "chart-data": this._chartConfig.chartData, "chart-text": this._chartConfig.chartText, "chart-type": this._chartConfig.chartType }), index.h("div", { style: { 'position': 'relative', 'width': '100%', 'height': this.cardTitle ? 'calc(100% - 40px)' : '100%' } }, index.h("div", { class: "lower" }, index.h("div", { class: this.rightData && this.rightData !== 'undefined' ? 'left' : 'centered' }, this.leftData), this.rightData && this.rightData !== 'undefined' &&
44
+ index.h("tttx-graph_1_9_63", { style: { 'position': 'relative', 'width': '100%', 'height': this.cardTitle ? 'calc(100% - 40px)' : '100%' }, class: 'chart', "chart-data": this._chartConfig.chartData, "chart-text": this._chartConfig.chartText, "chart-type": this._chartConfig.chartType }), index.h("div", { style: { 'position': 'relative', 'width': '100%', 'height': this.cardTitle ? 'calc(100% - 40px)' : '100%' } }, index.h("div", { class: "lower" }, index.h("div", { class: this.rightData && this.rightData !== 'undefined' ? 'left' : 'centered' }, this.leftData), this.rightData && this.rightData !== 'undefined' &&
45
45
  index.h("div", { class: "right" }, index.h("div", { class: "flex" }, index.h("div", { class: "righticon" }, this.renderIcon(this.iconStyle)), index.h("div", { class: "rightdata" }, this.rightData)), index.h("div", { class: "subtext" }, this.rightSubtext)))))));
46
46
  }
47
47
  static get watchers() { return {
@@ -50,4 +50,4 @@ const TttxDatacard = class {
50
50
  };
51
51
  TttxDatacard.style = tttxDatacardCss;
52
52
 
53
- exports.tttx_datacard_1_9_61 = TttxDatacard;
53
+ exports.tttx_datacard_1_9_63 = TttxDatacard;
@@ -212,7 +212,7 @@ const TttxDateRangePicker = class {
212
212
  return (index.h(index.Host, null, index.h("div", { class: "date-range-input", tabIndex: 0, "aria-haspopup": "dialog", "aria-expanded": this.showCalendar ? 'true' : 'false', ref: el => (this.inputRef = el), onClick: this.handleInputClick }, index.h("span", { class: {
213
213
  'range-text': true,
214
214
  'is-placeholder': !(this.startDate || this.endDate),
215
- } }, rangeText), (this.startDate || this.endDate) && (index.h("button", { class: "clear-btn", "aria-label": "Clear", onClick: this.handleClear }, "\u00D7")), index.h("span", { class: "calendar-icon", "aria-hidden": "true" }, index.h("tttx-icon_1_9_61", { icon: 'calendar_month' }))), this.showCalendar && (index.h("div", { class: "calendar-popup single" }, this.renderCalendar(this.currentYear, this.currentMonth, this.handleDateClick.bind(this))))));
215
+ } }, rangeText), (this.startDate || this.endDate) && (index.h("button", { class: "clear-btn", "aria-label": "Clear", onClick: this.handleClear }, "\u00D7")), index.h("span", { class: "calendar-icon", "aria-hidden": "true" }, index.h("tttx-icon_1_9_63", { icon: 'calendar_month' }))), this.showCalendar && (index.h("div", { class: "calendar-popup single" }, this.renderCalendar(this.currentYear, this.currentMonth, this.handleDateClick.bind(this))))));
216
216
  }
217
217
  static get watchers() { return {
218
218
  "initialValue": ["watchInitialValue"]