@3t-transform/threeteeui 1.9.23 → 1.9.25

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 (250) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/{tttx-button_1_9_23.cjs.entry.js → tttx-button_1_9_25.cjs.entry.js} +2 -2
  3. package/dist/cjs/{tttx-checkbox-group-caption_1_9_23.cjs.entry.js → tttx-checkbox-group-caption_1_9_25.cjs.entry.js} +1 -1
  4. package/dist/cjs/{tttx-checkbox-group-heading_1_9_23.cjs.entry.js → tttx-checkbox-group-heading_1_9_25.cjs.entry.js} +1 -1
  5. package/dist/cjs/{tttx-checkbox-group_1_9_23.cjs.entry.js → tttx-checkbox-group_1_9_25.cjs.entry.js} +1 -1
  6. package/dist/cjs/{tttx-checkbox_1_9_23.cjs.entry.js → tttx-checkbox_1_9_25.cjs.entry.js} +2 -2
  7. package/dist/cjs/{tttx-comments_1_9_23.cjs.entry.js → tttx-comments_1_9_25.cjs.entry.js} +2 -2
  8. package/dist/cjs/{tttx-data-pattern_1_9_23.cjs.entry.js → tttx-data-pattern_1_9_25.cjs.entry.js} +5 -5
  9. package/dist/cjs/{tttx-datacard_1_9_23.cjs.entry.js → tttx-datacard_1_9_25.cjs.entry.js} +4 -4
  10. package/dist/cjs/{tttx-dialog-box_1_9_23.cjs.entry.js → tttx-dialog-box_1_9_25.cjs.entry.js} +3 -3
  11. package/dist/cjs/{tttx-dialog_1_9_23.cjs.entry.js → tttx-dialog_1_9_25.cjs.entry.js} +2 -2
  12. package/dist/cjs/{tttx-expander_1_9_23.cjs.entry.js → tttx-expander_1_9_25.cjs.entry.js} +2 -2
  13. package/dist/cjs/{tttx-filter_1_9_23_4.cjs.entry.js → tttx-filter_1_9_25_4.cjs.entry.js} +9 -9
  14. package/dist/cjs/{tttx-form_1_9_23.cjs.entry.js → tttx-form_1_9_25.cjs.entry.js} +11 -3
  15. package/dist/cjs/{tttx-graph_1_9_23.cjs.entry.js → tttx-graph_1_9_25.cjs.entry.js} +1 -1
  16. package/dist/cjs/{tttx-icon_1_9_23.cjs.entry.js → tttx-icon_1_9_25.cjs.entry.js} +1 -1
  17. package/dist/cjs/{tttx-keyvalue-block_1_9_23.cjs.entry.js → tttx-keyvalue-block_1_9_25.cjs.entry.js} +1 -1
  18. package/dist/cjs/{tttx-loading-spinner_1_9_23_3.cjs.entry.js → tttx-loading-spinner_1_9_25_3.cjs.entry.js} +6 -6
  19. package/dist/cjs/{tttx-multiselect-box_1_9_23.cjs.entry.js → tttx-multiselect-box_1_9_25.cjs.entry.js} +7 -7
  20. package/dist/cjs/{tttx-percentage-bar_1_9_23.cjs.entry.js → tttx-percentage-bar_1_9_25.cjs.entry.js} +2 -2
  21. package/dist/cjs/{tttx-qrcode_1_9_23.cjs.entry.js → tttx-qrcode_1_9_25.cjs.entry.js} +1 -1
  22. package/dist/cjs/{tttx-select-box_1_9_23.cjs.entry.js → tttx-select-box_1_9_25.cjs.entry.js} +32 -9
  23. package/dist/cjs/{tttx-table_1_9_23.cjs.entry.js → tttx-table_1_9_25.cjs.entry.js} +1 -1
  24. package/dist/cjs/{tttx-tabs_1_9_23.cjs.entry.js → tttx-tabs_1_9_25.cjs.entry.js} +4 -4
  25. package/dist/cjs/{tttx-textarea_1_9_23.cjs.entry.js → tttx-textarea_1_9_25.cjs.entry.js} +2 -2
  26. package/dist/cjs/{tttx-toggle_1_9_23.cjs.entry.js → tttx-toggle_1_9_25.cjs.entry.js} +1 -1
  27. package/dist/cjs/{tttx-tree-view_1_9_23.cjs.entry.js → tttx-tree-view_1_9_25.cjs.entry.js} +3 -3
  28. package/dist/cjs/tttx.cjs.js +1 -1
  29. package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
  30. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +20 -20
  31. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
  32. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
  33. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.js +4 -4
  34. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +10 -10
  35. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
  36. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
  37. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
  38. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
  39. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +1 -1
  40. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +1 -1
  41. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
  42. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
  43. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
  44. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
  45. package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +2 -2
  46. package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
  47. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
  48. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
  49. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
  50. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
  51. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
  52. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
  53. package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +2 -2
  54. package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +1 -1
  55. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
  56. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
  57. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
  58. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
  59. package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
  60. package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
  61. package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
  62. package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
  63. package/dist/collection/components/molecules/tttx-form/tttx-form.js +27 -3
  64. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +7 -7
  65. package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
  66. package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
  67. package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
  68. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
  69. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -7
  70. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
  71. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +83 -9
  72. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +26 -22
  73. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
  74. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
  75. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
  76. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
  77. package/dist/collection/components/molecules/tttx-table/tttx-table.js +1 -1
  78. package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
  79. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
  80. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
  81. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
  82. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
  83. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
  84. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
  85. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
  86. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +8 -8
  87. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
  88. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
  89. package/dist/components/index.d.ts +31 -31
  90. package/dist/components/index.js +31 -31
  91. package/dist/components/tttx-button.js +5 -5
  92. package/dist/components/{tttx-button_1_9_23.d.ts → tttx-button_1_9_25.d.ts} +4 -4
  93. package/dist/components/{tttx-button_1_9_23.js → tttx-button_1_9_25.js} +2 -2
  94. package/dist/components/tttx-checkbox-group-caption_1_9_25.d.ts +11 -0
  95. package/dist/components/{tttx-checkbox-group-caption_1_9_23.js → tttx-checkbox-group-caption_1_9_25.js} +5 -5
  96. package/dist/components/tttx-checkbox-group-heading_1_9_25.d.ts +11 -0
  97. package/dist/components/{tttx-checkbox-group-heading_1_9_23.js → tttx-checkbox-group-heading_1_9_25.js} +5 -5
  98. package/dist/components/tttx-checkbox-group_1_9_25.d.ts +11 -0
  99. package/dist/components/{tttx-checkbox-group_1_9_23.js → tttx-checkbox-group_1_9_25.js} +5 -5
  100. package/dist/components/{tttx-datacard_1_9_23.d.ts → tttx-checkbox_1_9_25.d.ts} +4 -4
  101. package/dist/components/{tttx-checkbox_1_9_23.js → tttx-checkbox_1_9_25.js} +7 -7
  102. package/dist/components/{tttx-checkbox_1_9_23.d.ts → tttx-comments_1_9_25.d.ts} +4 -4
  103. package/dist/components/{tttx-comments_1_9_23.js → tttx-comments_1_9_25.js} +7 -7
  104. package/dist/components/tttx-data-pattern_1_9_25.d.ts +11 -0
  105. package/dist/components/{tttx-data-pattern_1_9_23.js → tttx-data-pattern_1_9_25.js} +16 -16
  106. package/dist/components/{tttx-comments_1_9_23.d.ts → tttx-datacard_1_9_25.d.ts} +4 -4
  107. package/dist/components/{tttx-datacard_1_9_23.js → tttx-datacard_1_9_25.js} +10 -10
  108. package/dist/components/tttx-dialog-box_1_9_25.d.ts +11 -0
  109. package/dist/components/{tttx-dialog-box_1_9_23.js → tttx-dialog-box_1_9_25.js} +9 -9
  110. package/dist/components/{tttx-dialog_1_9_23.d.ts → tttx-dialog_1_9_25.d.ts} +4 -4
  111. package/dist/components/{tttx-dialog_1_9_23.js → tttx-dialog_1_9_25.js} +8 -8
  112. package/dist/components/tttx-expander_1_9_25.d.ts +11 -0
  113. package/dist/components/{tttx-expander_1_9_23.js → tttx-expander_1_9_25.js} +7 -7
  114. package/dist/components/tttx-filter.js +6 -6
  115. package/dist/components/{tttx-filter_1_9_23.d.ts → tttx-filter_1_9_25.d.ts} +4 -4
  116. package/dist/components/{tttx-filter_1_9_23.js → tttx-filter_1_9_25.js} +2 -2
  117. package/dist/components/{tttx-tabs_1_9_23.d.ts → tttx-form_1_9_25.d.ts} +4 -4
  118. package/dist/components/{tttx-form_1_9_23.js → tttx-form_1_9_25.js} +21 -12
  119. package/dist/components/tttx-graph.js +3 -3
  120. package/dist/components/{tttx-graph_1_9_23.d.ts → tttx-graph_1_9_25.d.ts} +4 -4
  121. package/dist/components/{tttx-graph_1_9_23.js → tttx-graph_1_9_25.js} +2 -2
  122. package/dist/components/tttx-icon.js +3 -3
  123. package/dist/components/{tttx-icon_1_9_23.d.ts → tttx-icon_1_9_25.d.ts} +4 -4
  124. package/dist/components/{tttx-icon_1_9_23.js → tttx-icon_1_9_25.js} +2 -2
  125. package/dist/components/tttx-keyvalue-block_1_9_25.d.ts +11 -0
  126. package/dist/components/{tttx-keyvalue-block_1_9_23.js → tttx-keyvalue-block_1_9_25.js} +5 -5
  127. package/dist/components/tttx-list.js +6 -6
  128. package/dist/components/{tttx-list_1_9_23.d.ts → tttx-list_1_9_25.d.ts} +4 -4
  129. package/dist/components/{tttx-list_1_9_23.js → tttx-list_1_9_25.js} +2 -2
  130. package/dist/components/tttx-loading-spinner.js +3 -3
  131. package/dist/components/tttx-loading-spinner_1_9_25.d.ts +11 -0
  132. package/dist/components/{tttx-loading-spinner_1_9_23.js → tttx-loading-spinner_1_9_25.js} +2 -2
  133. package/dist/components/tttx-multiselect-box_1_9_25.d.ts +11 -0
  134. package/dist/components/{tttx-multiselect-box_1_9_23.js → tttx-multiselect-box_1_9_25.js} +16 -16
  135. package/dist/components/tttx-percentage-bar_1_9_25.d.ts +11 -0
  136. package/dist/components/{tttx-percentage-bar_1_9_23.js → tttx-percentage-bar_1_9_25.js} +6 -6
  137. package/dist/components/{tttx-qrcode_1_9_23.d.ts → tttx-qrcode_1_9_25.d.ts} +4 -4
  138. package/dist/components/{tttx-qrcode_1_9_23.js → tttx-qrcode_1_9_25.js} +5 -5
  139. package/dist/components/tttx-select-box.js +41 -15
  140. package/dist/components/tttx-select-box_1_9_25.d.ts +11 -0
  141. package/dist/components/{tttx-select-box_1_9_23.js → tttx-select-box_1_9_25.js} +2 -2
  142. package/dist/components/tttx-sorter.js +5 -5
  143. package/dist/components/tttx-sorter_1_9_25.d.ts +11 -0
  144. package/dist/components/{tttx-sorter_1_9_23.js → tttx-sorter_1_9_25.js} +2 -2
  145. package/dist/components/tttx-standalone-input.js +6 -6
  146. package/dist/components/tttx-standalone-input_1_9_25.d.ts +11 -0
  147. package/dist/components/{tttx-standalone-input_1_9_23.js → tttx-standalone-input_1_9_25.js} +2 -2
  148. package/dist/components/{tttx-table_1_9_23.d.ts → tttx-table_1_9_25.d.ts} +4 -4
  149. package/dist/components/{tttx-table_1_9_23.js → tttx-table_1_9_25.js} +5 -5
  150. package/dist/components/{tttx-form_1_9_23.d.ts → tttx-tabs_1_9_25.d.ts} +4 -4
  151. package/dist/components/{tttx-tabs_1_9_23.js → tttx-tabs_1_9_25.js} +9 -9
  152. package/dist/components/tttx-tag.js +5 -5
  153. package/dist/components/{tttx-tag_1_9_23.d.ts → tttx-tag_1_9_25.d.ts} +4 -4
  154. package/dist/components/{tttx-tag_1_9_23.js → tttx-tag_1_9_25.js} +2 -2
  155. package/dist/components/tttx-textarea_1_9_25.d.ts +11 -0
  156. package/dist/components/{tttx-textarea_1_9_23.js → tttx-textarea_1_9_25.js} +6 -6
  157. package/dist/components/tttx-toggle_1_9_25.d.ts +11 -0
  158. package/dist/components/{tttx-toggle_1_9_23.js → tttx-toggle_1_9_25.js} +5 -5
  159. package/dist/components/tttx-toolbar.js +3 -3
  160. package/dist/components/tttx-toolbar_1_9_25.d.ts +11 -0
  161. package/dist/components/{tttx-toolbar_1_9_23.js → tttx-toolbar_1_9_25.js} +2 -2
  162. package/dist/components/tttx-tree-view_1_9_25.d.ts +11 -0
  163. package/dist/components/{tttx-tree-view_1_9_23.js → tttx-tree-view_1_9_25.js} +9 -9
  164. package/dist/esm/loader.js +1 -1
  165. package/dist/esm/{tttx-button_1_9_23.entry.js → tttx-button_1_9_25.entry.js} +2 -2
  166. package/dist/esm/{tttx-checkbox-group-caption_1_9_23.entry.js → tttx-checkbox-group-caption_1_9_25.entry.js} +1 -1
  167. package/dist/esm/{tttx-checkbox-group-heading_1_9_23.entry.js → tttx-checkbox-group-heading_1_9_25.entry.js} +1 -1
  168. package/dist/esm/{tttx-checkbox-group_1_9_23.entry.js → tttx-checkbox-group_1_9_25.entry.js} +1 -1
  169. package/dist/esm/{tttx-checkbox_1_9_23.entry.js → tttx-checkbox_1_9_25.entry.js} +2 -2
  170. package/dist/esm/{tttx-comments_1_9_23.entry.js → tttx-comments_1_9_25.entry.js} +2 -2
  171. package/dist/esm/{tttx-data-pattern_1_9_23.entry.js → tttx-data-pattern_1_9_25.entry.js} +5 -5
  172. package/dist/esm/{tttx-datacard_1_9_23.entry.js → tttx-datacard_1_9_25.entry.js} +4 -4
  173. package/dist/esm/{tttx-dialog-box_1_9_23.entry.js → tttx-dialog-box_1_9_25.entry.js} +3 -3
  174. package/dist/esm/{tttx-dialog_1_9_23.entry.js → tttx-dialog_1_9_25.entry.js} +2 -2
  175. package/dist/esm/{tttx-expander_1_9_23.entry.js → tttx-expander_1_9_25.entry.js} +2 -2
  176. package/dist/esm/{tttx-filter_1_9_23_4.entry.js → tttx-filter_1_9_25_4.entry.js} +6 -6
  177. package/dist/esm/{tttx-form_1_9_23.entry.js → tttx-form_1_9_25.entry.js} +11 -3
  178. package/dist/esm/{tttx-graph_1_9_23.entry.js → tttx-graph_1_9_25.entry.js} +1 -1
  179. package/dist/esm/{tttx-icon_1_9_23.entry.js → tttx-icon_1_9_25.entry.js} +1 -1
  180. package/dist/esm/{tttx-keyvalue-block_1_9_23.entry.js → tttx-keyvalue-block_1_9_25.entry.js} +1 -1
  181. package/dist/esm/{tttx-loading-spinner_1_9_23_3.entry.js → tttx-loading-spinner_1_9_25_3.entry.js} +4 -4
  182. package/dist/esm/{tttx-multiselect-box_1_9_23.entry.js → tttx-multiselect-box_1_9_25.entry.js} +7 -7
  183. package/dist/esm/{tttx-percentage-bar_1_9_23.entry.js → tttx-percentage-bar_1_9_25.entry.js} +2 -2
  184. package/dist/esm/{tttx-qrcode_1_9_23.entry.js → tttx-qrcode_1_9_25.entry.js} +1 -1
  185. package/dist/esm/{tttx-select-box_1_9_23.entry.js → tttx-select-box_1_9_25.entry.js} +32 -9
  186. package/dist/esm/{tttx-table_1_9_23.entry.js → tttx-table_1_9_25.entry.js} +1 -1
  187. package/dist/esm/{tttx-tabs_1_9_23.entry.js → tttx-tabs_1_9_25.entry.js} +4 -4
  188. package/dist/esm/{tttx-textarea_1_9_23.entry.js → tttx-textarea_1_9_25.entry.js} +2 -2
  189. package/dist/esm/{tttx-toggle_1_9_23.entry.js → tttx-toggle_1_9_25.entry.js} +1 -1
  190. package/dist/esm/{tttx-tree-view_1_9_23.entry.js → tttx-tree-view_1_9_25.entry.js} +3 -3
  191. package/dist/esm/tttx.js +1 -1
  192. package/dist/tttx/p-0da9f04c.entry.js +1 -1
  193. package/dist/tttx/p-0dfda92a.entry.js +1 -0
  194. package/dist/tttx/p-0e515960.entry.js +1 -1
  195. package/dist/tttx/p-0ffbf27e.entry.js +1 -1
  196. package/dist/tttx/p-1e5ff5f8.entry.js +1 -1
  197. package/dist/tttx/p-23f45005.entry.js +1 -1
  198. package/dist/tttx/p-2d4c1e8a.entry.js +1 -1
  199. package/dist/tttx/p-49ef7451.entry.js +1 -1
  200. package/dist/tttx/p-56c8c353.entry.js +1 -1
  201. package/dist/tttx/p-5722f326.entry.js +1 -1
  202. package/dist/tttx/p-59c7b049.entry.js +1 -1
  203. package/dist/tttx/p-63ad6fb7.entry.js +1 -1
  204. package/dist/tttx/p-6b1c7a21.entry.js +1 -1
  205. package/dist/tttx/p-74148f2a.entry.js +1 -1
  206. package/dist/tttx/p-79e218d0.entry.js +1 -1
  207. package/dist/tttx/p-9434561e.entry.js +1 -1
  208. package/dist/tttx/p-996a6061.entry.js +1 -1
  209. package/dist/tttx/p-a01e679a.entry.js +1 -1
  210. package/dist/tttx/p-a8e76e78.entry.js +1 -1
  211. package/dist/tttx/p-b7347352.entry.js +1 -1
  212. package/dist/tttx/p-c170e3b8.entry.js +1 -1
  213. package/dist/tttx/p-c34d99d1.entry.js +1 -1
  214. package/dist/tttx/p-cfe412d0.entry.js +1 -1
  215. package/dist/tttx/p-de6e8250.entry.js +1 -1
  216. package/dist/tttx/p-f115bff6.entry.js +1 -0
  217. package/dist/tttx/p-f374e293.entry.js +1 -1
  218. package/dist/tttx/tttx.esm.js +1 -1
  219. package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +2 -0
  220. package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +9 -1
  221. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
  222. package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
  223. package/dist/types/components.d.ts +374 -368
  224. package/package.json +1 -1
  225. package/dist/components/tttx-checkbox-group-caption_1_9_23.d.ts +0 -11
  226. package/dist/components/tttx-checkbox-group-heading_1_9_23.d.ts +0 -11
  227. package/dist/components/tttx-checkbox-group_1_9_23.d.ts +0 -11
  228. package/dist/components/tttx-data-pattern_1_9_23.d.ts +0 -11
  229. package/dist/components/tttx-dialog-box_1_9_23.d.ts +0 -11
  230. package/dist/components/tttx-expander_1_9_23.d.ts +0 -11
  231. package/dist/components/tttx-keyvalue-block_1_9_23.d.ts +0 -11
  232. package/dist/components/tttx-loading-spinner_1_9_23.d.ts +0 -11
  233. package/dist/components/tttx-multiselect-box_1_9_23.d.ts +0 -11
  234. package/dist/components/tttx-percentage-bar_1_9_23.d.ts +0 -11
  235. package/dist/components/tttx-select-box_1_9_23.d.ts +0 -11
  236. package/dist/components/tttx-sorter_1_9_23.d.ts +0 -11
  237. package/dist/components/tttx-standalone-input_1_9_23.d.ts +0 -11
  238. package/dist/components/tttx-textarea_1_9_23.d.ts +0 -11
  239. package/dist/components/tttx-toggle_1_9_23.d.ts +0 -11
  240. package/dist/components/tttx-toolbar_1_9_23.d.ts +0 -11
  241. package/dist/components/tttx-tree-view_1_9_23.d.ts +0 -11
  242. package/dist/tttx/p-0741cbca.entry.js +0 -1
  243. package/dist/tttx/p-90d21e86.entry.js +0 -1
  244. package/dist/types/components/molecules/tttx-checkbox-group/interfaces.d.ts +0 -10
  245. package/dist/types/components/molecules/tttx-dialog-box/interfaces.d.ts +0 -25
  246. package/dist/types/components/molecules/tttx-list/interfaces.d.ts +0 -38
  247. package/dist/types/components/molecules/tttx-multiselect-box/interfaces.d.ts +0 -7
  248. package/dist/types/components/molecules/tttx-select-box/interfaces.d.ts +0 -7
  249. package/dist/types/components/molecules/tttx-sorter/interfaces.d.ts +0 -9
  250. package/dist/types/components/molecules/tttx-tabs/interfaces.d.ts +0 -10
