@3t-transform/threeteeui 1.8.2 → 1.8.4

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 (238) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/{tttx-button_1_8_2.cjs.entry.js → tttx-button_1_8_4.cjs.entry.js} +2 -2
  3. package/dist/cjs/{tttx-checkbox-group-caption_1_8_2.cjs.entry.js → tttx-checkbox-group-caption_1_8_4.cjs.entry.js} +1 -1
  4. package/dist/cjs/{tttx-checkbox-group-heading_1_8_2.cjs.entry.js → tttx-checkbox-group-heading_1_8_4.cjs.entry.js} +1 -1
  5. package/dist/cjs/{tttx-checkbox-group_1_8_2.cjs.entry.js → tttx-checkbox-group_1_8_4.cjs.entry.js} +1 -1
  6. package/dist/cjs/{tttx-checkbox_1_8_2.cjs.entry.js → tttx-checkbox_1_8_4.cjs.entry.js} +2 -2
  7. package/dist/cjs/{tttx-comments_1_8_2.cjs.entry.js → tttx-comments_1_8_4.cjs.entry.js} +40 -4
  8. package/dist/cjs/{tttx-data-pattern_1_8_2.cjs.entry.js → tttx-data-pattern_1_8_4.cjs.entry.js} +2 -2
  9. package/dist/cjs/{tttx-datacard_1_8_2.cjs.entry.js → tttx-datacard_1_8_4.cjs.entry.js} +3 -3
  10. package/dist/cjs/{tttx-dialog-box_1_8_2.cjs.entry.js → tttx-dialog-box_1_8_4.cjs.entry.js} +3 -3
  11. package/dist/cjs/{tttx-dialog_1_8_2.cjs.entry.js → tttx-dialog_1_8_4.cjs.entry.js} +2 -2
  12. package/dist/cjs/{tttx-expander_1_8_2.cjs.entry.js → tttx-expander_1_8_4.cjs.entry.js} +2 -2
  13. package/dist/cjs/{tttx-filter_1_8_2_4.cjs.entry.js → tttx-filter_1_8_4_4.cjs.entry.js} +9 -9
  14. package/dist/cjs/{tttx-form_1_8_2.cjs.entry.js → tttx-form_1_8_4.cjs.entry.js} +2 -2
  15. package/dist/cjs/{tttx-icon_1_8_2.cjs.entry.js → tttx-icon_1_8_4.cjs.entry.js} +1 -1
  16. package/dist/cjs/{tttx-keyvalue-block_1_8_2.cjs.entry.js → tttx-keyvalue-block_1_8_4.cjs.entry.js} +1 -1
  17. package/dist/cjs/{tttx-loading-spinner_1_8_2.cjs.entry.js → tttx-loading-spinner_1_8_4.cjs.entry.js} +1 -1
  18. package/dist/cjs/{tttx-multiselect-box_1_8_2.cjs.entry.js → tttx-multiselect-box_1_8_4.cjs.entry.js} +6 -6
  19. package/dist/cjs/{tttx-percentage-bar_1_8_2.cjs.entry.js → tttx-percentage-bar_1_8_4.cjs.entry.js} +2 -2
  20. package/dist/cjs/{tttx-qrcode_1_8_2.cjs.entry.js → tttx-qrcode_1_8_4.cjs.entry.js} +1 -1
  21. package/dist/cjs/{tttx-select-box_1_8_2.cjs.entry.js → tttx-select-box_1_8_4.cjs.entry.js} +4 -4
  22. package/dist/cjs/tttx-standalone-input_1_8_4.cjs.entry.js +94 -0
  23. package/dist/cjs/tttx-table_1_8_4.cjs.entry.js +41 -0
  24. package/dist/cjs/{tttx-tabs_1_8_2.cjs.entry.js → tttx-tabs_1_8_4.cjs.entry.js} +4 -4
  25. package/dist/cjs/{tttx-tag_1_8_2.cjs.entry.js → tttx-tag_1_8_4.cjs.entry.js} +1 -1
  26. package/dist/cjs/{tttx-textarea_1_8_2.cjs.entry.js → tttx-textarea_1_8_4.cjs.entry.js} +2 -2
  27. package/dist/cjs/{tttx-tree-view_1_8_2.cjs.entry.js → tttx-tree-view_1_8_4.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 +3 -3
  34. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +5 -5
  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 +1 -1
  46. package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
  47. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
  48. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
  49. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
  50. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
  51. package/dist/collection/components/molecules/tttx-comments/tttx-comments.css +42 -0
  52. package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +94 -4
  53. package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +12 -1
  54. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
  55. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
  56. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
  57. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
  58. package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
  59. package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
  60. package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
  61. package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
  62. package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
  63. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +5 -5
  64. package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
  65. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
  66. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +6 -6
  67. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +33 -33
  68. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +4 -4
  69. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +18 -18
  70. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
  71. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
  72. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
  73. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
  74. package/dist/collection/components/molecules/tttx-table/tttx-table.css +5 -0
  75. package/dist/collection/components/molecules/tttx-table/tttx-table.js +29 -6
  76. package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +49 -7
  77. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
  78. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
  79. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
  80. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
  81. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
  82. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
  83. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
  84. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +8 -8
  85. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +2 -2
  86. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
  87. package/dist/components/index.d.ts +29 -29
  88. package/dist/components/index.js +29 -29
  89. package/dist/components/tttx-button.js +5 -5
  90. package/dist/components/{tttx-button_1_8_2.d.ts → tttx-button_1_8_4.d.ts} +4 -4
  91. package/dist/components/{tttx-button_1_8_2.js → tttx-button_1_8_4.js} +2 -2
  92. package/dist/components/tttx-checkbox-group-caption_1_8_4.d.ts +11 -0
  93. package/dist/components/{tttx-checkbox-group-caption_1_8_2.js → tttx-checkbox-group-caption_1_8_4.js} +5 -5
  94. package/dist/components/tttx-checkbox-group-heading_1_8_4.d.ts +11 -0
  95. package/dist/components/{tttx-checkbox-group-heading_1_8_2.js → tttx-checkbox-group-heading_1_8_4.js} +5 -5
  96. package/dist/components/tttx-checkbox-group_1_8_4.d.ts +11 -0
  97. package/dist/components/{tttx-checkbox-group_1_8_2.js → tttx-checkbox-group_1_8_4.js} +5 -5
  98. package/dist/components/{tttx-datacard_1_8_2.d.ts → tttx-checkbox_1_8_4.d.ts} +4 -4
  99. package/dist/components/{tttx-checkbox_1_8_2.js → tttx-checkbox_1_8_4.js} +7 -7
  100. package/dist/components/{tttx-checkbox_1_8_2.d.ts → tttx-comments_1_8_4.d.ts} +4 -4
  101. package/dist/components/{tttx-comments_1_8_2.js → tttx-comments_1_8_4.js} +52 -9
  102. package/dist/components/tttx-data-pattern_1_8_4.d.ts +11 -0
  103. package/dist/components/{tttx-data-pattern_1_8_2.js → tttx-data-pattern_1_8_4.js} +13 -13
  104. package/dist/components/{tttx-comments_1_8_2.d.ts → tttx-datacard_1_8_4.d.ts} +4 -4
  105. package/dist/components/{tttx-datacard_1_8_2.js → tttx-datacard_1_8_4.js} +8 -8
  106. package/dist/components/tttx-dialog-box_1_8_4.d.ts +11 -0
  107. package/dist/components/{tttx-dialog-box_1_8_2.js → tttx-dialog-box_1_8_4.js} +9 -9
  108. package/dist/components/{tttx-dialog_1_8_2.d.ts → tttx-dialog_1_8_4.d.ts} +4 -4
  109. package/dist/components/{tttx-dialog_1_8_2.js → tttx-dialog_1_8_4.js} +8 -8
  110. package/dist/components/tttx-expander_1_8_4.d.ts +11 -0
  111. package/dist/components/{tttx-expander_1_8_2.js → tttx-expander_1_8_4.js} +7 -7
  112. package/dist/components/tttx-filter.js +6 -6
  113. package/dist/components/{tttx-filter_1_8_2.d.ts → tttx-filter_1_8_4.d.ts} +4 -4
  114. package/dist/components/{tttx-filter_1_8_2.js → tttx-filter_1_8_4.js} +2 -2
  115. package/dist/components/{tttx-icon_1_8_2.d.ts → tttx-form_1_8_4.d.ts} +4 -4
  116. package/dist/components/{tttx-form_1_8_2.js → tttx-form_1_8_4.js} +9 -9
  117. package/dist/components/tttx-icon.js +3 -3
  118. package/dist/components/{tttx-list_1_8_2.d.ts → tttx-icon_1_8_4.d.ts} +4 -4
  119. package/dist/components/{tttx-icon_1_8_2.js → tttx-icon_1_8_4.js} +2 -2
  120. package/dist/components/tttx-keyvalue-block_1_8_4.d.ts +11 -0
  121. package/dist/components/{tttx-keyvalue-block_1_8_2.js → tttx-keyvalue-block_1_8_4.js} +5 -5
  122. package/dist/components/tttx-list.js +6 -6
  123. package/dist/components/{tttx-tabs_1_8_2.d.ts → tttx-list_1_8_4.d.ts} +4 -4
  124. package/dist/components/{tttx-list_1_8_2.js → tttx-list_1_8_4.js} +2 -2
  125. package/dist/components/tttx-loading-spinner_1_8_4.d.ts +11 -0
  126. package/dist/components/{tttx-loading-spinner_1_8_2.js → tttx-loading-spinner_1_8_4.js} +5 -5
  127. package/dist/components/tttx-multiselect-box_1_8_4.d.ts +11 -0
  128. package/dist/components/{tttx-multiselect-box_1_8_2.js → tttx-multiselect-box_1_8_4.js} +13 -13
  129. package/dist/components/tttx-percentage-bar_1_8_4.d.ts +11 -0
  130. package/dist/components/{tttx-percentage-bar_1_8_2.js → tttx-percentage-bar_1_8_4.js} +6 -6
  131. package/dist/components/{tttx-qrcode_1_8_2.d.ts → tttx-qrcode_1_8_4.d.ts} +4 -4
  132. package/dist/components/{tttx-qrcode_1_8_2.js → tttx-qrcode_1_8_4.js} +5 -5
  133. package/dist/components/tttx-select-box.js +8 -8
  134. package/dist/components/tttx-select-box_1_8_4.d.ts +11 -0
  135. package/dist/components/{tttx-select-box_1_8_2.js → tttx-select-box_1_8_4.js} +2 -2
  136. package/dist/components/tttx-sorter.js +5 -5
  137. package/dist/components/tttx-sorter_1_8_4.d.ts +11 -0
  138. package/dist/components/{tttx-sorter_1_8_2.js → tttx-sorter_1_8_4.js} +2 -2
  139. package/dist/components/tttx-standalone-input.js +6 -6
  140. package/dist/components/tttx-standalone-input_1_8_4.d.ts +11 -0
  141. package/dist/components/{tttx-standalone-input_1_8_2.js → tttx-standalone-input_1_8_4.js} +2 -2
  142. package/dist/components/{tttx-table_1_8_2.d.ts → tttx-table_1_8_4.d.ts} +4 -4
  143. package/dist/components/tttx-table_1_8_4.js +60 -0
  144. package/dist/components/{tttx-form_1_8_2.d.ts → tttx-tabs_1_8_4.d.ts} +4 -4
  145. package/dist/components/{tttx-tabs_1_8_2.js → tttx-tabs_1_8_4.js} +9 -9
  146. package/dist/components/{tttx-tag_1_8_2.d.ts → tttx-tag_1_8_4.d.ts} +4 -4
  147. package/dist/components/{tttx-tag_1_8_2.js → tttx-tag_1_8_4.js} +5 -5
  148. package/dist/components/tttx-textarea_1_8_4.d.ts +11 -0
  149. package/dist/components/{tttx-textarea_1_8_2.js → tttx-textarea_1_8_4.js} +6 -6
  150. package/dist/components/tttx-toolbar.js +3 -3
  151. package/dist/components/{tttx-toolbar_1_8_2.d.ts → tttx-toolbar_1_8_4.d.ts} +4 -4
  152. package/dist/components/{tttx-toolbar_1_8_2.js → tttx-toolbar_1_8_4.js} +2 -2
  153. package/dist/components/tttx-tree-view_1_8_4.d.ts +11 -0
  154. package/dist/components/{tttx-tree-view_1_8_2.js → tttx-tree-view_1_8_4.js} +9 -9
  155. package/dist/esm/loader.js +1 -1
  156. package/dist/esm/{tttx-button_1_8_2.entry.js → tttx-button_1_8_4.entry.js} +2 -2
  157. package/dist/esm/{tttx-checkbox-group-caption_1_8_2.entry.js → tttx-checkbox-group-caption_1_8_4.entry.js} +1 -1
  158. package/dist/esm/{tttx-checkbox-group-heading_1_8_2.entry.js → tttx-checkbox-group-heading_1_8_4.entry.js} +1 -1
  159. package/dist/esm/{tttx-checkbox-group_1_8_2.entry.js → tttx-checkbox-group_1_8_4.entry.js} +1 -1
  160. package/dist/esm/{tttx-checkbox_1_8_2.entry.js → tttx-checkbox_1_8_4.entry.js} +2 -2
  161. package/dist/esm/{tttx-comments_1_8_2.entry.js → tttx-comments_1_8_4.entry.js} +40 -4
  162. package/dist/esm/{tttx-data-pattern_1_8_2.entry.js → tttx-data-pattern_1_8_4.entry.js} +2 -2
  163. package/dist/esm/{tttx-datacard_1_8_2.entry.js → tttx-datacard_1_8_4.entry.js} +3 -3
  164. package/dist/esm/{tttx-dialog-box_1_8_2.entry.js → tttx-dialog-box_1_8_4.entry.js} +3 -3
  165. package/dist/esm/{tttx-dialog_1_8_2.entry.js → tttx-dialog_1_8_4.entry.js} +2 -2
  166. package/dist/esm/{tttx-expander_1_8_2.entry.js → tttx-expander_1_8_4.entry.js} +2 -2
  167. package/dist/esm/{tttx-filter_1_8_2_4.entry.js → tttx-filter_1_8_4_4.entry.js} +6 -6
  168. package/dist/esm/{tttx-form_1_8_2.entry.js → tttx-form_1_8_4.entry.js} +2 -2
  169. package/dist/esm/{tttx-icon_1_8_2.entry.js → tttx-icon_1_8_4.entry.js} +1 -1
  170. package/dist/esm/{tttx-keyvalue-block_1_8_2.entry.js → tttx-keyvalue-block_1_8_4.entry.js} +1 -1
  171. package/dist/esm/{tttx-loading-spinner_1_8_2.entry.js → tttx-loading-spinner_1_8_4.entry.js} +1 -1
  172. package/dist/esm/{tttx-multiselect-box_1_8_2.entry.js → tttx-multiselect-box_1_8_4.entry.js} +6 -6
  173. package/dist/esm/{tttx-percentage-bar_1_8_2.entry.js → tttx-percentage-bar_1_8_4.entry.js} +2 -2
  174. package/dist/esm/{tttx-qrcode_1_8_2.entry.js → tttx-qrcode_1_8_4.entry.js} +1 -1
  175. package/dist/esm/{tttx-select-box_1_8_2.entry.js → tttx-select-box_1_8_4.entry.js} +4 -4
  176. package/dist/esm/tttx-standalone-input_1_8_4.entry.js +90 -0
  177. package/dist/esm/tttx-table_1_8_4.entry.js +37 -0
  178. package/dist/esm/{tttx-tabs_1_8_2.entry.js → tttx-tabs_1_8_4.entry.js} +4 -4
  179. package/dist/esm/{tttx-tag_1_8_2.entry.js → tttx-tag_1_8_4.entry.js} +1 -1
  180. package/dist/esm/{tttx-textarea_1_8_2.entry.js → tttx-textarea_1_8_4.entry.js} +2 -2
  181. package/dist/esm/{tttx-tree-view_1_8_2.entry.js → tttx-tree-view_1_8_4.entry.js} +3 -3
  182. package/dist/esm/tttx.js +1 -1
  183. package/dist/tttx/p-0e515960.entry.js +1 -1
  184. package/dist/tttx/p-129893f7.entry.js +1 -1
  185. package/dist/tttx/p-1e5ff5f8.entry.js +1 -1
  186. package/dist/tttx/p-23f45005.entry.js +1 -1
  187. package/dist/tttx/p-33754ad8.entry.js +1 -0
  188. package/dist/tttx/p-533499ec.entry.js +1 -1
  189. package/dist/tttx/p-56c8c353.entry.js +1 -1
  190. package/dist/tttx/p-59c7b049.entry.js +1 -1
  191. package/dist/tttx/p-63ad6fb7.entry.js +1 -1
  192. package/dist/tttx/p-6b1c7a21.entry.js +1 -1
  193. package/dist/tttx/p-796f699a.entry.js +1 -1
  194. package/dist/tttx/p-884f37d3.entry.js +1 -1
  195. package/dist/tttx/p-8b0b95b7.entry.js +1 -1
  196. package/dist/tttx/p-9434561e.entry.js +1 -1
  197. package/dist/tttx/p-983d63ff.entry.js +1 -1
  198. package/dist/tttx/p-a01e679a.entry.js +1 -1
  199. package/dist/tttx/p-a8e76e78.entry.js +1 -1
  200. package/dist/tttx/p-b7347352.entry.js +1 -1
  201. package/dist/tttx/p-bae7f239.entry.js +1 -0
  202. package/dist/tttx/p-c08a54f9.entry.js +1 -1
  203. package/dist/tttx/p-c170e3b8.entry.js +1 -1
  204. package/dist/tttx/p-ddad380e.entry.js +1 -1
  205. package/dist/tttx/p-e5259a38.entry.js +1 -1
  206. package/dist/tttx/p-ee358ce4.entry.js +1 -1
  207. package/dist/tttx/p-f374e293.entry.js +1 -1
  208. package/dist/tttx/p-f4db1cf2.entry.js +1 -1
  209. package/dist/tttx/tttx.esm.js +1 -1
  210. package/dist/types/components/molecules/tttx-comments/tttx-comments.d.ts +17 -0
  211. package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
  212. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
  213. package/dist/types/components/molecules/tttx-table/tttx-table.d.ts +1 -0
  214. package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
  215. package/dist/types/components.d.ts +345 -340
  216. package/package.json +1 -1
  217. package/dist/cjs/tttx-standalone-input_1_8_2.cjs.entry.js +0 -94
  218. package/dist/cjs/tttx-table_1_8_2.cjs.entry.js +0 -36
  219. package/dist/components/tttx-checkbox-group-caption_1_8_2.d.ts +0 -11
  220. package/dist/components/tttx-checkbox-group-heading_1_8_2.d.ts +0 -11
  221. package/dist/components/tttx-checkbox-group_1_8_2.d.ts +0 -11
  222. package/dist/components/tttx-data-pattern_1_8_2.d.ts +0 -11
  223. package/dist/components/tttx-dialog-box_1_8_2.d.ts +0 -11
  224. package/dist/components/tttx-expander_1_8_2.d.ts +0 -11
  225. package/dist/components/tttx-keyvalue-block_1_8_2.d.ts +0 -11
  226. package/dist/components/tttx-loading-spinner_1_8_2.d.ts +0 -11
  227. package/dist/components/tttx-multiselect-box_1_8_2.d.ts +0 -11
  228. package/dist/components/tttx-percentage-bar_1_8_2.d.ts +0 -11
  229. package/dist/components/tttx-select-box_1_8_2.d.ts +0 -11
  230. package/dist/components/tttx-sorter_1_8_2.d.ts +0 -11
  231. package/dist/components/tttx-standalone-input_1_8_2.d.ts +0 -11
  232. package/dist/components/tttx-table_1_8_2.js +0 -55
  233. package/dist/components/tttx-textarea_1_8_2.d.ts +0 -11
  234. package/dist/components/tttx-tree-view_1_8_2.d.ts +0 -11
  235. package/dist/esm/tttx-standalone-input_1_8_2.entry.js +0 -90
  236. package/dist/esm/tttx-table_1_8_2.entry.js +0 -32
  237. package/dist/tttx/p-174f54ab.entry.js +0 -1
  238. package/dist/tttx/p-765ecce5.entry.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3t-transform/threeteeui",
3
- "version": "1.8.2",
3
+ "version": "1.8.4",
4
4
  "description": "3t Design System",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,94 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-fdc30724.js');
6
-
7
- const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_8_2{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_8_2{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_8_2{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_8_2 .optional.sc-tttx-standalone-input_1_8_2{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2{position:relative}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 .left-icons.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 .right-icons.sc-tttx-standalone-input_1_8_2{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 .left-icons.sc-tttx-standalone-input_1_8_2 tttx-icon.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 .right-icons.sc-tttx-standalone-input_1_8_2 tttx-icon.sc-tttx-standalone-input_1_8_2{height:24px;width:24px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 .left-icons.sc-tttx-standalone-input_1_8_2{left:8px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 .right-icons.sc-tttx-standalone-input_1_8_2{right:8px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.sc-tttx-standalone-input_1_8_2{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_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.has-input-icon.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.has-input-icon.sc-tttx-standalone-input_1_8_2{padding-left:40px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_8_2{padding-left:72px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.has-left-icon.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.has-left-icon.sc-tttx-standalone-input_1_8_2{padding-left:40px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.has-right-icon.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.has-right-icon.sc-tttx-standalone-input_1_8_2{padding-right:40px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.invalid.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.invalid.sc-tttx-standalone-input_1_8_2{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.sc-tttx-standalone-input_1_8_2:not([type=submit]),label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.sc-tttx-standalone-input_1_8_2:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input[type=radio].sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea[type=radio].sc-tttx-standalone-input_1_8_2{width:20px;height:20px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input[type=date].sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea[type=date].sc-tttx-standalone-input_1_8_2{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input[readonly].sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea[readonly].sc-tttx-standalone-input_1_8_2{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.sc-tttx-standalone-input_1_8_2:focus,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.sc-tttx-standalone-input_1_8_2:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.sc-tttx-standalone-input_1_8_2:focus-visible,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.sc-tttx-standalone-input_1_8_2:focus-visible{outline:none}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.sc-tttx-standalone-input_1_8_2{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.resize-none.sc-tttx-standalone-input_1_8_2{resize:none}label.sc-tttx-standalone-input_1_8_2 .outer-container.inputBlock.sc-tttx-standalone-input_1_8_2{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_8_2 .outer-container.inputBlock.sc-tttx-standalone-input_1_8_2 .left-icons.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.inputBlock.sc-tttx-standalone-input_1_8_2 .right-icons.sc-tttx-standalone-input_1_8_2{margin-top:4px}label.sc-tttx-standalone-input_1_8_2 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_8_2{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_8_2 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_8_2{display:block}label.sc-tttx-standalone-input_1_8_2 .outer-container.inputInline.sc-tttx-standalone-input_1_8_2{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_8_2 .outer-container.inputInline.sc-tttx-standalone-input_1_8_2 input.sc-tttx-standalone-input_1_8_2{margin-top:0}label.sc-tttx-standalone-input_1_8_2 .secondarylabel.sc-tttx-standalone-input_1_8_2{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_8_2 .errorBubble.sc-tttx-standalone-input_1_8_2{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_8_2 .errorBubble.sc-tttx-standalone-input_1_8_2:not(.visible){display:none}label.sc-tttx-standalone-input_1_8_2 .errorBubble.sc-tttx-standalone-input_1_8_2 span.sc-tttx-standalone-input_1_8_2{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_8_2{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_8_2-h{display:block}";
8
-
9
- const TttxInput = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.valueChanged = index.createEvent(this, "valueChanged", 7);
13
- this.focusChanged = index.createEvent(this, "focusChanged", 7);
14
- this.blurChanged = index.createEvent(this, "blurChanged", 7);
15
- this.invalidChanged = index.createEvent(this, "invalidChanged", 7);
16
- this.inputIconClick = index.createEvent(this, "inputIconClick", 7);
17
- this.leftIconClick = index.createEvent(this, "leftIconClick", 7);
18
- this.rightIconClick = index.createEvent(this, "rightIconClick", 7);
19
- this.label = undefined;
20
- this.secondarylabel = undefined;
21
- this.showerrormsg = undefined;
22
- this.showerrorbubble = true;
23
- this.errormsg = undefined;
24
- this.iconleft = undefined;
25
- this.iconleftcolor = 'grey';
26
- this.iconright = undefined;
27
- this.iconrightcolor = 'grey';
28
- this.inputicon = undefined;
29
- this.inputiconcolor = 'grey';
30
- this.inline = undefined;
31
- this.inputautocapitalize = undefined;
32
- this.inputautofocus = undefined;
33
- this.inputkeyhint = undefined;
34
- this.inputindex = undefined;
35
- this.inputtitle = undefined;
36
- this.autocomplete = undefined;
37
- this.checked = undefined;
38
- this.disabled = undefined;
39
- this.max = undefined;
40
- this.maxlength = undefined;
41
- this.min = undefined;
42
- this.minlength = undefined;
43
- this.name = undefined;
44
- this.pattern = undefined;
45
- this.placeholder = undefined;
46
- this.readonly = undefined;
47
- this.required = undefined;
48
- this.step = undefined;
49
- this.type = 'text';
50
- this.value = undefined;
51
- }
52
- handleChange(event) {
53
- const target = event.target;
54
- this.value = target.value;
55
- this.valueChanged.emit(target.value);
56
- }
57
- handleFocus(event) {
58
- const target = event.target;
59
- this.focusChanged.emit(target.value);
60
- }
61
- handleBlur(event) {
62
- const target = event.target;
63
- this.blurChanged.emit(target.value);
64
- }
65
- handleInvalid(event) {
66
- event.preventDefault();
67
- const target = event.target;
68
- this.invalidChanged.emit(target.value);
69
- }
70
- handleInputIconClick(event) {
71
- event.preventDefault();
72
- this.inputIconClick.emit();
73
- }
74
- handleLeftIconClick(event) {
75
- event.preventDefault();
76
- this.leftIconClick.emit();
77
- }
78
- handleRightIconClick(event) {
79
- event.preventDefault();
80
- this.rightIconClick.emit();
81
- }
82
- render() {
83
- const classNames = [
84
- this.showerrormsg ? 'invalid' : '',
85
- this.inputicon ? 'has-input-icon' : '',
86
- this.iconleft ? 'has-left-icon' : '',
87
- this.iconright ? 'has-right-icon' : '',
88
- ].join(' ');
89
- return (index.h(index.Host, null, index.h("label", null, this.label, !this.required ? index.h("span", { class: "optional" }, "\u00A0(optional)") : '', index.h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, index.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) && (index.h("span", { class: "left-icons" }, this.inputicon && (index.h("tttx-icon_1_8_2", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (index.h("tttx-icon_1_8_2", { class: "left-icon", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })))), this.iconright && (index.h("span", { class: "right-icons" }, index.h("tttx-icon_1_8_2", { class: "right-icon", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })))), this.secondarylabel && index.h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (index.h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, index.h("span", { class: "material-symbols-rounded" }, "warning"), " ", this.errormsg)))));
90
- }
91
- };
92
- TttxInput.style = tttxStandaloneInputCss;
93
-
94
- exports.tttx_standalone_input_1_8_2 = TttxInput;
@@ -1,36 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-fdc30724.js');
6
-
7
- const tttxTableCss = ".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}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}";
8
-
9
- const TttxTable = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.rowClicked = index.createEvent(this, "rowClicked", 7);
13
- this.headerClicked = index.createEvent(this, "headerClicked", 7);
14
- this.headers = [];
15
- this.data = [];
16
- this.loading = false;
17
- this.selected = -1;
18
- }
19
- rowClickedHandler(row) {
20
- this.rowClicked.emit(row);
21
- this.selected = this.data.findIndex((item) => item === row);
22
- }
23
- headerClickedHandler(header) {
24
- this.headerClicked.emit(header);
25
- }
26
- render() {
27
- return (index.h(index.Host, null, index.h("div", { style: { width: '100%', overflowX: 'auto' } }, index.h("table", null, index.h("colgroup", null, this.headers && this.headers.map((header) => (index.h("col", { style: { width: header.width ? `${header.width}` : 'auto' } })))), index.h("thead", null, index.h("tr", null, this.loading ?
28
- [1, 2, 3].map(() => (index.h("th", null, index.h("div", { class: "skeleton" })))) :
29
- this.headers && this.headers.map((header) => (index.h("th", { class: "header-typography", onClick: () => this.headerClickedHandler(header) }, header.label))))), index.h("tbody", null, this.loading ?
30
- [1, 2, 3].map(() => (index.h("tr", null, [1, 2, 3].map(() => (index.h("td", null, index.h("div", { class: "skeleton" }))))))) :
31
- Object.keys(this.data).map((key, index$1) => (index.h("tr", { class: index$1 === this.selected ? 'selected' : '', onClick: () => this.rowClickedHandler(this.data[key]) }, this.headers.map((header) => (index.h("td", { class: "cell-typography" }, index.h("div", { class: "cell-spacing" }, this.data[key][header.key]))))))))))));
32
- }
33
- };
34
- TttxTable.style = tttxTableCss;
35
-
36
- exports.tttx_table_1_8_2 = TttxTable;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxCheckboxGroupCaption_1_8_2 extends Components.TttxCheckboxGroupCaption_1_8_2, HTMLElement {}
4
- export const TttxCheckboxGroupCaption_1_8_2: {
5
- prototype: TttxCheckboxGroupCaption_1_8_2;
6
- new (): TttxCheckboxGroupCaption_1_8_2;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxCheckboxGroupHeading_1_8_2 extends Components.TttxCheckboxGroupHeading_1_8_2, HTMLElement {}
4
- export const TttxCheckboxGroupHeading_1_8_2: {
5
- prototype: TttxCheckboxGroupHeading_1_8_2;
6
- new (): TttxCheckboxGroupHeading_1_8_2;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxCheckboxGroup_1_8_2 extends Components.TttxCheckboxGroup_1_8_2, HTMLElement {}
4
- export const TttxCheckboxGroup_1_8_2: {
5
- prototype: TttxCheckboxGroup_1_8_2;
6
- new (): TttxCheckboxGroup_1_8_2;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxDataPattern_1_8_2 extends Components.TttxDataPattern_1_8_2, HTMLElement {}
4
- export const TttxDataPattern_1_8_2: {
5
- prototype: TttxDataPattern_1_8_2;
6
- new (): TttxDataPattern_1_8_2;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxDialogBox_1_8_2 extends Components.TttxDialogBox_1_8_2, HTMLElement {}
4
- export const TttxDialogBox_1_8_2: {
5
- prototype: TttxDialogBox_1_8_2;
6
- new (): TttxDialogBox_1_8_2;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxExpander_1_8_2 extends Components.TttxExpander_1_8_2, HTMLElement {}
4
- export const TttxExpander_1_8_2: {
5
- prototype: TttxExpander_1_8_2;
6
- new (): TttxExpander_1_8_2;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxKeyvalueBlock_1_8_2 extends Components.TttxKeyvalueBlock_1_8_2, HTMLElement {}
4
- export const TttxKeyvalueBlock_1_8_2: {
5
- prototype: TttxKeyvalueBlock_1_8_2;
6
- new (): TttxKeyvalueBlock_1_8_2;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxLoadingSpinner_1_8_2 extends Components.TttxLoadingSpinner_1_8_2, HTMLElement {}
4
- export const TttxLoadingSpinner_1_8_2: {
5
- prototype: TttxLoadingSpinner_1_8_2;
6
- new (): TttxLoadingSpinner_1_8_2;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxMultiselectBox_1_8_2 extends Components.TttxMultiselectBox_1_8_2, HTMLElement {}
4
- export const TttxMultiselectBox_1_8_2: {
5
- prototype: TttxMultiselectBox_1_8_2;
6
- new (): TttxMultiselectBox_1_8_2;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxPercentageBar_1_8_2 extends Components.TttxPercentageBar_1_8_2, HTMLElement {}
4
- export const TttxPercentageBar_1_8_2: {
5
- prototype: TttxPercentageBar_1_8_2;
6
- new (): TttxPercentageBar_1_8_2;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxSelectBox_1_8_2 extends Components.TttxSelectBox_1_8_2, HTMLElement {}
4
- export const TttxSelectBox_1_8_2: {
5
- prototype: TttxSelectBox_1_8_2;
6
- new (): TttxSelectBox_1_8_2;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxSorter_1_8_2 extends Components.TttxSorter_1_8_2, HTMLElement {}
4
- export const TttxSorter_1_8_2: {
5
- prototype: TttxSorter_1_8_2;
6
- new (): TttxSorter_1_8_2;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxStandaloneInput_1_8_2 extends Components.TttxStandaloneInput_1_8_2, HTMLElement {}
4
- export const TttxStandaloneInput_1_8_2: {
5
- prototype: TttxStandaloneInput_1_8_2;
6
- new (): TttxStandaloneInput_1_8_2;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,55 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
-
3
- const tttxTableCss = ".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}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}";
4
-
5
- const TttxTable = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
- constructor() {
7
- super();
8
- this.__registerHost();
9
- this.__attachShadow();
10
- this.rowClicked = createEvent(this, "rowClicked", 7);
11
- this.headerClicked = createEvent(this, "headerClicked", 7);
12
- this.headers = [];
13
- this.data = [];
14
- this.loading = false;
15
- this.selected = -1;
16
- }
17
- rowClickedHandler(row) {
18
- this.rowClicked.emit(row);
19
- this.selected = this.data.findIndex((item) => item === row);
20
- }
21
- headerClickedHandler(header) {
22
- this.headerClicked.emit(header);
23
- }
24
- render() {
25
- return (h(Host, null, h("div", { style: { width: '100%', overflowX: 'auto' } }, h("table", null, h("colgroup", null, this.headers && this.headers.map((header) => (h("col", { style: { width: header.width ? `${header.width}` : 'auto' } })))), h("thead", null, h("tr", null, this.loading ?
26
- [1, 2, 3].map(() => (h("th", null, h("div", { class: "skeleton" })))) :
27
- this.headers && this.headers.map((header) => (h("th", { class: "header-typography", onClick: () => this.headerClickedHandler(header) }, header.label))))), h("tbody", null, this.loading ?
28
- [1, 2, 3].map(() => (h("tr", null, [1, 2, 3].map(() => (h("td", null, h("div", { class: "skeleton" }))))))) :
29
- Object.keys(this.data).map((key, index) => (h("tr", { class: index === this.selected ? 'selected' : '', onClick: () => this.rowClickedHandler(this.data[key]) }, this.headers.map((header) => (h("td", { class: "cell-typography" }, h("div", { class: "cell-spacing" }, this.data[key][header.key]))))))))))));
30
- }
31
- static get style() { return tttxTableCss; }
32
- }, [1, "tttx-table_1_8_2", {
33
- "headers": [16],
34
- "data": [8],
35
- "loading": [4],
36
- "selected": [2]
37
- }]);
38
- function defineCustomElement$1() {
39
- if (typeof customElements === "undefined") {
40
- return;
41
- }
42
- const components = ["tttx-table_1_8_2"];
43
- components.forEach(tagName => { switch (tagName) {
44
- case "tttx-table_1_8_2":
45
- if (!customElements.get(tagName)) {
46
- customElements.define(tagName, TttxTable);
47
- }
48
- break;
49
- } });
50
- }
51
-
52
- const TttxTable_1_8_2 = TttxTable;
53
- const defineCustomElement = defineCustomElement$1;
54
-
55
- export { TttxTable_1_8_2, defineCustomElement };
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxTextarea_1_8_2 extends Components.TttxTextarea_1_8_2, HTMLElement {}
4
- export const TttxTextarea_1_8_2: {
5
- prototype: TttxTextarea_1_8_2;
6
- new (): TttxTextarea_1_8_2;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface TttxTreeView_1_8_2 extends Components.TttxTreeView_1_8_2, HTMLElement {}
4
- export const TttxTreeView_1_8_2: {
5
- prototype: TttxTreeView_1_8_2;
6
- new (): TttxTreeView_1_8_2;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,90 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-88bd2f60.js';
2
-
3
- const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_8_2{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_8_2{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_8_2{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_8_2 .optional.sc-tttx-standalone-input_1_8_2{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2{position:relative}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 .left-icons.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 .right-icons.sc-tttx-standalone-input_1_8_2{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 .left-icons.sc-tttx-standalone-input_1_8_2 tttx-icon.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 .right-icons.sc-tttx-standalone-input_1_8_2 tttx-icon.sc-tttx-standalone-input_1_8_2{height:24px;width:24px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 .left-icons.sc-tttx-standalone-input_1_8_2{left:8px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 .right-icons.sc-tttx-standalone-input_1_8_2{right:8px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.sc-tttx-standalone-input_1_8_2{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_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.has-input-icon.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.has-input-icon.sc-tttx-standalone-input_1_8_2{padding-left:40px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_8_2{padding-left:72px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.has-left-icon.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.has-left-icon.sc-tttx-standalone-input_1_8_2{padding-left:40px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.has-right-icon.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.has-right-icon.sc-tttx-standalone-input_1_8_2{padding-right:40px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.invalid.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.invalid.sc-tttx-standalone-input_1_8_2{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.sc-tttx-standalone-input_1_8_2:not([type=submit]),label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.sc-tttx-standalone-input_1_8_2:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input[type=radio].sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea[type=radio].sc-tttx-standalone-input_1_8_2{width:20px;height:20px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input[type=date].sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea[type=date].sc-tttx-standalone-input_1_8_2{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input[readonly].sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea[readonly].sc-tttx-standalone-input_1_8_2{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.sc-tttx-standalone-input_1_8_2:focus,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.sc-tttx-standalone-input_1_8_2:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 input.sc-tttx-standalone-input_1_8_2:focus-visible,label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.sc-tttx-standalone-input_1_8_2:focus-visible{outline:none}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.sc-tttx-standalone-input_1_8_2{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_8_2 .outer-container.sc-tttx-standalone-input_1_8_2 textarea.resize-none.sc-tttx-standalone-input_1_8_2{resize:none}label.sc-tttx-standalone-input_1_8_2 .outer-container.inputBlock.sc-tttx-standalone-input_1_8_2{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_8_2 .outer-container.inputBlock.sc-tttx-standalone-input_1_8_2 .left-icons.sc-tttx-standalone-input_1_8_2,label.sc-tttx-standalone-input_1_8_2 .outer-container.inputBlock.sc-tttx-standalone-input_1_8_2 .right-icons.sc-tttx-standalone-input_1_8_2{margin-top:4px}label.sc-tttx-standalone-input_1_8_2 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_8_2{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_8_2 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_8_2{display:block}label.sc-tttx-standalone-input_1_8_2 .outer-container.inputInline.sc-tttx-standalone-input_1_8_2{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_8_2 .outer-container.inputInline.sc-tttx-standalone-input_1_8_2 input.sc-tttx-standalone-input_1_8_2{margin-top:0}label.sc-tttx-standalone-input_1_8_2 .secondarylabel.sc-tttx-standalone-input_1_8_2{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_8_2 .errorBubble.sc-tttx-standalone-input_1_8_2{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_8_2 .errorBubble.sc-tttx-standalone-input_1_8_2:not(.visible){display:none}label.sc-tttx-standalone-input_1_8_2 .errorBubble.sc-tttx-standalone-input_1_8_2 span.sc-tttx-standalone-input_1_8_2{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_8_2{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_8_2-h{display:block}";
4
-
5
- const TttxInput = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.valueChanged = createEvent(this, "valueChanged", 7);
9
- this.focusChanged = createEvent(this, "focusChanged", 7);
10
- this.blurChanged = createEvent(this, "blurChanged", 7);
11
- this.invalidChanged = createEvent(this, "invalidChanged", 7);
12
- this.inputIconClick = createEvent(this, "inputIconClick", 7);
13
- this.leftIconClick = createEvent(this, "leftIconClick", 7);
14
- this.rightIconClick = createEvent(this, "rightIconClick", 7);
15
- this.label = undefined;
16
- this.secondarylabel = undefined;
17
- this.showerrormsg = undefined;
18
- this.showerrorbubble = true;
19
- this.errormsg = undefined;
20
- this.iconleft = undefined;
21
- this.iconleftcolor = 'grey';
22
- this.iconright = undefined;
23
- this.iconrightcolor = 'grey';
24
- this.inputicon = undefined;
25
- this.inputiconcolor = 'grey';
26
- this.inline = undefined;
27
- this.inputautocapitalize = undefined;
28
- this.inputautofocus = undefined;
29
- this.inputkeyhint = undefined;
30
- this.inputindex = undefined;
31
- this.inputtitle = undefined;
32
- this.autocomplete = undefined;
33
- this.checked = undefined;
34
- this.disabled = undefined;
35
- this.max = undefined;
36
- this.maxlength = undefined;
37
- this.min = undefined;
38
- this.minlength = undefined;
39
- this.name = undefined;
40
- this.pattern = undefined;
41
- this.placeholder = undefined;
42
- this.readonly = undefined;
43
- this.required = undefined;
44
- this.step = undefined;
45
- this.type = 'text';
46
- this.value = undefined;
47
- }
48
- handleChange(event) {
49
- const target = event.target;
50
- this.value = target.value;
51
- this.valueChanged.emit(target.value);
52
- }
53
- handleFocus(event) {
54
- const target = event.target;
55
- this.focusChanged.emit(target.value);
56
- }
57
- handleBlur(event) {
58
- const target = event.target;
59
- this.blurChanged.emit(target.value);
60
- }
61
- handleInvalid(event) {
62
- event.preventDefault();
63
- const target = event.target;
64
- this.invalidChanged.emit(target.value);
65
- }
66
- handleInputIconClick(event) {
67
- event.preventDefault();
68
- this.inputIconClick.emit();
69
- }
70
- handleLeftIconClick(event) {
71
- event.preventDefault();
72
- this.leftIconClick.emit();
73
- }
74
- handleRightIconClick(event) {
75
- event.preventDefault();
76
- this.rightIconClick.emit();
77
- }
78
- render() {
79
- const classNames = [
80
- this.showerrormsg ? 'invalid' : '',
81
- this.inputicon ? 'has-input-icon' : '',
82
- this.iconleft ? 'has-left-icon' : '',
83
- this.iconright ? 'has-right-icon' : '',
84
- ].join(' ');
85
- 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_8_2", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon_1_8_2", { 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_8_2", { 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)))));
86
- }
87
- };
88
- TttxInput.style = tttxStandaloneInputCss;
89
-
90
- export { TttxInput as tttx_standalone_input_1_8_2 };
@@ -1,32 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-88bd2f60.js';
2
-
3
- const tttxTableCss = ".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}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}";
4
-
5
- const TttxTable = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.rowClicked = createEvent(this, "rowClicked", 7);
9
- this.headerClicked = createEvent(this, "headerClicked", 7);
10
- this.headers = [];
11
- this.data = [];
12
- this.loading = false;
13
- this.selected = -1;
14
- }
15
- rowClickedHandler(row) {
16
- this.rowClicked.emit(row);
17
- this.selected = this.data.findIndex((item) => item === row);
18
- }
19
- headerClickedHandler(header) {
20
- this.headerClicked.emit(header);
21
- }
22
- render() {
23
- return (h(Host, null, h("div", { style: { width: '100%', overflowX: 'auto' } }, h("table", null, h("colgroup", null, this.headers && this.headers.map((header) => (h("col", { style: { width: header.width ? `${header.width}` : 'auto' } })))), h("thead", null, h("tr", null, this.loading ?
24
- [1, 2, 3].map(() => (h("th", null, h("div", { class: "skeleton" })))) :
25
- this.headers && this.headers.map((header) => (h("th", { class: "header-typography", onClick: () => this.headerClickedHandler(header) }, header.label))))), h("tbody", null, this.loading ?
26
- [1, 2, 3].map(() => (h("tr", null, [1, 2, 3].map(() => (h("td", null, h("div", { class: "skeleton" }))))))) :
27
- Object.keys(this.data).map((key, index) => (h("tr", { class: index === this.selected ? 'selected' : '', onClick: () => this.rowClickedHandler(this.data[key]) }, this.headers.map((header) => (h("td", { class: "cell-typography" }, h("div", { class: "cell-spacing" }, this.data[key][header.key]))))))))))));
28
- }
29
- };
30
- TttxTable.style = tttxTableCss;
31
-
32
- export { TttxTable as tttx_table_1_8_2 };
@@ -1 +0,0 @@
1
- import{r as t,c as l,h as e,H as o}from"./p-d490353a.js";const i=class{constructor(e){t(this,e),this.rowClicked=l(this,"rowClicked",7),this.headerClicked=l(this,"headerClicked",7),this.headers=[],this.data=[],this.loading=!1,this.selected=-1}rowClickedHandler(t){this.rowClicked.emit(t),this.selected=this.data.findIndex((l=>l===t))}headerClickedHandler(t){this.headerClicked.emit(t)}render(){return e(o,null,e("div",{style:{width:"100%",overflowX:"auto"}},e("table",null,e("colgroup",null,this.headers&&this.headers.map((t=>e("col",{style:{width:t.width?`${t.width}`:"auto"}})))),e("thead",null,e("tr",null,this.loading?[1,2,3].map((()=>e("th",null,e("div",{class:"skeleton"})))):this.headers&&this.headers.map((t=>e("th",{class:"header-typography",onClick:()=>this.headerClickedHandler(t)},t.label))))),e("tbody",null,this.loading?[1,2,3].map((()=>e("tr",null,[1,2,3].map((()=>e("td",null,e("div",{class:"skeleton"}))))))):Object.keys(this.data).map(((t,l)=>e("tr",{class:l===this.selected?"selected":"",onClick:()=>this.rowClickedHandler(this.data[t])},this.headers.map((l=>e("td",{class:"cell-typography"},e("div",{class:"cell-spacing"},this.data[t][l.key])))))))))))}};i.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}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}';export{i as tttx_table_1_8_2}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as i,F as o,H as n}from"./p-d490353a.js";const s=class{constructor(i){t(this,i),this.commentAdded=e(this,"commentAdded",6),this.currentuser=void 0,this.comments=void 0,this._comments=void 0}componentWillLoad(){this.onCommentsChange()}onCommentsChange(){this.comments&&(this._comments="string"==typeof this.comments?JSON.parse(this.comments):this.comments,this.scrollToBottom())}renderCommentBubble(){var t;return i(o,null,null===(t=this._comments)||void 0===t?void 0:t.map((t=>{let e="commentBubble ";return e+=t.createdByFullName===this.currentuser?"right":"left",i("div",{class:e,key:t.id},i("div",{class:"bubbleText"},t.text),i("span",null,new Date(t.createdAt).toLocaleString()),i("span",{style:{color:"black"}},t.createdByFullName))})))}onFormSubmit(t){t.preventDefault();const e=new FormData(t.currentTarget);let i;for(const t of e.entries())i=t[1];t.currentTarget.reset();const o={id:void 0,text:i,createdAt:+new Date,createdByFullName:this.currentuser,createdById:void 0};this._comments=[...this._comments,o],this.commentAdded.emit(o),this.scrollToBottom()}scrollToBottom(){setTimeout((()=>this._scrollContainer.scrollTo({top:this._scrollContainer.scrollHeight})))}render(){return i(n,null,i("article",{id:"comment-container"},i("section",{id:"comment-bubbles-section"},i("div",{id:"scroll-container",ref:t=>this._scrollContainer=t},this.renderCommentBubble())),i("section",{id:"input-section"},i("form",{onSubmit:this.onFormSubmit.bind(this)},i("input",{type:"text",name:"commentText",required:!0,maxlength:"500",placeholder:"Enter comment"}),i("input",{type:"submit",value:"Add Comment"})))))}static get watchers(){return{comments:["onCommentsChange"]}}};s.style='*{font-family:"Roboto", sans-serif}#comment-container{display:flex;height:100%;flex-direction:column}#comment-bubbles-section{display:flex;height:100%;flex-direction:column;justify-content:end;border-bottom:solid 1px #dddddd;margin-bottom:8px;padding-bottom:8px;overflow:hidden}#input-section,#input-section form{display:flex;flex-direction:column}#scroll-container{display:flex;overflow-y:auto;max-height:100%;width:100%;align-items:end;flex-direction:column}.commentBubble{display:flex;flex-direction:column;margin-bottom:8px;width:100%}.commentBubble>.bubbleText{background:#f0f0f0;border-radius:4px;padding:8px 16px;margin-bottom:4px;font-size:11pt;white-space:wrap}.commentBubble>span{color:#757575;font-size:10pt;margin:2px 16px}.commentBubble.right>span{text-align:right}.commentBubble.left>span{text-align:left}input{border:1px solid #dddddd;border-radius:4px;padding:8px 16px;font-size:11pt}input[type=submit]{text-transform:uppercase;background:white;font-size:10pt;margin-top:8px;width:132px;display:flex;align-self:end}input[type=submit]:hover,input[type=submit]:active{background:#dddddd}';export{s as tttx_comments_1_8_2}