@3t-transform/threeteeui 1.9.69 → 1.9.71

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 (301) hide show
  1. package/dist/cjs/{auto-ac58fa98.js → auto-6a51f2a4.js} +20 -11
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/{tttx-action-dropdown_1_9_69.cjs.entry.js → tttx-action-dropdown_1_9_71.cjs.entry.js} +2 -2
  4. package/dist/cjs/{tttx-button-v2_1_9_69.cjs.entry.js → tttx-button-v2_1_9_71.cjs.entry.js} +4 -4
  5. package/dist/cjs/{tttx-button_1_9_69.cjs.entry.js → tttx-button_1_9_71.cjs.entry.js} +2 -2
  6. package/dist/cjs/{tttx-chart_1_9_69.cjs.entry.js → tttx-chart_1_9_71.cjs.entry.js} +4 -4
  7. package/dist/cjs/{tttx-checkbox-group-caption_1_9_69.cjs.entry.js → tttx-checkbox-group-caption_1_9_71.cjs.entry.js} +1 -1
  8. package/dist/cjs/{tttx-checkbox-group-heading_1_9_69.cjs.entry.js → tttx-checkbox-group-heading_1_9_71.cjs.entry.js} +1 -1
  9. package/dist/cjs/{tttx-checkbox-group_1_9_69.cjs.entry.js → tttx-checkbox-group_1_9_71.cjs.entry.js} +1 -1
  10. package/dist/cjs/{tttx-checkbox_1_9_69.cjs.entry.js → tttx-checkbox_1_9_71.cjs.entry.js} +2 -2
  11. package/dist/cjs/{tttx-comments_1_9_69.cjs.entry.js → tttx-comments_1_9_71.cjs.entry.js} +4 -4
  12. package/dist/cjs/{tttx-data-pattern_1_9_69.cjs.entry.js → tttx-data-pattern_1_9_71.cjs.entry.js} +5 -5
  13. package/dist/cjs/{tttx-datacard_1_9_69.cjs.entry.js → tttx-datacard_1_9_71.cjs.entry.js} +4 -4
  14. package/dist/cjs/tttx-date-range-picker.cjs.entry.js +1 -1
  15. package/dist/cjs/{tttx-dialog-box_1_9_69.cjs.entry.js → tttx-dialog-box_1_9_71.cjs.entry.js} +3 -3
  16. package/dist/cjs/{tttx-dialog_1_9_69.cjs.entry.js → tttx-dialog_1_9_71.cjs.entry.js} +2 -2
  17. package/dist/cjs/{tttx-expander_1_9_69.cjs.entry.js → tttx-expander_1_9_71.cjs.entry.js} +2 -2
  18. package/dist/cjs/{tttx-filter_1_9_69_4.cjs.entry.js → tttx-filter_1_9_71_4.cjs.entry.js} +9 -9
  19. package/dist/cjs/{tttx-form_1_9_69.cjs.entry.js → tttx-form_1_9_71.cjs.entry.js} +2 -2
  20. package/dist/cjs/{tttx-graph_1_9_69.cjs.entry.js → tttx-graph_1_9_71.cjs.entry.js} +2 -2
  21. package/dist/cjs/{tttx-icon_1_9_69.cjs.entry.js → tttx-icon_1_9_71.cjs.entry.js} +1 -1
  22. package/dist/cjs/{tttx-keyvalue-block_1_9_69.cjs.entry.js → tttx-keyvalue-block_1_9_71.cjs.entry.js} +1 -1
  23. package/dist/cjs/{tttx-loading-spinner_1_9_69_3.cjs.entry.js → tttx-loading-spinner_1_9_71_3.cjs.entry.js} +6 -6
  24. package/dist/cjs/{tttx-multiselect-box_1_9_69.cjs.entry.js → tttx-multiselect-box_1_9_71.cjs.entry.js} +7 -7
  25. package/dist/cjs/{tttx-percentage-bar_1_9_69.cjs.entry.js → tttx-percentage-bar_1_9_71.cjs.entry.js} +2 -2
  26. package/dist/cjs/{tttx-qrcode_1_9_69.cjs.entry.js → tttx-qrcode_1_9_71.cjs.entry.js} +1 -1
  27. package/dist/cjs/tttx-range-slider_1_9_71.cjs.entry.js +190 -0
  28. package/dist/cjs/{tttx-select-box_1_9_69.cjs.entry.js → tttx-select-box_1_9_71.cjs.entry.js} +6 -6
  29. package/dist/cjs/{tttx-skeleton_loader_1_9_69.cjs.entry.js → tttx-skeleton_loader_1_9_71.cjs.entry.js} +1 -1
  30. package/dist/cjs/{tttx-table_1_9_69.cjs.entry.js → tttx-table_1_9_71.cjs.entry.js} +1 -1
  31. package/dist/cjs/{tttx-tabs_1_9_69.cjs.entry.js → tttx-tabs_1_9_71.cjs.entry.js} +4 -4
  32. package/dist/cjs/{tttx-textarea_1_9_69.cjs.entry.js → tttx-textarea_1_9_71.cjs.entry.js} +2 -2
  33. package/dist/cjs/{tttx-toggle_1_9_69.cjs.entry.js → tttx-toggle_1_9_71.cjs.entry.js} +1 -1
  34. package/dist/cjs/{tttx-tooltip_1_9_69.cjs.entry.js → tttx-tooltip_1_9_71.cjs.entry.js} +1 -1
  35. package/dist/cjs/{tttx-tree-view_1_9_69.cjs.entry.js → tttx-tree-view_1_9_71.cjs.entry.js} +3 -3
  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-toggle/tttx-toggle.js +1 -1
  61. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
  62. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.js +2 -2
  63. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +1 -1
  64. package/dist/collection/components/molecules/tttx-chart/tttx-chart.js +3 -3
  65. package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +4 -4
  66. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
  67. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
  68. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
  69. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
  70. package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +4 -4
  71. package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +4 -4
  72. package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +1 -1
  73. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
  74. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
  75. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
  76. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
  77. package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
  78. package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
  79. package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
  80. package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
  81. package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
  82. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +8 -8
  83. package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
  84. package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
  85. package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
  86. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
  87. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -7
  88. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
  89. package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.css +155 -0
  90. package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.js +299 -0
  91. package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.stories.js +34 -0
  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.js +1 -1
  99. package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
  100. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
  101. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
  102. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
  103. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
  104. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
  105. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
  106. package/dist/collection/components/molecules/tttx-tooltip/tttx-tooltip.js +1 -1
  107. package/dist/collection/components/molecules/tttx-tooltip/tttx-tootip.stories.js +2 -2
  108. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
  109. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +1 -1
  110. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
  111. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
  112. package/dist/components/auto.js +20 -11
  113. package/dist/components/index.d.ts +37 -36
  114. package/dist/components/index.js +37 -36
  115. package/dist/components/tttx-action-dropdown_1_9_71.d.ts +11 -0
  116. package/dist/components/{tttx-action-dropdown_1_9_69.js → tttx-action-dropdown_1_9_71.js} +7 -7
  117. package/dist/components/{tttx-checkbox_1_9_69.d.ts → tttx-button-v2_1_9_71.d.ts} +4 -4
  118. package/dist/components/{tttx-button-v2_1_9_69.js → tttx-button-v2_1_9_71.js} +9 -9
  119. package/dist/components/tttx-button.js +5 -5
  120. package/dist/components/{tttx-dialog_1_9_69.d.ts → tttx-button_1_9_71.d.ts} +4 -4
  121. package/dist/components/{tttx-button_1_9_69.js → tttx-button_1_9_71.js} +2 -2
  122. package/dist/components/{tttx-table_1_9_69.d.ts → tttx-chart_1_9_71.d.ts} +4 -4
  123. package/dist/components/{tttx-chart_1_9_69.js → tttx-chart_1_9_71.js} +10 -10
  124. package/dist/components/tttx-checkbox-group-caption_1_9_71.d.ts +11 -0
  125. package/dist/components/{tttx-checkbox-group-caption_1_9_69.js → tttx-checkbox-group-caption_1_9_71.js} +5 -5
  126. package/dist/components/tttx-checkbox-group-heading_1_9_71.d.ts +11 -0
  127. package/dist/components/{tttx-checkbox-group-heading_1_9_69.js → tttx-checkbox-group-heading_1_9_71.js} +5 -5
  128. package/dist/components/tttx-checkbox-group_1_9_71.d.ts +11 -0
  129. package/dist/components/{tttx-checkbox-group_1_9_69.js → tttx-checkbox-group_1_9_71.js} +5 -5
  130. package/dist/components/{tttx-button-v2_1_9_69.d.ts → tttx-checkbox_1_9_71.d.ts} +4 -4
  131. package/dist/components/{tttx-checkbox_1_9_69.js → tttx-checkbox_1_9_71.js} +7 -7
  132. package/dist/components/tttx-comments_1_9_71.d.ts +11 -0
  133. package/dist/components/{tttx-comments_1_9_69.js → tttx-comments_1_9_71.js} +9 -9
  134. package/dist/components/tttx-data-pattern_1_9_71.d.ts +11 -0
  135. package/dist/components/{tttx-data-pattern_1_9_69.js → tttx-data-pattern_1_9_71.js} +16 -16
  136. package/dist/components/tttx-datacard_1_9_71.d.ts +11 -0
  137. package/dist/components/{tttx-datacard_1_9_69.js → tttx-datacard_1_9_71.js} +10 -10
  138. package/dist/components/tttx-date-range-picker.js +3 -3
  139. package/dist/components/tttx-dialog-box_1_9_71.d.ts +11 -0
  140. package/dist/components/{tttx-dialog-box_1_9_69.js → tttx-dialog-box_1_9_71.js} +9 -9
  141. package/dist/components/{tttx-filter_1_9_69.d.ts → tttx-dialog_1_9_71.d.ts} +4 -4
  142. package/dist/components/{tttx-dialog_1_9_69.js → tttx-dialog_1_9_71.js} +8 -8
  143. package/dist/components/tttx-expander_1_9_71.d.ts +11 -0
  144. package/dist/components/{tttx-expander_1_9_69.js → tttx-expander_1_9_71.js} +7 -7
  145. package/dist/components/tttx-filter.js +6 -6
  146. package/dist/components/{tttx-button_1_9_69.d.ts → tttx-filter_1_9_71.d.ts} +4 -4
  147. package/dist/components/{tttx-filter_1_9_69.js → tttx-filter_1_9_71.js} +2 -2
  148. package/dist/components/{tttx-form_1_9_69.d.ts → tttx-form_1_9_71.d.ts} +4 -4
  149. package/dist/components/{tttx-form_1_9_69.js → tttx-form_1_9_71.js} +11 -11
  150. package/dist/components/tttx-graph.js +3 -3
  151. package/dist/components/{tttx-graph_1_9_69.d.ts → tttx-graph_1_9_71.d.ts} +4 -4
  152. package/dist/components/{tttx-graph_1_9_69.js → tttx-graph_1_9_71.js} +2 -2
  153. package/dist/components/tttx-icon.js +3 -3
  154. package/dist/components/{tttx-list_1_9_69.d.ts → tttx-icon_1_9_71.d.ts} +4 -4
  155. package/dist/components/{tttx-icon_1_9_69.js → tttx-icon_1_9_71.js} +2 -2
  156. package/dist/components/tttx-keyvalue-block_1_9_71.d.ts +11 -0
  157. package/dist/components/{tttx-keyvalue-block_1_9_69.js → tttx-keyvalue-block_1_9_71.js} +5 -5
  158. package/dist/components/tttx-list.js +6 -6
  159. package/dist/components/{tttx-icon_1_9_69.d.ts → tttx-list_1_9_71.d.ts} +4 -4
  160. package/dist/components/{tttx-list_1_9_69.js → tttx-list_1_9_71.js} +2 -2
  161. package/dist/components/tttx-loading-spinner.js +3 -3
  162. package/dist/components/tttx-loading-spinner_1_9_71.d.ts +11 -0
  163. package/dist/components/{tttx-loading-spinner_1_9_69.js → tttx-loading-spinner_1_9_71.js} +2 -2
  164. package/dist/components/tttx-multiselect-box_1_9_71.d.ts +11 -0
  165. package/dist/components/{tttx-multiselect-box_1_9_69.js → tttx-multiselect-box_1_9_71.js} +16 -16
  166. package/dist/components/tttx-percentage-bar_1_9_71.d.ts +11 -0
  167. package/dist/components/{tttx-percentage-bar_1_9_69.js → tttx-percentage-bar_1_9_71.js} +6 -6
  168. package/dist/components/{tttx-qrcode_1_9_69.d.ts → tttx-qrcode_1_9_71.d.ts} +4 -4
  169. package/dist/components/{tttx-qrcode_1_9_69.js → tttx-qrcode_1_9_71.js} +5 -5
  170. package/dist/components/tttx-range-slider_1_9_71.d.ts +11 -0
  171. package/dist/components/tttx-range-slider_1_9_71.js +211 -0
  172. package/dist/components/tttx-select-box.js +12 -12
  173. package/dist/components/tttx-select-box_1_9_71.d.ts +11 -0
  174. package/dist/components/{tttx-select-box_1_9_69.js → tttx-select-box_1_9_71.js} +2 -2
  175. package/dist/components/tttx-skeleton_loader_1_9_71.d.ts +11 -0
  176. package/dist/components/{tttx-skeleton_loader_1_9_69.js → tttx-skeleton_loader_1_9_71.js} +5 -5
  177. package/dist/components/tttx-sorter.js +5 -5
  178. package/dist/components/tttx-sorter_1_9_71.d.ts +11 -0
  179. package/dist/components/{tttx-sorter_1_9_69.js → tttx-sorter_1_9_71.js} +2 -2
  180. package/dist/components/tttx-standalone-input.js +6 -6
  181. package/dist/components/tttx-standalone-input_1_9_71.d.ts +11 -0
  182. package/dist/components/{tttx-standalone-input_1_9_69.js → tttx-standalone-input_1_9_71.js} +2 -2
  183. package/dist/components/{tttx-chart_1_9_69.d.ts → tttx-table_1_9_71.d.ts} +4 -4
  184. package/dist/components/{tttx-table_1_9_69.js → tttx-table_1_9_71.js} +5 -5
  185. package/dist/components/{tttx-tabs_1_9_69.d.ts → tttx-tabs_1_9_71.d.ts} +4 -4
  186. package/dist/components/{tttx-tabs_1_9_69.js → tttx-tabs_1_9_71.js} +9 -9
  187. package/dist/components/tttx-tag.js +5 -5
  188. package/dist/components/{tttx-tag_1_9_69.d.ts → tttx-tag_1_9_71.d.ts} +4 -4
  189. package/dist/components/{tttx-tag_1_9_69.js → tttx-tag_1_9_71.js} +2 -2
  190. package/dist/components/tttx-textarea_1_9_71.d.ts +11 -0
  191. package/dist/components/{tttx-textarea_1_9_69.js → tttx-textarea_1_9_71.js} +6 -6
  192. package/dist/components/tttx-toggle_1_9_71.d.ts +11 -0
  193. package/dist/components/{tttx-toggle_1_9_69.js → tttx-toggle_1_9_71.js} +5 -5
  194. package/dist/components/tttx-toolbar.js +3 -3
  195. package/dist/components/tttx-toolbar_1_9_71.d.ts +11 -0
  196. package/dist/components/{tttx-toolbar_1_9_69.js → tttx-toolbar_1_9_71.js} +2 -2
  197. package/dist/components/tttx-tooltip_1_9_71.d.ts +11 -0
  198. package/dist/components/{tttx-tooltip_1_9_69.js → tttx-tooltip_1_9_71.js} +5 -5
  199. package/dist/components/tttx-tree-view_1_9_71.d.ts +11 -0
  200. package/dist/components/{tttx-tree-view_1_9_69.js → tttx-tree-view_1_9_71.js} +9 -9
  201. package/dist/esm/{auto-1d8b24f0.js → auto-35e33158.js} +20 -11
  202. package/dist/esm/loader.js +1 -1
  203. package/dist/esm/{tttx-action-dropdown_1_9_69.entry.js → tttx-action-dropdown_1_9_71.entry.js} +2 -2
  204. package/dist/esm/{tttx-button-v2_1_9_69.entry.js → tttx-button-v2_1_9_71.entry.js} +4 -4
  205. package/dist/esm/{tttx-button_1_9_69.entry.js → tttx-button_1_9_71.entry.js} +2 -2
  206. package/dist/esm/{tttx-chart_1_9_69.entry.js → tttx-chart_1_9_71.entry.js} +4 -4
  207. package/dist/esm/{tttx-checkbox-group-caption_1_9_69.entry.js → tttx-checkbox-group-caption_1_9_71.entry.js} +1 -1
  208. package/dist/esm/{tttx-checkbox-group-heading_1_9_69.entry.js → tttx-checkbox-group-heading_1_9_71.entry.js} +1 -1
  209. package/dist/esm/{tttx-checkbox-group_1_9_69.entry.js → tttx-checkbox-group_1_9_71.entry.js} +1 -1
  210. package/dist/esm/{tttx-checkbox_1_9_69.entry.js → tttx-checkbox_1_9_71.entry.js} +2 -2
  211. package/dist/esm/{tttx-comments_1_9_69.entry.js → tttx-comments_1_9_71.entry.js} +4 -4
  212. package/dist/esm/{tttx-data-pattern_1_9_69.entry.js → tttx-data-pattern_1_9_71.entry.js} +5 -5
  213. package/dist/esm/{tttx-datacard_1_9_69.entry.js → tttx-datacard_1_9_71.entry.js} +4 -4
  214. package/dist/esm/tttx-date-range-picker.entry.js +1 -1
  215. package/dist/esm/{tttx-dialog-box_1_9_69.entry.js → tttx-dialog-box_1_9_71.entry.js} +3 -3
  216. package/dist/esm/{tttx-dialog_1_9_69.entry.js → tttx-dialog_1_9_71.entry.js} +2 -2
  217. package/dist/esm/{tttx-expander_1_9_69.entry.js → tttx-expander_1_9_71.entry.js} +2 -2
  218. package/dist/esm/{tttx-filter_1_9_69_4.entry.js → tttx-filter_1_9_71_4.entry.js} +6 -6
  219. package/dist/esm/{tttx-form_1_9_69.entry.js → tttx-form_1_9_71.entry.js} +2 -2
  220. package/dist/esm/{tttx-graph_1_9_69.entry.js → tttx-graph_1_9_71.entry.js} +2 -2
  221. package/dist/esm/{tttx-icon_1_9_69.entry.js → tttx-icon_1_9_71.entry.js} +1 -1
  222. package/dist/esm/{tttx-keyvalue-block_1_9_69.entry.js → tttx-keyvalue-block_1_9_71.entry.js} +1 -1
  223. package/dist/esm/{tttx-loading-spinner_1_9_69_3.entry.js → tttx-loading-spinner_1_9_71_3.entry.js} +4 -4
  224. package/dist/esm/{tttx-multiselect-box_1_9_69.entry.js → tttx-multiselect-box_1_9_71.entry.js} +7 -7
  225. package/dist/esm/{tttx-percentage-bar_1_9_69.entry.js → tttx-percentage-bar_1_9_71.entry.js} +2 -2
  226. package/dist/esm/{tttx-qrcode_1_9_69.entry.js → tttx-qrcode_1_9_71.entry.js} +1 -1
  227. package/dist/esm/tttx-range-slider_1_9_71.entry.js +186 -0
  228. package/dist/esm/{tttx-select-box_1_9_69.entry.js → tttx-select-box_1_9_71.entry.js} +6 -6
  229. package/dist/esm/{tttx-skeleton_loader_1_9_69.entry.js → tttx-skeleton_loader_1_9_71.entry.js} +1 -1
  230. package/dist/esm/{tttx-table_1_9_69.entry.js → tttx-table_1_9_71.entry.js} +1 -1
  231. package/dist/esm/{tttx-tabs_1_9_69.entry.js → tttx-tabs_1_9_71.entry.js} +4 -4
  232. package/dist/esm/{tttx-textarea_1_9_69.entry.js → tttx-textarea_1_9_71.entry.js} +2 -2
  233. package/dist/esm/{tttx-toggle_1_9_69.entry.js → tttx-toggle_1_9_71.entry.js} +1 -1
  234. package/dist/esm/{tttx-tooltip_1_9_69.entry.js → tttx-tooltip_1_9_71.entry.js} +1 -1
  235. package/dist/esm/{tttx-tree-view_1_9_69.entry.js → tttx-tree-view_1_9_71.entry.js} +3 -3
  236. package/dist/esm/tttx.js +1 -1
  237. package/dist/tttx/p-13272658.entry.js +1 -1
  238. package/dist/tttx/p-18fce688.entry.js +1 -0
  239. package/dist/tttx/p-1f75b5d3.entry.js +1 -1
  240. package/dist/tttx/p-32cf4137.entry.js +1 -1
  241. package/dist/tttx/p-36edf716.entry.js +1 -1
  242. package/dist/tttx/p-47fadd24.entry.js +1 -1
  243. package/dist/tttx/p-4c63f7da.entry.js +1 -1
  244. package/dist/tttx/p-4ddf7946.entry.js +1 -1
  245. package/dist/tttx/p-5765b7da.entry.js +1 -1
  246. package/dist/tttx/p-5b7c20ff.entry.js +1 -1
  247. package/dist/tttx/p-5e14d6aa.entry.js +1 -1
  248. package/dist/tttx/{p-296958ae.entry.js → p-620b18f6.entry.js} +1 -1
  249. package/dist/tttx/{p-5a4e385f.entry.js → p-66340f2f.entry.js} +1 -1
  250. package/dist/tttx/p-71bb2f21.entry.js +1 -1
  251. package/dist/tttx/p-74a8c484.entry.js +1 -1
  252. package/dist/tttx/p-789defe0.entry.js +1 -1
  253. package/dist/tttx/p-8392774e.entry.js +1 -1
  254. package/dist/tttx/p-86cdb616.entry.js +1 -1
  255. package/dist/tttx/p-8beccdc9.entry.js +1 -1
  256. package/dist/tttx/p-969a4944.entry.js +1 -1
  257. package/dist/tttx/p-a2979a57.entry.js +1 -1
  258. package/dist/tttx/p-a50d9105.entry.js +1 -1
  259. package/dist/tttx/p-a8526f90.entry.js +1 -1
  260. package/dist/tttx/p-b2a0053a.entry.js +1 -1
  261. package/dist/tttx/p-b4fe2853.entry.js +1 -1
  262. package/dist/tttx/p-b97e0e3c.entry.js +1 -1
  263. package/dist/tttx/p-c33f9022.entry.js +1 -1
  264. package/dist/tttx/p-ca58259a.entry.js +1 -1
  265. package/dist/tttx/p-d1ee41dd.entry.js +1 -1
  266. package/dist/tttx/p-ebb47a2d.js +19 -0
  267. package/dist/tttx/p-ee41fe8f.entry.js +1 -1
  268. package/dist/tttx/p-f30833e3.entry.js +1 -1
  269. package/dist/tttx/p-f69b4685.entry.js +1 -1
  270. package/dist/tttx/p-ff7edd81.entry.js +1 -1
  271. package/dist/tttx/tttx.esm.js +1 -1
  272. package/dist/types/components/molecules/tttx-range-slider/tttx-range-slider.d.ts +45 -0
  273. package/dist/types/components/molecules/tttx-range-slider/tttx-range-slider.stories.d.ts +7 -0
  274. package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
  275. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
  276. package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
  277. package/dist/types/components.d.ts +454 -428
  278. package/package.json +1 -1
  279. package/dist/components/tttx-action-dropdown_1_9_69.d.ts +0 -11
  280. package/dist/components/tttx-checkbox-group-caption_1_9_69.d.ts +0 -11
  281. package/dist/components/tttx-checkbox-group-heading_1_9_69.d.ts +0 -11
  282. package/dist/components/tttx-checkbox-group_1_9_69.d.ts +0 -11
  283. package/dist/components/tttx-comments_1_9_69.d.ts +0 -11
  284. package/dist/components/tttx-data-pattern_1_9_69.d.ts +0 -11
  285. package/dist/components/tttx-datacard_1_9_69.d.ts +0 -11
  286. package/dist/components/tttx-dialog-box_1_9_69.d.ts +0 -11
  287. package/dist/components/tttx-expander_1_9_69.d.ts +0 -11
  288. package/dist/components/tttx-keyvalue-block_1_9_69.d.ts +0 -11
  289. package/dist/components/tttx-loading-spinner_1_9_69.d.ts +0 -11
  290. package/dist/components/tttx-multiselect-box_1_9_69.d.ts +0 -11
  291. package/dist/components/tttx-percentage-bar_1_9_69.d.ts +0 -11
  292. package/dist/components/tttx-select-box_1_9_69.d.ts +0 -11
  293. package/dist/components/tttx-skeleton_loader_1_9_69.d.ts +0 -11
  294. package/dist/components/tttx-sorter_1_9_69.d.ts +0 -11
  295. package/dist/components/tttx-standalone-input_1_9_69.d.ts +0 -11
  296. package/dist/components/tttx-textarea_1_9_69.d.ts +0 -11
  297. package/dist/components/tttx-toggle_1_9_69.d.ts +0 -11
  298. package/dist/components/tttx-toolbar_1_9_69.d.ts +0 -11
  299. package/dist/components/tttx-tooltip_1_9_69.d.ts +0 -11
  300. package/dist/components/tttx-tree-view_1_9_69.d.ts +0 -11
  301. package/dist/tttx/p-fa01bbb2.js +0 -19
