globuswebcomponents 1.0.7 → 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 (376) 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-slider-control-handle.cjs.entry.js +1 -1
  22. package/dist/cjs/gb-slider.cjs.entry.js +1 -1
  23. package/dist/cjs/gb-tab-button-base.cjs.entry.js +3 -3
  24. package/dist/cjs/gb-textarea-input-field.cjs.entry.js +218 -0
  25. package/dist/cjs/gb-textarea-input-field.cjs.entry.js.map +1 -0
  26. package/dist/cjs/gb-toast-button.cjs.entry.js +1 -1
  27. package/dist/cjs/gb-toast.cjs.entry.js +1 -1
  28. package/dist/cjs/gb-toggle-base.cjs.entry.js +2 -2
  29. package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
  30. package/dist/cjs/gb-tooltip.cjs.entry.js +39 -0
  31. package/dist/cjs/gb-tooltip.cjs.entry.js.map +1 -0
  32. package/dist/cjs/gb-vertical-tabs.cjs.entry.js +1 -1
  33. package/dist/cjs/globuscomponents.cjs.js +1 -1
  34. package/dist/cjs/loader.cjs.js +1 -1
  35. package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
  36. package/dist/collection/components/gb-button/readme.md +50 -48
  37. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +22 -19
  38. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
  39. package/dist/collection/components/gb-input-field/gb-input-field.js +66 -68
  40. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  41. package/dist/collection/components/gb-pagination/gb-pagination.js +4 -3
  42. package/dist/collection/components/gb-pagination/gb-pagination.js.map +1 -1
  43. package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
  44. package/dist/collection/components/gb-sidebar/gb-sidebar.js.map +1 -1
  45. package/dist/collection/components/gb-simple-side-bar-item/gb-simple-side-bar-item.js +1 -1
  46. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  47. package/dist/collection/components/gb-slider-control-handle/gb-slider-control-handle.js +1 -1
  48. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  49. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  50. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  51. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  52. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  53. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  54. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.css +1 -0
  55. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +56 -18
  56. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js.map +1 -1
  57. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  58. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  59. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  60. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  61. package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
  62. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  63. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
  64. package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
  65. package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
  66. package/dist/components/gb-avatar-add-button.js +1 -1
  67. package/dist/components/gb-avatar-dropdown.js +3 -3
  68. package/dist/components/gb-avatar-group.js +4 -4
  69. package/dist/components/gb-avatar-label-group.js +1 -1
  70. package/dist/components/gb-avatar-profile-photo.js +2 -2
  71. package/dist/components/gb-avatar.js +1 -1
  72. package/dist/components/gb-badge.js +1 -1
  73. package/dist/components/gb-checkbox-group-item.js +1 -1
  74. package/dist/components/gb-checkbox-group.js +3 -3
  75. package/dist/components/gb-collapse-button.js +1 -1
  76. package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
  77. package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
  78. package/dist/components/gb-file-upload-item-base.js +1 -1
  79. package/dist/components/gb-file-upload.js +3 -3
  80. package/dist/components/gb-header.js +2 -2
  81. package/dist/components/gb-help-tooltip.js +1 -1
  82. package/dist/components/gb-horizontal-tabs.js +4 -4
  83. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  84. package/dist/components/gb-input-dropdown.js +1 -1
  85. package/dist/components/gb-input-field.js +1 -1
  86. package/dist/components/gb-pagination.js +15 -14
  87. package/dist/components/gb-pagination.js.map +1 -1
  88. package/dist/components/gb-progress-bar.js +1 -1
  89. package/dist/components/gb-rich-text.js +12 -12
  90. package/dist/components/gb-sidebar.js +21 -15
  91. package/dist/components/gb-sidebar.js.map +1 -1
  92. package/dist/components/gb-simple-side-bar-item.js +1 -1
  93. package/dist/components/gb-slider-control-handle.js +1 -1
  94. package/dist/components/gb-slider.js +3 -3
  95. package/dist/components/gb-status-indicator.js +1 -1
  96. package/dist/components/gb-tab-button-base.js +1 -1
  97. package/dist/components/gb-tag-checkbox.js +1 -1
  98. package/dist/components/gb-tag-close.js +1 -1
  99. package/dist/components/gb-tag-count.js +1 -1
  100. package/dist/components/gb-tag.js +1 -1
  101. package/dist/components/gb-textarea-input-field.js +64 -27
  102. package/dist/components/gb-textarea-input-field.js.map +1 -1
  103. package/dist/components/gb-toast-button.js +1 -1
  104. package/dist/components/gb-toast.js +2 -2
  105. package/dist/components/gb-toggle-base.js +1 -1
  106. package/dist/components/gb-toggle.js +2 -2
  107. package/dist/components/gb-token-field.js +1 -1
  108. package/dist/components/gb-tooltip.js +1 -1
  109. package/dist/components/gb-verification-code-field.js +2 -2
  110. package/dist/components/gb-vertical-tabs.js +5 -5
  111. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  112. package/dist/components/{p-3d48ad44.js → p-0930680b.js} +3 -3
  113. package/dist/components/{p-3d48ad44.js.map → p-0930680b.js.map} +1 -1
  114. package/dist/components/{p-c5feab83.js → p-0b1416b9.js} +2 -2
  115. package/dist/components/{p-c5feab83.js.map → p-0b1416b9.js.map} +1 -1
  116. package/dist/components/{p-19cb26e4.js → p-20d7ba96.js} +76 -79
  117. package/dist/components/p-20d7ba96.js.map +1 -0
  118. package/dist/components/{p-174299df.js → p-2850a798.js} +2 -2
  119. package/dist/components/{p-174299df.js.map → p-2850a798.js.map} +1 -1
  120. package/dist/components/{p-206ec6e6.js → p-2b0efd04.js} +7 -7
  121. package/dist/components/{p-206ec6e6.js.map → p-2b0efd04.js.map} +1 -1
  122. package/dist/components/{p-15c841a5.js → p-2b6fcf3b.js} +2 -2
  123. package/dist/components/{p-15c841a5.js.map → p-2b6fcf3b.js.map} +1 -1
  124. package/dist/components/{p-f04cbf5a.js → p-2e424c3d.js} +3 -3
  125. package/dist/components/{p-f04cbf5a.js.map → p-2e424c3d.js.map} +1 -1
  126. package/dist/components/{p-e53cfef8.js → p-5041eef7.js} +3 -3
  127. package/dist/components/{p-e53cfef8.js.map → p-5041eef7.js.map} +1 -1
  128. package/dist/components/{p-0ab3ebba.js → p-62df8228.js} +3 -3
  129. package/dist/components/{p-0ab3ebba.js.map → p-62df8228.js.map} +1 -1
  130. package/dist/components/{p-a14cd9d4.js → p-6cd408d7.js} +2 -2
  131. package/dist/components/{p-a14cd9d4.js.map → p-6cd408d7.js.map} +1 -1
  132. package/dist/components/{p-d8fc457a.js → p-7345f5b6.js} +12 -12
  133. package/dist/components/{p-d8fc457a.js.map → p-7345f5b6.js.map} +1 -1
  134. package/dist/components/{p-f245a4cc.js → p-7438bed3.js} +3 -3
  135. package/dist/components/{p-f245a4cc.js.map → p-7438bed3.js.map} +1 -1
  136. package/dist/components/{p-1faeef4d.js → p-7c1b28b5.js} +32 -29
  137. package/dist/components/p-7c1b28b5.js.map +1 -0
  138. package/dist/components/{p-fdf4daa6.js → p-8986943a.js} +2 -2
  139. package/dist/components/{p-fdf4daa6.js.map → p-8986943a.js.map} +1 -1
  140. package/dist/components/{p-02778a70.js → p-8d414028.js} +3 -3
  141. package/dist/components/{p-02778a70.js.map → p-8d414028.js.map} +1 -1
  142. package/dist/components/{p-06dc455f.js → p-8ff1c695.js} +2 -2
  143. package/dist/components/{p-06dc455f.js.map → p-8ff1c695.js.map} +1 -1
  144. package/dist/components/{p-de2a969b.js → p-97c8c39a.js} +2 -2
  145. package/dist/components/{p-de2a969b.js.map → p-97c8c39a.js.map} +1 -1
  146. package/dist/components/{p-e5610e69.js → p-9cab4907.js} +3 -3
  147. package/dist/components/{p-e5610e69.js.map → p-9cab4907.js.map} +1 -1
  148. package/dist/components/{p-32bf488a.js → p-a51bb23a.js} +2 -2
  149. package/dist/components/{p-32bf488a.js.map → p-a51bb23a.js.map} +1 -1
  150. package/dist/components/{p-0c04596d.js → p-b653cd60.js} +2 -2
  151. package/dist/components/{p-0c04596d.js.map → p-b653cd60.js.map} +1 -1
  152. package/dist/components/{p-f2ddced4.js → p-b9dcaa74.js} +2 -2
  153. package/dist/components/{p-f2ddced4.js.map → p-b9dcaa74.js.map} +1 -1
  154. package/dist/components/{p-d18c3cb2.js → p-b9f8dd8f.js} +2 -2
  155. package/dist/components/{p-d18c3cb2.js.map → p-b9f8dd8f.js.map} +1 -1
  156. package/dist/components/{p-1f8963bf.js → p-cb4314db.js} +7 -7
  157. package/dist/components/{p-1f8963bf.js.map → p-cb4314db.js.map} +1 -1
  158. package/dist/components/{p-a9276ce8.js → p-edc34d28.js} +2 -2
  159. package/dist/components/{p-a9276ce8.js.map → p-edc34d28.js.map} +1 -1
  160. package/dist/components/{p-c6e84c5a.js → p-f8638e16.js} +2 -2
  161. package/dist/components/{p-c6e84c5a.js.map → p-f8638e16.js.map} +1 -1
  162. package/dist/components/{p-27376023.js → p-f9db1abf.js} +6 -6
  163. package/dist/components/{p-27376023.js.map → p-f9db1abf.js.map} +1 -1
  164. package/dist/components/test-input-tag.js +9 -9
  165. package/dist/docs.json +9 -3
  166. package/dist/esm/gb-avatar-add-button.entry.js +1 -1
  167. package/dist/esm/gb-avatar-dropdown.entry.js +1 -1
  168. package/dist/esm/gb-avatar-group.entry.js +1 -1
  169. package/dist/esm/gb-avatar-label-group.entry.js +1 -1
  170. package/dist/esm/gb-avatar-profile-photo.entry.js +1 -1
  171. package/dist/esm/gb-avatar_3.entry.js +180 -0
  172. package/dist/esm/gb-avatar_3.entry.js.map +1 -0
  173. package/dist/esm/gb-badge_2.entry.js +106 -0
  174. package/dist/esm/gb-badge_2.entry.js.map +1 -0
  175. package/dist/esm/gb-btn_4.entry.js +162 -0
  176. package/dist/esm/gb-btn_4.entry.js.map +1 -0
  177. package/dist/esm/gb-button-close_3.entry.js +1 -1
  178. package/dist/esm/gb-button.entry.js +86 -0
  179. package/dist/esm/gb-button.entry.js.map +1 -0
  180. package/dist/esm/gb-carousel-arrow.entry.js +1 -1
  181. package/dist/esm/gb-checkbox-group-item.entry.js +1 -1
  182. package/dist/esm/gb-checkbox-group.entry.js +1 -1
  183. package/dist/esm/gb-checkbox_2.entry.js +171 -0
  184. package/dist/esm/gb-checkbox_2.entry.js.map +1 -0
  185. package/dist/esm/gb-collapse-button_4.entry.js +151 -0
  186. package/dist/esm/gb-collapse-button_4.entry.js.map +1 -0
  187. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +1 -1
  188. package/dist/esm/gb-export-dropdown-item_2.entry.js +1 -1
  189. package/dist/esm/gb-export-dropdown.entry.js +1 -1
  190. package/dist/esm/gb-export-sub-dropdown-item.entry.js +1 -1
  191. package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
  192. package/dist/esm/gb-file-upload.entry.js +1 -1
  193. package/dist/esm/gb-header-icon.entry.js +1 -1
  194. package/dist/esm/gb-header.entry.js +1 -1
  195. package/dist/esm/gb-help-dropdown.entry.js +1 -1
  196. package/dist/esm/gb-help-tooltip_4.entry.js +668 -0
  197. package/dist/esm/gb-help-tooltip_4.entry.js.map +1 -0
  198. package/dist/esm/gb-horizontal-tabs.entry.js +1 -1
  199. package/dist/esm/gb-input-dropdown-menu-item_5.entry.js +136 -0
  200. package/dist/esm/gb-input-dropdown-menu-item_5.entry.js.map +1 -0
  201. package/dist/esm/gb-notification-content.entry.js +1 -1
  202. package/dist/esm/gb-notification-pane.entry.js +1 -1
  203. package/dist/esm/gb-pagination-button-group-base_2.entry.js +1 -1
  204. package/dist/esm/gb-pagination-dot-group.entry.js +1 -1
  205. package/dist/esm/gb-pagination-dot-indicator.entry.js +1 -1
  206. package/dist/esm/gb-pagination.entry.js +5 -4
  207. package/dist/esm/gb-pagination.entry.js.map +1 -1
  208. package/dist/esm/gb-progress-circle.entry.js +1 -1
  209. package/dist/esm/gb-rich-text.entry.js +1 -1
  210. package/dist/esm/gb-scrollbar.entry.js +1 -1
  211. package/dist/esm/gb-sidebar.entry.js +119 -0
  212. package/dist/esm/gb-sidebar.entry.js.map +1 -0
  213. package/dist/esm/gb-slider-control-handle.entry.js +2 -2
  214. package/dist/esm/gb-slider.entry.js +2 -2
  215. package/dist/esm/gb-tab-button-base.entry.js +4 -4
  216. package/dist/esm/gb-textarea-input-field.entry.js +214 -0
  217. package/dist/esm/gb-textarea-input-field.entry.js.map +1 -0
  218. package/dist/esm/gb-toast-button.entry.js +2 -2
  219. package/dist/esm/gb-toast.entry.js +2 -2
  220. package/dist/esm/gb-toggle-base.entry.js +3 -3
  221. package/dist/esm/gb-toggle.entry.js +2 -2
  222. package/dist/esm/gb-tooltip.entry.js +35 -0
  223. package/dist/esm/gb-tooltip.entry.js.map +1 -0
  224. package/dist/esm/gb-vertical-tabs.entry.js +2 -2
  225. package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
  226. package/dist/esm/gb-wysiwyg-toolbar.entry.js +1 -1
  227. package/dist/esm/gb-wysiwyg-tooltip.entry.js +1 -1
  228. package/dist/esm/globuscomponents.js +3 -3
  229. package/dist/esm/{index-4b3f6d77.js → index-40a08107.js} +2 -2
  230. package/dist/esm/{index-4b3f6d77.js.map → index-40a08107.js.map} +1 -1
  231. package/dist/esm/loader.js +3 -3
  232. package/dist/esm/test-input-tag.entry.js +3 -3
  233. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  234. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  235. package/dist/globuscomponents/p-02bc91dc.entry.js +2 -0
  236. package/dist/globuscomponents/{p-75988614.entry.js.map → p-02bc91dc.entry.js.map} +1 -1
  237. package/dist/globuscomponents/{p-bcb96e82.entry.js → p-04cf4e3c.entry.js} +2 -2
  238. package/dist/globuscomponents/p-04f0cab4.entry.js +2 -0
  239. package/dist/globuscomponents/{p-623948cd.entry.js.map → p-04f0cab4.entry.js.map} +1 -1
  240. package/dist/globuscomponents/{p-524c0404.entry.js → p-053f4522.entry.js} +2 -2
  241. package/dist/globuscomponents/{p-0410b6df.entry.js → p-05b2248b.entry.js} +2 -2
  242. package/dist/globuscomponents/p-0e790c8d.entry.js +2 -0
  243. package/dist/globuscomponents/{p-bd771b87.entry.js.map → p-0e790c8d.entry.js.map} +1 -1
  244. package/dist/globuscomponents/p-129fb0a8.entry.js +2 -0
  245. package/dist/globuscomponents/p-129fb0a8.entry.js.map +1 -0
  246. package/dist/globuscomponents/{p-75988614.entry.js → p-1b7ae2d3.entry.js} +2 -2
  247. package/dist/globuscomponents/p-1b7ae2d3.entry.js.map +1 -0
  248. package/dist/globuscomponents/{p-9f35fda2.entry.js → p-223299d1.entry.js} +2 -2
  249. package/dist/globuscomponents/{p-bac53953.entry.js → p-26d17140.entry.js} +2 -2
  250. package/dist/globuscomponents/{p-818a14e9.entry.js → p-39e8e77b.entry.js} +2 -2
  251. package/dist/globuscomponents/p-3de0f9ca.entry.js +2 -0
  252. package/dist/globuscomponents/p-3de0f9ca.entry.js.map +1 -0
  253. package/dist/globuscomponents/{p-fc0e67ab.entry.js → p-410550c6.entry.js} +2 -2
  254. package/dist/globuscomponents/{p-59d20c30.entry.js → p-4127412b.entry.js} +2 -2
  255. package/dist/globuscomponents/{p-d9509ace.entry.js → p-42392914.entry.js} +2 -2
  256. package/dist/globuscomponents/p-440f937d.entry.js +2 -0
  257. package/dist/globuscomponents/{p-ac4be680.entry.js.map → p-440f937d.entry.js.map} +1 -1
  258. package/dist/globuscomponents/p-594acc52.entry.js +2 -0
  259. package/dist/globuscomponents/{p-f248f3fd.entry.js → p-5d280eca.entry.js} +2 -2
  260. package/dist/globuscomponents/{p-fc681fa9.entry.js → p-638a8a50.entry.js} +2 -2
  261. package/dist/globuscomponents/p-6964d1ff.entry.js +2 -0
  262. package/dist/globuscomponents/{p-573a911b.entry.js.map → p-6964d1ff.entry.js.map} +1 -1
  263. package/dist/globuscomponents/{p-9c98e0c8.entry.js → p-6d8e0e31.entry.js} +2 -2
  264. package/dist/globuscomponents/{p-6f708ea2.entry.js → p-75756069.entry.js} +2 -2
  265. package/dist/globuscomponents/p-75756069.entry.js.map +1 -0
  266. package/dist/globuscomponents/{p-dd2d7d64.entry.js → p-75ea72c8.entry.js} +2 -2
  267. package/dist/globuscomponents/p-773a13cc.entry.js +2 -0
  268. package/dist/globuscomponents/p-773a13cc.entry.js.map +1 -0
  269. package/dist/globuscomponents/{p-112fe0dd.entry.js → p-79c45c48.entry.js} +2 -2
  270. package/dist/globuscomponents/p-875e11ee.entry.js +2 -0
  271. package/dist/globuscomponents/p-875e11ee.entry.js.map +1 -0
  272. package/dist/globuscomponents/{p-a0a50839.entry.js → p-8a49b168.entry.js} +2 -2
  273. package/dist/globuscomponents/{p-0c123fd6.entry.js → p-8ba7ae32.entry.js} +2 -2
  274. package/dist/globuscomponents/{p-a7fcbdee.entry.js → p-8dc5c4b2.entry.js} +2 -2
  275. package/dist/globuscomponents/{p-35ad112a.entry.js → p-966cd1bc.entry.js} +2 -2
  276. package/dist/globuscomponents/{p-e8a2ef96.entry.js → p-9dc818a7.entry.js} +2 -2
  277. package/dist/globuscomponents/{p-ebe51f1a.entry.js → p-9f5ba672.entry.js} +2 -2
  278. package/dist/globuscomponents/p-a457d63d.entry.js +2 -0
  279. package/dist/globuscomponents/p-a536ba4c.entry.js +2 -0
  280. package/dist/globuscomponents/{p-83c744d6.entry.js.map → p-a536ba4c.entry.js.map} +1 -1
  281. package/dist/globuscomponents/{p-61bd6d69.entry.js → p-a7fc9c04.entry.js} +2 -2
  282. package/dist/globuscomponents/p-b89a233e.entry.js +2 -0
  283. package/dist/globuscomponents/p-b89a233e.entry.js.map +1 -0
  284. package/dist/globuscomponents/{p-fd82021b.entry.js → p-b8c515cf.entry.js} +2 -2
  285. package/dist/globuscomponents/{p-379f3ca1.entry.js → p-bbdf83e1.entry.js} +2 -2
  286. package/dist/globuscomponents/p-bbdf83e1.entry.js.map +1 -0
  287. package/dist/globuscomponents/{p-497724b2.entry.js → p-c2a3736b.entry.js} +2 -2
  288. package/dist/globuscomponents/p-c59d206f.entry.js +2 -0
  289. package/dist/globuscomponents/p-c59d206f.entry.js.map +1 -0
  290. package/dist/globuscomponents/p-c752a6ed.entry.js +2 -0
  291. package/dist/globuscomponents/p-c752a6ed.entry.js.map +1 -0
  292. package/dist/globuscomponents/p-c7d89a0d.entry.js +2 -0
  293. package/dist/globuscomponents/{p-24d227d0.entry.js.map → p-c7d89a0d.entry.js.map} +1 -1
  294. package/dist/globuscomponents/{p-4c917e4e.entry.js → p-c9eec1ba.entry.js} +2 -2
  295. package/dist/globuscomponents/{p-0d5efea5.entry.js → p-d50ae32d.entry.js} +2 -2
  296. package/dist/globuscomponents/{p-bbaf2d10.entry.js → p-d6054ed3.entry.js} +2 -2
  297. package/dist/globuscomponents/{p-b3d6b9cc.entry.js → p-dbc4000c.entry.js} +2 -2
  298. package/dist/globuscomponents/p-e07cc9b1.entry.js +2 -0
  299. package/dist/globuscomponents/p-e07cc9b1.entry.js.map +1 -0
  300. package/dist/globuscomponents/{p-bf92be61.js → p-ec3a36ed.js} +2 -2
  301. package/dist/globuscomponents/{p-38bea668.entry.js → p-ee0d76e5.entry.js} +2 -2
  302. package/dist/globuscomponents/p-f06f4962.entry.js +2 -0
  303. package/dist/globuscomponents/p-f06f4962.entry.js.map +1 -0
  304. package/dist/globuscomponents/{p-90651c32.entry.js → p-f43a6dc9.entry.js} +2 -2
  305. package/dist/globuscomponents/{p-76d093ef.entry.js → p-f662e95e.entry.js} +2 -2
  306. package/dist/globuscomponents/readme.md +50 -48
  307. package/dist/types/components/gb-input-field/gb-input-field.d.ts +1 -0
  308. package/dist/types/components/gb-textarea-input-field/gb-textarea-input-field.d.ts +2 -0
  309. package/package.json +2 -2
  310. package/dist/cjs/gb-avatar_25.cjs.entry.js +0 -1894
  311. package/dist/cjs/gb-avatar_25.cjs.entry.js.map +0 -1
  312. package/dist/cjs/gb-megainput-field.cjs.entry.js +0 -42
  313. package/dist/cjs/gb-megainput-field.cjs.entry.js.map +0 -1
  314. package/dist/cjs/gb-token-field.cjs.entry.js +0 -28
  315. package/dist/cjs/gb-token-field.cjs.entry.js.map +0 -1
  316. package/dist/cjs/gb-verification-code-field.cjs.entry.js +0 -32
  317. package/dist/cjs/gb-verification-code-field.cjs.entry.js.map +0 -1
  318. package/dist/components/p-19cb26e4.js.map +0 -1
  319. package/dist/components/p-1faeef4d.js.map +0 -1
  320. package/dist/esm/gb-avatar_25.entry.js +0 -1866
  321. package/dist/esm/gb-avatar_25.entry.js.map +0 -1
  322. package/dist/esm/gb-megainput-field.entry.js +0 -38
  323. package/dist/esm/gb-megainput-field.entry.js.map +0 -1
  324. package/dist/esm/gb-token-field.entry.js +0 -24
  325. package/dist/esm/gb-token-field.entry.js.map +0 -1
  326. package/dist/esm/gb-verification-code-field.entry.js +0 -28
  327. package/dist/esm/gb-verification-code-field.entry.js.map +0 -1
  328. package/dist/globuscomponents/p-138bde32.entry.js +0 -2
  329. package/dist/globuscomponents/p-138bde32.entry.js.map +0 -1
  330. package/dist/globuscomponents/p-24d227d0.entry.js +0 -2
  331. package/dist/globuscomponents/p-379f3ca1.entry.js.map +0 -1
  332. package/dist/globuscomponents/p-573a911b.entry.js +0 -2
  333. package/dist/globuscomponents/p-5a736f4a.entry.js +0 -2
  334. package/dist/globuscomponents/p-623948cd.entry.js +0 -2
  335. package/dist/globuscomponents/p-6f708ea2.entry.js.map +0 -1
  336. package/dist/globuscomponents/p-83c744d6.entry.js +0 -2
  337. package/dist/globuscomponents/p-a5049b16.entry.js +0 -2
  338. package/dist/globuscomponents/p-a5049b16.entry.js.map +0 -1
  339. package/dist/globuscomponents/p-a509c0e0.entry.js +0 -2
  340. package/dist/globuscomponents/p-a509c0e0.entry.js.map +0 -1
  341. package/dist/globuscomponents/p-ac4be680.entry.js +0 -2
  342. package/dist/globuscomponents/p-bd771b87.entry.js +0 -2
  343. package/dist/globuscomponents/p-d6584922.entry.js +0 -2
  344. /package/dist/globuscomponents/{p-bcb96e82.entry.js.map → p-04cf4e3c.entry.js.map} +0 -0
  345. /package/dist/globuscomponents/{p-524c0404.entry.js.map → p-053f4522.entry.js.map} +0 -0
  346. /package/dist/globuscomponents/{p-0410b6df.entry.js.map → p-05b2248b.entry.js.map} +0 -0
  347. /package/dist/globuscomponents/{p-9f35fda2.entry.js.map → p-223299d1.entry.js.map} +0 -0
  348. /package/dist/globuscomponents/{p-bac53953.entry.js.map → p-26d17140.entry.js.map} +0 -0
  349. /package/dist/globuscomponents/{p-818a14e9.entry.js.map → p-39e8e77b.entry.js.map} +0 -0
  350. /package/dist/globuscomponents/{p-fc0e67ab.entry.js.map → p-410550c6.entry.js.map} +0 -0
  351. /package/dist/globuscomponents/{p-59d20c30.entry.js.map → p-4127412b.entry.js.map} +0 -0
  352. /package/dist/globuscomponents/{p-d9509ace.entry.js.map → p-42392914.entry.js.map} +0 -0
  353. /package/dist/globuscomponents/{p-5a736f4a.entry.js.map → p-594acc52.entry.js.map} +0 -0
  354. /package/dist/globuscomponents/{p-f248f3fd.entry.js.map → p-5d280eca.entry.js.map} +0 -0
  355. /package/dist/globuscomponents/{p-fc681fa9.entry.js.map → p-638a8a50.entry.js.map} +0 -0
  356. /package/dist/globuscomponents/{p-9c98e0c8.entry.js.map → p-6d8e0e31.entry.js.map} +0 -0
  357. /package/dist/globuscomponents/{p-dd2d7d64.entry.js.map → p-75ea72c8.entry.js.map} +0 -0
  358. /package/dist/globuscomponents/{p-112fe0dd.entry.js.map → p-79c45c48.entry.js.map} +0 -0
  359. /package/dist/globuscomponents/{p-a0a50839.entry.js.map → p-8a49b168.entry.js.map} +0 -0
  360. /package/dist/globuscomponents/{p-0c123fd6.entry.js.map → p-8ba7ae32.entry.js.map} +0 -0
  361. /package/dist/globuscomponents/{p-a7fcbdee.entry.js.map → p-8dc5c4b2.entry.js.map} +0 -0
  362. /package/dist/globuscomponents/{p-35ad112a.entry.js.map → p-966cd1bc.entry.js.map} +0 -0
  363. /package/dist/globuscomponents/{p-e8a2ef96.entry.js.map → p-9dc818a7.entry.js.map} +0 -0
  364. /package/dist/globuscomponents/{p-ebe51f1a.entry.js.map → p-9f5ba672.entry.js.map} +0 -0
  365. /package/dist/globuscomponents/{p-d6584922.entry.js.map → p-a457d63d.entry.js.map} +0 -0
  366. /package/dist/globuscomponents/{p-61bd6d69.entry.js.map → p-a7fc9c04.entry.js.map} +0 -0
  367. /package/dist/globuscomponents/{p-fd82021b.entry.js.map → p-b8c515cf.entry.js.map} +0 -0
  368. /package/dist/globuscomponents/{p-497724b2.entry.js.map → p-c2a3736b.entry.js.map} +0 -0
  369. /package/dist/globuscomponents/{p-4c917e4e.entry.js.map → p-c9eec1ba.entry.js.map} +0 -0
  370. /package/dist/globuscomponents/{p-0d5efea5.entry.js.map → p-d50ae32d.entry.js.map} +0 -0
  371. /package/dist/globuscomponents/{p-bbaf2d10.entry.js.map → p-d6054ed3.entry.js.map} +0 -0
  372. /package/dist/globuscomponents/{p-b3d6b9cc.entry.js.map → p-dbc4000c.entry.js.map} +0 -0
  373. /package/dist/globuscomponents/{p-bf92be61.js.map → p-ec3a36ed.js.map} +0 -0
  374. /package/dist/globuscomponents/{p-38bea668.entry.js.map → p-ee0d76e5.entry.js.map} +0 -0
  375. /package/dist/globuscomponents/{p-90651c32.entry.js.map → p-f43a6dc9.entry.js.map} +0 -0
  376. /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;
