@3t-transform/threeteeui 1.9.62 → 1.9.64

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 (289) hide show
  1. package/dist/{esm/tttx-graph_1_9_62.entry.js → cjs/auto-1fd7408f.js} +4 -130
  2. package/dist/cjs/{index-ec367fa3.js → index-1249dc08.js} +12 -0
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/{tttx-action-dropdown_1_9_62.cjs.entry.js → tttx-action-dropdown_1_9_64.cjs.entry.js} +3 -3
  5. package/dist/cjs/tttx-button-v2_1_9_64.cjs.entry.js +121 -0
  6. package/dist/cjs/{tttx-button_1_9_62.cjs.entry.js → tttx-button_1_9_64.cjs.entry.js} +3 -3
  7. package/dist/cjs/tttx-chart_1_9_64.cjs.entry.js +203 -0
  8. package/dist/cjs/{tttx-checkbox-group-caption_1_9_62.cjs.entry.js → tttx-checkbox-group-caption_1_9_64.cjs.entry.js} +2 -2
  9. package/dist/cjs/{tttx-checkbox-group-heading_1_9_62.cjs.entry.js → tttx-checkbox-group-heading_1_9_64.cjs.entry.js} +2 -2
  10. package/dist/cjs/{tttx-checkbox-group_1_9_62.cjs.entry.js → tttx-checkbox-group_1_9_64.cjs.entry.js} +2 -2
  11. package/dist/cjs/{tttx-checkbox_1_9_62.cjs.entry.js → tttx-checkbox_1_9_64.cjs.entry.js} +3 -3
  12. package/dist/cjs/{tttx-comments_1_9_62.cjs.entry.js → tttx-comments_1_9_64.cjs.entry.js} +5 -5
  13. package/dist/cjs/{tttx-data-pattern_1_9_62.cjs.entry.js → tttx-data-pattern_1_9_64.cjs.entry.js} +6 -6
  14. package/dist/cjs/{tttx-datacard_1_9_62.cjs.entry.js → tttx-datacard_1_9_64.cjs.entry.js} +5 -5
  15. package/dist/cjs/tttx-date-range-picker.cjs.entry.js +2 -2
  16. package/dist/cjs/{tttx-dialog-box_1_9_62.cjs.entry.js → tttx-dialog-box_1_9_64.cjs.entry.js} +4 -4
  17. package/dist/cjs/{tttx-dialog_1_9_62.cjs.entry.js → tttx-dialog_1_9_64.cjs.entry.js} +3 -3
  18. package/dist/cjs/{tttx-expander_1_9_62.cjs.entry.js → tttx-expander_1_9_64.cjs.entry.js} +3 -3
  19. package/dist/cjs/{tttx-filter_1_9_62_4.cjs.entry.js → tttx-filter_1_9_64_4.cjs.entry.js} +10 -10
  20. package/dist/cjs/{tttx-form_1_9_62.cjs.entry.js → tttx-form_1_9_64.cjs.entry.js} +3 -3
  21. package/dist/cjs/tttx-graph_1_9_64.cjs.entry.js +136 -0
  22. package/dist/cjs/{tttx-icon_1_9_62.cjs.entry.js → tttx-icon_1_9_64.cjs.entry.js} +2 -2
  23. package/dist/cjs/{tttx-keyvalue-block_1_9_62.cjs.entry.js → tttx-keyvalue-block_1_9_64.cjs.entry.js} +2 -2
  24. package/dist/cjs/{tttx-loading-spinner_1_9_62_3.cjs.entry.js → tttx-loading-spinner_1_9_64_3.cjs.entry.js} +7 -7
  25. package/dist/cjs/{tttx-multiselect-box_1_9_62.cjs.entry.js → tttx-multiselect-box_1_9_64.cjs.entry.js} +8 -8
  26. package/dist/cjs/{tttx-percentage-bar_1_9_62.cjs.entry.js → tttx-percentage-bar_1_9_64.cjs.entry.js} +3 -3
  27. package/dist/cjs/{tttx-qrcode_1_9_62.cjs.entry.js → tttx-qrcode_1_9_64.cjs.entry.js} +2 -2
  28. package/dist/cjs/{tttx-select-box_1_9_62.cjs.entry.js → tttx-select-box_1_9_64.cjs.entry.js} +7 -7
  29. package/dist/cjs/{tttx-skeleton_loader_1_9_62.cjs.entry.js → tttx-skeleton_loader_1_9_64.cjs.entry.js} +2 -2
  30. package/dist/cjs/{tttx-table_1_9_62.cjs.entry.js → tttx-table_1_9_64.cjs.entry.js} +2 -2
  31. package/dist/cjs/{tttx-tabs_1_9_62.cjs.entry.js → tttx-tabs_1_9_64.cjs.entry.js} +5 -5
  32. package/dist/cjs/{tttx-textarea_1_9_62.cjs.entry.js → tttx-textarea_1_9_64.cjs.entry.js} +3 -3
  33. package/dist/cjs/{tttx-toggle_1_9_62.cjs.entry.js → tttx-toggle_1_9_64.cjs.entry.js} +2 -2
  34. package/dist/cjs/{tttx-tree-view_1_9_62.cjs.entry.js → tttx-tree-view_1_9_64.cjs.entry.js} +4 -4
  35. package/dist/cjs/tttx.cjs.js +2 -2
  36. package/dist/collection/collection-manifest.json +2 -0
  37. package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
  38. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +24 -24
  39. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.css +286 -0
  40. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.js +386 -0
  41. package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.stories.js +197 -0
  42. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
  43. package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
  44. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.js +4 -4
  45. package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +10 -10
  46. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
  47. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
  48. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
  49. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
  50. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +1 -1
  51. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +2 -2
  52. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
  53. package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
  54. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
  55. package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
  56. package/dist/collection/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader.js +1 -1
  57. package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +2 -2
  58. package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
  59. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
  60. package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
  61. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.js +2 -2
  62. package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +1 -1
  63. package/dist/collection/components/molecules/tttx-chart/tttx-chart.css +61 -0
  64. package/dist/collection/components/molecules/tttx-chart/tttx-chart.js +383 -0
  65. package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +112 -0
  66. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
  67. package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
  68. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
  69. package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
  70. package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +4 -4
  71. package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +4 -4
  72. package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +1 -1
  73. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
  74. package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
  75. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
  76. package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
  77. package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
  78. package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
  79. package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
  80. package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
  81. package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
  82. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +8 -8
  83. package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
  84. package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
  85. package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
  86. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
  87. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -7
  88. package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
  89. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +6 -6
  90. package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +22 -22
  91. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
  92. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
  93. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
  94. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
  95. package/dist/collection/components/molecules/tttx-table/tttx-table.js +1 -1
  96. package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
  97. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
  98. package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
  99. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
  100. package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
  101. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
  102. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
  103. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
  104. package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +1 -1
  105. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
  106. package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
  107. package/dist/{cjs/tttx-graph_1_9_62.cjs.entry.js → components/auto.js} +1 -135
  108. package/dist/components/index.d.ts +35 -33
  109. package/dist/components/index.js +35 -33
  110. package/dist/components/tttx-action-dropdown_1_9_64.d.ts +11 -0
  111. package/dist/components/{tttx-action-dropdown_1_9_62.js → tttx-action-dropdown_1_9_64.js} +7 -7
  112. package/dist/components/{tttx-comments_1_9_62.d.ts → tttx-button-v2_1_9_64.d.ts} +4 -4
  113. package/dist/components/tttx-button-v2_1_9_64.js +156 -0
  114. package/dist/components/tttx-button.js +5 -5
  115. package/dist/components/{tttx-dialog_1_9_62.d.ts → tttx-button_1_9_64.d.ts} +4 -4
  116. package/dist/components/{tttx-button_1_9_62.js → tttx-button_1_9_64.js} +2 -2
  117. package/dist/components/{tttx-graph_1_9_62.d.ts → tttx-chart_1_9_64.d.ts} +4 -4
  118. package/dist/components/tttx-chart_1_9_64.js +247 -0
  119. package/dist/components/tttx-checkbox-group-caption_1_9_64.d.ts +11 -0
  120. package/dist/components/{tttx-checkbox-group-caption_1_9_62.js → tttx-checkbox-group-caption_1_9_64.js} +5 -5
  121. package/dist/components/tttx-checkbox-group-heading_1_9_64.d.ts +11 -0
  122. package/dist/components/{tttx-checkbox-group-heading_1_9_62.js → tttx-checkbox-group-heading_1_9_64.js} +5 -5
  123. package/dist/components/tttx-checkbox-group_1_9_64.d.ts +11 -0
  124. package/dist/components/{tttx-checkbox-group_1_9_62.js → tttx-checkbox-group_1_9_64.js} +5 -5
  125. package/dist/components/{tttx-datacard_1_9_62.d.ts → tttx-checkbox_1_9_64.d.ts} +4 -4
  126. package/dist/components/{tttx-checkbox_1_9_62.js → tttx-checkbox_1_9_64.js} +7 -7
  127. package/dist/components/{tttx-checkbox_1_9_62.d.ts → tttx-comments_1_9_64.d.ts} +4 -4
  128. package/dist/components/{tttx-comments_1_9_62.js → tttx-comments_1_9_64.js} +9 -9
  129. package/dist/components/tttx-data-pattern_1_9_64.d.ts +11 -0
  130. package/dist/components/{tttx-data-pattern_1_9_62.js → tttx-data-pattern_1_9_64.js} +16 -16
  131. package/dist/components/tttx-datacard_1_9_64.d.ts +11 -0
  132. package/dist/components/{tttx-datacard_1_9_62.js → tttx-datacard_1_9_64.js} +10 -10
  133. package/dist/components/tttx-date-range-picker.js +3 -3
  134. package/dist/components/tttx-dialog-box_1_9_64.d.ts +11 -0
  135. package/dist/components/{tttx-dialog-box_1_9_62.js → tttx-dialog-box_1_9_64.js} +9 -9
  136. package/dist/components/{tttx-button_1_9_62.d.ts → tttx-dialog_1_9_64.d.ts} +4 -4
  137. package/dist/components/{tttx-dialog_1_9_62.js → tttx-dialog_1_9_64.js} +8 -8
  138. package/dist/components/tttx-expander_1_9_64.d.ts +11 -0
  139. package/dist/components/{tttx-expander_1_9_62.js → tttx-expander_1_9_64.js} +7 -7
  140. package/dist/components/tttx-filter.js +6 -6
  141. package/dist/components/{tttx-filter_1_9_62.d.ts → tttx-filter_1_9_64.d.ts} +4 -4
  142. package/dist/components/{tttx-filter_1_9_62.js → tttx-filter_1_9_64.js} +2 -2
  143. package/dist/components/{tttx-tabs_1_9_62.d.ts → tttx-form_1_9_64.d.ts} +4 -4
  144. package/dist/components/{tttx-form_1_9_62.js → tttx-form_1_9_64.js} +11 -11
  145. package/dist/components/tttx-graph.js +4 -14783
  146. package/dist/components/{tttx-table_1_9_62.d.ts → tttx-graph_1_9_64.d.ts} +4 -4
  147. package/dist/components/{tttx-graph_1_9_62.js → tttx-graph_1_9_64.js} +2 -2
  148. package/dist/components/tttx-icon.js +3 -3
  149. package/dist/components/{tttx-icon_1_9_62.d.ts → tttx-icon_1_9_64.d.ts} +4 -4
  150. package/dist/components/{tttx-icon_1_9_62.js → tttx-icon_1_9_64.js} +2 -2
  151. package/dist/components/tttx-keyvalue-block_1_9_64.d.ts +11 -0
  152. package/dist/components/{tttx-keyvalue-block_1_9_62.js → tttx-keyvalue-block_1_9_64.js} +5 -5
  153. package/dist/components/tttx-list.js +6 -6
  154. package/dist/components/{tttx-list_1_9_62.d.ts → tttx-list_1_9_64.d.ts} +4 -4
  155. package/dist/components/{tttx-list_1_9_62.js → tttx-list_1_9_64.js} +2 -2
  156. package/dist/components/tttx-loading-spinner.js +3 -3
  157. package/dist/components/tttx-loading-spinner_1_9_64.d.ts +11 -0
  158. package/dist/components/{tttx-loading-spinner_1_9_62.js → tttx-loading-spinner_1_9_64.js} +2 -2
  159. package/dist/components/tttx-multiselect-box_1_9_64.d.ts +11 -0
  160. package/dist/components/{tttx-multiselect-box_1_9_62.js → tttx-multiselect-box_1_9_64.js} +16 -16
  161. package/dist/components/tttx-percentage-bar_1_9_64.d.ts +11 -0
  162. package/dist/components/{tttx-percentage-bar_1_9_62.js → tttx-percentage-bar_1_9_64.js} +6 -6
  163. package/dist/components/{tttx-qrcode_1_9_62.d.ts → tttx-qrcode_1_9_64.d.ts} +4 -4
  164. package/dist/components/{tttx-qrcode_1_9_62.js → tttx-qrcode_1_9_64.js} +5 -5
  165. package/dist/components/tttx-select-box.js +12 -12
  166. package/dist/components/tttx-select-box_1_9_64.d.ts +11 -0
  167. package/dist/components/{tttx-select-box_1_9_62.js → tttx-select-box_1_9_64.js} +2 -2
  168. package/dist/components/tttx-skeleton_loader_1_9_64.d.ts +11 -0
  169. package/dist/components/{tttx-skeleton_loader_1_9_62.js → tttx-skeleton_loader_1_9_64.js} +5 -5
  170. package/dist/components/tttx-sorter.js +5 -5
  171. package/dist/components/tttx-sorter_1_9_64.d.ts +11 -0
  172. package/dist/components/{tttx-sorter_1_9_62.js → tttx-sorter_1_9_64.js} +2 -2
  173. package/dist/components/tttx-standalone-input.js +6 -6
  174. package/dist/components/tttx-standalone-input_1_9_64.d.ts +11 -0
  175. package/dist/components/{tttx-standalone-input_1_9_62.js → tttx-standalone-input_1_9_64.js} +2 -2
  176. package/dist/components/tttx-table_1_9_64.d.ts +11 -0
  177. package/dist/components/{tttx-table_1_9_62.js → tttx-table_1_9_64.js} +5 -5
  178. package/dist/components/{tttx-form_1_9_62.d.ts → tttx-tabs_1_9_64.d.ts} +4 -4
  179. package/dist/components/{tttx-tabs_1_9_62.js → tttx-tabs_1_9_64.js} +9 -9
  180. package/dist/components/tttx-tag.js +5 -5
  181. package/dist/components/{tttx-tag_1_9_62.d.ts → tttx-tag_1_9_64.d.ts} +4 -4
  182. package/dist/components/{tttx-tag_1_9_62.js → tttx-tag_1_9_64.js} +2 -2
  183. package/dist/components/tttx-textarea_1_9_64.d.ts +11 -0
  184. package/dist/components/{tttx-textarea_1_9_62.js → tttx-textarea_1_9_64.js} +6 -6
  185. package/dist/components/tttx-toggle_1_9_64.d.ts +11 -0
  186. package/dist/components/{tttx-toggle_1_9_62.js → tttx-toggle_1_9_64.js} +5 -5
  187. package/dist/components/tttx-toolbar.js +3 -3
  188. package/dist/components/tttx-toolbar_1_9_64.d.ts +11 -0
  189. package/dist/components/{tttx-toolbar_1_9_62.js → tttx-toolbar_1_9_64.js} +2 -2
  190. package/dist/components/tttx-tree-view_1_9_64.d.ts +11 -0
  191. package/dist/components/{tttx-tree-view_1_9_62.js → tttx-tree-view_1_9_64.js} +9 -9
  192. package/dist/esm/auto-c6e6ac5c.js +14781 -0
  193. package/dist/esm/{index-3d473f8b.js → index-6b9af9c9.js} +12 -0
  194. package/dist/esm/loader.js +3 -3
  195. package/dist/esm/{tttx-action-dropdown_1_9_62.entry.js → tttx-action-dropdown_1_9_64.entry.js} +3 -3
  196. package/dist/esm/tttx-button-v2_1_9_64.entry.js +117 -0
  197. package/dist/esm/{tttx-button_1_9_62.entry.js → tttx-button_1_9_64.entry.js} +3 -3
  198. package/dist/esm/tttx-chart_1_9_64.entry.js +199 -0
  199. package/dist/esm/{tttx-checkbox-group-caption_1_9_62.entry.js → tttx-checkbox-group-caption_1_9_64.entry.js} +2 -2
  200. package/dist/esm/{tttx-checkbox-group-heading_1_9_62.entry.js → tttx-checkbox-group-heading_1_9_64.entry.js} +2 -2
  201. package/dist/esm/{tttx-checkbox-group_1_9_62.entry.js → tttx-checkbox-group_1_9_64.entry.js} +2 -2
  202. package/dist/esm/{tttx-checkbox_1_9_62.entry.js → tttx-checkbox_1_9_64.entry.js} +3 -3
  203. package/dist/esm/{tttx-comments_1_9_62.entry.js → tttx-comments_1_9_64.entry.js} +5 -5
  204. package/dist/esm/{tttx-data-pattern_1_9_62.entry.js → tttx-data-pattern_1_9_64.entry.js} +6 -6
  205. package/dist/esm/{tttx-datacard_1_9_62.entry.js → tttx-datacard_1_9_64.entry.js} +5 -5
  206. package/dist/esm/tttx-date-range-picker.entry.js +2 -2
  207. package/dist/esm/{tttx-dialog-box_1_9_62.entry.js → tttx-dialog-box_1_9_64.entry.js} +4 -4
  208. package/dist/esm/{tttx-dialog_1_9_62.entry.js → tttx-dialog_1_9_64.entry.js} +3 -3
  209. package/dist/esm/{tttx-expander_1_9_62.entry.js → tttx-expander_1_9_64.entry.js} +3 -3
  210. package/dist/esm/{tttx-filter_1_9_62_4.entry.js → tttx-filter_1_9_64_4.entry.js} +7 -7
  211. package/dist/esm/{tttx-form_1_9_62.entry.js → tttx-form_1_9_64.entry.js} +3 -3
  212. package/dist/esm/tttx-graph_1_9_64.entry.js +132 -0
  213. package/dist/esm/{tttx-icon_1_9_62.entry.js → tttx-icon_1_9_64.entry.js} +2 -2
  214. package/dist/esm/{tttx-keyvalue-block_1_9_62.entry.js → tttx-keyvalue-block_1_9_64.entry.js} +2 -2
  215. package/dist/esm/{tttx-loading-spinner_1_9_62_3.entry.js → tttx-loading-spinner_1_9_64_3.entry.js} +5 -5
  216. package/dist/esm/{tttx-multiselect-box_1_9_62.entry.js → tttx-multiselect-box_1_9_64.entry.js} +8 -8
  217. package/dist/esm/{tttx-percentage-bar_1_9_62.entry.js → tttx-percentage-bar_1_9_64.entry.js} +3 -3
  218. package/dist/esm/{tttx-qrcode_1_9_62.entry.js → tttx-qrcode_1_9_64.entry.js} +2 -2
  219. package/dist/esm/{tttx-select-box_1_9_62.entry.js → tttx-select-box_1_9_64.entry.js} +7 -7
  220. package/dist/esm/{tttx-skeleton_loader_1_9_62.entry.js → tttx-skeleton_loader_1_9_64.entry.js} +2 -2
  221. package/dist/esm/{tttx-table_1_9_62.entry.js → tttx-table_1_9_64.entry.js} +2 -2
  222. package/dist/esm/{tttx-tabs_1_9_62.entry.js → tttx-tabs_1_9_64.entry.js} +5 -5
  223. package/dist/esm/{tttx-textarea_1_9_62.entry.js → tttx-textarea_1_9_64.entry.js} +3 -3
  224. package/dist/esm/{tttx-toggle_1_9_62.entry.js → tttx-toggle_1_9_64.entry.js} +2 -2
  225. package/dist/esm/{tttx-tree-view_1_9_62.entry.js → tttx-tree-view_1_9_64.entry.js} +4 -4
  226. package/dist/esm/tttx.js +3 -3
  227. package/dist/tttx/{p-477b66de.entry.js → p-04acb4f7.entry.js} +1 -1
  228. package/dist/tttx/{p-f1e945ba.entry.js → p-1b8af0a1.entry.js} +1 -1
  229. package/dist/tttx/p-1c0db631.entry.js +1 -0
  230. package/dist/tttx/{p-b44ddcb7.entry.js → p-210a3640.entry.js} +1 -1
  231. package/dist/tttx/{p-7bfa4e1e.entry.js → p-28528c3a.entry.js} +1 -1
  232. package/dist/tttx/{p-1814eb61.entry.js → p-28902955.entry.js} +1 -1
  233. package/dist/tttx/{p-bc8c1d08.entry.js → p-2a6e57b3.entry.js} +1 -1
  234. package/dist/tttx/p-39bb618e.js +19 -0
  235. package/dist/tttx/{p-d62c8ed2.entry.js → p-46853736.entry.js} +1 -1
  236. package/dist/tttx/{p-a800aa5d.entry.js → p-46933761.entry.js} +1 -1
  237. package/dist/tttx/{p-a1ba99fb.entry.js → p-46985553.entry.js} +1 -1
  238. package/dist/tttx/{p-cb3b393b.entry.js → p-478169f8.entry.js} +1 -1
  239. package/dist/tttx/{p-b4b5e1e1.entry.js → p-4bc84dcf.entry.js} +1 -1
  240. package/dist/tttx/{p-54060e46.entry.js → p-4e8dee24.entry.js} +1 -1
  241. package/dist/tttx/p-655cebb7.entry.js +1 -0
  242. package/dist/tttx/{p-2636cba4.entry.js → p-6ae828ed.entry.js} +1 -1
  243. package/dist/tttx/{p-24eef142.entry.js → p-72aa3209.entry.js} +1 -1
  244. package/dist/tttx/p-753a802a.entry.js +1 -0
  245. package/dist/tttx/{p-13d3d63c.entry.js → p-79a18842.entry.js} +1 -1
  246. package/dist/tttx/{p-218f3309.entry.js → p-8db27f20.entry.js} +1 -1
  247. package/dist/tttx/{p-972b7449.entry.js → p-92b48e8e.entry.js} +1 -1
  248. package/dist/tttx/{p-8be90d8a.entry.js → p-95ea704b.entry.js} +1 -1
  249. package/dist/tttx/{p-edf27c73.entry.js → p-964b5e1a.entry.js} +1 -1
  250. package/dist/tttx/{p-e84965f0.entry.js → p-99cee169.entry.js} +1 -1
  251. package/dist/tttx/{p-a474dc05.entry.js → p-a380f600.entry.js} +1 -1
  252. package/dist/tttx/{p-2b0fc913.js → p-c2a82822.js} +1 -1
  253. package/dist/tttx/{p-fac3056d.entry.js → p-ce6a69bc.entry.js} +1 -1
  254. package/dist/tttx/{p-61af5028.entry.js → p-cfc7f861.entry.js} +1 -1
  255. package/dist/tttx/{p-19294325.entry.js → p-e0bd4daa.entry.js} +1 -1
  256. package/dist/tttx/{p-67f75171.entry.js → p-e7c92d26.entry.js} +1 -1
  257. package/dist/tttx/{p-acb9e007.entry.js → p-e8d02dd3.entry.js} +1 -1
  258. package/dist/tttx/{p-5f35edd8.entry.js → p-eda88cd9.entry.js} +1 -1
  259. package/dist/tttx/{p-7c7e8951.entry.js → p-ffb09d64.entry.js} +1 -1
  260. package/dist/tttx/tttx.esm.js +1 -1
  261. package/dist/types/components/atoms/tttx-button-v2/tttx-button-v2.d.ts +32 -0
  262. package/dist/types/components/atoms/tttx-button-v2/tttx-button-v2.stories.d.ts +64 -0
  263. package/dist/types/components/molecules/tttx-chart/tttx-chart.d.ts +42 -0
  264. package/dist/types/components/molecules/tttx-chart/tttx-chart.stories.d.ts +11 -0
  265. package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
  266. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
  267. package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
  268. package/dist/types/components.d.ts +490 -395
  269. package/package.json +1 -1
  270. package/dist/components/tttx-action-dropdown_1_9_62.d.ts +0 -11
  271. package/dist/components/tttx-checkbox-group-caption_1_9_62.d.ts +0 -11
  272. package/dist/components/tttx-checkbox-group-heading_1_9_62.d.ts +0 -11
  273. package/dist/components/tttx-checkbox-group_1_9_62.d.ts +0 -11
  274. package/dist/components/tttx-data-pattern_1_9_62.d.ts +0 -11
  275. package/dist/components/tttx-dialog-box_1_9_62.d.ts +0 -11
  276. package/dist/components/tttx-expander_1_9_62.d.ts +0 -11
  277. package/dist/components/tttx-keyvalue-block_1_9_62.d.ts +0 -11
  278. package/dist/components/tttx-loading-spinner_1_9_62.d.ts +0 -11
  279. package/dist/components/tttx-multiselect-box_1_9_62.d.ts +0 -11
  280. package/dist/components/tttx-percentage-bar_1_9_62.d.ts +0 -11
  281. package/dist/components/tttx-select-box_1_9_62.d.ts +0 -11
  282. package/dist/components/tttx-skeleton_loader_1_9_62.d.ts +0 -11
  283. package/dist/components/tttx-sorter_1_9_62.d.ts +0 -11
  284. package/dist/components/tttx-standalone-input_1_9_62.d.ts +0 -11
  285. package/dist/components/tttx-textarea_1_9_62.d.ts +0 -11
  286. package/dist/components/tttx-toggle_1_9_62.d.ts +0 -11
  287. package/dist/components/tttx-toolbar_1_9_62.d.ts +0 -11
  288. package/dist/components/tttx-tree-view_1_9_62.d.ts +0 -11
  289. package/dist/tttx/p-bbecd0d9.entry.js +0 -19
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-3d473f8b.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-6b9af9c9.js';
2
2
  import { p as purify, d as domSanitiserOptions } from './domsanitiser.options-38a67458.js';
