globuswebcomponents 1.0.8 → 1.0.9

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 (261) hide show
  1. package/dist/cjs/gb-avatar_3.cjs.entry.js +186 -0
  2. package/dist/cjs/gb-avatar_3.cjs.entry.js.map +1 -0
  3. package/dist/cjs/gb-badge_2.cjs.entry.js +111 -0
  4. package/dist/cjs/gb-badge_2.cjs.entry.js.map +1 -0
  5. package/dist/cjs/gb-btn_4.cjs.entry.js +169 -0
  6. package/dist/cjs/gb-btn_4.cjs.entry.js.map +1 -0
  7. package/dist/cjs/gb-button.cjs.entry.js +90 -0
  8. package/dist/cjs/gb-button.cjs.entry.js.map +1 -0
  9. package/dist/cjs/gb-checkbox_2.cjs.entry.js +176 -0
  10. package/dist/cjs/gb-checkbox_2.cjs.entry.js.map +1 -0
  11. package/dist/cjs/gb-collapse-button_4.cjs.entry.js +158 -0
  12. package/dist/cjs/gb-collapse-button_4.cjs.entry.js.map +1 -0
  13. package/dist/cjs/gb-help-tooltip_4.cjs.entry.js +675 -0
  14. package/dist/cjs/gb-help-tooltip_4.cjs.entry.js.map +1 -0
  15. package/dist/cjs/gb-input-dropdown-menu-item_5.cjs.entry.js +144 -0
  16. package/dist/cjs/gb-input-dropdown-menu-item_5.cjs.entry.js.map +1 -0
  17. package/dist/cjs/gb-pagination.cjs.entry.js +4 -3
  18. package/dist/cjs/gb-pagination.cjs.entry.js.map +1 -1
  19. package/dist/cjs/gb-sidebar.cjs.entry.js +123 -0
  20. package/dist/cjs/gb-sidebar.cjs.entry.js.map +1 -0
  21. package/dist/cjs/gb-textarea-input-field.cjs.entry.js +218 -0
  22. package/dist/cjs/gb-textarea-input-field.cjs.entry.js.map +1 -0
  23. package/dist/cjs/gb-tooltip.cjs.entry.js +39 -0
  24. package/dist/cjs/gb-tooltip.cjs.entry.js.map +1 -0
  25. package/dist/cjs/globuscomponents.cjs.js +1 -1
  26. package/dist/cjs/loader.cjs.js +1 -1
  27. package/dist/collection/components/gb-button/readme.md +50 -48
  28. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +1 -1
  29. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
  30. package/dist/collection/components/gb-input-field/gb-input-field.js +62 -64
  31. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  32. package/dist/collection/components/gb-pagination/gb-pagination.js +4 -3
  33. package/dist/collection/components/gb-pagination/gb-pagination.js.map +1 -1
  34. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.css +1 -0
  35. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +56 -18
  36. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js.map +1 -1
  37. package/dist/components/gb-input-dropdown.js +1 -1
  38. package/dist/components/gb-input-field.js +1 -1
  39. package/dist/components/gb-pagination.js +6 -5
  40. package/dist/components/gb-pagination.js.map +1 -1
  41. package/dist/components/gb-rich-text.js +3 -3
  42. package/dist/components/gb-textarea-input-field.js +57 -20
  43. package/dist/components/gb-textarea-input-field.js.map +1 -1
  44. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  45. package/dist/components/{p-f6515d55.js → p-20d7ba96.js} +63 -66
  46. package/dist/components/p-20d7ba96.js.map +1 -0
  47. package/dist/components/{p-cec5b90c.js → p-7345f5b6.js} +3 -3
  48. package/dist/components/{p-cec5b90c.js.map → p-7345f5b6.js.map} +1 -1
  49. package/dist/components/{p-495583dd.js → p-7c1b28b5.js} +3 -3
  50. package/dist/components/p-7c1b28b5.js.map +1 -0
  51. package/dist/docs.json +2 -2
  52. package/dist/esm/gb-avatar-add-button.entry.js +1 -1
  53. package/dist/esm/gb-avatar-dropdown.entry.js +1 -1
  54. package/dist/esm/gb-avatar-group.entry.js +1 -1
  55. package/dist/esm/gb-avatar-label-group.entry.js +1 -1
  56. package/dist/esm/gb-avatar-profile-photo.entry.js +1 -1
  57. package/dist/esm/gb-avatar_3.entry.js +180 -0
  58. package/dist/esm/gb-avatar_3.entry.js.map +1 -0
  59. package/dist/esm/gb-badge_2.entry.js +106 -0
  60. package/dist/esm/gb-badge_2.entry.js.map +1 -0
  61. package/dist/esm/gb-btn_4.entry.js +162 -0
  62. package/dist/esm/gb-btn_4.entry.js.map +1 -0
  63. package/dist/esm/gb-button-close_3.entry.js +1 -1
  64. package/dist/esm/gb-button.entry.js +86 -0
  65. package/dist/esm/gb-button.entry.js.map +1 -0
  66. package/dist/esm/gb-carousel-arrow.entry.js +1 -1
  67. package/dist/esm/gb-checkbox-group-item.entry.js +1 -1
  68. package/dist/esm/gb-checkbox-group.entry.js +1 -1
  69. package/dist/esm/gb-checkbox_2.entry.js +171 -0
  70. package/dist/esm/gb-checkbox_2.entry.js.map +1 -0
  71. package/dist/esm/gb-collapse-button_4.entry.js +151 -0
  72. package/dist/esm/gb-collapse-button_4.entry.js.map +1 -0
  73. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +1 -1
  74. package/dist/esm/gb-export-dropdown-item_2.entry.js +1 -1
  75. package/dist/esm/gb-export-dropdown.entry.js +1 -1
  76. package/dist/esm/gb-export-sub-dropdown-item.entry.js +1 -1
  77. package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
  78. package/dist/esm/gb-file-upload.entry.js +1 -1
  79. package/dist/esm/gb-header-icon.entry.js +1 -1
  80. package/dist/esm/gb-header.entry.js +1 -1
  81. package/dist/esm/gb-help-dropdown.entry.js +1 -1
  82. package/dist/esm/gb-help-tooltip_4.entry.js +668 -0
  83. package/dist/esm/gb-help-tooltip_4.entry.js.map +1 -0
  84. package/dist/esm/gb-horizontal-tabs.entry.js +1 -1
  85. package/dist/esm/gb-input-dropdown-menu-item_5.entry.js +136 -0
  86. package/dist/esm/gb-input-dropdown-menu-item_5.entry.js.map +1 -0
  87. package/dist/esm/gb-notification-content.entry.js +1 -1
  88. package/dist/esm/gb-notification-pane.entry.js +1 -1
  89. package/dist/esm/gb-pagination-button-group-base_2.entry.js +1 -1
  90. package/dist/esm/gb-pagination-dot-group.entry.js +1 -1
  91. package/dist/esm/gb-pagination-dot-indicator.entry.js +1 -1
  92. package/dist/esm/gb-pagination.entry.js +5 -4
  93. package/dist/esm/gb-pagination.entry.js.map +1 -1
  94. package/dist/esm/gb-progress-circle.entry.js +1 -1
  95. package/dist/esm/gb-rich-text.entry.js +1 -1
  96. package/dist/esm/gb-scrollbar.entry.js +1 -1
  97. package/dist/esm/gb-sidebar.entry.js +119 -0
  98. package/dist/esm/gb-sidebar.entry.js.map +1 -0
  99. package/dist/esm/gb-slider-control-handle.entry.js +1 -1
  100. package/dist/esm/gb-slider.entry.js +1 -1
  101. package/dist/esm/gb-tab-button-base.entry.js +1 -1
  102. package/dist/esm/gb-textarea-input-field.entry.js +214 -0
  103. package/dist/esm/gb-textarea-input-field.entry.js.map +1 -0
  104. package/dist/esm/gb-toast-button.entry.js +1 -1
  105. package/dist/esm/gb-toast.entry.js +1 -1
  106. package/dist/esm/gb-toggle-base.entry.js +1 -1
  107. package/dist/esm/gb-toggle.entry.js +1 -1
  108. package/dist/esm/gb-tooltip.entry.js +35 -0
  109. package/dist/esm/gb-tooltip.entry.js.map +1 -0
  110. package/dist/esm/gb-vertical-tabs.entry.js +1 -1
  111. package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
  112. package/dist/esm/gb-wysiwyg-toolbar.entry.js +1 -1
  113. package/dist/esm/gb-wysiwyg-tooltip.entry.js +1 -1
  114. package/dist/esm/globuscomponents.js +3 -3
  115. package/dist/esm/{index-4b3f6d77.js → index-40a08107.js} +2 -2
  116. package/dist/esm/{index-4b3f6d77.js.map → index-40a08107.js.map} +1 -1
  117. package/dist/esm/loader.js +3 -3
  118. package/dist/esm/test-input-tag.entry.js +1 -1
  119. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  120. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  121. package/dist/globuscomponents/p-02bc91dc.entry.js +2 -0
  122. package/dist/globuscomponents/{p-75988614.entry.js.map → p-02bc91dc.entry.js.map} +1 -1
  123. package/dist/globuscomponents/{p-bcb96e82.entry.js → p-04cf4e3c.entry.js} +2 -2
  124. package/dist/globuscomponents/p-04f0cab4.entry.js +2 -0
  125. package/dist/globuscomponents/{p-623948cd.entry.js.map → p-04f0cab4.entry.js.map} +1 -1
  126. package/dist/globuscomponents/{p-524c0404.entry.js → p-053f4522.entry.js} +2 -2
  127. package/dist/globuscomponents/{p-0410b6df.entry.js → p-05b2248b.entry.js} +2 -2
  128. package/dist/globuscomponents/p-0e790c8d.entry.js +2 -0
  129. package/dist/globuscomponents/{p-57afd81a.entry.js.map → p-0e790c8d.entry.js.map} +1 -1
  130. package/dist/globuscomponents/p-129fb0a8.entry.js +2 -0
  131. package/dist/globuscomponents/p-129fb0a8.entry.js.map +1 -0
  132. package/dist/globuscomponents/{p-75988614.entry.js → p-1b7ae2d3.entry.js} +2 -2
  133. package/dist/globuscomponents/p-1b7ae2d3.entry.js.map +1 -0
  134. package/dist/globuscomponents/{p-9f35fda2.entry.js → p-223299d1.entry.js} +2 -2
  135. package/dist/globuscomponents/{p-bac53953.entry.js → p-26d17140.entry.js} +2 -2
  136. package/dist/globuscomponents/{p-818a14e9.entry.js → p-39e8e77b.entry.js} +2 -2
  137. package/dist/globuscomponents/p-3de0f9ca.entry.js +2 -0
  138. package/dist/globuscomponents/p-3de0f9ca.entry.js.map +1 -0
  139. package/dist/globuscomponents/{p-6dc28d3d.entry.js → p-410550c6.entry.js} +2 -2
  140. package/dist/globuscomponents/{p-59d20c30.entry.js → p-4127412b.entry.js} +2 -2
  141. package/dist/globuscomponents/{p-d9509ace.entry.js → p-42392914.entry.js} +2 -2
  142. package/dist/globuscomponents/p-440f937d.entry.js +2 -0
  143. package/dist/globuscomponents/{p-c95842ae.entry.js.map → p-440f937d.entry.js.map} +1 -1
  144. package/dist/globuscomponents/p-594acc52.entry.js +2 -0
  145. package/dist/globuscomponents/{p-f248f3fd.entry.js → p-5d280eca.entry.js} +2 -2
  146. package/dist/globuscomponents/{p-fc681fa9.entry.js → p-638a8a50.entry.js} +2 -2
  147. package/dist/globuscomponents/p-6964d1ff.entry.js +2 -0
  148. package/dist/globuscomponents/{p-d3848e3c.entry.js.map → p-6964d1ff.entry.js.map} +1 -1
  149. package/dist/globuscomponents/{p-c4769f4d.entry.js → p-6d8e0e31.entry.js} +2 -2
  150. package/dist/globuscomponents/{p-6f708ea2.entry.js → p-75756069.entry.js} +2 -2
  151. package/dist/globuscomponents/p-75756069.entry.js.map +1 -0
  152. package/dist/globuscomponents/{p-dd2d7d64.entry.js → p-75ea72c8.entry.js} +2 -2
  153. package/dist/globuscomponents/p-773a13cc.entry.js +2 -0
  154. package/dist/globuscomponents/p-773a13cc.entry.js.map +1 -0
  155. package/dist/globuscomponents/{p-112fe0dd.entry.js → p-79c45c48.entry.js} +2 -2
  156. package/dist/globuscomponents/p-875e11ee.entry.js +2 -0
  157. package/dist/globuscomponents/p-875e11ee.entry.js.map +1 -0
  158. package/dist/globuscomponents/{p-a0a50839.entry.js → p-8a49b168.entry.js} +2 -2
  159. package/dist/globuscomponents/{p-0c123fd6.entry.js → p-8ba7ae32.entry.js} +2 -2
  160. package/dist/globuscomponents/{p-a7fcbdee.entry.js → p-8dc5c4b2.entry.js} +2 -2
  161. package/dist/globuscomponents/{p-35ad112a.entry.js → p-966cd1bc.entry.js} +2 -2
  162. package/dist/globuscomponents/{p-e8a2ef96.entry.js → p-9dc818a7.entry.js} +2 -2
  163. package/dist/globuscomponents/{p-ebe51f1a.entry.js → p-9f5ba672.entry.js} +2 -2
  164. package/dist/globuscomponents/{p-79c2f800.entry.js → p-a457d63d.entry.js} +2 -2
  165. package/dist/globuscomponents/p-a536ba4c.entry.js +2 -0
  166. package/dist/globuscomponents/{p-83c744d6.entry.js.map → p-a536ba4c.entry.js.map} +1 -1
  167. package/dist/globuscomponents/{p-61bd6d69.entry.js → p-a7fc9c04.entry.js} +2 -2
  168. package/dist/globuscomponents/p-b89a233e.entry.js +2 -0
  169. package/dist/globuscomponents/p-b89a233e.entry.js.map +1 -0
  170. package/dist/globuscomponents/{p-fd82021b.entry.js → p-b8c515cf.entry.js} +2 -2
  171. package/dist/globuscomponents/{p-379f3ca1.entry.js → p-bbdf83e1.entry.js} +2 -2
  172. package/dist/globuscomponents/p-bbdf83e1.entry.js.map +1 -0
  173. package/dist/globuscomponents/{p-497724b2.entry.js → p-c2a3736b.entry.js} +2 -2
  174. package/dist/globuscomponents/p-c59d206f.entry.js +2 -0
  175. package/dist/globuscomponents/p-c59d206f.entry.js.map +1 -0
  176. package/dist/globuscomponents/p-c752a6ed.entry.js +2 -0
  177. package/dist/globuscomponents/p-c752a6ed.entry.js.map +1 -0
  178. package/dist/globuscomponents/p-c7d89a0d.entry.js +2 -0
  179. package/dist/globuscomponents/{p-24d227d0.entry.js.map → p-c7d89a0d.entry.js.map} +1 -1
  180. package/dist/globuscomponents/{p-060b0bf8.entry.js → p-c9eec1ba.entry.js} +2 -2
  181. package/dist/globuscomponents/{p-0d5efea5.entry.js → p-d50ae32d.entry.js} +2 -2
  182. package/dist/globuscomponents/{p-bbaf2d10.entry.js → p-d6054ed3.entry.js} +2 -2
  183. package/dist/globuscomponents/{p-994950d8.entry.js → p-dbc4000c.entry.js} +2 -2
  184. package/dist/globuscomponents/p-e07cc9b1.entry.js +2 -0
  185. package/dist/globuscomponents/p-e07cc9b1.entry.js.map +1 -0
  186. package/dist/globuscomponents/{p-bf92be61.js → p-ec3a36ed.js} +2 -2
  187. package/dist/globuscomponents/{p-38bea668.entry.js → p-ee0d76e5.entry.js} +2 -2
  188. package/dist/globuscomponents/p-f06f4962.entry.js +2 -0
  189. package/dist/globuscomponents/p-f06f4962.entry.js.map +1 -0
  190. package/dist/globuscomponents/{p-6e3f7bb2.entry.js → p-f43a6dc9.entry.js} +2 -2
  191. package/dist/globuscomponents/{p-76d093ef.entry.js → p-f662e95e.entry.js} +2 -2
  192. package/dist/globuscomponents/readme.md +50 -48
  193. package/dist/types/components/gb-input-field/gb-input-field.d.ts +1 -0
  194. package/dist/types/components/gb-textarea-input-field/gb-textarea-input-field.d.ts +2 -0
  195. package/package.json +1 -1
  196. package/dist/cjs/gb-avatar_25.cjs.entry.js +0 -1897
  197. package/dist/cjs/gb-avatar_25.cjs.entry.js.map +0 -1
  198. package/dist/cjs/gb-megainput-field.cjs.entry.js +0 -42
  199. package/dist/cjs/gb-megainput-field.cjs.entry.js.map +0 -1
  200. package/dist/cjs/gb-token-field.cjs.entry.js +0 -28
  201. package/dist/cjs/gb-token-field.cjs.entry.js.map +0 -1
  202. package/dist/cjs/gb-verification-code-field.cjs.entry.js +0 -32
  203. package/dist/cjs/gb-verification-code-field.cjs.entry.js.map +0 -1
  204. package/dist/components/p-495583dd.js.map +0 -1
  205. package/dist/components/p-f6515d55.js.map +0 -1
  206. package/dist/esm/gb-avatar_25.entry.js +0 -1869
  207. package/dist/esm/gb-avatar_25.entry.js.map +0 -1
  208. package/dist/esm/gb-megainput-field.entry.js +0 -38
  209. package/dist/esm/gb-megainput-field.entry.js.map +0 -1
  210. package/dist/esm/gb-token-field.entry.js +0 -24
  211. package/dist/esm/gb-token-field.entry.js.map +0 -1
  212. package/dist/esm/gb-verification-code-field.entry.js +0 -28
  213. package/dist/esm/gb-verification-code-field.entry.js.map +0 -1
  214. package/dist/globuscomponents/p-09ba896b.entry.js +0 -2
  215. package/dist/globuscomponents/p-09ba896b.entry.js.map +0 -1
  216. package/dist/globuscomponents/p-24d227d0.entry.js +0 -2
  217. package/dist/globuscomponents/p-379f3ca1.entry.js.map +0 -1
  218. package/dist/globuscomponents/p-57afd81a.entry.js +0 -2
  219. package/dist/globuscomponents/p-5a736f4a.entry.js +0 -2
  220. package/dist/globuscomponents/p-623948cd.entry.js +0 -2
  221. package/dist/globuscomponents/p-6f708ea2.entry.js.map +0 -1
  222. package/dist/globuscomponents/p-83c744d6.entry.js +0 -2
  223. package/dist/globuscomponents/p-c835beab.entry.js +0 -2
  224. package/dist/globuscomponents/p-c835beab.entry.js.map +0 -1
  225. package/dist/globuscomponents/p-c95842ae.entry.js +0 -2
  226. package/dist/globuscomponents/p-d3848e3c.entry.js +0 -2
  227. package/dist/globuscomponents/p-fcd3a902.entry.js +0 -2
  228. package/dist/globuscomponents/p-fcd3a902.entry.js.map +0 -1
  229. /package/dist/globuscomponents/{p-bcb96e82.entry.js.map → p-04cf4e3c.entry.js.map} +0 -0
  230. /package/dist/globuscomponents/{p-524c0404.entry.js.map → p-053f4522.entry.js.map} +0 -0
  231. /package/dist/globuscomponents/{p-0410b6df.entry.js.map → p-05b2248b.entry.js.map} +0 -0
  232. /package/dist/globuscomponents/{p-9f35fda2.entry.js.map → p-223299d1.entry.js.map} +0 -0
  233. /package/dist/globuscomponents/{p-bac53953.entry.js.map → p-26d17140.entry.js.map} +0 -0
  234. /package/dist/globuscomponents/{p-818a14e9.entry.js.map → p-39e8e77b.entry.js.map} +0 -0
  235. /package/dist/globuscomponents/{p-6dc28d3d.entry.js.map → p-410550c6.entry.js.map} +0 -0
  236. /package/dist/globuscomponents/{p-59d20c30.entry.js.map → p-4127412b.entry.js.map} +0 -0
  237. /package/dist/globuscomponents/{p-d9509ace.entry.js.map → p-42392914.entry.js.map} +0 -0
  238. /package/dist/globuscomponents/{p-5a736f4a.entry.js.map → p-594acc52.entry.js.map} +0 -0
  239. /package/dist/globuscomponents/{p-f248f3fd.entry.js.map → p-5d280eca.entry.js.map} +0 -0
  240. /package/dist/globuscomponents/{p-fc681fa9.entry.js.map → p-638a8a50.entry.js.map} +0 -0
  241. /package/dist/globuscomponents/{p-c4769f4d.entry.js.map → p-6d8e0e31.entry.js.map} +0 -0
  242. /package/dist/globuscomponents/{p-dd2d7d64.entry.js.map → p-75ea72c8.entry.js.map} +0 -0
  243. /package/dist/globuscomponents/{p-112fe0dd.entry.js.map → p-79c45c48.entry.js.map} +0 -0
  244. /package/dist/globuscomponents/{p-a0a50839.entry.js.map → p-8a49b168.entry.js.map} +0 -0
  245. /package/dist/globuscomponents/{p-0c123fd6.entry.js.map → p-8ba7ae32.entry.js.map} +0 -0
  246. /package/dist/globuscomponents/{p-a7fcbdee.entry.js.map → p-8dc5c4b2.entry.js.map} +0 -0
  247. /package/dist/globuscomponents/{p-35ad112a.entry.js.map → p-966cd1bc.entry.js.map} +0 -0
  248. /package/dist/globuscomponents/{p-e8a2ef96.entry.js.map → p-9dc818a7.entry.js.map} +0 -0
  249. /package/dist/globuscomponents/{p-ebe51f1a.entry.js.map → p-9f5ba672.entry.js.map} +0 -0
  250. /package/dist/globuscomponents/{p-79c2f800.entry.js.map → p-a457d63d.entry.js.map} +0 -0
  251. /package/dist/globuscomponents/{p-61bd6d69.entry.js.map → p-a7fc9c04.entry.js.map} +0 -0
  252. /package/dist/globuscomponents/{p-fd82021b.entry.js.map → p-b8c515cf.entry.js.map} +0 -0
  253. /package/dist/globuscomponents/{p-497724b2.entry.js.map → p-c2a3736b.entry.js.map} +0 -0
  254. /package/dist/globuscomponents/{p-060b0bf8.entry.js.map → p-c9eec1ba.entry.js.map} +0 -0
  255. /package/dist/globuscomponents/{p-0d5efea5.entry.js.map → p-d50ae32d.entry.js.map} +0 -0
  256. /package/dist/globuscomponents/{p-bbaf2d10.entry.js.map → p-d6054ed3.entry.js.map} +0 -0
  257. /package/dist/globuscomponents/{p-994950d8.entry.js.map → p-dbc4000c.entry.js.map} +0 -0
  258. /package/dist/globuscomponents/{p-bf92be61.js.map → p-ec3a36ed.js.map} +0 -0
  259. /package/dist/globuscomponents/{p-38bea668.entry.js.map → p-ee0d76e5.entry.js.map} +0 -0
  260. /package/dist/globuscomponents/{p-6e3f7bb2.entry.js.map → p-f43a6dc9.entry.js.map} +0 -0
  261. /package/dist/globuscomponents/{p-76d093ef.entry.js.map → p-f662e95e.entry.js.map} +0 -0
