@3t-transform/threeteeui 1.9.59 → 1.9.60

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 (263) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/{tttx-action-dropdown_1_9_59.cjs.entry.js → tttx-action-dropdown_1_9_60.cjs.entry.js} +2 -2
  3. package/dist/cjs/{tttx-button_1_9_59.cjs.entry.js → tttx-button_1_9_60.cjs.entry.js} +2 -2
  4. package/dist/cjs/{tttx-checkbox-group-caption_1_9_59.cjs.entry.js → tttx-checkbox-group-caption_1_9_60.cjs.entry.js} +1 -1
  5. package/dist/cjs/{tttx-checkbox-group-heading_1_9_59.cjs.entry.js → tttx-checkbox-group-heading_1_9_60.cjs.entry.js} +1 -1
  6. package/dist/cjs/{tttx-checkbox-group_1_9_59.cjs.entry.js → tttx-checkbox-group_1_9_60.cjs.entry.js} +1 -1
  7. package/dist/cjs/{tttx-checkbox_1_9_59.cjs.entry.js → tttx-checkbox_1_9_60.cjs.entry.js} +2 -2
  8. package/dist/cjs/{tttx-comments_1_9_59.cjs.entry.js → tttx-comments_1_9_60.cjs.entry.js} +18 -7
  9. package/dist/cjs/{tttx-data-pattern_1_9_59.cjs.entry.js → tttx-data-pattern_1_9_60.cjs.entry.js} +5 -5
  10. package/dist/cjs/{tttx-datacard_1_9_59.cjs.entry.js → tttx-datacard_1_9_60.cjs.entry.js} +4 -4
  11. package/dist/cjs/tttx-date-range-picker.cjs.entry.js +1 -1
  12. package/dist/cjs/{tttx-dialog-box_1_9_59.cjs.entry.js → tttx-dialog-box_1_9_60.cjs.entry.js} +3 -3
  13. package/dist/cjs/{tttx-dialog_1_9_59.cjs.entry.js → tttx-dialog_1_9_60.cjs.entry.js} +2 -2
  14. package/dist/cjs/{tttx-expander_1_9_59.cjs.entry.js → tttx-expander_1_9_60.cjs.entry.js} +2 -2
  15. package/dist/cjs/{tttx-filter_1_9_59_4.cjs.entry.js → tttx-filter_1_9_60_4.cjs.entry.js} +9 -9
  16. package/dist/cjs/{tttx-form_1_9_59.cjs.entry.js → tttx-form_1_9_60.cjs.entry.js} +2 -2
  17. package/dist/cjs/{tttx-graph_1_9_59.cjs.entry.js → tttx-graph_1_9_60.cjs.entry.js} +1 -1
  18. package/dist/cjs/{tttx-icon_1_9_59.cjs.entry.js → tttx-icon_1_9_60.cjs.entry.js} +1 -1
  19. package/dist/cjs/{tttx-keyvalue-block_1_9_59.cjs.entry.js → tttx-keyvalue-block_1_9_60.cjs.entry.js} +1 -1
  20. package/dist/cjs/{tttx-loading-spinner_1_9_59_3.cjs.entry.js → tttx-loading-spinner_1_9_60_3.cjs.entry.js} +6 -6
  21. package/dist/cjs/{tttx-multiselect-box_1_9_59.cjs.entry.js → tttx-multiselect-box_1_9_60.cjs.entry.js} +7 -7
  22. package/dist/cjs/{tttx-percentage-bar_1_9_59.cjs.entry.js → tttx-percentage-bar_1_9_60.cjs.entry.js} +2 -2
  23. package/dist/cjs/{tttx-qrcode_1_9_59.cjs.entry.js → tttx-qrcode_1_9_60.cjs.entry.js} +1 -1
  24. package/dist/cjs/{tttx-select-box_1_9_59.cjs.entry.js → tttx-select-box_1_9_60.cjs.entry.js} +6 -6
  25. package/dist/cjs/{tttx-skeleton_loader_1_9_59.cjs.entry.js → tttx-skeleton_loader_1_9_60.cjs.entry.js} +1 -1
  26. package/dist/cjs/{tttx-table_1_9_59.cjs.entry.js → tttx-table_1_9_60.cjs.entry.js} +1 -1
  27. package/dist/cjs/{tttx-tabs_1_9_59.cjs.entry.js → tttx-tabs_1_9_60.cjs.entry.js} +4 -4
  28. package/dist/cjs/{tttx-textarea_1_9_59.cjs.entry.js → tttx-textarea_1_9_60.cjs.entry.js} +2 -2
  29. package/dist/cjs/{tttx-toggle_1_9_59.cjs.entry.js → tttx-toggle_1_9_60.cjs.entry.js} +1 -1
  30. package/dist/cjs/{tttx-tree-view_1_9_59.cjs.entry.js → tttx-tree-view_1_9_60.cjs.entry.js} +3 -3
  31. package/dist/cjs/tttx.cjs.js +1 -1
  32. package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
  33. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +24 -24
  34. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
  35. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
  36. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.js +4 -4
  37. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +10 -10
  38. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
  39. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
  40. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
  41. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
  42. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +1 -1
  43. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +2 -2
  44. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
  45. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
  46. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
  47. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
  48. package/dist/collection/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader.js +1 -1
  49. package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +2 -2
  50. package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
  51. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
  52. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
  53. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.js +2 -2
  54. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +1 -1
  55. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
  56. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
  57. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
  58. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
  59. package/dist/collection/components/molecules/tttx-comments/tttx-comments.css +33 -2
  60. package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +20 -9
  61. package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +101 -23
  62. package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +1 -1
  63. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
  64. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
  65. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
  66. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
  67. package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
  68. package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
  69. package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
  70. package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
  71. package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
  72. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +8 -8
  73. package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
  74. package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
  75. package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
  76. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
  77. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -7
  78. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
  79. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +6 -6
  80. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +22 -22
  81. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
  82. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
  83. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
  84. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
  85. package/dist/collection/components/molecules/tttx-table/tttx-table.js +1 -1
  86. package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
  87. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
  88. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
  89. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
  90. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
  91. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
  92. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
  93. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
  94. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +1 -1
  95. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
  96. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
  97. package/dist/components/index.d.ts +33 -33
  98. package/dist/components/index.js +33 -33
  99. package/dist/components/tttx-action-dropdown_1_9_60.d.ts +11 -0
  100. package/dist/components/{tttx-action-dropdown_1_9_59.js → tttx-action-dropdown_1_9_60.js} +7 -7
  101. package/dist/components/tttx-button.js +5 -5
  102. package/dist/components/{tttx-dialog_1_9_59.d.ts → tttx-button_1_9_60.d.ts} +4 -4
  103. package/dist/components/{tttx-button_1_9_59.js → tttx-button_1_9_60.js} +2 -2
  104. package/dist/components/tttx-checkbox-group-caption_1_9_60.d.ts +11 -0
  105. package/dist/components/{tttx-checkbox-group-caption_1_9_59.js → tttx-checkbox-group-caption_1_9_60.js} +5 -5
  106. package/dist/components/tttx-checkbox-group-heading_1_9_60.d.ts +11 -0
  107. package/dist/components/{tttx-checkbox-group-heading_1_9_59.js → tttx-checkbox-group-heading_1_9_60.js} +5 -5
  108. package/dist/components/tttx-checkbox-group_1_9_60.d.ts +11 -0
  109. package/dist/components/{tttx-checkbox-group_1_9_59.js → tttx-checkbox-group_1_9_60.js} +5 -5
  110. package/dist/components/{tttx-comments_1_9_59.d.ts → tttx-checkbox_1_9_60.d.ts} +4 -4
  111. package/dist/components/{tttx-checkbox_1_9_59.js → tttx-checkbox_1_9_60.js} +7 -7
  112. package/dist/components/{tttx-datacard_1_9_59.d.ts → tttx-comments_1_9_60.d.ts} +4 -4
  113. package/dist/components/{tttx-comments_1_9_59.js → tttx-comments_1_9_60.js} +23 -12
  114. package/dist/components/tttx-data-pattern_1_9_60.d.ts +11 -0
  115. package/dist/components/{tttx-data-pattern_1_9_59.js → tttx-data-pattern_1_9_60.js} +16 -16
  116. package/dist/components/{tttx-checkbox_1_9_59.d.ts → tttx-datacard_1_9_60.d.ts} +4 -4
  117. package/dist/components/{tttx-datacard_1_9_59.js → tttx-datacard_1_9_60.js} +10 -10
  118. package/dist/components/tttx-date-range-picker.js +3 -3
  119. package/dist/components/tttx-dialog-box_1_9_60.d.ts +11 -0
  120. package/dist/components/{tttx-dialog-box_1_9_59.js → tttx-dialog-box_1_9_60.js} +9 -9
  121. package/dist/components/{tttx-button_1_9_59.d.ts → tttx-dialog_1_9_60.d.ts} +4 -4
  122. package/dist/components/{tttx-dialog_1_9_59.js → tttx-dialog_1_9_60.js} +8 -8
  123. package/dist/components/tttx-expander_1_9_60.d.ts +11 -0
  124. package/dist/components/{tttx-expander_1_9_59.js → tttx-expander_1_9_60.js} +7 -7
  125. package/dist/components/tttx-filter.js +6 -6
  126. package/dist/components/{tttx-filter_1_9_59.d.ts → tttx-filter_1_9_60.d.ts} +4 -4
  127. package/dist/components/{tttx-filter_1_9_59.js → tttx-filter_1_9_60.js} +2 -2
  128. package/dist/components/{tttx-tabs_1_9_59.d.ts → tttx-form_1_9_60.d.ts} +4 -4
  129. package/dist/components/{tttx-form_1_9_59.js → tttx-form_1_9_60.js} +11 -11
  130. package/dist/components/tttx-graph.js +3 -3
  131. package/dist/components/{tttx-graph_1_9_59.d.ts → tttx-graph_1_9_60.d.ts} +4 -4
  132. package/dist/components/{tttx-graph_1_9_59.js → tttx-graph_1_9_60.js} +2 -2
  133. package/dist/components/tttx-icon.js +3 -3
  134. package/dist/components/{tttx-icon_1_9_59.d.ts → tttx-icon_1_9_60.d.ts} +4 -4
  135. package/dist/components/{tttx-icon_1_9_59.js → tttx-icon_1_9_60.js} +2 -2
  136. package/dist/components/tttx-keyvalue-block_1_9_60.d.ts +11 -0
  137. package/dist/components/{tttx-keyvalue-block_1_9_59.js → tttx-keyvalue-block_1_9_60.js} +5 -5
  138. package/dist/components/tttx-list.js +6 -6
  139. package/dist/components/{tttx-list_1_9_59.d.ts → tttx-list_1_9_60.d.ts} +4 -4
  140. package/dist/components/{tttx-list_1_9_59.js → tttx-list_1_9_60.js} +2 -2
  141. package/dist/components/tttx-loading-spinner.js +3 -3
  142. package/dist/components/tttx-loading-spinner_1_9_60.d.ts +11 -0
  143. package/dist/components/{tttx-loading-spinner_1_9_59.js → tttx-loading-spinner_1_9_60.js} +2 -2
  144. package/dist/components/tttx-multiselect-box_1_9_60.d.ts +11 -0
  145. package/dist/components/{tttx-multiselect-box_1_9_59.js → tttx-multiselect-box_1_9_60.js} +16 -16
  146. package/dist/components/tttx-percentage-bar_1_9_60.d.ts +11 -0
  147. package/dist/components/{tttx-percentage-bar_1_9_59.js → tttx-percentage-bar_1_9_60.js} +6 -6
  148. package/dist/components/{tttx-qrcode_1_9_59.d.ts → tttx-qrcode_1_9_60.d.ts} +4 -4
  149. package/dist/components/{tttx-qrcode_1_9_59.js → tttx-qrcode_1_9_60.js} +5 -5
  150. package/dist/components/tttx-select-box.js +12 -12
  151. package/dist/components/tttx-select-box_1_9_60.d.ts +11 -0
  152. package/dist/components/{tttx-select-box_1_9_59.js → tttx-select-box_1_9_60.js} +2 -2
  153. package/dist/components/tttx-skeleton_loader_1_9_60.d.ts +11 -0
  154. package/dist/components/{tttx-skeleton_loader_1_9_59.js → tttx-skeleton_loader_1_9_60.js} +5 -5
  155. package/dist/components/tttx-sorter.js +5 -5
  156. package/dist/components/tttx-sorter_1_9_60.d.ts +11 -0
  157. package/dist/components/{tttx-sorter_1_9_59.js → tttx-sorter_1_9_60.js} +2 -2
  158. package/dist/components/tttx-standalone-input.js +6 -6
  159. package/dist/components/tttx-standalone-input_1_9_60.d.ts +11 -0
  160. package/dist/components/{tttx-standalone-input_1_9_59.js → tttx-standalone-input_1_9_60.js} +2 -2
  161. package/dist/components/{tttx-table_1_9_59.d.ts → tttx-table_1_9_60.d.ts} +4 -4
  162. package/dist/components/{tttx-table_1_9_59.js → tttx-table_1_9_60.js} +5 -5
  163. package/dist/components/{tttx-form_1_9_59.d.ts → tttx-tabs_1_9_60.d.ts} +4 -4
  164. package/dist/components/{tttx-tabs_1_9_59.js → tttx-tabs_1_9_60.js} +9 -9
  165. package/dist/components/tttx-tag.js +5 -5
  166. package/dist/components/{tttx-tag_1_9_59.d.ts → tttx-tag_1_9_60.d.ts} +4 -4
  167. package/dist/components/{tttx-tag_1_9_59.js → tttx-tag_1_9_60.js} +2 -2
  168. package/dist/components/tttx-textarea_1_9_60.d.ts +11 -0
  169. package/dist/components/{tttx-textarea_1_9_59.js → tttx-textarea_1_9_60.js} +6 -6
  170. package/dist/components/tttx-toggle_1_9_60.d.ts +11 -0
  171. package/dist/components/{tttx-toggle_1_9_59.js → tttx-toggle_1_9_60.js} +5 -5
  172. package/dist/components/tttx-toolbar.js +3 -3
  173. package/dist/components/tttx-toolbar_1_9_60.d.ts +11 -0
  174. package/dist/components/{tttx-toolbar_1_9_59.js → tttx-toolbar_1_9_60.js} +2 -2
  175. package/dist/components/tttx-tree-view_1_9_60.d.ts +11 -0
  176. package/dist/components/{tttx-tree-view_1_9_59.js → tttx-tree-view_1_9_60.js} +9 -9
  177. package/dist/esm/loader.js +1 -1
  178. package/dist/esm/{tttx-action-dropdown_1_9_59.entry.js → tttx-action-dropdown_1_9_60.entry.js} +2 -2
  179. package/dist/esm/{tttx-button_1_9_59.entry.js → tttx-button_1_9_60.entry.js} +2 -2
  180. package/dist/esm/{tttx-checkbox-group-caption_1_9_59.entry.js → tttx-checkbox-group-caption_1_9_60.entry.js} +1 -1
  181. package/dist/esm/{tttx-checkbox-group-heading_1_9_59.entry.js → tttx-checkbox-group-heading_1_9_60.entry.js} +1 -1
  182. package/dist/esm/{tttx-checkbox-group_1_9_59.entry.js → tttx-checkbox-group_1_9_60.entry.js} +1 -1
  183. package/dist/esm/{tttx-checkbox_1_9_59.entry.js → tttx-checkbox_1_9_60.entry.js} +2 -2
  184. package/dist/esm/{tttx-comments_1_9_59.entry.js → tttx-comments_1_9_60.entry.js} +18 -7
  185. package/dist/esm/{tttx-data-pattern_1_9_59.entry.js → tttx-data-pattern_1_9_60.entry.js} +5 -5
  186. package/dist/esm/{tttx-datacard_1_9_59.entry.js → tttx-datacard_1_9_60.entry.js} +4 -4
  187. package/dist/esm/tttx-date-range-picker.entry.js +1 -1
  188. package/dist/esm/{tttx-dialog-box_1_9_59.entry.js → tttx-dialog-box_1_9_60.entry.js} +3 -3
  189. package/dist/esm/{tttx-dialog_1_9_59.entry.js → tttx-dialog_1_9_60.entry.js} +2 -2
  190. package/dist/esm/{tttx-expander_1_9_59.entry.js → tttx-expander_1_9_60.entry.js} +2 -2
  191. package/dist/esm/{tttx-filter_1_9_59_4.entry.js → tttx-filter_1_9_60_4.entry.js} +6 -6
  192. package/dist/esm/{tttx-form_1_9_59.entry.js → tttx-form_1_9_60.entry.js} +2 -2
  193. package/dist/esm/{tttx-graph_1_9_59.entry.js → tttx-graph_1_9_60.entry.js} +1 -1
  194. package/dist/esm/{tttx-icon_1_9_59.entry.js → tttx-icon_1_9_60.entry.js} +1 -1
  195. package/dist/esm/{tttx-keyvalue-block_1_9_59.entry.js → tttx-keyvalue-block_1_9_60.entry.js} +1 -1
  196. package/dist/esm/{tttx-loading-spinner_1_9_59_3.entry.js → tttx-loading-spinner_1_9_60_3.entry.js} +4 -4
  197. package/dist/esm/{tttx-multiselect-box_1_9_59.entry.js → tttx-multiselect-box_1_9_60.entry.js} +7 -7
  198. package/dist/esm/{tttx-percentage-bar_1_9_59.entry.js → tttx-percentage-bar_1_9_60.entry.js} +2 -2
  199. package/dist/esm/{tttx-qrcode_1_9_59.entry.js → tttx-qrcode_1_9_60.entry.js} +1 -1
  200. package/dist/esm/{tttx-select-box_1_9_59.entry.js → tttx-select-box_1_9_60.entry.js} +6 -6
  201. package/dist/esm/{tttx-skeleton_loader_1_9_59.entry.js → tttx-skeleton_loader_1_9_60.entry.js} +1 -1
  202. package/dist/esm/{tttx-table_1_9_59.entry.js → tttx-table_1_9_60.entry.js} +1 -1
  203. package/dist/esm/{tttx-tabs_1_9_59.entry.js → tttx-tabs_1_9_60.entry.js} +4 -4
  204. package/dist/esm/{tttx-textarea_1_9_59.entry.js → tttx-textarea_1_9_60.entry.js} +2 -2
  205. package/dist/esm/{tttx-toggle_1_9_59.entry.js → tttx-toggle_1_9_60.entry.js} +1 -1
  206. package/dist/esm/{tttx-tree-view_1_9_59.entry.js → tttx-tree-view_1_9_60.entry.js} +3 -3
  207. package/dist/esm/tttx.js +1 -1
  208. package/dist/tttx/p-13d3d63c.entry.js +1 -1
  209. package/dist/tttx/p-1814eb61.entry.js +1 -1
  210. package/dist/tttx/p-19294325.entry.js +1 -1
  211. package/dist/tttx/p-218f3309.entry.js +1 -1
  212. package/dist/tttx/p-24eef142.entry.js +1 -1
  213. package/dist/tttx/p-2636cba4.entry.js +1 -1
  214. package/dist/tttx/p-477b66de.entry.js +1 -1
  215. package/dist/tttx/p-54060e46.entry.js +1 -1
  216. package/dist/tttx/p-5f35edd8.entry.js +1 -1
  217. package/dist/tttx/p-61af5028.entry.js +1 -1
  218. package/dist/tttx/p-67f75171.entry.js +1 -1
  219. package/dist/tttx/p-7bfa4e1e.entry.js +1 -1
  220. package/dist/tttx/p-7c7e8951.entry.js +1 -1
  221. package/dist/tttx/p-972b7449.entry.js +1 -1
  222. package/dist/tttx/p-a1ba99fb.entry.js +1 -1
  223. package/dist/tttx/p-a474dc05.entry.js +1 -1
  224. package/dist/tttx/p-a800aa5d.entry.js +1 -1
  225. package/dist/tttx/p-acb9e007.entry.js +1 -1
  226. package/dist/tttx/p-b44ddcb7.entry.js +1 -1
  227. package/dist/tttx/p-b4b5e1e1.entry.js +1 -1
  228. package/dist/tttx/p-bbecd0d9.entry.js +1 -1
  229. package/dist/tttx/p-bc8c1d08.entry.js +1 -1
  230. package/dist/tttx/p-be928a57.entry.js +1 -1
  231. package/dist/tttx/p-cb3b393b.entry.js +1 -1
  232. package/dist/tttx/p-d62c8ed2.entry.js +1 -1
  233. package/dist/tttx/p-e84965f0.entry.js +1 -1
  234. package/dist/tttx/p-edf27c73.entry.js +1 -1
  235. package/dist/tttx/p-f1e945ba.entry.js +1 -1
  236. package/dist/tttx/p-f57792f7.entry.js +1 -0
  237. package/dist/tttx/tttx.esm.js +1 -1
  238. package/dist/types/components/molecules/tttx-comments/tttx-comments.d.ts +2 -0
  239. package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
  240. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
  241. package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
  242. package/dist/types/components.d.ts +395 -395
  243. package/package.json +1 -1
  244. package/dist/components/tttx-action-dropdown_1_9_59.d.ts +0 -11
  245. package/dist/components/tttx-checkbox-group-caption_1_9_59.d.ts +0 -11
  246. package/dist/components/tttx-checkbox-group-heading_1_9_59.d.ts +0 -11
  247. package/dist/components/tttx-checkbox-group_1_9_59.d.ts +0 -11
  248. package/dist/components/tttx-data-pattern_1_9_59.d.ts +0 -11
  249. package/dist/components/tttx-dialog-box_1_9_59.d.ts +0 -11
  250. package/dist/components/tttx-expander_1_9_59.d.ts +0 -11
  251. package/dist/components/tttx-keyvalue-block_1_9_59.d.ts +0 -11
  252. package/dist/components/tttx-loading-spinner_1_9_59.d.ts +0 -11
  253. package/dist/components/tttx-multiselect-box_1_9_59.d.ts +0 -11
  254. package/dist/components/tttx-percentage-bar_1_9_59.d.ts +0 -11
  255. package/dist/components/tttx-select-box_1_9_59.d.ts +0 -11
  256. package/dist/components/tttx-skeleton_loader_1_9_59.d.ts +0 -11
  257. package/dist/components/tttx-sorter_1_9_59.d.ts +0 -11
  258. package/dist/components/tttx-standalone-input_1_9_59.d.ts +0 -11
  259. package/dist/components/tttx-textarea_1_9_59.d.ts +0 -11
  260. package/dist/components/tttx-toggle_1_9_59.d.ts +0 -11
  261. package/dist/components/tttx-toolbar_1_9_59.d.ts +0 -11
  262. package/dist/components/tttx-tree-view_1_9_59.d.ts +0 -11
  263. package/dist/tttx/p-079da884.entry.js +0 -1
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Fragment, Host } from '@stencil/core/internal/client';
2
2
  import { d as defineCustomElement$2 } from './tttx-icon.js';