3
3
  import './_commonjsHelpers-9943807e.js';
4
4
 
@@ -104,7 +104,7 @@ const TttxSelectBox = class {
104
104
  let title;
105
105
  let subtitle;
106
106
  const chevronIcon = this.open ? 'expand_less' : 'expand_more';
107
- const icon = h("tttx-icon_1_9_62", { icon: chevronIcon, color: "black" });
107
+ const icon = h("tttx-icon_1_9_64", { icon: chevronIcon, color: "black" });
108
108
  let chevron = h("div", { class: "dropdown-selector-chevron" }, icon);
109
109
  if (!this.selectedItem) {
110
110
  title = h("div", { class: "placeholder" }, this.placeholder);
@@ -121,7 +121,7 @@ const TttxSelectBox = class {
121
121
  chevron = h("div", { class: "dropdown-selector-chevron-offset" }, icon);
122
122
  }
123
123
  return (h(Fragment, null, h("div", { class: "left-wrapper" }, title, subtitle), this.clearable && !this.readOnly &&
124
- h("tttx-icon_1_9_62", { class: "input-icon", style: { paddingTop: '5px', cursor: 'pointer' }, icon: 'close_small', onClick: this.cleanSelectedItem.bind(this) }), chevron));
124
+ h("tttx-icon_1_9_64", { class: "input-icon", style: { paddingTop: '5px', cursor: 'pointer' }, icon: 'close_small', onClick: this.cleanSelectedItem.bind(this) }), chevron));
125
125
  }
126
126
  }