@@ -0,0 +1,186 @@
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-9f3e16ad.js';
2
+
3
+ const tttxRangeSliderCss = ".slider-container{position:relative;width:100%;height:50px;margin-top:10px}.slider-container-with-fields{margin-top:20px !important}input[type=\"range\"]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;outline:none;position:absolute;margin:auto;top:0;bottom:0;background-color:transparent;pointer-events:none}.slider-track{width:100%;height:5px;position:absolute;margin:auto;top:0;bottom:0;border-radius:5px}input[type=\"range\"]::-webkit-slider-runnable-track{-webkit-appearance:none;height:5px}input[type=\"range\"]::-moz-range-track{-moz-appearance:none;height:5px}input[type=\"range\"]::-ms-track{appearance:none;height:5px}input[type=\"range\"]::-webkit-slider-thumb{-webkit-appearance:none;height:1.7em;width:1.7em;background-color:#1579C6;cursor:pointer;margin-top:-9px;pointer-events:auto;border-radius:50%;border:2px solid white}input[type=\"range\"]::-moz-range-thumb{-webkit-appearance:none;height:1.7em;width:1.7em;cursor:pointer;border-radius:50%;border:2px solid white;background-color:#1579C6;pointer-events:auto}input[type=\"range\"]::-ms-thumb{appearance:none;height:1.7em;width:1.7em;cursor:pointer;border-radius:50%;border:2px solid white;background-color:#1579C6;pointer-events:auto}input[type=\"range\"]:active::-webkit-slider-thumb{background-color:#1579C6;border:2px solid white}.values{display:flex;flex-direction:row;width:100%}.range-divider{flex-grow:1;display:flex;justify-content:center;align-items:center}.range-divider,.value-input{color:#9E9E9E}.input-pre-text{position:absolute;font-size:14px;line-height:16px;font-style:normal;margin-top:9px;margin-left:5px}.value-input{padding-left:40px;height:30px;width:45px;border-radius:4px;border:1px solid #D5D5D5}.slider-tooltip{background:#212121;border-radius:.4em;display:none;position:absolute;color:#ffffff;padding:var(--05, 4px) var(--2, 14px);font-size:12px;white-space:nowrap;opacity:1;top:-15px !important;left:1px}.slider-tooltip-upper{right:1px;left:auto !important}.slider-tooltip:after{content:'';position:absolute;bottom:0;left:50%;width:0;height:0;border:6px solid transparent;border-top-color:#212121;border-bottom:0;margin-left:-6px;margin-bottom:-6px}";
4
+
5
+ const TttxRangeSlider = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.sliderValuesUpdated = createEvent(this, "sliderValuesUpdated", 7);
9
+ this.sliderBackground = '#D5D5D5';
10
+ this.activeSliderBackground = '#1579C6';
11
+ this.minGap = 0;
12
+ this.minimum = 0;
13
+ this.maximum = 100;
14
+ this.sliderMode = 'single';
15
+ this.showFields = false;
16
+ this.lowerValue = undefined;
17
+ this.upperValue = undefined;
18
+ }
19
+ componentWillLoad() {
20
+ if (!['single', 'dual'].includes(this.sliderMode))
21
+ this.sliderMode = 'single';
22
+ this.lowerValue = this.minimum;
23
+ this.upperValue = this.maximum;
24
+ this.showFields = this.showFields && this.sliderMode === 'dual'; // only show fields if requested & on dual slider
25
+ }
26
+ componentDidRender() {
27
+ this.setSliderColours();
28
+ }
29
+ emitValuesUpdatedEvent() {
30
+ // timeout as could be fired several times as slider is dragged, only send one event
31
+ clearTimeout(this.emitValuesTimeout);
32
+ this.emitValuesTimeout = setTimeout((lowerValue, upperValue) => {
33
+ this.sliderValuesUpdated.emit({
34
+ lowerValue,
35
+ upperValue
36
+ });
37
+ }, 300, this.lowerValue, this.upperValue);
38
+ }
39
+ onSetSliderValues(event) {
40
+ // allow user to manually update slider values (useful on form reset)
41
+ let { lowerValue, upperValue } = event.detail;
42
+ // lower cannot go below min, upper cannot go above max
43
+ if (lowerValue < this.minimum)
44
+ lowerValue = this.minimum;
45
+ if (upperValue > this.maximum)
46
+ upperValue = this.maximum;
47
+ if (this.sliderMode === 'single') {
48
+ this.lowerValue = this.minimum; // single mode only uses upper slider, this is always min
49
+ if (upperValue < this.lowerValue)
50
+ upperValue = lowerValue;
51
+ this.upperValue = upperValue;
52
+ }
53
+ if (this.sliderMode === 'dual') {
54
+ // lower & upper cannot cross, lower must always be less than upper
55
+ if (lowerValue > upperValue)
56
+ lowerValue = upperValue;
57
+ if (this.showFields) {
58
+ this.refLowerInput.value = lowerValue;
59
+ this.refUpperInput.value = upperValue;
60
+ }
61
+ this.lowerValue = lowerValue;
62
+ this.upperValue = upperValue;
63
+ }
64
+ // notify user, in case validation overruled any values
65
+ this.emitValuesUpdatedEvent();
66
+ }
67
+ inputDebounce(inputType, event) {
68
+ // debounce to allow user time to finish inputting value
69
+ clearTimeout(this.inputTimeout);
70
+ this.inputTimeout = setTimeout((inputType, event) => {
71
+ this.handleInputChange(inputType, event);
72
+ }, 300, inputType, event.target.value);
73
+ }
74
+ handleInputChange(inputType, inputValue) {
75
+ const enteredValue = parseInt(inputValue);
76
+ if (inputType === 'min') {
77
+ let newValue = enteredValue;
78
+ // cannot go higher than max slider or lower than minimum
79
+ if (Number.isNaN(enteredValue) || newValue < this.minimum)
80
+ newValue = this.minimum;
81
+ if (newValue > this.upperValue)
82
+ newValue = this.upperValue;
83
+ this.refLowerInput.value = newValue;
84
+ this.lowerValue = newValue;
85
+ }
86
+ if (inputType === 'max') {
87
+ let newValue = enteredValue;
88
+ // cannot go lower than min slider or higher than maximum
89
+ if (Number.isNaN(enteredValue) || newValue > this.maximum)
90
+ newValue = this.maximum;
91
+ if (newValue < this.lowerValue)
92
+ newValue = this.lowerValue;
93
+ this.refUpperInput.value = newValue;
94
+ this.upperValue = newValue;
95
+ }
96
+ // notify user of updated slider values
97
+ this.emitValuesUpdatedEvent();
98
+ }
99
+ onMinSliderChange() {
100
+ // update slider & fields (without going above upper limit)
101
+ if (parseInt(this.refSliderUpper.value) - parseInt(this.refSliderLower.value) <= this.minGap) {
102
+ this.refSliderLower.value = parseInt(this.refSliderUpper.value) - this.minGap;
103
+ }
104
+ if (this.showFields)
105
+ this.refLowerInput.value = this.refSliderLower.value;
106
+ this.setSliderColours();
107
+ this.setTooltipPositions('min');
108
+ this.lowerValue = parseInt(this.refSliderLower.value);
109
+ // notify user of updated slider values
110
+ this.emitValuesUpdatedEvent();
111
+ }
112
+ onMaxSliderChange() {
113
+ // update slider & fields (without going below lower limit)
114
+ if (parseInt(this.refSliderUpper.value) - parseInt(this.refSliderLower.value) <= this.minGap) {
115
+ this.refSliderUpper.value = parseInt(this.refSliderLower.value) + this.minGap;
116
+ }
117
+ if (this.showFields)
118
+ this.refUpperInput.value = this.refSliderUpper.value;
119
+ this.setSliderColours();
120
+ this.setTooltipPositions('max');
121
+ this.upperValue = parseInt(this.refSliderUpper.value);
122
+ // notify user of updated slider values
123
+ this.emitValuesUpdatedEvent();
124
+ }
125
+ setSliderColours() {
126
+ // update highlighted part of slider based on where slider has moved to
127
+ if (this.sliderMode === 'single') {
128
+ const percent = (this.refSliderSingle.value / this.maximum) * 100;
129
+ this.refSliderTrack.style.background = `linear-gradient(to right, ${this.activeSliderBackground} ${percent}% , ${this.sliderBackground} ${percent}%)`;
130
+ }
131
+ if (this.sliderMode === 'dual') {
132
+ const percent1 = (this.refSliderLower.value / this.maximum) * 100;
133
+ const percent2 = (this.refSliderUpper.value / this.maximum) * 100;
134
+ this.refSliderTrack.style.background = `linear-gradient(to right, ${this.sliderBackground} ${percent1}% , ${this.activeSliderBackground} ${percent1}% , ${this.activeSliderBackground} ${percent2}%, ${this.sliderBackground} ${percent2}%)`;
135
+ }
136
+ }
137
+ renderValueInput(inputType, value) {
138
+ return (h("div", { class: 'input-wrapper' }, h("span", { class: 'input-pre-text' }, inputType[0].toUpperCase() + inputType.slice(1, inputType.length) + ':'), h("input", { type: 'number', class: 'value-input', value: value, ref: el => this.setValueInputRef(inputType, el), onInput: (event) => this.inputDebounce(inputType, event) })));
139
+ }
140
+ setValueInputRef(inputType, element) {
141
+ if (inputType === 'min')
142
+ this.refLowerInput = element;
143
+ if (inputType === 'max')
144
+ this.refUpperInput = element;
145
+ }
146
+ setTooltipPositions(sliderMoved) {
147
+ let timeoutRef;
148
+ let tooltipRef;
149
+ let percentage;
150
+ let styleElement;
151
+ if (sliderMoved === 'min') {
152
+ // single slider uses upper val but needs to build from left
153
+ const value = this.sliderMode === 'single' ? this.upperValue : this.lowerValue;
154
+ timeoutRef = this.minTooltipTimeout;
155
+ tooltipRef = this.refTooltipMin;
156
+ percentage = ((value - this.minimum) / (this.maximum - this.minimum)) * 100;
157
+ styleElement = 'left';
158
+ }
159
+ if (sliderMoved === 'max') {
160
+ timeoutRef = this.maxTooltipTimeout;
161
+ tooltipRef = this.refTooltipMax;
162
+ percentage = 100 - (((this.upperValue - this.minimum) / (this.maximum - this.minimum)) * 100);
163
+ styleElement = 'right';
164
+ }
165
+ // clear relevant timeout & set element expected % from right or left
166
+ clearTimeout(timeoutRef);
167
+ tooltipRef.style[styleElement] = `${percentage}%`;
168
+ tooltipRef.style.display = 'block';
169
+ timeoutRef = setTimeout(() => {
170
+ tooltipRef.style.display = 'none';
171
+ }, 1500);
172
+ }
173
+ onSingleSliderChange(event) {
174
+ const value = event.target.value;
175
+ this.upperValue = parseInt(value); // can only come from slider, no chance of being NaN
176
+ this.setTooltipPositions('min');
177
+ // notify user of updated slider values
178
+ this.emitValuesUpdatedEvent();
179
+ }
180
+ render() {
181
+ return (h("div", { class: 'wrapper' }, this.sliderMode === 'single' && (h(Fragment, null, h("div", { class: 'slider-container' }, h("div", { class: 'slider-track', ref: el => (this.refSliderTrack = el) }), h("span", { ref: el => (this.refTooltipMin = el), class: 'slider-tooltip' }, this.upperValue), h("input", { type: 'range', min: this.minimum, max: this.maximum, value: this.upperValue, ref: el => (this.refSliderSingle = el), onInput: this.onSingleSliderChange.bind(this) })))), this.sliderMode === 'dual' && (h(Fragment, null, this.showFields && (h("div", { class: 'values' }, this.renderValueInput('min', this.minimum), h("span", { class: 'range-divider' }, " to "), this.renderValueInput('max', this.maximum))), h("div", { class: `slider-container${this.showFields ? ' slider-container-with-fields' : ''}` }, h("div", { class: 'slider-track', ref: el => (this.refSliderTrack = el) }), h("span", { ref: el => (this.refTooltipMin = el), class: 'slider-tooltip' }, this.lowerValue), h("span", { ref: el => (this.refTooltipMax = el), class: 'slider-tooltip slider-tooltip-upper' }, this.upperValue), h("input", { type: 'range', min: this.minimum, max: this.maximum, value: this.lowerValue, ref: el => (this.refSliderLower = el), onInput: () => this.onMinSliderChange() }), h("input", { type: 'range', min: this.minimum, max: this.maximum, value: this.upperValue, ref: el => (this.refSliderUpper = el), onInput: () => this.onMaxSliderChange() }))))));
182
+ }
183
+ };
184
+ TttxRangeSlider.style = tttxRangeSliderCss;
185
+
186
+ export { TttxRangeSlider as tttx_range_slider_1_9_71 };
@@ -104,7 +104,7 @@ const TttxSelectBox = class {
104
104
  let title;
105
105
  let subtitle;
106
106
  const chevronIcon = this.open ? 'expand_less' : 'expand_more';
107
- const icon = h("tttx-icon_1_9_69", { icon: chevronIcon, color: "black" });
107
+ const icon = h("tttx-icon_1_9_71", { icon: chevronIcon, color: "black" });
108
108
  let chevron = h("div", { class: "dropdown-selector-chevron" }, icon);
109
109
  if (!this.selectedItem) {
110
110
  title = h("div", { class: "placeholder" }, this.placeholder);
@@ -121,7 +121,7 @@ const TttxSelectBox = class {
121
121
  chevron = h("div", { class: "dropdown-selector-chevron-offset" }, icon);
122
122
  }
123
123
  return (h(Fragment, null, h("div", { class: "left-wrapper" }, title, subtitle), this.clearable && !this.readOnly &&
124
- h("tttx-icon_1_9_69", { class: "input-icon", style: { paddingTop: '5px', cursor: 'pointer' }, icon: 'close_small', onClick: this.cleanSelectedItem.bind(this) }), chevron));
124
+ h("tttx-icon_1_9_71", { class: "input-icon", style: { paddingTop: '5px', cursor: 'pointer' }, icon: 'close_small', onClick: this.cleanSelectedItem.bind(this) }), chevron));
125
125
  }