@@ -9,12 +9,6 @@ export class GbInputField {
9
9
  document.execCommand('copy'); // Deprecated but works in most browsers
10
10
  // For modern browsers:
11
11
  navigator.clipboard.writeText(this.inputRef.value);
12
- // .then(() => {
13
- // console.log('Copied to clipboard');
14
- // })
15
- // .catch(err => {
16
- // console.error('Failed to copy: ', err);
17
- // });
18
12
  }
19
13
  };
20
14
  this.size = undefined;
@@ -56,7 +50,7 @@ export class GbInputField {
56
50
  // { objectName: 'Jane Smith', objectValue: 'jane.smith@example.com' },
57
51
  // { objectName: 'Alice Johnson', objectValue: 'alice.johnson@example.com' },
58
52
  // { objectName: 'Emmanuel Kadiri', objectValue: 'kadiri2047@gmail.com' },
59
- // 10
53
+ // 10,
60
54
  ];
61
55
  this.inputValue = '';
62
56
  this.tags = [];
@@ -100,30 +94,44 @@ export class GbInputField {
100
94
  // return mockData.filter(staff => staff.name.toLowerCase().includes(query.toLowerCase()));
101
95
  // }
102
96
  selectDropdownItem(item) {
103
- const isObject = typeof item === 'object';
104
- const isSelected = this.selectedItems.some(i => (isObject ? i.objectName === item.objectName : i === item));
105
- if (isSelected) {
106
- // Unselect item: Move it from selectedItems to unselectedItems
107
- this.value = this.selectedItems.filter(i => (isObject ? i.objectName !== item.objectName : i !== item));
108
- if (!this.unselectedItems.some(i => (isObject ? i.objectName === item.objectName : i === item))) {
109
- this.unselectedItems = [...this.unselectedItems, item];
97
+ if (this.value.length === 0) {
98
+ const isObject = typeof item === 'object';
99
+ const isSelected = this.selectedItems.some(i => (isObject ? i.objectName === item.objectName : i === item));
100
+ if (isSelected) {
101
+ // Unselect item: Move it from selectedItems to unselectedItems
102
+ this.selectedItems = this.selectedItems.filter(i => (isObject ? i.objectName !== item.objectName : i !== item));
103
+ if (!this.unselectedItems.some(i => (isObject ? i.objectName === item.objectName : i === item))) {
104
+ this.unselectedItems = [...this.unselectedItems, item];
105
+ }
106
+ this.inputValueChanged.emit(this.selectedItems);
107
+ }
108
+ else {
109
+ // Select item: Move it from unselectedItems to selectedItems
110
+ this.selectedItems = [...this.selectedItems, item];
111
+ this.unselectedItems = this.unselectedItems.filter(i => (isObject ? i.objectName !== item.objectName : i !== item));
112
+ this.inputValueChanged.emit(this.selectedItems);
110
113
  }
111
114
  }
112
115
  else {
113
- // Select item: Move it from unselectedItems to selectedItems
114
- this.selectedItems = [...this.selectedItems, item];
115
- this.unselectedItems = this.unselectedItems.filter(i => (isObject ? i.objectName !== item.objectName : i !== item));
116
- this.inputValueChanged.emit(this.selectedItems);
116
+ const isObject = typeof item === 'object';
117
+ const isSelected = this.selectedItems.some(i => (isObject ? i.objectName === item.objectName : i === item));
118
+ if (isSelected) {
119
+ this.value = this.value.filter(i => (isObject ? i.objectName !== item.objectName : i !== item));
120
+ console.log(this.value);
121
+ this.inputValueChanged.emit(this.value);
122
+ }
123
+ else {
124
+ this.value = [...this.value, item]; // Add item to array
125
+ this.inputValueChanged.emit(this.value);
126
+ }
117
127
  }
118
- // this.results = [];
119
- // this.showDropdown = false;
120
128
  this.updateStyles();
121
129
  }
122
130
  handleTagRemove(index) {
123
131
  if (this.value.length > 0) {
124
132
  this.value = [...this.value.slice(0, index), ...this.value.slice(index + 1)];
125
133
  console.log(this.value);
126
- this.updateStyles();
134
+ // this.updateStyles();
127
135
  }
128
136
  else {
129
137
  this.selectedItems = [...this.selectedItems.slice(0, index), ...this.selectedItems.slice(index + 1)];
@@ -195,6 +203,22 @@ export class GbInputField {
195
203
  this.selectedItem = option;
196
204
  this.showDropdown = false; // Close the dropdown
197
205
  }
206
+ updateSelectedItems(newValue) {
207
+ if (Array.isArray(newValue) && newValue.length > 0) {
208
+ this.selectedItems = [];
209
+ this.unselectedItems = [];
210
+ const objectValues = newValue.filter(val => typeof val === 'object' && val !== null);
211
+ const primitiveValues = newValue.filter(val => typeof val !== 'object');
212
+ this.selectedItems = this.results.filter(item => typeof item === 'object' && item !== null
213
+ ? objectValues.some(val => JSON.stringify(val) === JSON.stringify(item)) // Avoid object reference issues
214
+ : primitiveValues.includes(item));
215
+ this.unselectedItems = this.results.filter(item => typeof item === 'object' && item !== null ? !objectValues.some(val => JSON.stringify(val) === JSON.stringify(item)) : !primitiveValues.includes(item));
216
+ }
217
+ else {
218
+ this.selectedItems = [];
219
+ this.unselectedItems = [...this.results];
220
+ }
221
+ }
198
222
  componentWillLoad() {
199
223
  // this.selectedItem = this.options[0];
200
224
  if (this.options && this.options.length > 0) {
@@ -204,36 +228,7 @@ export class GbInputField {
204
228
  if (this.type !== 'tags') {
205
229
  this.selectedItem = null; // For single selection types
206
230
  }
207
- if (this.value.length > 0) {
208
- this.selectedItems = [];
209
- this.unselectedItems = [];
210
- // Separate objects from primitive values
211
- const objectValues = this.value.filter(val => typeof val === 'object' && val !== null);
212
- const primitiveValues = this.value.filter(val => typeof val !== 'object');
213
- // Find selected items
214
- this.selectedItems = this.results.filter(item => {
215
- if (typeof item === 'object' && item !== null) {
216
- return objectValues.some(val => val.objectName === item.objectName);
217
- }
218
- else {
219
- return primitiveValues.includes(item);
220
- }
221
- });
222
- // Find unselected items
223
- this.unselectedItems = this.results.filter(item => {
224
- if (typeof item === 'object' && item !== null) {
225
- return !objectValues.some(val => val.objectName === item.objectName);
226
- }
227
- else {
228
- return !primitiveValues.includes(item);
229
- }
230
- });
231
- }
232
- else {
233
- // If value array is empty, all items are unselected
234
- this.selectedItems = [];
235
- this.unselectedItems = [...this.results];
236
- }
231
+ this.updateSelectedItems(this.value);
237
232
  // console.log('Selected Items:', this.selectedItems);
238
233
  // console.log('Unselected Items:', this.unselectedItems);
239
234
  }
@@ -276,23 +271,23 @@ export class GbInputField {
276
271
  // this.inputElement.removeEventListener('input', this.handleTagInput.bind(this));
277
272
  // }
278
273
  render() {
279
- return (h("div", { key: '08995102ea0e056f02ef6e67c8468db9e0166b0a', class: `input_container` }, h("div", { key: '18e57594592d18afb605b99da317937a202db64b', class: `input_with_label` }, this.showLabel && h("p", { key: 'df803ca7c6941b5eb221924c95f15cd7a27cbab8', class: "label text-sm-medium" }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase()), this.type === 'default' && [
280
- h("div", { key: '4a1df41e59292235d8f78f933fbfcca609813b53', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '6e8de94c5ee53c96f6eb7a0cf74540c32bf7b9cb', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), h(Fragment, null, this.showValidation && (h("svg", { key: 'ba7a9608851569d7379885584dd44767f8a9ef7a', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: 'f95e9d27de8c2206cbc1a6db9c6ccd620efc0d6a', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '023c9f954303eea6afe517b3aaf7291ea422a702', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
274
+ return (h("div", { key: '7809435ef27bd511eace564e2b450708e5a270d6', class: `input_container` }, h("div", { key: 'ed7c2438817636c7f5128037deb7d11df46718c8', class: `input_with_label` }, this.showLabel && h("p", { key: '3261cb08a42726430e5dc98d980bce4eff270276', class: "label text-sm-medium" }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase()), this.type === 'default' && [
275
+ h("div", { key: '71120fc763cfdb882b9037038bebc71cf173ddc8', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '3136b5613230acd0baf6bf935d068e092a1a454e', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), h(Fragment, null, this.showValidation && (h("svg", { key: 'd236bad8410a30da29a6ab6da65c677a623989e5', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: '3babda9245f8af15b42d0ead67fc63a1c237c374', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '097838deecb0a0bf2281ab4a10e50d31d4f22c02', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
281
276
  ], this.type === 'icon_leading' && [
282
- h("div", { key: 'e26d74af15787146ca7e14dc6b8e37fe584632f6', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'c7a2d390c467cfdc6298bea2754cacffa6dcf77c', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: '565283eab31cc52b31cac1c6bd8740f5627cb58a', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value, ref: el => (this.inputRef = el) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: 'bc55d62d31f069cc2d5163c07873645b4d641fcc', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: 'a6d8283130d9811f28b88360215ee27b53f9f6ea', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'ec2c20b19952b27a578295d16433b0d129b534fe', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showCloseButton && !this.destructive && (h("gb-button", { key: '454f6e62a0bb93308c269ef1a9099d997eaaa040', size: this.size, hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg", onClick: () => this.clearInput(), class: `input_close_button ${this.size}` })))),
277
+ h("div", { key: '5d5d0fa4ffed69a8c5b34085f42c3efc9c825e12', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'aee58b36613a2e4ce348320b9bf314e05c2a08bc', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: '11caf01eff8e8864a615b39fd668eb3370e161ee', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value, ref: el => (this.inputRef = el) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: '24236ea61a6f9c51b75413d71959ce1bfc956743', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: '6a4f56b494c8efc8c90f65032da6afbc474e2d4f', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '5ab8fe72cae3bb21b8a708a589ee5931eb75c2e3', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showCloseButton && !this.destructive && (h("gb-button", { key: 'd1ed2b7703c0621d784e246886af20e0d46c57b8', size: this.size, hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg", onClick: () => this.clearInput(), class: `input_close_button ${this.size}` })))),
283
278
  ], this.type === 'leading_dropdown' && [
284
- h("div", { key: '5e09967d6b940f3fc51396b50fe832dec5e5306a', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '4efb51928af93c7ccec3ab8d69b22693ec76c6b5', class: `leading_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, this.showCountryIcon && (h("div", { key: 'dcb34091b5a44f701c0dfe05c8da1186fd73d32f', class: `country_icon` }, h("img", { key: '74e6feef49ab2be6e9b0ced59b6e5c18f7ef2086', src: "build/assets/NG.svg", alt: "" }))), h("div", { key: '809e2a02b54470261026b151eba892dbfb4829ff', class: `dropdown_text` }, h("p", { key: '3caf513756c3f246dbaa387c8c60c693a5dc9f63', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '1c5c528c2967d71a21a00742ba6918099f60cf61', class: `dropdown_arrow` }, h("svg", { key: '815840cdedb16098f7b5f49056efd5b494b4cd15', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '9fe56a4b0d724b84eaf87f37a158eed45271d59a', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '0da2f852ed77beb31faa47cbe59bc385a00fdd3e', class: `leading_dropdown_text_input` }, h("input", { key: 'b9789b0348ca6728056c7594f3e7a75f49ec490d', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showValidation && !this.destructive && (h("svg", { key: 'c31a5c6748f1130b8d2cdb690c4fe661e396d3f0', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'e62dd5c3bc7c94f9db93d48c7762c4cf020cbc53', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '6dcb4e165a789d8430875fa85dbe6b008960adaf', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
285
- h(Fragment, null, this.showDropdown && (h("div", { key: '2019a27d5109a65f94af2a51f878a7b7b9fc1b33', class: `dropdown_menu ${this.type} ${this.size} ${this.menuPosition}`, ref: el => (this.dropdownRef = el) }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
279
+ h("div", { key: 'fa16a676711f1dfdc612372ba9d15a81474c7853', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '6f883cd19b7f74887a88d4116b51663ccec10536', class: `leading_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, this.showCountryIcon && (h("div", { key: '8a3e2f6d99be404d472144558d471b938fc7ef89', class: `country_icon` }, h("img", { key: '0955ad9f7319d78146ff1a969e6ccafd75a20675', src: "build/assets/NG.svg", alt: "" }))), h("div", { key: '62a90e16aec6e4ffd0cbcb3cf9fea6bfafc2b001', class: `dropdown_text` }, h("p", { key: '896b8dab5d23d1d8878edca47e3bd572a12692b7', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: 'c688a4d664b6c006a6eee2baa0ef1321cfdbd00f', class: `dropdown_arrow` }, h("svg", { key: 'e4755d0325c414f7bf2cfd72b4ec67b68d0c658c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '01dbae5c22b01e87d0e46e727410e67d7487b800', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: 'a1638d1000b8daa1d1ee7b63fc06215d69229d1c', class: `leading_dropdown_text_input` }, h("input", { key: '8849b8da00c6bde7b61e613233662b8d0b082f66', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showValidation && !this.destructive && (h("svg", { key: '339438e6c10481df10b811c40fc0117755e8bec1', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'e0706b8d4bc7c978ce5fe0a3727ec7657157562d', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'b0fdcd4eb21a5f80dd06b595c70786b67641861a', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
280
+ h(Fragment, null, this.showDropdown && (h("div", { key: '0c63e820d993220dd8de22d3bbbccea1a49a2803', class: `dropdown_menu ${this.type} ${this.size} ${this.menuPosition}`, ref: el => (this.dropdownRef = el) }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
286
281
  ], this.type === 'trailing_dropdown' && [
287
- h("div", { key: '2b8e9a553ada38f42446a667e928883869aa20aa', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '65977fca0b83bdfefcd79bae1272548c7acdf01e', class: `trailing_dropdown_content` }, h("p", { key: '0eb7dfd0024b22c0c5089cbb4a73def0ee62ca3c', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: '879e2464c11cb580dfa71a5e4f165fb58ea11f87', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showHelpIcon && (h("div", { key: '32e86b002a254bd090ef1d09ed28958ef8c907ad', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '01e58ff919cc94751dda442423a9218aafae3747', class: `trailing_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: '11b8375a583fe982cd4e61b2c18808ceeb8dd8b3', class: `dropdown_text` }, h("p", { key: '0a788b941bb8de9a83b272c6b10719869bbcc034', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '0548896780e3353e2d24e51a107a7277d350980c', class: `dropdown_arrow` }, h("svg", { key: '52a8810736c2be7363100dfe60ba7f2956c92909', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'dd8be7a690314892213fe82c51cfc35db4826865', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))),
288
- h(Fragment, null, this.showDropdown && (h("div", { key: '3485837cd94be2bcc91bcb9b6bcf162ca0b3fdcb', class: `dropdown_menu ${this.type} ${this.size} ${this.menuPosition}`, ref: el => (this.dropdownRef = el) }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
282
+ h("div", { key: '1778132fcd6de2749923bb7312a54c409a3bbd58', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'bb1fe2fb5c4b3dda403bd5e3e8319a8aa8b99bfe', class: `trailing_dropdown_content` }, h("p", { key: '7a0e7dede4f62e8f3876f482730fc4ae7196050a', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: '6ee7c0d22a81a22586d22c05f16c2e8ec339925b', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showHelpIcon && (h("div", { key: '2b42c6e94e27717b50de6db0c0f2be36d697eea4', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '3b09967be92a8d9d0f7d11e556026d17225a7dd0', class: `trailing_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: 'b17977c17179330e6771abe2b611f9f6f741f981', class: `dropdown_text` }, h("p", { key: 'c41fcc9a72432c1c5fb6a5bd6a76a0c9345d68f0', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '149f8de4f4ba993d03c307fd80b62f1c26c51460', class: `dropdown_arrow` }, h("svg", { key: '4f170ea61d1be1a4d86448cc0aff5632f474c588', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '059eb7176c9546ddc626d88388760bf3b9637d65', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))),
283
+ h(Fragment, null, this.showDropdown && (h("div", { key: 'fab2e8e19e916ea7b5a79c47137052dda3eb5cb5', class: `dropdown_menu ${this.type} ${this.size} ${this.menuPosition}`, ref: el => (this.dropdownRef = el) }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
289
284
  ], this.type === 'leading_text' && [
290
- h("div", { key: 'f57fc338aabf7293ce9a05f74786abf09b33002e', class: "leading_text_input" }, h("div", { key: '14d3df8157029268c0f9ba0429ddc4352f7c34c9', class: `add_on` }, h("slot", { key: '23586c59d5c95a1e017408e54090904a215c769d', name: "text" })), h("div", { key: '9d565bf84c28d0588ec6afb56499eb23e8b0a7a3', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '4021f630cc3beecb8c0c6f5dcf5b43437caa8d2b', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showValidation && !this.destructive && (h("svg", { key: '75389e6646337b5fa9ad74473b41d81353999f8e', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '32a4702fc3bc0853a3b9085dbe8b80440d700abc', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'bc41cb2a6970a2f9d7329599cc7325e1fd44b370', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
291
- ], this.type === 'payment_input' && (h("div", { key: '237fc2ab8c5b653629ad73dc3473910e8e734c56', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: 'e1a1f1f86d4136c997fca7266d39749512a9f5a0', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: 'b12080a13960a3bd543cfecf9de8447b021a8e68', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#ED0006" }), h("path", { key: 'f447a0dadc402d955a90c2e1c6ac04879ebc479f', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#F9A000" }), h("path", { key: 'e9fc696a4e5546bfd40a3e0c464703e7691a9854', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z", fill: "#FF5E00" })), h("input", { key: '929654985106cd630730d4847ec441689f8145e0', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: '5f84eecdd7de6128b6c488ca37515c55612ccd2c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'cbed4257f7f37fbfaa1cee1980a57ba088350409', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '17dc7bef0c24206023a49a9842e9e083687c3e46', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: '565f76a55e7b359772ff556206502b65acfc34c6', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '7abbd2b7eb2d7d70c14aaa08fd5d316685112530', class: `trailing_button_text_input ${this.size}` }, h("input", { key: 'b9b0f67f0467f990d6bf3a207ac646ecf3c60f9f', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), ref: el => (this.inputRef = el), value: this.value }), this.showValidation && !this.destructive && (h("svg", { key: 'b7fe4e9011f642ca88d3b5aca04fe994f21d505f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '57fb939ac3c47d32ff7ffb15714f8e4cea1befe9', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'd52b24c2c6d5015a42a334985a7a983fb7d7f8c9', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("gb-button", { key: '9fe0a27c158ecf4ba70a263cc849246104bc77b7', size: "lg", hierarchy: "tertiary_gray", icon: "only", state: this.state === 'disabled' ? 'disabled' : 'default', "icon-leading": true, "icon-leading-swap": "assets/copy-01.svg", onClick: () => this.copyToClipboard() }))), this.type === 'password' && (h("div", { key: '77cedef354b16fa87589b1d684b5916646d8f71b', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'ed336339ba04a29bde08035da430263fdc22285a', class: `password_content` }, h("input", { key: '550a6befe49acd3e2869745745bf0af9fc95951e', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: '749937a3ea53fd36031f33090aea0ad3dfba717f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '2a729f5ca74e95d95e1bd31a93b807ce48636317', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '4b031c8769c6863140ef7e929dbee4b247bb1154', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'cb70d37c605ac0e00918d33e83edfec30d0994f4', class: `dropdown` }, h("gb-password-button", { key: '5578b67b3b231312ce3e215318512bd10ea9b8f8', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '6709411d4c61b75ad11d355b4d44a00a659efd1f', class: `password_icon_leading_input input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '33dd50fdb89da4613d380d04da42ba0a88faba81', class: `password_icon_leading_content` }, h("svg", { key: '8e57654448ca8b04a1abc905896dfdc3e9f9abf2', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'b13958cd19a87d9185b8db5c984fe648e1c818f2', d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5025 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5025 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5025 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5025 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58258L13.7347 6.83337L13.7003 7.58258ZM13.7003 18.2508L13.7347 19L13.7003 18.2508ZM16.4435 15.704L15.7002 15.6039L16.4435 15.704ZM6.29973 7.58258L6.33417 8.33179L6.29973 7.58258ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2508L6.33417 17.5015L6.29973 18.2508ZM3.55652 15.704L4.29981 15.6039L3.55652 15.704ZM5.50001 7.5C5.50001 7.91422 5.8358 8.25 6.25001 8.25C6.66422 8.25 7.00001 7.91422 7.00001 7.5H5.50001ZM13 7.5C13 7.91422 13.3358 8.25 13.75 8.25C14.1642 8.25 14.5 7.91422 14.5 7.5H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8142 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2295C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.25C11.3095 8.25 12.4972 8.27806 13.6659 8.33179L13.7347 6.83337C12.5424 6.77856 11.3317 6.75 10 6.75V8.25ZM6.33417 8.33179C7.50287 8.27806 8.69057 8.25 10 8.25V6.75C8.66829 6.75 7.45761 6.77856 6.26528 6.83337L6.33417 8.33179ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2295L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8142 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29067 15.5122 6.91509 13.7347 6.83337L13.6659 8.33179C14.6943 8.37907 15.5595 9.18437 15.7002 10.2295L17.1868 10.0293ZM13.7347 19C15.5122 18.9183 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83337C4.48781 6.91508 3.04732 8.29067 2.81323 10.0293L4.29981 10.2295C4.44052 9.18437 5.30576 8.37907 6.33417 8.33179L6.26528 6.83337ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9183 6.26528 19L6.33417 17.5015ZM7.00001 7.5V5.41667H5.50001V7.5H7.00001ZM13 5.41667V7.5H14.5V5.41667H13ZM10 2.41667C11.6569 2.41667 13 3.75981 13 5.41667H14.5C14.5 2.93139 12.4853 0.916668 10 0.916668V2.41667ZM7.00001 5.41667C7.00001 3.75981 8.34316 2.41667 10 2.41667V0.916668C7.51473 0.916668 5.50001 2.93139 5.50001 5.41667H7.00001Z", fill: "#4B5565" })), h("input", { key: 'b79a39d90caf9b82c7f4b1013b21f319d3dfd190', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })), this.showValidation && !this.destructive && (h("svg", { key: '68f2d23ead5a0ad27105bf175612f2309ccee5d8', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '83dd494bd08cffd58c574feb1fd24a6bec1e381c', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '170e23b7e229ae91fecf4bf3e15a67e5a714bfdf', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("gb-password-button", { key: '9f05421cb65b7cad8b5c5057d9267d488e51ecc9', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
292
- h("div", { key: '1d98d0a9a24111fe2dbe8cc695616fdd2914a464', class: `count_input` }, h("div", { key: '7e3b5692508108cef0816c29a9be119df1685bc1', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: 'f8fd1d333f414a229de3a729e31707410e13cb9a', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showHelpIcon && (h("div", { key: '764bbe011711437d1a5f574768a8520f34cc110d', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'c1f858308d1a339c0550517b223011f05915a471', class: `action ${this.state}` }, h("gb-button", { key: '094bfb498b338028d69e44f62b8c5b581e1a624f', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/minus_sign.svg" }), h("div", { key: '8c1d107020365171f020945f3f9e4a6111a05407', class: "vertical_line" }), h("gb-button", { key: '644a00b7dccf412bd77a3bdb3692814d1b3bcb2d', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
293
- ], this.type === 'tags' && (h("div", { key: '8dc8a228af712fb47438a6346c24928fd9e269f4', class: `input_group ${this.state}`, ref: el => (this.inputGroupElement = el), onClick: () => this.handleWrapperClick() }, h("div", { key: '13f6c88d6721867787c2d81d1be1de594c7a5dda', class: `input_like_parent ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`, onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, h("div", { key: 'cd04dd7b20be55050ee91fcc93677a562735cc62', class: `results_display ${this.state === 'disabled' ? 'disabled' : ''}`, ref: el => (this.resultsDisplayElement = el) }, this.value.length === 0 ? (h(Fragment, null, this.selectedItems.map((item, index) => (h(Fragment, null, typeof item === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, item.objectName.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, item.objectName.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("p", null, item)))))))) : (h(Fragment, null, this.value.map((val, index) => (h(Fragment, null, typeof val === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, val.objectName.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, val.objectName.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("p", null, val)))))))), h("span", { key: 'effbcb5c208094cf108ee18434a7d80976cc3587', class: "hidden-span", ref: el => (this.hiddenSpan = el) }, this.inputValue || ' '), h("div", { key: 'f1957a658b2ec1d9a6790836c36f74633493efd3', class: "input_field" }, h("input", { key: '647db8bfb1666d114dfd6a449db3789c86591166', id: this.idOfInput, class: `input_like text-md-regular ${this.state}`, type: "text",
285
+ h("div", { key: '0e174d2dd1e8d2cbb92ad7db6a4bfb1eb6b8b248', class: "leading_text_input" }, h("div", { key: 'df7840a750ae6c7c54d205a8bc37243f7def9904', class: `add_on` }, h("slot", { key: '9e8b8fbd9b522b7d3975148f2173b321512c0dd6', name: "text" })), h("div", { key: '5ccbd5720eb31e3e0d0fdc9f6bc9d1386ace6d06', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '6d15c1fe186a2e4f05fd3bb11931bb237ffb9efb', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showValidation && !this.destructive && (h("svg", { key: '54be01fb1b0e31ed1e5cdc27976062d167ffa6b8', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '043f829e3899b796aa5931226a003ba190e88484', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '95aec5f82627c72325581424b3ddbbfb79935724', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
286
+ ], this.type === 'payment_input' && (h("div", { key: '5fd7586c23f97fb75e8f14913bec1f918b7778c4', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: 'a2f660a471d9757f13ecb8efa89967dbf235d682', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '4c407bfb9041aded54511233ac281111349db995', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#ED0006" }), h("path", { key: '2382a189aee0f5c1219b356bfc7202d7bd2d2d72', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#F9A000" }), h("path", { key: 'b419b99216a176516bc496e6e0c2abe7c6176989', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z", fill: "#FF5E00" })), h("input", { key: 'f471f1aaad623fa8fb0a1dba988cea98a1ac2f07', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: '8820a75a18971ecdc4dcfd6d7605f702df6cc357', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '7757f6595f58b63d57341146f7dc18efdf8e3b57', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'e7e80be019baae47077a7142869f4d13a4221cee', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: '690ad82de399002327139eb58d346f8df6d7858d', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '0bfed6ffbc83f050fbc109662fa76ff7ff216b10', class: `trailing_button_text_input ${this.size}` }, h("input", { key: '9cf8509a95018ebe77f6ba3d3a7b47c5e8d58203', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), ref: el => (this.inputRef = el), value: this.value }), this.showValidation && !this.destructive && (h("svg", { key: 'bef935135668aefd95926f342fef1634cc3fd0b3', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '3a5da934e65d751e1fd027422b382747ec3c92c2', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '769db33f3597099d61ed4ce34ead9ef5294b6b10', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("gb-button", { key: '7bd11da4f7822e170140bb62ece1bc5e0444f723', size: "lg", hierarchy: "tertiary_gray", icon: "only", state: this.state === 'disabled' ? 'disabled' : 'default', "icon-leading": true, "icon-leading-swap": "assets/copy-01.svg", onClick: () => this.copyToClipboard() }))), this.type === 'password' && (h("div", { key: 'ac695b41e5b2049f941f66f1edb92d58565041a1', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'd9c65716d0de5ec0beda6731f199e3a32cd7ab2b', class: `password_content` }, h("input", { key: '2e56df32a9841a4dc9d39ff4476aec90c677a40e', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: '1c25e2079d09fda9723433596eb096662f8405d8', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'c0220744e00644bef867cdfc92848d934cd1fbb8', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '2c2b8d48900c0042d4194754bf1b76d486fd6a35', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'd39ec03c2fcc0f9d2b30e1a219a15661bdf1d78f', class: `dropdown` }, h("gb-password-button", { key: '0a8534bf0b3e7c243b5277aeb1ff1e46a74b8c92', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '494b81b655a7bb7013db0add5473f6746f6684de', class: `password_icon_leading_input input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'eea76ecad338d6332bf6fe83bc434822017486d8', class: `password_icon_leading_content` }, h("svg", { key: '637f75ed574c1b5a52ad6c6ad810791b0cda5f6b', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'fcd53924bf15362b4e313c4e49b8f9167b18aaac', d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5025 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5025 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5025 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5025 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58258L13.7347 6.83337L13.7003 7.58258ZM13.7003 18.2508L13.7347 19L13.7003 18.2508ZM16.4435 15.704L15.7002 15.6039L16.4435 15.704ZM6.29973 7.58258L6.33417 8.33179L6.29973 7.58258ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2508L6.33417 17.5015L6.29973 18.2508ZM3.55652 15.704L4.29981 15.6039L3.55652 15.704ZM5.50001 7.5C5.50001 7.91422 5.8358 8.25 6.25001 8.25C6.66422 8.25 7.00001 7.91422 7.00001 7.5H5.50001ZM13 7.5C13 7.91422 13.3358 8.25 13.75 8.25C14.1642 8.25 14.5 7.91422 14.5 7.5H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8142 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2295C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.25C11.3095 8.25 12.4972 8.27806 13.6659 8.33179L13.7347 6.83337C12.5424 6.77856 11.3317 6.75 10 6.75V8.25ZM6.33417 8.33179C7.50287 8.27806 8.69057 8.25 10 8.25V6.75C8.66829 6.75 7.45761 6.77856 6.26528 6.83337L6.33417 8.33179ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2295L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8142 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29067 15.5122 6.91509 13.7347 6.83337L13.6659 8.33179C14.6943 8.37907 15.5595 9.18437 15.7002 10.2295L17.1868 10.0293ZM13.7347 19C15.5122 18.9183 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83337C4.48781 6.91508 3.04732 8.29067 2.81323 10.0293L4.29981 10.2295C4.44052 9.18437 5.30576 8.37907 6.33417 8.33179L6.26528 6.83337ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9183 6.26528 19L6.33417 17.5015ZM7.00001 7.5V5.41667H5.50001V7.5H7.00001ZM13 5.41667V7.5H14.5V5.41667H13ZM10 2.41667C11.6569 2.41667 13 3.75981 13 5.41667H14.5C14.5 2.93139 12.4853 0.916668 10 0.916668V2.41667ZM7.00001 5.41667C7.00001 3.75981 8.34316 2.41667 10 2.41667V0.916668C7.51473 0.916668 5.50001 2.93139 5.50001 5.41667H7.00001Z", fill: "#4B5565" })), h("input", { key: '9e6f5dbcb7792db9246669eeabb8e33aa1d9768c', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })), this.showValidation && !this.destructive && (h("svg", { key: '3f9643b4dda15d7f836c369e3d9cc8fae5961ce5', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '5832fdd364341da0e76f167dc29bd33d675642f6', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '71b62a02b2cd101993dc1b4027aa28a553b183cc', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("gb-password-button", { key: 'e4ce221860ee4777d93267a9e8b04f5fab25d17d', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
287
+ h("div", { key: '7c70b301d89cadee2c6d8792e7660c95843a2647', class: `count_input` }, h("div", { key: '79a9a973517c998c514ef38b019b96a67d925b00', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: 'e564b8c1e21ad4d16c40cb7589db23fbe9be279d', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showHelpIcon && (h("div", { key: '1a62d140b8cddc3a091081c306c948807153c7d1', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '23ddd64d76cddbf5ecfcbc6a0362c5a6fff20e84', class: `action ${this.state}` }, h("gb-button", { key: 'ffe5f23a73bf3a2ec045bace239a442d726caeec', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/minus_sign.svg" }), h("div", { key: 'ad97f5cfb1e1b8544084b55ecee4ccdbcbaa01d1', class: "vertical_line" }), h("gb-button", { key: '9fa11cb274b7cbedc1a5631c7bc7a3d616fcb15f', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
288
+ ], this.type === 'tags' && (h("div", { key: '0dc6c3dfef17ffc9b317a537c32b8481dd6090f9', class: `input_group ${this.state}`, ref: el => (this.inputGroupElement = el), onClick: () => this.handleWrapperClick() }, h("div", { key: 'a85997a0b5c79d427b1766c945cd6ccd7fe5589c', class: `input_like_parent ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`, onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, h("div", { key: '630f04e9a858eeda3874d35d39b6f6855a03a856', class: `results_display ${this.state === 'disabled' ? 'disabled' : ''}`, ref: el => (this.resultsDisplayElement = el) }, this.value.length === 0 ? (h(Fragment, null, this.selectedItems.map((item, index) => (h(Fragment, null, typeof item === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, item.objectName.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, item.objectName.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("p", null, item)))))))) : (h(Fragment, null, this.value.map((val, index) => (h(Fragment, null, typeof val === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, val.objectName.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, val.objectName.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("p", null, val)))))))), h("span", { key: '4870685cfb978bc1439ef7215e148f20e4274ab1', class: "hidden-span", ref: el => (this.hiddenSpan = el) }, this.inputValue || ' '), h("div", { key: '91e5f27cefe9c93f546aa346fcd6f70abf980041', class: "input_field" }, h("input", { key: '4deb57903a9484dfcfbdaea4d9f249c66c60eb17', id: this.idOfInput, class: `input_like text-md-regular ${this.state}`, type: "text",
294
289
  // placeholder={this.placeholder && this.selectedStaff.length === 0 ? this.placeholder : ''}
295
- value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff(), onInput: event => this.handleTagInput(event) })))), this.showDropdown && (h("div", { key: 'ea1097658e33c09f96b1ac3c736f578e22de5f53', class: `tags_dropdown_menu ${this.show ? 'show' : ''} ${this.menuPosition}` }, this.results.map(item => (h("gb-input-dropdown-menu-item", { type: "checkbox", "supporting-text": true, state: StateEnum.Default, onClick: () => this.selectDropdownItem(item), selected: this.isTagItemSelected(item) }, typeof item === 'object'
290
+ value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff(), onInput: event => this.handleTagInput(event) })))), this.showDropdown && (h("div", { key: '4477804c2260254ffa03be4b7a5d7929773f1748', class: `tags_dropdown_menu ${this.show ? 'show' : ''} ${this.menuPosition}` }, this.results.map(item => (h("gb-input-dropdown-menu-item", { type: "checkbox", "supporting-text": true, state: StateEnum.Default, onClick: () => this.selectDropdownItem(item), selected: this.isTagItemSelected(item) }, typeof item === 'object'
296
291
  ? [h("p", { slot: "name" }, item.objectName), h("p", { slot: "supporting_text" }, item.objectValue)]
297
292
  : typeof item !== 'object' && h("p", { slot: "name" }, item))))))))), this.showHintText && h(Fragment, null, !this.destructive ? h("p", { class: "hint_text text-sm-regular" }, this.hintText) : h("p", { class: "error_text text-sm-regular" }, this.errorText))));
298
293
  }
@@ -740,7 +735,7 @@ export class GbInputField {
740
735
  },
741
736
  "attribute": "value",
742
737
  "reflect": false,
743
- "defaultValue": "[\r\n // { objectName: 'John Doe', objectValue: 'john.doe@example.com' },\r\n // { objectName: 'Jane Smith', objectValue: 'jane.smith@example.com' },\r\n // { objectName: 'Alice Johnson', objectValue: 'alice.johnson@example.com' },\r\n // { objectName: 'Emmanuel Kadiri', objectValue: 'kadiri2047@gmail.com' },\r\n // 10\r\n ]"
738
+ "defaultValue": "[\r\n // { objectName: 'John Doe', objectValue: 'john.doe@example.com' },\r\n // { objectName: 'Jane Smith', objectValue: 'jane.smith@example.com' },\r\n // { objectName: 'Alice Johnson', objectValue: 'alice.johnson@example.com' },\r\n // { objectName: 'Emmanuel Kadiri', objectValue: 'kadiri2047@gmail.com' },\r\n // 10,\r\n ]"
744
739
  }
745
740
  };
746
741
  }
@@ -784,6 +779,9 @@ export class GbInputField {
784
779
  return [{
785
780
  "propName": "options",
786
781
  "methodName": "optionsChanged"
782
+ }, {
783
+ "propName": "value",
784
+ "methodName": "updateSelectedItems"
787
785
  }];
788
786
  }
789
787
  static get listeners() {