@3t-transform/threeteeui 1.9.71 → 1.9.73

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 (312) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/{tttx-action-dropdown_1_9_71.cjs.entry.js → tttx-action-dropdown_1_9_73.cjs.entry.js} +2 -2
  3. package/dist/cjs/{tttx-button-v2_1_9_71.cjs.entry.js → tttx-button-v2_1_9_73.cjs.entry.js} +4 -4
  4. package/dist/cjs/{tttx-button_1_9_71.cjs.entry.js → tttx-button_1_9_73.cjs.entry.js} +2 -2
  5. package/dist/cjs/{tttx-chart_1_9_71.cjs.entry.js → tttx-chart_1_9_73.cjs.entry.js} +3 -3
  6. package/dist/cjs/{tttx-checkbox-group-caption_1_9_71.cjs.entry.js → tttx-checkbox-group-caption_1_9_73.cjs.entry.js} +1 -1
  7. package/dist/cjs/{tttx-checkbox-group-heading_1_9_71.cjs.entry.js → tttx-checkbox-group-heading_1_9_73.cjs.entry.js} +1 -1
  8. package/dist/cjs/{tttx-checkbox-group_1_9_71.cjs.entry.js → tttx-checkbox-group_1_9_73.cjs.entry.js} +1 -1
  9. package/dist/cjs/{tttx-checkbox_1_9_71.cjs.entry.js → tttx-checkbox_1_9_73.cjs.entry.js} +2 -2
  10. package/dist/cjs/{tttx-comments_1_9_71.cjs.entry.js → tttx-comments_1_9_73.cjs.entry.js} +4 -4
  11. package/dist/cjs/{tttx-data-pattern_1_9_71.cjs.entry.js → tttx-data-pattern_1_9_73.cjs.entry.js} +5 -5
  12. package/dist/cjs/{tttx-datacard_1_9_71.cjs.entry.js → tttx-datacard_1_9_73.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_71.cjs.entry.js → tttx-dialog-box_1_9_73.cjs.entry.js} +3 -3
  15. package/dist/cjs/{tttx-dialog_1_9_71.cjs.entry.js → tttx-dialog_1_9_73.cjs.entry.js} +2 -2
  16. package/dist/cjs/{tttx-expander_1_9_71.cjs.entry.js → tttx-expander_1_9_73.cjs.entry.js} +2 -2
  17. package/dist/cjs/{tttx-filter_1_9_71_4.cjs.entry.js → tttx-filter_1_9_73_4.cjs.entry.js} +9 -9
  18. package/dist/cjs/{tttx-form_1_9_71.cjs.entry.js → tttx-form_1_9_73.cjs.entry.js} +2 -2
  19. package/dist/cjs/{tttx-graph_1_9_71.cjs.entry.js → tttx-graph_1_9_73.cjs.entry.js} +1 -1
  20. package/dist/cjs/{tttx-icon_1_9_71.cjs.entry.js → tttx-icon_1_9_73.cjs.entry.js} +1 -1
  21. package/dist/cjs/{tttx-keyvalue-block_1_9_71.cjs.entry.js → tttx-keyvalue-block_1_9_73.cjs.entry.js} +1 -1
  22. package/dist/cjs/{tttx-loading-spinner_1_9_71_3.cjs.entry.js → tttx-loading-spinner_1_9_73_3.cjs.entry.js} +6 -6
  23. package/dist/cjs/{tttx-multiselect-box_1_9_71.cjs.entry.js → tttx-multiselect-box_1_9_73.cjs.entry.js} +7 -7
  24. package/dist/cjs/{tttx-percentage-bar_1_9_71.cjs.entry.js → tttx-percentage-bar_1_9_73.cjs.entry.js} +2 -2
  25. package/dist/cjs/{tttx-qrcode_1_9_71.cjs.entry.js → tttx-qrcode_1_9_73.cjs.entry.js} +1 -1
  26. package/dist/cjs/{tttx-range-slider_1_9_71.cjs.entry.js → tttx-range-slider_1_9_73.cjs.entry.js} +2 -2
  27. package/dist/cjs/{tttx-select-box_1_9_71.cjs.entry.js → tttx-select-box_1_9_73.cjs.entry.js} +6 -6
  28. package/dist/cjs/{tttx-skeleton_loader_1_9_71.cjs.entry.js → tttx-skeleton_loader_1_9_73.cjs.entry.js} +1 -1
  29. package/dist/cjs/{tttx-table_1_9_71.cjs.entry.js → tttx-table_1_9_73.cjs.entry.js} +1 -1
  30. package/dist/cjs/{tttx-tabs_1_9_71.cjs.entry.js → tttx-tabs_1_9_73.cjs.entry.js} +5 -5
  31. package/dist/cjs/tttx-tag-v2_1_9_73.cjs.entry.js +82 -0
  32. package/dist/cjs/{tttx-textarea_1_9_71.cjs.entry.js → tttx-textarea_1_9_73.cjs.entry.js} +2 -2
  33. package/dist/cjs/{tttx-toggle_1_9_71.cjs.entry.js → tttx-toggle_1_9_73.cjs.entry.js} +1 -1
  34. package/dist/cjs/{tttx-tooltip_1_9_71.cjs.entry.js → tttx-tooltip_1_9_73.cjs.entry.js} +1 -1
  35. package/dist/cjs/tttx-tree-view_1_9_73.cjs.entry.js +221 -0
  36. package/dist/cjs/tttx.cjs.js +1 -1
  37. package/dist/collection/collection-manifest.json +1 -0
  38. package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
  39. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +24 -24
  40. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.css +1 -1
  41. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.js +3 -3
  42. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.stories.js +15 -15
  43. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
  44. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
  45. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.js +4 -4
  46. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +10 -10
  47. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
  48. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
  49. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
  50. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
  51. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +1 -1
  52. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +2 -2
  53. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
  54. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
  55. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
  56. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
  57. package/dist/collection/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader.js +1 -1
  58. package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +2 -2
  59. package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
  60. package/dist/collection/components/atoms/tttx-tag-v2/tttx-tag-v2.css +250 -0
  61. package/dist/collection/components/atoms/tttx-tag-v2/tttx-tag-v2.js +281 -0
  62. package/dist/collection/components/atoms/tttx-tag-v2/tttx-tag-v2.stories.js +84 -0
  63. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
  64. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
  65. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.js +2 -2
  66. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +1 -1
  67. package/dist/collection/components/molecules/tttx-chart/tttx-chart.js +3 -3
  68. package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +4 -4
  69. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
  70. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
  71. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
  72. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
  73. package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +4 -4
  74. package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +4 -4
  75. package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +1 -1
  76. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
  77. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
  78. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
  79. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
  80. package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
  81. package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
  82. package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
  83. package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
  84. package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
  85. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +8 -8
  86. package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
  87. package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
  88. package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
  89. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
  90. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -7
  91. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
  92. package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.js +2 -2
  93. package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.stories.js +3 -3
  94. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +6 -6
  95. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +22 -22
  96. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
  97. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
  98. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
  99. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
  100. package/dist/collection/components/molecules/tttx-table/tttx-table.js +1 -1
  101. package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
  102. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +4 -4
  103. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
  104. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
  105. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
  106. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
  107. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
  108. package/dist/collection/components/molecules/tttx-tooltip/tttx-tooltip.js +1 -1
  109. package/dist/collection/components/molecules/tttx-tooltip/tttx-tootip.stories.js +2 -2
  110. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.css +129 -6
  111. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +33 -19
  112. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +446 -23
  113. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
  114. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
  115. package/dist/components/index.d.ts +38 -37
  116. package/dist/components/index.js +38 -37
  117. package/dist/components/tttx-action-dropdown_1_9_73.d.ts +11 -0
  118. package/dist/components/{tttx-action-dropdown_1_9_71.js → tttx-action-dropdown_1_9_73.js} +7 -7
  119. package/dist/components/{tttx-checkbox_1_9_71.d.ts → tttx-button-v2_1_9_73.d.ts} +4 -4
  120. package/dist/components/{tttx-button-v2_1_9_71.js → tttx-button-v2_1_9_73.js} +9 -9
  121. package/dist/components/tttx-button.js +5 -5
  122. package/dist/components/{tttx-dialog_1_9_71.d.ts → tttx-button_1_9_73.d.ts} +4 -4
  123. package/dist/components/{tttx-button_1_9_71.js → tttx-button_1_9_73.js} +2 -2
  124. package/dist/components/{tttx-table_1_9_71.d.ts → tttx-chart_1_9_73.d.ts} +4 -4
  125. package/dist/components/{tttx-chart_1_9_71.js → tttx-chart_1_9_73.js} +10 -10
  126. package/dist/components/tttx-checkbox-group-caption_1_9_73.d.ts +11 -0
  127. package/dist/components/{tttx-checkbox-group-caption_1_9_71.js → tttx-checkbox-group-caption_1_9_73.js} +5 -5
  128. package/dist/components/tttx-checkbox-group-heading_1_9_73.d.ts +11 -0
  129. package/dist/components/{tttx-checkbox-group-heading_1_9_71.js → tttx-checkbox-group-heading_1_9_73.js} +5 -5
  130. package/dist/components/tttx-checkbox-group_1_9_73.d.ts +11 -0
  131. package/dist/components/{tttx-checkbox-group_1_9_71.js → tttx-checkbox-group_1_9_73.js} +5 -5
  132. package/dist/components/{tttx-button-v2_1_9_71.d.ts → tttx-checkbox_1_9_73.d.ts} +4 -4
  133. package/dist/components/{tttx-checkbox_1_9_71.js → tttx-checkbox_1_9_73.js} +7 -7
  134. package/dist/components/tttx-comments_1_9_73.d.ts +11 -0
  135. package/dist/components/{tttx-comments_1_9_71.js → tttx-comments_1_9_73.js} +9 -9
  136. package/dist/components/tttx-data-pattern_1_9_73.d.ts +11 -0
  137. package/dist/components/{tttx-data-pattern_1_9_71.js → tttx-data-pattern_1_9_73.js} +16 -16
  138. package/dist/components/tttx-datacard_1_9_73.d.ts +11 -0
  139. package/dist/components/{tttx-datacard_1_9_71.js → tttx-datacard_1_9_73.js} +10 -10
  140. package/dist/components/tttx-date-range-picker.js +3 -3
  141. package/dist/components/tttx-dialog-box_1_9_73.d.ts +11 -0
  142. package/dist/components/{tttx-dialog-box_1_9_71.js → tttx-dialog-box_1_9_73.js} +9 -9
  143. package/dist/components/{tttx-filter_1_9_71.d.ts → tttx-dialog_1_9_73.d.ts} +4 -4
  144. package/dist/components/{tttx-dialog_1_9_71.js → tttx-dialog_1_9_73.js} +8 -8
  145. package/dist/components/tttx-expander_1_9_73.d.ts +11 -0
  146. package/dist/components/{tttx-expander_1_9_71.js → tttx-expander_1_9_73.js} +7 -7
  147. package/dist/components/tttx-filter.js +6 -6
  148. package/dist/components/{tttx-button_1_9_71.d.ts → tttx-filter_1_9_73.d.ts} +4 -4
  149. package/dist/components/{tttx-filter_1_9_71.js → tttx-filter_1_9_73.js} +2 -2
  150. package/dist/components/{tttx-form_1_9_71.d.ts → tttx-form_1_9_73.d.ts} +4 -4
  151. package/dist/components/{tttx-form_1_9_71.js → tttx-form_1_9_73.js} +11 -11
  152. package/dist/components/tttx-graph.js +3 -3
  153. package/dist/components/{tttx-graph_1_9_71.d.ts → tttx-graph_1_9_73.d.ts} +4 -4
  154. package/dist/components/{tttx-graph_1_9_71.js → tttx-graph_1_9_73.js} +2 -2
  155. package/dist/components/tttx-icon.js +3 -3
  156. package/dist/components/{tttx-list_1_9_71.d.ts → tttx-icon_1_9_73.d.ts} +4 -4
  157. package/dist/components/{tttx-icon_1_9_71.js → tttx-icon_1_9_73.js} +2 -2
  158. package/dist/components/tttx-keyvalue-block_1_9_73.d.ts +11 -0
  159. package/dist/components/{tttx-keyvalue-block_1_9_71.js → tttx-keyvalue-block_1_9_73.js} +5 -5
  160. package/dist/components/tttx-list.js +6 -6
  161. package/dist/components/{tttx-icon_1_9_71.d.ts → tttx-list_1_9_73.d.ts} +4 -4
  162. package/dist/components/{tttx-list_1_9_71.js → tttx-list_1_9_73.js} +2 -2
  163. package/dist/components/tttx-loading-spinner.js +3 -3
  164. package/dist/components/tttx-loading-spinner_1_9_73.d.ts +11 -0
  165. package/dist/components/{tttx-loading-spinner_1_9_71.js → tttx-loading-spinner_1_9_73.js} +2 -2
  166. package/dist/components/tttx-multiselect-box_1_9_73.d.ts +11 -0
  167. package/dist/components/{tttx-multiselect-box_1_9_71.js → tttx-multiselect-box_1_9_73.js} +16 -16
  168. package/dist/components/tttx-percentage-bar_1_9_73.d.ts +11 -0
  169. package/dist/components/{tttx-percentage-bar_1_9_71.js → tttx-percentage-bar_1_9_73.js} +6 -6
  170. package/dist/components/{tttx-qrcode_1_9_71.d.ts → tttx-qrcode_1_9_73.d.ts} +4 -4
  171. package/dist/components/{tttx-qrcode_1_9_71.js → tttx-qrcode_1_9_73.js} +5 -5
  172. package/dist/components/tttx-range-slider_1_9_73.d.ts +11 -0
  173. package/dist/components/{tttx-range-slider_1_9_71.js → tttx-range-slider_1_9_73.js} +6 -6
  174. package/dist/components/tttx-select-box.js +12 -12
  175. package/dist/components/tttx-select-box_1_9_73.d.ts +11 -0
  176. package/dist/components/{tttx-select-box_1_9_71.js → tttx-select-box_1_9_73.js} +2 -2
  177. package/dist/components/tttx-skeleton_loader_1_9_73.d.ts +11 -0
  178. package/dist/components/{tttx-skeleton_loader_1_9_71.js → tttx-skeleton_loader_1_9_73.js} +5 -5
  179. package/dist/components/tttx-sorter.js +5 -5
  180. package/dist/components/tttx-sorter_1_9_73.d.ts +11 -0
  181. package/dist/components/{tttx-sorter_1_9_71.js → tttx-sorter_1_9_73.js} +2 -2
  182. package/dist/components/tttx-standalone-input.js +6 -6
  183. package/dist/components/tttx-standalone-input_1_9_73.d.ts +11 -0
  184. package/dist/components/{tttx-standalone-input_1_9_71.js → tttx-standalone-input_1_9_73.js} +2 -2
  185. package/dist/components/{tttx-chart_1_9_71.d.ts → tttx-table_1_9_73.d.ts} +4 -4
  186. package/dist/components/{tttx-table_1_9_71.js → tttx-table_1_9_73.js} +5 -5
  187. package/dist/components/{tttx-tabs_1_9_71.d.ts → tttx-tabs_1_9_73.d.ts} +4 -4
  188. package/dist/components/{tttx-tabs_1_9_71.js → tttx-tabs_1_9_73.js} +10 -10
  189. package/dist/components/tttx-tag-v2_1_9_73.d.ts +11 -0
  190. package/dist/components/tttx-tag-v2_1_9_73.js +114 -0
  191. package/dist/components/tttx-tag.js +5 -5
  192. package/dist/components/{tttx-tag_1_9_71.d.ts → tttx-tag_1_9_73.d.ts} +4 -4
  193. package/dist/components/{tttx-tag_1_9_71.js → tttx-tag_1_9_73.js} +2 -2
  194. package/dist/components/tttx-textarea_1_9_73.d.ts +11 -0
  195. package/dist/components/{tttx-textarea_1_9_71.js → tttx-textarea_1_9_73.js} +6 -6
  196. package/dist/components/tttx-toggle_1_9_73.d.ts +11 -0
  197. package/dist/components/{tttx-toggle_1_9_71.js → tttx-toggle_1_9_73.js} +5 -5
  198. package/dist/components/tttx-toolbar.js +3 -3
  199. package/dist/components/tttx-toolbar_1_9_73.d.ts +11 -0
  200. package/dist/components/{tttx-toolbar_1_9_71.js → tttx-toolbar_1_9_73.js} +2 -2
  201. package/dist/components/tttx-tooltip_1_9_73.d.ts +11 -0
  202. package/dist/components/{tttx-tooltip_1_9_71.js → tttx-tooltip_1_9_73.js} +5 -5
  203. package/dist/components/tttx-tree-view_1_9_73.d.ts +11 -0
  204. package/dist/components/tttx-tree-view_1_9_73.js +249 -0
  205. package/dist/esm/loader.js +1 -1
  206. package/dist/esm/{tttx-action-dropdown_1_9_71.entry.js → tttx-action-dropdown_1_9_73.entry.js} +2 -2
  207. package/dist/esm/{tttx-button-v2_1_9_71.entry.js → tttx-button-v2_1_9_73.entry.js} +4 -4
  208. package/dist/esm/{tttx-button_1_9_71.entry.js → tttx-button_1_9_73.entry.js} +2 -2
  209. package/dist/esm/{tttx-chart_1_9_71.entry.js → tttx-chart_1_9_73.entry.js} +3 -3
  210. package/dist/esm/{tttx-checkbox-group-caption_1_9_71.entry.js → tttx-checkbox-group-caption_1_9_73.entry.js} +1 -1
  211. package/dist/esm/{tttx-checkbox-group-heading_1_9_71.entry.js → tttx-checkbox-group-heading_1_9_73.entry.js} +1 -1
  212. package/dist/esm/{tttx-checkbox-group_1_9_71.entry.js → tttx-checkbox-group_1_9_73.entry.js} +1 -1
  213. package/dist/esm/{tttx-checkbox_1_9_71.entry.js → tttx-checkbox_1_9_73.entry.js} +2 -2
  214. package/dist/esm/{tttx-comments_1_9_71.entry.js → tttx-comments_1_9_73.entry.js} +4 -4
  215. package/dist/esm/{tttx-data-pattern_1_9_71.entry.js → tttx-data-pattern_1_9_73.entry.js} +5 -5
  216. package/dist/esm/{tttx-datacard_1_9_71.entry.js → tttx-datacard_1_9_73.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_71.entry.js → tttx-dialog-box_1_9_73.entry.js} +3 -3
  219. package/dist/esm/{tttx-dialog_1_9_71.entry.js → tttx-dialog_1_9_73.entry.js} +2 -2
  220. package/dist/esm/{tttx-expander_1_9_71.entry.js → tttx-expander_1_9_73.entry.js} +2 -2
  221. package/dist/esm/{tttx-filter_1_9_71_4.entry.js → tttx-filter_1_9_73_4.entry.js} +6 -6
  222. package/dist/esm/{tttx-form_1_9_71.entry.js → tttx-form_1_9_73.entry.js} +2 -2
  223. package/dist/esm/{tttx-graph_1_9_71.entry.js → tttx-graph_1_9_73.entry.js} +1 -1
  224. package/dist/esm/{tttx-icon_1_9_71.entry.js → tttx-icon_1_9_73.entry.js} +1 -1
  225. package/dist/esm/{tttx-keyvalue-block_1_9_71.entry.js → tttx-keyvalue-block_1_9_73.entry.js} +1 -1
  226. package/dist/esm/{tttx-loading-spinner_1_9_71_3.entry.js → tttx-loading-spinner_1_9_73_3.entry.js} +4 -4
  227. package/dist/esm/{tttx-multiselect-box_1_9_71.entry.js → tttx-multiselect-box_1_9_73.entry.js} +7 -7
  228. package/dist/esm/{tttx-percentage-bar_1_9_71.entry.js → tttx-percentage-bar_1_9_73.entry.js} +2 -2
  229. package/dist/esm/{tttx-qrcode_1_9_71.entry.js → tttx-qrcode_1_9_73.entry.js} +1 -1
  230. package/dist/esm/{tttx-range-slider_1_9_71.entry.js → tttx-range-slider_1_9_73.entry.js} +2 -2
  231. package/dist/esm/{tttx-select-box_1_9_71.entry.js → tttx-select-box_1_9_73.entry.js} +6 -6
  232. package/dist/esm/{tttx-skeleton_loader_1_9_71.entry.js → tttx-skeleton_loader_1_9_73.entry.js} +1 -1
  233. package/dist/esm/{tttx-table_1_9_71.entry.js → tttx-table_1_9_73.entry.js} +1 -1
  234. package/dist/esm/{tttx-tabs_1_9_71.entry.js → tttx-tabs_1_9_73.entry.js} +5 -5
  235. package/dist/esm/tttx-tag-v2_1_9_73.entry.js +78 -0
  236. package/dist/esm/{tttx-textarea_1_9_71.entry.js → tttx-textarea_1_9_73.entry.js} +2 -2
  237. package/dist/esm/{tttx-toggle_1_9_71.entry.js → tttx-toggle_1_9_73.entry.js} +1 -1
  238. package/dist/esm/{tttx-tooltip_1_9_71.entry.js → tttx-tooltip_1_9_73.entry.js} +1 -1
  239. package/dist/esm/tttx-tree-view_1_9_73.entry.js +217 -0
  240. package/dist/esm/tttx.js +1 -1
  241. package/dist/tttx/p-13272658.entry.js +1 -1
  242. package/dist/tttx/p-1f75b5d3.entry.js +1 -1
  243. package/dist/tttx/p-32cf4137.entry.js +1 -1
  244. package/dist/tttx/p-36edf716.entry.js +1 -1
  245. package/dist/tttx/p-384f7c70.entry.js +1 -0
  246. package/dist/tttx/p-47fadd24.entry.js +1 -1
  247. package/dist/tttx/p-4c63f7da.entry.js +1 -1
  248. package/dist/tttx/p-4ddf7946.entry.js +1 -1
  249. package/dist/tttx/p-5765b7da.entry.js +1 -1
  250. package/dist/tttx/p-59533ed7.entry.js +1 -0
  251. package/dist/tttx/p-5b7c20ff.entry.js +1 -1
  252. package/dist/tttx/p-5e14d6aa.entry.js +1 -1
  253. package/dist/tttx/p-620b18f6.entry.js +1 -1
  254. package/dist/tttx/p-66340f2f.entry.js +1 -1
  255. package/dist/tttx/p-71bb2f21.entry.js +1 -1
  256. package/dist/tttx/p-74a8c484.entry.js +1 -1
  257. package/dist/tttx/p-789defe0.entry.js +1 -1
  258. package/dist/tttx/p-86cdb616.entry.js +1 -1
  259. package/dist/tttx/p-8beccdc9.entry.js +1 -1
  260. package/dist/tttx/p-969a4944.entry.js +1 -1
  261. package/dist/tttx/p-a2979a57.entry.js +1 -1
  262. package/dist/tttx/p-a50d9105.entry.js +1 -1
  263. package/dist/tttx/p-a8526f90.entry.js +1 -1
  264. package/dist/tttx/p-b1a24af0.entry.js +1 -0
  265. package/dist/tttx/p-b2a0053a.entry.js +1 -1
  266. package/dist/tttx/p-b4fe2853.entry.js +1 -1
  267. package/dist/tttx/{p-18fce688.entry.js → p-b69ae246.entry.js} +1 -1
  268. package/dist/tttx/p-b97e0e3c.entry.js +1 -1
  269. package/dist/tttx/p-c33f9022.entry.js +1 -1
  270. package/dist/tttx/p-ca58259a.entry.js +1 -1
  271. package/dist/tttx/p-ee41fe8f.entry.js +1 -1
  272. package/dist/tttx/p-f30833e3.entry.js +1 -1
  273. package/dist/tttx/p-f69b4685.entry.js +1 -1
  274. package/dist/tttx/p-ff7edd81.entry.js +1 -1
  275. package/dist/tttx/tttx.esm.js +1 -1
  276. package/dist/types/components/atoms/tttx-tag-v2/tttx-tag-v2.d.ts +15 -0
  277. package/dist/types/components/atoms/tttx-tag-v2/tttx-tag-v2.stories.d.ts +48 -0
  278. package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
  279. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
  280. package/dist/types/components/molecules/tttx-tabs/interfaces.d.ts +1 -0
  281. package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
  282. package/dist/types/components/molecules/tttx-tree-view/tttx-tree-view.d.ts +1 -1
  283. package/dist/types/components.d.ts +475 -440
  284. package/package.json +2 -2
  285. package/dist/cjs/tttx-tree-view_1_9_71.cjs.entry.js +0 -207
  286. package/dist/components/tttx-action-dropdown_1_9_71.d.ts +0 -11
  287. package/dist/components/tttx-checkbox-group-caption_1_9_71.d.ts +0 -11
  288. package/dist/components/tttx-checkbox-group-heading_1_9_71.d.ts +0 -11
  289. package/dist/components/tttx-checkbox-group_1_9_71.d.ts +0 -11
  290. package/dist/components/tttx-comments_1_9_71.d.ts +0 -11
  291. package/dist/components/tttx-data-pattern_1_9_71.d.ts +0 -11
  292. package/dist/components/tttx-datacard_1_9_71.d.ts +0 -11
  293. package/dist/components/tttx-dialog-box_1_9_71.d.ts +0 -11
  294. package/dist/components/tttx-expander_1_9_71.d.ts +0 -11
  295. package/dist/components/tttx-keyvalue-block_1_9_71.d.ts +0 -11
  296. package/dist/components/tttx-loading-spinner_1_9_71.d.ts +0 -11
  297. package/dist/components/tttx-multiselect-box_1_9_71.d.ts +0 -11
  298. package/dist/components/tttx-percentage-bar_1_9_71.d.ts +0 -11
  299. package/dist/components/tttx-range-slider_1_9_71.d.ts +0 -11
  300. package/dist/components/tttx-select-box_1_9_71.d.ts +0 -11
  301. package/dist/components/tttx-skeleton_loader_1_9_71.d.ts +0 -11
  302. package/dist/components/tttx-sorter_1_9_71.d.ts +0 -11
  303. package/dist/components/tttx-standalone-input_1_9_71.d.ts +0 -11
  304. package/dist/components/tttx-textarea_1_9_71.d.ts +0 -11
  305. package/dist/components/tttx-toggle_1_9_71.d.ts +0 -11
  306. package/dist/components/tttx-toolbar_1_9_71.d.ts +0 -11
  307. package/dist/components/tttx-tooltip_1_9_71.d.ts +0 -11
  308. package/dist/components/tttx-tree-view_1_9_71.d.ts +0 -11
  309. package/dist/components/tttx-tree-view_1_9_71.js +0 -235
  310. package/dist/esm/tttx-tree-view_1_9_71.entry.js +0 -203
  311. package/dist/tttx/p-8392774e.entry.js +0 -1
  312. package/dist/tttx/p-d1ee41dd.entry.js +0 -1
