@3t-transform/threeteeui 1.9.99 → 1.9.101

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 (314) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/{tttx-action-dropdown_1_9_99.cjs.entry.js → tttx-action-dropdown_1_9_101.cjs.entry.js} +2 -2
  3. package/dist/cjs/{tttx-button-v2_1_9_99.cjs.entry.js → tttx-button-v2_1_9_101.cjs.entry.js} +4 -4
  4. package/dist/cjs/{tttx-button_1_9_99.cjs.entry.js → tttx-button_1_9_101.cjs.entry.js} +2 -2
  5. package/dist/cjs/{tttx-chart_1_9_99.cjs.entry.js → tttx-chart_1_9_101.cjs.entry.js} +4 -4
  6. package/dist/cjs/{tttx-checkbox-group-caption_1_9_99.cjs.entry.js → tttx-checkbox-group-caption_1_9_101.cjs.entry.js} +1 -1
  7. package/dist/cjs/{tttx-checkbox-group-heading_1_9_99.cjs.entry.js → tttx-checkbox-group-heading_1_9_101.cjs.entry.js} +1 -1
  8. package/dist/cjs/{tttx-checkbox-group_1_9_99.cjs.entry.js → tttx-checkbox-group_1_9_101.cjs.entry.js} +1 -1
  9. package/dist/cjs/{tttx-checkbox_1_9_99.cjs.entry.js → tttx-checkbox_1_9_101.cjs.entry.js} +2 -2
  10. package/dist/cjs/{tttx-comments_1_9_99.cjs.entry.js → tttx-comments_1_9_101.cjs.entry.js} +4 -4
  11. package/dist/cjs/tttx-data-pattern_1_9_101.cjs.entry.js +30 -0
  12. package/dist/cjs/{tttx-datacard_1_9_99.cjs.entry.js → tttx-datacard_1_9_101.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_99.cjs.entry.js → tttx-dialog-box_1_9_101.cjs.entry.js} +3 -3
  15. package/dist/cjs/{tttx-dialog_1_9_99.cjs.entry.js → tttx-dialog_1_9_101.cjs.entry.js} +2 -2
  16. package/dist/cjs/{tttx-expander_1_9_99.cjs.entry.js → tttx-expander_1_9_101.cjs.entry.js} +2 -2
  17. package/dist/cjs/{tttx-filter_1_9_99_4.cjs.entry.js → tttx-filter_1_9_101_4.cjs.entry.js} +9 -9
  18. package/dist/cjs/{tttx-form_1_9_99.cjs.entry.js → tttx-form_1_9_101.cjs.entry.js} +2 -2
  19. package/dist/cjs/{tttx-graph_1_9_99.cjs.entry.js → tttx-graph_1_9_101.cjs.entry.js} +1 -1
  20. package/dist/cjs/{tttx-icon_1_9_99.cjs.entry.js → tttx-icon_1_9_101.cjs.entry.js} +1 -1
  21. package/dist/cjs/{tttx-keyvalue-block_1_9_99.cjs.entry.js → tttx-keyvalue-block_1_9_101.cjs.entry.js} +1 -1
  22. package/dist/cjs/{tttx-loading-spinner_1_9_99_3.cjs.entry.js → tttx-loading-spinner_1_9_101_3.cjs.entry.js} +6 -6
  23. package/dist/cjs/{tttx-multiselect-box_1_9_99.cjs.entry.js → tttx-multiselect-box_1_9_101.cjs.entry.js} +7 -7
  24. package/dist/cjs/{tttx-percentage-bar_1_9_99.cjs.entry.js → tttx-percentage-bar_1_9_101.cjs.entry.js} +2 -2
  25. package/dist/cjs/{tttx-qrcode_1_9_99.cjs.entry.js → tttx-qrcode_1_9_101.cjs.entry.js} +1 -1
  26. package/dist/cjs/{tttx-range-slider_1_9_99.cjs.entry.js → tttx-range-slider_1_9_101.cjs.entry.js} +1 -1
  27. package/dist/cjs/{tttx-select-box_1_9_99.cjs.entry.js → tttx-select-box_1_9_101.cjs.entry.js} +6 -6
  28. package/dist/cjs/{tttx-skeleton_loader_1_9_99.cjs.entry.js → tttx-skeleton_loader_1_9_101.cjs.entry.js} +1 -1
  29. package/dist/cjs/{tttx-table_1_9_99.cjs.entry.js → tttx-table_1_9_101.cjs.entry.js} +3 -3
  30. package/dist/cjs/{tttx-tabs_1_9_99.cjs.entry.js → tttx-tabs_1_9_101.cjs.entry.js} +4 -4
  31. package/dist/cjs/{tttx-tag-v2_1_9_99.cjs.entry.js → tttx-tag-v2_1_9_101.cjs.entry.js} +2 -2
  32. package/dist/cjs/{tttx-textarea_1_9_99.cjs.entry.js → tttx-textarea_1_9_101.cjs.entry.js} +2 -2
  33. package/dist/cjs/{tttx-toggle_1_9_99.cjs.entry.js → tttx-toggle_1_9_101.cjs.entry.js} +1 -1
  34. package/dist/cjs/{tttx-tooltip_1_9_99.cjs.entry.js → tttx-tooltip_1_9_101.cjs.entry.js} +1 -1
  35. package/dist/cjs/tttx-tree-view_1_9_101.cjs.entry.js +360 -0
  36. package/dist/cjs/tttx.cjs.js +1 -1
  37. package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
  38. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +24 -24
  39. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.css +1 -1
  40. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.js +3 -3
  41. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.stories.js +15 -15
  42. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
  43. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
  44. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.js +4 -4
  45. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +10 -10
  46. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
  47. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
  48. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
  49. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
  50. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +1 -1
  51. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +2 -2
  52. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
  53. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
  54. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
  55. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
  56. package/dist/collection/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader.js +1 -1
  57. package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +2 -2
  58. package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
  59. package/dist/collection/components/atoms/tttx-tag-v2/tttx-tag-v2.js +2 -2
  60. package/dist/collection/components/atoms/tttx-tag-v2/tttx-tag-v2.stories.js +2 -2
  61. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
  62. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
  63. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.js +2 -2
  64. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +1 -1
  65. package/dist/collection/components/molecules/tttx-chart/tttx-chart.js +4 -4
  66. package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +5 -5
  67. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
  68. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
  69. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
  70. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
  71. package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +4 -4
  72. package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +4 -4
  73. package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +1 -1
  74. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
  75. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
  76. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
  77. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
  78. package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
  79. package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
  80. package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
  81. package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
  82. package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
  83. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +8 -8
  84. package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
  85. package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
  86. package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
  87. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
  88. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -7
  89. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
  90. package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.js +1 -1
  91. package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.stories.js +3 -3
  92. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +6 -6
  93. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +22 -22
  94. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
  95. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
  96. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
  97. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
  98. package/dist/collection/components/molecules/tttx-table/tttx-table.css +1 -1
  99. package/dist/collection/components/molecules/tttx-table/tttx-table.js +2 -2
  100. package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +25 -25
  101. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
  102. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
  103. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
  104. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
  105. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
  106. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
  107. package/dist/collection/components/molecules/tttx-tooltip/tttx-tooltip.js +1 -1
  108. package/dist/collection/components/molecules/tttx-tooltip/tttx-tootip.stories.js +3 -3
  109. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.css +49 -6
  110. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +130 -25
  111. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +28 -16
  112. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
  113. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
  114. package/dist/components/index.d.ts +38 -38
  115. package/dist/components/index.js +38 -38
  116. package/dist/components/tttx-action-dropdown_1_9_101.d.ts +11 -0
  117. package/dist/components/{tttx-action-dropdown_1_9_99.js → tttx-action-dropdown_1_9_101.js} +7 -7
  118. package/dist/components/tttx-button-v2.js +7 -7
  119. package/dist/components/tttx-button-v2_1_9_101.d.ts +11 -0
  120. package/dist/components/{tttx-button-v2_1_9_99.js → tttx-button-v2_1_9_101.js} +2 -2
  121. package/dist/components/tttx-button.js +5 -5
  122. package/dist/components/tttx-button_1_9_101.d.ts +11 -0
  123. package/dist/components/{tttx-button_1_9_99.js → tttx-button_1_9_101.js} +2 -2
  124. package/dist/components/{tttx-dialog_1_9_99.d.ts → tttx-chart_1_9_101.d.ts} +4 -4
  125. package/dist/components/{tttx-chart_1_9_99.js → tttx-chart_1_9_101.js} +11 -11
  126. package/dist/components/tttx-checkbox-group-caption_1_9_101.d.ts +11 -0
  127. package/dist/components/{tttx-checkbox-group-caption_1_9_99.js → tttx-checkbox-group-caption_1_9_101.js} +5 -5
  128. package/dist/components/tttx-checkbox-group-heading_1_9_101.d.ts +11 -0
  129. package/dist/components/{tttx-checkbox-group-heading_1_9_99.js → tttx-checkbox-group-heading_1_9_101.js} +5 -5
  130. package/dist/components/tttx-checkbox-group_1_9_101.d.ts +11 -0
  131. package/dist/components/{tttx-checkbox-group_1_9_99.js → tttx-checkbox-group_1_9_101.js} +5 -5
  132. package/dist/components/tttx-checkbox_1_9_101.d.ts +11 -0
  133. package/dist/components/{tttx-checkbox_1_9_99.js → tttx-checkbox_1_9_101.js} +7 -7
  134. package/dist/components/tttx-comments_1_9_101.d.ts +11 -0
  135. package/dist/components/{tttx-comments_1_9_99.js → tttx-comments_1_9_101.js} +9 -9
  136. package/dist/components/tttx-data-pattern_1_9_101.d.ts +11 -0
  137. package/dist/components/{tttx-data-pattern_1_9_99.js → tttx-data-pattern_1_9_101.js} +16 -16
  138. package/dist/components/tttx-datacard_1_9_101.d.ts +11 -0
  139. package/dist/components/{tttx-datacard_1_9_99.js → tttx-datacard_1_9_101.js} +10 -10
  140. package/dist/components/tttx-date-range-picker.js +3 -3
  141. package/dist/components/{tttx-standalone-input_1_9_99.d.ts → tttx-dialog-box_1_9_101.d.ts} +4 -4
  142. package/dist/components/{tttx-dialog-box_1_9_99.js → tttx-dialog-box_1_9_101.js} +9 -9
  143. package/dist/components/tttx-dialog_1_9_101.d.ts +11 -0
  144. package/dist/components/{tttx-dialog_1_9_99.js → tttx-dialog_1_9_101.js} +8 -8
  145. package/dist/components/tttx-expander_1_9_101.d.ts +11 -0
  146. package/dist/components/{tttx-expander_1_9_99.js → tttx-expander_1_9_101.js} +7 -7
  147. package/dist/components/tttx-filter.js +6 -6
  148. package/dist/components/tttx-filter_1_9_101.d.ts +11 -0
  149. package/dist/components/{tttx-filter_1_9_99.js → tttx-filter_1_9_101.js} +2 -2
  150. package/dist/components/{tttx-table_1_9_99.d.ts → tttx-form_1_9_101.d.ts} +4 -4
  151. package/dist/components/{tttx-form_1_9_99.js → tttx-form_1_9_101.js} +11 -11
  152. package/dist/components/tttx-graph.js +3 -3
  153. package/dist/components/{tttx-filter_1_9_99.d.ts → tttx-graph_1_9_101.d.ts} +4 -4
  154. package/dist/components/{tttx-graph_1_9_99.js → tttx-graph_1_9_101.js} +2 -2
  155. package/dist/components/tttx-icon.js +3 -3
  156. package/dist/components/{tttx-graph_1_9_99.d.ts → tttx-icon_1_9_101.d.ts} +4 -4
  157. package/dist/components/{tttx-icon_1_9_99.js → tttx-icon_1_9_101.js} +2 -2
  158. package/dist/components/tttx-keyvalue-block_1_9_101.d.ts +11 -0
  159. package/dist/components/{tttx-keyvalue-block_1_9_99.js → tttx-keyvalue-block_1_9_101.js} +5 -5
  160. package/dist/components/tttx-list.js +6 -6
  161. package/dist/components/{tttx-chart_1_9_99.d.ts → tttx-list_1_9_101.d.ts} +4 -4
  162. package/dist/components/{tttx-list_1_9_99.js → tttx-list_1_9_101.js} +2 -2
  163. package/dist/components/tttx-loading-spinner.js +3 -3
  164. package/dist/components/tttx-loading-spinner_1_9_101.d.ts +11 -0
  165. package/dist/components/{tttx-loading-spinner_1_9_99.js → tttx-loading-spinner_1_9_101.js} +2 -2
  166. package/dist/components/tttx-multiselect-box_1_9_101.d.ts +11 -0
  167. package/dist/components/{tttx-multiselect-box_1_9_99.js → tttx-multiselect-box_1_9_101.js} +16 -16
  168. package/dist/components/tttx-percentage-bar_1_9_101.d.ts +11 -0
  169. package/dist/components/{tttx-percentage-bar_1_9_99.js → tttx-percentage-bar_1_9_101.js} +6 -6
  170. package/dist/components/tttx-qrcode_1_9_101.d.ts +11 -0
  171. package/dist/components/{tttx-qrcode_1_9_99.js → tttx-qrcode_1_9_101.js} +5 -5
  172. package/dist/components/tttx-range-slider_1_9_101.d.ts +11 -0
  173. package/dist/components/{tttx-range-slider_1_9_99.js → tttx-range-slider_1_9_101.js} +5 -5
  174. package/dist/components/tttx-select-box.js +12 -12
  175. package/dist/components/tttx-select-box_1_9_101.d.ts +11 -0
  176. package/dist/components/{tttx-select-box_1_9_99.js → tttx-select-box_1_9_101.js} +2 -2
  177. package/dist/components/tttx-skeleton_loader_1_9_101.d.ts +11 -0
  178. package/dist/components/{tttx-skeleton_loader_1_9_99.js → tttx-skeleton_loader_1_9_101.js} +5 -5
  179. package/dist/components/tttx-sorter.js +5 -5
  180. package/dist/components/tttx-sorter_1_9_101.d.ts +11 -0
  181. package/dist/components/{tttx-sorter_1_9_99.js → tttx-sorter_1_9_101.js} +2 -2
  182. package/dist/components/tttx-standalone-input.js +6 -6
  183. package/dist/components/tttx-standalone-input_1_9_101.d.ts +11 -0
  184. package/dist/components/{tttx-standalone-input_1_9_99.js → tttx-standalone-input_1_9_101.js} +2 -2
  185. package/dist/components/{tttx-qrcode_1_9_99.d.ts → tttx-table_1_9_101.d.ts} +4 -4
  186. package/dist/components/{tttx-table_1_9_99.js → tttx-table_1_9_101.js} +9 -9
  187. package/dist/components/{tttx-tag-v2_1_9_99.d.ts → tttx-tabs_1_9_101.d.ts} +4 -4
  188. package/dist/components/{tttx-tabs_1_9_99.js → tttx-tabs_1_9_101.js} +9 -9
  189. package/dist/components/{tttx-button_1_9_99.d.ts → tttx-tag-v2_1_9_101.d.ts} +4 -4
  190. package/dist/components/{tttx-tag-v2_1_9_99.js → tttx-tag-v2_1_9_101.js} +7 -7
  191. package/dist/components/tttx-tag.js +5 -5
  192. package/dist/components/{tttx-form_1_9_99.d.ts → tttx-tag_1_9_101.d.ts} +4 -4
  193. package/dist/components/{tttx-tag_1_9_99.js → tttx-tag_1_9_101.js} +2 -2
  194. package/dist/components/tttx-textarea_1_9_101.d.ts +11 -0
  195. package/dist/components/{tttx-textarea_1_9_99.js → tttx-textarea_1_9_101.js} +6 -6
  196. package/dist/components/tttx-toggle_1_9_101.d.ts +11 -0
  197. package/dist/components/{tttx-toggle_1_9_99.js → tttx-toggle_1_9_101.js} +5 -5
  198. package/dist/components/tttx-toolbar.js +3 -3
  199. package/dist/components/{tttx-checkbox_1_9_99.d.ts → tttx-toolbar_1_9_101.d.ts} +4 -4
  200. package/dist/components/{tttx-toolbar_1_9_99.js → tttx-toolbar_1_9_101.js} +2 -2
  201. package/dist/components/{tttx-button-v2_1_9_99.d.ts → tttx-tooltip_1_9_101.d.ts} +4 -4
  202. package/dist/components/{tttx-tooltip_1_9_99.js → tttx-tooltip_1_9_101.js} +5 -5
  203. package/dist/components/tttx-tree-view_1_9_101.d.ts +11 -0
  204. package/dist/components/tttx-tree-view_1_9_101.js +389 -0
  205. package/dist/esm/loader.js +1 -1
  206. package/dist/esm/{tttx-action-dropdown_1_9_99.entry.js → tttx-action-dropdown_1_9_101.entry.js} +2 -2
  207. package/dist/esm/{tttx-button-v2_1_9_99.entry.js → tttx-button-v2_1_9_101.entry.js} +4 -4
  208. package/dist/esm/{tttx-button_1_9_99.entry.js → tttx-button_1_9_101.entry.js} +2 -2
  209. package/dist/esm/{tttx-chart_1_9_99.entry.js → tttx-chart_1_9_101.entry.js} +4 -4
  210. package/dist/esm/{tttx-checkbox-group-caption_1_9_99.entry.js → tttx-checkbox-group-caption_1_9_101.entry.js} +1 -1
  211. package/dist/esm/{tttx-checkbox-group-heading_1_9_99.entry.js → tttx-checkbox-group-heading_1_9_101.entry.js} +1 -1
  212. package/dist/esm/{tttx-checkbox-group_1_9_99.entry.js → tttx-checkbox-group_1_9_101.entry.js} +1 -1
  213. package/dist/esm/{tttx-checkbox_1_9_99.entry.js → tttx-checkbox_1_9_101.entry.js} +2 -2
  214. package/dist/esm/{tttx-comments_1_9_99.entry.js → tttx-comments_1_9_101.entry.js} +4 -4
  215. package/dist/esm/tttx-data-pattern_1_9_101.entry.js +26 -0
  216. package/dist/esm/{tttx-datacard_1_9_99.entry.js → tttx-datacard_1_9_101.entry.js} +4 -4
  217. package/dist/esm/tttx-date-range-picker.entry.js +1 -1
  218. package/dist/esm/{tttx-dialog-box_1_9_99.entry.js → tttx-dialog-box_1_9_101.entry.js} +3 -3
  219. package/dist/esm/{tttx-dialog_1_9_99.entry.js → tttx-dialog_1_9_101.entry.js} +2 -2
  220. package/dist/esm/{tttx-expander_1_9_99.entry.js → tttx-expander_1_9_101.entry.js} +2 -2
  221. package/dist/esm/{tttx-filter_1_9_99_4.entry.js → tttx-filter_1_9_101_4.entry.js} +6 -6
  222. package/dist/esm/{tttx-form_1_9_99.entry.js → tttx-form_1_9_101.entry.js} +2 -2
  223. package/dist/esm/{tttx-graph_1_9_99.entry.js → tttx-graph_1_9_101.entry.js} +1 -1
  224. package/dist/esm/{tttx-icon_1_9_99.entry.js → tttx-icon_1_9_101.entry.js} +1 -1
  225. package/dist/esm/{tttx-keyvalue-block_1_9_99.entry.js → tttx-keyvalue-block_1_9_101.entry.js} +1 -1
  226. package/dist/esm/{tttx-loading-spinner_1_9_99_3.entry.js → tttx-loading-spinner_1_9_101_3.entry.js} +4 -4
  227. package/dist/esm/{tttx-multiselect-box_1_9_99.entry.js → tttx-multiselect-box_1_9_101.entry.js} +7 -7
  228. package/dist/esm/{tttx-percentage-bar_1_9_99.entry.js → tttx-percentage-bar_1_9_101.entry.js} +2 -2
  229. package/dist/esm/{tttx-qrcode_1_9_99.entry.js → tttx-qrcode_1_9_101.entry.js} +1 -1
  230. package/dist/esm/{tttx-range-slider_1_9_99.entry.js → tttx-range-slider_1_9_101.entry.js} +1 -1
  231. package/dist/esm/{tttx-select-box_1_9_99.entry.js → tttx-select-box_1_9_101.entry.js} +6 -6
  232. package/dist/esm/{tttx-skeleton_loader_1_9_99.entry.js → tttx-skeleton_loader_1_9_101.entry.js} +1 -1
  233. package/dist/esm/{tttx-table_1_9_99.entry.js → tttx-table_1_9_101.entry.js} +3 -3
  234. package/dist/esm/{tttx-tabs_1_9_99.entry.js → tttx-tabs_1_9_101.entry.js} +4 -4
  235. package/dist/esm/{tttx-tag-v2_1_9_99.entry.js → tttx-tag-v2_1_9_101.entry.js} +2 -2
  236. package/dist/esm/{tttx-textarea_1_9_99.entry.js → tttx-textarea_1_9_101.entry.js} +2 -2
  237. package/dist/esm/{tttx-toggle_1_9_99.entry.js → tttx-toggle_1_9_101.entry.js} +1 -1
  238. package/dist/esm/{tttx-tooltip_1_9_99.entry.js → tttx-tooltip_1_9_101.entry.js} +1 -1
  239. package/dist/esm/tttx-tree-view_1_9_101.entry.js +356 -0
  240. package/dist/esm/tttx.js +1 -1
  241. package/dist/tttx/p-00a849cf.entry.js +1 -1
  242. package/dist/tttx/p-1623f3cf.entry.js +1 -1
  243. package/dist/tttx/p-21707b8d.entry.js +1 -1
  244. package/dist/tttx/p-2251ab85.entry.js +1 -1
  245. package/dist/tttx/p-2d19c46c.entry.js +1 -1
  246. package/dist/tttx/p-34e0e487.entry.js +1 -1
  247. package/dist/tttx/p-358eaa44.entry.js +1 -1
  248. package/dist/tttx/p-362999b3.entry.js +1 -1
  249. package/dist/tttx/p-3ec67d75.entry.js +1 -1
  250. package/dist/tttx/p-41b69e01.entry.js +1 -1
  251. package/dist/tttx/p-41f0bf7f.entry.js +1 -1
  252. package/dist/tttx/p-44f0af69.entry.js +1 -1
  253. package/dist/tttx/p-4664d065.entry.js +1 -1
  254. package/dist/tttx/p-5d289334.entry.js +1 -1
  255. package/dist/tttx/p-6ec18b4a.entry.js +1 -1
  256. package/dist/tttx/p-7b5b0670.entry.js +1 -1
  257. package/dist/tttx/p-7d1712fe.entry.js +1 -1
  258. package/dist/tttx/p-82b4e575.entry.js +1 -1
  259. package/dist/tttx/p-a1b8ecda.entry.js +1 -1
  260. package/dist/tttx/p-a43e2c5e.entry.js +1 -1
  261. package/dist/tttx/p-a59ad197.entry.js +1 -0
  262. package/dist/tttx/p-b161205b.entry.js +1 -1
  263. package/dist/tttx/p-b3f49d83.entry.js +1 -1
  264. package/dist/tttx/p-b8cc0cb2.entry.js +1 -1
  265. package/dist/tttx/p-b9003a76.entry.js +1 -1
  266. package/dist/tttx/p-bb59054f.entry.js +1 -1
  267. package/dist/tttx/p-c66bc14c.entry.js +1 -1
  268. package/dist/tttx/p-c8051143.entry.js +1 -1
  269. package/dist/tttx/p-ca93f786.entry.js +1 -1
  270. package/dist/tttx/p-d21b0507.entry.js +1 -1
  271. package/dist/tttx/p-d4c4edbd.entry.js +1 -1
  272. package/dist/tttx/p-d945d492.entry.js +1 -1
  273. package/dist/tttx/p-e21e3a9c.entry.js +1 -1
  274. package/dist/tttx/p-f0c1380f.entry.js +1 -1
  275. package/dist/tttx/tttx.esm.js +1 -1
  276. package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
  277. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
  278. package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
  279. package/dist/types/components/molecules/tttx-tree-view/helper/helper.d.ts +1 -0
  280. package/dist/types/components/molecules/tttx-tree-view/tttx-tree-view.d.ts +11 -2
  281. package/dist/types/components.d.ts +451 -451
  282. package/package.json +1 -1
  283. package/dist/cjs/tttx-data-pattern_1_9_99.cjs.entry.js +0 -30
  284. package/dist/cjs/tttx-tree-view_1_9_99.cjs.entry.js +0 -256
  285. package/dist/components/tttx-action-dropdown_1_9_99.d.ts +0 -11
  286. package/dist/components/tttx-checkbox-group-caption_1_9_99.d.ts +0 -11
  287. package/dist/components/tttx-checkbox-group-heading_1_9_99.d.ts +0 -11
  288. package/dist/components/tttx-checkbox-group_1_9_99.d.ts +0 -11
  289. package/dist/components/tttx-comments_1_9_99.d.ts +0 -11
  290. package/dist/components/tttx-data-pattern_1_9_99.d.ts +0 -11
  291. package/dist/components/tttx-datacard_1_9_99.d.ts +0 -11
  292. package/dist/components/tttx-dialog-box_1_9_99.d.ts +0 -11
  293. package/dist/components/tttx-expander_1_9_99.d.ts +0 -11
  294. package/dist/components/tttx-icon_1_9_99.d.ts +0 -11
  295. package/dist/components/tttx-keyvalue-block_1_9_99.d.ts +0 -11
  296. package/dist/components/tttx-list_1_9_99.d.ts +0 -11
  297. package/dist/components/tttx-loading-spinner_1_9_99.d.ts +0 -11
  298. package/dist/components/tttx-multiselect-box_1_9_99.d.ts +0 -11
  299. package/dist/components/tttx-percentage-bar_1_9_99.d.ts +0 -11
  300. package/dist/components/tttx-range-slider_1_9_99.d.ts +0 -11
  301. package/dist/components/tttx-select-box_1_9_99.d.ts +0 -11
  302. package/dist/components/tttx-skeleton_loader_1_9_99.d.ts +0 -11
  303. package/dist/components/tttx-sorter_1_9_99.d.ts +0 -11
  304. package/dist/components/tttx-tabs_1_9_99.d.ts +0 -11
  305. package/dist/components/tttx-tag_1_9_99.d.ts +0 -11
  306. package/dist/components/tttx-textarea_1_9_99.d.ts +0 -11
  307. package/dist/components/tttx-toggle_1_9_99.d.ts +0 -11
  308. package/dist/components/tttx-toolbar_1_9_99.d.ts +0 -11
  309. package/dist/components/tttx-tooltip_1_9_99.d.ts +0 -11
  310. package/dist/components/tttx-tree-view_1_9_99.d.ts +0 -11
  311. package/dist/components/tttx-tree-view_1_9_99.js +0 -284
  312. package/dist/esm/tttx-data-pattern_1_9_99.entry.js +0 -26
  313. package/dist/esm/tttx-tree-view_1_9_99.entry.js +0 -252
  314. package/dist/tttx/p-8f3fd755.entry.js +0 -1