@@ -19,7 +19,7 @@ const TttxLoadingSpinner = class {
19
19
  };
20
20
  TttxLoadingSpinner.style = tttxLoadingSpinnerCss;
21
21
 
22
- const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_9_23{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_9_23{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_9_23{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_9_23 .optional.sc-tttx-standalone-input_1_9_23{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23{position:relative}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 .left-icons.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 .right-icons.sc-tttx-standalone-input_1_9_23{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 .left-icons.sc-tttx-standalone-input_1_9_23 tttx-icon.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 .right-icons.sc-tttx-standalone-input_1_9_23 tttx-icon.sc-tttx-standalone-input_1_9_23{height:24px;width:24px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 .left-icons.sc-tttx-standalone-input_1_9_23{left:8px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 .right-icons.sc-tttx-standalone-input_1_9_23{right:8px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.sc-tttx-standalone-input_1_9_23{color:#212121;box-sizing:border-box;border:1px solid #d5d5d5;border-radius:4px;margin-top:4px;padding:0;padding-left:16px;padding-right:16px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.has-input-icon.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.has-input-icon.sc-tttx-standalone-input_1_9_23{padding-left:40px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_23{padding-left:72px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.has-left-icon.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.has-left-icon.sc-tttx-standalone-input_1_9_23{padding-left:40px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.has-right-icon.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.has-right-icon.sc-tttx-standalone-input_1_9_23{padding-right:40px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.invalid.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.invalid.sc-tttx-standalone-input_1_9_23{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.sc-tttx-standalone-input_1_9_23:not([type=submit]),label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.sc-tttx-standalone-input_1_9_23:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input[type=radio].sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea[type=radio].sc-tttx-standalone-input_1_9_23{width:20px;height:20px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input[type=date].sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea[type=date].sc-tttx-standalone-input_1_9_23{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input[readonly].sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea[readonly].sc-tttx-standalone-input_1_9_23{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.sc-tttx-standalone-input_1_9_23:focus,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.sc-tttx-standalone-input_1_9_23:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.sc-tttx-standalone-input_1_9_23:focus-visible,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.sc-tttx-standalone-input_1_9_23:focus-visible{outline:none}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.sc-tttx-standalone-input_1_9_23{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.resize-none.sc-tttx-standalone-input_1_9_23{resize:none}label.sc-tttx-standalone-input_1_9_23 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_23{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_9_23 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_23 .left-icons.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_23 .right-icons.sc-tttx-standalone-input_1_9_23{margin-top:4px}label.sc-tttx-standalone-input_1_9_23 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_9_23{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_23 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_9_23{display:block}label.sc-tttx-standalone-input_1_9_23 .outer-container.inputInline.sc-tttx-standalone-input_1_9_23{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_9_23 .outer-container.inputInline.sc-tttx-standalone-input_1_9_23 input.sc-tttx-standalone-input_1_9_23{margin-top:0}label.sc-tttx-standalone-input_1_9_23 .secondarylabel.sc-tttx-standalone-input_1_9_23{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_9_23 .errorBubble.sc-tttx-standalone-input_1_9_23{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label.sc-tttx-standalone-input_1_9_23 .errorBubble.sc-tttx-standalone-input_1_9_23:not(.visible){display:none}label.sc-tttx-standalone-input_1_9_23 .errorBubble.sc-tttx-standalone-input_1_9_23 span.sc-tttx-standalone-input_1_9_23{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_9_23{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}.sc-tttx-standalone-input_1_9_23-h{display:block}";
22
+ const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_9_25{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_9_25{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_9_25{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_9_25 .optional.sc-tttx-standalone-input_1_9_25{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25{position:relative}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 .left-icons.sc-tttx-standalone-input_1_9_25,label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 .right-icons.sc-tttx-standalone-input_1_9_25{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 .left-icons.sc-tttx-standalone-input_1_9_25 tttx-icon.sc-tttx-standalone-input_1_9_25,label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 .right-icons.sc-tttx-standalone-input_1_9_25 tttx-icon.sc-tttx-standalone-input_1_9_25{height:24px;width:24px}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 .left-icons.sc-tttx-standalone-input_1_9_25{left:8px}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 .right-icons.sc-tttx-standalone-input_1_9_25{right:8px}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 input.sc-tttx-standalone-input_1_9_25,label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 textarea.sc-tttx-standalone-input_1_9_25{color:#212121;box-sizing:border-box;border:1px solid #d5d5d5;border-radius:4px;margin-top:4px;padding:0;padding-left:16px;padding-right:16px}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 input.has-input-icon.sc-tttx-standalone-input_1_9_25,label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 textarea.has-input-icon.sc-tttx-standalone-input_1_9_25{padding-left:40px}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_25,label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_25{padding-left:72px}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 input.has-left-icon.sc-tttx-standalone-input_1_9_25,label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 textarea.has-left-icon.sc-tttx-standalone-input_1_9_25{padding-left:40px}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 input.has-right-icon.sc-tttx-standalone-input_1_9_25,label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 textarea.has-right-icon.sc-tttx-standalone-input_1_9_25{padding-right:40px}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 input.invalid.sc-tttx-standalone-input_1_9_25,label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 textarea.invalid.sc-tttx-standalone-input_1_9_25{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 input.sc-tttx-standalone-input_1_9_25:not([type=submit]),label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 textarea.sc-tttx-standalone-input_1_9_25:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 input[type=radio].sc-tttx-standalone-input_1_9_25,label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 textarea[type=radio].sc-tttx-standalone-input_1_9_25{width:20px;height:20px}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 input[type=date].sc-tttx-standalone-input_1_9_25,label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 textarea[type=date].sc-tttx-standalone-input_1_9_25{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 input[readonly].sc-tttx-standalone-input_1_9_25,label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 textarea[readonly].sc-tttx-standalone-input_1_9_25{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 input.sc-tttx-standalone-input_1_9_25:focus,label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 textarea.sc-tttx-standalone-input_1_9_25:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 input.sc-tttx-standalone-input_1_9_25:focus-visible,label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 textarea.sc-tttx-standalone-input_1_9_25:focus-visible{outline:none}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 textarea.sc-tttx-standalone-input_1_9_25{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_9_25 .outer-container.sc-tttx-standalone-input_1_9_25 textarea.resize-none.sc-tttx-standalone-input_1_9_25{resize:none}label.sc-tttx-standalone-input_1_9_25 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_25{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_9_25 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_25 .left-icons.sc-tttx-standalone-input_1_9_25,label.sc-tttx-standalone-input_1_9_25 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_25 .right-icons.sc-tttx-standalone-input_1_9_25{margin-top:4px}label.sc-tttx-standalone-input_1_9_25 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_9_25{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_25 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_9_25{display:block}label.sc-tttx-standalone-input_1_9_25 .outer-container.inputInline.sc-tttx-standalone-input_1_9_25{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_9_25 .outer-container.inputInline.sc-tttx-standalone-input_1_9_25 input.sc-tttx-standalone-input_1_9_25{margin-top:0}label.sc-tttx-standalone-input_1_9_25 .secondarylabel.sc-tttx-standalone-input_1_9_25{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_9_25 .errorBubble.sc-tttx-standalone-input_1_9_25{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label.sc-tttx-standalone-input_1_9_25 .errorBubble.sc-tttx-standalone-input_1_9_25:not(.visible){display:none}label.sc-tttx-standalone-input_1_9_25 .errorBubble.sc-tttx-standalone-input_1_9_25 span.sc-tttx-standalone-input_1_9_25{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_9_25{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}.sc-tttx-standalone-input_1_9_25-h{display:block}";
23
23
 
24
24
  const TttxInput = class {
25
25
  constructor(hostRef) {
@@ -101,7 +101,7 @@ const TttxInput = class {
101
101
  this.iconleft ? 'has-left-icon' : '',
102
102
  this.iconright ? 'has-right-icon' : '',
103
103
  ].join(' ');
104
- return (h(Host, null, h("label", null, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), (this.inputicon || this.iconleft) && (h("span", { class: "left-icons" }, this.inputicon && (h("tttx-icon_1_9_23", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon_1_9_23", { class: "left-icon", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })))), this.iconright && (h("span", { class: "right-icons" }, h("tttx-icon_1_9_23", { class: "right-icon", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })))), this.secondarylabel && h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", this.errormsg)))));
104
+ return (h(Host, null, h("label", null, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), (this.inputicon || this.iconleft) && (h("span", { class: "left-icons" }, this.inputicon && (h("tttx-icon_1_9_25", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon_1_9_25", { class: "left-icon", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })))), this.iconright && (h("span", { class: "right-icons" }, h("tttx-icon_1_9_25", { class: "right-icon", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })))), this.secondarylabel && h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", this.errormsg)))));
105
105
  }
106
106
  };
107
107
  TttxInput.style = tttxStandaloneInputCss;
@@ -121,9 +121,9 @@ const TttxTag = class {
121
121
  }
122
122
  render() {
123
123
  return (h(Host, null, h("div", { class: "tag", style: { 'background-color': this.color, color: this.textColor } }, this.hasIcon &&
124
- h("tttx-icon_1_9_23", { role: "icon", class: "tag_icon", "aria-label": this.text, icon: this.icon, color: this.iconColor, size: this.iconSize }), h("span", null, this.text))));
124
+ h("tttx-icon_1_9_25", { role: "icon", class: "tag_icon", "aria-label": this.text, icon: this.icon, color: this.iconColor, size: this.iconSize }), h("span", null, this.text))));
125
125
  }
126
126
  };
127
127
  TttxTag.style = tttxTagCss;
128
128
 
129
- export { TttxLoadingSpinner as tttx_loading_spinner_1_9_23, TttxInput as tttx_standalone_input_1_9_23, TttxTag as tttx_tag_1_9_23 };
129
+ export { TttxLoadingSpinner as tttx_loading_spinner_1_9_25, TttxInput as tttx_standalone_input_1_9_25, TttxTag as tttx_tag_1_9_25 };
@@ -121,9 +121,9 @@ const TttxMultiselectBox = class {
121
121
  }
122
122
  // render priority options at the top of the dropdown list
123
123
  return (h(Fragment, null, usingPriority && priorityOptions.length > 0 &&
124
- h(Fragment, null, h("tttx-tag_1_9_23", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
124
+ h(Fragment, null, h("tttx-tag_1_9_25", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
125
125
  h(Fragment, null, usingPriority &&
126
- h("tttx-tag_1_9_23", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
126
+ h("tttx-tag_1_9_25", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
127
127
  }
128
128
  dropdownOption(option) {
129
129
  // This is tested in e2e tests
@@ -134,11 +134,11 @@ const TttxMultiselectBox = class {
134
134
  const sanitisedHTML = purify.sanitize(option.html, domSanitiserOptions);
135
135
  // This is tested in e2e tests
136
136
  /* istanbul ignore next */
137
- return (h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-icon_1_9_23", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), h("div", { innerHTML: sanitisedHTML })));
137
+ return (h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-icon_1_9_25", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), h("div", { innerHTML: sanitisedHTML })));
138
138
  }
139
139
  // This is tested in e2e tests
140
140
  /* istanbul ignore next */
141
- return (h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-icon_1_9_23", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), h("div", { class: "plaintext-option" }, option.label)));
141
+ return (h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-icon_1_9_25", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), h("div", { class: "plaintext-option" }, option.label)));
142
142
  }
143
143
  // This is tested in e2e tests
144
144
  /* istanbul ignore next */
@@ -168,9 +168,9 @@ const TttxMultiselectBox = class {
168
168
  return;
169
169
  const chevronIcon = this.open ? 'expand_less' : 'expand_more';
170
170
  const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
171
- 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', readOnlyClass].join(' '), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), h("div", { class: "dropdown-selector-chevron" }, h("tttx-icon_1_9_23", { icon: chevronIcon, color: "black" }))), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({}, this.bodyOffset) }, this.searchEnabled &&
171
+ 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', readOnlyClass].join(' '), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), h("div", { class: "dropdown-selector-chevron" }, h("tttx-icon_1_9_25", { icon: chevronIcon, color: "black" }))), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({}, this.bodyOffset) }, this.searchEnabled &&
172
172
  /* istanbul ignore next */
173
- h("div", { class: "searchbox" }, h("tttx-standalone-input_1_9_23", { type: "text", placeholder: 'Search', label: "", required: true, showerrorbubble: false, iconleft: 'search', onInput: this.handleSearchInput.bind(this), inline: true })), h("div", { class: "dropdown-options-list" }, this.isLoading ? (h("tttx-loading-spinner_1_9_23", { class: 'loading-style' })) : (this.renderDropdownOptions(this.unsavedSelectedItems))), h("div", { class: 'footer' }, h("tttx-button_1_9_23", { design: "primary", onClick: this.applyChanges.bind(this) }, "Apply"), h("tttx-button_1_9_23", { onClick: this.onCancel.bind(this) }, "Cancel"))))))));
173
+ h("div", { class: "searchbox" }, h("tttx-standalone-input_1_9_25", { type: "text", placeholder: 'Search', label: "", required: true, showerrorbubble: false, iconleft: 'search', onInput: this.handleSearchInput.bind(this), inline: true })), h("div", { class: "dropdown-options-list" }, this.isLoading ? (h("tttx-loading-spinner_1_9_25", { class: 'loading-style' })) : (this.renderDropdownOptions(this.unsavedSelectedItems))), h("div", { class: 'footer' }, h("tttx-button_1_9_25", { design: "primary", onClick: this.applyChanges.bind(this) }, "Apply"), h("tttx-button_1_9_25", { onClick: this.onCancel.bind(this) }, "Cancel"))))))));
174
174
  }
175
175
  get el() { return getElement(this); }
176
176
  static get watchers() { return {
@@ -179,4 +179,4 @@ const TttxMultiselectBox = class {
179
179
  };
180
180
  TttxMultiselectBox.style = tttxMultiselectBoxCss;
181
181
 
182
- export { TttxMultiselectBox as tttx_multiselect_box_1_9_23 };
182
+ export { TttxMultiselectBox as tttx_multiselect_box_1_9_25 };
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-88bd2f60.js';
2
2
 
3
- const tttxPercentageBarCss = ".sc-tttx-percentage-bar_1_9_23-h{display:block}.progress.sc-tttx-percentage-bar_1_9_23{width:100%;background-color:#dbdbdb}.progress.sc-tttx-percentage-bar_1_9_23 .bar.sc-tttx-percentage-bar_1_9_23{height:20px}";
3
+ const tttxPercentageBarCss = ".sc-tttx-percentage-bar_1_9_25-h{display:block}.progress.sc-tttx-percentage-bar_1_9_25{width:100%;background-color:#dbdbdb}.progress.sc-tttx-percentage-bar_1_9_25 .bar.sc-tttx-percentage-bar_1_9_25{height:20px}";
4
4
 
5
5
  const TttxPercentageBar = class {
6
6
  constructor(hostRef) {
@@ -58,4 +58,4 @@ const TttxPercentageBar = class {
58
58
  };
59
59
  TttxPercentageBar.style = tttxPercentageBarCss;
60
60
 
61
- export { TttxPercentageBar as tttx_percentage_bar_1_9_23 };
61
+ export { TttxPercentageBar as tttx_percentage_bar_1_9_25 };
@@ -36,4 +36,4 @@ const TttxQrCode = class {
36
36
  };
37
37
  TttxQrCode.style = tttxQrcodeCss;
38
38
 
39
- export { TttxQrCode as tttx_qrcode_1_9_23 };
39
+ export { TttxQrCode as tttx_qrcode_1_9_25 };
@@ -10,6 +10,7 @@ const TttxSelectBox = class {
10
10
  this.selectItemEvent = createEvent(this, "selectItemEvent", 3);
11
11
  this.toggleOpen = createEvent(this, "toggleOpen", 3);
12
12
  this.searchUpdated = createEvent(this, "multiselectSearchUpdated", 7);
13
+ this.selectEndReachedEvent = createEvent(this, "selectEndReached", 7);
13
14
  this.bodyOffset = {};
14
15
  this.closeSelectBoxHandler = () => {
15
16
  if (this.open) {
@@ -23,6 +24,8 @@ const TttxSelectBox = class {
23
24
  this.searchEnabled = undefined;
24
25
  this.selectedValue = undefined;
25
26
  this.useExternalFiltering = undefined;
27
+ this.useExternalPaginatedFiltering = undefined;
28
+ this.isAllExternalDataLoaded = undefined;
26
29
  this.isLoading = undefined;
27
30
  this.readOnly = undefined;
28
31
  this.priorityLabel = 'Priority Group';
@@ -33,6 +36,7 @@ const TttxSelectBox = class {
33
36
  this.open = false;
34
37
  this.selectedItem = undefined;
35
38
  this.searchTerm = '';
39
+ this.loadingNextExternalPage = false;
36
40
  }
37
41
  async componentWillLoad() {
38
42
  if (this.optionsData) {
@@ -42,12 +46,17 @@ const TttxSelectBox = class {
42
46
  });
43
47
  this.selectedItem = matchingItems.length > 0 ? matchingItems[0] : undefined;
44
48
  }
49
+ this._isAllExternalDataLoaded = this.isAllExternalDataLoaded;
45
50
  }
46
51
  async setOptionsData() {
47
52
  this._optionsData = typeof this.optionsData === 'string' ? JSON.parse(this.optionsData) : this.optionsData;
48
53
  if (this.open) {
49
54
  this.calculateDropdownMenuOffset();
50
55
  }
56
+ this.loadingNextExternalPage = false;
57
+ }
58
+ updateAllLoadedBool() {
59
+ this._isAllExternalDataLoaded = this.isAllExternalDataLoaded;
51
60
  }
52
61
  async setSelectedItem(value) {
53
62
  if (!value)
@@ -80,6 +89,7 @@ const TttxSelectBox = class {
80
89
  return;
81
90
  this.open = !this.open;
82
91
  this.searchTerm = '';
92
+ this.loadingNextExternalPage = false;
83
93
  this.calculateDropdownMenuOffset();
84
94
  this.toggleOpen.emit(this.open);
85
95
  }
@@ -92,7 +102,7 @@ const TttxSelectBox = class {
92
102
  let title;
93
103
  let subtitle;
94
104
  const chevronIcon = this.open ? 'expand_less' : 'expand_more';
95
- const icon = h("tttx-icon_1_9_23", { icon: chevronIcon, color: "black" });
105
+ const icon = h("tttx-icon_1_9_25", { icon: chevronIcon, color: "black" });
96
106
  let chevron = h("div", { class: "dropdown-selector-chevron" }, icon);
97
107
  if (!this.selectedItem) {
98
108
  title = h("div", { class: "placeholder" }, this.placeholder);
@@ -119,7 +129,9 @@ const TttxSelectBox = class {
119
129
  // using priority groups if any item has the option set, so set true for first found
120
130
  usingPriority = usingPriority || option.prioritise === true;
121
131
  // don't include if it doesn't match the search term when searching
122
- if (this.searchEnabled && option.label.toLowerCase().indexOf(this.searchTerm.toLowerCase()) === -1)
132
+ if (this.searchEnabled &&
133
+ (!this.useExternalFiltering && !this.useExternalPaginatedFiltering) &&
134
+ option.label.toLowerCase().indexOf(this.searchTerm.toLowerCase()) === -1)
123
135
  continue;
124
136
  if (option.prioritise === true) {
125
137
  priorityOptions.push(option);
@@ -129,9 +141,9 @@ const TttxSelectBox = class {
129
141
  }
130
142
  // render priority options at the top of the dropdown list
131
143
  return (h(Fragment, null, usingPriority && priorityOptions.length > 0 &&
132
- h(Fragment, null, h("tttx-tag_1_9_23", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
144
+ h(Fragment, null, h("tttx-tag_1_9_25", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
133
145
  h(Fragment, null, usingPriority &&
134
- h("tttx-tag_1_9_23", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
146
+ h("tttx-tag_1_9_25", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
135
147
  }
136
148
  dropdownOption(option) {
137
149
  const selected = this.selectedItem && option.value === this.selectedItem.value;
@@ -146,13 +158,12 @@ const TttxSelectBox = class {
146
158
  }
147
159
  handleSearchInput(event) {
148
160
  const searchInput = event.target.value;
149
- if (this.useExternalFiltering) {
161
+ if (this.useExternalFiltering || this.useExternalPaginatedFiltering) {
150
162
  // emit event with the latest search value
151
163
  clearTimeout(this.searchFilterTimeout);
152
164
  this.searchFilterTimeout = setTimeout((filterValue) => {
153
165
  this.searchUpdated.emit(filterValue);
154
166
  }, 500, searchInput);
155
- return;
156
167
  }
157
168
  this.searchTerm = searchInput;
158
169
  }
@@ -202,18 +213,30 @@ const TttxSelectBox = class {
202
213
  overflowY: 'auto', // Allow scrolling if needed
203
214
  };
204
215
  }
216
+ onSelectScroll(scrollEvent) {
217
+ const selectDiv = scrollEvent.target;
218
+ const isScrolledEnd = selectDiv.scrollTop === (selectDiv.scrollHeight - selectDiv.offsetHeight);
219
+ if (this.useExternalPaginatedFiltering && isScrolledEnd && !this.loadingNextExternalPage && !this._isAllExternalDataLoaded) {
220
+ this.loadingNextExternalPage = true;
221
+ clearTimeout(this.selectEndReached);
222
+ this.selectEndReached = setTimeout((filterValue) => {
223
+ this.selectEndReachedEvent.emit(filterValue);
224
+ }, 500, this.searchTerm);
225
+ }
226
+ }
205
227
  render() {
206
228
  if (!this.optionsData)
207
229
  return;
208
230
  const invalidClass = this.showErrorMsg ? 'invalid' : '';
209
231
  const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
210
- 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_23", { type: "text", label: "", required: true, showerrorbubble: false, iconleft: "search", onInput: this.handleSearchInput.bind(this) }))), h("div", { class: "dropdown-options-list" }, this.isLoading ? (h("tttx-loading-spinner_1_9_23", { class: 'loading-style' })) : (this.renderDropdownOptions(this._optionsData)))))), this.showErrorBubble && (h("span", { class: ['errorBubble', this.showErrorMsg && this.errorMsg ? 'visible' : ''].join(' ') }, h("tttx-icon_1_9_23", { icon: "warning", color: "#dc0000", size: 16 }), " ", this.errorMsg)))));
232
+ 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_25", { 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_25", { class: 'loading-style' })))))), this.showErrorBubble && (h("span", { class: ['errorBubble', this.showErrorMsg && this.errorMsg ? 'visible' : ''].join(' ') }, h("tttx-icon_1_9_25", { icon: "warning", color: "#dc0000", size: 16 }), " ", this.errorMsg)))));
211
233
  }
212
234
  get el() { return getElement(this); }
213
235
  static get watchers() { return {
214
- "optionsData": ["setOptionsData"]
236
+ "optionsData": ["setOptionsData"],
237
+ "isAllExternalDataLoaded": ["updateAllLoadedBool"]
215
238
  }; }
216
239
  };
217
240
  TttxSelectBox.style = tttxSelectBoxCss;
218
241
 
219
- export { TttxSelectBox as tttx_select_box_1_9_23 };
242
+ export { TttxSelectBox as tttx_select_box_1_9_25 };
@@ -54,4 +54,4 @@ const TttxTable = class {
54
54
  };
55
55
  TttxTable.style = tttxTableCss;
56
56
 
57
- export { TttxTable as tttx_table_1_9_23 };
57
+ export { TttxTable as tttx_table_1_9_25 };
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-8
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_23{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-tabs_1_9_23-h{display:block}.tab-bar.sc-tttx-tabs_1_9_23{display:flex;height:52px}.tab-bar.sc-tttx-tabs_1_9_23>.left-navigation.sc-tttx-tabs_1_9_23,.tab-bar.sc-tttx-tabs_1_9_23>.right-navigation.sc-tttx-tabs_1_9_23{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_23>.left-navigation.sc-tttx-tabs_1_9_23>*.sc-tttx-tabs_1_9_23,.tab-bar.sc-tttx-tabs_1_9_23>.right-navigation.sc-tttx-tabs_1_9_23>*.sc-tttx-tabs_1_9_23{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_23>.tabs-container.sc-tttx-tabs_1_9_23{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs_1_9_23>.tabs-container.wide.sc-tttx-tabs_1_9_23{flex-grow:1}.tab-bar.sc-tttx-tabs_1_9_23>.tabs-container.sc-tttx-tabs_1_9_23>*[role=tab].sc-tttx-tabs_1_9_23{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_23>.tabs-container.sc-tttx-tabs_1_9_23>*[role=tab].sc-tttx-tabs_1_9_23:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs_1_9_23>.tabs-container.sc-tttx-tabs_1_9_23>*[role=tab][aria-selected].sc-tttx-tabs_1_9_23{color:#212121;cursor:default;border-bottom:3px solid #1579c6}";
5
+ const tttxTabsCss = ".material-symbols-rounded.sc-tttx-tabs_1_9_25{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-tabs_1_9_25-h{display:block}.tab-bar.sc-tttx-tabs_1_9_25{display:flex;height:52px}.tab-bar.sc-tttx-tabs_1_9_25>.left-navigation.sc-tttx-tabs_1_9_25,.tab-bar.sc-tttx-tabs_1_9_25>.right-navigation.sc-tttx-tabs_1_9_25{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_25>.left-navigation.sc-tttx-tabs_1_9_25>*.sc-tttx-tabs_1_9_25,.tab-bar.sc-tttx-tabs_1_9_25>.right-navigation.sc-tttx-tabs_1_9_25>*.sc-tttx-tabs_1_9_25{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_25>.tabs-container.sc-tttx-tabs_1_9_25{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs_1_9_25>.tabs-container.wide.sc-tttx-tabs_1_9_25{flex-grow:1}.tab-bar.sc-tttx-tabs_1_9_25>.tabs-container.sc-tttx-tabs_1_9_25>*[role=tab].sc-tttx-tabs_1_9_25{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_25>.tabs-container.sc-tttx-tabs_1_9_25>*[role=tab].sc-tttx-tabs_1_9_25:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs_1_9_25>.tabs-container.sc-tttx-tabs_1_9_25>*[role=tab][aria-selected].sc-tttx-tabs_1_9_25{color:#212121;cursor:default;border-bottom:3px solid #1579c6}";
6
6
 
7
7
  const TttxTabs = class {
8
8
  constructor(hostRef) {
@@ -74,7 +74,7 @@ const TttxTabs = class {
74
74
  }
75
75
  generateTab(tab) {
76
76
  var _a, _b;
77
- const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (h("tttx-icon_1_9_23", { style: { pointerEvents: 'none', marginTop: '-2px' }, icon: tab.tabIcon, color: 'gray', size: (_b = tab.tabIconSize) !== null && _b !== void 0 ? _b : 24 }));
77
+ const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (h("tttx-icon_1_9_25", { style: { pointerEvents: 'none', marginTop: '-2px' }, icon: tab.tabIcon, color: 'gray', size: (_b = tab.tabIconSize) !== null && _b !== void 0 ? _b : 24 }));
78
78
  return (h("a", { key: tab.id, id: tab.id, role: "tab", "aria-controls": tab.controls, tabindex: tab.tabIndex, "aria-selected": tab.selected, onClick: () => {
79
79
  this.handleTabClick(tab);
80
80
  } }, tabTitle));
@@ -93,7 +93,7 @@ const TttxTabs = class {
93
93
  return;
94
94
  }
95
95
  const selectedTab = this._tabs.find(tab => tab.selected);
96
- 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_23", { 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_23", { icon: "navigate_next", color: "black" })))), selectedTab && this.renderSelectedTab(selectedTab))));
96
+ 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_25", { 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_25", { icon: "navigate_next", color: "black" })))), selectedTab && this.renderSelectedTab(selectedTab))));
97
97
  }
98
98
  static get watchers() { return {
99
99
  "tabs": ["onDataChange"]
@@ -101,4 +101,4 @@ const TttxTabs = class {
101
101
  };
102
102
  TttxTabs.style = tttxTabsCss;
103
103
 
104
- export { TttxTabs as tttx_tabs_1_9_23 };
104
+ export { TttxTabs as tttx_tabs_1_9_25 };
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-88bd2f60.js';
2
2
 
3
- const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea_1_9_23{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_1_9_23-h{display:block}label.sc-tttx-textarea_1_9_23{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_9_23 .textarea-container.sc-tttx-textarea_1_9_23{position:relative}label.sc-tttx-textarea_1_9_23 .textarea-container.sc-tttx-textarea_1_9_23 textarea.sc-tttx-textarea_1_9_23{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_23 .textarea-container.sc-tttx-textarea_1_9_23 textarea.no-label.sc-tttx-textarea_1_9_23{margin-top:0}label.sc-tttx-textarea_1_9_23 .textarea-container.sc-tttx-textarea_1_9_23 textarea.sc-tttx-textarea_1_9_23~.errorBubble.sc-tttx-textarea_1_9_23{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_23 .textarea-container.sc-tttx-textarea_1_9_23 textarea.sc-tttx-textarea_1_9_23~.errorBubble.sc-tttx-textarea_1_9_23:not(.visible){display:none}label.sc-tttx-textarea_1_9_23 .textarea-container.sc-tttx-textarea_1_9_23 textarea.sc-tttx-textarea_1_9_23~.errorBubble.sc-tttx-textarea_1_9_23 span.sc-tttx-textarea_1_9_23{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_9_23 .textarea-container.sc-tttx-textarea_1_9_23 textarea.sc-tttx-textarea_1_9_23:focus{border-color:#1479c6}label.sc-tttx-textarea_1_9_23 .textarea-container.sc-tttx-textarea_1_9_23 textarea.sc-tttx-textarea_1_9_23:focus-visible{outline:none}label.sc-tttx-textarea_1_9_23 .secondarylabel.sc-tttx-textarea_1_9_23{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_9_23 .optional.sc-tttx-textarea_1_9_23{color:#757575;font-weight:normal}";
3
+ const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea_1_9_25{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_1_9_25-h{display:block}label.sc-tttx-textarea_1_9_25{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_9_25 .textarea-container.sc-tttx-textarea_1_9_25{position:relative}label.sc-tttx-textarea_1_9_25 .textarea-container.sc-tttx-textarea_1_9_25 textarea.sc-tttx-textarea_1_9_25{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_25 .textarea-container.sc-tttx-textarea_1_9_25 textarea.no-label.sc-tttx-textarea_1_9_25{margin-top:0}label.sc-tttx-textarea_1_9_25 .textarea-container.sc-tttx-textarea_1_9_25 textarea.sc-tttx-textarea_1_9_25~.errorBubble.sc-tttx-textarea_1_9_25{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_25 .textarea-container.sc-tttx-textarea_1_9_25 textarea.sc-tttx-textarea_1_9_25~.errorBubble.sc-tttx-textarea_1_9_25:not(.visible){display:none}label.sc-tttx-textarea_1_9_25 .textarea-container.sc-tttx-textarea_1_9_25 textarea.sc-tttx-textarea_1_9_25~.errorBubble.sc-tttx-textarea_1_9_25 span.sc-tttx-textarea_1_9_25{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_9_25 .textarea-container.sc-tttx-textarea_1_9_25 textarea.sc-tttx-textarea_1_9_25:focus{border-color:#1479c6}label.sc-tttx-textarea_1_9_25 .textarea-container.sc-tttx-textarea_1_9_25 textarea.sc-tttx-textarea_1_9_25:focus-visible{outline:none}label.sc-tttx-textarea_1_9_25 .secondarylabel.sc-tttx-textarea_1_9_25{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_9_25 .optional.sc-tttx-textarea_1_9_25{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_23 };
55
+ export { TttxTextarea as tttx_textarea_1_9_25 };
@@ -33,4 +33,4 @@ const TttxToggle = class {
33
33
  };
34
34
  TttxToggle.style = tttxToggleCss;
35
35
 
36
- export { TttxToggle as tttx_toggle_1_9_23 };
36
+ export { TttxToggle as tttx_toggle_1_9_25 };
@@ -102,7 +102,7 @@ const TttxTreeView = class {
102
102
  if (node.hasHover) {
103
103
  this.onClickHandler(event, node);
104
104
  }
105
- } }, h("tttx-button_1_9_23", { 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)), node.isOpen ? (h("li", null, h("ul", null, node.child.map(childNode => {
105
+ } }, h("tttx-button_1_9_25", { 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)), node.isOpen ? (h("li", null, h("ul", null, node.child.map(childNode => {
106
106
  return this.renderNode(childNode);
107
107
  })))) : null));
108
108
  }
@@ -115,7 +115,7 @@ const TttxTreeView = class {
115
115
  }
116
116
  }
117
117
  htmlcode(type, node, check_box, check_boxColor) {
118
- const htmlcode = (h("div", { class: "inline-tree-item element" }, node.hasCheckbox && (h("tttx-button_1_9_23", { 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_23", { 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) })));
118
+ const htmlcode = (h("div", { class: "inline-tree-item element" }, node.hasCheckbox && (h("tttx-button_1_9_25", { 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_25", { 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) })));
119
119
  return htmlcode;
120
120
  }
121
121
  render() {
@@ -126,4 +126,4 @@ const TttxTreeView = class {
126
126
  };
127
127
  TttxTreeView.style = tttxTreeViewCss;
128
128
 
129
- export { TttxTreeView as tttx_tree_view_1_9_23 };
129
+ export { TttxTreeView as tttx_tree_view_1_9_25 };
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_23",[[1,"tttx-data-pattern_1_9_23",{"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_23",[[1,"tttx-form_1_9_23",{"formschema":[1025],"data":[1032],"submit":[64],"showLoadingSpinner":[64],"setSelectedItem":[64],"setSelectOptions":[64],"setValidationFor":[64],"clearValidationFor":[64],"disableFormField":[64],"enableFormField":[64],"setInputFieldValue":[64],"setFieldReadOnlyMode":[64]}]]],["tttx-multiselect-box_1_9_23",[[1,"tttx-multiselect-box_1_9_23",{"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-datacard_1_9_23",[[1,"tttx-datacard_1_9_23",{"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_23",[[1,"tttx-dialog-box_1_9_23",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_23",[[1,"tttx-dialog_1_9_23",{"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_23",[[1,"tttx-tree-view_1_9_23",{"data":[1040],"treeData":[32]}]]],["tttx-checkbox_1_9_23",[[0,"tttx-checkbox_1_9_23",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_23",[[1,"tttx-comments_1_9_23",{"currentuser":[1],"comments":[1],"_comments":[32],"addDummyComment":[64]}]]],["tttx-expander_1_9_23",[[1,"tttx-expander_1_9_23",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_23",[[2,"tttx-tabs_1_9_23",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_23",[[4,"tttx-checkbox-group-caption_1_9_23"]]],["tttx-checkbox-group-heading_1_9_23",[[4,"tttx-checkbox-group-heading_1_9_23"]]],["tttx-checkbox-group_1_9_23",[[1,"tttx-checkbox-group_1_9_23"]]],["tttx-keyvalue-block_1_9_23",[[1,"tttx-keyvalue-block_1_9_23",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_23",[[2,"tttx-percentage-bar_1_9_23",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_23",[[1,"tttx-qrcode_1_9_23",{"link":[1025],"size":[1026]}]]],["tttx-table_1_9_23",[[1,"tttx-table_1_9_23",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_23",[[2,"tttx-textarea_1_9_23",{"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_23",[[1,"tttx-toggle_1_9_23",{"initialstate":[8],"_state":[32]}]]],["tttx-loading-spinner_1_9_23_3",[[1,"tttx-tag_1_9_23",{"text":[1],"color":[1],"textColor":[1,"text-color"],"hasIcon":[4,"has-icon"],"icon":[1],"iconColor":[1,"icon-color"],"iconSize":[2,"icon-size"]}],[1,"tttx-loading-spinner_1_9_23",{"loadingMessage":[1028,"loading-message"],"size":[1025]}],[2,"tttx-standalone-input_1_9_23",{"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]}]]],["tttx-select-box_1_9_23",[[1,"tttx-select-box_1_9_23",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"useExternalFiltering":[4,"use-external-filtering"],"isLoading":[4,"is-loading"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"showErrorMsg":[4,"show-error-msg"],"showErrorBubble":[4,"show-error-bubble"],"errorMsg":[1,"error-msg"],"open":[32],"selectedItem":[32],"searchTerm":[32],"setSelectedItem":[64]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-graph_1_9_23",[[1,"tttx-graph_1_9_23",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-icon_1_9_23",[[1,"tttx-icon_1_9_23",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-filter_1_9_23_4",[[1,"tttx-filter_1_9_23",{"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_23",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_23",{"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_23",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-button_1_9_23",[[1,"tttx-button_1_9_23",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
17
+ return bootstrapLazy([["tttx-data-pattern_1_9_25",[[1,"tttx-data-pattern_1_9_25",{"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_25",[[1,"tttx-form_1_9_25",{"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_25",[[1,"tttx-multiselect-box_1_9_25",{"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-datacard_1_9_25",[[1,"tttx-datacard_1_9_25",{"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_25",[[1,"tttx-dialog-box_1_9_25",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_25",[[1,"tttx-dialog_1_9_25",{"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_25",[[1,"tttx-tree-view_1_9_25",{"data":[1040],"treeData":[32]}]]],["tttx-checkbox_1_9_25",[[0,"tttx-checkbox_1_9_25",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_25",[[1,"tttx-comments_1_9_25",{"currentuser":[1],"comments":[1],"_comments":[32],"addDummyComment":[64]}]]],["tttx-expander_1_9_25",[[1,"tttx-expander_1_9_25",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_25",[[2,"tttx-tabs_1_9_25",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_25",[[4,"tttx-checkbox-group-caption_1_9_25"]]],["tttx-checkbox-group-heading_1_9_25",[[4,"tttx-checkbox-group-heading_1_9_25"]]],["tttx-checkbox-group_1_9_25",[[1,"tttx-checkbox-group_1_9_25"]]],["tttx-keyvalue-block_1_9_25",[[1,"tttx-keyvalue-block_1_9_25",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_25",[[2,"tttx-percentage-bar_1_9_25",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_25",[[1,"tttx-qrcode_1_9_25",{"link":[1025],"size":[1026]}]]],["tttx-table_1_9_25",[[1,"tttx-table_1_9_25",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_25",[[2,"tttx-textarea_1_9_25",{"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_25",[[1,"tttx-toggle_1_9_25",{"initialstate":[8],"_state":[32]}]]],["tttx-loading-spinner_1_9_25_3",[[1,"tttx-tag_1_9_25",{"text":[1],"color":[1],"textColor":[1,"text-color"],"hasIcon":[4,"has-icon"],"icon":[1],"iconColor":[1,"icon-color"],"iconSize":[2,"icon-size"]}],[1,"tttx-loading-spinner_1_9_25",{"loadingMessage":[1028,"loading-message"],"size":[1025]}],[2,"tttx-standalone-input_1_9_25",{"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]}]]],["tttx-select-box_1_9_25",[[1,"tttx-select-box_1_9_25",{"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"],"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_25",[[1,"tttx-graph_1_9_25",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-icon_1_9_25",[[1,"tttx-icon_1_9_25",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-filter_1_9_25_4",[[1,"tttx-filter_1_9_25",{"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_25",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_25",{"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_25",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-button_1_9_25",[[1,"tttx-button_1_9_25",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
18
18
  });
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as l}from"./p-d490353a.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_23}
1
+ import{r as t,c as e,h as i,H as l}from"./p-d490353a.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_25}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as o,H as n}from"./p-d490353a.js";import{p as i,d as a}from"./p-55799798.js";import"./p-112455b1.js";function r(e,t,o,n){let i;if(i=void 0!==n?n.querySelector(".errorBubble"):"label"===e.parentElement.nodeName.toLowerCase()?e.parentElement.querySelector(".errorBubble"):e.parentElement.parentElement.querySelector(".errorBubble"),i)if(t){e.classList.add("invalid"),i.classList.add("visible");const t=document.createElement("span");t.className="material-symbols-rounded",t.textContent="warning",i.innerHTML="",i.append(t),i.append(o)}else i.classList.remove("visible"),e.classList.remove("invalid"),i.innerHTML=""}function l(e){var t,o;const n=e.target,i=n.getAttribute("data-formkey"),a=Array.from(n.parentElement.parentElement.parentElement.querySelectorAll(`[data-formkey=${i}]`));if(4===a.length){const i=a.find((e=>e.name.endsWith("starttime"))),l=a.find((e=>e.name.endsWith("endtime"))),s=a.find((e=>e.name.endsWith("startdate"))),c=a.find((e=>e.name.endsWith("enddate")));i.valueAsNumber>=l.valueAsNumber&&(null===(t=s.valueAsDate)||void 0===t?void 0:t.valueOf())===(null===(o=c.valueAsDate)||void 0===o?void 0:o.valueOf())?(r(l,!0,"End time cannot be the same or before the start time"),n.name.endsWith("starttime")&&this.validityCheckWrapper(e)):(l.setCustomValidity(""),r(l,!1,null),this.validityCheckWrapper(e))}}function s(e){const t=e.target,o=t.getAttribute("data-formkey"),n=Array.from(t.parentElement.parentElement.parentElement.querySelectorAll(`[type=time][data-formkey=${o}]`));if(n.length){const e=n.find((e=>e.name.endsWith("endtime")));e.setCustomValidity(""),r(e,!1,null)}}function c(e,t=!1){var o,n,i,a;const c=e.target;if(!c.value&&t)return;const d=c.getAttribute("data-compare-with"),p=c.parentElement.parentElement.parentElement.querySelector(`[name=${d}]`);(null===(o=c.valueAsDate)||void 0===o?void 0:o.valueOf())<(null===(n=p.valueAsDate)||void 0===n?void 0:n.valueOf())?(c.setCustomValidity(c.getAttribute("data-compare")),r(c,!0,c.getAttribute("data-compare"))):(null===(i=c.valueAsDate)||void 0===i?void 0:i.valueOf())===(null===(a=p.valueAsDate)||void 0===a?void 0:a.valueOf())?(c.setCustomValidity(""),this.validityCheckWrapper(e),l.bind(this)(e)):(s.bind(this)(e),this.validityCheckWrapper(e))}function d(e){const t=e.target,o=t.getAttribute("data-compare-to"),n=t.parentElement.parentElement.parentElement.querySelector(`[name=${o}]`);c.bind(this)({target:n},!0),this.validityCheckWrapper(e)}const p=class{constructor(o){e(this,o),this.dataSubmitted=t(this,"dataSubmitted",7),this.dataChanged=t(this,"dataChanged",7),this.searchTermChanged=t(this,"searchTermChanged",7),this.selectToggleOpen=t(this,"selectToggleOpen",7),this.template=document.createElement("template"),this.formschema=void 0,this.data=void 0}onFormSchemaChange(e){return this._formSchema="string"==typeof e?JSON.parse(e):e,this._formSchema}onDataChange(e){return this._data="string"==typeof e?JSON.parse(e):e,this._data}fieldChanged(e){const t=e.target;let o=t.value;"checkbox"===t.type&&(o=t.checked?"on":"off"),this.dataChanged.emit({name:t.name,value:o})}async submit(){this.submitButton.click()}async showLoadingSpinner(e,t){this.fieldset.querySelector(`[name=overlay-${e}]`).isLoading=t}async setSelectedItem(e,t){const o=this.fieldset.querySelector(`[name=overlay-${e}]`);await o.setSelectedItem(t)}async setSelectOptions(e,t,o){const n=this.fieldset.querySelector(`[name=${e}]`),i=this.fieldset.querySelector(`[name=overlay-${e}]`),a=new DocumentFragment;for(const e of t){const t=document.createElement("option");t.innerText=e.label,t.value=e.value,e.disabled&&(t.disabled=!0),a.appendChild(t)}n.replaceChildren(a),i.optionsData=t,o||await i.setSelectedItem(t.length>0?t[0].value:void 0)}async isValid(){const e=this.form.checkValidity();return!(this.fieldset.querySelectorAll("[custom-validation-set=true]").length||!e)}doSubmit(e){if(e.preventDefault(),this.fieldset.querySelectorAll("[custom-validation-set=true]").length)return;const t=new FormData(e.target),o=this._formSchema.properties;for(const e of Object.keys(o))"checkbox"!==o[e].form.type||t.has(e)||t.append(e,"off");this.dataSubmitted.emit(t)}componentWillLoad(){this.onFormSchemaChange(this.formschema),this.data&&this.onDataChange(this.data)}componentWillRender(){this.template=document.createElement("template"),this.populateFormFromSchema()}createSelect(e,t){var o,n,i,a,r,l;const s=document.createElement("select");s.setAttribute("name",e),null===(o=t.options)||void 0===o||o.forEach((e=>{this.appendOption(s,e)})),(null===(n=this._data)||void 0===n?void 0:n[e])&&s.classList.remove("placeholder");const c=document.createElement("tttx-select-box_1_9_25");c.optionsData=null===(i=t.options)||void 0===i?void 0:i.filter((e=>!e.placeholder)),c.placeholder=null===(r=null===(a=t.options)||void 0===a?void 0:a.filter((e=>e.placeholder))[0])||void 0===r?void 0:r.label,c.inline=!1,c.searchEnabled=!0,c.useExternalFiltering=t.useExternalFiltering||!1,c.style.width="100%",c.style.marginTop="6px",c.isLoading=t.isLoading||!1,c.readOnly=null!==(l=t.readOnly)&&void 0!==l&&l,c.setAttribute("name","overlay-"+e);const d=document.createDocumentFragment();return d.append(c),s.style.display="none",c.addEventListener("selectItemEvent",this.selectItemEventCallback.bind(s)),c.addEventListener("multiselectSearchUpdated",(t=>this.searchTermChanged.emit({name:e,value:t.detail,type:"SearchTermChanged"}))),c.addEventListener("toggleOpen",(t=>this.selectToggleOpen.emit({name:e,value:t.detail,type:"ToggleOpen"}))),{input:s,overlay:d}}selectItemEventCallback(e){const t=this;t.value=e.detail.value,t.onblur({target:t}),t.onchange({target:t})}appendOption(e,t){const o=document.createElement("option");o.setAttribute("value",t.value),t.placeholder&&(o.setAttribute("disabled",t.disabled?"true":""),o.setAttribute("selected",""),o.setAttribute("hidden",""),e.classList.add("placeholder")),t.label&&(o.innerHTML=i.sanitize(t.label,a)),e.appendChild(o)}createInput(e,t){var o;const n=document.createElement("input");return n.type=t.type,n.name=e,n.placeholder=null!==(o=t.placeholder)&&void 0!==o?o:"",n.autocomplete="off",n.autocapitalize="off",t.readonly&&(n.readOnly=!0),t.maskedValue&&(n.onfocus=()=>{n.value===t.maskedValue&&(n.value="")},n.addEventListener("blur",(()=>{""===n.value.trim()?n.value=t.maskedValue:t.value=n.value}))),n}createTextArea(e,t){var o;const n=document.createElement("textarea");return n.name=e,n.placeholder=null!==(o=t.placeholder)&&void 0!==o?o:"",n.autocomplete="off",n.autocapitalize="off",t.readonly&&(n.readOnly=!0),"none"===t.resize&&n.classList.add("resize-none"),n}createStartEndDateComponent(e,t){const o=document.createElement("input"),n=document.createElement("input");let i,a;o.type=n.type="date",o.name=`${e}-startdate`,n.name=`${e}-enddate`,o.setAttribute("data-formkey",e),n.setAttribute("data-formkey",e),t.readonly&&(o.readOnly=!0,n.readOnly=!0),this.applyValidation(o,{required:{message:"Please enter a start date"},dateCompare:{to:n.name}}),this.applyValidation(n,{required:{message:"Please enter an end date"},dateCompare:{with:o.name,message:"End date cannot be before the start date"}}),t.includeTime&&(i=document.createElement("input"),a=document.createElement("input"),i.type=a.type="time",i.name=`${e}-starttime`,a.name=`${e}-endtime`,i.setAttribute("data-formkey",e),a.setAttribute("data-formkey",e),t.readonly&&(i.readOnly=!0,a.readOnly=!0),this.applyValidation(i,{required:{message:"Please enter a start time"}}),this.applyValidation(a,{required:{message:"Please enter an end time"}}));const r=document.createElement("label");r.innerText="Start date";const l=document.createElement("label");l.innerText="End date";const s=document.createElement("div"),c=document.createElement("div");return s.className=c.className="outer-container inputBlock",r.className=l.className="flex-label",s.append(o),i&&s.append(i),r.append(s),r.append(this.createErrorBubble()),c.append(n),a&&c.append(a),l.append(c),l.append(this.createErrorBubble()),{start:r,end:l}}applyValidation(e,t){var o,n;t.required&&(e.setAttribute("required",""),e.setAttribute("data-required",null!==(o=t.required.message)&&void 0!==o?o:"")),t.pattern&&(e.setAttribute("pattern",t.pattern.pattern),e.setAttribute("data-pattern",null!==(n=t.pattern.message)&&void 0!==n?n:"")),t.badInput&&e.setAttribute("data-badinput",t.badInput.message),t.minmax&&(e.setAttribute("min",t.minmax.min),e.setAttribute("max",t.minmax.max),e.setAttribute("data-range",t.minmax.message)),t.maxlength&&e.setAttribute("maxlength",t.maxlength),t.dateCompare&&(t.dateCompare.message&&t.dateCompare.with&&(e.setAttribute("data-compare",t.dateCompare.message),e.setAttribute("data-compare-with",t.dateCompare.with)),t.dateCompare.to&&e.setAttribute("data-compare-to",t.dateCompare.to))}createErrorBubble(){const e=document.createElement("div");return e.className="errorBubble",e}appendCheckboxInput(e,t,o){if(e.label){const e=document.createElement("br");o.appendChild(e)}if(o.appendChild(t),!e.inlineLabel)return;const n=document.createElement("span");n.className="inlineLabel",n.textContent=e.inlineLabel,o.appendChild(n)}createLabel(e,t,o=null,n){var i;const a=document.createElement("div");let r="outer-container inputBlock";const l=document.createElement("label");if(l.innerText=e.label,!(null===(i=e.validation)||void 0===i?void 0:i.required)&&e.label){const e=document.createElement("span");e.className="optional",e.innerHTML="&nbsp;(optional)",l.appendChild(e)}return"radio"===e.type&&(r+=" radioBlock"),a.className=r,e.readonly&&l.classList.add("readonly"),"checkbox"===e.type?this.appendCheckboxInput(e,t,l):(o&&a.appendChild(o),a.appendChild(t)),"checkbox"!==e.type&&l.appendChild(a),l.appendChild(n),l}createRadio(e,t){var o,n;const i=document.createDocumentFragment();for(const a of t.options){const r=document.createElement("input");r.type="radio",r.name=e,r.value=a.value,(null===(o=null==t?void 0:t.validation)||void 0===o?void 0:o.required)&&(r.setAttribute("required","required"),r.setAttribute("data-required",null!==(n=t.validation.required.message)&&void 0!==n?n:""));const l=document.createElement("span");l.innerText=a.label,i.appendChild(r),i.appendChild(l),i.appendChild(document.createElement("br"))}return i}populateFormFromSchema(){var e;if(!this._formSchema)return;const t=this._formSchema.properties,o=Object.keys(t);for(const n of o){const o=t[n].form;if("startenddate"===o.type){const{start:e,end:t}=this.createStartEndDateComponent(n,o);this.template.content.append(e),this.template.content.append(t);continue}let i={};switch(o.type){case"select":i=this.createSelect(n,o);break;case"radio":i.input=this.createRadio(n,o);break;case"textarea":i.input=this.createTextArea(n,o);break;default:i.input=this.createInput(n,o)}o.validation&&"radio"!==o.type&&this.applyValidation(i.input,o.validation);const a=this.createErrorBubble(),l=this.createLabel(o,i.input,i.overlay,a);if(null===(e=o.validation)||void 0===e?void 0:e.invalid){const e=o.validation.invalid.message;i.input.setCustomValidity(e),r(i.input,!0,e)}this.template.content.append(l),o.disabled&&this.toggleFormField(i.input,!0)}}componentDidRender(){if(!this._formSchema)return;const e=this.template.content,t=this._formSchema.properties,o=Object.keys(t);for(const n of o)this.applyValidationFunctionsToFormElement(e,n,t);this._data&&Object.keys(this._data).length>0&&this.populateFormWithExistingData(e),this.fieldset.replaceChildren(e)}applyValidationFunctionsToFormElement(e,t,o){const n=e.querySelectorAll(`[name^=${t}]`);for(const e of n)e.oninvalid=this.validityCheckWrapper.bind(this),e.onblur=this.validityCheckWrapper.bind(this),e.onkeyup=this.fieldChanged.bind(this),e.onchange=this.fieldChanged.bind(this),"select"===o[t].form.type&&e.classList.contains("placeholder")&&e.addEventListener("change",this.selectRemovePlaceholderCallback.bind(e)),"startenddate"===o[t].form.type&&e.hasAttribute("data-compare-with")&&(e.oninvalid=c.bind(this),e.onblur=c.bind(this)),"startenddate"===o[t].form.type&&"time"===e.type&&(e.oninvalid=l.bind(this),e.onblur=l.bind(this)),"startenddate"===o[t].form.type&&e.hasAttribute("data-compare-to")&&(e.oninvalid=d.bind(this),e.onblur=d.bind(this))}populateFormWithExistingData(e){var t;const o=Object.keys(this._data);for(const n of o){const o=e.querySelectorAll(`[name=${n}]`);for(const i of o)switch(i.type){case"checkbox":"on"===this._data[n]&&(i.checked=!0);break;case"radio":i.value===this._data[n]&&(i.checked=!0);break;case"select":case"select-one":e.querySelector(`[name=overlay-${n}]`).selectedValue=this._data[n],i.value=this._data[n];break;case"date":i.value=null===(t=this._data[n])||void 0===t?void 0:t.split("T")[0];break;default:i.value=this._data[n]}}}selectRemovePlaceholderCallback(){this.classList.remove("placeholder")}validityCheckWrapper(e){const{target:t,hasError:o,errorMessage:n}=function(e){var t,o,n,i;e.preventDefault&&e.preventDefault();const a=e.target;let r=!0,l="";switch(a.hasAttribute("custom-validation-set")||(a.value.length&&!a.value.replace(/\s/g,"").length?(l="This field cannot be left blank",a.setCustomValidity(l)):a.setCustomValidity&&a.setCustomValidity("")),!0){case a.validity.valueMissing:l=null!==(t=a.dataset.required)&&void 0!==t?t:"This field is required";break;case a.validity.patternMismatch:l=null!==(o=a.dataset.pattern)&&void 0!==o?o:"Incorrect format";break;case a.validity.badInput:l=null!==(n=a.dataset.badinput)&&void 0!==n?n:"Wrong input type";break;case a.validity.rangeOverflow||a.validity.rangeUnderflow:l=null!==(i=a.dataset.range)&&void 0!==i?i:"Invalid value";break;case a.validity.customError:l=a.validationMessage;break;default:r=!1}return{target:a,hasError:r,errorMessage:l}}(e);r(t,o,n)}assignFieldsetReference(e){this.fieldset=e}assignButtonReference(e){this.submitButton=e}async setValidationFor(e,t){const o=this.fieldset.querySelector(`[name=${e}]`);o.disabled||(o.setCustomValidity(t),o.setAttribute("custom-validation-set","true"),r(o,!0,t))}async clearValidationFor(e){const t=this.fieldset.querySelector(`[name=${e}]`);t.setCustomValidity(""),t.removeAttribute("custom-validation-set"),r(t,!1,"")}toggleFormField(e,t){e.disabled=t;let o=e.parentElement;if(o){do{"LABEL"!==o.nodeName&&(o=o.parentElement)}while(o&&"LABEL"!==o.nodeName);o&&(o.style.display=t?"none":"block")}}async disableFormField(e){const t=this.fieldset.querySelector(`[name=${e}]`);t.hasAttribute("custom-validation-set")||this.toggleFormField(t,!0)}async enableFormField(e){const t=this.fieldset.querySelector(`[name=${e}]`);this.toggleFormField(t,!1)}async setInputFieldValue(e,t){this.fieldset.querySelector(`[name=${e}]`).value=t}async setFieldReadOnlyMode(e,t){const o=this.fieldset.querySelector(`[name=${e}]`);o&&"SELECT"===o.nodeName?(this.fieldset.querySelector(`[name=overlay-${e}]`).readOnly=t,o.disabled=t):o.readOnly=t,t&&await this.clearValidationFor(e)}render(){return o(n,null,o("form",{onSubmit:this.doSubmit.bind(this),ref:e=>this.form=e},o("fieldset",{ref:this.assignFieldsetReference.bind(this)}),o("input",{type:"submit",ref:this.assignButtonReference.bind(this),style:{display:"none"}})))}static get watchers(){return{formschema:["onFormSchemaChange"],data:["onDataChange"]}}};p.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}label{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label .optional{color:#757575;font-weight:normal}label .outer-container{position:relative}label .outer-container .left-icons,label .outer-container .right-icons{display:flex;position:absolute;height:24px;gap:8px}label .outer-container .left-icons tttx-icon,label .outer-container .right-icons tttx-icon{height:24px;width:24px}label .outer-container .left-icons{left:8px}label .outer-container .right-icons{right:8px}label .outer-container input,label .outer-container textarea{color:#212121;box-sizing:border-box;border:1px solid #d5d5d5;border-radius:4px;margin-top:4px;padding:0;padding-left:16px;padding-right:16px;}label .outer-container input.has-input-icon,label .outer-container textarea.has-input-icon{padding-left:40px}label .outer-container input.has-input-icon.has-left-icon,label .outer-container textarea.has-input-icon.has-left-icon{padding-left:72px}label .outer-container input.has-left-icon,label .outer-container textarea.has-left-icon{padding-left:40px}label .outer-container input.has-right-icon,label .outer-container textarea.has-right-icon{padding-right:40px}label .outer-container input.invalid,label .outer-container textarea.invalid{border:1px solid #dc0000}label .outer-container input:not([type=submit]),label .outer-container textarea:not([type=submit]){font-family:"Roboto", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label .outer-container input[type=radio],label .outer-container textarea[type=radio]{width:20px;height:20px}label .outer-container input[type=date],label .outer-container textarea[type=date]{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label .outer-container input[readonly],label .outer-container textarea[readonly]{cursor:default;pointer-events:none;user-select:none;color:gray}label .outer-container input:focus,label .outer-container textarea:focus{border-color:#1479c6}label .outer-container input:focus-visible,label .outer-container textarea:focus-visible{outline:none}label .outer-container textarea{padding:8px;height:auto;min-height:100px;resize:vertical}label .outer-container textarea.resize-none{resize:none}label .outer-container.inputBlock{display:flex;align-items:center;line-height:21px}label .outer-container.inputBlock .left-icons,label .outer-container.inputBlock .right-icons{margin-top:4px}label .outer-container.inputBlock.readonly{pointer-events:none;user-select:none;color:gray}label .outer-container.inputBlock.radioBlock{display:block}label .outer-container.inputInline{display:flex;white-space:nowrap;align-items:center;margin:0}label .outer-container.inputInline input{margin-top:0}label .secondarylabel{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label .errorBubble{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:"Roboto", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label .errorBubble:not(.visible){display:none}label .errorBubble span{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded{font-family:"Material Symbols Rounded", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}button{cursor:pointer}.button{font-family:Roboto, serif;box-sizing:border-box;height:36px;min-width:36px;padding:0;margin:0;background:transparent;color:#212121;border:1px solid #c8c8c8;border-radius:4px;text-transform:uppercase;display:flex;justify-content:left;align-items:center;font-size:14px;font-weight:500}.button-content{display:block;padding:0 16px}.icon-left,.icon-right{margin-top:4px}.iconleft{padding-left:8px}.iconleft .button-content{padding-left:4px}.iconright{padding-right:8px}.iconright .button-content{padding-right:4px}.notext{padding:0 6px}.button:active{background:rgba(17, 17, 17, 0.2);border:1px solid #d5d5d5}.primary{background:#1479c6;border:1px solid #1479c6;color:white}.primary:active{background:#1464a2;border:1px solid #1464a2}.borderless{background:transparent;border:none;color:#212121}.borderless:active{background:rgba(17, 17, 17, 0.2);border:none}.borderless-circle{background:transparent;border:none;color:#212121;border-radius:50%}.borderless-circle:active{border:none}.borderless-circle:focus{border-color:transparent}.danger{background:#dc0000;border:1px solid #dc0000;color:white}.danger:active{background:#b00000;border:1px solid #b00000}.disabled{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:active{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}@media (hover: hover){.button:hover{background:rgba(17, 17, 17, 0.1);border:1px solid #d5d5d5}.primary:hover{background:#146eb3;border:1px solid #146eb3}.borderless:hover{background:rgba(17, 17, 17, 0.1);border:none}.borderless-circle:hover{background:rgba(17, 17, 17, 0.1);border:none}.danger:hover{background:#c60000;border:1px solid #c60000}.disabled:hover{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}}:host{display:block}fieldset{margin:0;padding:0;border:none}label{display:block;position:relative;margin-bottom:16px}.inlineLabel{font-weight:400;display:inline-block;vertical-align:top;padding-top:4px}input[type=checkbox]{width:18px;height:18px}input~label{font-weight:400}select{font-family:"Roboto", serif;box-sizing:border-box;width:100%;height:36px;padding:0 16px;font-size:16px;border:1px solid #d5d5d5;border-radius:4px;margin-top:4px}.placeholder{color:#9e9e9e}.placeholder option{color:initial}select.invalid:invalid{border:1px solid #dc0000}select~.errorBubble{position:relative;font-size:14px;font-weight:normal;width:100%;font-family:"Roboto", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center}select~.errorBubble:not(.visible){visibility:hidden}select~.errorBubble span{color:#dc0000;font-size:16px;margin-right:4px;height:16px}select.invalid:invalid~.errorBubble{position:relative;font-size:14px;font-weight:normal;width:100%;font-family:"Roboto", sans-serif;color:#dc0000;visibility:visible}select:focus{border-color:#1479c6}select:focus-visible{outline:none}.button{padding:0 16px}.footer{display:flex;gap:16px;flex-direction:row-reverse}label.flex-label{display:flex;flex-direction:column;width:346px;box-sizing:border-box}label>.outer-container>input[type=date]{min-width:0;width:200px}label.flex-label input[type=time]{min-width:auto;text-align:center;width:130px;margin-left:16px}label>.outer-container>input[type=date],label.flex-label input[type=time]{line-height:36px}';export{p as tttx_form_1_9_25}