@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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3t-transform/threeteeui",
3
- "version": "1.9.99",
3
+ "version": "1.9.101",
4
4
  "description": "3t Design System",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,30 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-2c07dc57.js');
6
-
7
- const tttxDataPatternCss = ":host{display:block}";
8
-
9
- const TttxDataPattern = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.data = undefined;
13
- this.sorterOptions = undefined;
14
- this.filterOptions = undefined;
15
- this.filterHeader = 'Filter';
16
- this.defaultSortOption = 'Sort by';
17
- this.searchplaceholder = 'Search';
18
- this.addbuttonlabel = 'Add';
19
- this.addbutton = false;
20
- }
21
- render() {
22
- return (index.h(index.Host, null, index.h("div", { class: "container" }, index.h("tttx-toolbar_1_9_99", { border: true }, index.h("span", { slot: "before" }, this.sorterOptions &&
23
- index.h("tttx-sorter_1_9_99", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
24
- index.h("tttx-filter_1_9_99", { "filter-options": JSON.stringify(this.filterOptions), showSelectAll: false, "show-option-icons": true, "filter-header": this.filterHeader, "filter-key": "data-pattern-list" })), index.h("span", { slot: "after" }, index.h("tttx-standalone-input_1_9_99", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), index.h("tttx-toolbar_1_9_99", { border: false }, index.h("span", { slot: "before" }, this.addbutton &&
25
- index.h("tttx-button_1_9_99", { design: "primary", icon: "add" }, this.addbuttonlabel))), index.h("tttx-list_1_9_99", { data: this.data }))));
26
- }
27
- };
28
- TttxDataPattern.style = tttxDataPatternCss;
29
-
30
- exports.tttx_data_pattern_1_9_99 = TttxDataPattern;
@@ -1,256 +0,0 @@
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}.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){cursor:pointer}.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.element-row{min-height:36px;font-family:\"Roboto\", serif;font-size:16px;padding:8px 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}.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;cursor:not-allowed;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.createGhostImage = (label) => {
22
- const ghost = document.createElement('div');
23
- ghost.textContent = label;
24
- Object.assign(ghost.style, {
25
- position: 'absolute',
26
- top: '-9999px',
27
- left: '-9999px',
28
- padding: '6px 20px',
29
- background: 'white',
30
- border: '1px solid #ccc',
31
- fontSize: '14px',
32
- pointerEvents: 'none',
33
- });
34
- document.body.appendChild(ghost);
35
- setTimeout(() => document.body.removeChild(ghost), 0);
36
- return ghost;
37
- };
38
- this.handleDragStart = (event, node, index, parentId) => {
39
- if (!event.dataTransfer)
40
- return;
41
- this.draggedNodeParentId = parentId;
42
- const payload = JSON.stringify({ parentId, index, node });
43
- event.dataTransfer.setData('text/plain', payload);
44
- const ghostImg = this.createGhostImage(node.title);
45
- this.dragGhost.el = ghostImg;
46
- event.dataTransfer.setDragImage(ghostImg, 0, 0);
47
- };
48
- this.handleDragDrop = (event, node, targetIndex, parentId) => {
49
- var _a;
50
- event.preventDefault();
51
- const nodeData = (_a = event.dataTransfer) === null || _a === void 0 ? void 0 : _a.getData('text/plain');
52
- if (!nodeData)
53
- return;
54
- const { parentId: sourceParentId, index: sourceParentIndex, node: sourceNode } = JSON.parse(nodeData);
55
- // Prevent dropping on itself or different parents
56
- if (node.id === sourceNode.id || sourceParentId !== parentId)
57
- return;
58
- const updatedTree = [...this.treeData];
59
- // Find the parent node
60
- const parent = parentId ? this.findNodeById(updatedTree, parentId) : null;
61
- // If no parent (root level), work with treeData directly
62
- const children = (parent === null || parent === void 0 ? void 0 : parent.child) ? [...parent.child] : [...updatedTree];
63
- if (!children || children.length === 0)
64
- return;
65
- // Move the node
66
- const [moved] = children.splice(sourceParentIndex, 1);
67
- children.splice(targetIndex, 0, moved);
68
- // Update the tree
69
- if (parent) {
70
- parent.child = children;
71
- }
72
- else {
73
- this.treeData = children;
74
- }
75
- this.draggedNodeParentId = undefined;
76
- if (this.dragGhost.el) {
77
- this.dragGhost.el.remove();
78
- this.dragGhost.el = null;
79
- }
80
- this.moveNode.emit(this.treeData);
81
- };
82
- this.handleDragOver = (event, parentId) => {
83
- event.preventDefault();
84
- if (!event.dataTransfer)
85
- return;
86
- const validDrag = this.draggedNodeParentId === parentId;
87
- event.dataTransfer.dropEffect = validDrag ? 'move' : 'none';
88
- };
89
- this.data = undefined;
90
- this.treeData = undefined;
91
- }
92
- componentWillRender() {
93
- if (!this.data)
94
- return;
95
- this.treeData = typeof this.data === 'string' ? JSON.parse(this.data) : this.data;
96
- if (!this.dragIcon) {
97
- this.dragIcon = index.getAssetPath('assets/img/drag-icon.svg');
98
- }
99
- }
100
- onClickHandler(event, node) {
101
- event.stopPropagation();
102
- // Handle selection: if node is already selected, deselect it; otherwise select it and deselect all others
103
- if (node.selectable) {
104
- if (node.selected) {
105
- // Toggle off: deselect this node
106
- node.selected = false;
107
- }
108
- else {
109
- // Toggle on: deselect all others and select this one
110
- this.handleNodeSelection(node);
111
- // node.selected is already set to true in handleNodeSelection
112
- }
113
- this.treeData = [...this.treeData];
114
- }
115
- this.clickEvent.emit(node);
116
- }
117
- toggleNode(node, event) {
118
- event.stopPropagation();
119
- node.isOpen = !node.isOpen;
120
- this.treeData = [...this.treeData];
121
- this.expandNode.emit({ node: node, treeViewData: this.treeData });
122
- }
123
- handleCheckboxChange(node, event) {
124
- event.stopPropagation();
125
- node.checked = !node.checked;
126
- this.updateChildrenCheckStatus(node);
127
- this.updateParentCheckStatus();
128
- this.treeData = [...this.treeData];
129
- this.checkboxChange.emit(this.treeData);
130
- }
131
- updateChildrenCheckStatus(node) {
132
- if (node.child) {
133
- node.child.forEach(childNode => {
134
- if (childNode.hasCheckbox && childNode.checked !== undefined) {
135
- // don't set checked on a child that doesn't have a checkbox
136
- // makes it impossible to unselect a parent as child can never be unchecked in frontend
137
- childNode.checked = node.checked;
138
- }
139
- this.updateChildrenCheckStatus(childNode);
140
- });
141
- }
142
- }
143
- /**
144
- * Update the checkbox status of parent nodes when children have been updated.
145
- * Called recursively to traverse the tree for parents.
146
- * First call with no params to automatically start at the top of the tree.
147
- *
148
- * Any children checked -> parent is checked.
149
- *
150
- * All children unchecked -> parent is unchecked.
151
- */
152
- updateParentCheckStatus(parent = undefined, children = undefined) {
153
- if (parent === undefined) {
154
- this.treeData.forEach(node => this.updateParentCheckStatus(node, node.child));
155
- return;
156
- }
157
- let childrenCheckedStatuses = [];
158
- // set status relative to children if we have some
159
- if (children && children.length > 0) {
160
- childrenCheckedStatuses = children.map(node => this.updateParentCheckStatus(node, node.child)).flat(1);
161
- // parent checked if any children are checked
162
- if (childrenCheckedStatuses.some(checked => checked)) {
163
- parent.checked = true;
164
- }
165
- // parent unchecked if all children are unchecked
166
- if (childrenCheckedStatuses.every(checked => !checked)) {
167
- parent.checked = false;
168
- }
169
- }
170
- // return the gathered checked statuses so nodes above can make check choices
171
- return [...childrenCheckedStatuses, parent.checked];
172
- }
173
- treeConfigs(node) {
174
- let checkboxIcon, checkboxColor;
175
- if (node.checked) {
176
- checkboxIcon = 'check_box';
177
- checkboxColor = 'blue';
178
- }
179
- else {
180
- checkboxIcon = 'check_box_outline_blank';
181
- checkboxColor = 'grey';
182
- }
183
- const rowHoverActive = node.hasHover ? 'rowHover' : '';
184
- const expanderIcon = node.isOpen ? 'arrow_drop_down' : 'arrow_right';
185
- const selectedActive = node.selectable && node.selected ? 'rowSelected' : '';
186
- return { checkboxColor, checkboxIcon, rowHoverActive, expanderIcon, selectedActive };
187
- }
188
- findNodeById(nodes, id) {
189
- for (const node of nodes) {
190
- if (node.id === id)
191
- return node;
192
- if (node.child) {
193
- const found = this.findNodeById(node.child, id);
194
- if (found)
195
- return found;
196
- }
197
- }
198
- return undefined;
199
- }
200
- deselectAllNodes(nodes) {
201
- for (const node of nodes) {
202
- if (node.selectable) {
203
- node.selected = false;
204
- }
205
- if (node.child) {
206
- this.deselectAllNodes(node.child);
207
- }
208
- }
209
- }
210
- handleNodeSelection(node) {
211
- // Deselect all nodes first
212
- this.deselectAllNodes(this.treeData);
213
- // Select only the clicked node if it's selectable
214
- if (node.selectable) {
215
- node.selected = true;
216
- }
217
- // Update the tree to trigger re-render
218
- this.treeData = [...this.treeData];
219
- }
220
- renderNode(node, index$1, parentId = undefined, level = 0 // <-- depth
221
- ) {
222
- var _a, _b;
223
- const options = this.treeConfigs(node);
224
- if (node.child) {
225
- // group node
226
- const isSelectedGroup = !!node.selected;
227
- return (index.h("li", { class: `${isSelectedGroup ? 'selected-group' : ''}`, style: { '--level': String(level) } }, index.h("li", Object.assign({ "data-id": node.id, draggable: (_a = node.draggable) !== null && _a !== void 0 ? _a : false }, (node.draggable ? { onDragOver: event => this.handleDragOver(event, parentId) } : {}), (node.draggable ? { onDrop: event => this.handleDragDrop(event, node, index$1, parentId) } : {}), { class: `inline-tree-item element-row tree-node ${options.rowHoverActive} ${options.selectedActive}`, onClick: event => {
228
- if (node.hasHover) {
229
- this.onClickHandler(event, node);
230
- }
231
- } }), index.h("tttx-button_1_9_99", { 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) => {
232
- // next level = level + 1
233
- return this.renderNode(childNode, childIndex, node.id, level + 1);
234
- }))) : null));
235
- }
236
- // leaf (activity)
237
- return (index.h("li", Object.assign({ "data-id": node.id, draggable: (_b = node.draggable) !== null && _b !== void 0 ? _b : false }, (node.draggable ? { onDragOver: event => this.handleDragOver(event, parentId) } : {}), (node.draggable ? { onDrop: event => this.handleDragDrop(event, node, index$1, parentId) } : {}), { class: `inline-tree-item element-row ${options.rowHoverActive} ${options.selectedActive}`, style: { '--level': String(level) }, onClick: event => {
238
- if (node.hasHover) {
239
- this.onClickHandler(event, node);
240
- }
241
- } }), this.htmlcode('treeLeaf', node, options.checkboxIcon, options.checkboxColor, index$1, parentId)));
242
- }
243
- htmlcode(type, node, check_box, check_boxColor, index$1, parentId = undefined) {
244
- const htmlcode = (index.h("div", { class: "inline-tree-item element" }, node.draggable && (index.h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: true, onDragStart: event => this.handleDragStart(event, node, index$1, parentId) })), node.hasCheckbox && (index.h("tttx-button_1_9_99", { 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_99", { 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) })));
245
- return htmlcode;
246
- }
247
- render() {
248
- if (!this.data)
249
- return;
250
- return (index.h("div", { class: "tree-view-element" }, index.h("ul", null, this.treeData.map((node, index) => this.renderNode(node, index)))));
251
- }
252
- get el() { return index.getElement(this); }
253
- };
254
- TttxTreeView.style = tttxTreeViewCss;
255
-
256
- exports.tttx_tree_view_1_9_99 = TttxTreeView;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxActionDropdown_1_9_99 extends Components.TttxActionDropdown_1_9_99, HTMLElement {}
4
- export const TttxActionDropdown_1_9_99: {
5
- prototype: TttxActionDropdown_1_9_99;
6
- new (): TttxActionDropdown_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxCheckboxGroupCaption_1_9_99 extends Components.TttxCheckboxGroupCaption_1_9_99, HTMLElement {}
4
- export const TttxCheckboxGroupCaption_1_9_99: {
5
- prototype: TttxCheckboxGroupCaption_1_9_99;
6
- new (): TttxCheckboxGroupCaption_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxCheckboxGroupHeading_1_9_99 extends Components.TttxCheckboxGroupHeading_1_9_99, HTMLElement {}
4
- export const TttxCheckboxGroupHeading_1_9_99: {
5
- prototype: TttxCheckboxGroupHeading_1_9_99;
6
- new (): TttxCheckboxGroupHeading_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxCheckboxGroup_1_9_99 extends Components.TttxCheckboxGroup_1_9_99, HTMLElement {}
4
- export const TttxCheckboxGroup_1_9_99: {
5
- prototype: TttxCheckboxGroup_1_9_99;
6
- new (): TttxCheckboxGroup_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxComments_1_9_99 extends Components.TttxComments_1_9_99, HTMLElement {}
4
- export const TttxComments_1_9_99: {
5
- prototype: TttxComments_1_9_99;
6
- new (): TttxComments_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxDataPattern_1_9_99 extends Components.TttxDataPattern_1_9_99, HTMLElement {}
4
- export const TttxDataPattern_1_9_99: {
5
- prototype: TttxDataPattern_1_9_99;
6
- new (): TttxDataPattern_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxDatacard_1_9_99 extends Components.TttxDatacard_1_9_99, HTMLElement {}
4
- export const TttxDatacard_1_9_99: {
5
- prototype: TttxDatacard_1_9_99;
6
- new (): TttxDatacard_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxDialogBox_1_9_99 extends Components.TttxDialogBox_1_9_99, HTMLElement {}
4
- export const TttxDialogBox_1_9_99: {
5
- prototype: TttxDialogBox_1_9_99;
6
- new (): TttxDialogBox_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxExpander_1_9_99 extends Components.TttxExpander_1_9_99, HTMLElement {}
4
- export const TttxExpander_1_9_99: {
5
- prototype: TttxExpander_1_9_99;
6
- new (): TttxExpander_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxIcon_1_9_99 extends Components.TttxIcon_1_9_99, HTMLElement {}
4
- export const TttxIcon_1_9_99: {
5
- prototype: TttxIcon_1_9_99;
6
- new (): TttxIcon_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxKeyvalueBlock_1_9_99 extends Components.TttxKeyvalueBlock_1_9_99, HTMLElement {}
4
- export const TttxKeyvalueBlock_1_9_99: {
5
- prototype: TttxKeyvalueBlock_1_9_99;
6
- new (): TttxKeyvalueBlock_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxList_1_9_99 extends Components.TttxList_1_9_99, HTMLElement {}
4
- export const TttxList_1_9_99: {
5
- prototype: TttxList_1_9_99;
6
- new (): TttxList_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxLoadingSpinner_1_9_99 extends Components.TttxLoadingSpinner_1_9_99, HTMLElement {}
4
- export const TttxLoadingSpinner_1_9_99: {
5
- prototype: TttxLoadingSpinner_1_9_99;
6
- new (): TttxLoadingSpinner_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxMultiselectBox_1_9_99 extends Components.TttxMultiselectBox_1_9_99, HTMLElement {}
4
- export const TttxMultiselectBox_1_9_99: {
5
- prototype: TttxMultiselectBox_1_9_99;
6
- new (): TttxMultiselectBox_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxPercentageBar_1_9_99 extends Components.TttxPercentageBar_1_9_99, HTMLElement {}
4
- export const TttxPercentageBar_1_9_99: {
5
- prototype: TttxPercentageBar_1_9_99;
6
- new (): TttxPercentageBar_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxRangeSlider_1_9_99 extends Components.TttxRangeSlider_1_9_99, HTMLElement {}
4
- export const TttxRangeSlider_1_9_99: {
5
- prototype: TttxRangeSlider_1_9_99;
6
- new (): TttxRangeSlider_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxSelectBox_1_9_99 extends Components.TttxSelectBox_1_9_99, HTMLElement {}
4
- export const TttxSelectBox_1_9_99: {
5
- prototype: TttxSelectBox_1_9_99;
6
- new (): TttxSelectBox_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxSkeleton_loader_1_9_99 extends Components.TttxSkeleton_loader_1_9_99, HTMLElement {}
4
- export const TttxSkeleton_loader_1_9_99: {
5
- prototype: TttxSkeleton_loader_1_9_99;
6
- new (): TttxSkeleton_loader_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxSorter_1_9_99 extends Components.TttxSorter_1_9_99, HTMLElement {}
4
- export const TttxSorter_1_9_99: {
5
- prototype: TttxSorter_1_9_99;
6
- new (): TttxSorter_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxTabs_1_9_99 extends Components.TttxTabs_1_9_99, HTMLElement {}
4
- export const TttxTabs_1_9_99: {
5
- prototype: TttxTabs_1_9_99;
6
- new (): TttxTabs_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxTag_1_9_99 extends Components.TttxTag_1_9_99, HTMLElement {}
4
- export const TttxTag_1_9_99: {
5
- prototype: TttxTag_1_9_99;
6
- new (): TttxTag_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxTextarea_1_9_99 extends Components.TttxTextarea_1_9_99, HTMLElement {}
4
- export const TttxTextarea_1_9_99: {
5
- prototype: TttxTextarea_1_9_99;
6
- new (): TttxTextarea_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxToggle_1_9_99 extends Components.TttxToggle_1_9_99, HTMLElement {}
4
- export const TttxToggle_1_9_99: {
5
- prototype: TttxToggle_1_9_99;
6
- new (): TttxToggle_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxToolbar_1_9_99 extends Components.TttxToolbar_1_9_99, HTMLElement {}
4
- export const TttxToolbar_1_9_99: {
5
- prototype: TttxToolbar_1_9_99;
6
- new (): TttxToolbar_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxTooltip_1_9_99 extends Components.TttxTooltip_1_9_99, HTMLElement {}
4
- export const TttxTooltip_1_9_99: {
5
- prototype: TttxTooltip_1_9_99;
6
- new (): TttxTooltip_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxTreeView_1_9_99 extends Components.TttxTreeView_1_9_99, HTMLElement {}
4
- export const TttxTreeView_1_9_99: {
5
- prototype: TttxTreeView_1_9_99;
6
- new (): TttxTreeView_1_9_99;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;