@@ -0,0 +1,360 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-2c07dc57.js');
6
+ const domsanitiser_options = require('./domsanitiser.options-55ce2d65.js');
7
+ require('./_commonjsHelpers-537d719a.js');
8
+
9
+ const tttxTreeViewCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{--tree-accent:#1579C6;--tree-selected-bg:#E7E7E7;--indent:36px;--accent-gap:46px;--accent-width:6px;--tree-left-edge-shift:0px;--leaf-accent-offset:48px}.drag-drop-placeholder-row{background-color:#DBEAFE;padding:5px;border:1px dashed #3B82F6;border-radius:4px;width:100%}.drag_drop_success_fade{transition:background-color 1s linear}.inline-tree-item>.drag-drop-placeholder-row>.treeLeaf{text-align:center;padding:10px 0px}.placeholder-text{color:#3B82F6;width:100%;font-weight:400;text-align:center;padding:8px}.is-being-dragged{background-color:rgba(125, 130, 138, 0.05) !important}.drag-handle-container{height:100%}.tree-node{padding-top:0px !important;padding-bottom:0px !important;height:51px}.tree-view-element>ul{margin:0;padding:0}.tree-view-element ul{padding-left:var(--indent)}.tree-view-element ul li{list-style:none}.tree-view-element ul li.selected-group{position:relative;}.tree-view-element ul li.selected-group::before,.tree-view-element ul li.selected-group::after{display:none}.tree-view-element ul li.selected-group>li.inline-tree-item.element-row.tree-node{background-color:var(--tree-selected-bg) !important;position:relative}.tree-view-element ul li.selected-group>li.inline-tree-item.element-row.tree-node::after{content:\"\";position:absolute;top:0;bottom:0;width:var(--accent-width);left:calc(-1 * (var(--accent-gap) + var(--level, 0) * var(--indent)));background-color:var(--tree-accent);z-index:5}.tree-view-element ul li.selected-group>ul li.inline-tree-item.element-row.tree-node{background-color:#F9F9F9 !important}.tree-view-element ul li.selected-group>ul li.inline-tree-item.element-row.tree-node::after{display:none !important}.tree-view-element ul li.inline-tree-item{display:flex;align-items:center}.tree-view-element ul li.inline-tree-item .element{display:flex;width:100%;padding-left:8px;align-items:center}.tree-view-element ul li.inline-tree-item .element .padding-icon{padding:6px;height:24px;width:24px;display:flex;align-items:center;justify-content:center}@media (hover: hover){.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover:not(.rowSelected)::before{background-color:rgba(17, 17, 17, 0.05);z-index:3}.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover.rowSelected::before{background-color:rgba(17, 17, 17, 0.15);z-index:3}}.tree-view-element ul li.inline-tree-item.precedes_drag_drop::before{content:\"\";position:absolute;left:-50%;bottom:0;right:0;border-bottom:1px solid #3B82F6 !important}.tree-view-element ul li.inline-tree-item.element-row{font-family:\"Roboto\", serif;font-size:16px;padding:15px 0px;position:relative;color:#212121 !important;}.tree-view-element ul li.inline-tree-item.element-row::before{content:\"\";position:absolute;left:-50%;bottom:0;right:0;border-bottom:1px solid #d5d5d5;pointer-events:none}.tree-view-element ul li.inline-tree-item.element-row.tree-node::before{height:51px;z-index:2;background-color:#F9F9F9}.tree-view-element ul li.inline-tree-item.element-row.tree-node *{z-index:3}.tree-view-element ul li.inline-tree-item.element-row .treeNode{width:100%;font-weight:500;color:#212121}.tree-view-element ul li.inline-tree-item.element-row .treeLeaf{width:100%;font-weight:400;color:#212121 !important}.tree-view-element ul li.inline-tree-item.element-row.rowSelected{background-color:var(--tree-selected-bg) !important;}.tree-view-element ul li.inline-tree-item.element-row.rowSelected::before{background-color:var(--tree-selected-bg) !important}.tree-view-element ul li.inline-tree-item.element-row.rowSelected .treeLeaf,.tree-view-element ul li.inline-tree-item.element-row.rowSelected .treeNode{color:#212121 !important}.tree-view-element ul li.inline-tree-item.element-row.tree-node.rowSelected{position:relative}.tree-view-element ul li.inline-tree-item.element-row.tree-node.rowSelected::after{content:\"\";position:absolute;top:0;bottom:0;width:var(--accent-width);left:calc(-1 * (var(--accent-gap) + var(--level, 0) * var(--indent)));background-color:var(--tree-accent);z-index:5}.tree-view-element ul li.inline-tree-item.element-row.rowSelected:not(.tree-node){position:relative}.tree-view-element ul li.inline-tree-item.element-row.rowSelected:not(.tree-node)::after{content:\"\";position:absolute;top:0;bottom:0;width:var(--accent-width);background-color:var(--tree-accent);z-index:5}.tree-view-element ul li.inline-tree-item.element-row.rowSelected:not(.tree-node)[data-has-drag-handle=true]{--drag-handle-offset:34px}.tree-view-element ul li.inline-tree-item.element-row.rowSelected:not(.tree-node)[data-has-checkbox=true]{--checkbox-offset:36px}.tree-view-element ul li.inline-tree-item.element-row .drag-handle{margin-right:10px;cursor:grab}.tree-view-element ul li.inline-tree-item.element-row.rowSelected .drag-handle{margin-left:10px}.tree-view-element ul li.inline-tree-item.element-row .drop-not-allowed{border-color:red;border-style:dashed;opacity:0.7}@media (forced-colors: active){.tree-view-element ul li.selected-group li.inline-tree-item.element-row.tree-node::after{background:CanvasText}.tree-view-element ul li.selected-group::after{background:Highlight}.tree-view-element ul li.inline-tree-item.element-row.rowSelected{background:Highlight !important}}.inline-tree-item:focus-visible{outline:2px solid var(--tree-accent);outline-offset:2px;border-radius:6px}";
10
+
11
+ const TttxTreeView = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.clickEvent = index.createEvent(this, "clickEvent", 7);
15
+ this.expandNode = index.createEvent(this, "expandNode", 7);
16
+ this.checkboxChange = index.createEvent(this, "checkboxChange", 7);
17
+ this.moveNode = index.createEvent(this, "moveNode", 7);
18
+ this.dragGhost = {
19
+ el: null,
20
+ };
21
+ this.dragDropPlaceholderId = 'drag-drop-placeholder';
22
+ this.createGhostImage = (label) => {
23
+ if (label.length > 30)
24
+ label = `${label.slice(0, 30)}...`;
25
+ const ghost = document.createElement('div');
26
+ Object.assign(ghost.style, {
27
+ position: 'absolute',
28
+ top: '-9999px',
29
+ left: '-9999px',
30
+ padding: '8px 12px',
31
+ background: 'white',
32
+ pointerEvents: 'none',
33
+ boxShadow: '0px 0px 12px #F9F9F9',
34
+ display: 'flex',
35
+ flexDirection: 'row',
36
+ gap: '10px',
37
+ borderRadius: '4px'
38
+ });
39
+ const dragHandle = document.createElement('img');
40
+ dragHandle.src = this.dragIcon;
41
+ dragHandle.alt = 'drag';
42
+ ghost.appendChild(dragHandle);
43
+ const ghostText = document.createElement('span');
44
+ Object.assign(ghostText.style, { fontSize: '14px' });
45
+ ghostText.textContent = label;
46
+ ghost.appendChild(ghostText);
47
+ document.body.appendChild(ghost);
48
+ return ghost;
49
+ };
50
+ this.handleDragStart = (event, node, index, parentId) => {
51
+ if (!event.dataTransfer)
52
+ return;
53
+ this.draggedNodeParentId = parentId;
54
+ this.draggedNodeId = node.id;
55
+ const payload = JSON.stringify({ parentId, index, node });
56
+ event.dataTransfer.setData('text/plain', payload);
57
+ const ghostImg = this.createGhostImage(node.title);
58
+ this.dragGhost.el = ghostImg;
59
+ event.dataTransfer.setDragImage(ghostImg, 32, 30);
60
+ };
61
+ this.handleDragEnd = () => {
62
+ // if drag ends on a valid target, handleDragDrop should handle everything
63
+ // if not dropped on a valid target, use this trigger to remove the placeholder
64
+ setTimeout(() => {
65
+ const placeHolderExists = this.findNodeById(this.treeData, this.dragDropPlaceholderId);
66
+ if (placeHolderExists) {
67
+ const placeHolderRemovedList = this.updateDragDropPlaceholder(this.treeData);
68
+ this.treeData = [...placeHolderRemovedList];
69
+ }
70
+ }, 300);
71
+ };
72
+ this.handleDragDrop = (event, node, parentId) => {
73
+ var _a;
74
+ event.preventDefault();
75
+ const nodeData = (_a = event.dataTransfer) === null || _a === void 0 ? void 0 : _a.getData('text/plain');
76
+ if (!nodeData)
77
+ return;
78
+ const { parentId: sourceParentId, node: sourceNode } = JSON.parse(nodeData);
79
+ // Prevent dropping on itself or different parents
80
+ if (node.id === sourceNode.id || sourceParentId !== parentId)
81
+ return;
82
+ const updatedTree = [...this.treeData];
83
+ // Find the parent node
84
+ const parent = parentId ? this.findNodeById(updatedTree, parentId) : null;
85
+ // If no parent (root level), work with treeData directly
86
+ const children = (parent === null || parent === void 0 ? void 0 : parent.child) ? [...parent.child] : [...updatedTree];
87
+ if (!children || children.length === 0)
88
+ return;
89
+ // move the node to wherever the placeholder now is
90
+ const movedElement = sourceNode;
91
+ const newChildren = [];
92
+ for (const child of children) {
93
+ if (child.id == movedElement.id)
94
+ continue; // will be inserted in placeholder position
95
+ if (child.id == this.dragDropPlaceholderId) {
96
+ // moved element added to new list in placeholder's place
97
+ newChildren.push(movedElement);
98
+ continue;
99
+ }
100
+ newChildren.push(child); // retain existing elements
101
+ }
102
+ // Update the tree
103
+ if (parent) {
104
+ parent.child = newChildren;
105
+ }
106
+ else {
107
+ this.treeData = newChildren;
108
+ }
109
+ this.draggedNodeParentId = undefined;
110
+ this.draggedNodeId = undefined;
111
+ if (this.dragGhost.el) {
112
+ this.dragGhost.el.remove();
113
+ this.dragGhost.el = null;
114
+ }
115
+ this.handleDragDropSuccessBackground(movedElement.id);
116
+ this.treeData = [...this.updateDragDropPlaceholder(this.treeData)];
117
+ this.moveNode.emit(this.treeData);
118
+ };
119
+ this.handleDragOver = (event, draggedOverId, parentId, isDragDropPlaceholder) => {
120
+ event.preventDefault();
121
+ if (!event.dataTransfer)
122
+ return;
123
+ const validDrag = this.draggedNodeParentId === parentId || isDragDropPlaceholder;
124
+ event.dataTransfer.dropEffect = validDrag ? 'move' : 'none';
125
+ if (validDrag && !isDragDropPlaceholder) {
126
+ this.treeData = [...this.updateDragDropPlaceholder(this.treeData, draggedOverId)];
127
+ }
128
+ };
129
+ this.updateDragDropPlaceholder = (treeData, createPlaceholderOnId) => {
130
+ const newTreeData = [];
131
+ for (const treeViewItem of treeData) {
132
+ // delete existing placeholders & create a new one if this is where it should be dropped
133
+ if (treeViewItem.isDragDropPlaceholder)
134
+ continue;
135
+ if (treeViewItem.id == createPlaceholderOnId) {
136
+ newTreeData.push({
137
+ id: this.dragDropPlaceholderId,
138
+ title: 'Drop here',
139
+ isDragDropPlaceholder: true
140
+ });
141
+ }
142
+ if (treeViewItem.child) {
143
+ const children = this.updateDragDropPlaceholder(treeViewItem.child, createPlaceholderOnId);
144
+ treeViewItem.child = children;
145
+ }
146
+ newTreeData.push(treeViewItem);
147
+ }
148
+ return newTreeData;
149
+ };
150
+ this.data = undefined;
151
+ this.treeData = undefined;
152
+ this.nodesRecentlyMoved = [];
153
+ }
154
+ componentWillRender() {
155
+ if (!this.data)
156
+ return;
157
+ this.treeData = typeof this.data === 'string' ? JSON.parse(this.data) : this.data;
158
+ if (!this.dragIcon) {
159
+ this.dragIcon = index.getAssetPath('assets/img/drag-icon.svg');
160
+ }
161
+ }
162
+ onClickHandler(event, node) {
163
+ event.stopPropagation();
164
+ // Handle selection: if node is already selected, deselect it; otherwise select it and deselect all others
165
+ if (node.selectable) {
166
+ if (node.selected) {
167
+ // Toggle off: deselect this node
168
+ node.selected = false;
169
+ }
170
+ else {
171
+ // Toggle on: deselect all others and select this one
172
+ this.handleNodeSelection(node);
173
+ // node.selected is already set to true in handleNodeSelection
174
+ }
175
+ this.treeData = [...this.treeData];
176
+ }
177
+ this.clickEvent.emit(node);
178
+ }
179
+ toggleNode(node, event) {
180
+ event.stopPropagation();
181
+ node.isOpen = !node.isOpen;
182
+ this.treeData = [...this.treeData];
183
+ this.expandNode.emit({ node: node, treeViewData: this.treeData });
184
+ }
185
+ handleCheckboxChange(node, event) {
186
+ event.stopPropagation();
187
+ node.checked = !node.checked;
188
+ this.updateChildrenCheckStatus(node);
189
+ this.updateParentCheckStatus();
190
+ this.treeData = [...this.treeData];
191
+ this.checkboxChange.emit(this.treeData);
192
+ }
193
+ updateChildrenCheckStatus(node) {
194
+ if (node.child) {
195
+ node.child.forEach(childNode => {
196
+ if (childNode.hasCheckbox && childNode.checked !== undefined) {
197
+ // don't set checked on a child that doesn't have a checkbox
198
+ // makes it impossible to unselect a parent as child can never be unchecked in frontend
199
+ childNode.checked = node.checked;
200
+ }
201
+ this.updateChildrenCheckStatus(childNode);
202
+ });
203
+ }
204
+ }
205
+ /**
206
+ * Update the checkbox status of parent nodes when children have been updated.
207
+ * Called recursively to traverse the tree for parents.
208
+ * First call with no params to automatically start at the top of the tree.
209
+ *
210
+ * Any children checked -> parent is checked.
211
+ *
212
+ * All children unchecked -> parent is unchecked.
213
+ */
214
+ updateParentCheckStatus(parent = undefined, children = undefined) {
215
+ if (parent === undefined) {
216
+ this.treeData.forEach(node => this.updateParentCheckStatus(node, node.child));
217
+ return;
218
+ }
219
+ let childrenCheckedStatuses = [];
220
+ // set status relative to children if we have some
221
+ if (children && children.length > 0) {
222
+ childrenCheckedStatuses = children.map(node => this.updateParentCheckStatus(node, node.child)).flat(1);
223
+ // parent checked if any children are checked
224
+ if (childrenCheckedStatuses.some(checked => checked)) {
225
+ parent.checked = true;
226
+ }
227
+ // parent unchecked if all children are unchecked
228
+ if (childrenCheckedStatuses.every(checked => !checked)) {
229
+ parent.checked = false;
230
+ }
231
+ }
232
+ // return the gathered checked statuses so nodes above can make check choices
233
+ return [...childrenCheckedStatuses, parent.checked];
234
+ }
235
+ treeConfigs(node) {
236
+ let checkboxIcon, checkboxColor;
237
+ if (node.checked) {
238
+ checkboxIcon = 'check_box';
239
+ checkboxColor = 'blue';
240
+ }
241
+ else {
242
+ checkboxIcon = 'check_box_outline_blank';
243
+ checkboxColor = 'grey';
244
+ }
245
+ const rowHoverActive = node.hasHover ? 'rowHover' : '';
246
+ const expanderIcon = node.isOpen ? 'arrow_drop_down' : 'arrow_right';
247
+ const selectedActive = node.selectable && node.selected ? 'rowSelected' : '';
248
+ const dragDropPlaceholder = node.isDragDropPlaceholder ? 'drag_drop_placeholder' : '';
249
+ return { checkboxColor, checkboxIcon, rowHoverActive, expanderIcon, selectedActive, dragDropPlaceholder };
250
+ }
251
+ findNodeById(nodes, id) {
252
+ for (const node of nodes) {
253
+ if (node.id === id)
254
+ return node;
255
+ if (node.child) {
256
+ const found = this.findNodeById(node.child, id);
257
+ if (found)
258
+ return found;
259
+ }
260
+ }
261
+ return undefined;
262
+ }
263
+ deselectAllNodes(nodes) {
264
+ for (const node of nodes) {
265
+ if (node.selectable) {
266
+ node.selected = false;
267
+ }
268
+ if (node.child) {
269
+ this.deselectAllNodes(node.child);
270
+ }
271
+ }
272
+ }
273
+ handleNodeSelection(node) {
274
+ // Deselect all nodes first
275
+ this.deselectAllNodes(this.treeData);
276
+ // Select only the clicked node if it's selectable
277
+ if (node.selectable) {
278
+ node.selected = true;
279
+ }
280
+ // Update the tree to trigger re-render
281
+ this.treeData = [...this.treeData];
282
+ }
283
+ handleDragDropSuccessBackground(nodeId) {
284
+ this.nodesRecentlyMoved.push(nodeId);
285
+ setTimeout((nodeId) => {
286
+ this.nodesRecentlyMoved = [...this.nodesRecentlyMoved.filter((id) => id !== nodeId)];
287
+ }, 300, nodeId);
288
+ }
289
+ doesNodePrecedeDragDropPlaceholder(node, index, parentId = undefined) {
290
+ var _a;
291
+ if (node.child) {
292
+ // is parent, so first child would have to be placeholder
293
+ return node.child.length > 0 && node.child[0].isDragDropPlaceholder;
294
+ }
295
+ // child, so check if following element is placeholder
296
+ const parentNode = parentId ? this.findNodeById(this.treeData, parentId) : undefined;
297
+ if (parentNode) {
298
+ return index !== parentNode.child.length && ((_a = parentNode.child[index + 1]) === null || _a === void 0 ? void 0 : _a.isDragDropPlaceholder);
299
+ }
300
+ return false;
301
+ }
302
+ renderNode(node, index$1, parentId = undefined, level = 0 // <-- depth
303
+ ) {
304
+ const options = this.treeConfigs(node);
305
+ const precedesDragDropPlaceholderClass = this.doesNodePrecedeDragDropPlaceholder(node, index$1, parentId) ? 'precedes_drag_drop' : '';
306
+ if (node.child) {
307
+ // group node
308
+ const isSelectedGroup = !!node.selected;
309
+ return (index.h("li", { class: `${isSelectedGroup ? 'selected-group' : ''}`, style: { '--level': String(level) } }, index.h("li", Object.assign({ id: node.id, "data-id": node.id }, (node.draggable || node.isDragDropPlaceholder ? { onDragOver: event => this.handleDragOver(event, node.id, parentId, node.isDragDropPlaceholder) } : {}), (node.draggable || node.isDragDropPlaceholder ? { onDrop: event => this.handleDragDrop(event, node, parentId) } : {}), { class: `inline-tree-item element-row tree-node ${options.rowHoverActive} ${options.selectedActive} ${options.dragDropPlaceholder} ${precedesDragDropPlaceholderClass}`, onClick: event => {
310
+ if (node.hasHover) {
311
+ this.onClickHandler(event, node);
312
+ }
313
+ } }), index.h("tttx-button_1_9_101", { class: "toggleNode", design: "borderless-circle", notext: true, icon: options.expanderIcon, color: "black", onClick: event => this.toggleNode(node, event) }), this.htmlcode('treeNode', node, options.checkboxIcon, options.checkboxColor, index$1, parentId)), node.isOpen ? (index.h("ul", null, node.child.map((childNode, childIndex) => {
314
+ // next level = level + 1
315
+ return this.renderNode(childNode, childIndex, node.id, level + 1);
316
+ }))) : null));
317
+ }
318
+ // leaf (activity)
319
+ const leafStyle = { '--level': String(level) };
320
+ if (this.nodesRecentlyMoved.find((x) => x == node.id)) {
321
+ leafStyle['background-color'] = '#D1F7F0'; //'rgba(51, 170, 51, .1)';
322
+ }
323
+ return (index.h("li", Object.assign({ "data-id": node.id }, (node.draggable || node.isDragDropPlaceholder ? { onDragOver: event => this.handleDragOver(event, node.id, parentId, node.isDragDropPlaceholder) } : {}), (node.draggable || node.isDragDropPlaceholder ? { onDrop: event => this.handleDragDrop(event, node, parentId) } : {}), { class: `
324
+ inline-tree-item element-row
325
+ ${options.rowHoverActive}
326
+ ${options.selectedActive}
327
+ ${options.dragDropPlaceholder}
328
+ ${precedesDragDropPlaceholderClass}
329
+ drag_drop_success_fade
330
+ ${this.draggedNodeId == node.id ? ' is-being-dragged' : ''}
331
+ `, style: leafStyle, onClick: event => {
332
+ if (node.hasHover) {
333
+ this.onClickHandler(event, node);
334
+ }
335
+ } }), this.htmlcode('treeLeaf', node, options.checkboxIcon, options.checkboxColor, index$1, parentId)));
336
+ }
337
+ htmlcode(type, node, check_box, check_boxColor, index$1, parentId = undefined) {
338
+ if (node.isDragDropPlaceholder) {
339
+ return (index.h("div", { class: "inline-tree-item element" }, index.h("div", { class: 'drag-drop-placeholder-row' }, index.h("div", { class: 'placeholder-text' }, node.title))));
340
+ }
341
+ return (index.h("div", { class: "inline-tree-item element" }, node.draggable && (index.h("div", { class: "drag-handle-container" }, index.h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: node.draggable, onDragStart: event => {
342
+ if (node.draggable) {
343
+ this.handleDragStart(event, node, index$1, parentId);
344
+ }
345
+ }, onDragEnd: () => {
346
+ if (node.draggable) {
347
+ this.handleDragEnd();
348
+ }
349
+ } }))), node.hasCheckbox && (index.h("tttx-button_1_9_101", { design: "borderless-circle", notext: true, icon: check_box, iconcolor: check_boxColor, class: "padding-icon checkbox", onClick: event => this.handleCheckboxChange(node, event) })), !node.html && node.hasIcon && (index.h("tttx-icon_1_9_101", { icon: node.icon, color: node.iconColor, class: "padding-icon" })), !node.html && index.h("div", { class: type }, node.title), node.html && index.h("div", { class: type, innerHTML: domsanitiser_options.purify.sanitize(node.html, domsanitiser_options.domSanitiserOptions) })));
350
+ }
351
+ render() {
352
+ if (!this.data)
353
+ return;
354
+ return (index.h("div", { ref: (element) => this.rootElement = element, class: "tree-view-element" }, index.h("ul", null, this.treeData.map((node, index) => this.renderNode(node, index)))));
355
+ }
356
+ get el() { return index.getElement(this); }
357
+ };
358
+ TttxTreeView.style = tttxTreeViewCss;
359
+
360
+ exports.tttx_tree_view_1_9_101 = TttxTreeView;
@@ -17,7 +17,7 @@ const patchBrowser = () => {
17
17
  };