127
127
  renderDropdownOptions(options) {
@@ -144,9 +144,9 @@ const TttxSelectBox = class {
144
144
  }
145
145
  // render priority options at the top of the dropdown list
146
146
  return (h(Fragment, null, usingPriority && priorityOptions.length > 0 &&
147
- h(Fragment, null, h("tttx-tag_1_9_62", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
147
+ h(Fragment, null, h("tttx-tag_1_9_64", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
148
148
  h(Fragment, null, usingPriority &&
149
- h("tttx-tag_1_9_62", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
149
+ h("tttx-tag_1_9_64", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
150
150
  }
151
151
  dropdownOption(option) {
152
152
  const selected = this.selectedItem && option.value === this.selectedItem.value;
@@ -233,7 +233,7 @@ const TttxSelectBox = class {
233
233
  return;
234
234
  const invalidClass = this.showErrorMsg ? 'invalid' : '';
235
235
  const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
236
- return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: ['dropdown-selector', invalidClass, readOnlyClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (h("div", { class: "searchbox" }, h("tttx-standalone-input_1_9_62", { 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_62", { class: 'loading-style' })))))), this.showErrorBubble && (h("span", { class: ['errorBubble', this.showErrorMsg && this.errorMsg ? 'visible' : ''].join(' ') }, h("tttx-icon_1_9_62", { icon: "warning", color: "#dc0000", size: 16 }), " ", this.errorMsg)))));
236
+ return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: ['dropdown-selector', invalidClass, readOnlyClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (h("div", { class: "searchbox" }, h("tttx-standalone-input_1_9_64", { 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_64", { class: 'loading-style' })))))), this.showErrorBubble && (h("span", { class: ['errorBubble', this.showErrorMsg && this.errorMsg ? 'visible' : ''].join(' ') }, h("tttx-icon_1_9_64", { icon: "warning", color: "#dc0000", size: 16 }), " ", this.errorMsg)))));
237
237
  }
238
238
  get el() { return getElement(this); }
239
239
  static get watchers() { return {
@@ -243,4 +243,4 @@ const TttxSelectBox = class {
243
243
  };
244
244
  TttxSelectBox.style = tttxSelectBoxCss;
245
245
 
246
- export { TttxSelectBox as tttx_select_box_1_9_62 };
246
+ export { TttxSelectBox as tttx_select_box_1_9_64 };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-3d473f8b.js';
1
+ import { r as registerInstance, h, H as Host } from './index-6b9af9c9.js';
2
2
 
3
3
  const tttxSkeletonLoaderCss = ":host{display:block}.skeleton-wrapper{display:flex}.skeleton-wrapper.vertical{flex-direction:column}.skeleton-wrapper.horizontal{flex-direction:row;align-items:center;flex-wrap:wrap}.skeleton{display:inline-block;background-color:#D5D5D5;position:relative;overflow:hidden;flex-shrink:0}.skeleton.text{border-radius:4px}.skeleton.rect{border-radius:4px}.skeleton.circle{border-radius:50%}.skeleton.pulse{animation:pulse 1.5s infinite ease-in-out}.skeleton.wave::after{content:\"\";position:absolute;top:0;left:-150px;height:100%;width:150px;background:linear-gradient(90deg, transparent, white, transparent);animation:wave 1.6s infinite}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes wave{0%{left:-150px}100%{left:100%}}";
4
4
 
@@ -33,4 +33,4 @@ const TttxSkeletonLoader = class {
33
33
  };
34
34
  TttxSkeletonLoader.style = tttxSkeletonLoaderCss;
35
35
 
36
- export { TttxSkeletonLoader as tttx_skeleton_loader_1_9_62 };
36
+ export { TttxSkeletonLoader as tttx_skeleton_loader_1_9_64 };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-3d473f8b.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-6b9af9c9.js';
2
2
  import { p as purify, d as domSanitiserOptions } from './domsanitiser.options-38a67458.js';
3
3
  import './_commonjsHelpers-9943807e.js';
4
4
 
@@ -54,4 +54,4 @@ const TttxTable = class {
54
54
  };
55
55
  TttxTable.style = tttxTableCss;
56
56
 
57
- export { TttxTable as tttx_table_1_9_62 };
57
+ export { TttxTable as tttx_table_1_9_64 };
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-3d473f8b.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-6b9af9c9.js';
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_62{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-tabs_1_9_62-h{display:block}.tab-bar.sc-tttx-tabs_1_9_62{display:flex;height:52px}.tab-bar.sc-tttx-tabs_1_9_62>.left-navigation.sc-tttx-tabs_1_9_62,.tab-bar.sc-tttx-tabs_1_9_62>.right-navigation.sc-tttx-tabs_1_9_62{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_62>.left-navigation.sc-tttx-tabs_1_9_62>*.sc-tttx-tabs_1_9_62,.tab-bar.sc-tttx-tabs_1_9_62>.right-navigation.sc-tttx-tabs_1_9_62>*.sc-tttx-tabs_1_9_62{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_62>.tabs-container.sc-tttx-tabs_1_9_62{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs_1_9_62>.tabs-container.wide.sc-tttx-tabs_1_9_62{flex-grow:1}.tab-bar.sc-tttx-tabs_1_9_62>.tabs-container.sc-tttx-tabs_1_9_62>*[role=tab].sc-tttx-tabs_1_9_62{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_62>.tabs-container.sc-tttx-tabs_1_9_62>*[role=tab].sc-tttx-tabs_1_9_62:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs_1_9_62>.tabs-container.sc-tttx-tabs_1_9_62>*[role=tab][aria-selected].sc-tttx-tabs_1_9_62{color:#212121;cursor:default;border-bottom:3px solid #1579c6}";
5
+ const tttxTabsCss = ".material-symbols-rounded.sc-tttx-tabs_1_9_64{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-tabs_1_9_64-h{display:block}.tab-bar.sc-tttx-tabs_1_9_64{display:flex;height:52px}.tab-bar.sc-tttx-tabs_1_9_64>.left-navigation.sc-tttx-tabs_1_9_64,.tab-bar.sc-tttx-tabs_1_9_64>.right-navigation.sc-tttx-tabs_1_9_64{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_64>.left-navigation.sc-tttx-tabs_1_9_64>*.sc-tttx-tabs_1_9_64,.tab-bar.sc-tttx-tabs_1_9_64>.right-navigation.sc-tttx-tabs_1_9_64>*.sc-tttx-tabs_1_9_64{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_64>.tabs-container.sc-tttx-tabs_1_9_64{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs_1_9_64>.tabs-container.wide.sc-tttx-tabs_1_9_64{flex-grow:1}.tab-bar.sc-tttx-tabs_1_9_64>.tabs-container.sc-tttx-tabs_1_9_64>*[role=tab].sc-tttx-tabs_1_9_64{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_64>.tabs-container.sc-tttx-tabs_1_9_64>*[role=tab].sc-tttx-tabs_1_9_64:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs_1_9_64>.tabs-container.sc-tttx-tabs_1_9_64>*[role=tab][aria-selected].sc-tttx-tabs_1_9_64{color:#212121;cursor:default;border-bottom:3px solid #1579c6}";
6
6
 
7
7
  const TttxTabs = class {
8
8
  constructor(hostRef) {
@@ -79,7 +79,7 @@ const TttxTabs = class {
79
79
  }
80
80
  generateTab(tab) {
81
81
  var _a, _b;
82
- const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (h("tttx-icon_1_9_62", { style: { pointerEvents: 'none', marginTop: '-2px' }, icon: tab.tabIcon, color: 'gray', size: (_b = tab.tabIconSize) !== null && _b !== void 0 ? _b : 24 }));
82
+ const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (h("tttx-icon_1_9_64", { style: { pointerEvents: 'none', marginTop: '-2px' }, icon: tab.tabIcon, color: 'gray', size: (_b = tab.tabIconSize) !== null && _b !== void 0 ? _b : 24 }));
83
83
  return (h("a", { key: tab.id, id: tab.id, role: "tab", "aria-controls": tab.controls, tabindex: tab.tabIndex, "aria-selected": tab.selected, onClick: () => {
84
84
  this.handleTabClick(tab);
85
85
  } }, tabTitle));
@@ -98,7 +98,7 @@ const TttxTabs = class {
98
98
  return;
99
99
  }
100
100
  const selectedTab = this._tabs.find(tab => tab.selected);
101
- return (h(Host, null, h("div", null, h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, h("tttx-icon_1_9_62", { 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_62", { icon: "navigate_next", color: "black" })))), selectedTab && this.renderSelectedTab(selectedTab))));
101
+ return (h(Host, null, h("div", null, h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, h("tttx-icon_1_9_64", { 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_64", { icon: "navigate_next", color: "black" })))), selectedTab && this.renderSelectedTab(selectedTab))));
102
102
  }
103
103
  static get watchers() { return {
104
104
  "tabs": ["onDataChange"]
@@ -106,4 +106,4 @@ const TttxTabs = class {
106
106
  };
107
107
  TttxTabs.style = tttxTabsCss;
108
108
 
109
- export { TttxTabs as tttx_tabs_1_9_62 };
109
+ export { TttxTabs as tttx_tabs_1_9_64 };
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-3d473f8b.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-6b9af9c9.js';
2
2
 
3
- const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea_1_9_62{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_1_9_62-h{display:block}label.sc-tttx-textarea_1_9_62{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_9_62 .textarea-container.sc-tttx-textarea_1_9_62{position:relative}label.sc-tttx-textarea_1_9_62 .textarea-container.sc-tttx-textarea_1_9_62 textarea.sc-tttx-textarea_1_9_62{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_62 .textarea-container.sc-tttx-textarea_1_9_62 textarea.no-label.sc-tttx-textarea_1_9_62{margin-top:0}label.sc-tttx-textarea_1_9_62 .textarea-container.sc-tttx-textarea_1_9_62 textarea.sc-tttx-textarea_1_9_62~.errorBubble.sc-tttx-textarea_1_9_62{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_62 .textarea-container.sc-tttx-textarea_1_9_62 textarea.sc-tttx-textarea_1_9_62~.errorBubble.sc-tttx-textarea_1_9_62:not(.visible){display:none}label.sc-tttx-textarea_1_9_62 .textarea-container.sc-tttx-textarea_1_9_62 textarea.sc-tttx-textarea_1_9_62~.errorBubble.sc-tttx-textarea_1_9_62 span.sc-tttx-textarea_1_9_62{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_9_62 .textarea-container.sc-tttx-textarea_1_9_62 textarea.sc-tttx-textarea_1_9_62:focus{border-color:#1479c6}label.sc-tttx-textarea_1_9_62 .textarea-container.sc-tttx-textarea_1_9_62 textarea.sc-tttx-textarea_1_9_62:focus-visible{outline:none}label.sc-tttx-textarea_1_9_62 .secondarylabel.sc-tttx-textarea_1_9_62{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_9_62 .optional.sc-tttx-textarea_1_9_62{color:#757575;font-weight:normal}";
3
+ const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea_1_9_64{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_1_9_64-h{display:block}label.sc-tttx-textarea_1_9_64{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_9_64 .textarea-container.sc-tttx-textarea_1_9_64{position:relative}label.sc-tttx-textarea_1_9_64 .textarea-container.sc-tttx-textarea_1_9_64 textarea.sc-tttx-textarea_1_9_64{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_64 .textarea-container.sc-tttx-textarea_1_9_64 textarea.no-label.sc-tttx-textarea_1_9_64{margin-top:0}label.sc-tttx-textarea_1_9_64 .textarea-container.sc-tttx-textarea_1_9_64 textarea.sc-tttx-textarea_1_9_64~.errorBubble.sc-tttx-textarea_1_9_64{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_64 .textarea-container.sc-tttx-textarea_1_9_64 textarea.sc-tttx-textarea_1_9_64~.errorBubble.sc-tttx-textarea_1_9_64:not(.visible){display:none}label.sc-tttx-textarea_1_9_64 .textarea-container.sc-tttx-textarea_1_9_64 textarea.sc-tttx-textarea_1_9_64~.errorBubble.sc-tttx-textarea_1_9_64 span.sc-tttx-textarea_1_9_64{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_9_64 .textarea-container.sc-tttx-textarea_1_9_64 textarea.sc-tttx-textarea_1_9_64:focus{border-color:#1479c6}label.sc-tttx-textarea_1_9_64 .textarea-container.sc-tttx-textarea_1_9_64 textarea.sc-tttx-textarea_1_9_64:focus-visible{outline:none}label.sc-tttx-textarea_1_9_64 .secondarylabel.sc-tttx-textarea_1_9_64{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_9_64 .optional.sc-tttx-textarea_1_9_64{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_62 };
55
+ export { TttxTextarea as tttx_textarea_1_9_64 };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-3d473f8b.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-6b9af9c9.js';
2
2
 
3
3
  const tttxToggleCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:inline-block}#toggle-switch{width:50px;height:30px;border-radius:30px;position:relative;box-sizing:border-box}#toggle-switch input{cursor:pointer;width:50px;height:30px;padding:0;margin:0;top:0;left:0;border:none;outline:none;opacity:0;position:absolute}#toggle-switch #toggle-body{width:50px;height:30px;border-radius:28px;position:relative;top:0;left:0;pointer-events:none;background:#9e9e9e}#toggle-switch #toggle-body::after{font-family:\"Material Symbols Rounded\", sans-serif;content:\"\\e5ca\";position:absolute;width:26px;height:26px;left:2px;top:2px;border-radius:26px;background:white;transition:all 0.1s;font-size:22px;color:#FFFFFF;justify-content:center;display:inline-flex}#toggle-switch input:checked~#toggle-body::after{color:#a2bb31;left:22px}#toggle-switch input:checked~#toggle-body{background:#a2bb31}";
4
4
 
@@ -33,4 +33,4 @@ const TttxToggle = class {
33
33
  };
34
34
  TttxToggle.style = tttxToggleCss;
35
35
 
36
- export { TttxToggle as tttx_toggle_1_9_62 };
36
+ export { TttxToggle as tttx_toggle_1_9_64 };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, a as getAssetPath, h, F as Fragment, g as getElement } from './index-3d473f8b.js';
1
+ import { r as registerInstance, c as createEvent, a as getAssetPath, h, F as Fragment, g as getElement } from './index-6b9af9c9.js';
2
2
  import { p as purify, d as domSanitiserOptions } from './domsanitiser.options-38a67458.js';
3
3
  import './_commonjsHelpers-9943807e.js';
4
4
 
@@ -175,7 +175,7 @@ const TttxTreeView = class {
175
175
  if (node.hasHover) {
176
176
  this.onClickHandler(event, node);
177
177
  }
178
- } }), h("tttx-button_1_9_62", { class: "toggleNode", design: "borderless-circle", notext: true, icon: options.expanderIcon, color: "black", onClick: event => this.toggleNode(node, event) }), this.htmlcode('treeNode', node, options.checkboxIcon, options.checkboxColor, index, parentId)), node.isOpen ? (h("li", null, h("ul", null, node.child.map((childNode, index) => {
178
+ } }), h("tttx-button_1_9_64", { class: "toggleNode", design: "borderless-circle", notext: true, icon: options.expanderIcon, color: "black", onClick: event => this.toggleNode(node, event) }), this.htmlcode('treeNode', node, options.checkboxIcon, options.checkboxColor, index, parentId)), node.isOpen ? (h("li", null, h("ul", null, node.child.map((childNode, index) => {
179
179
  return this.renderNode(childNode, index, node.id);
180
180
  })))) : null));
181
181
  }
@@ -188,7 +188,7 @@ const TttxTreeView = class {
188
188
  }
189
189
  }
190
190
  htmlcode(type, node, check_box, check_boxColor, index, parentId = undefined) {
191
- const htmlcode = (h("div", { class: "inline-tree-item element" }, node.draggable && (h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: true, onDragStart: event => this.handleDragStart(event, node, index, parentId) })), node.hasCheckbox && (h("tttx-button_1_9_62", { 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_62", { icon: node.icon, color: node.iconColor, class: "padding-icon" })), !node.html && h("div", { class: type }, node.title), node.html && h("div", { class: type, innerHTML: purify.sanitize(node.html, domSanitiserOptions) })));
191
+ const htmlcode = (h("div", { class: "inline-tree-item element" }, node.draggable && (h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: true, onDragStart: event => this.handleDragStart(event, node, index, parentId) })), node.hasCheckbox && (h("tttx-button_1_9_64", { 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_64", { icon: node.icon, color: node.iconColor, class: "padding-icon" })), !node.html && h("div", { class: type }, node.title), node.html && h("div", { class: type, innerHTML: purify.sanitize(node.html, domSanitiserOptions) })));
192
192
  return htmlcode;
193
193
  }
194
194
  render() {
@@ -200,4 +200,4 @@ const TttxTreeView = class {
200
200
  };
201
201
  TttxTreeView.style = tttxTreeViewCss;
202
202
 
203
- export { TttxTreeView as tttx_tree_view_1_9_62 };
203
+ export { TttxTreeView as tttx_tree_view_1_9_64 };
package/dist/esm/tttx.js CHANGED
@@ -1,5 +1,5 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-3d473f8b.js';
2
- export { s as setNonce } from './index-3d473f8b.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-6b9af9c9.js';
2
+ export { s as setNonce } from './index-6b9af9c9.js';
3
3
 
4
4
  /*
5
5
  Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com
@@ -14,5 +14,5 @@ const patchBrowser = () => {
14
14
  };
15
15
 
16
16
  patchBrowser().then(options => {
17
- return bootstrapLazy([["tttx-data-pattern_1_9_62",[[1,"tttx-data-pattern_1_9_62",{"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_62",[[1,"tttx-form_1_9_62",{"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_62",[[1,"tttx-multiselect-box_1_9_62",{"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_62",[[1,"tttx-datacard_1_9_62",{"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_62",[[1,"tttx-dialog-box_1_9_62",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_62",[[1,"tttx-dialog_1_9_62",{"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_62",[[1,"tttx-tree-view_1_9_62",{"data":[1040],"treeData":[32]}]]],["tttx-action-dropdown_1_9_62",[[1,"tttx-action-dropdown_1_9_62",{"actionKey":[1,"action-key"],"icon":[1],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"isIconVisible":[4,"is-icon-visible"],"selectedField":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeActionDropdown","handleCloseActionDropdown"]]]]],["tttx-checkbox_1_9_62",[[0,"tttx-checkbox_1_9_62",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_62",[[1,"tttx-comments_1_9_62",{"currentuser":[1],"comments":[1],"disableFile":[4,"disable-file"],"messageLimit":[2,"message-limit"],"inputBoxHeight":[2,"input-box-height"],"placeholder":[1],"saveButtonText":[1,"save-button-text"],"value":[1],"allowEditing":[4,"allow-editing"],"readonly":[4],"_comments":[32],"showError":[32],"_saveButtonText":[32],"editingComment":[32],"addDummyComment":[64]}]]],["tttx-date-range-picker",[[1,"tttx-date-range-picker",{"initialValue":[16],"placeholderText":[1,"placeholder-text"],"showCalendar":[32],"startDate":[32],"endDate":[32],"currentMonth":[32],"currentYear":[32],"isSelecting":[32],"hoverDate":[32]}]]],["tttx-expander_1_9_62",[[1,"tttx-expander_1_9_62",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_62",[[2,"tttx-tabs_1_9_62",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_62",[[4,"tttx-checkbox-group-caption_1_9_62"]]],["tttx-checkbox-group-heading_1_9_62",[[4,"tttx-checkbox-group-heading_1_9_62"]]],["tttx-checkbox-group_1_9_62",[[1,"tttx-checkbox-group_1_9_62"]]],["tttx-keyvalue-block_1_9_62",[[1,"tttx-keyvalue-block_1_9_62",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_62",[[2,"tttx-percentage-bar_1_9_62",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_62",[[1,"tttx-qrcode_1_9_62",{"link":[1025],"size":[1026]}]]],["tttx-skeleton_loader_1_9_62",[[1,"tttx-skeleton_loader_1_9_62",{"width":[1],"height":[1],"borderRadius":[1,"border-radius"],"color":[1],"variant":[1],"animation":[1],"count":[2],"direction":[1],"gap":[1],"customClass":[1,"custom-class"]}]]],["tttx-table_1_9_62",[[1,"tttx-table_1_9_62",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_62",[[2,"tttx-textarea_1_9_62",{"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_62",[[1,"tttx-toggle_1_9_62",{"initialstate":[8],"_state":[32]}]]],["tttx-loading-spinner_1_9_62_3",[[1,"tttx-tag_1_9_62",{"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_62",{"loadingMessage":[4,"loading-message"],"size":[1],"color":[1],"message":[1],"customMessageSchema":[16],"timeElapsed":[32]}],[2,"tttx-standalone-input_1_9_62",{"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_62",[[1,"tttx-select-box_1_9_62",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"useExternalFiltering":[4,"use-external-filtering"],"useExternalPaginatedFiltering":[4,"use-external-paginated-filtering"],"isAllExternalDataLoaded":[4,"is-all-external-data-loaded"],"isLoading":[4,"is-loading"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"clearable":[4],"showErrorMsg":[4,"show-error-msg"],"showErrorBubble":[4,"show-error-bubble"],"errorMsg":[1,"error-msg"],"open":[32],"selectedItem":[32],"searchTerm":[32],"loadingNextExternalPage":[32],"setSelectedItem":[64]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-graph_1_9_62",[[1,"tttx-graph_1_9_62",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-icon_1_9_62",[[1,"tttx-icon_1_9_62",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-filter_1_9_62_4",[[1,"tttx-filter_1_9_62",{"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_62",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_62",{"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_62",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-button_1_9_62",[[1,"tttx-button_1_9_62",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
17
+ return bootstrapLazy([["tttx-data-pattern_1_9_64",[[1,"tttx-data-pattern_1_9_64",{"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_64",[[1,"tttx-form_1_9_64",{"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_64",[[1,"tttx-multiselect-box_1_9_64",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"htmlVisibleValue":[4,"html-visible-value"],"visibleValue":[1,"visible-value"],"isLoading":[4,"is-loading"],"stopLocalSearch":[4,"stop-local-search"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"open":[32],"unsavedSelectedItems":[32],"searchTerm":[32]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-chart_1_9_64",[[1,"tttx-chart_1_9_64",{"chartType":[1,"chart-type"],"chartData":[16],"chartOptions":[16],"loading":[4],"error":[4],"fallbackText":[1,"fallback-text"],"width":[1],"height":[1],"exportable":[32],"chartInstance":[32],"showPngSvgExport":[32]}]]],["tttx-datacard_1_9_64",[[1,"tttx-datacard_1_9_64",{"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_64",[[1,"tttx-dialog-box_1_9_64",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_64",[[1,"tttx-dialog_1_9_64",{"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_64",[[1,"tttx-tree-view_1_9_64",{"data":[1040],"treeData":[32]}]]],["tttx-action-dropdown_1_9_64",[[1,"tttx-action-dropdown_1_9_64",{"actionKey":[1,"action-key"],"icon":[1],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"isIconVisible":[4,"is-icon-visible"],"selectedField":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeActionDropdown","handleCloseActionDropdown"]]]]],["tttx-button-v2_1_9_64",[[1,"tttx-button-v2_1_9_64",{"notext":[4],"icon":[1],"label":[1],"iconcolor":[1025],"iconposition":[1],"iconStart":[1,"icon-start"],"iconEnd":[1,"icon-end"],"design":[1],"disabled":[516],"type":[1],"href":[1],"options":[1],"size":[1],"dropdownOpen":[32]},[[4,"click","handleClickOutside"]]]]],["tttx-checkbox_1_9_64",[[0,"tttx-checkbox_1_9_64",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_64",[[1,"tttx-comments_1_9_64",{"currentuser":[1],"comments":[1],"disableFile":[4,"disable-file"],"messageLimit":[2,"message-limit"],"inputBoxHeight":[2,"input-box-height"],"placeholder":[1],"saveButtonText":[1,"save-button-text"],"value":[1],"allowEditing":[4,"allow-editing"],"readonly":[4],"_comments":[32],"showError":[32],"_saveButtonText":[32],"editingComment":[32],"addDummyComment":[64]}]]],["tttx-date-range-picker",[[1,"tttx-date-range-picker",{"initialValue":[16],"placeholderText":[1,"placeholder-text"],"showCalendar":[32],"startDate":[32],"endDate":[32],"currentMonth":[32],"currentYear":[32],"isSelecting":[32],"hoverDate":[32]}]]],["tttx-expander_1_9_64",[[1,"tttx-expander_1_9_64",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_64",[[2,"tttx-tabs_1_9_64",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_64",[[4,"tttx-checkbox-group-caption_1_9_64"]]],["tttx-checkbox-group-heading_1_9_64",[[4,"tttx-checkbox-group-heading_1_9_64"]]],["tttx-checkbox-group_1_9_64",[[1,"tttx-checkbox-group_1_9_64"]]],["tttx-keyvalue-block_1_9_64",[[1,"tttx-keyvalue-block_1_9_64",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_64",[[2,"tttx-percentage-bar_1_9_64",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_64",[[1,"tttx-qrcode_1_9_64",{"link":[1025],"size":[1026]}]]],["tttx-skeleton_loader_1_9_64",[[1,"tttx-skeleton_loader_1_9_64",{"width":[1],"height":[1],"borderRadius":[1,"border-radius"],"color":[1],"variant":[1],"animation":[1],"count":[2],"direction":[1],"gap":[1],"customClass":[1,"custom-class"]}]]],["tttx-table_1_9_64",[[1,"tttx-table_1_9_64",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_64",[[2,"tttx-textarea_1_9_64",{"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_64",[[1,"tttx-toggle_1_9_64",{"initialstate":[8],"_state":[32]}]]],["tttx-loading-spinner_1_9_64_3",[[1,"tttx-tag_1_9_64",{"text":[1],"color":[1],"textColor":[1,"text-color"],"hasIcon":[4,"has-icon"],"icon":[1],"iconColor":[1,"icon-color"],"iconSize":[2,"icon-size"]}],[2,"tttx-standalone-input_1_9_64",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconleftcolor":[1],"iconright":[1],"iconrightcolor":[1],"inputicon":[1],"inputiconcolor":[1],"inline":[4],"inputautocapitalize":[1],"inputautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}],[1,"tttx-loading-spinner_1_9_64",{"loadingMessage":[4,"loading-message"],"size":[1],"color":[1],"message":[1],"customMessageSchema":[16],"timeElapsed":[32]}]]],["tttx-select-box_1_9_64",[[1,"tttx-select-box_1_9_64",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"useExternalFiltering":[4,"use-external-filtering"],"useExternalPaginatedFiltering":[4,"use-external-paginated-filtering"],"isAllExternalDataLoaded":[4,"is-all-external-data-loaded"],"isLoading":[4,"is-loading"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"clearable":[4],"showErrorMsg":[4,"show-error-msg"],"showErrorBubble":[4,"show-error-bubble"],"errorMsg":[1,"error-msg"],"open":[32],"selectedItem":[32],"searchTerm":[32],"loadingNextExternalPage":[32],"setSelectedItem":[64]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-graph_1_9_64",[[1,"tttx-graph_1_9_64",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-icon_1_9_64",[[1,"tttx-icon_1_9_64",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-filter_1_9_64_4",[[1,"tttx-filter_1_9_64",{"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_64",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_64",{"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_64",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-button_1_9_64",[[1,"tttx-button_1_9_64",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
18
18
  });
@@ -1 +1 @@
1
- import{r as o,h as t,H as n}from"./p-2b0fc913.js";const i=class{constructor(t){o(this,t)}render(){return t(n,null,t("div",{class:"tttx-checkbox-group__caption"},t("slot",null)))}};i.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:"Roboto", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:"Roboto", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}';export{i as tttx_checkbox_group_caption_1_9_62}
1
+ import{r as o,h as t,H as n}from"./p-c2a82822.js";const i=class{constructor(t){o(this,t)}render(){return t(n,null,t("div",{class:"tttx-checkbox-group__caption"},t("slot",null)))}};i.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:"Roboto", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:"Roboto", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}';export{i as tttx_checkbox_group_caption_1_9_64}
@@ -1 +1 @@
1
- import{r as o,c as i,h as t,g as l}from"./p-2b0fc913.js";import{p as e,d}from"./p-55799798.js";import"./p-112455b1.js";const s=class{constructor(t){o(this,t),this.closeButtonClick=i(this,"closeButtonClick",6),this.buttonClick=i(this,"buttonClick",7),this.closeSelectBoxOnScroll=i(this,"closeSelectBoxOnScroll",7),this.emitDialogClose=()=>{this.closeButtonClick.emit()},this.data=void 0,this.size="regular",this.open=!1,this.allowOverflow=!1,this.elementSize=void 0}handleResize(){this.elementSize=window.innerWidth<698?"mobile":this.size}handleScrollEvent(){this.closeSelectBoxOnScroll.emit()}componentDidRender(){this.dialog&&(this.dialog.removeEventListener("close",this.emitDialogClose),this.dialog.addEventListener("close",this.emitDialogClose),this.open?this.dialog.open||this.dialog.showModal():this.dialog.close())}onCloseClickHandler(){this.open=!1,this.dialog.close()}onButtonClickHandler(o){this.buttonClick.emit({buttonNumber:o,buttonClicked:!0})}renderHeader(o){const i=o.title,l=!!o.hasClose;return t("div",{class:"dialog-box-header"},!!o.hasIcon&&t("tttx-icon_1_9_62",{class:"dialog-box-icon",icon:o.iconName,color:o.iconColor}),t("h3",{class:"dialog-box-title"},i),l&&t("div",{class:"dialog-box-align-right close-button",onClick:()=>this.onCloseClickHandler()},t("tttx-icon_1_9_62",{class:"dialog-box-icon-close dialog-box-clickable",icon:"close",color:"black"})))}renderContent(o){if(o.isCustomHtml){const i=e.sanitize(o.customHtml,d);return t("div",{class:"dialog-box-body "+(this.allowOverflow?"":"overflow-hidden")},t("div",{innerHTML:i}))}return t("div",{class:"dialog-box-body "+(this.allowOverflow?"":"overflow-hidden")},t("span",{class:"dialog-box-content"},o.contentText))}renderFooter(o){const i=o.buttons,l=i.length>0,e=i.length>1,d="mobile"===this.elementSize;return t("div",{class:"dialog-box-footer"},t("div",{class:"dialog-box-align-right"},3==i.length&&t("tttx-button_1_9_62",{class:"dialog-box-spacing-button",onClick:()=>this.onButtonClickHandler(3),design:i[2].type,notext:d,icon:i[2].icon},!d&&i[2].name),e&&t("tttx-button_1_9_62",{class:"dialog-box-spacing-button",onClick:()=>this.onButtonClickHandler(2),design:i[1].type,icon:i[1].icon},i[1].name),l&&t("tttx-button_1_9_62",{onClick:()=>this.onButtonClickHandler(1),design:i[0].type,icon:i[0].icon},i[0].name)))}componentWillLoad(){this.elementSize=window.innerWidth<698?"mobile":this.size}render(){if(this.data)return this._data="string"==typeof this.data?JSON.parse(this.data):this.data,t("dialog",{ref:o=>this.dialog=o,class:`dialog-box ${this.allowOverflow?"overflow-visible":""} ${this.elementSize}`,onScroll:this.handleScrollEvent.bind(this)},t("div",{class:"contents"},t("div",{class:`dialog-box-padding dialog-box-header-box ${this._data.type||""}`},this.renderHeader(this._data.header)),t("div",{class:"dialog-box-padding dialog-box-body-box"},this.renderContent(this._data.body)),t("div",{class:"dialog-box-padding dialog-box-footer-box"},this.renderFooter(this._data.footer))))}get el(){return l(this)}};s.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.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}h3{margin-block-start:0em;margin-block-end:0em}.dialog-box{background-color:#ffffff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0px 1px 5px #1111114d;padding:0}.overflow-visible{overflow-y:auto}.overflow-hidden{overflow:hidden}dialog::backdrop{background-color:#75757580}.dialog-box.small{width:400px;min-height:200px}.dialog-box.regular{width:600px;min-height:200px}.dialog-box.large{width:900px;min-height:200px}.dialog-box.mobile{max-width:424px;width:calc(100vw - 20px)}.dialog-box-clickable{cursor:pointer}.contents{display:flex;flex-direction:column;min-height:inherit}.dialog-box-padding{padding:8px 16px}.dialog-box-align-right{margin-left:auto;display:flex}.dialog-box-header-box{border-bottom:1px solid #d5d5d5;display:flex;flex-direction:row;height:36px;position:sticky;top:0;background:white;z-index:2}.dialog-box-header{display:flex;align-items:center;width:100%}.dialog-box-title{font-size:18;font-weight:500;font-family:"Roboto", serif}.dialog-box-icon{padding-right:8px;width:24px;height:24px}.dialog-box-icon-close{margin-left:auto;padding-top:3px;width:24px;height:24px}.dialog-box-content{font-size:16;font-weight:400;font-family:"Roboto", serif}.dialog-box-body{text-overflow:ellipsis}.dialog-box-body-box{padding:16px}.dialog-box-footer-box{display:flex;flex-direction:row;margin-top:auto;border-top:1px solid #d5d5d5;height:36px;position:sticky;bottom:0;background:white}.dialog-box-footer{display:flex;align-items:center;width:100%}.dialog-box-spacing-button{margin-right:8px}.dialog-box-header-box.info{border-bottom:1px solid #1479c6}.dialog-box-header-box.success{border-bottom:1px solid #a2bb31}.dialog-box-header-box.warning{border-bottom:1px solid #f59500}.dialog-box-header-box.critical{border-bottom:1px solid #dc0000}';export{s as tttx_dialog_box_1_9_62}
1
+ import{r as o,c as i,h as t,g as l}from"./p-c2a82822.js";import{p as e,d}from"./p-55799798.js";import"./p-112455b1.js";const s=class{constructor(t){o(this,t),this.closeButtonClick=i(this,"closeButtonClick",6),this.buttonClick=i(this,"buttonClick",7),this.closeSelectBoxOnScroll=i(this,"closeSelectBoxOnScroll",7),this.emitDialogClose=()=>{this.closeButtonClick.emit()},this.data=void 0,this.size="regular",this.open=!1,this.allowOverflow=!1,this.elementSize=void 0}handleResize(){this.elementSize=window.innerWidth<698?"mobile":this.size}handleScrollEvent(){this.closeSelectBoxOnScroll.emit()}componentDidRender(){this.dialog&&(this.dialog.removeEventListener("close",this.emitDialogClose),this.dialog.addEventListener("close",this.emitDialogClose),this.open?this.dialog.open||this.dialog.showModal():this.dialog.close())}onCloseClickHandler(){this.open=!1,this.dialog.close()}onButtonClickHandler(o){this.buttonClick.emit({buttonNumber:o,buttonClicked:!0})}renderHeader(o){const i=o.title,l=!!o.hasClose;return t("div",{class:"dialog-box-header"},!!o.hasIcon&&t("tttx-icon_1_9_64",{class:"dialog-box-icon",icon:o.iconName,color:o.iconColor}),t("h3",{class:"dialog-box-title"},i),l&&t("div",{class:"dialog-box-align-right close-button",onClick:()=>this.onCloseClickHandler()},t("tttx-icon_1_9_64",{class:"dialog-box-icon-close dialog-box-clickable",icon:"close",color:"black"})))}renderContent(o){if(o.isCustomHtml){const i=e.sanitize(o.customHtml,d);return t("div",{class:"dialog-box-body "+(this.allowOverflow?"":"overflow-hidden")},t("div",{innerHTML:i}))}return t("div",{class:"dialog-box-body "+(this.allowOverflow?"":"overflow-hidden")},t("span",{class:"dialog-box-content"},o.contentText))}renderFooter(o){const i=o.buttons,l=i.length>0,e=i.length>1,d="mobile"===this.elementSize;return t("div",{class:"dialog-box-footer"},t("div",{class:"dialog-box-align-right"},3==i.length&&t("tttx-button_1_9_64",{class:"dialog-box-spacing-button",onClick:()=>this.onButtonClickHandler(3),design:i[2].type,notext:d,icon:i[2].icon},!d&&i[2].name),e&&t("tttx-button_1_9_64",{class:"dialog-box-spacing-button",onClick:()=>this.onButtonClickHandler(2),design:i[1].type,icon:i[1].icon},i[1].name),l&&t("tttx-button_1_9_64",{onClick:()=>this.onButtonClickHandler(1),design:i[0].type,icon:i[0].icon},i[0].name)))}componentWillLoad(){this.elementSize=window.innerWidth<698?"mobile":this.size}render(){if(this.data)return this._data="string"==typeof this.data?JSON.parse(this.data):this.data,t("dialog",{ref:o=>this.dialog=o,class:`dialog-box ${this.allowOverflow?"overflow-visible":""} ${this.elementSize}`,onScroll:this.handleScrollEvent.bind(this)},t("div",{class:"contents"},t("div",{class:`dialog-box-padding dialog-box-header-box ${this._data.type||""}`},this.renderHeader(this._data.header)),t("div",{class:"dialog-box-padding dialog-box-body-box"},this.renderContent(this._data.body)),t("div",{class:"dialog-box-padding dialog-box-footer-box"},this.renderFooter(this._data.footer))))}get el(){return l(this)}};s.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.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}h3{margin-block-start:0em;margin-block-end:0em}.dialog-box{background-color:#ffffff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0px 1px 5px #1111114d;padding:0}.overflow-visible{overflow-y:auto}.overflow-hidden{overflow:hidden}dialog::backdrop{background-color:#75757580}.dialog-box.small{width:400px;min-height:200px}.dialog-box.regular{width:600px;min-height:200px}.dialog-box.large{width:900px;min-height:200px}.dialog-box.mobile{max-width:424px;width:calc(100vw - 20px)}.dialog-box-clickable{cursor:pointer}.contents{display:flex;flex-direction:column;min-height:inherit}.dialog-box-padding{padding:8px 16px}.dialog-box-align-right{margin-left:auto;display:flex}.dialog-box-header-box{border-bottom:1px solid #d5d5d5;display:flex;flex-direction:row;height:36px;position:sticky;top:0;background:white;z-index:2}.dialog-box-header{display:flex;align-items:center;width:100%}.dialog-box-title{font-size:18;font-weight:500;font-family:"Roboto", serif}.dialog-box-icon{padding-right:8px;width:24px;height:24px}.dialog-box-icon-close{margin-left:auto;padding-top:3px;width:24px;height:24px}.dialog-box-content{font-size:16;font-weight:400;font-family:"Roboto", serif}.dialog-box-body{text-overflow:ellipsis}.dialog-box-body-box{padding:16px}.dialog-box-footer-box{display:flex;flex-direction:row;margin-top:auto;border-top:1px solid #d5d5d5;height:36px;position:sticky;bottom:0;background:white}.dialog-box-footer{display:flex;align-items:center;width:100%}.dialog-box-spacing-button{margin-right:8px}.dialog-box-header-box.info{border-bottom:1px solid #1479c6}.dialog-box-header-box.success{border-bottom:1px solid #a2bb31}.dialog-box-header-box.warning{border-bottom:1px solid #f59500}.dialog-box-header-box.critical{border-bottom:1px solid #dc0000}';export{s as tttx_dialog_box_1_9_64}
@@ -0,0 +1 @@
1
+ import{r as t,c as o,h as n,H as r,g as i}from"./p-c2a82822.js";const e=class{constructor(n){t(this,n),this.buttonDropdownChange=o(this,"buttonDropdownChange",7),this.toggleDropdown=()=>{this.isDisabled||(this.dropdownOpen=!this.dropdownOpen)},this.handleDropdownItemClick=t=>{this.dropdownOpen=!1,this.buttonDropdownChange.emit(t)},this.notext=!1,this.icon=void 0,this.label=void 0,this.iconcolor="black",this.iconposition="left",this.iconStart=void 0,this.iconEnd=void 0,this.design="primary",this.disabled=!1,this.type="button",this.href=void 0,this.options=[],this.size="M",this.dropdownOpen=!1}get isDisabled(){return this.disabled||"disabled"===this.design}get parsedOptions(){if(Array.isArray(this.options))return this.options.map((t=>"string"==typeof t?{label:t}:t));try{return JSON.parse(this.options).map((t=>"string"==typeof t?{label:t}:t))}catch(t){return[]}}get iconSize(){switch(this.size){case"L":return 24;case"M":return 20;default:return 16}}componentWillLoad(){["primary","secondary","default","disabled","danger","light","success","warning","transparent"].includes(this.design)||(this.design="primary"),["S","M","L"].includes(this.size)||(this.size="M"),["primary","danger","light","success","warning"].includes(this.design)&&(this.iconcolor="white"),"transparent"===this.design&&(this.iconcolor="#1479c6")}handleClickOutside(t){this.dropdownOpen&&!this.host.contains(t.target)&&(this.dropdownOpen=!1)}renderButtonContent(){var t;return n("div",{class:"button-content"},this.iconStart&&n("div",{class:"icon-left"},n("tttx-icon_1_9_64",{icon:this.iconStart,color:this.iconcolor,size:this.iconSize})),!this.notext&&n("div",{class:"label-text"},null!==(t=this.label)&&void 0!==t?t:n("slot",null)),this.iconEnd&&n("div",{class:"icon-right"},n("tttx-icon_1_9_64",{icon:this.iconEnd,color:this.iconcolor,size:this.iconSize})),"dropdown"===this.type&&n("div",{class:"dropdown-arrow"},n("tttx-icon_1_9_64",{icon:"keyboard_arrow_down",color:this.iconcolor,size:this.iconSize})))}renderDropdownList(){return"dropdown"===this.type&&this.dropdownOpen?n("ul",{class:"dropdown-list",role:"listbox"},this.parsedOptions.map(((t,o)=>n("li",{class:"dropdown-option",role:"option",tabindex:0,key:o,onClick:()=>this.handleDropdownItemClick(t.label)},n("div",{class:"dropdown-item-content"},t.icon&&n("tttx-icon_1_9_64",{icon:t.icon,color:"black",size:this.iconSize,class:"dropdown-item-icon"}),n("span",{class:"dropdown-item-label"},t.label)))))):null}render(){const t=["button",`btn-${this.design}`,this.iconStart?"icon-start":"",this.iconEnd?"icon-end":"",this.notext?"notext":"","dropdown"===this.type?"dropdown-button":"",`btn-size-${this.size.toLowerCase()}`].filter(Boolean).join(" ");return n(r,null,n("div",{class:"button-wrapper"},n("button",{class:t,disabled:this.isDisabled,onClick:"dropdown"===this.type?this.toggleDropdown:void 0,"aria-haspopup":"dropdown"===this.type?"listbox":void 0,"aria-expanded":"dropdown"===this.type?String(this.dropdownOpen):void 0},this.renderButtonContent()),this.renderDropdownList()))}get host(){return i(this)}};e.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}:host{display:inline-block}button{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;line-height:16px;white-space:nowrap;vertical-align:middle;font-weight:600;text-transform:none;cursor:pointer;background:transparent;min-width:96px;max-width:240px;box-sizing:border-box}button:disabled{cursor:not-allowed}button.notext{min-width:40px;max-width:40px;height:40px;padding:8px;aspect-ratio:1/1;justify-content:center;align-items:center;box-sizing:border-box}button:focus-visible{outline:2px solid currentColor;outline-offset:2px}.label-text{display:inline-block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}button.button.btn-size-s{font-size:13px;padding:6px 10px;gap:4px}button.button.btn-size-m{font-size:14px;padding:8px 12px;gap:4px}button.button.btn-size-l{font-size:16px;padding:12px 24px;gap:8px}button.btn-primary{background-color:#1479c6;border:1px solid #1479c6;color:#ffffff;transition:background-color 0.2s ease}button.btn-primary:hover:not(:disabled){background-color:#146eb3}button.btn-primary:active:not(:disabled){background-color:#115a8f}button.btn-primary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-secondary{background-color:#ffffff;color:#17272b;border:1px solid #D4D4D4;transition:background-color 0.2s ease}button.btn-secondary:hover:not(:disabled){background-color:#fafafa}button.btn-secondary:active:not(:disabled){background-color:#f5f5f5}button.btn-secondary:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-danger{background-color:#dc2626;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #DC2626}button.btn-danger:hover:not(:disabled){background-color:#b91c1c}button.btn-danger:active:not(:disabled){background-color:#991b1b}button.btn-danger:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-success{background-color:#16a34a;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #16a34a}button.btn-success:hover:not(:disabled){background-color:#15803d}button.btn-success:active:not(:disabled){background-color:#166534}button.btn-success:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-warning{background-color:#eab308;color:#ffffff;transition:background-color 0.2s ease;border:1px solid #eab308}button.btn-warning:hover:not(:disabled){background-color:#ca8a04}button.btn-warning:active:not(:disabled){background-color:#885544}button.btn-warning:disabled{background-color:#e5e5e5;color:#525252;border-color:#d4d4d4}button.btn-light{background-color:#000000;color:#ffffff;border:1px solid #000000}button.btn-light:hover:not(:disabled){background-color:#222222}button.btn-light:active:not(:disabled){background-color:#1a1a1a}button.btn-transparent{background:transparent;border:1px solid transparent;box-shadow:none;color:#1479c6;border:1px solid transparent}button.btn-transparent:hover:not(:disabled){background:rgba(0, 0, 0, 0.04)}button.btn-transparent:disabled{opacity:0.4;pointer-events:none}button.icon-start .button-content,button.icon-end .button-content{gap:8px}button.icon-start .icon-left,button.icon-end .icon-right{display:flex;align-items:center;justify-content:center}.button-content{font-family:Roboto;display:inline-flex;align-items:center;justify-content:center;gap:4px;width:100%}.button-content:not(:has(.icon-left,.icon-right)){justify-content:center}button.notext .button-content{justify-content:center !important;align-items:center;width:100%;display:flex;gap:0}tttx-icon,tttx-icon_1_9_64{cursor:inherit;display:inline-flex;vertical-align:middle;font-size:16px}.button-wrapper{position:relative}.button-wrapper .dropdown-list{position:absolute;top:100%;left:0;list-style:none;z-index:1;width:260px;border-radius:8px;padding:4px;background-color:white;border:1px solid #d4d4d4;margin-top:8px}.button-wrapper .dropdown-list .dropdown-option{padding:8px;cursor:pointer;white-space:nowrap;font-family:Roboto;font-size:14px;font-weight:400;line-height:16px}.button-wrapper .dropdown-list .dropdown-option:hover,.button-wrapper .dropdown-list .dropdown-option:focus{background-color:#f5f5f5;border-radius:8px}.button-wrapper .dropdown-button{border-radius:4px;width:100%;justify-content:space-between}.button-wrapper .dropdown-button:hover{background-color:#f0f0f0}.button-wrapper .dropdown-button:active{background-color:#e3e3e3}.button-wrapper .dropdown-button .dropdown-arrow{display:flex;align-items:center;margin-left:8px}.button-wrapper .dropdown-button .dropdown-arrow .hydrated{display:flex;align-items:center}.dropdown-item-content{display:flex;align-items:center;gap:8px}.dropdown-item-icon{display:flex;align-items:center;justify-content:center}';export{e as tttx_button_v2_1_9_64}
@@ -1 +1 @@
1
- import{r as t,h as s,H as i}from"./p-2b0fc913.js";const r=class{constructor(s){t(this,s),this.percentage=void 0,this.thresholds=void 0,this.color="#d5d5d5",this.min="1",this.labelid=void 0,this._percentage=void 0,this._ranges=void 0,this._min=void 0}componentWillRender(){let t;if(this._percentage="string"==typeof this.percentage?parseInt(this.percentage):this.percentage,this.thresholds){t="string"==typeof this.thresholds?JSON.parse(this.thresholds):this.thresholds,this._ranges=[{range:[0],color:t[0].color}];for(const[s,i]of t.entries())this._ranges[this._ranges.length-1].range.push(i.threshold),this._ranges[this._ranges.length-1].color=i.color,s<t.length-1&&this._ranges.push({range:[i.threshold],color:void 0})}this._min=parseInt(this.min)}getColour(){return this._ranges&&0!==this._ranges.length?this._ranges.find((t=>this._percentage>=t.range[0]&&this._percentage<=t.range[1])).color:this.color}getWidth(){return Math.min(Math.max(this._percentage,Math.min(this._min,100)),100)}render(){return s(i,null,s("div",{class:"progress"},s("div",{class:"bar",style:{"background-color":this.getColour(),width:`${this.getWidth()}%`},role:"progressbar","aria-valuemin":this._min,"aria-valuemax":"100","aria-valuenow":this._percentage,"aria-labelledby":this.labelid})))}};r.style=".sc-tttx-percentage-bar_1_9_62-h{display:block}.progress.sc-tttx-percentage-bar_1_9_62{width:100%;background-color:#dbdbdb}.progress.sc-tttx-percentage-bar_1_9_62 .bar.sc-tttx-percentage-bar_1_9_62{height:20px}";export{r as tttx_percentage_bar_1_9_62}
1
+ import{r as t,h as s,H as i}from"./p-c2a82822.js";const r=class{constructor(s){t(this,s),this.percentage=void 0,this.thresholds=void 0,this.color="#d5d5d5",this.min="1",this.labelid=void 0,this._percentage=void 0,this._ranges=void 0,this._min=void 0}componentWillRender(){let t;if(this._percentage="string"==typeof this.percentage?parseInt(this.percentage):this.percentage,this.thresholds){t="string"==typeof this.thresholds?JSON.parse(this.thresholds):this.thresholds,this._ranges=[{range:[0],color:t[0].color}];for(const[s,i]of t.entries())this._ranges[this._ranges.length-1].range.push(i.threshold),this._ranges[this._ranges.length-1].color=i.color,s<t.length-1&&this._ranges.push({range:[i.threshold],color:void 0})}this._min=parseInt(this.min)}getColour(){return this._ranges&&0!==this._ranges.length?this._ranges.find((t=>this._percentage>=t.range[0]&&this._percentage<=t.range[1])).color:this.color}getWidth(){return Math.min(Math.max(this._percentage,Math.min(this._min,100)),100)}render(){return s(i,null,s("div",{class:"progress"},s("div",{class:"bar",style:{"background-color":this.getColour(),width:`${this.getWidth()}%`},role:"progressbar","aria-valuemin":this._min,"aria-valuemax":"100","aria-valuenow":this._percentage,"aria-labelledby":this.labelid})))}};r.style=".sc-tttx-percentage-bar_1_9_64-h{display:block}.progress.sc-tttx-percentage-bar_1_9_64{width:100%;background-color:#dbdbdb}.progress.sc-tttx-percentage-bar_1_9_64 .bar.sc-tttx-percentage-bar_1_9_64{height:20px}";export{r as tttx_percentage_bar_1_9_64}
@@ -1 +1 @@
1
- import{r as o,c as i,h as t,g as e}from"./p-2b0fc913.js";const n={critical:{iconName:"report",iconColor:"red"},info:{iconName:"info",iconColor:"blue"},success:{iconName:"check_circle",iconColor:"green"},warning:{iconName:"warning",iconColor:"orange"}},s=class{constructor(t){o(this,t),this.closeButtonClick=i(this,"closeButtonClick",6),this.header=void 0,this.type=void 0,this.size="regular",this.open=!1,this.allowOverflow=!1,this.closeEnabled=!0,this.elementSize=void 0}handleResize(){this.elementSize=window.innerWidth<698?"mobile":this.size}emitDialogClose(){this.closeButtonClick.emit()}componentDidLoad(){this.dialog.addEventListener("close",this.emitDialogClose.bind(this))}onCloseClickHandler(){this.dialog.close()}headerIconDetails(o){return o?n[this.type]:{iconName:void 0,iconColor:void 0}}renderHeader(){const o=void 0!==this.type,{iconName:i,iconColor:e}=this.headerIconDetails(o);return t("div",{class:`padding header ${this.type||""}`},o&&t("tttx-icon_1_9_62",{class:"icon",icon:i,color:e}),t("h3",{class:"title",title:this.header},this.header),this.closeEnabled&&t("tttx-button_1_9_62",{class:"align-right close-button",design:"borderless-circle",icon:"close",color:"black",notext:!0,onClick:()=>this.onCloseClickHandler()}))}body(){return t("div",{class:"body "+(this.allowOverflow?"":"overflow-hidden")},t("span",{class:"body-content"},t("slot",null)))}footer(){if(this.el.querySelector('[slot="buttons"]'))return t("div",{class:"padding footer"},t("div",{class:"align-right"},t("slot",{name:"buttons"})))}componentDidRender(){this.open?this.dialog.open||this.dialog.showModal():this.dialog.close()}componentWillLoad(){this.handleResize()}render(){return t("dialog",{ref:o=>this.dialog=o,class:`dialog-box ${this.allowOverflow?"overflow-visible":""} ${this.elementSize}`},t("div",{class:"contents"},this.renderHeader(),this.body(),this.footer()))}get el(){return e(this)}};s.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.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}h3{margin-block-start:0em;margin-block-end:0em}.dialog-box{background-color:#ffffff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0px 1px 5px #1111114d;padding:0}.dialog-box.small{width:400px;min-height:200px}.dialog-box.regular{width:600px;min-height:200px}.dialog-box.large{width:900px;min-height:200px}.dialog-box.mobile{max-width:424px;width:calc(100vw - 20px)}.overflow-visible{overflow-y:auto}.overflow-hidden{overflow:hidden}dialog::backdrop{background-color:#75757580}.clickable{cursor:pointer}.contents{display:flex;flex-direction:column;min-height:inherit}.padding{padding:8px 16px}.align-right{margin-left:auto;display:flex}.header{border-bottom:1px solid #d5d5d5;display:flex;flex-direction:row;align-items:center;height:36px;position:sticky;top:0;background:white;z-index:2}.title{font-size:18;font-weight:500;font-family:"Roboto", serif;text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap}.icon{padding-right:8px;width:24px;height:24px}.icon-close{width:24px;height:24px}.body-content{font-size:16;font-weight:400;font-family:"Roboto", serif}.body{text-overflow:ellipsis;padding:16px}.footer{display:flex;flex-direction:row;margin-top:auto;border-top:1px solid #d5d5d5;height:36px;position:sticky;background:white;bottom:0}::slotted([slot=buttons]){display:flex;gap:8px}.header.info{border-bottom:1px solid #1479c6}.header.success{border-bottom:1px solid #a2bb31}.header.warning{border-bottom:1px solid #f59500}.header.critical{border-bottom:1px solid #dc0000}';export{s as tttx_dialog_1_9_62}
1
+ import{r as o,c as i,h as t,g as e}from"./p-c2a82822.js";const n={critical:{iconName:"report",iconColor:"red"},info:{iconName:"info",iconColor:"blue"},success:{iconName:"check_circle",iconColor:"green"},warning:{iconName:"warning",iconColor:"orange"}},s=class{constructor(t){o(this,t),this.closeButtonClick=i(this,"closeButtonClick",6),this.header=void 0,this.type=void 0,this.size="regular",this.open=!1,this.allowOverflow=!1,this.closeEnabled=!0,this.elementSize=void 0}handleResize(){this.elementSize=window.innerWidth<698?"mobile":this.size}emitDialogClose(){this.closeButtonClick.emit()}componentDidLoad(){this.dialog.addEventListener("close",this.emitDialogClose.bind(this))}onCloseClickHandler(){this.dialog.close()}headerIconDetails(o){return o?n[this.type]:{iconName:void 0,iconColor:void 0}}renderHeader(){const o=void 0!==this.type,{iconName:i,iconColor:e}=this.headerIconDetails(o);return t("div",{class:`padding header ${this.type||""}`},o&&t("tttx-icon_1_9_64",{class:"icon",icon:i,color:e}),t("h3",{class:"title",title:this.header},this.header),this.closeEnabled&&t("tttx-button_1_9_64",{class:"align-right close-button",design:"borderless-circle",icon:"close",color:"black",notext:!0,onClick:()=>this.onCloseClickHandler()}))}body(){return t("div",{class:"body "+(this.allowOverflow?"":"overflow-hidden")},t("span",{class:"body-content"},t("slot",null)))}footer(){if(this.el.querySelector('[slot="buttons"]'))return t("div",{class:"padding footer"},t("div",{class:"align-right"},t("slot",{name:"buttons"})))}componentDidRender(){this.open?this.dialog.open||this.dialog.showModal():this.dialog.close()}componentWillLoad(){this.handleResize()}render(){return t("dialog",{ref:o=>this.dialog=o,class:`dialog-box ${this.allowOverflow?"overflow-visible":""} ${this.elementSize}`},t("div",{class:"contents"},this.renderHeader(),this.body(),this.footer()))}get el(){return e(this)}};s.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.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}h3{margin-block-start:0em;margin-block-end:0em}.dialog-box{background-color:#ffffff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0px 1px 5px #1111114d;padding:0}.dialog-box.small{width:400px;min-height:200px}.dialog-box.regular{width:600px;min-height:200px}.dialog-box.large{width:900px;min-height:200px}.dialog-box.mobile{max-width:424px;width:calc(100vw - 20px)}.overflow-visible{overflow-y:auto}.overflow-hidden{overflow:hidden}dialog::backdrop{background-color:#75757580}.clickable{cursor:pointer}.contents{display:flex;flex-direction:column;min-height:inherit}.padding{padding:8px 16px}.align-right{margin-left:auto;display:flex}.header{border-bottom:1px solid #d5d5d5;display:flex;flex-direction:row;align-items:center;height:36px;position:sticky;top:0;background:white;z-index:2}.title{font-size:18;font-weight:500;font-family:"Roboto", serif;text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap}.icon{padding-right:8px;width:24px;height:24px}.icon-close{width:24px;height:24px}.body-content{font-size:16;font-weight:400;font-family:"Roboto", serif}.body{text-overflow:ellipsis;padding:16px}.footer{display:flex;flex-direction:row;margin-top:auto;border-top:1px solid #d5d5d5;height:36px;position:sticky;background:white;bottom:0}::slotted([slot=buttons]){display:flex;gap:8px}.header.info{border-bottom:1px solid #1479c6}.header.success{border-bottom:1px solid #a2bb31}.header.warning{border-bottom:1px solid #f59500}.header.critical{border-bottom:1px solid #dc0000}';export{s as tttx_dialog_1_9_64}
@@ -1 +1 @@
1
- import{r as t,h as o,H as s}from"./p-2b0fc913.js";const e=class{constructor(o){t(this,o),this.data=void 0,this.sorterOptions=void 0,this.filterOptions=void 0,this.filterHeader="Filter",this.defaultSortOption="Sort by",this.searchplaceholder="Search",this.addbuttonlabel="Add",this.addbutton=!1}render(){return o(s,null,o("div",{class:"container"},o("tttx-toolbar_1_9_62",{border:!0},o("span",{slot:"before"},this.sorterOptions&&o("tttx-sorter_1_9_62",{sorterKey:"data-pattern-list",fieldOptionsData:this.sorterOptions,defaultOption:this.defaultSortOption}),this.filterOptions&&o("tttx-filter_1_9_62",{"filter-options":JSON.stringify(this.filterOptions),showSelectAll:!1,"show-option-icons":!0,"filter-header":this.filterHeader,"filter-key":"data-pattern-list"})),o("span",{slot:"after"},o("tttx-standalone-input_1_9_62",{class:"qualifications-filter",showerrorbubble:!1,inputicon:"search",inline:!0,required:!0,placeholder:this.searchplaceholder,type:"text",maxlength:30}))),o("tttx-toolbar_1_9_62",{border:!1},o("span",{slot:"before"},this.addbutton&&o("tttx-button_1_9_62",{design:"primary",icon:"add"},this.addbuttonlabel))),o("tttx-list_1_9_62",{data:this.data})))}};e.style=":host{display:block}";export{e as tttx_data_pattern_1_9_62}
1
+ import{r as t,h as o,H as s}from"./p-c2a82822.js";const e=class{constructor(o){t(this,o),this.data=void 0,this.sorterOptions=void 0,this.filterOptions=void 0,this.filterHeader="Filter",this.defaultSortOption="Sort by",this.searchplaceholder="Search",this.addbuttonlabel="Add",this.addbutton=!1}render(){return o(s,null,o("div",{class:"container"},o("tttx-toolbar_1_9_64",{border:!0},o("span",{slot:"before"},this.sorterOptions&&o("tttx-sorter_1_9_64",{sorterKey:"data-pattern-list",fieldOptionsData:this.sorterOptions,defaultOption:this.defaultSortOption}),this.filterOptions&&o("tttx-filter_1_9_64",{"filter-options":JSON.stringify(this.filterOptions),showSelectAll:!1,"show-option-icons":!0,"filter-header":this.filterHeader,"filter-key":"data-pattern-list"})),o("span",{slot:"after"},o("tttx-standalone-input_1_9_64",{class:"qualifications-filter",showerrorbubble:!1,inputicon:"search",inline:!0,required:!0,placeholder:this.searchplaceholder,type:"text",maxlength:30}))),o("tttx-toolbar_1_9_64",{border:!1},o("span",{slot:"before"},this.addbutton&&o("tttx-button_1_9_64",{design:"primary",icon:"add"},this.addbuttonlabel))),o("tttx-list_1_9_64",{data:this.data})))}};e.style=":host{display:block}";export{e as tttx_data_pattern_1_9_64}
@@ -1 +1 @@
1
- import{r,h as t,g as n}from"./p-2b0fc913.js";import{c as e}from"./p-112455b1.js";var i=e((function(r){window,r.exports=function(r){var t={};function n(e){if(t[e])return t[e].exports;var i=t[e]={i:e,l:!1,exports:{}};return r[e].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=r,n.c=t,n.d=function(r,t,e){n.o(r,t)||Object.defineProperty(r,t,{enumerable:!0,get:e})},n.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,t){if(1&t&&(r=n(r)),8&t)return r;if(4&t&&"object"==typeof r&&r&&r.__esModule)return r;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:r}),2&t&&"string"!=typeof r)for(var i in r)n.d(e,i,function(t){return r[t]}.bind(null,i));return e},n.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(t,"a",t),t},n.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},n.p="",n(n.s=3)}([function(r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.QRMode={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},t.QRErrorCorrectLevel={L:1,M:0,Q:3,H:2},t.QRMaskPattern={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7}},function(r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.QRMath={glog:function(r){if(r<1)throw new Error("glog("+r+")");return t.QRMath.LOG_TABLE[r]},gexp:function(r){for(;r<0;)r+=255;for(;r>=256;)r-=255;return t.QRMath.EXP_TABLE[r]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)};for(var n=0;n<8;n++)t.QRMath.EXP_TABLE[n]=1<<n;for(n=8;n<256;n++)t.QRMath.EXP_TABLE[n]=t.QRMath.EXP_TABLE[n-4]^t.QRMath.EXP_TABLE[n-5]^t.QRMath.EXP_TABLE[n-6]^t.QRMath.EXP_TABLE[n-8];for(n=0;n<255;n++)t.QRMath.LOG_TABLE[t.QRMath.EXP_TABLE[n]]=n},function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0});var e=n(1),i=function(){function r(r,t){if(null==r.length)throw new Error(r.length+"/"+t);for(var n=0;n<r.length&&0===r[n];)n++;this.num=new Array(r.length-n+t);for(var e=0;e<r.length-n;e++)this.num[e]=r[e+n]}return r.prototype.get=function(r){return this.num[r]},r.prototype.getLength=function(){return this.num.length},r.prototype.multiply=function(t){for(var n=new Array(this.getLength()+t.getLength()-1),i=0;i<this.getLength();i++)for(var o=0;o<t.getLength();o++)n[i+o]^=e.QRMath.gexp(e.QRMath.glog(this.get(i))+e.QRMath.glog(t.get(o)));return new r(n,0)},r.prototype.mod=function(t){if(this.getLength()-t.getLength()<0)return this;for(var n=e.QRMath.glog(this.get(0))-e.QRMath.glog(t.get(0)),i=new Array(this.getLength()),o=0;o<this.getLength();o++)i[o]=this.get(o);for(o=0;o<t.getLength();o++)i[o]^=e.QRMath.gexp(e.QRMath.glog(t.get(o))+n);return new r(i,0).mod(t)},r}();t.default=i},function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0});var e=n(4),i=n(5),o=n(6),s=n(7),f=n(2),u=n(0),a=n(0);t.QRErrorCorrectLevel=a.QRErrorCorrectLevel;var h=function(){function r(r,t){this.typeNumber=r,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}return r.prototype.addData=function(r){var t=new i.default(r);this.dataList.push(t),this.dataCache=null},r.prototype.isDark=function(r,t){if(r<0||this.moduleCount<=r||t<0||this.moduleCount<=t)throw new Error(r+","+t);return this.modules[r][t]},r.prototype.getModuleCount=function(){return this.moduleCount},r.prototype.make=function(){if(this.typeNumber<1){var r=void 0;for(r=1;r<40;r++){for(var t=s.default.getRSBlocks(r,this.errorCorrectLevel),n=new o.default,i=0,f=0;f<t.length;f++)i+=t[f].dataCount;for(f=0;f<this.dataList.length;f++){var u=this.dataList[f];n.put(u.mode,4),n.put(u.getLength(),e.QRUtil.getLengthInBits(u.mode,r)),u.write(n)}if(n.getLengthInBits()<=8*i)break}this.typeNumber=r}this.makeImpl(!1,this.getBestMaskPattern())},r.prototype.makeImpl=function(t,n){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var e=0;e<this.moduleCount;e++){this.modules[e]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[e][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,n),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=r.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,n)},r.prototype.setupPositionProbePattern=function(r,t){for(var n=-1;n<=7;n++)if(!(r+n<=-1||this.moduleCount<=r+n))for(var e=-1;e<=7;e++)t+e<=-1||this.moduleCount<=t+e||(this.modules[r+n][t+e]=n>=0&&n<=6&&(0===e||6===e)||e>=0&&e<=6&&(0===n||6===n)||n>=2&&n<=4&&e>=2&&e<=4)},r.prototype.getBestMaskPattern=function(){for(var r=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var i=e.QRUtil.getLostPoint(this);(0===n||r>i)&&(r=i,t=n)}return t},r.prototype.createMovieClip=function(r,t,n){var e=r.createEmptyMovieClip(t,n);this.make();for(var i=0;i<this.modules.length;i++)for(var o=1*i,s=0;s<this.modules[i].length;s++){var f=1*s;this.modules[i][s]&&(e.beginFill(0,100),e.moveTo(f,o),e.lineTo(f+1,o),e.lineTo(f+1,o+1),e.lineTo(f,o+1),e.endFill())}return e},r.prototype.setupTimingPattern=function(){for(var r=8;r<this.moduleCount-8;r++)null==this.modules[r][6]&&(this.modules[r][6]=r%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},r.prototype.setupPositionAdjustPattern=function(){for(var r=e.QRUtil.getPatternPosition(this.typeNumber),t=0;t<r.length;t++)for(var n=0;n<r.length;n++){var i=r[t],o=r[n];if(null==this.modules[i][o])for(var s=-2;s<=2;s++)for(var f=-2;f<=2;f++)this.modules[i+s][o+f]=-2===s||2===s||-2===f||2===f||0===s&&0===f}},r.prototype.setupTypeNumber=function(r){for(var t=e.QRUtil.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var i=!r&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=i}for(n=0;n<18;n++)i=!r&&1==(t>>n&1),this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=i},r.prototype.setupTypeInfo=function(r,t){for(var n=e.QRUtil.getBCHTypeInfo(this.errorCorrectLevel<<3|t),i=0;i<15;i++){var o=!r&&1==(n>>i&1);i<6?this.modules[i][8]=o:i<8?this.modules[i+1][8]=o:this.modules[this.moduleCount-15+i][8]=o}for(i=0;i<15;i++)o=!r&&1==(n>>i&1),i<8?this.modules[8][this.moduleCount-i-1]=o:i<9?this.modules[8][15-i-1+1]=o:this.modules[8][15-i-1]=o;this.modules[this.moduleCount-8][8]=!r},r.prototype.mapData=function(r,t){for(var n=-1,i=this.moduleCount-1,o=7,s=0,f=this.moduleCount-1;f>0;f-=2)for(6===f&&f--;;){for(var u=0;u<2;u++)if(null==this.modules[i][f-u]){var a=!1;s<r.length&&(a=1==(r[s]>>>o&1)),e.QRUtil.getMask(t,i,f-u)&&(a=!a),this.modules[i][f-u]=a,-1==--o&&(s++,o=7)}if((i+=n)<0||this.moduleCount<=i){i-=n,n=-n;break}}},r.createData=function(t,n,i){for(var f=s.default.getRSBlocks(t,n),u=new o.default,a=0;a<i.length;a++){var h=i[a];u.put(h.mode,4),u.put(h.getLength(),e.QRUtil.getLengthInBits(h.mode,t)),h.write(u)}var c=0;for(a=0;a<f.length;a++)c+=f[a].dataCount;if(u.getLengthInBits()>8*c)throw new Error("code length overflow. ("+u.getLengthInBits()+">"+8*c+")");for(u.getLengthInBits()+4<=8*c&&u.put(0,4);u.getLengthInBits()%8!=0;)u.putBit(!1);for(;!(u.getLengthInBits()>=8*c||(u.put(r.PAD0,8),u.getLengthInBits()>=8*c));)u.put(r.PAD1,8);return r.createBytes(u,f)},r.createBytes=function(r,t){for(var n=0,i=0,o=0,s=new Array(t.length),u=new Array(t.length),a=0;a<t.length;a++){var h=t[a].dataCount,c=t[a].totalCount-h;i=Math.max(i,h),o=Math.max(o,c),s[a]=new Array(h);for(var v=0;v<s[a].length;v++)s[a][v]=255&r.buffer[v+n];n+=h;var l=e.QRUtil.getErrorCorrectPolynomial(c),w=new f.default(s[a],l.getLength()-1).mod(l);for(u[a]=new Array(l.getLength()-1),v=0;v<u[a].length;v++){var d=v+w.getLength()-u[a].length;u[a][v]=d>=0?w.get(d):0}}var M=0;for(v=0;v<t.length;v++)M+=t[v].totalCount;var b=new Array(M),E=0;for(v=0;v<i;v++)for(a=0;a<t.length;a++)v<s[a].length&&(b[E++]=s[a][v]);for(v=0;v<o;v++)for(a=0;a<t.length;a++)v<u[a].length&&(b[E++]=u[a][v]);return b},r.createCanvas=function(t){var n=Object.assign({width:256,height:256,correctLevel:u.QRErrorCorrectLevel.H,background:"#ffffff",foreground:"#000000"},t),e=new r(-1,n.correctLevel);e.addData(n.text),e.make();var i=document.createElement("canvas");i.width=n.width,i.height=n.height;for(var o=i.getContext("2d"),s=n.width/e.getModuleCount(),f=n.height/e.getModuleCount(),a=0;a<e.getModuleCount();a++)for(var h=0;h<e.getModuleCount();h++){o.fillStyle=e.isDark(a,h)?n.foreground:n.background;var c=Math.ceil((h+1)*s)-Math.floor(h*s),v=Math.ceil((a+1)*f)-Math.floor(a*f);o.fillRect(Math.round(h*s),Math.round(a*f),c,v)}return i},r.setCanvas=function(t,n){var e=document.getElementById(t);e.innerHTML="",e.appendChild(r.createCanvas(n))},r.PAD0=236,r.PAD1=17,r}();t.QRCode=h},function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0});var e=n(0),i=n(1),o=n(2);t.QRUtil={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(r){for(var n=r<<10;t.QRUtil.getBCHDigit(n)-t.QRUtil.getBCHDigit(t.QRUtil.G15)>=0;)n^=t.QRUtil.G15<<t.QRUtil.getBCHDigit(n)-t.QRUtil.getBCHDigit(t.QRUtil.G15);return(r<<10|n)^t.QRUtil.G15_MASK},getBCHTypeNumber:function(r){for(var n=r<<12;t.QRUtil.getBCHDigit(n)-t.QRUtil.getBCHDigit(t.QRUtil.G18)>=0;)n^=t.QRUtil.G18<<t.QRUtil.getBCHDigit(n)-t.QRUtil.getBCHDigit(t.QRUtil.G18);return r<<12|n},getBCHDigit:function(r){for(var t=0;0!==r;)t++,r>>>=1;return t},getPatternPosition:function(r){return t.QRUtil.PATTERN_POSITION_TABLE[r-1]},getMask:function(r,t,n){switch(r){case e.QRMaskPattern.PATTERN000:return(t+n)%2==0;case e.QRMaskPattern.PATTERN001:return t%2==0;case e.QRMaskPattern.PATTERN010:return n%3==0;case e.QRMaskPattern.PATTERN011:return(t+n)%3==0;case e.QRMaskPattern.PATTERN100:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case e.QRMaskPattern.PATTERN101:return t*n%2+t*n%3==0;case e.QRMaskPattern.PATTERN110:return(t*n%2+t*n%3)%2==0;case e.QRMaskPattern.PATTERN111:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+r)}},getErrorCorrectPolynomial:function(r){for(var t=new o.default([1],0),n=0;n<r;n++)t=t.multiply(new o.default([1,i.QRMath.gexp(n)],0));return t},getLengthInBits:function(r,t){if(t>=1&&t<10)switch(r){case e.QRMode.MODE_NUMBER:return 10;case e.QRMode.MODE_ALPHA_NUM:return 9;case e.QRMode.MODE_8BIT_BYTE:case e.QRMode.MODE_KANJI:return 8;default:throw new Error("mode:"+r)}else if(t<27)switch(r){case e.QRMode.MODE_NUMBER:return 12;case e.QRMode.MODE_ALPHA_NUM:return 11;case e.QRMode.MODE_8BIT_BYTE:return 16;case e.QRMode.MODE_KANJI:return 10;default:throw new Error("mode:"+r)}else{if(!(t<41))throw new Error("type:"+t);switch(r){case e.QRMode.MODE_NUMBER:return 14;case e.QRMode.MODE_ALPHA_NUM:return 13;case e.QRMode.MODE_8BIT_BYTE:return 16;case e.QRMode.MODE_KANJI:return 12;default:throw new Error("mode:"+r)}}},getLostPoint:function(r){for(var t=r.getModuleCount(),n=0,e=0;e<t;e++)for(var i=0;i<t;i++){for(var o=0,s=r.isDark(e,i),f=-1;f<=1;f++)if(!(e+f<0||t<=e+f))for(var u=-1;u<=1;u++)i+u<0||t<=i+u||0===f&&0===u||s===r.isDark(e+f,i+u)&&o++;o>5&&(n+=3+o-5)}for(e=0;e<t-1;e++)for(i=0;i<t-1;i++){var a=0;r.isDark(e,i)&&a++,r.isDark(e+1,i)&&a++,r.isDark(e,i+1)&&a++,r.isDark(e+1,i+1)&&a++,0!==a&&4!==a||(n+=3)}for(e=0;e<t;e++)for(i=0;i<t-6;i++)r.isDark(e,i)&&!r.isDark(e,i+1)&&r.isDark(e,i+2)&&r.isDark(e,i+3)&&r.isDark(e,i+4)&&!r.isDark(e,i+5)&&r.isDark(e,i+6)&&(n+=40);for(i=0;i<t;i++)for(e=0;e<t-6;e++)r.isDark(e,i)&&!r.isDark(e+1,i)&&r.isDark(e+2,i)&&r.isDark(e+3,i)&&r.isDark(e+4,i)&&!r.isDark(e+5,i)&&r.isDark(e+6,i)&&(n+=40);var h=0;for(i=0;i<t;i++)for(e=0;e<t;e++)r.isDark(e,i)&&h++;return n+Math.abs(100*h/t/t-50)/5*10}}},function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0});var e=n(0),i=function(){function r(r){this.mode=e.QRMode.MODE_8BIT_BYTE,this.data=r}return r.prototype.getLength=function(){return this.data.length},r.prototype.write=function(r){for(var t=0;t<this.data.length;t++)r.put(this.data.charCodeAt(t),8)},r}();t.default=i},function(r,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function r(){this.buffer=[],this.length=0}return r.prototype.get=function(r){var t=Math.floor(r/8);return 1==(this.buffer[t]>>>7-r%8&1)},r.prototype.put=function(r,t){for(var n=0;n<t;n++)this.putBit(1==(r>>>t-n-1&1))},r.prototype.getLengthInBits=function(){return this.length},r.prototype.putBit=function(r){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),r&&(this.buffer[t]|=128>>>this.length%8),this.length++},r}();t.default=n},function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0});var e=n(0),i=function(){function r(r,t){this.totalCount=r,this.dataCount=t}return r.getRSBlocks=function(t,n){var e=this.getRsBlockTable(t,n);if(void 0===e)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+n);for(var i=e.length/3,o=[],s=0;s<i;s++)for(var f=e[3*s],u=e[3*s+1],a=e[3*s+2],h=0;h<f;h++)o.push(new r(u,a));return o},r.getRsBlockTable=function(r,t){switch(t){case e.QRErrorCorrectLevel.L:return this.RS_BLOCK_TABLE[4*(r-1)];case e.QRErrorCorrectLevel.M:return this.RS_BLOCK_TABLE[4*(r-1)+1];case e.QRErrorCorrectLevel.Q:return this.RS_BLOCK_TABLE[4*(r-1)+2];case e.QRErrorCorrectLevel.H:return this.RS_BLOCK_TABLE[4*(r-1)+3];default:return}},r.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],r}();t.default=i}])}));const o=class{constructor(t){r(this,t),this.link="https://example.com",this.size=258}componentDidLoad(){this.setShadowCanvas("qrcode",{width:this.size,height:this.size,correctLevel:i.QRErrorCorrectLevel.H,background:"#ffffff",foreground:"#000000",text:this.link})}setShadowCanvas(r,t){const n=this.hostElement.shadowRoot.getElementById(r);n.innerHTML="",n.appendChild(i.QRCode.createCanvas(t))}render(){return t("div",{id:"qrcode"})}get hostElement(){return n(this)}};o.style="";export{o as tttx_qrcode_1_9_62}
1
+ import{r,h as t,g as n}from"./p-c2a82822.js";import{c as e}from"./p-112455b1.js";var i=e((function(r){window,r.exports=function(r){var t={};function n(e){if(t[e])return t[e].exports;var i=t[e]={i:e,l:!1,exports:{}};return r[e].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=r,n.c=t,n.d=function(r,t,e){n.o(r,t)||Object.defineProperty(r,t,{enumerable:!0,get:e})},n.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,t){if(1&t&&(r=n(r)),8&t)return r;if(4&t&&"object"==typeof r&&r&&r.__esModule)return r;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:r}),2&t&&"string"!=typeof r)for(var i in r)n.d(e,i,function(t){return r[t]}.bind(null,i));return e},n.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(t,"a",t),t},n.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},n.p="",n(n.s=3)}([function(r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.QRMode={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},t.QRErrorCorrectLevel={L:1,M:0,Q:3,H:2},t.QRMaskPattern={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7}},function(r,t){Object.defineProperty(t,"__esModule",{value:!0}),t.QRMath={glog:function(r){if(r<1)throw new Error("glog("+r+")");return t.QRMath.LOG_TABLE[r]},gexp:function(r){for(;r<0;)r+=255;for(;r>=256;)r-=255;return t.QRMath.EXP_TABLE[r]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)};for(var n=0;n<8;n++)t.QRMath.EXP_TABLE[n]=1<<n;for(n=8;n<256;n++)t.QRMath.EXP_TABLE[n]=t.QRMath.EXP_TABLE[n-4]^t.QRMath.EXP_TABLE[n-5]^t.QRMath.EXP_TABLE[n-6]^t.QRMath.EXP_TABLE[n-8];for(n=0;n<255;n++)t.QRMath.LOG_TABLE[t.QRMath.EXP_TABLE[n]]=n},function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0});var e=n(1),i=function(){function r(r,t){if(null==r.length)throw new Error(r.length+"/"+t);for(var n=0;n<r.length&&0===r[n];)n++;this.num=new Array(r.length-n+t);for(var e=0;e<r.length-n;e++)this.num[e]=r[e+n]}return r.prototype.get=function(r){return this.num[r]},r.prototype.getLength=function(){return this.num.length},r.prototype.multiply=function(t){for(var n=new Array(this.getLength()+t.getLength()-1),i=0;i<this.getLength();i++)for(var o=0;o<t.getLength();o++)n[i+o]^=e.QRMath.gexp(e.QRMath.glog(this.get(i))+e.QRMath.glog(t.get(o)));return new r(n,0)},r.prototype.mod=function(t){if(this.getLength()-t.getLength()<0)return this;for(var n=e.QRMath.glog(this.get(0))-e.QRMath.glog(t.get(0)),i=new Array(this.getLength()),o=0;o<this.getLength();o++)i[o]=this.get(o);for(o=0;o<t.getLength();o++)i[o]^=e.QRMath.gexp(e.QRMath.glog(t.get(o))+n);return new r(i,0).mod(t)},r}();t.default=i},function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0});var e=n(4),i=n(5),o=n(6),s=n(7),f=n(2),u=n(0),a=n(0);t.QRErrorCorrectLevel=a.QRErrorCorrectLevel;var h=function(){function r(r,t){this.typeNumber=r,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}return r.prototype.addData=function(r){var t=new i.default(r);this.dataList.push(t),this.dataCache=null},r.prototype.isDark=function(r,t){if(r<0||this.moduleCount<=r||t<0||this.moduleCount<=t)throw new Error(r+","+t);return this.modules[r][t]},r.prototype.getModuleCount=function(){return this.moduleCount},r.prototype.make=function(){if(this.typeNumber<1){var r=void 0;for(r=1;r<40;r++){for(var t=s.default.getRSBlocks(r,this.errorCorrectLevel),n=new o.default,i=0,f=0;f<t.length;f++)i+=t[f].dataCount;for(f=0;f<this.dataList.length;f++){var u=this.dataList[f];n.put(u.mode,4),n.put(u.getLength(),e.QRUtil.getLengthInBits(u.mode,r)),u.write(n)}if(n.getLengthInBits()<=8*i)break}this.typeNumber=r}this.makeImpl(!1,this.getBestMaskPattern())},r.prototype.makeImpl=function(t,n){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var e=0;e<this.moduleCount;e++){this.modules[e]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[e][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,n),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=r.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,n)},r.prototype.setupPositionProbePattern=function(r,t){for(var n=-1;n<=7;n++)if(!(r+n<=-1||this.moduleCount<=r+n))for(var e=-1;e<=7;e++)t+e<=-1||this.moduleCount<=t+e||(this.modules[r+n][t+e]=n>=0&&n<=6&&(0===e||6===e)||e>=0&&e<=6&&(0===n||6===n)||n>=2&&n<=4&&e>=2&&e<=4)},r.prototype.getBestMaskPattern=function(){for(var r=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var i=e.QRUtil.getLostPoint(this);(0===n||r>i)&&(r=i,t=n)}return t},r.prototype.createMovieClip=function(r,t,n){var e=r.createEmptyMovieClip(t,n);this.make();for(var i=0;i<this.modules.length;i++)for(var o=1*i,s=0;s<this.modules[i].length;s++){var f=1*s;this.modules[i][s]&&(e.beginFill(0,100),e.moveTo(f,o),e.lineTo(f+1,o),e.lineTo(f+1,o+1),e.lineTo(f,o+1),e.endFill())}return e},r.prototype.setupTimingPattern=function(){for(var r=8;r<this.moduleCount-8;r++)null==this.modules[r][6]&&(this.modules[r][6]=r%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},r.prototype.setupPositionAdjustPattern=function(){for(var r=e.QRUtil.getPatternPosition(this.typeNumber),t=0;t<r.length;t++)for(var n=0;n<r.length;n++){var i=r[t],o=r[n];if(null==this.modules[i][o])for(var s=-2;s<=2;s++)for(var f=-2;f<=2;f++)this.modules[i+s][o+f]=-2===s||2===s||-2===f||2===f||0===s&&0===f}},r.prototype.setupTypeNumber=function(r){for(var t=e.QRUtil.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var i=!r&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=i}for(n=0;n<18;n++)i=!r&&1==(t>>n&1),this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=i},r.prototype.setupTypeInfo=function(r,t){for(var n=e.QRUtil.getBCHTypeInfo(this.errorCorrectLevel<<3|t),i=0;i<15;i++){var o=!r&&1==(n>>i&1);i<6?this.modules[i][8]=o:i<8?this.modules[i+1][8]=o:this.modules[this.moduleCount-15+i][8]=o}for(i=0;i<15;i++)o=!r&&1==(n>>i&1),i<8?this.modules[8][this.moduleCount-i-1]=o:i<9?this.modules[8][15-i-1+1]=o:this.modules[8][15-i-1]=o;this.modules[this.moduleCount-8][8]=!r},r.prototype.mapData=function(r,t){for(var n=-1,i=this.moduleCount-1,o=7,s=0,f=this.moduleCount-1;f>0;f-=2)for(6===f&&f--;;){for(var u=0;u<2;u++)if(null==this.modules[i][f-u]){var a=!1;s<r.length&&(a=1==(r[s]>>>o&1)),e.QRUtil.getMask(t,i,f-u)&&(a=!a),this.modules[i][f-u]=a,-1==--o&&(s++,o=7)}if((i+=n)<0||this.moduleCount<=i){i-=n,n=-n;break}}},r.createData=function(t,n,i){for(var f=s.default.getRSBlocks(t,n),u=new o.default,a=0;a<i.length;a++){var h=i[a];u.put(h.mode,4),u.put(h.getLength(),e.QRUtil.getLengthInBits(h.mode,t)),h.write(u)}var c=0;for(a=0;a<f.length;a++)c+=f[a].dataCount;if(u.getLengthInBits()>8*c)throw new Error("code length overflow. ("+u.getLengthInBits()+">"+8*c+")");for(u.getLengthInBits()+4<=8*c&&u.put(0,4);u.getLengthInBits()%8!=0;)u.putBit(!1);for(;!(u.getLengthInBits()>=8*c||(u.put(r.PAD0,8),u.getLengthInBits()>=8*c));)u.put(r.PAD1,8);return r.createBytes(u,f)},r.createBytes=function(r,t){for(var n=0,i=0,o=0,s=new Array(t.length),u=new Array(t.length),a=0;a<t.length;a++){var h=t[a].dataCount,c=t[a].totalCount-h;i=Math.max(i,h),o=Math.max(o,c),s[a]=new Array(h);for(var v=0;v<s[a].length;v++)s[a][v]=255&r.buffer[v+n];n+=h;var l=e.QRUtil.getErrorCorrectPolynomial(c),w=new f.default(s[a],l.getLength()-1).mod(l);for(u[a]=new Array(l.getLength()-1),v=0;v<u[a].length;v++){var d=v+w.getLength()-u[a].length;u[a][v]=d>=0?w.get(d):0}}var M=0;for(v=0;v<t.length;v++)M+=t[v].totalCount;var b=new Array(M),E=0;for(v=0;v<i;v++)for(a=0;a<t.length;a++)v<s[a].length&&(b[E++]=s[a][v]);for(v=0;v<o;v++)for(a=0;a<t.length;a++)v<u[a].length&&(b[E++]=u[a][v]);return b},r.createCanvas=function(t){var n=Object.assign({width:256,height:256,correctLevel:u.QRErrorCorrectLevel.H,background:"#ffffff",foreground:"#000000"},t),e=new r(-1,n.correctLevel);e.addData(n.text),e.make();var i=document.createElement("canvas");i.width=n.width,i.height=n.height;for(var o=i.getContext("2d"),s=n.width/e.getModuleCount(),f=n.height/e.getModuleCount(),a=0;a<e.getModuleCount();a++)for(var h=0;h<e.getModuleCount();h++){o.fillStyle=e.isDark(a,h)?n.foreground:n.background;var c=Math.ceil((h+1)*s)-Math.floor(h*s),v=Math.ceil((a+1)*f)-Math.floor(a*f);o.fillRect(Math.round(h*s),Math.round(a*f),c,v)}return i},r.setCanvas=function(t,n){var e=document.getElementById(t);e.innerHTML="",e.appendChild(r.createCanvas(n))},r.PAD0=236,r.PAD1=17,r}();t.QRCode=h},function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0});var e=n(0),i=n(1),o=n(2);t.QRUtil={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(r){for(var n=r<<10;t.QRUtil.getBCHDigit(n)-t.QRUtil.getBCHDigit(t.QRUtil.G15)>=0;)n^=t.QRUtil.G15<<t.QRUtil.getBCHDigit(n)-t.QRUtil.getBCHDigit(t.QRUtil.G15);return(r<<10|n)^t.QRUtil.G15_MASK},getBCHTypeNumber:function(r){for(var n=r<<12;t.QRUtil.getBCHDigit(n)-t.QRUtil.getBCHDigit(t.QRUtil.G18)>=0;)n^=t.QRUtil.G18<<t.QRUtil.getBCHDigit(n)-t.QRUtil.getBCHDigit(t.QRUtil.G18);return r<<12|n},getBCHDigit:function(r){for(var t=0;0!==r;)t++,r>>>=1;return t},getPatternPosition:function(r){return t.QRUtil.PATTERN_POSITION_TABLE[r-1]},getMask:function(r,t,n){switch(r){case e.QRMaskPattern.PATTERN000:return(t+n)%2==0;case e.QRMaskPattern.PATTERN001:return t%2==0;case e.QRMaskPattern.PATTERN010:return n%3==0;case e.QRMaskPattern.PATTERN011:return(t+n)%3==0;case e.QRMaskPattern.PATTERN100:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case e.QRMaskPattern.PATTERN101:return t*n%2+t*n%3==0;case e.QRMaskPattern.PATTERN110:return(t*n%2+t*n%3)%2==0;case e.QRMaskPattern.PATTERN111:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+r)}},getErrorCorrectPolynomial:function(r){for(var t=new o.default([1],0),n=0;n<r;n++)t=t.multiply(new o.default([1,i.QRMath.gexp(n)],0));return t},getLengthInBits:function(r,t){if(t>=1&&t<10)switch(r){case e.QRMode.MODE_NUMBER:return 10;case e.QRMode.MODE_ALPHA_NUM:return 9;case e.QRMode.MODE_8BIT_BYTE:case e.QRMode.MODE_KANJI:return 8;default:throw new Error("mode:"+r)}else if(t<27)switch(r){case e.QRMode.MODE_NUMBER:return 12;case e.QRMode.MODE_ALPHA_NUM:return 11;case e.QRMode.MODE_8BIT_BYTE:return 16;case e.QRMode.MODE_KANJI:return 10;default:throw new Error("mode:"+r)}else{if(!(t<41))throw new Error("type:"+t);switch(r){case e.QRMode.MODE_NUMBER:return 14;case e.QRMode.MODE_ALPHA_NUM:return 13;case e.QRMode.MODE_8BIT_BYTE:return 16;case e.QRMode.MODE_KANJI:return 12;default:throw new Error("mode:"+r)}}},getLostPoint:function(r){for(var t=r.getModuleCount(),n=0,e=0;e<t;e++)for(var i=0;i<t;i++){for(var o=0,s=r.isDark(e,i),f=-1;f<=1;f++)if(!(e+f<0||t<=e+f))for(var u=-1;u<=1;u++)i+u<0||t<=i+u||0===f&&0===u||s===r.isDark(e+f,i+u)&&o++;o>5&&(n+=3+o-5)}for(e=0;e<t-1;e++)for(i=0;i<t-1;i++){var a=0;r.isDark(e,i)&&a++,r.isDark(e+1,i)&&a++,r.isDark(e,i+1)&&a++,r.isDark(e+1,i+1)&&a++,0!==a&&4!==a||(n+=3)}for(e=0;e<t;e++)for(i=0;i<t-6;i++)r.isDark(e,i)&&!r.isDark(e,i+1)&&r.isDark(e,i+2)&&r.isDark(e,i+3)&&r.isDark(e,i+4)&&!r.isDark(e,i+5)&&r.isDark(e,i+6)&&(n+=40);for(i=0;i<t;i++)for(e=0;e<t-6;e++)r.isDark(e,i)&&!r.isDark(e+1,i)&&r.isDark(e+2,i)&&r.isDark(e+3,i)&&r.isDark(e+4,i)&&!r.isDark(e+5,i)&&r.isDark(e+6,i)&&(n+=40);var h=0;for(i=0;i<t;i++)for(e=0;e<t;e++)r.isDark(e,i)&&h++;return n+Math.abs(100*h/t/t-50)/5*10}}},function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0});var e=n(0),i=function(){function r(r){this.mode=e.QRMode.MODE_8BIT_BYTE,this.data=r}return r.prototype.getLength=function(){return this.data.length},r.prototype.write=function(r){for(var t=0;t<this.data.length;t++)r.put(this.data.charCodeAt(t),8)},r}();t.default=i},function(r,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function r(){this.buffer=[],this.length=0}return r.prototype.get=function(r){var t=Math.floor(r/8);return 1==(this.buffer[t]>>>7-r%8&1)},r.prototype.put=function(r,t){for(var n=0;n<t;n++)this.putBit(1==(r>>>t-n-1&1))},r.prototype.getLengthInBits=function(){return this.length},r.prototype.putBit=function(r){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),r&&(this.buffer[t]|=128>>>this.length%8),this.length++},r}();t.default=n},function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0});var e=n(0),i=function(){function r(r,t){this.totalCount=r,this.dataCount=t}return r.getRSBlocks=function(t,n){var e=this.getRsBlockTable(t,n);if(void 0===e)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+n);for(var i=e.length/3,o=[],s=0;s<i;s++)for(var f=e[3*s],u=e[3*s+1],a=e[3*s+2],h=0;h<f;h++)o.push(new r(u,a));return o},r.getRsBlockTable=function(r,t){switch(t){case e.QRErrorCorrectLevel.L:return this.RS_BLOCK_TABLE[4*(r-1)];case e.QRErrorCorrectLevel.M:return this.RS_BLOCK_TABLE[4*(r-1)+1];case e.QRErrorCorrectLevel.Q:return this.RS_BLOCK_TABLE[4*(r-1)+2];case e.QRErrorCorrectLevel.H:return this.RS_BLOCK_TABLE[4*(r-1)+3];default:return}},r.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],r}();t.default=i}])}));const o=class{constructor(t){r(this,t),this.link="https://example.com",this.size=258}componentDidLoad(){this.setShadowCanvas("qrcode",{width:this.size,height:this.size,correctLevel:i.QRErrorCorrectLevel.H,background:"#ffffff",foreground:"#000000",text:this.link})}setShadowCanvas(r,t){const n=this.hostElement.shadowRoot.getElementById(r);n.innerHTML="",n.appendChild(i.QRCode.createCanvas(t))}render(){return t("div",{id:"qrcode"})}get hostElement(){return n(this)}};o.style="";export{o as tttx_qrcode_1_9_64}