126
126
  }
127
127
  renderDropdownOptions(options) {
@@ -144,9 +144,9 @@ const TttxSelectBox = class {
144
144
  }
145
145
  // render priority options at the top of the dropdown list
146
146
  return (h(Fragment, null, usingPriority && priorityOptions.length > 0 &&
147
- h(Fragment, null, h("tttx-tag_1_9_69", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
147
+ h(Fragment, null, h("tttx-tag_1_9_71", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
148
148
  h(Fragment, null, usingPriority &&
149
- h("tttx-tag_1_9_69", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
149
+ h("tttx-tag_1_9_71", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
150
150
  }
151
151
  dropdownOption(option) {
152
152
  const selected = this.selectedItem && option.value === this.selectedItem.value;
@@ -233,7 +233,7 @@ const TttxSelectBox = class {
233
233
  return;
234
234
  const invalidClass = this.showErrorMsg ? 'invalid' : '';
235
235
  const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
236
- return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: ['dropdown-selector', invalidClass, readOnlyClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (h("div", { class: "searchbox" }, h("tttx-standalone-input_1_9_69", { type: "text", label: "", required: true, showerrorbubble: false, iconleft: "search", onInput: this.handleSearchInput.bind(this) }))), h("div", { class: "dropdown-options-list", onScroll: this.onSelectScroll.bind(this) }, !this.isLoading && (this.renderDropdownOptions(this._optionsData)), (this.isLoading || this.loadingNextExternalPage) && (h("tttx-loading-spinner_1_9_69", { class: 'loading-style' })))))), this.showErrorBubble && (h("span", { class: ['errorBubble', this.showErrorMsg && this.errorMsg ? 'visible' : ''].join(' ') }, h("tttx-icon_1_9_69", { icon: "warning", color: "#dc0000", size: 16 }), " ", this.errorMsg)))));
236
+ return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: ['dropdown-selector', invalidClass, readOnlyClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (h("div", { class: "searchbox" }, h("tttx-standalone-input_1_9_71", { type: "text", label: "", required: true, showerrorbubble: false, iconleft: "search", onInput: this.handleSearchInput.bind(this) }))), h("div", { class: "dropdown-options-list", onScroll: this.onSelectScroll.bind(this) }, !this.isLoading && (this.renderDropdownOptions(this._optionsData)), (this.isLoading || this.loadingNextExternalPage) && (h("tttx-loading-spinner_1_9_71", { class: 'loading-style' })))))), this.showErrorBubble && (h("span", { class: ['errorBubble', this.showErrorMsg && this.errorMsg ? 'visible' : ''].join(' ') }, h("tttx-icon_1_9_71", { icon: "warning", color: "#dc0000", size: 16 }), " ", this.errorMsg)))));
237
237
  }
238
238
  get el() { return getElement(this); }
239
239
  static get watchers() { return {
@@ -243,4 +243,4 @@ const TttxSelectBox = class {
243
243
  };
244
244
  TttxSelectBox.style = tttxSelectBoxCss;
245
245
 
246
- export { TttxSelectBox as tttx_select_box_1_9_69 };
246
+ export { TttxSelectBox as tttx_select_box_1_9_71 };
@@ -33,4 +33,4 @@ const TttxSkeletonLoader = class {
33
33
  };
34
34
  TttxSkeletonLoader.style = tttxSkeletonLoaderCss;
35
35
 
36
- export { TttxSkeletonLoader as tttx_skeleton_loader_1_9_69 };
36
+ export { TttxSkeletonLoader as tttx_skeleton_loader_1_9_71 };
@@ -54,4 +54,4 @@ const TttxTable = class {
54
54
  };
55
55
  TttxTable.style = tttxTableCss;
56
56
 
57
- export { TttxTable as tttx_table_1_9_69 };
57
+ export { TttxTable as tttx_table_1_9_71 };
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-9
2
2
  import { p as purify, d as domSanitiserOptions } from './domsanitiser.options-38a67458.js';
3
3
  import './_commonjsHelpers-9943807e.js';
4
4
 
5
- const tttxTabsCss = ".material-symbols-rounded.sc-tttx-tabs_1_9_69{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-tabs_1_9_69-h{display:block}.tab-bar.sc-tttx-tabs_1_9_69{display:flex;height:52px}.tab-bar.sc-tttx-tabs_1_9_69>.left-navigation.sc-tttx-tabs_1_9_69,.tab-bar.sc-tttx-tabs_1_9_69>.right-navigation.sc-tttx-tabs_1_9_69{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_69>.left-navigation.sc-tttx-tabs_1_9_69>*.sc-tttx-tabs_1_9_69,.tab-bar.sc-tttx-tabs_1_9_69>.right-navigation.sc-tttx-tabs_1_9_69>*.sc-tttx-tabs_1_9_69{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_69>.tabs-container.sc-tttx-tabs_1_9_69{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs_1_9_69>.tabs-container.wide.sc-tttx-tabs_1_9_69{flex-grow:1}.tab-bar.sc-tttx-tabs_1_9_69>.tabs-container.sc-tttx-tabs_1_9_69>*[role=tab].sc-tttx-tabs_1_9_69{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_69>.tabs-container.sc-tttx-tabs_1_9_69>*[role=tab].sc-tttx-tabs_1_9_69:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs_1_9_69>.tabs-container.sc-tttx-tabs_1_9_69>*[role=tab][aria-selected].sc-tttx-tabs_1_9_69{color:#212121;cursor:default;border-bottom:3px solid #1579c6}";
5
+ const tttxTabsCss = ".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}";
6
6
 
7
7
  const TttxTabs = class {
8
8
  constructor(hostRef) {
@@ -79,7 +79,7 @@ const TttxTabs = class {
79
79
  }
80
80
  generateTab(tab) {
81
81
  var _a, _b;
82
- const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (h("tttx-icon_1_9_69", { style: { pointerEvents: 'none', marginTop: '-2px' }, icon: tab.tabIcon, color: 'gray', size: (_b = tab.tabIconSize) !== null && _b !== void 0 ? _b : 24 }));
82
+ const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (h("tttx-icon_1_9_71", { style: { pointerEvents: 'none', marginTop: '-2px' }, icon: tab.tabIcon, color: 'gray', size: (_b = tab.tabIconSize) !== null && _b !== void 0 ? _b : 24 }));
83
83
  return (h("a", { key: tab.id, id: tab.id, role: "tab", "aria-controls": tab.controls, tabindex: tab.tabIndex, "aria-selected": tab.selected, onClick: () => {
84
84
  this.handleTabClick(tab);
85
85
  } }, tabTitle));
@@ -98,7 +98,7 @@ const TttxTabs = class {
98
98
  return;
99
99
  }
100
100
  const selectedTab = this._tabs.find(tab => tab.selected);
101
- return (h(Host, null, h("div", null, h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, h("tttx-icon_1_9_69", { icon: "navigate_before", color: "black" }))), h("div", { class: 'tabs-container' + (this.wide ? ' wide' : '') }, this._tabs.map(this.generateTab.bind(this))), this.navigation && (h("div", { class: "right-navigation", tabindex: "0", onClick: this.handleRightNavigation.bind(this) }, h("tttx-icon_1_9_69", { icon: "navigate_next", color: "black" })))), selectedTab && this.renderSelectedTab(selectedTab))));
101
+ return (h(Host, null, h("div", null, h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, h("tttx-icon_1_9_71", { icon: "navigate_before", color: "black" }))), h("div", { class: 'tabs-container' + (this.wide ? ' wide' : '') }, this._tabs.map(this.generateTab.bind(this))), this.navigation && (h("div", { class: "right-navigation", tabindex: "0", onClick: this.handleRightNavigation.bind(this) }, h("tttx-icon_1_9_71", { icon: "navigate_next", color: "black" })))), selectedTab && this.renderSelectedTab(selectedTab))));
102
102
  }