18
18
 
19
19
  patchBrowser().then(options => {
20
- return index.bootstrapLazy(JSON.parse("[[\"tttx-data-pattern_1_9_99.cjs\",[[1,\"tttx-data-pattern_1_9_99\",{\"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_99.cjs\",[[1,\"tttx-form_1_9_99\",{\"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_99.cjs\",[[1,\"tttx-multiselect-box_1_9_99\",{\"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_99.cjs\",[[1,\"tttx-chart_1_9_99\",{\"chartType\":[1,\"chart-type\"],\"chartData\":[16],\"chartOptions\":[16],\"loading\":[4],\"error\":[4],\"fallbackText\":[1,\"fallback-text\"],\"width\":[1],\"height\":[1],\"isYAxisPercentageValues\":[4,\"is-y-axis-percentage-values\"],\"showActiveSegmentLabel\":[4,\"show-active-segment-label\"],\"initialActiveIndex\":[2,\"initial-active-index\"],\"activeSegmentChangeCallback\":[16],\"exportable\":[32],\"chartInstance\":[32],\"showPngSvgExport\":[32],\"selectedSegmentIndex\":[32],\"hoverSegmentIndex\":[32]}]]],[\"tttx-datacard_1_9_99.cjs\",[[1,\"tttx-datacard_1_9_99\",{\"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_99.cjs\",[[1,\"tttx-dialog-box_1_9_99\",{\"data\":[1025],\"size\":[1],\"open\":[1028],\"allowOverflow\":[4,\"allow-overflow\"],\"elementSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-dialog_1_9_99.cjs\",[[1,\"tttx-dialog_1_9_99\",{\"header\":[1],\"type\":[1],\"size\":[1],\"open\":[4],\"allowOverflow\":[4,\"allow-overflow\"],\"closeEnabled\":[4,\"close-enabled\"],\"elementSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-table_1_9_99.cjs\",[[1,\"tttx-table_1_9_99\",{\"headers\":[16],\"data\":[16],\"selectable\":[4],\"loading\":[4],\"draggableHeaders\":[4,\"draggable-headers\"],\"rowsPerPage\":[2,\"rows-per-page\"],\"totalRecords\":[2,\"total-records\"],\"selected\":[2],\"page\":[2],\"currentPage\":[32],\"draggedHeaderIndex\":[32]}]]],[\"tttx-tree-view_1_9_99.cjs\",[[1,\"tttx-tree-view_1_9_99\",{\"data\":[1040],\"treeData\":[32]}]]],[\"tttx-action-dropdown_1_9_99.cjs\",[[1,\"tttx-action-dropdown_1_9_99\",{\"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_99.cjs\",[[0,\"tttx-checkbox_1_9_99\",{\"checkboxId\":[1,\"checkbox-id\"],\"label\":[1],\"inline\":[4],\"indeterminate\":[4],\"checked\":[4]}]]],[\"tttx-comments_1_9_99.cjs\",[[1,\"tttx-comments_1_9_99\",{\"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_99.cjs\",[[1,\"tttx-expander_1_9_99\",{\"name\":[1],\"open\":[4],\"lefticon\":[1],\"lefticoncolor\":[1],\"isExpanded\":[32]}]]],[\"tttx-tabs_1_9_99.cjs\",[[2,\"tttx-tabs_1_9_99\",{\"tabsName\":[1,\"tabs-name\"],\"navigation\":[4],\"wide\":[4],\"tabs\":[1],\"_tabs\":[32]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"tttx-tag-v2_1_9_99.cjs\",[[1,\"tttx-tag-v2_1_9_99\",{\"text\":[1],\"color\":[1],\"textColor\":[1,\"text-color\"],\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"iconSize\":[2,\"icon-size\"],\"state\":[1],\"size\":[1],\"variant\":[1],\"hasStartIcon\":[4,\"has-start-icon\"],\"hasEndIcon\":[4,\"has-end-icon\"]}]]],[\"tttx-checkbox-group-caption_1_9_99.cjs\",[[4,\"tttx-checkbox-group-caption_1_9_99\"]]],[\"tttx-checkbox-group-heading_1_9_99.cjs\",[[4,\"tttx-checkbox-group-heading_1_9_99\"]]],[\"tttx-checkbox-group_1_9_99.cjs\",[[1,\"tttx-checkbox-group_1_9_99\"]]],[\"tttx-keyvalue-block_1_9_99.cjs\",[[1,\"tttx-keyvalue-block_1_9_99\",{\"keyvalues\":[1],\"horizontal\":[4],\"spacedout\":[4],\"_elements\":[32]}]]],[\"tttx-percentage-bar_1_9_99.cjs\",[[2,\"tttx-percentage-bar_1_9_99\",{\"percentage\":[8],\"thresholds\":[1],\"color\":[1],\"min\":[1],\"labelid\":[1],\"_percentage\":[32],\"_ranges\":[32],\"_min\":[32]}]]],[\"tttx-qrcode_1_9_99.cjs\",[[1,\"tttx-qrcode_1_9_99\",{\"link\":[1025],\"size\":[1026]}]]],[\"tttx-range-slider_1_9_99.cjs\",[[1,\"tttx-range-slider_1_9_99\",{\"minimum\":[2],\"maximum\":[2],\"sliderMode\":[1,\"slider-mode\"],\"showFields\":[4,\"show-fields\"],\"lowerValue\":[32],\"upperValue\":[32]},[[0,\"setSliderValues\",\"onSetSliderValues\"]]]]],[\"tttx-skeleton_loader_1_9_99.cjs\",[[1,\"tttx-skeleton_loader_1_9_99\",{\"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-textarea_1_9_99.cjs\",[[2,\"tttx-textarea_1_9_99\",{\"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_99.cjs\",[[1,\"tttx-toggle_1_9_99\",{\"initialstate\":[8],\"_state\":[32]}]]],[\"tttx-tooltip_1_9_99.cjs\",[[1,\"tttx-tooltip_1_9_99\",{\"text\":[1],\"placement\":[1],\"trigger\":[16],\"delay\":[2],\"disabled\":[4],\"ariaLabel\":[1,\"aria-label\"],\"showShadow\":[4,\"show-shadow\"],\"showOnlyOnOverflow\":[4,\"show-only-on-overflow\"],\"visible\":[32],\"tooltipStyles\":[32]}]]],[\"tttx-icon_1_9_99.cjs\",[[1,\"tttx-icon_1_9_99\",{\"icon\":[1],\"color\":[1],\"size\":[1026]}]]],[\"tttx-loading-spinner_1_9_99_3.cjs\",[[1,\"tttx-tag_1_9_99\",{\"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_99\",{\"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_99\",{\"loadingMessage\":[4,\"loading-message\"],\"size\":[1],\"color\":[1],\"cardBackgroundColor\":[1,\"card-background-color\"],\"message\":[1],\"customMessageSchema\":[16],\"timeElapsed\":[32]}]]],[\"tttx-select-box_1_9_99.cjs\",[[1,\"tttx-select-box_1_9_99\",{\"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-button-v2_1_9_99.cjs\",[[1,\"tttx-button-v2_1_9_99\",{\"notext\":[4],\"icon\":[1],\"label\":[1],\"iconcolor\":[1025],\"iconposition\":[1],\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"design\":[1],\"disabled\":[516],\"type\":[1],\"href\":[1],\"options\":[1],\"size\":[1],\"dropdownOpen\":[32],\"dropdownDirection\":[32]},[[4,\"click\",\"handleClickOutside\"]]]]],[\"tttx-graph_1_9_99.cjs\",[[1,\"tttx-graph_1_9_99\",{\"chartType\":[1,\"chart-type\"],\"chartData\":[1,\"chart-data\"],\"chartText\":[1,\"chart-text\"],\"chartConfig\":[32],\"formattedData\":[32]}]]],[\"tttx-filter_1_9_99_4.cjs\",[[1,\"tttx-filter_1_9_99\",{\"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_99\",{\"data\":[1025],\"name\":[1],\"_data\":[32]}],[1,\"tttx-sorter_1_9_99\",{\"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_99\",{\"border\":[4],\"viewSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-button_1_9_99.cjs\",[[1,\"tttx-button_1_9_99\",{\"notext\":[4],\"icon\":[1],\"iconposition\":[1],\"iconcolor\":[1025],\"design\":[1]}]]]]"), options);
20
+ return index.bootstrapLazy(JSON.parse("[[\"tttx-data-pattern_1_9_101.cjs\",[[1,\"tttx-data-pattern_1_9_101\",{\"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_101.cjs\",[[1,\"tttx-form_1_9_101\",{\"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_101.cjs\",[[1,\"tttx-multiselect-box_1_9_101\",{\"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_101.cjs\",[[1,\"tttx-chart_1_9_101\",{\"chartType\":[1,\"chart-type\"],\"chartData\":[16],\"chartOptions\":[16],\"loading\":[4],\"error\":[4],\"fallbackText\":[1,\"fallback-text\"],\"width\":[1],\"height\":[1],\"isYAxisPercentageValues\":[4,\"is-y-axis-percentage-values\"],\"showActiveSegmentLabel\":[4,\"show-active-segment-label\"],\"initialActiveIndex\":[2,\"initial-active-index\"],\"activeSegmentChangeCallback\":[16],\"exportable\":[32],\"chartInstance\":[32],\"showPngSvgExport\":[32],\"selectedSegmentIndex\":[32],\"hoverSegmentIndex\":[32]}]]],[\"tttx-datacard_1_9_101.cjs\",[[1,\"tttx-datacard_1_9_101\",{\"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_101.cjs\",[[1,\"tttx-dialog-box_1_9_101\",{\"data\":[1025],\"size\":[1],\"open\":[1028],\"allowOverflow\":[4,\"allow-overflow\"],\"elementSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-dialog_1_9_101.cjs\",[[1,\"tttx-dialog_1_9_101\",{\"header\":[1],\"type\":[1],\"size\":[1],\"open\":[4],\"allowOverflow\":[4,\"allow-overflow\"],\"closeEnabled\":[4,\"close-enabled\"],\"elementSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-table_1_9_101.cjs\",[[1,\"tttx-table_1_9_101\",{\"headers\":[16],\"data\":[16],\"selectable\":[4],\"loading\":[4],\"draggableHeaders\":[4,\"draggable-headers\"],\"rowsPerPage\":[2,\"rows-per-page\"],\"totalRecords\":[2,\"total-records\"],\"selected\":[2],\"page\":[2],\"currentPage\":[32],\"draggedHeaderIndex\":[32]}]]],[\"tttx-tree-view_1_9_101.cjs\",[[1,\"tttx-tree-view_1_9_101\",{\"data\":[1040],\"treeData\":[32],\"nodesRecentlyMoved\":[32]}]]],[\"tttx-action-dropdown_1_9_101.cjs\",[[1,\"tttx-action-dropdown_1_9_101\",{\"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_101.cjs\",[[0,\"tttx-checkbox_1_9_101\",{\"checkboxId\":[1,\"checkbox-id\"],\"label\":[1],\"inline\":[4],\"indeterminate\":[4],\"checked\":[4]}]]],[\"tttx-comments_1_9_101.cjs\",[[1,\"tttx-comments_1_9_101\",{\"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_101.cjs\",[[1,\"tttx-expander_1_9_101\",{\"name\":[1],\"open\":[4],\"lefticon\":[1],\"lefticoncolor\":[1],\"isExpanded\":[32]}]]],[\"tttx-tabs_1_9_101.cjs\",[[2,\"tttx-tabs_1_9_101\",{\"tabsName\":[1,\"tabs-name\"],\"navigation\":[4],\"wide\":[4],\"tabs\":[1],\"_tabs\":[32]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"tttx-tag-v2_1_9_101.cjs\",[[1,\"tttx-tag-v2_1_9_101\",{\"text\":[1],\"color\":[1],\"textColor\":[1,\"text-color\"],\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"iconSize\":[2,\"icon-size\"],\"state\":[1],\"size\":[1],\"variant\":[1],\"hasStartIcon\":[4,\"has-start-icon\"],\"hasEndIcon\":[4,\"has-end-icon\"]}]]],[\"tttx-checkbox-group-caption_1_9_101.cjs\",[[4,\"tttx-checkbox-group-caption_1_9_101\"]]],[\"tttx-checkbox-group-heading_1_9_101.cjs\",[[4,\"tttx-checkbox-group-heading_1_9_101\"]]],[\"tttx-checkbox-group_1_9_101.cjs\",[[1,\"tttx-checkbox-group_1_9_101\"]]],[\"tttx-keyvalue-block_1_9_101.cjs\",[[1,\"tttx-keyvalue-block_1_9_101\",{\"keyvalues\":[1],\"horizontal\":[4],\"spacedout\":[4],\"_elements\":[32]}]]],[\"tttx-percentage-bar_1_9_101.cjs\",[[2,\"tttx-percentage-bar_1_9_101\",{\"percentage\":[8],\"thresholds\":[1],\"color\":[1],\"min\":[1],\"labelid\":[1],\"_percentage\":[32],\"_ranges\":[32],\"_min\":[32]}]]],[\"tttx-qrcode_1_9_101.cjs\",[[1,\"tttx-qrcode_1_9_101\",{\"link\":[1025],\"size\":[1026]}]]],[\"tttx-range-slider_1_9_101.cjs\",[[1,\"tttx-range-slider_1_9_101\",{\"minimum\":[2],\"maximum\":[2],\"sliderMode\":[1,\"slider-mode\"],\"showFields\":[4,\"show-fields\"],\"lowerValue\":[32],\"upperValue\":[32]},[[0,\"setSliderValues\",\"onSetSliderValues\"]]]]],[\"tttx-skeleton_loader_1_9_101.cjs\",[[1,\"tttx-skeleton_loader_1_9_101\",{\"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-textarea_1_9_101.cjs\",[[2,\"tttx-textarea_1_9_101\",{\"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_101.cjs\",[[1,\"tttx-toggle_1_9_101\",{\"initialstate\":[8],\"_state\":[32]}]]],[\"tttx-tooltip_1_9_101.cjs\",[[1,\"tttx-tooltip_1_9_101\",{\"text\":[1],\"placement\":[1],\"trigger\":[16],\"delay\":[2],\"disabled\":[4],\"ariaLabel\":[1,\"aria-label\"],\"showShadow\":[4,\"show-shadow\"],\"showOnlyOnOverflow\":[4,\"show-only-on-overflow\"],\"visible\":[32],\"tooltipStyles\":[32]}]]],[\"tttx-icon_1_9_101.cjs\",[[1,\"tttx-icon_1_9_101\",{\"icon\":[1],\"color\":[1],\"size\":[1026]}]]],[\"tttx-loading-spinner_1_9_101_3.cjs\",[[1,\"tttx-tag_1_9_101\",{\"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_101\",{\"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_101\",{\"loadingMessage\":[4,\"loading-message\"],\"size\":[1],\"color\":[1],\"cardBackgroundColor\":[1,\"card-background-color\"],\"message\":[1],\"customMessageSchema\":[16],\"timeElapsed\":[32]}]]],[\"tttx-select-box_1_9_101.cjs\",[[1,\"tttx-select-box_1_9_101\",{\"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-button-v2_1_9_101.cjs\",[[1,\"tttx-button-v2_1_9_101\",{\"notext\":[4],\"icon\":[1],\"label\":[1],\"iconcolor\":[1025],\"iconposition\":[1],\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"design\":[1],\"disabled\":[516],\"type\":[1],\"href\":[1],\"options\":[1],\"size\":[1],\"dropdownOpen\":[32],\"dropdownDirection\":[32]},[[4,\"click\",\"handleClickOutside\"]]]]],[\"tttx-graph_1_9_101.cjs\",[[1,\"tttx-graph_1_9_101\",{\"chartType\":[1,\"chart-type\"],\"chartData\":[1,\"chart-data\"],\"chartText\":[1,\"chart-text\"],\"chartConfig\":[32],\"formattedData\":[32]}]]],[\"tttx-filter_1_9_101_4.cjs\",[[1,\"tttx-filter_1_9_101\",{\"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_101\",{\"data\":[1025],\"name\":[1],\"_data\":[32]}],[1,\"tttx-sorter_1_9_101\",{\"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_101\",{\"border\":[4],\"viewSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-button_1_9_101.cjs\",[[1,\"tttx-button_1_9_101\",{\"notext\":[4],\"icon\":[1],\"iconposition\":[1],\"iconcolor\":[1025],\"design\":[1]}]]]]"), options);
21
21
  });