@@ -52,11 +46,11 @@ export class GbInputField {
52
46
  this.menuPosition = undefined;
53
47
  this.icon = undefined;
54
48
  this.value = [
55
- { objectName: 'John Doe', objectValue: 'john.doe@example.com' },
56
- { objectName: 'Jane Smith', objectValue: 'jane.smith@example.com' },
57
- { objectName: 'Alice Johnson', objectValue: 'alice.johnson@example.com' },
58
- { objectName: 'Emmanuel Kadiri', objectValue: 'kadiri2047@gmail.com' },
59
- 10
49
+ // { objectName: 'John Doe', objectValue: 'john.doe@example.com' },
50
+ // { objectName: 'Jane Smith', objectValue: 'jane.smith@example.com' },
51
+ // { objectName: 'Alice Johnson', objectValue: 'alice.johnson@example.com' },
52
+ // { objectName: 'Emmanuel Kadiri', objectValue: 'kadiri2047@gmail.com' },
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: 'f260e8c8733ee8ee2035deac12d0c7e8e730823d', class: `input_container` }, h("div", { key: '73ed9d0c3a1e1943feff90d3f8afa4b07dfe4e7e', class: `input_with_label` }, this.showLabel && h("p", { key: '27de9cf33f3748be93509c1624237f5898ea5058', class: "label text-sm-medium" }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase()), this.type === 'default' && [
280
- h("div", { key: '9a5ff3ef33e55b35a9bcf331d115145f6e170f87', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '5e224361236650edbc1e9c2f5baa25a2fba4abd5', 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: '7be1122dcec44a337427c72c944f0da22ce07860', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: '520ad9228233989ba15924c899c6de938f989615', 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: 'f1f5be9f2134d93caf9f73aff7507a2c97b7926b', 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: '3e76cfd18cb18b8e1df613cb9469b0fb0489f551', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '03f4addc01671a8920bcf200551fbe1c8867bad7', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: 'bc8570854d828600590901fc2c1e39e6f5202140', 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: 'd225e410a5585e7b9b487fa1ff1bbea968a26180', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: 'b8047935156fbba65abacd6725f2ce3af20622ae', 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: 'b6bba9555ffa6ff32098ab6f723f8993788c28d7', 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: '56ec100effd6630a15a8a09180044b1b4e8d7b66', 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: '24dca22ad727894266bebcc3f4940b51464c2b5d', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'bff022fa00a43aae76351abc52a64246ebcf765b', class: `leading_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, this.showCountryIcon && (h("div", { key: '5a1d05110b20f1ef8032a23d0220ad77642ceeb0', class: `country_icon` }, h("img", { key: '74a471e82ddfc6fe0ef64b5b0230d32d60d94db1', src: "build/assets/NG.svg", alt: "" }))), h("div", { key: '718c54591fbeb4b2a7dad4daeceb54f031256a87', class: `dropdown_text` }, h("p", { key: '4de172f219ae2c293216fc833c5a1b1327941b2d', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '45cad97ca8d19becefda669fddcf56a7d7c0d1e8', class: `dropdown_arrow` }, h("svg", { key: 'c4d471cc9c83abbcc01f9a2becc36921370c31e0', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'd3c2ecd17b9e8d35b30211e2ae485f1ec75fafca', 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: 'b7343d1dac4908a71e83c5917542e482ae7864c1', class: `leading_dropdown_text_input` }, h("input", { key: '1146edb7975a6f68acb0b57608e9707038837a4c', 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: 'e4dbb9d3bfa34d3f624c24f0ffdbb1d6b86a6003', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '2b7ef4b2eb84f6a4468a7eda147ffeaf1607c60f', 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: 'd4a29c4298ffb879e0295556299489bd22fc23aa', 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: 'e5ca22ab3b544507b4365458888b4d3a0e4fcec9', 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: '69e8a84e354a5c5c5a1d1cb7c138c07d03eee43a', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '4bf1327d207f8a5ac87701bcd9ac68d8729fbb44', class: `trailing_dropdown_content` }, h("p", { key: '69278a0c4d42ce4ff61bdeb6e43b5f0b0dba21b6', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: '1a487a2794eb2b212faddd319bfca70dbef9143b', 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: '02b68ca978ba2b825b2f33fdc8b0514735140d1e', 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: 'aef12306f5d0c0d4ec6a56b8cb677d13e2ec47bd', class: `trailing_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: '3538014e2b6b656ce933f787e14fd80204ddc473', class: `dropdown_text` }, h("p", { key: 'a82c13637146379d50dcf9933e9b3c1f02f7130d', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: 'c1f423e848f9eb6449f3254cad95388bc0318248', class: `dropdown_arrow` }, h("svg", { key: 'e1abfa3949e5ec38cf931b760f6b82177356c484', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '0537e15a2449ac7f38ebf1b3309910df58e2c4ad', 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: 'f1d2503d290c98c1f0e2d4d8fd3398d8b2a3b49c', 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: 'c0a32472aa4ccbf1a75c854457ed37d10df21f10', class: "leading_text_input" }, h("div", { key: 'dab7390f8386b6980cf9ef5fe219bf9820dac55e', class: `add_on` }, h("slot", { key: 'deab4d78f43a3c2762d1e40de19a4067ee2d76a0', name: "text" })), h("div", { key: '6360fee8ac7d2a8e96dd2653e46cd68d6a737ced', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '571c586f34aa1760736092242ea1d1eeddf69fdc', 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: '36c735139cbb029f6623b1ae8d01f430afff4da0', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '568c5deecbd51b6ae0dee008593b025bad98733c', 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: 'd7059cb4123caa3607a22c1c3e5872559250d9d2', 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: 'f4385ec048c1b648071c76cf4f9677a57902664c', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: 'aa8045118403866fc352e07c9982e4c1c6b7ab68', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: 'c972cfcf6ef0cc9c4a02fcf43b280190e3b1b168', "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: 'd3f448a00486db017a94cb331b287af595629ae3', "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: '90bf0ba23c004b3ed58293a9cbdac0db059a05f5', "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: 'f006030f9da77980722dd0520e4ca0b9257c3744', 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: '7f7a264c3fd3d5541f17667e1a7eb5044eb81bbd', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'f82f673dcdc8f1b5a15ffb7f66fc39f4cc00e664', 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: 'd918dbb8ba266d1ea2cfc1780d3e278433338869', 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: '78ff57cc2b2239fe581f549cf2316869b2ef1169', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '249ef9c6215f384775afc00673c5fc5b973fdc90', class: `trailing_button_text_input ${this.size}` }, h("input", { key: 'cb4e9c41492aa8eed9c7e558495631f1c4e0a35c', 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: '31a07220bf62126fa0704ec1a607ef615baeff9e', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'a8f09f3827f219b0532c06912955c552f7eef4e5', 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: 'aa2135013e9dbc03fd02a348fb076e83df689444', 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: '582c061ffee7a3bb82f54c89874c70a39652545e', 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: 'ecf13e7d239ea818feb02f72074aac7e716ef3b9', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '75a8301f15427be9b17639cbaf7c9195d2f8eb3c', class: `password_content` }, h("input", { key: '91d97916e1eac6fd1a3a80bd72de97e9b8ec34a3', 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: 'ccabcbbdb3ea63d0d532c90a7ca85d18ec4ad60d', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '5d3ba6d2cbe8f0d52f150489b6bdd700e56beade', 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: '2f9747274bdaefeb1a172e2a7489c23ea3f73633', 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: '36ec2c311a8acfde6b26b5e8c66c08b04ed63513', class: `dropdown` }, h("gb-password-button", { key: 'a6412b1f5c99f9d2ae579fbbbfeaecdcd15d2b87', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '1d4f35521f5231dfad59bf2e90414e0d61acea1e', class: `password_icon_leading_input input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '1a4f933d552bcd992c31d8080c1b29d5b4b2f8f5', class: `password_icon_leading_content` }, h("svg", { key: '61ef918c45441abb5230b10840577a6b86d4357f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'fe1a6ff986d14a434ceee8f22fb96365b04cc7da', 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: 'f314d3d9221096570cb34072924838bd456e437f', 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: 'f1e6f7652660b74b84e021daf3a7d78340e21be6', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'c099ef4d5c90ef46dc8c7ff79b991f46887a05ca', 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: '55e8d2df9dfc6afeb4daf6b911a8ed9af6042223', 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: 'bf84a038159152a560eb009e6565b028f51df92c', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
292
- h("div", { key: 'b0c90e741e54bb7c1c708837af5e0b7c52b9f288', class: `count_input` }, h("div", { key: '1933f7e22a9e14af4d59919dff860fd0b694a0aa', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: 'd8a9b4e17f3109cbb25dd6531bbbf17ccb67f4c3', 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: '4135e551ec4fd18be4d8fa3ae418f6d72579acd3', 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: '3dd0a0bffd061e5f8d8a255f7c2efeda5b597cc9', class: `action ${this.state}` }, h("gb-button", { key: '2b1fa33e2ea05ed89358b61a74450a2dc0b32ef0', 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: 'a07448bd1fa28ae1ed2931a92f3d10a7f5935622', class: "vertical_line" }), h("gb-button", { key: '80606a30bee626a1d808c000c7f2d8a6ce1b1144', 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: 'c43d5851727fecd95d2e4cf6c12f4ce31c858e32', class: `input_group ${this.state}`, ref: el => (this.inputGroupElement = el), onClick: () => this.handleWrapperClick() }, h("div", { key: '0db08bfc8c4d113b7d53b53c24ed59ca4e88107f', class: `input_like_parent ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`, onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, h("div", { key: '3df927381536972682b0adc7ad23ac046a9dd81e', 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: '81fc727eed35002ea19ee4b468e01afaac9b234a', class: "hidden-span", ref: el => (this.hiddenSpan = el) }, this.inputValue || ' '), h("div", { key: 'd0110c859cee9716b644d6c168cfed3bd4fa32cb', class: "input_field" }, h("input", { key: 'adb372301a0b8740bf0373bd9b3945bb2ee43312', 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: 'c4713b62399c4c1040f9952838c923b5b4cc1d2d', 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() {