103
103
  static get watchers() { return {
104
104
  "tabs": ["onDataChange"]
@@ -106,4 +106,4 @@ const TttxTabs = class {
106
106
  };
107
107
  TttxTabs.style = tttxTabsCss;
108
108
 
109
- export { TttxTabs as tttx_tabs_1_9_69 };
109
+ export { TttxTabs as tttx_tabs_1_9_71 };
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-9f3e16ad.js';
2
2
 
3
- const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea_1_9_69{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_1_9_69-h{display:block}label.sc-tttx-textarea_1_9_69{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_9_69 .textarea-container.sc-tttx-textarea_1_9_69{position:relative}label.sc-tttx-textarea_1_9_69 .textarea-container.sc-tttx-textarea_1_9_69 textarea.sc-tttx-textarea_1_9_69{font-family:\"Roboto\", serif;box-sizing:border-box;width:100%;padding:9px 16px;font-size:16px;line-height:18.752px;border:1px solid #d5d5d5;border-radius:4px;margin-top:8px;resize:none}label.sc-tttx-textarea_1_9_69 .textarea-container.sc-tttx-textarea_1_9_69 textarea.no-label.sc-tttx-textarea_1_9_69{margin-top:0}label.sc-tttx-textarea_1_9_69 .textarea-container.sc-tttx-textarea_1_9_69 textarea.sc-tttx-textarea_1_9_69~.errorBubble.sc-tttx-textarea_1_9_69{font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label.sc-tttx-textarea_1_9_69 .textarea-container.sc-tttx-textarea_1_9_69 textarea.sc-tttx-textarea_1_9_69~.errorBubble.sc-tttx-textarea_1_9_69:not(.visible){display:none}label.sc-tttx-textarea_1_9_69 .textarea-container.sc-tttx-textarea_1_9_69 textarea.sc-tttx-textarea_1_9_69~.errorBubble.sc-tttx-textarea_1_9_69 span.sc-tttx-textarea_1_9_69{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_9_69 .textarea-container.sc-tttx-textarea_1_9_69 textarea.sc-tttx-textarea_1_9_69:focus{border-color:#1479c6}label.sc-tttx-textarea_1_9_69 .textarea-container.sc-tttx-textarea_1_9_69 textarea.sc-tttx-textarea_1_9_69:focus-visible{outline:none}label.sc-tttx-textarea_1_9_69 .secondarylabel.sc-tttx-textarea_1_9_69{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_9_69 .optional.sc-tttx-textarea_1_9_69{color:#757575;font-weight:normal}";
3
+ const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea_1_9_71{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_1_9_71-h{display:block}label.sc-tttx-textarea_1_9_71{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_9_71 .textarea-container.sc-tttx-textarea_1_9_71{position:relative}label.sc-tttx-textarea_1_9_71 .textarea-container.sc-tttx-textarea_1_9_71 textarea.sc-tttx-textarea_1_9_71{font-family:\"Roboto\", serif;box-sizing:border-box;width:100%;padding:9px 16px;font-size:16px;line-height:18.752px;border:1px solid #d5d5d5;border-radius:4px;margin-top:8px;resize:none}label.sc-tttx-textarea_1_9_71 .textarea-container.sc-tttx-textarea_1_9_71 textarea.no-label.sc-tttx-textarea_1_9_71{margin-top:0}label.sc-tttx-textarea_1_9_71 .textarea-container.sc-tttx-textarea_1_9_71 textarea.sc-tttx-textarea_1_9_71~.errorBubble.sc-tttx-textarea_1_9_71{font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label.sc-tttx-textarea_1_9_71 .textarea-container.sc-tttx-textarea_1_9_71 textarea.sc-tttx-textarea_1_9_71~.errorBubble.sc-tttx-textarea_1_9_71:not(.visible){display:none}label.sc-tttx-textarea_1_9_71 .textarea-container.sc-tttx-textarea_1_9_71 textarea.sc-tttx-textarea_1_9_71~.errorBubble.sc-tttx-textarea_1_9_71 span.sc-tttx-textarea_1_9_71{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_9_71 .textarea-container.sc-tttx-textarea_1_9_71 textarea.sc-tttx-textarea_1_9_71:focus{border-color:#1479c6}label.sc-tttx-textarea_1_9_71 .textarea-container.sc-tttx-textarea_1_9_71 textarea.sc-tttx-textarea_1_9_71:focus-visible{outline:none}label.sc-tttx-textarea_1_9_71 .secondarylabel.sc-tttx-textarea_1_9_71{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_9_71 .optional.sc-tttx-textarea_1_9_71{color:#757575;font-weight:normal}";
4
4
 
5
5
  const TttxTextarea = class {
6
6
  constructor(hostRef) {
@@ -52,4 +52,4 @@ const TttxTextarea = class {
52
52
  };
53
53
  TttxTextarea.style = tttxTextareaCss;
54
54
 
55
- export { TttxTextarea as tttx_textarea_1_9_69 };
55
+ export { TttxTextarea as tttx_textarea_1_9_71 };
@@ -33,4 +33,4 @@ const TttxToggle = class {
33
33
  };
34
34
  TttxToggle.style = tttxToggleCss;
35
35
 
36
- export { TttxToggle as tttx_toggle_1_9_69 };
36
+ export { TttxToggle as tttx_toggle_1_9_71 };
@@ -54,4 +54,4 @@ const TttxTooltip = class {
54
54
  };
55
55
  TttxTooltip.style = tttxTooltipCss;
56
56
 
57
- export { TttxTooltip as tttx_tooltip_1_9_69 };
57
+ export { TttxTooltip as tttx_tooltip_1_9_71 };
@@ -175,7 +175,7 @@ const TttxTreeView = class {
175
175
  if (node.hasHover) {
176
176
  this.onClickHandler(event, node);
177
177
  }
178
- } }), h("tttx-button_1_9_69", { 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) => {
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
179
  return this.renderNode(childNode, index, node.id);
180
180
  })))) : null));
181
181
  }
@@ -188,7 +188,7 @@ const TttxTreeView = class {
188
188
  }
189
189
  }
190
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_69", { 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_69", { 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) })));
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
192
  return htmlcode;
193
193
  }