22
22
 
23
23
  exports.setNonce = index.setNonce;
@@ -20,9 +20,9 @@ export class TttxButton {
20
20
  }
21
21
  render() {
22
22
  this._iconcolor = this.iconcolor;
23
- return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_99", { icon: this.icon, color: this._iconcolor }))), !this.notext && (h("div", { class: "button-content" }, h("slot", null))), this.icon && this.iconposition === 'right' && (h("div", { class: "icon-right" }, h("tttx-icon_1_9_99", { icon: this.icon, color: this._iconcolor }))))));
23
+ return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_101", { icon: this.icon, color: this._iconcolor }))), !this.notext && (h("div", { class: "button-content" }, h("slot", null))), this.icon && this.iconposition === 'right' && (h("div", { class: "icon-right" }, h("tttx-icon_1_9_101", { icon: this.icon, color: this._iconcolor }))))));
24
24
  }
25
- static get is() { return "tttx-button_1_9_99"; }
25
+ static get is() { return "tttx-button_1_9_101"; }
26
26
  static get encapsulation() { return "shadow"; }
27
27
  static get originalStyleUrls() {
28
28
  return {
@@ -4,85 +4,85 @@ export default {
4
4
  };
5
5
  const PrimaryButtons = () => `
6
6
  <h2>Standard</h2>
7
- <tttx-button_1_9_99 design="primary">Primary</tttx-button_1_9_99>
7
+ <tttx-button_1_9_101 design="primary">Primary</tttx-button_1_9_101>
8
8
  <hr />
9
9
  <h2>Icon Right</h2>
10
- <tttx-button_1_9_99 design="primary" icon="chevron_right" iconposition="right">Primary</tttx-button_1_9_99>
10
+ <tttx-button_1_9_101 design="primary" icon="chevron_right" iconposition="right">Primary</tttx-button_1_9_101>
11
11
  <hr />
12
12
  <h2>Icon Left</h2>
13
- <tttx-button_1_9_99 design="primary" icon="add">Primary</tttx-button_1_9_99>
13
+ <tttx-button_1_9_101 design="primary" icon="add">Primary</tttx-button_1_9_101>
14
14
  <hr />
15
15
  <h2>Icon Only</h2>
16
- <tttx-button_1_9_99 design="primary" icon="more_vert" notext></tttx-button_1_9_99>
16
+ <tttx-button_1_9_101 design="primary" icon="more_vert" notext></tttx-button_1_9_101>
17
17
  `;
18
18
  export const Primary = PrimaryButtons.bind({});
19
19
  const DefaultButtons = () => `
20
20
  <h2>Standard</h2>
21
- <tttx-button_1_9_99>Default</tttx-button_1_9_99>
21
+ <tttx-button_1_9_101>Default</tttx-button_1_9_101>
22
22
  <hr />
23
23
  <h2>Icon Right</h2>
24
- <tttx-button_1_9_99 icon="chevron_right" iconposition="right">Default</tttx-button_1_9_99>
24
+ <tttx-button_1_9_101 icon="chevron_right" iconposition="right">Default</tttx-button_1_9_101>
25
25
  <hr />
26
26
  <h2>Icon Left</h2>
27
- <tttx-button_1_9_99 icon="edit">Default</tttx-button_1_9_99>
27
+ <tttx-button_1_9_101 icon="edit">Default</tttx-button_1_9_101>
28
28
  <hr />
29
29
  <h2>Icon Only</h2>
30
- <tttx-button_1_9_99 icon="more_vert" notext></tttx-button_1_9_99>
30
+ <tttx-button_1_9_101 icon="more_vert" notext></tttx-button_1_9_101>
31
31
  `;
32
32
  export const Default = DefaultButtons.bind({});
33
33
  const BorderlessButtons = () => `
34
34
  <h2>Standard</h2>
35
- <tttx-button_1_9_99 design="borderless">Borderless</tttx-button_1_9_99>
35
+ <tttx-button_1_9_101 design="borderless">Borderless</tttx-button_1_9_101>
36
36
  <hr />
37
37
  <h2>Icon Right</h2>
38
- <tttx-button_1_9_99 design="borderless" icon="chevron_right" iconposition="right">Borderless</tttx-button_1_9_99>
38
+ <tttx-button_1_9_101 design="borderless" icon="chevron_right" iconposition="right">Borderless</tttx-button_1_9_101>
39
39
  <hr />
40
40
  <h2>Icon Left</h2>
41
- <tttx-button_1_9_99 design="borderless" icon="edit">Borderless</tttx-button_1_9_99>
41
+ <tttx-button_1_9_101 design="borderless" icon="edit">Borderless</tttx-button_1_9_101>
42
42
  <hr />
43
43
  <h2>Icon Only</h2>
44
- <tttx-button_1_9_99 design="borderless" icon="more_vert" notext></tttx-button_1_9_99>
44
+ <tttx-button_1_9_101 design="borderless" icon="more_vert" notext></tttx-button_1_9_101>
45
45
  `;
46
46
  export const Borderless = BorderlessButtons.bind({});
47
47
  const DangerButtons = () => `
48
48
  <h2>Standard</h2>
49
- <tttx-button_1_9_99 design="danger">Danger</tttx-button_1_9_99>
49
+ <tttx-button_1_9_101 design="danger">Danger</tttx-button_1_9_101>
50
50
  <hr />
51
51
  <h2>Icon Right</h2>
52
- <tttx-button_1_9_99 design="danger" icon="chevron_right" iconposition="right">Danger</tttx-button_1_9_99>
52
+ <tttx-button_1_9_101 design="danger" icon="chevron_right" iconposition="right">Danger</tttx-button_1_9_101>
53
53
  <hr />
54
54
  <h2>Icon Left</h2>
55
- <tttx-button_1_9_99 design="danger" icon="delete">Danger</tttx-button_1_9_99>
55
+ <tttx-button_1_9_101 design="danger" icon="delete">Danger</tttx-button_1_9_101>
56
56
  <hr />
57
57
  <h2>Icon Only</h2>
58
- <tttx-button_1_9_99 design="danger" icon="more_vert" notext></tttx-button_1_9_99>
58
+ <tttx-button_1_9_101 design="danger" icon="more_vert" notext></tttx-button_1_9_101>
59
59
  `;
60
60
  export const Danger = DangerButtons.bind({});
61
61
  const DisabledButtons = () => `
62
62
  <h2>Standard</h2>
63
- <tttx-button_1_9_99 design="disabled">Disabled</tttx-button_1_9_99>
63
+ <tttx-button_1_9_101 design="disabled">Disabled</tttx-button_1_9_101>
64
64
  <hr />
65
65
  <h2>Icon Right</h2>
66
- <tttx-button_1_9_99 design="disabled" icon="chevron_right" iconposition="right">Disabled</tttx-button_1_9_99>
66
+ <tttx-button_1_9_101 design="disabled" icon="chevron_right" iconposition="right">Disabled</tttx-button_1_9_101>
67
67
  <hr />
68
68
  <h2>Icon Left</h2>
69
- <tttx-button_1_9_99 design="disabled" icon="edit">Disabled</tttx-button_1_9_99>
69
+ <tttx-button_1_9_101 design="disabled" icon="edit">Disabled</tttx-button_1_9_101>
70
70
  <hr />
71
71
  <h2>Icon Only</h2>
72
- <tttx-button_1_9_99 design="disabled" icon="more_vert" notext></tttx-button_1_9_99>
72
+ <tttx-button_1_9_101 design="disabled" icon="more_vert" notext></tttx-button_1_9_101>
73
73
  `;
74
74
  export const Disabled = DisabledButtons.bind({});
75
75
  const BlackoutButtons = () => `
76
76
  <h2>Standard</h2>
77
- <tttx-button_1_9_99 design="blackout">Blackout</tttx-button_1_9_99>
77
+ <tttx-button_1_9_101 design="blackout">Blackout</tttx-button_1_9_101>
78
78
  <hr />
79
79
  <h2>Icon Right</h2>
80
- <tttx-button_1_9_99 design="blackout" icon="chevron_right" iconposition="right">Blackout</tttx-button_1_9_99>
80
+ <tttx-button_1_9_101 design="blackout" icon="chevron_right" iconposition="right">Blackout</tttx-button_1_9_101>
81
81
  <hr />
82
82
  <h2>Icon Left</h2>
83
- <tttx-button_1_9_99 design="blackout" icon="edit">Blackout</tttx-button_1_9_99>
83
+ <tttx-button_1_9_101 design="blackout" icon="edit">Blackout</tttx-button_1_9_101>
84
84
  <hr />
85
85
  <h2>Icon Only</h2>
86
- <tttx-button_1_9_99 design="blackout" icon="more_vert" notext></tttx-button_1_9_99>
86
+ <tttx-button_1_9_101 design="blackout" icon="more_vert" notext></tttx-button_1_9_101>
87
87
  `;
88
88
  export const Blackout = BlackoutButtons.bind({});
@@ -266,7 +266,7 @@ button.notext .button-content {
266
266
  }
267
267
 
268
268
  tttx-icon,
269
- tttx-icon_1_9_99 {
269
+ tttx-icon_1_9_101 {
270
270
  cursor: inherit;
271
271
  display: inline-flex;
272
272
  vertical-align: middle;
@@ -117,13 +117,13 @@ export class TttxButton {
117
117
  }
118
118
  renderButtonContent() {
119
119
  var _a;
120
- return (h("div", { class: "button-content" }, this.iconStart && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_99", { icon: this.iconStart, color: this.iconcolor, size: this.iconSize }))), !this.notext && (h("div", { class: "label-text" }, h("span", null, (_a = this.label) !== null && _a !== void 0 ? _a : h("slot", null)))), this.iconEnd && (h("div", { class: "icon-right" }, h("tttx-icon_1_9_99", { icon: this.iconEnd, color: this.iconcolor, size: this.iconSize }))), this.type === 'dropdown' && (h("div", { class: "dropdown-arrow" }, h("tttx-icon_1_9_99", { icon: "keyboard_arrow_down", color: this.iconcolor, size: this.iconSize })))));
120
+ return (h("div", { class: "button-content" }, this.iconStart && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_101", { icon: this.iconStart, color: this.iconcolor, size: this.iconSize }))), !this.notext && (h("div", { class: "label-text" }, h("span", null, (_a = this.label) !== null && _a !== void 0 ? _a : h("slot", null)))), this.iconEnd && (h("div", { class: "icon-right" }, h("tttx-icon_1_9_101", { icon: this.iconEnd, color: this.iconcolor, size: this.iconSize }))), this.type === 'dropdown' && (h("div", { class: "dropdown-arrow" }, h("tttx-icon_1_9_101", { icon: "keyboard_arrow_down", color: this.iconcolor, size: this.iconSize })))));
121
121
  }
122
122
  renderDropdownList() {
123
123
  if (this.type !== 'dropdown' || !this.dropdownOpen)
124
124
  return null;
125
125
  const dropdownClasses = `dropdown-list dropdown-${this.dropdownDirection}`;
126
- return (h("ul", { class: dropdownClasses, role: "listbox" }, this.parsedOptions.map((item, index) => (h("li", { class: "dropdown-option", role: "option", tabindex: 0, key: index, onClick: () => this.handleDropdownItemClick(index) }, h("div", { class: "dropdown-item-content" }, item.icon && (h("tttx-icon_1_9_99", { icon: item.icon, color: "black", size: this.iconSize, class: "dropdown-item-icon" })), h("span", { class: "dropdown-item-label" }, item.label)))))));
126
+ return (h("ul", { class: dropdownClasses, role: "listbox" }, this.parsedOptions.map((item, index) => (h("li", { class: "dropdown-option", role: "option", tabindex: 0, key: index, onClick: () => this.handleDropdownItemClick(index) }, h("div", { class: "dropdown-item-content" }, item.icon && (h("tttx-icon_1_9_101", { icon: item.icon, color: "black", size: this.iconSize, class: "dropdown-item-icon" })), h("span", { class: "dropdown-item-label" }, item.label)))))));
127
127
  }
128
128
  render() {
129
129
  const classes = [
@@ -139,7 +139,7 @@ export class TttxButton {
139
139
  .join(' ');
140
140
  return (h(Host, null, h("div", { class: "button-wrapper" }, h("button", { class: classes, disabled: this.isDisabled, onClick: this.type === 'dropdown' ? this.toggleDropdown : undefined, "aria-haspopup": this.type === 'dropdown' ? 'listbox' : undefined, "aria-expanded": this.type === 'dropdown' ? String(this.dropdownOpen) : undefined }, this.renderButtonContent()), this.renderDropdownList())));
141
141
  }
142
- static get is() { return "tttx-button-v2_1_9_99"; }
142
+ static get is() { return "tttx-button-v2_1_9_101"; }
143
143
  static get encapsulation() { return "shadow"; }
144
144
  static get originalStyleUrls() {
145
145
  return {