3
3
 
4
- const tttxCommentsCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label .optional{color:#757575;font-weight:normal}label .outer-container{position:relative}label .outer-container .left-icons,label .outer-container .right-icons{display:flex;position:absolute;height:24px;gap:8px}label .outer-container .left-icons tttx-icon,label .outer-container .right-icons tttx-icon{height:24px;width:24px}label .outer-container .left-icons{left:8px}label .outer-container .right-icons{right:8px}label .outer-container input,label .outer-container textarea{color:#212121;box-sizing:border-box;border:1px solid #d5d5d5;border-radius:4px;margin-top:4px;padding:0;padding-left:16px;padding-right:16px;}label .outer-container input.has-input-icon,label .outer-container textarea.has-input-icon{padding-left:40px}label .outer-container input.has-input-icon.has-left-icon,label .outer-container textarea.has-input-icon.has-left-icon{padding-left:72px}label .outer-container input.has-left-icon,label .outer-container textarea.has-left-icon{padding-left:40px}label .outer-container input.has-right-icon,label .outer-container textarea.has-right-icon{padding-right:40px}label .outer-container input.invalid,label .outer-container textarea.invalid{border:1px solid #dc0000}label .outer-container input:not([type=submit]),label .outer-container textarea:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label .outer-container input[type=radio],label .outer-container textarea[type=radio]{width:20px;height:20px}label .outer-container input[type=date],label .outer-container textarea[type=date]{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label .outer-container input[readonly],label .outer-container textarea[readonly]{cursor:default;pointer-events:none;user-select:none;color:gray}label .outer-container input:focus,label .outer-container textarea:focus{border-color:#1479c6}label .outer-container input:focus-visible,label .outer-container textarea:focus-visible{outline:none}label .outer-container textarea{padding:8px;height:auto;min-height:100px;resize:vertical}label .outer-container textarea.resize-none{resize:none}label .outer-container.inputBlock{display:flex;align-items:center;line-height:21px}label .outer-container.inputBlock .left-icons,label .outer-container.inputBlock .right-icons{margin-top:4px}label .outer-container.inputBlock.readonly{pointer-events:none;user-select:none;color:gray}label .outer-container.inputBlock.radioBlock{display:block}label .outer-container.inputInline{display:flex;white-space:nowrap;align-items:center;margin:0}label .outer-container.inputInline input{margin-top:0}label .secondarylabel{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label .errorBubble{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label .errorBubble:not(.visible){display:none}label .errorBubble span{color:#dc0000;font-size:16px;margin-right:4px}*{font-family:\"Roboto\", sans-serif}#comment-container{display:flex;height:100%;flex-direction:column}#comment-bubbles-section{display:flex;height:100%;flex-direction:column;justify-content:end;margin-bottom:8px;padding-bottom:8px;overflow:hidden}#input-section,#input-section form{display:flex;flex-direction:column;padding:0px 1px}#scroll-container{display:flex;overflow-y:auto;max-height:100%;width:100%;align-items:end;flex-direction:column}.commentBubble{display:flex;flex-direction:column;margin-bottom:8px;width:100%}.commentBubble>.bubbleText{background:#f0f0f0;border-radius:4px;padding:8px 12px;margin-bottom:4px;margin-top:10px;font-size:11pt;white-space:wrap}.commentBubble>span{color:#757575;font-size:10pt;margin:2px 16px}.commentBubble.right>span{text-align:right}.commentBubble.left>span{text-align:left}input{border:1px solid #dddddd;border-radius:4px;padding:8px 16px;font-size:11pt}input[type=text]{flex-grow:1}input[type=submit]{text-transform:uppercase;background:white;font-size:10pt;margin-top:8px;width:132px;display:flex;align-self:end}input[type=submit]:hover,input[type=submit]:active{background:#dddddd}button#attach-file{text-transform:uppercase;background:white;font-size:10pt;margin-top:8px;align-self:end;border:1px solid #dddddd;border-radius:4px;width:34px;height:34px;display:flex;flex-direction:column;justify-content:center;margin-right:8px}button#attach-file:hover,button#attach-file:active{background:#dddddd}button#attach-file *{margin-top:3px}fieldset{border:none;padding:0;margin:0;display:flex;flex-direction:row;justify-content:end}button.linkButton{border:none;background:transparent;color:#3680bd;cursor:pointer;padding:0}.commentBubble .bubbleHeader{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.commentName{color:black;font-size:10pt}.commentContext{color:gray;font-size:10pt}.commentBubble .bubbleFooter{display:flex;padding:0 10px;font-size:9pt;color:#757575}.comment-date{margin-left:auto}.editing-sub-text{margin-top:5px;font-size:9pt;color:#757575}.flex-right-align{margin-left:auto}.cancel-edit-container{position:relative;width:100%;display:flex;justify-content:end}.cancel-edit-button{color:whitesmoke;background-color:#aaaaaa;border-radius:10px;height:20px;width:20px;text-align:center;position:absolute;margin-top:11px;margin-right:18px}.clickable,.clickable>*{cursor:pointer}.deleted-comment{background:white !important;color:gray;border:1px solid lightgray}.commentDivider{border:none;border-top:1px solid #ccc;margin:10px 0}.errorBubble{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}.errorBubble:not(.visible){display:none}.errorBubble span{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}.comment-textarea{resize:vertical;height:var(--textarea-max-height, 90px);width:100%;padding:10px 35px 10px 12px;box-sizing:border-box;border:1px solid #ccc;border-radius:6px;font-size:14px;line-height:1.4;font-family:\"Roboto\", sans-serif}.no-comments{display:flex;flex-direction:row;align-items:center;justify-content:start;color:#757575;font-size:14px;gap:4px;font-family:\"Roboto\", sans-serif;margin-top:20px}.mt-s{margin-top:4px}";
4
+ const tttxCommentsCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label .optional{color:#757575;font-weight:normal}label .outer-container{position:relative}label .outer-container .left-icons,label .outer-container .right-icons{display:flex;position:absolute;height:24px;gap:8px}label .outer-container .left-icons tttx-icon,label .outer-container .right-icons tttx-icon{height:24px;width:24px}label .outer-container .left-icons{left:8px}label .outer-container .right-icons{right:8px}label .outer-container input,label .outer-container textarea{color:#212121;box-sizing:border-box;border:1px solid #d5d5d5;border-radius:4px;margin-top:4px;padding:0;padding-left:16px;padding-right:16px;}label .outer-container input.has-input-icon,label .outer-container textarea.has-input-icon{padding-left:40px}label .outer-container input.has-input-icon.has-left-icon,label .outer-container textarea.has-input-icon.has-left-icon{padding-left:72px}label .outer-container input.has-left-icon,label .outer-container textarea.has-left-icon{padding-left:40px}label .outer-container input.has-right-icon,label .outer-container textarea.has-right-icon{padding-right:40px}label .outer-container input.invalid,label .outer-container textarea.invalid{border:1px solid #dc0000}label .outer-container input:not([type=submit]),label .outer-container textarea:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label .outer-container input[type=radio],label .outer-container textarea[type=radio]{width:20px;height:20px}label .outer-container input[type=date],label .outer-container textarea[type=date]{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label .outer-container input[readonly],label .outer-container textarea[readonly]{cursor:default;pointer-events:none;user-select:none;color:gray}label .outer-container input:focus,label .outer-container textarea:focus{border-color:#1479c6}label .outer-container input:focus-visible,label .outer-container textarea:focus-visible{outline:none}label .outer-container textarea{padding:8px;height:auto;min-height:100px;resize:vertical}label .outer-container textarea.resize-none{resize:none}label .outer-container.inputBlock{display:flex;align-items:center;line-height:21px}label .outer-container.inputBlock .left-icons,label .outer-container.inputBlock .right-icons{margin-top:4px}label .outer-container.inputBlock.readonly{pointer-events:none;user-select:none;color:gray}label .outer-container.inputBlock.radioBlock{display:block}label .outer-container.inputInline{display:flex;white-space:nowrap;align-items:center;margin:0}label .outer-container.inputInline input{margin-top:0}label .secondarylabel{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label .errorBubble{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label .errorBubble:not(.visible){display:none}label .errorBubble span{color:#dc0000;font-size:16px;margin-right:4px}*{font-family:\"Roboto\", sans-serif}#comment-container{display:flex;height:100%;flex-direction:column}#comment-bubbles-section{display:flex;height:100%;flex-direction:column;justify-content:end;margin-bottom:8px;padding-bottom:8px;overflow:hidden}#input-section,#input-section form{display:flex;flex-direction:column;padding:0px 1px}#scroll-container{display:flex;overflow-y:auto;max-height:100%;width:100%;align-items:end;flex-direction:column}.commentBubble{display:flex;flex-direction:column;margin-bottom:8px;width:100%}.commentBubble>.bubbleText{background:#f0f0f0;border-radius:4px;padding:8px 12px;margin-bottom:4px;margin-top:10px;font-size:11pt;white-space:wrap}.commentBubble>span{color:#757575;font-size:10pt;margin:2px 16px}.commentBubble.right>span{text-align:right}.commentBubble.left>span{text-align:left}input{border:1px solid #dddddd;border-radius:4px;padding:8px 16px;font-size:11pt}input[type=text]{flex-grow:1}input[type=submit]{text-transform:uppercase;background:white;font-size:10pt;margin-top:8px;width:132px;display:flex;align-self:end}input[type=submit]:hover,input[type=submit]:active{background:#dddddd}button#attach-file{text-transform:uppercase;background:white;font-size:10pt;margin-top:8px;align-self:end;border:1px solid #dddddd;border-radius:4px;width:34px;height:34px;display:flex;flex-direction:column;justify-content:center;margin-right:8px}button#attach-file:hover,button#attach-file:active{background:#dddddd}button#attach-file *{margin-top:3px}fieldset{border:none;padding:0;margin:0;display:flex;flex-direction:row;justify-content:end}button.linkButton{border:none;background:transparent;color:#3680bd;cursor:pointer;padding:0;margin-left:5px;font-size:11pt}.file-link-container{display:flex;align-items:center}.commentBubble .bubbleHeader{display:flex;justify-content:space-between}.commentName{color:black;font-size:10pt}.commentContext{color:gray;font-size:10pt}.commentBubble .bubbleFooter{display:flex;padding:0 10px;font-size:9pt;color:#757575}.comment-date{margin-left:auto}.editing-sub-text{margin-top:5px;font-size:9pt;color:#757575}.flex-right-align{margin-left:auto}.cancel-edit-container{position:relative;width:100%;display:flex;justify-content:end}.cancel-edit-button{color:whitesmoke;background-color:#aaaaaa;border-radius:10px;height:20px;width:20px;text-align:center;position:absolute;margin-top:11px;margin-right:18px}.clickable,.clickable>*{cursor:pointer}.deleted-comment{background:white !important;color:gray;border:1px solid lightgray}.commentDivider{border:none;border-top:1px solid #ccc;margin:10px 0}.errorBubble{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}.errorBubble:not(.visible){display:none}.errorBubble span{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}.comment-textarea{resize:vertical;height:var(--textarea-max-height, 90px);width:100%;padding:10px 35px 10px 12px;box-sizing:border-box;border:1px solid #ccc;border-radius:6px;font-size:14px;line-height:1.4;font-family:\"Roboto\", sans-serif}.no-comments{display:flex;flex-direction:row;align-items:center;justify-content:start;color:#757575;font-size:14px;gap:4px;font-family:\"Roboto\", sans-serif;margin-top:20px}.mt-s{margin-top:4px}.bubble-header-inner{display:flex}.unread-symbol{margin-left:5px}.unread-comment-divider{display:flex;margin:10px 0}.unread-comments-text{font-size:10pt;margin:0px 10px;white-space:nowrap;color:#757575}.unread-comment-divider-line{border:none;border-top:1px solid #ccc;width:100%}";
5
5
 
6
6
  const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
7
  constructor() {
@@ -15,6 +15,13 @@ const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
15
15
  this.requestFileDownload = createEvent(this, "requestFileDownload", 6);
16
16
  this.blurChanged = createEvent(this, "commentFocusOut", 7);
17
17
  this.isFileComment = (comment) => { var _a; return (((_a = comment.metadata) === null || _a === void 0 ? void 0 : _a.type) === ECommentType.FILE); };
18
+ this.isUnread = (comment) => {
19
+ if (comment.createdByFullName === this.currentuser)
20
+ return false; // your own comment cannot be unread
21
+ if (!comment.userLastViewed)
22
+ return true; // has never viewed, so unread
23
+ return comment.createdAt > comment.userLastViewed;
24
+ };
18
25
  this.currentuser = undefined;
19
26
  this.comments = undefined;
20
27
  this.disableFile = false;
@@ -54,14 +61,18 @@ const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
54
61
  this.scrollToBottom();
55
62
  }
56
63
  renderCommentBubble() {
57
- var _a;
58
- return (h(Fragment, null, (_a = this._comments) === null || _a === void 0 ? void 0 : _a.map((comment, index) => {
64
+ var _a, _b;
65
+ let unreadDividerRendered = ((_a = this._comments) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.isUnread(this._comments[0]) : false;
66
+ return (h(Fragment, null, (_b = this._comments) === null || _b === void 0 ? void 0 : _b.map((comment, index) => {
59
67
  var _a;
60
68
  const isCurrentUser = comment.createdByFullName === this.currentuser;
61
69
  const bubbleClass = `commentBubble ${isCurrentUser ? 'right' : 'left'}`;
62
70
  const isLastComment = index === this._comments.length - 1;
63
71
  const topComment = index === 0 ? { marginTop: '10px' } : {};
64
- return (h("div", { class: bubbleClass, key: comment.id, style: topComment }, h("div", { class: "bubbleHeader" }, h("span", { class: "commentName" }, comment.createdByFullName), ((_a = comment.metadata) === null || _a === void 0 ? void 0 : _a.contextString) && (h("span", { class: "commentContext" }, "(", comment.metadata.contextString, ")"))), h("div", { class: `bubbleText ${comment.isDeleted ? 'deleted-comment' : ''}` }, this.renderCommentInner(comment)), h("div", { class: "bubbleFooter" }, !this.readonly && this.allowEditing && isCurrentUser && !comment.isDeleted && !!comment.id && (h("div", null, !this.isFileComment(comment) && (h(Fragment, null, h("span", { class: "clickable", onClick: this.onEdit.bind(this, comment) }, "Edit"), " | ")), h("span", { class: "clickable", onClick: this.onRemove.bind(this, comment) }, "Remove"))), h("span", { class: "comment-date" }, !!comment.lastUpdatedAt && !comment.isDeleted && `Edited ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !!comment.lastUpdatedAt && comment.isDeleted && `Removed ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !comment.lastUpdatedAt && `${new Date(comment.createdAt).toLocaleString(undefined, timestampOptions)}`)), !isLastComment && h("hr", { class: "commentDivider" })));
72
+ const nextIsUnread = !isLastComment ? this.isUnread(this._comments[index + 1]) : false;
73
+ const commentContent = (h("div", { class: bubbleClass, key: comment.id, style: topComment }, h("div", { class: "bubbleHeader" }, h("div", { class: "bubble-header-inner" }, h("span", { class: "commentName" }, comment.createdByFullName), this.isUnread(comment) && (h("tttx-icon_1_9_60", { class: "unread-symbol", icon: "error", color: "blue", style: { height: '18px' }, size: 18 }))), ((_a = comment.metadata) === null || _a === void 0 ? void 0 : _a.contextString) && (h("span", { class: "commentContext" }, "(", comment.metadata.contextString, ")"))), h("div", { class: `bubbleText ${comment.isDeleted ? 'deleted-comment' : ''}` }, this.renderCommentInner(comment)), h("div", { class: "bubbleFooter" }, !this.readonly && this.allowEditing && isCurrentUser && !comment.isDeleted && !!comment.id && (h("div", null, !this.isFileComment(comment) && (h(Fragment, null, h("span", { class: "clickable", onClick: this.onEdit.bind(this, comment) }, "Edit"), " | ")), h("span", { class: "clickable", onClick: this.onRemove.bind(this, comment) }, "Remove"))), h("span", { class: "comment-date" }, !!comment.lastUpdatedAt && !comment.isDeleted && `Edited ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !!comment.lastUpdatedAt && comment.isDeleted && `Removed ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !comment.lastUpdatedAt && `${new Date(comment.createdAt).toLocaleString(undefined, timestampOptions)}`)), !isLastComment && (!nextIsUnread || unreadDividerRendered) && h("hr", { class: "commentDivider" }), !isLastComment && nextIsUnread && !unreadDividerRendered && (h("div", { class: "unread-comment-divider" }, h("hr", { class: "unread-comment-divider-line" }), h("span", { class: "unread-comments-text" }, "New Unread Comments"), h("hr", { class: "unread-comment-divider-line" })))));
74
+ unreadDividerRendered = nextIsUnread;
75
+ return commentContent;
65
76
  })));
66
77
  }
67
78
  renderCommentInner(comment) {
@@ -71,7 +82,7 @@ const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
71
82
  return this.isFileComment(comment) ? this.renderFileLink(comment.metadata) : comment.text;
72
83
  }
73
84
  renderFileLink(metadata) {
74
- return h("button", { class: "linkButton", type: "button", value: metadata.key, onClick: this.onFileDownloadRequest.bind(this) }, metadata.filename);
85
+ return (h("div", { class: "file-link-container" }, h("tttx-icon_1_9_60", { icon: "attach_file", color: "black", style: { height: '20px' }, size: 20 }), h("button", { class: "linkButton", type: "button", value: metadata.key, onClick: this.onFileDownloadRequest.bind(this) }, metadata.filename)));
75
86
  }
76
87
  onFormSubmit(event) {
77
88
  // get comment text
@@ -165,13 +176,13 @@ const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
165
176
  this.requestCommentRemoval.emit(comment);
166
177
  }
167
178
  render() {
168
- return (h(Host, null, h("article", { id: "comment-container" }, (!Array.isArray(this._comments) || this._comments.length === 0) && (h("div", { class: "no-comments" }, h("tttx-icon_1_9_59", { class: 'mt-s', icon: "chat_bubble_outline", color: "grey" }), h("span", null, "No comments have been added"))), h("section", { id: "comment-bubbles-section" }, h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), h("section", { id: "input-section" }, !this.readonly && h("form", { onSubmit: this.onFormSubmit.bind(this) }, this.editingComment && (h("div", { class: "cancel-edit-container" }, h("span", { class: "cancel-edit-button clickable", onClick: this.onFinishEdit.bind(this) }, "x"))), h("fieldset", null, h("textarea", { ref: el => this.textInput = el, name: "commentText", required: true, maxlength: `${this.messageLimit}`, placeholder: this.placeholder, onInput: (e) => this.onCommentFieldChange(e), style: { '--textarea-max-height': `${this.inputBoxHeight}px` }, class: "comment-textarea", value: this.value, onBlur: this.handleBlur.bind(this) })), this.showError && (h("span", { class: 'errorBubble visible' }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", `${this.messageLimit} character limit is reached.`)), h("fieldset", null, this.editingComment && (h("span", { class: 'editing-sub-text' }, "Editing comment")), !this.disableFile && (h("button", { id: "attach-file", class: "flex-right-align clickable", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, h("tttx-icon_1_9_59", { color: "black", icon: "attach_file" }))), h("input", { class: (this.disableFile ? 'flex-right-align ' : '') + 'clickable', style: { width: 'fit-content' }, type: "submit", value: this._saveButtonText })))))));
179
+ return (h(Host, null, h("article", { id: "comment-container" }, (!Array.isArray(this._comments) || this._comments.length === 0) && (h("div", { class: "no-comments" }, h("tttx-icon_1_9_60", { class: 'mt-s', icon: "chat_bubble_outline", color: "grey" }), h("span", null, "No comments have been added"))), h("section", { id: "comment-bubbles-section" }, h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), h("section", { id: "input-section" }, !this.readonly && h("form", { onSubmit: this.onFormSubmit.bind(this) }, this.editingComment && (h("div", { class: "cancel-edit-container" }, h("span", { class: "cancel-edit-button clickable", onClick: this.onFinishEdit.bind(this) }, "x"))), h("fieldset", null, h("textarea", { ref: el => this.textInput = el, name: "commentText", required: true, maxlength: `${this.messageLimit}`, placeholder: this.placeholder, onInput: (e) => this.onCommentFieldChange(e), style: { '--textarea-max-height': `${this.inputBoxHeight}px` }, class: "comment-textarea", value: this.value, onBlur: this.handleBlur.bind(this) })), this.showError && (h("span", { class: 'errorBubble visible' }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", `${this.messageLimit} character limit is reached.`)), h("fieldset", null, this.editingComment && (h("span", { class: 'editing-sub-text' }, "Editing comment")), !this.disableFile && (h("button", { id: "attach-file", class: "flex-right-align clickable", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, h("tttx-icon_1_9_60", { color: "black", icon: "attach_file" }))), h("input", { class: (this.disableFile ? 'flex-right-align ' : '') + 'clickable', style: { width: 'fit-content' }, type: "submit", value: this._saveButtonText })))))));
169
180
  }
170
181
  static get watchers() { return {
171
182
  "comments": ["onCommentsChange"]
172
183
  }; }
173
184
  static get style() { return tttxCommentsCss; }
174
- }, [1, "tttx-comments_1_9_59", {
185
+ }, [1, "tttx-comments_1_9_60", {
175
186
  "currentuser": [1],
176
187
  "comments": [1],
177
188
  "disableFile": [4, "disable-file"],
@@ -204,14 +215,14 @@ function defineCustomElement$1() {
204
215
  if (typeof customElements === "undefined") {
205
216
  return;
206
217
  }
207
- const components = ["tttx-comments_1_9_59", "tttx-icon_1_9_59"];
218
+ const components = ["tttx-comments_1_9_60", "tttx-icon_1_9_60"];
208
219
  components.forEach(tagName => { switch (tagName) {
209
- case "tttx-comments_1_9_59":
220
+ case "tttx-comments_1_9_60":
210
221
  if (!customElements.get(tagName)) {
211
222
  customElements.define(tagName, TttxComments);
212
223
  }
213
224
  break;
214
- case "tttx-icon_1_9_59":
225
+ case "tttx-icon_1_9_60":
215
226
  if (!customElements.get(tagName)) {
216
227
  defineCustomElement$2();
217
228
  }
@@ -219,7 +230,7 @@ function defineCustomElement$1() {
219
230
  } });
220
231
  }
221
232
 
222
- const TttxComments_1_9_59 = TttxComments;
233
+ const TttxComments_1_9_60 = TttxComments;
223
234
  const defineCustomElement = defineCustomElement$1;
224
235
 
225
- export { TttxComments_1_9_59, defineCustomElement };
236
+ export { TttxComments_1_9_60, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TttxDataPattern_1_9_60 extends Components.TttxDataPattern_1_9_60, HTMLElement {}
4
+ export const TttxDataPattern_1_9_60: {
5
+ prototype: TttxDataPattern_1_9_60;
6
+ new (): TttxDataPattern_1_9_60;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -24,13 +24,13 @@ const TttxDataPattern = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
24
24
  this.addbutton = false;
25
25
  }
26
26
  render() {
27
- return (h(Host, null, h("div", { class: "container" }, h("tttx-toolbar_1_9_59", { border: true }, h("span", { slot: "before" }, this.sorterOptions &&
28
- h("tttx-sorter_1_9_59", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
29
- h("tttx-filter_1_9_59", { "filter-options": JSON.stringify(this.filterOptions), showSelectAll: false, "show-option-icons": true, "filter-header": this.filterHeader, "filter-key": "data-pattern-list" })), h("span", { slot: "after" }, h("tttx-standalone-input_1_9_59", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), h("tttx-toolbar_1_9_59", { border: false }, h("span", { slot: "before" }, this.addbutton &&
30
- h("tttx-button_1_9_59", { design: "primary", icon: "add" }, this.addbuttonlabel))), h("tttx-list_1_9_59", { data: this.data }))));
27
+ return (h(Host, null, h("div", { class: "container" }, h("tttx-toolbar_1_9_60", { border: true }, h("span", { slot: "before" }, this.sorterOptions &&
28
+ h("tttx-sorter_1_9_60", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
29
+ h("tttx-filter_1_9_60", { "filter-options": JSON.stringify(this.filterOptions), showSelectAll: false, "show-option-icons": true, "filter-header": this.filterHeader, "filter-key": "data-pattern-list" })), h("span", { slot: "after" }, h("tttx-standalone-input_1_9_60", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), h("tttx-toolbar_1_9_60", { border: false }, h("span", { slot: "before" }, this.addbutton &&
30
+ h("tttx-button_1_9_60", { design: "primary", icon: "add" }, this.addbuttonlabel))), h("tttx-list_1_9_60", { data: this.data }))));
31
31
  }
32
32
  static get style() { return tttxDataPatternCss; }
33
- }, [1, "tttx-data-pattern_1_9_59", {
33
+ }, [1, "tttx-data-pattern_1_9_60", {
34
34
  "data": [1],
35
35
  "sorterOptions": [1, "sorter-options"],
36
36
  "filterOptions": [1, "filter-options"],
@@ -44,44 +44,44 @@ function defineCustomElement$1() {
44
44
  if (typeof customElements === "undefined") {
45
45
  return;
46
46
  }
47
- const components = ["tttx-data-pattern_1_9_59", "tttx-button_1_9_59", "tttx-filter_1_9_59", "tttx-icon_1_9_59", "tttx-list_1_9_59", "tttx-sorter_1_9_59", "tttx-standalone-input_1_9_59", "tttx-toolbar_1_9_59"];
47
+ const components = ["tttx-data-pattern_1_9_60", "tttx-button_1_9_60", "tttx-filter_1_9_60", "tttx-icon_1_9_60", "tttx-list_1_9_60", "tttx-sorter_1_9_60", "tttx-standalone-input_1_9_60", "tttx-toolbar_1_9_60"];
48
48
  components.forEach(tagName => { switch (tagName) {
49
- case "tttx-data-pattern_1_9_59":
49
+ case "tttx-data-pattern_1_9_60":
50
50
  if (!customElements.get(tagName)) {
51
51
  customElements.define(tagName, TttxDataPattern);
52
52
  }
53
53
  break;
54
- case "tttx-button_1_9_59":
54
+ case "tttx-button_1_9_60":
55
55
  if (!customElements.get(tagName)) {
56
56
  defineCustomElement$8();
57
57
  }
58
58
  break;
59
- case "tttx-filter_1_9_59":
59
+ case "tttx-filter_1_9_60":
60
60
  if (!customElements.get(tagName)) {
61
61
  defineCustomElement$7();
62
62
  }
63
63
  break;
64
- case "tttx-icon_1_9_59":
64
+ case "tttx-icon_1_9_60":
65
65
  if (!customElements.get(tagName)) {
66
66
  defineCustomElement$6();
67
67
  }
68
68
  break;
69
- case "tttx-list_1_9_59":
69
+ case "tttx-list_1_9_60":
70
70
  if (!customElements.get(tagName)) {
71
71
  defineCustomElement$5();
72
72
  }
73
73
  break;
74
- case "tttx-sorter_1_9_59":
74
+ case "tttx-sorter_1_9_60":
75
75
  if (!customElements.get(tagName)) {
76
76
  defineCustomElement$4();
77
77
  }
78
78
  break;
79
- case "tttx-standalone-input_1_9_59":
79
+ case "tttx-standalone-input_1_9_60":
80
80
  if (!customElements.get(tagName)) {
81
81
  defineCustomElement$3();
82
82
  }
83
83
  break;
84
- case "tttx-toolbar_1_9_59":
84
+ case "tttx-toolbar_1_9_60":
85
85
  if (!customElements.get(tagName)) {
86
86
  defineCustomElement$2();
87
87
  }
@@ -89,7 +89,7 @@ function defineCustomElement$1() {
89
89
  } });
90
90
  }
91
91
 
92
- const TttxDataPattern_1_9_59 = TttxDataPattern;
92
+ const TttxDataPattern_1_9_60 = TttxDataPattern;
93
93
  const defineCustomElement = defineCustomElement$1;
94
94
 
95
- export { TttxDataPattern_1_9_59, defineCustomElement };
95
+ export { TttxDataPattern_1_9_60, defineCustomElement };
@@ -1,9 +1,9 @@
1
1
  import type { Components, JSX } from "../types/components";
2
2
 
3
- interface TttxCheckbox_1_9_59 extends Components.TttxCheckbox_1_9_59, HTMLElement {}
4
- export const TttxCheckbox_1_9_59: {
5
- prototype: TttxCheckbox_1_9_59;
6
- new (): TttxCheckbox_1_9_59;
3
+ interface TttxDatacard_1_9_60 extends Components.TttxDatacard_1_9_60, HTMLElement {}
4
+ export const TttxDatacard_1_9_60: {
5
+ prototype: TttxDatacard_1_9_60;
6
+ new (): TttxDatacard_1_9_60;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -32,23 +32,23 @@ const TttxDatacard = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
32
32
  renderIcon(iconstyle) {
33
33
  switch (iconstyle) {
34
34
  case 'up':
35
- return h("tttx-icon_1_9_59", { size: 24, icon: "arrow_circle_up", color: "green" });
35
+ return h("tttx-icon_1_9_60", { size: 24, icon: "arrow_circle_up", color: "green" });
36
36
  case 'down':
37
- return h("tttx-icon_1_9_59", { size: 24, icon: "arrow_circle_down", color: "darkred" });
37
+ return h("tttx-icon_1_9_60", { 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 (h(Host, null, h("div", { class: "datacard" }, this.cardTitle && h("h2", { style: { 'position': 'relative', 'top': '0', 'left': '0', 'height': '40px' } }, this.cardTitle), this.chartRender && this.cardType === 'chart' &&
44
- h("tttx-graph_1_9_59", { 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 }), h("div", { style: { 'position': 'relative', 'width': '100%', 'height': this.cardTitle ? 'calc(100% - 40px)' : '100%' } }, h("div", { class: "lower" }, h("div", { class: this.rightData && this.rightData !== 'undefined' ? 'left' : 'centered' }, this.leftData), this.rightData && this.rightData !== 'undefined' &&
44
+ h("tttx-graph_1_9_60", { 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 }), h("div", { style: { 'position': 'relative', 'width': '100%', 'height': this.cardTitle ? 'calc(100% - 40px)' : '100%' } }, h("div", { class: "lower" }, h("div", { class: this.rightData && this.rightData !== 'undefined' ? 'left' : 'centered' }, this.leftData), this.rightData && this.rightData !== 'undefined' &&
45
45
  h("div", { class: "right" }, h("div", { class: "flex" }, h("div", { class: "righticon" }, this.renderIcon(this.iconStyle)), h("div", { class: "rightdata" }, this.rightData)), h("div", { class: "subtext" }, this.rightSubtext)))))));
46
46
  }
47
47
  static get watchers() { return {
48
48
  "chartConfig": ["chartConfigChanged"]
49
49
  }; }
50
50
  static get style() { return tttxDatacardCss; }
51
- }, [1, "tttx-datacard_1_9_59", {
51
+ }, [1, "tttx-datacard_1_9_60", {
52
52
  "cardTitle": [1, "card-title"],
53
53
  "leftData": [1, "left-data"],
54
54
  "rightData": [1, "right-data"],
@@ -63,19 +63,19 @@ function defineCustomElement$1() {
63
63
  if (typeof customElements === "undefined") {
64
64
  return;
65
65
  }
66
- const components = ["tttx-datacard_1_9_59", "tttx-graph_1_9_59", "tttx-icon_1_9_59"];
66
+ const components = ["tttx-datacard_1_9_60", "tttx-graph_1_9_60", "tttx-icon_1_9_60"];
67
67
  components.forEach(tagName => { switch (tagName) {
68
- case "tttx-datacard_1_9_59":
68
+ case "tttx-datacard_1_9_60":
69
69
  if (!customElements.get(tagName)) {
70
70
  customElements.define(tagName, TttxDatacard);
71
71
  }
72
72
  break;
73
- case "tttx-graph_1_9_59":
73
+ case "tttx-graph_1_9_60":
74
74
  if (!customElements.get(tagName)) {
75
75
  defineCustomElement$3();
76
76
  }
77
77
  break;
78
- case "tttx-icon_1_9_59":
78
+ case "tttx-icon_1_9_60":
79
79
  if (!customElements.get(tagName)) {
80
80
  defineCustomElement$2();
81
81
  }
@@ -83,7 +83,7 @@ function defineCustomElement$1() {
83
83
  } });
84
84
  }
85
85
 
86
- const TttxDatacard_1_9_59 = TttxDatacard;
86
+ const TttxDatacard_1_9_60 = TttxDatacard;
87
87
  const defineCustomElement = defineCustomElement$1;
88
88
 
89
- export { TttxDatacard_1_9_59, defineCustomElement };
89
+ export { TttxDatacard_1_9_60, defineCustomElement };
@@ -211,7 +211,7 @@ const TttxDateRangePicker$1 = /*@__PURE__*/ proxyCustomElement(class extends HTM
211
211
  return (h(Host, null, 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 }, h("span", { class: {
212
212
  'range-text': true,
213
213
  'is-placeholder': !(this.startDate || this.endDate),
214
- } }, rangeText), (this.startDate || this.endDate) && (h("button", { class: "clear-btn", "aria-label": "Clear", onClick: this.handleClear }, "\u00D7")), h("span", { class: "calendar-icon", "aria-hidden": "true" }, h("tttx-icon_1_9_59", { icon: 'calendar_month' }))), this.showCalendar && (h("div", { class: "calendar-popup single" }, this.renderCalendar(this.currentYear, this.currentMonth, this.handleDateClick.bind(this))))));
214
+ } }, rangeText), (this.startDate || this.endDate) && (h("button", { class: "clear-btn", "aria-label": "Clear", onClick: this.handleClear }, "\u00D7")), h("span", { class: "calendar-icon", "aria-hidden": "true" }, h("tttx-icon_1_9_60", { icon: 'calendar_month' }))), this.showCalendar && (h("div", { class: "calendar-popup single" }, this.renderCalendar(this.currentYear, this.currentMonth, this.handleDateClick.bind(this))))));
215
215
  }
216
216
  static get watchers() { return {
217
217
  "initialValue": ["watchInitialValue"]
@@ -232,14 +232,14 @@ function defineCustomElement$1() {
232
232
  if (typeof customElements === "undefined") {
233
233
  return;
234
234
  }
235
- const components = ["tttx-date-range-picker", "tttx-icon_1_9_59"];
235
+ const components = ["tttx-date-range-picker", "tttx-icon_1_9_60"];
236
236
  components.forEach(tagName => { switch (tagName) {
237
237
  case "tttx-date-range-picker":
238
238
  if (!customElements.get(tagName)) {
239
239
  customElements.define(tagName, TttxDateRangePicker$1);
240
240
  }
241
241
  break;
242
- case "tttx-icon_1_9_59":
242
+ case "tttx-icon_1_9_60":
243
243
  if (!customElements.get(tagName)) {
244
244
  defineCustomElement$2();
245
245
  }
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TttxDialogBox_1_9_60 extends Components.TttxDialogBox_1_9_60, HTMLElement {}
4
+ export const TttxDialogBox_1_9_60: {
5
+ prototype: TttxDialogBox_1_9_60;
6
+ new (): TttxDialogBox_1_9_60;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -59,7 +59,7 @@ const TttxDialogBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
59
59
  const iconColor = header.iconColor;
60
60
  const iconEnabled = header.hasIcon ? true : false;
61
61
  const closeEnabled = header.hasClose ? true : false;
62
- return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-icon_1_9_59", { class: "dialog-box-icon", icon: iconName, color: iconColor }), h("h3", { class: "dialog-box-title" }, title), closeEnabled && (h("div", { class: "dialog-box-align-right close-button", onClick: () => this.onCloseClickHandler() }, h("tttx-icon_1_9_59", { class: "dialog-box-icon-close dialog-box-clickable", icon: "close", color: "black" })))));
62
+ return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-icon_1_9_60", { class: "dialog-box-icon", icon: iconName, color: iconColor }), h("h3", { class: "dialog-box-title" }, title), closeEnabled && (h("div", { class: "dialog-box-align-right close-button", onClick: () => this.onCloseClickHandler() }, h("tttx-icon_1_9_60", { class: "dialog-box-icon-close dialog-box-clickable", icon: "close", color: "black" })))));
63
63
  }
64
64
  renderContent(content) {
65
65
  if (content.isCustomHtml) {
@@ -76,7 +76,7 @@ const TttxDialogBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
76
76
  const button2Enabled = button.length > 1;
77
77
  const button3Enabled = button.length == 3;
78
78
  const isMobile = this.elementSize === 'mobile';
79
- return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-button_1_9_59", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(3), design: button[2].type, notext: isMobile, icon: button[2].icon }, !isMobile && button[2].name)), button2Enabled && (h("tttx-button_1_9_59", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(2), design: button[1].type, icon: button[1].icon }, button[1].name)), button1Enabled && (h("tttx-button_1_9_59", { onClick: () => this.onButtonClickHandler(1), design: button[0].type, icon: button[0].icon }, button[0].name)))));
79
+ return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-button_1_9_60", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(3), design: button[2].type, notext: isMobile, icon: button[2].icon }, !isMobile && button[2].name)), button2Enabled && (h("tttx-button_1_9_60", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(2), design: button[1].type, icon: button[1].icon }, button[1].name)), button1Enabled && (h("tttx-button_1_9_60", { onClick: () => this.onButtonClickHandler(1), design: button[0].type, icon: button[0].icon }, button[0].name)))));
80
80
  }
81
81
  componentWillLoad() {
82
82
  if (window.innerWidth < 698) {
@@ -99,7 +99,7 @@ const TttxDialogBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
99
99
  }
100
100
  get el() { return this; }
101
101
  static get style() { return tttxDialogBoxCss; }
102
- }, [1, "tttx-dialog-box_1_9_59", {
102
+ }, [1, "tttx-dialog-box_1_9_60", {
103
103
  "data": [1025],
104
104
  "size": [1],
105
105
  "open": [1028],
@@ -110,19 +110,19 @@ function defineCustomElement$1() {
110
110
  if (typeof customElements === "undefined") {
111
111
  return;
112
112
  }
113
- const components = ["tttx-dialog-box_1_9_59", "tttx-button_1_9_59", "tttx-icon_1_9_59"];
113
+ const components = ["tttx-dialog-box_1_9_60", "tttx-button_1_9_60", "tttx-icon_1_9_60"];
114
114
  components.forEach(tagName => { switch (tagName) {
115
- case "tttx-dialog-box_1_9_59":
115
+ case "tttx-dialog-box_1_9_60":
116
116
  if (!customElements.get(tagName)) {
117
117
  customElements.define(tagName, TttxDialogBox);
118
118
  }
119
119
  break;
120
- case "tttx-button_1_9_59":
120
+ case "tttx-button_1_9_60":
121
121
  if (!customElements.get(tagName)) {
122
122
  defineCustomElement$3();
123
123
  }
124
124
  break;
125
- case "tttx-icon_1_9_59":
125
+ case "tttx-icon_1_9_60":
126
126
  if (!customElements.get(tagName)) {
127
127
  defineCustomElement$2();
128
128
  }
@@ -130,7 +130,7 @@ function defineCustomElement$1() {
130
130
  } });
131
131
  }
132
132
 
133
- const TttxDialogBox_1_9_59 = TttxDialogBox;
133
+ const TttxDialogBox_1_9_60 = TttxDialogBox;
134
134
  const defineCustomElement = defineCustomElement$1;
135
135
 
136
- export { TttxDialogBox_1_9_59, defineCustomElement };
136
+ export { TttxDialogBox_1_9_60, defineCustomElement };
@@ -1,9 +1,9 @@
1
1
  import type { Components, JSX } from "../types/components";
2
2
 
3
- interface TttxButton_1_9_59 extends Components.TttxButton_1_9_59, HTMLElement {}
4
- export const TttxButton_1_9_59: {
5
- prototype: TttxButton_1_9_59;
6
- new (): TttxButton_1_9_59;
3
+ interface TttxDialog_1_9_60 extends Components.TttxDialog_1_9_60, HTMLElement {}
4
+ export const TttxDialog_1_9_60: {
5
+ prototype: TttxDialog_1_9_60;
6
+ new (): TttxDialog_1_9_60;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -50,7 +50,7 @@ const TttxDialog = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
50
50
  renderHeader() {
51
51
  const iconEnabled = typeof this.type !== 'undefined';
52
52
  const { iconName, iconColor } = this.headerIconDetails(iconEnabled);
53
- return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-icon_1_9_59", { class: "icon", icon: iconName, color: iconColor }), h("h3", { class: "title", title: this.header }, this.header), this.closeEnabled && (h("tttx-button_1_9_59", { class: "align-right close-button", design: "borderless-circle", icon: "close", color: "black", notext: true, onClick: () => this.onCloseClickHandler() }))));
53
+ return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-icon_1_9_60", { class: "icon", icon: iconName, color: iconColor }), h("h3", { class: "title", title: this.header }, this.header), this.closeEnabled && (h("tttx-button_1_9_60", { class: "align-right close-button", design: "borderless-circle", icon: "close", color: "black", notext: true, onClick: () => this.onCloseClickHandler() }))));
54
54
  }
55
55
  body() {
56
56
  return (h("div", { class: `body ${!this.allowOverflow ? 'overflow-hidden' : ''}` }, h("span", { class: "body-content" }, h("slot", null))));
@@ -76,7 +76,7 @@ const TttxDialog = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
76
76
  }
77
77
  get el() { return this; }
78
78
  static get style() { return tttxDialogCss; }
79
- }, [1, "tttx-dialog_1_9_59", {
79
+ }, [1, "tttx-dialog_1_9_60", {
80
80
  "header": [1],
81
81
  "type": [1],
82
82
  "size": [1],
@@ -89,19 +89,19 @@ function defineCustomElement$1() {
89
89
  if (typeof customElements === "undefined") {
90
90
  return;
91
91
  }
92
- const components = ["tttx-dialog_1_9_59", "tttx-button_1_9_59", "tttx-icon_1_9_59"];
92
+ const components = ["tttx-dialog_1_9_60", "tttx-button_1_9_60", "tttx-icon_1_9_60"];
93
93
  components.forEach(tagName => { switch (tagName) {
94
- case "tttx-dialog_1_9_59":
94
+ case "tttx-dialog_1_9_60":
95
95
  if (!customElements.get(tagName)) {
96
96
  customElements.define(tagName, TttxDialog);
97
97
  }
98
98
  break;
99
- case "tttx-button_1_9_59":
99
+ case "tttx-button_1_9_60":
100
100
  if (!customElements.get(tagName)) {
101
101
  defineCustomElement$3();
102
102
  }
103
103
  break;
104
- case "tttx-icon_1_9_59":
104
+ case "tttx-icon_1_9_60":
105
105
  if (!customElements.get(tagName)) {
106
106
  defineCustomElement$2();
107
107
  }
@@ -109,7 +109,7 @@ function defineCustomElement$1() {
109
109
  } });
110
110
  }
111
111
 
112
- const TttxDialog_1_9_59 = TttxDialog;
112
+ const TttxDialog_1_9_60 = TttxDialog;
113
113
  const defineCustomElement = defineCustomElement$1;
114
114
 
115
- export { TttxDialog_1_9_59, defineCustomElement };
115
+ export { TttxDialog_1_9_60, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface TttxExpander_1_9_60 extends Components.TttxExpander_1_9_60, HTMLElement {}
4
+ export const TttxExpander_1_9_60: {
5
+ prototype: TttxExpander_1_9_60;
6
+ new (): TttxExpander_1_9_60;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -29,10 +29,10 @@ const TttxExpander = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
29
29
  this.toggleExpander.emit({ open: this.isExpanded, name: this.name });
30
30
  }
31
31
  render() {
32
- return (h(Host, null, h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, h("summary", { class: "panel" }, h("span", { class: "panel-frame" }, this.lefticon && (h("span", { class: "left-icons" }, h("tttx-icon_1_9_59", { icon: this.lefticon, color: this.lefticoncolor }))), h("span", { class: "name" }, this.name)), h("span", { class: "expand-button" }, h("tttx-icon_1_9_59", { class: "open", icon: "expand_more", color: "black" }), h("tttx-icon_1_9_59", { class: "closed", icon: "chevron_right", color: "black" }))), h("div", { id: "expanderContent", class: "content", tabindex: "0" }, h("slot", null)))));
32
+ return (h(Host, null, h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, h("summary", { class: "panel" }, h("span", { class: "panel-frame" }, this.lefticon && (h("span", { class: "left-icons" }, h("tttx-icon_1_9_60", { icon: this.lefticon, color: this.lefticoncolor }))), h("span", { class: "name" }, this.name)), h("span", { class: "expand-button" }, h("tttx-icon_1_9_60", { class: "open", icon: "expand_more", color: "black" }), h("tttx-icon_1_9_60", { class: "closed", icon: "chevron_right", color: "black" }))), h("div", { id: "expanderContent", class: "content", tabindex: "0" }, h("slot", null)))));
33
33
  }
34
34
  static get style() { return tttxExpanderCss; }
35
- }, [1, "tttx-expander_1_9_59", {
35
+ }, [1, "tttx-expander_1_9_60", {
36
36
  "name": [1],
37
37
  "open": [4],
38
38
  "lefticon": [1],
@@ -43,14 +43,14 @@ function defineCustomElement$1() {
43
43
  if (typeof customElements === "undefined") {
44
44
  return;
45
45
  }
46
- const components = ["tttx-expander_1_9_59", "tttx-icon_1_9_59"];
46
+ const components = ["tttx-expander_1_9_60", "tttx-icon_1_9_60"];
47
47
  components.forEach(tagName => { switch (tagName) {
48
- case "tttx-expander_1_9_59":
48
+ case "tttx-expander_1_9_60":
49
49
  if (!customElements.get(tagName)) {
50
50
  customElements.define(tagName, TttxExpander);
51
51
  }
52
52
  break;
53
- case "tttx-icon_1_9_59":
53
+ case "tttx-icon_1_9_60":
54
54
  if (!customElements.get(tagName)) {
55
55
  defineCustomElement$2();
56
56
  }
@@ -58,7 +58,7 @@ function defineCustomElement$1() {
58
58
  } });
59
59
  }
60
60
 
61
- const TttxExpander_1_9_59 = TttxExpander;
61
+ const TttxExpander_1_9_60 = TttxExpander;
62
62
  const defineCustomElement = defineCustomElement$1;
63
63
 
64
- export { TttxExpander_1_9_59, defineCustomElement };
64
+ export { TttxExpander_1_9_60, defineCustomElement };
@@ -179,15 +179,15 @@ const TttxFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
179
179
  const selectAllCheckboxColor = this.allSelected ? 'blue' : 'grey';
180
180
  const buttonStyleClassNameModifier = this.getFilterButtonClassName(this.filterButtonStyle);
181
181
  const filterKey = `filter__${this.filterKey}`;
182
- return (h(Host, { id: filterKey }, h("div", { class: 'filter-container' }, h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, h("tttx-icon_1_9_59", { icon: 'filter_list', class: 'filter-icon', color: 'black' }), "Filter"), this.showPopover && (h("div", { class: `filter-popover-container ${filterPopoverContainerClassNameModifier}`, style: { width: this.popoverWidth } }, h("div", { class: 'filter-header' }, this.filterHeader), this.showSearchField ? (h("div", { class: 'search-field-container' }, h("tttx-icon_1_9_59", { icon: 'search', class: 'search-icon' }), h("input", { type: 'text', class: 'search-input', placeholder: 'Search', value: this.filterSearchTerm, onInput: this.handleFilterChange.bind(this) }))) : (''), h("div", { class: 'filter-options-container' }, this.showSelectAll ? (h("div", { class: 'filter-option', tabIndex: -1, onClick: this.onSelectAllClick.bind(this) }, h("tttx-icon_1_9_59", { icon: selectAllCheckboxIcon, color: selectAllCheckboxColor, class: 'select-all-icon' }), h("label", { class: 'filter-label' }, "Select all"))) : (''), this.displayedFilterSettings.map((option) => {
182
+ return (h(Host, { id: filterKey }, h("div", { class: 'filter-container' }, h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, h("tttx-icon_1_9_60", { icon: 'filter_list', class: 'filter-icon', color: 'black' }), "Filter"), this.showPopover && (h("div", { class: `filter-popover-container ${filterPopoverContainerClassNameModifier}`, style: { width: this.popoverWidth } }, h("div", { class: 'filter-header' }, this.filterHeader), this.showSearchField ? (h("div", { class: 'search-field-container' }, h("tttx-icon_1_9_60", { icon: 'search', class: 'search-icon' }), h("input", { type: 'text', class: 'search-input', placeholder: 'Search', value: this.filterSearchTerm, onInput: this.handleFilterChange.bind(this) }))) : (''), h("div", { class: 'filter-options-container' }, this.showSelectAll ? (h("div", { class: 'filter-option', tabIndex: -1, onClick: this.onSelectAllClick.bind(this) }, h("tttx-icon_1_9_60", { icon: selectAllCheckboxIcon, color: selectAllCheckboxColor, class: 'select-all-icon' }), h("label", { class: 'filter-label' }, "Select all"))) : (''), this.displayedFilterSettings.map((option) => {
183
183
  const checkboxIcon = this.selectedFilters.includes(option.optionText) ? 'check_box' : 'check_box_outline_blank';
184
184
  const checkboxColor = this.selectedFilters.includes(option.optionText) ? 'blue' : 'grey';
185
- return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-icon_1_9_59", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), this.showOptionIcons && h("tttx-icon_1_9_59", { icon: option.optionIcon, color: option.optionIconColor }), h("label", { class: 'filter-label' }, option.optionText));
185
+ return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-icon_1_9_60", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), this.showOptionIcons && h("tttx-icon_1_9_60", { icon: option.optionIcon, color: option.optionIconColor }), h("label", { class: 'filter-label' }, option.optionText));
186
186
  })), h("div", { class: 'filter-popover-button-container' }, h("button", { type: 'button', class: 'close-button', onClick: this.onCloseButtonClick.bind(this) }, "Close"), h("button", { type: 'button', class: 'apply-button', onClick: this.onApplyFilterButtonClick.bind(this) }, "Apply")))))));
187
187
  }
188
188
  get el() { return this; }
189
189
  static get style() { return tttxFilterCss; }
190
- }, [1, "tttx-filter_1_9_59", {
190
+ }, [1, "tttx-filter_1_9_60", {
191
191
  "filterKey": [1, "filter-key"],
192
192
  "filterOptions": [1, "filter-options"],
193
193
  "showSelectAll": [4, "show-select-all"],
@@ -207,14 +207,14 @@ function defineCustomElement() {
207
207
  if (typeof customElements === "undefined") {
208
208
  return;
209
209
  }
210
- const components = ["tttx-filter_1_9_59", "tttx-icon_1_9_59"];
210
+ const components = ["tttx-filter_1_9_60", "tttx-icon_1_9_60"];
211
211
  components.forEach(tagName => { switch (tagName) {
212
- case "tttx-filter_1_9_59":
212
+ case "tttx-filter_1_9_60":
213
213
  if (!customElements.get(tagName)) {
214
214
  customElements.define(tagName, TttxFilter);
215
215
  }
216
216
  break;
217
- case "tttx-icon_1_9_59":
217
+ case "tttx-icon_1_9_60":
218
218
  if (!customElements.get(tagName)) {
219
219
  defineCustomElement$1();
220
220
  }
@@ -1,9 +1,9 @@
1
1
  import type { Components, JSX } from "../types/components";
2
2
 
3
- interface TttxFilter_1_9_59 extends Components.TttxFilter_1_9_59, HTMLElement {}
4
- export const TttxFilter_1_9_59: {
5
- prototype: TttxFilter_1_9_59;
6
- new (): TttxFilter_1_9_59;
3
+ interface TttxFilter_1_9_60 extends Components.TttxFilter_1_9_60, HTMLElement {}
4
+ export const TttxFilter_1_9_60: {
5
+ prototype: TttxFilter_1_9_60;
6
+ new (): TttxFilter_1_9_60;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -1,6 +1,6 @@
1
1
  import { T as TttxFilter, d as defineCustomElement$1 } from './tttx-filter.js';
2
2
 
3
- const TttxFilter_1_9_59 = TttxFilter;
3
+ const TttxFilter_1_9_60 = TttxFilter;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
- export { TttxFilter_1_9_59, defineCustomElement };
6
+ export { TttxFilter_1_9_60, defineCustomElement };