194
194
  render() {
@@ -200,4 +200,4 @@ const TttxTreeView = class {
200
200
  };
201
201
  TttxTreeView.style = tttxTreeViewCss;
202
202
 
203
- export { TttxTreeView as tttx_tree_view_1_9_69 };
203
+ export { TttxTreeView as tttx_tree_view_1_9_71 };
package/dist/esm/tttx.js CHANGED
@@ -14,5 +14,5 @@ const patchBrowser = () => {
14
14
  };
15
15
 
16
16
  patchBrowser().then(options => {
17
- return bootstrapLazy([["tttx-data-pattern_1_9_69",[[1,"tttx-data-pattern_1_9_69",{"data":[1],"sorterOptions":[1,"sorter-options"],"filterOptions":[1,"filter-options"],"filterHeader":[1,"filter-header"],"defaultSortOption":[1,"default-sort-option"],"searchplaceholder":[1],"addbuttonlabel":[1],"addbutton":[4]}]]],["tttx-form_1_9_69",[[1,"tttx-form_1_9_69",{"formschema":[1025],"data":[1032],"submit":[64],"showLoadingSpinner":[64],"setSelectedItem":[64],"setSelectOptions":[64],"isValid":[64],"setValidationFor":[64],"clearValidationFor":[64],"disableFormField":[64],"enableFormField":[64],"setInputFieldValue":[64],"setFieldReadOnlyMode":[64]}]]],["tttx-multiselect-box_1_9_69",[[1,"tttx-multiselect-box_1_9_69",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"htmlVisibleValue":[4,"html-visible-value"],"visibleValue":[1,"visible-value"],"isLoading":[4,"is-loading"],"stopLocalSearch":[4,"stop-local-search"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"open":[32],"unsavedSelectedItems":[32],"searchTerm":[32]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-chart_1_9_69",[[1,"tttx-chart_1_9_69",{"chartType":[1,"chart-type"],"chartData":[16],"chartOptions":[16],"loading":[4],"error":[4],"fallbackText":[1,"fallback-text"],"width":[1],"height":[1],"isYAxisPercentageValues":[4,"is-y-axis-percentage-values"],"exportable":[32],"chartInstance":[32],"showPngSvgExport":[32]}]]],["tttx-datacard_1_9_69",[[1,"tttx-datacard_1_9_69",{"cardTitle":[1,"card-title"],"leftData":[1,"left-data"],"rightData":[1,"right-data"],"rightSubtext":[1,"right-subtext"],"iconStyle":[1,"icon-style"],"cardType":[1,"card-type"],"chartConfig":[1,"chart-config"],"_chartConfig":[32],"chartRender":[32]}]]],["tttx-dialog-box_1_9_69",[[1,"tttx-dialog-box_1_9_69",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_69",[[1,"tttx-dialog_1_9_69",{"header":[1],"type":[1],"size":[1],"open":[4],"allowOverflow":[4,"allow-overflow"],"closeEnabled":[4,"close-enabled"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-tree-view_1_9_69",[[1,"tttx-tree-view_1_9_69",{"data":[1040],"treeData":[32]}]]],["tttx-action-dropdown_1_9_69",[[1,"tttx-action-dropdown_1_9_69",{"actionKey":[1,"action-key"],"icon":[1],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"isIconVisible":[4,"is-icon-visible"],"selectedField":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeActionDropdown","handleCloseActionDropdown"]]]]],["tttx-button-v2_1_9_69",[[1,"tttx-button-v2_1_9_69",{"notext":[4],"icon":[1],"label":[1],"iconcolor":[1025],"iconposition":[1],"iconStart":[1,"icon-start"],"iconEnd":[1,"icon-end"],"design":[1],"disabled":[516],"type":[1],"href":[1],"options":[1],"size":[1],"dropdownOpen":[32],"dropdownDirection":[32]},[[4,"click","handleClickOutside"]]]]],["tttx-checkbox_1_9_69",[[0,"tttx-checkbox_1_9_69",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_69",[[1,"tttx-comments_1_9_69",{"currentuser":[1],"comments":[1],"disableFile":[4,"disable-file"],"messageLimit":[2,"message-limit"],"inputBoxHeight":[2,"input-box-height"],"placeholder":[1],"saveButtonText":[1,"save-button-text"],"value":[1],"allowEditing":[4,"allow-editing"],"readonly":[4],"_comments":[32],"showError":[32],"_saveButtonText":[32],"editingComment":[32],"addDummyComment":[64]}]]],["tttx-date-range-picker",[[1,"tttx-date-range-picker",{"initialValue":[16],"placeholderText":[1,"placeholder-text"],"showCalendar":[32],"startDate":[32],"endDate":[32],"currentMonth":[32],"currentYear":[32],"isSelecting":[32],"hoverDate":[32]}]]],["tttx-expander_1_9_69",[[1,"tttx-expander_1_9_69",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_69",[[2,"tttx-tabs_1_9_69",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_69",[[4,"tttx-checkbox-group-caption_1_9_69"]]],["tttx-checkbox-group-heading_1_9_69",[[4,"tttx-checkbox-group-heading_1_9_69"]]],["tttx-checkbox-group_1_9_69",[[1,"tttx-checkbox-group_1_9_69"]]],["tttx-keyvalue-block_1_9_69",[[1,"tttx-keyvalue-block_1_9_69",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_69",[[2,"tttx-percentage-bar_1_9_69",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_69",[[1,"tttx-qrcode_1_9_69",{"link":[1025],"size":[1026]}]]],["tttx-skeleton_loader_1_9_69",[[1,"tttx-skeleton_loader_1_9_69",{"width":[1],"height":[1],"borderRadius":[1,"border-radius"],"color":[1],"variant":[1],"animation":[1],"count":[2],"direction":[1],"gap":[1],"customClass":[1,"custom-class"]}]]],["tttx-table_1_9_69",[[1,"tttx-table_1_9_69",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_69",[[2,"tttx-textarea_1_9_69",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"rows":[2],"textareaautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"disabled":[4],"maxlength":[8],"name":[1],"placeholder":[1],"readonly":[8],"required":[4],"value":[1032]}]]],["tttx-toggle_1_9_69",[[1,"tttx-toggle_1_9_69",{"initialstate":[8],"_state":[32]}]]],["tttx-tooltip_1_9_69",[[1,"tttx-tooltip_1_9_69",{"text":[1],"placement":[1],"trigger":[16],"delay":[2],"disabled":[4],"ariaLabel":[1,"aria-label"],"visible":[32]}]]],["tttx-icon_1_9_69",[[1,"tttx-icon_1_9_69",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-loading-spinner_1_9_69_3",[[1,"tttx-tag_1_9_69",{"text":[1],"color":[1],"textColor":[1,"text-color"],"hasIcon":[4,"has-icon"],"icon":[1],"iconColor":[1,"icon-color"],"iconSize":[2,"icon-size"]}],[2,"tttx-standalone-input_1_9_69",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconleftcolor":[1],"iconright":[1],"iconrightcolor":[1],"inputicon":[1],"inputiconcolor":[1],"inline":[4],"inputautocapitalize":[1],"inputautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}],[1,"tttx-loading-spinner_1_9_69",{"loadingMessage":[4,"loading-message"],"size":[1],"color":[1],"message":[1],"customMessageSchema":[16],"timeElapsed":[32]}]]],["tttx-select-box_1_9_69",[[1,"tttx-select-box_1_9_69",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"useExternalFiltering":[4,"use-external-filtering"],"useExternalPaginatedFiltering":[4,"use-external-paginated-filtering"],"isAllExternalDataLoaded":[4,"is-all-external-data-loaded"],"isLoading":[4,"is-loading"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"clearable":[4],"showErrorMsg":[4,"show-error-msg"],"showErrorBubble":[4,"show-error-bubble"],"errorMsg":[1,"error-msg"],"open":[32],"selectedItem":[32],"searchTerm":[32],"loadingNextExternalPage":[32],"setSelectedItem":[64]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-graph_1_9_69",[[1,"tttx-graph_1_9_69",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-filter_1_9_69_4",[[1,"tttx-filter_1_9_69",{"filterKey":[1,"filter-key"],"filterOptions":[1,"filter-options"],"showSelectAll":[4,"show-select-all"],"showSearchField":[4,"show-search-field"],"showOptionIcons":[4,"show-option-icons"],"filterButtonStyle":[1,"filter-button-style"],"filterHeader":[1,"filter-header"],"defaultFilterOptions":[1,"default-filter-options"],"popoverWidth":[1,"popover-width"],"showPopover":[32],"displayedFilterSettings":[32],"selectedFilters":[32],"filterSearchTerm":[32],"allSelected":[32]},[[0,"closeFilter","handleCloseFilter"]]],[1,"tttx-list_1_9_69",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_69",{"sorterKey":[1,"sorter-key"],"defaultSortDirection":[1,"default-sort-direction"],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"selectedField":[32],"sortDirection":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeSorter","handleCloseSorter"]]],[1,"tttx-toolbar_1_9_69",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-button_1_9_69",[[1,"tttx-button_1_9_69",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
17
+ return bootstrapLazy([["tttx-data-pattern_1_9_71",[[1,"tttx-data-pattern_1_9_71",{"data":[1],"sorterOptions":[1,"sorter-options"],"filterOptions":[1,"filter-options"],"filterHeader":[1,"filter-header"],"defaultSortOption":[1,"default-sort-option"],"searchplaceholder":[1],"addbuttonlabel":[1],"addbutton":[4]}]]],["tttx-form_1_9_71",[[1,"tttx-form_1_9_71",{"formschema":[1025],"data":[1032],"submit":[64],"showLoadingSpinner":[64],"setSelectedItem":[64],"setSelectOptions":[64],"isValid":[64],"setValidationFor":[64],"clearValidationFor":[64],"disableFormField":[64],"enableFormField":[64],"setInputFieldValue":[64],"setFieldReadOnlyMode":[64]}]]],["tttx-multiselect-box_1_9_71",[[1,"tttx-multiselect-box_1_9_71",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"htmlVisibleValue":[4,"html-visible-value"],"visibleValue":[1,"visible-value"],"isLoading":[4,"is-loading"],"stopLocalSearch":[4,"stop-local-search"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"open":[32],"unsavedSelectedItems":[32],"searchTerm":[32]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-chart_1_9_71",[[1,"tttx-chart_1_9_71",{"chartType":[1,"chart-type"],"chartData":[16],"chartOptions":[16],"loading":[4],"error":[4],"fallbackText":[1,"fallback-text"],"width":[1],"height":[1],"isYAxisPercentageValues":[4,"is-y-axis-percentage-values"],"exportable":[32],"chartInstance":[32],"showPngSvgExport":[32]}]]],["tttx-datacard_1_9_71",[[1,"tttx-datacard_1_9_71",{"cardTitle":[1,"card-title"],"leftData":[1,"left-data"],"rightData":[1,"right-data"],"rightSubtext":[1,"right-subtext"],"iconStyle":[1,"icon-style"],"cardType":[1,"card-type"],"chartConfig":[1,"chart-config"],"_chartConfig":[32],"chartRender":[32]}]]],["tttx-dialog-box_1_9_71",[[1,"tttx-dialog-box_1_9_71",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_71",[[1,"tttx-dialog_1_9_71",{"header":[1],"type":[1],"size":[1],"open":[4],"allowOverflow":[4,"allow-overflow"],"closeEnabled":[4,"close-enabled"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-tree-view_1_9_71",[[1,"tttx-tree-view_1_9_71",{"data":[1040],"treeData":[32]}]]],["tttx-action-dropdown_1_9_71",[[1,"tttx-action-dropdown_1_9_71",{"actionKey":[1,"action-key"],"icon":[1],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"isIconVisible":[4,"is-icon-visible"],"selectedField":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeActionDropdown","handleCloseActionDropdown"]]]]],["tttx-button-v2_1_9_71",[[1,"tttx-button-v2_1_9_71",{"notext":[4],"icon":[1],"label":[1],"iconcolor":[1025],"iconposition":[1],"iconStart":[1,"icon-start"],"iconEnd":[1,"icon-end"],"design":[1],"disabled":[516],"type":[1],"href":[1],"options":[1],"size":[1],"dropdownOpen":[32],"dropdownDirection":[32]},[[4,"click","handleClickOutside"]]]]],["tttx-checkbox_1_9_71",[[0,"tttx-checkbox_1_9_71",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_71",[[1,"tttx-comments_1_9_71",{"currentuser":[1],"comments":[1],"disableFile":[4,"disable-file"],"messageLimit":[2,"message-limit"],"inputBoxHeight":[2,"input-box-height"],"placeholder":[1],"saveButtonText":[1,"save-button-text"],"value":[1],"allowEditing":[4,"allow-editing"],"readonly":[4],"_comments":[32],"showError":[32],"_saveButtonText":[32],"editingComment":[32],"addDummyComment":[64]}]]],["tttx-date-range-picker",[[1,"tttx-date-range-picker",{"initialValue":[16],"placeholderText":[1,"placeholder-text"],"showCalendar":[32],"startDate":[32],"endDate":[32],"currentMonth":[32],"currentYear":[32],"isSelecting":[32],"hoverDate":[32]}]]],["tttx-expander_1_9_71",[[1,"tttx-expander_1_9_71",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_71",[[2,"tttx-tabs_1_9_71",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_71",[[4,"tttx-checkbox-group-caption_1_9_71"]]],["tttx-checkbox-group-heading_1_9_71",[[4,"tttx-checkbox-group-heading_1_9_71"]]],["tttx-checkbox-group_1_9_71",[[1,"tttx-checkbox-group_1_9_71"]]],["tttx-keyvalue-block_1_9_71",[[1,"tttx-keyvalue-block_1_9_71",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_71",[[2,"tttx-percentage-bar_1_9_71",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_71",[[1,"tttx-qrcode_1_9_71",{"link":[1025],"size":[1026]}]]],["tttx-range-slider_1_9_71",[[1,"tttx-range-slider_1_9_71",{"minimum":[2],"maximum":[2],"sliderMode":[1,"slider-mode"],"showFields":[4,"show-fields"],"lowerValue":[32],"upperValue":[32]},[[0,"setSliderValues","onSetSliderValues"]]]]],["tttx-skeleton_loader_1_9_71",[[1,"tttx-skeleton_loader_1_9_71",{"width":[1],"height":[1],"borderRadius":[1,"border-radius"],"color":[1],"variant":[1],"animation":[1],"count":[2],"direction":[1],"gap":[1],"customClass":[1,"custom-class"]}]]],["tttx-table_1_9_71",[[1,"tttx-table_1_9_71",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_71",[[2,"tttx-textarea_1_9_71",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"rows":[2],"textareaautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"disabled":[4],"maxlength":[8],"name":[1],"placeholder":[1],"readonly":[8],"required":[4],"value":[1032]}]]],["tttx-toggle_1_9_71",[[1,"tttx-toggle_1_9_71",{"initialstate":[8],"_state":[32]}]]],["tttx-tooltip_1_9_71",[[1,"tttx-tooltip_1_9_71",{"text":[1],"placement":[1],"trigger":[16],"delay":[2],"disabled":[4],"ariaLabel":[1,"aria-label"],"visible":[32]}]]],["tttx-icon_1_9_71",[[1,"tttx-icon_1_9_71",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-button_1_9_71",[[1,"tttx-button_1_9_71",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]],["tttx-loading-spinner_1_9_71_3",[[1,"tttx-tag_1_9_71",{"text":[1],"color":[1],"textColor":[1,"text-color"],"hasIcon":[4,"has-icon"],"icon":[1],"iconColor":[1,"icon-color"],"iconSize":[2,"icon-size"]}],[2,"tttx-standalone-input_1_9_71",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconleftcolor":[1],"iconright":[1],"iconrightcolor":[1],"inputicon":[1],"inputiconcolor":[1],"inline":[4],"inputautocapitalize":[1],"inputautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}],[1,"tttx-loading-spinner_1_9_71",{"loadingMessage":[4,"loading-message"],"size":[1],"color":[1],"message":[1],"customMessageSchema":[16],"timeElapsed":[32]}]]],["tttx-select-box_1_9_71",[[1,"tttx-select-box_1_9_71",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"useExternalFiltering":[4,"use-external-filtering"],"useExternalPaginatedFiltering":[4,"use-external-paginated-filtering"],"isAllExternalDataLoaded":[4,"is-all-external-data-loaded"],"isLoading":[4,"is-loading"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"clearable":[4],"showErrorMsg":[4,"show-error-msg"],"showErrorBubble":[4,"show-error-bubble"],"errorMsg":[1,"error-msg"],"open":[32],"selectedItem":[32],"searchTerm":[32],"loadingNextExternalPage":[32],"setSelectedItem":[64]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-graph_1_9_71",[[1,"tttx-graph_1_9_71",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-filter_1_9_71_4",[[1,"tttx-filter_1_9_71",{"filterKey":[1,"filter-key"],"filterOptions":[1,"filter-options"],"showSelectAll":[4,"show-select-all"],"showSearchField":[4,"show-search-field"],"showOptionIcons":[4,"show-option-icons"],"filterButtonStyle":[1,"filter-button-style"],"filterHeader":[1,"filter-header"],"defaultFilterOptions":[1,"default-filter-options"],"popoverWidth":[1,"popover-width"],"showPopover":[32],"displayedFilterSettings":[32],"selectedFilters":[32],"filterSearchTerm":[32],"allSelected":[32]},[[0,"closeFilter","handleCloseFilter"]]],[1,"tttx-list_1_9_71",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_71",{"sorterKey":[1,"sorter-key"],"defaultSortDirection":[1,"default-sort-direction"],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"selectedField":[32],"sortDirection":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeSorter","handleCloseSorter"]]],[1,"tttx-toolbar_1_9_71",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]]], options);
18
18
  });
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as l}from"./p-5c9beaf9.js";import{p as s,d as o}from"./p-55799798.js";import"./p-112455b1.js";const h=class{constructor(i){t(this,i),this.rowClicked=e(this,"rowClicked",7),this.headerClicked=e(this,"headerClicked",7),this.headerOrderChanged=e(this,"headerOrderChanged",7),this.headers=[],this.data=[],this.selectable=!1,this.loading=!1,this.selected=-1,this.draggableHeaders=!1,this.draggedHeaderIndex=null}rowClickedHandler(t){this.rowClicked.emit(t),this.selectable&&(this.selected=this.data.findIndex((e=>e===t)))}headerClickedHandler(t){this.headerClicked.emit(t)}handleDragStart(t){this.draggedHeaderIndex=t}handleDragOver(t){t.preventDefault()}handleDrop(t){if(null!==this.draggedHeaderIndex&&this.draggedHeaderIndex!==t){const e=[...this.headers],i=e[this.draggedHeaderIndex];e.splice(this.draggedHeaderIndex,1),e.splice(t,0,i),console.log("newOrder",e),this.headerOrderChanged.emit(e.map((t=>t.key)))}this.draggedHeaderIndex=null}render(){return i(l,null,i("div",{style:{width:"100%",overflowX:"auto"}},i("table",null,i("colgroup",null,this.headers&&this.headers.map((t=>i("col",{style:{width:t.width?`${t.width}`:"auto"}})))),i("thead",null,i("tr",null,this.loading?[1,2,3].map((t=>i("th",{key:"skeleton-header-"+t},i("div",{class:"skeleton"})))):this.headers&&this.headers.map(((t,e)=>i("th",{key:"header-"+t.key,class:"header-typography",onClick:()=>this.headerClickedHandler(t),innerHTML:s.sanitize(t.label,o),draggable:this.draggableHeaders,onDragStart:this.draggableHeaders?()=>this.handleDragStart(e):void 0,onDragOver:this.draggableHeaders?t=>this.handleDragOver(t):void 0,onDrop:this.draggableHeaders?()=>this.handleDrop(e):void 0}))))),i("tbody",null,this.loading?[1,2,3].map((t=>i("tr",{key:"skeleton-row-"+t},[1,2,3].map((t=>i("td",{key:"skeleton-cell-"+t},i("div",{class:"skeleton"}))))))):Object.keys(this.data).map(((t,e)=>i("tr",{key:"row-"+e,class:(this.selectable?"clickable":"")+(e===this.selected&&this.selectable?" selected":""),onClick:()=>this.rowClickedHandler(this.data[t])},this.headers.map((e=>i("td",{key:"cell-"+e.key,class:"cell-typography"},i("div",{class:"cell-spacing",innerHTML:s.sanitize(this.data[t][e.key],o)})))))))))))}};h.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.skeleton{animation:skeleton-loading 1s linear infinite alternate;border-radius:4px;width:100%}@keyframes skeleton-loading{0%{background-color:#c2cfd6}100%{background-color:#f0f3f5}}:host{display:block}table{width:100%;border-collapse:collapse;table-layout:fixed;box-sizing:border-box;min-width:600px}thead tr{height:52px;background-color:#f0f0f0}thead tr td{text-align:left;padding-left:8px 16px;min-width:40px}tbody tr{height:52px}tr{border-bottom:1px solid #d5d5d5}.selected{background-color:#ebfbfc}td,th{text-align:left;padding:8px 16px;min-width:40px}.cell-spacing{display:flex;align-items:left}.skeleton{height:24px;display:block}.header-typography,.cell-typography{font-family:"Roboto", sans-serif;font-size:16px;font-style:normal;line-height:normal}.header-typography{font-weight:500;color:#757575}.cell-typography{font-weight:normal;color:#212121}.clickable{cursor:pointer}';export{h as tttx_table_1_9_69}
1
+ import{r as t,c as e,h as i,H as l}from"./p-5c9beaf9.js";import{p as s,d as o}from"./p-55799798.js";import"./p-112455b1.js";const h=class{constructor(i){t(this,i),this.rowClicked=e(this,"rowClicked",7),this.headerClicked=e(this,"headerClicked",7),this.headerOrderChanged=e(this,"headerOrderChanged",7),this.headers=[],this.data=[],this.selectable=!1,this.loading=!1,this.selected=-1,this.draggableHeaders=!1,this.draggedHeaderIndex=null}rowClickedHandler(t){this.rowClicked.emit(t),this.selectable&&(this.selected=this.data.findIndex((e=>e===t)))}headerClickedHandler(t){this.headerClicked.emit(t)}handleDragStart(t){this.draggedHeaderIndex=t}handleDragOver(t){t.preventDefault()}handleDrop(t){if(null!==this.draggedHeaderIndex&&this.draggedHeaderIndex!==t){const e=[...this.headers],i=e[this.draggedHeaderIndex];e.splice(this.draggedHeaderIndex,1),e.splice(t,0,i),console.log("newOrder",e),this.headerOrderChanged.emit(e.map((t=>t.key)))}this.draggedHeaderIndex=null}render(){return i(l,null,i("div",{style:{width:"100%",overflowX:"auto"}},i("table",null,i("colgroup",null,this.headers&&this.headers.map((t=>i("col",{style:{width:t.width?`${t.width}`:"auto"}})))),i("thead",null,i("tr",null,this.loading?[1,2,3].map((t=>i("th",{key:"skeleton-header-"+t},i("div",{class:"skeleton"})))):this.headers&&this.headers.map(((t,e)=>i("th",{key:"header-"+t.key,class:"header-typography",onClick:()=>this.headerClickedHandler(t),innerHTML:s.sanitize(t.label,o),draggable:this.draggableHeaders,onDragStart:this.draggableHeaders?()=>this.handleDragStart(e):void 0,onDragOver:this.draggableHeaders?t=>this.handleDragOver(t):void 0,onDrop:this.draggableHeaders?()=>this.handleDrop(e):void 0}))))),i("tbody",null,this.loading?[1,2,3].map((t=>i("tr",{key:"skeleton-row-"+t},[1,2,3].map((t=>i("td",{key:"skeleton-cell-"+t},i("div",{class:"skeleton"}))))))):Object.keys(this.data).map(((t,e)=>i("tr",{key:"row-"+e,class:(this.selectable?"clickable":"")+(e===this.selected&&this.selectable?" selected":""),onClick:()=>this.rowClickedHandler(this.data[t])},this.headers.map((e=>i("td",{key:"cell-"+e.key,class:"cell-typography"},i("div",{class:"cell-spacing",innerHTML:s.sanitize(this.data[t][e.key],o)})))))))))))}};h.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.skeleton{animation:skeleton-loading 1s linear infinite alternate;border-radius:4px;width:100%}@keyframes skeleton-loading{0%{background-color:#c2cfd6}100%{background-color:#f0f3f5}}:host{display:block}table{width:100%;border-collapse:collapse;table-layout:fixed;box-sizing:border-box;min-width:600px}thead tr{height:52px;background-color:#f0f0f0}thead tr td{text-align:left;padding-left:8px 16px;min-width:40px}tbody tr{height:52px}tr{border-bottom:1px solid #d5d5d5}.selected{background-color:#ebfbfc}td,th{text-align:left;padding:8px 16px;min-width:40px}.cell-spacing{display:flex;align-items:left}.skeleton{height:24px;display:block}.header-typography,.cell-typography{font-family:"Roboto", sans-serif;font-size:16px;font-style:normal;line-height:normal}.header-typography{font-weight:500;color:#757575}.cell-typography{font-weight:normal;color:#212121}.clickable{cursor:pointer}';export{h as tttx_table_1_9_71}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as e,F as s}from"./p-5c9beaf9.js";const n=class{constructor(e){t(this,e),this.sliderValuesUpdated=i(this,"sliderValuesUpdated",7),this.sliderBackground="#D5D5D5",this.activeSliderBackground="#1579C6",this.minGap=0,this.minimum=0,this.maximum=100,this.sliderMode="single",this.showFields=!1,this.lowerValue=void 0,this.upperValue=void 0}componentWillLoad(){["single","dual"].includes(this.sliderMode)||(this.sliderMode="single"),this.lowerValue=this.minimum,this.upperValue=this.maximum,this.showFields=this.showFields&&"dual"===this.sliderMode}componentDidRender(){this.setSliderColours()}emitValuesUpdatedEvent(){clearTimeout(this.emitValuesTimeout),this.emitValuesTimeout=setTimeout(((t,i)=>{this.sliderValuesUpdated.emit({lowerValue:t,upperValue:i})}),300,this.lowerValue,this.upperValue)}onSetSliderValues(t){let{lowerValue:i,upperValue:e}=t.detail;i<this.minimum&&(i=this.minimum),e>this.maximum&&(e=this.maximum),"single"===this.sliderMode&&(this.lowerValue=this.minimum,e<this.lowerValue&&(e=i),this.upperValue=e),"dual"===this.sliderMode&&(i>e&&(i=e),this.showFields&&(this.refLowerInput.value=i,this.refUpperInput.value=e),this.lowerValue=i,this.upperValue=e),this.emitValuesUpdatedEvent()}inputDebounce(t,i){clearTimeout(this.inputTimeout),this.inputTimeout=setTimeout(((t,i)=>{this.handleInputChange(t,i)}),300,t,i.target.value)}handleInputChange(t,i){const e=parseInt(i);if("min"===t){let t=e;(Number.isNaN(e)||t<this.minimum)&&(t=this.minimum),t>this.upperValue&&(t=this.upperValue),this.refLowerInput.value=t,this.lowerValue=t}if("max"===t){let t=e;(Number.isNaN(e)||t>this.maximum)&&(t=this.maximum),t<this.lowerValue&&(t=this.lowerValue),this.refUpperInput.value=t,this.upperValue=t}this.emitValuesUpdatedEvent()}onMinSliderChange(){parseInt(this.refSliderUpper.value)-parseInt(this.refSliderLower.value)<=this.minGap&&(this.refSliderLower.value=parseInt(this.refSliderUpper.value)-this.minGap),this.showFields&&(this.refLowerInput.value=this.refSliderLower.value),this.setSliderColours(),this.setTooltipPositions("min"),this.lowerValue=parseInt(this.refSliderLower.value),this.emitValuesUpdatedEvent()}onMaxSliderChange(){parseInt(this.refSliderUpper.value)-parseInt(this.refSliderLower.value)<=this.minGap&&(this.refSliderUpper.value=parseInt(this.refSliderLower.value)+this.minGap),this.showFields&&(this.refUpperInput.value=this.refSliderUpper.value),this.setSliderColours(),this.setTooltipPositions("max"),this.upperValue=parseInt(this.refSliderUpper.value),this.emitValuesUpdatedEvent()}setSliderColours(){if("single"===this.sliderMode){const t=this.refSliderSingle.value/this.maximum*100;this.refSliderTrack.style.background=`linear-gradient(to right, ${this.activeSliderBackground} ${t}% , ${this.sliderBackground} ${t}%)`}if("dual"===this.sliderMode){const t=this.refSliderLower.value/this.maximum*100,i=this.refSliderUpper.value/this.maximum*100;this.refSliderTrack.style.background=`linear-gradient(to right, ${this.sliderBackground} ${t}% , ${this.activeSliderBackground} ${t}% , ${this.activeSliderBackground} ${i}%, ${this.sliderBackground} ${i}%)`}}renderValueInput(t,i){return e("div",{class:"input-wrapper"},e("span",{class:"input-pre-text"},t[0].toUpperCase()+t.slice(1,t.length)+":"),e("input",{type:"number",class:"value-input",value:i,ref:i=>this.setValueInputRef(t,i),onInput:i=>this.inputDebounce(t,i)}))}setValueInputRef(t,i){"min"===t&&(this.refLowerInput=i),"max"===t&&(this.refUpperInput=i)}setTooltipPositions(t){let i,e,s,n;"min"===t&&(i=this.minTooltipTimeout,e=this.refTooltipMin,s=(("single"===this.sliderMode?this.upperValue:this.lowerValue)-this.minimum)/(this.maximum-this.minimum)*100,n="left"),"max"===t&&(i=this.maxTooltipTimeout,e=this.refTooltipMax,s=100-(this.upperValue-this.minimum)/(this.maximum-this.minimum)*100,n="right"),clearTimeout(i),e.style[n]=`${s}%`,e.style.display="block",i=setTimeout((()=>{e.style.display="none"}),1500)}onSingleSliderChange(t){this.upperValue=parseInt(t.target.value),this.setTooltipPositions("min"),this.emitValuesUpdatedEvent()}render(){return e("div",{class:"wrapper"},"single"===this.sliderMode&&e(s,null,e("div",{class:"slider-container"},e("div",{class:"slider-track",ref:t=>this.refSliderTrack=t}),e("span",{ref:t=>this.refTooltipMin=t,class:"slider-tooltip"},this.upperValue),e("input",{type:"range",min:this.minimum,max:this.maximum,value:this.upperValue,ref:t=>this.refSliderSingle=t,onInput:this.onSingleSliderChange.bind(this)}))),"dual"===this.sliderMode&&e(s,null,this.showFields&&e("div",{class:"values"},this.renderValueInput("min",this.minimum),e("span",{class:"range-divider"}," to "),this.renderValueInput("max",this.maximum)),e("div",{class:"slider-container"+(this.showFields?" slider-container-with-fields":"")},e("div",{class:"slider-track",ref:t=>this.refSliderTrack=t}),e("span",{ref:t=>this.refTooltipMin=t,class:"slider-tooltip"},this.lowerValue),e("span",{ref:t=>this.refTooltipMax=t,class:"slider-tooltip slider-tooltip-upper"},this.upperValue),e("input",{type:"range",min:this.minimum,max:this.maximum,value:this.lowerValue,ref:t=>this.refSliderLower=t,onInput:()=>this.onMinSliderChange()}),e("input",{type:"range",min:this.minimum,max:this.maximum,value:this.upperValue,ref:t=>this.refSliderUpper=t,onInput:()=>this.onMaxSliderChange()}))))}};n.style='.slider-container{position:relative;width:100%;height:50px;margin-top:10px}.slider-container-with-fields{margin-top:20px !important}input[type="range"]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;outline:none;position:absolute;margin:auto;top:0;bottom:0;background-color:transparent;pointer-events:none}.slider-track{width:100%;height:5px;position:absolute;margin:auto;top:0;bottom:0;border-radius:5px}input[type="range"]::-webkit-slider-runnable-track{-webkit-appearance:none;height:5px}input[type="range"]::-moz-range-track{-moz-appearance:none;height:5px}input[type="range"]::-ms-track{appearance:none;height:5px}input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;height:1.7em;width:1.7em;background-color:#1579C6;cursor:pointer;margin-top:-9px;pointer-events:auto;border-radius:50%;border:2px solid white}input[type="range"]::-moz-range-thumb{-webkit-appearance:none;height:1.7em;width:1.7em;cursor:pointer;border-radius:50%;border:2px solid white;background-color:#1579C6;pointer-events:auto}input[type="range"]::-ms-thumb{appearance:none;height:1.7em;width:1.7em;cursor:pointer;border-radius:50%;border:2px solid white;background-color:#1579C6;pointer-events:auto}input[type="range"]:active::-webkit-slider-thumb{background-color:#1579C6;border:2px solid white}.values{display:flex;flex-direction:row;width:100%}.range-divider{flex-grow:1;display:flex;justify-content:center;align-items:center}.range-divider,.value-input{color:#9E9E9E}.input-pre-text{position:absolute;font-size:14px;line-height:16px;font-style:normal;margin-top:9px;margin-left:5px}.value-input{padding-left:40px;height:30px;width:45px;border-radius:4px;border:1px solid #D5D5D5}.slider-tooltip{background:#212121;border-radius:.4em;display:none;position:absolute;color:#ffffff;padding:var(--05, 4px) var(--2, 14px);font-size:12px;white-space:nowrap;opacity:1;top:-15px !important;left:1px}.slider-tooltip-upper{right:1px;left:auto !important}.slider-tooltip:after{content:\'\';position:absolute;bottom:0;left:50%;width:0;height:0;border:6px solid transparent;border-top-color:#212121;border-bottom:0;margin-left:-6px;margin-bottom:-6px}';export{n as tttx_range_slider_1_9_71}
@@ -1 +1 @@
1
- import{r as t,h as s,H as i}from"./p-5c9beaf9.js";const r=class{constructor(s){t(this,s),this.percentage=void 0,this.thresholds=void 0,this.color="#d5d5d5",this.min="1",this.labelid=void 0,this._percentage=void 0,this._ranges=void 0,this._min=void 0}componentWillRender(){let t;if(this._percentage="string"==typeof this.percentage?parseInt(this.percentage):this.percentage,this.thresholds){t="string"==typeof this.thresholds?JSON.parse(this.thresholds):this.thresholds,this._ranges=[{range:[0],color:t[0].color}];for(const[s,i]of t.entries())this._ranges[this._ranges.length-1].range.push(i.threshold),this._ranges[this._ranges.length-1].color=i.color,s<t.length-1&&this._ranges.push({range:[i.threshold],color:void 0})}this._min=parseInt(this.min)}getColour(){return this._ranges&&0!==this._ranges.length?this._ranges.find((t=>this._percentage>=t.range[0]&&this._percentage<=t.range[1])).color:this.color}getWidth(){return Math.min(Math.max(this._percentage,Math.min(this._min,100)),100)}render(){return s(i,null,s("div",{class:"progress"},s("div",{class:"bar",style:{"background-color":this.getColour(),width:`${this.getWidth()}%`},role:"progressbar","aria-valuemin":this._min,"aria-valuemax":"100","aria-valuenow":this._percentage,"aria-labelledby":this.labelid})))}};r.style=".sc-tttx-percentage-bar_1_9_69-h{display:block}.progress.sc-tttx-percentage-bar_1_9_69{width:100%;background-color:#dbdbdb}.progress.sc-tttx-percentage-bar_1_9_69 .bar.sc-tttx-percentage-bar_1_9_69{height:20px}";export{r as tttx_percentage_bar_1_9_69}
1
+ import{r as t,h as s,H as i}from"./p-5c9beaf9.js";const r=class{constructor(s){t(this,s),this.percentage=void 0,this.thresholds=void 0,this.color="#d5d5d5",this.min="1",this.labelid=void 0,this._percentage=void 0,this._ranges=void 0,this._min=void 0}componentWillRender(){let t;if(this._percentage="string"==typeof this.percentage?parseInt(this.percentage):this.percentage,this.thresholds){t="string"==typeof this.thresholds?JSON.parse(this.thresholds):this.thresholds,this._ranges=[{range:[0],color:t[0].color}];for(const[s,i]of t.entries())this._ranges[this._ranges.length-1].range.push(i.threshold),this._ranges[this._ranges.length-1].color=i.color,s<t.length-1&&this._ranges.push({range:[i.threshold],color:void 0})}this._min=parseInt(this.min)}getColour(){return this._ranges&&0!==this._ranges.length?this._ranges.find((t=>this._percentage>=t.range[0]&&this._percentage<=t.range[1])).color:this.color}getWidth(){return Math.min(Math.max(this._percentage,Math.min(this._min,100)),100)}render(){return s(i,null,s("div",{class:"progress"},s("div",{class:"bar",style:{"background-color":this.getColour(),width:`${this.getWidth()}%`},role:"progressbar","aria-valuemin":this._min,"aria-valuemax":"100","aria-valuenow":this._percentage,"aria-labelledby":this.labelid})))}};r.style=".sc-tttx-percentage-bar_1_9_71-h{display:block}.progress.sc-tttx-percentage-bar_1_9_71{width:100%;background-color:#dbdbdb}.progress.sc-tttx-percentage-bar_1_9_71 .bar.sc-tttx-percentage-bar_1_9_71{height:20px}";export{r as tttx_percentage_bar_1_9_71}
@@ -1 +1 @@
1
- import{r as t,h as i,H as o}from"./p-5c9beaf9.js";const d=class{constructor(i){t(this,i),this.keyvalues=void 0,this.horizontal=void 0,this.spacedout=void 0,this._elements=void 0}renderSingleElements(t){const o=Object.keys(t),d=[],l=(100/o.length).toString()+"%";for(const s of o)this.horizontal||this.spacedout?d.push(i("div",{style:{maxWidth:l}},i("dt",null,s),i("dd",null,t[s]))):(d.push(i("dt",null,s)),d.push(i("dd",null,t[s])));return d}renderArrayElements(t){const o=[],d=(100/t.length).toString()+"%";for(const l of t){const t=l;this.horizontal||this.spacedout?o.push(i("div",{style:{maxWidth:d}},i("dt",{class:"mainTitle"},t.title),i("dt",{class:"subTitle"},t.subTitle),i("dd",null,t.data))):(o.push(i("dt",{class:"mainTitle"},t.title)),o.push(i("dt",{class:"subTitle"},t.subTitle)),o.push(i("dd",null,t.data)))}return o}componentWillRender(){if(!this.keyvalues)return;let t;t="string"==typeof this.keyvalues?JSON.parse(this.keyvalues):this.keyvalues,this._elements=Array.isArray(t)?this.renderArrayElements(t):this.renderSingleElements(t)}render(){return i(o,null,i("dl",{class:[this.horizontal?"horizontal":void 0,this.spacedout?" spacedout":void 0].join(" ").trim()},this._elements))}};d.style=':host{display:block}dl{margin:0;padding:0;font-family:"Roboto", sans-serif;cursor:default}dt{font-weight:400;font-size:16px;margin-bottom:4px}dt,dt.subTitle{color:#757575}dt.mainTitle{color:#212121}dt,dd{overflow-wrap:anywhere}dd{margin:0;font-weight:400;font-size:16px;color:#212121}dd:not(:last-child){margin-bottom:16px}dl.spacedout,dl.horizontal{display:flex;flex-direction:row;width:100%}dl.spacedout{justify-content:space-between}dl.horizontal div{flex-grow:1}@media (max-width: 769px){dl.horizontal{flex-wrap:wrap}dl.horizontal div{width:50%;max-width:50% !important}}@media (max-width: 600px){dl.horizontal div{width:100%;max-width:100% !important}}';export{d as tttx_keyvalue_block_1_9_69}
1
+ import{r as t,h as i,H as o}from"./p-5c9beaf9.js";const d=class{constructor(i){t(this,i),this.keyvalues=void 0,this.horizontal=void 0,this.spacedout=void 0,this._elements=void 0}renderSingleElements(t){const o=Object.keys(t),d=[],l=(100/o.length).toString()+"%";for(const s of o)this.horizontal||this.spacedout?d.push(i("div",{style:{maxWidth:l}},i("dt",null,s),i("dd",null,t[s]))):(d.push(i("dt",null,s)),d.push(i("dd",null,t[s])));return d}renderArrayElements(t){const o=[],d=(100/t.length).toString()+"%";for(const l of t){const t=l;this.horizontal||this.spacedout?o.push(i("div",{style:{maxWidth:d}},i("dt",{class:"mainTitle"},t.title),i("dt",{class:"subTitle"},t.subTitle),i("dd",null,t.data))):(o.push(i("dt",{class:"mainTitle"},t.title)),o.push(i("dt",{class:"subTitle"},t.subTitle)),o.push(i("dd",null,t.data)))}return o}componentWillRender(){if(!this.keyvalues)return;let t;t="string"==typeof this.keyvalues?JSON.parse(this.keyvalues):this.keyvalues,this._elements=Array.isArray(t)?this.renderArrayElements(t):this.renderSingleElements(t)}render(){return i(o,null,i("dl",{class:[this.horizontal?"horizontal":void 0,this.spacedout?" spacedout":void 0].join(" ").trim()},this._elements))}};d.style=':host{display:block}dl{margin:0;padding:0;font-family:"Roboto", sans-serif;cursor:default}dt{font-weight:400;font-size:16px;margin-bottom:4px}dt,dt.subTitle{color:#757575}dt.mainTitle{color:#212121}dt,dd{overflow-wrap:anywhere}dd{margin:0;font-weight:400;font-size:16px;color:#212121}dd:not(:last-child){margin-bottom:16px}dl.spacedout,dl.horizontal{display:flex;flex-direction:row;width:100%}dl.spacedout{justify-content:space-between}dl.horizontal div{flex-grow:1}@media (max-width: 769px){dl.horizontal{flex-wrap:wrap}dl.horizontal div{width:50%;max-width:50% !important}}@media (max-width: 600px){dl.horizontal div{width:100%;max-width:100% !important}}';export{d as tttx_keyvalue_block_1_9_71}
@@ -1 +1 @@
1
- import{r as e,c as t,h as a,H as n}from"./p-5c9beaf9.js";const i=class{constructor(a){e(this,a),this.dateRangeChanged=t(this,"dateRangeChanged",7),this.handleOutsideClick=e=>{this.showCalendar&&this.inputRef&&!this.inputRef.contains(e.target)&&(this.showCalendar=!1)},this.toggleCalendar=()=>{this.showCalendar=!this.showCalendar},this.handleInputClick=e=>{e.stopPropagation(),this.toggleCalendar()},this.handleClear=e=>{e.stopPropagation(),this.resetRange()},this.initialValue=void 0,this.placeholderText="dd/mm/yyyy - dd/mm/yyyy",this.showCalendar=!1,this.startDate="",this.endDate="",this.currentMonth=(new Date).getMonth(),this.currentYear=(new Date).getFullYear(),this.isSelecting=!0,this.hoverDate=""}componentDidLoad(){document.addEventListener("click",this.handleOutsideClick)}disconnectedCallback(){document.removeEventListener("click",this.handleOutsideClick)}componentWillLoad(){this.initializeRangeFromProp()}watchInitialValue(){this.initializeRangeFromProp()}initializeRangeFromProp(){let e="",t="";if("string"==typeof this.initialValue)try{const a=JSON.parse(this.initialValue);e=a.start,t=a.end}catch(e){console.error("Invalid JSON passed to initialValue")}else"object"==typeof this.initialValue&&null!==this.initialValue&&(e=this.initialValue.start,t=this.initialValue.end);e&&e.includes("/")&&(e=this.parseDDMMYYYYToISO(e)),t&&t.includes("/")&&(t=this.parseDDMMYYYYToISO(t)),e&&(this.startDate=e),t&&(this.endDate=t),(e||t)&&this.emitRangeChange(e,t)}resetRange(){this.startDate="",this.endDate="",this.isSelecting=!0,this.emitRangeChange("","")}emitRangeChange(e,t){const a=e?this.formatToDDMMYYYY(e):"",n=t?this.formatToDDMMYYYY(t):"";this.dateRangeChanged.emit({name:"customDateRange",value:{start:a,end:n}})}handleDateClick(e){const t=new Date(e);this.isSelecting?(this.startDate=e,this.endDate="",this.hoverDate="",this.emitRangeChange(this.startDate,""),this.isSelecting=!1):t>=new Date(this.startDate)?(this.endDate=e,this.emitRangeChange(this.startDate,this.endDate),this.showCalendar=!1,this.isSelecting=!0,this.hoverDate=""):(this.startDate=e,this.endDate="",this.hoverDate="",this.emitRangeChange(this.startDate,""))}changeMonth(e){"prev"===e?(this.currentMonth=0===this.currentMonth?11:this.currentMonth-1,this.currentYear=11===this.currentMonth?this.currentYear-1:this.currentYear):(this.currentMonth=11===this.currentMonth?0:this.currentMonth+1,this.currentYear=0===this.currentMonth?this.currentYear+1:this.currentYear)}formatToDDMMYYYY(e){const t=new Date(e);return`${String(t.getDate()).padStart(2,"0")}/${String(t.getMonth()+1).padStart(2,"0")}/${t.getFullYear()}`}parseDDMMYYYYToISO(e){const[t,a,n]=e.split("/");return new Date(`${n}-${a}-${t}`).toISOString().split("T")[0]}generateCalendarGrid(e,t){const a=new Date(e,t,1).getDay(),n=new Date(e,t+1,0).getDate(),i=[];for(let e=0;e<a;e++)i.push({date:null,isCurrentMonth:!1});for(let a=1;a<=n;a++){const n=new Date(e,t,a),r=n.getFullYear(),s=String(n.getMonth()+1).padStart(2,"0"),o=String(n.getDate()).padStart(2,"0");i.push({date:`${r}-${s}-${o}`,isCurrentMonth:!0})}for(;i.length<42;)i.push({date:null,isCurrentMonth:!1});return i}getMonthName(e){return new Date(2e3,e).toLocaleString("default",{month:"long"})}renderCalendar(e,t,n){const i=this.generateCalendarGrid(e,t);return a("div",{class:"calendar"},a("div",{class:"calendar-header"},a("button",{class:"nav-btn",onClick:e=>{e.stopPropagation(),this.changeMonth("prev")}},"<"),a("span",{class:"month-label"},this.getMonthName(t)," ",e),a("button",{class:"nav-btn",onClick:e=>{e.stopPropagation(),this.changeMonth("next")}},">")),a("div",{class:"calendar-grid"},["Su","Mo","Tu","We","Th","Fr","Sa"].map((e=>a("div",{class:"calendar-weekday",key:e},e))),i.map(((e,t)=>{var r;if(!e.isCurrentMonth||!e.date)return a("div",{class:"calendar-date empty",key:`empty-${t}`,onClick:e=>e.stopPropagation()});const s=e.date,o=s===this.startDate,d=s===this.endDate,l=this.startDate&&this.endDate&&new Date(s)>new Date(this.startDate)&&new Date(s)<new Date(this.endDate),h=this.startDate&&!this.endDate&&this.hoverDate&&new Date(s)>new Date(this.startDate)&&new Date(s)<=new Date(this.hoverDate),c=null===(r=i[t-1])||void 0===r?void 0:r.date,p=h&&(0===t||!c||this.startDate&&new Date(c)<new Date(this.startDate));return a("div",{class:{"calendar-date":!0,"range-start":o,"range-end":d,inrange:l,hoverrange:h,"range-hover-start":p,"range-hover-end":h&&s===this.hoverDate},onClick:e=>{e.stopPropagation(),n(s)},onMouseEnter:()=>{!this.isSelecting&&this.startDate&&(this.hoverDate=s)},onMouseLeave:()=>{this.hoverDate=""},key:s},new Date(s).getDate())}))))}render(){const e=this.startDate&&this.endDate?`${this.formatToDDMMYYYY(this.startDate)} – ${this.formatToDDMMYYYY(this.endDate)}`:this.startDate?`${this.formatToDDMMYYYY(this.startDate)} –`:this.placeholderText;return a(n,null,a("div",{class:"date-range-input",tabIndex:0,"aria-haspopup":"dialog","aria-expanded":this.showCalendar?"true":"false",ref:e=>this.inputRef=e,onClick:this.handleInputClick},a("span",{class:{"range-text":!0,"is-placeholder":!(this.startDate||this.endDate)}},e),(this.startDate||this.endDate)&&a("button",{class:"clear-btn","aria-label":"Clear",onClick:this.handleClear},"×"),a("span",{class:"calendar-icon","aria-hidden":"true"},a("tttx-icon_1_9_69",{icon:"calendar_month"}))),this.showCalendar&&a("div",{class:"calendar-popup single"},this.renderCalendar(this.currentYear,this.currentMonth,this.handleDateClick.bind(this))))}static get watchers(){return{initialValue:["watchInitialValue"]}}};i.style=':host{display:block;position:relative;font-family:sans-serif}.date-range-input{display:inline-flex;align-items:center;justify-content:space-between;border:1px solid #ccc;padding:8px 4px;border-radius:4px;cursor:pointer;background:white;min-width:220px;width:100%;font-size:14px}.date-range-input .range-text{flex:1;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;font-size:15px;padding-left:5px}.date-range-input .range-text.is-placeholder{padding-left:10px;font-size:15px;font-weight:500;color:#212121}.date-range-input .clear-btn{background:none;border:none;font-size:16px;color:#888;margin-left:8px;cursor:pointer}.date-range-input .clear-btn:hover{color:#333}.date-range-input .calendar-icon{margin-left:8px;display:flex;align-items:center;margin-right:5px}.calendar-popup{position:absolute;z-index:1000;top:calc(100% + 4px);left:0;background:white;border:1px solid #ccc;padding:8px 4px;border-radius:4px;box-shadow:0 4px 12px rgba(0, 0, 0, 0.1);width:auto;min-width:260px}.calendar-popup.single{display:flex;flex-direction:column}.calendar{display:flex;flex-direction:column;width:100%}.calendar .calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0.5em}.calendar .calendar-header .nav-btn{background:none;border:none;cursor:pointer;font-size:16px;padding:0 8px;color:#333}.calendar .calendar-header .nav-btn:hover{color:#1479c6}.calendar .calendar-header .month-label{font-weight:bold;font-size:14px;color:#333}.calendar .calendar-grid{display:grid;grid-template-columns:repeat(7, 1fr);gap:4px}.calendar .calendar-grid .calendar-weekday{font-weight:bold;text-align:center;font-size:12px;padding-bottom:4px;color:#666}.calendar .calendar-grid .calendar-date{text-align:center;padding:0.5em;border-radius:4px;font-size:14px;cursor:pointer;transition:background 0.2s ease;color:#333}.calendar .calendar-grid .calendar-date:hover{background-color:#f0f0f0}.calendar .calendar-grid .calendar-date.range-start,.calendar .calendar-grid .calendar-date.range-end,.calendar .calendar-grid .calendar-date.inrange{background-color:#1479c6;color:white;font-weight:bold}.calendar .calendar-grid .calendar-date.empty{background:transparent;cursor:default}.calendar .calendar-date.hoverrange{position:relative;z-index:1}.calendar .calendar-date.hoverrange::before{content:"";position:absolute;inset:0;border:1px dotted #bdbdbd;background-color:white;z-index:-1;pointer-events:none}.calendar .calendar-date.hoverrange.range-hover-start::before{border-top-left-radius:999px;border-bottom-left-radius:999px;left:0}.calendar .calendar-date.hoverrange.range-hover-end::before{border-top-right-radius:999px;border-bottom-right-radius:999px;right:0}.calendar .calendar-date.hoverrange:first-child{border-top-left-radius:50%;border-bottom-left-radius:50%}.calendar .calendar-date.hoverrange:last-child{border-top-right-radius:50%;border-bottom-right-radius:50%}';export{i as tttx_date_range_picker}
1
+ import{r as e,c as t,h as a,H as n}from"./p-5c9beaf9.js";const i=class{constructor(a){e(this,a),this.dateRangeChanged=t(this,"dateRangeChanged",7),this.handleOutsideClick=e=>{this.showCalendar&&this.inputRef&&!this.inputRef.contains(e.target)&&(this.showCalendar=!1)},this.toggleCalendar=()=>{this.showCalendar=!this.showCalendar},this.handleInputClick=e=>{e.stopPropagation(),this.toggleCalendar()},this.handleClear=e=>{e.stopPropagation(),this.resetRange()},this.initialValue=void 0,this.placeholderText="dd/mm/yyyy - dd/mm/yyyy",this.showCalendar=!1,this.startDate="",this.endDate="",this.currentMonth=(new Date).getMonth(),this.currentYear=(new Date).getFullYear(),this.isSelecting=!0,this.hoverDate=""}componentDidLoad(){document.addEventListener("click",this.handleOutsideClick)}disconnectedCallback(){document.removeEventListener("click",this.handleOutsideClick)}componentWillLoad(){this.initializeRangeFromProp()}watchInitialValue(){this.initializeRangeFromProp()}initializeRangeFromProp(){let e="",t="";if("string"==typeof this.initialValue)try{const a=JSON.parse(this.initialValue);e=a.start,t=a.end}catch(e){console.error("Invalid JSON passed to initialValue")}else"object"==typeof this.initialValue&&null!==this.initialValue&&(e=this.initialValue.start,t=this.initialValue.end);e&&e.includes("/")&&(e=this.parseDDMMYYYYToISO(e)),t&&t.includes("/")&&(t=this.parseDDMMYYYYToISO(t)),e&&(this.startDate=e),t&&(this.endDate=t),(e||t)&&this.emitRangeChange(e,t)}resetRange(){this.startDate="",this.endDate="",this.isSelecting=!0,this.emitRangeChange("","")}emitRangeChange(e,t){const a=e?this.formatToDDMMYYYY(e):"",n=t?this.formatToDDMMYYYY(t):"";this.dateRangeChanged.emit({name:"customDateRange",value:{start:a,end:n}})}handleDateClick(e){const t=new Date(e);this.isSelecting?(this.startDate=e,this.endDate="",this.hoverDate="",this.emitRangeChange(this.startDate,""),this.isSelecting=!1):t>=new Date(this.startDate)?(this.endDate=e,this.emitRangeChange(this.startDate,this.endDate),this.showCalendar=!1,this.isSelecting=!0,this.hoverDate=""):(this.startDate=e,this.endDate="",this.hoverDate="",this.emitRangeChange(this.startDate,""))}changeMonth(e){"prev"===e?(this.currentMonth=0===this.currentMonth?11:this.currentMonth-1,this.currentYear=11===this.currentMonth?this.currentYear-1:this.currentYear):(this.currentMonth=11===this.currentMonth?0:this.currentMonth+1,this.currentYear=0===this.currentMonth?this.currentYear+1:this.currentYear)}formatToDDMMYYYY(e){const t=new Date(e);return`${String(t.getDate()).padStart(2,"0")}/${String(t.getMonth()+1).padStart(2,"0")}/${t.getFullYear()}`}parseDDMMYYYYToISO(e){const[t,a,n]=e.split("/");return new Date(`${n}-${a}-${t}`).toISOString().split("T")[0]}generateCalendarGrid(e,t){const a=new Date(e,t,1).getDay(),n=new Date(e,t+1,0).getDate(),i=[];for(let e=0;e<a;e++)i.push({date:null,isCurrentMonth:!1});for(let a=1;a<=n;a++){const n=new Date(e,t,a),r=n.getFullYear(),s=String(n.getMonth()+1).padStart(2,"0"),o=String(n.getDate()).padStart(2,"0");i.push({date:`${r}-${s}-${o}`,isCurrentMonth:!0})}for(;i.length<42;)i.push({date:null,isCurrentMonth:!1});return i}getMonthName(e){return new Date(2e3,e).toLocaleString("default",{month:"long"})}renderCalendar(e,t,n){const i=this.generateCalendarGrid(e,t);return a("div",{class:"calendar"},a("div",{class:"calendar-header"},a("button",{class:"nav-btn",onClick:e=>{e.stopPropagation(),this.changeMonth("prev")}},"<"),a("span",{class:"month-label"},this.getMonthName(t)," ",e),a("button",{class:"nav-btn",onClick:e=>{e.stopPropagation(),this.changeMonth("next")}},">")),a("div",{class:"calendar-grid"},["Su","Mo","Tu","We","Th","Fr","Sa"].map((e=>a("div",{class:"calendar-weekday",key:e},e))),i.map(((e,t)=>{var r;if(!e.isCurrentMonth||!e.date)return a("div",{class:"calendar-date empty",key:`empty-${t}`,onClick:e=>e.stopPropagation()});const s=e.date,o=s===this.startDate,d=s===this.endDate,l=this.startDate&&this.endDate&&new Date(s)>new Date(this.startDate)&&new Date(s)<new Date(this.endDate),h=this.startDate&&!this.endDate&&this.hoverDate&&new Date(s)>new Date(this.startDate)&&new Date(s)<=new Date(this.hoverDate),c=null===(r=i[t-1])||void 0===r?void 0:r.date,p=h&&(0===t||!c||this.startDate&&new Date(c)<new Date(this.startDate));return a("div",{class:{"calendar-date":!0,"range-start":o,"range-end":d,inrange:l,hoverrange:h,"range-hover-start":p,"range-hover-end":h&&s===this.hoverDate},onClick:e=>{e.stopPropagation(),n(s)},onMouseEnter:()=>{!this.isSelecting&&this.startDate&&(this.hoverDate=s)},onMouseLeave:()=>{this.hoverDate=""},key:s},new Date(s).getDate())}))))}render(){const e=this.startDate&&this.endDate?`${this.formatToDDMMYYYY(this.startDate)} – ${this.formatToDDMMYYYY(this.endDate)}`:this.startDate?`${this.formatToDDMMYYYY(this.startDate)} –`:this.placeholderText;return a(n,null,a("div",{class:"date-range-input",tabIndex:0,"aria-haspopup":"dialog","aria-expanded":this.showCalendar?"true":"false",ref:e=>this.inputRef=e,onClick:this.handleInputClick},a("span",{class:{"range-text":!0,"is-placeholder":!(this.startDate||this.endDate)}},e),(this.startDate||this.endDate)&&a("button",{class:"clear-btn","aria-label":"Clear",onClick:this.handleClear},"×"),a("span",{class:"calendar-icon","aria-hidden":"true"},a("tttx-icon_1_9_71",{icon:"calendar_month"}))),this.showCalendar&&a("div",{class:"calendar-popup single"},this.renderCalendar(this.currentYear,this.currentMonth,this.handleDateClick.bind(this))))}static get watchers(){return{initialValue:["watchInitialValue"]}}};i.style=':host{display:block;position:relative;font-family:sans-serif}.date-range-input{display:inline-flex;align-items:center;justify-content:space-between;border:1px solid #ccc;padding:8px 4px;border-radius:4px;cursor:pointer;background:white;min-width:220px;width:100%;font-size:14px}.date-range-input .range-text{flex:1;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;font-size:15px;padding-left:5px}.date-range-input .range-text.is-placeholder{padding-left:10px;font-size:15px;font-weight:500;color:#212121}.date-range-input .clear-btn{background:none;border:none;font-size:16px;color:#888;margin-left:8px;cursor:pointer}.date-range-input .clear-btn:hover{color:#333}.date-range-input .calendar-icon{margin-left:8px;display:flex;align-items:center;margin-right:5px}.calendar-popup{position:absolute;z-index:1000;top:calc(100% + 4px);left:0;background:white;border:1px solid #ccc;padding:8px 4px;border-radius:4px;box-shadow:0 4px 12px rgba(0, 0, 0, 0.1);width:auto;min-width:260px}.calendar-popup.single{display:flex;flex-direction:column}.calendar{display:flex;flex-direction:column;width:100%}.calendar .calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0.5em}.calendar .calendar-header .nav-btn{background:none;border:none;cursor:pointer;font-size:16px;padding:0 8px;color:#333}.calendar .calendar-header .nav-btn:hover{color:#1479c6}.calendar .calendar-header .month-label{font-weight:bold;font-size:14px;color:#333}.calendar .calendar-grid{display:grid;grid-template-columns:repeat(7, 1fr);gap:4px}.calendar .calendar-grid .calendar-weekday{font-weight:bold;text-align:center;font-size:12px;padding-bottom:4px;color:#666}.calendar .calendar-grid .calendar-date{text-align:center;padding:0.5em;border-radius:4px;font-size:14px;cursor:pointer;transition:background 0.2s ease;color:#333}.calendar .calendar-grid .calendar-date:hover{background-color:#f0f0f0}.calendar .calendar-grid .calendar-date.range-start,.calendar .calendar-grid .calendar-date.range-end,.calendar .calendar-grid .calendar-date.inrange{background-color:#1479c6;color:white;font-weight:bold}.calendar .calendar-grid .calendar-date.empty{background:transparent;cursor:default}.calendar .calendar-date.hoverrange{position:relative;z-index:1}.calendar .calendar-date.hoverrange::before{content:"";position:absolute;inset:0;border:1px dotted #bdbdbd;background-color:white;z-index:-1;pointer-events:none}.calendar .calendar-date.hoverrange.range-hover-start::before{border-top-left-radius:999px;border-bottom-left-radius:999px;left:0}.calendar .calendar-date.hoverrange.range-hover-end::before{border-top-right-radius:999px;border-bottom-right-radius:999px;right:0}.calendar .calendar-date.hoverrange:first-child{border-top-left-radius:50%;border-bottom-left-radius:50%}.calendar .calendar-date.hoverrange:last-child{border-top-right-radius:50%;border-bottom-right-radius:50%}';export{i as tttx_date_range_picker}
@@ -1 +1 @@
1
- import{r as t,c as e,h as a,H as o}from"./p-5c9beaf9.js";const n=class{constructor(a){t(this,a),this.valueChanged=e(this,"valueChanged",7),this.focusChanged=e(this,"focusChanged",7),this.blurChanged=e(this,"blurChanged",7),this.invalidChanged=e(this,"invalidChanged",7),this.label=void 0,this.secondarylabel=void 0,this.showerrormsg=void 0,this.showerrorbubble=!0,this.errormsg=void 0,this.rows=void 0,this.textareaautofocus=void 0,this.inputkeyhint=void 0,this.inputindex=void 0,this.inputtitle=void 0,this.disabled=void 0,this.maxlength=void 0,this.name=void 0,this.placeholder=void 0,this.readonly=void 0,this.required=void 0,this.value=void 0}handleChange(t){const e=t.target;this.value=e.value,this.valueChanged.emit(e.value)}handleFocus(t){this.focusChanged.emit(t.target.value)}handleBlur(t){this.blurChanged.emit(t.target.value)}handleInvalid(t){t.preventDefault(),this.invalidChanged.emit(t.target.value)}render(){const t=[this.showerrormsg?"invalid":"",!this.label&&this.required?"no-label":""].join(" ");return a(o,null,a("label",null,this.label,this.required?"":a("span",{class:"optional"}," (optional)"),a("div",{class:"textarea-container"},a("textarea",{rows:this.rows,class:t,autofocus:this.textareaautofocus,enterkeyhint:this.inputkeyhint,tabindex:this.inputindex,title:this.inputtitle,disabled:this.disabled,maxlength:this.maxlength,name:this.name,placeholder:this.placeholder,readonly:this.readonly,required:this.required,value:this.value,onBlur:this.handleBlur.bind(this),onFocus:this.handleFocus.bind(this),onInput:this.handleChange.bind(this),onInvalid:this.handleInvalid.bind(this)}),this.secondarylabel&&a("span",{class:"secondarylabel"},this.secondarylabel),this.showerrorbubble&&a("span",{class:["errorBubble",this.showerrormsg&&this.errormsg?"visible":""].join(" ")},a("span",{class:"material-symbols-rounded validationicon"},"warning")," ",this.errormsg))))}};n.style='.material-symbols-rounded.sc-tttx-textarea_1_9_69{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.sc-tttx-textarea_1_9_69-h{display:block}label.sc-tttx-textarea_1_9_69{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_9_69 .textarea-container.sc-tttx-textarea_1_9_69{position:relative}label.sc-tttx-textarea_1_9_69 .textarea-container.sc-tttx-textarea_1_9_69 textarea.sc-tttx-textarea_1_9_69{font-family:"Roboto", serif;box-sizing:border-box;width:100%;padding:9px 16px;font-size:16px;line-height:18.752px;border:1px solid #d5d5d5;border-radius:4px;margin-top:8px;resize:none}label.sc-tttx-textarea_1_9_69 .textarea-container.sc-tttx-textarea_1_9_69 textarea.no-label.sc-tttx-textarea_1_9_69{margin-top:0}label.sc-tttx-textarea_1_9_69 .textarea-container.sc-tttx-textarea_1_9_69 textarea.sc-tttx-textarea_1_9_69~.errorBubble.sc-tttx-textarea_1_9_69{font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:"Roboto", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label.sc-tttx-textarea_1_9_69 .textarea-container.sc-tttx-textarea_1_9_69 textarea.sc-tttx-textarea_1_9_69~.errorBubble.sc-tttx-textarea_1_9_69:not(.visible){display:none}label.sc-tttx-textarea_1_9_69 .textarea-container.sc-tttx-textarea_1_9_69 textarea.sc-tttx-textarea_1_9_69~.errorBubble.sc-tttx-textarea_1_9_69 span.sc-tttx-textarea_1_9_69{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_9_69 .textarea-container.sc-tttx-textarea_1_9_69 textarea.sc-tttx-textarea_1_9_69:focus{border-color:#1479c6}label.sc-tttx-textarea_1_9_69 .textarea-container.sc-tttx-textarea_1_9_69 textarea.sc-tttx-textarea_1_9_69:focus-visible{outline:none}label.sc-tttx-textarea_1_9_69 .secondarylabel.sc-tttx-textarea_1_9_69{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_9_69 .optional.sc-tttx-textarea_1_9_69{color:#757575;font-weight:normal}';export{n as tttx_textarea_1_9_69}
1
+ import{r as t,c as e,h as a,H as o}from"./p-5c9beaf9.js";const n=class{constructor(a){t(this,a),this.valueChanged=e(this,"valueChanged",7),this.focusChanged=e(this,"focusChanged",7),this.blurChanged=e(this,"blurChanged",7),this.invalidChanged=e(this,"invalidChanged",7),this.label=void 0,this.secondarylabel=void 0,this.showerrormsg=void 0,this.showerrorbubble=!0,this.errormsg=void 0,this.rows=void 0,this.textareaautofocus=void 0,this.inputkeyhint=void 0,this.inputindex=void 0,this.inputtitle=void 0,this.disabled=void 0,this.maxlength=void 0,this.name=void 0,this.placeholder=void 0,this.readonly=void 0,this.required=void 0,this.value=void 0}handleChange(t){const e=t.target;this.value=e.value,this.valueChanged.emit(e.value)}handleFocus(t){this.focusChanged.emit(t.target.value)}handleBlur(t){this.blurChanged.emit(t.target.value)}handleInvalid(t){t.preventDefault(),this.invalidChanged.emit(t.target.value)}render(){const t=[this.showerrormsg?"invalid":"",!this.label&&this.required?"no-label":""].join(" ");return a(o,null,a("label",null,this.label,this.required?"":a("span",{class:"optional"}," (optional)"),a("div",{class:"textarea-container"},a("textarea",{rows:this.rows,class:t,autofocus:this.textareaautofocus,enterkeyhint:this.inputkeyhint,tabindex:this.inputindex,title:this.inputtitle,disabled:this.disabled,maxlength:this.maxlength,name:this.name,placeholder:this.placeholder,readonly:this.readonly,required:this.required,value:this.value,onBlur:this.handleBlur.bind(this),onFocus:this.handleFocus.bind(this),onInput:this.handleChange.bind(this),onInvalid:this.handleInvalid.bind(this)}),this.secondarylabel&&a("span",{class:"secondarylabel"},this.secondarylabel),this.showerrorbubble&&a("span",{class:["errorBubble",this.showerrormsg&&this.errormsg?"visible":""].join(" ")},a("span",{class:"material-symbols-rounded validationicon"},"warning")," ",this.errormsg))))}};n.style='.material-symbols-rounded.sc-tttx-textarea_1_9_71{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.sc-tttx-textarea_1_9_71-h{display:block}label.sc-tttx-textarea_1_9_71{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_9_71 .textarea-container.sc-tttx-textarea_1_9_71{position:relative}label.sc-tttx-textarea_1_9_71 .textarea-container.sc-tttx-textarea_1_9_71 textarea.sc-tttx-textarea_1_9_71{font-family:"Roboto", serif;box-sizing:border-box;width:100%;padding:9px 16px;font-size:16px;line-height:18.752px;border:1px solid #d5d5d5;border-radius:4px;margin-top:8px;resize:none}label.sc-tttx-textarea_1_9_71 .textarea-container.sc-tttx-textarea_1_9_71 textarea.no-label.sc-tttx-textarea_1_9_71{margin-top:0}label.sc-tttx-textarea_1_9_71 .textarea-container.sc-tttx-textarea_1_9_71 textarea.sc-tttx-textarea_1_9_71~.errorBubble.sc-tttx-textarea_1_9_71{font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:"Roboto", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label.sc-tttx-textarea_1_9_71 .textarea-container.sc-tttx-textarea_1_9_71 textarea.sc-tttx-textarea_1_9_71~.errorBubble.sc-tttx-textarea_1_9_71:not(.visible){display:none}label.sc-tttx-textarea_1_9_71 .textarea-container.sc-tttx-textarea_1_9_71 textarea.sc-tttx-textarea_1_9_71~.errorBubble.sc-tttx-textarea_1_9_71 span.sc-tttx-textarea_1_9_71{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_9_71 .textarea-container.sc-tttx-textarea_1_9_71 textarea.sc-tttx-textarea_1_9_71:focus{border-color:#1479c6}label.sc-tttx-textarea_1_9_71 .textarea-container.sc-tttx-textarea_1_9_71 textarea.sc-tttx-textarea_1_9_71:focus-visible{outline:none}label.sc-tttx-textarea_1_9_71 .secondarylabel.sc-tttx-textarea_1_9_71{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_9_71 .optional.sc-tttx-textarea_1_9_71{color:#757575;font-weight:normal}';export{n as tttx_textarea_1_9_71}