@@ -1,235 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, getAssetPath, h, Fragment } from '@stencil/core/internal/client';
2
- import { p as purify, d as domSanitiserOptions } from './domsanitiser.options.js';
3
- import { d as defineCustomElement$3 } from './tttx-button.js';
4
- import { d as defineCustomElement$2 } from './tttx-icon.js';
5
-
6
- const tttxTreeViewCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tree-view-element>ul{margin:0;padding:0}.tree-view-element>* ul{padding:0 0 0 36px}.tree-view-element ul li{list-style-type:none}.tree-view-element ul li.inline-tree-item{display:flex;align-items:center}.tree-view-element ul li.inline-tree-item .element{display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:center;width:100%;padding-left:8px}.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{cursor:pointer}.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover::before{content:\"\";position:absolute;left:-50%;top:0;bottom:0;right:0;pointer-events:none}.tree-view-element ul li.inline-tree-item.element-row.rowHover:not(.rowSelected):hover::before{background-color:rgba(17, 17, 17, 0.05)}.tree-view-element ul li.inline-tree-item.element-row.rowHover.rowSelected:hover::before{background-color:rgba(17, 17, 17, 0.15)}}.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}.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.rowSelected::before{content:\"\";position:absolute;left:-50%;top:0;bottom:0;right:0;background-color:rgba(17, 17, 17, 0.1);pointer-events:none}.tree-view-element ul li.inline-tree-item.element-row.tree-node::before{background-color:#fafafa;height:51px;z-index:1}.tree-view-element ul li.inline-tree-item.element-row.tree-node *{z-index:2}.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}.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 .drop-not-allowed{border-color:red;border-style:dashed;cursor:not-allowed;opacity:0.7}";
7
-
8
- const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
- constructor() {
10
- super();
11
- this.__registerHost();
12
- this.__attachShadow();
13
- this.clickEvent = createEvent(this, "clickEvent", 7);
14
- this.expandNode = createEvent(this, "expandNode", 7);
15
- this.checkboxChange = createEvent(this, "checkboxChange", 7);
16
- this.moveNode = createEvent(this, "moveNode", 7);
17
- this.dragIcon = getAssetPath('assets/img/drag-icon.svg');
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
- if (node.id === sourceNode.id || sourceParentId !== parentId)
56
- return;
57
- const updatedTree = [...this.treeData];
58
- const parent = this.findNodeById(updatedTree, parentId);
59
- const children = [...parent.child];
60
- const [moved] = children.splice(sourceParentIndex, 1);
61
- children.splice(targetIndex, 0, moved);
62
- parent.child = children;
63
- this.treeData = updatedTree;
64
- this.draggedNodeParentId = undefined;
65
- if (this.dragGhost.el) {
66
- this.dragGhost.el.remove();
67
- this.dragGhost.el = null;
68
- }
69
- this.moveNode.emit(this.treeData);
70
- };
71
- this.handleDragOver = (event, parentId) => {
72
- event.preventDefault();
73
- if (!event.dataTransfer)
74
- return;
75
- const validDrag = this.draggedNodeParentId === parentId;
76
- event.dataTransfer.dropEffect = validDrag ? 'move' : 'none';
77
- };
78
- this.data = undefined;
79
- this.treeData = undefined;
80
- }
81
- componentWillRender() {
82
- if (!this.data)
83
- return;
84
- this.treeData = typeof this.data === 'string' ? JSON.parse(this.data) : this.data;
85
- }
86
- onClickHandler(event, node) {
87
- event.stopPropagation();
88
- this.clickEvent.emit(node);
89
- }
90
- toggleNode(node, event) {
91
- event.stopPropagation();
92
- node.isOpen = !node.isOpen;
93
- this.treeData = [...this.treeData];
94
- this.expandNode.emit({ node: node, treeViewData: this.treeData });
95
- }
96
- handleCheckboxChange(node, event) {
97
- event.stopPropagation();
98
- node.checked = !node.checked;
99
- this.updateChildrenCheckStatus(node);
100
- this.updateParentCheckStatus();
101
- this.treeData = [...this.treeData];
102
- this.checkboxChange.emit(this.treeData);
103
- }
104
- updateChildrenCheckStatus(node) {
105
- if (node.child) {
106
- node.child.forEach(childNode => {
107
- if (childNode.hasCheckbox && childNode.checked !== undefined) {
108
- // don't set checked on a child that doesn't have a checkbox
109
- // makes it impossible to unselect a parent as child can never be unchecked in frontend
110
- childNode.checked = node.checked;
111
- }
112
- this.updateChildrenCheckStatus(childNode);
113
- });
114
- }
115
- }
116
- /**
117
- * Update the checkbox status of parent nodes when children have been updated.
118
- * Called recursively to traverse the tree for parents.
119
- * First call with no params to automatically start at the top of the tree.
120
- *
121
- * Any children checked -> parent is checked.
122
- *
123
- * All children unchecked -> parent is unchecked.
124
- */
125
- updateParentCheckStatus(parent = undefined, children = undefined) {
126
- if (parent === undefined) {
127
- this.treeData.forEach(node => this.updateParentCheckStatus(node, node.child));
128
- return;
129
- }
130
- let childrenCheckedStatuses = [];
131
- // set status relative to children if we have some
132
- if (children && children.length > 0) {
133
- childrenCheckedStatuses = children.map(node => this.updateParentCheckStatus(node, node.child)).flat(1);
134
- // parent checked if any children are checked
135
- if (childrenCheckedStatuses.some(checked => checked)) {
136
- parent.checked = true;
137
- }
138
- // parent unchecked if all children are unchecked
139
- if (childrenCheckedStatuses.every(checked => !checked)) {
140
- parent.checked = false;
141
- }
142
- }
143
- // return the gathered checked statuses so nodes above can make check choices
144
- return [...childrenCheckedStatuses, parent.checked];
145
- }
146
- treeConfigs(node) {
147
- let checkboxIcon, checkboxColor;
148
- if (node.checked) {
149
- checkboxIcon = 'check_box';
150
- checkboxColor = 'blue';
151
- }
152
- else {
153
- checkboxIcon = 'check_box_outline_blank';
154
- checkboxColor = 'grey';
155
- }
156
- const rowHoverActive = node.hasHover ? 'rowHover' : '';
157
- const expanderIcon = node.isOpen ? 'arrow_drop_down' : 'arrow_right';
158
- const selectedActive = node.selectable && node.selected ? 'rowSelected' : '';
159
- return { checkboxColor, checkboxIcon, rowHoverActive, expanderIcon, selectedActive };
160
- }
161
- findNodeById(nodes, id) {
162
- for (const node of nodes) {
163
- if (node.id === id)
164
- return node;
165
- if (node.child) {
166
- const found = this.findNodeById(node.child, id);
167
- if (found)
168
- return found;
169
- }
170
- }
171
- return undefined;
172
- }
173
- renderNode(node, index, parentId = undefined) {
174
- var _a, _b;
175
- const options = this.treeConfigs(node);
176
- if (node.child) {
177
- return (h(Fragment, null, 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, parentId) } : {}), { class: `inline-tree-item element-row tree-node ${options.rowHoverActive} ${options.selectedActive}`, onClick: event => {
178
- if (node.hasHover) {
179
- this.onClickHandler(event, node);
180
- }
181
- } }), h("tttx-button_1_9_71", { 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, parentId)), node.isOpen ? (h("li", null, h("ul", null, node.child.map((childNode, index) => {
182
- return this.renderNode(childNode, index, node.id);
183
- })))) : null));
184
- }
185
- else {
186
- return (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, parentId) } : {}), { class: `inline-tree-item element-row ${options.rowHoverActive} ${options.selectedActive}`, onClick: event => {
187
- if (node.hasHover) {
188
- this.onClickHandler(event, node);
189
- }
190
- } }), this.htmlcode('treeLeaf', node, options.checkboxIcon, options.checkboxColor, index, parentId)));
191
- }
192
- }
193
- htmlcode(type, node, check_box, check_boxColor, index, parentId = undefined) {
194
- const htmlcode = (h("div", { class: "inline-tree-item element" }, node.draggable && (h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: true, onDragStart: event => this.handleDragStart(event, node, index, parentId) })), node.hasCheckbox && (h("tttx-button_1_9_71", { 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 && (h("tttx-icon_1_9_71", { icon: node.icon, color: node.iconColor, class: "padding-icon" })), !node.html && h("div", { class: type }, node.title), node.html && h("div", { class: type, innerHTML: purify.sanitize(node.html, domSanitiserOptions) })));
195
- return htmlcode;
196
- }
197
- render() {
198
- if (!this.data)
199
- return;
200
- return (h("div", { class: "tree-view-element" }, h("ul", null, this.treeData.map((node, index) => this.renderNode(node, index)))));
201
- }
202
- get el() { return this; }
203
- static get style() { return tttxTreeViewCss; }
204
- }, [1, "tttx-tree-view_1_9_71", {
205
- "data": [1040],
206
- "treeData": [32]
207
- }]);
208
- function defineCustomElement$1() {
209
- if (typeof customElements === "undefined") {
210
- return;
211
- }
212
- const components = ["tttx-tree-view_1_9_71", "tttx-button_1_9_71", "tttx-icon_1_9_71"];
213
- components.forEach(tagName => { switch (tagName) {
214
- case "tttx-tree-view_1_9_71":
215
- if (!customElements.get(tagName)) {
216
- customElements.define(tagName, TttxTreeView);
217
- }
218
- break;
219
- case "tttx-button_1_9_71":
220
- if (!customElements.get(tagName)) {
221
- defineCustomElement$3();
222
- }
223
- break;
224
- case "tttx-icon_1_9_71":
225
- if (!customElements.get(tagName)) {
226
- defineCustomElement$2();
227
- }
228
- break;
229
- } });
230
- }
231
-
232
- const TttxTreeView_1_9_71 = TttxTreeView;
233
- const defineCustomElement = defineCustomElement$1;
234
-
235
- export { TttxTreeView_1_9_71, defineCustomElement };
@@ -1,203 +0,0 @@
1
- import { r as registerInstance, c as createEvent, a as getAssetPath, h, F as Fragment, g as getElement } from './index-9f3e16ad.js';
2
- import { p as purify, d as domSanitiserOptions } from './domsanitiser.options-38a67458.js';
3
- import './_commonjsHelpers-9943807e.js';
4
-
5
- const tttxTreeViewCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tree-view-element>ul{margin:0;padding:0}.tree-view-element>* ul{padding:0 0 0 36px}.tree-view-element ul li{list-style-type:none}.tree-view-element ul li.inline-tree-item{display:flex;align-items:center}.tree-view-element ul li.inline-tree-item .element{display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:center;width:100%;padding-left:8px}.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{cursor:pointer}.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover::before{content:\"\";position:absolute;left:-50%;top:0;bottom:0;right:0;pointer-events:none}.tree-view-element ul li.inline-tree-item.element-row.rowHover:not(.rowSelected):hover::before{background-color:rgba(17, 17, 17, 0.05)}.tree-view-element ul li.inline-tree-item.element-row.rowHover.rowSelected:hover::before{background-color:rgba(17, 17, 17, 0.15)}}.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}.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.rowSelected::before{content:\"\";position:absolute;left:-50%;top:0;bottom:0;right:0;background-color:rgba(17, 17, 17, 0.1);pointer-events:none}.tree-view-element ul li.inline-tree-item.element-row.tree-node::before{background-color:#fafafa;height:51px;z-index:1}.tree-view-element ul li.inline-tree-item.element-row.tree-node *{z-index:2}.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}.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 .drop-not-allowed{border-color:red;border-style:dashed;cursor:not-allowed;opacity:0.7}";
6
-
7
- const TttxTreeView = class {
8
- constructor(hostRef) {
9
- registerInstance(this, hostRef);
10
- this.clickEvent = createEvent(this, "clickEvent", 7);
11
- this.expandNode = createEvent(this, "expandNode", 7);
12
- this.checkboxChange = createEvent(this, "checkboxChange", 7);
13
- this.moveNode = createEvent(this, "moveNode", 7);
14
- this.dragIcon = getAssetPath('assets/img/drag-icon.svg');
15
- this.dragGhost = {
16
- el: null,
17
- };
18
- this.createGhostImage = (label) => {
19
- const ghost = document.createElement('div');
20
- ghost.textContent = label;
21
- Object.assign(ghost.style, {
22
- position: 'absolute',
23
- top: '-9999px',
24
- left: '-9999px',
25
- padding: '6px 20px',
26
- background: 'white',
27
- border: '1px solid #ccc',
28
- fontSize: '14px',
29
- pointerEvents: 'none',
30
- });
31
- document.body.appendChild(ghost);
32
- setTimeout(() => document.body.removeChild(ghost), 0);
33
- return ghost;
34
- };
35
- this.handleDragStart = (event, node, index, parentId) => {
36
- if (!event.dataTransfer)
37
- return;
38
- this.draggedNodeParentId = parentId;
39
- const payload = JSON.stringify({ parentId, index, node });
40
- event.dataTransfer.setData('text/plain', payload);
41
- const ghostImg = this.createGhostImage(node.title);
42
- this.dragGhost.el = ghostImg;
43
- event.dataTransfer.setDragImage(ghostImg, 0, 0);
44
- };
45
- this.handleDragDrop = (event, node, targetIndex, parentId) => {
46
- var _a;
47
- event.preventDefault();
48
- const nodeData = (_a = event.dataTransfer) === null || _a === void 0 ? void 0 : _a.getData('text/plain');
49
- if (!nodeData)
50
- return;
51
- const { parentId: sourceParentId, index: sourceParentIndex, node: sourceNode } = JSON.parse(nodeData);
52
- if (node.id === sourceNode.id || sourceParentId !== parentId)
53
- return;
54
- const updatedTree = [...this.treeData];
55
- const parent = this.findNodeById(updatedTree, parentId);
56
- const children = [...parent.child];
57
- const [moved] = children.splice(sourceParentIndex, 1);
58
- children.splice(targetIndex, 0, moved);
59
- parent.child = children;
60
- this.treeData = updatedTree;
61
- this.draggedNodeParentId = undefined;
62
- if (this.dragGhost.el) {
63
- this.dragGhost.el.remove();
64
- this.dragGhost.el = null;
65
- }
66
- this.moveNode.emit(this.treeData);
67
- };
68
- this.handleDragOver = (event, parentId) => {
69
- event.preventDefault();
70
- if (!event.dataTransfer)
71
- return;
72
- const validDrag = this.draggedNodeParentId === parentId;
73
- event.dataTransfer.dropEffect = validDrag ? 'move' : 'none';
74
- };
75
- this.data = undefined;
76
- this.treeData = undefined;
77
- }
78
- componentWillRender() {
79
- if (!this.data)
80
- return;
81
- this.treeData = typeof this.data === 'string' ? JSON.parse(this.data) : this.data;
82
- }
83
- onClickHandler(event, node) {
84
- event.stopPropagation();
85
- this.clickEvent.emit(node);
86
- }
87
- toggleNode(node, event) {
88
- event.stopPropagation();
89
- node.isOpen = !node.isOpen;
90
- this.treeData = [...this.treeData];
91
- this.expandNode.emit({ node: node, treeViewData: this.treeData });
92
- }
93
- handleCheckboxChange(node, event) {
94
- event.stopPropagation();
95
- node.checked = !node.checked;
96
- this.updateChildrenCheckStatus(node);
97
- this.updateParentCheckStatus();
98
- this.treeData = [...this.treeData];
99
- this.checkboxChange.emit(this.treeData);
100
- }
101
- updateChildrenCheckStatus(node) {
102
- if (node.child) {
103
- node.child.forEach(childNode => {
104
- if (childNode.hasCheckbox && childNode.checked !== undefined) {
105
- // don't set checked on a child that doesn't have a checkbox
106
- // makes it impossible to unselect a parent as child can never be unchecked in frontend
107
- childNode.checked = node.checked;
108
- }
109
- this.updateChildrenCheckStatus(childNode);
110
- });
111
- }
112
- }
113
- /**
114
- * Update the checkbox status of parent nodes when children have been updated.
115
- * Called recursively to traverse the tree for parents.
116
- * First call with no params to automatically start at the top of the tree.
117
- *
118
- * Any children checked -> parent is checked.
119
- *
120
- * All children unchecked -> parent is unchecked.
121
- */
122
- updateParentCheckStatus(parent = undefined, children = undefined) {
123
- if (parent === undefined) {
124
- this.treeData.forEach(node => this.updateParentCheckStatus(node, node.child));
125
- return;
126
- }
127
- let childrenCheckedStatuses = [];
128
- // set status relative to children if we have some
129
- if (children && children.length > 0) {
130
- childrenCheckedStatuses = children.map(node => this.updateParentCheckStatus(node, node.child)).flat(1);
131
- // parent checked if any children are checked
132
- if (childrenCheckedStatuses.some(checked => checked)) {
133
- parent.checked = true;
134
- }
135
- // parent unchecked if all children are unchecked
136
- if (childrenCheckedStatuses.every(checked => !checked)) {
137
- parent.checked = false;
138
- }
139
- }
140
- // return the gathered checked statuses so nodes above can make check choices
141
- return [...childrenCheckedStatuses, parent.checked];
142
- }
143
- treeConfigs(node) {
144
- let checkboxIcon, checkboxColor;
145
- if (node.checked) {
146
- checkboxIcon = 'check_box';
147
- checkboxColor = 'blue';
148
- }
149
- else {
150
- checkboxIcon = 'check_box_outline_blank';
151
- checkboxColor = 'grey';
152
- }
153
- const rowHoverActive = node.hasHover ? 'rowHover' : '';
154
- const expanderIcon = node.isOpen ? 'arrow_drop_down' : 'arrow_right';
155
- const selectedActive = node.selectable && node.selected ? 'rowSelected' : '';
156
- return { checkboxColor, checkboxIcon, rowHoverActive, expanderIcon, selectedActive };
157
- }
158
- findNodeById(nodes, id) {
159
- for (const node of nodes) {
160
- if (node.id === id)
161
- return node;
162
- if (node.child) {
163
- const found = this.findNodeById(node.child, id);
164
- if (found)
165
- return found;
166
- }
167
- }
168
- return undefined;
169
- }
170
- renderNode(node, index, parentId = undefined) {
171
- var _a, _b;
172
- const options = this.treeConfigs(node);
173
- if (node.child) {
174
- return (h(Fragment, null, 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, parentId) } : {}), { class: `inline-tree-item element-row tree-node ${options.rowHoverActive} ${options.selectedActive}`, onClick: event => {
175
- if (node.hasHover) {
176
- this.onClickHandler(event, node);
177
- }
178
- } }), h("tttx-button_1_9_71", { 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, parentId)), node.isOpen ? (h("li", null, h("ul", null, node.child.map((childNode, index) => {
179
- return this.renderNode(childNode, index, node.id);
180
- })))) : null));
181
- }
182
- else {
183
- return (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, parentId) } : {}), { class: `inline-tree-item element-row ${options.rowHoverActive} ${options.selectedActive}`, onClick: event => {
184
- if (node.hasHover) {
185
- this.onClickHandler(event, node);
186
- }
187
- } }), this.htmlcode('treeLeaf', node, options.checkboxIcon, options.checkboxColor, index, parentId)));
188
- }
189
- }
190
- htmlcode(type, node, check_box, check_boxColor, index, parentId = undefined) {
191
- const htmlcode = (h("div", { class: "inline-tree-item element" }, node.draggable && (h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: true, onDragStart: event => this.handleDragStart(event, node, index, parentId) })), node.hasCheckbox && (h("tttx-button_1_9_71", { 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 && (h("tttx-icon_1_9_71", { icon: node.icon, color: node.iconColor, class: "padding-icon" })), !node.html && h("div", { class: type }, node.title), node.html && h("div", { class: type, innerHTML: purify.sanitize(node.html, domSanitiserOptions) })));
192
- return htmlcode;
193
- }
194
- render() {
195
- if (!this.data)
196
- return;
197
- return (h("div", { class: "tree-view-element" }, h("ul", null, this.treeData.map((node, index) => this.renderNode(node, index)))));
198
- }
199
- get el() { return getElement(this); }
200
- };
201
- TttxTreeView.style = tttxTreeViewCss;
202
-
203
- export { TttxTreeView as tttx_tree_view_1_9_71 };
@@ -1 +0,0 @@
1
- import{r as t,c as a,h as o,H as i}from"./p-5c9beaf9.js";import{p as s,d as n}from"./p-55799798.js";import"./p-112455b1.js";const e=class{constructor(o){t(this,o),this.tabClick=a(this,"tabClick",7),this.leftNavigation=a(this,"leftNavigation",7),this.rightNavigation=a(this,"rightNavigation",7),this.tabFocus=0,this.tabsName=void 0,this.navigation=void 0,this.wide=void 0,this.tabs=void 0,this._tabs=void 0}onDataChange(){this.tabs&&(this._tabs="string"==typeof this.tabs?JSON.parse(this.tabs):[...this.tabs],this.tabFocus=this._tabs.findIndex((t=>-1!==t.tabIndex)))}componentWillLoad(){this.onDataChange()}handleTabClick(t){this.tabClick.emit({tabId:t.id})}handleLeftNavigation(){this.leftNavigation.emit()}handleRightNavigation(){this.rightNavigation.emit()}handleKeyDown(t){const a=this.tabList.getAttribute("aria-orientation"),o=a&&"vertical"===a?"ArrowUp":"ArrowLeft",i=a&&"vertical"===a?"ArrowDown":"ArrowRight",s=t.target;(null==s?void 0:s.tagName.toLowerCase().startsWith("tttx-comments"))||(t.key===o||t.key===i?(this._tabs[this.tabFocus].tabIndex=-1,t.key===o?(this.tabFocus--,this.tabFocus<0&&(this.tabFocus=this._tabs.length-1)):t.key===i&&(this.tabFocus++,this.tabFocus>=this._tabs.length&&(this.tabFocus=0)),this._tabs[this.tabFocus].tabIndex=0,this.tabList.querySelectorAll('[role="tab"]')[this.tabFocus].focus(),this._tabs=[...this._tabs]):"Space"!==t.code&&"Enter"!==t.code||this.tabClick.emit({tabId:this._tabs[this.tabFocus].id}))}generateTab(t){var a,i;const s=null!==(a=t.tabName)&&void 0!==a?a:o("tttx-icon_1_9_71",{style:{pointerEvents:"none",marginTop:"-2px"},icon:t.tabIcon,color:"gray",size:null!==(i=t.tabIconSize)&&void 0!==i?i:24});return o("a",{key:t.id,id:t.id,role:"tab","aria-controls":t.controls,tabindex:t.tabIndex,"aria-selected":t.selected,onClick:()=>{this.handleTabClick(t)}},s)}renderSelectedTab(t){return"string"==typeof t.pageContent?o("article",{key:t.id,id:t.controls,role:"tabpanel",tabindex:"0","aria-labelledby":t.id,"aria-expanded":t.selected,innerHTML:s.sanitize(t.pageContent,n),hidden:!t.selected}):o("article",{key:t.id,id:t.controls,role:"tabpanel",tabindex:"0","aria-labelledby":t.id,"aria-expanded":t.selected,hidden:!t.selected},t.pageContent)}render(){if(!this.tabs||0==this.tabs.length)return;const t=this._tabs.find((t=>t.selected));return o(i,null,o("div",null,o("div",{class:"tab-bar",role:"tablist","aria-label":this.tabsName,ref:t=>this.tabList=t},this.navigation&&o("div",{class:"left-navigation",tabindex:"0",onClick:this.handleLeftNavigation.bind(this)},o("tttx-icon_1_9_71",{icon:"navigate_before",color:"black"})),o("div",{class:"tabs-container"+(this.wide?" wide":"")},this._tabs.map(this.generateTab.bind(this))),this.navigation&&o("div",{class:"right-navigation",tabindex:"0",onClick:this.handleRightNavigation.bind(this)},o("tttx-icon_1_9_71",{icon:"navigate_next",color:"black"}))),t&&this.renderSelectedTab(t)))}static get watchers(){return{tabs:["onDataChange"]}}};e.style='.material-symbols-rounded.sc-tttx-tabs_1_9_71{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.sc-tttx-tabs_1_9_71-h{display:block}.tab-bar.sc-tttx-tabs_1_9_71{display:flex;height:52px}.tab-bar.sc-tttx-tabs_1_9_71>.left-navigation.sc-tttx-tabs_1_9_71,.tab-bar.sc-tttx-tabs_1_9_71>.right-navigation.sc-tttx-tabs_1_9_71{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_71>.left-navigation.sc-tttx-tabs_1_9_71>*.sc-tttx-tabs_1_9_71,.tab-bar.sc-tttx-tabs_1_9_71>.right-navigation.sc-tttx-tabs_1_9_71>*.sc-tttx-tabs_1_9_71{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_71>.tabs-container.sc-tttx-tabs_1_9_71{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs_1_9_71>.tabs-container.wide.sc-tttx-tabs_1_9_71{flex-grow:1}.tab-bar.sc-tttx-tabs_1_9_71>.tabs-container.sc-tttx-tabs_1_9_71>*[role=tab].sc-tttx-tabs_1_9_71{padding:18px 16px;line-height:16.408px;font-size:14px;font-weight:500;text-transform:uppercase;user-select:none;color:#757575;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_71>.tabs-container.sc-tttx-tabs_1_9_71>*[role=tab].sc-tttx-tabs_1_9_71:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs_1_9_71>.tabs-container.sc-tttx-tabs_1_9_71>*[role=tab][aria-selected].sc-tttx-tabs_1_9_71{color:#212121;cursor:default;border-bottom:3px solid #1579c6}';export{e as tttx_tabs_1_9_71}
@@ -1 +0,0 @@
1
- import{r as e,c as t,a as i,h as n,F as o,g as r}from"./p-5c9beaf9.js";import{p as l,d as s}from"./p-55799798.js";import"./p-112455b1.js";const d=class{constructor(n){e(this,n),this.clickEvent=t(this,"clickEvent",7),this.expandNode=t(this,"expandNode",7),this.checkboxChange=t(this,"checkboxChange",7),this.moveNode=t(this,"moveNode",7),this.dragIcon=i("assets/img/drag-icon.svg"),this.dragGhost={el:null},this.createGhostImage=e=>{const t=document.createElement("div");return t.textContent=e,Object.assign(t.style,{position:"absolute",top:"-9999px",left:"-9999px",padding:"6px 20px",background:"white",border:"1px solid #ccc",fontSize:"14px",pointerEvents:"none"}),document.body.appendChild(t),setTimeout((()=>document.body.removeChild(t)),0),t},this.handleDragStart=(e,t,i,n)=>{if(!e.dataTransfer)return;this.draggedNodeParentId=n;const o=JSON.stringify({parentId:n,index:i,node:t});e.dataTransfer.setData("text/plain",o);const r=this.createGhostImage(t.title);this.dragGhost.el=r,e.dataTransfer.setDragImage(r,0,0)},this.handleDragDrop=(e,t,i,n)=>{var o;e.preventDefault();const r=null===(o=e.dataTransfer)||void 0===o?void 0:o.getData("text/plain");if(!r)return;const{parentId:l,index:s,node:d}=JSON.parse(r);if(t.id===d.id||l!==n)return;const a=[...this.treeData],c=this.findNodeById(a,n),h=[...c.child],[m]=h.splice(s,1);h.splice(i,0,m),c.child=h,this.treeData=a,this.draggedNodeParentId=void 0,this.dragGhost.el&&(this.dragGhost.el.remove(),this.dragGhost.el=null),this.moveNode.emit(this.treeData)},this.handleDragOver=(e,t)=>{e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.draggedNodeParentId===t?"move":"none")},this.data=void 0,this.treeData=void 0}componentWillRender(){this.data&&(this.treeData="string"==typeof this.data?JSON.parse(this.data):this.data)}onClickHandler(e,t){e.stopPropagation(),this.clickEvent.emit(t)}toggleNode(e,t){t.stopPropagation(),e.isOpen=!e.isOpen,this.treeData=[...this.treeData],this.expandNode.emit({node:e,treeViewData:this.treeData})}handleCheckboxChange(e,t){t.stopPropagation(),e.checked=!e.checked,this.updateChildrenCheckStatus(e),this.updateParentCheckStatus(),this.treeData=[...this.treeData],this.checkboxChange.emit(this.treeData)}updateChildrenCheckStatus(e){e.child&&e.child.forEach((t=>{t.hasCheckbox&&void 0!==t.checked&&(t.checked=e.checked),this.updateChildrenCheckStatus(t)}))}updateParentCheckStatus(e,t){if(void 0===e)return void this.treeData.forEach((e=>this.updateParentCheckStatus(e,e.child)));let i=[];return t&&t.length>0&&(i=t.map((e=>this.updateParentCheckStatus(e,e.child))).flat(1),i.some((e=>e))&&(e.checked=!0),i.every((e=>!e))&&(e.checked=!1)),[...i,e.checked]}treeConfigs(e){let t,i;return e.checked?(t="check_box",i="blue"):(t="check_box_outline_blank",i="grey"),{checkboxColor:i,checkboxIcon:t,rowHoverActive:e.hasHover?"rowHover":"",expanderIcon:e.isOpen?"arrow_drop_down":"arrow_right",selectedActive:e.selectable&&e.selected?"rowSelected":""}}findNodeById(e,t){for(const i of e){if(i.id===t)return i;if(i.child){const e=this.findNodeById(i.child,t);if(e)return e}}}renderNode(e,t,i){var r,l;const s=this.treeConfigs(e);return e.child?n(o,null,n("li",Object.assign({"data-id":e.id,draggable:null!==(r=e.draggable)&&void 0!==r&&r},e.draggable?{onDragOver:e=>this.handleDragOver(e,i)}:{},e.draggable?{onDrop:n=>this.handleDragDrop(n,e,t,i)}:{},{class:`inline-tree-item element-row tree-node ${s.rowHoverActive} ${s.selectedActive}`,onClick:t=>{e.hasHover&&this.onClickHandler(t,e)}}),n("tttx-button_1_9_71",{class:"toggleNode",design:"borderless-circle",notext:!0,icon:s.expanderIcon,color:"black",onClick:t=>this.toggleNode(e,t)}),this.htmlcode("treeNode",e,s.checkboxIcon,s.checkboxColor,t,i)),e.isOpen?n("li",null,n("ul",null,e.child.map(((t,i)=>this.renderNode(t,i,e.id))))):null):n("li",Object.assign({"data-id":e.id,draggable:null!==(l=e.draggable)&&void 0!==l&&l},e.draggable?{onDragOver:e=>this.handleDragOver(e,i)}:{},e.draggable?{onDrop:n=>this.handleDragDrop(n,e,t,i)}:{},{class:`inline-tree-item element-row ${s.rowHoverActive} ${s.selectedActive}`,onClick:t=>{e.hasHover&&this.onClickHandler(t,e)}}),this.htmlcode("treeLeaf",e,s.checkboxIcon,s.checkboxColor,t,i))}htmlcode(e,t,i,o,r,d){return n("div",{class:"inline-tree-item element"},t.draggable&&n("img",{src:this.dragIcon,alt:"drag",class:"drag-handle",draggable:!0,onDragStart:e=>this.handleDragStart(e,t,r,d)}),t.hasCheckbox&&n("tttx-button_1_9_71",{design:"borderless-circle",notext:!0,icon:i,iconcolor:o,class:"padding-icon checkbox",onClick:e=>this.handleCheckboxChange(t,e)}),!t.html&&t.hasIcon&&n("tttx-icon_1_9_71",{icon:t.icon,color:t.iconColor,class:"padding-icon"}),!t.html&&n("div",{class:e},t.title),t.html&&n("div",{class:e,innerHTML:l.sanitize(t.html,s)}))}render(){if(this.data)return n("div",{class:"tree-view-element"},n("ul",null,this.treeData.map(((e,t)=>this.renderNode(e,t)))))}get el(){return r(this)}};d.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.tree-view-element>ul{margin:0;padding:0}.tree-view-element>* ul{padding:0 0 0 36px}.tree-view-element ul li{list-style-type:none}.tree-view-element ul li.inline-tree-item{display:flex;align-items:center}.tree-view-element ul li.inline-tree-item .element{display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:center;width:100%;padding-left:8px}.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{cursor:pointer}.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover::before{content:"";position:absolute;left:-50%;top:0;bottom:0;right:0;pointer-events:none}.tree-view-element ul li.inline-tree-item.element-row.rowHover:not(.rowSelected):hover::before{background-color:rgba(17, 17, 17, 0.05)}.tree-view-element ul li.inline-tree-item.element-row.rowHover.rowSelected:hover::before{background-color:rgba(17, 17, 17, 0.15)}}.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}.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.rowSelected::before{content:"";position:absolute;left:-50%;top:0;bottom:0;right:0;background-color:rgba(17, 17, 17, 0.1);pointer-events:none}.tree-view-element ul li.inline-tree-item.element-row.tree-node::before{background-color:#fafafa;height:51px;z-index:1}.tree-view-element ul li.inline-tree-item.element-row.tree-node *{z-index:2}.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}.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 .drop-not-allowed{border-color:red;border-style:dashed;cursor:not-allowed;opacity:0.7}';export{d as tttx_tree_view_1_9_71}